Commits on Nov 13, 2014
  1. @unak

    merge revision(s) 48402:

    	* lib/rexml/document.rb: add REXML::Document#document.
    	  reported by Tomas Hoger <thoger@redhat.com> and patched by nahi.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@48406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Nov 13, 2014
Commits on Oct 27, 2014
  1. @unak

    merge revision(s) 48161:

    	* lib/rexml/entity.rb: keep the entity size within the limitation.
    	  reported by Willis Vandevanter <will@silentrobots.com> and
    	  patched by nahi.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@48164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Oct 27, 2014
Commits on Oct 24, 2014
  1. @unak

    merge revision(s) 45274,45278,45280,48097: [Backport #9424]

    	* ext/openssl/lib/openssl/ssl-internal.rb (DEFAULT_PARAMS): override
    	  options even if OpenSSL::SSL::OP_NO_SSLv3 is not defined.
    	  this is pointed out by Stephen Touset. [ruby-core:65711] [Bug #9424]
    
    	* test/openssl/test_ssl.rb: Reuse TLS default options from
    	  OpenSSL::SSL::SSLContext::DEFAULT_PARAMS.
    
    	* lib/openssl/ssl-internal.rb: Explicitly whitelist the default
    	  SSL/TLS ciphers. Forbid SSLv2 and SSLv3, disable
    	  compression by default.
    	  Reported by Jeff Hodges.
    	  [ruby-core:59829] [Bug #9424]
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@48121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Oct 24, 2014
Commits on Sep 6, 2014
  1. * 2014-09-06

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@47430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Sep 6, 2014
  2. @zzak

    Backport r47425

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@47429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    zzak committed Sep 6, 2014
Commits on May 14, 2014
  1. @unak

    * common.mk: need to quote $BASERUBY because it may includes options.

      this change is only for release management, not bug fix.
      [Backport #9837] [ruby-dev:48218]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@45941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed May 14, 2014
Commits on Mar 31, 2014
  1. @unak

    merge revision(s) 45271: [Backport #9672]

    	* ext/openssl/ossl.c (ossl_make_error): check NULL for unknown
    	  error reasons with old OpenSSL, and insert a colon iff formatted
    	  message is not empty.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@45485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Mar 31, 2014
Commits on Feb 24, 2014
  1. @unak

    merge revision(s) 44878,44879: [Backport #9483]

    	* ext/ripper/lib/ripper/lexer.rb: [DOC] use lower case version of core
    	  classes when referring to return value, since we aren't directly
    	  talking about the class. Patch by Jonathan Jackson [Bug #9483]
    
    	* lib/open-uri.rb: [DOC] use lower case version of core classes, same
    	  as commit r44878, based on patch by Jonathan Jackson [Bug #9483]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@45158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 24, 2014
  2. @unak

    merge revision(s) 44584,44587,44945: [Backport #9243]

    	* ext/openssl/ossl_pkey_dh.c: Fixed typo by Sandor Szテシcs [Bug #9243]
    
    	* ext/openssl/ossl_pkey_dh.c: Fixed typo by Sandor Sz?cs [Bug #9243]
    
    	* ext/openssl/ossl_pkey_dh.c: Fixed typo by Sandor Szuecs [Bug #9243]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@45157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 24, 2014
  3. @unak

    merge revision(s) 44585: [Backport #9268]

    	* lib/net/smtp.rb: [DOC] Remove dead link to RAA by Giorgos Tsiftsis
    	  Fixes the following bugs: [Bug #9152] [Bug #9268] [Bug #9394]
    
    	* lib/open-uri.rb: ditto
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@45154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 24, 2014
Commits on Feb 22, 2014
  1. @unak

    merge revision(s) 45130: [Backport #9554]

    	* ext/io/console/console.c (console_dev): need read access for conout$
    	  because some functions need it.  [Bug#9554]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@45131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 22, 2014
  2. @unak

    * test/socket/test_unix.rb: 1.9.3 doesn't have IO::EAGAINWaitReadable.

      use IO::WaitReadable instead.  this fixes the test failure introduced
      at r45093.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@45095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 22, 2014
  3. @unak

    merge revision(s) 45066: [Backport #9550]

    	* ext/socket/ancdata.c (bsock_sendmsg_internal): only retry on error
    	  (bsock_recvmsg_internal): ditto
    
    	* test/socket/test_unix.rb: test above for infinite loop
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@45093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 22, 2014
  4. @unak

    merge revision(s) 45084: [Backport #9547]

    	* ext/socket/init.c (wait_connectable): break if the socket is
    	  writable to avoid infinite loops on FreeBSD and other platforms
    	  which conforms to SUSv3.  This problem cannot be reproduced with
    	  loopback interfaces, so it's hard to write test code.
    	  rsock_connect() and wait_connectable() are overly complicated, so
    	  they should be refactored, but I commit this fix as a workaround
    	  for the release of Ruby 1.9.3 scheduled on Feb 24.
    	  [ruby-core:60940] [Bug #9547]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@45092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 22, 2014
  5. @unak

    merge revision(s) 45076: [Backport #9535]

    	* class.c (rb_mod_init_copy): do nothing if copying self.
    	  [ruby-dev:47989] [Bug #9535]
    
    	* hash.c (rb_hash_initialize_copy): ditto.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@45091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 22, 2014
Commits on Feb 18, 2014
  1. @unak

    merge revision(s) 34605: [Backport #9351]

    	Set encoding as ASCII-8BIT. [Bug #6027]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@45040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 18, 2014
  2. @unak

    * ruby_atomic.h: fixed merge mistake of r44946. reported by ngoto at

      [ruby-dev:47980] [Backport #9530]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@45036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 18, 2014
Commits on Feb 17, 2014
  1. @unak

    merge revision(s) 43148,43149,43152: [Backport #8433]

    	* thread.c (terminate_atfork_i): fix locking mutexes not unlocked in
    	  forks when not tracked in thread.  [ruby-core:55102] [Bug #8433]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@45026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 17, 2014
Commits on Feb 14, 2014
  1. @unak

    * ext/socket: revert r44943 because it causes errors on some linux

      platforms.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 14, 2014
  2. @unak

    * configure.in (ARCH_FLAG): __sync_val_compare_and_swap_4 needs

      -march=i486 on at least linux gcc 4.1.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 14, 2014
  3. @unak

    merge revision(s) 43851,43882,43996:

    	* ruby_atomic.h: use __atomic builtin functions supported by GCC.
    	  __sync family are legacy functions now and it is recommended
    	  that new code use the __atomic functions.
    	  http://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html
    
    	* configure.in: check existence of __atomic functions.
    
    	* ruby_atomic.h: define ATOMIC_SIZE_CAS() with
    	  __atomic_compare_exchange_n() and refactoring.
    
    	* ruby_atomic.h (ATOMIC_PTR_EXCHANGE): atomic exchange function for
    	  a generic pointer.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 14, 2014
  4. @unak

    * ruby_atomic.h (ATOMIC_CAS): added.

    * signal.c (ruby_atomic_compare_and_swap): ATOMIC_CAS implementation
      for non-VC/gcc platform.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 14, 2014
  5. @unak

    merge revision(s) 44880: [Backport #9477]

    	* lib/resolv.rb: Ignore name servers which cause EAFNOSUPPORT on
    	  socket creation.
    	  Reported by Bjoern Rennhak.  [ruby-core:60442] [Bug #9477]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 14, 2014
  6. @unak

    merge revision(s) 44884: [Backport #9498]

    	* lib/resolv.rb (Resolv::DNS::Message::MessageDecoder): Raise
    	  DecodeError if no data before the limit.
    	  Reported by Will Bryant.  [ruby-core:60557] [Bug #9498]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 14, 2014
  7. @unak

    merge revision(s) 44514: [Backport #9374]

    	* ext/json/generator/depend: add build dependencies for json extension
    	  [Bug #9374] [ruby-core:59609]
    
    	* ext/json/parser/depend: ditto
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 14, 2014
  8. @unak

    merge revision(s) 44568: [Backport #9399]

    	* iseq.c (iseq_load): keep type_map to get rid of memory leak.
    	  based on a patch by Eric Wong at [ruby-core:59699].  [Bug #9399]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 14, 2014
  9. @unak

    merge revision(s) 44642: [Backport #9093]

    	* lib/resolv.rb (Resolv::DNS::Resource::TXT#data): Return concatenated
    	  string.
    	  Patch by Ryan Brunner.  [ruby-core:58220] [Bug #9093]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 14, 2014
  10. @unak

    merge revision(s) 44643: [Backport #9039]

    	* ext/socket: Avoid unnecessary ppoll/select on Linux.
    	  Patch by Eric Wong.  [ruby-core:57950] [Bug #9039]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 14, 2014
  11. @unak

    merge revision(s) 44772,44773: [Backport #9430]

    	benchmark/driver: avoid large alloc in driver process
    
    	* benchmark/driver: avoid large alloc in driver process
      [ruby-core:59869] [Bug #9430]
    	* benchmark/driver: avoid large alloc in driver process
    	  [ruby-core:59869] [Bug #9430]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 14, 2014
  12. @unak

    merge revision(s) 44731,44751: [Backport #8978]

    	* ext/fiddle/closure.c: use sizeof(*pcl) for correct sizeof value.
    	  [ruby-core:57599] [Bug #8978].  Thanks mame!
    
    	* ext/fiddle/closure.c: use sizeof(*pcl) for correct sizeof value.
    	  [ruby-core:57599] [Bug #8978].
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 14, 2014
  13. @unak

    merge revision(s) 44670,44671,44675: [Backport #8783]

    	thread_pthread.c: timer thread stack size
    
    	* thread_pthread.c (rb_thread_create_timer_thread): define the stack
      size for timer thread at compile time.
    	* thread_pthread.c (rb_thread_create_timer_thread): expand timer
    	  thread stack size to get rid of segfault on FreeBSD/powerpc64.
    	  based on the patch by Steve Wills at [ruby-core:59923].
    	  [ruby-core:56590] [Bug #8783]
    
    	* thread_pthread.c (rb_thread_create_timer_thread): fix for platforms
    	  where PTHREAD_STACK_MIN is a dynamic value and not a compile-time
    	  constant.  [ruby-dev:47911] [Bug #9436]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 14, 2014
  14. @unak

    merge revision(s) 44628: [Backport #9413]

    	* eval.c (rb_mod_s_constants): return its own constants for other
    	  than Module itself.  [ruby-core:59763] [Bug #9413]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 14, 2014
  15. @unak

    merge revision(s) 43942,43957,43975: [Backport #9187]

    	* hash.c (rb_hash_rehash): fix to free new st_table when exception
    	  is raised in do_hash(). [Bug #9187]
    
    	* hash.c (rb_hash_rehash): make temporary st_table under the control
    	  of GC. [Bug #9187]
    
    	* test/ruby/test_hash.rb: add a test for above.
    
    	* array.c (rb_hash_rehash): use hash_alloc() instead of rb_hash_new().
    	  [Bug #9187]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 14, 2014
  16. @unak

    merge revision(s) 42844,42845: [Backport #8865]

    	* lib/optparse.rb:  The Integer acceptable now allows binary and
    	  hexadecimal numbers per the documentation.  [ruby-trunk - Bug #8865]
    	  DecimalInteger, OctalInteger, DecimalNumeric now validate their input
    	  before converting to a number.  [ruby-trunk - Bug #8865]
    
    	* test/optparse/test_acceptable.rb:  Tests for the above, tests for all
    	  numeric acceptables for existing behavior.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 14, 2014
  17. @unak

    merge revision(s) 40848: [Backport #8425]

    	* lib/webrick/htmlutils.rb (WEBrick::HTMLUtils#escape): replace HTML
    	  meta chars even in non-ascii string.  [Bug #8425] [ruby-core:55052]
    
    	* lib/webrick/httputils.rb (WEBrick::HTTPUtils#{_escape,_unescape}):
    	  fix %-escape encodings.  [Bug #8425] [ruby-core:55052]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 14, 2014