Permalink
Commits on May 11, 2012
  1. * thread.c (rb_threadptr_execute_interrupts_common): th->errinfo is

      not Fixnum, but exception object.
      This causes test_signal_requiring of test/ruby/test_signal.rb fail
      if the sub process is killed on waiting IO in lex_io_gets in require
      itself, not sleep.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed May 11, 2012
  2. Add a test: BigDecimal("0").div(BigDecimal("Infinity")).

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed May 11, 2012
  3. Bug #6419: fix cmdarg begin

    * parse.y (primary): begin/end block should be isolated from outside.
      [ruby-dev:45631][Bug #6419]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 11, 2012
  4. * ext/bigdecimal/bigdecimal.c (PUSH): to prevent VALUE from GC,

    	  must not cast it to unsigned long, which may be shorter than
    	  VALUE, and the result can be mere garbage.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 11, 2012
  5. Revert r35616 "* ext/bigdecimal/bigdecimal.c: use RB_GC_GUARD. [ruby-…

    …dev:45627]"
    
    RB_GC_GUARD() is only for variables on the machine stack, because it
    forces a VALUE to be stored in a variable which should be referenced
    from the GC, but does not add any reference path to the variable.
    So it makes no sense for objects in heap.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 11, 2012
  6. lib/test/unit.rb: no unnecessary newlines

    * lib/test/unit.rb (Test::Unit::Runner#failed): no unnecessary
      newlines if no reports to be displayed.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 11, 2012
Commits on May 10, 2012
  1. * ext/bigdecimal/bigdecimal.c: use RB_GC_GUARD. [ruby-dev:45627]

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    mrkn committed May 10, 2012
  2. * 2012-05-11

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed May 10, 2012
  3. adding a few tests surrounding file open arguments

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    tenderlove committed May 10, 2012
  4. fix the path of ifconfig.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed May 10, 2012
  5. skip addresses whose interface is set as POINTOPOINT.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed May 10, 2012
  6. Skip IPv6 addresses whose interface is set as IFDISABLED.

    FreeBSD 9.0 with default setting (ipv6_activate_all_interfaces
    is not YES) sets IFDISABLED to interfaces which don't have
    global IPv6 address.
    Link-local IPv6 addresses on those interfaces don't work.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed May 10, 2012
  7. test/minitest: Correct requiring path to metametameta.rb.

    * test/minitest/test_minitest_mock.rb: Correct requiring path to
      metametameta.rb.
    * test/minitest/test_minitest_unit.rb: Correct requiring path to
      metametameta.rb.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 10, 2012
  8. * 2012-05-10

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed May 10, 2012
  9. parse.y: debugging stuff

    * parse.y (lex_state_name): returns name for lex_state_e, for debug
      use.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 10, 2012
Commits on May 9, 2012
  1. Ignore mkmf-generated Makefile

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    drbrain committed May 9, 2012
  2. lib/mkmf.rb: check pkg-config result

    * lib/mkmf.rb (MakeMakefile#pkg_config): check if libs resulted from
      pkg-config works actually.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 9, 2012
  3. * lib/net/imap.rb (decode_utf7, encode_utf7): refactored by

      Nobuyoshi Nakada, to use String#encode.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shugo committed May 9, 2012
  4. * test/rubygems/test_gem_remote_fetcher.rb: skip OpenSSL dependent

    	  tests if not available.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 9, 2012
  5. Imported minitest 3.0.0 (r7435) w/ fixes for rubygems. 10955 tests, 2…

    …253343 assertions, 1 failures, 1 errors, 28 skips minus drb tests on x86_64-darwin11.3.0 and reviewed by drbrain
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    ryan committed May 9, 2012
Commits on May 8, 2012
  1. * re.c (rb_reg_equal): Removed incorrect example for Regexp#== with

      "n" option.  [ruby-talk - Bug #6415]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    drbrain committed May 8, 2012
  2. * ext/date/date_core.c: reverted.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    tadf committed May 8, 2012
  3. * 2012-05-09

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed May 8, 2012
  4. * lib/rinda/ring.rb (lookup_ring_any): fix Rinda::RingFinger.primary

    	  hungs forever. [ruby-talk:395364]
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    seki committed May 8, 2012
  5. fix typos

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    znz committed May 8, 2012
  6. * include/ruby/win32.h (FD_SET): change function to macro.

      To avoid buffer overflow when smaller FD_SETSISE is used in ext
      libraries.
    
    * win32/win32.c (rb_w32_fdset): this function is not used anymore.
      But we leave this for compatibility.
    
    * win32/win32.c (rb_w32_select_with_thread): fix SEGV when smaller
      FD_SETSISE is used in ext libraries. Dereference of fd_set pointer
      causes SEGV.
    
    * test/-ext-/win32/test_fd_setsize.rb(TestFdSetSize): add tests for
      above.
    * ext/-test-/win32/fd_setsize/depend: ditto.
    * ext/-test-/win32/fd_setsize/extconf.rb: ditto.
    * ext/-test-/win32/fd_setsize/fd_setsize.c: ditto.
    
      [ruby-core:44588] [Bug #6352]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shirosaki committed May 8, 2012
  7. * io.c (io_unread): fix IO#pos with mode 'r' bug on Windows.

      If the end of reading buffer is CR, io_unread() needs to unread one
      more byte.
      [ruby-core:44874] [Bug #6401]
    
    * test/ruby/test_io_m17n.rb (TestIO_M17N#test_pos_with_buffer_end_cr):
      add a test for above.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shirosaki committed May 8, 2012
  8. test/mkmf/base.rb: hide compiler output

    * test/mkmf/base.rb (TestMkmf::Capture#reopen): reopen replaced IO
      too, to hide compiler output.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 8, 2012
  9. test: fix test conditions

    * test/csv/test_features.rb (TestCSV#test_gzip_reader_bug_fix): test
      only if zlib is available.
    
    * test/csv/test_features.rb (TestCSV#test_gzip_writer_bug_fix): ditto.
    
    * test/open-uri/test_open-uri.rb (TestOpenURI#test_content_encoding):
      ditto.
    
    * test/rexml/test_order.rb (OrderTester#test_more_ordering): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 8, 2012
  10. test: why believe source directories are writable always?

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 8, 2012
  11. * ext/date/date_core.c: improving introduction in Date/DateTime doc.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    ayumin committed May 8, 2012
  12. configure.in: fix for BSD make

    * configure.in (POSTLINK): default to : command to get rid of flag
      only command, since BSD make does not work with it.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 8, 2012
  13. lib/test/unit.rb: remove exact trace

    * lib/test/unit.rb (MiniTest#run_test): remove exact trace and get rid
      of IndexError, which could caused by modified $@ sometimes.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 8, 2012
  14. * test/minitest/metametameta.rb (MetaMetaMetaTestCase#assert_report):

      support drive letter on Windows.  yes, the original code is metameta.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed May 8, 2012
  15. tests: customizable colors

    * bootstraptest/runner.rb, lib/test/unit.rb, sample/test.rb:
      customizable colors.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 8, 2012