summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2009-12-31* tool/mkconfig.rb: generate RbConfig.ruby in rbconfig.rb.akr
* lib/webrick/httpservlet/cgihandler.rb: use RbConfig.ruby. * test/ruby/envutil.rb: ditto. * benchmark/report.rb: ditto. * benchmark/runc.rb: ditto. * tool/eval.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-30* gem_prelude.rb (push_all_highest_version_gems_on_load_path):nobu
simplified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-30* lib/rubygems/command_manager.rb (Gem#load_and_instantiate):nobu
rescue only NameError from const_get. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-30* lib/rubygems/source_index.rb (Gem#load_specification): don't usenobu
RUBY_VERSION to branch. * lib/rubygems/validator.rb (Gem::TestRunner, Gem#alien): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-30* lib/rubygems.rb: Kernel#gem is already defined, and workaroundnobu
for home directory and custom_require are no longer needed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-29* lib/delegate.rb (marshal_dump/load): Provide forward compatibility ↵marcandre
[ruby-core:24211] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-29* lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser::STANDALONE):nobu
any number spaces can be placed between equal-sign and the value. patch from Ed Howland in [ruby-core:27345]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-24* lib/uri/generic.rb (eql?): Check the class of the compared object.marcandre
Based on a patch by Peter McLain [ruby-core:27019] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-24* lib/delegate.rb (marshal_dump/load): dump & load instance variables by ↵marcandre
default [ruby-core:24211] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-19* lib/webrick/config.rb (WEBrick::Config): typo fixed. a patchmatz
from Sho Hashimoto in [ruby-dev:39835]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-19* lib/matrix.rb (each2,collect2,map2): Fix enumerator [ruby-core:27225]marcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-19* lib/set.rb: Add checks that passed argument is Enumerable. [ruby-core:23844]marcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-16* lib/un.rb (httpd): try to convert port number to integer.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-15* lib/find.rb (Find.find): rescue more exceptions which is possible toakr
occur by other process change the directory tree. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-15* lib/find.rb (Find.find): get rid of race condition.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-14* lib/find.rb (Find.find): rescue only ENOENT and EACCES for lstat.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-14* lib/find.rb (Find.find): narrow rescue region.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-14* lib/find.rb (Find.find): removed already unnecessary code.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-13* lib/find.rb (Find.find): sort directory entries. [ruby-dev:39847]akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-10* lib/un.rb (httpd): easy WEBrick HTTP server.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-08* lib/rubygems: update to 1.3.5.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-08* lib/rubygems/defaults.rb (Gem::default_dir): removed a clausenobu
doing nothing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-06* lib/find.rb (Find.find): reduce stat system call.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-06fix indent.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-06* lib/webrick/httpservlet/filehandler.rb: escape filename of index.naruse
[ruby-dev:37768] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-05* lib/irb/extend-command.rb (def_extend_command): fixed argumentnobu
number for negative arity. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-30* configure.in, win32/Makefile.sub (EXECUTABLE_EXTS): moved fromnobu
dln.c:dln_find_1(). * lib/mkmf.rb (def find_executable0): use EXECUTABLE_EXTS, not only EXEEXT. [ruby-core:26821] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-28* lib/rexml/formatters/default.rb (write_attribute): fix antenderlove
exception when printing a document when duplicate namespaced attributes exist. Thanks, Alexey Froloff [ruby-core:2389] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-26rdoc update.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-24* strftime.c: %Y format a year with 4 digits at least.akr
* lib/time.rb: format a year with 4 digits at least. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-19* lib/net/ftp.rb (putbinaryfile): use APPE for resume.shugo
Thanks, Tomoyuki Chikanaga. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-19* lib/net/imap.rb (flag_list): untaint strings to intern in the safeshugo
level 1. * lib/net/imap.rb (max_flag_count=): new methods to set the max number of flags interned to symbols. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-16Rolled out last changeryan
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-16Minor cleanup to improve hash useryan
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-12* lib/cgi/util.rb (CGI::pretty): fix the overflow bugxibbar
if stripped string.[ruby-dev:37975] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-12* lib/cgi/core.rb (read_from_cmdline): this code is better.xibbar
[ruby-core:25991] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-12* lib/net/telnet.rb: don't use simple delegate.xibbar
because SimpleDelegate behavior changed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-11* lib/tempfile.rb (Tempfile#initialize): option hash may not benobu
given. [ruby-core:26681] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-11* lib/tempfile.rb (Tempfile#initialize): merge mode option.nobu
* lib/tmpdir.rb (Dir::Tmpname#create): splat options. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-07* lib/pp.rb (PP::ObjectMixin#pretty_print): use to_s regardless ofakr
instance variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-06* lib/mkmf.rb (create_header): split the line by tabs.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-05fix a typo.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-31 * lib/net/http.rb (Net::HTTPResponse#each_response_header):nahi
cosmetic: '?\ ' -> '?\s' git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-30 * lib/net/http.rb (Net::HTTPResponse#each_response_header):nahi
accept multiline message header of HTTP response. see #1796. cf. RFC 2616 '4.2 Message Header'. * test/net/http/test_httpresponse.rb: added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-28* lib/net/ftp.rb (Net::FTP#initialize): sets @binary to true.shugo
* lib/net/ftp.rb (Net::FTP#binary=): sends a TYPE command only when logged in. [ruby-dev:39548] * lib/net/ftp.rb (Net::FTP#send_type_command): new private method which sends an appropriate TYPE command according to the value of @binary. * lib/net/ftp.rb (Net::FTP#login): calls send_type_command instead of binary=. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-27* lib/net/ftp.rb (Net::FTP#initialize): @sock = nil.naruse
* lib/net/ftp.rb (Net::FTP#binary=): send command only when socket is open. [ruby-dev:39548] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-27* lib/net/ftp.rb (getbinaryfile, list): call to_s to convertshugo
a Pathname instance into a string. [ruby-core:26237] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-24* lib/matrix.rb (**): Optimization (up to 45% faster)marcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-24* object.c (rb_obj_cmp): defines Object#<=>. [ruby-core:24063]matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-24* lib/matrix (transpose): bug fix for Matrix.empty(0,42).tmarcandre
cf [ruby-core:23598] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e