naruse
3e92b635fb
Add frozen_string_literal: false for all files
...
When you change this to true, you may need to add more tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-16 05:07:31 +00:00
drbrain
4260aa1dc3
* lib/rdoc: Update to RDoc 4.2.0.
...
* test/rdoc: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-07 01:22:37 +00:00
hsbt
d42d6e690e
* lib/rdoc.rb, lib/rdoc, test/rdoc: Update to RDoc 4.2.0.alpha(313287)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-05 01:41:25 +00:00
nobu
f75b676cc4
Fix `Time.parse` for out of range arguments with an offset
...
* lib/time.rb (Time#apply_offset): Guards against a `nil` return
value from `Time.month_days` when offsetting date. Out of range
values are then caught when `Time.utc` is called (as usual).
Previously a `nil` return value from `Time.month_days` would
have the `<` operator called on it, and raise `NoMethodError`.
[fix GH-667]
* lib/rdoc/parser/changelog.rb (RDoc#parse_entries): fix dirty hack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-19 02:56:39 +00:00
drbrain
df7dac9174
* lib/rdoc: Update to RDoc 4.1.0.preview.1
...
RDoc 4.1.0 contains a number of enhancements including a new default
style and accessibility support. You can see the changelog here:
https://github.com/rdoc/rdoc/blob/v4.1.0.preview.1/History.rdoc
* test/rdoc: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-09-18 23:33:36 +00:00
zzak
b19a968f9a
* lib/rdoc/*: [DOC] Capitalize "Ruby" in documentation
...
Patch by Dave Worth https://github.com/ruby/ruby/pull/341
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-19 02:26:08 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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