Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: ruby_1_9_3
Commits on Feb 14, 2014
  1. @unak

    merge revision(s) 41215,41216,41217: [Backport #8627]

    unak authored
    	* ext/socket/raddrinfo.c (nogvl_getaddrinfo): work around for Ubuntu
    	  13.04's getaddrinfo issue with mdns4. [ruby-list:49420]
    
    	* ext/socket/raddrinfo.c (nogvl_getaddrinfo): Add missing return
    	  value assignment.
    
    	* ext/socket/raddrinfo.c (nogvl_getaddrinfo): Fix indent.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @unak

    * lib/thread.rb (SizedQueue#clear): wake waiting threads when called.

    unak authored
      [Bug #9342] [ruby-core:59462]
    
    * test/thread/test_queue.rb: add a test for above.
    
    patched by Justin Collins.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Feb 6, 2014
  1. @unak

    * configure.in (POSTLINK): sign built program using RUBY_CODESIGN

    unak authored
      identity.
      [Backport #9491]
    
    * Makefile.in (PROGRAM): ditto.
    
    * Makefile.in (LIBRUBY_SO): ditto.
    
    * lib/mkmf.rb (LINK_SO): sign extensions too.  replace empty line with
      default command.
    
    * enc/depend (link_so): prefix $(Q) for each commands.
    
    * tool/mkconfig.rb: restore embedded newlines.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Feb 5, 2014
  1. @unak

    merge revision(s) 44803: [Backport #9485]

    unak authored
    	* string.c (rb_str_modify_expand): enable capacity and disable
    	  assocation with packed objects when setting capa, so that
    	  pack("p") string fails to unpack properly after modified.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @unak

    merge revision(s) 44790: [Backport #9472]

    unak authored
    	* io.c (rb_io_syswrite): add RB_GC_GUARD
    	  [Bug #9472][ruby-core:60407]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. @unak

    merge revision(s) 37905: [Backport #8757]

    unak authored
    	* configure.in (opt-dir): don't use non portable flag -E of sed.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 31, 2014
  1. @unak

    fixed merge mistake at r44766.

    unak authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 30, 2014
  1. @unak

    merge revision(s) 44184: [Backport #9247]

    unak authored
    	* ext/socket/lib/socket.rb: Don't test $! in "ensure" clause because
    	  it may be set before the body.
    	  Reported by ko1 and mrkn.  [ruby-core:59088] [Bug #9247]
    
    	* lib/cgi/core.rb: Ditto.
    
    	* lib/drb/ssl.rb: Ditto.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @unak

    merge revision(s) 40534,41886,41903,41910: [Backport #8616]

    unak authored
    	process.c: rb_daemon should not raise
    
    	* process.c (rb_daemon): should not raise exceptions, since
      proc_daemon() will deal with errors.
    	* process.c (fork_daemon): kill the other threads all and abandon the
    	  kept mutexes.
    
    	* process.c (fork_daemon): kill the other threads all and abandon the
    	  kept mutexes.
    
    	* process.c (rb_daemon): daemon(3) is implemented with fork(2).
    	  Therefore it needs rb_thread_atfork(). (and revert r41903)
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. @unak

    * ruby_atomic.h (ATOMIC_PTR_EXCHANGE): fixed previous commit.

    unak authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. @unak

    merge revision(s) 43994,44000: [Backport #9205]

    unak authored
    	* gc.c (finalize_deferred): flush all deferred finalizers while other
    	  finalizers can get ready to run newly by lazy sweep.
    	  [ruby-core:58833] [Bug #9205]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. @unak

    merge revision(s) 33361,33460: [Backport #9463]

    unak authored
    	* gc.c (slot_sweep, rb_gc_finalize_deferred)
    	  (rb_objspace_call_finalizer, rb_gc): run finalizers
    	  sequencially.  [ruby-dev:44562]
    
    	* gc.c (rb_gc_finalize_deferred, rb_objspace_call_finalizer):
    	  should use ATOMIC_EXCHANGE() to check the previous value.
    	  [ruby-dev:44596] [Bug #5439]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. @unak

    1.9.3 does not have rb_exc_new_str(). use rb_exc_new3() instead of it.

    unak authored
    this fixes the test failures introduced by previous commit.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. @unak

    merge revision(s) 44570:44572,44581:

    unak authored
    	r44570 | nobu | 2014-01-12 17:11:32 +0900 (Sun, 12 Jan 2014) | 4 lines
    
    	tcltklib.c: create_ip_exc format argument
    
    	* ext/tk/tcltklib.c (create_ip_exc): format argument must not be a
      dynamic string, not to contain unescaped %.
    	------------------------------------------------------------------------
    	r44571 | nobu | 2014-01-12 17:11:34 +0900 (Sun, 12 Jan 2014) | 5 lines
    
    	stubs.c: library name strings
    
    	* ext/tk/stubs.c (ruby_open_tcl_dll, ruby_open_tk_dll): make library
      names by string literal concatenation at compilation time, not by
      sprintf() at runtime.
    	------------------------------------------------------------------------
    	r44572 | nobu | 2014-01-12 17:11:36 +0900 (Sun, 12 Jan 2014) | 1 line
    
    	ext: use rb_sprintf() and rb_vsprintf() with PRIsVALUE
    	* ext/bigdecimal/bigdecimal.c (CLASS_NAME): macro to wrap
    	  depending on PRIsVALUE for 1.9.  [Backport #9406]
    
    	* ext/bigdecimal/bigdecimal.c (DECIMAL_SIZE_OF_BITS): fallback
    	  definition for 2.1 or older.  [ruby-core:59750] [Backport #9406]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 29, 2014
  1. @unak

    * enumerator.c: include internal.h instead of declaring the external

    unak authored
      function there.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @unak

    * enumerator.c (enumerator_with_index_i): add the declaration of

    unak authored
      rb_int_succ().  this fixes test failure on OS X introduced at r44745.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. @unak

    merge revision(s) 44086,44126: [Backport #9221]

    unak authored
    	* ext/date/date_parse.c (parse_time): unset case-insensitive flag
    	  for [:alpha:], which already implies both cases, to get rid of
    	  backtrack explosion.  [ruby-core:58876] [Bug #9221]
    
    	* ext/date/date_strptime.c (date__strptime_internal): unset
    	  case-insensitive flag for [:alpha:], which already implies both
    	  cases, to get rid of backtrack explosion.  [ruby-core:58984]
    	  [Bug #9221]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. @unak

    merge revision(s) 39722,43929: [Backport #9178]

    unak authored
    	* enumerator.c (enumerator_with_index): try to convert given offset to
    	  integer. fix bug introduced in r39594.
    
    	* enumerator.c (enumerator_with_index): should not store local variable
    	  address to memoise the arguments.  it is invalidated after the return.
    	  [ruby-core:58692] [Bug #9178]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. @unak

    merge revision(s) 39594,39596: [Backport #8010]

    unak authored
    	* enumerator.c (enumerator_with_index_i): allow Bignum as offset, to
    	  get rid of conversion exception and integer overflow.
    	  [ruby-dev:47131] [Bug #8010]
    
    	* enumerator.c (enumerator_with_index):  Restore handling of a nil memo
    	  from r39594.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. @unak

    merge revision(s) 43398,43407,43408,43417: [Backport #9044]

    unak authored
    	* win32/Makefile.sub (config.h): VC 2013 supports C99 mathematics
    	  functions.  [ruby-core:57981] [Bug #9044]
    
    	* include/ruby/win32.h (rb_infinity_float): suppress overflow in
    	  constant arithmetic warnings.  [ruby-core:57981] [Bug #9044]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. @unak

    merge revision(s) 43208: [Backport #9003]

    unak authored
    	* compar.c (cmp_eq): fail if recursion.  [ruby-core:57736] [Bug #9003]
    
    	* thread.c (rb_exec_recursive_paired_outer): new function which is
    	  combinnation of paired and outer variants.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. @unak

    merge revision(s) 43954: [Backport #9125]

    unak authored
    	* lib/net/smtp.rb (Net::SMTP#critical):  Always return a
    	  Net::SMTP::Response.  Patch by Pawel Veselov.
    	  [ruby-trunk - Bug #9125]
    
    	* test/net/smtp/test_smtp.rb:  Test for the above.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. @unak

    merge revision(s) 43685,43690,43705: [Backport #9110]

    unak authored
    	* eval_jump.c (rb_exec_end_proc): fix double free or corruption error
    	  when reentering by callcc. [ruby-core:58329] [Bug #9110]
    
    	* test/ruby/test_beginendblock.rb: test for above.
    
    	* eval_jump.c (rb_exec_end_proc): unlink and free procs data before
    	  calling for each procs.  [Bug #9110]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  10. @unak

    merge revision(s) 44312,44318,44321: [Backport #9273]

    unak authored
    	* lib/resolv.rb (Resolv::Hosts#lazy_initialize): should not
    	  consider encodings in hosts file.  [ruby-core:59239] [Bug #9273]
    
    	* lib/resolv.rb (Resolv::Config.parse_resolv_conf): ditto.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  11. @unak

    merge revision(s) 44195: [Backport #7772]

    unak authored
    	* util.c (ruby_qsort): fix potential stack overflow on a large
    	  machine.  based on the patch by Conrad Irwin <conrad.irwin AT
    	  gmail.com> at [ruby-core:51816].  [Bug #7772]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  12. @unak

    merge revision(s) 44449: [Backport #9308]

    unak authored
    	* parse.y (local_push_gen, local_pop_gen): save cmdarg_stack to
    	  isolate command argument state from outer scope.
    	  [ruby-core:59342] [Bug #9308]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  13. @unak

    merge revision(s) 39276: [Backport #7825]

    unak authored
    	* vm.c (rb_thread_mark): mark a working Proc of bmethod
    	  (a method defined by define_method) even if the method was removed.
    	  We could not trace working Proc object which represents the body
    	  of bmethod if the method was removed (alias/undef/overridden).
    	  Simply, it was mark miss.
    	  This patch by Kazuki Tsujimoto. [Bug #7825]
    	  NOTE: We can brush up this marking because we do not need to mark
    	  `me' on each living control frame. We need to mark `me's
    	  only if `me' was free'ed. This is future work after Ruby 2.0.0.
    
    	* test/ruby/test_method.rb: add a test.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  14. @unak

    merge revision(s) 39388: [Backport #9368]

    unak authored
    	* lib/rexml/document.rb (REXML::Document.entity_expansion_text_limit):
    	  fix a typo in comment in r39384.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 9, 2014
  1. @unak

    merge revision(s) 44488,44489: [Backport #9341]

    unak authored
    	* test/net/imap/cacert.pem: generate new CA cert, since the last one
    	  expired. [Bug #9341] [ruby-core:59459]
    
    	* test/net/imap/server.crt: new server cert signed with updated CA.
    
    	* test/net/imap/Makefile: add `make regen_certs` to automate this
    	  process.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 22, 2013
  1. @unak

    merge revision(s) 37388: [Backport #9232]

    unak authored
    	* process.c (redirect_dup2): set standard handles when new fd is stdio,
    	  because if there is no allocated console at the moment Windows does
    	  not automatically associate it for child process's standard handle.
    	  this is adhoc workaround.
    	  reported by Martin Thiede at [ruby-core:48542] [Bug #7239].
    
    	* io.c (rb_cloexec_dup2): ditto.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @unak

    * object.c (rb_obj_clone): protect FL_MARK of a dest object. A lazy

    unak authored
      sweeper free up a dest object if a marker is invoked immediately
      following allocate a dest object in rb_obj_alloc().
      [Backport #9206]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. @unak

    merge revision(s) 43923,43925: [Backport #9182]

    unak authored
    	* ext/tk/lib/tkextlib/tktable/tktable.rb: fix bug on arguments for Proc object.
    
    	* ext/tk/sample/scrollframe.rb: forgot a Module definition.
    
    	* ext/tk/extconf.rb: check unsupported version of tclConfig.sh/tkConfig.sh. It is because current Ruby/Tk doesn't support Tcl/Tk8.6.
    
    	* ext/tk/extconf.rb: change search step of Tcl/Tk libraries.
    
    	* ext/tk/lib/tk/namespace.rb: instance_exec() cannot accept a script string.
    
    	* ext/tk/lib/tk/msgcat.rb: bug fix on treating encodings. Now, ext/tk/sample/tkmsgcat-load_rb*.rb will work.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. @unak

    * lib/rubygems.rb: 1.8.23.2.

    unak authored
      [ruby-core:58757] [Backport#9193] reported by Jeremy Evans and patched
      by Eric Hodel.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Nov 22, 2013
  1. @unak

    merge revision(s) 43780:

    unak authored
    * util.c (ruby_strtod): BigMath requires more precision.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@43782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @unak

    merge revision(s) 43775:

    unak authored
    * util.c (ruby_strtod): ignore too long fraction part, which does not
      affect the result.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@43776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Something went wrong with that request. Please try again.