eban
ff50923095
2003-11-15
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-15 08:50:57 +00:00
akr
31ef5c2d5e
* lib/open-uri.rb (OpenURI.open_loop, OpenURI::HTTP#proxy_open):
...
refactored to support options.
(Buffer): maintain size by this class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-15 01:09:21 +00:00
matz
9e1709139d
* hash.c: remove unnecessary update.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-15 00:03:01 +00:00
matz
ba2147ba40
* eval.c (rb_method_node): new API to retrieve method body.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-14 23:54:06 +00:00
eban
83e19791ef
2003-11-14
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-14 06:01:16 +00:00
nagai
906d408e7c
* ext/tcltklib/tcltklib.c: fix (en-bugged at 2003/11/07)
...
* ext/tk/lib/tkdialog.rb: TkDialog.new accepts the parent widget [ruby-talk:85066]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-14 04:25:11 +00:00
akr
810e7938fd
inconsistency of the arguments for respond_to? in previous change is fixed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-13 11:54:31 +00:00
ttate
7924fca23e
Merge the patch of [ruby-ext:02242]. (Thanks, Masahiro Sakai)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-13 11:46:31 +00:00
akr
e008c87423
* lib/open-uri.rb (Kernel[#.]open): hard coded URI schemes removed.
...
[ruby-ext:02251]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-13 11:39:16 +00:00
nagai
00c9f4cb9b
* lib/test/unit/ui/tk/testrunner.rb: use grid and panedwindow (if available)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-13 10:18:31 +00:00
akr
bf67d8df27
* lib/open-uri.rb (OpenURI.open_uri): use File::RDONLY.
...
reported by Take_tk <ggb03124@nifty.ne.jp>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-13 08:58:20 +00:00
gotoyuzo
a3845916c0
* ext/openssl/ossl_x509req.c (ossl_x509req_to_der): add function for
...
X509::Request#to_der.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-13 07:48:20 +00:00
eban
06a9101158
2003-11-13
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-13 02:42:25 +00:00
nobu
87bb4b5468
* lib/optparse.rb (OptionParser::Completion#complete): prior shorter
...
name to containing longer name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-13 02:31:17 +00:00
nagai
c90fab98a2
* ext/tk/lib/tk.rb,multi-tk.rb: stop freezing some classes
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-12 21:11:40 +00:00
nobu
5f4778d347
* lib/test/unit/assertions.rb (assert_throws, assert_nothing_thrown):
...
uncaught throw in sub thread raises ThreadError.
* lib/test/unit/ui/tk/testrunner.rb (setup_ui): "expand" is not
necessary.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-12 08:32:54 +00:00
shugo
ecec550855
* test/monitor/test_monitor.rb: fix the timing problem by Queue.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-12 05:10:54 +00:00
shugo
64446f023c
* test/monitor/test_monitor.rb: added.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-12 04:01:21 +00:00
eban
db38b277a5
2003-11-12
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-12 03:35:14 +00:00
shugo
891fa76825
* lib/monitor.rb: refactored. Thanks, Gennady Bystritsky.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-12 01:15:59 +00:00
gotoyuzo
ed2a386f58
* ext/openssl/ossl.c (ossl_x509_sk2ary, ossl_x509crl_sk2ary): add
...
functions to convert STACK into Array.
* ext/openssl/ossl.h: add prototypes.
* ext/openssl/ossl_pkcs7.c (ossl_pkcs7_set_certificates,
ossl_pkcs7_get_certificates, ossl_pkcs7_get_crls,
ossl_pkcs7_set_crls): add functions for PKCS7#certificates=
PKCS7#certificates, PKCS7#crls= and PKCS7#crls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-11 21:20:20 +00:00
ntalbott
2fc95b6399
* lib/test/unit/ui/testrunnermediator.rb: should require 'test/unit'.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-11 15:50:28 +00:00
ntalbott
4bbe175499
* lib/test/unit/ui/gtk/testrunner.rb: added a rescue clause to handle
...
the case when the requested font is not available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-11 14:57:15 +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
mneumann
4c5094d65d
fixed CDATA parsing for XMLScanParser and REXMLStreamParser
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-11 13:08:16 +00:00
eban
48d440ac86
2003-11-11
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-11 03:15:58 +00:00
nagai
0fd9439894
* ext/tk/lib/tk.rb: raise an exception when creating TkWindow
...
object, because TkWindow class is an abstract class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-11 01:45:06 +00:00
gotoyuzo
09306bcead
* lib/ext/openssl/ossl_conf.c (ossl_config_get_value): return nil
...
if the specified value doesn't exist.
* lib/ext/openssl/ossl_conf.c (ossl_config_get_section): return
a empty hash if the specified section doesn't exist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-10 18:31:36 +00:00
shugo
ea00e4e454
* lib/monitor.rb (wait): return true on signal/broadcastfalse and
...
false on timeout. Thanks Gennady Bystritsky.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-10 02:44:49 +00:00
eban
23efc48d0d
2003-11-10
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-09 15:11:15 +00:00
nobu
a51ba48abc
* parse.y (primary): primary_value may be 0 when syntax error.
...
[ruby-talk:84893]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-09 15:07:14 +00:00
ntalbott
152380a87c
* lib/test/unit/assertions.rb: un-deprecated #assert_not_nil to
...
maintain symmetry with #assert_nil. Also added better output for
#assert_kind_of.
* test/testunit/tc_assertions.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-08 17:06:11 +00:00
ttate
c103eb6793
Bugfix for DL::Types::encode_type.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-08 14:38:15 +00:00
eban
84c2c9ac5b
* ext/dl/sym.c: typo fix(lasterror -> last_error).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-08 13:32:07 +00:00
eban
a2aed07f6a
* MANIFEST: added these files:
...
+test/wsdl/raa/RAA.rb
+test/wsdl/raa/README.txt
+test/wsdl/raa/raa.wsdl
+test/wsdl/raa/server.rb
+test/wsdl/raa/test_raa.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-08 12:35:58 +00:00
nahi
b7931c40fe
* test/wsdl/raa/*: add new testcase for WSDL loading, parsing and reading.
...
* test/soap/marshal/*: backport from soap4r/1.5.1. all differences are for
ruby/1.6.
* lib/soap/*: backport from soap4r/1.5.1. all differences are for ruby/1.6.
* lib/wsdl/data.rb, lib/wsdl/xmlSchema/data.rb: move definition of
ArrayTypeAttrName from ::WSDL::XMLSchema::* to ::WSDL::*. [ruby-talk:84813]
* lib/wsdl/soap/definitions.rb: element name typo in custom exception struct
definition which is needed for wsdlDriver; camelCase -> underscore_name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-08 09:52:42 +00:00
eban
2c35c4254e
2003-11-08
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-08 05:02:42 +00:00
nagai
1ef5d9d443
* configure.in: improvement of pthread check
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-08 04:53:14 +00:00
ttate
0f8d55fa98
Add DL.win32_last_error and DL.last_error.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-08 04:48:35 +00:00
nagai
3d337f3606
* ext/tcltklib/tcltklib.c: To fix 'pthread-enabled Tcl/Tk' problem,
...
TclTkIp#_eval calls Tcl_Eval() on the mainloop thread only
(queueing a handler to the EventQueue).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-07 21:39:36 +00:00
akr
91669219ef
(Pathname#parent): if self is .', return
..'.
...
(Pathname#children): if self is `.', don't prepend self for a
pathname in a result.
(Pathname#join): re-implemented using Pathname#+.
(Pathname#find): if self is `.', remove `./' prefix of yielding
pathname.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-07 14:28:20 +00:00
wew
ea6b397daa
Minor documentation fix.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-07 03:52:02 +00:00
akr
fb55a6d12f
lib/pathname.rb (Pathname#+): if self or the argument is `.', return another.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-07 03:51:15 +00:00
akr
dc592364e6
* lib/pathname.rb (Pathname#+): return the argument if self is `.'.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-07 02:08:04 +00:00
nobu
e7688cebe5
2003-11-07
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-07 01:25:26 +00:00
nobu
a51b5fa52b
* ext/socket/socket.c (make_hostent): get rid of SEGV on aliases
...
lookup failure. (ruby-bugs:PR#1215)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-07 01:23:27 +00:00
katsu
cac6465677
* ext/zlib/zlib.c (Init_zlib): define Zlib::GzipReader#each_line as an alias of Zlib::GzipReader#each.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-06 19:10:12 +00:00
matz
86327765f3
* eval.c (rb_load): save and restore rb_prohibit_interrupt.
...
[ruby-dev:21857]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-06 16:08:26 +00:00
eban
abc10cc28e
* MANIFEST: add these files:
...
+test/optparse/test_noarg.rb
+test/optparse/test_optarg.rb
+test/optparse/test_optparse.rb
+test/optparse/test_placearg.rb
+test/optparse/test_reqarg.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-06 09:23:15 +00:00
nobu
9fad82a6ba
* io.c (rb_io_inspect): show the path also at a closed file.
...
[ruby-dev:21851]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-06 09:05:11 +00:00