aboutsummaryrefslogtreecommitdiffstats
path: root/lib/drb
Commit message (Collapse)AuthorAgeFilesLines
...
* * lib/csv.rb: Fix unused variable warnings.marcandre2010-07-112-3/+3
| | | | | | | | | | | | | | | | | | | | | | Patch by Run Paint [ruby-core:30991] * lib/date.rb: ditto * lib/debug.rb: ditto * lib/drb/drb.rb: ditto * lib/drb/invokemethod.rb: ditto * lib/irb/ruby-lex.rb: ditto * lib/irb/slex.rb: ditto * lib/logger.rb: ditto * lib/pathname.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* raise DRbConnError instead of ArgumentError if too many arguments.seki2010-06-141-1/+1
| | | | | | | [ruby-dev:41481] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/drb.rb (DRbServer#stop_service): join killed thread tomame2010-02-181-1/+1
| | | | | | ensure service stops. [ruby-dev:40441] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/eq.rb: fix circular requrie in drb.seki2010-01-261-2/+0
| | | | | | | | reported by akr. see [ruby-dev:40156] [ruby-core:27661] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/drb.rb (open_server_inaddr_any): fixed multiple networkseki2009-03-171-9/+4
| | | | | | | | families problem. a patch from Charl Matthee at [ruby-core:21033]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {ext,lib,test}/**/*.rb: removed trailing spaces.nobu2009-03-067-111/+111
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merged a patch from Alessandro Di Maria in [ruby-core:22560].seki2009-03-011-10/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command):akr2009-02-081-1/+1
| | | | | | | detach spawned process. [ruby-dev:37936] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/xmlrpc/server.rb (Server#serve): gets rid of hardcodednobu2009-02-011-5/+1
| | | | | | | | | | | | | | | | | | | | | | platform names. * lib/resolv.rb (Resolv::Hosts::DefaultFileName), (Resolv::DNS::Config.default_config_hash): tries win32/resolv on mswin64 too. * lib/rubygems/specification.rb (Gem::Specification#ruby_code): aded mswin64. * lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command): spawn is better to start a process in background. * ext/extmk.rb: uses FNM_SYSCASE. * instruby.rb: installs win32.h on mswin64 platform. [ruby-core:21722] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fixed NoMethodError problem from NaHi [ruby-dev:37110].seki2008-11-181-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/drb.rb (DRb::DRbServer::check_insecure_method): shouldmatz2008-04-221-2/+2
| | | | | | | check method names by symbols, not by strings. a patch from Kazuhiro NISHIYAMA <zn at mbf.nifty.com> in [ruby-dev:34487]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): remove "retry" in block.ko12007-12-191-2/+0
| | | | | | | | | | | | | | | | | ("iter{retry}" cause syntax error) Currently, "begin; ...; rescue; iter{retry}; end" cause syntax error too. * bootstraptest/test_jump.rb: ditto. * lib/drb/invokemethod.rb: ditto. * sample/drb/darrayc.rb: ditto. * sample/test.rb: ditto. * test/drb/drbtest.rb: ditto. * test/ruby/test_iterator.rb: ditto. * sample/test.rb: add a 'test' directory on the SYSTEM test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/extserv.rb (initialize, stop_service): synchronize withseki2007-11-261-6/+13
| | | | | | | | | | ExtServManager. * test/drb/test_drb.rb (TestDRbEval): ignored. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merged from ruby_1_8 branch.seki2007-11-197-60/+69
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_f_send): allow send/__send__ to call methods of allmatz2007-11-041-1/+1
| | | | | | | | | | visibility again. we no longer provide __send, __send!. * eval.c (rb_invoke_method): new method to honor private visibility. if it's invoked in a function call style, it calls private methods as well (previous 1.9 send behavior). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_dir.rb (TestDir::setup): ?c now makes a string.matz2007-08-241-1/+1
| | | | | | | | | | * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::initialize): initialize @workdir to stop warning. * lib/drb/drb.rb (DRb::DRbServer::InvokeMethod::perform_without_block): replace funcall by send!. other files in the distribution as well. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Merge YARVko12006-12-312-12/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Close the socket on SSLError. [ruby-core:7198]drbrain2006-08-041-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_mod_attr): make Module#attr to be an alias tomatz2006-07-201-1/+1
| | | | | | | | | | attr_reader. [RCR#331] * ruby.h: export classes/modules to implement sandbox. [ruby-core:08283] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.h, lib/drb/drb.rb, lib/drb/invokemethod.rb: remove Values class.akr2006-06-232-2/+2
| | | | | | | [ruby-dev:28805] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RDoc from Hugh Sasse [ruby-core:8012]drbrain2006-06-191-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-expr-beg): support $! at the end ofmatz2005-11-301-1/+1
| | | | | | | expression. [ruby-dev:27868] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* follow change of observer.rb. fixed [ruby-core:6796]seki2005-11-291-10/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/ssl.rb (DRb::SSLConfig#accept): fixed typo.ocean2005-11-081-1/+1
| | | | | | | [ruby-dev:27560] [ruby-core:4627] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/ssl.rb (SSLConfig#accept) sorry, self[:verbose] is inner class's ↵ocean2005-08-301-1/+1
| | | | | | | | | method. so reverted... git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/ssl.rb (SSLConfig#accept) fixed "Undefined method verbose"ocean2005-08-301-1/+1
| | | | | | | [ruby-Bugs:1701] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use private_methods and protected_methods instead of respond_to? to checkseki2005-07-311-13/+12
| | | | | | | method visibility. [ruby-dev:26616] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use raise(exception) [ruby-dev:26164]seki2005-05-151-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* adhoc patch for [druby-ja:123]seki2005-04-111-5/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/drb.rb: move method DRbObject#reinit to DRbObject.new_with.seki2005-03-282-33/+132
| | | | | | | | | | | extract method DRbObject.prepare_backtrace. add DRb.regist_server, remove_server, fetch_server. change server in thread variable if in-proc sesrver. [druby-ja:113] * lib/drb/gw.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* (DRbObject#respond_to?) take two arguments. [ruby-dev:25722]seki2005-02-191-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/drb.rb (DRbServer.default_safe_level): fix typo.ocean2005-02-171-2/+2
| | | | | | | | * test/digest/test_digest.rb: separate test case for each algorithms. (Thanks nobu) [ruby-dev:25412] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add safe_leve, default_safe_level ([druby-ja:120])seki2005-02-131-5/+33
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* reject :instance_eval, :class_eval, :module_eval [druby-ja:117]seki2005-02-081-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* (DRb::DRbObject#respond_to?): check marshal_dump and _dumpseki2005-02-011-1/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* (accept) rescue SSLError. [druby-ja:110]seki2005-01-221-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fail if UNIXFileOwner is set. [druby-ja:111]seki2005-01-221-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add lazy stop_serviceseki2005-01-022-9/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* changed default binded address family to use an available address family of ↵seki2004-12-152-4/+30
| | | | | | host name. [druby-ja:101] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add DRbRemoteError. [ruby-list:40348], [ruby-list:40390]seki2004-12-111-4/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add DRb::ExtServManager#uri=.seki2004-11-081-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call0): should call rb_call_super() directly formatz2004-07-282-3/+3
| | | | | | | visibility overriding. [ruby-dev:23989] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/drb.rb(DRbConn self.open): If socket pool is full, closeocean2004-07-041-4/+7
| | | | | | | 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
* * lib/drb/drb.rb: Cosmetic documentation changes.gsinclair2004-05-161-7/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c, io.c, pack.c, lib/benchmark.rb, lib/cgi.rb, lib/csv.rb,nobu2004-04-181-2/+2
| | | | | | | | | | | | | | 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
* * lib/drb/drb.rb (DRb::DRbUnknown::initialize): Exception#to_str isnobu2004-04-162-4/+4
| | | | | | | | | | | | | 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
* * eval.c (proc_eq): avoid false positive by using scope andmatz2004-03-181-1/+1
| | | | | | | | | | | 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
* stop undef DRbObject#to_aseki2004-03-181-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command):nobu2004-03-041-1/+2
| | | | | | | 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
* * io.c (pipe_open): erred program name should be reported bynobu2004-03-021-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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