summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* * lib/webrick/server.rb (WEBrick::GenericServer#start): shouldgotoyuzo2005-03-091-10/+24
| | | | | | | | | | restore @token if accept failure. suggested by Dominique Brezinski. [ruby-core:04518] I forgot it in my last commit ;) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/un.rb: should use OptionParser. (backported form HEAD)eban2005-03-071-22/+30
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_cmp_m): should not return false but nil.matz2005-03-076-3/+11
| | | | | | | | | | fixed: [ruby-dev:25811] * lib/cgi-lib.rb: add deprecation warning. [ruby-dev:25499] getopts.rb, parsearg.rb, importenv.rb as well. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: HTTPHeader holds its header fields as an array (backport ↵aamine2005-03-061-62/+121
| | | | | | | | | from CVS HEAD rev 1.112-1.123). [ruby-list:40629] * test/net/http/test_httpheader.rb: new file. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb: rdoced by by Sam Roberts. [ruby-core:4490]akr2005-03-061-149/+118
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb (File::Stat#pretty_print): Etc.getpwuid and Etc.getgrgidakr2005-03-061-4/+8
| | | | | | | | may return nil. [ruby-talk:129826] reported by Daniel Berger. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#do_includes): replacenobu2005-03-041-1/+1
| | | | | | | | | | | also locally defined modules. * ext/iconv/iconv.c: backport Iconv::InvalidEncoding from CVS HEAD. * ext/strscan/strscan.c: moved misplaced rdoc. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb (SortedSet::setup): a hack to shut up warning.matz2005-03-041-0/+5
| | | | | | | [ruby-talk:132866] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* improved keeper threadseki2005-02-281-17/+37
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_s_create): no need for negative argc check.matz2005-02-232-2/+2
| | | | | | | | | | | | | | | [ruby-core:04463] * array.c (rb_ary_unshift_m): ditto. * lib/xmlrpc/parser.rb (XMLRPC::FaultException): make it subclass of StandardError class, not Exception class. [ruby-core:04429] * lib/open3.rb (Open3::popen3): $? should not be EXIT_FAILURE. fixed: [ruby-core:04444] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/generic.rb (split_userinfo): should split ":pass" into ""akira2005-02-231-8/+1
| | | | | | | and "pass". [ruby-dev:25667] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (initialize): handle certs correctly. Thanks,shugo2005-02-221-5/+6
| | | | | | | NABEYA Kenichi. (backported from CVS HEAD) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (URI::FTP#buffer_open): access mechanismakr2005-02-191-4/+33
| | | | | | | | re-implemented according to RFC 1738. reported by Guillaume Marcais. [ruby-talk:131650] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* (DRbObject#respond_to?) take two arguments. [ruby-dev:25722]seki2005-02-191-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb: call OpenSSL::SSL::SSLSocket#post_connection_checkakr2005-02-191-1/+6
| | | | | | | after connection is made. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/drb.rb (DRbServer.default_safe_level): fix typo.ocean2005-02-171-2/+2
| | | | | | | | * test/digest/test_digest.rb: separate test case for each algorithms. (Thanks nobu) [ruby-dev:25412] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/collector.rb (collect_file): now deletes paths addedntalbott2005-02-173-40/+45
| | | | | | | | | | | | | | | to $LOAD_PATH instead of restoring it verbatim. * lib/test/unit/autorunner.rb (AutoRunner.run): fixed so that 'ruby -rtest/unit -rtest1 -rtest2 -e0' will use the objectspace collector again. Also tried to simplify the calling convention. * test/runner.rb: adjusted for new AutoRunner semantics. * lib/test/unit.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add lazy stop_service.seki2005-02-162-9/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/parser.rb (RSS::ListenerMixin::tag_end):kou2005-02-141-1/+2
| | | | | | | fixed invalid namespace handling bug. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* pass DRb info to sub threadseki2005-02-131-1/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/dublincore.rb (RSS::DublicCoreModel#date{,=}): addedkou2005-02-133-0/+6
| | | | | | | | | | convenient methods. * lib/rss/0.9.rb (RSS::Rss::Channel#date{,=}): ditto. * lib/rss/2.0.rb (RSS::Rss::Channel::Item#date{,=}): ditto. * test/rss/: added tests for the convenient methods. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add safe_level, default_safe_levelseki2005-02-131-5/+30
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/cgi.rb (WEBrick::CGI.start): should set reason-phrasegotoyuzo2005-02-131-1/+4
| | | | | | | to the value of status header field. ([ruby-dev:40617]) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make module_functionseki2005-02-121-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/etc/etc.c (Init_etc): sGroup needs HAVE_ST_GR_PASSWD check.matz2005-02-123-5/+5
| | | | | | | | | | | | | [ruby-dev:25675] * misc/ruby-mode.el: [ruby-core:04415] * lib/rdoc/generators/html_generator.rb: [ruby-core:04412] * lib/rdoc/generators/ri_generator.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (OpenURI.open_loop): send authentication only forakr2005-02-121-0/+10
| | | | | | | the URI directly specified. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* document updated.akr2005-02-121-8/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb: support https if the platform provides CAakr2005-02-121-72/+83
| | | | | | | certificates. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (URI::HTTP#proxy_open): new option supported:akr2005-02-111-2/+16
| | | | | | | | :http_basic_authentication. suggested by Kent Sibilev. [ruby-core:4392] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* reject :instance_eval, :class_eval, :module_eval [druby-ja:117]seki2005-02-081-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* document updated.akr2005-02-081-47/+53
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::Cookie): [ruby-talk:130040]matz2005-02-082-2/+2
| | | | | | | * object.c: [ruby-doc:818] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7919 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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* synchronized with date2 3.6.3tadf2005-02-062-9/+40
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* comment refined.akr2005-02-051-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* example modified a bit.akr2005-01-291-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e