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
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
nobu
5bdee08c1e
* lib/rdoc/ri/paths.rb (RDoc::RI::Paths): Gem::Enable has been
...
obsolete. reapplied r24599.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 04:59:27 +00:00
nobu
6a08bd9624
* lib/rdoc/ri/paths.rb: follows $ridir. reapplied r23554.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 04:57:16 +00:00
nobu
6926a10297
* lib/rdoc/ri/paths.rb (RDoc::HOMEDIR): expand_path deals with
...
platform dependent envirionments. reapplied r21312.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 04:52:03 +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
usa
10547e3c41
* lib/rdoc/parser.rb (binary?): regression.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 03:53:01 +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
naruse
ce35c0c650
* lib/rdoc/parser/ruby.rb: fix typo.
...
patched by Hal Brodigan [ruby-core:21536]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-23 15:34:47 +00:00
naruse
ad38805490
* lib/rdoc/markup/to_html_crossref.rb: fix failure of the test.
...
[ruby-core:20564]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-23 15:11:20 +00:00
naruse
eaa9ca7653
* lib/rdoc/generator/html.rb (RDoc::Generator::HTML#gen_into):
...
make the rdoc(generating html) run faster and use less memory.
patch by Tetsu Soh [ruby-core:27656]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-23 14:16:04 +00:00
nobu
2f2d213f7e
* lib/rdoc/rdoc.rb (RDoc::RDoc#parse_files): don't branch by
...
RUBY_VERSION.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-18 00:03:18 +00:00
nobu
70f03998c0
* lib/rdoc/rdoc.rb (RDoc::RDoc#parse_files): emacs local variables
...
are delimited by a semicolon. supported Vim style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-18 00:02:35 +00:00
nobu
c922e50804
* lib/rdoc/parser/ruby.rb (RDoc::Parser::Ruby): parse also rdoc
...
files.
* doc/re.rdoc: renamed from re.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-17 04:12:38 +00:00
nobu
09cbac3f86
* lib/rdoc/ri/gemdirs.rb: split from lib/rdoc/ri/paths.rb to get
...
rid of loading rubygems and searching all gems always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-20 22:25:52 +00:00
nobu
e22b92dce4
* lib/rdoc/ri/paths.rb (RDoc::RI::Paths): Gem::Enable has been obsolete.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-20 15:08:07 +00:00
nobu
5ea7e7f60b
* lib/rdoc/parser/c.rb: fixed a small error in the documentation.
...
[ruby-core:24744]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-04 15:33:11 +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
yugui
8875ffc412
* configure.in ($ridir): new configuration. [ruby-core:23520].
...
c.f. [ruby-core:23519].
(--with-ridir): new configure option.
* tool/instruby.rb (:doc, :rdoc): uses $ridir instead of
a fixed path.
* lib/rdoc/ri/paths.rb: follows $ridir.
* Makefile.in: removes RIDATADIR which is no longer used.
* bcc32/Makefile.sub: generates the 'ridir' entry for RbConfig.
removes RIDATADIR which is no longer used.
* win32/Makefile.sub: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-23 16:07:46 +00:00
nobu
8eee0060f5
* lib/yaml/rubytypes.rb (String#is_binary_data?): TAB would be
...
usually considered to be included in text data.
* lib/rdoc/parser.rb (RDoc::Parser.binary?): blksize may be nil
and is irrelevant to whether a file is binary. copied from
above since TAB and newlines would be usually considered to be
included in text data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-26 03:22:09 +00:00
nobu
e0b7af69b4
* lib/rdoc/ri/paths.rb (RDoc::RI::Paths): considers
...
--program-prefix and --program-suffix. reapplied r19923.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-26 02:33:16 +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
6754cad8e9
* lib/rubygems.rb (Gem.set_home, Gem.set_paths): should not create
...
directories stealthily. [ruby-core:20990]
* lib/rubygems.rb (Gem.find_home): expand_path deals with platform
dependent envirionments.
* lib/rdoc/ri/paths.rb (RDoc::HOMEDIR): ditto.
* instruby.rb (gem): creates gem directories at installation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-04 08:07:22 +00:00
usa
9541c63080
* lib/rdoc/parser.rb (RDoc::Parser.binary?): should read in binary mode.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-25 05:53:22 +00:00
drbrain
b8f7b97321
Don't coalesce adjacent comment blocks. [bug#901]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-23 05:16:54 +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
yugui
5660e09f08
* configure.in (sitedir): considers --program-prefix and
...
--program-suffix.
(vendordir): ditto.
(rubyhdrdir): ditto.
* mkconfig.rb (CONFIG["rubylibdir"]): ditto.
* win32/Makefile.sub: ditto.
* instruby.rb (:rdoc): ditto.
* lib/rdoc/ri/paths.rb (RDoc::RI::Paths): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 14:05:49 +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
yugui
396650e0bd
* prec.c: removed. Precision will be redesigned and be back again.
...
c.f. [ruby-dev:36352].
* common.mk (COMMON_OBJS): removed prec.o.
* inits.c (rb_call_inits): removed Init_Precision.
* numeric.c (Init_Numeric): removed inclusion of Precision.
removed #induced_from from each class.
* rational.c: ditto.
* ext/bigdecimal/bigdecimal.c: ditto.
* lib/rdoc/knwon_classes.rb: removed the entry for Precision.
* test/ruby/test_prec.rb: removed.
* test/ruby/test_integer.rb: removed tests for Precision.
* test/ruby/test_fixnum.rb: ditto.
* test/ruby/test_float.rb: ditto.
* test/ruby/test_rational.rb: ditto.
* test/ruby/test_complex.rb: ditto.
* test/bigdecimal/test_bigdecimal.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-19 13:10:54 +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
ko1
7e16f9e777
* lib/debug.rb, lib/profile.rb: fix to use RubyVM.
...
* lib/rdoc/parsers/parse_c.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-08 13:28:57 +00:00
nobu
47f5c15e8d
* lib/rdoc/parsers/parse_rb.rb (RDoc#collect_first_comment): skip
...
magic comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-21 06:57:28 +00:00
matz
e6c1752137
* lib/rdoc.rb: massive spelling correction patch from Evan Farrar
...
<evanfarrar at gmail.com> in [ruby-doc:1382] applied.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-04 09:37:38 +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
usa
bf310cb64f
* lib/rdoc/ri/descriptions.rb: fixed wrong class nestings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-23 15:27:09 +00:00
drbrain
be710a0391
* lib/rdoc/parsers/parse_rb.rb: Fix uninitialized variable warnings.
...
* lib/rdoc/generator/html.rb: ditto.
* lib/rdoc/options.rb: Fix shadowed variable warning.
* lib/webrick/httprequest.rb: Fix redefined method warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-04 21:16:19 +00:00
matz
4514a6bee6
* lib/irb/cmd/help.rb: should be updated for new ri structure.
...
[ruby-core:15825]
* lib/rdoc/ri/driver.rb (RDoc::initialize): allow options to be optional.
* lib/rdoc/ri/driver.rb (RDoc::class_cache): map_dirs may be
empty.
* lib/rdoc/ri/driver.rb (RDoc::get_info_for): revive get_info_for
method. maybe broken.
* lib/rdoc/ri/util.rb (RDoc::initialize): should not use RiError
no more.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-12 18:13:48 +00:00
drbrain
74a1543645
Restore missing line to RDoc::Generator#params. Patch by Lincoln Stoll.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-09 04:52:53 +00:00
drbrain
0d3f9dbfe1
* lib/rdoc/code_objects.rb: Remove debugging Kernel#p. Patch by Lincoln Stoll
...
<lstoll at lstoll.net>
* lib/rdoc/generator/html.rb: Fully qualify AllReferences. Patch by Lincoln
Stoll <lstoll at lstoll.net>
* lib/rdoc/ri/writer.rb: Fix 1.8 backwards compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-09 00:59:23 +00:00
drbrain
ab3e8e6143
Preserve ri compatibility with 1.8
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-14 22:38:20 +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
b797fdc7e8
Separate HTML linking and crossreferencing into separate files.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-12 22:23:00 +00:00
naruse
40d8d38909
* ext/json/lib/json/pure/generator.rb,
...
ext/json/lib/json/pure/parser.rb, ext/openssl/lib/openssl/x509.rb,
ext/win32ole/sample/olegen.rb, lib/date/format.rb, lib/irb/context.rb,
lib/irb/workspace.rb, lib/net/http.rb, lib/net/imap.rb,
lib/rdoc/generator.rb, lib/rdoc/markup/to_html.rb,
lib/rdoc/markup/to_latex.rb, lib/rdoc/parsers/parse_c.rb,
lib/rdoc/ri/formatter.rb, lib/rexml/parsers/baseparser.rb,
lib/rexml/quickpath.rb, lib/rexml/text.rb, lib/rss/parser.rb,
lib/uri/common.rb, lib/uri/generic.rb, lib/webrick/httpresponse.rb,
lib/webrick/httpservlet/filehandler.rb, lib/yaml/baseemitter.rb,
lib/yaml/encoding.rb: performance tuning arround String#gsub.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-12 06:18:06 +00:00
drbrain
030a513a49
Wrap parse_files' read in a version check for backwards compatibility.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-12 01:27:52 +00:00
drbrain
0ecb56f170
Restore require rubygems check
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-12 01:17:39 +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
naruse
baa1468895
* lib/rdoc/ri/driver.rb (read_yaml): remove SM* for compatibility.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-08 00:54:21 +00:00
usa
1672df1870
* lib/rdoc/ri/formatter.rb (output): add accessor.
...
* lib/rdoc/ri/display.rb (page): replace @formatter.output instead of
$stdout.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-31 06:48:35 +00:00
usa
d2bb8975e1
* lib/rdoc/ri/display.rb (display_method_list, display_class_list):
...
use @formatter.raw_print_line instead of puts.
* lib/rdoc/ri/driver.rb (select_methods): new method to collect all
instance/class methods which match with passed pattern.
* lib/rdoc/ri/driver.rb (run): use class_cache's result directly
instead of select_classes' because it's removed now.
* lib/rdoc/ri/driver.rb (run): search methods when passed name is not
class name. [ruby-core:15309]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-31 05:10:58 +00:00
usa
087801b64b
* lib/rdoc/ri/driver.rb (cache_file_for): shoudn't use `:' in filename.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-30 05:33:49 +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
akr
133a6011f7
* lib/rdoc/template.rb (RDoc): defined to avoid uninitialized constant
...
error by `./ruby test/rubygems/test_gem_server.rb'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-19 12:04:21 +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
6d59907c0f
Fix namespacing
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-17 19:29:16 +00:00
drbrain
c3e2bdcc20
Clean up comments
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-16 01:36:19 +00:00
drbrain
fcb0b1f503
Renamespace lib/rdoc/markup from SM::SimpleMarkup to RDoc::Markup.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-14 03:34:05 +00:00
drbrain
0feac89d2d
Cleanup RDoc
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-13 03:35:34 +00:00
drbrain
ec519b9b43
Complete RDoc namespace change
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-13 03:13:37 +00:00
drbrain
937b7ab8b5
Reorganize RDoc generators
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-13 03:02:49 +00:00
drbrain
7e6cf122ef
Remove lib/rdoc/usage.rb
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-11 09:31:15 +00:00
drbrain
b5417ef56d
Follow namespace change for RDoc/RI [ruby-core:14964]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-11 09:18:53 +00:00