summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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
2009-08-11 * lib/date.rb (complete_frags): Monday must be suitable for %W'stadf
default day. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-06* lib/mkmf.rb (check_sizeof): added optional compiler optionnobu
argument. [ruby-core:24785] * lib/mkmf.rb (create_makefile): suppressed shadowing outer local variable warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-06* lib/test/unit/testcase.rb (Test::Unit): removes silly TestCasenobu
class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-05* lib/ipaddr.rb (IPAddr#hash): Take account of netmask; submittedknu
by Nobuhiro IMAI in [ruby-dev:39011] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-04* lib/test/unit.rb (Test::Unit.setup_argv): expands paths beforenobu
requiring. [ruby-dev:39012] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-04* lib/pp.rb (guard_inspect_key): untrust internal hash to preventmame
unexpected SecurityError. * test/ruby/test_object.rb: add a test for [ruby-dev:38982]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-04* lib/rdoc/parser/c.rb: fixed a small error in the documentation.nobu
[ruby-core:24744] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-04* lib/ipaddr.rb (IPAddr#{eql?,hash}): Add IPAddr#{eql?,hash} soknu
that an IPAddr object can be used as a hash key, a set element, etc.; suggested by Nick Brown <nick@nick-brown.com>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-03* lib/README: updated. a patch from Daniel Bovensiepen.matz
[ruby-core:24693] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-31 * lib/securerandom.rb (SecureRandom.random_bytes): return string shouldusa
be ASCII-8BIT. [ruby-core:24640] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-30* lib/cgi/util.rb (CGI::unescape): support encoding option.xibbar
* lib/cgi/cookie.rb (CGI::Cookie.parse): fix for the encoded value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-27* lib/rdoc/parser.rb (RDoc::Parser.binary?): fix for empty files.nobu
[ruby-dev:38848] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-24* lib/net/imap.rb (idle): leaves IDLE in a ensure clause. a patchshugo
from Eric Hodel. * test/net/imap/test_imap.rb (setup, teardown): turn on Socket.do_not_reverse_lookup in tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-23* lib/net/imap.rb (resp_text_code): accepts response codes withoutshugo
text. [ruby-core:24194] * lib/net/imap.rb (idle, idle_done): new methods for the IMAP4 IDLE command (RFC 2177). Thanks, Eric Hodel. * lib/net/imap.rb (format_date, format_datetime): new method to format IMAP-style date/datetime. Thanks, Eric Hodel. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-23 * lib/irb/ruby-lex.rb: make irb be able to parsekeiju
string_dvar. [ruby-core: 24051] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-21 * lib/irb.rb: forget svn commit.keiju
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-21 * lib/irb.rb, lib/irb/init.rb, lib/irb/ext/save-history.rb: addkeiju
IRB::irb_at_exit. no use finalizer saving history. [ruby-dev-38563] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-21 * lib/irb/cmd/help.rb: fixed irb's "help" command. [ruby-core:22310].keiju
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-21 * lib/tracer.rb: no show lines unkonwn line number. [ruby-core:22096],keiju
no trace display c-call and c-return as default. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-21* lib/tracer.rb: toplevel caller exists now. [ruby-core:24454]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-20* lib/matrix.rb (Matrix#rank): revert a part of r20859 to avoidwanabe
infinite loop. [Bug #1020] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-13* lib/prime.rb (Prime#prime_division): now decomposesyugui
negative integer into a decomposition with element [-1, 1]. * test/test_prime.rb: test for it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-13* lib/tempfile (Tempfile.open): rdoc. patch by Nobuhiro IMAI.yugui
#1694 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-13* lib/pstore.rb (PStore#on_windows): fixed typo.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-08 * lib/irb/inspector.rb: forget svn add.keiju
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e