summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * string.c: fixed typo.ocean2006-02-141-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@9927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: typo.usa2006-02-141-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-02-14usa2006-02-141-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@9918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge Oniguruma 4.0.1kosako2006-02-128-16/+34
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-02-11eban2006-02-111-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add WIN32OLE.create_guid.suke2006-02-113-1/+40
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-02-09usa2006-02-091-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@9908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-02-07eban2006-02-071-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@9906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c: commit miss?ocean2006-02-061-3/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (cygwin_flock): save old errno.eban2006-02-061-1/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@9903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_sweep): typo fix.eban2006-02-061-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-02-06eban2006-02-051-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@9898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test small structs.akr2006-02-051-0/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@9895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: update ML number.matz2006-02-051-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (fix_to_s): removed workaround for radix 2. Historically,ocean2006-02-052-4/+6
| | | | | | | | rb_fix2str can only handle radix 8, 10, 16. (Rev1.37) But for now, it can handle radix 2..36. [ruby-Bugs#3438] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (add_field, get_fields): keep 1.8.2 compatibility. This ↵aamine2006-02-052-6/+13
| | | | | | patch is contributed by Rob Pitt. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-02-05eban2006-02-051-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): Kernel#sub! was removed on HEAD.ocean2006-02-052-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pstore.rb: should return default value if name is not found.ocean2006-02-052-5/+10
| | | | | | | | | [ruby-core:7304] * lib/pstore.rb: should raise PStore::Error if not in transaction. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c: apply the FreeBSD getcontext/setcontext workaroundakr2006-02-042-1/+6
| | | | | | | only before FreeBSD 7-CURRENT. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * oniguruma.h: merge Oniguruma 4.0.0 [ruby-dev:28290]matz2006-02-0413-365/+469
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (LK_ERR): ERROR_NOT_LOCKED is not an error.usa2006-02-042-1/+19
| | | | | | | In such situation, flock() should return 0. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-02-04eban2006-02-041-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (fix_to_s): (2**32).to_s(2) fails with exception whereocean2006-02-042-1/+9
| | | | | | | | | | sizeof(int) == 4 < sizeof(long). [ruby-core:7300] I think the function name of rb_int2big is quite misleading. This should be "rb_long2big". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.h: fixed prototype.ocean2006-02-033-6/+13
| | | | | | | * ext/syck/rubyext.c: defined symbol ID as global variable as others. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c: unify ruby_class (for method definition) and ruby_cbasematz2006-02-0327-587/+653
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (for constant reference). * eval.c (rb_call0): use TMP_ALLOC() instead of allocating a temporary array object. * eval.c (eval): need not to protect $SAFE value. [ruby-core:07177] * error.c (Init_Exception): change NameError to direct subclass of Exception so that default rescue do not handle it silently. * struct.c (rb_struct_select): update RDoc description. [ruby-core:7254] * numeric.c (int_upto): return an enumerator if no block is attached to the method. * numeric.c (int_downto): ditto. * numeric.c (int_dotimes): ditto. * enum.c (enum_first): new method Enumerable#first to take first n element from an enumerable. * enum.c (enum_group_by): new method Enumerable#group_by that groups enumerable values according to their block values. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/syck.c (syck_move_tokens): should reset p->cursor or etcocean2006-02-032-3/+6
| | | | | | | | even if skip == 0. This causes buffer overrun. (ex: YAML.load('--- "..' + '\x82\xA0' * 511 + '"')) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-02-03eban2006-02-021-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/emitter.c (syck_emitter_write): should not set '\0' onocean2006-02-022-1/+6
| | | | | | | | emitter's marker. if marker points to the end of buffer, this is buffer overrun. (ex: YAML.dump("." * 12288)) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser#get_tk): addedusa2006-02-022-2/+11
| | | | | | | support of :'string' style Symbol. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-02-02eban2006-02-021-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: The isinf is not regognized by autoconfocean2006-02-022-0/+8
| | | | | | | library guesser on solaris 10. [ruby-core:7138] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-02-01eban2006-02-011-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, hash.c (ruby_setenv): use setenv(3) and unsetenv(3)ocean2006-02-014-7/+21
| | | | | | | | | | | where they are supported. modifing environ variable seems to segfault solaris 10. [ruby-core:7276] [ruby-dev:28270] * ruby.c (set_arg0): if use setenv(3), environ space cannot be used for altering argv[0]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/multi-tk.rb: add MultiTkIp#eval and bg_eval.nagai2006-01-313-4/+114
| | | | | | | | * ext/tk/lib/tk/namespace.rb: TkNamespace#eval was enbugged at the last commit. Now it will return a proper object. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-01-31eban2006-01-301-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (syck_resolver_transfer): workaround for SEGV.ocean2006-01-302-0/+9
| | | | | | | ex: YAML.load("!map:B {}"). [ruby-core:7217] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e