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
akr
d0e9ac151e
* ext/pathname/pathname.c (path_rmdir): Pathname#rmdir translated
...
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 21:08:19 +00:00
naruse
ef5948f0dc
Update NEWS to add about License.
...
On backporting License change, r29262 and r29265 should be backported.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 16:14:05 +00:00
naruse
84842f7784
Add BSDL file.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 15:40:52 +00:00
naruse
2fe39b8864
* ext/readline/extconf.rb: Remove Readline 6 check because
...
Ruby's license is now GPLv3 compatible. [ruby-core:28736]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 15:40:15 +00:00
svn
1c96fb4371
* 2010-09-16
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 15:35:32 +00:00
naruse
2cd6800fd8
* COPYING: change Ruby's License from a dual license with GPLv2
...
to a dual license with 2-clause BSDL.
[ruby-dev:42166] [ruby-core:31971]
[ruby-dev:39167] [ruby-core:25272]
* COPYING.ja: ditto.
* BSDL: added. this is from The FreeBSD License.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 15:35:31 +00:00
akr
363ed27fa7
* ext/pathname/pathname.c (path_mkdir): Pathname#mkdir translated
...
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 12:07:43 +00:00
shyouhei
cc9b6ba611
reverting; http://rubyforge.org/tracker/?func=detail&atid=4099&aid=28566&group_id=1040
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 07:56:04 +00:00
shyouhei
6bab4ea991
* lib/test/unit/assertions.rb (Test::Unit::Assertions::assert_nothing_raised):
...
should properly ignore MiniTest::Skip
* lib/minitest/unit.rb (MiniTest::Assertions::assert_raises):
ditto.
* test/net/imap/test_imap.rb: Properly skip SSL tests when
localhost is not 127.0.0.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 06:01:00 +00:00
shyouhei
64beb15dbc
add ChangeLog entry for the previous one.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 04:40:40 +00:00
shyouhei
0d58b7a4e6
* test/net/imap/test_imap.rb: "localhost" not guaranteed to
...
resolve to "127.0.0.1". On my machine it is "::1" instead.
The problem is, you have to connect to the imaps server via
the canonical name written in a server certificate, and that
of the server.cert is "localhost". So you have to listen to
the address of what "localhost" resolves to. I think this
situation cannot be resolved in a handy manner because the
test "test_imaps_post_connection_check" is actually
expecting to connect to a server via an address other than
the CN. On my machine several assertions won't pass because
the test cannot connect to the server.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 04:37:45 +00:00
nobu
61ee785c61
* io.c (rb_io_puts): fix for wide char encoding strings.
...
[ruby-dev:42212]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 00:12:05 +00:00
nobu
3f4a73f0e1
* ext/socket/raddrinfo.c (ruby_getaddrinfo__darwin): suppress a
...
warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-14 23:26:03 +00:00
nobu
757f5bcb97
* string.c (rb_str_times): mentioned about Hash argument. a patch
...
from Daniel Bovensiepen at [ruby-core:32386].
* sprintf.c (get_hash): ditto, and fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-14 22:27:54 +00:00
akr
f84f164413
* ext/pathname/pathname.c (path_entries): Pathname#entries translated
...
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-14 22:23:09 +00:00
svn
d3a0629afc
* 2010-09-15
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-14 17:15:31 +00:00
tenderlove
204f8d6820
* ext/fiddle/closure.c : Don't use FFI closure alloc on OpenBSD.
...
Thanks Jeremy Evans! [ruby-core:32384]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-14 17:15:30 +00:00
akr
bf77099923
* ext/pathname/pathname.c (path_s_getwd): Pathname.getwd and
...
Pathname.pwd translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-14 11:18:37 +00:00
akr
6d9b5fdffc
* ext/pathname/pathname.c (path_s_glob): Pathname.glob translated
...
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-13 20:14:04 +00:00
svn
1428b74ff9
* 2010-09-14
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-13 16:02:36 +00:00
kanemoto
54886d0876
suppress a warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-13 16:02:35 +00:00
akr
878747437c
* ext/pathname/pathname.c (path_zero_p): Pathname#zero? translated
...
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-13 11:48:58 +00:00
nobu
ccd7af7e83
* test/openssl/test_bn.rb: property.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-13 10:57:47 +00:00
nobu
4c916ec8b7
* ext/socket/rubysocket.h (__DARWIN_ALIGNBYTES): workaround of a
...
bug in system header of darwin 9. [ruby-core:32341]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-13 10:56:52 +00:00
nobu
3e86bd8f3a
* lib/mkmf.rb (try_do): fix typo. a patch from Peter Weldon
...
at [ruby-core:32327].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-13 09:11:58 +00:00
knu
bed2696508
Make punctuation consistent.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-13 07:58:47 +00:00
naruse
2590d7447a
* util.c (ruby_strtod): reject Float('0x0.').
...
[ruby-dev:42239] Bug #3820
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-13 01:15:39 +00:00
naruse
1973984f90
Add ML ref [ruby-dev:42225] for r29237.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-13 01:15:36 +00:00
naruse
6ebb345dd7
* ext/openssl/ossl_bn.c (ossl_bn_is_prime): fix comparison
...
with rb_scan_args. Before this fix, OpenSSL::BN#prime?
is fully broken.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-13 00:40:10 +00:00
svn
f31eccfa18
* 2010-09-13
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-12 21:46:07 +00:00
akr
a335ded4c9
* ext/pathname/pathname.c (path_writable_real_p):
...
Pathname#writable_real? translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-12 21:46:04 +00:00
tadf
d50b19ff27
* lib/date.rb: [ruby-core:32096] Thanks Colin Bartlett.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-12 12:24:17 +00:00
akr
5cc5e1c5be
* ext/pathname/pathname.c (path_world_writable_p):
...
Pathname#world_writable? translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-12 10:31:01 +00:00