aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* * lib/resolv.rb (Resolv::DNS::Name#subdomain_of?): new method.akr2005-02-071-0/+31
| | | | | | | | (Resolv::DNS::Name#inspect): ditto. Suggested by Sam Roberts. [ruby-talk:129086] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb, rubytest.rb (srcdir): no longer embed srcdir intousa2005-02-061-1/+1
| | | | | | | | | | | | | | | rbconfig.rb. (backported from CVS HEAD) * ext/socket/extconf.rb (sockaddr_storage): winsock2.h have the definition of struct sockaddr_storage, but socket.c doesn't include it because this version of ruby still has binary level compatibility with winsock1. * lib/mkmf.rb (create_makefile): should support header files in depend file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): fix unbalanced parens.nobu2005-02-061-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: check if getaddrinfo() works fine only whennobu2005-02-061-49/+125
| | | | | | | | | | | | | | | | | | | | | | | wide-getaddrinfo option is not given. fixed: [ruby-dev:25422] * lib/mkmf.rb ($extmk): check if under ext directory. * lib/mkmf.rb (Logging.postpone): allow recursive operation. * lib/mkmf.rb (try_constant): make sure if really a constant, reduce the number of times of compile. * lib/mkmf.rb (have_macro, have_var, byte_order): new functions. * lib/mkmf.rb (find_library): allow directory list with separators. * lib/mkmf.rb (arg_config): manage provided configuration options. * lib/mkmf.rb (dir_config): accept arrays of directory names as default values. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* synchronized with date2 3.6.3tadf2005-02-062-9/+40
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Resolv::DNS::Resource::TXT): multiple strings was notakr2005-02-051-6/+24
| | | | | | | | | | | | handled. (Resolv::DNS::Resource::TXT#strings): new method to return all strings. (Resolv::DNS::Message::MessageEncoder#put_string_list): new method. (Resolv::DNS::Message::MessageDecoder#get_string_list): ditto. based on [ruby-talk:129732] by Sam Roberts. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* comment refined.akr2005-02-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2005-02-032-0/+352
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss: supported Image module.kou2005-02-037-8/+29
| | | | | | | http://web.resource.org/rss/1.0/modules/image/ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/rss.rb (RSS::Element#convert): added.kou2005-02-025-66/+74
| | | | | | | | | | | * lib/rss/rss.rb: convert -> need_convert. * lib/rss/1.0.rb: ditto. * lib/rss/0.9.rb: ditto. * lib/rss/2.0.rb: ditto. * lib/rss/trackback.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* (DRb::DRbObject#respond_to?): check marshal_dump and _dumpseki2005-02-011-1/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* example modified a bit.akr2005-01-291-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Resolv::DNS::Resource::IN::SRV): Added RFC2782 SRVakr2005-01-291-0/+58
| | | | | | | resource record for specifying location of services. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Resolv::DNS::Config.parse_resolv_conf):akr2005-01-281-0/+10
| | | | | | | | | | | parse options line for ndots option. (Resolv::Hosts#lazy_initialize): return self. (Resolv::DNS#lazy_initialize): ditto. (Resolv::DNS::Config#lazy_initialize): ditto. Suggested by Sam Roberts. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/protocol.rb (WriteAdapter#puts): should append \n, not prepend. ↵aamine2005-01-261-1/+1
| | | | | | [ruby-talk:128302] (backport from HEAD, rev 1.75) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * document updates - [ruby-core:04296], [ruby-core:04301],matz2005-01-244-41/+195
| | | | | | | [ruby-core:04302], [ruby-core:04307] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/soap/wsdlDriver.rb: from 1.5.3-ruby1.8.2, operation which hasnahi2005-01-231-0/+4
| | | | | | | | | | | | | capitalized name (such as KeywordSearchRequest in AWS) is defined as a method having uncapitalized name. (converted with GenSupport.safemethodname to handle operation name 'foo-bar'). it introduced serious incompatibility; in the past, it was defined as a capitalized. define capitalized method as well under that circumstance. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* (accept) rescue SSLError. [druby-ja:110]seki2005-01-221-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fail if UNIXFileOwner is set. [druby-ja:111]seki2005-01-221-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Resolv::DNS::Config.resolv): don't raise ResolvError.akr2005-01-211-3/+1
| | | | | | | reported by Sam Roberts. [ruby-talk:127133] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (u8tou16): fixed typo. fixed: [ruby-lis:40546]shugo2005-01-211-1/+1
| | | | | | | (backported from CVS HEAD) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ipaddr.rb (test_s_new): typo.usa2005-01-191-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ipaddr.rb (to_s, test_to_s): too many colons with some cases.usa2005-01-191-1/+5
| | | | | | | (backported from CVS HEAD) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Resolv::DNS::Config.parse_resolv_conf): ignoreakr2005-01-181-0/+2
| | | | | | | | domain and search directive without an argument. reported by Sam Roberts. [ruby-talk:126781] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/ssl.rb (WEBrick::Config::SSL): the default valuegotoyuzo2005-01-185-14/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | of :SSLEnable is false. * lib/webrick/server.rb (WEBrick::Daemon.start): prepared stdio don't allow changing its mode. * lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_service): should delete trailing LF from the result of pack("m*"). * lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_connect): - should delete trailing LF from the result of pack("m*"). - clear Request-Line not to send the response by HTTPServer#run. * lib/webrick/httputils (WEBrick::HTTPUtils.parse_qvalues): refine regexp (and change the name of a local variable). * lib/webrick/httputils.rb (WEBrick::HTTPUtils#escape_path): add new method to escape URI path component. * lib/webrick/cgi.rb (WEBrick::CGI::Socket#request_line): should escape SCRIPT_NAME and PATH_INFO before being parsed as a URI. * test/webrick/*, sample/webrick/httpproxy.rb: add new file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c: suppress warnings.nobu2005-01-165-17/+13
| | | | | | | | | | | | | | | | * lib/irb/extend-command.rb (IRB::ContextExtender.def_extend_command): ditto. * lib/irb/ext/history.rb (IRB::Context::set_last_value): ditto. * lib/irb/ext/history.rb (IRB::Context::eval_history): ditto. * lib/irb/locale.rb (IRB::Locale::real_load): ditto. * lib/irb/slex.rb (SLex::Node::create_subnode): remove garbage. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb (PORT): typo fix. fiex: [ruby-core:04256]eban2005-01-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/rss.rb (RSS::VERSION): 0.1.2 -> 0.1.3.kou2005-01-152-49/+66
| | | | | | | * lib/rss/rss.rb: accept inheritance. [ruby-talk:126104] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (copy_entry): could not copy symbolic link. ↵aamine2005-01-101-20/+16
| | | | | | | | | [ruby-talk:125733] * lib/fileutils.rb (copy_stream): use read/write instead of sysread/syswrite. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: Kernel#y requires an argument.why2005-01-071-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb: recognize +00:00 and GMT as a localtime.akr2005-01-061-4/+28
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow for colons in DOS file namesdave2005-01-051-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpauth/htpasswd.rb (WEBrick::Htpasswd#reload):gotoyuzo2005-01-025-11/+15
| | | | | | | | | | | | | | | | | | raise NotImplementedError if password is encrypted by digest algorithms. This patch is contributed by sheepman. [ruby-list:40467] * lib/webrick/httpauth/digestauth.rb (WEBrick::HTTPAuth::DigestAuth#_authenticate): fix digest calculation. This patch is contributed by sheepman. [ruby-list:40482] * lib/webrick/{httpauth.rb,httpauth/basicauth.rb,httpproxy.rb}: use pack/unpack-template char "m" instead of lib/base64.rb to do base64 encoding/decoding. fixed: [ruby-dev:25336] * test/webrick/test_httpauth.rb: new file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix problem in ri formatting if heading contains markupdave2004-12-312-9/+32
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update kilmer template to use sectionsdave2004-12-291-0/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (mv): should raise error when moving a directory to the ↵aamine2004-12-271-13/+32
| | | | | | | | | (empty) directory. [ruby-talk:124368] (backport from HEAD 1.48) * lib/fileutils.rb (mv): wrongly did not overwrite file on Win32 platforms. (backport from HEAD 1.48) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (mkdir, mkdir_p): should ensure directory permission. ↵aamine2004-12-241-9/+17
| | | | | | | | | (backportted from HEAD, 1.47) * lib/fileutils.rb (traverse, remove_dir): untaint trasted objects. (backportted from HEAD, 1.46) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/session.rb: [ruby-list:40444]matz2004-12-221-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/soap/*, test/soap/*, sample/soap/authheader/*: eval cleanup.nahi2004-12-217-114/+87
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * added files:nahi2004-12-2070-1094/+1742
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/soap/mapping/wsdl*.rb * lib/wsdl/soap/element.rb * lib/wsdl/xmlSchema/simpleContent.rb * modified files: * lib/soap/* * lib/wsdl/* * lib/xsd/* * test/soap/* * test/wsdl/* * test/xsd/* * sample/soap/* * sample/sdl/* * summary * imported from the soap4r repository. Version: 1.5.3-ruby1.8.2 * added several XSD basetype support: nonPositiveInteger, negativeInteger, nonNegativeInteger, unsignedLong, unsignedInt, unsignedShort, unsignedByte, positiveInteger * HTTP client connection/send/receive timeout support. * HTTP client/server gzipped content encoding support. * improved WSDL schema definition support; still is far from complete, but is making step by step improovement. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2004-12-205-0/+724
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/session.rb (CGI::Session#initialize): empty session id wasnobu2004-12-191-1/+2
| | | | | | | used if request had no session key. fixed: [ruby-core:03981] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/encodings/SHIFT-JIS.rb: backported from CVS HEAD.kou2004-12-192-5/+5
| | | | | | | * lib/rexml/encodings/SHIFT_JIS.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb: use standalone runner for -e.nobu2004-12-193-8/+28
| | | | | | | | | | | * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner#options): accept multiple -p and -x options. * lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#recursive_collect): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * I confirmed that its length. :-)nahi2004-12-181-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpauth.rb,nahi2004-12-183-5/+2
| | | | | | | | | lib/webrick/httpauth/{basicauth.rb,digestauth.rb}: use pack/unpack-template char "m" instead of lib/base64.rb to do base64 encoding/decoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (dir_open_dir): new function. [ruby-dev:25242]matz2004-12-181-5/+9
| | | | | | | | | | | | | | | | | | * hash.c (Init_Hash): remove custom "hash" and "eql?". * lib/set.rb (Set::eql): wrong definition. [ruby-dev:25207] * object.c (rb_obj_id_obsolete): warn always. * eval.c (rb_enable_super): ditto. * lib/set.rb (Set#==): [ruby-dev:25206] * lib/pstore.rb (PStore#transaction): Use the empty content when a file is not found. [ruby-dev:24561] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/session.rb (CGI::Session#initialize): control addingnobu2004-12-171-6/+5
| | | | | | | session_id hidden fields. fixed: [ruby-talk:123850] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* backported from CVS_HEADseki2004-12-162-4/+30
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): should waitgotoyuzo2004-12-165-13/+39
| | | | | | | | | | | | | | | | | | | | for reading request till data arrive. [ruby-talk:121068] * lib/webrick/server.rb (WEBrick::GenericServer#start_thread): should log about all accepted socket. [ruby-core:03962] * lib/webrick/accesslog.rb (WEBrick::AccessLog#setup_params): "%%" and "%u" are supported. [webricken:135] * lib/webrick/httpservlet/filehandler.rb (WEBrick::HTTPServlet::FileHandler#check_filename): :NondisclosureName is acceptable if it is Enumerable. * lib/webrick/config.rb (WEBrick::Config::FileHandler): default value of :NondisclosureName is [".ht*", "*~"]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e