summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2009-09-17* lib/rdoc/parser/ruby.rb (RDoc::Parser::Ruby): parse also rdocnobu
files. * doc/re.rdoc: renamed from re.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16* lib/matrix.rb (Matrix#rank): Two bug fixes. One made ↵marcandre
Matrix[[0,0],[0,0],[1,0]].rank raise a NoMethodError while the other one had Matrix[[0,1],[0,0],[1,0]].rank raise a TypeError. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16* lib/matrix.rb: Optimizationsmarcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16* lib/matrix.rb (Matrix#/): Fix obvious bugmarcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16* lib/matrix.rb: fix previous optimizationmarcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16* lib/matrix.rb (determinant): Bug fix where determinant failed on some ↵marcandre
matrices [ruby-core:23597] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16* lib/matrix.rb: Fix typos in doc and indentmarcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16* lib/matrix.rb: trivial optimizationsmarcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13* lib/net/http.rb (each_*): return enumerator if no block present. Patch by ↵marcandre
Arthur Schreiber [ruby-core:18310] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13* lib/cgi/cookie.rb (value): Keep CGI::Cookie#value in sync with the cookie ↵marcandre
itself. Based on a patch by Arthur Schreiber [ruby-core:17634] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13* lib/net/http.rb (fetch): Handle properly default values; a patch by Arthur ↵marcandre
Schreiber [ruby-core:18308] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13* lib/set.rb (==): Optimization; patch by Arthur Schreiber [ruby-core:17203]marcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13* lib/open-uri.rb (OpenURI::Meta#content_type_parse): strip quotes.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13* lib/prime.rb (EratosthenesGenerator#initialize): call super.nobu
(TrialDivisionGenerator, Generator23): ditto. [ruby-core:25539] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-12* lib/open-uri.rb (URI::FTP#buffer_open): fix the %2F handling.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-12* lib/open-uri.rb (URI::FTP#buffer_open): use the port specified inakr
the URI. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-11* lib/tmpdir.rb (Dir::Tmpname): for internal use.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-11Merge branch 'trunk' of git://github.com/swdyh/ruby into trunkshyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-10* lib/net/http.rb (fetch): rdoc fix, patch by Arthur Schreiber, ↵marcandre
[ruby-core:18309]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-10* lib/mkmf.rb (create_makefile): fix for parallel execution.nobu
[ruby-core:25509] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-09* lib/fileutils.rb (FileUtils::Entry_#copy_file): open the sourcenobu
file first to ensure it can be copied. [ruby-core:25498] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-08* lib/tempfile.rb, lib/tmpdir.rb (Tmpname): extracted new module.nobu
[ruby-dev:39197] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-07* lib/irb/inspector.rb (IRB::INSPECTORS.def_inspector): supportmatz
object without #inspect defined. a patch from Daniel Bovensiepen. [ruby-core:25200] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-06* lib/uri/common.rb (URI.escape): obsoleted.naruse
* lib/uri/common.rb (URI,unescape): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-03* lib/webrick/httpservlet/abstract.rb (do_OPTIONS): method namesnobu
are symbols now. [ruby-core:24580] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-29* lib/tmpdir.rb (Dir.mktmpdir): rolled back r24699. [ruby-dev:39193]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-28* lib/tmpdir.rb (Dir.mktmpdir): removed thread race condition.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-28* lib/tempfile.rb (Tempfile#make_tmpname): removed thread racenobu
condition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-28* lib/tempfile.rb (Tempfile#callback): Debug information should beknu
output to stderr, not stdout; pointed out by akira yamada. cf. [ruby-dev:39072] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-26* lib/tempfile.rb: fixed typos.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-26* lib/tempfile.rb: add documents from Hongli Lai's fork.naruse
cf [ruby-core:25131]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-26* lib/tempfile.rb (Tempfile#close!): should not undefine finalizernobu
by just unlink. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-26* lib/tempfile.rb (Tempfile#close!, Tempfile#path): added sidenobu
notes from Hongli Lai's fork. * lib/tempfile.rb (Tempfile#unlink, Tempfile.callback): do nothing any more once unlinked. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-26* lib/tempfile.rb (Tempfile#unlink): reverted r23494, since thenobu
usage in RubyInline is considered wrong. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-24* lib/rss/maker/base.rb, test/rss/test_maker_2.0.rb: fix a bugkou
that RSS Maker doesn't accept 'false' as guid's isPermaLink. Reported by Joe Holt. Thanks!!! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-22* ext/syck/rubyext.c (id_hash_new): new function to create a hashakr
which key is compared by object id. (syck_parser_load): use id_hash_new for bonus->data. (syck_parser_load_documents): ditto. (syck_emitter_reset): ditto. * lib/yaml.rb (YAML.quick_emit): give the object itself to eimitter. don't use object_id and hash. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-21* lib/mkmf.rb (rm_f, rm_rf): pass the last hash through if exists.nobu
[ruby-dev:39153] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-20* lib/rdoc/ri/gemdirs.rb: split from lib/rdoc/ri/paths.rb to getnobu
rid of loading rubygems and searching all gems always. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-20* lib/rdoc/ri/paths.rb (RDoc::RI::Paths): Gem::Enable has been obsolete.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-19rdoc update.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-17 * lib/date/delta.rb: removed require 'date'. added to_c.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-16 * lib/date/delta.rb: merged from date4. [experimental]tadf
* lib/date/delta/parser.*: ditto. * lib/date.rb: followed the above changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-16 * lib/date/format.rb (strptime): removed \v; since \s includes \v.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-16use num#i.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-16warn only when $VERBOSE.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-16 * lib/complex.rb, lib/rational.rb: added warning messages.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-16 * lib/date/format.rb: reverted.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-16* lib/date/format.rb: suppressed a warning.naruse
* lib/irb/ruby-lex.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-16* lib/csv.rb: Change magic comment to US-ASCII in order tonaruse
make literals as US-ASCII. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-13* lib/delegate.rb (Delegator#method_missing): __FILE__ may containmatz
multi-byte characters. a patch from Kenta Murata in [ruby-dev:39066]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e