summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-06-20* tool/make-snapshot: fixed typo.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-20* string.c (rb_str_sub_bang): should preserve replacement pointsmatz
since they may be altered in the yielded block. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-20* string.c (rb_memhash): randomize hash to avoid algorithmicakr
complexity attacks. (rb_str_hash): use rb_memhash. * include/ruby/intern.h (rb_reset_random_seed): declared. * thread.c (rb_thread_atfork): call rb_reset_random_seed. * inits.c (rb_call_inits): call Init_RandomSeed at first. * random.c (seed_initialized): defined. (fill_random_seed): extracted from random_seed. (make_seed_value): extracted from random_seed. (rb_f_rand): initialize random seed at first. (initial_seed): defined. (Init_RandomSeed): defined. (Init_RandomSeed2): defined. (rb_reset_random_seed): defined. (Init_Random): call Init_RandomSeed2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19* array.c (ary_new, rb_ary_initialize, rb_ary_store,shyouhei
rb_ary_aplice, rb_ary_times): integer overflows should be checked. based on patches from Drew Yao <ayao at apple.com> fixed CVE-2008-2726 * string.c (rb_str_buf_append): fixed unsafe use of alloca, which led memory corruption. based on a patch from Drew Yao <ayao at apple.com> fixed CVE-2008-2726 * sprintf.c (rb_str_format): backported from trunk. * intern.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19* process.c (rb_f_fork): NetBSD 4.0 or later can fork.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19* test/testunit/collector/test_dir.rb: r15825 made it unnecessary to changemame
String to Symbol. * test/testunit/collector/test_objectspace.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19Update to RubyGems 1.1.1 r1784 (pre 1.2)drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19* thread.c: try to remove false positive of deadlock detection (secondmame
trial). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19* lib/mathn.rb (Rational::power2): typo fixed. [ruby-core:17293]matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19* string.c (str_gsub): should preserve last successful matchmatz
data. [ruby-dev:35182] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19* KNOWNBUGS.rb, bootstraptest/pending.rb: move a bug (?) to pending.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19* proc.c (proc_new): fix to return Proc object if block is alreadyko1
in heap. [ruby-core:15711] * bootstraptest/test_proc.rb: add a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19* thread_win32.c (native_sleep): fix to decrement sleeper count.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19* test/net/http/test_http.rb: compare encodings of two strings beforemame
comparing themself, which suppress too big error output. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19* ext/json/ext/parser/parser.rl, ext/json/ext/parser/parser.c: JSONmame
text SHALL be encoded in Unicode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19* thread.c, thread_win32.c, vm_core.h: try to remove false positive ofmame
deadlock detection. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19add a test.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19* ext/extmk.rb (extmake): check if compile before showing message.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19* ext/extmk.rb (extmake): check if compile before showing message.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19* tool/make-snapshot: supported multiple snapshots.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19* lib/net/pop.rb (Net::POP3#set_all_uids): speedkazu
up. a patch from <m-sumi AT techfirm.co.jp> [ruby-list:45047] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19* ext/etc/etc.c (Init_etc): define constant aliases Etc::Passwdmatz
and Etc::Group. [ruby-dev:35150] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19* string.c (str_alloc): specify 'inline' modifier.matz
* string.c (str_alloc): remove cSymbol hack that no longer necessary. * string.c (scan_once): avoid retrieving encoding info unless necessary. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19* string.c (rb_str_scan): String#scan should preserve lastmatz
successful match data. [ruby-dev:35106] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19 * missing/acosh.c (atanh): should set ERANGE to errno if parameterusa
is the boundary case. fixed [ruby-dev:35155] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19* ext/tk/lib/tkextlib/tile/treeview.rb: cannot configure tags.nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19* test/ruby/test_enumerator.rb: fix to skip "with_memo" test.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19* vm_insnhelper.c (vm_throw): fix "return" process from "lambda".ko1
* bootstraptest/test_proc.rb: add a test. * bootstraptest/pending.rb: add a pending bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-18* test/etc/test_etc.rb: avoid infinite loop. [ruby-dev:35158]mame
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-18* gc.c (rb_newobj): prohibit call of rb_newobj() during gc.shyouhei
a patch from Sylvain Joyeux in [ruby-core:12099]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-18* ruby.c (verbose_setter, opt_W_getter): fixed prototypes.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-18fix typokazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-18* test/ruby/test_rubyoptions.rb: use character class instead of alternationkazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-18* test/ruby/test_unicode_escape.rb (test_basic): windows' echo support.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-18* fix ChangeLog.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-18* test/ruby/test_shebang.rb (test_shebang): on windows path separetor is '\'.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-18 * ruby.c (opt_W_getter): use ruby_verbose directly instead of parameterusa
because ruby_verbose is not a real variable, so the address of parameter is not collect. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-18* test/ruby/test_io.rb (test_copy_stream_dst_rbuf): set binmode.usa
* test/ruby/test_io.rb (make_tempfile): set binmode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-18 * win32/win32.c (errmap): add some pipe errors.usa
* win32/win32.c (rb_w32_write): set errno when CRT's errno is EINVAL for pipe errors. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-18 * win32/win32.c (poll_child_status): set EINVAL to errno whenusa
GetExitCodeProcess() fails with ERROR_INVALID_HANDLE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-18* test/ruby/test_argf.rb: support NO_SAFE_RENAME platforms.usa
* test/ruby/test_argf.rb: now tempfiles are binmode'ed to test tell/pos/etc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-18* io.c (rb_open_file): fs_encoding and fname_encoding isnaruse
rb_encoding *. fixed [ruby-dev:35151] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-18* test/ruby/test_argf.rb (test_binmode): wrong test. fixed.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-18* io.c (rb_open_file): not rb_enc_get_index but rb_enc_get.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-18 * include/ruby/win32.h (pipe): now pipe is textmode. although thisusa
change is experimental, it will be spec if no compatiblity problem is reported. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-18* marshal.c (w_object, marshal_dump, r_object0, marshal_load): searchnobu
public methods only. [ruby-core:17283] * object.c (convert_type): ditto. * lib/singleton.rb (Singleton#_dump): conversion method should be public. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-18* ext/etc/etc.c (etc_passwd, etc_group): fixed rdoc. a patch fromnobu
okkez <okkez000 AT gmail.com> in [ruby-dev:35141]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-18svn:eol-style LFnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-17Fix RubyGems for 1.9, r1780drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-17Update RubyGems to 1.1.1 r1778 (almost 1.2)drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e