summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-09-11* lib/shellwords.rb: Add shellescape() and shelljoin().knu
* lib/shellwords.rb: Rename shellwords() to shellsplit() and make the former an alias to the latter. * lib/shellwords.rb: Add escape(), split(), join() as class methods, which are aliases to their respective long names prefixed with `shell'. * lib/shellwords.rb: Add String#shellescape(), String#shellsplit() and Array#shelljoin() for convenience. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-10* range.c (range_dumper): make uninitialized range dumpable.akr
(range_loader): make uninitialized range loadable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-10* range.c: represent initialized state using EXCL instead of FL_USER3.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-10* array.c (rb_ary_cycle): avoid infinite loop for empty array.matz
based on a patch from David Flanagan. [ruby-core:12085] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-09* marshal.c (r_object0): struct allocation first to check if amatz
class is a struct. compatibility check should come next. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-09* range.c (range_step): fixed integer overflow. [ruby-dev:31763]matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-09 * lib/date/format.rb (_strptime): now also attaches an elementtadf
which denotes leftover substring if exists. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-08* marshal.c (r_object0): check T_STRUCT type for structs.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-08values doesn't needs to be volatile since it is passed to rb_struct_initialize.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-08* marshal.c (r_object0): don't call user-defined initialize forakr
T_STRUCT objects. * include/ruby/intern.h (rb_struct_initialize): declared. * struct.c (rb_struct_initialize): export. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-08abolish warnings.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-08add test for [ruby-dev:31650] and [ruby-dev:31659].akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-08* eval_method.ci (rb_get_alloc_func): new function to get allocationakr
function. * include/ruby/intern.h (rb_alloc_func_t): declared. (rb_define_alloc_func): declared. (rb_marshal_define_compat): declared. * range.c: use T_STRUCT for Range. * inits.c: move Init_marshal() prior to Init_Range() because Init_Range calls rb_marshal_define_compat which needs marshal's compat_allocator_tbl initialized. * marshal.c: support marshal format compatibility layer designed for marshaling T_STRUCT Range using T_OBJECT format. (rb_marshal_define_compat): defined. [ruby-dev:31710] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-08ChangeLog: conflict resolutionmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-08* struct.c (rb_struct_s_members): check if __members__ is anmatz
array to prevent segmentation fault. [ruby-dev:31759] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-08 * lib/date/format.rb (str[fp]time): now check specifications moretadf
strictly. * and some trivial changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-07add test for [ruby-dev:31759].akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-07* test/ruby/test_fiber.rb (TestFiber::test_throw): uncaught throwmatz
now raise ArgumentError exception. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-07* struct.c (rb_struct_s_members): should raise TypeError insteadmatz
of call rb_bug(). [ruby-dev:31709] * marshal.c (r_object0): no nil check require any more. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-07* 2007-09-08usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-07* regenc.c, regenc.h (onigenc_single_byte_mbc_enc_len): should takeusa
two arguments. [ruby-dev:31754] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-06* common.mk: fix typo.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-06* ext/stringio/stringio.c (strio_getc): rb_enc_mbclen() fix.matz
* ext/stringio/stringio.c (strio_ungetc): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-06* io.c (rb_io_getc): forgot to commit rb_enc_mbclen() fix.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-06* lib/fileutils.rb (FileUtils::Entry_::copy): prevent self copy ofmatz
directories. * lib/fileutils.rb (FileUtils::fu_each_src_dest0): use try_convert. * lib/fileutils.rb (FileUtils::fu_update_option): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-06add ChangeLog entriesmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-06* array.c (rb_ary_cycle): typo in rdoc. a patch from Yuguimatz
<yugui@yugui.sakura.ne.jp>. [ruby-dev:31748] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-06* string.c (rb_str_succ, rb_str_chop_bang, rb_str_chop): m17n support.nobu
[ruby-dev:31734] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-05* array.c (rb_ary_subseq): need integer overflow check.matz
[ruby-dev:31736] * array.c (rb_ary_splice): ditto. [ruby-dev:31737] * array.c (rb_ary_fill): ditto. [ruby-dev:31738] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-05* string.c (rb_str_splice): integer overflow for length.matz
[ruby-dev:31739] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-04* ext/win32ole/win32ole.c: add WIN32OLE_EVENT#unadvise.suke
* test/win32ole/test_win32ole_event.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-03* common.mk (vm.o): depends on st.h too.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-02* include/ruby/st.h (struct st_table): make num_entries bitfieldakr
instead of num_bins for speed. num_entries has less access. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-02add a test for [ruby-dev:31709].akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-01ChangeLog: typo fixedmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-01 * lib/date/format.rb (_parse): improved parsing of ordinal dates.tadf
* lib/date/format.rb (_parse): use named character classes in some regular expressions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-01* test_jump.rb, test_knownbug.rb: seems to be fixed.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-01* eval_jump.ci (rb_f_throw): wrap tag and TAG_THROW in a NODE_MEMOmatz
node to make throw instruction to work well. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-01* bootstraptest/test_knownbug.rb: add new test. [ruby-dev:31698]usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-01* eval_jump.ci (rb_f_catch): generate new tag object if no argument ismatz
given. backported from MatzRuby. [ruby-dev:31609] * eval_jump.ci (rb_catch): call #catch without arguments if tag string is NULL. * eval_jump.ci (rb_f_throw): allow throwing non-symbol object. * eval.c (rb_catch_obj): new function to wait throw with arbitrary object. * eval.c (rb_throw_obj): new function to throw arbitrary object. * variable.c (check_autoload_table): prevent multiple calls from RSTRING_PTR(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-01* include/ruby/ruby.h (struct RBignum): embed digits in RBignum forakr
small bignums. * bignum.c: RBignum embeded digits implemented. * include/ruby/intern.h: declare rb_big_resize. * gc.c: don't free embedded digits. * numeric.c: replace direct bignum field accessor by abstract field accessor such as RBIGNUM(val)->sign to RBIGNUM_SIGN(val). * sprintf.c: ditto. * compar.c: ditto. * marshal.c: ditto. * random.c: ditto. * .gdbinit: support embedded small bignums. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-01* ext/win32ole/win32ole.c (ole_event_free): IConnectionPoint should besuke
released. * ext/win32ole/win32ole.c (EVENTSINK_Destructor): ITypeInfo should be released. * ext/win32ole/win32ole.c (fev_initialize): refactoring. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-01* test/socket/test_tcp.rb (test_recvfrom): same as mswin32 on mswin64.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-01* include/ruby/st.h (rb_index_t): use st_data_t for the platforms itnobu
is larger than int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-01* st.c (st_numcmp, st_numhash): use st_data_t instead of long, becausenobu
the former may be larger than the latter. * include/ruby/st.h (CHAR_BIT): get rid of magic number. * include/ruby/st.h (struct st_table): num_entries never exceed num_bins. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-31fix comment.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-30* numeric.c (SQRT_LONG_MAX): use SIZEOF_LONG instead of SIZEOF_VALUEusa
because SIZEOF_VALUE > SIZEOF_LONG on some platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-30* parse.y (f_norm_arg, f_arg_item): not croak already erred names.nobu
[ruby-dev:31687] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-30* parse.y (assignable_gen): ignore already erred names.nobu
* parse.y (shadowing_lvar_gen): always make new block local variable when shadowing outer local variable. [ruby-dev:31507] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-30* regenc.h: check RUBY_EXTERN before including config.h and defines.husa
* common.mk: update header dependency. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e