aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * test/rubygems/test_gem.rb (test_self_path_APPLE_GEM_HOME): don't useakr2008-06-282-3/+10
| | | | | | | fixed /tmp/apple_gem_home directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c : check String encoding whensuke2008-06-273-21/+79
| | | | | | | | | | converting String to VT_BSTR in OLE. * test/win32ole/test_win32ole.rb : ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2008-06-28svn2008-06-271-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c: fix rounding negative float.akr2008-06-273-0/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix the last entry.akr2008-06-271-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: __size__ removed. use the length of __members__ instead.akr2008-06-272-11/+20
| | | | | | | (num_members): new function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/inlinetest.rb (InlineTest.in_progname): workaround for frozennobu2008-06-273-5/+15
| | | | | | | | | $0. [ruby-dev:35261] * lib/test/unit/ui/console/testrunner.rb (TestRunner#finished): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (primary): empty not should call '!' on nil.matz2008-06-272-1/+6
| | | | | | cf [ruby-dev:35227] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/erb.rb: adjust line number for magic comment.kazu2008-06-273-4/+35
| | | | | | | * test/erb/test_erb.rb: add tests for def_method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (vm_eval_body): if thrown exception is frozen, reraise it tonobu2008-06-272-0/+6
| | | | | | | create a new instance. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h (rb_str_new2, rb_tainted_str_new2,nobu2008-06-272-3/+3
| | | | | | | | rb_usascii_str_new2): use with-length versions with strlen to optimize strlen, if optimized. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h (rb_str_new2, rb_tainted_str_new2,nobu2008-06-273-0/+15
| | | | | | | | rb_usascii_str_new2): use with-length versions with strlen to optimize strlen. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/un.rb (mkmf): new command to create makefile.nobu2008-06-272-16/+55
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/un.rb (wait_writable): added help message.nobu2008-06-272-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: need a ",".ko12008-06-263-2/+8
| | | | | | | | * process.c (rb_fork): check CANNOT_FORK_WITH_PTHREAD macro. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (vm_call_super): fix to call method_missing.ko12008-06-262-4/+11
| | | | | | | | [ruby-core:15719], [ruby-core:17340] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2008-06-27svn2008-06-261-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (set_arg0, ruby_prog_init): freeze $0. a patch from Keitanobu2008-06-262-2/+7
| | | | | | | Yamaguchi <keita.yamaguchi at gmail.com>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_index_m, rb_str_rindex_m, rb_str_include): fixmame2008-06-262-14/+14
| | | | | | | rdoc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: need address tweakmatz2008-06-261-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_f_trace_var): should not be allowed at safe level 4. matz2008-06-262-0/+6
| | | | | | a patch from Keita Yamaguchi <keita.yamaguchi@gmail.com>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Upgrade to RubyGems 1.2.0 r1824. Incorporates [ruby-core:17353].drbrain2008-06-2629-238/+513
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2008-06-26svn2008-06-251-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (primary): not operand might be empty. [ruby-dev:35227]matz2008-06-252-0/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (primary): make functional-style not operator to actmatz2008-06-255-5/+21
| | | | | | like function. see <http://d.hatena.ne.jp/ku-ma-me/20080624/p1>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_fill): not depend on unspecified behavior at integernobu2008-06-252-2/+7
| | | | | | | overflow. reported by Vincenzo Iozzo <snagg AT openssl.it>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/erb.rb (ERB::Compiler:Buffer#new): push magic comment first.naruse2008-06-252-5/+10
| | | | | | * lib/erb.rb (ERB::Compiler#compile): fix for broken input. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/erb.rb (ERB::Compiler#compile): magic comment needs LF.naruse2008-06-252-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/erb.rb (ERB::Compiler#compile): output magic comment.naruse2008-06-253-3/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (eval_string_with_cref): preserve parse_in_eval even ifmame2008-06-242-0/+8
| | | | | | | exception raised. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c(ole_invoke): fix memory leak.suke2008-06-242-4/+25
| | | | | | | [ruby-bugs-20792] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (rb_cv_fork_with_pthread): check after check fornobu2008-06-242-58/+68
| | | | | | | pthread library, and define the macro when checked only. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/io/wait/extconf.rb: check sys/socket.h for cygwin.usa2008-06-242-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_reopen): remove cygwin handling because it seems to be forusa2008-06-242-6/+6
| | | | | | | | | C's stdio. fixed [ruby-dev:35183] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_process.rb (test_exec_wordsplit): on win32, exec'ed process ↵usa2008-06-241-2/+13
| | | | | | is not child but grandchild. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/win32.h, win32/win32.c (rb_w32_getppid): now supportusa2008-06-244-4/+43
| | | | | | | | | | getppid() on win32 (but only Win2k or later). * process.c (get_ppid): remove win32 special logic. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test_process.rb (test_popen_fork): skip test if fork is not implemented.usa2008-06-241-5/+7
| | | | | | | | | | | * test_process.rb (test_getpriority): skip test if Process::PRIO_USER is not defined. * test_process.rb (test_setpriority): cannot rescue exceptions which raise in assert_nothing_raised. check Process:PRIO_USER before test to skip instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (init_sock): socket is binmode on platformsusa2008-06-242-0/+8
| | | | | | | | which support binmode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_build_from_ary): initialize arg_opts, a patch frommame2008-06-232-2/+8
| | | | | | | Adam Strzelecki <ono@java.pl> in [ruby-core:17220]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2008-06-24svn2008-06-231-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_build_from_ary): fix expression to obtain wanabe2008-06-232-8/+6
| | | | | | iseq->local_size and iseq->local_table_size. [ruby-dev:35205] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2008-06-23svn2008-06-231-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mathn.rb (Rational::power2): removed incomplete method.matz2008-06-232-44/+5
| | | | | | see [ruby-dev:35195]. [ruby-core:17293] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/extconf.rb (have_readline_func): readline on Mac OS Xnobu2008-06-222-9/+18
| | | | | | | needs headers to detect some functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_class_superclass): rdoc improvement, a patch fromnobu2008-06-222-0/+11
| | | | | | | Gaston Ramos <ramos.gaston AT gmail.com> in [ruby-core:17371]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT: translated README.EXT.jashyouhei2008-06-222-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: add reporter.usa2008-06-211-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* auto update version.h test lasteban2008-06-211-2/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2008-06-22svn2008-06-211-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* auto update version.h testeban2008-06-211-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e