From 11/13/2012 to 11/19/2012


02:12 PM Revision 37735: * (--enable-dtrace): change help message
* (--enable-dtrace): remove ineffective "else AS_CASE ..."
because the variable $rb_cv_prog_dtrace_g i...
ngoto (Naohisa Goto)
01:31 PM Revision 37734: * vm_backtrace.c (vm_backtrace_to_ary): fix a typo of an variable name.
nagachika (Tomoyuki Chikanaga)
12:37 PM Revision 37733: * vm_dump.c: not to include probes.h because the code does not depend
on it.
* (vm_dump.$(OBJEXT)): remove dependency on probes.h
ngoto (Naohisa Goto)
11:15 AM Revision 37732: * thread.c (rb_thread_s_check_interrupt): removed redundant
GET_THREAD(). kosaki (Motohiro KOSAKI)
11:13 AM Revision 37731: * thread.c (rb_threadptr_async_errinfo_active_p): added a small
comment. kosaki (Motohiro KOSAKI)
11:10 AM Revision 37730: * thread.c, vm_core.h: big rename th to cur_th when works only
th is current thread. kosaki (Motohiro KOSAKI)
11:07 AM Revision 37729: * thread.c (rb_thread_blocking_region_end): replaced GET_THREAD()
with ruby_thread_from_native(). We don't have GVL here. kosaki (Motohiro KOSAKI)
11:04 AM Revision 37728: * thread.c (rb_threadptr_execute_interrupts) removed.
* thread.c (rb_threadptr_execute_interrupts_common) renamed to
rb_threadptr_execute_interrupts. I.e. unified
kosaki (Motohiro KOSAKI)
10:54 AM Revision 37727: * signal.c (rb_get_next_signal): removed pointless signal
disabling. pthread_sigmask() only changes current thread
kosaki (Motohiro KOSAKI)
10:38 AM Revision 37726: * signal.c (install_sighandler): added comments why we need
rb_disable_interrupt(). kosaki (Motohiro KOSAKI)
10:35 AM Revision 37725: * signal.c (rb_disable_interrupt, rb_enable_interrupt): removed
* signal.c (trap_arg, trap_ensure): removed.
* signal.c (trap, sig_trap): removed pointless signal dis...
kosaki (Motohiro KOSAKI)
10:22 AM Revision 37724: * prelude.rb: Moved Mutex#synchronize to
* thread.c (rb_mutex_synchronize_m): here. [Bug #4266] kosaki (Motohiro KOSAKI)
09:43 AM Revision 37723: * signal.c (sig_signame): implements Signal.signame method
[Feature #5613]
* test/ruby/test_signal.rb (test_signame): adds test for above
* NEWS: add an item about above
kosaki (Motohiro KOSAKI)
07:54 AM Revision 37722: struct.c: fix typo
* struct.c (rb_struct_each_pair): fix typo. [Bug #7382] nobu (Nobuyoshi Nakada)
07:31 AM Revision 37721: struct.c: yield assoc in each_pair
* struct.c (rb_struct_each_pair): yield associated pairs so that
an unsplat argument can get both, for consistency ...
nobu (Nobuyoshi Nakada)
07:17 AM Revision 37720: no -lelf
* (LIBS): libelf is need on only FreeBSD. nobu (Nobuyoshi Nakada)
07:08 AM Revision 37719: no purelib
* (RUBYLIB): purelib option in runruby.rb is deprecated
since r28841, so set to an empty list to get rid ...
nobu (Nobuyoshi Nakada)
06:41 AM Revision 37718: * .travis.yml (script): add OPTS=-v, requested by @_ko1.
shyouhei (Shyouhei Urabe)
06:11 AM Revision 37717: * fix didn't enable_dtrace=yes on auto.
* see enable_dtrace for adding libelf on FreeBSD.
* VPATH is not needed.
naruse (Yui NARUSE)
06:07 AM Revision 37716: * thread.c: add `Thread#backtrace_locations' method.
This method is similart to `caller_locations' method for
specific method.
And fix to accept `level' and `n' param...
ko1 (Koichi Sasada)
05:56 AM Revision 37715: *, (probes.h): moved to and changed to
see $(srcdir).
* (probes.dmyh): now created it on $(srcdir) always.
* win32/Makefile.sub (.SUFFIXES): rem...
usa (Usaku NAKAMURA)
02:06 AM Revision 37714: * (vm_dump.o): depend probes.h.
naruse (Yui NARUSE)
01:04 AM Revision 37713: * (.SUFFIX): bsdmake needs .SUFFIX is defined before use.
* fix path of probes.dmyh.
* FreeBSD's USDT requires libelf.
naruse (Yui NARUSE)


04:30 PM Revision 37712: * 2012-11-19
04:30 PM Revision 37711: * vm_core.h, probes_helper.h (RUBY_DTRACE_FUNC_ENTRY_HOOK,
RUBY_DTRACE_FUNC_RETURN_HOOK): move from vm_core.h to new file
probes_helper.h for narrowing dependency to probes.h...
ngoto (Naohisa Goto)
11:55 AM Revision 37710: * bignum.c (rb_cstr_to_inum): should accept underscores of
sequence of two or more when unchecked mode. tadf (tadayoshi funaba)
08:24 AM Revision 37709: *,, support DTrace on Solaris 10,
based on r26235 by Yugui. On Solaris 10, low optimization level
may also be needed, e.g. optflags="-xO1" or "-xO0" ...
ngoto (Naohisa Goto)
12:35 AM Revision 37708: * complex.c (read_comp): mathn compliant.
* rational.c (read_num): ditto. tadf (tadayoshi funaba)
12:26 AM Revision 37707: trivial changes.
tadf (tadayoshi funaba)


05:53 PM Revision 37706: Swap logic around wildcard character detection
* win32/file.c (replace_to_long_name): correct logic around wildcard
characters detection and ensure wide-chars are...
luislavena (Luis Lavena)
05:03 PM Revision 37705: * complex.c (read_comp): modified handling of polar form.
tadf (tadayoshi funaba)
03:51 PM Revision 37704: * complex.c (read_comp): fixed handling of polar form.
tadf (tadayoshi funaba)
03:20 PM Revision 37703: * 2012-11-18
03:19 PM Revision 37702: * complex.c (string_to_c_strict, string_to_c): rewrote without regexp.
* rational.c (string_to_r_strict, string_to_r): ditto. tadf (tadayoshi funaba)
02:57 PM Revision 37701: * complex.c (make_patterns): should not accept extra sign.
tadf (tadayoshi funaba)
12:46 PM Revision 37700: Skip path expansion for all wildcard characters
* win32/file.c (replace_to_long_name): skip expansion for all wildcard
[ruby-core:49451] [Bug #7374]
luislavena (Luis Lavena)
11:07 AM Revision 37699: benchmark/driver.rb: fix typos and output.
Eregon (Benoit Daloze)
03:15 AM Revision 37698: * ext/psych/lib/psych/visitors/yaml_tree.rb: use literal YAML style
when emitting multi-line strings. Thanks @atambo
* test/psych/test_yaml.rb: test for change.
03:11 AM Revision 37697: * ext/psych/lib/psych/scalar_scanner.rb: avoid raising exceptions when
parsing Floats and Integers. Thanks riffraff [ruby-core:44426]
* test/psych/test_numeric.rb: associated test
02:46 AM Revision 37696: st_update passes the key in st_table
* st.c (st_update): pass the key in st_table so that we can free
memory of the key in st_table when deleting.
02:29 AM Revision 37695: * properties.
nobu (Nobuyoshi Nakada)
02:28 AM Revision 37694: * ext/psych/lib/psych/core_ext.rb: move Kernel#y so that it can
manually be required as 'psych/y'.
* ext/psych/lib/psych/y.rb: ditto


11:14 PM Revision 37693: * lib/abbrev.rb: fix r37113. Correct examples, fix style
and show explicit dependency (require 'abbrev'). Eregon (Benoit Daloze)
10:43 PM Revision 37692: skip long name conversion if last character is a wildcard one
* win32/file.c (replace_to_long_name): skip automatic path expansion
when wildcard character is used. [ruby-core:4...
luislavena (Luis Lavena)
05:02 PM Revision 37691: object.c: suppress warning
* object.c (rb_obj_alloc): suppress unused variable warning.
* tool/gen_dummy_probes.rb: define dtrace disabling macro.
nobu (Nobuyoshi Nakada)
05:02 PM Revision 37690: vm.c: gc guard
* vm.c (vm_collect_usage_operand): prevent from GC. nobu (Nobuyoshi Nakada)
05:02 PM Revision 37689: adjust indent
* object.c (rb_obj_alloc): adjust indent.
* vm.c (vm_collect_usage_{insn,operand,register}): ditto.
nobu (Nobuyoshi Nakada)
04:55 PM Revision 37688: * lib/cgi/core.rb: Use symbols instead of strings for
{const_,instance_variable_}{get,set}. [#7161]
* lib/drb/drb.rb: ditto.
* lib/ipaddr.rb: ditto.
* lib/irb/workspace...
marcandre (Marc-Andre Lafortune)
03:55 PM Revision 37687: * marshal.c (w_object): add flonum to arg->data to keep reference index
consistency. [ruby-core:49323] [Bug #7348]
* test/ruby/test_marshal.rb: add a test for above.
nagachika (Tomoyuki Chikanaga)
03:40 PM Revision 37686: dependencies for proges.dmyh
* (incs): dist files need probes.dmyh.
* (probes.dmyh): depends on generator script.
nobu (Nobuyoshi Nakada)
03:22 PM Revision 37685: * 2012-11-17
03:22 PM Revision 37684: probes.h: select by suffix rules
*,,, win32/Makefile.sub (probes.h):
select generating with dtrace or copying dum...
nobu (Nobuyoshi Nakada)
12:51 PM Revision 37683: fix a typo
12:32 PM Revision 37682: fix typo
* (yes-dtrace-probes.h): fix typo. nobu (Nobuyoshi Nakada)
10:34 AM Revision 37681: * thread.c (rb_thread_call_without_gvl2): change the parameter of
`func' from `int *skip_interrupt' to `VALUE *flags'.
If (flags & RUBY_CALL_WO_GVL_FLAG_SKIP_CHECK_INTS) is not zero...
ko1 (Koichi Sasada)
10:03 AM Revision 37680: * (no-dtrace-probes.h): dmyprobes.h is in srcdir.
* (dmyprobes.h): ditto. naruse (Yui NARUSE)
08:57 AM Revision 37679: split probes.h commands
* (probes.h): split build commands for dtrace-available
and unavailable platforms.
nobu (Nobuyoshi Nakada)
08:56 AM Revision 37678: move probes.h to all-incs
* (incs): probes.h is a platform dependent file, so it
cannot be a part of prereq target. move it to a...
nobu (Nobuyoshi Nakada)
08:30 AM Revision 37677: move after AC_PROG_CC
* (DTRACE): move after AC_PROG_CC since cross_compiling
is set in it.
nobu (Nobuyoshi Nakada)
07:28 AM Revision 37676: range.c: compare signedness only
* range.c (BSEARCH_CHECK): compare signedness only and relax an
assumption of the result of rb_cmpint() which compi...
nobu (Nobuyoshi Nakada)
07:24 AM Revision 37675: cross-compiling fix
* (DTRACE): ignore non-prefixed version if
nobu (Nobuyoshi Nakada)
06:42 AM Revision 37674: probes.h
*, win32/Makefile.sub (probes.h): fix copying dmyprobes.h
path when outplace-build.
nobu (Nobuyoshi Nakada)
06:41 AM Revision 37673: * .gitignore: ignore dmyprobes.h
nobu (Nobuyoshi Nakada)
06:41 AM Revision 37672: remove trailing spaces
nobu (Nobuyoshi Nakada)
06:37 AM Revision 37671: * lib/net/pop.rb (POP3.certs): fix typo in comment.
patch from no6v (Nobuhiro IMAI) <>.
[ruby-dev:46519] [Bug #7355]
03:49 AM Revision 37670: * test/rake/helper.rb (Rake::TestCase#setup): revert r37669.
@orig_PWD should be the original pwd.
* test/rake/test_*.rb: don't use @orig_PWD to load libraries.
It should be s...
naruse (Yui NARUSE)
01:25 AM Revision 37669: * test/rake/helper.rb (Rake::TestCase#setup): @orig_PWD shouldn't be
Dir.pwd when the build directory is different from source directory. naruse (Yui NARUSE)
12:43 AM Revision 37668: * lib/rake/version.rb: workaround fix to build. see #7366
[ruby-dev:46522] naruse (Yui NARUSE)


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

Also available in: Atom