summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * complex.c (nucomp_div): [ruby-dev:34357]tadf2008-04-141-0/+10
| | | | | | | | | | | | * complex.c (nucomp_abs): use hypot. * complex.c (nucomp_quo): do not force convertion. * test/ruby/test_complex.rb: omitted some meaningless tests. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_search): make search reentrant. [ruby-dev:34223]matz2008-04-141-0/+5
| | | | | | | * test/ruby/test_parse.rb (TestParse::test_global_variable): should preserve $& variable. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_objectspace.rb: add a test formame2008-04-141-0/+5
| | | | | | | ObjectSpace.count_objects. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (SET_EXTERNAL_ENCODING): avoid call rb_enc_check() onmatz2008-04-141-0/+5
| | | | | | half-baked result string. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_delete_if, rb_hash_reject_bang, env_delete_if,knu2008-04-141-0/+5
| | | | | | | env_reject_bang): Return an enumerator if no block is given. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c, compile.h (compile_debug): made runtime option.nobu2008-04-141-0/+16
| | | | | | | | | | | | | | | | | * debug.c (ruby_debug_print_indent): returns if debug_level exceeds the threashold. * debug.c (ruby_debug_printf): printf to stderr. * iseq.c (make_compile_option, make_compile_option_value): added debug_level option. * vm_core.h (rb_compile_option_t): added debug_level. * vm_core.h (struct iseq_compile_data): added node_level. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (ary_new): new integer overflow check condition.matz2008-04-141-0/+8
| | | | | | | | | suggested by TOYOFUKU Chikanobu <nobu_toyofuku at nifty.com> in [ruby-dev:34156]. * array.c (rb_ary_initialize): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (Init_stack): use ruby_init_stack. [ruby-dev:34350]nobu2008-04-141-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_objspace_t): packed globals. [ruby-dev:34348]nobu2008-04-141-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (finalizers): removed. [ruby-dev:34349]nobu2008-04-141-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_parse.rb: add tests to achieve over 95% test coveragemame2008-04-131-0/+5
| | | | | | | of parse.y. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_cycle): Make Enumerable#cycle do a finite loop whenknu2008-04-131-0/+7
| | | | | | | | | the number of cycles is specified. * array.c (rb_ary_cycle): Ditto for Array#cycle. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (lock_func): should not check interrupts innobu2008-04-131-0/+5
| | | | | | | blocking region. [ruby-dev:34378] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * prelude.rb (require_relative): move require_relative frommatz2008-04-121-0/+7
| | | | | | | | lib/require_relative.rb. [ruby-core:16356] * lib/require_relative.rb: removed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_exec_node, ruby_run_node), ruby.c (process_options):nobu2008-04-121-0/+14
| | | | | | | | | | | | | | | | use iseq instead of NODE. * gc.c (source_filenames): removed. * include/ruby/intern.h, parse.y (yycompile, parser_mark, parser_free, ripper_initialize): rb_source_filename() is no longer used. * compile.c, compile.h (ERROR_ARGS), parse.y (node_newnode, fixpos, parser_warn, e_option_supplied, warn_unless_e_option, range_op, cond0): nd_file is no longer used. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to RubyGems 1.1.1 r1701.drbrain2008-04-111-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (file_expand_path): set external encoding.nobu2008-04-111-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_s_basename, rb_file_s_dirname, rb_file_s_extname):nobu2008-04-111-0/+5
| | | | | | | copy encoding. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (count_i): modified to shut warning up.matz2008-04-111-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (count_i, count_iter_i, enum_count, enum_find_index):knu2008-04-111-0/+5
| | | | | | | Reduce code. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (find_index_i): modified to shut warning up.matz2008-04-111-0/+6
| | | | | | * enum.c (find_index_iter_i): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_find_index): Add support for find_index(obj);knu2008-04-111-0/+7
| | | | | | | | | [ruby-dev:34313]. * array.c (rb_ary_index): Define find_index as an alias to index. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/store.rb (YAML::load): modified to support emptymatz2008-04-111-0/+5
| | | | | | database. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_object): add volatile to avoid potential GC bug. amatz2008-04-101-0/+6
| | | | | | | patch from Tomoyuki Chikanaga <chikanag at nippon-control-system.co.jp> in [ruby-dev:34311]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pstore.rb (PStore::dump, PStore::load): allow subclassmatz2008-04-101-0/+8
| | | | | | | | | overriding. [ruby-dev:34305] * lib/yaml/store.rb (YAML::Store::marshal_dump_supports_canonical_option?): add a method to support faster PStore. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_generator.rb: removed as well. [ruby-dev:34306]matz2008-04-101-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add a bug#.knu2008-04-101-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/rdebug.el, misc/README: Remove rdebug.el as per requestknu2008-04-101-0/+6
| | | | | | | | from the maintainer and mention the ruby-debug project at RubyForge in README. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_f_loop): Mention StopIteration in the document.knu2008-04-101-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_pop_m, rb_ary_shift_m): Update documents forknu2008-04-101-0/+8
| | | | | | | | | | #pop() and #shift(). * array.c (rb_ary_slice_bang): Update document. Assigning array[*args]= nil no longer removes elements. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_object): TYPE_USERDEF assigns id for ivars first.akr2008-04-101-0/+5
| | | | | | | [ruby-dev:34159] by nagachika. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pstore.rb: replaced by Hongli Lai's faster version.matz2008-04-101-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/generator.rb: removed obsolete library. [ruby-core:16233]matz2008-04-101-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (native_sleep): sleep_cond is initialized atnobu2008-04-101-0/+5
| | | | | | | creation. [ruby-Patches-19361]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (lock_func): optimized and checks for interrupt_flag.nobu2008-04-091-4/+7
| | | | | | | | based on a patch from Sylvain Joyeux in [ruby-Patches-19361] and [ruby-Patches-19362]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_thread.rb: new tests from Sylvain Joyeux innobu2008-04-091-0/+5
| | | | | | | [ruby-Patches-19361]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (lock_func): optimized. based on a patch from Sylvainnobu2008-04-081-1/+4
| | | | | | | Joyeux in [ruby-Patches-19362]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_mutex_sleep): ensures to re-acquire at waking up.nobu2008-04-081-0/+5
| | | | | | | [ruby-Patches-19361] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/complex.rb: remove Math first before overwriting by CMath.matz2008-04-081-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_quote): should always copy the quoting string.matz2008-04-081-0/+3
| | | | | | [ruby-core:16235] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * load.c (rb_require_safe): should check fname path after $SAFE ismatz2008-04-081-0/+5
| | | | | | properly set. [ruby-dev:34268] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (prelude.c): depends on enc/prelude.rb.nobu2008-04-081-0/+6
| | | | | | | * enc/prelude.rb: fixed initial library names. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * load.c (rb_provided): check expanded path for relative pathnobu2008-04-071-0/+8
| | | | | | | | | | features, loading or loaded features are already expanded in 1.9. * variable.c (rb_autoload_load): no needs to check if provided before rb_require_safe. [ruby-dev:34266] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c: cancelled recent changes (except to remove rdiv).tadf2008-04-071-0/+8
| | | | | | | | | | * bignum.c: ditto. * bignum.c: added rb_big_idiv. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (enc_init_db): moved to enc/encdb.c.nobu2008-04-071-0/+11
| | | | | | | | | | | | * transcode.c (init_transcoder_table): moved to enc/trans/transdb.c. * enc/depend (enc/encdb.o enc/trans/transdb.o): depend on corresponding headers. * common.mk (COMMONOBJS): moved transcode.o from OBJS git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_knownbug.rb: add a known-bug.ko12008-04-071-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_each_func): should not leave a variablenobu2008-04-071-0/+7
| | | | | | | | | uninitialized, which could cause SEGV. * range.c (range_step): removed duplicated and unreachable code. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_intern): need not to check if tainted.matz2008-04-061-0/+5
| | | | | | [ruby-dev:34219] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_cmpint): moved from compar.c, to check bignummatz2008-04-061-0/+10
| | | | | | | | | zero. * range.c (range_step): add step for each iteration if begin and end are numeric. [ruby-core:15990] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (dir_tell): check if closed. [ruby-core:16223]nobu2008-04-061-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e