ocean
bc9d396610
* lib/drb/drb.rb(DRbConn self.open): If socket pool is full, close
...
the socket whose last-access-time is oldest. (and add new one)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-04 16:29:03 +00:00
gsinclair
ac1d9e7c2d
* lib/drb/drb.rb: Cosmetic documentation changes.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16 15:09:52 +00:00
nobu
92f0be2037
* dln.c, io.c, pack.c, lib/benchmark.rb, lib/cgi.rb, lib/csv.rb,
...
lib/date.rb, lib/ftools.rb, lib/getoptlong.rb, lib/logger.rb,
lib/matrix.rb, lib/monitor.rb, lib/set.rb, lib/thwait.rb,
lib/timeout.rb, lib/yaml.rb, lib/drb/drb.rb, lib/irb/workspace.rb,
lib/net/ftp.rb, lib/net/http.rb, lib/net/imap.rb, lib/net/pop.rb,
lib/net/telnet.rb, lib/racc/parser.rb, lib/rinda/rinda.rb,
lib/rinda/tuplespace.rb, lib/shell/command-processor.rb,
lib/soap/rpc/soaplet.rb, lib/test/unit/testcase.rb,
lib/test/unit/testsuite.rb: typo fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-18 23:19:47 +00:00
nobu
03f06115a6
* lib/drb/drb.rb (DRb::DRbUnknown::initialize): Exception#to_str is
...
deprecated.
* lib/drb/drb.rb (DRb::DRbServer::InvokeMethod::perform): multiple
value class changed.
* lib/drb/invokemethod.rb (DRb::DRbServer::InvokeMethod18Mixin::block_yield):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-16 03:38:53 +00:00
matz
c223709c3b
* eval.c (proc_eq): avoid false positive by using scope and
...
dyna_vars. no longer use frame.uniq.
* eval.c (proc_arity): arity is now defined as number of
parameters that would not be ignored. i.e. Proc.new{}.arity
returns zero. update test suites too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-18 10:09:43 +00:00
seki
29696a1738
stop undef DRbObject#to_a
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-18 08:48:37 +00:00
nobu
de4d3af245
* lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command):
...
detach server processes to get rid of zombies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-04 02:46:37 +00:00
nobu
5aad820604
* io.c (pipe_open): erred program name should be reported by
...
exceptions, instead of the first argument.
* process.c (rb_spawn): ditto.
* process.c (proc_spawn_v): use first argument as program name.
* win32/win32.c (rb_w32_aspawn): ditto.
* win32/win32.c (CreateChild): search executable file if no program
name given.
* lib/drb/extservm.rb (invoke_service_command): use Process.spawn.
[ruby-dev:23103]
* lib/rdoc/ri/ri_display.rb (setup_pager): use IO.popen.
[ruby-dev:23086], [ruby-dev:23103]
* lib/rdoc/diagram.rb (convert_to_png): ditto.
* lib/rdoc/generators/chm_generator.rb (compile_project): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-02 07:30:35 +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
seki
926a6fb194
remove O_NONBLOCK, thanks ay
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-18 13:55:22 +00:00
seki
0562a84558
add pretty_print
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-14 02:16:05 +00:00
seki
27e4c2fc27
remove O_NONBLOCK
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-21 14:06:21 +00:00
seki
6010ca65fa
typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-21 14:05:09 +00:00
nobu
9c40644850
* lib/drb/drb.rb (DRb::DRbMessage::send_request, send_reply):
...
should rescue errors and re-raise DRbConnError on write too.
[ruby-dev:22132]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-04 12:50:13 +00:00
seki
3d9ba0390c
correct fcntl parameer
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-03 10:40:27 +00:00
seki
b20531b334
re-raise DRbConnError
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-28 08:30:01 +00:00
seki
a1a2b66e0d
rescue SystemCallError
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-28 07:45:27 +00:00
matz
2c1140b3e0
* io.c (appendline): file may not end with newline. a bug if
...
READ_DATA_PENDING_PTR is defined. [ruby-talk:84925]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-11 13:48:51 +00:00
matz
818d6a1e4f
* eval.c (rb_load): allow interrupt during loaded program
...
evaluation. [ruby-dev:21834]
* hash.c (rb_hash_fetch): always warn if default argument and a
block are supplied at the same time. [ruby-dev:21842]
* hash.c (env_fetch): ditto.
* array.c (rb_ary_fetch): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-06 07:22:39 +00:00
seki
6a512ba9a9
add DRbArray, and change yield. [ruby-dev:21773]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-30 14:43:03 +00:00
seki
8d2a8dbfb0
add acl.rb, ssl.rb
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-04 17:08:23 +00:00
seki
e6b60ce2fe
exit from a thread using 'break'
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-04 17:06:41 +00:00
wew
20e165a040
Added documentation in RDoc format.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-12 02:29:38 +00:00
seki
8d64baf2a8
add UNIXFileOwner, UNIXFileGroup
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-27 01:25:58 +00:00
eban
02f036ddbc
* lib/tmpdir.rb (tmpdir): new method. remove TMPDIR.
...
use GetSystemWindowsDirectory(GetSystemDirectory), not GetTempPath.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-23 16:37:35 +00:00
matz
2416271405
* lib/tmpdir.rb: new library to get temporary directory path,
...
using GetTempPath on Win32 environment.
* lib/tempfile.rb: now uses tmpdir.rb.
* lib/cgi/session.rb, ib/drb/unix.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-21 15:34:18 +00:00
seki
d5f31755fc
import drb-2.0.4 (use LocalJumpeError#reason)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-28 22:03:41 +00:00
seki
151f1241c6
import from drb-2.0.4b3
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-18 15:45:12 +00:00