nobu
01d06638b9
* lib/test/unit/assertions.rb (Test::Unit::Assertions::assert_raises):
...
allow multiple exception list. [ruby-core:01884]
* lib/test/unit/assertions.rb (Test::Unit::Assertions::assert_nothing_raised):
check whether arguments are subclass of Exception.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-04 17:49:39 +00:00
dave
e78a9cdcdb
Try to give nicer error messages on internal failures
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-04 15:10:38 +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
nobu
05f6ee2183
* parse.y (exc_list): allow expanding list. [ruby-dev:22134]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-04 07:41:20 +00:00
aamine
8c95664355
* test/fileutils/test_fileutils.rb (test_cp): test if the error is kind of SystemCallError. It is needless details that which errno is set on each systems.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-04 05:09:47 +00:00
nobu
b6e4f347dc
mail address consistency.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-04 04:35:26 +00:00
shugo
7072d8279d
* lib/monitor.rb: use Object#__send__ instead of Object#send.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-04 04:25:10 +00:00
nahi
541df88924
* lib/soap/streamHandler.rb: support latest released version of
...
http-access2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-04 04:19:12 +00:00
nahi
20fa0df5cd
* lib/soap/soap.rb: add SOAP::Env module for environment repository
...
such as HTTP_PROXY.
* lib/soap/property.rb: property implementation.
* lib/soap/streamHandler.rb, lib/soap/wsdlDriver.rb,
lib/soap/rpc/driver.rb: use soap/property.rb.
* lib/wsdl/importer.rb, lib/soap/wsdlDriver.rb, lib/soap/rpc/driver.rb:
use SOAP::Env.
* lib/soap/netHttpClient.rb: add basic_auth, ssl_config, and cookie
management interface, but ignored for now.
* lib/xsd/charset.rb: add XSD::Charset.encoding= interface to set
wiredump charset explicitly. it was fixed to 'utf-8' when iconv or
uconv module was found.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-04 04:05:51 +00:00
nobu
b28a2a1ad6
2003-12-04
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-04 01:53:14 +00:00
usa
4eaf7b1186
* ext/dl/sym.c (rb_dlsym_guardcall): __declspec(noinline) is VC7
...
feature.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-04 01:45:07 +00:00
aamine
ad592fa016
* lib/net/http.rb: update hyperlink to the Japanese document.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-04 01:27:39 +00:00
gotoyuzo
f4ddca17e0
[ruby-core:01881]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-04 00:26:15 +00:00
gotoyuzo
7d6e215393
* ext/openssl/ossl_asn1.c (asn1time_to_time): should check that
...
the underlying value of ASN1_TIME isn't NULL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-04 00:21:31 +00:00
gotoyuzo
8e1714488a
* lib/webrick/server.rb (GenericServer#start): should rescue
...
Exception to avoid unexpected aborting. [ruby-core:01853]
* lib/webrick/server.rb (GenericServer#start_thread): should check
that peeraddr isn't nil before printing.
* lib/webrick/httpresponse.rb (HTTPResponse#start_thread): should
rescue Exception to avoid unexpected aborting of thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-04 00:12:14 +00:00
akr
dc9603bd5c
* lib/pathname.rb (Pathname#link, Pathname#symlink): obsoleted.
...
(Pathname#make_link, Pathname#make_symlink): new method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-03 18:51:23 +00:00
matz
4f5976cbb8
* io.c (argf_read): should not terminate on empty string; wait
...
until real EOF. [ruby-dev:21969]
* io.c (argf_read): should adjust length to read, when length is
specified and read spans command line argument files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-03 17:30:09 +00:00
dave
ad27a14136
Implicitly define classes in 'class <<ClassName' if we haven't come across them before
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-03 14:40:44 +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
matz
2f4c13b0f0
* configure.in (AC_PROG_YACC): AC_DEFINE(OLD_YACC) if Yacc is found
...
instead of Bison or byacc.
* parse.y: If OLD_YACC is defined, ensure that YYMAXDEPTH is at least
10000 (Bison's default) since some old versions of Yacc define it as
low as 150 by default, which is too low for Ruby to parse some files,
such as date/format.rb. Among other issues, the parse problem causes
"make test" to fail.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-03 07:55:54 +00:00
nobu
73bc1204e4
MANIFEST: add lib/rdoc/dot/dot.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-03 04:55:57 +00:00
nagai
a7c382223c
* 'format'==>'Kernel.format' (avoid override trouble)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-03 04:55:07 +00:00
nobu
e3bab670fc
* Makefile.in (lex.c): try gperf first, and copy from the source
...
directory if failed. [ruby-dev:22123]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-03 04:28:14 +00:00
dave
835e16733d
Missing file
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-03 04:20:22 +00:00
eban
2fa85831df
2003-12-03
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-03 04:03:01 +00:00
nobu
b1fd732b4f
* ext/extmk.rb (MTIMES): let makefiles depend to mkmf.rb.
...
* lib/mkmf.rb (configuration): DLDFLAGS was duplicated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-03 02:36:48 +00:00
nobu
c772f4906a
fixed method name
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-02 23:29:02 +00:00
aamine
44cc15a9a8
* lib/net/http.rb: wrote the warning about HTTP_PROXY environment variable.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-02 14:18:49 +00:00
nobu
953b293f2b
* lib/test/unit/ui/gtk2 (Test::Unit::UI::GTK2#start_ui): remove debug statement.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-02 12:41:01 +00:00
nobu
086745b7d6
* bin/testrb: new test runner. [ruby-core:01845]
...
* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner.run,
Test::Unit::AutoRunner#initialize): take test list to run.
* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::RUNNERS,
Test::Unit::AutoRunner#run): should not exit inside a library, just
return the result instead.
* lib/test/unit.rb: ditto.
* test/runner.rb: exit with the test result.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-02 12:31:44 +00:00
aamine
76eab3527f
* test/fileutils/test_fileutils.rb: check if Pathnames are usable for arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-02 11:03:37 +00:00
eban
3b7a1799ce
2003-12-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-02 08:08:07 +00:00
ttate
a41f5816dd
Merged Tietew's patch of [ruby-dev:21991].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-01 23:02:44 +00:00
ntalbott
6e4b8e19d7
* lib/test/unit/assertions.rb: fixed #assert_no_match message.
...
* test/testunit/test_assertions.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-01 19:25:51 +00:00
dave
062616677f
Allow string as argument to alias_method
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-01 17:00:05 +00:00
why
50629ec6db
* ext/syck/syck.c: string buffering bug. decrementing by full
...
max_size now. [ruby-core:01834]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-01 15:45:54 +00:00
matz
ac761cda20
* numeric.c (num_sadded): prohibit singleton method definition for
...
Numerics. fill yet another gap between Fixnum and Bignum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-01 13:16:09 +00:00
matz
b0acbc4c9a
* pack.c (htov16): converts endian using swap16. htov32(), hton16,
...
hton32 as well. [ruby-talk:85377]
* pack.c (swap16): swap 2 bytes no matter how big short is on the
platform. swap32() is also prepared.
* numeric.c (rb_num2int): returns long to preserve information.
rb_fix2int(), rb_num2uint(), rb_fix2uint() as well.
[ruby-talk:85377]
* numeric.c (rb_num2uint): should not check for value range if the
source value is negative.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-01 08:42:53 +00:00
nobu
0f54ad5f6c
* sample/optparse/opttest.rb: added.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-01 08:14:38 +00:00
dave
87762adcb0
Add RDoc
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-01 07:12:49 +00:00
dave
c1c55573bd
Add RDoc to list
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-01 06:28:35 +00:00
aamine
e5690fcd6d
* lib/fileutils.rb (fu_each_src_dest0): call #to_str to allow Pathname for arguments. [ruby-core:01795]
...
* test/fileutils/test_fileutils.rb: does much strict test on "same" files detecting.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-01 05:18:46 +00:00
usa
d8d81b35a4
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
...
(XCFLAGS): re-export $(XCFLAGS).
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
(ARCH_FLAG): export $(ARCH_FLAG) (perhaps empty value).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-01 00:30:37 +00:00
eban
40538994de
2003-12-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-30 16:09:45 +00:00
eban
c93b7ae9bd
* lib/mkmf.rb (TRY_LINK, link_command): added support for DLDFLAGS
...
and ARCH_FLAG. [ruby-dev:22085]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-30 16:09:42 +00:00
eban
bf090992e0
* configure.in: should put getcwd in AC_CHECK_FUNCS, not
...
AC_REPLACE_FUNCS. [ruby-core:01826]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-30 14:47:55 +00:00
eban
8eb63567d8
* Makefile.in: add ARCH_FLAG to DLDFLAGS.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-30 14:20:35 +00:00
eban
21e9506b22
* lib/mkfm.rb (configuration): add ARCH_FLAG to DLDFLAGS.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-30 14:00:05 +00:00
eban
b0ffbc31e8
* Makefile.in: add ARCH_FLAG to CFLAGS.
...
* Makefile.in: add @CPPFLAGS@ to CPPFLAGS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-30 13:41:25 +00:00
eban
c3f1c5280b
* configure.in: keep ARCH_FLAG separate. export ARCH_FLAG.
...
[ruby-core:01819]
* Makefile.in: add ARCH_FLAG to CFLAGS.
* Makefile.in: add @CPPFLAGS@ to CPPFLAGS.
* lib/mkmf.rb (link_command, cc_command): use ARCH_FLAG.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-30 11:27:34 +00:00