From 06/28/2011 to 07/04/2011


04:32 PM Revision 32409: * thread_pthread.c (native_sleep): cut the waiting time up to
100,000,000 because Solaris cond_timedwait() return EINVAL if an
argument is greater than current_time + 100,000,00...
mame (Yusuke Endoh)
04:32 PM Revision 32408: * cont.c: disable FIBER_USE_NATIVE on Solaris because resuming any
Fiber caused SEGV. I haven't follow up the issue deeply, but it
works when disabling the feature.
mame (Yusuke Endoh)
04:32 PM Revision 32407: * addr2line.c: include <alloca.h> to fix a build issue on Solaris.
mame (Yusuke Endoh)
04:14 PM Revision 32406: * ChangeLog: fix typos.
nagachika (Tomoyuki Chikanaga)
03:55 PM Revision 32405: * 2011-07-05
03:55 PM Revision 32404: * ext/coverage/coverage.c: resurrect r32071 + add GC guard for
rb_coverages. [ruby-core:37352] [Bug #4927]
[ruby-core:36539] [Feature #4796]
* test/coverage/test_coverage.rb res...
nagachika (Tomoyuki Chikanaga)
01:27 PM Revision 32403: * thread_pthread.c (get_stack): For NetBSD/FreeBSD, use
pthread_attr_getstack() if possible. and, remove an assumption
of stack growing direction.
kosaki (Motohiro KOSAKI)
12:58 PM Revision 32402: comment fix.
kosaki (Motohiro KOSAKI)
12:21 PM Revision 32401: * ext/coverage/coverage.c: revert r32071. The commit caused SEGV on
some minor nonfree OS. I have no means of debugging the bug. My
personal opinion is that such OS should be unsupp...
mame (Yusuke Endoh)
10:22 AM Revision 32400: * NEWS: The incompatibility of Rexml introduced at r29646 is reverted at r31008.
mrkn (Kenta Murata)
06:52 AM Revision 32399: * insns.def: written in Shift_JIS.
nobu (Nobuyoshi Nakada)
06:52 AM Revision 32398: * thread_pthread.c (thread_start_func_1): suppress an unused variable.
nobu (Nobuyoshi Nakada)
06:49 AM Revision 32397: * remove garbages.
nobu (Nobuyoshi Nakada)
06:49 AM Revision 32396: * NEWS (rexml) encoding methods return encoding names as strings again since r31008.
nobu (Nobuyoshi Nakada)


10:16 PM Revision 32395: * thread_pthread.c (get_stack): the return address of get_stack
must be the highest address of the current thread's stack. naruse (Yui NARUSE)
09:56 PM Revision 32394: * include/ruby/intern.h, thread_pthread.c (rb_reserved_fd_p,
RB_RESERVED_FD_P): added. This C API is to limit to access
fds which are used by RubyVM internal. In this version...
ko1 (Koichi Sasada)
09:09 PM Revision 32393: * 2011-07-04
09:09 PM Revision 32392: add NEWS for O_DIRECT
kosaki (Motohiro KOSAKI)
02:44 PM Revision 32389: * ext/extmk.rb (extmake): suppresses outputs from extconf.rb.
(extmake) warns a failure in extconf.rb. yugui (Yuki Sonoda)
04:44 AM Revision 32373: * array.c (ary_reject_bang): should not remove elements which are
not yielded. [Bug #2545] nobu (Nobuyoshi Nakada)
01:07 AM Revision 32372: * ChangeLog: fix typo.
nobu (Nobuyoshi Nakada)


09:18 PM Revision 32371: * thread_pthread.c (get_stack): pthread_attr_getstack() doesn't
return stack start addres, but stack base address. Thus,
we need to add stack size for getting stack start address....
kosaki (Motohiro KOSAKI)
07:59 PM Revision 32370: * 2011-07-03
07:59 PM Revision 32369: * thread_pthread.c (get_stack): add to a care of gurad page on Mac
OS X. [Bug #1813] [ruby-core:24540]
* signal.c (ruby_signal): SIGBUS use alternative stack too.
* signal.c (sigbus): ...
kosaki (Motohiro KOSAKI)
01:02 AM Revision 32367: * ChangeLog: Fix revision number at which Kernel#respond_to? change is
reverted. It is reverted at the revision 28564 according to
[ruby-dev:41837]. The wrong revision number is also r...
mrkn (Kenta Murata)
12:03 AM Revision 32366: * test/openssl/test_ocsp.rb
* test/openssl/test_x509_cert.rb: Perform SHA-256 tests only if
supported by the available OpenSSL version. Version...


10:27 PM Revision 32363: * NEWS: remove a Kernel#respond_to? from the incompatibilies
because it has been reverted at revision 41837 marcandre (Marc-Andre Lafortune)
10:25 PM Revision 32362: * test/matrix/test_matrix.rb: remove obsolete test [ruby-core:37714]
marcandre (Marc-Andre Lafortune)
10:17 PM Revision 32360: * array.c (rb_ary_reject_bang, rb_ary_delete_if): rejected
elements should be removed. fixed [Bug #2545] nobu (Nobuyoshi Nakada)
04:59 PM Revision 32359: * NEWS: remove a description of Kernel#respond_to? because it has
been reverted at revision 41837. mrkn (Kenta Murata)
04:00 PM Revision 32358: * 2011-07-02
04:00 PM Revision 32357: * NEWS: describe a change of multiplication of Bignum.
mrkn (Kenta Murata)
10:39 AM Revision 32356: * benchmark/bm_app_erb.rb: increase loop count. too short
mesurement time makes less accuracy.
* benchmark/bm_app_factorial.rb: ditto.
* benchmark/bm_app_mandelbrot.rb: ditt...
kosaki (Motohiro KOSAKI)
09:48 AM Revision 32355: * fix typos.
nobu (Nobuyoshi Nakada)
06:33 AM Revision 32354: * NEWS: typo
marcandre (Marc-Andre Lafortune)
06:23 AM Revision 32353: * lib/matrix: Add LUP decomposition
marcandre (Marc-Andre Lafortune)
06:21 AM Revision 32352: * lib/matrix.rb: Allow non integer exponents for Matrix#**
marcandre (Marc-Andre Lafortune)
06:13 AM Revision 32351: * lib/matrix: Add Eigenvalue Decomposition
marcandre (Marc-Andre Lafortune)
06:10 AM Revision 32350: * lib/matrix: Add Matrix#round
marcandre (Marc-Andre Lafortune)
05:28 AM Revision 32349: * string.c (tr_trans): free heap ptr when the str is not embeded.
patched by Eric Wong. [Bug #4956] [ruby-core:37708] naruse (Yui NARUSE)
02:08 AM Revision 32348: * thread.c (do_select): fix memory leak.
Patch by Eric Wong. Thank you! [Bug #4953] [ruby-core:37702] kosaki (Motohiro KOSAKI)


11:23 PM Revision 32347: * vm_insnhelper.c (vm_getivar): check vm state version
to invalidate inline chache (ivar index).
fixes Bug #4926.
* vm_insnhelper.c (vm_setivar): ditto.
ko1 (Koichi Sasada)
11:03 PM Revision 32346: * error.c, thread_pthread.c (WRITE_CONST): suppress warnings
`ignoring return value'. nobu (Nobuyoshi Nakada)
10:29 PM Revision 32345: * thread.c (rb_threadptr_check_signal): only wake up main thread.
* thread.c (rb_threadptr_execute_interrupts_common): check signal
deliverly if it is main thread.
fixes [ruby-dev...
ko1 (Koichi Sasada)
08:20 PM Revision 32344: * sytle fixes.
nobu (Nobuyoshi Nakada)
06:49 PM Revision 32343: reedited previous commit
tadf (tadayoshi funaba)
06:34 PM Revision 32342: * class.c (Init_class_hierarchy): should name BasicObject
* variable.c (rb_const_defined_0): should not check for
superclasses as const_get.
matz (Yukihiro Matsumoto)
06:32 PM Revision 32341: typo
tadf (tadayoshi funaba)
06:24 PM Revision 32340: * 2011-07-01
06:24 PM Revision 32339: * ext/date/date_core.c: mathn still alive (should die soon).
tadf (tadayoshi funaba)
02:54 PM Revision 32338: * misc/ruby-mode.el (ruby-indent-beg-re): Fix broken regular
expression. Fixes #4546 mrkn (Kenta Murata)
02:48 PM Revision 32337: * ext/openssl/ossl.c/.h: Added ossl_x509_name_sk2ary.
* ext/openssl/ossl.c: Replaced ossl_x509_ary2k by generic macro to
simplify future conversions.
* ext/openssl/ossl_...
01:39 PM Revision 32336: * benchmark/bm_vm2_defined_method.rb: added to measure performance of
bmethod (method defined by define_method()). ko1 (Koichi Sasada)
01:35 PM Revision 32335: add an issue number.
ko1 (Koichi Sasada)
01:34 PM Revision 32334: * vm_insnhelper.c (vm_call_bmethod): fix to hook call/return event
for methods defined by define_method().
* thread.c (call_trace_proc): Fix to skip if class is not given (0).
Note t...
ko1 (Koichi Sasada)
12:31 PM Revision 32333: Add warnflags for XL/C on AIX during configure
to avoid [Bug #3971]. See [ruby-core:32859] kanemoto (Yutaka Kanemoto)
12:17 PM Revision 32332: * ext/date/date_core.c (m_ajd): refers a constant.
tadf (tadayoshi funaba)
11:55 AM Revision 32331: * property.
nobu (Nobuyoshi Nakada)
11:54 AM Revision 32330: * ext/io/console/io-console.gemspec: spin-off gem for 1.9.2.
nobu (Nobuyoshi Nakada)
11:38 AM Revision 32329: * ext/date/date_core.c: trivial changes.
tadf (tadayoshi funaba)
11:35 AM Revision 32328: * test/ruby/test_rand.rb (test_random_bytes): fold mysteriously
long line. nobu (Nobuyoshi Nakada)
11:12 AM Revision 32327: * test/ruby/test_module.rb: tests for [Bug #3422] and [Bug #3423].
nobu (Nobuyoshi Nakada)
11:05 AM Revision 32326: * ext/date/date_core.c: modified doc.
tadf (tadayoshi funaba)
10:11 AM Revision 32325: * thread_pthread.c (thread_timer): ignore unknown errno.
(we observed that select(2) was canceled by errno=514 on
boron == Linux/Xen environment)
ko1 (Koichi Sasada)
08:38 AM Revision 32324: add ref to ticket.
ko1 (Koichi Sasada)
08:37 AM Revision 32323: * ext/objspace/objspace.c (ObjectSpace.count_tdata_objects):
Fix rdoc.
* ext/objspace/objspace.c (ObjectSpace.count_tdata_objects):
Change key type if the klass of a object is ...
ko1 (Koichi Sasada)
08:27 AM Revision 32322: * thread_pthread.c (ping_signal_thread_list, thread_timer):
fix to keep polling state if there are any ping-tasks. ko1 (Koichi Sasada)
07:31 AM Revision 32321: fix typos
03:34 AM Revision 32319: * thread_pthread.c (rb_thread_create_timer_thread): allocate
machine stack for the timer thread at least 12KB. FreeBSD 8.2
AMD64 causes machine stack overflow (SIGSEGV) only w...
ko1 (Koichi Sasada)
03:31 AM Revision 32318: Rerefix test introduced by r32307.
naruse (Yui NARUSE)
03:27 AM Revision 32317: Refix test introduced by r32307.
naruse (Yui NARUSE)
03:18 AM Revision 32316: Fix test introduced by r32307.
naruse (Yui NARUSE)
03:13 AM Revision 32315: * ChangeLog: fix some typos.
nagachika (Tomoyuki Chikanaga)
12:37 AM Revision 32314: * lib/weakref.rb: Attach documentation to WeakRef and add missing
documentation drbrain (Eric Hodel)
12:30 AM Revision 32313: * lib/yaml.rb: Document toplevel YAML and YAML::ENGINE to describe
Psych vs Syck engines. drbrain (Eric Hodel)
12:22 AM Revision 32312: * lib/cmath.rb: Hide handle_no_method_error from RDoc.
* error.c: Document or hide undocumented error classes. drbrain (Eric Hodel)
12:20 AM Revision 32311: * hash.c: Document ENV
drbrain (Eric Hodel)


09:37 PM Revision 32310: * ruby.c (ruby_init_loadpath_safe): ensure RUBYLIB_PREFIX stored
before RUBYLIB, even if MANGLED_PATH is enabled. fixed #1679.
MANGLED_PATH is disabled by the default and will be ...
nobu (Nobuyoshi Nakada)
09:37 PM Revision 32309: * ChangeLog: garbages.
nobu (Nobuyoshi Nakada)
09:33 PM Revision 32308: * lib/drb/drb.rb: Hide deprecated toplevel DRb constants.
drbrain (Eric Hodel)
09:25 PM Revision 32307: * lib/cmath.rb (CMath.log): second argument: b can be nil.
naruse (Yui NARUSE)
09:23 PM Revision 32306: * thread.c (ruby_thread_s_pass): Fix typo.
drbrain (Eric Hodel)
09:17 PM Revision 32305: * lib/rdoc: Update to RDoc 3.8 which contains fixes for documentation
in trunk. drbrain (Eric Hodel)
05:55 PM Revision 32304: * thread.c (rb_threadptr_execute_interrupts_common): remove
meaningless native_thread_yield(). It never close a race. kosaki (Motohiro KOSAKI)
05:43 PM Revision 32303: * thread.c (rb_thread_schedule_limits): minor optimization.
eliminate machine context saving when running time is enough small. kosaki (Motohiro KOSAKI)
05:36 PM Revision 32302: * thread.c (rb_thread_schedule_rec): move interrupt_flag check to
And also rename to rb_thead_schedule_limits() and remove
sched_depth argument. It's no long...
kosaki (Motohiro KOSAKI)
04:34 PM Revision 32301: * thread.c (thread_s_pass): change RDoc description and remove
a sample code. The actual implementaion never behave as explained by
an example. It's a documentation bug.
kosaki (Motohiro KOSAKI)
03:55 PM Revision 32300: * thread.c (rb_thread_stop): change RDoc sample code. The old
example is buggy and may cause deadlock. The patch is
suggested by Heesob Park <>. Thank you!
kosaki (Motohiro KOSAKI)
03:51 PM Revision 32299: * thread.c (rb_thread_wakeup): change RDoc sample code. The old
example is buggy and may not display anything by a race.
The patch is suggested by Heesob Parrk <>....
kosaki (Motohiro KOSAKI)
03:47 PM Revision 32298: * thread.c (rb_thread_run): change RDoc. The old example is buggy
and may cause deadlock. The patch is suggested by Heesob Park
<>. Thank you! [Bug #3606][ruby-core:...
kosaki (Motohiro KOSAKI)
03:31 PM Revision 32297: * lib/cmath.rb: make same exception for Math. fix [Bug #3137].
keiju (Keiju Ishitsuka)
03:08 PM Revision 32296: * 2011-06-30
03:08 PM Revision 32295: * lib/irb/completion.rb: complate correctry string literal. fix [Bug #1145].
keiju (Keiju Ishitsuka)
02:47 PM Revision 32294: * ext/date/date_core.c: avoided using timev.
* ext/date/date_strftime.c: ditto.
* ext/date/date_tmx.h: ditto.
tadf (tadayoshi funaba)
02:40 PM Revision 32292: * ext/openssl/ossl.h (OPENSSL_SYS_WIN32): define only if not defined.
eban (Hirofumi WATANABE)
02:22 PM Revision 32288: * ext/openssl/ossl.h (OPENSSL_SYS_WIN32): support for mingw(msys).
eban (Hirofumi WATANABE)
02:11 PM Revision 32287: * ex/tk/extconf.rb: support for the latest ActiveTcl with mingw.
eban (Hirofumi WATANABE)
01:51 PM Revision 32286: * lib/irb/cmd/help.rb: support RDoc 3.7. fix [Bug #3760].
keiju (Keiju Ishitsuka)
01:19 PM Revision 32285: * lib/tracer.rb: Tracer.on only if required by -r command-line option.
and consider --disable-gems option.
* test/test_tracer.rb: add tests for it.
nagachika (Tomoyuki Chikanaga)
12:38 PM Revision 32284: * ChangeLog: fix some typos.
nagachika (Tomoyuki Chikanaga)
05:20 AM Revision 32283: * variable.c (rb_const_get_0): should not look for superclasses if
the second optional argument is given for #const_get().
fix [Bug #3422] [Bug #3423]
matz (Yukihiro Matsumoto)
03:35 AM Revision 32282: * properties.
nobu (Nobuyoshi Nakada)
03:09 AM Revision 32281: * math.c: Attach documentation for Math.
* object.c: Document NIL, TRUE, FALSE.
* io.c: Improve grammar in ARGF comment. Document STDIN/OUT/ERR.
drbrain (Eric Hodel)
01:13 AM Revision 32280: * lib/matrix.rb: can build rectangular matrices.
Vector#r should be called #magnitude marcandre (Marc-Andre Lafortune)
01:11 AM Revision 32279: * lib/matrix.rb: Add Matrix#diagonal?, hermitian?, normal?, orthogonal?
permutation?, symmetric?, {lower|upper}triangular?, unitary?, zero? marcandre (Marc-Andre Lafortune)
01:09 AM Revision 32278: * lib/matrix.rb: Specialize Matrix#find_index to return [row, col]
and accept the same optional argument as #each marcandre (Marc-Andre Lafortune)
01:08 AM Revision 32277: * lib/matrix.rb: Matrix#each{_with_index} can iterate over a subset of the Matrix
marcandre (Marc-Andre Lafortune)


09:23 PM Revision 32276: * thread_pthread.c (native_stop_timer_thread): skip to close
communication pipe to avoid timing bug (process termination timing).
The communication pipe will closed by OS.
ko1 (Koichi Sasada)
09:17 PM Revision 32275: * 2011-06-29
09:17 PM Revision 32274: * error.c (rb_async_bug_errno): async-safe bug report function.
In timer thread, signal handler shoul use it.
The patch is contributed by Eric Wong <>.
ko1 (Koichi Sasada)
02:46 PM Revision 32273: * lib/tracer.rb: count only non-internal libraries in stack trace,
ignoring custom_require. keiju (Keiju Ishitsuka)
12:52 PM Revision 32272: * lib/irb/ruby-lex.rb: recognize '\char' in ruby statement.
keiju (Keiju Ishitsuka)
11:45 AM Revision 32271: * lib/debug.rb (var_list): Command 'var *' did not work on 1.9(!).
global_variables, local_variables, and instance_variables returns
Symbols from 1.9 and need to stringify before ev...
nahi (Hiroshi Nakamura)
10:42 AM Revision 32270: * signal.c: Now, USE_TRAP_SIGMASK depend on HAVE_PTHREAD_SIGMASK.
The code have already depended on pthread_sigmask since r27464. kosaki (Motohiro KOSAKI)
06:09 AM Revision 32269: * lib/benchmark.rb: merge eregon/benchmark.
patched by Benoit Daloze. [ruby-core:37593] [Bug #4940]
* lib/benchm...
naruse (Yui NARUSE)
04:45 AM Revision 32268: * thread_win32.c (native_stop_timer_thread): fixed commit miss of
r32244. grep sources before changing the signature of a function. usa (Usaku NAKAMURA)
02:57 AM Revision 32267: add a detail comment.
ko1 (Koichi Sasada)
02:53 AM Revision 32266: * thread_pthread.c (consume_communication_pipe):
Make "buff" as static. (Maybe) "buff" can be shared between
any caller (any threads) because no one use the read v...
ko1 (Koichi Sasada)
02:45 AM Revision 32265: * lib/rake: Update rake to fix some bugs and hide deprecated features
from RDoc.
* lib/rake/version.rb: Bump version to to distinguish it from
the released version.
* NEWS: ...
drbrain (Eric Hodel)
02:28 AM Revision 32264: * lib/rdoc: Update to RDoc 3.7 (final)
* NEWS: ditto drbrain (Eric Hodel)
01:20 AM Revision 32263: * process.c (rb_daemon): fix wrong #endif position.
naruse (Yui NARUSE)

Also available in: Atom