summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * variable.c (rb_f_trace_var): should not be allowed at safe level 4. matz2008-06-261-0/+5
| | | | | | a patch from Keita Yamaguchi <keita.yamaguchi@gmail.com>. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Upgrade to RubyGems 1.2.0 r1824. Incorporates [ruby-core:17353].drbrain2008-06-261-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (primary): not operand might be empty. [ruby-dev:35227]matz2008-06-251-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (primary): make functional-style not operator to actmatz2008-06-251-0/+5
| | | | | | like function. see <http://d.hatena.ne.jp/ku-ma-me/20080624/p1>. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_fill): not depend on unspecified behavior at integernobu2008-06-251-0/+5
| | | | | | | overflow. reported by Vincenzo Iozzo <snagg AT openssl.it>. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/erb.rb (ERB::Compiler:Buffer#new): push magic comment first.naruse2008-06-251-0/+6
| | | | | | * lib/erb.rb (ERB::Compiler#compile): fix for broken input. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/erb.rb (ERB::Compiler#compile): magic comment needs LF.naruse2008-06-251-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/erb.rb (ERB::Compiler#compile): output magic comment.naruse2008-06-251-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (eval_string_with_cref): preserve parse_in_eval even ifmame2008-06-241-0/+5
| | | | | | | exception raised. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c(ole_invoke): fix memory leak.suke2008-06-241-0/+5
| | | | | | | [ruby-bugs-20792] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (rb_cv_fork_with_pthread): check after check fornobu2008-06-241-0/+5
| | | | | | | pthread library, and define the macro when checked only. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/io/wait/extconf.rb: check sys/socket.h for cygwin.usa2008-06-241-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_reopen): remove cygwin handling because it seems to be forusa2008-06-241-0/+6
| | | | | | | | | C's stdio. fixed [ruby-dev:35183] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/win32.h, win32/win32.c (rb_w32_getppid): now supportusa2008-06-241-0/+7
| | | | | | | | | | getppid() on win32 (but only Win2k or later). * process.c (get_ppid): remove win32 special logic. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (init_sock): socket is binmode on platformsusa2008-06-241-0/+5
| | | | | | | | which support binmode. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_build_from_ary): initialize arg_opts, a patch frommame2008-06-231-0/+5
| | | | | | | Adam Strzelecki <ono@java.pl> in [ruby-core:17220]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_build_from_ary): fix expression to obtain wanabe2008-06-231-0/+4
| | | | | | iseq->local_size and iseq->local_table_size. [ruby-dev:35205] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mathn.rb (Rational::power2): removed incomplete method.matz2008-06-231-0/+5
| | | | | | see [ruby-dev:35195]. [ruby-core:17293] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/extconf.rb (have_readline_func): readline on Mac OS Xnobu2008-06-221-0/+5
| | | | | | | needs headers to detect some functions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_class_superclass): rdoc improvement, a patch fromnobu2008-06-221-0/+5
| | | | | | | Gaston Ramos <ramos.gaston AT gmail.com> in [ruby-core:17371]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT: translated README.EXT.jashyouhei2008-06-221-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: add reporter.usa2008-06-211-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_osid, rb_w32_osver, CreateChild): XP isusa2008-06-211-0/+6
| | | | | | | | | is different from Vista about pipe handle inheritance. fixed [ruby-core:17367] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT.ja: add note about mark and free.usa2008-06-211-0/+4
| | | | | | | (now we are testing auto version.h updating.) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: tabify. (now we are testing auto version.h updating.)usa2008-06-211-16/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_binmode_p, argf_binmode_p, Init_IO): new methodusa2008-06-211-0/+5
| | | | | | | IO#binmode? and ARGF.binmode? [ruby-dev:35148] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_spawn): no longer support P_WAIT.usa2008-06-211-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_win32.c (native_sleep): must block reentrance when accessingusa2008-06-211-0/+6
| | | | | | | | | th->unblock. fixed [ruby-core:17341], reported by Bill Kelly <billk at cts.com> git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (call_args2, open_args): removed.nobu2008-06-211-0/+7
| | | | | | | | * parse.y (parser_yylex): unified warnings at space between method name and argument parenthese. [ruby-dev:33943] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_round): get rid of overflow.nobu2008-06-211-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parsers/parse_rb.rb (RDoc#collect_first_comment): skipnobu2008-06-211-0/+5
| | | | | | | magic comment. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check if fork works with pthread.nobu2008-06-211-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot: ported to ruby.nobu2008-06-211-2/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot: fixed digets.nobu2008-06-201-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enum_each_cons): typo in RDoc fixed.matz2008-06-201-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/lib/bigdecimal/jacobian.rb (Jacobian::dfdxi):matz2008-06-201-0/+5
| | | | | | typo fixed (raize -> raise). [ruby-list:45101] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot: do not use sha256sum; use BASERUBY insteadshyouhei2008-06-201-0/+6
| | | | | | | * common.mk (dist): use tool/make-snapshot instead git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (Init_process): Process::Status#to_int removed.akr2008-06-201-0/+19
| | | | | | | | | | | | | | | | | | | | | (PST2INT): defined. (pst_to_s): use PST2INT. (pst_inspect): ditto. (pst_equal): ditto. (pst_bitand): ditto. (pst_rshift): ditto. (pst_wifstopped): ditto. (pst_wstopsig): ditto. (pst_wifsignaled): ditto. (pst_wtermsig): ditto. (pst_wifexited): ditto. (pst_wexitstatus): ditto. (pst_success_p): ditto. (pst_wcoredump): ditto. (rb_f_system): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_store, rb_ary_splice): not depend on unspecifiednobu2008-06-201-0/+7
| | | | | | | | | behavior at integer overflow. * string.c (str_buf_cat): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_detach_process): store detached process ID in thenobu2008-06-201-0/+5
| | | | | | | thread local storage. moved from lib/open3.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_sub_bang): should preserve replacement pointsmatz2008-06-201-0/+5
| | | | | | since they may be altered in the yielded block. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_memhash): randomize hash to avoid algorithmicakr2008-06-201-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@17465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (ary_new, rb_ary_initialize, rb_ary_store,shyouhei2008-06-191-0/+11
| | | | | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@17460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_f_fork): NetBSD 4.0 or later can fork.usa2008-06-191-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/testunit/collector/test_dir.rb: r15825 made it unnecessary to changemame2008-06-191-0/+7
| | | | | | | | | String to Symbol. * test/testunit/collector/test_objectspace.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to RubyGems 1.1.1 r1784 (pre 1.2)drbrain2008-06-191-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c: try to remove false positive of deadlock detection (secondmame2008-06-191-0/+5
| | | | | | | trial). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mathn.rb (Rational::power2): typo fixed. [ruby-core:17293]matz2008-06-191-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_gsub): should preserve last successful matchmatz2008-06-191-0/+5
| | | | | | data. [ruby-dev:35182] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * KNOWNBUGS.rb, bootstraptest/pending.rb: move a bug (?) to pending.ko12008-06-191-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e