Commit graph

3017 commits

Author SHA1 Message Date
yugui
483d85b157 merges r29257 and r29258 from trunk into ruby_1_9_2.
--
	* 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
2010-11-24 09:37:06 +00:00
yugui
14dfd98ee4 merges r29256 from trunk into ruby_1_9_2.
--
* io.c (rb_io_puts): fix for wide char encoding strings.
  [ruby-dev:42212]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-24 09:37:02 +00:00
yugui
8ff17ef269 merges r29187 and r29239 from trunk into ruby_1_9_2, but does not raise
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
2010-11-15 11:43:50 +00:00
yugui
856e1f17f1 merges r29237 and r29238 from trunk into ruby_1_9_2.
--
* 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
2010-11-15 11:43:42 +00:00
yugui
b5c27d1cab merged r29225 but just warning instead of raising an exception. c.f. [ruby-core:32250].
--
* 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
2010-11-15 11:43:27 +00:00
yugui
55c6c4edda merges r29205 from trunk into ruby_1_9_2.
--
* 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
2010-11-01 15:04:05 +00:00
yugui
c1fafacd12 merges r29201 from trunk into ruby_1_9_2.
--
* 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
2010-11-01 15:03:57 +00:00
yugui
13fdd22f20 merges r29188 from trunk into ruby_1_9_2.
--
* ext/readline/readline.c (readline_s_get_line_buffer):
  Readline.line_buffer should return locale string.
  [ruby-dev:42184] #3791

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-01 15:03:31 +00:00
yugui
500be74c6a merges r29181 from trunk into ruby_1_9_2.
--
* 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
2010-11-01 15:01:51 +00:00
yugui
7f5d559cfc merges r29155 from trunk into ruby_1_9_2. fixes #3777, #3772 and #3722.
--
* 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
2010-10-23 13:38:37 +00:00
yugui
ac83fcdc8e merges r29410 from trunk into ruby_1_9_2.
--
* 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
2010-10-23 13:02:52 +00:00
yugui
1e90b4a852 merges r28986 from trunk into ruby_1_9_2. fixes [ruby-core:32667]
--
* test/objspace/test_objspace.rb: added test for objspace.

* ext/objspace/objspace.c: considers T_ZOMBIE by lazy sweep GC.

