Граф коммитов

3894 Коммитов

Автор SHA1 Сообщение Дата
nahi 3f4d04564b * lib/soap/mapping/factory.rb: mark marshalled basetype objects when
@allow_original_mapping is true.  multi-referencing basetype node is
  prohibited in SOAP/1.1 encoding but soap4r's original ruby object mapping
  requires basetype to be marked to detect self referencing loop.
  e.g. o = 1; o.instance_eval { @iv = o }  soap4r's original mapping is only
  used through soap/marshal API.

* test/soap/marshal/test_marshal.rb: add tests for self referencing immutable
  objects.

* test/soap/calc/test_calc_cgi.rb: fix test name.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-31 16:50:27 +00:00
uema2 e6775cc193 * wince/string_wce.c (strrchr): should decrement pointer.
* wince/Makefile.sub: correct a range of isdigit().


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-31 13:36:19 +00:00
eban 0dfe20d3d4 * configure.in, lib/mkmf.rb: add RPATHFLAG for NetBSD. [ruby-dev:21791]
* bcc32/Makefile.sub, win32/Makefile.sub, win32/Makefile.sub: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-31 03:58:21 +00:00
gsinclair 1ff2d2a348 RD -> RDoc contributed by Lyle Johnson
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-30 22:47:08 +00:00
matz c748f7f8ca 031031
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-30 17:55:51 +00:00
usa 35e098c1b1 * wince/Makefile.sub, win32/Makefile.sub (.y.c): allow white spaces
at the beginning of line to remove by sed. (ruby-bugs-ja PR#580)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-30 16:40:29 +00:00
matz 394738639e 031031
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-30 16:33:32 +00:00
seki 2c2b30dde4 * lib/drb/drb.rb: add DRbArray
* lib/drb/invokemethod.rb: fix Hash#each problem. [ruby-dev:21773]

      * lib/drb/unix.rb: add LoadError. [ruby-dev:21743]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-30 14:46:06 +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
nahi 7eb52a8cd5 * lib/soap/generator.rb: better XML pretty printing.
* lib/soap/encodingstyle/soapHandler.rb: remove unnecessary namespace
  assignment in the element which has "encodingStyle" attribute, and add
  necessary namespace assignment for "arrayType" attribute.

* test/soap/calc/test_calc_cgi.rb: take over $DEBUG to ruby process through CGI.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-30 14:25:21 +00:00
why 1a4c78d7c1 * ext/syck/yaml2byte.c: HASH const too long. Thanks, matz.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-30 13:59:40 +00:00
eban bddde75eb0 ChangeLog: typo fiix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-30 13:38:53 +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
knu 6350cbb1b2 * ext/syck/MANIFEST: Add yamlbyte.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-30 10:15:05 +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
matz cf22db8d69 * parse.y (logop): left may be NULL. [ruby-talk:84539]
* eval.c (rb_eval): NODE_CASE nd_head may be NULL.

* eval.c (rb_eval): remove never occurred NODE_WHEN branch.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-30 04:37:50 +00:00
nahi 22b8cc47eb * lib/test/unit/autorunner.rb: make fox runners work.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-30 01:17:40 +00:00
usa abe7778a2b 2003-10-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-30 00:35:05 +00:00
usa f1ab0d3cab * process.c (rb_f_system): fixed lack of security check before
calling do_spawn() on win32. [ruby-talk:84555]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-30 00:34:30 +00:00
matz 525336fcc9 * eval.c (proc_invoke): single array value to normal Proc#call
(i.e. not via lambda call), should be treated just like yield.
  [ruby-dev:21726]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-29 17:47:24 +00:00
gotoyuzo 2e0b6e28ad * ext/openssl/lib/openssl/buffering.rb (Buffering#initialize):
add new method to inherit @sync from @io.sync.

* ext/openssl/lib/net/protocols.rb (SSLIO#ssl_connect): no need to
  set sync flag explicitly.

* ext/openssl/ossl_ssl.c (ossl_sslctx_initialize): call super.

* ext/openssl/ossl_ssl.c (ossl_sslctx_setup): set extra chain
  certificates in @extra_chain_cert.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-29 17:27:59 +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
usa ef7845ad24 * ext/tcltklib/tcltklib.c (CONST84): define CONST84 when it is not
defined and TCL_MAJOR_VERSION >= 8.

* ext/tcltklib/tcltklib.c (VwaitVarProc, WaitVariableProc,
  rb_threadVwaitProc): use CONST84 instead of CONST.

* ext/tcltklib/tcltklib.c (ip_rbTkWaitCommand,
  ip_rb_threadTkWaitCommand): use CONST84 always.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-29 11:03:54 +00:00
akr a5c350aaba * re.c (rb_reg_s_union, Init_Regexp): new method `Regexp.union'.
* lib/pathname.rb (realpath): examine Dir.pwd because it may have
  symlinks.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-29 08:31:43 +00:00
matz 8bf300f149 * eval.c (rb_longjmp): must not disturb original jump.
[ruby-dev:21733]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-29 08:21:11 +00:00
matz 27ff072349 * eval.c (Init_Proc): taint preallocated exception object
sysstack_error. [ruby-talk:84534]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-29 06:53:48 +00:00
usa f6f8883202 2003-10-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-29 02:32:13 +00:00
matz 91d2e58f1d * parse.y (ret_args): node may be NULL. [ruby-talk:84530]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-29 02:30:08 +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
usa 70b6fce162 * ext/tcltklib/tcltklib.c (VwaitVarProc, ip_rbVwaitObjCmd,
WaitVariableProc, WaitVisibilityProc, WaitWindowProc,
  ip_rbTkWaitObjCmd, ip_rbTkWaitCommand, rb_threadVwaitProc,
  rb_threadWaitVisibilityProc, rb_threadWaitWindowProc,
  ip_rb_threadVwaitObjCmd, ip_rb_threadTkWaitObjCmd): prototype;
  avoid VC++ warnings.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-28 06:23:47 +00:00
eban 5f373d4f99 2003-10-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-28 02:28:10 +00:00
matz a1096ba77c * parse.y (new_yield): remove magic argument rule; "yield [1,2]"
should yield single array of two elements, not two values.
  [ruby-dev:21726]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-28 02:27:06 +00:00
nobu ed5208d851 * eval.c (rb_longjmp): ignore reentering error while warning.
[ruby-dev:21730]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-27 10:19:57 +00:00
eban d1d617b4a2 2003-10-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-27 02:28:31 +00:00
nagai 8f2e14aa3a bug fix on Win : hang-up when calling 'exit' in the Tk callback
procedure. [ruby-list:38656]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-26 15:25:58 +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
eban 985549e008 2003-10-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-26 09:01:51 +00:00
nagai 90e087b697 add TkRoot.destroy
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-25 22:36:50 +00:00
matz b6beb8d943 * eval.c (rb_method_missing): protect exception from within
"inspect".  (ruby-bugs PR#1204)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-25 00:36:56 +00:00
eban beb00bc582 2003-10-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-24 14:51:31 +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
gotoyuzo f493f61f73 * lib/webrick/server.rb (GenericServer#start): should rescue
IOError from IO::accept. [ruby-dev:21692]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-23 11:29:29 +00:00
nobu bd9898da42 2003-10-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-23 09:10:00 +00:00
nobu d74e7e6837 * eval.c (ruby_cleanup): initialize stack bottom for embedding.
[ruby-dev:21686]

* ext/dl/extconf.rb: move list of files to clean from DEPEND file,
  to get rid of macro redefinitions.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-23 08:59:42 +00:00
nobu 443ddb0969 * parse.y: integrate operations for stack_type. [ruby-dev:21681]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-23 04:44:04 +00:00
nobu 38d2bcf47c typo in comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-23 02:19:00 +00:00
nahi 00ac002f79 * test/soap/calc/*, test/soap/helloworld/*: set logging threshold to ERROR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-22 15:43:10 +00:00
ttate 618a435178 --enable-dlstack is true in default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-22 15:04:35 +00:00
ttate 79c3e2d004 Bugfix for PR#1196
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-22 14:29:20 +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