History.rdoc 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962
  1. === 3.12 / 2011-12-15
  2. * Minor enhancements
  3. * Added DEVELOPERS document which contains an overview of how RDoc works and
  4. how to add new features to RDoc.
  5. * Improved title for HTML output to include <code>--title</code> in the
  6. title element.
  7. * <code>rdoc --pipe</code> now understands <code>--markup</code>.
  8. * RDoc now supports irc-scheme hyperlinks. Issue #83 by trans.
  9. * Bug fixes
  10. * Fix title on HTML output for pages.
  11. * Fixed parsing of non-indented HEREDOC.
  12. * Fixed parsing of <code>%w[]</code> and other % literals. Issue #84 by
  13. Erik Hollensbe
  14. * Fixed arrow replacement in HTML output munging the spaceship operator.
  15. Issue #85 by eclectic923.
  16. * Verbatim sections with ERB that match the ruby code whitelist are no
  17. longer syntax-highlighted. Issue #86 by eclectic923
  18. * Line endings on windows are normalized immediately after reading with
  19. binmode. Issue #87 by Usa Nakamura
  20. * RDoc better understands directives for comments. Comment directives can
  21. now be found anywhere in multi-line comments. Issue #90 by Ryan Davis
  22. * Tidy links to methods show the label again. Issue #88 by Simon Chiang
  23. * RDoc::Parser::C can now find comments directly above
  24. +rb_define_class_under+. Issue #89 by Enrico
  25. * In rdoc, backspace and ansi formatters, labels and notes without bodies
  26. are now shown.
  27. * In rdoc, backspace and ansi formatters, whitespace between label or note
  28. and the colon is now stripped.
  29. === 3.11 / 2011-10-17
  30. * Bug fixes
  31. * Avoid parsing TAGS files included in gems. Issue #81 by Santiago
  32. Pastorino.
  33. === 3.10 / 2011-10-08
  34. * Major enhancements
  35. * RDoc HTML output has been improved:
  36. * The search from Володя Колесников's (Vladimir Kolesnikov) Sdoc has been
  37. integrated.
  38. The search index generation is a reusable component through
  39. RDoc::Generator::JsonIndex
  40. * The table of contents is now a separate page and now shows links to
  41. headings and sections inside a page or class.
  42. * Class pages no longer show the namespace and no longer have file info
  43. pages.
  44. * HTML output is HTML 5.
  45. * Static files can be copied into RDoc using --copy-files
  46. * RDoc supports additional documentation formats:
  47. * TomDoc 1.0.0-rc1
  48. * RD format
  49. The default markup can be set via the <tt>--markup</tt> option.
  50. The format of documentation in a particular file can be specified by the
  51. +:markup:+ directive. If the +:markup:+ directive is in the first comment
  52. it is used as the default for the entire file. For other comments it
  53. overrides the default markup format.
  54. The markup format can be set for rake tasks using RDoc::Task#markup
  55. * RDoc can save and load an options file.
  56. To create an options file that defaults to using TomDoc markup run:
  57. rdoc --markup tomdoc --write-options
  58. This will create a .rdoc_options file. Check it in to your VCS and
  59. package it with your gem. RDoc will automatically load this file and
  60. combine it with the user's options.
  61. Some options are not saved. See RDoc::Options@Saved+Options for full
  62. details.
  63. * Minor enhancements
  64. * RDoc autoloads everything. You only need to require 'rdoc' now.
  65. * HTML headings now have ids matching their titles.
  66. = Hello!
  67. Is rendered as
  68. <h1 id="label-Hello%21">Hello!</h1>
  69. * Labels for classes or methods can be linked-to by adding an <tt>@</tt>
  70. following the class or method reference. For example,
  71. <tt>RDoc::Markup@Links</tt>
  72. See RDoc::Markup@Links for further details.
  73. * For HTML output RDoc uses +SomeClass.method_name+ and
  74. +SomeClass#method_name+ for remote methods and attributes and
  75. +::method_name+ and +#method_name+ for local methods.
  76. * RDoc makes an effort to syntax-highlight ruby code in verbatim sections.
  77. See RDoc::Markup@Paragraphs+and+Verbatim
  78. * Added RDoc::TopLevel#text? and RDoc::Parser::Text to indicate a
  79. parsed file contains no ruby constructs.
  80. * Added <tt>rdoc-label</tt> link scheme which allows bidirectional links.
  81. See RDoc::Markup for details.
  82. * Image paths at HTTPS URLs will now be turned into +<img>+ tags. Pull
  83. Request #60 by James Mead
  84. * Added RDoc::Comment which encapsulates comment-handling functionality.
  85. * Added RDoc::Markup::PreProcess::post_process to allow arbitrary comment
  86. munging.
  87. * RDoc::RDoc::current is set for the entire RDoc run.
  88. * Split rdoc/markup/inline into individual files for its component classes.
  89. * Moved token stream HTML markup out of RDoc::AnyMethod#markup_code into
  90. RDoc::TokenStream::to_html
  91. * "Top" link in section headers is no longer inside the heading element.
  92. * RDoc avoids printing some warnings unless run with `rdoc --verbose`. For
  93. Rails issue #1646.
  94. * Finishing a paragraph with two or more spaces will result in a line break.
  95. This feature is experimental and may be modified or removed.
  96. * Bug fixes
  97. * Markup defined by RDoc::Markup#add_special inside a <tt><tt></tt> is no
  98. longer converted.
  99. * Performance of RDoc::RubyLex has been improved. Ruby Bug #5202 by Ryan
  100. Melton.
  101. * Add US-ASCII magic comments to work with <tt>ruby -Ku</tt>. Issue #63 by
  102. Travis D. Warlick, Jr.
  103. * Clicking a link in the method description now works. Issue #61 by Alan
  104. Hogan.
  105. * Fixed RDoc::Markup::Parser for CRLF line endings. Issue #67 by Marvin
  106. Gülker.
  107. * Fixed lexing of percent strings like %r{#}. Issue #68 by eclectic923.
  108. * The C parser now understands classes defined with
  109. +rb_struct_define_without_accessor+ (like Range). Pull Request #73 by Dan
  110. Bernier
  111. * Fixed lexing of <code>a b <<-HEREDOC</code>. Issue #75 by John Mair.
  112. * Added LEGAL.rdoc with references to licenses in other files. Issue #78 by
  113. Dmitry Jemerov.
  114. * Block parameters are displayed in Darkfish output again. Issue #76 by
  115. Andrea Singh.
  116. * The method parameter coverage report no longer includes parameter default
  117. values. Issue #77 by Jake Goulding.
  118. * The module for an include is not looked up until parsed all the files are
  119. parsed. Unless your project includes nonexistent modules this avoids
  120. worst-case behavior (<tt>O(n!)</tt>) of RDoc::Include#module.
  121. === 3.9.2 / 2011-08-11
  122. * Bug fix
  123. * Loosened TIDYLINK regexp to allow any content in the link section like:
  124. <tt>{foo}[rdoc-ref:SomeClass]</tt>
  125. * In HTML output headings are capped at <tt><h6></tt> again
  126. === 3.9.1 / 2011-07-31
  127. * Bug fixes
  128. * Fix RDoc::Markup parser for a header followed by a non-text token. Issue
  129. #56 by Adam Tait
  130. * Fix RDoc::Markup::ToHtmlCrossref#gen_url for non-<tt>rdoc-ref</tt> links.
  131. * Fix bug report URL when rdoc crashes.
  132. === 3.9 / 2011-07-30
  133. * Minor enhancements
  134. * RDoc::Parser::C now supports :doc: and :nodoc: for class comments
  135. * Added the <tt>rdoc-ref:</tt> link scheme which links to a named reference.
  136. <tt>rdoc-ref:</tt> can resolve references to classes, modules, methods,
  137. files, etc. This can be used to create cross-generator named links unlike
  138. the <tt>link:</tt> scheme which is dependent upon the exact file name.
  139. Issue #53 by Simon Chiang
  140. * Pulled RDoc::CrossReference out of RDoc::Markup::ToHtmlCrossref.
  141. Cross-references can now be created easily for non-HTML formatters.
  142. * Bug fixes
  143. * `ri []` and other special methods now work properly. Issue #52 by
  144. ddebernardy.
  145. * `ri` now has space between class comments from multiple files.
  146. * :stopdoc: no longer creates Object references. Issue #55 by Simon Chiang
  147. * :nodoc: works on class aliases now. Issue #51 by Steven G. Harms
  148. * Remove tokenizer restriction on header lengths for verbatim sections.
  149. Issue #49 by trans
  150. === 3.8 / 2011-06-29
  151. * Minor enhancements
  152. * RDoc::Parser::C can now discover methods on ENV and ARGF.
  153. * RDoc::Parser::C now knows about rb_cSocket and rb_mDL.
  154. * Bug fixes
  155. * Updating Object in an ri data store with new data now removes methods,
  156. includes, constants and aliases.
  157. === 3.7 / 2011-06-27
  158. * Minor enhancements
  159. * New directive :category: which allows methods to be grouped into sections
  160. more cleanly. See RDoc::Markup for details.
  161. * Document-class for RDoc::Parser::C now supports Foo::CONST as well as
  162. CONST.
  163. * ri method output is now a comma-separated list when displayed
  164. interactively. Pull Request #39 by Benoit Daloze.
  165. * RDoc::ClassModule#merge now prefers the argument's information over the
  166. receiver's (it now behaves like Hash#merge! instead of a backwards
  167. Hash#merge!).
  168. * RDoc::Markup#convert now accepts an RDoc::Markup::Document instance
  169. * RDoc now owns the code for generating RDoc and ri data when gems install
  170. * Added RDoc::RDoc::reset
  171. * Added RDoc::CodeObject#file_name
  172. * Bug fixes
  173. * ri no longer crashes when attempting to complete a plain [.
  174. * ri data now tracks which file information came from so it can process
  175. removals and changes to:
  176. * Classes and Modules
  177. * Methods
  178. * Attributes
  179. * Includes
  180. * Constants
  181. You will need to rebuild your ri data for it to update properly. Issue
  182. #21 by Sven Riedel
  183. * Signal and SignalException no longer clobber each other
  184. * RDoc::Parser::C no longer creates classes when processing aliases.
  185. * RDoc::Text#strip_stars handles Document-method for methods with =, ! and ?
  186. now.
  187. * RDoc::Parser::C now allows .cpp files to be used with the "in" comment on
  188. rb_define_method. Bug #35 by Hanmac.
  189. * RDoc::Parser::Ruby no longer eats content when =begin/=end documentation
  190. blocks are followed by a documentable item. Issue #41 by mfn.
  191. * RDoc::Markup::Formatter and subclasses now allow an optional +markup+
  192. parameter for adding custom markup. The example in
  193. RDoc::Markup::Formatter will now work. Issue #38 by tsilen.
  194. * RDoc::Parser::C can now distinguish between class methods and instance
  195. methods in Document-method. Issue #36 by Vincent Batts.
  196. * RDoc now encodes file names in the output encoding. Issue #33 by Perry
  197. Smith.
  198. * ri data generation for method aliases no longer duplicates the class in
  199. #full_name
  200. === 3.6.1 / 2011-05-15
  201. * Bug fixes
  202. * Fix infinite loop created when re-encountering BasicObject.
  203. * RDoc::Context#each_ancestor is now provided for duck-typing.
  204. * rb_path2class() can now be used to discover the parent class in
  205. rb_define_class_under.
  206. === 3.6 / 2011-05-13
  207. * Major Enhancements
  208. * Interactive ri is now the default when no names are given.
  209. * Minor Enhancements
  210. * RDoc::RDoc#generate was added to allow multiple generators to be used with
  211. a set of parsed file info.
  212. * RDoc::Options#finish can be called multiple times now.
  213. * `ri -i` only shows one level of namespace when completing class names.
  214. * Added `ri --list` for explicit listing. `ri -l F G` will list all classes
  215. or modules starting with F or G
  216. * Bug fixes
  217. * Remove windows-specific test for test_check_files, it is too hard to do.
  218. Ruby commit r30811 by Usaku Nakamura.
  219. * Remove unnecessary (and wrong) platform-dependent hacks. Ruby commit
  220. r30829 by Usaku Nakamura.
  221. * Completing via Array#[ in `ri -i` no longer crashes. Ruby Bug #3167
  222. * Completing IO::o in `ri -i` now returns results. Ruby Bug #3167
  223. * RDoc::Parser::C ignores prototypes better. Pull Request #34 by Pete
  224. Higgins.
  225. * private_class_method and public_class_method are now parsed correctly for
  226. inherited methods. Issue #16 by gitsucks.
  227. * The doc directive now forces documentation even when the method is marked
  228. private or protected.
  229. === 3.5.3 / 2010-02-06
  230. * Bug fixes
  231. * When including a file lossily force-transcode it to the output encoding
  232. instead of crashing to preserve as much content as possible. Ruby Bug
  233. #4376 by Yui NARUSE.
  234. * Work around inconsistent encoding result from String#sub!, String#gsub!.
  235. Related to Ruby Bug #4376.
  236. * Work around inconsistent encoding result from String#[]=. Related to Ruby
  237. Bug #4376.
  238. * When Darkfish fails the file being generated is now reported.
  239. === 3.5.2 / 2010-02-04
  240. * Deprecations
  241. * RDoc::Context::Section#sequence is now deprecated. Use
  242. RDoc::Context::Section#aref instead.
  243. * Bug fixes
  244. * Fixed syntax highlighting CSS class generation. Reported by Daniel
  245. Bretoi.
  246. * Fixed ri for methods with aliases. Pull Request #15 by Sven Riedel.
  247. * Added windows-specific test for test_check_files.
  248. * Darkfish now supports sections. Template and generator author see
  249. RDoc::Context#each_section to add section support. RubyForge Bug #26883
  250. by Jeff Hodges.
  251. * Fixed post-install message for Ruby 1.9.2 users.
  252. * Set required ruby version to >= 1.8.7.
  253. === 3.5.1 / 2010-01-30
  254. * Bug fixes
  255. * Fixed some typos. Pull request #13 by R.T. Lechow.
  256. * Ensure an RDoc::Stats is created in #parse_files. Fixes documentation for
  257. railties which has no files. Reported by Aaron Patterson
  258. === 3.5 / 2010-01-29
  259. * Minor enhancements
  260. * RDoc::Parser::C looks for rb_scan_args and fills in RDoc::AnyMethod#params
  261. appropriately. This may provide useful information if the author did not
  262. provide a call-seq.
  263. * RDoc::Parser::C now records the function name for methods implemented in
  264. C.
  265. * RDoc now records file and byte offset information for methods.
  266. * Bug fixes
  267. * Locations of module aliases are now recorded.
  268. * RDoc::Parser::C finds method bodies better now.
  269. * Fixed further locations where output encoding was not preserved. Bug #11
  270. by Vít Ondruch, RubyForge bug #28791 by Dzmitry Prakapenka.
  271. * Fixed display of numeric lists on the index page and file pages. Bug #12
  272. by tobijk.
  273. * Skip TestRDocOptions#test_check_files on windows until a windows-specific
  274. test can be created. RubyForge bug #28821 by Usaku Nakamura.
  275. * Fixed line-height of headings in method and alias descriptions. RubyForge
  276. Bug #2770 by Adam Avilla
  277. * Relaxed RDoc::Parser::Ruby#remove_private_comments to consume more dashes
  278. as older versions once did. Bug #7 by Claus Folke Brobak.
  279. === 3.4 / 2010-01-06
  280. * Minor enhancements
  281. * RDoc::RDoc#document may now be called with an RDoc::Options instance.
  282. * Bug fixes
  283. * Added skips to Encoding tests running on 1.8.
  284. * Fixed warnings
  285. === 3.3 / 2010-01-03
  286. * Minor enhancements
  287. * The coverage report can now report undocumented method parameters
  288. including methods defined in C.
  289. <kbd>rdoc -C</kbd> gives a standard report, <kbd>rdoc -C1</kbd> includes
  290. method parameters. Method parameters are considered documented if they're
  291. marked-up with <tt>+</tt>, <tt><code></tt> or <code><tt></code>.
  292. * The C parser now uses <tt>*args</tt> instead of <tt>...</tt> if no
  293. <tt>call-seq</tt> was provided to give names to the arguments.
  294. * Bug fixes
  295. * The C parser now records the file location of aliases, attributes,
  296. constants and methods allowing -C to work on C files.
  297. * Darkfish now handles dots in call-seq allowing <tt>ary.insert(index,
  298. obj...)</tt> to display correctly. Patch #6 by KUBO Takehiro.
  299. * Improved processing of meta-programmed methods when followed by unparseable
  300. syntax. RubyForge patch #28653 by Aidan Cully.
  301. * rdoc now touches the flag file when it create the output directory.
  302. Prevents the "isn't an RDoc directory" error if rdoc crashes.
  303. * RDoc now properly converts to the expected output encoding. RubyForge bug
  304. #28791 by Dzmitry Prakapenka.
  305. * Restored parsing of block comments. RubyForge bug #28668 by Stefano Crocco.
  306. * Metaprogrammed methods defined with blocks no longer confuse the ruby
  307. parser. RubyForge bug #28370 by Erik Hollensbe.
  308. * ri no longer displays all methods in the inheritance chain.
  309. === 3.2 / 2010-12-29
  310. * Minor enhancements
  311. * RDoc generator authors may now suppress updating the output dir (creating
  312. a created.rid file) by setting RDoc::Options#update_output_dir to false.
  313. * RDoc::Task has been refactored to ease creating subclasses.
  314. * Bug fixes
  315. * RDoc's gitignore now ignores .DS_Store files. Pull Request #3 by Shane
  316. Becker.
  317. === 3.1 / 2010-12-28
  318. RDoc has moved to github. Releases after 3.1 reference github unless
  319. otherwise noted.
  320. * Minor enhancements
  321. * RDoc::Task now features a #generator option to choose an alternate
  322. generator. Pull Request #2 by Erik Hollensbe.
  323. * Enhanced test for RDoc::Parser::binary? RubyForge patch #28538 by Eito
  324. Katagiri.
  325. * Generator list in --help is no longer static. Generator description comes
  326. from the generator's DESCRIPTION constant.
  327. * Documentation summary is now displayed with dynamic width.
  328. * Bug fixes
  329. * Strip encoding comment from input to avoid overriding file comment.
  330. RubyForge Bug #22113 by James Gray.
  331. * Restore call-seq parsing behavior when the call-seq is the only comment.
  332. RubyForge Bug #26290 by Sylvain Joyeux.
  333. * Coverage report no longer crashes for constant aliases. Pull Request #1
  334. by Andy Lindeman.
  335. * RDoc no longer loses ghost methods when followed by certain tokens.
  336. RubyForge bug #27793 by Aaron Patterson.
  337. * RDoc no longer crashes in ri if HOME is not set. Ruby Bug #4202 by
  338. Shyouhei Urabe.
  339. * ri no longer crashes with HTML format output. RubyForge bug #28675 by
  340. 7rans.
  341. * RDoc::Markup::ToHtml#gen_url now initializes #from_path to ''.
  342. Additionally, #from_path is now settable. RubyForge bug #27838 by Claus
  343. Folke Brobak.
  344. * Comments in the C parser are now normalized before being combined.
  345. RubyForge patch #28646 by Sven Herzberg.
  346. * RDoc::Parser::C no longer requires a comment and finds more method bodies.
  347. RubyForge patch #28643 by Sven Herzberg.
  348. * Darkfish now has a "Class/Module Index" instead of a "Class Index".
  349. RubyForge patch #28364 by James Tucker.
  350. * RDoc::Parser::Ruby now parses negative numbers correctly. RubyForge patch
  351. #28544 by Eito Katagiri.
  352. === 3.0.1 / 2010-12-19
  353. * Bug fix
  354. * RDoc no longer has a Perl parser.
  355. === 3.0 / 2010-12-19
  356. Special thanks to Thierry Lambert for massive improvements to RDoc.
  357. * Major enhancements
  358. * Ruby 1.8.6 is no longer supported by RDoc.
  359. * RDoc now converts input files to a single encoding specified by
  360. <tt>--encoding</tt>. See RDoc::RDoc and RDoc::Options#encoding.
  361. <tt>--encoding</tt> is now preferred over <tt>--charset</tt>
  362. * RDoc now supports a <tt>--coverage-report</tt> flag (also <tt>-C</tt> and
  363. <tt>--dcov</tt>) that outputs a report on items lacking documentation.
  364. * Templates (<tt>rdoc -T</tt>) are now checked for existence in
  365. RDoc::Options. Generator authors can now use RDoc::Options#template_dir
  366. which is the full path to the template directory.
  367. * Added support for class aliases. Patch by Thierry Lambert.
  368. * Improved merging of classes and modules across multiple files including
  369. more accurate documentation statistics. Patch by Thierry Lambert.
  370. * Improved handling of method aliases. Patch by Thierry Lambert.
  371. * Improved handling of visibility of RDoc code objects. Patch by Thierry
  372. Lambert.
  373. * RDoc::Attr#type is now RDoc::Attr#definition. Patch by Thierry Lambert.
  374. * Removed TimeConstantMethods
  375. * RDoc now calls ::new instead of ::for on generators.
  376. * Minor enhancements
  377. * Added rdoc arguments <tt>--dry-run</tt>, <tt>--all</tt>,
  378. <tt>--visibility</tt>, <tt>--force-output</tt>, <tt>--hyperlink-all</tt>.
  379. Patch by Thierry Lambert.
  380. * RDoc::Markup::FormatterTestCase has been expanded. Patch by Thierry
  381. Lambert.
  382. * RDoc::Markup::TextFormatterTestCase has been extracted from RDoc tests.
  383. Patch by Thierry Lambert.
  384. * Various RDoc::Parser::Ruby enhancements. Patch by Thierry Lambert.
  385. * Various RDoc::Markup::Parser enhancements. Patch by Thierry Lambert.
  386. * RDoc::Parser::binary? is more robust now that it uses Encoding.
  387. * Deprecated rdoc arguments are now explicitly mentioned in rdoc command
  388. output. Patch by Thierry Lambert.
  389. * Constant values are formatted more accurately. Patch by Thierry Lambert.
  390. * Enhanced call-seq parsing in RDoc::Parser::C. Patch by Thierry Lambert.
  391. * RDoc no longer uses kw, cmt, re or str classes for embedded source code
  392. snippets. Patch by Thierry Lambert.
  393. * RDoc directives may now be escaped with a leading '\\'. Patch by Thierry
  394. Lambert.
  395. * RDoc note lists (<tt>label::</tt>) now generate a table with class
  396. "rdoc-list". Patch by Thierry Lambert.
  397. * RDoc markup documentation has been moved to RDoc::Markup including notes
  398. on how to document source code.
  399. * An RDoc::Require is now always listed at the file level. Patch by Thierry
  400. Lambert.
  401. * RDoc::CodeObjects now know which file they were defined in.
  402. * RDoc::Options calls ::setup_options on the generator class specified by
  403. <tt>--format</tt>. See RDoc::Options::setup_generator.
  404. * rdoc gives an error when multiple formats are given.
  405. * Files with erb inside will no longer trip RDoc::Parser::binary?
  406. * Last <tt>--title</tt> wins. Patch by Thierry Lambert.
  407. * Better block params handling. Patch by Thierry Lambert.
  408. * Moved rdoc/tokenstream.rb to rdoc/token_stream.rb.
  409. * Moved rdoc/markup/preprocess.rb to rdoc/markup/pre_process.rb.
  410. * Removed "':' not followed by operator or identifier" warning for new Hash
  411. syntax.
  412. * rb_attr() is now supported for attributes.
  413. * RDoc::Parser::C now supports yields, doc, and args directives like
  414. RDoc::Parser::Ruby.
  415. * Moved RDoc::Parser::PerlPOD to the rdoc-perl_pod gem.
  416. * Bug fixes
  417. * RDoc::Generator tests no longer require any installed RDoc on Ruby 1.9
  418. * Load existing cache before generating ri. Ruby r27749 by NAKAMURA Usaku.
  419. * RDoc now handles BOM. Ruby r28062 by Nobuyoshi Nakada.
  420. * Use proper XML encoding for darkfish classpage. Ruby r28083 by NARUSE,
  421. Yui.
  422. * Fix ri output when special characters are inside html tags. Patch by Tomo
  423. Kazahaya, Ruby Bug #3512.
  424. * Don't bother checking if the pager exists, it's already done. Ruby r28842
  425. by NAKAMURA Usaku.
  426. * RDoc::Parser::Ruby now ignores non-constant-named singleton classes. Ruby
  427. r29140 by Nobuyoshi Nakada. Ruby Bug #3759.
  428. * RDoc::Parser::Ruby call args no longer include assignment. Ruby r29141 by
  429. Nobuyoshi Nakada. Ruby Bug #3759
  430. * Handle $HOME being unset in ri. Ruby r29272 by Nobuyoshi Nakada.
  431. * uniq ancestors and modules too. Ruby r29312 by Nobuyoshi Nakada.
  432. * RDoc now knows about Encoding by default. Ruby r29356 by Nobuyoshi
  433. Nakada.
  434. * ri now defaults to the backspace formatter when piped. Use RI environment
  435. variable or options to override. Ruby r28455 by Yusuke Endoh.
  436. * __send__ and friends no longer get their underscores removed. Patch by
  437. Thierry Lambert.
  438. * The C parser now makes new public when promoting initialize.
  439. * Fix crash in #markup_code for TkUnknownChar.
  440. * Fix crash in RDoc::Parser::C when aliasing methods with Regexp special
  441. characters.
  442. * Fix crash when various operators are used as a name as in
  443. <tt>alias * compose</tt>.
  444. * Fix warning with some dynamic use of <tt>attr_*</tt>
  445. * Methods added to true, false and nil are now documented.
  446. * Remove warning for methods defined on globals.
  447. === 2.5.11 / 2010-08-20
  448. * Minor Enhancements
  449. * Alias comments are now discovered by the C parser. Reported by Jeremy
  450. Evans.
  451. * Removed --all option which is unused in RDoc. Use the nodoc or
  452. stopdoc/startdoc directives to suppress documentation instead.
  453. === 2.5.10 / 2010-08-17
  454. * Minor Enhancements
  455. * Support rb_singleton_class(). Reported by Jeremy Evans.
  456. * Support rb_define_private_method() on rb_singleton_class(). Reported by
  457. Jeremy Evans.
  458. * Bug Fixes
  459. * Treat non-ASCII RDoc files as text. Bug #28391 by Kouhei Sutou.
  460. * Fix potential test failures due to ivar collision. Bug #28390 by Kouhei
  461. Sutou.
  462. * Added duck-typed #aref for RDoc::Attr to RDoc::AnyMethod. Bug #28375 by
  463. Erik Hollensbe
  464. * Fixed method references in HTML output when show_hash is false.
  465. * Fixed comments with '.' in call-seq in C sources. Reported by Jeremy
  466. Evans.
  467. * RDoc now understands singleton aliases. Reported by Jeremy Evans.
  468. === 2.5.9 / 2010-07-06
  469. * Bug Fixes
  470. * Look up pager correctly.
  471. * Fixed handling of bullets in verbatim sections. Partial patch by
  472. Juha-Jarmo Heinonen.
  473. === 2.5.8 / 2010-04-27
  474. *NOTE*:
  475. RDoc 2.5 did not save method parameters, so you should upgrade your rdoc-data
  476. gem to a version >= 2.5.3.
  477. To have ri data for core and stdlib you'll need to:
  478. gem install rdoc-data
  479. then run:
  480. rdoc-data --install
  481. To have ri data for you gems you'll also need to run:
  482. gem rdoc --all --overwrite
  483. If you don't want to rebuild the rdoc for `gem server`, add --no-rdoc.
  484. * Bug Fixes
  485. * ri no longer complains about nonexistent pagers.
  486. * Fixed failing test
  487. === 2.5.7 / 2010-04-22
  488. * Minor Enhancements
  489. * Unrecognized RDoc directives can now be registered by a plugin for
  490. handling. See RDoc::Markup::PreProcess.
  491. * Added RDoc::Markup::Raw to allow other markup engines to dump raw content
  492. into RDoc.
  493. * Bug Fixes
  494. * rdoc -p no longer means --pipe if files are also given.
  495. * RDoc now knows about BasicObject by default. Ruby Bug #1318 by Ambrus Zsbán
  496. === 2.5.6 / 2010-04-22
  497. * Minor Enhancements
  498. * Unrecognized RDoc directives are added as metadata to the object they get
  499. attached to.
  500. ##
  501. # :my_new_directive: my cool value
  502. Results in a 'my_new_directive' metadata key with value 'my cool value' on
  503. the RDoc::CodeObject it is for
  504. * Bug Fixes
  505. * RDoc no longer prints out "invalid options:" when there were no invalid
  506. options.
  507. * Fixed link size on Darkfish file pages
  508. === 2.5.5 / 2010-04-19
  509. * 1 Minor Enhancement
  510. * Use #binread in RDoc::Markup::PreProcess. Patch from ruby trunk.
  511. * 3 Bug Fixes
  512. * Fixed indentation of method-description lists in Darkfish. Bug #28081 by
  513. Theresa Dwinnell.
  514. * Fixed loading RDoc::AnyMethod aliases to no longer infinitely loop. Bug
  515. #28107 by Sven Riedel
  516. * Fixed handling of ignored invalid options to continue after the invalid
  517. option.
  518. === 2.5.4 / 2010-04-18
  519. * 2 Minor Enhancements
  520. * Methods will now be cross-referenced when preceeded with ::. Ruby Bug
  521. #3169 by Marc-Andre Lafortune.
  522. * Methods now have human readable fragment identifiers for HTML output.
  523. (#method-i-gsub vs #M000005). Ruby Bug #3023 by Marc-Andre Lafortune.
  524. * 1 Bug Fixes
  525. * RDoc::Parser::Ruby now handles <code>while begin a; b end # ...</code>.
  526. Ruby Bug #3160 by Yusuke Endoh.
  527. === 2.5.3 / 2010-04-10
  528. * 1 Minor Enhancement
  529. * RDoc::Parser::Simple and the include directive remove coding: comment from
  530. first line
  531. * 2 Bug Fixes
  532. * Fixed loading of created.rid when regenerating documentation. Ruby bug
  533. #3121 by Yusuke Endoh.
  534. * Compare times as Integers as created.rid doesn't store fractional times.
  535. === 2.5.2 / 2010-04-09
  536. * 1 Minor Enhancement
  537. * Imported various changes by Nobu from ruby trunk.
  538. * 2 Bug Fixes
  539. * RDoc parses files without extensions as text files again.
  540. * RDoc::Parser::Ruby parses %{ strings correctly again.
  541. === 2.5.1 / 2010-04-06
  542. * 1 Minor Enhancement
  543. * RDoc::Parser::C now supports the include directive for classes and
  544. modules.
  545. * 6 Bug Fixes
  546. * RDoc::AnyMethod params now get saved in ri data.
  547. * ri now displays method arguments correctly.
  548. * RDoc::Markup::Parser allows no space between = and header text like rdoc
  549. 2.4 and earlier.
  550. * RDoc::Parser::C's "in" directive now looks in the current directory.
  551. * RDoc::Task's rerdoc task no longer deletes the doc directory twice.
  552. * rdoc --force-update now works correctly. Patch by Nobu Nokada
  553. === 2.5 / 2010-03-31
  554. * 9 Major Enhancements
  555. * Darkfish now has a "Home" button
  556. * ri no longer displays the value of a constant. There's no easy way to
  557. make them presentable. Use irb or ruby -e instead. Ruby Bug #549.
  558. * New ri data format now uses Marshal and pre-builds caches
  559. * No support for old ri data format, too hard to maintain
  560. * To upgrade your core ri documentation, install the rdoc-data gem and run
  561. rdoc-data
  562. * RDoc now displays how well you've documented your library
  563. * New recursive-descent parser for RDoc::Markup. See RDoc::Markup::Parser
  564. * Updated ruby_lex and ruby_token
  565. * Removed threading support, RDoc is not thread-safe
  566. * Removed many unsupported options to rdoc
  567. * Future versions of RDoc will not support Ruby 1.8.6. Bugs filed for
  568. 1.8.6-only issues will be (largely) rejected.
  569. * 17 Minor Enhancements
  570. * Source Parsing
  571. * RDoc now supports module aliasing via constant assignment.
  572. * RDoc now tracks superclasses correctly. Fixes File < IO for core docs.
  573. * RDoc now ignores methods inside methods.
  574. * RDoc now ignores Marshal and other binray files.
  575. * Removed "Skipping require of dynamic string" warning.
  576. * C parser now handles Document-method better. Bug #27329.
  577. * API enhancements for writing parsers like the Ruby parser, see
  578. RDoc::Parser::RubyTools
  579. * ri
  580. * Uses pager over less and more for Debian. Ruby Bug #1171.
  581. * ri will use the RI_PAGER environment variable to find a pager.
  582. * ri data generator now supports SIGINFO (^T)
  583. * When rdoc is in debug mode, ^C now prints a backtrace
  584. * RDoc::Markup::AttributeManager no longer uses global state.
  585. * RDoc::RDoc no longer passes around options. Patch #27167.
  586. * Darkfish won't generate a file if its template is missing. Patch #25857.
  587. * Improved some wording for the RDoc main page. Patch #27264, #27268.
  588. * Removed diagram generation support (to return in the future).
  589. * Removed external support for RDoc::Task.
  590. * 12 Bug Fixes
  591. * The :attr: directives now use the name given to create an attribute. See
  592. RDoc::Parser::Ruby#parse_meta_attr.
  593. * Fix crossrefs on paths with '-'. Ruby Bug #883.
  594. * Fix ruby parser for alias with = in the name. Bug #27522.
  595. * Images are no longer executable. Bug #27156.
  596. * --op is no longer overridden by --ri. Bug #27054.
  597. * :method: now works when at the end of a class. Bug #26910.
  598. * Preserve elipsis from call-seq in Darkfish. Patch #26974.
  599. * Emacs-style <tt>coding:</tt> is handled properly. Patch #27388.
  600. * RDoc::RubyLex now parses UTF-8 identifiers. Bug #26946, #26947.
  601. * Fixed namespace lookup rules. Bug #26161.
  602. * Worked around bug in Selenium where they hide a .jar in a .txt file.
  603. Filed Selenium bug #27789.
  604. * Alias comments are no longer hidden. Reported by Adam Avilla.
  605. === 2.4.3 / 2009-04-01
  606. * 2 Bug Fixes
  607. * Corrected patch for file links
  608. * Corrected display of file popup
  609. === 2.4.2 / 2009-03-25
  610. * 2 Minor Enhancements
  611. * Added --pipe for turning RDoc on stdin into HTML
  612. * Added rdoc/task.rb containing a replacement for rake/rdoctask.rb. Use
  613. RDoc::Task now instead of Rake::RDocTask.
  614. * 10 Bug Fixes
  615. * Writing the ri cache file to the proper directory. Bug #24459 by Lars
  616. Christensen.
  617. * Possible fix for Dir::[] and Pathname interaction on 1.9. Bug #24650 by
  618. tiburon.
  619. * Fixed scanning constants for if/end, etc. pairs. Bug #24609 by Ryan
  620. Davis.
  621. * Fixed private methods in the C parser. Bug #24599 by Aaron Patterson.
  622. * Fixed display of markup on RDoc main page. Bug #24168 by rhubarb.
  623. * Fixed display of \\ character in documentation proceeding words.
  624. Bug #22112 by James Gray. See RDoc for details.
  625. * Fixed parsing and display of arg params for some corner cases. Bug #21113
  626. by Csiszár Attila.
  627. * Fixed links in Files box. Patch #24403 by Eric Wong.
  628. * Toplevel methods now appear in Object. Bug #22677 by Ryan Davis.
  629. * Added back --promiscuous which didn't do anything you cared about. Why
  630. did you enable it? Nobody looked at that page! Oh, it warns, too.
  631. === 2.4.1 / 2009-02-26
  632. * 1 Minor Enhancements
  633. * Added :attr:, :attr_reader:, :attr_writer:, :attr_accessor: directives.
  634. Replaces --accessor. See RDoc::Parser::Ruby for details.
  635. * 3 Bug Fixes
  636. * Don't complain when exiting normally. Bug by Matt Neuburg.
  637. * Restore --inline-source that warns
  638. * Fixed links to files in Darkfish output
  639. === 2.4.0 / 2009-02-24
  640. * 9 Minor Enhancements
  641. * `ri -f html` is now XHTML-happy
  642. * Clarified RDoc::Markup link syntax. Bug #23517 by Eric Armstrong.
  643. * Number of threads to parse with is now configurable
  644. * Darkfish can now use alternate templates from $LOAD_PATH via -T
  645. * Removed F95 parser in favor of the rdoc-f95 gem
  646. * Moved HTML and XML generators to unmaintained
  647. * No gem will be provided as it's too difficult to make them work
  648. * Removed options --one-file, --style=, --inline-source, --promiscuous,
  649. --op-name
  650. * Removed support for --accessor, use regular documentation or
  651. the method directive instead. See RDoc::Parser::Ruby
  652. * Removed --ri-system as it is unused by Ruby's makefiles
  653. * Added method list to index.html
  654. * 6 Bug Fixes
  655. * nodoc'd classes no longer appear in the index. Bug #23751 by Clifford
  656. Heath.
  657. * Fix 1.9 compatibility issues. Bug #23815 by paddor.
  658. * Darkfish now respects --charset
  659. * RDoc no longer attempts to be lazy when building HTML. This is a
  660. workaround. Bug #23893 by Stefano Crocco.
  661. * RDoc doesn't crash with def (blah).foo() end
  662. * RDoc doesn't crash with #define functions
  663. === 2.3.0 / 2009-01-28
  664. * 3 Major Enhancements
  665. * Michael Granger's Darkfish generator is now the default for HTML output
  666. * Various rdoc generation speedups by Hongli Lai. Patches #22555, #22556,
  667. #22557, #22562, #22565.
  668. * rdoc/discover.rb files are loaded automatically from installed gems
  669. * 8 Minor Enhancements
  670. * Added a space after the commas in ri class method lists. RubyForge
  671. enhancement #22182.
  672. * Improved ri --interactive
  673. * Generators can now override generated file locations
  674. * Moved unmaintained CHM generator to it's own package
  675. * Moved unmaintained extra HTML templates to their own package
  676. * Removed experimental texinfo generator
  677. * Converted to minitest
  678. * Known classes and modules list outputs once per line now for grep
  679. * 11 Bug Fixes
  680. * Fix missing superclass in ri output
  681. * Fix an RDoc crash when told to parse an empty file
  682. * Ignore nonexistent files instead of crashing
  683. * .txt and .rdoc files are always considered text. Patch #22897 by Aaron
  684. Patterson.
  685. * When merging ri data with a nonexistant directory, RDoc no longer crashes
  686. * Fix visibility of methods in XML output. Issue by Yehuda Katz.
  687. * Fixed relative link generation
  688. * Fix crash, RDoc now ignores comments above local variable assignments in
  689. modules
  690. * RDoc now only accepts adjacent comments for rb_define_module and
  691. rb_define_class
  692. * C file RDoc is no longer included in token stream
  693. * Scan all gem paths to match gem name for ri output
  694. === 2.2.1 / 2008-09-24
  695. This version provides some minor fixes and enhancements to 2.2.0 intended
  696. to polish RDoc for Ruby 1.9.1.
  697. * 3 Minor Enhancements
  698. * Support for parsing RDoc from SWIG. Ruby patch #10742 by Gonzalo
  699. Garramuno, #13993 by Steven Jenkins.
  700. * Simple support for Perl POD documentation. Patch by Hugh Sasse.
  701. * Changed the default character set of RDoc's output from iso-8859-1 to
  702. utf-8.
  703. * 9 Bug Fixes
  704. * Explicitly set the html template's text color, so that the generated
  705. documentation will display correctly on browsers with custom text and
  706. background color settings (patch by Luther Thompson).
  707. * Ensure that RDoc correctly will associate an alias and a method, even
  708. if it encounters the alias first because the alias lives in a different
  709. file.
  710. * Fix the parsing of multiline constants (patch by Chris Alfeld and
  711. Joel VanderWerf)
  712. * Make --exclude usuable. Ruby patch #11671 by Trans.
  713. * Detect inline C functions. Ruby Bug #11993 by Florian Frank.
  714. * Fix an issue in which RDoc might not document a class'
  715. superclass correctly if the class was defined in multiple files and
  716. depending on the order in which RDoc processed the files. This should
  717. ensure that the child class -> parent class relationship is correct in
  718. ri documentation, allowing ri to lookup inherited methods (i.e., File.read).
  719. * Stop ri from crashing when it looks for a completely bogus method (i.e.,
  720. File#reada). Now, ri exits with a helpful error message.
  721. * Fixed missing display of constant values in ri.
  722. * Fixed display of constants in ri's html output.
  723. === 2.2.0 / 2008-09-19
  724. This version includes some significant enhancements to ri. See RI.txt for
  725. documentation about ri.
  726. * 5 Major Enhancements
  727. * More extensive unit tests (special thanks to Chris Lowis for contributing
  728. a test).
  729. * Made ri twice as fast for the most common use case of displaying
  730. information for a class or a fully-qualified method
  731. (i.e., ri Array#flatten, after ri has created a cache the first time that
  732. it runs).
  733. * Made ri many times faster when searching for an unqualified method (i.e.,
  734. ri read, again after the first such search has populated ri's cache)
  735. * Changed ri to do regular expression searches for unqualified methods;
  736. now, a regular expression for a method can be passed to ri on the
  737. command-line.
  738. * Added an interactive mode to ri (patch by Daniel Choi). Now, when ri
  739. is given a -i argument, it will allow the user to disambiguate
  740. unqualified methods if more than one is present and also will allow a
  741. user to get information for a class' method.
  742. * 8 Minor Enhancements
  743. * RDoc now adds the package title to the web pages that it generates
  744. for files and classes/modules, which helps them appear better in
  745. search engine results.
  746. * RDoc now automatically generates cross-reference links for classes and
  747. methods specified relative to the global namespace (i.e., ::A::B::C#method).
  748. * All built-in templates now output valid, strict XHTML.
  749. * The documentation is slightly better organized (the markup details were
  750. merged into the RDoc module's documentation).
  751. * Improved rdoc's HTML generation speed by about 20% (on Windows, the
  752. boost seems larger).
  753. * Provided an ri command-line option to control its caching behavior.
  754. * Improved RDoc's documentation. Added RI.txt to document ri.
  755. * Allow HTML templates distributed as gems to be loaded with the -T option,
  756. just like the standard templates in rdoc/generator/html (so an HTML
  757. template lib/new_template.rb in a gem can be used with rdoc -T new_template)
  758. * 25 Bug fixes:
  759. * Fixed prototype detection in C parser. Can process ruby 1.8 C files
  760. again.
  761. * Fixed the main page for frameless template. Patch by Marcin Raczkowski.
  762. * Fixed the main page for frame templates. Now, if no main page is
  763. specified, RDoc will default to the README.
  764. * Fixed missing stylesheet in generated chm. Patch by Gordon Thiesfeld.
  765. * Fixed the parsing of module names starting with '::'. Patch by
  766. Giuseppe Bilotta.
  767. * Fixed a case where RDoc first would encounter Foo::Bar and then would
  768. encounter class Foo. Previously, RDoc erroneously would have considered
  769. that both a Foo class and a Foo module existed.
  770. * Fix a clase where RDoc would not generate correct cross-reference links
  771. to a class contained within a module of the same name (i.e. RDoc::RDoc)
  772. * Prevented RDoc from trying to parse binary files, which would produce
  773. garbage output.
  774. * RDoc now correctly converts ' characters to apostrophes, opening single
  775. quotes, and closing single quotes in most cases (smart single quotes).
  776. * RDoc now correctly converts " characters to opening double quotes and
  777. and closing double quotes in most cases (smart double quotes).
  778. * (c) correctly is converted into the copyright symbol.
  779. * '&' characters in text now correctly are translated to HTML character codes.
  780. * Fixed missing stylesheet in generated chm. Patch by Gordon Thiesfeld.
  781. * Fixed broken method links in the built-in templates.
  782. * RDoc properly links to files and classes in the one page HTML template.
  783. * The kilmer and hefss templates properly syntax highlight when inlining
  784. source code.
  785. * The kilmer and hefss template class pages properly display methods again.
  786. * Fixed broken class, file, and method links in the frameless template.
  787. * Fixed the clipping of source code in the html and frameless templates when
  788. the source code cannot fit into the window; a scrollbar now will allow
  789. all of the source code to be viewed.
  790. * Fixed the missing constant descriptions in the html and frameless
  791. templates.
  792. * Fixed the ri command-line options that customize the directories to be
  793. searched for documentation.
  794. * Fixed the XML generator. Patch by Anthony Durity.
  795. * Stopped the XML template from generating invalid XML due to malformed
  796. embedded ruby.
  797. * Adding missing information about a class' constants to the XML template.
  798. * Fixed the horizontal rule markup (---) so that it correctly adds a
  799. horizontal rule rather than suppressing all text that follows.
  800. === 2.1.0 / 2008-07-20
  801. * 3 Major Enhancements:
  802. * RDoc now knows about meta-programmed methods, see RDoc::Parser::Ruby
  803. * Reorganized parsers under RDoc::Parser base class
  804. * ri now walks the ancestors of a class looking for a method e.g. ri
  805. File#read displays documentation for IO#read (may require regeneration of
  806. ri data)
  807. * 5 Minor Enhancements:
  808. * Allow links to files
  809. * Default options now taken from RDOCOPT environment variable
  810. * Class method documentation can be found at toplevel now (def X.foo)
  811. * Allow HTML templates distributed as gems to be loaded with the -T option,
  812. just like the standard templates in rdoc/generator/html (so an HTML
  813. template lib/new_template.rb in a gem can be used with rdoc -T new_template)
  814. * `rdoc -v` prints out files, classes, modules and methods as it goes
  815. * 11 Bug Fixes:
  816. * `ri Foo.bar` now looks for class methods also
  817. * Sections work in the default template again
  818. * Doesn't warn about :foo:: list item being an unrecognized directive
  819. * RDoc no longer converts characters inside tt tags
  820. * Fixed "unitialized constant RDoc::Markup::ToHtml::HTML"
  821. * Fixed generation of relative links
  822. * Fixed various diagram generation issues
  823. * Fixed templates broken by switch to erb
  824. * Fixed issue with <!-- --> style comments
  825. * Lowercase words are no longer rdoc'd as methods without leading #, as
  826. described in the documentation
  827. * RDoc now correctly sets superclasses if they were originally unknown
  828. === 2.0.0 / 2008-04-10
  829. * 3 Major Enhancements:
  830. * Renamespaced everything RDoc under the RDoc module.
  831. * New `ri` implementation.
  832. * Reads from a cache in ~/.ri/ for enhanced speed.
  833. * RubyGems aware, only searches latest gem versions.
  834. * Now up to over 100 tests and 200 assertions.
  835. * 4 Minor Enhancements:
  836. * Switched to an ERb-based TemplatePage, see RDoc::TemplatePage.
  837. * Class/module ri now displays attribute and constant comments.
  838. * Cross-references can be disabled with a leading \.
  839. * Relaxed parsing for some RDoc inline markup.