summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* RDoc comments for Fixnum, Float, and Hash. Add heuristic to RDoc to handle ↵dave2003-12-233-1/+1174
| | | | | | yaml/stringio git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb: incomplete RDoc documentation added in place ofgsinclair2003-12-232-307/+411
| | | | | | | existing RD comments. Tabs converted to spaces. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-12-23eban2003-12-231-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/soap/test_streamhandler.rb (test_basic_auth): removed.nahi2003-12-232-10/+9
| | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@5262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_ungetc): raise an exception at unread stream tonobu2003-12-233-10/+15
| | | | | | | | | | avoid unspecified behavior. [ruby-dev:22330] * test/ruby/test_system.rb (test_syntax): glob relatively from __FILE__. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Commit miss?usa2003-12-231-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_pack): remove unnecessary negative value check.matz2003-12-235-12/+18
| | | | | | | | | | [ruby-dev:22329] * io.c (rb_io_ungetc): need fflush before ungetc if write buffer is filled. [ruby-dev:22330] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub (config.h): bcc has finite(). [ruby-list:38940]usa2003-12-232-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/encodings/US-ASCII.rb: typo. [ruby-talk:88650]nahi2003-12-234-3/+18
| | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@5257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/generic.rb (URI::Generic::check_userinfo,akira2003-12-233-9/+37
| | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@5256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/xsd/test_noencoding.rb: rescue Errno::EINVAL and do not test.nahi2003-12-232-1/+12
| | | | | | | | "euc-jp" might not be in supported encoding name list. [ruby-talk:88650] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/cgi.rb (CGI): add support for mod_ruby.gotoyuzo2003-12-224-36/+102
| | | | | | | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@5254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/generic.rb (URI::Generic::check_opaque): fixed typo.akira2003-12-222-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (map_charset): always ensure code is a String.nobu2003-12-222-5/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_mod_init_copy): always copy singleton class.nobu2003-12-223-1/+10
| | | | | | | [ruby-dev:22325] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/generic.rb (URI::Generic#route_from): accepts urls whichakira2003-12-223-1/+11
| | | | | | | | | has no host-part. * test/uri/test_generic.rb (TestGeneric::test_route): added a test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb: reduce eval.nobu2003-12-222-68/+49
| | | | | | | | * lib/cgi.rb (CGI::QueryExtension::read_multipart): alias path to local_path. [ruby-list:38883] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/soap/test_property.rb: remove duplicated test method.nahi2003-12-222-7/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_with_disable_interrupt): use ENABLE_INTS instead ofmatz2003-12-223-10/+17
| | | | | | | ALLOW_INTS which may switch context. [ruby-dev:22319] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub, win32/Makefile.sub (config.h): removeusa2003-12-223-2/+6
| | | | | | | | HAVE_ISINF definition to follow previous commits of missing.h and win32/win32.h. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (ac_cv_func_setitimer): moved from defines.hnobu2003-12-2211-22/+43
| | | | | | | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@5244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (mingw): set isnan, finite and isinf to yes.eban2003-12-222-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add RDoc commentsdave2003-12-221-0/+150
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-12-22eban2003-12-221-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/soap/property.rb: passing block by reference.nahi2003-12-222-12/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/emitter.c (syck_emitter_write): str bigger thanmatz2003-12-213-3/+17
| | | | | | | e->bufsize causes buffer overflow. [ruby-dev:22307] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/isinf.c (isinf): typo fix.eban2003-12-211-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-12-21eban2003-12-211-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_check_inheritable): new function. [ruby-dev:22316]nobu2003-12-215-7/+28
| | | | | | | | | | | * intern.h: add prototype. * eval.c (superclass): use rb_check_inheritable(). * object.c (rb_class_initialize): check argument validity. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/pathname.rb (Pathname#+): re-implemented to resolve ".." inakr2003-12-212-27/+68
| | | | | | | | | beginning of the argument. (Pathname#join): concatenate from the last argument. (Pathname#parent): just use Pathname#+. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add file.c comments (and necessary support in parse_c.rb)dave2003-12-219-67/+1564
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* dln.c: remove last second typo.matz2003-12-204-16/+17
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_with_disable_interrupt): prohibit thread contextmatz2003-12-208-35/+53
| | | | | | | switch during proc execution. [ruby-dev:21899] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * forgot to add a changelog entrynagai2003-12-201-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: add new methods (TkScrollbar#assign, assign_list)nagai2003-12-202-0/+78
| | | | | | | * ext/tk/sample/tkmultilistframe.rb: use TkScrollbar#assign method git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httprequest.rb (HTTPRequest#meta_vars): refine regexp.gotoyuzo2003-12-203-13/+22
| | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@5229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser::Completion::complete): wrongnobu2003-12-202-2/+10
| | | | | | | | | | Regexp for word boundary. pointed out by Gavin Sinclair. * lib/optparse.rb (OptionParser::make_switch): [no-] prefix was missing. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb (YAML::YAML): adjust Marshal version.nobu2003-12-203-8/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* get rid of unusable conditiongotoyuzo2003-12-191-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/cgi.rb: add file. (yet another CGI library)gotoyuzo2003-12-193-0/+208
| | | | | | | * MANIFEST: add lib/webrick/cgi.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-12-20eban2003-12-191-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-calculate-indent): proper indentationmatz2003-12-194-52/+66
| | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@5223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Document Class and Dirdave2003-12-194-33/+421
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httprequest.rb (meta_vers): should not setgotoyuzo2003-12-193-2/+12
| | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@5221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/soap/property.rb (SOAP::Property#load): new method for loadingnahi2003-12-193-70/+154
| | | | | | | | | property value into existing property tree. * test/soap/test_property.rb: add test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/runit/cui/testrunner.rb (RUNIT::CUI::TestRunner::run):akira2003-12-192-1/+6
| | | | | | | should use Test::Unit::UI::{PROGRESS_ONLY,VERBOSE}. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkmultilistbox.rb: bug fixnagai2003-12-194-1/+923
| | | | | | | * ext/tk/sample/tkmultilistframe.rb: new sample script git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-12-19eban2003-12-191-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add boot_classes to rdoc parsing, fix a couple of bugsdave2003-12-197-16/+191
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix dependency issuedave2003-12-194-18/+295
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e