join LocalBarrier

* test/ruby/lbtest.rb: needs to join the local barrier.

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

* test/ruby/test_hash.rb: use more descriptive assertions.

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c, marshal.c, object.c, variable.c: fix callback argument types
  of iterators.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: Qundef cannot be passed from st_foreach_check().


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c (st_foreach_safe): since table is not for VALUE, Qundef is
  not special value, so use 0 instead.  therefore this function can be
  applied to only st_table which 0 is invalid as keys, e.g., IDs.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* st.c (st_foreach_check): remove the entry by replacing with never
  when ST_DELETE.


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

* test/ruby/test_thread.rb (test_condvar_wait_deadlock_2): fix cleanup
  code which is never executed because of misplaced rescue.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* st.c (st_delete): use real_entries in st_delete for packed tables

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* st.c (st_foreach_check, st_foreach): remove ancient check.  This
  check are from initial ordered hash commit when first entry were
  created with entry->fore = entry->back = entry.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/openssl/ossl_x509cert.c: Fix doc typo.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: remove unnecessary checks for Qundef in hash iterations.
  since hash use st_foreach_check for iterations, such checks are
  needless.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/net/ftp.rb (read_timeout=, open_timeout=): supported timeout.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: do not allocate st_table when it is not necessary.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .gitignore: ignore generated file verconf.h.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c (hash_default_value): extract from rb_hash_aref(), to be
  shared with rb_hash_shift(), so that overriding Hash#default
  will be respected.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
use super in h.default

* test/ruby/test_hash.rb (TestHash#test_shift_none): super in
  singleton default method doesn't cause SystemStackError now.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler): dup to prevent
  @timeout_info's "can't add a new key into hash during iteration".

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