From 06/23/2011 to 06/29/2011


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)


10:24 PM Revision 32218: * lib/rake/version.rb: Fixed VERSION to work with tool/rbinstall.rb
* bin/rake: Import bin/rake from 0.9.2
* tool/rbinstall.rb (install): Rake::VERSION is now in
drbrain (Eric Hodel)
10:11 PM Revision 32217: * lib/rake: Import Rake 0.9.2
drbrain (Eric Hodel)
03:45 PM Revision 32216: * ext/date/date_core.c (c_valid_{julian,gregorian}_p): fixed the range of month.
tadf (tadayoshi funaba)
03:15 PM Revision 32215: * 2011-06-24
03:15 PM Revision 32214: * ext/date/date_core.c: trivial changes on text.
tadf (tadayoshi funaba)
01:51 PM Revision 32213: * ext/openssl/ossl_x509name.c: Add X509::Name#hash_old as a wrapper
for X509_NAME_hash_old in OpenSSL 1.0.0. See #4805
* test/openssl/test_x509name.rb (test_hash): Make test pass with
nahi (Hiroshi Nakamura)
01:03 PM Revision 32212: * test/openssl/test_ssl_session.rb: Test parameter bug fixed. 2**31 is not in
a signed long in 32bit long env. nahi (Hiroshi Nakamura)
10:36 AM Revision 32211: * ext/openssl/ossl_ssl_session.c (ossl_ssl_session_set_time): Check
argument type with NUM2LONG if the arg is not a Time object.
See #4919.
* ext/openssl/ossl_ssl_session.c (ossl_ssl...
nahi (Hiroshi Nakamura)
09:20 AM Revision 32208: * ChangeLog: Fix typo
sorah (Sorah Fukumori)
07:22 AM Revision 32207: * lib/webrick/accesslog.rb: Cosmetic fix of mismatched indentation.
nahi (Hiroshi Nakamura)
04:33 AM Revision 32206: * 2011-06-23
04:33 AM Revision 32205: * signal.c(ruby_atomic_exchange): Fix definement style.
sorah (Sorah Fukumori)

Also available in: Atom