From 07/12/2012 to 07/18/2012


11:20 PM Revision 36457: * test/ruby/test_file.rb: remove temporally files early.
akr (Akira Tanaka)
10:39 PM Revision 36456: fixed: can't delete unix domain sockets problem
seki (Masatoshi Seki)
06:48 PM Revision 36455: * bignum.c: Added #include <strings.h> for ffs(). Patch by Perry
Smith. Thank you. [Bug #6748] kosaki (Motohiro KOSAKI)
04:59 PM Revision 36454: * include/ruby/intern.h (rb_num_zerodiv): Added NORETURN.
Patched by Xi Wang. [Bug #6736] kosaki (Motohiro KOSAKI)
04:48 PM Revision 36453: use localhost for both local and remote. [Bug #6746]
naruse (Yui NARUSE)
03:23 PM Revision 36452: * 2012-07-19
03:23 PM Revision 36451: increment @tmp_count.
akr (Akira Tanaka)
02:57 PM Revision 36450: pack.c: round down too long uuencode width
* pack.c (pack_pack): round down too long uuencode width. folding
width in uuencode format cannot be longer than 6...
nobu (Nobuyoshi Nakada)
02:20 PM Revision 36449: test_syntax.rb: update
* test/ruby/test_syntax.rb (test_warn_grouped_expression): update for
r36434. [ruby-core:39050][Bug #5214]
nobu (Nobuyoshi Nakada)
02:09 PM Revision 36448: * ext/dbm/dbm.c (fdbm_empty_p): fix wrong condtion introduced in r36438.
* ext/sdbm/init.c (fsdbm_empty_p): ditto. naruse (Yui NARUSE)
02:09 PM Revision 36447: * test/ruby/test_beginendblock.rb: remove temporally files early.
akr (Akira Tanaka)
01:43 PM Revision 36446: * test/ruby/test_autoload.rb: remove temporally files early.
akr (Akira Tanaka)
01:00 PM Revision 36445: * test/ruby/test_argf.rb: use temporally directory.
akr (Akira Tanaka)
12:07 PM Revision 36444: mkmf.rb: fix typo
* lib/mkmf.rb (configuration): fix typo, should never return nil. nobu (Nobuyoshi Nakada)
10:42 AM Revision 36443: * test/openssl/test_config.rb: remove temporally files early.
akr (Akira Tanaka)
09:25 AM Revision 36442: fix typo
* error.c (rb_builtin_type_name): fix typo. nobu (Nobuyoshi Nakada)
08:45 AM Revision 36441: error.c: map by index
* error.c (rb_builtin_type_name): map by index. nobu (Nobuyoshi Nakada)
08:41 AM Revision 36440: warning: no indirect flag
* regparse.c (is_onechar_cclass): remove "found" indirect flag to
suppress warnings by gcc 4.7.
nobu (Nobuyoshi Nakada)
08:40 AM Revision 36439: vm.c: remove unused variables
* vm.c (invoke_block_from_c), vm_insnhelper.c (vm_call_cfunc): remove unused variables. nobu (Nobuyoshi Nakada)
07:44 AM Revision 36438: empty_p: optimize and warnings
* ext/dbm/dbm.c (fdbm_empty_p): not empty if first key exists.
suppress warnngs by gcc 4.7 -Wstrict-overflow.
* ext...
nobu (Nobuyoshi Nakada)
07:17 AM Revision 36437: mkmf.rb: hack for -framework
* lib/mkmf.rb (have_framework): get rid of separating -framework
option and its argument and dealing with the argum...
nobu (Nobuyoshi Nakada)
07:11 AM Revision 36436: * ext/curses/extconf.rb: support PDCurses. patched by Luis Lavena.
[ruby-core:46485] [Feature #6735] shugo (Shugo Maeda)
07:08 AM Revision 36435: * properties.
nobu (Nobuyoshi Nakada)
07:05 AM Revision 36434: * parse.y (primary): allow an empty grouped expression as the
operand of the not operator (e.g., not ()).
[ruby-core:45976] [Bug #6674]
* parse.y (parser_yylex): show no warnin...
shugo (Shugo Maeda)
06:47 AM Revision 36433: * thread.c (rb_thread_call_without_gvl2): added.
it can skip last CHECK_INTS. See document for more details.
Document about it was updated a bit.
* include/ruby/th...
ko1 (Koichi Sasada)
05:53 AM Revision 36432: EXTDLDFLAGS
* (EXTDLDFLAGS): split options for each extension
libraries, and unused in ruby.pc. [Bug #6734]
* lib...
nobu (Nobuyoshi Nakada)
05:47 AM Revision 36431: * thread.c: fix last commit miss.
ko1 (Koichi Sasada)
05:46 AM Revision 36430: * thread.c (rb_threadptr_async_errinfo_*): manage async errors queue.
Async events such as an exception throwed by Thread#raise,
Thread#kill and thread termination (after main thread te...
ko1 (Koichi Sasada)
05:29 AM Revision 36429: add casts
* pack.c: (ditto) bitwise operations are not char. Apply explicit
casts on them.
shyouhei (Shyouhei Urabe)
04:46 AM Revision 36428: add casts
* encoding.c (load_encoding): explicit cast to suppress warning.
Though the cast truncates some bits, from heur...
shyouhei (Shyouhei Urabe)
03:56 AM Revision 36427: * lib/benchmark.rb: Fix Benchmark.benchmark output with an empty
caption. patched by Benoit Daloze. [ruby-core:45719] [Bug #6610] naruse (Yui NARUSE)
01:02 AM Revision 36426: * lib/debug.rb: Added toplevel documentation. Based on patch by Oscar
Del Ben. [Bug #6743], fixes #146 on github. drbrain (Eric Hodel)
12:36 AM Revision 36425: * test/win32ole/test_win32ole_event.rb (TestWIN32OLE_EVENT): use
standard skip method to skip tests. usa (Usaku NAKAMURA)
12:27 AM Revision 36424: * lib/logger.rb: Updated typos and output to match modern Logger
output. Patch by Marcus Stollsteimer. [Bug #6738] drbrain (Eric Hodel)


11:04 PM Revision 36423: Wed Jul 18 08:01:10 2012 Takeyuki FUJIOKA <>
* test/rss/test_dublincore.rb: update test for CGI.escapeHTML. xibbar (Takeyuki FUJIOKA)
11:04 PM Revision 36422: Wed Jul 18 07:59:29 2012 Takeyuki FUJIOKA <>
* lib/cgi/util.rb (CGI.escapeHTML,unescapeHTML): Add &apos; for HTML5 escaping.
[Feature #6620]
xibbar (Takeyuki FUJIOKA)
07:07 PM Revision 36421: Add documentation about Array#join(nil). [Bug#5915]
We talked about this and it is like following:
* maybe ary.join(nil) should always use empty string as a separator,
naruse (Yui NARUSE)
06:08 PM Revision 36420: Add tests for r36415.
naruse (Yui NARUSE)
04:13 PM Revision 36419: * 2012-07-18
04:13 PM Revision 36418: * lib/open-uri.rb: delete space.
* test/psych/test_alias_and_anchor.rb: ditto. ayumin (Ayumu AIZAWA)
01:17 PM Revision 36417: * lib/open-uri.rb: call io.close! for Tempfile.
akr (Akira Tanaka)
08:41 AM Revision 36416: Support IPv6 address. [Bug #6746]
naruse (Yui NARUSE)
07:47 AM Revision 36415: * proc.c (rb_proc_arity): return normal value (not -n-1) if it is not
a labmda, or it is a labmda and no arg_opts. [Bug #5694] naruse (Yui NARUSE)


07:00 PM Revision 36414: * ext/psych/lib/psych/visitors/to_ruby.rb: strings with YAML anchors
are properly referenced. Patched by Joe Rafaniello via Github:
* ext/...
03:28 PM Revision 36413: Revert of r36411, as does not distinguish proc from lambda
* proc.c (rb_proc_arity): Fix Proc#arity in case of optional arguments
[bug #5694] [rubyspec:b8b259] [rubyspec:184c...
marcandre (Marc-Andre Lafortune)
03:19 PM Revision 36412: * 2012-07-17
03:19 PM Revision 36411: Revert r33924.
* proc.c (rb_proc_arity): Fix Proc#arity in case of optional arguments
[bug #5694] [rubyspec:b8b259] [rubyspec:184c...
marcandre (Marc-Andre Lafortune)
02:30 PM Revision 36410: * bignum.c (rb_integer_float_cmp): use FIXNUM_MIN and FIXNUM_MAX,
instead of LONG_MIN and LONG_MAX. akr (Akira Tanaka)
01:52 PM Revision 36409: * numeric.c (flo_to_s): use the exponential form if the integer part
is longer than or equal DBL_DIG.
[ruby-dev:45960] [ruby-trunk - Bug #6741]
akr (Akira Tanaka)
01:08 PM Revision 36408: * ext/readline/readline.c: fixed docs. [Bug #6740][ruby-core:46501]
ayumin (Ayumu AIZAWA)
10:39 AM Revision 36407: * bignum.c (rb_integer_float_eq): new function.
(rb_big_eq): use rb_integer_float_eq.
* internal.h (rb_integer_float_eq): declared.
* numeric.c (flo_eq): use rb_in...
akr (Akira Tanaka)
10:02 AM Revision 36406: * bignum.c (rb_integer_float_cmp): rename a local variable.
akr (Akira Tanaka)
09:41 AM Revision 36405: * bignum.c (rb_integer_float_cmp): renamed from rb_big_float_cmp.
* internal.h: follow the above change.
* numeric.c: ditto.
akr (Akira Tanaka)
09:08 AM Revision 36404: * bignum.c (rb_big_float_cmp): compare an integer and float precisely.
[ruby-core:31376] [Bug #3589] reported by Tomasz Wegrzanowski. akr (Akira Tanaka)
08:44 AM Revision 36403: * bignum.c (rb_big_float_cmp): support fixnum for argument x.
* numeric.c (fix_equal): use rb_big_float_cmp.
(fix_cmp): ditto.
(fix_gt): ditto.
(fix_ge): ditto.
(fix_lt): ...
akr (Akira Tanaka)
08:15 AM Revision 36402: fixed ChangeLog
ayumin (Ayumu AIZAWA)
08:15 AM Revision 36401: * test/fileutils/test_fileutils.rb: add test for FileUtils#uptodate?
ayumin (Ayumu AIZAWA)
08:15 AM Revision 36400: * lib/fileutils.rb (uptodate?): remove useless parameter.
patched by Oscar Del Ben.[Bug #6708][ruby-core:46256] ayumin (Ayumu AIZAWA)
06:38 AM Revision 36399: * bignum.c (rb_big_eq): use rb_big_float_cmp.
akr (Akira Tanaka)
06:02 AM Revision 36398: * internal.h (rb_big_float_cmp): declared.
* bignum.c (rb_big_float_cmp): extracted from rb_big_cmp and big_op.
(rb_big_cmp): use rb_big_float_cmp.
akr (Akira Tanaka)
05:15 AM Revision 36397: * 2012-07-16
05:15 AM Revision 36396: * bignum.c (enum big_op_t): new type.
(big_op): use enum big_op_t.
(big_gt): ditto.
(big_ge): ditto.
(big_lt): ditto.
(big_le): ditto.
akr (Akira Tanaka)


04:43 PM Revision 36395: * 2012-07-15
04:43 PM Revision 36394: fix indent
09:18 AM Revision 36393: array.c: fill with nil
* array.c (rb_get_values_at): fill with nil out of range.
[ruby-core:43678] [Bug #6203]
nobu (Nobuyoshi Nakada)
08:31 AM Revision 36392: * cont.c (cont_restore_0): improve docs. [Bug #6706][ruby-core:46243]
ayumin (Ayumu AIZAWA)
08:08 AM Revision 36391: hash.c: raise on invalid input
* hash.c (rb_hash_s_create): raise an exception, when input elements
are not one or two elements arrays. [ruby-cor...
nobu (Nobuyoshi Nakada)
07:29 AM Revision 36390: commit miss
* ChangeLog: remove duplicated entries. nobu (Nobuyoshi Nakada)
07:16 AM Revision 36389: test/unit.rb: use uniq!
* lib/test/unit.rb (Test::Unit::Runner#_run_parallel): use
nobu (Nobuyoshi Nakada)
07:16 AM Revision 36388: test/unit.rb: extract deal
* lib/test/unit.rb (Test::Unit::Runner#deal): deal tasks to workers. nobu (Nobuyoshi Nakada)
07:16 AM Revision 36387: test/unit.rb: extract quit_workers
* lib/test/unit.rb (Test::Unit::Runner#quit_workers): close and kill
all workers.
nobu (Nobuyoshi Nakada)
07:16 AM Revision 36386: test/unit.rb: extract delete_worker
* lib/test/unit.rb (Test::Unit::Runner#delete_worker): delete dead
worker from working set.
nobu (Nobuyoshi Nakada)
07:16 AM Revision 36385: test/unit.rb: launch_worker to manage new worker
* lib/test/unit.rb (Test::Unit::Runner#launch_worker): add new worker
to working set.
nobu (Nobuyoshi Nakada)
07:16 AM Revision 36384: test/unit.rb: extract launch_worker
* lib/test/unit.rb (Test::Unit::Runner#launch_worker): extract. nobu (Nobuyoshi Nakada)
07:16 AM Revision 36383: test/unit.rb: extract start_watchdog
* lib/test/unit.rb (Test::Unit::Runner#start_watchdog): extract. nobu (Nobuyoshi Nakada)
07:16 AM Revision 36382: test/unit.rb: _run_parallel
* lib/test/unit.rb (Test::Unit::Runner#_run_parallel): move
initializations with nothing to release outside begin/e...
nobu (Nobuyoshi Nakada)
07:04 AM Revision 36381: array.c: no infection by unused separator
* array.c (rb_ary_join): should not infected by separator if it is not
used. [ruby-core:42161][Bug #5902]
nobu (Nobuyoshi Nakada)


05:32 PM Revision 36380: * 2012-07-14
05:31 PM Revision 36379: intern.h: fix declaration
* include/ruby/intern.h (rb_thread_blocking_region): fix declarations
prototypes without arguments in C++ have diff...
nobu (Nobuyoshi Nakada)


09:11 PM Revision 36378: test: dots from a worker
* lib/test/unit.rb (Test::Unit::StatusLineOutput#print): sometimes
dots from a worker get stuck.
nobu (Nobuyoshi Nakada)
09:11 PM Revision 36377: test: unnecessary job_status
* lib/test/unit.rb (Test::Unit::Runner#_prepare_run): no needs to
override job_status option unnecessarily.
nobu (Nobuyoshi Nakada)
09:11 PM Revision 36376: * 2012-07-13
09:11 PM Revision 36375: test: separate each outputs
* lib/test/unit.rb (Test::Unit::Runner#del_status_line): separate each
outputs if not replace mode.
nobu (Nobuyoshi Nakada)
03:32 AM Revision 36374: test: skip default gems
* test/runner.rb: skip default gems to get rid of loading old versions
before installation.
nobu (Nobuyoshi Nakada)
02:44 AM Revision 36373: rb_str_new_frozen: new object if tainted/untrusted unmatch
* string.c (rb_str_new_frozen): since the result object should have
same tainted/untrusted bits with the original o...
nobu (Nobuyoshi Nakada)
01:48 AM Revision 36372: * test/net/http/test_http.rb (TestNetHTTPLocalBind#test_bind_to_local*):
cannot cross between network interfaces on Windows, so skip this test
until we find better test.
usa (Usaku NAKAMURA)
01:27 AM Revision 36371: Use IPv4 address on connecting to
naruse (Yui NARUSE)

Also available in: Atom