summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-05-25* tool/mkconfig.rb, tool/instruby.rb: removed redundant code.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-25* string.c (rb_str_hash): avoid calling rb_enc_str_asciionly_p().matz
* string.c (rb_str_replace): avoid redundant calling rb_str_new4(). * string.c (str_replace): factor out replacement from rb_str_replace() without type check nor discarding the destination contents. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-24* string.c (rb_str_rpartition): ditto.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-24* test/ruby/test_hash.rb (TestHash::test_equal2): recursive hashesmatz
are handled properly now. ref: [ruby-core:23402] * test/ruby/test_m17n.rb (TestM17N#test_sprintf_p): test fixed git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-24* string.c (rb_str_partition): should use the converted result. anobu
patch from Marc-Andre Lafortune at [ruby-core:23540]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-24* 2009-05-25svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-24* lib/cgi/core.rb (CGI::HTTP_STATUS): typo fixed. a patch frommatz
Nobuhiro IMAI. [ruby-dev:38538] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-24* thread.c (rb_exec_recursive_paired): new function for propernobu
handling of recursive arrays. [EXPERIMENTAL] [ruby-core:23402] * array.c (rb_ary_equal, rb_ary_eql, rb_ary_cmp): use above. * hash.c (hash_equal): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-24* error.c (syserr_initialize): errno is int.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-24update rdoc.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-23* configure.in ($ridir): new configuration. [ruby-core:23520].yugui
c.f. [ruby-core:23519]. (--with-ridir): new configure option. * tool/instruby.rb (:doc, :rdoc): uses $ridir instead of a fixed path. * lib/rdoc/ri/paths.rb: follows $ridir. * Makefile.in: removes RIDATADIR which is no longer used. * bcc32/Makefile.sub: generates the 'ridir' entry for RbConfig. removes RIDATADIR which is no longer used. * win32/Makefile.sub: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-23* 2009-05-24svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-23* string.c (rb_str_each_char): return original string.matz
[ruby-core:23499] * string.c (rb_str_each_codepoint): protect string from modification. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-23* ext/dl/handle.c (rb_dlhandle_s_sym): added a method to accessnobu
using RTLD_NEXT. [ruby-dev:38152] * ext/dl/handle.c (Init_dlhandle): added constants DEFAULT and NEXT which correspond to RTLD_DEFAULT and RTLD_NEXT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-23* ext/dl/lib/dl/cparser.rb (DL::CParser#parse_struct_signature):nobu
splitting with regexp source string is obsolete. a patch from Minwoo Lee at [ruby-core:23494]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-23* ext/dl/cptr.c (rb_dlptr_cmp): return signed value, and restrictnobu
to Fixnum. [ruby-dev:38533] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-22* missing/vsnprintf.c (errno): [BUG] fixes a compilation yugui
error on SIZEOF_LONG > SIZEOF_INT. (BSD_vfprintf): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-22* 2009-05-23svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-22* spec/default.mspec: follows runruby.rb's move at r23542.yugui
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-22* NEWS: add Time#to_r.mame
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-22update rdoc.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-22* config.guess: moved into tool/.yugui
* config.sub: ditto. * install-sh: ditto * configure.in: follows the moves. * LEGAL: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-22* instruby.rb: moved into tool/.yugui
* mkconfig.rb: ditto. * rubytest.rb: ditto. * runruby.rb: ditto. * common.mk: follows the moves. * configure.in: ditto. * win32/Makefile.sub: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-21* array.c (rb_ary_slice_bang): avoid call of rb_scan_args() unlessmatz
it's really necessary. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-21* 2009-05-22svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-21* string.c (rb_str_count): optimized for 1byte string count bymatz
avoiding tr_setup_table(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-21* template/id.h.tmpl, id.h (enum ruby_method_ids): added some IDs.nobu
* debug.c (dummy_gdb_enums): added enum ruby_method_ids. * .gdbinit (rp): improved output of Symbol. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-21.gdbinit (rp): missing "else" after T_NODE block.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-21* missing/vsnprintf.c (BSD_vfprintf): support for 'z' modifier.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-21* gem_prelude.rb (Gem.default_dir and misc.): use rubylibprefix.yugui
follows the chagne in r23368. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-21* include/ruby/ruby.h (RB_EVENT_HOOKS_HAVE_CALLBACK_DATA):nobu
new macro for compatibility check. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-20* include/ruby/ruby.h (rb_long2int, RARRAY_LENINT): check long tonobu
cast to int. [ruby-dev:38508] * struct.c, vm_eval.c, vm_insnhelper.c: use RARRAY_LENINT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-20NEWS (--program-prefix and --program-suffix): describe r23368.yugui
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-20* rb_enc_get_index: allows an arbitrary RData as the argument but notyugui
only what points a rb_encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-20* spec/.gitignore: ignores rubyspec/ and mspec/.yugui
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-20* struct.c (rb_struct_new): get rid of too large alloca.nobu
* struct.c (rb_struct_hash): use long. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-20* vm_eval.c, vm_insnhelper.c: argument number is restricted tonobu
int, and fixed overflow. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-20* enumerator.c (inspect_enumerator): should use long.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-20* enum.c (zip_ary): should use long.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-20* encoding.c (rb_enc_fast_mbclen): faster mbclen for strings knownmatz
to be valid. * string.c (enc_strlen): coderange specified version of rb_enc_strlen(). use rb_enc_fast_mbclen() if coderange is 7bit or valid. * string.c (str_gsub): use rb_enc_fast_mbclen(). * string.c (rb_str_reverse, rb_str_split_m, rb_str_each_char, scan_once): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-20* lib/tempfile.rb (Tempfile#unlink): close first for Windows. amatz
patch from Florian Frank. [ruby-core:23505] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-19* encoding.c (rb_enc_codepoint_len): combine rb_enc_codepoint()matz
and rb_enc_codelen() in one function to reduce calls. * encoding.c (rb_enc_codepoint): compatibility function. * sprintf.c (rb_str_format): use rb_enc_codepoint_len(). * string.c (rb_str_inspect, rb_str_upcase_bang, rb_str_downcase_bang, rb_str_capitalize_bang, rb_str_swapcase_bang, trnext, tr_trans, rb_str_delete_bang, rb_str_squeeze_bang, rb_str_count, rb_str_split_m, rb_str_each_line, rb_str_each_codepoint, rb_str_lstrip_bang, sym_printable): ditto. * transcode.c (make_econv_exception): use rb_enc_mbc_to_codepoint() git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-19* 2009-05-20svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-19* vm_method.c (rb_attr): should preserve encoding info.matz
[ruby-dev:38498] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-19* time.c (time_minus): always return a Float. [ruby-dev:38446]mame
* time.c (time_to_r): new method. [ruby-dev:38461] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-19* class.c (clone_method): add cast to remove warning frommatz
rb_gc_write_barrier(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-19* struct.c (struct_ivar_get): new function to avoid repeatedmatz
rb_intern() calls. * struct.c (rb_struct_iv_get): use struct_ivar_get() * struct.c (num_members): ditto. * struct.c (rb_struct_s_members): ditto. * class.c (rb_singleton_class): cache symbol to reduce calls to rb_intern(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-18* 2009-05-19svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-18* test/test_time.rb: make tests timezone independent.akr
reported by zunda. [ruby-dev:38492] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-18* 2009-05-18svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e