aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* reject :instance_eval, :class_eval, :module_eval [druby-ja:117]seki2005-02-081-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* document updated.akr2005-02-081-47/+53
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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/trunk@7915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (with_cppflags, with_cflags, with_ldflags): keep flagsnobu2005-02-061-6/+6
| | | | | | | modified if the block returned true. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extract_makefile): extract previously collectednobu2005-02-061-50/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | informations from existing Makefile. * ext/socket/extconf.rb: check if getaddrinfo() works fine only when wide-getaddrinfo option is not given. fixed: [ruby-dev:25422] * ext/tk/extconf.rb: separate tkutil configuration. * 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/trunk@7901 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/trunk@7895 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/trunk@7890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* comment refined.akr2005-02-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss: supported Image module.kou2005-02-039-8/+381
| | | | | | | http://web.resource.org/rss/1.0/modules/image/ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7863 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/trunk@7859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, configure.in: made EXTOUT configurable.nobu2005-01-311-2/+6
| | | | | | | | | * ext/extmk.rb (extmake), lib/mkmf.rb: keep topdir as relative style. * lib/mkmf.rb: make extensions in depth order. [ruby-dev:25522] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* example modified a bit.akr2005-01-291-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@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/trunk@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/trunk@7839 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/trunk@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/trunk@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/trunk@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/trunk@7804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (decode_utf7): use pack("U*") to encode UTF-8.shugo2005-01-211-121/+2
| | | | | | | | * lib/net/imap.rb (encode_utf7): use unpack("U*") to decode UTF-8. * test/net/imap/test_imap.rb: added tests for Net::IMAP. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (u8tou16): fixed typo. fixed: [ruby-lis:40546]shugo2005-01-211-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7797 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/trunk@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
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7788 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/trunk@7786 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/trunk@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/trunk@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/trunk@7774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/cgi.rb (WEBrick::CGI::Socket#request_line): shouldgotoyuzo2005-01-103-6/+12
| | | | | | | | | | | | | | | | | escape SCRIPT_NAME and PATH_INFO before being parsed as a URI. * lib/webrick/httputils.rb (WEBrick::HTTPUtils#escape_path): add new method to escape URI path component. * lib/webrick/ssl.rb (WEBrick::Config::SSL): the default value of :SSLEnable is false. * test/webrick/{test_cgi.rb,webrick.cgi}: new file. * test/webrick/utils.rb: require "webrick/https.h". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7758 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/trunk@7747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_service):gotoyuzo2005-01-073-8/+22
| | | | | | | | | | | | | | | | | | | 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 sesponse by HTTPServer#run. * lib/webrick/httputils (WEBrick::HTTPUtils.parse_qvalues): refine regexp (and change the name of a local variable). * lib/webrick/server.rb (WEBrick::Daemon.start): prepared stdio don't allow changing its mode. * test/webrick/*, sample/webrick/httpproxy.rb: add new files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7743 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/trunk@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/trunk@7733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missed in last commit.gotoyuzo2005-01-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpauth/htpasswd.rb (WEBrick::Htpasswd#reload):gotoyuzo2005-01-024-8/+13
| | | | | | | | | | | | | | | | | | 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/trunk@7708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add lazy stop_serviceseki2005-01-022-9/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update copyright yearaamine2005-01-012-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (each_capitalized): should join header field value. This ↵aamine2005-01-011-1/+1
| | | | | | | | | patch is contributed sheepman [ruby-list:40478] * test/net/http/test_httpheader.rb: test it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (copy_stream): use read/write instead of ↵aamine2005-01-011-8/+12
| | | | | | | | | | sysread/syswrite, which allows duck typing. [ruby-dev:25369] * lib/fileutils.rb (copy_stream): does NOT support nonblocking IO. [ruby-dev:25370] * test/fileutils/test_fileutils.rb: test copy_entry, copy_file, copy_stream. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7699 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/trunk@7692 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/trunk@7678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/telnet.rb (preprocess): remove NULL unless binmode.usa2004-12-281-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (mv): should raise error when moving a directory to the ↵aamine2004-12-271-12/+31
| | | | | | | | | (empty) directory. [ruby-talk:124368] * lib/fileutils.rb (mv): wrongly did not overwrite file on Win32 platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (Net::IMAP::PlainAuthenticator): added a new classshugo2004-12-261-0/+16
| | | | | | | | to support the PLAIN authentication mechanism. Thanks, Benjamin Stiglitz. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/xmlrpc/client.rb: use "" instead of "." if prefix argument ismneumann2004-12-211-5/+5
| | | | | | | | | | | | nil in proxy methods. nil is default value. * test/xmlrpc/test_webrick_server.rb, test/xmlrpc/webrick_testing.rb: use threads instead of forking. this should fix issue #1208 (http://rubyforge.org/tracker/?func=detail&atid=1698&aid=1208&group_id=426). removed testing of SSL enabled servlet as this hangs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7630 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/trunk@7628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * added files:nahi2004-12-2074-1094/+2295
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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/* * 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/trunk@7612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/https.rb: delete descriptions about key_file and cert_file.gotoyuzo2004-12-201-6/+0
| | | | | | | | | fixed: [ruby-dev:25243] * ext/openssl/lib/net/telnets.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7611 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/trunk@7604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/encodings/SHIFT_JIS.rb: fixed LoadError bug. [ruby-core:3958]kou2004-12-191-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb: use standalone runner for -e.nobu2004-12-193-12/+23
| | | | | | | | | | | * 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/trunk@7597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e