Skip to content
This repository
tag: v1_8_7_20

Jun 19, 2008

  1. Urabe, Shyouhei

    add tag v1_8_7_20

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_20@17463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored
  2. Urabe, Shyouhei

    * array.c (ary_new, rb_ary_initialize, rb_ary_store,

      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
    authored
  3. Urabe, Shyouhei

    add tag v1_8_7_20

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_20@17457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored

Jun 17, 2008

  1. Akinori MUSHA

    * file.c (file_expand_path): no need to expand root path which has no

      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
    authored

Jun 15, 2008

  1. Akinori MUSHA

    * configure.in: Fix $LOAD_PATH. Properly expand vendor_ruby

      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
    authored

Jun 09, 2008

  1. Akinori MUSHA

    patchlevel 17

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored
  2. Akinori MUSHA

    * lib/set.rb (Set#delete_if): Call to_a.

      (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
    authored

Jun 08, 2008

  1. Akinori MUSHA

    Ignore config.status.lineno.

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored
  2. Akinori MUSHA

    * ext/zlib/zlib.c (rb_deflate_initialize, Init_zlib): Fix up

      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
    authored
  3. Akinori MUSHA

    * NEWS: Mention new constants.

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored
  4. Akinori MUSHA

    * hash.c (hash_i): make Hash#hash order insensitive.

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored
  5. Akinori MUSHA

    * configure.in (VENDOR_DIR): use LIBDIR instead of PREFIX as well as

      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
    authored
  6. Akinori MUSHA

    * gc.c (os_obj_of): assure to not free the scanning heap.

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored
  7. Akinori MUSHA

    * io.c (rb_open_file, rb_io_s_sysopen): fmode should be unsigned int.

      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
    authored

Jun 06, 2008

  1. Akinori MUSHA

    Merge changes from ruby_1_8 that fixes build with Visual C++ 8 with

    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
    authored
  2. Akinori MUSHA

    Merge changes from ruby_1_8 to reduce warnings and potentially improve

    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
    authored
  3. Akinori MUSHA

    * file.c (file_expand_path): fix for non-existent files and SFN of

      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
    authored
  4. Akinori MUSHA

    * test/iconv: Tests fixed.

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored
  5. Akinori MUSHA

    I didn't mean to commit it all at once, but since subversion couldn't

    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
    authored
  6. Akinori MUSHA

    * ext/openssl/ossl_ssl_session.c (ossl_ssl_session_initialize):

      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
    authored
  7. Akinori MUSHA

    * ext/iconv/iconv.c (iconv_iconv): fix for length argument and now

      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
    authored

Jun 04, 2008

  1. Akinori MUSHA

    * NEWS: Fix typos and move misplaced entries.

      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
    authored
  2. Akinori MUSHA

    Fix typos and move misplaced entries.

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

Jun 03, 2008

  1. Akinori MUSHA

    * enumerator.c (enumerator_init_copy): Take care of

      initialize_copy as well as initialize.
    
    * test/ruby/test_enumerator.rb: Pull in the test suite for
      enumerator from trunk.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored
  2. Akinori MUSHA

    * enumerator.c (enumerator_allocate, enumerator_ptr): Properly

      detect if the object is initialized and raise error when
      appropriate.
      (enumerator_initialize): Fix a typo in rdoc. [ruby-core:17052]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored
  3. Akinori MUSHA

    * lib/erb.rb (ERB::Compiler::TrimScanner#scan_line): Fix a bug

      where tokens are not yilelded one by one.
      (ERB::Compiler::TrimScanner#explicit_trim_line): Fix without-
      strscan problems. [ruby_core:17028].
    
    * test/erb/test_erb.rb (TestERBCore#_test_01)
      (TestERBCore#test_02_safe_04): The expected value should come
      first for assert_equal().
      (TestERBCoreWOStrScan): Add test class for without-strscan.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored

Jun 02, 2008

  1. Akinori MUSHA

    * lib/delegate.rb (DelegateClass, Delegator#respond_to?):

      respond_to? must take optional second argument.  This was a
      latent bug exposed by a recent internal change of marshal.c to
      call respond_to? with a second argument; submitted by Jeremy
      Kemper <jeremy at bitsweat.net> in [ruby-core:17045].
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored

May 31, 2008

  1. Akinori MUSHA

    I don't understand what's happening here, but it seems something went

    wrong by a broken working directory.  Recover ruby_1_8_7 from v1_8_7.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored
  2. Akinori MUSHA

    Tag for 1.8.7.

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7@16730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored

May 27, 2008

  1. Akinori MUSHA

    Merge from ruby_1_8.

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored
  2. Akinori MUSHA

    Merge from ruby_1_8.

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored
  3. Akinori MUSHA

    Merge from ruby_1_8.

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored
  4. Akinori MUSHA

    Merge from ruby_1_8.

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored
  5. Akinori MUSHA

    Merge from ruby_1_8.

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored

May 26, 2008

  1. Akinori MUSHA

    Releasing as Ruby 1.8.7-preview4.

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored
Something went wrong with that request. Please try again.