summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-06-01* test/drb: Wrap tests definitions by DRbTests module. This makesakr
several tests (ACLEntryTest, TestBug4409, etc.) easier to understand that they are tests for DRb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-01* lib/rinda/ring.rb (RingFinger#make_socket): Close the socket on exception.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-01Close FDs.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31Join threads before close pipes.akr
closing a FD interrupts threads which uses the FD. rb_thread_io_blocking_region (for write()) checks an interrupt after write() is finished. So, joining the thread after closing() may raise "IOError: stream closed". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31parse.y: no duplicate attrset IDnobu
* parse.y (intern_str): dynamic attrset ID is registered by `rb_id_attrset()` already, so no further registration is needed. [ruby-core:62861] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31* lib/English.rb: [DOC] $LOADED_FEATURES moved to load.c [Fixes GH-620]zzak
Patch submitted by @leafac in https://github.com/ruby/ruby/pull/620 * doc/globals.rdoc: Added $LOADED_FEATURES to list git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31* 2014-06-01svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31Join threads.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31Join threads.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31configure.in: remove rb_cv_typeofnobu
* configure.in (rb_cv_typeof): no longer needed because of AC_C_TYPEOF. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31ChangeLog: fix typonobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31Join threads.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31Join threads.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31* test/lib/leakchecker.rb: Leak checker extracted fromakr
test/lib/minitest/unit.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31don't remove test resultsnaruse
r46180 removed dots but they express the result of tests: don't remove them. Moreover I don't understand why `read` is still used. http://u64.rubyci.org/~chkbuild/ruby-trunk/log/20140530T200301Z.fail.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31* thread.c (rb_thread_atfork_internal): My compiler complainsshyouhei
about this variable being used before initialized. I looked at the code and expanded the macro and turned out it was actually USED for pointer arithmetic, not dereferenced. So this was never a serious bug. But is annoying indeed to see warnings every time. I added `=0` and all went healthy. * configure.in: Also, I found that the problematic macro expansion only happens when we lack __typeof__ C extension, which shall not be the case of my compiler. I added AC_CTYPEOF to kick ass. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31* lib/ipaddr.rb: extracted inline tests into test dir.hsbt
* test/test_ipaddr.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31* ext/digest/lib/digest/hmac.rb: extracted inline tests into test dir.hsbt
* test/digest/test_digest_hmac.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31* test/test_syslog.rb: remove executable.hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31Join threads.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30unicode.c: no initializationnobu
* enc/unicode.c (init_case_fold_table): no longer need to initialize tables at runtime. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30case-folding.rb: perfect hash for case unfolding3nobu
* enc/unicode/case-folding.rb (lookup_hash): make perfect hash to lookup case unfolding table 3. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30case-folding.rb: perfect hash for case unfolding2nobu
* enc/unicode/case-folding.rb (lookup_hash): make perfect hash to lookup case unfolding table 2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30case-folding.rb: perfect hash for case unfolding1nobu
* enc/unicode/case-folding.rb (lookup_hash): make perfect hash to lookup case unfolding table 1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30case-folding.rb: perfect hash for case foldingnobu
* enc/unicode/case-folding.rb (lookup_hash): make perfect hash to lookup case folding table. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30case-folding.rb: merge tablesnobu
* enc/unicode/case-folding.rb (print_table): merge non-locale and locale tables, and reduce initializing loops. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30case-folding.rb: modularizenobu
* enc/unicode/case-folding.rb (CaseFolding): modularize, and add --output-file option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30case-folding.rb: conversion scriptnobu
* enc/unicode/case-folding.rb: script to convert CaseFolding.txt, tranlated from CaseFolding.py. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30* test/lib/minitest/unit.rb: Check Tempfile leaks for each test methodakr
again. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30* lib/delegate.rb: [DOC] Document raise in Delegator classzzak
Patch by @lucasmazza. [Fixes GH-621] https://github.com/ruby/ruby/pull/621 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30add --disable-gemnaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30* 2014-05-31svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30Close FDs.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30Close FDs.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30Close sockets.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30Close pipes.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30Use the block form of Open3.popen3 to close FDs.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30Join threads.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30Join threads, not kill.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30test/io/console/test_io_console.rb: Close FDs.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30* lib/webrick/server.rb: Use a pipe to detect server shutdown.akr
shutdown() or close() for listening socket is not a reliable. Actually, both doesn't work (doesn't wake up select()) on DragonFly BSD 3.6.2. * test/webrick/utils.rb: :ShutdownSocketWithoutClose is not required now to immediate server shutdown detection. This fixes fd leaks. * test/net/http/utils.rb: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30svn:ignore property added.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30* test/lib/minitest/unit.rb (check_fd_leak): Sort the inspectedakr
objects list for a FD. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30* test/lib/minitest/unit.rb (check_fd_leak): Try GC to delete leakedakr
FDs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30force_encoding to get the log of failure by Encoding::CompatibilityErrornaruse
https://travis-ci.org/ruby/ruby/jobs/26361118 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30minitest/unit.rb: defer requiring -test-nobu
* test/lib/minitest/unit.rb (find_fds): defer requiring a library under "-test-" until needed, or can't work in other (installed) ruby. grep doesn't need separated map. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30fileno.c: suppress warningsnobu
* ext/-test-/dir/fileno.c (dir_check): suppress unused-function warnings, used only when dirfd() is available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30printf.c: suppress warningsnobu
* ext/-test-/printf/printf.c (printf_test_call): suppress maybe-uninitialized warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30* test/lib/test/unit/parallel.rb (_run_suite): orig_stdout may be nilnaruse
though I don't know the reason. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30test_string.rb: move and add assertionsnobu
* test/ruby/test_string.rb (test_slice): move the assertion for [Bug #9882], and more assertion for `ascii_only?` too, as pointed out by Heesob Park in [ruby-core:62846]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e