aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Update to RDoc 2.5.5drbrain2010-04-214-8/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/{core, util}.rb (RFC822_DAYS, RFC822_MONTHS):xibbar2010-04-202-6/+6
| | | | | | move the constant because used only util.rb. [Bug #2704] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (FileUtils::cp_r): dup needed here; options areshyouhei2010-04-191-0/+2
| | | | | | | destroyed otherwise. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import RDoc 2.5.4drbrain2010-04-198-51/+83
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/timeout.rb (Timeout#timeout): propagate errors to thenobu2010-04-191-2/+7
| | | | | | | caller. [ruby-dev:41010]' git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Resolv::IPv4::Regex): make it only accept 0 to 255.akr2010-04-181-1/+5
| | | | | | | [ruby-core:29501] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/ruby-lex.rb (identify_identifier): add '_' to the regexp.naruse2010-04-171-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/ruby-lex.rb (identify_identifier): allow multibyte charactermame2010-04-171-2/+2
| | | | | | as identifier. [ruby-core:27275] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb (Net::SMTP#rcptto_list): continue when at leastnobu2010-04-161-5/+17
| | | | | | | | one RCPT is accepted. based on a patch from Kero van Gelder at [ruby-core:26190]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/thread.rb (Queue#push, #pop, SizedQueue#push, #pop): removemame2010-04-161-20/+4
| | | | | | | | | code that kicks waiting thread twice, which caused race and deadlock. [ruby-core:25537] * test/thread/test_queue.rb: added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/ftp.rb (URI::FTP#set_path): added to correct handling ofmame2010-04-152-2/+10
| | | | | | | | | | | | | special case where path of ftp is relative. This converts relative path to absolute one, because external representation of ftp path is relative and internal representation is absolute. [ruby-core:24077] * lib/uri/ftp.rb (URI::FTP#initialize): converts absolute to relative. * lib/uri/generic.rb (URI::Generic#check_path): allow relative path when scheme is ftp. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/source.rb: force_encoding("UTF-8") when the inputnaruse2010-04-141-14/+25
| | | | | | is already UTF-8. patched by Kouhei Sutou [ruby-core:23404] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap (encode_utf7): encode & properly. Thanks, Kengoshugo2010-04-141-1/+1
| | | | | | Matsuyama. [ruby-dev:38063] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/completion.rb (CompletionProc): fix [ruby-dev:40953]keiju2010-04-131-3/+3
| | | | | | | | [Bug #3126]. Thanks Kazuhiro NISHIYAMA. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (fu_each_src_dest): ensure src is accessible.nobu2010-04-121-17/+3
| | | | | | | | | | * lib/fileutils.rb (fu_same): use File.identical? to get rid of exceptions. [ruby-core:28141] * lib/fileutils.rb (fu_have_st_ino): no longer used. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (fu_have_st_ino): check if required method isnobu2010-04-121-1/+1
| | | | | | | defined, instead of platform name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: New method Matrix.build [ruby-core:28272]marcandre2010-04-111-1/+47
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: Deprecate Vector#elements_to{i/f/r}marcandre2010-04-111-3/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: Deprecate elements_to_{f/i/r}marcandre2010-04-111-3/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: Handle coercion errors by raising TypeErrors [ruby-core:26736]marcandre2010-04-111-27/+31
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/ruby-lex.rb (RubyLex#getc): revert r10817, which causedmame2010-04-111-1/+0
| | | | | | | regression for handling case when there is no newline at the end of file. [ruby-core:28248] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to RDoc 2.5.3drbrain2010-04-112-30/+39
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/lib/syck/dbm.rb: moved to lib/yaml/dbm.rb since it is nottenderlove2010-04-112-0/+154
| | | | | | | | YAML engine specific * ext/syck/lib/syck/store.rb: moved to lib/yaml/store.rb since it is not YAML engine specific. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/rdoc.rb (setup_output_dir): compare by Time#to_i.naruse2010-04-111-1/+1
| | | | | | | | Cached created time doesn't have fractinal times, but FileStat#mtime has; so rdoc almost alway judged files are updated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/rdoc.rb (setup_output_dir): fix typo.naruse2010-04-101-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix :nodoc: definition. [ruby-dev:40949]naruse2010-04-101-4/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb (decode_www_form_component): validate.naruse2010-04-101-11/+7
| | | | | | | | | | [ruby-dev:40938] * lib/uri/common.rb (decode_www_form): allow empty string. * lib/uri/common.rb: fix nodoc for constant. [ruby-dev:40949] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/markup/preprocess.rb (RDoc::Markup::PreProcess#handle):naruse2010-04-101-1/+1
| | | | | | use File.binread to avoid locale dependency. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc: Import RDoc 2.5.2drbrain2010-04-1017-139/+194
| | | | | | | | | | * lib/rdoc/parser/ruby.rb (RDoc::Parser::Ruby): Don't parse rdoc files, reverts r24976 in favor of include directive support in C parser. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/init.rb, lib/irb/lc/help-message,mame2010-04-093-0/+16
| | | | | | lib/irb/lc/ja/help-message: add -w flag. [ruby-core:24594] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/completion.rb (CompletionProc): irb will be stuck withkeiju2010-04-091-3/+6
| | | | | | | | long variable name at copletion. [Bug#1969]. refix [ruby-core:28366]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb (decode_www_form): don't ignore leading '?'.naruse2010-04-091-3/+6
| | | | | | | | | [ruby-dev:40938] * lib/uri/common.rb (decode_www_form): check whether argument is valid application/x-www-form-urlencoded data. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add description about de facto FTP URI spec.naruse2010-04-091-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/completion.rb (CompletionProc): calling the method "methods"mame2010-04-081-4/+1
| | | | | | may raise an exception. [ruby-core:28366] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: use Psych if only it is loaded already.nobu2010-04-081-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb (YAML::EngineManager#yamler): set the result afternobu2010-04-081-1/+2
| | | | | | successfully switched. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/cmd/help.rb (IRB::ExtendCommand::Help#execute): use RInobu2010-04-071-1/+4
| | | | | | interactive mode if no argument. [ruby-dev:39839] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix rdoc. see r27156kazu2010-04-071-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/quickpath.rb (REXML::QuickPath::predicate): fix regexp.naruse2010-04-071-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/rdoc.rb (RDoc#{initialize,setup_output_dir}):nobu2010-04-061-3/+3
| | | | | | initialize @last_created and use it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Surpress warnings.naruse2010-04-063-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Refix previous commit.naruse2010-04-061-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix previous commit.naruse2010-04-062-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove warning.naruse2010-04-051-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/text.rb (REXML::Text.check): comment outnaruse2010-04-051-4/+5
| | | | | | broken logic. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/parsers/baseparser.rb (LETTER, DIGIT):naruse2010-04-054-15/+7
| | | | | | | | | | | | | | | | always use POSIX charclass. * lib/rexml/parsers/baseparser.rb (NAMECHAR): remove duplicated range. * lib/rexml/xmltokens.rb (NCNAME_STR, NAMECHAR): ditto. * lib/rexml/parsers/xpathparser.rb (PathExpr): ditto. * lib/rexml/text.rb (REXML::Text#initialize): initialize @parent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml: Moved to ext/syck/lib, Syck only uses Syck constant.tenderlove2010-04-0317-2175/+25
| | | | | | | * lib/yaml.rb: Added an engine manager for choosing YAML engine. * ext/syck/lib/syck/rubytypes.rb: squashed warnings when using Psych git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/rdoc.rb (RDoc#{setup,update}_output_dir): store mtimesnobu2010-04-031-8/+23
| | | | | | | | | per files in the flag file. * lib/rdoc/rdoc.rb (RDoc#normalized_file_list): skip already processed and unmodified files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (rdoc): no force-update, and add RDOCFLAGS.nobu2010-04-031-1/+1
| | | | | | * lib/rdoc/options.rb (RDoc#parse): no-force-update option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/benchmark.rb (Benchmark::Tms#add): fix NameError.kazu2010-04-021-1/+1
| | | | | | | | [ruby-dev:40906] * test/benchmark/test_benchmark.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e