nobu
05bb854931
test_gem_remote_fetcher.rb: fix leaked threads
...
* test/rubygems/test_gem_remote_fetcher.rb (stop_servers): kill
server threads to fix leaked threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-01 08:20:39 +00:00
knu
e2e4ac3a8f
Digest::HMAC is finally removed as previously noticed. [fix GH-648]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-01 07:21:08 +00:00
naruse
91dfb379ea
add timeout
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-01 03:16:33 +00:00
hsbt
f8a38a36eb
* ext/date/lib/date/format.rb: removed empty file by @vipulnsward.
...
* ext/date/lib/date.rb: removed needless require.
[fix GH-647]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-01 02:28:56 +00:00
naruse
ab606d8f11
exception must make process stop
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-01 00:40:34 +00:00
svn
7ef7c6d6f3
* 2014-07-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-30 19:29:02 +00:00
naruse
7973ff4fe6
show if parallel test-all fails to Marshal.load
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-30 19:28:58 +00:00
nobu
1d0fbdb92e
gc.c: freeze GC::OPTS
...
* gc.c (Init_GC): freeze GC::OPTS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-30 14:59:46 +00:00
nobu
58bd5facb2
string.c: rb_fstring_new
...
* string.c (rb_fstring_new): create fstring from pointer and
length.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-30 14:59:44 +00:00
naruse
b105cbc809
suppress warnings: assigned but unused variable
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-30 10:11:02 +00:00
naruse
48559765b1
remove useless part of regexp
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-30 10:06:25 +00:00
ko1
51ae29a3cb
* gc.c (gc_stat_internal): return size_t value instead of VALUE
...
and remove `out' parameter.
* gc.c: add braces for `if' statements.
* gc.c (gc_stat_internal): fix comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-30 07:46:57 +00:00
ko1
4369806ff0
* gc.c: support `USE_RGENGC == 0'.
...
* test/ruby/test_gc.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-30 06:14:37 +00:00
svn
989373b243
* 2014-06-30
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-30 02:37:41 +00:00
hsbt
b5a000bf4c
* file.c: [DOC] document File.join returns a string.
...
Contributed by @dapplebeforedawn. [fix GH-646]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-30 02:37:31 +00:00
svn
6fda131617
* 2014-06-29
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-28 18:12:58 +00:00
nobu
f1cf168bcf
test_fork.rb: wait signals
...
* bootstraptest/test_fork.rb: wait until receiving both singals,
upto 0.1sec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-28 18:12:47 +00:00
usa
d0465cc9e0
* ext/pathname/pathname.c (path_birthtime): Windows support.
...
see [Feature #9857 ] [ruby-dev:48339]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-28 13:58:01 +00:00
akr
3436b7bbad
Pathname#birthtime added.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-28 13:47:14 +00:00
akr
b9faaf6a55
* ext/pathname/pathname.c (path_birthtime): New method,
...
Pathname#birthtime.
Proposed by Kazuhiro NISHIYAMA. [ruby-dev:48232] [Feature #9857 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-28 13:46:02 +00:00
akr
7361eb9462
inspect IO objects before closed IO object test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-28 12:51:48 +00:00
nobu
38f013391d
bigdecimal/math.rb: error message in BigMath#PI
...
* ext/bigdecimal/lib/bigdecimal/math.rb (BigMath#PI): change error
message about zero or negative precision for clarity and
consistency with other methods. [GH-644]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-28 11:29:11 +00:00
akr
8b76d21f55
* lib/webrick/utils.rb (create_listeners): Close socket objects.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-28 06:33:44 +00:00
akr
1c58954cec
Suppress double dots.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-28 06:08:24 +00:00
nobu
f28a12734b
test_env.rb: relax limits
...
* test/ruby/test_env.rb (test_memory_leak_{aset,select,shift}):
increase rehearsals and memory leak limits.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-28 05:34:50 +00:00
nobu
fd4df3be5c
eval.c: no overwrite SystemStackError backtrace
...
* eval.c (setup_exception): should not overwrite SystemStackError
backtrace if set already. [ruby-core:63377] [Feature #6216 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-28 04:58:53 +00:00
nobu
3ff85b795a
eval.c: no method calls at stack overflow
...
* eval.c (setup_exception): get rid of method calls before raising
stack overflow, not to cause stack overflow again.
* defs/id.def: add IDs for backtraces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-28 04:58:25 +00:00
nobu
76bb597728
mkconfig.rb: fix empty prefix
...
* tool/mkconfig.rb: vars["prefix"] may not set. [fix GH-643]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-27 22:52:46 +00:00
naruse
e63ab5d3ad
* lib/uri/mailto.rb: update to latest specs, RFC 6068 and HTML5.
...
* lib/uri/mailto.rb (HEADER_PATTERN): removed.
* lib/uri/mailto.rb (HEADER_REGEXP): use RFC 6068 hfields.
* lib/uri/mailto.rb (EMAIL_REGEXP): use HTML5 email regexp.
* lib/uri/mailto.rb (URI::MailTo.build): support multiple to addresses.
* lib/uri/mailto.rb (URI::MailTo#initialize): Support multiple to
addresses. Don't check with regexp, only split.
* lib/uri/mailto.rb (URI::MailTo#check_to): verify by matching
URI path-rootless and HTML5 email regexp with unescaped one.
* lib/uri/mailto.rb (URI::MailTo#check_headers): verify only by
HEADER_REGEXP.
* lib/uri/mailto.rb (URI::MailTo#set_headers): don't check by
HEADER_REGEXP, only split it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-27 19:26:43 +00:00
nobu
402d33fc44
eval.c: reduce machine stack overflow backtrace
...
* eval.c (setup_exception): revert r46531 to reduce backtrace at
machine stack overflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-27 16:28:35 +00:00
nobu
9a4f9f3424
reapply r46568 "assertions.rb: refine message"
...
`exception` is an expected exception class, not the raised instance,
so the result message cannot have any backtraces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-27 15:44:20 +00:00
svn
b020c00c46
* 2014-06-28
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-27 15:35:28 +00:00
nobu
bffd6395d6
mkconfig.rb: fix empty prefix
...
* tool/mkconfig.rb: fix empty RbConfig::CONFIG["prefix"] when
configured --with-rubyarchprefix, remove prefix from rubyarchdir
after expansion for the case it does not start with '$(prefix)'.
[fix GH-643]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-27 15:35:15 +00:00
nobu
8de619bee5
test_env.rb: rehearsal
...
* test/ruby/test_env.rb (test_memory_leak_{aset,select,shift}):
have a rehearsal before the main loop.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-27 14:34:31 +00:00
hsbt
cc02a4ab7b
* lib/rubygems/test_case.rb: rescue Gem::LoadError in Gem::TestCase.
...
because it's effected by removing minitest from stdlib.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-27 06:32:59 +00:00
naruse
aac7837c76
Revert r46568 "assertions.rb: refine message"
...
Don't inspect exceptions without backtrace omission for SystemStackError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-27 06:28:18 +00:00
naruse
36a043a93a
suppress warnings: URI.regexp is obsolete
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-27 06:25:44 +00:00
hsbt
b0bc563550
* lib/rubygems/specification.rb: fixed broken condition caused
...
by removing YAML::ENGINE.
* lib/rubygems/package/old.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-27 03:35:51 +00:00
nobu
68bc5ba1b6
hash.c: fix memory leak
...
* hash.c (env_shift): fix memory leak on Windows, free environment
strings block always. [ruby-dev:48332] [Bug #9983 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-26 20:33:34 +00:00
nobu
cfa7b2283b
sprintf.c: unnumbered asterisk with numbered argument
...
* sprintf.c (GETASTER): should not use the numbered argument to be
formatted, raise ArgumentError instead.
[ruby-dev:48330] [Bug #9982 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-26 18:41:57 +00:00
nobu
545165770b
assertions.rb: refine message
...
* test/lib/test/unit/assertions.rb (assert_raise_with_message):
refine default message for the exception to be raised.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-26 18:25:13 +00:00
svn
425dc308d7
* 2014-06-27
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-26 15:03:08 +00:00
nobu
565ce9b379
eval.c: suppress a warning
...
* eval.c (setup_exception): suppress a maybe-uninitialized false
warning by gcc 4.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-26 15:03:04 +00:00
kazu
29fc4912fb
fix a typo [ci skip]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-26 13:35:46 +00:00
nobu
57d6cb4af9
sprintf.c: remove extra parentheses
...
* sprintf.c (GETASTER): remove extra parentheses from the second
argument so that the error message does not contain them.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-26 13:30:08 +00:00
hsbt
767358108e
* test/with_different_ofs.rb: move into test library directory.
...
* test/csv/base.rb: fix require path for with_different_ofs.rb.
* test/digest/test_digest_extend.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-26 09:27:22 +00:00
hsbt
4af87bd672
* test/profile_test_all.rb: move into test library directory.
...
* test/runner.rb: fix require path for profile_test_all.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-26 09:16:56 +00:00
usa
5e63196957
* ChangeLog: typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-26 09:14:45 +00:00
hsbt
c9134128cb
* lib/webrick/httpproxy.rb: remvoe useless assigned variables.
...
* lib/webrick/httpservlet/cgihandler.rb: ditto.
* lib/webrick/httpservlet/erbhandler.rb: ditto.
* lib/webrick/server.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-26 09:05:58 +00:00
hsbt
46724873b0
Revert "Revert "* lib/yaml.rb: Remove Psych::EngineManager [Bug #8344 ]""
...
syck-1.0.3 gem support this imcompatible changes.
This reverts commit r46102
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-26 02:52:46 +00:00