summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* ri now merges the documentation if it finds the same class in multiple placesdave2004-08-307-25/+60
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_and): protect parameters from GC.matz2004-08-281-1/+3
| | | | | | | [ruby-talk:110664] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *** empty log message ***dave2004-08-251-2/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/session.rb (CGI::Session::FileStore#initialize): do notshugo2004-08-242-17/+7
| | | | | | | | | | use a session id as a filename. (backported from HEAD) * lib/cgi/session/pstore.rb (CGI::Session::PStore#initialize): ditto. * lib/cgi/session/pstore.rb (CGI::Session::PStore#initialize): use Dir::tmpdir. (backported from HEAD) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/session.rb (CGI::Session::FileStore#initialize): untaintshugo2004-08-241-1/+1
| | | | | | | session id after check. (backported from HEAD) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Config.default_config_hash): when multiple domainsusa2004-08-231-1/+1
| | | | | | | are set, Win32::Resolv.get_resolv_info returns Array. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_connect):gotoyuzo2004-08-211-0/+3
| | | | | | | should call :ProxyContentHandler before finishing CONNECT. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/extconf.rb (find_tcl, find_tk): find stub library.nobu2004-08-201-2/+4
| | | | | | | | * lib/mkmf.rb (arg_config, with_config): deal with '-' and '_' uniformly. [ruby-dev:24118] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/token.c: re2c no longer compiled with bit vectors. causedwhy2004-08-183-46/+47
| | | | | | | | | | | | | | | | problems for non-ascii characters. [ruby-core:03280] * ext/syck/implicit.c: ditto. * ext/syck/bytecode.c: ditto. * lib/yaml/baseemitter.rb: folding now handles double-quoted strings, fixed problem with extra line feeds at end of folding, whitespace opening scalar blocks. * lib/yaml/rubytypes.rb: subtelties in handling strings with non-printable characters and odd whitespace patterns. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/protocol.rb (rbuf_fill): OpenSSL::SSLSocket has its own buffer, ↵aamine2004-08-181-6/+5
| | | | | | select(2) might not work. [ruby-dev:24072] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Get RDoc::usage playing better with OptionParserdave2004-08-163-8/+17
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rdoc/markup/simple_markup/to_flow.rb: typo fix(CGI -> cgi).eban2004-08-151-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb: backport from CVS HEAD (rev1.44).aamine2004-08-141-130/+251
| | | | | | | | | * lib/fileutils.rb: cp_r should copy symlink itself, except cp_r root. * lib/fileutils.rb: new option mv :force. * lib/fileutils.rb: new module FileUtils::DryRun. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add Ri environment variable supportdave2004-08-131-30/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Forgot to backportdave2004-08-131-4/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add "usage" interfacedave2004-08-131-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2004-08-131-0/+220
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httputils.rb (WEBrick::HTTPUtils.parse_range_header):gotoyuzo2004-08-134-5/+10
| | | | | | | | | | | | | | | | | fix regex for range-spec. * lib/webrick/httpservlet/filehandler.rb (WEBrick::HTTPServlet::DefaultFileHandler#make_partial_content): multipart/byteranges response was broken. * lib/webrick/httpservlet/erbhandler.rb (WEBrick::HTTPServlet::ERBHandler#do_GET): should select media type by suffix of script filename. * lib/xmlrpc/server.rb: refine example code. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Bugfix: looping on some toplevel symbols. Added SWIG supportdave2004-08-022-4/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb (YAML::load_file, YAML::parse_file): added.why2004-07-301-1/+39
| | | | | | | | | | | | | | | | * lib/yaml/rubytypes.rb: exceptions were using an older YAML.object_maker. [ruby-core:03080] * ext/syck/token.c (sycklex_yaml_utf8): using newline_len to handline CR-LFs. "\000" was showing up on folded blocks which stopped at EOF. * ext/syck/token.c: re2c compiled with bit vectors now. * ext/syck/implicit.c: ditto. * ext/syck/bytecode.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::initialize): remove at_exit code for CGI_PARAMSmatz2004-07-281-26/+5
| | | | | | | and CGI_COOKIES. they will no longer be used. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httputils.rb (WEBrick::HTTPUtils.escape): shouldgotoyuzo2004-07-261-1/+1
| | | | | | | escape space. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (rb_range_beg_len): returns Qnil only when "beg" pointsmatz2004-07-241-1/+1
| | | | | | | outside of a range. No boundary check for "end". git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (define_final): should not disclose NODE* to Ruby world.matz2004-07-231-2/+2
| | | | | | | [ruby-dev:23957] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/session.rb (CGI::Session::FileStore#update): sets thematz2004-07-232-1/+4
| | | | | | | | | | permission of the session data file to 0600. * lib/cgi/session/pstore.rb (CGI::Session::Pstore#initialize): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (disconnected?): new method. (backported from HEAD)shugo2004-07-231-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/ruby-lex.rb (RubyLex::identify_string): %s string do notmatz2004-07-222-3/+3
| | | | | | | process expression interpolation. [ruby-talk:106691] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* r1025 | ser | 2004-07-18 08:18:36 -0400 (Sun, 18 Jul 2004) | 2 linesser2004-07-196-19/+32
| | | | | | | | | | | | | @@ Fixed a CDATA pretty-printing bug. (#39) @@ r1026 | ser | 2004-07-18 09:03:02 -0400 (Sun, 18 Jul 2004) | 4 lines @@ Fixed a buffering bug in Source.rb that affected the SAX parser @@ This bug was related to how REXML determines the encoding of a file, and evinced itself by hanging on input when using the SAX parser. r1028 | ser | 2004-07-18 09:06:18 -0400 (Sun, 18 Jul 2004) | 3 lines * Minor pretty printing fix. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpservlet/cgihandler.rbgotoyuzo2004-07-181-3/+6
| | | | | | | | | | | | (WEBrick::HTTPServlet::CGIhandler#do_GET): set SystemRoot environment variable to CGI process on Windows native platforms. [ruby-dev:23936] * lib/webrick/httpservlet/cgihandler.rb (WEBrick::HTTPServlet::CGIhandler#do_GET): use $?.exitstatus and refine log message. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (receive_responses): return if a logout responseshugo2004-07-171-1307/+1355
| | | | | | | | | received. (backported from head) * lib/net/imap.rb (send_string_data): wait command continuation requests before sending octet data of literals. (backported from head) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/ldap.rb: method hierarchical? should be in URI::LDAP.akira2004-07-173-7/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (THREAD_ALLOC): th->thread should be initialized to NULL.matz2004-07-171-9/+11
| | | | | | | | | | [ruby-talk:106657] The solution was found by Guy Decoux. * file.c (rb_stat_dev_major): new methods File::Stat#dev_major and #dev_minor. [ruby-core:03195] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Incorporate Micheal Neumanns client-side imagemap patchdave2004-07-161-5/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/base64.rb (Deprecated): super in bound method calls originalnobu2004-07-161-9/+6
| | | | | | | name method in stable version. [ruby-dev:23916] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/ui/{fox,gtk,gtk2}/testrunner.rb: removeocean2004-07-163-7/+7
| | | | | | | garbage (patch from akira yamada) [ruby-dev:23911] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser#warn, OptionParser#abort): Exceptionnobu2004-07-151-2/+2
| | | | | | | no longer has to_str method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c, parse.y, lib/cgi.rb, lib/date.rb: last minute backports from HEAD.matz2004-07-143-11/+18
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Minor parse problem if hyperlink text starts \w+:...dave2004-07-131-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/generic.rb (URI::Generic#merge_path):akira2004-07-131-6/+10
| | | | | | | | | | | | "URI('http://www.example.com/foo/..') + './'" should return "URI('http://www.example.com/')". [ruby-list:39838] "URI('http://www.example.com/') + './foo/bar/..'" should return "URI('http://www.example.com/foo/')". [ruby-list:39844] * test/uri/test_generic.rb (TestGeneric#test_merge): added tests. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (init_mkmf): Do not add $(libdir) to $LIBPATH inknu2004-07-131-3/+2
| | | | | | | | | | extmk mode. * lib/mkmf.rb (dir_config): Prepend a new library path instead of appending so it is tried first. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow optional : before call-seq:dave2004-07-121-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use real right arrow for -> in call-seqdave2004-07-121-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Commit missdave2004-07-121-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Support call-seq: for Ruby methodsdave2004-07-122-0/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow multiple words in braces before a linkdave2004-07-122-3/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/open-uri.rb (URI::HTTPS#proxy_open): raise ArgumentError to notice https ↵akr2004-07-091-0/+6
| | | | | | is not supported. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/{rss,parser,0.9,1.0,2.0}.rb: supported RSS 0.9x/2.0kou2004-07-085-81/+233
| | | | | | | | | | | validation and validation which disregard order of elements. * test/rss/test_parser.rb: added tests for RSS 0.9x/2.0 validation. * test/rss/{test_trackback,rss-testcase}.rb: fixed no good method name. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile::initialize): got out code ofakira2004-07-071-1/+6
| | | | | | | generating tmpname. [ruby-dev:23832][ruby-dev:23837] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update comment to show call-seq exampledave2004-07-071-0/+24
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Forgot to add the validation files.ser2004-07-073-0/+720
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e