From 05/25/2012 to 05/31/2012


11:51 PM Revision 35858: * array.c: Updated Array documentation formatting. Patch by Zachary
Scott. [ruby-trunk - Feature #6517] drbrain (Eric Hodel)
10:07 PM Revision 35857: * ext/dl/lib/dl/struct.rb (DL::CStructEntity#set_ctypes): Refactored
#set_ctypes using newer ruby features to simplify its implementation.
* test/dl/test_c_struct_entry.rb (class DL): T...
drbrain (Eric Hodel)
09:41 PM Revision 35856: * object.c (Init_Object): Restored Kernel documentation based on
Pickaxe book documentation. Patch by Zachary Scott.
[ruby-trunk - Feature #6521]
drbrain (Eric Hodel)
09:30 PM Revision 35855: * 2012-06-01
09:30 PM Revision 35854: * object.c (rb_equal): Let Object be a link in #=== documentation.
Patch by Zachary Scott. [ruby-trunk - Feature #6518] drbrain (Eric Hodel)
02:59 PM Revision 35853: adjust indent
* gc.c (os_obj_of_i): adjust indent. nobu (Nobuyoshi Nakada)
06:50 AM Revision 35852: vm.c: UNREACHABLE to suppress warnings
* vm.c (frame_info_{line_no,name,basename,filename,filepath}): add
UNREACHABLE to suppress warnings.
nobu (Nobuyoshi Nakada)
12:37 AM Revision 35851: * test/dl/test_c_struct_entry.rb: Removed duplicated test
drbrain (Eric Hodel)
12:27 AM Revision 35850: * ext/dl/lib/dl/struct.rb (DL::CStructEntity::size): Refactored ::size
to remove unused variables and simplify using newer ruby features.
* test/dl/test_c_struct_entry.rb: Test to validat...
drbrain (Eric Hodel)


11:41 PM Revision 35849: * ext/dl/lib/dl/struct.rb (DL::CUnionEntity#set_ctypes): Refactored
#set_types to reuse DL::CUnionEntity::size
* test/dl/test_c_union_entity.rb: Added test
Reviewed by Aaron Paterson
drbrain (Eric Hodel)
11:20 PM Revision 35848: * ext/dl/lib/dl/struct.rb (DL::CUnionEntity::size): Fixed ::size to
return the size of the union.
* test/dl/test_c_union_entity.rb: Test for DL::CUnionEntity::size
Reviewed by Aaron P...
drbrain (Eric Hodel)
10:48 PM Revision 35847: * 2012-05-31
10:48 PM Revision 35846: * ext/dl: Added documentation. Patch by Vincent Batts.
[ruby-trunk - Bug #6496] drbrain (Eric Hodel)
07:30 AM Revision 35844: * ext/bigdecimal/lib/bigdecimal/jacobian.rb,
fix documentation comments.
Patch by alperakgun from
mrkn (Kenta Murata)
07:26 AM Revision 35843: * ext/bigdecimal/lib/bigdecimal/jacobian.rb (Jacobian#dfdxi):
fix jacobian to get stuck in an infinite loop when a solution is not
found due to forget to increment nRetry counte...
mrkn (Kenta Murata)
01:58 AM Revision 35842: utc offset in seconds
* time.c (utc_offset_arg): utc offset can be precision in seconds.
e.g. old Europe/Lisbon (c.f. [ruby-dev:40066])
nobu (Nobuyoshi Nakada)
01:29 AM Revision 35841: lib/test/unit.rb: split platform condition
* lib/test/unit.rb (Test::Unit::Runner#_prepare_run): split platform condition. nobu (Nobuyoshi Nakada)
01:24 AM Revision 35840: color option
* bootstraptest/runner.rb, sample/test.rb: add --color option. nobu (Nobuyoshi Nakada)
01:24 AM Revision 35839: common test options
* (btest, test-sample, test-knownbugs, test-all, test-ruby):
pass common options by TESTOPTS.
* tool/rub...
nobu (Nobuyoshi Nakada)


09:20 PM Revision 35838: * 2012-05-30
09:20 PM Revision 35837: * error.c (exc_set_backtrace): Updated documentation to indicate
set_backtrace allows a string as well as an array of strings.
[ruby-trunk - Bug #6501]
drbrain (Eric Hodel)
08:28 AM Revision 35836: strftime.c: triple colons modifier
partially borrowed from ext/date.
* strftime.c (rb_strftime_with_timespec): support GNU extension triple
colons mo...
nobu (Nobuyoshi Nakada)
08:28 AM Revision 35835: strftime.c: fix locale modifier
partially borrowed from ext/date.
* strftime.c (rb_strftime_with_timespec): check conversion with locale
nobu (Nobuyoshi Nakada)
08:28 AM Revision 35834: strftime.c: fix colon modifier.
partially borrowed from ext/date.
* strftime.c (rb_strftime_with_timespec): colons are valid only for
'z' and must...
nobu (Nobuyoshi Nakada)
12:52 AM Revision 35833: * 2012-05-29
12:52 AM Revision 35832: Suppress warning: method redefined.
The warning cause test_singleton_method_added to fail. naruse (Yui NARUSE)


07:56 AM Revision 35831: StatusLineOutput needs job_status to be :replace
* lib/test/unit.rb (Test::Unit::Runner#_prepare_run): StatusLineOutput
needs job_status to be :replace.
nobu (Nobuyoshi Nakada)
04:54 AM Revision 35830: strftime.c: linux style
* strftime.c (rb_strftime_with_timespec): fix indentation using linux
style. this file is not written in ruby-style.
nobu (Nobuyoshi Nakada)
04:35 AM Revision 35829: fix dependencies.
* (do-install-*): fix dependencies. based on the patch by
nagachika at [ruby-dev:45683]. [Bug #6506]
nobu (Nobuyoshi Nakada)
03:15 AM Revision 35828: * ChangeLog: fix a typo.
03:12 AM Revision 35827: * gc.c (obj_free): doesn't free a method table if it doesn't
exits. [ruby-dev:44436]
* test/ruby/test_gc.rb (class TestGc): added the test case for
this issue.


04:25 PM Revision 35825: * ChangeLog: fix a typo.
nagachika (Tomoyuki Chikanaga)
04:14 PM Revision 35824: * benchmark/bm_vm1_lvar_init.rb: fix newline code.
* benchmark/bm_vm2_bigarray.rb: ditto.
* benchmark/bm_vm2_bighash.rb: ditto.
nagachika (Tomoyuki Chikanaga)
04:14 PM Revision 35823: * 2012-05-28
04:14 PM Revision 35822: * ChangeLog: remove trailing spaces.
nagachika (Tomoyuki Chikanaga)
02:41 PM Revision 35821: * benchmark/bm_vm1_lvar_init.rb: added.
This benchmark measures a initialize time of non-used variable.
* benchmark/bm_vm1_lvar_set.rb: added.
This benchma...
ko1 (Koichi Sasada)
04:47 AM Revision 35820: * NEWS: expanded a tab.
nagachika (Tomoyuki Chikanaga)
04:35 AM Revision 35819: * benchmark/driver.rb: fix to continue benchmarks when
an error is occurred. ko1 (Koichi Sasada)
02:27 AM Revision 35818: fix operator precedence
* lib/test/unit.rb (Test::Unit::Runner#_prepare_run): fix operator
precedence, so that platform and TERM should be ...
nobu (Nobuyoshi Nakada)
02:23 AM Revision 35817: * untabified.
nobu (Nobuyoshi Nakada)
01:05 AM Revision 35816: modified test.
tadf (tadayoshi funaba)
01:04 AM Revision 35815: * ext/date/date_strftime.c: allows %Ok and %Ol.
tadf (tadayoshi funaba)
12:30 AM Revision 35814: * ext/date/date_core.c: modified doc.
tadf (tadayoshi funaba)


06:18 PM Revision 35813: * 2012-05-27
06:18 PM Revision 35812: * ChangeLog: fix a typo
nagachika (Tomoyuki Chikanaga)
10:05 AM Revision 35811: * ext/date/date_core.c: added description.
tadf (tadayoshi funaba)
09:21 AM Revision 35810: re-modified
tadf (tadayoshi funaba)
09:16 AM Revision 35809: * ext/date/date_strftime.c: reduced the code.
tadf (tadayoshi funaba)
09:10 AM Revision 35808: * time.c: modified doc.
* ext/date/date_core.c: ditto. tadf (tadayoshi funaba)
08:08 AM Revision 35807: * vm.c (backtrace_*): change type of lev and n from size_t to int.
Also set type of rb_backtrace_t#backtrace_size to int.
A patch from nobu.
* vm_eval.c: ditto.
ko1 (Koichi Sasada)
07:26 AM Revision 35806: file.c: fix for UNC
* file.c (realpath_rec): UNC prefix does not end with path separator,
so new separator is needed after it.
nobu (Nobuyoshi Nakada)
07:24 AM Revision 35805: test/ruby/test_file.rb: fix for UNC
* test/ruby/test_file.rb (test_realpath, test_realdirpath): fix for
UNC enabled platforms.
nobu (Nobuyoshi Nakada)
06:31 AM Revision 35804: * test/ruby/test_backtrace.rb (test_caller_lev):
decreaze recursion size. ko1 (Koichi Sasada)
05:03 AM Revision 35803: ChangeLog: fix typos
ko1 (Koichi Sasada)
04:51 AM Revision 35802: * NEWS: add Kernel#caller's second argument.
ko1 (Koichi Sasada)
04:49 AM Revision 35801: * vm.c (RubyVM::FrameInfo): add a class to access each frame
information. You don't need to parse strings from caller().
FrameInfo has the following methods:
ko1 (Koichi Sasada)
03:25 AM Revision 35800: * vm.c (frame_info_to_str): add `break'.
* vm.c (backtrace_object): remove lev and n parameter.
backtrace_object always returns all of backtrace information...
ko1 (Koichi Sasada)
02:10 AM Revision 35799: * vm.c (rb_frame_info_t): keep previous ISEQ frame info for CFUNC
frame info. And fix to cache a calculated line_no of ISEQ frame
ko1 (Koichi Sasada)
12:56 AM Revision 35798: * 2012-05-26
12:56 AM Revision 35797: * ext/openssl/ossl_ssl.c: Allow disabling client-side renegotiation.
* test/openssl/test_ssl.rb: Simple tests for this.
Client-side renegotiation is still considered problematic, even...


02:44 PM Revision 35796: * test/openssl/test_ssl.rb: Clarify the intention of errors to be
expected. Two errors are possible when connection is refused due
to a protocol version that was explicitly disallow...
01:24 PM Revision 35795: * ext/openssl/ossl_ssl.c: Revert r35583
* test/openssl/test_ssl.rb: Handle ECONNRESET in code instead to avoid
the test failing in Ruby CI [1]

[1] http://u...
12:14 PM Revision 35793: vm.c: adjust argument types
* vm.c (backtrace_each, bt_init, oldbt_init): adjust argument types. nobu (Nobuyoshi Nakada)
11:01 AM Revision 35792: * vm_eval.c (rb_f_caller): caller() method accepts second optional
argument `n' which specify how many frames should return.
For example, `caller(0, 1)' returns only one frame inform...
ko1 (Koichi Sasada)
08:07 AM Revision 35790: * vm.c (oldbt_init, vm_backtrace_str_ary): arg->data should
be initialized before calling `backtrace_each()'. ko1 (Koichi Sasada)
07:13 AM Revision 35789: * trunk/ext/-test-/printf/printf.c: change function names because of
conflict with msvcrt. fixed build error of mswin. usa (Usaku NAKAMURA)
04:53 AM Revision 35788: * properties.
nobu (Nobuyoshi Nakada)
04:50 AM Revision 35787: * vm.c: refactoring backtrace related funcitons.
(1) unify similar functions (rb_backtrace_each() and
backtrace_object()). backtrace_each() is a unified function.
ko1 (Koichi Sasada)
02:20 AM Revision 35785: * test/-ext-/test_printf.rb: tests for [Feature #5896].
nobu (Nobuyoshi Nakada)

Also available in: Atom