Permalink
Commits on Jun 14, 2011
  1. * ext/tk/tcltklib.c (lib_eventloop_core): revert the last change (it's

      the part for ruby_1_8), and use rb_thread_check_ints() when RUBY_VM
      is defined.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nagai committed Jun 14, 2011
  2. * benchmark/bm_vm3_thread_*.rb: renamed bm_vm3_thread_*.rb to

      benchmark/bm_vm_thread_*.rb.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    ko1 committed Jun 14, 2011
  3. * benchmark/bm_vm4_thread_pass.rb: rename bm_vm4* to

      bm_vm_thread_*. suggested by ko1.
    * benchmark/bm_vm4_pipe.rb: ditto.
    * benchmark/bm_vm4_alive_check1.rb: ditto.
    * benchmark/bm_vm4_pass_flood.rb: ditto.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    kosaki committed Jun 14, 2011
  4. * benchmark/bm_vm4_pass_flood.rb: new benchmark for GVL fairness.

    * benchmark/bm_vm4_alive_check1.rb: ditto.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    kosaki committed Jun 14, 2011
  5. add changelog explanation.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    kosaki committed Jun 14, 2011
  6. * thread_pthread.c (gvl_yield): fix live lock issue on 1-2 cpus

      system. It's additional fix for r32021.
    * thread_pthread.c (gvl_init): add switch_wait_cond.
    * thread_pthread.h (typedef struct rb_global_vm_lock_struct): ditto.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    kosaki committed Jun 14, 2011
  7. * 2011-06-15

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Jun 14, 2011
  8. Skip test_sync when there is no tty or something.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Jun 14, 2011
  9. * bootstraptest/runner.rb (show_progress): refine verbose mode.

      (exec_test): ditto.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Jun 14, 2011
  10. * bootstraptest/runner.rb (show_progress): extracted from assert_check.

      (assert_check): use show_progress.
      (assert_normal_exit): ditto.
      (assert_finish): ditto.
      (flunk): ditto.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Jun 14, 2011
  11. * test/date/test_*.rb: added tests.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    tadf committed Jun 14, 2011
  12. * ext/date/date_core.c: renamed some functions.

    	* ext/date/date_core.c: modified doc.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    tadf committed Jun 14, 2011
  13. * ChangeLog: add ML and ticket link. [ruby-dev:43680] [Bug #4855]

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nagachika committed Jun 14, 2011
  14. * cont.c (cont_save_thread): add new utility function.

      rb_context_t::saved_thread.machine_stack_start and
      machine_stack_end should be cleared immediately after a snapshot of
      current thread is stored to saved_thread.
      this change aims to get rid of unnecessary GC mark at machine stack.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nagachika committed Jun 14, 2011
  15. fix typos.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Jun 14, 2011
  16. * test/ruby/test_autoload.rb: remove temporary directory.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Jun 14, 2011
  17. * common.mk (sudo-precheck): authenticate at first to sudo.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Jun 14, 2011
  18. * test/io/console/test_io_console.rb (TestIO_Console#test_noctty):

      split for each platforms.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Jun 14, 2011
  19. * gc.c (rb_gc_set_params): call initial_expand_heap if

      initial_heap_min_slots is set.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authorNari committed Jun 14, 2011
  20. * gc.c: use size_t.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authorNari committed Jun 14, 2011
  21. Clear error messages before process and get errors. [ruby-dev:43791] …

    …[Bug #4879]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Jun 14, 2011
  22. Copy YAML::Store to Syck::Store to keep it from yamler.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Jun 14, 2011
  23. Explictly specify syck.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Jun 14, 2011
Commits on Jun 13, 2011
  1. * test/io/console/test_io_console.rb (TestIO_Console#test_noctty):

      fix for Windows.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Jun 13, 2011
  2. * test/coverage/test_coverage.rb: add a test for restart. a patch

      from Xavier Shay.  [ruby-core:36745]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    mame committed Jun 13, 2011
  3. * ext/coverage/coverage.c: make it restartable. [ruby-core:36539]

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    mame committed Jun 13, 2011
  4. * 2011-06-14

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Jun 13, 2011
  5. * thread.c (rb_thread_schedule_rec): call gvl_yield() unconditionally.

    * thread_pthread.c: remove HAVE_GVL_YIELD macro.
    * thread_win32.c (gvl_yield): new. this fallback logic was moved from
      rb_thread_schedule_rec().
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    kosaki committed Jun 13, 2011
  6. * ext/io/console/console.c (console_dev): typo.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Jun 13, 2011
  7. * parse.y (parser_parse_string): flush delayed token. based on a

      patch by Masaya Tarui in [ruby-dev:43762].  Bug #4544
    * parse.y (yylex): revert r24557.  delayed token at the end of
      string should be flushed already by the above change.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Jun 13, 2011
  8. * ext/io/console/console.c (console_dev): console should be

      unbuffered.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Jun 13, 2011
  9. * ext/io/console/console.c (console_dev): take care of no-ctty

      case.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Jun 13, 2011
  10. * thread_pthread.c: rewrite GVL completely.

    * thread_win32.c: ditto.
    * thread_pthread.h: ditto.
    * vm_core.h: ditto.
    * thread.c: ditto.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    kosaki committed Jun 13, 2011
  11. * test/socket/test_unix.rb: don't use Thread.abort_on_exception.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Jun 13, 2011
  12. * ext/socket/unixsocket.c (unix_send_io): race condition fixed.

      (unix_recv_io): ditto.
      fixed by Eric Wong.  [ruby-core:35574]
    
    * test/socket/test_unix.rb: test added for above problem.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Jun 13, 2011