summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* * lib/debug.rb: revert command parse regexps. [ruby-list:39014] bynahi2004-01-071-5/+5
| | | | | | | Shirai,Kaoru. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Check for shebang line in file that would otherwise be treated as plain textdave2004-01-061-1/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb(Logger#msg2str): no special treatment for the objectnahi2004-01-061-29/+17
| | | | | | | | | | | | | which responds to :to_str. * lib/logger.rb(LogDevice#initialize): remove type checking if the given object is a String. Kernel.open handles it correctly. * test/logger/test_logger.rb: follow above change (ArgumentError -> TypeError.) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Split out ri display code and make pluggabledave2004-01-063-0/+386
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * import soap4r/1.5.2;nahi2004-01-0619-171/+381
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/soap/{attachment.rb,baseData.rb,encodingstyle/soapHandler.rb}: introduce SOAPExternalReference class as a referenct to SOAPEnvelope external content. * lib/soap/{attachment.rb,mimemessage.rb}: great SwA (SOAP messages with Attachments) support code by Jamie Herre. * lib/soap/{element.rb,marshal.rb,parser.rb,processor.rb, streamHandler.rb,wsdlDriver.rb}: SwA support. * lib/soap/rpc/{cgistub.rb,driver.rb,element.rb,proxy.rb,router.rb, soaplet.rb}: SwA support and refactoring. * lib/soap/generator.rb, lib/soap/mapping/mapping.rb: follow SOAPReference#initialize signature change. * lib/soap/mapping/factory.rb: deleted unused methods. * lib/soap/mapping/rubytypeFactory.rb: do no ignore case while xsi:type string <-> Ruby class name matching. * lib/xsd/datatypes.rb: check the smallest positive non-zero single-precision float exactly instead of packing with "f". [ruby-talk:88822] * test/soap/test_basetype.rb, test/xsd/test_xsd.rb: use 1.402e-45, not 1.4e-45. 1.4e-45 is smaller than 2 ** -149... * test/soap/test_basetype.rb, test/soap/marshal/test_marshal.rb, test/xsd/test_xsd.rb: use "(-1.0 / (1.0 / 0.0))" instead of "-0.0". * test/soap/test_streamhandler.rb: revert to the previous test that warns "basic_auth unsupported under net/http". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add RDoc to build. Add --ri-system to RDocdave2004-01-054-37/+79
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb: enhanced documentation.gsinclair2004-01-051-207/+351
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add --ri-system optiondave2004-01-052-6/+18
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): remove duplicated object filesusa2004-01-041-1/+2
| | | | | | | from $objs on DOSISH platforms. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c: merge tuning from H.Yamamoto <ocean@m2.ccsnet.ne.jp>.matz2004-01-021-2/+2
| | | | | | | | | | | | [ruby-dev:22476] * io.c (argf_eof): ARGF.eof? should not have any side effect. [ruby-dev:22469] * io.c (argf_each_byte): should return self. [ruby-dev:22465] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Finish documenting internal stuff. See Changelog for other detailsdave2004-01-0212-51/+136
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb: Corrected small coding error.gsinclair2003-12-311-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb: Completed documentation.gsinclair2003-12-311-107/+266
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Make file in '// in sss.c' relativedave2003-12-311-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix problem with private alias to public methoddave2003-12-311-3/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add RDoc for kernel functions, and tidy updave2003-12-301-14/+31
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Re-applied revision 1.21 as its changes were lost on the way to 1.22gsinclair2003-12-301-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix problem when class and method names the samedave2003-12-301-6/+17
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix HTML generated for .chm post-processingdave2003-12-301-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix parse problem with complex yieldsdave2003-12-291-2/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb: Added documentation.gsinclair2003-12-291-18/+186
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (GenericRequest#initialize): check if path begins with '/'.aamine2003-12-291-152/+135
| | | | | | | * lib/net/http.rb: def m( arg ) -> def m(arg) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add RDoc for Kernel global functions, tidy array and errordave2003-12-291-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RDoc Struct and randomdave2003-12-281-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb: Improved documentation.gsinclair2003-12-281-262/+256
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add RDoc documentation for stuff in object.cdave2003-12-282-19/+42
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix quoting of method names in regexpdave2003-12-271-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add support for rules in ri outputdave2003-12-272-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add "Document-method:" capabilitydave2003-12-271-1/+35
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Some Ruby source uses Init_xxx (lower case for the class name)dave2003-12-271-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_f_backquote): need not to check nil result.matz2003-12-261-2/+1
| | | | | | | | | | | | | | | [ruby-core:02078] * io.c (rb_io_getline): should return nil on eof, even when nil rs is specified. [ruby-core:02077] * pack.c (pack_pack): add sign check for 'i', and 'l'. [ruby-dev:22427] * bignum.c (rb_quad_pack): add range check for 'quad int'. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/pathname.rb (PathnameTest#test_plus): add 2 assertions.akr2003-12-261-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix problem with rule calculationdave2003-12-251-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix bug where two adjacent =begin/=end blocks causes the parser to get out ↵dave2003-12-241-10/+7
| | | | | | of step. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tsort.rb (test_orphaned_break): removed.akr2003-12-241-14/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb: Modules are allowed to rescue.nobu2003-12-243-25/+40
| | | | | | | | | | | | | * lib/test/unit/autorunner.rb: show output_level in order. * lib/test/unit/collector/dir.rb: get rid of successive same directories in load path. * test/testunit/test_assertions.rb (test_assert_nothing_raised, test_assert_raise): test for modules. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (authenticate): remove "\n" from base64 encodedshugo2003-12-241-1/+1
| | | | | | | strings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Forgot to save buffer.... sighdave2003-12-2412-1299/+1645
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RDoc comments for Fixnum, Float, and Hash. Add heuristic to RDoc to handle ↵dave2003-12-231-1/+3
| | | | | | 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-231-307/+406
| | | | | | | existing RD comments. Tabs converted to spaces. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5264 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-231-1/+1
| | | | | | | | | | [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
* * lib/rexml/encodings/US-ASCII.rb: typo. [ruby-talk:88650]nahi2003-12-231-1/+1
| | | | | | | | | | * 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-231-9/+12
| | | | | | | | | | | 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
* * lib/webrick/cgi.rb (CGI): add support for mod_ruby.gotoyuzo2003-12-223-36/+86
| | | | | | | | | | | | | | | | | * 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-221-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/generic.rb (URI::Generic#route_from): accepts urls whichakira2003-12-221-1/+1
| | | | | | | | | 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-221-68/+42
| | | | | | | | * 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
* * lib/soap/property.rb: passing block by reference.nahi2003-12-221-12/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/pathname.rb (Pathname#+): re-implemented to resolve ".." inakr2003-12-211-27/+61
| | | | | | | | | 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