summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-02-06* gc.c (gc_sweep): typo fix.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-05* 2006-02-06eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-05* enum.c (enum_find_index): a new method Enumerable#find_index.matz
[ruby-talk:178495] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-05test small structs.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-05fix previous commit.akr
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
2006-02-05* ruby.h (struct RStruct): embed 3 or less elements structs.akr
(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
2006-02-05* ChangeLog: update ML number.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-05* numeric.c (fix_to_s): removed workaround for radix 2. Historically,ocean
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@9893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-05* lib/net/http.rb (add_field, get_fields): keep 1.8.2 compatibility. This ↵aamine
patch is contributed by Rob Pitt. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-05* 2006-02-05eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-05* lib/mkmf.rb (create_makefile): Kernel#sub! was removed on HEAD.ocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-05* lib/pstore.rb: should return default value if name is not found.ocean
[ruby-core:7304] * lib/pstore.rb: should raise PStore::Error if not in transaction. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-04* eval.c: apply the FreeBSD getcontext/setcontext workaroundakr
only before FreeBSD 7-CURRENT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-04* oniguruma.h: merge Oniguruma 4.0.0 [ruby-dev:28290]matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-04* win32/win32.c (LK_ERR): ERROR_NOT_LOCKED is not an error.usa
In such situation, flock() should return 0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-04* 2006-02-04eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-04* numeric.c (fix_to_s): (2**32).to_s(2) fails with exception whereocean
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@9882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-03* ruby.h: fixed prototype.ocean
* ext/syck/rubyext.c: defined symbol ID as global variable as others. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-03* eval.c: unify ruby_class (for method definition) and ruby_cbasematz
(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: svn+ssh://ci.ruby-lang.org/ruby/trunk@9880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-03* ext/syck/syck.c (syck_move_tokens): should reset p->cursor or etcocean
even if skip == 0. This causes buffer overrun. (ex: YAML.load('--- "..' + '\x82\xA0' * 511 + '"')) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-02* 2006-02-03eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-02* ext/syck/emitter.c (syck_emitter_write): should not set '\0' onocean
emitter's marker. if marker points to the end of buffer, this is buffer overrun. (ex: YAML.dump("." * 12288)) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-02* lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser#get_tk): addedusa
support of :'string' style Symbol. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-02* 2006-02-02eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-02* configure.in: The isinf is not regognized by autoconfocean
library guesser on solaris 10. [ruby-core:7138] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-01* 2006-02-01eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-01* configure.in, hash.c (ruby_setenv): use setenv(3) and unsetenv(3)ocean
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@9868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-31* ext/tk/lib/multi-tk.rb: add MultiTkIp#eval and bg_eval.nagai
* ext/tk/lib/tk/namespace.rb: TkNamespace#eval was enbugged at the last commit. Now it will return a proper object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-30* 2006-01-31eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-30* ext/syck/rubyext.c (syck_resolver_transfer): workaround for SEGV.ocean
ex: YAML.load("!map:B {}"). [ruby-core:7217] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-28* 2006-01-28eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-27* lib/rdoc/usage.rb: support "a:0:33" style caller[-1]. In this caseocean
file name is "a:0". I don't know this really happens though... [ruby-Bugs:3344] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-26* 2006-01-26eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-26* ext/socket/socket.c: turn on do_not_reverse_lookup by default.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-25* 2006-01-25nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-25* configure.in, dln.c, file.c, intern.h, missing.h (eaccess): usenobu
system routine if provided. fixed: [ruby-core:07195] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-22* lib/test/unit/autorunner.rb (process_args): ignore arguments afternobu
'--' so that test scripts can handle them. fixed: [ruby-dev:28258] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-22forgot to commit too.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-22forgot to commit.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-22* eval.c (POST_GETCONTEXT): define separately from PRE_GETCONTEXT onakr
IA64 to avoid reusing variable address. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-22* 2006-01-22eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-22* eval.c (ruby_setjmp): workaround for FreeBSD/i386akr
getcontext/setcontext bug. [ruby-dev:28263] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-19* lib/fileutils.rb (mv): should remove file after copying. [ruby-dev:28223]aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-18* 2006-01-19eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-18* eval.c (FUNCTION_CALL_MAY_RETURN_TWICE): don't clobber %l7 of SPARCakr
if enable-shared. (ruby_setjmp): call FUNCTION_CALL_MAY_RETURN_TWICE after getcontext too. reported by Pav Lucistnik and Marius Strobl. http://lists.freebsd.org/pipermail/freebsd-sparc64/2006-January/003739.html git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-17* 2006-01-18eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-17* eval.c (rb_mod_method_defined): ditto.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-17* object.c (rb_mod_const_get, rb_mod_const_defined): added optionalnobu
flag to search ancestors, which is defaulted to true. fixed: [ruby-talk:175899] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-17* win32/setup.mak (MAKE): workaround for nmake 8.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-17* 2006-01-17usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e