summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2008-01-30 * lib/date.rb: refined deprecated methods.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-24* lib/uri/generic.rb (URI::Generic::inspect): use Kernel#to_s insteadnobu
object_id with printf. [ruby-dev:33347] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-21fixed a typo.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-17 * lib/date.rb (Date::Infinity#<=>): didn't work. A patch fromtadf
Dirkjan Bussink <d.bussink AT gmail.com> [ruby-core:15098]. This is a bug obviously. However it didn't affect the library's functions. * lib/date.rb, lib/date/format.rb: some trivial changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-14* lib/shellwords.rb: scape should be an alias to shellescape. amatz
patch from Masahiro Kawato <m-kawato AT mwb.biglobe.ne.jp> in [ruby-dev:33060]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-14 * lib/time.rb: do not reference Time directly from the inside oftadf
definitions. [ruby-dev:33059] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-12 * lib/date.rb, lib/date/format.rb: tuning for performance.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-11* lib/rdoc/options.rb ():nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-06 * lib/date.rb, lib/date/format.rb: introduced some constantstadf
(for internal use) and aliases (minute and second). * sample/cal.rb: trivial adjustments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-02use hard tab.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-30 * lib/date.rb (_valid_time?): I'm not sure to recommend such antadf
expression. but anyway it is acceptable now. [ruby-core:14580] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28* lib/resolv.rb (Resolv::DNS#each_address): now returns IPv6 address.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28* lib/rss/rss.rb, test/rss/test_version.rb, NEWS: 0.2.2 -> 0.2.3.kou
* lib/rss/parser.rb, test/rss/test_parser.rb: supported "-" in tag name. Reported by Ray Chen. Thanks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-26* lib/resolv.rb (Resolv::DNS::Name.==): fix for other is array ofnaruse
Resolv::DNS::Label::Str. * lib/resolv.rb (Resolv::DNS::MessageEncoder#put_label): String#string is not defined, so replace to_s. * lib/resolv.rb (Resolv::IPv6#to_name): ip6.int is obsoleted by int.arpa. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-26parsedate is obsolete.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24Merge r14565 and r14567 from trunkdrbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22* lib/date.rb: don't freeze nil. [ruby-dev:32677]tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-14* lib/mkmf.rb (try_var): should fail for functions.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-10* lib/uri/common.rb (URI::REGEXP::PATTERN): typo in REG_NAMEmatz
regular expression. a patch from Ueda Satoshi <s-ueda AT livedoor.jp>. [ruby-dev:32514] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-09* lib/cgi.rb (read_multipart): exclude blanks from header values.nobu
[ruby-list:44327] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-02* lib/rss/rss.rb, test/rss/test_version.rb, NEWS: 0.2.1 -> 0.2.2.kou
* lib/rss/maker/itunes.rb: fixed new_itunes_category. * lib/rss/maker/taxonomy.rb: new_taxo_topic -> new_topic because of consistency. * test/rss/test_maker_itunes.rb, test/rss/test_itunes.rb: removed needless UTF-8 characters. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-01Merged 14070 from trunk.jeg2
* lib/xmlrpc/server.rb (XMLRPC::Server#server): Improve signal handling so pressing control-c in the controlling terminal or sending SIGTERM stops the XML-RPC server. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-01* lib/resolv.rb: documentation update. backported from 1.9.matz
[ruby-core:13273] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-30* lib/rss/rss.rb, test/rss/test_version.rb: 0.2.0 -> 0.2.1.kou
* lib/rss/content.rb, lib/rss/content/1.0.rb, lib/rss/content/2.0.rb, lib/rss/maker/content.rb, test/rss/rss-testcase.rb, test/rss/test_content.rb, test/rss/test_maker_content.rb: supported content:encoded with RSS 2.0. Suggested by Sam Lown. Thanks. * NEWS: added the above changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-28* ext/extmk.rb (extract_makefile): use dldflags instead of DLDFLAGS tonobu
get rid of mixing $LDFLAGS and $ARCH_FLAG. * lib/mkmf.rb (configuration): ditto. * lib/mkmf.rb (create_makefile): support for extensions which has no shared object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-18* lib/mkmf.rb (String#tr_cpp): make preprocessor identifiers.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-16* lib/yaml/rubytypes.rb (String#is_binary_data?): use Integer#fdiv.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-15* lib/cgi/session.rb (CGI::Session::FileStore::restore): usematz
lockfile for exclusive locks. a patch from <tommy AT tmtm.org>. [ruby-dev:32296] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-13remove Thread.exclusiveseki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-12* lib/mkmf.rb (create_makefile): rdoc about srcprefix. a patch fromnobu
Daniel Berger <djberg96 AT gmail.com> in [ruby-core:13378]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-06* lib/rexml/encodings/SHIFT-JIS.rb (REXML::Encoding): place -x formatz
nkf conversion. a patch from <moonwolf AT moonwolf.com>. [ruby-dev:32183] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-04* lib/optparse.rb (OptionParser::Switch::summarize): fix for long formnobu
option with very long argument. a patch from Kobayashi Noritada <nori1 AT dolphin.c.u-tokyo.ac.jp> in [ruby-list:44179]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-01Improving with multiple network interface.seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-25Merged 13781 from trunk.jeg2
* lib/net/telnet.rb (Net::Telnet#login): Allowing "passphrase" in addition to "password" for Telnet login prompts. [ruby-Bugs-10746] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-25Merged 13779 from trunk.jeg2
* lib/net/telnet.rb (Net::Telnet#login): Making the password prompt pattern case insensitive. [ruby-Bugs-10746] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-24Merged 13767, 13768, 13769, and 13770 from trunk.jeg2
* lib/xmlrpc/parser.rb (XMLRPC::Convert::dateTime): Fixing a bug that caused time zone conversion to fail for some ISO 8601 date formats. [ruby-Bugs-12677] * lib/xmlrpc/client.rb (XMLRPC::Client#do_rpc): Explicitly start the HTTP connection to support keepalive requests. [ruby-Bugs-9353] * lib/xmlrpc/client.rb (XMLRPC::Client#do_rpc): Improving the error message for Content-Type check failures. [ruby-core:12163] * lib/xmlrpc/utils.rb (XMLRPC::ParseContentType#parse_content_type): Making Content-Type checks case insensitive. [ruby-Bugs-3367] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-24doc. wording fix.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-21* reverted commit miss in r13747.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-21* lib/rss.rb, lib/rss/, test/rss/, sample/rss/: merged from trunk.kou
- 0.1.6 -> 2.0.0. - fixed image module URI. Thanks to Dmitry Borodaenko. - supported Atom. - supported ITunes module. - supported Slash module. * NEWS: added an entry for RSS Parser. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-15Merge from trunk.knu
* NEWS: Mention ipaddr enhancements. * lib/ipaddr.rb (in_addr, in6_addr, addr_mask): Make some minor code optimization. * lib/ipaddr.rb (<=>): Implement IPAddr#<=> and make IPAddr comparable. * lib/ipaddr.rb (succ): Implement IPAddr#succ. You can now create a range between two IPAddr's, which (Range) object is enumerable. * lib/ipaddr.rb (to_range): A new method to create a Range object for the (network) address. * lib/ipaddr.rb (coerce_other): Support type coercion and make &, |, == and include? accept a string or an integer instead of an IPAddr object as the argument. * lib/ipaddr.rb (initialize): Give better error messages. * lib/ipaddr.rb: Improve documentation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-13* configure.in (AC_SYS_LARGEFILE): keep results also in commandnobu
options, to vail out of mismatch. [ruby-list:44114] * mkconfig.rb, lib/mkmf.rb (configuration): add DEFS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-12* lib/rexml/source.rb (REXML::SourceFactory::SourceFactory): typomatz
fixed. [ruby-list:44099] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-10* lib/securerandom.rb: new file.akr
* lib/cgi/session.rb (create_new_id): use securerandom if available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-08* lib/net/http.rb, lib/open-uri.rb: removegotoyuzo
Net::HTTP#enable_post_connection_check. [ruby-dev:31960] * lib/net/imap.rb: hostname should be verified against server's indentity as persented in the server's certificate. [ruby-dev:31960] * ext/openssl/lib/net/telnets.rb, ext/openssl/lib/net/ftptls.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-05* lib/shellwords.rb: Add shellescape() and shelljoin().knu
* lib/shellwords.rb: Rename shellwords() to shellsplit() and make the former an alias to the latter. * lib/shellwords.rb: Add escape(), split(), join() as class methods, which are aliases to their respective long names prefixed with `shell'. * lib/shellwords.rb: Add String#shellescape(), String#shellsplit() and Array#shelljoin() for convenience. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-05* lib/tempfile.rb (Tempfile::make_tmpname): Allow to specify aknu
suffix for a temporary file name. * lib/tempfile.rb (Tempfile::make_tmpname): Make temporary file names less predictable by including a random string. [inspired by: akr] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-26* ext/extmk.rb (extmake), lib/mkmf.rb (configuration): top_srcdirnobu
should not prefixed with DESTDIR. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-24 lib/net/http.rb: fix typo.shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-23* lib/net/http.rb: an SSL verification (the server hostname shouldgotoyuzo
be matched with its certificate's commonName) is added. this verification can be skipped by "Net::HTTP#enable_post_connection_check=(false)". suggested by Chris Clark <cclark at isecpartners.com> * lib/net/open-uri.rb: use Net::HTTP#enable_post_connection_check to perform SSL post connection check. * ext/openssl/lib/openssl/ssl.c (OpenSSL::SSL::SSLSocket#post_connection_check): refine error message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-22 * lib/rdoc/options.rb (Options::check_diagram): dot -V outputshyouhei
changed. [ ruby-Bugs-11978 ], Thanks Florian Frank. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e