aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Suppress -Werror=shorten-64-to-32naruse2013-03-261-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use assert_separately to speed up on test-allnaruse2013-03-261-0/+2
| | | | | | This creates large string and it pressure GC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-03-26svn2013-03-251-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use more general approach to get scope_id see #8159naruse2013-03-251-22/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Suppress warningsnaruse2013-03-252-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: performance improvementnobu2013-03-251-3/+6
| | | | | | | * string.c (rb_str_rpartition): get rid of conversion from byte offset to char offset and backward, for performance improvement. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_method.rb: refine assertionsnobu2013-03-251-3/+7
| | | | | | | | * test/ruby/test_method.rb (test_unlinked_method_entry_in_method_object_bug): use assert_normal_exit since subject code never exit successfully, but check if timed out paranoically. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* envutil.rb: separate checksnobu2013-03-251-1/+2
| | | | | | | * test/ruby/envutil.rb (assert_ruby_status): separate abort check and exit status check. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_method.rb (test_unlinked_method_entry_in_method_object_bug):nobu2013-03-252-11/+13
| | | | | | move from KNOWNBUGS.rb. [Bug #8100] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* envutil.rb: signal in Process::Statusnobu2013-03-252-5/+5
| | | | | | | | | | | * test/ruby/envutil.rb (assert_ruby_status): show status info. * test/ruby/envutil.rb (Test::Unit::Assertions::FailDesc): use Signal.signame for consistency with Process::Status#inspect. * signal.c (siglist): prefer SIGABRT over SIGIOT in Signal.signame. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rinda/tuplespace.rb: Only return tuple entry once on move,drbrain2013-03-242-2/+9
| | | | | | | | | 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
* * test/rinda/test_rinda.rb: Skip IPv6 tests if no IPv6 addressesdrbrain2013-03-242-0/+22
| | | | | | | | 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
* * addr2line.c (putce): suppress unused return value warning.kosaki2013-03-242-1/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-03-25svn2013-03-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (bm_free): need to clean up the mark flag of a free andnari2013-03-242-0/+6
| | | | | | 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
* Try interface indexes which can use for IPv6 multicastnaruse2013-03-241-1/+13
| | | | | | a fix for r39896 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fix a typo in r39892.nagachika2013-03-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_rpartition): revert r39903, and convert byte offsetnaruse2013-03-243-3/+11
| | | | | | | | 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
* * test/ruby/envutil.rb (assert_ruby_status): include stderr output.nobu2013-03-241-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (rb_sweep_method_entry): simplify code to unlink.nobu2013-03-241-10/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix String#rpartition(/re/) against a multibyte string.knu2013-03-243-2/+15
| | | | | | | * 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
* gc.c: fix compile errornobu2013-03-241-1/+1
| | | | | | | | * gc.c (gc_prepare_free_objects): fix compile error. there should be free objects when new slot is added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (GC_ENABLE_LAZY_SWEEP): new macro to switch lazy sweepingnari2013-03-242-1/+9
| | | | | | for debugging. [Feature #8024] [ruby-dev:47135] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: We have no chance to expand the heap when lazy sweeping isnari2013-03-242-2/+15
| | | | | | | | 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
* * test/ruby/test_require.rb: Remove temporally files in the tests.akr2013-03-249-3/+64
| | | | | | | | | | | | | | | | | | | | * 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
* load.c: no longer used variable and objectnobu2013-03-241-2/+1
| | | | | | | * load.c (rb_feature_p): remvoe variable and string object which are no longer used since r39874. [Bug #8048] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rinda/ring.rb: Added documentation for multicast support.drbrain2013-03-233-4/+60
| | | | | | | * NEWS: Point to above documentation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rinda/test_rinda.rb: Restore tests commented out while fixingdrbrain2013-03-232-577/+582
| | | | | | | test slowdown bug before r39895. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rinda/ring.rb: Add multicast support to Rinda::RingFinger anddrbrain2013-03-234-520/+759
| | | | | | | | | | 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
* Add timeout to infinite loop [Bug #8100]naruse2013-03-231-4/+7
| | | | | | | On FreeBSD, it doesn't SEGV. http://fbsd.rubyci.org/~chkbuild/ruby-trunk/log/20130323T170203Z.log.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Suppress warningsnaruse2013-03-231-14/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rinda/test_rinda.rb: Fixed test failures in r39890 and r39890drbrain2013-03-232-4/+5
| | | | | | | due to stopping DRb service. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Commit missdrbrain2013-03-232-3/+87
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rinda/rinda.rb: Fixed loss of tuple when remote is alive but thedrbrain2013-03-231-0/+7
| | | | | | | | | 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
* * test/mkmf/test_have_macro.rb: remove temporally files in the tests.akr2013-03-232-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-03-24svn2013-03-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * addr2line.c (kprintf): added from FreeBSD libstand's printf.naruse2013-03-232-13/+449
| | | | | | | | | 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
* Remove unused variablenaruse2013-03-231-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimal_divide): Use Qnil and NIL_Pmrkn2013-03-232-4/+15
| | | | | | | | | | | | 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
* Suppress warning: OpenSSL::X509::StoreContext#cleanup is deprecated with no ↵naruse2013-03-231-1/+4
| | | | | | replacement git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * KNOWNBUGS.rb: test for [Bug #8100].nobu2013-03-231-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (take_items): honor encoding of class name.nobu2013-03-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_eval.c: preserve passed_blocknobu2013-03-233-17/+21
| | | | | | | | | | * 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
* * test_enum.rb: Make test more precisemarcandre2013-03-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test_array.rb: Make test more precisemarcandre2013-03-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-03-23svn2013-03-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: Avoid zip bug by not using obsolete rb_check_block_call [Bug #8153]marcandre2013-03-223-10/+26
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* cleanup by @vipulnsward [GH fixes #262]hsbt2013-03-222-2/+1
| | | | | | | | lib/net/http/generic_request.rb: Removes unnecessary assignment lib/net/ftp.rb: Fixes dead code git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* forwardable.rb: reduce allocations in def_delegatorsnobu2013-03-222-4/+13
| | | | | | | | | * lib/forwardable.rb (Forwardable::FILE_REGEXP): create regexp object outside sources for eval, to reduce allocations in def_delegators wrappers. //o option does not make each regexps shared. patch by tmm1 (Aman Gupta) in [ruby-core:53620] [Bug #8143]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* load.c: loaded_features_index st_tablenobu2013-03-224-14/+35
| | | | | | | | * load.c (rb_feature_p), vm_core.h (rb_vm_struct): turn loaded_features_index into st_table. patches by tmm1 (Aman Gupta) in [ruby-core:53251] and [ruby-core:53274] [Bug #8048] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e