From 03/23/2013 to 03/29/2013


07:00 PM Revision 40003: * win32/file.c (code_page): use cp1252 instead of cp20127 as US-ASCII.
fix [ruby-core:53079] [Bug #7996]
reported and patched by mmeltner (Michael Meltner).
usa (Usaku NAKAMURA)
06:52 PM Revision 40002: * 2013-03-30
06:52 PM Revision 40001: * win32/win32.c (wrename): use MoveFileExW instead of MoveFileW,
because the latter fails on cross device file move of some
fix [ruby-core:53492] [Bug #8109]
usa (Usaku NAKAMURA)
01:09 PM Revision 40000: thread.c: Mutex#synchronize no block params
* thread.c (rb_mutex_synchronize_m): yield no block params. patch by
splattael (Peter Suschlik) in [ruby-core:5377...
nobu (Nobuyoshi Nakada)
12:02 PM Revision 39999: Makefile.sub: configurations
* win32/Makefile.sub (prog): needs to update configurations. nobu (Nobuyoshi Nakada)
09:00 AM Revision 39998: compliant is an adjective
07:51 AM Revision 39997: io.c: get rid of IOError when skipped while iteration
* io.c (argf_next_argv): set init flag if succeeded to forward, after
* io.c (argf_block_call_i, argf_blo...
nobu (Nobuyoshi Nakada)
07:51 AM Revision 39996: io.c: get rid of IOError when skipped while iteration
* io.c (argf_close): deal with init flag.
* io.c (argf_block_call_i, argf_block_call): forward next file if
nobu (Nobuyoshi Nakada)
02:09 AM Revision 39994: mkmf.rb: no CFLAGS in CXXFLAGS
* lib/mkmf.rb (configuration): not include all CFLAGS in CXXFLAGS, to
use different set than C for C++. [ruby-core...
nobu (Nobuyoshi Nakada)
01:24 AM Revision 39993: ruby/io.h: get rid of conflict on AIX
* include/ruby/io.h: undef POSIX compliants names on AIX, which are no
longer needed. patch suggested by edelsohn ...
nobu (Nobuyoshi Nakada)
12:42 AM Revision 39992: code cleanup by @vipulnsward [GH fixes #267]
* lib/cgi/core.rb: change each to each_value
* ext/bigdecimal/lib/bigdecimal/{jacobian,math}.rb:
remove unused va...
hsbt (Hiroshi SHIBATA)


09:49 PM Revision 39991: * numeric.c (rb_num2ull): Cast double to unsigned LONG_LONG via
LONG_LONG instead of double to unsigned LONG_LONG directly.
This is a challenge to fix a test_num2ull(TestNum2int)
akr (Akira Tanaka)
03:55 PM Revision 39990: * 2013-03-29
03:55 PM Revision 39989: mkmf.rb: force refererence in MAIN_DOES_NOTHING
* lib/mkmf.rb (MAIN_DOES_NOTHING): ensure symbols for tests to be
preserved. [ruby-core:53745] [Bug #8169]
nobu (Nobuyoshi Nakada)
02:11 PM Revision 39988: * lib/resolv.rb: Test Windows platform by detecting LoadError when
require 'win32/resolv' suggested by Nobuyoshi Nakada [ruby-core:53389].
[ruby-core:53388] [Feature #8090] Reported ...
akr (Akira Tanaka)
02:10 PM Revision 39987: ruby/io.h: get rid of conflict on AIX
* include/ruby/io.h: rename SVR3,4 member names as POSIX compliants,
to get rid of conflict on AIX. [ruby-core:537...
nobu (Nobuyoshi Nakada)
01:11 PM Revision 39986: tcltklib.c: rb_thread_alive_p macro
* ext/tk/tcltklib.c (rb_thread_alive_p): turn into a macro, so that
same code is generated.
nobu (Nobuyoshi Nakada)
10:07 AM Revision 39984: fix a typo
09:23 AM Revision 39981: * test/-ext-/num2int/test_num2int.rb: extract
assert_num2i_success_internal and assert_num2i_error_internal and
provide assertion messages as "NUM2XXX(NNN)".
akr (Akira Tanaka)
04:52 AM Revision 39976: * properties.
nobu (Nobuyoshi Nakada)
04:50 AM Revision 39975: tcltklib.c: suppress warnings
* ext/tk/tcltklib.c (lib_eventloop_core, lib_thread_callback),
(ip_rbUpdateCommand, ip_rb_threadUpdateCommand, lib_...
nobu (Nobuyoshi Nakada)
04:50 AM Revision 39974: ext/tk/tcltklib.c: adjust nesting
* ext/tk/extconf.rb: check for rb_thread_alive_p and
* ext/tk/tcltklib.c (rb_thread_...
nobu (Nobuyoshi Nakada)


10:13 PM Revision 39973: * include/ruby/intern.h: Delete redundant inclusions caused by
* include/ruby/defines.h: Ditto.
* include/ruby/ruby.h: Ditto.
* include/ruby/st...
akr (Akira Tanaka)
09:56 PM Revision 39972: * include/ruby/defines.h: Fix a compilation error on NetBSD,
"type of formal parameter 1 is incomplete" for the rb_thread_wait_for
invocation in rb_file_flock, by including hea...
akr (Akira Tanaka)
05:14 PM Revision 39971: * 2013-03-28
05:13 PM Revision 39970: fix typos
01:12 PM Revision 39969: * numeric.c (LONG_MIN_MINUS_ONE_IS_LESS_THAN): New macro.
(rb_num2ulong): Di...
akr (Akira Tanaka)
12:01 PM Revision 39968: * test/-ext-/num2int/test_num2int.rb (asert_num2i_success): New
utility method.
(asert_num2i_error): Ditto.
akr (Akira Tanaka)
11:37 AM Revision 39967: * time.c (num_exact): use to_r method only if to_int method is
[ruby-core:53764] [Bug #8173] reported by Hiro Asari.
akr (Akira Tanaka)
07:40 AM Revision 39966: Makefile.sub: SIGNEDNESS_OF_TIME_T
* win32/Makefile.sub (config.h): add SIGNEDNESS_OF_TIME_T for
nobu (Nobuyoshi Nakada)
06:17 AM Revision 39965: thread_pthread.c: poll.h is already included
* thread_pthread.c (poll.h): already included in ruby/io.h from
nobu (Nobuyoshi Nakada)
03:42 AM Revision 39964: order test-all and test-knownbug
* defs/ (test-all, test-ruby): depends on test-knownbug if
check is given or with test-knownbug.
nobu (Nobuyoshi Nakada)
03:08 AM Revision 39963: * test/-ext-/num2int/test_num2int.rb (test_num2ll): test LLONG_MIN,
not LONG_MIN. akr (Akira Tanaka)
03:03 AM Revision 39962: * internal.h (TIMET_MAX_PLUS_ONE): definition simplified.
akr (Akira Tanaka)


09:39 PM Revision 39958: mkmf.rb: force refererence in MAIN_DOES_NOTHING
* lib/mkmf.rb (MAIN_DOES_NOTHING): force to refer symbols for tests
to be preserved. [ruby-core:53745] [Bug #8169]
nobu (Nobuyoshi Nakada)
09:39 PM Revision 39957: no test-knownbug if unnecessary
* defs/ (test-all): no needs to depend on test-knownbug
always. it is included in TEST_TARGETS if it is gi...
nobu (Nobuyoshi Nakada)
08:15 PM Revision 39956: internal.h: use SIGNEDNESS_OF_TIME_T
* (RUBY_REPLACE_TYPE): define SIGNEDNESS_OF_type same as
check_signedness of mkmf.rb.
* internal.h (TI...
nobu (Nobuyoshi Nakada)
08:15 PM Revision 39955: test_syntax.rb: fix test error
* test/ruby/test_syntax.rb (test_syntax): escape interpolation to use
the value passed by ARGV.
nobu (Nobuyoshi Nakada)
04:01 PM Revision 39950: fix typo
04:01 PM Revision 39949: remove trailing space
03:30 PM Revision 39948: * internal.h (TIMET_MAX_PLUS_ONE): Defined.
* thread.c (double2timeval): Saturate out-of-range values. akr (Akira Tanaka)
03:24 PM Revision 39947: remove trailing tab
03:22 PM Revision 39946: * 2013-03-27
03:22 PM Revision 39945: fix indent
02:55 PM Revision 39944: * test/psych/test_*.rb: use require_relative to require local library
xibbar (Takeyuki FUJIOKA)
02:45 PM Revision 39943: * internal.h: Define TIMET_MAX and TIMET_MIN here.
* time.c: Remove TIMET_MAX and TIMET_MIN definitions.
* thread.c: Ditto.
* thread_pthread.c: Remove TIMET_MAX defin...
akr (Akira Tanaka)
02:37 PM Revision 39942: * test/minitest/test_*.rb: use require_relative to require local library
xibbar (Takeyuki FUJIOKA)
02:34 PM Revision 39941: * ext/socket/socket.c (sockaddr_len): return the shortest length for
unknown socket address. akr (Akira Tanaka)
02:31 PM Revision 39940: * test/dtrace/test_*.rb: use require_relative to require local library
xibbar (Takeyuki FUJIOKA)
01:16 PM Revision 39939: * thread.c (double2timeval): convert the infinity to TIME_MAX to avoid
SEGV by {}.join(Float::INFINITY) on
Debian GNU/Linux (amd64).
akr (Akira Tanaka)
12:22 PM Revision 39938: update doc.
akr (Akira Tanaka)
12:16 PM Revision 39937: * test/ruby/test_syntax.rb: fixed a typo introduced at r39935.
usa (Usaku NAKAMURA)
06:24 AM Revision 39936: * iseq.c (iseq_load): get rid of SEGV.
nobu (Nobuyoshi Nakada)
06:24 AM Revision 39935: test_syntax.rb: pass srcdir
* test/ruby/test_syntax.rb (test_syntax): need to pass the source
directory, __FILE__ in assert_separately is '-' b...
nobu (Nobuyoshi Nakada)
02:59 AM Revision 39934: test_syntax.rb: envutil
* test/ruby/test_syntax.rb (test_syntax): require envutil for
nobu (Nobuyoshi Nakada)
01:42 AM Revision 39933: Suppress -Werror=shorten-64-to-32
naruse (Yui NARUSE)
01:13 AM Revision 39932: Use assert_separately to speed up on test-all
This creates large string and it pressure GC. naruse (Yui NARUSE)


06:50 PM Revision 39931: * 2013-03-26
06:50 PM Revision 39930: Use more general approach to get scope_id see #8159
naruse (Yui NARUSE)
06:50 PM Revision 39929: Suppress warnings
naruse (Yui NARUSE)
09:13 AM Revision 39928: string.c: performance improvement
* string.c (rb_str_rpartition): get rid of conversion from byte offset
to char offset and backward, for performance...
nobu (Nobuyoshi Nakada)
09:03 AM Revision 39927: test_method.rb: refine assertions
* test/ruby/test_method.rb (test_unlinked_method_entry_in_method_object_bug):
use assert_normal_exit since subject ...
nobu (Nobuyoshi Nakada)
09:03 AM Revision 39926: envutil.rb: separate checks
* test/ruby/envutil.rb (assert_ruby_status): separate abort check and
exit status check.
nobu (Nobuyoshi Nakada)
05:39 AM Revision 39925: * test/ruby/test_method.rb (test_unlinked_method_entry_in_method_object_bug):
move from KNOWNBUGS.rb. [Bug #8100] nobu (Nobuyoshi Nakada)
05:39 AM Revision 39924: envutil.rb: signal in Process::Status
* test/ruby/envutil.rb (assert_ruby_status): show status info.
* test/ruby/envutil.rb (Test::Unit::Assertions::FailD...
nobu (Nobuyoshi Nakada)


10:09 PM Revision 39923: * lib/rinda/tuplespace.rb: Only return tuple entry once on move,
either through port or regular return, not both. This results in a
120% speedup when combined with #8125. Patch b...
drbrain (Eric Hodel)
10:01 PM Revision 39922: * test/rinda/test_rinda.rb: Skip IPv6 tests if no IPv6 addresses
exist. Skip fork-dependent test if fork is not available.
[ruby-trunk - Bug #8159]
drbrain (Eric Hodel)
09:00 PM Revision 39921: * addr2line.c (putce): suppress unused return value warning.
kosaki (Motohiro KOSAKI)
05:15 PM Revision 39920: * 2013-03-25
05:15 PM Revision 39919: * proc.c (bm_free): need to clean up the mark flag of a free and
unlinked method entry. [Bug #8100] [ruby-core:53439] nari
02:36 PM Revision 39908: Try interface indexes which can use for IPv6 multicast
a fix for r39896 naruse (Yui NARUSE)
02:08 PM Revision 39907: * ChangeLog: fix a typo in r39892.
nagachika (Tomoyuki Chikanaga)
01:18 PM Revision 39906: * string.c (rb_str_rpartition): revert r39903, and convert byte offset
to char offset; the return value of rb_reg_search is byte offset,
but other than it of rb_str_rpartition expects ch...
naruse (Yui NARUSE)
10:43 AM Revision 39905: * test/ruby/envutil.rb (assert_ruby_status): include stderr output.
nobu (Nobuyoshi Nakada)
10:43 AM Revision 39904: * vm_method.c (rb_sweep_method_entry): simplify code to unlink.
nobu (Nobuyoshi Nakada)
09:32 AM Revision 39903: Fix String#rpartition(/re/) against a multibyte string.
* string.c (rb_str_rpartition): Fix String#rpartition(/re/)
against a multibyte string. [Bug #8138] [ruby-dev:47183]
knu (Akinori MUSHA)
05:13 AM Revision 39902: gc.c: fix compile error
* gc.c (gc_prepare_free_objects): fix compile error. there should be
free objects when new slot is added.
nobu (Nobuyoshi Nakada)
04:53 AM Revision 39901: * gc.c (GC_ENABLE_LAZY_SWEEP): new macro to switch lazy sweeping
for debugging. [Feature #8024] [ruby-dev:47135] nari
04:20 AM Revision 39900: * gc.c: We have no chance to expand the heap when lazy sweeping is
restricted. So collecting is often invoked if there is not
enough free space in the heap. Try to expand heap when t...
02:06 AM Revision 39899: * test/ruby/test_require.rb: Remove temporally files in the tests.
* test/ruby/test_rubyoptions.rb: Ditto.
* test/logger/test_logger.rb: Ditto.
* test/psych/test_psych.rb: Ditto.
* ...
akr (Akira Tanaka)
12:04 AM Revision 39898: load.c: no longer used variable and object
* load.c (rb_feature_p): remvoe variable and string object which are
no longer used since r39874. [Bug #8048]
nobu (Nobuyoshi Nakada)


08:36 PM Revision 39897: * lib/rinda/ring.rb: Added documentation for multicast support.
* NEWS: Point to above documentation. drbrain (Eric Hodel)
08:32 PM Revision 39896: * test/rinda/test_rinda.rb: Restore tests commented out while fixing
test slowdown bug before r39895. drbrain (Eric Hodel)
08:10 PM Revision 39895: * lib/rinda/ring.rb: Add multicast support to Rinda::RingFinger and
Rinda::RingServer. [ruby-trunk - Bug #8073]
* test/rinda/test_rinda.rb: Test for the above.
* NEWS: Update with ...
drbrain (Eric Hodel)
07:50 PM Revision 39894: Add timeout to infinite loop [Bug #8100]
On FreeBSD, it doesn't SEGV.
naruse (Yui NARUSE)
07:50 PM Revision 39893: Suppress warnings
naruse (Yui NARUSE)
07:13 PM Revision 39892: * test/rinda/test_rinda.rb: Fixed test failures in r39890 and r39890
due to stopping DRb service. drbrain (Eric Hodel)
06:35 PM Revision 39891: Commit miss
drbrain (Eric Hodel)
06:34 PM Revision 39890: * lib/rinda/rinda.rb: Fixed loss of tuple when remote is alive but the
call stack was unwound. Patch by Joel VanderWerf.
[ruby-trunk - Bug #8125]
* test/rinda/test_rinda.rb: Test for...
drbrain (Eric Hodel)
05:16 PM Revision 39889: * test/mkmf/test_have_macro.rb: remove temporally files in the tests.
akr (Akira Tanaka)
04:05 PM Revision 39888: * 2013-03-24
04:05 PM Revision 39887: * addr2line.c (kprintf): added from FreeBSD libstand's printf.
this is consided as async signal safe function.
* addr2line.c (rb_dump_backtrace_with_lines): use kfprintf.
[Bug #...
naruse (Yui NARUSE)
04:05 PM Revision 39886: Remove unused variable
naruse (Yui NARUSE)
02:30 PM Revision 39885: * ext/bigdecimal/bigdecimal.c (BigDecimal_divide): Use Qnil and NIL_P
instead of (VALUE)0 as a return value.
* ext/bigdecimal/bigdecimal.c (BigDecimal_div): ditto.
* ext/bigdecimal/bigd...
mrkn (Kenta Murata)
02:21 PM Revision 39884: Suppress warning: OpenSSL::X509::StoreContext#cleanup is deprecated with no replacement
naruse (Yui NARUSE)
08:46 AM Revision 39883: * KNOWNBUGS.rb: test for [Bug #8100].
nobu (Nobuyoshi Nakada)
08:45 AM Revision 39882: * array.c (take_items): honor encoding of class name.
nobu (Nobuyoshi Nakada)
08:39 AM Revision 39881: vm_eval.c: preserve passed_block
* vm_eval.c (check_funcall_respond_to): preserve passed_block, which
is modified in vm_call0_body() via vm_call0(),...
nobu (Nobuyoshi Nakada)

Also available in: Atom