From 11/14/2012 to 11/20/2012


04:00 PM Revision 37774: * file.c (Init_File): null device definition uses rb_define_const
instead of rb_file_const. kosaki (Motohiro KOSAKI)
03:29 PM Revision 37773: * test/ruby/test_m17n_comb.rb (test_str_crypt): Use RbConfig to get
libc's directory. Patched by Vit Ondruch [ruby-core:49763] [Bug #7312] naruse (Yui NARUSE)
03:17 PM Revision 37772: * marshal.c: add marshal readahead. marshalized Array, Hash and Struct
have size at least number of its elements, marshal readahead will
read the certain readable length and buffer when ...
03:03 PM Revision 37771: * 2012-11-21
03:03 PM Revision 37770: * array.c (rb_get_values_at): Improve rdoc
marcandre (Marc-Andre Lafortune)
02:53 PM Revision 37769: * NEWS: List incompatible change for Array#values_at [#6203]
marcandre (Marc-Andre Lafortune)
01:48 PM Revision 37768: * (.d.h): replace char * to const char * because somehow
current dtrace removes const of function declaration in probes.d. naruse (Yui NARUSE)
01:17 PM Revision 37767: fix a typo
01:09 PM Revision 37766: fix guards for glibc crypt(3) see #7312
naruse (Yui NARUSE)
12:57 PM Revision 37765: * include/ruby/debug.h: introdudced.
Debugging/profiling features will be located.
* vm_trace.c: expose C-level TracePoint APIs.
Note that they are expe...
ko1 (Koichi Sasada)
12:49 PM Revision 37764: * (RUBY_DTRACE_AVAILABLE): only check dtrace availability.
* (RUBY_DTRACE_POSTPROCESS): restore. naruse (Yui NARUSE)
12:41 PM Revision 37763: fix typos
12:39 PM Revision 37762: fix typos
12:39 PM Revision 37761: fix indent
12:34 PM Revision 37760: file.c: fix rdoc
* file.c (rb_file_s_extname): fix rdoc for an edge case. nobu (Nobuyoshi Nakada)
12:34 PM Revision 37759: remove trailing spaces.
nobu (Nobuyoshi Nakada)
12:34 PM Revision 37758: * test/win32ole/test_win32ole_type.rb (test_implemented_ole_types):
IShellDispatch6 bundled in Windows 8. Thanks to phasis68 (Heesob
Park). [ruby-core:49580][Bug #7403]
suke (Masaki Suketa)
12:10 PM Revision 37757: * complex.c: some improvements.
* rational.c: ditto. tadf (tadayoshi funaba)
12:01 PM Revision 37756: fix for BSD make
* (incs): BSD make cannot deal with non-prefixed dependency
and prefixed target.
nobu (Nobuyoshi Nakada)
11:13 AM Revision 37755: * array.c (rb_ary_bsearch): fix rdoc bug (O(n log n) -> O(log n)).
Patch by Charlie Somerville. [ruby-core:49661] [Bug #7409]
* range.c (range_bsearch): ditto.
mame (Yusuke Endoh)
11:13 AM Revision 37754: add a ticket number
ko1 (Koichi Sasada)
11:05 AM Revision 37753: * vm_trace.c: rename and add TracePoint APIs.
(1){...} creates a new trace point
but does not make it enable.
(2) TracePoint.trace(...){......
ko1 (Koichi Sasada)
09:48 AM Revision 37752: * vm_trace.c: add two methods:
(1) TracePoint#return_value which returns return
value on the :return and :c_return event.
(2) TracePoint#raised_...
ko1 (Koichi Sasada)
08:47 AM Revision 37751: Add extra line to prevent syntax error
naruse (Yui NARUSE)
08:35 AM Revision 37750: * fix dtrace didn't work on darwin.
naruse (Yui NARUSE)
06:37 AM Revision 37749: * file.c (File.extname): Documentation for extname on dotfiles and
files ending with a dot. Also, added example for this.
[ruby-core:47852] [Bug #7112]
zzak (Zachary Scott)
05:39 AM Revision 37748: fix typo
kosaki (Motohiro KOSAKI)
05:39 AM Revision 37747: * test/ruby/test_signal.rb (TestSignal#test_signame): fix windows
test failure. Process.kill on windows can't send a signal to
another process.
kosaki (Motohiro KOSAKI)
05:00 AM Revision 37746: * io.c (Init_IO): removed all rb_file_const() into file.c.
* file.c (Init_File): replace with rb_file_const() with
rb_define_const() because RDoc don't care rb_file_const.
kosaki (Motohiro KOSAKI)
03:37 AM Revision 37745: * ruby.c (usage_msg): Fix typo [ruby-core:49205] [Bug #7327]
zzak (Zachary Scott)
03:34 AM Revision 37744: * file.c (File::NULL): Document File::NULL constant
[ruby-core:49384] [Bug #7365] zzak (Zachary Scott)
03:07 AM Revision 37743: * win32/win32.c (rb_w32_read): Windows 8 fixed one of a bug of console
based on the patch by Heesob Park at [ruby-core:49479] [Bug #7379]
usa (Usaku NAKAMURA)
02:21 AM Revision 37742: * (--enable-dtrace): always call RUBY_DTRACE_BSD_BROKEN
for portability.
As the note, FreeBSD 8 has DTrace as the optional
feature (it is enabled by the build option), b...
naruse (Yui NARUSE)
02:05 AM Revision 37741: * lib/tracer.rb (Tracer.trace_func): printf to stdout
Patch by Michal Fojtik [ruby-core:45219] [Bug #6490] zzak (Zachary Scott)
01:21 AM Revision 37740: revert r37730
kosaki (Motohiro KOSAKI)
01:18 AM Revision 37739: Revert "* (--enable-dtrace): change help message"
This reverts commit 029b59ba53d0cc42630d623b52d94cae0df62734.
When $rb_cv_prog_dtrace_g is yes on FreeBSD even if /us...
naruse (Yui NARUSE)
12:51 AM Revision 37738: * 2012-11-20
12:51 AM Revision 37737: Remove probes.o before update
naruse (Yui NARUSE)
12:50 AM Revision 37736: Don't send INT signal itself.
On make test-all, it kills the process. naruse (Yui NARUSE)


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)

Also available in: Atom