Permalink
Commits on Nov 27, 2012
  1. Install StdLib gems.

    committed Nov 26, 2012
  2. Add Rake's .gemspec.

    committed Nov 23, 2012
  3. Gemified Rake.

    committed Nov 23, 2012
  4. @eregon

    * NEWS: typos.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    eregon committed Nov 27, 2012
  5. @mrkn

    * bignum.c (bigdivrem): optimize the way to retry calculation of

      bigdivrem so that the calculation is started from the point where
      the last interruption was occurred.
    
    * bignum.c (bigdivrem1): ditto.
    
    * test/ruby/test_bignum.rb: add a test case for rb_bigdivrem in the
      case that an interruption is occurred during bigdivrem1 is running.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    mrkn committed Nov 27, 2012
  6. @ko1

    * vm.c (rb_vm_make_env_object): make Proc object if Env is possible

      to point block.
      [ruby-core:41038] [ruby-trunk - Bug #5634]
    * vm.c (rb_vm_make_proc): No need to make Proc object here.
    * bootstraptest/test_proc.rb: add tests.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    ko1 committed Nov 27, 2012
  7. * ruby_atomic.h (ATOMIC_CAS): added for Solaris and other platforms.

    * ruby_atomic.h, signal.c (NEED_RUBY_ATOMIC_OPS): renamed from
      NEED_RUBY_ATOMIC_EXCHANGE.
    * signal.c (ruby_atomic_compare_and_swap): naive, non-atomic
      compare-and-swap implementation only used for platforms without
      valid support for atomic operations.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    ngoto committed Nov 27, 2012
  8. @drbrain

    * lib/rdoc/*: Added --root option for building documentation outside

      the source directory.
    * test/rdoc/*:  ditto
    * common.mk (rdoc):  Added --root to rdoc rule
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    drbrain committed Nov 27, 2012
  9. @drbrain

    * test/rdoc/test_rdoc_ri_paths.rb: Fixed duplicate path bug which

      caused windows failures.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    drbrain committed Nov 27, 2012
  10. @drbrain

    * test/rdoc/test_rdoc_generator_darkfish.rb: Updated tests for windows

    * test/rdoc/test_rdoc_options.rb:  ditto
    * test/rdoc/test_rdoc_parser.rb:  ditto
    * test/rdoc/test_rdoc_rdoc.rb:  ditto
    * test/rdoc/test_rdoc_ri_driver.rb:  ditto
    * test/rdoc/test_rdoc_servlet.rb:  ditto
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    drbrain committed Nov 27, 2012
  11. @drbrain

    * common.mk (rdoc): Set --debug for rdoc generation in case of bugs

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    drbrain committed Nov 27, 2012
  12. @drbrain

    * lib/rdoc/rubygems_hook.rb: Updated for (upcoming) RubyGems 2

      import.
    * test/rdoc/test_rdoc_rubygems_hook.rb:  ditto
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    drbrain committed Nov 27, 2012
  13. @tenderlove

    reverting r37881

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    tenderlove committed Nov 27, 2012
  14. @authorNari

    * NEWS: add improvements of the garbage collector.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authorNari committed Nov 27, 2012
  15. @drbrain

    * lib/rdoc*: Updated to RDoc 4.0 (pre-release)

    * bin/rdoc:  ditto
    * test/rdoc:  ditto
    * NEWS:  Updated with RDoc 4.0 information
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    drbrain committed Nov 27, 2012
  16. @ko1

    * thread.c (rb_thread_terminate_all): retry broadcast only when

      an exception is raised.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    ko1 committed Nov 27, 2012
  17. @ko1

    * thread.c (rb_thread_terminate_all): broadcast terminate event

      not only an interrupt exception but any exceptions.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    ko1 committed Nov 27, 2012
  18. @kosaki

    * eval.c (ruby_cleanup): set thread status to THREAD_KILLED

      for preventing thr.raise.
    * test/ruby/test_thread.rb (test_main_thread_status_at_exit):
      test for the above.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    kosaki committed Nov 27, 2012
  19. @kosaki

    * thread.c (rb_thread_terminate_all): suppress a warning.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    kosaki committed Nov 27, 2012
  20. @kosaki

    * thread.c (thread_join): raises ThreadError if target therad

      is a main thread.
    * test/ruby/test_thread.rb (test_thread_join_main_thread):
      test for the above.
    * NEWS: news for the above.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    kosaki committed Nov 27, 2012
  21. @kosaki

    * thread.c (thread_join): raises ThreadError if target thread

      is a current thread.
    * test/ruby/test_thread.rb (test_thread_join_current):
      test for the above.
    * NEWS: news for the above.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    kosaki committed Nov 27, 2012
  22. @nobu

    * properties.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Nov 27, 2012
  23. @tenderlove

    * ext/fiddle/handle.c: Make Fiddle independent of DL, copy DL::Handle

      to Fiddle::Handle.
    * ext/fiddle/pointer.c: Make Fiddle independent of DL, copy
      DL::Pointer to Fiddle::Pointer.
    * test/fiddle/test_func.rb: relevent tests
    * test/fiddle/test_handle.rb: ditto
    * test/fiddle/test_pointer.rb: ditto
    * ext/dl/lib/dl/struct.rb: use Fiddle::Pointer if available
    * ext/fiddle/extconf.rb: check for dlfcn.h
    * ext/fiddle/fiddle.c: add constants for sizeof() things
    * ext/fiddle/fiddle.h: include dlfcn.h
    * ext/fiddle/function.c: expose a C function for creating new
      Fiddle::Function objects.
    * ext/fiddle/lib/fiddle.rb: include constants for dl backwards compat
    * ext/fiddle/lib/fiddle/function.rb: read the pointer from the
      function for dl backwards compat.
    * test/dl/test_callback.rb: check the addresses of the pointers rather
      than their types.
    * test/fiddle/helper.rb: remove dependency on dl
    * test/fiddle/test_closure.rb: ditto
    * test/fiddle/test_fiddle.rb: ditto
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    tenderlove committed Nov 27, 2012
  24. @nurse

    Suppress uninitialized variable warning with UNINITIALIZED_VAR()

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Nov 27, 2012
  25. @nobu

    extmk.rb: fix mixing mkmf.log

    * ext/extmk.rb (extmake): close mkmf.log for each libraries so that
      failure messages are not mixed.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Nov 27, 2012
  26. @nobu

    extconf.rb: git rid of post-1.8 feature

    * ext/digest/*/extconf.rb, ext/openssl/extconf.rb: get git rid of
      post-1.8 feature require_relative for cross compilation.
      [ruby-core:50160] [Bug #7439]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Nov 27, 2012
  27. @ko1

    * NEWS: add TracePont.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    ko1 committed Nov 27, 2012
Commits on Nov 26, 2012
  1. @ko1

    * vm_trace.c: rename TracePoint#file and TracePoint#line

      to TracePoint#path and TracePoint#lineno respectively.
      They are consistent to RubyVM::Backtrace::Location.
    * include/ruby/debug.h: ditto.
    * vm_core.h: ditto.
    * test/ruby/test_settracefunc.rb: ditto.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    ko1 committed Nov 26, 2012
  2. @kosaki

    * thread.c (rb_thread_terminate_all): broadcast eTerminateSignal

      again when Ctrl-C was pressed. [Feature #1952] [ruby-dev:39107]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    kosaki committed Nov 26, 2012
  3. @ko1

    * vm_core.h: add members to rb_trace_arg_t:

    * `klass_solved' represents klass and id is checked.
    * `line' represents line calculated from cfp.
    * `file' represents line calculated from cfp.
    * vm_trace.c: fix to use above data stractures.
      No need to calculate klass and id, line and file
      pairs for each trace points.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    ko1 committed Nov 26, 2012
  4. @kosaki

    * thread.c (rb_thread_terminate_all): add RUBY_VM_CHECK_INTS_BLOCKING().

      Otherwise the loop in this function behave as busy loop because
      native_sleep() return immediately when RUBY_VM_INTERRUPTED() is true.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    kosaki committed Nov 26, 2012
  5. @marcandre

    * array.c: Fix rdoc for Array#delete [#7437]

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    marcandre committed Nov 26, 2012
  6. @nobu

    string.c: suppress warning

    * string.c (rb_str_enumerate_bytes): suppress a uninitialized variable
      warning.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Nov 26, 2012