utc offset in seconds

* time.c (utc_offset_arg): utc offset can be precision in seconds.
  e.g. old Europe/Lisbon (c.f. [ruby-dev:40066])


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/bigdecimal/lib/bigdecimal/jacobian.rb (Jacobian#dfdxi):
  fix jacobian to get stuck in an infinite loop when a solution is not
  found due to forget to increment nRetry counter.
  Patch by alperakgun from github.com/shyouhei/ruby/pull/8

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/bigdecimal/lib/bigdecimal/jacobian.rb,
  ext/bigdecimal/lib/bigdecimal/newton.rb:
  fix documentation comments.
  Patch by alperakgun from github.com/shyouhei/ruby/pull/8

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/dl:  Added documentation.  Patch by Vincent Batts.
  [ruby-trunk - Bug #6496]


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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/dl/lib/dl/struct.rb (DL::CUnionEntity::size):  Fixed ::size to
  return the size of the union.
* test/dl/test_c_union_entity.rb:  Test for DL::CUnionEntity::size

Reviewed by Aaron Patterson


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/dl/lib/dl/struct.rb (DL::CUnionEntity#set_ctypes):  Refactored
  #set_types to reuse DL::CUnionEntity::size
* test/dl/test_c_union_entity.rb:  Added test

Reviewed by Aaron Paterson


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/dl/lib/dl/struct.rb (DL::CStructEntity::size):  Refactored ::size
  to remove unused variables and simplify using newer ruby features.
* test/dl/test_c_struct_entry.rb:  Test to validate refactoring

Reviewed by Aaron Patterson


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/dl/test_c_struct_entry.rb:  Removed duplicated test

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
vm.c: UNREACHABLE to suppress warnings

* vm.c (frame_info_{line_no,name,basename,filename,filepath}): add
  UNREACHABLE to suppress warnings.

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

* gc.c (os_obj_of_i): adjust indent.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* object.c (rb_equal):  Let Object be a link in #=== documentation.
  Patch by Zachary Scott.  [ruby-trunk - Feature #6518]


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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* object.c (Init_Object):  Restored Kernel documentation based on
  Pickaxe book documentation.  Patch by Zachary Scott.
  [ruby-trunk - Feature #6521]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/dl/lib/dl/struct.rb (DL::CStructEntity#set_ctypes):  Refactored
  #set_ctypes using newer ruby features to simplify its implementation.
* test/dl/test_c_struct_entry.rb (class DL):  Test to verify
  refactoring.

Reviewed by Aaron Patterson.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* array.c:  Updated Array documentation formatting.  Patch by Zachary
  Scott.  [ruby-trunk - Feature #6517]


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

* object.c (class_or_module_required): extract check for class or
  module.

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

* class.c (rb_class_boot): default origin to klass itself.
mark ancestors

* gc.c (gc_mark_children): chain superclass to mark ancestors if not
  prepended.