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
matz
818d6a1e4f
* eval.c (rb_load): allow interrupt during loaded program
...
evaluation. [ruby-dev:21834]
* hash.c (rb_hash_fetch): always warn if default argument and a
block are supplied at the same time. [ruby-dev:21842]
* hash.c (env_fetch): ditto.
* array.c (rb_ary_fetch): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-06 07:22:39 +00:00
nobu
113423bdff
* win32/win32.c (make_cmdvector): process backslashes even if a quote
...
is not enclosed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-06 02:42:10 +00:00
eban
64465c4d80
2003-11-06
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-06 02:27:54 +00:00
nobu
2a40bbeea0
* lib/optparse.rb (OptionParser::Completion#complete): default not to
...
ignore case on completion. [ruby-talk:84726]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-06 02:01:23 +00:00
nobu
4646ba6b2a
* ext/stringio/stringio.c (strio_set_string, strio_reopen): check
...
tainted.
* ext/stringio/stringio.c (strio_copy, strio_ungetc, strio_write,
strio_putc): add infection.
* ext/stringio/stringio.c (strio_path): just nil. [ruby-dev:21846]
* ruby.c (proc_options): reserve searched script path in the
source file name table. [ruby-list:38765]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-06 01:17:59 +00:00
nahi
cc2343e7b7
* sample/openssl/gen_csr.rb: there (at least) is a CA which does not accept DN
...
in UTF8STRING format. it's a sample.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-05 14:55:52 +00:00
nagai
ea03c3fc2c
configure.in, eval.c, signal.c: : add '--with-pthread-ext' option
...
to fix the pthread trouble on 'tcltklib'
ext/tcltklib/README.1st: add the description of '--with-pthread-ext'
ext/tk/lib/tktext.rb : add TkText#text_copy, text_cut, text_paste to
support Tcl/Tk8.4's tk_textCopy, tk_textCut, tk_textPaste
ext/tk/lib/tk.rb : add TkMenu#set_focus support Tcl/Tk's tk_menuSetFocus
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-05 14:00:11 +00:00
nobu
4dada1c8a2
* lib/optparse.rb (OptionParser::Switch::PlacedArgument::parse):
...
do not remove next argument if empty value is placed.
* test/optparse: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-05 10:09:58 +00:00
nobu
9983e4645e
* lib/test/unit/ui/gtk/testrunner.rb: typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-05 08:05:24 +00:00
usa
9e830abab9
2003-11-05
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-05 02:16:23 +00:00
usa
81160e93c9
* string.c: add #include "version.h". this file still depends on it.
...
* Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub,
wince/Makefile.sub: add version.h dependency to string.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-05 02:15:27 +00:00
nobu
ba5ae27d29
* Makefile.in: remove needless version.h dependency.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-05 01:40:26 +00:00
shugo
d61ba0cec6
* lib/monitor.rb: revert to the previous revision.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-05 00:15:17 +00:00
gotoyuzo
d193b90d54
* lib/webrick/https.rb (HTTPRequest#parse): set @client_cert_chain.
...
* lib/webrick/https.rb (HTTPRequest#meta_vars): create
SSL_CLIENT_CERT_CHAIN_n from @client_cert_chain.
* ext/openssl/ossl_ssl.c (ossl_ssl_get_peer_cert_chain): return nil
if no cert-chain was given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-04 23:48:13 +00:00