aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * lib/rdoc/parser.rb (RDoc::Parser.binary?): blksize may be nilnobu2010-04-022-5/+9
| | | | | | | | and is irrelevant to whether a file is binary. TAB and newlines would be usually considered to be included in text data. reapplied r23071 and r24297. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/paths.rb (RDoc::RI::Paths): Gem::Enable has beennobu2010-04-022-3/+5
| | | | | | obsolete. reapplied r24599. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/paths.rb: follows $ridir. reapplied r23554.nobu2010-04-022-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/paths.rb (RDoc::HOMEDIR): expand_path deals withnobu2010-04-022-5/+6
| | | | | | platform dependent envirionments. reapplied r21312. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {lib,test}/rdoc: removed trailing spaces. reapplied r22784.nobu2010-04-0218-83/+83
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bin/erb: removed trailing spaces.nobu2010-04-021-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parser.rb (binary?): regression.usa2010-04-022-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (init_env): wrong calculation of the head of setenvusa2010-04-022-1/+7
| | | | | | | | string. [ruby-core:29216] a patch from Heesob Park in [ruby-core:29218] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (ruby_setsid): split from proc_setsid.nobu2010-04-012-8/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (proc_daemon): use EXIT_SUCCESS instead of magic number.nobu2010-04-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (proc_daemon): use EXIT_SUCCESS instead of magic number.nobu2010-04-011-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add NEWS about hexadecimn floating point format.naruse2010-04-011-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/cptr.c (rb_dlptr_inspect): fix format specifiers.nobu2010-04-012-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (BSD__hdtoa): suppress a warning.nobu2010-04-011-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_f_exit_bang, rb_f_exit, rb_f_abort): fix rdoc.nobu2010-04-011-9/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix file path for building at other than src dir.naruse2010-04-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (InitVM): calls per-VM initialization innobu2010-04-012-0/+7
| | | | | | | single VM, but does nothing in MVM. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: Matrix.determinant: raise on rectangular matricesmarcandre2010-04-011-6/+6
| | | | | | [ruby-core:28271] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: New Complex instance methods:marcandre2010-04-012-0/+86
| | | | | | | conjugate, conj, imaginary, imag, real, real?, rectangular, rect [ruby-core:26285] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: New methods Matrix#each, #each_with_index, andmarcandre2010-04-011-0/+39
| | | | | | include Enumerable [ruby-core:28400] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb (empty): Reject negative sizesmarcandre2010-04-011-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: New method #empty? [ruby-core:26284]marcandre2010-04-011-2/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: removed compare_by*, inspect_org, cf [ruby-core:26268]marcandre2010-04-011-16/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-04-02svn2010-04-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix test for testing rake command.naruse2010-04-012-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: Update new methodsmarcandre2010-04-011-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix path to bin/rake from the test utility file.naruse2010-04-011-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove hexadecimal-floating-point tests for String#to_f.naruse2010-04-011-10/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/iso2022.trans: CP50221 supports 8bit JIS.naruse2010-04-013-7/+34
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update svn:ignore for generated files in ext/drbrain2010-04-010-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import RDoc 2.5drbrain2010-04-01176-16341/+17725
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add test for sprintf with Infinity and NaN.naruse2010-04-011-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/utf_16{be,le}.c (utf16{be,le}_mbc_to_code): simplified.nobu2010-04-013-6/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (BSD__hdtoa): don't use C99 macros. (FP_NORMAL etc)naruse2010-04-012-19/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_str_format): support %a format. [ruby-dev:40650]naruse2010-04-016-10/+242
| | | | | | | | | | | | | * missing/vsnprintf.c (BSD_vfprintf): ditto. * missing/vsnprintf.c (cvt): ditto. * util.c (BSD__hdtoa): added. This is 2-clause BSDL licensed by David Schultz and from FreeBSD. * LEGAL: add about hdtoa() in util.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_cstr_to_dbl): return 0.0 if hexadecimal andnaruse2010-04-015-16/+46
| | | | | | | | | baccheck is FALSE: Float("0x1p+0") works, but "0x1p+0".to_f doesn't. [ruby-dev:40650] * util.c (ruby_strtod): allow hexdecimal integers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/scanf.rb: support %a format. [ruby-dev:40650]naruse2010-04-013-7/+28
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: commit miss.usa2010-04-011-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (PRE_TIMET_PREFIX): define if configure doesn'tusa2010-04-011-0/+10
| | | | | | | | defines it. [ruby-core:29190] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_initialize): fixed a rdoc miss that textmode andnobu2010-04-012-2/+8
| | | | | | | bimode flag explanation was reversed each other. a patch from Heesob Park in [ruby-core:29166]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (RUBY_{DEFAULT,NEVER}_FREE): added.nobu2010-04-012-1/+9
| | | | | | [ruby-dev:40889] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych.rb: Syck api compatibility [ruby-core:29157]tenderlove2010-03-313-6/+32
| | | | | | | * ext/psych/lib/psych/nodes/node.rb: ditto * test/psych/test_psych.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (rb_big_abs_find_minbit): fix handling the last word.akr2010-03-313-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (long_mul): overflow condition changed.akr2010-03-312-4/+9
| | | | | | | (wi_mul): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-04-01svn2010-03-311-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/coder.rb: Adding Syck compatibility to the yaml codertenderlove2010-03-312-1/+35
| | | | | | * test/psych/test_coder.rb: test for syck compatibility git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (long_mul): extracted from mul and avoid integer overflow.akr2010-03-312-30/+111
| | | | | | | (wi_mul): extracted from wmul and avoid integer overflow. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c: less bignum allocations.akr2010-03-314-152/+347
| | | | | | | | | * strftime.c (rb_strftime_timespec): defined to avoid rational for nano second resolution time. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rake/test_{package_task,rules,task_manager}.rb: usenobu2010-03-314-1/+34
| | | | | | temporary directories. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/psych/test_emitter.rb (setup): encoding of @out should be same as ↵wanabe2010-03-311-1/+1
| | | | | | script's. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e