summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* James Buck's patch for call-seqdave2004-09-091-1/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow spaces around parameter to define_method_underdave2004-09-091-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 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/trunk@6838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_and): protect parameters from GC.matz2004-08-281-1/+3
| | | | | | | | | | | | [ruby-talk:110664] * error.c (exc_equal): exceptions are equal if they share same class, message and backtrace. [ruby-talk:110354] * error.c (name_err_mesg_equal): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Minor fix to error messagedave2004-08-251-2/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6820 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. * lib/cgi/session/pstore.rb (CGI::Session::PStore#initialize): ditto. * lib/cgi/session/pstore.rb (CGI::Session::PStore#initialize): use Dir::tmpdir. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/session.rb (CGI::Session::FileStore#initialize): untaintshugo2004-08-241-1/+1
| | | | | | | session id after check. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6813 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/trunk@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/trunk@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/trunk@6802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/rubytypes.rb: whoops. bad require for 'yaml/compat'. sorry.why2004-08-181-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/baseemitter.rb: folding now handles double-quoted strings,why2004-08-183-21/+30
| | | | | | | | | | | 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/trunk@6787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/protocol.rb (rbuf_fill): OpenSSL::SSLSocket has its own buffer, ↵aamine2004-08-181-4/+3
| | | | | | select(2) might not work. [ruby-dev:24072] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@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/trunk@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/trunk@6773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add Ri environment variable supportdave2004-08-131-30/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add "usage" interfacedave2004-08-132-5/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Commit missdave2004-08-131-0/+220
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httputils.rb (WEBrick::HTTPUtils.parse_range_header):gotoyuzo2004-08-133-4/+8
| | | | | | | | | | | | | fix regex for range-spec. * lib/webrick/httpservlet/filehandler.rb (WEBrick::HTTPServlet::DefaultFileHandler#make_partial_content): multipart/byteranges response was broken. * lib/xmlrpc/server.rb: refine example code. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpservlet/erbhandler.rbgotoyuzo2004-08-091-1/+2
| | | | | | | | (WEBrick::HTTPServlet::ERBHandler#do_GET): should select media type by suffix of script filename. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (cp_r): copies symlink to symlink, except cp_r root.aamine2004-08-081-63/+182
| | | | | | | | * lib/fileutils.rb: new method FileUtils.copy_entry. * test/fileutils/test_fileutils.rb: more cp_r tests. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6747 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/trunk@6731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/rubytypes.rb: exceptions were using an olderwhy2004-07-301-1/+1
| | | | | | | | | | | 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. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::initialize): remove at_exit code for CGI_PARAMSmatz2004-07-281-28/+7
| | | | | | | and CGI_COOKIES. they will no longer be used. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call0): should call rb_call_super() directly formatz2004-07-282-3/+3
| | | | | | | visibility overriding. [ruby-dev:23989] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6714 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/trunk@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/trunk@6692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (define_final): should not disclose NODE* to Ruby world.matz2004-07-234-4/+7
| | | | | | | [ruby-dev:23957] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (disconnected?): new method.shugo2004-07-221-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpservlet/cgihandler.rbgotoyuzo2004-07-181-1/+4
| | | | | | | | (WEBrick::HTTPServlet::CGIhandler#do_GET): set SystemRoot environment variable to CGI process on Windows native platforms. [ruby-dev:23936] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* r1025 | ser | 2004-07-18 08:18:36 -0400 (Sun, 18 Jul 2004) | 2 linesser2004-07-185-15/+28
| | | | | | | | | | | | | | @@ 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 WRT CDATA segments. @@ Applied Curt Sampson's optimization improvements @@ git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (receive_responses): return if a LOGOUT responseshugo2004-07-171-2/+13
| | | | | | | received. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (send_string_data): wait command continuationshugo2004-07-171-1306/+1334
| | | | | | | requests before sending octet data of literals. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6664 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/trunk@6662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_match_m): add optional second argugment "pos" tomatz2004-07-171-1/+1
| | | | | | | specify match start point. [ruby-core:03203] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6658 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/trunk@6655 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/trunk@6642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb (YAML::load_file, YAML::parse_file): added.why2004-07-151-1/+39
| | | | | | | | | * 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/trunk@6634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_min_by): new method Enum#min_by. added Enum#max_bymatz2004-07-144-6/+16
| | | | | | | as well. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6629 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/trunk@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/trunk@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/trunk@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/trunk@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/trunk@6615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Commit missdave2004-07-121-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@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/trunk@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/trunk@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/trunk@6606 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/trunk@6598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* These validation files for REXML need to be included in the main branch.ser2004-07-073-0/+720
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e