summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-04-14* string.c (rb_str_each_line, rb_str_each_byte): Reflectknu
enumerator integration. #lines and #bytes are now aliases to #each_line and #each_byte, respectively. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-14* range.c (range_each, range_step): Return an enumerator if noknu
block is given. * struct.c (rb_struct_each, rb_struct_each_pair): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-14* string.c (rb_str_partition, rb_str_rpartition,knu
rb_str_start_with, rb_str_end_with): New methods: String#partition, #rpartition, #start_with? and #end_with?; backported from 1.9. These methods are $KCODE aware unlike #index, #rindex and #include?. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-13update NEWSkazu
* Object#tap * Process.exec * Symbol#to_proc git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-13should use K&R style function definitions. [ruby-dev:34354]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-13* object.c (sym_to_proc): new method Symbol#to_proc; backported from 1.9. ↵kazu
bug#19012 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-11* object.c (rb_obj_tap): new method Object#tap; backported from 1.9. bug#19008kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-11* process.c: new method Process.exec; backported from 1.9. bug#19006kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-11* ext/tk/lib/tkextlib/tile.rb, ext/tk/lib/tkextlib/tile/style.rb, nagai
ext/tk/sample/tkextlib/tile/demo.rb: previous patch is not complete. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-11* ext/tk/lib/tkextlib/tile.rb:nagai
__define_LoadImages_proc_for_compatibility__! do nothing when the Tcl command exists. * ext/tk/lib/tkextlib/tile/style.rb: __define_wrapper_proc_for_compatibility__! do nothing when the Tcl command exists. * ext/tk/sample/tkextlib/tile/demo.rb: don't create 'step' theme if it already exists. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15967 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/branches/ruby_1_8@15965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-10Mention the ruby-debug project at RubyForge in README.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-10Oops, my mistake, rdebug.el was in 1.8.6.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-10* misc/rdebug.el, misc/README: Remove rdebug.el as per requestknu
from the maintainer; bug#19043. Fortunately this file was added after the last release, so it is kind of safe to remove it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-10* enum.c (enum_first, enum_group_by): New methods:knu
Enumerable#first and #group_by; backported from 1.9. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-10Sort entries.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-10* enumerator.c (rb_eStopIteration), eval.c (rb_f_loop), ruby.h:knu
Add a new exception class StopIteration, which breaks Kernel#loop iteration when raised; backported from 1.9. * enumerator.c (enumerator_next, enumerator_rewind): Implement #next and #rewind using the "generator" library. * lib/generator.rb: Implement Enumerable::Enumerator#next and #rewind. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-10* array.c (rb_ary_first, rb_ary_last): Return a shared array whenknu
possible. * array.c (rb_ary_pop, rb_ary_pop_m, rb_ary_shift, rb_ary_shift_m): Array#pop and Array#shift can take an optional argument specifying the number of elements to remove and return; backported from 1.9. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-10* lib/resolv.rb (Resolv::DNS#each_address): backport from 1.9 forakr
CNAME. [ruby-dev:34200] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-09 * enum.c (iterate_method): add prototype to avoid warning on VC++.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-09* ext/tk/tcltklib.c: SEGV when tcltk-stubs is enabled.nagai
* ext/tk/tcltklib.c: avoid error on a shared object. * ext/tk/extconf.rb: support --with-tcltkversion * ext/tk/README.tcltklib: add document about --with-tcltkversion * ext/tk/sample/demos-jp/widget, ext/tk/sample/demos-en/widget, ext/tk/sample/demos-jp/style.rb, ext/tk/sample/demos-en/style.rb, ext/tk/sample/demos-jp/bind.rb, ext/tk/sample/demos-en/bind.rb: bug fix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-09Fix a typo.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-09* array.c (rb_ary_pop): Do not reallocate too often; backportedknu
from 1.9. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-09Array#reject too.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-09Update.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-09* array.c (rb_ary_each, rb_ary_each_index, rb_ary_reverse_each,knu
rb_ary_reject_bang): Calling Array#each, #each_index, #reverse_each, #reject! or #delete_if without a block now returns an enumerator; backported from 1.9. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-09Update.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-09* array.c (rb_ary_index, rb_ary_index): Array#index and #rindexknu
take a block instead of an argument; backported from 1.9. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-09Add items about the enumerator module.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-09* enumerator.c, inits.c (rb_call_inits), ruby.h, intern.h,knu
ext/enumerator, common.mk (OBJS, enumerator.$(OBJEXT)): Make the enumerator module built-in, * enumerator.c: New method: Enumerable::Enumerator#with_index. * enum.c (enum_each_with_index): Enumerable#each_with_index now returns an enumerator instead of raising an exception if no block is given. Enumerable#enum_with_index, formerly defined in the enumerator module, is kept as an alias to each_with_index for backward compatibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-0920080409knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-09* eval.c (rb_obj_method, rb_proc_call), intern.h: Export.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-08* eval.c (EXEC_TAG): remove unnecessary FLUSH_REGISTER_WINDOWS formatz
better performance on SPARC. [ruby-core:16159] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15927 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/branches/ruby_1_8@15924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-07* array.c (rb_ary_nitems): Backport Array#nitems with a block;knu
suggested by Bertram Scharpf <lists@bertram-scharpf.de> in [ruby-talk:134083]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-07* ignores all libruby stuffs.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15916 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/branches/ruby_1_8@15908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-05* object.c (rb_check_to_integer): backported for range_step.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-03* lib/net/pop.rb (Net::POP3::do_finish): clear @n_mails andmatz
@n_bytes as well. [ruby-core:16144] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-03* range.c (range_step): should not round step into integer ifmatz
begin and end are numeric. [ruby-core:15990] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-01* bignum.c (rb_big_div): Bignum#div should return integer formatz
floating number operand. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-01* configure.in: get rid of empty expansion.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-01* {bcc,win}32/Makefile (config.h): need to define RUBY_SETJMP, etc.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-01* configure.in: quoted.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-01* configure.in: _setjmp is available but _longjmp is not on mingw.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-31* configure.in: __builtin_setjmp cannot handle a variable.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-31* configure.in (RUBY_SETJMP, RUBY_LONGJMP, RUBY_JMP_BUF): prefersnobu
__builtin_setjmp, _setjmp over setjmp and sigsetjmp. [ruby-core:16023], [ruby-core:16086] * configure.in (--with-setjmp-type): new option to override the default rule in the above. * eval.c (ruby_setjmp, ruby_longjmp), gc.c (rb_setjmp), node.h (rb_jmpbuf_t): use RUBY_SETJMP, RUBY_LONGJMP and RUBY_JMP_BUF. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-31* lib/resolv.rb (Resolv::Config.default_config_hash): requiresnobu
win32/resolv to use Win32::Resolv. [ruby-dev:34138] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-29* ext/tk/tcltklib.c: rb_hash_lookup has not been backported yet.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-29* class.c (clone_method): should copy cref as well.matz
[ruby-core:15833] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e