From 11/07/2012 to 11/13/2012


03:56 PM Revision 37650: * 2012-11-14
03:56 PM Revision 37649: * (probes.h): create from probes.d
mrkn (Kenta Murata)
09:48 AM Revision 37647: * vm_insnhelper.c (vm_call_cfunc_with_frame): don't use ci after
EXEC_EVENT_HOOK because ci can be overridden.
* vm_eval.c: ditto.
* method.h: change invoker's parameters types.
* vm...
ko1 (Koichi Sasada)
09:05 AM Revision 37646: * eval.c (rb_mod_using): raise an ArgumentError if cyclic using is
detected. based on the patch by Charlie Somerville.
[ruby-core:49092] Bug #7308
* test/ruby/test_refinement.rb: r...
shugo (Shugo Maeda)
08:52 AM Revision 37645: Define dtrace test classes only when dtrace exists
naruse (Yui NARUSE)
08:41 AM Revision 37644: * (vm_insnhelper.c): this target is useless and causes
ruby always need rebuild. naruse (Yui NARUSE)
08:36 AM Revision 37643: * compile.c (insn_data_to_s_detail): remove debug lines.
ko1 (Koichi Sasada)
08:35 AM Revision 37642: fix ChangeLog
ko1 (Koichi Sasada)
08:34 AM Revision 37641: * vm_insnhelper.c (vm_caller_setup_args): save and restore
ci->argc and ci->blockptr before and after method invocations
because these method dispatches override call_info.
ko1 (Koichi Sasada)
07:49 AM Revision 37640: * (dmyprobes.h): always create for make dist.
* (probes.h): create or copy dmyprobes.h
* win32/Makefile.sub: only do copy dmyprobes.h.
naruse (Yui NARUSE)
06:38 AM Revision 37639: * (.SUFFIX): .SUFFIX is needed here for .d.h on bsd make.
naruse (Yui NARUSE)
06:35 AM Revision 37638: * win32/Makefile.sub (.d.h): it's not common.
usa (Usaku NAKAMURA)
06:14 AM Revision 37637: * properties.
nobu (Nobuyoshi Nakada)
06:13 AM Revision 37636: Fix dtrace commit r37631, it is [Feature #2565]
* disable dtrace because it doesn't work on FreeBSD.
* (clean-local): rm probes.h.
* common...
naruse (Yui NARUSE)
03:32 AM Revision 37635: * win32/README.win32: added mention about build directory. currently
we can not build ruby in win32 directory. this problem is reported
by Masahiro Kitajima <>.
usa (Usaku NAKAMURA)
02:12 AM Revision 37634: * re.c (rb_memsearch_ss): performance improvement by using memmem(3) if
possible. [ruby-dev:45530] [Feature #6311]
* check existence of memmem(3) and that it is not broken.
12:44 AM Revision 37633: add probes.h to svn:ignore and sort .gitignore


09:52 PM Revision 37632: * properties.
nobu (Nobuyoshi Nakada)
09:52 PM Revision 37631: * probes.d: add DTrace probe declarations. [ruby-core:27448]
* array.c (empty_ary_alloc, ary_new): added array create DTrace probe.
* compile.c (rb_insns_name): allowing DTrace ...
03:37 PM Revision 37630: * 2012-11-13
03:37 PM Revision 37629: fix typos
"garbage" (noun) is uncountable. kazu
10:26 AM Revision 37628: Fix build on DragonFly where configure fails to detect isinf()/isnan().
* (isinf, isnan): isinf() and isnan() are macros on
DragonFly which cannot be found by AC_REPLACE_FUNC...
knu (Akinori MUSHA)
07:00 AM Revision 37627: * vm_core.h (rb_call_info_t::refinements), compile.c (new_callinfo),
vm_insnhelper.c (vm_search_method): revert r37616 because it's too
slow. [ruby-dev:46477]
* test/ruby/test_refine...
shugo (Shugo Maeda)
05:30 AM Revision 37626: * 2012-11-12
05:29 AM Revision 37625: * win32/mkexports.rb (each_export): skip garbages generated by VS2012's
reported and patched by Yoshida Masato at [Bug #7333] [ruby-dev:46484]
usa (Usaku NAKAMURA)


10:02 AM Revision 37624: * test/date/test_date_{parse,strptime}.rb: changed the format of
some extra messages. tadf (tadayoshi funaba)
09:45 AM Revision 37623: * ext/date/date_parse.c (date__parse): revised the tight parser
(about handling of apostrophes). tadf (tadayoshi funaba)
08:15 AM Revision 37622: glibc 2.16 or later denies salt contained other than [0-9A-Za-z./] [Bug #7312]
naruse (Yui NARUSE)
06:39 AM Revision 37621: hash.c: warn for wrong elements
* hash.c (rb_hash_s_create): just warn for wrong elements now.
[ruby-dev:46440] [Bug #7300]
nobu (Nobuyoshi Nakada)
06:38 AM Revision 37620: hash.c: refine error messages
* hash.c (rb_hash_s_create): refine error messages.
* error.c (rb_builtin_class_name): share for above.
nobu (Nobuyoshi Nakada)
06:14 AM Revision 37619: * eval.c (top_using): remove Kernel#using, and add main.using instead.
* test/ruby/test_refinement.rb: related test. shugo (Shugo Maeda)
04:45 AM Revision 37618: * eval.c (rb_using_refinement, rb_mod_using, f_using): clear method
cache only when using is called explicitly.
* test/ruby/test_refinement.rb: related test.
shugo (Shugo Maeda)
04:23 AM Revision 37617: * lib/pstore.rb (PStore): fix not to replace ThreadError raised in
#transaction block with PStore::Error.
[ruby-core:39238] [Bug #5269]
02:42 AM Revision 37616: * vm_core.h (rb_call_info_t::refinements), compile.c (new_callinfo):
add a new field for inline method cache.
* vm_insnhelper.c (vm_search_method): check rb_call_info_t::refinements
shugo (Shugo Maeda)


11:47 PM Revision 37615: ruby.c: removed a comma before "before"
(at Tamatsukuri Hot Spring (Onsen Hackathon)) duerst (Martin Dürst)
03:04 PM Revision 37614: * 2012-11-11
03:04 PM Revision 37613: * gc.c: move immutable fields from struct heaps_slot and struct
sorted_heaps_slot into struct heaps_header.
Based on a patch from Sokolov Yura [Feature #6199][ruby-core:43592]
10:34 AM Revision 37612: typo
tadf (tadayoshi funaba)
10:29 AM Revision 37611: * complex.c: modified doc.
* ratioanl.c: ditto. tadf (tadayoshi funaba)
09:21 AM Revision 37610: * ext/date/date_parse.c: edited about era.
tadf (tadayoshi funaba)
04:03 AM Revision 37609: Revert of 37541 "* test/ruby/test_enumerator.rb: Add test to shed light upon the bug"
This reverts commit 0ab21f9572d5d5f76b908aaf3381cde32a64c4c8.
marcandre (Marc-Andre Lafortune)
03:15 AM Revision 37608: * tool/rbinstall.rb: Don't install *.gemspec under lib/.
[ruby-core:48966] [Bug #7289]
Reported by Vit Ondruch. Thanks!!!
kou (Kouhei Sutou)


04:05 PM Revision 37604: * ruby_atomic.h: renamed from atomic.h to avoid header file name conflict
on Solaris 10. [ruby-dev:46414] [Bug #7287]
* gc.c, signal.c, vm_core.h, reflect the rename from atomic.h
ngoto (Naohisa Goto)
04:00 PM Revision 37603: * atomic.h: Revert r37491 which is a temporary workaroud.
ngoto (Naohisa Goto)
03:42 PM Revision 37602: * tool/merger.rb: typo.
usa (Usaku NAKAMURA)
03:34 PM Revision 37599: * siphash.h: check configure macros before include newer headers.
usa (Usaku NAKAMURA)
03:20 PM Revision 37598: * 2012-11-10
03:19 PM Revision 37597: * siphash.h: include inttypes.h only when HAVE_INTTYPES_H is defined.
usa (Usaku NAKAMURA)
02:44 PM Revision 37595: * ChangeLog: remove redundant entries for r37581-r37584.
nagachika (Tomoyuki Chikanaga)
02:33 PM Revision 37594: erb.rb: safe concurrent use
* lib/erb.rb (ERB#run, ERB#result): eval under isolated bindings for
safe concurrent use. [ruby-core:47638] [Bug #...
nobu (Nobuyoshi Nakada)
02:05 PM Revision 37593: random.c: BYTE_ORDER
* random.c (BYTE_ORDER): define using configured WORDS_BIGENDIAN. nobu (Nobuyoshi Nakada)
02:02 PM Revision 37592: siphash.c: union sip_init_state
* siphash.c (sip_init_state): use union to suppress warnings by gcc
nobu (Nobuyoshi Nakada)
02:02 PM Revision 37591: siphash.c: union sip_init_state
* siphash.c (sip_init_state): use union to suppress warnings by gcc
nobu (Nobuyoshi Nakada)
01:02 PM Revision 37590: fix typos
11:20 AM Revision 37589: fix typos
zzak (Zachary Scott)
11:04 AM Revision 37588: * array.c (rb_ary_splice): fix r37583 doesn't condier the case when
beg > array length. naruse (Yui NARUSE)
08:11 AM Revision 37587: Use C90 comment style
naruse (Yui NARUSE)
07:12 AM Revision 37585: siphash
* random.c (rb_memhash): use siphash. nobu (Nobuyoshi Nakada)
07:08 AM Revision 37584: array.c: speedup Array#unshift by using space in shared array
* array.c: speedup Array#unshift by using space in shared array.
[Feature #6638]
- when array owns its shared arr...
nobu (Nobuyoshi Nakada)
07:08 AM Revision 37583: array.c: use shared array in rb_ary_slice
* array.c (rb_ary_splice): use shared array in rb_ary_slice.
[Feature #6638]
- use ary_ensure_room_for_push when ...
nobu (Nobuyoshi Nakada)
07:08 AM Revision 37582: array.c: make array really suitable for queue
* array.c (ary_ensure_room_for_push): make array really suitable for
queue. [Feature #6638]
when array is shared...
nobu (Nobuyoshi Nakada)
07:08 AM Revision 37581: array.c: steal shared array's container when ARY_SHARED_NUM == 1
* array.c (rb_ary_modify): steal shared array's container when
ARY_SHARED_NUM == 1. [Feature #6638]
- Do not all...
nobu (Nobuyoshi Nakada)
07:03 AM Revision 37580: * ext/bigdecimal/bigdecimal.c:
Documentation for BigDecimal
Based on a patch from Vincent Batts
[ruby-core:49047] [Bug #7305]
zzak (Zachary Scott)
06:57 AM Revision 37579: * parse.y (warn_balanced): use bit-wise operation.
nobu (Nobuyoshi Nakada)
06:28 AM Revision 37577: Add back my original example of Shellwords#shellescape.
* lib/shellwords.rb (Shellwords#shellescape): Add back my original
real world example with some enhancement.
knu (Akinori MUSHA)
06:25 AM Revision 37576: Fix an example of Shellwords#shellescape.
* lib/shellwords.rb (Shellwords#shellescape): Undo part of the
previous rdoc change. This new example using a stri...
knu (Akinori MUSHA)
04:06 AM Revision 37572: * string.c (rb_str_crypt): crypt(3) may return NULL.
Latest glibc (2.16?) crypt(3) actually returns NULL. [Bug #7312] naruse (Yui NARUSE)
03:34 AM Revision 37571: Fix build when gcc is used and the platform's libc lacks alloca().
* include/ruby/ruby.h (alloca), eval_intern.h (alloca), gc.c
(alloca): Make alloca() globally available by moving t...
knu (Akinori MUSHA)
12:30 AM Revision 37569: fix typos
zzak (Zachary Scott)
12:28 AM Revision 37568: * io.c (IO#new):
Fix indentation from r37444
[ruby-core:48052] [Bug #7179]
zzak (Zachary Scott)


10:38 PM Revision 37567: * bignum.c (bigmul0): enable big_mul_toom3.
[ruby-core:48552] [Bug #7242]
* bignum.c (bigmul1_toom3): fix incorrect calculation.
the patch is made by Heesob P...
mrkn (Kenta Murata)
08:38 PM Revision 37566: * 2012-11-09
08:38 PM Revision 37565: * bignum.c (bigmul0): disable big_mul_toom3_temporalily.
[ruby-core:48552] [Bug #7242]
* test/ruby/test_bignum.rb (test_mul_large_numbers):
add a test for bigmul1_toom3 su...
mrkn (Kenta Murata)
01:40 PM Revision 37564: * re.c (rb_memsearch): performance improvement by using memchr().
[ruby-dev:45397] [Feature #6173] glass
10:04 AM Revision 37563: * lib/net/protocol.rb (Net::InternetMessageIO#each_crlf_line):
treat \r as newline as mame pointed. [ruby-dev:46425] [Bug #7278] naruse (Yui NARUSE)
06:56 AM Revision 37558: * test/cgi/test_cgi_core.rb: Add test for CGI#header.
xibbar (Takeyuki FUJIOKA)
04:52 AM Revision 37548: Fix a couple of grammos.
knu (Akinori MUSHA)
03:09 AM Revision 37547: * (--with-opt-dir): Avoid nesting of double quotes
inside backquotes, since some traditional shells like PD KSH
(which OpenBSD's /bin/sh bases on) fails to parse them.
knu (Akinori MUSHA)
12:34 AM Revision 37546: * numeric.c: Add description of that the results of the comparing
operations of two NaNs are undefined.
[#1720] [ruby-dev:38725] [ruby-core:36966]
mrkn (Kenta Murata)


07:46 PM Revision 37543: * include/ruby/intern.h: Restore rb_enumeratorize as it was before r37497
and introduce rb_enumeratorize_with_size instead. [#7302]
* enumerator.c: ditto.
marcandre (Marc-Andre Lafortune)
07:45 PM Revision 37542: * array.c: Fix mistake in rdoc of Array#uniq.
marcandre (Marc-Andre Lafortune)
03:51 PM Revision 37541: * test/ruby/test_enumerator.rb: Add test to shed light upon the bug
which made by r37498. See ayumin (Ayumu AIZAWA)
03:36 PM Revision 37540: * 2012-11-08
03:36 PM Revision 37539: * ext/curses/view.rb: Do not fail if the file to view is shorter
than the screen height. knu (Akinori MUSHA)
07:03 AM Revision 37538: Suppress warning: Bignum out of Float range
naruse (Yui NARUSE)
07:03 AM Revision 37537: * numeric.c (ruby_float_step): fix r37514: it yielded with NaN
if the unit is infinity. naruse (Yui NARUSE)
06:49 AM Revision 37536: * lib/webrick.rb: fix typo.
ayumin (Ayumu AIZAWA)
06:36 AM Revision 37535: * lib/cgi/core.rb: alias CGI#http_header to CGI#header .
[Bug #7286] xibbar (Takeyuki FUJIOKA)
04:09 AM Revision 37534: * eval.c (rb_mod_refine): set RMODULE_IS_REFINEMENT to a created
refinement module, and don't override method_added.
* vm_method.c (rb_method_entry_make): check redefinition of
shugo (Shugo Maeda)
02:48 AM Revision 37533: ruby-additional.el: set encoding
* misc/ruby-additional.el (ruby-mode-set-encoding): now encoding needs
to be set always explicitly actually. [Feat...
nobu (Nobuyoshi Nakada)
12:16 AM Revision 37532: object.c: inadvertent symbol
* object.c (rb_mod_const_get): avoid inadvertent symbol creation. nobu (Nobuyoshi Nakada)

Also available in: Atom