--
* 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.
--
add ChangeLog entry for the previous one.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
an error. just warning.
--
* util.c (ruby_strtod): reject Float('0x0.').
[ruby-dev:42239] Bug #3820
--
* util.c (ruby_strtod): check there is at least 1 digit after
"0x" before ".". [ruby-dev:42183] #3790
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* ext/openssl/ossl_bn.c (ossl_bn_is_prime): fix comparison
with rb_scan_args. Before this fix, OpenSSL::BN#prime?
is fully broken.
--
Add ML ref [ruby-dev:42225] for r29237.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* hash.c (ruby_setenv): raise if putenv and SetEnvironmentVariable
failed, because of the restriction of the size on Windows.
based on a patch from Peter Weldon at [ruby-core:32304]. fix:
Bug#3812, [ruby-core:32250]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* vm.c (vm_backtrace_each): skip allocator frames which have no
name. [ruby-core:32231]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* test/ruby/test_env.rb (test_aset): OpenBSD acts like NetBSD in
that it ignores characters after = in ENV.
patched by Jeremy Evans [ruby-core:32184]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* file.c (rb_file_s_readlink): symlink target should be in
filesystem encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* thread.c (ruby_suppress_tracing): restore the state and invoke
the func with normal state. a patch from Satoshi Shiba <shiba
AT rvm.jp> at [ruby-dev:42162]. [ruby-core:31783]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* parse.y (regexp): dregexp has literal string only at the head
and successors are array. [ruby-core:32682]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* string.c (tr_setup_table): initialize negating table when
negating string is given. [ruby-core:31851]
* string.c (tr_find): add a sentence for the time when
target characters include negating one.
* string.c (rb_str_count): move definition.
--
* string.c (tr_setup_table): fix bug in r29146.
Initialize table even if cflag is 0; tr_find see whether
del is empty or not.
* string.c (tr_find): nodel can't be NULL; if NULL, it means
it is not specified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* io.c (fptr_finalize): write_mutex might have been destroyed
already in finalization phase, as the order of finalizers is not
guaranteed. rb_mutex_t should be used in place of Mutex object
in the future.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* test/pathname/test_pathname.rb (test_expand_path): should treat drive letter.
* test/pathname/test_pathnamr.rb (test_grpowned?): group onwer is not suppoted
on DOSISH platforms.
* test/pathname/test_pathnamr.rb (test_world_readable?, test_sticky?,
test_world_writable?): skip some tests on the assumptions for Unix on
DOSISH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* backport r29071 from ruby_1_8;
* ext/openssl/ossl_asn1.c (obj_to_asn1bool): fixed ASN1::Boolean
encoding issue for OpenSSL 1.0.0 compatibility.
ASN1::Boolean.new(false).to_der wrongly generated "\1\1\377" which
means 'true'.
ASN1_TYPE_set of OpenSSL <= 0.9.8 treats value 0x100 as 'false'
but OpenSSL >= 1.0.0 treats it as 'true'. ruby-ossl was using
0x100 for 'false' for backward compatibility. Just use 0x0 for
the case OpenSSL >= OpenSSL 0.9.7.
* test/openssl/test_asn1.rb: test added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* util.c (ruby_strtod): make sure to have digit-sequence after 'p'
for hexadecimal-floating-constant. [ruby-dev:42105]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* file.c (file_expand_path): should check if could find user.
[ruby-core:31538]
--
* file.c (file_expand_path): home directory must be absolute.
[ruby-core:31537]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* compile.c (NODE_ARGSCAT, NODE_ARGSPUSH): drop unused ARGSCAT
results when poped is true. [ruby-dev:41933], [Bug #3658]
This is retry of r28870 and r28873 which were reverted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
The patch seems to be revised by r28763. The patch will be backported
after it is stabilized by an experience in trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* bignum.c (big_op): comparison of bignum and infinity has returned 1
or -1, but it must return boolean.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* numeric.c (flo_cmp): honor the result of infinite? method of the
other. [ruby-core:31470]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* lib/rubygems/custom_require.rb, gem_prelude.rb: Load code from
from gems properly.
* lib/rubygems.rb: Load the custom require if --disable-rubygems
was used.
* gem_prelude.rb: Pull in rubygem's custom require
[ruby-core:30846]
* lib/rubygems.rb: Handle always having custom require available
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* re.c (rb_reg_expr_str): fix broken Regexp#inspect when it
is ASCII-8BIT and non-ASCII character.
The length of character should be from original byte string.
[ruby-core:31431]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* io.c (io_flush_buffer): write and buffer operations should be
monolithic. [ruby-core:31348]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* sprintf.c: add short documentation about named reference.
[ruby-core:31294]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* regexec.c (onig_search): don't skip non-ANYCHARs when
.* fails to match. This causes to fail matching
ANYCHAR_STAR with LOOK_BEHIND. This fix is workaround
and disable the optimization. [ruby-dev:41851]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
gem activation does not work by default. Now it can be worked
around by requiring "rubygems" first. [ruby-core:29486]
a patch from Evan Phoenix in [ruby-core:31096].
* lib/rubygems.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* io.c (swallow, prepare_getline_args, rb_io_getline_1): fix for
paragraph mode reading in non-ascii-compatible encoding.
[ruby-dev:41803]
--
* test/ruby/test_io_m17n.rb (test_textmode_paragraph_nonasciicompat): should
match the modes of both end of pipe as text mode.
* test/ruby/test_io_m17n.rb (test_binmode_paragraph_nonasciicompat): new test
for binmode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* ext/psych/lib/psych/scalar_scanner.rb (parse_string): support
timezones that are not one hour off. [ruby-core:31023]
* ext/psych/lib/psych/visitors/yaml_tree.rb: ditto
--
* test/psych/test_date_time.rb (TestDateTime#test_round_trip_with_offset):
test for [ruby-core:31023].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* ext/psych/lib/psych/visitors/yaml_tree.rb (visit_Time): use
Time#nsec to accurately serialize time objects. [ruby-core:29233]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* test/win32ole/test_win32ole_method.rb (test_offset_vtbl): check
that Ruby is 32bit or 64bit binary in order to get correct offset
value. [ruby-dev:41741]
--
* test/win32ole/test_win32ole_method.rb (is_ruby64): check
ruby binary is mswin64 or mingw64. [ruby-dev:41756]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* lib/rdoc/ri/driver.rb (RDoc::RI::Driver#formatter): should use bs
format when stdout is piped. [ruby-core:30734]
--
* test/rdoc/test_rdoc_ri_driver.rb (TestRDocRIDriver#test_formatter):
fix a test accordingly to r28455.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* test/win32ole/test_win32ole_method.rb (test_offset_vtbl): check
that OS is Windows 32bit or Windows 64bit in order to get
correct offset value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* lib/csv.rb: Fixing a bug that prevented CSV from parsing
all multi-line fields correctly. Patch by Rob Biedenham.
--
Fixing a spelling error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
--
* test/ruby/envutil.rb (EnvUtil#invoke_ruby): get rid of possible
deadlock.
--
* test/ruby/envutil.rb (EnvUtil#invoke_ruby): change the
environment of spawned process only.
--
* test/ruby/envutil.rb (Test::Unit::Assertions#assert_in_out_err):
return the exit status.
--
* test/ruby/envutil.rb (EnvUtil#invoke_ruby): no needs to copy the
original ENV, since it's done in spawn automatically.
[ruby-dev:41733]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e