summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-04-13* enum.c (enum_cycle): Make Enumerable#cycle do a finite loop whenknu
the number of cycles is specified. * array.c (rb_ary_cycle): Ditto for Array#cycle. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-13* thread_pthread.c (lock_func): should not check interrupts innobu
blocking region. [ruby-dev:34378] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-12bootstraptest/test_knownbug.rb: add testsmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-12* prelude.rb (require_relative): move require_relative frommatz
lib/require_relative.rb. [ruby-core:16356] * lib/require_relative.rb: removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-12* eval.c (ruby_exec_node, ruby_run_node), ruby.c (process_options):nobu
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@15983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-11Update to RubyGems 1.1.1 r1701.drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-11* file.c (file_expand_path): set external encoding.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-11* file.c (rb_file_s_basename, rb_file_s_dirname, rb_file_s_extname):nobu
copy encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-11* enum.c (count_i): modified to shut warning up.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-11* enum.c (count_i, count_iter_i, enum_count, enum_find_index):knu
Reduce code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-11* enum.c (find_index_i): modified to shut warning up.matz
* enum.c (find_index_iter_i): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-11* enum.c (enum_find_index): Add support for find_index(obj);knu
[ruby-dev:34313]. * array.c (rb_ary_index): Define find_index as an alias to index. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-11* test/test_pstore.rb, test/yaml/test_yamlstore.rb: properties.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-11* lib/yaml/store.rb (YAML::load): modified to support emptymatz
database. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-10* marshal.c (w_object): add volatile to avoid potential GC bug. amatz
patch from Tomoyuki Chikanaga <chikanag at nippon-control-system.co.jp> in [ruby-dev:34311]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-10* lib/pstore.rb (PStore::dump, PStore::load): allow subclassmatz
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@15964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-10* test/test_generator.rb: removed as well. [ruby-dev:34306]matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-10Add a bug#.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-10* misc/rdebug.el, misc/README: Remove rdebug.el as per requestknu
from the maintainer and mention the ruby-debug project at RubyForge in README. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-10Mention the ruby-debug project at RubyForge.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-10* eval.c (rb_f_loop): Mention StopIteration in the document.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-10Fix mistake in the previous commit.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-10* array.c (rb_ary_pop_m, rb_ary_shift_m): Update documents forknu
#pop() and #shift(). * array.c (rb_ary_slice_bang): Update document. Assigning array[*args]= nil no longer removes elements. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-10* marshal.c (w_object): TYPE_USERDEF assigns id for ivars first.akr
[ruby-dev:34159] by nagachika. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-10* lib/pstore.rb: replaced by Hongli Lai's faster version.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-10* lib/generator.rb: removed obsolete library. [ruby-core:16233]matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-10* thread_pthread.c (native_sleep): sleep_cond is initialized atnobu
creation. [ruby-Patches-19361]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-09* thread.c (lock_func): optimized and checks for interrupt_flag.nobu
based on a patch from Sylvain Joyeux in [ruby-Patches-19361] and [ruby-Patches-19362]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-09* test/ruby/test_thread.rb: new tests from Sylvain Joyeux innobu
[ruby-Patches-19361]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-08* thread.c (lock_func): optimized. based on a patch from Sylvainnobu
Joyeux in [ruby-Patches-19362]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-08* thread.c (rb_mutex_sleep): ensures to re-acquire at waking up.nobu
[ruby-Patches-19361] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-08* lib/complex.rb: remove Math first before overwriting by CMath.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-08* re.c (rb_reg_quote): should always copy the quoting string.matz
[ruby-core:16235] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-08* load.c (rb_require_safe): should check fname path after $SAFE ismatz
properly set. [ruby-dev:34268] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-08* common.mk (prelude.c): depends on enc/prelude.rb.nobu
* enc/prelude.rb: fixed initial library names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-07* bootstraptest/test_autoload.rb: tests for [ruby-dev:34268].nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-07* load.c (rb_provided): check expanded path for relative pathnobu
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@15920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-07trivial change.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-07 * numeric.c: cancelled recent changes (except to remove rdiv).tadf
* bignum.c: ditto. * bignum.c: added rb_big_idiv. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-07* ignores all libruby stuffs.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-07* encoding.c (enc_init_db): moved to enc/encdb.c.nobu
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@15915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-07* bootstraptest/test_knownbug.rb: add a known-bug.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-07* range.c (range_each_func): should not leave a variablenobu
uninitialized, which could cause SEGV. * range.c (range_step): removed duplicated and unreachable code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-06* string.c (rb_str_intern): need not to check if tainted.matz
[ruby-dev:34219] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-06* bignum.c (rb_cmpint): moved from compar.c, to check bignummatz
zero. * range.c (range_step): add step for each iteration if begin and end are numeric. [ruby-core:15990] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-06* tool/compile_prelude.rb: allows extra suffix after .c.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-06* lib/cmath.rb: set properties.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-06* dir.c (dir_tell): check if closed. [ruby-core:16223]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-05lib/complex.rb depends lib/cmath.rb.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-05 * lib/cmath.rb: new.tadf
* lib/complex.rb: depends lib/cmath.rb. * lib/rational.rb: added rdiv. * complex.c: removed some math functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e