Граф коммитов

412 Коммитов

Автор SHA1 Сообщение Дата
drbrain 70fc27b7fa * lib/rdoc/generator/darkfish.rb: Set encoding on output template to
user-specified encoding.
* test/rdoc/test_rdoc_generator_darkfish.rb:  Test for above.

* lib/rdoc.rb:  Bump version


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-08 04:12:56 +00:00
drbrain 6d0647c350 * lib/rdoc: Import RDoc 4.0.0.rc.2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-06 08:05:44 +00:00
drbrain bd5efa7ff6 * lib/rdoc/servlet.rb: Fixed root search paths, filesystem paths
instead of HTTP paths were returned.
* test/rdoc/test_rdoc_servlet.rb:  Test for above.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-05 08:24:20 +00:00
drbrain 2d579c0074 * lib/rdoc/generator/darkfish.rb: Fixed debug message. RDoc bug #174
by Thomas Leitner.

* lib/rdoc/store.rb:  Fixed deletion of ri attribute data when a class
  was loaded then saved.  RDoc bug #171 by Thomas Leitner.
* test/rdoc/test_rdoc_store.rb:  Test for above.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-25 00:15:08 +00:00
drbrain 5864dbc9f1 * lib/rdoc/servlet.rb: Fixed display of site and home documentation.
Fixes rdoc issue #170 by Thomas Leitner.
* test/rdoc/test_rdoc_servlet.rb:  Test for above.

* lib/rdoc/code_object.rb:  Split #initialize_visibility from
  #initialize for reuse when loading a stored object.
  Fixes rdoc issue #171 by Thomas Leitner.

* lib/rdoc/any_method.rb:  Initialize visibility for #display?  For
  rdoc issue #171
* lib/rdoc/attr.rb:  ditto.
* lib/rdoc/class_module.rb:  ditto.
* lib/rdoc/top_level.rb:  ditto.
* test/rdoc/test_rdoc_any_method.rb:  Test for above.
* test/rdoc/test_rdoc_attr.rb:  ditto.
* test/rdoc/test_rdoc_class_module.rb:  ditto.
* test/rdoc/test_rdoc_constant.rb:  ditto.
* test/rdoc/test_rdoc_top_level.rb:  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-23 01:02:24 +00:00
drbrain 247d51a44f * .document: Removed extra space
* lib/irb/lc/.document:  Hide help-message
* lib/minitest/.document:  Hide README.txt
* lib/rake/lib/.document:  Hide project.rake
* lib/rdoc/generator/template/json_index/.document:  Hide JavaScript
  files
