kazu
6f003e469d
remove trailing space
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26 16:01:39 +00:00
akr
3dcdfcf884
* internal.h (TIMET_MAX_PLUS_ONE): Defined.
...
* 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-26 15:30:27 +00:00
kazu
bdc42b0ef3
remove trailing tab
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26 15:24:08 +00:00
svn
6a5911828b
* 2013-03-27
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26 15:22:55 +00:00
kazu
6708e96bcd
fix indent
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26 15:22:51 +00:00
xibbar
d85bf93776
* test/psych/test_*.rb: use require_relative to require local library
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26 14:55:04 +00:00
akr
bfb0edbad2
* 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 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 14:45:55 +00:00
xibbar
9b3d6ad13a
* test/minitest/test_*.rb: use require_relative to require local library
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26 14:37:24 +00:00
akr
7371736e49
* ext/socket/socket.c (sockaddr_len): return the shortest length for
...
unknown socket address.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26 14:34:20 +00:00
xibbar
b0b460925c
* test/dtrace/test_*.rb: use require_relative to require local library
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26 14:31:31 +00:00
akr
79f7521e9b
* thread.c (double2timeval): convert the infinity to TIME_MAX to avoid
...
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-26 13:16:31 +00:00
akr
e1540cd74d
update doc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26 12:22:12 +00:00
usa
eed73918f7
* test/ruby/test_syntax.rb: fixed a typo introduced at r39935.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26 12:16:49 +00:00
nobu
4c276d0c8b
* iseq.c (iseq_load): get rid of SEGV.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26 06:24:26 +00:00
nobu
94a6df7869
test_syntax.rb: pass srcdir
...
* test/ruby/test_syntax.rb (test_syntax): need to pass the source
directory, __FILE__ in assert_separately is '-' because the code is
passed via a pipe. and this test can't finish in 10 seconds.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26 06:24:24 +00:00
nobu
b6a6fa0af4
test_syntax.rb: envutil
...
* test/ruby/test_syntax.rb (test_syntax): require envutil for
assert_valid_syntax.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26 02:59:09 +00:00
naruse
4fa7a0d8df
Suppress -Werror=shorten-64-to-32
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26 01:42:33 +00:00
naruse
76ba59645c
Use assert_separately to speed up on test-all
...
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-26 01:13:41 +00:00
svn
ed90272e00
* 2013-03-26
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-25 18:50:52 +00:00
naruse
a850dc62e9
Use more general approach to get scope_id see #8159
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-25 18:50:50 +00:00
naruse
eaad7bedc9
Suppress warnings
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-25 18:50:48 +00:00
nobu
2149c313f4
string.c: performance improvement
...
* 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
2013-03-25 09:13:08 +00:00
nobu
f4ac735476
test_method.rb: refine assertions
...
* 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
2013-03-25 09:03:54 +00:00
nobu
8e10ee739b
envutil.rb: separate checks
...
* 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
2013-03-25 09:03:51 +00:00
nobu
6f8e5cc821
* test/ruby/test_method.rb (test_unlinked_method_entry_in_method_object_bug):
...
move from KNOWNBUGS.rb. [Bug #8100 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-25 05:39:32 +00:00
nobu
985deb62eb
envutil.rb: signal in Process::Status
...
* 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
2013-03-25 05:39:29 +00:00
drbrain
e37f8c0f0b
* 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 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 22:09:35 +00:00
drbrain
77b885264b
* 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 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-24 22:01:56 +00:00
kosaki
b95336b2fe
* addr2line.c (putce): suppress unused return value warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-24 21:00:03 +00:00
svn
b63580b50f
* 2013-03-25
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-24 17:15:59 +00:00
nari
02ff097705
* proc.c (bm_free): need to clean up the mark flag of a free and
...
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 17:15:54 +00:00
naruse
7a8329737a
Try interface indexes which can use for IPv6 multicast
...
a fix for r39896
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-24 14:36:26 +00:00
nagachika
c4d2d856b8
* ChangeLog: fix a typo in r39892.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-24 14:08:08 +00:00
naruse
ed77aff154
* 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 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-24 13:18:54 +00:00
nobu
f001a450f2
* test/ruby/envutil.rb (assert_ruby_status): include stderr output.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-24 10:43:39 +00:00
nobu
cedfed5e8d
* vm_method.c (rb_sweep_method_entry): simplify code to unlink.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-24 10:43:37 +00:00
knu
014236612a
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]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-24 09:32:06 +00:00
nobu
b4a2e268ea
gc.c: fix compile error
...
* 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
2013-03-24 05:13:54 +00:00
nari
e54daddac4
* gc.c (GC_ENABLE_LAZY_SWEEP): new macro to switch lazy sweeping
...
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 04:53:44 +00:00
nari
3ad60679e3
* 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 this is
the case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-24 04:20:32 +00:00
akr
052c0e67d9
* 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.
* 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-24 02:06:32 +00:00
nobu
61f50e317e
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 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-24 00:04:43 +00:00
drbrain
7a64cdeb55
* lib/rinda/ring.rb: Added documentation for multicast support.
...
* 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 20:36:42 +00:00
drbrain
f70e0e628b
* test/rinda/test_rinda.rb: Restore tests commented out while fixing
...
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 20:32:59 +00:00
drbrain
646bcaa717
* 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 Rinda multicast support
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-23 20:10:11 +00:00
naruse
362208c041
Add timeout to infinite loop [Bug #8100 ]
...
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
2013-03-23 19:50:49 +00:00
naruse
20219afd83
Suppress warnings
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-23 19:50:47 +00:00
drbrain
71012b3aa7
* test/rinda/test_rinda.rb: Fixed test failures in r39890 and r39890
...
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 19:13:37 +00:00
drbrain
90d9413391
Commit miss
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-23 18:35:23 +00:00
drbrain
ebca3dd3c3
* 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 the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-23 18:34:16 +00:00