readline.c: $SAFE 4

* ext/readline/readline.c (readline_s_delete_text): call rb_secure
  only if level 4 is allowed.  otherwise do nothing.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby/tes_io.rb (test_copy_stream_bigcontent_fpos): rename duplicated
  test method.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bignum.c (bigdivrem_mulsub): Extracted from bigdivrem1.
  (bigdivrem1): Use bary_add.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2013-07-23

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bignum.c (KARATSUBA_BALANCED): New macro.
  (TOOM3_BALANCED): Ditto.
  (bary_mul_balance_with_mulfunc): Use KARATSUBA_BALANCED and
  TOOM3_BALANCED.
  (rb_big_mul_balance): Relax a condition.
  (rb_big_mul_karatsuba): Use KARATSUBA_BALANCED.
  (rb_big_mul_toom3): Use TOOM3_BALANCED.
  (bary_mul_karatsuba_branch): Use KARATSUBA_BALANCED.
  (bary_mul_toom3_branch): Use TOOM3_BALANCED.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bignum.c (bary_mulsub_1xN): New function.
  (bary_mul_toom3): Use bary_mulsub_1xN.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/rubygems:  Import RubyGems from master as of commit b165260
* test/rubygems:  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/rexml/streamlistener.rb: [DOC] Fix examples in
  REXML::StreamListener#entitydecl patch by Ippei Obayashi [Bug #8665]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/openssl/ossl_asn1.c (asn1time_to_time):  Implement YYMMDDhhmmZ
  format for ASN.1 UTCTime.  [ruby-trunk - Bug #8664]
* test/openssl/test_asn1.rb:  Test for the above.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/drb/invokemethod.rb: [DOC] nodoc InvokeMethod18Mixin


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* sample/drb/README*.rdoc: [DOC] migrate DRb sample READMEs to rdoc


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* properties.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* properties.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c (heap_get_freeobj): clear slot->freelist here.
  This means that this slot doesn't have any free objects.
  And store this slot with objspace->heap.using_slot.
* gc.c (gc_before_sweep): restore objspace->freelist
  into objspace->heap.using_slot->freelist.
  This means that using_slot has free objects which are
  pointed from objspace->freelist.
* gc.c (gc_slot_sweep): do not need to clear slot->freelist.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c (gc_before_sweep): fix spacing.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread_native.h: added.
  Move native thread related lines from vm_core.h.
  And declare several functions "rb_nativethread_lock_*",
  manipulate locking.
* common.mk: add thread_native.h.
* thread.c: add functions "rb_nativethread_lock_*".
* thraed.c, thread_[pthread,win32].[ch]: rename rb_thread_lock_t
  to rb_nativethread_lock_t to make it clear that this lock is for
  native thraeds, not for ruby threads.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* properties.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/openssl/ossl.c: use system native (system provided)
  thread locking APIs added by last commit.
  This patch fixes [Bug #8386].
  "rb_mutex_*" APIs control only "Ruby" threads.
  Not for native threads.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread_pthread.h, thread_win32.h: rename rb_thread_id_t to
  rb_nativethread_id_t.
* thread_pthread.c, vm_core.h: use rb_nativethread_id_t.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread_native.h: add rb_nativethread_self() which returns
  current running native thread identifier.
* thread_[pthread|win32].c: implement rb_nativethread_self().



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e