drbrain
7ed51785df
* lib/rdoc/rdoc.rb: Output summary after documentation report.
...
* lib/rdoc/stats/normal.rb: Don't output information for users when
we're not on a TTY
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-12 23:41:35 +00:00
drbrain
60f2c9cf5b
Upgrade to RDoc 3.5.3. Fixes [Bug #4376 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-07 07:07:12 +00:00
drbrain
8aa895294b
Import RDoc 3.5.2
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-05 06:20:57 +00:00
drbrain
de15b19498
Commit files I forgot to add
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-02 05:52:11 +00:00
drbrain
cc2a16d94d
Import RDoc 3.5.1
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-02 00:32:30 +00:00
drbrain
e2efe8e81d
Import RDoc 3.1
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-28 22:08:56 +00:00
nobu
fc0df967d7
* lib/rdoc/ri/paths.rb (RDoc::RI::Paths::HOMEDIR): no exception if
...
HOME is not set. [ruby-core:33867]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-26 03:16:34 +00:00
drbrain
9d767bc265
There is no Perl parser in RDoc 3 â¹
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-20 03:32:22 +00:00
drbrain
2ef9c50c6e
Import RDoc 3
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-20 03:22:49 +00:00
nobu
994876860b
* lib/rdoc/stats.rb (RDoc#print): get rid of NaN.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11 12:49:11 +00:00
marcandre
571ed8655f
* lib/rdoc/*.rb: Remove unused variable warnings.
...
Patch by Run Paint [ruby-core:30991]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-08 20:58:28 +00:00
nobu
510ae756be
* lib/rdoc/known_classes.rb (RDoc::KNOWN_CLASSES): add Encoding.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-29 03:31:32 +00:00
eban
c72e6c7b86
* lib/rdoc/ri/store.rb (save_cache): remove duplicate entries.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-21 15:56:41 +00:00
nobu
9bc2e3280a
* lib/rdoc/ri/driver.rb (RDoc::RI::Driver.setup_options)
...
(RDoc::RI::Driver.fixup_options): split from process_args.
libraries should not parse ARGV inside, since it's a task of
applications, not libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-16 12:31:29 +00:00
nobu
75d694e535
* lib/rdoc/ri/paths.rb (RDoc::RI::Paths.each): HOMEDIR can be nil
...
if $HOME is unset.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-16 12:02:34 +00:00
naruse
d074ef4d60
* string.c (tr_setup_table): fix bug in r29146.
...
Initialize table even if cflag is 0; tr_find see whether
del is empty or not.
* string.c (tr_find): nodel can't be NULL; if NULL, it means
it is not specified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-30 19:45:30 +00:00
nobu
f4b2d14572
* lib/rdoc/parser/ruby.rb (RDoc#parse_call_parameters): don't
...
include assignment. [Bug #3759 ], [ruby-dev:42154]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-29 14:54:16 +00:00
nobu
ccf4fbf78d
* lib/rdoc/parser/ruby.rb (RDoc#parse_class): ignore non-constant
...
name signleton class. [Bug #3759 ], [ruby-dev:42154]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-29 14:47:01 +00:00
usa
2fc40194d2
* lib/rdoc/ri/driver.rb (setup_pager): no need to check the existence
...
of pagers. the following code checks whether they are executable or
not.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-03 05:22:51 +00:00
tenderlove
1df8d6dbc3
* lib/rdoc/markup/attribute_manager.rb: fixing ri output when special
...
characters are inside html tags. Thanks Tomo Kazahaya! [Bug #3512 ]
* test/rdoc/test_attribute_manager.rb: corresponding test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-14 21:13:41 +00:00
mame
19e835f952
* lib/rdoc/ri/driver.rb (RDoc::RI::Driver#formatter): should use bs
...
format when stdout is piped. [ruby-core:30734]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-27 20:36:12 +00:00
naruse
abeb6dce85
* lib/rdoc/generator/template/darkfish/classpage.rhtml:
...
fix encoding value of XML declaration. [ruby-dev:41452]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-29 18:05:06 +00:00
nobu
8e9f30887c
* lib/rdoc/rdoc.rb (RDoc#read_file_contents): take care of BOM.
...
[ruby-dev:41452]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-29 03:05:55 +00:00
usa
db96db4285
* lib/rdoc/generator/ri.rb (generate): should load existing cache
...
before generating it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-12 06:46:53 +00:00
nobu
24bc7af43a
* lib/rdoc/task.rb (RDoc::Task): should not override newer code.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-02 08:52:20 +00:00
drbrain
9111bbf818
Upgrade to RDoc 2.5.8
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-01 05:06:21 +00:00
drbrain
336a8301f7
Import RDoc 2.5.7. Fixes #1318 and ruby-core:29780
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-27 03:45:22 +00:00
drbrain
400afca88a
Update to RDoc 2.5.6
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-23 02:32:20 +00:00
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
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
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
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
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
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
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
nobu
eb86567b69
* lib/rdoc/parser/ruby.rb (RDoc#make_message): no empty lines.
...
* lib/rdoc/stats.rb (RDoc::Normal#print_file): send to stdout and
flush always
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 16:50:14 +00:00
nobu
e654e593a5
* lib/rdoc/parser/ruby.rb (RDoc#error): get rid of magic number.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 16:45:47 +00:00
nobu
58a93ce441
* lib/rdoc/class_module.rb (RDoc#merge): get rid of stack overflow.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 15:03:18 +00:00
nobu
232ced7342
* lib/rdoc/parser/c.rb (RDoc#handle_method): see source files in
...
source directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 13:28:10 +00:00
nobu
166fedb45d
* lib/rdoc/rdoc.rb: reverted r27186 to add generators.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 13:13:45 +00:00
nobu
aae8b872d5
* lib/rdoc/rdoc.rb (RDoc::Generator): defer by autoload.
...
* lib/rdoc/generator/darkfish.rb: use normal library instead of
gem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 05:43:27 +00:00
nobu
104ff6089d
* lib/rdoc/rdoc.rb (RDoc::RDoc#parse_files): don't branch by
...
RUBY_VERSION. reapplied r24990.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 05:26:38 +00:00
nobu
2df7054c30
* lib/rdoc/rdoc.rb (RDoc::RDoc#parse_files): emacs local variables
...
are delimited by a semicolon. supported Vim style. reapplied
r24988 with fixing a typo for shebang.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 05:24:33 +00:00
nobu
30527783c7
* lib/rdoc/parser/ruby.rb (RDoc::Parser::Ruby): parse also rdoc
...
files. reapplied r24976.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 05:17:01 +00:00
nobu
8d3537a85c
* lib/rdoc/parser/c.rb: fixed a small error in the documentation.
...
[ruby-core:24744] reapplied r24395.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 05:14:39 +00:00
nobu
06adf90ab6
* lib/rdoc/parser.rb (RDoc::Parser.binary?): blksize may be nil
...
and is irrelevant to whether a file is binary. TAB and newlines
would be usually considered to be included in text data.
reapplied r23071 and r24297.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 05:12:31 +00:00