summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
2013-03-30Remove bcc32kazu
agreed at http://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20130223Japan git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-29* win32/file.c (code_page): use cp1252 instead of cp20127 as US-ASCII.usa
fix [ruby-core:53079] [Bug #7996] reported and patched by mmeltner (Michael Meltner). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-29* win32/win32.c (wrename): use MoveFileExW instead of MoveFileW,usa
because the latter fails on cross device file move of some environments. fix [ruby-core:53492] [Bug #8109] reported by mitchellh (Mitchell Hashimoto) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-29thread.c: Mutex#synchronize no block paramsnobu
* thread.c (rb_mutex_synchronize_m): yield no block params. patch by splattael (Peter Suschlik) in [ruby-core:53773] [Bug #8097]. fix GH-266. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-29compliant is an adjectivekazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-29io.c: get rid of IOError when skipped while iterationnobu
* io.c (argf_next_argv): set init flag if succeeded to forward, after skipping. * io.c (argf_block_call_i, argf_block_call): no more forwarding if forwarded after skipping. [ruby-list:49185] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-29io.c: get rid of IOError when skipped while iterationnobu
* io.c (argf_close): deal with init flag. * io.c (argf_block_call_i, argf_block_call): forward next file if skipped while iteration, to get rid of IOError. [ruby-list:49185] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-29mkmf.rb: no CFLAGS in CXXFLAGSnobu
* lib/mkmf.rb (configuration): not include all CFLAGS in CXXFLAGS, to use different set than C for C++. [ruby-core:45273] [Bug #6504] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-29ruby/io.h: get rid of conflict on AIXnobu
* include/ruby/io.h: undef POSIX compliants names on AIX, which are no longer needed. patch suggested by edelsohn (David Edelsohn) in [ruby-core:53815]. [Bug #8174] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-28* numeric.c (rb_num2ull): Cast double to unsigned LONG_LONG viaakr
LONG_LONG instead of double to unsigned LONG_LONG directly. This is a challenge to fix a test_num2ull(TestNum2int) failure (NUM2ULL(-1.0) should be "18446744073709551615" but was "0") on Mac OS X with 32bit clang. http://a.mrkn.jp/~mrkn/chkbuild/mountain_lion/ruby-trunk-m32-o0/log/20130328T191100Z.diff.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-28mkmf.rb: force refererence in MAIN_DOES_NOTHINGnobu
* lib/mkmf.rb (MAIN_DOES_NOTHING): ensure symbols for tests to be preserved. [ruby-core:53745] [Bug #8169] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-28* lib/resolv.rb: Test Windows platform by detecting LoadError whenakr
require 'win32/resolv' suggested by Nobuyoshi Nakada [ruby-core:53389]. [ruby-core:53388] [Feature #8090] Reported by Charles Nutter. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-28ruby/io.h: get rid of conflict on AIXnobu
* include/ruby/io.h: rename SVR3,4 member names as POSIX compliants, to get rid of conflict on AIX. [ruby-core:53765] [Bug #8174] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-28* test/-ext-/num2int/test_num2int.rb: extractakr
assert_num2i_success_internal and assert_num2i_error_internal and provide assertion messages as "NUM2XXX(NNN)". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-27* include/ruby/intern.h: Delete redundant inclusions caused byakr
AC_INCLUDES_DEFAULT in defines.h. * include/ruby/defines.h: Ditto. * include/ruby/ruby.h: Ditto. * include/ruby/st.h: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-27* include/ruby/defines.h: Fix a compilation error on NetBSD,akr
"type of formal parameter 1 is incomplete" for the rb_thread_wait_for invocation in rb_file_flock, by including header files as AC_INCLUDES_DEFAULT of autoconf. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-27fix typoskazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-27* numeric.c (LONG_MIN_MINUS_ONE_IS_LESS_THAN): New macro.akr
(LLONG_MIN_MINUS_ONE_IS_LESS_THAN): Ditto. (rb_num2long): Use LONG_MIN_MINUS_ONE_IS_LESS_THAN. (rb_num2ulong): Ditto. (rb_num2ll): Use LLONG_MIN_MINUS_ONE_IS_LESS_THAN. (rb_num2ull): Ditto. * test/-ext-/num2int/test_num2int.rb (asert_num2i_success): Test the value converted into a Float if Float can represent the value exactly. (asert_num2i_error): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-27* test/-ext-/num2int/test_num2int.rb (asert_num2i_success): Newakr
utility method. (asert_num2i_error): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-27* time.c (num_exact): use to_r method only if to_int method isakr
available. [ruby-core:53764] [Bug #8173] reported by Hiro Asari. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-27* test/-ext-/num2int/test_num2int.rb (test_num2ll): test LLONG_MIN,akr
not LONG_MIN. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-27* internal.h (TIMET_MAX_PLUS_ONE): definition simplified.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26mkmf.rb: force refererence in MAIN_DOES_NOTHINGnobu
* lib/mkmf.rb (MAIN_DOES_NOTHING): force to refer symbols for tests to be preserved. [ruby-core:53745] [Bug #8169] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26internal.h: use SIGNEDNESS_OF_TIME_Tnobu
* configure.in (RUBY_REPLACE_TYPE): define SIGNEDNESS_OF_type same as check_signedness of mkmf.rb. * internal.h (TIMET_MAX, TIMET_MIN, TIMET_MAX_PLUS_ONE): use SIGNEDNESS_OF_TIME_T. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26remove trailing spacekazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26* internal.h (TIMET_MAX_PLUS_ONE): Defined.akr
* thread.c (double2timeval): Saturate out-of-range values. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26remove trailing tabkazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26fix indentkazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26* internal.h: Define TIMET_MAX and TIMET_MIN here.akr
* time.c: Remove TIMET_MAX and TIMET_MIN definitions. * thread.c: Ditto. * thread_pthread.c: Remove TIMET_MAX definition. * thread_win32.c: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26* ext/socket/socket.c (sockaddr_len): return the shortest length forakr
unknown socket address. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26* thread.c (double2timeval): convert the infinity to TIME_MAX to avoidakr
SEGV by Thread.new {}.join(Float::INFINITY) on Debian GNU/Linux (amd64). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-24* lib/rinda/tuplespace.rb: Only return tuple entry once on move,drbrain
either through port or regular return, not both. This results in a 120% speedup when combined with #8125. Patch by Joel VanderWerf. [ruby-trunk - Feature #8119] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-24* test/rinda/test_rinda.rb: Skip IPv6 tests if no IPv6 addressesdrbrain
exist. Skip fork-dependent test if fork is not available. [ruby-trunk - Bug #8159] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-24* addr2line.c (putce): suppress unused return value warning.kosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-24 * proc.c (bm_free): need to clean up the mark flag of a free andnari
unlinked method entry. [Bug #8100] [ruby-core:53439] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-24* ChangeLog: fix a typo in r39892.nagachika
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-24* string.c (rb_str_rpartition): revert r39903, and convert byte offsetnaruse
to char offset; the return value of rb_reg_search is byte offset, but other than it of rb_str_rpartition expects char offset. [Bug #8138] [ruby-dev:47183] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-24Fix String#rpartition(/re/) against a multibyte string.knu
* string.c (rb_str_rpartition): Fix String#rpartition(/re/) against a multibyte string. [Bug #8138] [ruby-dev:47183] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-24* gc.c (GC_ENABLE_LAZY_SWEEP): new macro to switch lazy sweepingnari
for debugging. [Feature #8024] [ruby-dev:47135] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-24* gc.c: We have no chance to expand the heap when lazy sweeping isnari
restricted. So collecting is often invoked if there is not enough free space in the heap. Try to expand heap when this is the case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-24* test/ruby/test_require.rb: Remove temporally files in the tests.akr
* test/ruby/test_rubyoptions.rb: Ditto. * test/logger/test_logger.rb: Ditto. * test/psych/test_psych.rb: Ditto. * test/readline/test_readline.rb: Ditto. * test/syslog/test_syslog_logger.rb: Ditto. * test/webrick/test_httpauth.rb: Ditto. * test/zlib/test_zlib.rb: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-23* lib/rinda/ring.rb: Added documentation for multicast support.drbrain
* NEWS: Point to above documentation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-23* test/rinda/test_rinda.rb: Restore tests commented out while fixingdrbrain
test slowdown bug before r39895. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-23 * lib/rinda/ring.rb: Add multicast support to Rinda::RingFinger anddrbrain
Rinda::RingServer. [ruby-trunk - Bug #8073] * test/rinda/test_rinda.rb: Test for the above. * NEWS: Update with Rinda multicast support git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-23* test/rinda/test_rinda.rb: Fixed test failures in r39890 and r39890drbrain
due to stopping DRb service. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-23 * lib/rinda/rinda.rb: Fixed loss of tuple when remote is alive but thedrbrain
call stack was unwound. Patch by Joel VanderWerf. [ruby-trunk - Bug #8125] * test/rinda/test_rinda.rb: Test for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-23* test/mkmf/test_have_macro.rb: remove temporally files in the tests.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-23* addr2line.c (kprintf): added from FreeBSD libstand's printf.naruse
this is consided as async signal safe function. * addr2line.c (rb_dump_backtrace_with_lines): use kfprintf. [Bug #8144] [ruby-core:53632] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-23* ext/bigdecimal/bigdecimal.c (BigDecimal_divide): Use Qnil and NIL_Pmrkn
instead of (VALUE)0 as a return value. * ext/bigdecimal/bigdecimal.c (BigDecimal_div): ditto. * ext/bigdecimal/bigdecimal.c (BigDecimal_divremain): ditto. * ext/bigdecimal/bigdecimal.c (BigDecimal_remainder): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-23vm_eval.c: preserve passed_blocknobu
* vm_eval.c (check_funcall_respond_to): preserve passed_block, which is modified in vm_call0_body() via vm_call0(), and caused a bug of rb_check_funcall() by false negative result of rb_block_given_p(). re-fix [ruby-core:53650] [Bug #8153]. [ruby-core:53653] [Bug #8154] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e