summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2007-09-24* lib/weakref.rb (WeakRef): remove debug print. [ruby-dev:31799]matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13507 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/trunk@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/trunk@13499 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/trunk@13486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-21* lib/optparse.rb (OptionParser::List::summarize): use each_line ifnobu
defined rather than each. [ruby-Patches-14096] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-18 * lib/matrix.rb: fix a coerce bug of Vector. [ruby-core: 12190]keiju
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-17* lib/net/http.rb (HTTP::GenericRequest#initialize): check path is not nil. ↵aamine
[ruby-dev:31149] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-15* lib/rss.rb, lib/rss/, test/rss/:kou
- 0.1.9 -> 0.2.0. - supported Slash module. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-11* 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/trunk@13428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-11* 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/trunk@13427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-09 * lib/date/format.rb (_strptime): now also attaches an elementtadf
which denotes leftover substring if exists. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-08 * lib/date/format.rb (str[fp]time): now check specifications moretadf
strictly. * and some trivial changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-06* lib/fileutils.rb (FileUtils::Entry_::copy): prevent self copy ofmatz
directories. * lib/fileutils.rb (FileUtils::fu_each_src_dest0): use try_convert. * lib/fileutils.rb (FileUtils::fu_update_option): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-01 * lib/date/format.rb (_parse): improved parsing of ordinal dates.tadf
* lib/date/format.rb (_parse): use named character classes in some regular expressions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-30* lib/mkmf.rb: initialize $top_srcdir always. [ruby-dev:31682]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-30* lib/mkmf.rb (try_const, have_const): check for a const is defined.nobu
[ruby-core:04422] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-29* lib/open-uri.rb: add :ftp_active_mode option.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-26* io.c (rb_io_each_byte): caused infinite loop. [ruby-dev:31652]matz
* io.c (rb_io_getc): should return nil at EOF, not EOFError. * lib/delegate.rb (SimpleDelegator::__setobj__): use raise argument to specify backtrace. * test/ruby/test_fnmatch.rb (TestFnmatch::bracket_test): String#include? no longer works for Fixnum. use #chr. [ruby-dev:31652] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-25 * typo fixed (analysys -> analysis)nahi
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-24* test/ruby/test_dir.rb (TestDir::setup): ?c now makes a string.matz
* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::initialize): initialize @workdir to stop warning. * lib/drb/drb.rb (DRb::DRbServer::InvokeMethod::perform_without_block): replace funcall by send!. other files in the distribution as well. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-24* eval.c (rb_f_send_bang): abandon the name funcall for privatematz
aware method call. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-21* lib/tmpdir.rb (Dir.mktmpdir): make directory suffix specifiable.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-18* lib/rexml/rexml.rb: added encoding.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-18* lib/rexml/rexml.rb: removed doubled constant.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-18fix Dir.mktmpdir doc.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-16update Dir.mktmpdir document.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-15forgot to remove.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-15* lib/tmpdir.rb (Dir.mktmpdir): new method. [ruby-dev:31416]akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-13* lib/rss/rss.rb: 0.1.8 -> 0.1.9.kou
* test/rss/test_version.rb: followed the above change. * lib/rss/parser.rb: fixed a bug that handles unintended elements. Thanks to Takuo Yonezawa. [ruby-list:43841] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-13* lib/open-uri.rb: make ftp passive mode to avoid NAT problem.akr
[ruby-dev:31377] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-12* vm_dump.c (debug_print_pre): fix to show control frame count.ko1
* insns.def (opt_call_c_function): fix operand type. * lib/vm/instruction.rb: ditto. * insnhelper.ci (vm_push_frame, vm_pop_frame): fix to show control stack status on if VMDEBUG == 2. * vm.h: add a comment about VMDEBUG. * iseq.c (find_prev_line_no): fix to skip bug report if line is not found. * lib/vm/instruction.rb: fix to use build_string() on source code generators. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-10 * lib/date/format.rb: reverted some wrongly erased "o" optionstadf
(pointed out by nobu). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-06* irb/ruby-lex.rb: support for '\c'. [ruby-talk:263508]keiju
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-06* lib/vm/instruction.rb (make_header_analysys): fix last commit.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-06* lib/vm/instruction.rb (make_header_analysys): add to separateko1
header addition process. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-06* lib/rexml/encodings/{ISO-8859-15,CP-1252}.rb: fixed invalid syntax.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-06* common.mk (INSNS): not chdir to srcdir.nobu
* lib/vm/instruction.rb (RubyVM::SourceCodeGenerator): --destdir option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-05added a note.tadf
fixed a typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-05* lib/rss, sample/rss, test/rss:kou
- 0.1.7 -> 0.1.8. - supported <itunes:XXX>. - reverted backward incompatibility API changes introduced 0.1.7. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-02* lib/mkmf.rb (find_type): new method.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-02* lib/mkmf.rb (have_type): suppress a warning with -Wall.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-02* lib/mkmf.rb: more verbose message. [ruby-Bugs-12766]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-01* generic.rb (URI::Generic::merge_path): behave as RFC 3986.nobu
[ruby-talk:252052] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-31 * lib/date/format.rb (_parse): now interprets slashed numericaltadf
dates as a big endian (except dd/mm/yyyy). [experimental] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-28Fixes a bug in the pretty printer related to an incomplete refactoring.ser
Merge code cleanups Fixes another bug related to the formatting code refactoring in 3.1.7 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-25Indentation fix.ser
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-25Merges upstream changes for REXML v3.1.7ser
http://www.germane-software.com/repos/rexml/tags/3.1.7 r1278@bean: ser | 2007-06-07 00:53:06 -0400 Fixed a double-encoding bug. This was a regression, related to ticket:48. r1292@bean: ser | 2007-07-25 08:19:36 -0400 r1279@bean: ser | 2007-06-09 23:19:02 -0400 Fixes ticket:89 -- encoding CP-1252 was broken. ISO-8859-15 had the same problem. Also in this patch is a fix to merge.rb (unused, but it should at least contain no errors), and a unit test for ticket:88. r1293@bean: ser | 2007-07-25 08:19:37 -0400 r1281@bean: ser | 2007-07-24 11:08:48 -0400 Addresses ticket:85 This is a major rewrite of the XML formatting code. The XML writers have all been extracted out of the classes and put into their own class containers. This makes writing parsers easier, and cleaner. There are three formatters, which correspond to the previous three XML writing modes: REXML::Formatters::Default Prints the XML document exactly as it was parsed REXML::Formatters::Pretty Pretty prints the XML document, destroying whitespace in the document REXML::Formatters::Transitive Pretty prints the XML document, preserving whitespace All of the write() functions have been deprecated (some are still used, but these will also go away) except the write() function on Document, which is left for convenience. To pretty print an XML document the canonical way: formatter = REXML::Formatters::Pretty.new( 5 ) # indent by 5 spaces formatter.write( document, output ) r1294@bean: ser | 2007-07-25 08:19:38 -0400 r1283@bean: ser | 2007-07-24 19:53:30 -0400 This goes with the previous commit. r1295@bean: ser | 2007-07-25 08:19:39 -0400 r1285@bean: ser | 2007-07-24 20:02:07 -0400 And THIS goes with the previous two patches. Dammit. r1296@bean: ser | 2007-07-25 08:19:40 -0400 r1287@bean: ser | 2007-07-24 20:12:25 -0400 Applied patch from Jeff Barczewski. Note that this changes what the values of the name and IDs are from the previous behavior -- the values no longer include the quotes. This is the correct behavior, so I'm leaving it in, but it is not backwards compatible. Also fixes the serializer so that it outputs the doctype in a correct format (needed as a result of this change). r1297@bean: ser | 2007-07-25 08:38:38 -0400 Version update git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-22 * lib/date/format.rb (Date._parse): now accepts some newtadf
hints. [experimental] * lib/parsedate.rb: followed the changes on lib/date/format.rb. [experimental] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-21 * lib/date.rb, lib/date/format.rb (Date._parse): now can take sometadf
hints (its aim must be mainly determination of endianness of date). [experimental] * lib/date.rb, lib/date/format.rb (Date._parse): now completes truncated year as default action. [experimental] * lib/date.rb, lib/date/format.rb: added ::iso8601, ::rfc3339, ::xmlschema, ::rfc2822, ::httpdate, ::jisx0301, #xmlschema, #httpdate. [experimental] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-21* lib/mkmf.rb (create_makefile): make OBJS depend on RUBY_EXTCONF_Hnobu
only if extconf.h is created. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e