aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * variable.c (rb_const_get_0): Object should have been the lowestmatz2006-02-202-10/+15
| | | | | | | in const lookup precedence. [ruby-dev:28343] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c: initial value for block_unique must be 1.matz2006-02-202-1/+6
| | | | | | | [ruby-talk:180420] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb (Delegator): should not delegate "funcall".matz2006-02-202-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpservlet/cgihandler.rb (WEBrick::HTTPServlet::CGIHandler):matz2006-02-204-42/+33
| | | | | | | | | | qualify the access for Config constant. [ruby-dev:28338] * lib/resolv.rb (Resolv::DNS::Resource::IN::A): qualify ClassValue. [ruby-dev:28338] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl.h (OSSL_Debug): should not use __func__.gotoyuzo2006-02-192-1/+6
| | | | | | | [ruby-dev:28339] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-02-20eban2006-02-191-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb: add :ssl_verify_mode option.akr2006-02-192-1/+32
| | | | | | | | | suggested by Will Glynn. * lib/open-uri.rb: add :ssl_ca_cert option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-02-19eban2006-02-181-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tracer.rb (Tracer::Tracer.add_filter): turn on tracer modematz2006-02-183-2/+11
| | | | | | | | | | | | only when caller() level size is one. [ruby-core:07389] * lib/rdoc/parsers/parse_rb.rb: need not to require "tracer". [ruby-core:07389] * sample/rtags.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_obj_instance_eval): RDoc description updated. amatz2006-02-183-3/+12
| | | | | | | | patch from Ozgur Murat Homurlu <ozgurmurath at gmail.com>. [ruby-core:07381] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_const_get_0): skip ruby_wrapper in const searchmatz2006-02-174-8/+19
| | | | | | | | | to give it lower priority (just above Object). need not to change rb_const_defined_0() since it's only a precedence matter; they are defined anyway. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-02-18eban2006-02-171-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tracer.rb: merged a minor clarification patch from Danielmatz2006-02-172-13/+14
| | | | | | | Berger <Daniel.Berger at qwest.com>. [ruby-core:07376] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ev_const_get): simplified using rb_const_get_fallback().matz2006-02-176-69/+84
| | | | | | | | | | | | | | | | | | | | * eval.c (ev_const_defined): adopt to ev_const_get() using rb_const_defined_fallback(). * variable.c (rb_const_get_fallback): new function to implement constant search. * variable.c (rb_const_defined_fallback): new function to implement constant definition check. * variable.c (rb_const_get_0): adopt to new behavior. constants are looked up in the order of: current class, super classes (but Object), lexically external classes/modules, and Object. * variable.c (rb_const_defined_0): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_strtod): Float("1e") should fail. [ruby-core:7330]ocean2006-02-175-6/+26
| | | | | | | | | | | * pack.c (EXTEND32): unpack("l") did not work where sizeof(long) != 4. [ruby-talk:180024] * pack.c (pack_unpack): fixed integer overflow on template "w". [ruby-talk:180126] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-02-17usa2006-02-171-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_wait_for): sleep should always sleep formatz2006-02-172-1/+6
| | | | | | | specified amount of time. [ruby-talk:180067] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): NODE_OP_ASGN1 should allow splat in itsmatz2006-02-153-28/+37
| | | | | | | | | | | | | argument list. [ruby-core:07366] * parse.y (arg): avoid unnecessary extra argument. [ruby-core:07366] * eval.c (rb_eval): honor visibility on OP_ASGN1 and OP_ASGN2. [ruby-core:07366] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (error_line): remove void control path. [ruby-dev:28335]matz2006-02-152-5/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (yield_under_i): should not pass self as an argument tomatz2006-02-152-3/+7
| | | | | | | the block for instance_eval. [ruby-core:07364] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-02-15usa2006-02-151-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_obj_instance_eval): should no singleton classes formatz2006-02-152-1/+6
| | | | | | | true, false, and nil. [ruby-dev:28186] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enumerator_each): return self if no block ismatz2006-02-142-1/+8
| | | | | | | given. [yarv-dev:882] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c: fixed typo.ocean2006-02-141-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (DMETHOD_P): accessing wrong frame. [ruby-dev:28181]matz2006-02-142-1/+8
| | | | | | | * eval.c (proc_invoke): preserve FRAME_DMETH flag. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c: supress warning on test/zlib. [ruby-dev:28323]ocean2006-02-142-8/+33
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_utime): drop read-only attribute beforeusa2006-02-142-0/+10
| | | | | | | changing file time. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.h): should define HAVE_LONG_LONG withusa2006-02-142-0/+8
| | | | | | | VC++8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: typo.usa2006-02-141-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-02-14usa2006-02-141-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (search_time_t): support non 32bit time_t environments.usa2006-02-143-12/+28
| | | | | | | | | * win32/Makefile.sub (config.h): VC++8 have ``long long'' type. * win32/Makefile.sub (config.h): VC++8's time_t is 64bit value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (copy_node_scope): remove duplicated semicolons at end.matz2006-02-132-4/+12
| | | | | | | | | | | | | | | a patch from KIMURA Koichi <kimura.koichi at canon.co.jp>. [ruby-dev:28332] * eval.c (VIS_MODE): remove unnecessary argument. [ruby-dev:28332] * parse.y (parser_parse_string): mention "regexp" in a error message. a patch from Mauricio Fernandez <mfp at acm.org> [ruby-core:07340] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_parse_string): mention "regexp" in a errormatz2006-02-1313-579/+473
| | | | | | | | | | | | | | | | | | | | | | | message. a patch from Mauricio Fernandez <mfp at acm.org> [ruby-core:07340] * eval.c (rb_f_autoload): check if ruby_cbase is nil (during instance_eval for objects cannot have singleton classes, e.g. fixnums and symbols). [ruby-dev:28178] * gc.c (rb_gc_call_finalizer_at_exit): turn on during_gc while invoking finalizers. * gc.c (rb_gc_finalize_deferred): ditto. * io.c (rb_write_error2): use fwrite(3) if rb_stderr is not updated or is already freed. [ruby-dev:28313] * eval.c (error_line): include the class name of a surrounding method in error position description. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge Oniguruma 4.0.1kosako2006-02-128-16/+34
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-02-11eban2006-02-111-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add WIN32OLE.create_guid.suke2006-02-113-1/+40
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-02-09usa2006-02-091-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_obj_instance_exec): fixed typo of rdoc.usa2006-02-091-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-02-07eban2006-02-071-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c: should not access ruby objects in finalizer.ocean2006-02-072-56/+51
| | | | | | | [ruby-dev:28286] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c: commit miss?ocean2006-02-061-3/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (cygwin_flock): save old errno.eban2006-02-061-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_thread_flock): ERROR_NOT_LOCKED is not an error on Cygwin.eban2006-02-062-3/+25
| | | | | | | In such situation, flock() should return 0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_sweep): typo fix.eban2006-02-061-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-02-06eban2006-02-051-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_find_index): a new method Enumerable#find_index.matz2006-02-052-0/+45
| | | | | | | [ruby-talk:178495] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test small structs.akr2006-02-051-0/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix previous commit.akr2006-02-051-3/+4
| | | | | | | don't use FL_USER0 because FL_SINGLETON. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.h (struct RStruct): embed 3 or less elements structs.akr2006-02-055-64/+109
| | | | | | | | | | | | | | | | | (RSTRUCT_LEN): defined for accessing struct members. (RSTRUCT_PTR): ditto. * struct.c: use RSTRUCT_LEN and RSTRUCT_PTR. (struct_alloc): allocate small structs in embedded format. (rb_struct_init_copy): ditto. * gc.c (gc_mark_children): use RSTRUCT_LEN and RSTRUCT_PTR. (obj_free): ditto. * marshal.c (w_object): use RSTRUCT_LEN and RSTRUCT_PTR. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: update ML number.matz2006-02-051-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e