From 11/09/2012 to 11/15/2012


10:32 PM Revision 37667: * lib/rake*: Updated to rake 0.9.4 for
a list of changes in 0.9.4.
* test/rake*: dit...
drbrain (Eric Hodel)
10:01 PM Revision 37666: * properties.
nobu (Nobuyoshi Nakada)
09:59 PM Revision 37665: * 2012-11-16
09:59 PM Revision 37664: * lib/rake*: Updated to rake 0.9.3
* test/rake*: ditto
* bin/rake: ditto
* NEWS: ditto
drbrain (Eric Hodel)
09:17 PM Revision 37663: Ignore dmyprobes.h,
drbrain (Eric Hodel)
01:50 PM Revision 37662: * range.c (range_bsearch): fix some bugs: a documentation bug, a wrong
condition, missed break in switch/case, and workaround for GCC
optimization. See [ruby-core:49364] in detail. A gr...
mame (Yusuke Endoh)
01:42 PM Revision 37661: * vm_exec.h (GENTRY): GENTRY should be pointer size.
A patch by yoshidam (Yoshida Masato) [Bug #7332]. ko1 (Koichi Sasada)
04:22 AM Revision 37658: * man/erb.1: Fix grammar and copyright dates
* man/goruby.1: ditto
* man/irb.1: ditto
* man/rake.1: ditto
* man/ri.1: ditto
* man/ruby.1: ditto
Patch by Arthur ...
zzak (Zachary Scott)
02:37 AM Revision 37657: * man/ruby.1: Grammar edits for man page
Based on a patch by Michael Endsley [Fixes Github #183] zzak (Zachary Scott)


04:03 PM Revision 37656: * 2012-11-15
03:53 PM Revision 37655: * array.c (rb_ary_bsearch): add Array#bsearch for binary search.
[ruby-core:36390] [Feature #4766]
* test/ruby/test_array.rb: add a test for above.
* range.c (range_bsearch): add R...
mame (Yusuke Endoh)
04:26 AM Revision 37652: * lib/fileutils.rb (chmod): Add "X" to modes, convert format to table
[ruby-core:48965] [Bug #7288] zzak (Zachary Scott)
02:53 AM Revision 37651: * lib/csv.rb (init_comments): Document private method #init_comments.
Based on a patch from Vincent Batts [ruby-core:49172] [Bug #7319] zzak (Zachary Scott)


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)

Also available in: Atom