eban
818ecd7d0b
2003-12-23
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-23 12:35:29 +00:00
nahi
619587e205
* test/soap/test_streamhandler.rb (test_basic_auth): removed.
...
soap4r + basic_auth is not officially supported in ruby/1.8.1 even
though soap4r + basic_auth + http-access2 should run fine.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-23 10:47:01 +00:00
nobu
163a6e81b2
* io.c (rb_io_ungetc): raise an exception at unread stream to
...
avoid unspecified behavior. [ruby-dev:22330]
* test/ruby/test_system.rb (test_syntax): glob relatively from
__FILE__.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-23 10:43:04 +00:00
usa
44182056f6
Commit miss?
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-23 10:07:45 +00:00
matz
dbc5af97c7
* pack.c (pack_pack): remove unnecessary negative value check.
...
[ruby-dev:22329]
* io.c (rb_io_ungetc): need fflush before ungetc if write buffer
is filled. [ruby-dev:22330]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-23 10:02:17 +00:00
usa
d5ae9837ff
* bcc32/Makefile.sub (config.h): bcc has finite(). [ruby-list:38940]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-23 08:29:54 +00:00
nahi
d83e21d15d
* lib/rexml/encodings/US-ASCII.rb: typo. [ruby-talk:88650]
...
* test/ruby/test_system.rb: num of asserts depended on running dir.
* test/xsd/test_noencoding.rb: rexml + without iconv/uconv cannot
handle euc-jp. install iconv, uconv or xmlscan.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-23 07:13:59 +00:00
akira
4bb0fd231e
* lib/uri/generic.rb (URI::Generic::check_userinfo,
...
URI::Generic::check_user, URI::Generic::check_password): tests
conflicts/depends with other components closely.
* test/uri/test_generic.rb (TestGeneric::test_set_component):
added tets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-23 05:17:00 +00:00
nahi
53ebcbf733
* test/xsd/test_noencoding.rb: rescue Errno::EINVAL and do not test.
...
"euc-jp" might not be in supported encoding name list.
[ruby-talk:88650]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-23 02:12:10 +00:00
gotoyuzo
4a663be97e
* lib/webrick/cgi.rb (CGI): add support for mod_ruby.
...
* lib/webrick/cgi.rb (CGI::Socket): add check for existence of
OpenSSL module in all HTTPS related methods.
* lib/webrick/cgi.rb (CGI::Socket#cipher): should create similar
value to OpenSSL::SSLSocket#cipher.
* lib/webrick/httpresponse.rb (HTTPResponse#setup_header): should
set "connection: close" if @keep_alive is false.
* lib/webrick/https.rb (HTTPrequest#meta_vars): add supprt for
SSL_PROTOCOL, SSL_CIPHER_USEKEYSIZE and SSL_CIPHER_ALGKEYSIZE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-22 21:13:06 +00:00
akira
6bcf78e40d
* lib/uri/generic.rb (URI::Generic::check_opaque): fixed typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-22 14:01:07 +00:00
nobu
54524ed8f0
* ext/iconv/iconv.c (map_charset): always ensure code is a String.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-22 12:59:28 +00:00
nobu
65fed5dad3
* class.c (rb_mod_init_copy): always copy singleton class.
...
[ruby-dev:22325]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-22 12:15:34 +00:00
akira
88695fc0ea
* lib/uri/generic.rb (URI::Generic#route_from): accepts urls which
...
has no host-part.
* test/uri/test_generic.rb (TestGeneric::test_route): added a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-22 11:49:20 +00:00
nobu
3fdd33b70c
* lib/cgi.rb: reduce eval.
...
* lib/cgi.rb (CGI::QueryExtension::read_multipart): alias path to
local_path. [ruby-list:38883]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-22 11:38:48 +00:00
nahi
d7ff8a6469
* test/soap/test_property.rb: remove duplicated test method.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-22 11:11:29 +00:00
matz
1c09bfad5c
* eval.c (rb_with_disable_interrupt): use ENABLE_INTS instead of
...
ALLOW_INTS which may switch context. [ruby-dev:22319]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-22 09:37:13 +00:00
usa
d0133e413d
* bcc32/Makefile.sub, win32/Makefile.sub (config.h): remove
...
HAVE_ISINF definition to follow previous commits of missing.h
and win32/win32.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-22 09:26:24 +00:00
nobu
748b699d1b
* configure.in (ac_cv_func_setitimer): moved from defines.h
...
* defines.h, rubysig.h, signal.c: removed macro handling which
should be done in configure.
* configure.in (intrinsics.h): check if present.
* ruby.h: include intrinsics.h if available.
* bignum.c, marshal.c: include ieeefp.h if available.
* missing.h (isinf): define as a macro if finite() and isnan()
are available. [ruby-core:02032]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-22 08:23:55 +00:00
eban
25b6ac95f2
* configure.in (mingw): set isnan, finite and isinf to yes.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-22 08:09:14 +00:00
dave
1b0b3ec338
Add RDoc comments
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-22 06:20:14 +00:00
eban
3e20936957
2003-12-22
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-22 06:14:32 +00:00
nahi
b1d80f310f
* lib/soap/property.rb: passing block by reference.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-22 04:41:35 +00:00
matz
a7b3a42850
* ext/syck/emitter.c (syck_emitter_write): str bigger than
...
e->bufsize causes buffer overflow. [ruby-dev:22307]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-21 15:38:01 +00:00
eban
f8b298c5f9
* missing/isinf.c (isinf): typo fix.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-21 10:30:24 +00:00
eban
d9fe29a724
2003-12-21
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-21 10:20:21 +00:00
nobu
7c34e359a1
* class.c (rb_check_inheritable): new function. [ruby-dev:22316]
...
* intern.h: add prototype.
* eval.c (superclass): use rb_check_inheritable().
* object.c (rb_class_initialize): check argument validity.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-21 08:29:06 +00:00
akr
3e67076db0
lib/pathname.rb (Pathname#+): re-implemented to resolve ".." in
...
beginning of the argument.
(Pathname#join): concatenate from the last argument.
(Pathname#parent): just use Pathname#+.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-21 07:28:59 +00:00
dave
da99e407fb
Add file.c comments (and necessary support in parse_c.rb)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-21 07:28:54 +00:00
matz
6228cbe5ef
dln.c: remove last second typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-20 16:59:09 +00:00
matz
e91e9e7bbf
* eval.c (rb_with_disable_interrupt): prohibit thread context
...
switch during proc execution. [ruby-dev:21899]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-20 15:45:15 +00:00
nagai
bb4f36de3a
* forgot to add a changelog entry
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-20 15:18:27 +00:00
nagai
342aba0b84
* ext/tk/lib/tk.rb: add new methods (TkScrollbar#assign, assign_list)
...
* ext/tk/sample/tkmultilistframe.rb: use TkScrollbar#assign method
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-20 15:15:51 +00:00
gotoyuzo
a679f1861f
* lib/webrick/httprequest.rb (HTTPRequest#meta_vars): refine regexp.
...
* lib/webrick/cgi.rb (CGI#start): NPH scripts return status line
instead of Status: header field.
* lib/webrick/cgi.rb (CGI::Socket): refine some coditions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-20 13:01:33 +00:00
nobu
07507fe37a
* lib/optparse.rb (OptionParser::Completion::complete): wrong
...
Regexp for word boundary. pointed out by Gavin Sinclair.
* lib/optparse.rb (OptionParser::make_switch): [no-] prefix was
missing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-20 07:07:19 +00:00
nobu
d4e661b4ad
* lib/yaml.rb (YAML::YAML): adjust Marshal version.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-20 02:40:15 +00:00
gotoyuzo
43920ad28c
get rid of unusable condition
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-19 19:05:04 +00:00
gotoyuzo
1702e82e02
* lib/webrick/cgi.rb: add file. (yet another CGI library)
...
* MANIFEST: add lib/webrick/cgi.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-19 18:01:26 +00:00
eban
30d5fed400
2003-12-20
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-19 17:57:37 +00:00
matz
e6f473c3a0
* misc/ruby-mode.el (ruby-calculate-indent): proper indentation
...
inside of parentheses. [ruby-dev:22308]
* hash.c (delete_if_i): do not use ST_DELETE for thread safety.
[ruby-dev:21899] (not fully solved)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-19 17:29:09 +00:00
dave
5076ed519b
Document Class and Dir
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-19 15:18:09 +00:00
gotoyuzo
a4874e20ae
* lib/webrick/httprequest.rb (meta_vers): should not set
...
HTTP_CONTENT_TYPE and HTTP_CONTENT_LENGTH.
* lib/webrick/https.rb (HTTPRequest#parse): should check presence
of cert() method to detect SSLSocket.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-19 14:31:24 +00:00
nahi
c1e9ce9ca6
* lib/soap/property.rb (SOAP::Property#load): new method for loading
...
property value into existing property tree.
* test/soap/test_property.rb: add test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-19 13:59:27 +00:00
akira
a15cdb7512
* lib/runit/cui/testrunner.rb (RUNIT::CUI::TestRunner::run):
...
should use Test::Unit::UI::{PROGRESS_ONLY,VERBOSE}.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-19 10:24:24 +00:00
nagai
687cb91127
* ext/tk/sample/tkmultilistbox.rb: bug fix
...
* ext/tk/sample/tkmultilistframe.rb: new sample script
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-19 08:38:01 +00:00
eban
2b10a7d7fd
2003-12-19
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-19 06:14:42 +00:00
dave
8ed8664aa7
Add boot_classes to rdoc parsing, fix a couple of bugs
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-19 03:58:57 +00:00
dave
d3b74e1806
Fix dependency issue
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-19 00:01:19 +00:00
dave
84f0b051de
Annotate enum.c. Add pager support, and report on methods in included modules
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-18 21:08:25 +00:00
gotoyuzo
f75aff0139
* lib/webrick/httputils.rb (parse_form_data): should return an
...
empty Hash if the body is empty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-18 19:08:11 +00:00