Skip to content
Commits on Feb 16, 2012
  1. @nurse

    tags branches/ruby_1_9_3@r34641 as v1_9_3_125

    nurse committed
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_9_3_125@34643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @nurse

    * ext/dbm/extconf.rb: merge trunk's ext/dbm/extconf.rb and

    nurse committed
      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
  3. @nurse

    merge revision(s) 32730:

    nurse committed
    	* 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
  4. @nurse

    merge revision(s) 32731,32734,32738:

    nurse committed
    ------------------------------------------------------------------------
    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
Commits on Feb 15, 2012
  1. @nagachika

    merge revision(s) r32583:

    nagachika committed
    	* ChangeLog: fix typo
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @nurse

    merge revision(s) 34629,34630:

    nurse committed
    	* 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
  3. @nurse

    merge revision(s) 34626,34627:

    nurse committed
    	* 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
  4. * 2012-02-16

    svn committed
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. @marcandre

    merge revision(s) 34619:

    marcandre committed
        * 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
  6. @nobu

    merge revision(s) 34261,34351:

    nobu committed
    ------------------------------------------------------------------------
    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
  7. @nobu

    merge revision(s) r34564:

    nobu committed
    	* 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
  8. @nobu

    merge revision(s) r32855,r32857,r33493,r34554:

    nobu committed
    	* 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
  9. @nobu

    merge revision(s) 33866,33867:

    nobu committed
    ------------------------------------------------------------------------
    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
Commits on Feb 14, 2012
  1. @nurse

    merge revision(s) 34555: [Backport #5786]

    nurse committed
    	* 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
  2. @nurse

    merge revision(s) 32712,32718,32719: [Backport #6014]

    nurse committed
    	* 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
  3. @nurse

    merge revision(s) 32720: [Backport #6015]

    nurse committed
    	* 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
  4. @nurse

    merge revision(s) 32705,32717: [Backport #6016]

    nurse committed
    	* 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
  5. @nurse

    merge revision(s) 32640: [Backport #6017]

    nurse committed
    	* 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
  6. @nurse

    merge revision(s) 34415:

    nurse committed
    	* 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
  7. @unak

    merge revision(s) 33254:

    unak committed
    * 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
  8. @unak

    merge revision(s) 33902:

    unak committed
    * 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
  9. @unak

    merge revision(s) 33232:

    unak committed
    * 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
  10. @unak

    merge revision(s) 33500,33501:

    unak committed
    * 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
  11. @unak

    merge revision(s) 34395:

    unak committed
    * 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
  12. @nobu

    merge revision(s) 34589:

    nobu committed
    	* lib/test/unit/assertions.rb (build_message): skip escaped
    	  question marks.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Feb 13, 2012
  1. @nurse

    merge revision(s) 33935,33936,33987: [Backport #5702]

    nurse committed
    	* variable.c (set_const_visibility): Module#private_constant has
    	  changed the visibility of only the first argument.  Now it changes
    	  all of them.  [ruby-list:48558]
    
    	* test/ruby/test_module.rb: add a test for above.
    
    	* variable.c (set_const_visibility): print a warning when no argument
    	  is passwd to Module#private_constant.  [ruby-list:48558]
    
    	* vm_method.c (set_method_visibility): ditto for
    	  Module#private_class_method.
    
    	* variable.c (set_const_visibility): clear inine-cache when constant's
    	  visibility is modified. [ruby-dev:44929]
    
    	* test/ruby/test_module.rb (test_private_constants_clear_inlinecache):
    	  add test for it.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @nobu

    merge revision(s) 34576:

    nobu committed
    	* io.c (Init_IO): use directive hack to make ARGF documentable
    	  in other tools.  [ruby-core:42515][Bug #6007]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Feb 12, 2012
  1. @knu

    merge revision(s) 34355:

    knu committed
    	* misc/rdoc-mode.el (rdoc-imenu-create-index): Add imenu support
    	  to rdoc-mode.
    
    	* misc/rdoc-mode.el (rdoc-mode): Fix regexp patterns containing
    	  "\s " where CR/LF is not supposed to match.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @knu

    merge revision(s) 34333:

    knu committed
    	* misc/rdoc-mode.el (rdoc-mode): Add provide so that requiring
    	  this library succeeds.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. @knu

    merge revision(s) 34413:

    knu committed
    	* lib/tempfile.rb (Tempfile#unlink, Tempfile::Remover#call): Just
    	  call File.unlink and ignore ENOENT because existence check
    	  before unlinking does not help in terms of race condition.
    
    	* lib/tempfile.rb (Tempfile#unlink, Tempfile::Remover#call): My
    	  comment about thread safeness is obsolete.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. @knu

    merge revision(s) 34284:34286:

    knu committed
    	* lib/shellwords.rb: Fix rdoc markups.
    
    	* lib/shellwords.rb (Shellwords#shellsplit): Fix a bug where
    	  consecutive backslashes in double quotes are all removed except
    	  the one at the tail.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. @knu

    merge revision(s) 34166:

    knu committed
    	* lib/shellwords.rb (Shellwords#shellescape): Drop the //n flag
    	  that only causes warnings with no real effect.  [Bug #5637]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. @knu

    merge revision(s) 34568:

    knu committed
    	* tool/merger.rb (#default_merge_branch): Add support for
    	  Subversion 1.7 which adopted a whole new working directory
    	  structure.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. @nurse

    merge revision(s) 32527,32567: [Backport #6004]

    nurse committed
    	* vm_method.c (rb_add_method): should not call method_added hook
    	  for undef operation. [Bug #5015]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. @nurse

    merge revision(s) 32544: [Backport #6005]

    nurse committed
    	* regint.h (PLATFORM_UNALIGNED_WORD_ACCESS): Power PC does not
    	  allow unaligned word access.
    
    	* st.c (UNALIGNED_WORD_ACCESS): x86_64 allows unaligned word
    	  access as well as i386.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Something went wrong with that request. Please try again.