* lib/rubygems/ssl_certs/.document:  Hide PEM files.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-16 00:36:07 +00:00
drbrain c8633294c6 * lib/rdoc/top_level.rb: Fixed extension trimming for page names in
RDoc HTML output.  [ruby-trunk - Bug #7673]
* test/rdoc/test_rdoc_top_level.rb:  Test for above.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-14 22:43:21 +00:00
drbrain f3b24b5b7f * lib/rdoc/cross_reference.rb: Fixed matching of C#=== or #===. RDoc
bug #164
* test/rdoc/test_rdoc_cross_reference.rb:  Test for above.

* lib/rdoc/parser/changelog.rb:  Fixed parsing of dates.  RDoc bug #165
* test/rdoc/test_rdoc_parser_changelog.rb:  Test for above.

* lib/rdoc/parser.rb:  Fixed parsing multibyte files with incomplete
  characters at byte 1024.  [ruby-trunk - Bug #6393]
  Fixed handling of -E.  [ruby-trunk - Bug #6392]
* test/rdoc/test_rdoc_options.rb:  Test for above.
* test/rdoc/test_rdoc_parser.rb:  ditto.
* test/rdoc/test_rdoc_parser_c.rb:  ditto.
* test/rdoc/test_rdoc_parser_changelog.rb:  ditto.
* test/rdoc/test_rdoc_parser_markdown.rb:  ditto.
* test/rdoc/test_rdoc_parser_rd.rb:  ditto.
* test/rdoc/test_rdoc_rdoc.rb:  ditto.

* lib/rdoc/tom_doc.rb:  Fixed parsing of [] in TomDoc arguments list.
  RDoc bug #167
* test/rdoc/test_rdoc_tom_doc.rb:  Test for above.

* lib/rdoc.rb:  Update version.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-04 06:16:13 +00:00
drbrain a6ed298df7 * lib/rdoc/parser/ruby.rb: Ignore methods defined on constants to
prevent modules with the names of constants from appearing in the
  documentation.
* test/rdoc/test_rdoc_parser_ruby.rb:  Test for the above.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-20 06:23:28 +00:00
drbrain ec6cacf00a * lib/rdoc/markup/to_html.rb (class RDoc): Added current heading and
top links to headings.
* lib/rdoc/generator/template/darkfish/rdoc.css:  ditto
* test/rdoc/test_rdoc_generator_markup.rb:  Test for above
* test/rdoc/test_rdoc_markup_to_html.rb:  ditto

* test/rdoc/test_rdoc_comment.rb:  Removed trailing whitespace.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-20 03:57:08 +00:00
drbrain dff59f6c5d * lib/rdoc/encoding.rb: Do not remove #! line from document when
setting encoding.  This allows ruby executables to be parsed as ruby
  files.
* test/rdoc/test_rdoc_encoding.rb:  Test for above.

* lib/rdoc/parser.rb:  Set the parser file name of ruby executables
  correctly.
* test/rdoc/test_rdoc_parser.rb:  Test for above.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-18 08:24:57 +00:00
drbrain 69dfd5e034 * lib/rdoc/store.rb: Work around RDoc stores from older versions of
RDoc.
* test/rdoc/test_rdoc_store.rb:  Test for above.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-18 07:39:15 +00:00
drbrain 2e881bd59e * lib/rdoc/ruby_lex.rb: Return a TkHEREDOC instead of a TkSTRING when
the heredoc identifier is followed by a line-end.  This allows proper
  display of some HEREDOCs in source view.
* lib/rdoc/ruby_token.rb:  Added TkHEREDOC
* test/rdoc/test_rdoc_ruby_lex.rb:  Test for above.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-18 07:31:36 +00:00
drbrain 810008293f * lib/rdoc.rb: Updated VERSION.
* lib/rdoc/markup/attribute_manager.rb:  Removed useless empty check.

	* lib/rdoc/markup/to_markdown.rb:  Support links from other formats.
	* lib/rdoc/markup/formatter.rb:  ditto.
	* lib/rdoc/markup/to_html.rb:  ditto.
	* test/rdoc/test_rdoc_markup_formatter.rb:  Test for above.
	* test/rdoc/test_rdoc_markup_to_html.rb:  ditto.
	* test/rdoc/test_rdoc_markup_to_markdown.rb:  ditto.

	* lib/rdoc/rd/block_parser.rb:  Improved footnote display.  Worked
	  around bug in footnote conversion to Markdown.
	* test/rdoc/test_rdoc_rd_block_parser.rb:  Test for above.

	* lib/rdoc/rd/inline_parser.rb:  Fixed bug with emphasis inside
	  verbatim.
	* test/rdoc/test_rdoc_rd_inline_parser.rb:  Test for above.

	* test/rdoc/test_rdoc_parser_rd.rb:  Use mu_pp, use shortcut methods.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-16 23:07:49 +00:00
drbrain 8adec52962 * lib/rdoc/rubygems_hook.rb: Fixed generation of documentation.
Disabled rdoc generation by default to match RubyGems defaults.
  Reduced diff with RubyGems::RDoc.
* test/rdoc/test_rdoc_rubygems_hook.rb:  Tests for the above.
* test/rubygems/test_gem_rdoc.rb:  ditto.

* lib/rdoc/store.rb:  Removed useless variable assignment


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-14 05:16:56 +00:00
drbrain d8c7695fbb * lib/rdoc/class_module.rb: Fixed duplicate comments for classes and
modules from C.
* test/rdoc/test_rdoc_class_module.rb:  Test for the above.

* lib/rdoc/parser/c.rb:  Reload C variable names to allow proper
  updates of an ri store for C files.
* lib/rdoc/rdoc.rb:  ditto.
* lib/rdoc/store.rb:  ditto.
* test/rdoc/test_rdoc_parser_c.rb:  Test for the above.
* test/rdoc/test_rdoc_store.rb:  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-13 07:58:47 +00:00
drbrain 182ce60f75 * lib/rdoc/class_module.rb: Added RDoc::ClassModule#documented? which
checks comment_location.  Hide RDoc::ClassModule#comment=.
* test/rdoc/test_rdoc_class_module.rb:  Test for above.

* lib/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml:
  Fix display of the table of contents in the sidebar.

* lib/rdoc/generator/template/darkfish/table_of_contents.rhtml:
  Use #comment_location when displaying classes or modules.

* test/rdoc/test_rdoc_store.rb:  Use comment_location.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-12 05:16:53 +00:00
drbrain b65b75bf2c * lib/rdoc/options.rb: Added --page-dir option for moving pages in
doc/ to the top-level.
* lib/rdoc/rdoc.rb:  ditto.
* test/rdoc/test_rdoc_options.rb:  Test for the above.
* test/rdoc/test_rdoc_rdoc.rb:  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-11 07:44:56 +00:00
drbrain 4eaf05c847 * lib/rdoc/markdown/entities.rb: Added documentation.
* lib/rdoc/parser/ruby.rb:  Updated style

* lib/rdoc/ruby_lex.rb:  Parse characters up to \u{FFFFF}
* test/rdoc/test_rdoc_ruby_lex.rb:  Test for above.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-08 21:19:22 +00:00
drbrain 85e3560a3b * lib/rdoc/markup/to_joined_paragraph.rb: Completed documentation
* lib/rdoc/parser/c.rb:  ditto
* lib/rdoc/parser/changelog.rb:  ditto
* lib/rdoc/servlet.rb:  ditto
* lib/rdoc/store.rb:  ditto

* lib/rdoc/store.rb:  Improved HTML error page.  Completed
  documentation

* lib/rdoc/parser/ruby.rb:  Fixed bug attaching a comment to A::B = 42
* test/rdoc/test_rdoc_parser_ruby.rb:  Test for above

* test/rdoc/test_rdoc_comment.rb:  Removed garbage


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-07 05:22:50 +00:00
drbrain 854758c464 * lib/rdoc/context.rb: Don't warn for duplicate methods while loading.
* test/rdoc/test_rdoc_context.rb:  Test for above.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-06 06:20:50 +00:00
drbrain 54c40f3db5 * lib/rdoc*: Improved display of ChangeLog files as HTML.
* test/rdoc*:  Test for above.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-05 22:20:15 +00:00
drbrain 16c34f9df0 * lib/rdoc/parser/changelog.rb: Parse more ChangeLog file variations.
* test/rdoc/test_rdoc_parser_changelog.rb:  Test for above.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-05 07:07:28 +00:00
drbrain 38b9667310 * lib/rdoc/parser/changelog.rb: Added a ChangeLog parser to RDoc.
* lib/rdoc/parser.rb:  ditto
* test/rdoc/test_rdoc_parser_changelog.rb:  Test for above.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-04 07:50:48 +00:00
drbrain ec05ade531 * lib/rdoc/ri/driver.rb: Fixed ri page display for files with
extensions.
* test/rdoc/test_rdoc_ri_driver.rb:  Test for above


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-03 23:32:39 +00:00
drbrain 488fb86a1e * lib/rdoc/parser.rb: Improved modeline support. Patch by nobu.
* test/rdoc/test_rdoc_parser.rb:  Test for above.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-02 22:52:57 +00:00
drbrain f242cefc68 * lib/rdoc/parser.rb: Parse files with a -*- rdoc -*- modeline
* test/rdoc/test_rdoc_parser.rb:  Test for above


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-01 22:24:53 +00:00
nobu 946ab45d65 markdown.rb: \r
* lib/rdoc/markdown.rb (RDoc::Markdown): use \r instead of raw control
  code.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-01 03:57:43 +00:00
drbrain 696ebcd8ca * lib/rdoc/ri/driver.rb: Relaxed matching for pages to be more
user-friendly.
* test/rdoc/test_rdoc_ri_driver.rb:   Test for above.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-30 01:39:03 +00:00
drbrain 9674860077 * lib/rdoc/markdown.rb: Fixed warnings with -w
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-30 01:01:26 +00:00
drbrain 09af9d7f7f * lib/rdoc/generator/darkfish.rb: Silenced warning
* test/rdoc/test_rdoc_rdoc.rb:  ditto

	* lib/rdoc/markup/parser.rb:  Use byteslice when available for
	  performance
	* test/rdoc/test_rdoc_markup_parser.rb:  Test for above
	* lib/rdoc/test_case.rb:  ditto

	* lib/rdoc/parser/ruby.rb:  Fixed bug parsing yield({})
	* test/rdoc/test_rdoc_parser_ruby.rb (end):

	* lib/rdoc/rubygems_hook.rb:  Skip default gems.  Display generator
	  name properly.
	* test/rdoc/test_rdoc_rubygems_hook.rb:  Test for above

	* lib/rdoc/servlet.rb:  Fixed typo.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-29 23:34:29 +00:00
naruse 07b10cd59f * lib/rdoc/test_case.rb (RDoc::TestCase#verbose_capture_io):
defined for asserts of warnings.

* test/rdoc: use verbose_capture_io on asserts of warnings.
  they failed when tests was run with RUBYOPT=-W0.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-29 07:01:46 +00:00
nobu ecaba0f21f remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-29 02:58:31 +00:00
drbrain 45011d08e1 * lib/rdoc/servlet.rb: Add support for serving documentation from a
subdirectory.
* lib/rdoc/generator/darkfish.rb:  ditto
* test/rdoc/test_rdoc_servlet.rb:  Test for above
* test/rdoc/test_rdoc_servlet.rb:  ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-28 07:41:19 +00:00
drbrain 6d1266a879 * lib/rdoc/*: Added --root option for building documentation outside
the source directory.
* test/rdoc/*:  ditto
* common.mk (rdoc):  Added --root to rdoc rule


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-27 08:54:03 +00:00
drbrain cb581e2059 * lib/rdoc/rubygems_hook.rb: Updated for (upcoming) RubyGems 2
import.
* test/rdoc/test_rdoc_rubygems_hook.rb:  ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-27 06:01:41 +00:00
drbrain 1c279a7d27 * lib/rdoc*: Updated to RDoc 4.0 (pre-release)
* bin/rdoc:  ditto
* test/rdoc:  ditto
* NEWS:  Updated with RDoc 4.0 information


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-27 04:28:14 +00:00
naruse 8109c530b2 * lib/rdoc/parser.rb (RDoc.binary?): fix wrong regexp.
[ruby-core:44798] [Bug #6393]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-03 22:20:26 +00:00
nobu 9bee6cf51f rdoc: --extension option fix
* lib/rdoc/parser.rb (RDoc.alias_extension): a real file is irrelevant
  to aliasing.  [ruby-core:44796][Bug #6392]
* lib/rdoc/parser.rb (RDoc.zip?): non-existent file will not be a zip
  file.
* lib/rdoc/parser.rb (RDoc.can_parse_by_name): accept aliased
  extension file names.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-03 16:33:22 +00:00
nobu 1348e3b9ac rdoc: non-binary multibyte
* lib/rdoc/parser.rb (RDoc.binary?): binary read data may have
  incomplete multibyte sequence.  [ruby-core:44798][Bug #6393]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-03 16:31:25 +00:00
nobu 6da92c3e89 * lib/rdoc/task.rb: suppress overriding deprecated class warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-29 07:38:14 +00:00
usa 434a5f93ad * lib/rdoc/encoding.rb (RDoc::Encoding.read_file): fixup newline chars
on Windows.
  see https://github.com/rdoc/rdoc/issues/87

* test/rdoc/test_rdoc_markup_pre_process.rb
  (TestRDocMarkupPreProcess#test_include_file, 
  TestRDocMarkupPreProcess#test_include_file_encoding_incompatible):
  follow above change.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-30 00:13:02 +00:00
drbrain 80d6bf2291 * lib/rdoc: Import RDoc 3.9.4. Typo and grammar fixes by Luke Gruber.
[Ruby 1.9 - Bug #5203]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-26 23:45:41 +00:00
drbrain 61920a128a * lib/rdoc: Update to RDoc 3.9.3. Fixes RDoc with `ruby -Ku`. Allows
HTTPS image paths to be turned into <img> tags.  Prevents special
  markup inside <tt> from being processed.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-23 23:53:49 +00:00
drbrain 73f0448e98 * lib/rdoc: Import RDoc 3.9.2. Fixes TIDYLINK for HTML output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-11 18:31:49 +00:00
drbrain a429cafc4d * lib/rdoc.rb: Import RDoc 3.9.1. Fixes bugs in the RDoc::Markup
parser.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-01 05:25:13 +00:00
drbrain 89b601d176 * lib/rdoc: Update to RDoc 3.9. Fixed `ri []`, stopdoc creating an
object reference, nodoc for class aliases, verbatim === lines.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-31 00:19:00 +00:00
drbrain e75e7fcc9f * lib/rdoc: Update to RDoc 3.8 which contains fixes for documentation
in trunk.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-29 21:17:31 +00:00
drbrain 84ece95163 * lib/rdoc: Update to RDoc 3.7 (final)
* NEWS:  ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-28 02:28:25 +00:00
drbrain b7528b5edb * lib/rdoc.rb: Import RDoc 3.7 release candidate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-16 04:59:24 +00:00
drbrain f4b52722aa * lib/rdoc.rb: Update to RDoc 3.6.1, allows OpenSSL::Digest to be
found.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-15 23:00:21 +00:00
nobu 3a47cf3395 * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-15 11:55:52 +00:00
drbrain 4bf8c87101 * lib/rdoc/context.rb (class RDoc): Fix infinite loop caused by
re-encountering BasicObject.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-14 03:07:38 +00:00
drbrain 0b6da24a5e * lib/rdoc.rb: Updated to RDoc 3.6
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-14 00:39:16 +00:00
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