Граф коммитов

20962 Коммитов

Автор SHA1 Сообщение Дата
kazu 631d23c57b * test/openssl/utils.rb (OpenSSL#silent): always restore $VERBOSE. [ruby-dev:42285]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-22 08:16:49 +00:00
yugui a33353f880 * test/test_prime.rb (TestPrime#test_new): the warning expected have
not been displayed when $VERBOSE == nil. Patch by Shota Fukumori
  a.k.a. sora_h. [ruby-dev:42272]
  Recovers $stderr even if StringIO.new fails. Reported by unak.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-22 08:03:55 +00:00
knu e2c1e2969d Mention the command search path issue on Windows. Pointed out by
NAJIMA Hiroki in [ruby-dev:42276].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-22 04:13:03 +00:00
ko1 f01fae2885 * bootstraptest/test_method.rb: fix last commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-21 16:56:59 +00:00
ko1 9831508ba3 bootstraptest/test_method.rb: add a test for [ruby-core:30534].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-21 16:53:06 +00:00
eban c72e6c7b86 * lib/rdoc/ri/store.rb (save_cache): remove duplicate entries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-21 15:56:41 +00:00
svn 102501e034 * 2010-09-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-21 15:01:14 +00:00
akr a5a51abfc5 * ext/pathname/pathname.c (path_f_pathname): Pathname() translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-21 15:01:11 +00:00
usa e7381db962 * tool/mkconfig.rb: fixed build problem on mswin64 introduced in r29278.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-21 13:20:07 +00:00
svn 39be861346 * 2010-09-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-20 17:44:35 +00:00
kazu 27727621c4 * test/pathname/test_pathname.rb (TestPathname#test_mkdir): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-20 17:44:31 +00:00
nobu 89130aa8e1 * dir.c (bracket): get rid of scanning at the end of the pattern
string, not to raise an exception while globbing command line.
  [ruby-core:32478]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-20 14:23:16 +00:00
akr c7caeda5ed * ext/pathname/pathname.c (Init_pathname): Pathname#=~ undefinition
translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-20 02:26:30 +00:00
mrkn 971a57004e * ext/bigdecimal/bigdecimal.c (check_rounding_mode, BigDecimal_mode):
raise ArgumentError instead of TypeError passing invalid modes.
* test/bigdecimal/test_bigdecimal.rb (test_mode, test_round):
  change against the above modifications.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-19 17:38:18 +00:00
svn ac69adf5de * 2010-09-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-19 17:28:32 +00:00
naruse 0433134947 Specify external encoding.
When external encoding is not specified, it uses default external
encoding. But it depends the environment. So specify as UTF-8 for
environments whose locale is not UTF-8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-19 17:28:30 +00:00
yugui 3038eae7f6 * lib/mkmf.rb (try_link): rdoc
(try_compile): ditto
  (try_cpp): ditto
  (try_func): ditto
  (try_var): ditto
  (try_run): ditto
  (egrep_cpp): ditto

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-19 13:10:31 +00:00
yugui 32e00d382f * configure.in (--disable-install-doc): disables capi too, in addition
to rdoc.
  (--disable-install-rdoc): a new option for disabling only rdoc.
  (--disable-install-capi): a new option for disabling only capi.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-19 13:10:27 +00:00
yugui 4a028d2c7e * common.mk (clean): removes all documents on cleaning.o
(CAPIOUT): new variable.
  (clean-capi, distclean-capi, realclean-capi): new targets

* Makefile.in (clean-capi, distclean-capi, realclean-capi): ditto.

* win32/Makefile.sub (clean-capi, distclean-capi, realclean-capi): 
  ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-19 13:10:25 +00:00
nobu e8291588c9 * configure.in (LIBRUBY_SO): fix an oversight of replace
RUBY_INSTALL_NAME with RUBY_SO_NAME.  a patch from Jeremy Evans
  at [ruby-core:32474].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-19 04:44:31 +00:00
nobu 7bc6b36b81 * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-19 02:13:50 +00:00
akr f9f7376848 * ext/pathname/pathname.c (path_unlink): Pathname#unlink and
Pathname#delete translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-18 22:49:34 +00:00
mrkn fb7fe14575 * ext/bigdecimal/bigdecimal.c (check_rounding_mode): added for
converting symbol to rounding mode number.
* ext/bigdecimal/bigdecimal.c (BigDecimal_mode, BigDecimal_round):
  support to specify rounding mode by symbol.
* test/bigdecimal/test_bigdecimal.rb (test_mode, test_round):
  add tests for avobe changes.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-18 21:06:08 +00:00
svn d6e9eebd74 * 2010-09-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-18 20:19:40 +00:00
mrkn 3cbda570c2 * ext/bigdecimal/bigdecimal.c: fix rounding algorithms for half-down
and half-even.  This change is based on the patch created by Matthew
  Willson, the reporter of this bug.  [Bug #3803] [ruby-core:32136]
* test/bigdecimal/test_bigdecimal.rb: add tests for above changes.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-18 20:19:38 +00:00
akr 9dffbcfc09 * ext/pathname/pathname.c (path_each_entry): Pathname#each_entry
translated from pathname.rb.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-18 11:10:36 +00:00
nobu c095a38cad * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-18 08:34:37 +00:00
svn dbac0837d6 * 2010-09-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-18 06:56:43 +00:00
ryan a91ee12dd0 Improved doco for both Module.new and Class.new
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-18 06:56:41 +00:00
kou d8c3fa1506 * lib/rexml/xpath_parser.rb, test/rexml/test_xpath.rb:
add missing method availability check. [ruby-core:32447]
  Reported by Wiebe Cazemier. Thanks!!!


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-17 14:47:20 +00:00
kou 7bf12316a1 * test/rexml/test_sax.rb: don't use thread and sleep to avoid slow test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-17 14:23:56 +00:00
kou ede915ce25 * test/rexml/test_core.rb: enable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-17 14:11:10 +00:00
kou 2a15d25a59 * test/rexml/: untabify.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-17 13:46:56 +00:00
kou 146bf4fdaf * test/rexml/: fix fixture data path. All REXML tests are worked.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-17 13:31:16 +00:00
kou d357d7279a * test/rexml/test_listener.rb: remove needless codes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-17 13:15:37 +00:00
kou 91ed484f92 * test/rexml/: import REXML tests from
http://www.germane-software.com/repos/rexml/trunk/test/.
  Many tests are failed temporary. I'll fix them quickly. Sorry.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-17 13:14:14 +00:00
shyouhei 045491d5be * test/io/console/test_io_console.rb (TestIO_Console::helper):
PTY.open is not guaranteed to work.  On my machine opening a
	  pty is prohibited via process control group.  On those cases
	  exceptions shall occur, and that doesn't mean our fault.
	  Skip those tests on such situations.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-17 07:52:21 +00:00
nobu 0f0d0dcdb3 * lib/tracer.rb: count only non-internal libraries in stack trace,
ignoring custom_require.  [ruby-core:31858]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-16 23:30:30 +00:00
svn dc259038f1 * 2010-09-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-16 17:28:43 +00:00
knu a88191b1ca * tool/mkconfig.rb: Fix build with m4 1.4.15 generating duplicate
lines in config.status.  According to nobu, the mswin32 port may
  depend on the piece of code in question, so the behavior is left
  unchanged on mswin32.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-16 17:28:42 +00:00
akr 08c467330b * ext/pathname/pathname.c (path_opendir): Pathname#opendir translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-16 14:48:20 +00:00
akr 5c1fd225c8 fix a function name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-16 13:53:40 +00:00
knu b2a0191b80 Revert r29271 pending due discussion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-16 13:20:11 +00:00
nobu 5bfac0d9cf * lib/test/unit.rb (Test::Unit::GlobOption): merged RejectOption.
* test/runner.rb: utilize GlobOption.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-16 12:40:40 +00:00
nobu 9bc2e3280a * lib/rdoc/ri/driver.rb (RDoc::RI::Driver.setup_options)
(RDoc::RI::Driver.fixup_options): split from process_args.
  libraries should not parse ARGV inside, since it's a task of
  applications, not libraries.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-16 12:31:29 +00:00
nobu 75d694e535 * lib/rdoc/ri/paths.rb (RDoc::RI::Paths.each): HOMEDIR can be nil
if $HOME is unset.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-16 12:02:34 +00:00
knu d91f4777df * LEGAL: Rephrase the leading sentences for clarification. Avoid
using the context dependent, ambiguous term "the Ruby's
  license", and omit the "or public domain" part because it is not
  our default license and the files under public domain are
  already specifically listed.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-16 11:22:00 +00:00
shyouhei 201267b1c5 * test/ruby/test_file_exhaustive.rb (TestFileExhaustive::test_expand_path):
ENV["HOME"] might not be set.  On those cases without it an
	  exception raises here, which effectively disables later
	  tests on this method.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-16 06:03:13 +00:00
nobu 4f98aa2bcf * sprintf.c (rb_f_sprintf): fix rdoc. pointed out by Tomoyuki
Chikanaga at [ruby-core:32395], and a patch from Daniel
  Bovensiepen at [ruby-core:32403].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 23:30:46 +00:00
nobu afd241f7ee * ext/etc/extconf.rb: use expanded sysconfdir with empty DESTDIR.
[ruby-core:32394]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 23:27:48 +00:00