From 06/24/2011 to 06/30/2011


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)


11:38 PM Revision 32262: * dir.c: Make RDoc more precise about order of Dir.glob
marcandre (Marc-Andre Lafortune)
10:51 PM Revision 32261: * object.c (Init_Object): Teach RDoc what Init_class_hierarchy does to
hook up ri for BasicObject, Object, Module and Class. drbrain (Eric Hodel)
08:09 PM Revision 32260: * thread.c (rb_thread_local_aref): RDoc fix. Thread#[] example
had a race. See #4480. nahi (Hiroshi Nakamura)
06:36 PM Revision 32259: Temporary hack for SIGILL of miniruby on FreeBSD.
naruse (Yui NARUSE)
04:26 PM Revision 32258: * ext/bigdecimal/bigdecimal.c (BigMath_s_log): move BigMath.log from
* ext/bigdecimal/lib/bigdecimal/math.rb: ditto.
* test/bigdecimal/test_bigdecimal.rb: move test f...
mrkn (Kenta Murata)
04:20 PM Revision 32257: * lib/irb/ruby-lex.rb: fix [Bug #4232].
keiju (Keiju Ishitsuka)
03:42 PM Revision 32256: * NEWS: rand and Random.rand now support range argument [ruby-dev:43427] #4605
marcandre (Marc-Andre Lafortune)
03:42 PM Revision 32255: * random.c: Documentation fix for Random#bytes
marcandre (Marc-Andre Lafortune)
03:18 PM Revision 32254: fix [Bug #4409]. add DRbServer#here?
seki (Masatoshi Seki)
03:10 PM Revision 32253: * 2011-06-28
03:10 PM Revision 32252: * lib/irb/workspace.rb: fix BUG#4793.
keiju (Keiju Ishitsuka)
01:10 PM Revision 32251: * thread_pthread.c (consume_communication_pipe): don't use C99
style variable length array. kosaki (Motohiro KOSAKI)
01:05 PM Revision 32250: * thread_pthread.c (consume_communication_pipe): change return
type to void. caller doesn't use it. kosaki (Motohiro KOSAKI)
12:59 PM Revision 32249: * thread_pthread.h (rb_global_vm_lock_struct): add volatile to
gvl->waiting. now thread_timer() access it w/o lock. kosaki (Motohiro KOSAKI)
12:18 PM Revision 32248: * thread_pthread.c: s/__gvl_acquire/gvl_acquire_common/ and
s/__gvl_release/gvl_release_common/. kosaki (Motohiro KOSAKI)
02:45 AM Revision 32247: Addtitional fix for previous commit.
naruse (Yui NARUSE)
02:43 AM Revision 32246: * thread_pthread.c (rb_thread_create_timer_thread):
the type of retrun value of write(2) is ssize_t. naruse (Yui NARUSE)
12:59 AM Revision 32245: * thread_pthread.c (rb_thread_create_timer_thread):
Fixes missing initialization of oflags. ko1 (Koichi Sasada)
12:30 AM Revision 32244: * thread_pthread.c: Stop polling in the timer thread when there are
no waiting thread. If there are 2 or more runnable threads,
the timer thread does polling. Avoid polling makes po...
ko1 (Koichi Sasada)


11:01 PM Revision 32243: * ext/date/date_parse.c: should use ALLOCA_N.
tadf (tadayoshi funaba)
04:34 PM Revision 32242: * test/etc/test_etc.rb (TestEtc#test_get{pw,gr}nam): skip entries
start with + sign, which means NIS. these are returned in the
case that passwd and group entries in /etc/nsswitch....
nobu (Nobuyoshi Nakada)
03:55 PM Revision 32241: Add news about r30188 (Net::HTTPRequest#set_form).
naruse (Yui NARUSE)
03:45 PM Revision 32240: * 2011-06-27
03:45 PM Revision 32239: * parse.y (rb_parser_end_seen_p): fix documentation about return
value. patched by Sho Hashimoto. [Bug #4511] naruse (Yui NARUSE)
03:45 PM Revision 32238: * hash.c (rb_hash_reject): add documentation that Hash#reject
without block returns enumerator.
patched by Michael Edgar [Bug #4847] [ruby-core:36800]
naruse (Yui NARUSE)
02:50 PM Revision 32237: * test/date/test_switch_hitter.rb: added a test.
tadf (tadayoshi funaba)
01:23 PM Revision 32236: * ext/date/date_core.c: refactoring.
tadf (tadayoshi funaba)
09:09 AM Revision 32235: * parse.y: comma at the end of line is no longer allowed.
A patch from Yukihiro Matsumoto <matz AT>.
(fixed #3456).
shyouhei (Shyouhei Urabe)
04:49 AM Revision 32231: * vm_dump.c (rb_vm_bugreport): change CrashReporter suggestion messages
on Mac. It should be placed after "-- C level backtrace" line.
Suggested by Endoh-san.
-- See Crash R...
kosaki (Motohiro KOSAKI)
01:32 AM Revision 32230: * ext/openssl/extconf.rb
* ext/openssl/ossl_missing.h/.c: add ASN1_put_eoc if missing.
* ext/openssl/ossl_asn1.c: introduce ossl_asn1_object_...


04:03 PM Revision 32229: * ext/date/date_core.c (date_strftime_internal): removed meaningless braces.
* ext/date/date_core.c (gengo): the value should be int. tadf (tadayoshi funaba)
03:05 PM Revision 32228: * 2011-06-26
03:05 PM Revision 32227: * vm_insnhelper.c (vm_search_superclass): avoid control frame
stack overrun. currently super() in Proc created in a method
defined by Module#define_method raise NoMethodError. [...
nagachika (Tomoyuki Chikanaga)
02:28 PM Revision 32226: * thread.c (sleep_forever): now Kernel#sleep don't wakeup by
signal handler execution. [Bug #4072] nagachika (Tomoyuki Chikanaga)
02:21 PM Revision 32225: * thread.c (rb_threadptr_check_signal): remove unnecessary th->status
backup. fix race condition which may results unexpected main thread's
status transition. see #4072
nagachika (Tomoyuki Chikanaga)
09:20 AM Revision 32224: * 2011-06-25
09:20 AM Revision 32223: * ChangeLog: fix some typos.
nagachika (Tomoyuki Chikanaga)


11:05 AM Revision 32222: * lib/webrick/httprequest.rb (setup_forwarded_info): Parsing request
header failed when the request is from 2 or more Apache reverse
proxies. It's said that all X-Forwarded-* headers ...
nahi (Hiroshi Nakamura)
08:06 AM Revision 32221: * process.c (proc_daemon): should not start timer thread
twice. fixed Bug#4920. nobu (Nobuyoshi Nakada)
07:06 AM Revision 32220: * Typo fixed. Is it reallyl a typo? 2*2 == 2+2 == 4.
nahi (Hiroshi Nakamura)
07:01 AM Revision 32219: * ext/openssl/ossl_ssl.c (ossl_ssl_shutdown): Try to shutdown SSL
connection more gracefully. Call SSL_shutdown() max 4 times until it
returns 1 (success). Bi-directional SSL clos...
nahi (Hiroshi Nakamura)

Also available in: Atom