Permalink
Commits on Dec 1, 2008
  1. tags branches/ruby_1_9_1@20437 as v1_9_1_preview2

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_9_1_preview2@20438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Dec 1, 2008
  2. merges r20432 from trunk into ruby_1_9_1.

    * cont.c (rb_fiber_start): calls with exact argument number.
      [ruby-core:20088]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Dec 1, 2008
  3. merges r20429 and r20430 from trunk into ruby_1_9_1.

    * man/rake.1: new manual page
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Dec 1, 2008
  4. * 2008-12-01

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Dec 1, 2008
  5. * signal.c (register_sigaltstack): no need to define on non-sigaltstack

    	  platform.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Dec 1, 2008
Commits on Nov 30, 2008
  1. man/goruby.1: fix typo

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Nov 30, 2008
  2. merges r20394 from trunk into ruby_1_9_1.

    * man/irb.1 (EXAMPLES): new section
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Nov 30, 2008
  3. merges r20391 and r20398 from trunk into ruby_1_9_1.

    * regparse.c (is_invalid_quantifier_target): Perl and old Ruby
      accepts quantifier on anchors.  [ruby-core:20161]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Nov 30, 2008
  4. merges r20388 from trunk into ruby_1_9_1.

    * cont.c (fiber_alloc): separate allocation and initialization.
      allow subclass to override #initialize.   [ruby-core:20086]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Nov 30, 2008
  5. merges r20387 and r20390 from trunk into ruby_1_9_1.

    * ext/socket/socket.c (sock_s_getaddrinfo): refactored to remove
      code duplication regarding getaddrinfo.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Nov 30, 2008
  6. merges r20379 from trunk into ruby_1_9_1.

    * strftime.c (rb_strftime): should add padding for %%.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Nov 30, 2008
  7. merges r20372-r20375 and r20380 from trunk into ruby_1_9_1.

    * signal.c (register_sigaltstack): minimum size is insufficient for
      method calls.
    
    * signal.c (sigsegv): handles stack overflow if possible.
    
    * thread.c (ruby_thread_stack_overflow): helper function to raise
      sysstack_error.
    
    * thread_pthread.c (ruby_stack_overflowed_p): checks for stack
      overflow.
    
    * signal.c (ruby_sigaction_t): added.
    
    * signal.c (register_sigaltstack): stores alt stack for debug
      purpose.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Nov 30, 2008
  8. merges r20367 from trunk into ruby_1_9_1.

    * strftime.c (STRFTIME): use rb_strftime() recursively, instead of
      platform's strftime().
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Nov 30, 2008
  9. merges r20366 from trunk into ruby_1_9_1.

    * ext/bigdecimal/bigdecimal.c (VpException): bigdecimal zero
      division should raise FloatDomainError if mode
      VP_EXCEPTION_ZERODIVIDE is set.  [ruby-dev:37204]
    
    * ext/bigdecimal/bigdecimal.c (BigDecimal_mode): should handle
      VP_EXCEPTION_ZERODIVIDE.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Nov 30, 2008
  10. merges r20365 from trunk into ruby_1_9_1.

    * add comment and test.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Nov 30, 2008
  11. merges r20364 from trunk into ruby_1_9_1.

    * ext/gdbm/gdbm.c (rb_gdbm_nextkey): fix memory leak.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Nov 30, 2008
  12. merges r20360 from trunk into ruby_1_9_1.

    * ext/bigdecimal/bigdecimal.c (BigDecimal_to_r): raise exception
      for nan/inf conversion.  [ruby-dev:37187] fix #793
    
    * ext/bigdecimal/bigdecimal.c (BigDecimal_to_i): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Nov 30, 2008
  13. merges r20359 from trunk into ruby_1_9_1.

    * ext/bigdecimal/bigdecimal.c (VpAlloc): avoid ALLOCA_N() to avoid
      segmentation fault caused by (insanely) long decimal values.
      [ruby-dev:37189] fix #794
    
    * ext/bigdecimal/bigdecimal.c (BigDecimal_dump, BigDecimal_to_i,
      BigDecimal_to_f, BigDecimal_to_s, BigDecimal_split,
      BigDecimal_inspect): ditto.
    
    * ext/bigdecimal/bigdecimal.c (VpToString): small performance
      improvement.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Nov 30, 2008
  14. merges r20357 from trunk into ruby_1_9_1.

    * strftime.c (STRFTIME): should add padding for %[xXrR] etc.
      [ruby-dev:37185] fix: #792
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Nov 30, 2008
  15. merges r20356 from trunk into ruby_1_9_1.

    * array.c (rb_ary_times): taint (and untrust) status should be
      inherited by "ary * 0".  [ruby-dev:37024]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Nov 30, 2008
  16. merges r20355 from trunk into ruby_1_9_1.

    * strftime.c (rb_strftime): should not swallow incomplete
      formatter, e.g. "%E".  [ruby-dev:37170] fix: #787
    
    * strftime.c (rb_strftime): clear flags before processing unknown
      formatter, e.g. "%i".  [ruby-dev:37180]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Nov 30, 2008
  17. merges r20353 from trunk into ruby_1_9_1.

    * strftime.c (rb_strftime): "%^P" should convert to upper case.
      [ruby-dev:37180]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Nov 30, 2008
  18. merges r20352 from trunk into ruby_1_9_1.

    * strftime.c (FMT): use "%0d" formatter for zero padding, not "%.d".
      [ruby-dev:37168]  fix: #768
    
    * strftime.c (rb_strftime): %s to use zero padding by default.
      [ruby-dev:37180]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Nov 30, 2008
  19. merges r20349 from trunk into ruby_1_9_1.

    * ext/tk/lib/tkextlib/blt/tabset.rb, ext/tk/lib/tkextlib/blt/tabnotebook.rb:
      fix many bugs. Now, those work properly.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Nov 30, 2008
  20. merges r20348 from trunk into ruby_1_9_1.

    * numeric.c (num_step): treat infinite step specially.
      [ruby-dev:37157] fix: #781.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Nov 30, 2008
  21. merges r20347 from trunk into ruby_1_9_1.

    * lib/date/format.rb (strftime): ignores '_' flag for %[LN].
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Nov 30, 2008
  22. * thread.c, thread_pthread.c, thread_win32.c: merges nobu's commits -

      r20117, r20123, r20124, r20127, r20132-r20134, r20138, r20140, r20141
      and r20160 - from trunk into ruby_1_9_1.
    
    * thread_pthread.c (thread_timer): checks working flags again.
    
    * thread_pthread.c (rb_thread_create_timer_thread): do not wait never
      coming signal if failed to create tiemr thread.
    
    * thread_pthread.c (native_cond_timedwait): returns error code.
    
    * thread_pthread.c (thread_timer, rb_thread_create_timer_thread):
      handshakes properly.
    
    * thread_pthread.c (thread_timer): initializes mutex each time.
    
    * thread_win32.c (thread_start_func_1): use already gotten stack info.
    
    * thread.c (thread_timer): pthread_cond_timedwait returns ETIMEDOUT
      when timed out.
    
    * thread_pthread.c (thread_timer): uses pthread_cond_timedwait always
      instead of pthread_kill.
    
    * thread.c (thread_timer): uses timedwait on cygwin.
    
    * thread.c (rb_thread_stop_timer_thread): terminates timer thread
      immediately.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Nov 30, 2008
  23. merges r20346 from trunk into ruby_1_9_1.

    * process.c (rb_fork): stops the timer thread during fork.
      [ruby-dev:37117]
    
    * thread.c (rb_thread_start_timer_thread): timer thread needs
      system_working to be set.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Nov 30, 2008
  24. merges r20342 from trunk to ruby_1_9_1.

    * strftime.c (rb_strftime): The # flag should work with %a, %A, %b,
      %B, and %h.  [ruby-dev:37162]
    * test/ruby/test_time.rb (test_strftime): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Nov 30, 2008
  25. merges r20341 from trunk into ruby_1_9_1.

    * signal.c (register_sigaltstack): should not add external
      variable (with some cosmetic changes).  [ruby-dev:37158]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Nov 30, 2008
  26. merges r20340 from trunk into ruby_1_9_1.

    * strftime.c (rb_strftime): A width specifier for %t and %n should
      work.  [ruby-dev:37160]
    * test/ruby/test_time.rb (test_strftime): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Nov 30, 2008
  27. merges r20339 from trunk into ruby_1_9_1.

    * strftime.c (rb_strftime): The precision of %0N should be 9.
      [ruby-dev:37156]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Nov 30, 2008
  28. merges r20338 from trunk into ruby_1_9_1.

    * strftime.c (rb_strftime): The default precision should be 1, not
      0.  [ruby-dev:37155]
    * test/ruby/test_time.rb (test_strftime): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Nov 30, 2008
  29. * 2008-11-30

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Nov 30, 2008
  30. merges r20335 from trunk into ruby_1_9_1.

    * lib/time.rb: r20251 reverted.  The patched behavior do not round
      trip.  [ruby-core:19988]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Nov 30, 2008