Permalink
Commits on Feb 21, 2012
  1. merge revision(s) 33326:

    	 warnings.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Feb 21, 2012
Commits on Feb 20, 2012
  1. * 2012-02-21

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Feb 20, 2012
  2. merge revision(s) 34712:

            * enumerator.c (enumerator_rewind): update the documentation.
              fixed: #6053
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    marcandre committed Feb 20, 2012
Commits on Feb 19, 2012
  1. merge revision(s) 33327:

    	* configure.in: ignore all warnings from an arbitrary
    	  header in /usr/local/include.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Feb 19, 2012
Commits on Feb 17, 2012
  1. merge revision(s) 34652:

    	* lib/mkmf.rb (create_header): log the content of header.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Feb 17, 2012
  2. merge revision(s) 34268:

    	* test/readline/test_readline.rb (test_completion_proc_empty_result):
    	  ensure clearance of Readline's line_buffer after the test.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Feb 17, 2012
  3. merge revision(s) 34255: [Backport #6035]

    	* test/readline/test_readline.rb (test_completion_proc_empty_result): rescue NoMemoryError.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Feb 17, 2012
  4. merge revision(s) 34115:

    	* test/readline/test_readline.rb (test_line_buffer__point): use
    	  lambda not to exit entire method by "return".  or "next" for
    	  proc.  [ruby-dev:45042] [Bug #5802]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Feb 17, 2012
  5. merge revision(s) 34644:

    	* ext/dbm/extconf.rb: check _DB_H_ macro unavailable except
    	  Berkeley DB library.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Feb 17, 2012
  6. merge revision(s) 34646:

    	* test/dbm/test_dbm.rb: fix skip condition for libgdbm 1.8.0 or prior.
    	  reported by Bohuslav Kabrda.
    	  [ruby-core:42685] [ruby-trunk - Bug #6036]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Feb 17, 2012
  7. merge revision(s) 34650:

    	* tool/transcode-tblgen.rb (import_ucm): don't use \h because the
    	  script should work with ruby 1.8.
    
    	* tool/enc-unicode.rb: ditto.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Feb 17, 2012
  8. Fix debug line of ext/dbm/extconf.rb in r34641. [Backport #6021]

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Feb 17, 2012
Commits on Feb 16, 2012
  1. * ext/dbm/extconf.rb: merge trunk's ext/dbm/extconf.rb and

      related functions of lib/mkmf.rb. [Backport #6021]
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Feb 16, 2012
  2. merge revision(s) 32730:

    	* configure.in (enable_pthread): use -pthread on OpenBSD without
    	  explicit option. patched by Jeremy Evans. [ruby-core:38572]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Feb 16, 2012
  3. merge revision(s) 32731,32734,32738:

    ------------------------------------------------------------------------
    r32731 | naruse | 2011-07-29 16:17:35 +0900 (Fri, 29 Jul 2011) | 3 lines
    
    Use setrlimit(NOFILE,1) on OpenBSD.
    
    Because on OpenBSD it freezes if limit=0.
    ------------------------------------------------------------------------
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Feb 16, 2012
Commits on Feb 15, 2012
  1. merge revision(s) r32583:

    	* ChangeLog: fix typo
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nagachika committed Feb 15, 2012
  2. merge revision(s) 34629,34630:

    	* cont.c (rb_fiber_reset_root_local_storage): add a new function to
    	  restore rb_thread_t::local_storage.
    
    	* cont.c (rb_obj_is_fiber): add a new function to tell finalizer to
    	  prevent fibers from destroy.
    
    	* gc.c (rb_objspace_call_finalizer): don't sweep fibers at finalizing
    	  objspace.
    
    	* internal.h (rb_fiber_reset_root_local_storage, rb_obj_is_fiber):
    	  add prototypes.
    
    	* vm.c (ruby_vm_destruct): reset main thread's local_storage before
    	  free main thread. rb_thread_t::local_storage is replaced by fiber's
    	  local storage when forked from fiber, and it should be already freed
    	  when the fiber was destroyed.
    
    	* test/ruby/test_fiber.rb (test_fork_from_fiber): add test for fork
    	  from fiber.
    	  when the fiber was destroyed. [ruby-core:41456] [Bug #5700]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Feb 15, 2012
  3. merge revision(s) 34626,34627:

    	* ext/fiddle/closure.c (callback): same as r34506.
    
    	* ext/fiddle/closure.c (callback): deal with unsinged integers.
    	  [ruby-core:42458][Bug #5991][Bug #6022]
    
    	* ext/fiddle/conversions.c (value_to_generic, generic_to_value):
    	  ditto.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Feb 15, 2012
  4. * 2012-02-16

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Feb 15, 2012
  5. merge revision(s) 34619:

        * lib/ostruct.rb: Simplify and fix rdoc.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    marcandre committed Feb 15, 2012
  6. merge revision(s) 34261,34351:

    ------------------------------------------------------------------------
    r34261 | nobu | 2012-01-10 15:52:24 +0900 (Tue, 10 Jan 2012) | 2 lines
    
    * gc.c (HEAP_OBJ_LIMIT): suppress narrowing down warning from gcc 4.2.
    
    ------------------------------------------------------------------------
    
    	* include/ruby/ruby.h (FIXNUM_P): simple flag should be int.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Feb 15, 2012
  7. merge revision(s) r34564:

    	* vm_eval.c (check_funcall):  Call respond_to? with matching arity for
    	  legacy single-argument implementations.  [ruby-trunk - Bug #6000]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Feb 15, 2012
  8. merge revision(s) r32855,r32857,r33493,r34554:

    	* vm_eval.c (check_funcall): try respond_to? first if redefined.
    	  [Bug #5158]
    
    	* test/ruby/test_object.rb: tests that respond_to? returns false.
    
    	* vm_eval.c (check_funcall): set array elements one-by-one to fix
    	  compile error with Fujitsu C Compiler 5.6 on Solaris 10 on Sparc.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Feb 15, 2012
  9. merge revision(s) 33866,33867:

    ------------------------------------------------------------------------
    r33866 | nobu | 2011-11-27 17:24:29 +0900 (Sun, 27 Nov 2011) | 1 line
    
    * configure.in: whitespace-cleanup.
    ------------------------------------------------------------------------
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Feb 15, 2012
Commits on Feb 14, 2012
  1. merge revision(s) 34555: [Backport #5786]

    	* compile.c (defined_expr): guard the whole expression.
    	  [ruby-dev:45021][Bug#5786]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Feb 14, 2012
  2. merge revision(s) 32712,32718,32719: [Backport #6014]

    	* ext/dl/cfunc.c (dlcfunc_mark), ext/dl/cptr.c (dlptr_mark):
    	  workaround to mark wrapped object.  this is not a true fix,
    	  because [Bug #4929] is caused by the interface design of DL.
    
    	* ext/dl/cptr.c (rb_dlptr_s_to_ptr): fix wrapping condition.
    
    	* ext/dl/cptr.c (rb_dlptr_s_to_ptr): fix wrapping condition.
    
    	* ext/dl/cptr.c (rb_dlptr_s_to_ptr): use rb_check_funcall.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Feb 14, 2012
  3. merge revision(s) 32720: [Backport #6015]

    	* ext/dl/cptr.c (rb_dlptr_aref, rb_dlptr_aset): check NULL pointer
    	  dereference.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Feb 14, 2012
  4. merge revision(s) 32705,32717: [Backport #6016]

    	* test/rinda/test_rinda.rb (test_remote_array_and_hash):
    	  add local variables to protect objects from GC. [ruby-dev:44253]
    	  [Bug #5104]
    
    	* test/rinda/test_rinda.rb: decrease the code that depends on timing.
    	  [Bug #372] [Bug #4160]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Feb 14, 2012
  5. merge revision(s) 32640: [Backport #6017]

    	* test/win32ole/test_err_in_callback.rb (test_err_in_callback): 
    	  skip test if ADODB.connection is not available.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Feb 14, 2012
  6. merge revision(s) 34415:

    	* parse.y (debug_lines, coverage): set file path encoding for coverage
    	  result.  [ruby-dev:44950]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Feb 14, 2012
  7. merge revision(s) 33254:

    * lib/rake/file_list.rb (Rake::FileList#egrep): there is no need to
      open files in binary mode.
      see more details in jimweirich/rake#74
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 14, 2012
  8. merge revision(s) 33902:

    * lib/rdoc/encoding.rb (RDoc::Encoding.read_file): fixup newline chars
      on Windows.
      see rdoc/rdoc#87
    
    * test/rdoc/test_rdoc_markup_pre_process.rb
      (TestRDocMarkupPreProcess#test_include_file, 
      TestRDocMarkupPreProcess#test_include_file_encoding_incompatible):
      follow above change.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 14, 2012
  9. merge revision(s) 33232:

    * test/rubygems/test_gem_commands_help_command.rb: Add one
      `require` because if run test-all with test/unit parallel
      running, sometimes this test fails by some constants not found.
      The error reason is some worker doesn't require the file needed by
      this test. This issue is related to [ruby-core:36168].
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 14, 2012
  10. merge revision(s) 33500,33501:

    * gc.c (rb_gc_set_params): set parameters always.
      [ruby-dev:44648] [Bug #5467]
    
    * gc.c (initial_params): pack in a struct.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 14, 2012
  11. merge revision(s) 34395:

    * test/irb/test_completion.rb: skip if cannot load irb/completion
      (maybe readline does not exist).
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Feb 14, 2012