Commit graph

26807 commits

Author SHA1 Message Date
akr
f7d01d27a6 add ML ref.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-22 11:37:22 +00:00
akr
e16e961bab * lib/drb/extservm.rb (DRb::ExtServManager): don't use /bin/sh to
invoke service subprocess.  mark detach threads for clean up.

* test/drb/drbtest.rb: clean up the service subprocess in teardown.

* test/drb/test_drb.rb: set @service_name for teardown.

* test/drb/test_drbunix.rb: ditto.

* test/drb/test_drbssl.rb: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-22 11:35:03 +00:00
naruse
f46ffca1c7 avoid thread switching.
The test may fail if thread switches to d or e before assertions.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-22 01:46:45 +00:00
akr
cc19bcf11f * lib/drb/ssl.rb: close accepted TCP socket if SSL accept is failed.
[ruby-dev:45541]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-21 22:52:23 +00:00
svn
5849614d02 * 2012-04-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-21 16:21:46 +00:00
nagachika
2346056e6a * ChangeLog: fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-21 16:21:41 +00:00
svn
694fbfd6c0 * 2012-04-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-21 06:10:25 +00:00
seki
b384fe5e4f * test/rinda/test_rinda.rb: fix sticks on some testsf problem
[Bug #6272]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-21 06:10:21 +00:00
akr
d6ba4bcaa5 update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-20 10:51:25 +00:00
drbrain
b68e0dbfdf * lib/rubygems/ssl_certs/AddTrustExternalCARoot.pem: Removed to avoid
conflict with ca-bundle.pem
* lib/rubygems/ssl_certs/VerisignClass3PublicPrimaryCertificationAuthority-G2.pem:
  ditto.
* lib/rubygems/ssl_certs/Entrust_net-Secure-Server-Certification-Authority.pem:
  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-20 03:28:49 +00:00
nobu
4dd7483141 * ChangeLog: fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-19 23:41:36 +00:00
drbrain
064bf602e0 * lib/rubygems: Update to RubyGems 1.8.23 which contains security
fixes:

  RubyGems now disallows redirection from HTTPS to HTTP.

  RubyGems now verifies SSL connections.

  See https://github.com/rubygems/rubygems/blob/1.8/History.txt for
  changes since 1.8.22.
* test/rubygems:  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-19 23:07:48 +00:00
svn
83ed985182 * 2012-04-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-19 15:34:06 +00:00
kazu
0968c22e10 fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-19 15:34:01 +00:00
nobu
e0ffb9b59b * strftime.c (rb_strftime_with_timespec): fix carrir-up bug and
overwrite '+' with '-' if negative offset less than a hour.
  [ruby-core:44447][Bug #6323]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-19 07:33:55 +00:00
naruse
ec0bd633e2 Run TC_JSONGenerate#test_gc in a separate process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-19 03:21:23 +00:00
naruse
c1903a9f17 Fix multithread issue in the test of r35391
pipe() uses threads and its reader thread may work before the writer
writes "foob". On such case, the reader will raise error.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-19 02:49:48 +00:00
nobu
1ff181cf8c * ext/-test-/win32/dln/extconf.rb: need import library for ordinal
entry even on mingw.  [ruby-core:44441][Bug #6320]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-19 00:40:00 +00:00
nobu
0ba3c640f5 * ChangeLog: remove garbage spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-19 00:38:11 +00:00
drbrain
42a9234cc4 * random.c (random_init): Clarify that the default seed is
Random.new_seed, not zero.  Based on patch by Roger Pack.
	  [ruby-trunk - Bug #6313]
	* random.c (rb_f_srand):  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-19 00:35:32 +00:00
drbrain
6878e597c4 * ext/curses/curses.c (window_nodelay): Fixed call-seq of nodelay to
include the '='.

  Improved description window.nodelay=.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 23:59:22 +00:00
drbrain
ab0eb272f9 * io.c (io_readpartial): Document the output buffer parameter is
overwritten with the read contents even when non-empty.
  Patch by yu nobuoka.  [ruby-trunk - Bug #6285]
* io.c (io_read_nonblock):  ditto.
* io.c (io_read):  ditto.
* io.c (rb_io_sysread):  ditto.
* io.c (argf_read):  ditto.
* io.c (argf_readpartial):  ditto.
* ext/stringio/stringio.c (strio_read):  ditto.
* test/ruby/test_argf.rb (class TestArgf):  Add test for existing
  behavior of read outbuf.
* test/ruby/test_io.rb (class TestIO):  ditto.
* test/stringio/test_stringio.rb (class TestStringIO):  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 23:48:27 +00:00
svn
aa883f84da * 2012-04-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 23:14:29 +00:00
naruse
61c1fb7058 Use mock of Gem::Security::OPT[:trust_dir]
Gem::Security::OPT[:trust_dir] depends Gem.user_home but doesn't reset
on setup/teardown.
NOTE: Gem.user_home won't be recovered now, so teardown doesn't work.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 23:14:26 +00:00
nobu
7cfc4be298 * configure.in (DOT, DOXYGEN): use AC_CHECK_PROGS instead of
AC_CHECK_PROG which needs the third argument.  [ruby-core:44433]
  [Bug #6316]
* configure.in (PKG_CONFIG): fix condition to skip older version
  of pkg-config.  continue in backticks does not affect outside.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 13:59:00 +00:00
nobu
336cf57584 * test/ruby/test_time_tz.rb (TestTimeTZ): run TZ tests on Mac OS X,
except for "right" timezonez.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 07:10:38 +00:00
usa
ab649ef3c4 * win32/file.c (INVALID_FILE_ATTRIBUTES): commit miss of r35384.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 05:50:45 +00:00
usa
ff19b1d81e * win32/file.c (INVALID_FILE_ATTRIBUTES): define for old SDK.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 05:00:07 +00:00
naruse
62c9ecfa12 Revert r35339-35343 because of no tests.
* hash.c: Alias ENV.to_h to ENV.to_hash [ref #6276]

* lib/ostruct.rb: Add OpenStruct#to_h [Feature #6276]

* struct.c: Add Struct#to_h [Feature #6276]

* object.c: Add NilClass#to_h [Feature #6276]

* hash.c: Add Hash#to_h [Feature #6276]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 03:59:15 +00:00
naruse
cc6ab53f59 Run separate process this GC.stress test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 03:38:09 +00:00
naruse
8de83c5198 Disable GC for slow this test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 03:31:11 +00:00
nobu
9d96fc17d7 split method definitions
* test/ruby/test_time_tz.rb (TestTimeTZ#with_tz, TestTimeTZ#time_to_s):
  split method definitions.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 01:58:49 +00:00
nobu
62885f1ed1 update .gitignore
* .gitignore: removed duplicate entry and obsolete entries.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 01:58:46 +00:00
drbrain
085ae60ab9 Removed ChangeLog entry from reverted r35370
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 01:46:42 +00:00
nobu
442fefc78a * strftime.c (rb_strftime_with_timespec): add an interim digit for
the timezone offset which is less than an hour.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 01:23:00 +00:00
naruse
9e56e14f50 Run separate process if the test uses GC.stress.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 01:08:34 +00:00
drbrain
5383ccd981 * lib/rubygems/version.rb: Fixed init_with warning by calling into
yaml_initialize (for syck) from psych's init_with


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 00:58:47 +00:00
drbrain
6c1da63bd7 * lib/rubygems: Update to RubyGems 1.8.22 plus r33517 and r35337 which
were ported to the rubygems git repository.

  See https://github.com/rubygems/rubygems/blob/1.8/History.txt for
  changes since 1.8.11.
* test/rubygems:  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 00:04:12 +00:00
drbrain
5ab11990cb Ignore files generated by extconf.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-17 21:21:40 +00:00
drbrain
0ebe38eedd Revert r35370 due to bad source branch
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-17 21:17:56 +00:00
svn
02dc9ae773 * 2012-04-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-17 20:50:07 +00:00
drbrain
22d9456b79 * lib/rubygems: Update to RubyGems 1.8.22 plus r33517 and r35337 which
were ported to the rubygems git repository.

  See https://github.com/rubygems/rubygems/blob/1.8/History.txt for
  changes since 1.8.11.
* test/rubygems:  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-17 20:50:00 +00:00
nobu
22263729af * ext/-test-/win32/dln/extconf.rb: fix for mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-17 14:21:18 +00:00
nobu
902084a60a * common.mk (REVISION_H): create temporary file in cwd so that it
works if srcdir is not writable.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-17 13:35:40 +00:00
nobu
43dbbefbdf * strftime.c (rb_strftime_with_timespec): fix padding of time zone
offset.  [ruby-dev:43287][Bug #4458]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-17 13:18:51 +00:00
naruse
77321aeed9 win32/dln is only for win32.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-17 11:14:24 +00:00
nobu
f5659a911c * ext/-test-/win32/dln/extconf.rb: add to cleanfiles iff cleanobjs is set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-17 05:12:53 +00:00
nobu
0a706449d1 * Makefile.in (reconfig, config.status): not depend on
$(srcdir)/version.h to get rid of daily reconfiguration.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-17 04:55:14 +00:00
nobu
561e61a430 * configure.in (RUBY_SO_NAME): expand version numbers in Makefile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-17 04:55:12 +00:00
nobu
485f88e62e * reduce UNREACHABLE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-17 04:55:10 +00:00