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

3477 Коммитов

Автор SHA1 Сообщение Дата
nahi 11150ba747 * test/ruby/test_file.rb: new file. only asserts unlink-before-close behaviour
now.

* test/soap/marshal/test_digraph.rb: should close before unlink.
  unlink-before-close pattern is not needed here.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-26 20:00:03 +00:00
nahi 2e0b087b02 * test/soap/*, test/wsdl/*, test/xsd/*: move TestCase classes into each module
namespace.  TestMarshal in test/soap/marshal/test_marshal.rb crashed with
  test/ruby/test_marshal.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-26 18:34:41 +00:00
nahi 746a4fb43f * test_soapelement.rb: Illegal require path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-26 18:08:14 +00:00
eban 98442fdf46 2003-09-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-26 16:41:50 +00:00
usa 39aafb4c78 * ext/socket/socket.c (ruby_connect): on win32, type of the 4th
argument of getsockopt is char *.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-26 16:35:07 +00:00
nobu dfe0aab04f * lib/resolv-replace.rb: 1.8 compliance. [ruby-talk:82946]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-26 09:35:44 +00:00
nahi 13391b4047 * lib/README: lib/wsdl is an implementation of WSDL/1.1, not WSDL/1.2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-26 09:30:07 +00:00
nahi e0741eb05f * test/ruby/test_marshal.rb: add test for ruby's objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-26 08:41:28 +00:00
eban af337b6c2a 2003-09-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-26 01:09:13 +00:00
nobu ac8ef7a5c8 * defines.h (flush_register_windows): use volatile only for gcc on
Solaris.  [ruby-dev:21403]

* lib/mkmf.rb (xsystem): use system directly to honor shell meta
  charaters.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-26 00:52:49 +00:00
nahi b4c805cc44 * lib/README: updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-25 15:10:46 +00:00
eban 07cae563bd * MANIFEST: add test/ostruct/test_ostruct.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-25 14:51:23 +00:00
usa 3a9772f651 * ext/openssl/ossl.c (ossl_buf2str): fix type of 1st argument for
rb_protect.

	* ext/openssl/ossl_hmac.c (ossl_hmac_digest): should return meaningful
	  value.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-25 08:49:36 +00:00
ntalbott fb1f07049f * lib/ostruct.rb: Added OpenStruct#==.
* test/ostruct/test_ostruct.rb: Added.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-25 00:03:11 +00:00
matz 94bfebb3fa * error.c (rb_warn_m): should not warn if -W0 is specified.
[ruby-talk:82675]

* util.c (ruby_strtod): skip preceding zeros before counting
  digits in the mantissa. (ruby-bugs PR#1181)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-24 23:56:11 +00:00
nobu 5747a6c480 * ext/win32ole/win32ole.c, ext/openssl/ossl_pkey_dsa.c,
ext/openssl/ossl_pkey_rsa.c, ext/bigdecimal/bigdecimal.h: must
  not use C++ or C99 style comment yet.  (ruby-bugs:PR#1184)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-24 22:55:33 +00:00
eban 4b229a3075 2003-09-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-24 15:24:00 +00:00
eban 6ac122d762 * MANIFEST: add SOAP4R.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-24 15:23:56 +00:00
nahi db9445103c * lib/soap/* (29 files): SOAP4R added.
* lib/wsdl/* (42 files): WSDL4R added.

* lib/xsd/* (12 files): XSD4R added.

* test/soap/* (16 files): added.

* test/wsdl/* (2 files): added.

* test/xsd/* (3 files): added.

* sample/soap/* (27 files): added.

* sample/wsdl/* (13 files): added.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-24 15:18:44 +00:00
eban 8c2fb77787 2003-09-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-24 07:44:09 +00:00
nobu fca2b319b5 * parse.y (str_xquote): do not prepend escapes in
backqoute literals.  [ruby-list:38409]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-24 07:42:06 +00:00
gotoyuzo 9cdd5fcb62 * lib/webrick/httpservlet/cgihandler.rb: conform to mswin32.
[ruby-talk:82735], [ruby-talk:82748], [ruby-talk:82818]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-23 17:14:39 +00:00
eban f7294937f6 2003-09-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-23 14:51:45 +00:00
nahi 406fd7754e * lib/logger.rb: add Logger#<<(msg) for writing msg without any formatting.
* test/logger/test_logger.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-23 14:12:42 +00:00
eban 603e0b1f19 * MANIFEST: updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-22 12:29:33 +00:00
eban 1e7a048bbd 2003-09-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-22 10:26:57 +00:00
gotoyuzo 0645683e26 * configure.in (AC_CHECK_FUNCS): add setuid and setgid.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-22 10:25:24 +00:00
gotoyuzo ca8be43f0e * ext/openssl/ossl_ocsp.c (ossl_ocspreq_initialize): the argument
should be a String.

* ext/openssl/ossl_ocsp.c (ossl_ocspres_initialize): ditt.

* ext/openssl/ossl_x509attr.c (ossl_x509attr_initialize): ditto.

* ext/openssl/ossl_x509ext.c (ossl_x509ext_initialize): ditto.

* ext/openssl/ossl_x509ext.c (ossl_x509ext_set_value): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-20 19:18:22 +00:00
nahi 879944aa32 * reduce expecting size of backtrace.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-20 02:54:52 +00:00
nahi deb2caf4b5 * lib/logger.rb: typo fixed.
* test/logger/test_logger.rb: new file.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-20 02:51:06 +00:00
gsinclair 1469fdd06c Minor documentation improvements
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-19 07:47:46 +00:00
gsinclair 34ab8c77a1 Improved documentation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-19 06:53:02 +00:00
gsinclair fc5df64667 Converted RD to RDoc (Lyle Johnson) and improved documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-19 06:39:07 +00:00
ntalbott 65fe176ea4 * test/testunit/*: Added.
* lib/test/unit.rb: Documentation update.

	* lib/test/unit/ui/console/testrunner.rb (TestRunner#initialize):
	  Ditto.

	* lib/test/unit.rb: Factored out an ObjectSpace collector.

	* lib/test/unit/collector/objectspace.rb: Ditto.

	* sample/testunit/*: Added.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-19 02:48:46 +00:00
gsinclair 50cd24f1cf Small documentation correction
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-19 01:51:17 +00:00
gotoyuzo df7c89b442 * lib/webrick/log.rb (BasicLog#log): get rid of as ineffectual
condition.

* lib/webrick/log.rb (BasicLog#format): add "\n" to message.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-18 16:09:02 +00:00
matz 54fec448f5 * eval.c (proc_invoke): should push PROT_PCALL tag for orphans.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-18 13:57:53 +00:00
matz 5f1db6ea96 * eval.c (proc_invoke): should update "result" for orphans.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-18 13:43:42 +00:00
akr def3aa514a lib/pathname.rb: update document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-18 11:35:38 +00:00
nahi c40f4227f5 * lib/logger.rb: Comment fix. I don't like inline documentation... Hard to
maintain, doesn't go together with refactoring.  [defensively]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-18 07:58:09 +00:00
eban 7e1c97611a 2003-09-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-18 06:38:13 +00:00
nahi 9c219837b3 * lib/logger.rb: new file. Logger, formerly called devel-logger or
Devel::Logger.

* sample/logger/*: new file.  samples of logger.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-18 06:31:25 +00:00
matz ea2e8d3592 * eval.c (localjump_destination): should not raise ThreadError
exception for "break". [ruby-dev:21348]

* eval.c (proc_invoke): use result instead of prot_tag->retval.
  retval is no longer propagated to the ancestors.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-17 14:45:25 +00:00
nobu 6d779ac139 re-formatted wrongly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-17 11:39:28 +00:00
nobu d3b780b1cf * parse.y (tokadd_string, parse_string, yylex): escaped terminator
is now interpreted as is.  [ruby-talk:82206]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-17 11:34:02 +00:00
aamine 577fa4c6a8 * test/fileutils/fileassertions.rb: new file.
* test/fileutils/test_fileutils.rb: new file.
* test/fileutils/test_nowrite.rb: new file.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-17 09:52:50 +00:00
aamine ed970e2513 * test/strscan/test_stringscanner.rb: require test/unit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-17 09:51:32 +00:00
gotoyuzo 45ca1d0754 should check retuen value of rb_protect.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-17 09:40:17 +00:00
eban d83381e717 2003-09-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-17 09:39:49 +00:00
aamine dbfd0ae0bb * test/strscan/test_stringscanner.rb: new file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-17 09:36:04 +00:00