seki
6763ac5552
use private_methods and protected_methods instead of respond_to? to check
...
method visibility. [ruby-dev:26616]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-07-31 16:19:42 +00:00
seki
d822ffdc04
adhoc patch for [druby-ja:123]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-11 14:48:50 +00:00
seki
5c293c10e1
(DRbObject#respond_to?) take two arguments. [ruby-dev:25722]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-19 10:00:33 +00:00
seki
8fd62dccb2
update unittest, port from v1.8
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-16 15:30:52 +00:00
seki
2681be1eed
add safe_leve, default_safe_level ([druby-ja:120])
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-13 15:13:54 +00:00
seki
940aa83194
use DRbService.ext_service. reduce sleep
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-04 12:25:45 +00:00
seki
5ef141e3e9
move TestDRbReusePort to new file [ruby-dev:25238]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-03 02:07:37 +00:00
seki
b7e70f0497
add method DRbService.ext_service
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-01 16:20:35 +00:00
seki
c09dc0f725
adjust and reduce sleep
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-16 13:38:15 +00:00
seki
a402acbbb6
add DRbRemoteError. [ruby-list:40348], [ruby-list:40390]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-11 12:12:17 +00:00
seki
8b9422f502
add DRb::ExtServManager#uri=.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-08 15:45:31 +00:00
matz
1bd47bf0bc
* eval.c (rb_call0): should call rb_call_super() directly for
...
visibility overriding. [ruby-dev:23989]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-28 09:05:08 +00:00
ocean
9d07076bef
* win32/win32.{h,c} (rb_w32_{f,fd,fs}open): workaround for bcc32's
...
{f,fd,fs}open bug. set errno EMFILE and EBADF. [ruby-dev:23963]
* test/drb/drbtest.rb: fix method duplication.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-25 02:25:25 +00:00
nobu
eb1fa257b5
* test/drb/drbtest.rb, test/soap/calc/test_calc_cgi.rb: restore $:
...
after require.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-08 11:25:24 +00:00
nobu
fa7a5d5477
* ext/extmk.rb (extmake): skip uncompiled extensions.
...
* lib/mkmf.rb (create_makefile): emit no rules for static library if
$static is nil, e.g., outside of ext/.
* lib/test/unit/ui/console/testrunner.rb (test_started): show test
name via $0.
* runruby.rb: set environments to use the compiled binary.
* test/runner.rb: do nothing while cross-compiling.
* test/drb/drbtest.rb, test/soap/calc/test_calc_cgi.rb: use envutil to
know ruby binary.
* test/ruby/envutil.rb: give priority to RUBY environment variable to
use just compiled binary and libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-08 10:45:21 +00:00
matz
610b5d7975
* variable.c (rb_cvar_set): class variables become private to the
...
particular class/module. [Ruby2]
* variable.c (rb_cvar_get): ditto.
* io.c (rb_io_sync): need not to check writable. [ruby-core:02674]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-19 07:13:01 +00:00
seki
c12e0136dc
use druby://localhost:0, [ruby-dev:23078]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-13 05:58:00 +00:00
seki
52e0246b61
require drb/eq.rb by default
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-26 15:56:40 +00:00
nahi
04b5228aba
* test/*: remove $: trick. [ruby-dev:22763] use test/runner.rb to
...
run test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-29 13:22:27 +00:00
matz
002517aba8
* parse.y (newline_node): do not use NODE_NEWLINE node anymore,
...
use NEWLINE flag instead.
* ext/socket/socket.c (sock_gethostbyname): returns host if
ai_canonname is NULL. (ruby-bugs PR#1243)
* parse.y (block_append): update nd_end for "real" head node.
[ruby-list:39058]
* marshal.c (w_class): should not dump singleton class.
[ruby-dev:22631]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-21 16:47:23 +00:00
nahi
f34ce620a7
* lib/test/unit/collector/dir.rb: do not ignore exceptions(LoadError
...
and SystemExitError) while loading a testcase. smell of bug.
* test/testunit/collector/test_dir.rb: add new test of the LoadError.
* test/drb/{test_drbssl.rb,test_drbunix.rb}: do not define testcase if
openssl is not installed.
* test/testunit/collector/test_dir.rb: assert_raises -> assert_raise.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-09 04:26:05 +00:00
nobu
73d77c8f57
* lib/test/unit/assertions.rb: Modules are allowed to rescue.
...
* lib/test/unit/autorunner.rb: show output_level in order.
* lib/test/unit/collector/dir.rb: get rid of successive same
directories in load path.
* test/testunit/test_assertions.rb (test_assert_nothing_raised,
test_assert_raise): test for modules.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-24 05:08:04 +00:00
seki
1eb2a60a3d
add test Hash#each, and change load_limit
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-30 13:30:48 +00:00
matz
1a8ccefafc
* io.c (READ_DATA_BUFFERED): new macro to detect whether stdio
...
buffer filled.
* io.c (rb_io_fptr_cleanup): move path deallocation to
rb_io_fptr_finalize (finalizer called by GC).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-30 09:36:41 +00:00
nahi
2d6b30ee57
* test/drb/drbtest.rb: use rbconfig.rb to make the path of ruby interpreter to
...
exec, instead of test/ruby/envutil.rb,
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-29 13:06:12 +00:00
seki
27ce94a366
change yield2 test. [ruby-dev:21739]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-28 14:14:41 +00:00
seki
b9a216a6ef
add yield test for [ruby-dev:21707]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-26 13:07:58 +00:00
matz
befb570536
* hash.c (rb_hash_each): Hash#each should yield single value.
...
[ruby-talk:84420]
* hash.c (env_each): ditto for ENV.each.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-24 14:31:14 +00:00
nobu
f136a3225e
* lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#collect_file):
...
ignore tests which raised LoadError.
* test/drb/drbtest.rb, test/ruby/test_beginendblock.rb,
test/ruby/test_system.rb: avoid requiring same file twice.
* test/drb/test_drbssl.rb, test/drb/test_drbunix.rb: should not use
ARGV unless invoked directly. do not create test cases unless
required libraries are available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-22 03:53:41 +00:00
matz
d0244508c2
* test/drb/drbtest.rb: import drb common test utilities.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-21 15:04:39 +00:00
matz
06d9340f2e
* eval.c (ruby_cleanup): call finalizers and exit procs before
...
terminating threads.
* eval.c (ruby_cleanup): preserve ruby_errinfo before ruby_finalize_0().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-21 14:42:15 +00:00
seki
bc867112ec
import drb/runit/*.rb
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-20 15:24:00 +00:00