Permalink
Commits on Jul 15, 2011
  1. tags branches/ruby_1_9_2@32477 as v1_9_2_290.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_9_2_290@32553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Jul 15, 2011
Commits on Jul 9, 2011
  1. * 2011-07-09

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Jul 9, 2011
  2. * ext/tk/extconf.rb: I gave up to fix the build issue of ext/tk with …

    …Windows
    
      installer (mingw32).  Ported whole ext/tk/extconf.rb from trunk.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Jul 9, 2011
Commits on Jul 3, 2011
  1. * 2011-07-04

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Jul 3, 2011
  2. * ext/tk/extconf.rb (find_tcl): fixed a TypeError on --with-opt-dir.

      reported by luislavena and ksmakoto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Jul 3, 2011
  3. * ext/zlib/zlib.c: added a prototype to get rid of SEGV on x86_64

      darwin.
      Reported by kosaki and nagachika. Patch by nagachika.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Jul 3, 2011
  4. * ext/socket/extconf.rb (have_type("PADDRINFO")): new check.

    * ext/socket/addrinfo.h: fixed a compilation problem with VC++ 2010.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Jul 3, 2011
  5. merges a part of r31742, r31947, r31894, r3202 and r32287 from trunk

    into ruby_1_9_2.
    --
    * ex/tk/extconf.rb: support for the latest ActiveTcl with mingw.
    --
    * ext/tk/extconf.rb: fails on Mac OS X [Ruby 1.9 - Bug #4853]
    --
    * ext/tk/extconf.rb: fix for uninitialized global variables. [Ruby 1.9 - Bug #4811]
    --
    * ext/tk/extconf.rb: use $defs not $CPPFLAGS to get rid of
      command line escape issues on Windows.  fixed #4835.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Jul 3, 2011
  6. merges r32067 from trunk into ruby_1_9_2.

    --
    * parse.y (parser_parse_string): flush delayed token.  based on a
      patch by Masaya Tarui in [ruby-dev:43762].  Bug #4544
    * parse.y (yylex): revert r24557.  delayed token at the end of
      string should be flushed already by the above change.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Jul 3, 2011
  7. merges r32067 from trunk into ruby_1_9_2.

    --
    * parse.y (parser_parse_string): flush delayed token.  based on a
      patch by Masaya Tarui in [ruby-dev:43762].  Bug #4544
    * parse.y (yylex): revert r24557.  delayed token at the end of
      string should be flushed already by the above change.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Jul 3, 2011
  8. merges r32062 from trunk into ruby_1_9_2.

    --
    * ext/socket/unixsocket.c (unix_send_io): race condition fixed.
      (unix_recv_io): ditto.
      fixed by Eric Wong.  [ruby-core:35574]
    
    * test/socket/test_unix.rb: test added for above problem.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Jul 3, 2011
  9. merges r31528 from trunk into ruby_1_9_2. fixes #4861.

    --
            * ext/openssl/ossl_ssl.c: By trunk@31346, function check of SSLv2 is executed.
            However, the problem is not revised in this.
            This adds the control of using function of SSLv2 in made macro by function check.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Jul 3, 2011
  10. merges r32050 from trunk into ruby_1_9_2.

    --
    * lib/securerandom.rb (SecureRandom.random_bytes): modify PRNG state
      to prevent random number sequence repeatation at forked child
      process which has same pid.
      reported by Eric Wong.  [ruby-core:35765]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Jul 3, 2011
  11. merges r32000 from trunk into ruby_1_9_2.

    --
    * io.c (io_getc): should be 7bit if ascii.  fixes #4557
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Jul 3, 2011
  12. merges r31997 from trunk into ruby_1_9_2.

    --
    * lib/rexml/formatters/pretty.rb
      (REXML::Formatters::Pretty#write_text),
      test/rexml/test_core.rb
      (Tester#test_pretty_format_long_text_finite): don't ignore
      'width' parameter in pretty formatter. fixes #4498
      Reported by Michael Frasca. Thanks!!!
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Jul 3, 2011
  13. merges r31995 and r31998 from trunk into ruby_1_9_2.

    --
    * lib/rexml/parsers/xpathparser.rb
      (REXML::Parsers::XPathParser#parse),
      test/rexml/test_elements.rb
      (ElementsTester::test_each_with_frozen_condition):
      don't modify original XPath. fixes #4164
      Reported by Pavel Shved. Thanks!!!
    --
    * ChangeLog: fix ticket number at r31995. fixes #4161 is correct.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Jul 3, 2011
  14. merges r31948 from trunk into ruby_1_9_2.

    --
    * time.c (rb_gmtime_r2): adjust indent.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Jul 3, 2011
  15. merges r31930 from trunk into ruby_1_9_2.

    --
    * ext/psych/parser.c (parse): release event objects to plug memory
    leak.  Thanks Mark J. Titorenko!
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Jul 3, 2011
  16. merges r30272 from trunk into ruby_1_9_2.

    --
            * thread.c (thread_cleanup_func): Don't touch native threading
              resource at fork. Sadly this is purely bandaid. We need to
              implement proper fix later. [Bug #4169] [ruby-core:33767]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Jul 3, 2011
Commits on Jun 6, 2011
  1. merges a part of r31717 from trunk into ruby_1_9_2.

    --
    * ext/tk/lib/tk/extconf.rb: search directories for 64bit library (e.g.
    * /usr/lib64), and bug fix.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Jun 6, 2011
Commits on Jun 5, 2011
  1. * test/drb/ut_array.rb: uses 'druby://localhost:0' instead of nil

      as well as test/drb/ut_drb.rb.  This fixes the same problem as
      [ruby-dev:23078].
    
    * test/drb/ut_array_drbssl.rb: ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Jun 5, 2011
  2. merges a part of r31717 and a part of r31742.

    Fixes a problem in Tk.mainloop.
    --
    * ext/tk/lib/tk.rb: hang-up at exit before calling Tk.mainloop.
    --
    * ext/tk/lib/tk.rb: fail to start Tk.mainloop (exit immediately) on
      some environment (reported on [ruby-talk:381444]).
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Jun 5, 2011
Commits on May 31, 2011
  1. merges r30629 and r30630 from trunk into ruby_1_9_2.

    --
    * ext/psych/lib/psych/visitors/to_ruby.rb: merge keys are actually
      part of YAML 1.1, so they should be supported.  Remove warning and
      merge keys to parent.  [ruby-core:34679]
    * test/psych/test_merge_keys.rb: test for merge keys
    --
    * ext/psych/lib/psych/visitors/to_ruby.rb: fixing merge key support
      when multiple merge keys are specified.
    * test/psych/test_merge_keys.rb: tests for multi-merge key support
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed May 31, 2011
  2. merges r28643 from trunk into ruby_1_9_2. Fixes #3570.

    --
    * time.c (localtime_with_gmtoff_zone): renamed from
      localtime_with_gmtoff and return the timezone abbreviation name.
      (guess_local_offset): return the isdst and timezone abbreviation name.
      (localtimew): use the returned isdst and timezone abbreviation name.
      [ruby-core:31275]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed May 31, 2011
  3. merges r29851 from trunk into ruby_1_9_2.

    --
    * time.c (time_zone): use rb_locale_str_new_cstr to set encoding
      as locale and convert its content to internal encoding.
      [ruby-core:33278]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed May 31, 2011
  4. merges r30542 from trunk into ruby_1_9_2. Fixes #4279.

    --
    * pack.c (pack_unpack): the resulted string of unpack('M') must have
      ASCII-8BIT encoding (and ENC_CODERANGE_VALID). [ruby-core:34482]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed May 31, 2011
  5. merges r30798 from trunk into ruby_1_9_2.

    --
    * lib/test/unit/assertions.rb (assert_block): move from
      test/fileutils/fileasserts.rb.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed May 31, 2011
  6. merges r30364 from trunk into ruby_1_9_2. Fixes #4377.

    --
        * io.c (pipe_open): Added rb_thread_atfork(). We must reinitialize
          GVL at new process creation.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed May 31, 2011
  7. merges r30789 from trunk into ruby_1_9_2. Fixes #4446.

    --
    * load.c (rb_get_expanded_load_path): always expand load paths.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed May 31, 2011
  8. Fixes a mistake in merge of r31812.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed May 31, 2011
  9. Imported ext/-test-/string from trunk to ruby_1_9_2. Fixes #4540.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed May 31, 2011
  10. merges r28557 from trunk into ruby_1_9_2. Fixes #4506.

    --
    * io.c (nogvl_copy_stream_sendfile): jump to retry_sendfile directly
      to avoid select() on a socket which TCP state is CLOSED.
      patch by Eric Wong.  [ruby-core:31053]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed May 31, 2011
  11. merges r31822 and r31823 from trunk into ruby_1_9_2.

    --
    * insns.def (opt_mult): as r31805, volatile it.
      Without this, clang -O fails calculation.
    
    * numeric.c (fix_mul): ditto.
    
    * rational.c (f_imul): ditto.
    --
    Fix mixed declarations in r31822.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed May 31, 2011
  12. merges r31805 from trunk into ruby_1_9_2.

    --
    * numeric.c (int_pow): make sure to assign the result of x * z.
      If xz is optimized out, the value won't overflow.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed May 31, 2011
  13. merges r31778 from trunk into ruby_1_9_2.

    --
    * numeric.c (flo_round): fix for negative value.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed May 31, 2011