Permalink
Commits on Jun 29, 2008
  1. add tag v1_8_7_31

    shyouhei committed Jun 29, 2008
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_31@17687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. merge revision(s) 17570:

    shyouhei committed Jun 29, 2008
    	* array.c (rb_ary_fill): not depend on unspecified behavior at integer
    	  overflow.  reported by Vincenzo Iozzo <snagg AT openssl.it>.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. merge revision(s) 17561:

    shyouhei committed Jun 29, 2008
    	* ext/win32ole/win32ole.c(ole_invoke): fix memory leak.
    	  [ruby-bugs-20792]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. merge revision(s) 17547:

    shyouhei committed Jun 29, 2008
    	* eval.c (PUSH_FRAME, PUSH_CLASS): Add volatile to avoid a
    	  possible optimization bug on OS X/PPC.  This at least makes
    	  build with gcc -O1 and `make test' pass.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. merge revision(s) 17497:

    shyouhei committed Jun 29, 2008
    	* lib/rdoc/parsers/parse_rb.rb (RDoc#collect_first_comment): skip
    	  magic comment.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. merge revision(s) 17366:

    shyouhei committed Jun 29, 2008
    	* ext/stringio/stringio.c (strio_each, strio_readlines): IO#each and
    	  IO#readlines do not affect $_.  [ruby-core:17277]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. merge revision(s) 17352:

    shyouhei committed Jun 29, 2008
    	* ext/stringio/stringio.c (strio_readline, strio_each)
    	  (strio_readlines): set lastline.  [ruby-core:17257]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. merge revision(s) 17108:

    shyouhei committed Jun 29, 2008
    	* ext/openssl/ossl.h: include winsock.h if USE_WINSOCK2 is not defined.
    	  a patch from arton <artonx at yahoo.co.jp> in [ruby-dev:35078]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. merge revision(s) 17074:

    shyouhei committed Jun 29, 2008
    	* util.c (ruby_strtod): ruby_strtod don't allow a trailing
    	  decimal point like "7.". [ruby-dev:34835] [ruby-dev:35009]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 28, 2008
  1. merge revision(s) 17625:

    shyouhei committed Jun 28, 2008
    	* class.c (clone_method): use rb_copy_node_scope.
    	  fixed [ruby-list:45102]
    	  fixed [ruby-core:17393]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. 2008-06-28

    svn committed Jun 28, 2008
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. * class.c: revert to r15855.

    shyouhei committed Jun 28, 2008
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 20, 2008
  1. merge revision(s) 17483:

    shyouhei committed Jun 20, 2008
    	* string.c (rb_str_buf_append): should infect.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. merge revision(s) 17470:17472:

    shyouhei committed Jun 20, 2008
    	* array.c (rb_ary_store, rb_ary_splice): not depend on unspecified
    	  behavior at integer overflow.
    	* string.c (str_buf_cat): ditto.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 19, 2008
  1. * array.c (ary_new, rb_ary_initialize, rb_ary_store,

    shyouhei committed Jun 19, 2008
      rb_ary_aplice, rb_ary_times): integer overflows should be
      checked. based on patches from Drew Yao <ayao at apple.com>
      fixed CVE-2008-2726
    
    * string.c (rb_str_buf_append): fixed unsafe use of alloca,
      which led memory corruption. based on a patch from Drew Yao
      <ayao at apple.com> fixed CVE-2008-2726
    
    * sprintf.c (rb_str_format): backported from trunk.
    
    * intern.h: ditto.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 17, 2008
  1. * file.c (file_expand_path): no need to expand root path which has no

    knu committed Jun 17, 2008
      short file name.  [ruby-dev:35095]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 15, 2008
  1. * configure.in: Fix $LOAD_PATH. Properly expand vendor_ruby

    knu committed Jun 15, 2008
      directories; submitted by Takahiro Kambe <taca at
      back-street.net> in [ruby-dev:35099].
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 9, 2008
  1. patchlevel 17

    knu committed Jun 9, 2008
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * lib/set.rb (Set#delete_if): Call to_a.

    knu committed Jun 9, 2008
      (SortedSet#delete_if, TC_SortedSet#test_sortedset): Use super to
      yield elements in sorted order; [ruby-core:17144] by Arthur
      Schreiber.
      (SortedSet#each, SortedSet#each, TC_Set#test_each)
      (TC_SortedSet#test_sortedset): Return self; [ruby-dev:35002] by
      Arthur Schreiber.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 8, 2008
  1. Ignore config.status.lineno.

    knu committed Jun 8, 2008
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * ext/zlib/zlib.c (rb_deflate_initialize, Init_zlib): Fix up

    knu committed Jun 8, 2008
      initialize_copy; [ruby-list:45016], [ruby-list:45018].
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. * NEWS: Mention new constants.

    knu committed Jun 8, 2008
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. * hash.c (hash_i): make Hash#hash order insensitive.

    knu committed Jun 8, 2008
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. * configure.in (VENDOR_DIR): use LIBDIR instead of PREFIX as well as

    knu committed Jun 8, 2008
      SITE_DIR.  a patch from Richard Brown <rbrown AT exherbo.org> in
      [ruby-core:17129].
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. * io.c (rb_open_file, rb_io_s_sysopen): fmode should be unsigned int.

    knu committed Jun 8, 2008
      fixed [ruby-dev:34979]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 6, 2008
  1. Merge changes from ruby_1_8 that fixes build with Visual C++ 8 with

    knu committed Jun 6, 2008
    Winsock2.
    
    * win32/Makefile.sub (COMMON_HEADERS): include ws2tcpip.h.
    
    * ext/socket/addrinfo.h (addrinfo, getaddrinfo, getnameinfo,
      freehostent, freeaddrinfo): undef before define because these are
      macros in some versions of Windows SDK.
    
    * win32/setup.mak: maybe commit miss.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. Merge changes from ruby_1_8 to reduce warnings and potentially improve

    knu committed Jun 6, 2008
    security.
    
    * mkconfig.rb: hide build path from rbconfig.rb.
    
    * util.c (ruby_strtod, dtoa): initialize more variables for error
      handling.
    
    * io.c (rscheck), marshal.c (w_nbyte, w_bytes, w_unique),
      (path2class, path2module): constified.
    
    * pack.c (pack_unpack), process.c (rb_syswait): suppress warnings.
    
    * suppress warnings on cygwin, mingw and mswin.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. * file.c (file_expand_path): fix for non-existent files and SFN of

    knu committed Jun 6, 2008
      symlinks.  [ruby-talk:303736]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. * test/iconv: Tests fixed.

    knu committed Jun 6, 2008
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. I didn't mean to commit it all at once, but since subversion couldn't

    knu committed Jun 6, 2008
    be interrupted I just add these entries to ChangeLog.
    
    * win32/win32.h: include ws2tcpip.h. fixed [ruby-Bugs-20528]
    
    * lib/time.rb (Time.xmlschema): don't use float.  fix
      http://rubyforge.org/tracker/index.php?func=detail&group_id=426&atid=1698&aid=20504
    
    * object.c (rb_obj_alloc): RDoc updated.  a patch from Gaston
      Ramos <ramos.gaston at gmail.com> in [ruby-core:17073].
    
    * lib/rdoc.rb: massive spelling correction patch from Evan Farrar
      <evanfarrar at gmail.com> in [ruby-doc:1382] applied.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. * ext/openssl/ossl_ssl_session.c (ossl_ssl_session_initialize):

    knu committed Jun 6, 2008
      Add a null check for ssl; submitted by akira yamada
      in [ruby-dev:34950].
    
    * ext/openssl/ossl_ssl.c (Init_ossl_ssl): Define OP_NO_TICKET if
      SSL_OP_NO_TICKET is present; submitted by akira yamada
      in [ruby-dev:34944].
    
    * test/openssl/test_ssl.rb (OpenSSL#test_server_session): Add a
      workaround for the case where OpenSSL is configured with
      --enable-tlsext; submitted by akira yamada in [ruby-dev:34944].
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. * ext/iconv/iconv.c (iconv_iconv): fix for length argument and now

    knu committed Jun 6, 2008
      allows range.  [ruby-core:17092] [ruby-core:17115]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 4, 2008
  1. * NEWS: Fix typos and move misplaced entries.

    knu committed Jun 4, 2008
      NEWS: Somehow optflags and warnflags were not actually included
      in this release.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. Fix typos and move misplaced entries.

    knu committed Jun 4, 2008
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e