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

134 Коммитов

Автор SHA1 Сообщение Дата
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
drbrain d3c6187a4d * test/rdoc/test_rdoc_options.rb: Windows drive letters are
case-insensitive.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-01 00:49:20 +00:00
usa ad01ea426c * test/rdoc/test_rdoc_rubygems_hook.rb
(TestRDocRubygemsHook#test_setup_unwritable): 1. check the existance
  of the file(directory) before touch it.  2. remove test
  file(directory) after the test.  see [ruby-core:50388].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-30 17:11:11 +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 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
nobu cf1d6730c1 remove trainling spaces
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-29 08:10:23 +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
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 7de9e2dfde * test/rdoc/test_rdoc_ri_paths.rb: Fixed duplicate path bug which
caused windows failures.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-27 07:29:00 +00:00
drbrain ef8e0908af * test/rdoc/test_rdoc_generator_darkfish.rb: Updated tests for windows
* test/rdoc/test_rdoc_options.rb:  ditto
* test/rdoc/test_rdoc_parser.rb:  ditto
* test/rdoc/test_rdoc_rdoc.rb:  ditto
* test/rdoc/test_rdoc_ri_driver.rb:  ditto
* test/rdoc/test_rdoc_servlet.rb:  ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-27 07:09:21 +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 b67bc8d722 * test/date, test/rdoc: exclude tests dependent on unbundled libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-22 09:34:59 +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 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
usa f4e499de6c * test/rdoc/test_rdoc_markup_pre_process.rb (TestRDocMarkupPreProcess#
{test_include_file,test_include_file_encoding_incompatible}): no
  need to write such workaround.  don't hide the bug of ruby (and the
  bug is already fixed).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-06 05:38:11 +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
