aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert r35622.naruse2012-05-113-10/+2
| | | | | | | | It breaks bootstraptest/test_exception.rb:388. "* thread.c (rb_threadptr_execute_interrupts_common): th->errinfo is" git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_threadptr_execute_interrupts_common): th->errinfo isnaruse2012-05-113-2/+10
| | | | | | | | | 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
* Add a test: BigDecimal("0").div(BigDecimal("Infinity")).naruse2012-05-111-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Bug #6419: fix cmdarg beginnobu2012-05-113-0/+13
| | | | | | | | * 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
* * ext/bigdecimal/bigdecimal.c (PUSH): to prevent VALUE from GC,nobu2012-05-112-1/+7
| | | | | | | | 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
* Revert r35616 "* ext/bigdecimal/bigdecimal.c: use RB_GC_GUARD. [ruby-dev:45627]"nobu2012-05-112-297/+213
| | | | | | | | | 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
* lib/test/unit.rb: no unnecessary newlinesnobu2012-05-112-2/+10
| | | | | | | | * 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
* * ext/bigdecimal/bigdecimal.c: use RB_GC_GUARD. [ruby-dev:45627]mrkn2012-05-102-213/+297
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-05-11svn2012-05-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* adding a few tests surrounding file open argumentstenderlove2012-05-101-0/+30
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix the path of ifconfig.naruse2012-05-101-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* skip addresses whose interface is set as POINTOPOINT.naruse2012-05-101-3/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Skip IPv6 addresses whose interface is set as IFDISABLED.naruse2012-05-101-8/+26
| | | | | | | | | 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
* test/minitest: Correct requiring path to metametameta.rb.nobu2012-05-103-2/+10
| | | | | | | | | | * 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
* * 2012-05-10svn2012-05-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: debugging stuffnobu2012-05-102-0/+37
| | | | | | | | * 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
* Ignore mkmf-generated Makefiledrbrain2012-05-090-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/mkmf.rb: check pkg-config resultnobu2012-05-092-2/+6
| | | | | | | | * 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
* * lib/net/imap.rb (decode_utf7, encode_utf7): refactored byshugo2012-05-093-14/+24
| | | | | | Nobuyoshi Nakada, to use String#encode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rubygems/test_gem_remote_fetcher.rb: skip OpenSSL dependentnobu2012-05-092-7/+15
| | | | | | | tests if not available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Imported minitest 3.0.0 (r7435) w/ fixes for rubygems. 10955 tests, 2253343 ↵ryan2012-05-099-67/+184
| | | | | | 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
* * re.c (rb_reg_equal): Removed incorrect example for Regexp#== withdrbrain2012-05-082-1/+6
| | | | | | | "n" option. [ruby-talk - Bug #6415] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_core.c: reverted.tadf2012-05-082-32/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-05-09svn2012-05-081-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rinda/ring.rb (lookup_ring_any): fix Rinda::RingFinger.primary seki2012-05-082-2/+11
| | | | | | | | hungs forever. [ruby-talk:395364] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typoskazu2012-05-081-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/win32.h (FD_SET): change function to macro.shirosaki2012-05-087-23/+134
| | | | | | | | | | | | | | | | | | | | | | | 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
* * io.c (io_unread): fix IO#pos with mode 'r' bug on Windows.shirosaki2012-05-083-0/+32
| | | | | | | | | | | 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
* test/mkmf/base.rb: hide compiler outputnobu2012-05-081-2/+6
| | | | | | | * 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
* test: fix test conditionsnobu2012-05-083-7/+16
| | | | | | | | | | | | | | * 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
* test: why believe source directories are writable always?nobu2012-05-085-26/+29
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_core.c: improving introduction in Date/DateTime doc.ayumin2012-05-082-12/+38
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: fix for BSD makenobu2012-05-082-1/+7
| | | | | | | | * 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
* lib/test/unit.rb: remove exact tracenobu2012-05-082-1/+7
| | | | | | | | * 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
* * test/minitest/metametameta.rb (MetaMetaMetaTestCase#assert_report):usa2012-05-082-2/+12
| | | | | | | 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
* tests: customizable colorsnobu2012-05-083-5/+5
| | | | | | | * 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
* lib/test/unit.rb: old behavior if verbosenobu2012-05-081-2/+2
| | | | | | | * lib/test/unit.rb (Test::Unit::Runner#_prepare_run): keep the old behavior if --verbose option is given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/abbrev.rb: Fixed typo in abbrev pattern documentation. Based ondrbrain2012-05-072-4/+14
| | | | | | | patch by Mark Rushakoff. [ruby-trunk - #6346] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c (ossl_start_ssl): remove useless rb_sys_failnaruse2012-05-072-1/+6
| | | | | | | before ossl_raise. this cause a test failure on Linux. http://u64.rubyci.org/~chkbuild/ruby-trunk/log/20120507T190102Z.log.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (Init_Object): Added reference to variable.c wheredrbrain2012-05-072-2/+7
| | | | | | | public_constant and private_constant documentation lives. [#6381] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/test/unit.rb: initialize instace variablenobu2012-05-071-1/+1
| | | | | | | * lib/test/unit.rb (Test::Unit::Runner#output): suppress uninitialized instance variable warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/test/unit.rb: use local outputnobu2012-05-072-2/+9
| | | | | | | | * lib/test/unit.rb (Test::Unit::Runner#output): prefer local output to get rid of unexpected side effect in test/minitest/metametameta.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/test/unit.rb: test name in $0nobu2012-05-072-1/+14
| | | | | | | * lib/test/unit.rb (MiniTest#run_test): show the running test in $0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/test/unit.rb: output in status linenobu2012-05-072-25/+101
| | | | | | | | * lib/test/unit.rb (Test::Unit::StatusLineOutput): new class to output in status line. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/testunit: fix for recent minitestnobu2012-05-073-5/+11
| | | | | | | | | | * test/testunit/test_hideskip.rb (TestHideSkip#test_hideskip): MiniTest#puke now reports Skipped messages only if verbose mode. * test/testunit/test_sorting.rb (TestTestUnitSorting#test_sorting): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/test/unit.rb: refactoring pukenobu2012-05-072-16/+11
| | | | | | | | * lib/test/unit.rb (Test::Unit::Runner#puke): modify only result and drop useless reports, not override entirely. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bootstraptest/runner.rb: refine outputnobu2012-05-072-2/+29
| | | | | | | | * bootstraptest/runner.rb (exec_test, show_progress): show rotators and pass/fail counts. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* sample/test.rb: refine outputnobu2012-05-072-2/+53
| | | | | | | * sample/test.rb (PROGRESS): refine output. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/lib/json/generic_object.rb: missing file.nobu2012-05-071-0/+39
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/minitest/unit.rb (assert_match): refix of r35563.naruse2012-05-073-2/+18
| | | | | | | | r35563 breaks the intention of the original change. https://github.com/seattlerb/minitest/commit/68858105b2eb11c85105ffac5f32b662c59397f3 * lib/minitest/unit.rb (refute_match): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e