drbrain
a7df5ace7e
Update to RDoc 2.5.5
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-21 03:10:03 +00:00
xibbar
2b222b9b17
* lib/cgi/{core, util}.rb (RFC822_DAYS, RFC822_MONTHS):
...
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
2010-04-20 03:39:34 +00:00
shyouhei
50fa45fb89
* lib/fileutils.rb (FileUtils::cp_r): dup needed here; options are
...
destroyed otherwise.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-19 10:46:48 +00:00
drbrain
75ef9e79d6
Import RDoc 2.5.4
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-19 05:08:28 +00:00
nobu
37e59f5583
* lib/timeout.rb (Timeout#timeout): propagate errors to the
...
caller. [ruby-dev:41010]'
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-19 03:46:17 +00:00
akr
20a6e94e47
* lib/resolv.rb (Resolv::IPv4::Regex): make it only accept 0 to 255.
...
[ruby-core:29501]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-18 09:09:46 +00:00
naruse
fd734e6cc6
* lib/irb/ruby-lex.rb (identify_identifier): add '_' to the regexp.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-17 17:15:20 +00:00
mame
0b28bf2958
* lib/irb/ruby-lex.rb (identify_identifier): allow multibyte character
...
as identifier. [ruby-core:27275]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-17 11:37:56 +00:00
nobu
2939d61f28
* lib/net/smtp.rb (Net::SMTP#rcptto_list): continue when at least
...
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
2010-04-16 23:57:43 +00:00
mame
93c5002a7c
* lib/thread.rb (Queue#push, #pop, SizedQueue#push, #pop): remove
...
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
2010-04-16 11:10:08 +00:00
mame
8588e7631e
* lib/uri/ftp.rb (URI::FTP#set_path): added to correct handling of
...
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
2010-04-15 13:41:19 +00:00
naruse
46ff009168
* lib/rexml/source.rb: force_encoding("UTF-8") when the input
...
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
2010-04-14 13:11:11 +00:00
shugo
2587316c73
* lib/net/imap (encode_utf7): encode & properly. Thanks, Kengo
...
Matsuyama. [ruby-dev:38063]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-14 04:00:09 +00:00
keiju
5ee43b0a94
* lib/irb/completion.rb (CompletionProc): fix [ruby-dev:40953]
...
[Bug #3126 ]. Thanks Kazuhiro NISHIYAMA.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-13 05:01:10 +00:00
nobu
3a2f5d9cf7
* lib/fileutils.rb (fu_each_src_dest): ensure src is accessible.
...
* 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
2010-04-12 00:19:52 +00:00
nobu
a3dde7df52
* lib/fileutils.rb (fu_have_st_ino): check if required method is
...
defined, instead of platform name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-12 00:18:55 +00:00
marcandre
17fa2ce73a
* lib/matrix.rb: New method Matrix.build [ruby-core:28272]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-11 20:10:43 +00:00
marcandre
521f4a4beb
* lib/matrix.rb: Deprecate Vector#elements_to{i/f/r}
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-11 18:50:51 +00:00
marcandre
3f64c83eb1
* lib/matrix.rb: Deprecate elements_to_{f/i/r}
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-11 18:45:58 +00:00
marcandre
e0cfb13c32
* lib/matrix.rb: Handle coercion errors by raising TypeErrors [ruby-core:26736]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-11 18:30:58 +00:00
mame
748782bfc9
* lib/irb/ruby-lex.rb (RubyLex#getc): revert r10817, which caused
...
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
2010-04-11 05:47:18 +00:00
drbrain
ff5366a705
Update to RDoc 2.5.3
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-11 01:34:28 +00:00
tenderlove
48a68756f5
* ext/syck/lib/syck/dbm.rb: moved to lib/yaml/dbm.rb since it is not
...
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
2010-04-11 01:21:29 +00:00
naruse
7f72d102cb
* lib/rdoc/rdoc.rb (setup_output_dir): compare by Time#to_i.
...
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
2010-04-11 00:00:43 +00:00
naruse
7be704b359
* lib/rdoc/rdoc.rb (setup_output_dir): fix typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-10 22:41:36 +00:00
naruse
e707e05fe8
Fix :nodoc: definition. [ruby-dev:40949]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-10 22:09:09 +00:00
naruse
9e30f60dbf
* lib/uri/common.rb (decode_www_form_component): validate.
...
[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
2010-04-10 22:05:02 +00:00
naruse
a315079390
* lib/rdoc/markup/preprocess.rb (RDoc::Markup::PreProcess#handle):
...
use File.binread to avoid locale dependency.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-10 12:28:13 +00:00
drbrain
1325437297
* lib/rdoc: Import RDoc 2.5.2
...
* 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
2010-04-10 06:36:13 +00:00
mame
d3e7b990dc
* lib/irb/init.rb, lib/irb/lc/help-message,
...
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
2010-04-09 14:55:18 +00:00
keiju
c13142643d
* lib/irb/completion.rb (CompletionProc): irb will be stuck with
...
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
2010-04-09 12:28:00 +00:00
naruse
8a3c3b9c95
* lib/uri/common.rb (decode_www_form): don't ignore leading '?'.
...
[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
2010-04-09 11:58:20 +00:00
naruse
e9cfe47700
Add description about de facto FTP URI spec.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-09 08:15:33 +00:00
mame
d56c658030
* lib/irb/completion.rb (CompletionProc): calling the method "methods"
...
may raise an exception. [ruby-core:28366]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-08 16:16:17 +00:00
nobu
23d104a161
* lib/yaml.rb: use Psych if only it is loaded already.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-08 02:45:23 +00:00
nobu
3a45ac8af1
* lib/yaml.rb (YAML::EngineManager#yamler): set the result after
...
successfully switched.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-08 02:32:06 +00:00
nobu
0f58f9dbe7
* lib/irb/cmd/help.rb (IRB::ExtendCommand::Help#execute): use RI
...
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
2010-04-07 22:16:47 +00:00
kazu
4900daa4a3
fix rdoc. see r27156
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-07 08:50:36 +00:00
naruse
66a425c65c
* lib/rexml/quickpath.rb (REXML::QuickPath::predicate): fix regexp.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-07 02:59:33 +00:00
nobu
640c32ef77
* lib/rdoc/rdoc.rb (RDoc#{initialize,setup_output_dir}):
...
initialize @last_created and use it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-06 18:29:20 +00:00
naruse
e41936441b
Surpress warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-06 03:01:52 +00:00
naruse
b3ac1c3fb8
Refix previous commit.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-06 00:53:14 +00:00
naruse
75ba1d6ac4
Fix previous commit.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-06 00:22:04 +00:00
naruse
9ea41e083c
Remove warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-05 21:27:40 +00:00
naruse
8287d55340
* lib/rexml/text.rb (REXML::Text.check): comment out
...
broken logic.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-05 21:21:53 +00:00
naruse
40bc864003
* lib/rexml/parsers/baseparser.rb (LETTER, DIGIT):
...
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
2010-04-05 21:08:12 +00:00
tenderlove
eb71e5cd67
* lib/yaml: Moved to ext/syck/lib, Syck only uses Syck constant.
...
* 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
2010-04-03 21:50:47 +00:00
nobu
8acd03f0f7
* lib/rdoc/rdoc.rb (RDoc#{setup,update}_output_dir): store mtimes
...
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
2010-04-03 09:15:13 +00:00
nobu
f01510d074
* common.mk (rdoc): no force-update, and add RDOCFLAGS.
...
* 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
2010-04-03 06:09:37 +00:00
kazu
fe0aab0911
* lib/benchmark.rb (Benchmark::Tms#add): fix NameError.
...
[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
2010-04-02 18:22:29 +00:00