aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rdoc
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade to RDoc 3.5.3. Fixes [Bug #4376]drbrain2011-02-074-16/+62
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import RDoc 3.5.2drbrain2011-02-059-271/+401
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Commit files I forgot to adddrbrain2011-02-021-0/+114
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import RDoc 3.5.1drbrain2011-02-0231-231/+757
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import RDoc 3.1drbrain2010-12-2814-39/+158
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/paths.rb (RDoc::RI::Paths::HOMEDIR): no exception ifnobu2010-12-261-6/+1
| | | | | | HOME is not set. [ruby-core:33867] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* There is no Perl parser in RDoc 3 ☹drbrain2010-12-201-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import RDoc 3drbrain2010-12-2067-2914/+6214
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/stats.rb (RDoc#print): get rid of NaN.nobu2010-11-111-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/*.rb: Remove unused variable warnings.marcandre2010-11-087-10/+6
| | | | | | Patch by Run Paint [ruby-core:30991] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/known_classes.rb (RDoc::KNOWN_CLASSES): add Encoding.nobu2010-09-291-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/store.rb (save_cache): remove duplicate entries.eban2010-09-211-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/driver.rb (RDoc::RI::Driver.setup_options)nobu2010-09-161-12/+17
| | | | | | | | (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
* * lib/rdoc/ri/paths.rb (RDoc::RI::Paths.each): HOMEDIR can be nilnobu2010-09-161-2/+2
| | | | | | if $HOME is unset. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (tr_setup_table): fix bug in r29146.naruse2010-08-301-2/+2
| | | | | | | | | | 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
* * lib/rdoc/parser/ruby.rb (RDoc#parse_call_parameters): don'tnobu2010-08-291-1/+1
| | | | | | include assignment. [Bug #3759], [ruby-dev:42154] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parser/ruby.rb (RDoc#parse_class): ignore non-constantnobu2010-08-291-1/+1
| | | | | | 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
* * lib/rdoc/ri/driver.rb (setup_pager): no need to check the existenceusa2010-08-031-1/+1
| | | | | | | | 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
* * lib/rdoc/markup/attribute_manager.rb: fixing ri output when specialtenderlove2010-07-141-2/+2
| | | | | | | 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
* * lib/rdoc/ri/driver.rb (RDoc::RI::Driver#formatter): should use bsmame2010-06-271-3/+3
| | | | | | 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
* * lib/rdoc/generator/template/darkfish/classpage.rhtml:naruse2010-05-291-1/+1
| | | | | | 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
* * lib/rdoc/rdoc.rb (RDoc#read_file_contents): take care of BOM.nobu2010-05-291-3/+5
| | | | | | | [ruby-dev:41452] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/generator/ri.rb (generate): should load existing cacheusa2010-05-121-0/+2
| | | | | | | before generating it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/task.rb (RDoc::Task): should not override newer code.nobu2010-05-021-228/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Upgrade to RDoc 2.5.8drbrain2010-05-011-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import RDoc 2.5.7. Fixes #1318 and ruby-core:29780drbrain2010-04-2714-83/+159
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to RDoc 2.5.6drbrain2010-04-238-8/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to RDoc 2.5.5drbrain2010-04-213-7/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import RDoc 2.5.4drbrain2010-04-197-50/+82
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to RDoc 2.5.3drbrain2010-04-111-29/+38
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27295 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
* * 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-1016-138/+193
| | | | | | | | | | * 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/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-061-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27235 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/rdoc/parser/ruby.rb (RDoc#make_message): no empty lines.nobu2010-04-022-3/+3
| | | | | | | | * 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
* * lib/rdoc/parser/ruby.rb (RDoc#error): get rid of magic number.nobu2010-04-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/class_module.rb (RDoc#merge): get rid of stack overflow.nobu2010-04-021-3/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parser/c.rb (RDoc#handle_method): see source files innobu2010-04-021-3/+2
| | | | | | | source directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/rdoc.rb: reverted r27186 to add generators.nobu2010-04-021-4/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/rdoc.rb (RDoc::Generator): defer by autoload.nobu2010-04-022-9/+5
| | | | | | | * 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
* * lib/rdoc/rdoc.rb (RDoc::RDoc#parse_files): don't branch bynobu2010-04-021-5/+1
| | | | | | RUBY_VERSION. reapplied r24990. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/rdoc.rb (RDoc::RDoc#parse_files): emacs local variablesnobu2010-04-021-1/+1
| | | | | | | 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
* * lib/rdoc/parser/ruby.rb (RDoc::Parser::Ruby): parse also rdocnobu2010-04-021-1/+1
| | | | | | files. reapplied r24976. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parser/c.rb: fixed a small error in the documentation.nobu2010-04-021-1/+1
| | | | | | [ruby-core:24744] reapplied r24395. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parser.rb (RDoc::Parser.binary?): blksize may be nilnobu2010-04-021-5/+2
| | | | | | | | 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
* * lib/rdoc/ri/paths.rb (RDoc::RI::Paths): Gem::Enable has beennobu2010-04-021-2/+1
| | | | | | obsolete. reapplied r24599. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e