summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * lib/uri/generic.rb (eql?): Check the class of the compared object.marcandre2009-12-241-0/+5
| | | | | | Based on a patch by Peter McLain [ruby-core:27019] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regexec.c (match_at): follow enclen's change.naruse2009-12-241-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb (marshal_dump/load): dump & load instance variables by ↵marcandre2009-12-241-0/+5
| | | | | | default [ruby-core:24211] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/object.c (rb_obj_cmp): Default <=> operator returns 0 if objects are ↵marcandre2009-12-241-0/+5
| | | | | | == [ruby-core:24063] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/cgi/test_cgi_multipart.rb (CGIMultipartTest#_prepare):nobu2009-12-231-0/+5
| | | | | | | always must be binary mode. c.f. Bug#2341 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (Init_Encoding): undef Encoding.new becausenaruse2009-12-211-0/+8
| | | | | | | | | a class which is rb_undef_alloc-func-ed can't call new method. [ruby-dev:39862] * vm.c (Init_VM): undef RubyVM.new and RubyVM::Env.new. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regcomp.c (optimize_node_left): include equal on the condition of for-loop.naruse2009-12-211-0/+5
| | | | | | This bug also affects original Oniguruma. [ruby-core:27247] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regcomp.c (print_enc_string): follow enclen's change.naruse2009-12-211-0/+10
| | | | | | | | | | * regcomp.c (onig_print_compiled_byte_code): ditto. * regcomp.c (onig_print_compiled_byte_code): change prototype. * regint.c (onig_print_compiled_byte_code): comment out. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c: BasicObject#initialize accepts any number of arguments ↵marcandre2009-12-201-0/+5
| | | | | | [ruby-core:27080] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (rb_iterate): remove SEGV (retry).mame2009-12-201-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (rb_iterate): remove SEGV (use the original patch).mame2009-12-201-0/+5
| | | | | | [ruby-dev:39874] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (rb_iterate): pass current block when the argument bl_procmame2009-12-201-0/+11
| | | | | | | | | | | | is NULL. This behavior can be used to make enumerator faster [ruby-dev:39874] * enumerator.c (enumerator_each): pass current block directly instead of trampoline block (enumerator_each_i). * io.c (argf_each_line, argf_each_byte, argf_each_char): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gem_prelude.rb (Kernel#gem): should make gem private. a patchmatz2009-12-191-0/+5
| | | | | | from Sho Hashimoto in [ruby-dev:39838]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/config.rb (WEBrick::Config): typo fixed. a patchmatz2009-12-191-0/+5
| | | | | | from Sho Hashimoto in [ruby-dev:39835]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb (each2,collect2,map2): Fix enumerator [ruby-core:27225]marcandre2009-12-191-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (check_funcall): reset method_missing_reason beforenobu2009-12-191-0/+6
| | | | | | | | trying the call. based on a patch from Yehuda Katz in [ruby-core:27219]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb: Add checks that passed argument is Enumerable. [ruby-core:23844]marcandre2009-12-191-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/envutil.rb: fix a typo in assert message.kazu2009-12-161-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/un.rb (httpd): try to convert port number to integer.nobu2009-12-161-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in(MINIRUBY): use "$BASERUBY" as a default ruby executable name.eban2009-12-161-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/find.rb (Find.find): rescue more exceptions which is possible toakr2009-12-151-1/+6
| | | | | | | occur by other process change the directory tree. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/find.rb (Find.find): get rid of race condition.nobu2009-12-151-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/find.rb (Find.find): rescue only ENOENT and EACCES for lstat.akr2009-12-141-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/find.rb (Find.find): narrow rescue region.akr2009-12-141-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/find.rb (Find.find): removed already unnecessary code.nobu2009-12-141-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/find.rb (Find.find): sort directory entries. [ruby-dev:39847]akr2009-12-131-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/envutil.rb (invoke_ruby): call to_str for stdin_data toakr2009-12-131-0/+5
| | | | | | | reject non-string. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (rb_parser_dump_tree): add prototype.naruse2009-12-131-3/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode_data.h, transcode.c, tool/transcode-tblgen.rb: Addedduerst2009-12-101-0/+10
| | | | | | | | | | | | support for new transcoding instruction FUNsio (with Tatsuya Mizuno) * enc/trans/gb18030.trans: Significantly reduced GB18030 conversion table footprint using FUNsio and differences (with Tatsuya Mizuno) * test/ruby/test_transcode.rb: Minor name fix (from Tatsuya Mizuno) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (yield_under): yields self the same as 1.8.shugo2009-12-101-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (native_mutex_reinitialize_atfork): release andnobu2009-12-101-0/+5
| | | | | | | re-acquire the lock at re-initialization. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (enc_replicate): add Encoding#replicate(name).naruse2009-12-101-0/+10
| | | | | | | | | | * encoding.c (enc_replicate_with_index): renamed from old enc_replicate. * encoding.c (rb_enc_from_encoding_index): split from rb_enc_from_encoding. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_inspect): CHAR_ESC_LEN should be 13.naruse2009-12-101-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (dyna_pop_gen): pop dvars. [ruby-dev:39861]nobu2009-12-091-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * node.c (dump_node): fixed for long members.nobu2009-12-091-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * node.c: node management added. Currently, only pretty-dumper ismame2009-12-091-0/+9
| | | | | | | | | | implemented. [ruby-dev:39853] * ruby.c: --dump=parsetree and --dump=parsetree_with_comment options added. This is just for debug or research purpose. Note that the compatibility of these options are not supported at all. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_justify): fixed the case a fill size is anobu2009-12-091-0/+5
| | | | | | | multiple of the length of the padding. [ruby-dev:39856] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/configure.bat: now recognize --with-*-{dir,include,lib} optionsusa2009-12-081-0/+11
| | | | | | | | | | | | | | and pass them to mkmf. * win32/configure.bat: general conversion from ``/'' to ``\'' of configure_args is not necessary any longer. * win32/setup.mak: BASERUBY is used as command, so always need to convert ``/'' to ``\'' within it. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_eq): supress a warning on VC++ for x64.usa2009-12-081-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems: update to 1.3.5.nobu2009-12-081-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/defaults.rb (Gem::default_dir): removed a clausenobu2009-12-081-0/+5
| | | | | | | doing nothing. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_f_test): use string form in unknown command errorakr2009-12-071-0/+5
| | | | | | | message. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_object): reverted r26007. [ruby-dev:39845]nobu2009-12-071-0/+6
| | | | | | | * test/test_delegate.rb (test_marshal): moved from test_marshal.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_justify): CVE-2009-4124.yugui2009-12-071-0/+7
| | | | | | | | | Fixes a bug reported by Emmanouel Kellinis <Emmanouel.Kellinis AT kpmg.co.uk>, KPMG London; Patch by nobu. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strftime.c: %l should be 1..12 instead of 0..12 [ruby-core:27072]naruse2009-12-061-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/find.rb (Find.find): reduce stat system call.akr2009-12-061-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpservlet/filehandler.rb: escape filename of index.naruse2009-12-061-0/+5
| | | | | | [ruby-dev:37768] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * symbian/setup (config.h): EXECUTABLE_EXTS moved from dln.c:dln_find_1().azav2009-12-051-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_object): dump instance variables when usingnobu2009-12-051-0/+7
| | | | | | | | | marshal_dump. [ruby-core:24211] * variable.c (rb_ivar_count): added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: default ac_cv_prog_CC to CC.nobu2009-12-051-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e