Permalink
Commits on Nov 22, 2010
  1. Fri, 2 Jul 2010 14:35:10 +0000 usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe…

    shyouhei committed Nov 22, 2010
    …69b080e>
    
     merge revision(s) 28525:28568:
     ?\012
     	* file.c (ruby_find_basename, ruby_find_extname): split from
     	  rb_file_s_basename() and rb_file_s_extname().
    
    	* util.c (ruby_add_suffix): support arbitrary length of the suffix
    	  to get rid of the potential buffer overflow.
    	  reported by tarui.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org>
    ?\012
    merge from trunk (r28565)
    
    	* file.c (ruby_find_basename): set correct baselen.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org>
    ?\012
    merge from trunk (r28565)
    
    	* file.c (ruby_find_basename): set correct baselen.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org>
    
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@29855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. Wed, 23 Jun 2010 12:48:31 +0000 kosaki <kosaki@b2dd03c8-39d4-4d8f-98f…

    shyouhei committed Nov 22, 2010
    …f-823fe69b080e>
    
     merge revision(s) 28404,28595,28597:
     ?\012
     	* configure.in: avoid getcontext() overhead if possible.
     	  [ruby-core:27380][Bug #2553]
     	  Thanks, Joe Damato, Dan Peterson and Patrick Mohr.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org>
    ?\012
    	* configure.in: fix use_context condition inversion.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org>
    ?\012
    Fix changelog of revision 28595
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org>
    
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@29854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. Tue, 12 Jan 2010 21:54:47 +0000 nobu <nobu@b2dd03c8-39d4-4d8f-98ff-82…

    shyouhei committed Nov 22, 2010
    …3fe69b080e>
    
     merge revision(s) 26311
     ?\012
     * configure.in: check for if struct timezone is defined.
    
    * missing.h (struct timezone): define if not defined.
    
    * win32/win32.h (struct timezone): defined in the newer w32api.
      [ruby-core:27515]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org>
    
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@29853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Aug 16, 2010
  1. merge revision(s) 29002:

    shyouhei committed Aug 16, 2010
    	* 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@29006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. merge revision(s) 28997:

    shyouhei committed Aug 16, 2010
    	* 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@29002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jul 17, 2010
  1. patchlevel++

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

    matzbot committed Jul 17, 2010
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@28666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. * configure.in: Change AC_PREREQ from 2.58 to 2.60 because

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

    shyouhei committed Jun 23, 2010
    	* test/optparse/test_summary.rb: fixed superclass so that it run
    	  solely.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@28407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. merge revision(s) 25230:25229:

    shyouhei committed Jun 23, 2010
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@28406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 21, 2010
  1. merge revision(s) 26836:26859,26861,27921:

    shyouhei committed Jun 21, 2010
    	* 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@28367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 16, 2010
  1. merge revision(s) 23485:

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

    shyouhei committed Jun 16, 2010
    	* 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@28336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 10, 2010
  1. merge revision(s) 25342:

    shyouhei committed Jun 10, 2010
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@28249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * lib/webrick/httpstatus.rb (WEBrick::HTTPStatus::Status::initialize):

    shyouhei committed Jun 10, 2010
    	  accept 0 or more arguments. [ruby-core:28692]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@28248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. merge revision(s) 26159:

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

    shyouhei committed Jun 8, 2010
    	* 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@28227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. merge revision(s) 28192:

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

    shyouhei committed Jun 8, 2010
    	* configure.in: should replace COMMON_HEADERS if --with-winsock2 is
    	  specified.  [ruby-dev:41521]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@28223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. merge revision(s) 27983:

    shyouhei committed Jun 8, 2010
    	* 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@28222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. merge revision(s) 27799:27805:

    shyouhei committed Jun 8, 2010
    	* 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@28221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. merge revision(s) 27721:27725,27738:27740:

    shyouhei committed Jun 8, 2010
    	* 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@28220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. merge revision(s) 27720:

    shyouhei committed Jun 8, 2010
    	* regex.c (read_special): get rid of overrun.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@28219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. merge revision(s) 27688:

    shyouhei committed Jun 8, 2010
    	* lib/net/imap.rb: backported exception handling from trunk.
    	  [ruby-core:29745]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@28218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. merge revision(s) 27665:

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

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

    shyouhei committed Jun 8, 2010
    	* 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@28215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  12. merge revision(s) 27487:

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

    shyouhei committed Jun 8, 2010
    	* 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@28213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  14. merge revision(s) 27404:

    shyouhei committed Jun 8, 2010
    	* file.c (rb_file_s_extname): skip last directory separators.
    	  [ruby-core:29627]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@28212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  15. merge revision(s) 27400:

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

    shyouhei committed Jun 8, 2010
    	* eval.c (search_required): expand home relative path first.
    	  [ruby-core:29610]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@28210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  17. merge revision(s) 27394:27397:

    shyouhei committed Jun 8, 2010
    	* lib/timeout.rb (Timeout#timeout): propagate errors to the
    	  caller.  [ruby-dev:41010]'
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@28209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  18. merge revision(s) 27374,27512:

    shyouhei committed Jun 8, 2010
    	* 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@28208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e