matz
00e84afa33
* enum.c (enum_inject): typo fixed. a patch from Gaku Ueda in
...
[ruby-core:35216].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-12 22:41:02 +00:00
tadf
ce430673be
* lib/date.rb (Date#===): [ruby-core:35127]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-12 15:51:31 +00:00
svn
2eb7b57164
* 2011-02-13
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-12 15:29:25 +00:00
nobu
420d98e4a8
* lib/test/unit.rb (Test::Unit::Options#process_args): always
...
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
2011-02-12 15:29:24 +00:00
nobu
7f46fadd9d
* lib/test/unit.rb (assert_include): add alias.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-12 14:17:54 +00:00
nobu
58b325366d
* thread.c (rb_thread_io_blocking_region): new function to run
...
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
2011-02-12 05:44:23 +00:00
nobu
dda8de065c
* vm.c (th_init): rename from th_init2.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-12 05:42:17 +00:00
nobu
aca69e1fdc
* lib/test/unit.rb (Test::Unit::AutoRunner#initialize): use
...
default_dir if no test case given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-12 05:41:38 +00:00
nobu
4e3df72f0d
* lib/test/unit.rb (Test::Unit::Runner): rename from Test::Unit::Mini.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-12 05:41:02 +00:00
nobu
58ed5a45ff
* lib/test/unit.rb (Test::Unit::GlobOption#non_options): run tests
...
under base directory if no argument given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-12 00:30:13 +00:00
nobu
7dea05dc6f
* test/ruby/test_settracefunc.rb (TestSetTraceFunc): ensure to use
...
method_added hook defined in Module.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11 23:03:21 +00:00
nobu
68ef047b8f
* ruby.c (proc_options): enable rubygems if --gem option is given.
...
* 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-11 16:04:08 +00:00
svn
3be7ed03cd
* 2011-02-12
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11 15:03:52 +00:00
yugui
f17b469860
* ruby.c (proc_options): add --gem=enabled as an alias of
...
--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
2011-02-11 15:03:51 +00:00
akr
698960439d
* ext/dl/cfunc.c: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11 14:17:24 +00:00
nobu
c750f945c6
* test/ruby/test_m17n_comb.rb (TestM17NComb#test_str_scan):
...
assert_raise does not check exception message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11 12:54:04 +00:00
nobu
9c560af1b7
* bin/testrb, test/runner.rb, lib/test/unit.rb: improve backward
...
compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11 12:41:58 +00:00
nobu
96c078c340
* eval.c (ruby_cleanup): use rb_ary_free to free internal object.
...
* 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
2011-02-11 10:45:34 +00:00
nobu
18364f541b
* test/ruby/test_transcode.rb (test_from_cp50221): fix wrong
...
assertion and move back.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11 07:57:05 +00:00
nobu
180bf48fea
* lib/test/unit/assertions.rb (assert_no_match): alias for
...
backward compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11 05:33:21 +00:00
nobu
12000bc2de
* test/ruby: uniquify test names.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11 05:29:42 +00:00
nobu
4ed23fe8c5
* ruby.c (add_gems, require_libraries, proc_options): add
...
--require and --gem options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11 03:06:50 +00:00
nobu
020dc4ba60
* configure.in (rubygems): add --disable-rubygems option.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11 03:03:26 +00:00
nobu
c7f86bb5f6
* template/fake.rb.in (CROSS_COMPILING): get rid of NameError.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11 02:39:05 +00:00
svn
1e96a30c9d
* 2011-02-10
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-10 14:12:59 +00:00
akr
ac2c1a2968
* ext/dl/dl.h: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-10 14:12:57 +00:00
akr
2cc0240078
* ext/pty/pty.c: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-09 14:12:02 +00:00
kosaki
e0258fa04b
* array.c: documentation clarification in rotate, rotate!,
...
index, and rindex. [ruby-core:35144]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-09 03:12:59 +00:00
usa
acda9a6872
* test/rdoc/test_rdoc_encoding.rb: remove unnecessary (and wrong)
...
platform-dependent hacks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-09 00:47:42 +00:00
kazu
cf67952602
fix typos
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-08 23:33:43 +00:00
svn
1e4bc19a91
* 2011-02-09
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-08 15:47:53 +00:00
akr
08a4d1af3f
* ext/etc/etc.c: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-08 15:47:52 +00:00
nobu
787686ffa7
* misc/ruby-mode.el (ruby-expr-beg): fix for invalid nest errors.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-08 10:38:01 +00:00
kosaki
0042bbc1c1
* configure.in (AC_MSG_CHECKING): fixed typo. the patch is
...
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
2011-02-08 10:26:42 +00:00
kosaki
0559227e87
* io.c (rb_io_s_sysopen): use NUM2MODET() instead NUM2UINT().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-08 07:04:45 +00:00
kosaki
411e4a6cf2
* process.c (rb_run_exec_options_err): use MODET2NUM() instead LONG2NUM().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-08 07:01:23 +00:00
kosaki
a9c7af3b6e
* configure.in: revert r30725. Now we have proper runtime fallback.
...
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
2011-02-08 05:03:07 +00:00
nagachika
012e60f61c
* process.c (proc_setgroups): add GC guard to prevent intermediate
...
variable from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-07 16:01:57 +00:00
nobu
5f3e191f95
* misc/ruby-mode.el (ruby-expr-beg, ruby-in-here-doc-p): tell
...
singleton class definitions from here documents.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-07 15:56:34 +00:00
nobu
360e0b93fd
* misc/ruby-mode.el (ruby-expr-beg, ruby-parse-partial): keyword
...
followed by colon is label.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-07 15:53:15 +00:00
nagachika
b50d85ebc6
* lib/benchmark.rb (Benchmark#bmbm): use ensure clause instead of
...
Object#tap to restore STDOUT.sync.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-07 14:01:01 +00:00
akr
afe7aac47b
* lib/net/http.rb (Net::HTTP#connect): support SNI (Server Name
...
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
2011-02-07 13:37:43 +00:00
drbrain
60f2c9cf5b
Upgrade to RDoc 3.5.3. Fixes [Bug #4376 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-07 07:07:12 +00:00
naruse
ca9f7009db
TestProcess#test_wait_and_sigchild randomly fails on FreeBSD
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-07 04:27:46 +00:00
naruse
dda0d61e68
* common.mk (rdoc): add --encoding=UTF-8; ruby's rdoc must be UTF-8.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-07 02:48:04 +00:00
svn
ef6734aa9b
* 2011-02-07
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-07 01:23:30 +00:00
usa
55ea57af65
* test/rdoc/test_rdoc_options.rb (TestRDocOptions#test_check_files):
...
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
2011-02-07 01:23:28 +00:00
nobu
28937bf81f
* thread_pthread.c (register_cached_thread_and_wait): move invalid
...
storage class function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-06 10:59:03 +00:00
nobu
9b68d667c7
* ext/pty/pty.c (chfunc): suppress a warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-06 05:56:14 +00:00
nobu
088474a20d
* ext/pty/pty.c (chfunc): suppress a warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-06 05:38:11 +00:00