summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
2009-05-15* array.c (rb_ary_shift, rb_ary_shift_m): clears unused elements.nobu
[ruby-dev:38448] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-15* variable.c (rb_autoload_load): checks if iv_tbl is valid.nobu
[ruby-dev:38456] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-15* ChangeLog: forgotten to mention reporter.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-15 * win32/setup.mak (-version-): now version.h includesusa
include/ruby/version.h, so need to tell to cpp to check $(srcdir)/include. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-14* ext/etc/etc.c (etc_getpwuid): use rb_uid_t. [ruby-dev:38443]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-14* ext/stringio/stringio.c (strio_ungetbyte): encoding should notnobu
be effective. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-14* sample/test.rb (valid_syntax?): defaults to us-ascii.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-13* gc.c: add longlife garbage collection. [ruby-dev:38423]nari
(NORMAL_HEAPS_USED): new macro. (LONGLIFE_ALLOCATE_HEAPS_MIN): ditto. (add_longlife_heaps_slot): new function. (rb_newobj_from_longlife_heap): ditto. (rb_newobj_longlife): ditto. (rb_node_newnode_longlife): ditto. (rb_gc_write_barrier): ditto. (remembered_set_recycle): ditto. (rb_gc_mark_remembered_set): ditto. (clear_mark_longlife_heaps): ditto. (gc_sweep_for_longlife): ditto. (assign_heap_slot): new argumnent to longlife heaps slot. (add_freelist): ditto. (gc_sweep): avoid lonlife heap slot. set longlife_collection flag at add heap. (rb_gc_force_recycle): avoid mark object and remembered_set object. (garbage_collect): add longlife collection. (rb_gc_start): invoke longlife collection. (gc_profile_record_get): for longlife collction profile. (gc_profile_result): ditto. * include/ruby/intern.h (rb_gc_write_barrier): declared. * include/ruby/ruby.h (FL_REMEMBERED_SET): renamed from FL_RESERVED. * debug.c (FL_REMEMBERED_SET): ditto. * insns.def (setinlinecache): insert write barrier. * vm_insnhelper.c (vm_method_search): ditto. * set_relation (set_relation): use longlife object. * vm.c (vm_define_method): ditto. * vm_core.h (NEW_INLINE_CACHE_ENTRY): ditto. * vm_method.c (rb_add_method): ditto. * class.c (rb_add_method): ditto. * node.h (NEW_NODE_LONGLIFE): new macro. (rb_node_newnode_longlife): declared. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-13* include/ruby/version.h: extracted the extensions interface andnobu
the never-changable info. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-12* time.c (time_init_1): unused variable removed.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-12* time.c: support fixed UTC offset. [ruby-dev:38326]akr
(leap_year_v_p): new macro. (TIME_FIXOFF_P): new macro. (TIME_SET_FIXOFF): new macro. (time_init_0): renamed from time_init. (time_set_utc_offset): new function. (vtm_add_offset): new function. (utc_offset_arg): new function. (time_init_1): new function. (time_init): call time_init_0 or time_init_1 according argc. (validate_utc_offset): new function. (time_localtime_m): new function. (time_fixoff): new function. (time_getlocaltime): take optional UTC offset argument. (time_get_tm): support fixed UTC offset time. (Init_Time): make Time#{initialize,localtime,getlocal} varargs. * strftime.c (rb_strftime): vtm->zone can be NULL now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-12 * yarvtest: removed because it's outdated.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-11* parse.y: add semicolons to some grammar rules not terminatedmatz
with them. a patch from Dave B in [ruby-core:23422]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-11* io.c (Init_IO): add constant File::NOATIME. [ruby-core:23194]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-11forgot to commit.kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-11* mkconfig.rb (rubylibdir): use rubylibprefix. [ruby-dev:38426]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-10* ext/bigdecimal/bigdecimal.c (BigDecimal_coerce): supportmatz
coercing into Rational. [ruby-core:23415] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-10* lib/net/smtp.rb (Net::SMTP#check_auth_args): should not changematz
number of methods for the sake of compatibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-10* ext/dl/lib/dl/func.rb (DL::Function#bound?): returns if alreadynobu
bound to a block. * ext/dl/lib/dl/value.rb (DL::ValueUtil#wrap_arg): block must be given if arg is not bound. [ruby-dev:38404] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-10* ext/dl/cfunc.c (rb_dlcfunc_instance_p): new function to check ifnobu
the argument is an instance of DL::CFunc. * ext/dl/cptr.c (rb_dlptr_initialize, rb_dlptr_s_malloc): checks if DL::CFunc. [ruby-dev:38403]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-10* ext/dl/lib/dl/cparser.rb (DL::CParser#parse_signature): stripsnobu
spaces. based on a patch from Takashi Tamura in [ruby-dev:38398]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-09 * lib/date.rb: use subsec instead of nsec.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-09* hash.c: 3rd arguemnt of rb_hash_foreach() is VALUE.nobu
* hash.c (rb_any_hash, recursive_hash): use VALUE for hash. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-09* vm_eval.c (rb_f_catch): gets rid of issue with gcc 4.4. a patchnobu
from Alexey Froloff in [ruby-core:23398]. [ruby-core:22924] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-08* lib/mkmf.rb (try_link0): removes waste dSYM directories leftnobu
when debug and universal-binary are enabled. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-08* lib/mkmf.rb (check_sizeof): fixed wrong recuring result fornobu
intrinsic types. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-08* Makefile.in, configure.in, win32/Makefile.sub (RUBY_BASE_NAME):nobu
program base name. [ruby-dev:38241] * configure.in (--with-soname): base name of shared library. [ruby-dev:38290] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-08* array.c (rb_ary_flatten_bang): clears temporary array.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-07* lib/set.rb (SortedSet#add): Do not require each newly addedknu
element to be Comparable but to respond to <=>. [ruby-dev:38371] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-07* test/ruby/test_rubyoptions.rb (test_indentation_check): add a testmame
for indentation check. [ruby-dev:38382] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-07* array.c (rb_ary_flatten_bang): returns nil if nothing changed.nobu
a patch from Marc-Andre Lafortune in [ruby-core:23382]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-07* ChangeLog: fixed typo.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-07* array.c (rb_ary_sample): negative sample number is invalid.nobu
[ruby-core:23374] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-07* string.c, include/ruby/encoding.h: fixed types.nobu
* include/ruby/encoding.h (rb_enc_nth): long is used for index. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-07* range.c (r_le): fixed types.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-07* range.c (range_eql): fixed rdoc.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-07* io.c (pipe_open): should be rb_pid_t.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-06* math.c (math_gamma): use a table for positive small integers.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-06* README.ja: code for THINK_C does not exist already. [Bug #1435]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-05* configure.in (CFLAGS, CXXFLAGS): strips extra spaces.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-05Fix: raised error on tool/ifchange.naruse
* tool/ifchange: Fix: arguments which begin with minus sign may parsed as options. Because of older systems, don't use -- but use parentheses. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-05Update to JSON 1.1.4.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-05Fix: DON'T move in_p because before in_p is replaced by buffered data.naruse
* transcode.c: NOMAP is now multibyte direct map. * transcode.c: remove ASIS. * transcode_data.h: ditto. * tool/transcode-tb (ActionMap#generate_info): remove :asis. * tool/transcode-tb (ActionMap#generate_info): add :nomap0. * enc/trans/utf8_mac.trans: replace :asis by :nomap0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-02* lib/set.rb (SortedSet): Fix document. [Bug #1429]knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-02* enc/trans/utf8_mac-tbl.rb: don't use Unicode escape.naruse
* enc/trans/utf8_mac.trans: follow above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-02* array.c (Init_Array): made #to_s an alias to #inspect to reducenobu
the result of recursive array. a patch from ujihisa at [ruby-dev:38362] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-01* lib/set.rb (Set#merge): Only directly use the passed objectsknu
@hash instance variable when self and the passed object are instances of the same class. [Bug #118] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-01* lib/set.rb (SortedSet#add): Do not let an uncomparable objectknu
in. [Bug #118] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-01* eval_intern.h (_longjmp): never return. see [ruby-core:23241]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-30fix typos.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e