summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * node.c: node management added. Currently, only pretty-dumper ismame2009-12-094-1/+942
| | | | | | | | | | 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-094-4/+16
| | | | | | | 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-083-3/+25
| | | | | | | | | | | | | | 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-082-1/+5
| | | | 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-0834-135/+6649
| | | | 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-082-5/+6
| | | | | | | doing nothing. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ripper/test_parser_events.rb: more tests.nobu2009-12-085-101/+560
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-12-071-6/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_f_test): use string form in unknown command errorakr2009-12-072-31/+36
| | | | | | | message. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-12-08svn2009-12-071-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2009-12-071-0/+22
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_object): reverted r26007. [ruby-dev:39845]nobu2009-12-074-13/+25
| | | | | | | * 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-072-28/+40
| | | | | | | | | 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
* * test/dl/test_callback.rb testing callback removaltenderlove2009-12-072-0/+23
| | | | | | * test/dl/test_func.rb testing function names, to_i git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-12-07svn2009-12-061-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/bigdecimal/bigdecimal_en.html: Remove obsolete information, fix typosmarcandre2009-12-061-28/+24
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strftime.c: %l should be 1..12 instead of 0..12 [ruby-core:27072]naruse2009-12-062-1/+5
| | | | 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-062-2/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix indent.akr2009-12-061-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpservlet/filehandler.rb: escape filename of index.naruse2009-12-062-1/+6
| | | | | | [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
* * 2009-12-06svn2009-12-051-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * symbian/setup (config.h): EXECUTABLE_EXTS moved from dln.c:dln_find_1().azav2009-12-051-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_object): dump instance variables when usingnobu2009-12-051-0/+1
| | | | | | | | | marshal_dump. [ruby-core:24211] * variable.c (rb_ivar_count): added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_object): dump instance variables when usingnobu2009-12-054-1/+75
| | | | | | | | | 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
* * variable.c (obj_ivar_i): fixed argument types.nobu2009-12-051-4/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: default ac_cv_prog_CC to CC.nobu2009-12-052-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/extend-command.rb (def_extend_command): fixed argumentnobu2009-12-052-11/+16
| | | | | | | number for negative arity. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-12-05svn2009-12-041-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/cptr.c (to_int): DL::CPtr supports to_inttenderlove2009-12-042-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (defined): should respect #respond_to_missing? asmatz2009-12-042-0/+7
| | | | | | #respond_to? does. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (defined): adjust indent.nobu2009-12-041-32/+32
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (k_def): adjust the location of method definition to thenobu2009-12-043-5/+15
| | | | | | | line of def. [Bug #2427] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (num_exact): should not accept strings as operands, evenmatz2009-12-042-2/+12
| | | | | | | | though they respond to #to_r. ideally, strict rational conversion should be done by a method like #to_rational, not #to_r. [ruby-core:23729] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fixed tests.shugo2009-12-042-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* added a ChangeLog entry.shugo2009-12-041-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* avoid SEGV in instance_eval without block.shugo2009-12-041-1/+6
| | | | | | instance_eval does not yield self. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (ungetc): RDoc updated. trunk allowsnahi2009-12-043-5/+9
| | | | | | | pushing back behind the beginning of the pseudo stream. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_callback.rb (**): using DL::Function to test callbackstenderlove2009-12-041-3/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-12-04svn2009-12-031-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (compile_cpath, iseq_compile_each): revertedshugo2009-12-0310-22/+105
| | | | | | | | | | | | | | constant/class variable lookup in instance_eval etc. to the behavior of 1.8. * eval.c (rb_mod_nesting): ditto. * insns.def (putspecialobject, defineclass): ditto. * node.h (NODE_FL_CREF_PUSHED_BY_EVAL): ditto. * vm_core.h (VM_SPECIAL_OBJECT_CONST_BASE): ditto. * vm_eval.c (yield_under, eval_under): ditto. * vm_insnhelper.c (vm_cref_push, vm_get_const_base, vm_get_ev_const, vm_get_cvar_base): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/gb18030-tbl.rb: Fix omission of C1 region in code tableduerst2009-12-033-2/+48
| | | | | | | | | | (from Tatsuya Mizuno) * test/ruby/test_transcode.rb: Added test for converting full range of Unicode codepoints from/to GB18030 (from Tatsuya Mizuno) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-12-03svn2009-12-031-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_callback.rb (**): testing return values of dl callbackstenderlove2009-12-031-0/+23
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-12-02svn2009-12-021-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c: initialize @hostname of SSLSocket to avoid nahi2009-12-022-0/+8
| | | | | | | warning at SSLSocket#connect. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/digest/test_digest_extend.rb: added tests for digest framework.nahi2009-12-012-2/+84
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (dyna_push_gen, dyna_pop_gen): no needs to save both ofnobu2009-12-012-28/+49
| | | | | | | args and vars. [ruby-core:26961] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (dyna_push_gen): use rb_node_newnode() for ripper.nobu2009-11-302-2/+5
| | | | | | | [ruby-core:26961] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (dyna_push_gen, dyna_pop_gen): adjust local vtable levelnobu2009-11-304-41/+77
| | | | | | | | for the case of syntax errors in method name or argument inside do block. [ruby-core:26961] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e