aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * 2011-02-13svn2011-02-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (Test::Unit::Options#process_args): alwaysnobu2011-02-123-4/+22
| | | | | | | | | | | | return options. * lib/test/unit.rb (Test::Unit::RequireFiles#non_options): return if any test case get loaded. * lib/test/unit.rb (Test::Unit::AutoRunner#initialize): do not add default directory if it is nil. * lib/test/unit.rb (Test::Unit::AutoRunner#process_args): return true if any test cases to run. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (assert_include): add alias.nobu2011-02-1210-15/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_io_blocking_region): new function to runnobu2011-02-1211-13/+94
| | | | | | | blocking region with GIL released, for fd. * thread.c (rb_thread_fd_close): implement. [ruby-core:35203] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (th_init): rename from th_init2.nobu2011-02-122-8/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (Test::Unit::AutoRunner#initialize): usenobu2011-02-122-3/+6
| | | | | | default_dir if no test case given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (Test::Unit::Runner): rename from Test::Unit::Mini.nobu2011-02-122-9/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (Test::Unit::GlobOption#non_options): run testsnobu2011-02-122-0/+6
| | | | | | under base directory if no argument given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_settracefunc.rb (TestSetTraceFunc): ensure to usenobu2011-02-112-6/+15
| | | | | | method_added hook defined in Module. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): enable rubygems if --gem option is given.nobu2011-02-112-0/+12
| | | | | | | * ruby.c (process_options): load rubygems if it is disabled but --gem option is given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-02-12svn2011-02-111-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): add --gem=enabled as an alias ofyugui2011-02-112-1/+16
| | | | | | | | --enable=gems and --gem=disabled as an alias of --disable=gems. Gem named "enabled" or "disabled" has already been reserved legitimately for this purpose. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/cfunc.c: parenthesize macro arguments.akr2011-02-112-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_m17n_comb.rb (TestM17NComb#test_str_scan):nobu2011-02-111-1/+1
| | | | | | assert_raise does not check exception message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bin/testrb, test/runner.rb, lib/test/unit.rb: improve backwardnobu2011-02-114-41/+70
| | | | | | compatibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_cleanup): use rb_ary_free to free internal object.nobu2011-02-115-4/+20
| | | | | | | * gc.h (RUBY_FREE_UNLESS_NULL): get rid of double free. [ruby-core:35192] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_transcode.rb (test_from_cp50221): fix wrongnobu2011-02-112-1/+7
| | | | | | assertion and move back. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb (assert_no_match): alias fornobu2011-02-112-0/+6
| | | | | | backward compatibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby: uniquify test names.nobu2011-02-112-7/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (add_gems, require_libraries, proc_options): addnobu2011-02-112-2/+45
| | | | | | --require and --gem options. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (rubygems): add --disable-rubygems option.nobu2011-02-118-2/+43
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * template/fake.rb.in (CROSS_COMPILING): get rid of NameError.nobu2011-02-113-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-02-10svn2011-02-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/dl.h: parenthesize macro arguments.akr2011-02-102-28/+32
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c: parenthesize macro arguments.akr2011-02-092-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: documentation clarification in rotate, rotate!,kosaki2011-02-092-8/+13
| | | | | | | | index, and rindex. [ruby-core:35144] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rdoc/test_rdoc_encoding.rb: remove unnecessary (and wrong)usa2011-02-092-12/+5
| | | | | | | platform-dependent hacks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typoskazu2011-02-081-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-02-09svn2011-02-081-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/etc/etc.c: parenthesize macro arguments.akr2011-02-082-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-expr-beg): fix for invalid nest errors.nobu2011-02-082-6/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (AC_MSG_CHECKING): fixed typo. the patch iskosaki2011-02-082-1/+6
| | | | | | | | created by Benoit Daloze. Thanks a lot. [Bug #4384][ruby-core:35148] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_s_sysopen): use NUM2MODET() instead NUM2UINT().kosaki2011-02-082-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_run_exec_options_err): use MODET2NUM() instead LONG2NUM().kosaki2011-02-082-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: revert r30725. Now we have proper runtime fallback.kosaki2011-02-082-1/+5
| | | | | | | | Therefore, no need compile time disabling. (see r30762). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (proc_setgroups): add GC guard to prevent intermediatenagachika2011-02-072-1/+8
| | | | | | variable from GC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-expr-beg, ruby-in-here-doc-p): tellnobu2011-02-072-3/+15
| | | | | | | singleton class definitions from here documents. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-expr-beg, ruby-parse-partial): keywordnobu2011-02-073-3/+9
| | | | | | | followed by colon is label. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/benchmark.rb (Benchmark#bmbm): use ensure clause instead ofnagachika2011-02-072-2/+7
| | | | | | Object#tap to restore STDOUT.sync. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTP#connect): support SNI (Server Nameakr2011-02-073-0/+11
| | | | | | | | Indication) for HTTPS. [ruby-dev:43164] http://stackoverflow.com/questions/4685736/openssl-server-name-indication-support-in-ruby git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Upgrade to RDoc 3.5.3. Fixes [Bug #4376]drbrain2011-02-0711-34/+204
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* TestProcess#test_wait_and_sigchild randomly fails on FreeBSDnaruse2011-02-071-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (rdoc): add --encoding=UTF-8; ruby's rdoc must be UTF-8.naruse2011-02-072-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-02-07svn2011-02-071-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rdoc/test_rdoc_options.rb (TestRDocOptions#test_check_files):usa2011-02-072-23/+25
| | | | | | | | there is no easy way to create owner unreadable file on Windows. So, skip the test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (register_cached_thread_and_wait): move invalidnobu2011-02-061-1/+4
| | | | | | storage class function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c (chfunc): suppress a warning.nobu2011-02-061-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c (chfunc): suppress a warning.nobu2011-02-061-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/lib/json/common.rb (JSON::MissingUnicodeSupport.iconv):nobu2011-02-062-1/+6
| | | | | | should not drop rest of the result. use Iconv.conv instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Ensure result encoding is the same as input encoding for String#gsub. [Bug ↵drbrain2011-02-063-0/+21
| | | | | | #4340]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e