File tree Expand file tree Collapse file tree 5 files changed +17
-8
lines changed Expand file tree Collapse file tree 5 files changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ documentation about ri.
3333 * Provided an ri command-line option to control its caching behavior.
3434 * Improved RDoc's documentation. Added RI.txt to document ri.
3535
36- * 25 Bug fixes:
36+ * 26 Bug fixes:
3737 * Fixed prototype detection in C parser. Can process ruby 1.8 C files
3838 again.
3939 * Fixed the main page for frameless template. Patch by Marcin Raczkowski.
@@ -74,6 +74,8 @@ documentation about ri.
7474 * Stopped the XML template from generating invalid XML due to malformed
7575 embedded ruby.
7676 * Adding missing information about a class' constants to the XML template.
77+ * Fixed the horizontal rule markup (---) so that it correctly adds a
78+ horizontal rule rather than suppressing all text that follows.
7779
7880=== 2.1.0 / 2008-07-20
7981
Original file line number Diff line number Diff line change @@ -32,14 +32,21 @@ and used with the +-T+ option.
3232 # ... see RDoc
3333
3434== BUGS:
35-
35+ ---
3636RDoc's Fortran 95 support is pretty broken right now.
3737The rdoc-f95[http://www.gfd-dennou.org/library/dcmodel/rdoc-f95/] project has
3838patches for RDoc 1.x that provide excellent Fortran 95 support. Properly
3939supporting Fortran 95 requires a rewrite of RDoc's markup engine, which
4040is high on our list of goals. The Fortran 95 issue can be tracked
4141here[http://rubyforge.org/tracker/index.php?func=detail&aid=21542&group_id=627&atid=2475].
42-
42+ ---
43+ The markup engine has lots of little bugs. In particular:
44+ * Escaping does not work for all markup.
45+ * Typesetting is not always correct.
46+ * Some output formats (ri, for example) do not correctly handle all of the
47+ markup.
48+ The markup engine needs a rewrite, which can be tracked here[http://rubyforge.org/tracker/index.php?func=detail&aid=21540&group_id=627&atid=2475].
49+ -------
4350If you find a bug, please report it at the RDoc project's
4451tracker[http://rubyforge.org/tracker/?group_id=627] on RubyForge:
4552
Original file line number Diff line number Diff line change @@ -626,8 +626,8 @@ def remove_commented_out_lines
626626 end
627627
628628 def remove_private_comments ( comment )
629- comment . gsub! ( /\/ ?\* --(.*?)\/ ?\* \+ \+ /m , '' )
630- comment . sub! ( /\/ ?\* --.*/m , '' )
629+ comment . gsub! ( /\/ ?\* --\n (.*?)\/ ?\* \+ \+ /m , '' )
630+ comment . sub! ( /\/ ?\* --\n .*/m , '' )
631631 end
632632
633633 ##
Original file line number Diff line number Diff line change @@ -2683,8 +2683,8 @@ def read_documentation_modifiers(context, allow)
26832683 end
26842684
26852685 def remove_private_comments ( comment )
2686- comment . gsub! ( /^#--.*?^#\+ \+ /m , '' )
2687- comment . sub! ( /^#--.*/m , '' )
2686+ comment . gsub! ( /^#--\n .*?^#\+ \+ /m , '' )
2687+ comment . sub! ( /^#--\n .*/m , '' )
26882688 end
26892689
26902690 def remove_token_listener ( obj )
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ def scan
3131 end
3232
3333 def remove_private_comments ( comment )
34- comment . gsub ( /^--[^-] .*?^\+ \+ /m , '' ) . sub ( /^--.*/m , '' )
34+ comment . gsub ( /^--\n .*?^\+ \+ /m , '' ) . sub ( /^--\n .*/m , '' )
3535 end
3636
3737end
You can’t perform that action at this time.
0 commit comments