* gc.c: considers that dsize was 0. [ruby-dev:42022]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-23 12:50:53 +00:00
yugui
d9cd722638 merges r29146 and r29148 from trunk into ruby_1_9_2.
--
* 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
2010-10-23 10:02:41 +00:00
yugui
0d069bd2df merges r29140 and r29141 from trunk into ruby_1_9_2.
--
* lib/rdoc/parser/ruby.rb (RDoc#parse_class): ignore non-constant
  name signleton class.  [Bug #3759], [ruby-dev:42154]
--
* lib/rdoc/parser/ruby.rb (RDoc#parse_call_parameters): don't
  include assignment.  [Bug #3759], [ruby-dev:42154]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-23 09:37:26 +00:00
yugui
4f7232fd2e merges r29318 from trunk into ruby_1_9_2.
--
* vm_insnhelper.c (vm_cref_push): no outer cref is needed for proc
  from method.  Bug #3786, Bug #3860, [ruby-core:32501]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-23 09:37:01 +00:00
yugui
03144f6df0 merges r29415 from trunk into ruby_1_9_2. fixes #3910 #3951 and #3959.
--
* 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
2010-10-23 09:36:52 +00:00
yugui
738e62a3f1 merges r29133 from trunk into ruby_1_9_2.
--
* load.c (load_failed): should honor encoding.  [ruby-core:31915]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-23 09:36:38 +00:00
yugui
cfa233b52e merges tests from trunk before r29132 into ruby_1_9_2.
--
* 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
2010-10-23 09:36:31 +00:00
yugui
4c513b5e68 merges r29101 from trunk into ruby_1_9_2.
--
Creating dummy library for dl/fiddle tests on AIX.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-02 11:20:14 +00:00
yugui
76c0f01b0f merges r29075 from trunk into ruby_1_9_2.
--
        * 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
2010-10-02 11:20:01 +00:00
yugui
ace1ad2607 merges r29073 from trunk into ruby_1_9_2.
--
* 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
2010-09-29 12:25:44 +00:00
yugui
2fd98b1d3e merges r29044 from trunk into ruby_1_9_2.
--
* array.c (rb_ary_permutation, rb_ary_repeated_permutation, rb_ary_repeated_combination, rb_ary_product): use ary_make_shared_copy instead of ary_make_substitution.  [ruby-dev:42067] [Bug #3708]
* test/ruby/test_array.rb (test_product, test_repeated_permutation, test_repeated_combination): append assertions against [Bug #3708].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-29 12:25:24 +00:00
yugui
f7f765ee30 merges r29023 from trunk into ruby_1_9_2.
--
* regcomp.c: revert r26701; it introduces Bug #3681.
  [ruby-core:31677]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-18 05:42:40 +00:00
yugui
a164f6bab9 merges r28795 and r28796 from trunk into ruby_1_9_2.
--
* 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
2010-08-14 08:12:05 +00:00
yugui
12ebc7f5be merges r28895 from trunk into ruby_1_9_2.
--
* vm_eval.c (vm_call0): fix for VM_METHOD_TYPE_NOTIMPLEMENTED.
  [ruby-dev:41953]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-09 04:40:22 +00:00
yugui
2ed7d6d727 merges r28877 from trunk into ruby_1_9_2.
--
* 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
2010-08-09 04:40:07 +00:00
mame
5d0c0c192c merges r28869 from trunk into ruby_1_9_2.
--
* complex.c (nucomp_marshal_load): should check the argument.
  [ruby-core:31622]

* rational.c (nurat_marshal_load): ditto

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-05 11:54:48 +00:00
mame
4313bec631 merges r28833 from trunk to ruby_1_9_2.
--
* file.c (file_expand_path): wrong condition. [ruby-core:31591]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-04 10:14:01 +00:00
mame
b22c83311d revert r28788 (backport of r28751).
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
2010-08-01 12:22:06 +00:00
mame
6765d52c38 merges r28815 from trunk into ruby_1_9_2.
--
* 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
2010-08-01 09:46:34 +00:00
mame
f62d8ce901 merges r28751 from trunk into ruby_1_9_2.
--
* 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
2010-07-29 16:50:24 +00:00
mame
2435ab175f merges r28693, r28695 and r28703 from trunk into ruby_1_9_2.
--
* 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
2010-07-29 15:14:57 +00:00
yugui
b4f1675c77 merges r28715 from trunk into ruby_1_9_2.
--
* 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
2010-07-24 10:39:20 +00:00
yugui
0956a6f4da merges r28687 from trunk into ruby_1_9_2.
--
* 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
2010-07-24 10:38:33 +00:00
yugui
d1a5bcd83f merges r28685 from trunk into ruby_1_9_2.
--
* lib/fileutils.rb (FileUtils::Entry_#copy): check file name
  spearator boundary.  [ruby-core:31360]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-24 10:38:16 +00:00
mame
a4f2d6fec4 merge revision(s) 28702:
* 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
2010-07-22 13:58:10 +00:00
mame
7909d9d0c7 merge revision(s) 28648:
* 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
2010-07-22 13:37:07 +00:00
mame
76b30ac28f * gem_prelude.rb: provide workaround for gem activation. Currently,
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
2010-07-13 15:53:05 +00:00
yugui
aa1fdb9053 merges r28537 and r28555 from trunk into ruby_1_9_2.
--
* 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
2010-07-10 04:05:59 +00:00
yugui
c13b3808b9 merges r28550,r28551,r28554 and r28558 from trunk into ruby_1_9_2.
--
* ext/psych/lib/psych/scalar_scanner.rb: making the code more beautiful.
  Thanks nobu!
--
* ext/psych/lib/psych/visitors/yaml_tree.rb (format_time): nanoseconds
  require more digits when dumping. Thanks akr! [ruby-core:31047]
* test/psych/visitors/test_to_ruby.rb: adjusting tests for nanoseconds
--
* test/psych/visitors/test_to_ruby.rb (test_time): time test must
  respect non-whole timezone. Thanks akr! [ruby-core:31061]
--
* ext/psych/lib/psych/scalar_scanner.rb (parse_time): dealing with
  negative partial hour time zones. [ruby-core:31064]
* ext/psych/lib/psych/visitors/yaml_tree.rb: ditto
* test/psych/visitors/test_to_ruby.rb: ditto

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-10 04:05:52 +00:00
yugui
12ce578196 merges r28541 from trunk into ruby_1_9_2.
--
* 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
2010-07-10 04:05:47 +00:00
yugui
7db58f199e merges r28532 from trunk into ruby_1_9_2.
--
* ext/psych/lib/psych/visitors/to_ruby.rb(visit_Psych_Nodes_Scalar):
  teaching Psych to deserialize DateTime objects. [Bug #1390]

* ext/psych/lib/psych/visitors/yaml_tree.rb(visit_DateTime): added a
  method for serializing DateTime objects.

* ext/psych/lib/psych/scalar_scanner.rb(parse_time): add method for
  parsing times objects from a string.

* test/psych/test_date_time.rb: tests for dumping DateTime objects.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-10 04:01:30 +00:00
yugui
5d2b9ea577 merges r28531 from trunk into ruby_1_9_2.
--
* 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
2010-07-10 04:01:24 +00:00
yugui
509e3e9d31 merges r28456 and r28476 from trunk into ruby_1_9_2.
--
* 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
2010-07-01 07:42:01 +00:00
mame
a20b4568fd * test/rubygems/test_gem_activation.rb: comment out a test for WONTFIX
bug.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-01 04:00:10 +00:00
yugui
f058f2d845 merges r28455 and r28460 from trunk into ruby_1_9_2.
--
* 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
2010-07-01 02:05:35 +00:00
yugui
391fb9ecbf merges r28442 from trunk into ruby_1_9_2.
--
* 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
2010-07-01 02:05:22 +00:00
yugui
ba87ab3a7e merges r28431 and r28432 from trunk into ruby_1_9_2.
--
* 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
2010-07-01 02:05:16 +00:00
yugui
a1a68a5810 merges r28428,r28429,r28430 and r28444 from trunk into ruby_1_9_2.
--
* 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
2010-07-01 02:05:10 +00:00
yugui
d36fedc731 merges r28422 from trunk into ruby_1_9_2.
--
refine an assertion message.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-01 02:05:04 +00:00