usa acda9a6872 * test/rdoc/test_rdoc_encoding.rb: remove unnecessary (and wrong)
platform-dependent hacks.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-09 00:47:42 +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
usa 55ea57af65 * test/rdoc/test_rdoc_options.rb (TestRDocOptions#test_check_files):
there is no easy way to create owner unreadable file on Windows.
  So, skip the test.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-07 01:23:28 +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
usa ae931140b9 * test/rdoc/test_rdoc_options.rb (TestRDocOptions#test_check_files):
skip on Windows because chmod 0 doesn't mean unreadable by owner.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-05 05:06:44 +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 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 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
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 7ea26779ab * test/rdoc/test_rdoc_ri_driver.rb (test_formatter): add a test. a
patch from caleb clausen in [ruby-core:31182].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-11 02:09:09 +00:00
tarui 18bbb1cfc8 * test/rdoc/test_rdoc_rdoc.rb: change to bin-mode to write directly.
reported at http://rubyforge.org/tracker/index.php?func=detail&aid=28249&group_id=627&atid=2472
	* test/rdoc/test_rdoc_markup_pre_process.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-28 17:28:52 +00:00
mame 5b5c6378c7 * test/rdoc/test_rdoc_ri_driver.rb (TestRDocRIDriver#test_formatter):
fix a test accordingly to r28455.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-28 13:16:17 +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
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
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 cf25ae4551 * test/rdoc/test_rdoc_ri_driver.rb (with_dummy_pager): don't grap
terminal.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 06:26:24 +00:00
nobu 88ccbf048f * test/rdoc/test_rdoc_parser.rb (test_class_can_parse): parse rdoc
as ruby.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 05:40:39 +00:00
nobu 2553a96f9e * {lib,test}/rdoc: removed trailing spaces. reapplied r22784.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 04:40:47 +00:00
naruse 71cfa6ea2d fix file path for building at other than src dir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-01 21:36:17 +00:00
drbrain 46580b5147 Import RDoc 2.5
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-01 07:45:16 +00:00
takano32 7e41da2cdf Tue Aug 18 13:46:14 2009 TAKANO Mitsuhiro (takano32) <tak@no32.tk>
* touch test/rdoc/empty.dat to run test_rdoc_parser.rb



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-18 04:52:41 +00:00
nobu 1ac307dddc * lib/rdoc/parser.rb (RDoc::Parser.binary?): fix for empty files.
[ruby-dev:38848]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-27 01:25:01 +00:00
nobu ba45b0fe48 * test/rdoc/test_rdoc_markup_to_html_crossref.rb (verify_convert):
appends backtrace.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-07 04:20:51 +00:00
nobu 882900d2d4 * test/erb/test_erb.rb: reverted space sensitive test results.
* test/rdoc/test_rdoc_parser_c.rb: ditto.

* test/rdoc/test_rdoc_ri_default_display.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-07 03:31:32 +00:00
nobu 287a34ae0d * {ext,lib,test}/**/*.rb: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 03:56:38 +00:00
nobu 0c835afac0 * test/rdoc/test_rdoc_info_formatting.rb (setup, teadown): uses
mktmpdir and removes it alfter the test.

* test/cgi/test_cgi_session.rb (setup, teadown): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-27 13:41:04 +00:00
drbrain 7222e82a8b Import RDoc 2.2.2 r192
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 23:05:28 +00:00
drbrain a42df5094d Fix some RDoc and RubyGems test interactions. Fix -n in test/runner.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-29 22:48:11 +00:00
mame 4e60b843c6 * test/rdoc/test_rdoc_info_formatting.rb (teardown): delete tmpdir for
test.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-28 16:52:56 +00:00
drbrain 858362e761 Import RDoc 2.2.1 r185
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-25 02:43:03 +00:00
mame 08bbb08c5f * test/rdoc/test_rdoc_parser_ruby.rb (teardown): close tempfile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-22 11:34:23 +00:00
drbrain cd9e9c6deb Update to RDoc 2.1.0 r112
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-21 18:35:14 +00:00
drbrain 71b4ecb3d3 Import RDoc r104. Various test fixes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-18 21:10:47 +00:00
drbrain fd25f74d64 Import RDoc r101.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-18 00:46:16 +00:00
mame 0af4a490b4 * test/rdoc/test_rdoc_c_parser.rb (teardown): close tempfile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-17 14:46:15 +00:00
drbrain c42a631063 Import RDoc 2.0.0 r56.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-26 16:14:19 +00:00
drbrain bcd4deb6c5 Allow inline markup to have a leading '#' or '\', or trailing punctuation.
i.e. *#freeze?*, *\foo?*.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-12 23:59:03 +00:00
drbrain 455b051a00 * lib/rdoc/code_objects.rb: Make some attributes accessible for reuse.
* lib/rdoc/generator/html.rb: Pull out ContextUser classes and related
	  methods for reuse.
	* lib/rdoc/generator.rb: Move ContextUser classes to
	  RDoc::Generator::Context for reuse.
	* lib/rdoc/rdoc.rb: Make RDoc::RDoc initialization a little easier.
	* lib/rdoc/options.rb: Make RDoc::Options easier to use without
	  parsing an ARGV.
	* lib/rdoc/markup/to_*.rb: Subclass RDoc::Markup::Formatter.
	* lib/rdoc/markup/formatter.rb: Add RDoc::Markup::Formatter to make
	  RDoc markup conversion easier.
	* lib/rdoc/markup/fragments.rb: Make RDoc::Markup::ListItem easier to
	  test.
	* lib/rdoc/markup/to_html_hyperlink.rb: Pulled out of the HTML
	  generator for easier reusability.
	* lib/rdoc/markup.rb: Fix bug with labeled lists containing bullet
	  lists.
	* lib/rdoc/generators/html/html.rb: Fix Constant display.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-10 03:59:08 +00:00
drbrain 02f4dcca2c * lib/rdoc/ri/formatter.rb: Indent labeled lists like note lists.
* test/rdoc/test_rdoc_ri_overstrike_formatter.rb:  Added.

* test/rdoc/test_rdoc_ri_formatter.rb:  Added tests.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-22 00:01:59 +00:00
drbrain 8d37cefaf8 * lib/rdoc/markup: Remove ListBase and Line constants.
* lib/rdoc/ri: Allow output IO to be specified.

* test/rdoc/parser/test_parse_c.rb: Move up one level, fixed.

* test/rdoc/parser/test_rdoc_markup_attribute_manager.rb: Renamed to
  match new class name, updated to match new classes.

* test/rdoc/test_rdoc_ri_formatter.rb: Start of RI formatting tests.

* test/rdoc/test_rdoc_ri_attribute_manager.rb: Start of
  RDoc::RI::AttributeManager tests.

* test/rdoc/test_simple_markup.rb: Moved to match new class name.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-19 00:06:19 +00:00
drbrain 4ddbd24eb3 Sort methods in TestSimpleMarkupAttributeManager
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28 06:30:37 +00:00
drbrain 2a812650a8 Move RDoc tests out of lib/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28 06:13:06 +00:00
drbrain d9591028f2 Merge RDoc updates from matzruby 11502, 11503, 11504
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-07 03:33:19 +00:00
drbrain 4e6f681b40 Allow RDoc comment to give friendly value for rb_define_const.
Patch by Daniel Berger <djberg96 at gmail.com>, [ruby-patches-7499].

Fix whitespace handling in constant comments.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-31 21:13:27 +00:00