Commits on Aug 16, 2010
  1. @shyouhei

    add tag v1_8_7_302

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_8_7_302@29007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 16, 2010
  2. @shyouhei

    merge revision(s) 29002:

    	* lib/webrick/httpresponse.rb (WEBrick::HTTPResponse#set_error):
    	  Fix for possible cross-site scripting (CVE-2010-0541). 
    	  Found by Apple, reported by Hideki Yamane.
    	  Patch by Hirokazu Nishio <nishio.hirokazu AT gmail.com>.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@29006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 16, 2010
  3. @shyouhei

    merge revision(s) 28997:

    	* lib/webrick/httpresponse.rb (WEBrick::HTTPResponse#set_error):
    	  Fix for possible cross-site scripting (CVE-2010-0541). 
    	  Found by Apple, reported by Hideki Yamane.
    	  Patch by Hirokazu Nishio <nishio.hirokazu AT gmail.com>.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@29002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 16, 2010
Commits on Jul 17, 2010
  1. @shyouhei

    patchlevel++

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jul 17, 2010
  2. * 2010-07-17

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Jul 17, 2010
  3. @kosaki

    * configure.in: Change AC_PREREQ from 2.58 to 2.60 because

    	  AC_CASE macro require 2.60 or later. Thanks, Mitsuru SHIMAMURA.
    	  [Bug #3579] [ruby-dev:41856]
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    kosaki committed Jul 17, 2010
Commits on Jun 23, 2010
  1. @shyouhei

    merge revision(s) 28387:

    	* test/optparse/test_summary.rb: fixed superclass so that it run
    	  solely.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 23, 2010
  2. @shyouhei

    merge revision(s) 25230:25229:

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 23, 2010
Commits on Jun 21, 2010
  1. @shyouhei

    merge revision(s) 26836:26859,26861,27921:

    	* ext/openssl/ossl_ssl_session.c
    	  (ossl_ssl_session_{get,set}_time{,out}): fixed a bug introduced by
    	  backporting. (see [ruby-dev:40573])  use long in according to
    	  OpenSSL API. (SSL_SESSION_{get,set}_time{,out})
    	* ext/openssl/ossl_x509name.c: added X509::Name#hash_old as a wrapper
    	  for X509_NAME_hash_old in OpenSSL 1.0.0.
    	* test/openssl/test_x509name.rb (test_hash): make test pass with
    	  OpenSSL 1.0.0.
    	* test/openssl/test_x509*: make tests pass with OpenSSL 1.0.0b5.
    	  * PKey::PKey#verify raises an exception when a given PKey does not
    	    match with signature.
    	  * PKey::DSA#sign accepts SHA1, SHA256 other than DSS1.
    	* backport the commit from trunk:
    	  Sun Feb 28 11:49:35 2010  NARUSE, Yui  <naruse@ruby-lang.org>
    	* openssl/ossl.c (OSSL_IMPL_SK2ARY): for OpenSSL 1.0.
    	  patched by Jeroen van Meeuwen at [ruby-core:25210]
    	  fixed by Nobuyoshi Nakada [ruby-core:25238],
    	  Hongli Lai [ruby-core:27417],
    	  and Motohiro KOSAKI [ruby-core:28063]
    	* ext/openssl/ossl_ssl.c (ossl_ssl_method_tab),
    	  (ossl_ssl_cipher_to_ary): constified.
    	* ext/openssl/ossl_pkcs7.c (pkcs7_get_certs, pkcs7_get_crls):
    	  split pkcs7_get_certs_or_crls.
    	* test/openssl/test_ec.rb: added test_dsa_sign_asn1_FIPS186_3. dgst is
    	  truncated with ec_key.group.order.size after openssl 0.9.8m for
    	  FIPS 186-3 compliance.
    	  WARNING: ruby-openssl aims to wrap an OpenSSL so when you're using
    	  openssl 0.9.8l or earlier version, EC.dsa_sign_asn1 raises
    	  OpenSSL::PKey::ECError as before and EC.dsa_verify_asn1 just returns
    	  false when you pass dgst longer than expected (no truncation
    	  performed).
    	* ext/openssl/ossl_pkey_ec.c: rdoc typo fixed.
    	* ext/openssl/ossl_config.c: defined own IMPLEMENT_LHASH_DOALL_ARG_FN_098
    	  macro according to IMPLEMENT_LHASH_DOALL_ARG_FN in OpenSSL 0.9.8m.
    	  OpenSSL 1.0.0beta5 has a slightly different definiton so it could
    	  be a temporal workaround for 0.9.8 and 1.0.0 dual support.
    	* ext/openssl/ossl_pkcs5.c (ossl_pkcs5_pbkdf2_hmac): follows function
    	  definition in OpenSSL 1.0.0beta5. PKCS5_PBKDF2_HMAC is from 1.0.0
    	  (0.9.8 only has PKCS5_PBKDF2_HMAC_SHA1)
    	* ext/openssl/ossl_ssl_session.c (ossl_ssl_session_eq): do not use
    	  SSL_SESSION_cmp and implement equality func by ousrself.  See the
    	  comment.
    	* ext/openssl/extconf.rb: check some functions added at OpenSSL 1.0.0.
    	* ext/openssl/ossl_engine.c (ossl_engine_s_load): use engines which
    	  exists.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 21, 2010
Commits on Jun 16, 2010
  1. @shyouhei

    merge revision(s) 23485:

    	* lib/pathname.rb (Pathname#sub): suppress a warning.
    	  [ruby-dev:38488]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 16, 2010
  2. @shyouhei

    merge revision(s) 26344,27367:

    	* lib/net/http.rb (Net::HTTPHeader#{content_range,range_length}):
    	  use inclusive range same as the header representation.
    	* test/webrick/utils.rb (TestWEBrick#start_server): add log for
    	  test_filehandler.rb
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 16, 2010
Commits on Jun 10, 2010
  1. @shyouhei

    merge revision(s) 25342:

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 10, 2010
  2. @shyouhei

    * lib/webrick/httpstatus.rb (WEBrick::HTTPStatus::Status::initialize):

    	  accept 0 or more arguments. [ruby-core:28692]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 10, 2010
  3. @shyouhei

    merge revision(s) 26159:

    	* eval.c (rb_load): initialize orig_func.   [ruby-core:27296]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 10, 2010
Commits on Jun 8, 2010
  1. @shyouhei

    * win32/Makefile.sub (config.status): no need to embbed manifest if …

    …not exist.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 8, 2010
  2. @shyouhei

    merge revision(s) 28193:

    	* include/ruby/win32.h: include errno.h before defining errnos.
    	* include/ruby/win32.h: check definition existance before defining
    	  errno macros.
    	* win32/win32.c (errmap): define winsock errors mappings.
    	  these are VC++10 support, merge from trunk (r27236, r27258).
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 8, 2010
  3. @shyouhei

    merge revision(s) 28192:

    	* regexp.c (re_compile_pattern): allow zero times match for
    	  non-greedy range repeatation. [ruby-core:30613]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 8, 2010
  4. @shyouhei

    merge revision(s) 28144:

    	* configure.in: should replace COMMON_HEADERS if --with-winsock2 is
    	  specified.  [ruby-dev:41521]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 8, 2010
  5. @shyouhei

    merge revision(s) 27983:

    	* io.c, eval.c, process.c: remove all condition of r26371.
    	  now, all platform use the same way. [Bug #3278][ruby-core:30167]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 8, 2010
  6. @shyouhei

    merge revision(s) 27799:27805:

    	* ext/iconv/iconv.c (rb_iconv_sys_fail): fix number of arguments.
    	  a patch by Masaya TARUI <tarui AT prx.jp>.
    	* ext/iconv/iconv.c (rb_iconv_sys_fail): raise BrokenLibrary if
    	  errno is not set.  [ruby-dev:41317]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 8, 2010
  7. @shyouhei

    merge revision(s) 27721:27725,27738:27740:

    	* pack.c: backport integer pack/unpack from 1.9 for [ruby-core:21937].
    	* configure.in: backport RUBY_DEFINT and fixed size integer checks.
    	* ruby.h: include stdint.h if available.
    	* bignum.c (rb_big_pack): defined..
    	  (rb_big_unpack): defined.
    	* intern.h (rb_big_pack): declared.
    	  (rb_big_unpack): declared.
    	* pack.c (pack_pack): call rb_quad_pack to preserve RangeError.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 8, 2010
  8. @shyouhei

    merge revision(s) 27720:

    	* regex.c (read_special): get rid of overrun.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 8, 2010
  9. @shyouhei

    merge revision(s) 27688:

    	* lib/net/imap.rb: backported exception handling from trunk.
    	  [ruby-core:29745]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 8, 2010
  10. @shyouhei

    merge revision(s) 27665:

    	* ext/bigdecimal/bigdecimal.c (VpAlloc): ensure buf does not get
    	  collected.  based on a patch masaya tarui at [ruby-dev:41213].
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 8, 2010
  11. @shyouhei

    merge revision(s) 27547:

    	* lib/thwait.rb (ThreadsWait#join): refined rdoc again.
    	  [ruby-core:29863] [ruby-dev:41092]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 8, 2010
  12. @shyouhei

    merge revision(s) 27490:

    	* lib/net/imap.rb (fetch_internal): do not quote message data item
    	  names.  Thanks, Eric Hodel.  [ruby-core:23508]  backported form
    	  trunk.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 8, 2010
  13. @shyouhei

    merge revision(s) 27487:

    	* lib/net/imap (encode_utf7): encode & properly.  Thanks, Kengo
    	  Matsuyama.  [ruby-dev:38063]  backported from trunk.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 8, 2010
  14. @shyouhei

    merge revision(s) 27459:

    	* ext/win32ole/win32ole.c (ole_val2variant): fix the core dump
    	  when converting Array object to VT_ARRAY variant. [ruby-core:28446]
    	  [Bug #2836]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 8, 2010
  15. @shyouhei

    merge revision(s) 27404:

    	* file.c (rb_file_s_extname): skip last directory separators.
    	  [ruby-core:29627]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 8, 2010
  16. @shyouhei

    merge revision(s) 27400:

    	* lib/fileutils.rb (FileUtils::cp_r): dup needed here; options are
    	  destroyed otherwise.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 8, 2010
  17. @shyouhei

    merge revision(s) 27398:

    	* eval.c (search_required): expand home relative path first.
    	  [ruby-core:29610]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 8, 2010
  18. @shyouhei

    merge revision(s) 27394:27397:

    	* lib/timeout.rb (Timeout#timeout): propagate errors to the
    	  caller.  [ruby-dev:41010]'
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 8, 2010
  19. @shyouhei

    merge revision(s) 27374,27512:

    	* lib/net/smtp.rb (Net::SMTP#rcptto_list): continue when at least
    	  one RCPT is accepted.  based on a patch from Kero van Gelder at
    	  [ruby-core:26190].
    	* lib/net/smtp.rb (Net::SMTP#rcptto_list): fixed typo.
    	  [ruby-core:29809]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 8, 2010
  20. @shyouhei

    merge revision(s) 27321:

    	* LEGAL: separated the section for parse.c.  contributed by Paul
    	  Betteridge in [ruby-core:29472].
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 8, 2010
  21. @shyouhei

    merge revision(s) 27087:

    	* ext/rational/lib/rational.rb: fix [Bug #1397].
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 8, 2010