Permalink
Commits on Jul 31, 2011
  1. Tags branches/ruby_1_9_3@32780 as v1_9_3_preview1.

    yugui committed Jul 31, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_9_3_preview1@32789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * enc/Makefile.in (ECHO1): Same as the recent fix in common.mk.

    yugui committed Jul 31, 2011
      ":" in a make variable replacement cause a syntax error with
      /usr/ccs/bin/make on Solaris.  Uses $(NULLCMD) instead.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. * configure.in: fix typos.

    k-tsj committed Jul 31, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. * lib/mkmf.rb (configuration:ECHO1): Same as the recent fix in

    yugui committed Jul 31, 2011
      common.mk.
      ":" in a make variable replacement cause a syntax error with
      /usr/ccs/bin/make on Solaris.  Uses $(NULLCMD) instead.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. * complex.c (f_signbit): gcc4 on Solaris DOES have signbit but does

    yugui committed Jul 31, 2011
      not have it on header.
    
    * math.c: ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. * common.mk (node_name.inc): Use $(Q) for consistency.

    yugui committed Jul 31, 2011
    * Makefile.in (INSNS): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. * common.mk (ECHO1): nmake does not allow parenthesis in make variable

    yugui committed Jul 31, 2011
      replacement.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. Fixes a wrong part in the previous commit.

    yugui committed Jul 31, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. * common.mk (ECHO1): ":" in a make variable replacement cause a syntax

    yugui committed Jul 31, 2011
      error with /usr/ccs/bin/make on Solaris.  Uses $(NULLCMD) instead.
    
    * configure.in (NULLCMD): new check.
    
    * Makefile.in (NULLCMD): Reflects checking in configure.
    
    * win32/Makefile.sub (NULLCMD): new assignment.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  10. * backport r32768 from trunk.

    k-tsj committed Jul 31, 2011
    * vm.c: check if cfp is valid. [Bug #5083] [ruby-dev:44208]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jul 30, 2011
  1. * 2011-07-31

    svn committed Jul 30, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. Merge commit r32762:

    mrkn committed Jul 30, 2011
        * test/bigdecimal/test_bigdecimal.rb (test_version): removed.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. * lib/cmath.rb (cbrt): should return a real number if possible.

    tadf committed Jul 30, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. * ext/date/date_core.c: an issue that is same as [ruby-dev:44071].

    tadf committed Jul 30, 2011
    	* ext/date/date_strftime.c: identical to [ruby-dev:44112].
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. * defs/default_gems: separate from tool/rbinstall.rb.

    nobu committed Jul 30, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. * io.c (rb_io_each_byte): rbuf can be refreshed during yield.

    nobu committed Jul 30, 2011
      [Bug #5119]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. * strftime.c (NEEDS): avoid SEGV due to integer overflow in sparc-sol…

    ngoto committed Jul 30, 2011
    …aris2.10
    
      and i686-linux.  fix [Bug #4456] [ruby-dev:43284]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. Merge commit r32754:

    mrkn committed Jul 30, 2011
        * ext/bigdecimal/bigdecimal.c (BigDecimal_version): version 1.1.0.
        * ext/bigdecimal/bigdecimal.gemspec: turn into a default gem.
        * tool/rbinstall.rb: ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. * ext/bigdecimal/lib/bigdecimal/util.rb (Rational#to_d):

    mrkn committed Jul 30, 2011
      revive zero and implicit precision support as a deprecated feature.
    * test/bigdecimal/test_bigdecimal_util.rb: modify a test for the above
      change.
    * NEWS: describes the above change.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  10. merge revision(s) 32749:

    kosaki committed Jul 30, 2011
    	* vm.c (th_init): preallocate alternative stack.
    	  NoMemoryError is better than rb_bug, of course.
    	  Patch by Eric Wong. [ruby-core:38572][ruby-core:38594].
    
    	* signal.c (rb_register_sigaltstack): ditto.
    
    	* vm_core.h: moved ALT_STACK_SIZE definition from signal.c.
    
    	* vm.c (thread_free): use xfree() instead of free().
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jul 29, 2011
  1. * ext/socket/lib/socket.rb (udp_server_sockets): unused variable

    akr committed Jul 29, 2011
      removed.
      patch by Jeremy Evans.  [ruby-core:38600]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * ChangeLog: remove trailing spaces.

    nobu committed Jul 29, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. * 2011-07-30

    svn committed Jul 29, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. * lib/securerandom.rb: call OpenSSL::Random.seed at the

    akr committed Jul 29, 2011
      SecureRandom.random_bytes call.
      based on the patch by Masahiro Tomita.  [ruby-dev:44270] 
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. * ext/socket/mkconstants.rb: fix typos.

    akr committed Jul 29, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. * ext/socket/mkconstants.rb: use whitespaces as a separator.

    akr committed Jul 29, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. * ext/socket/mkconstants.rb: add documents for constants.

    akr committed Jul 29, 2011
      patch by Eric Hodel.  [ruby-core:37853] [Bug #4989]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jul 28, 2011
  1. * backport r32671 from trunk.

    mame committed Jul 28, 2011
    * proc.c: pre-allocate the unlinked_method_entry_list_entry struct to
      avoid memory allocation during GC.  based on a patch from Eric Wong.
      [ruby-core:38498]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * backport r32669 from trunk.

    mame committed Jul 28, 2011
    * proc.c (struct METHOD), gc.c (gc_marks), vm_method.c
      (rb_gc_mark_unlinked_live_method_entries): fix SEGV bug.
      rb_method_entry_t was free'd even when the method is still on the
      stack if it is BMETHOD (i.e., Method#call).  This is because
      rb_method_entry_t is embedded in struct METHOD.  This commit
      separates them and marks the live method entries.
      See [ruby-core:38449] in detail.  fix [Bug #5047] [ruby-core:38171]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. * 2011-07-29

    svn committed Jul 28, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. merge revision 32725:

    nagachika committed Jul 28, 2011
            * ext/fiddle/closure.c (callback): use rb_ary_tmp_new() instead of
              xmalloc() to allocate an array for arguments of callback procedure,
              to prevent arguments from being swept by GC. [ruby-core:38546]
              [Bug #4929]
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. * backport r32723 from trunk.

    nahi committed Jul 28, 2011
    * ext/openssl/ossl_cipher.c (ossl_cipher_initialize): Avoid possible
      SEGV from AES encryption/decryption. Processing data by
      Cipher#update without initializing key (meaningless usage of Cipher
      object since we don't offer a way to export a key) could cause SEGV.
    
      In OpenSSL, the EVP which has EVP_CIPH_RAND_KEY flag (such as DES3)
      allows uninitialized key, but other EVPs (such as AES) does not
      allow it. Calling EVP_CipherUpdate() without initializing key causes
      SEGV so we set the data filled with "\0" as the key by default. See
      #2768.
    
    * test/openssl/test_cipher.rb: test it.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. merge revision(s) 32715:

    nurse committed Jul 28, 2011
    ------------------------------------------------------------------------
    r32715 | naruse | 2011-07-28 09:23:28 +0900 (Thu, 28 Jul 2011) | 1 line
    
    See __APPLE__ for __syscall.
    ------------------------------------------------------------------------
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jul 27, 2011
  1. * lib/delegate.rb: Move file-level documentation to the appropriate

    drbrain committed Jul 27, 2011
    	  classes.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. merge revision(s) 32707:

    nurse committed Jul 27, 2011
    	* test/fileutils/test_fileutils.rb: add OpenBSD case.
    	  patched by Jeremy Evans [ruby-core:38530] see #5097
    
    	* test/ruby/test_process.rb: ditto.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e