11 Second attempt to fix a test that failed because it was not site-independent
16 Fixed a test that failed because it was not site-independent
23 * Updated coverability comments for more recent Devel::Cover versions.
27 * Turn off warnings after finishing so that Devel::Cover doesn't cause
30 reStructuredText parsing:
32 * Delete spaces within URIs of targets and embedded URIs
33 * Hopefully fixed a problem that was causing regression failures for
35 * Fixed a problem that occurred if Encode module was not available
36 * Added "tab" as a value for the :delim: option of the csv-table::
41 * Added "-W field-colon' option
42 * Use HTML::Entities to produce more readable output of mathml markup
44 * Fixed document title/subtitle not to hold markup characters
48 * Added "-W author-skip" option
49 * Added "-W omit-docinfo" option
50 * Added "-W packages" option
51 * Added ``\styleaddress`` to style an organization, address, or contact
52 * Added ``\styleclassZZZ`` markup to allow style for class ZZZ
53 * Ensure math environment for "|" character
54 * Fixed a warning for a system message with no ids
55 * Added handlers for inline and compound
56 * Put the document's title/subtitle into the document's docinfo rather
57 than using global variables
58 * Avoid a latex error for definition and option lists by putting an empty
59 ``\mbox{}`` between the term/classifier and the newline
60 * Don't implement option group as a ``tabular`` environment
61 * Have a table use a ``table`` environment if there is a title
62 * Fixed the processing of auto-symbol footnotes.
67 reStructuredText parsing:
69 * Added "-D relax-citation-characters" option.
70 * Added roles "mathml-display" and "mathml-inline" to force
72 * Role name is now passed in as fourth argument to role attribute
74 * DefineRole now allows defining other info about the role than just
76 * Plug-in directives can now have an init routine that gets called to
77 define and initialize them.
78 * Plug-ins can now define roles as well as directives.
79 * Roles can now define a reparse option which will cause the output to
80 be reparsed as reStructuredText.
84 * Added "-W chapter" and "-W cloak-email-addresses" options.
85 * Added a new '\styleliteralblock' style command.
86 * Fixed a problem with inferring minus signs.
87 * Fixed a problem with converting opening single quotes.
88 * Fixed handling of raw latex.
94 Directive 'code-block':
96 * Allow the 'states' executable to be found anywhere on the path, but
97 check standard locations first.
101 * Sort the dependent \usepackage modules so that there is a canonical
102 order for regression testing
106 * Sort the inline targets so that there is a canonical order for
112 There were no functional changes in this release.
114 Fixed the latex simple test not to use a code-block directive, which
115 compiles differently on different machines.
120 reStructuredText transforms:
122 * Fixed a bug with hyperlink resolution when a chained target went to
123 an indirect target to an internal target.
127 * Fixed a bug in dealing with raw DOM objects.
131 * Fixed bugs in line blocks
132 * Fixed bugs in parsed literals
133 * Fixed a bug where a paragraph ending in an interpreted text item did
134 not result in a new paragraph
135 * Fixed a bug with processing quotes around marked up text
136 * Fixed a bug with special characters in options
137 * Added support for outputting mathml to latex (requires
138 Text::ASCIIMathML 0.4 or later)
143 There were no functional changes in this release.
145 * Fixed some tests and expects to be compatible with perl 5.9.5.
146 * Modified Makefile.PL hopefully to be compatible with more versions
148 * Changed the way the system plug-in directive gets the message from
149 STDERR so that it will hopefully be compatible with more systems.
155 * Generated a fatal error if an input file cannot be opened.
157 ReStructuredText parsing:
159 * The target role now keeps the case of the target in creating its
164 * Process the :class: option on images.
165 * If the "-W image-exts" option is used (it's actually deprecated in
166 favor of "-D image-exts"), the default alt attribute now also uses
167 the substituted extension.
171 * Improved help text.
172 * Added "-W index-indirect-targets" option.
173 * Added "-W index-role-target" option.
177 * Added a "-W xref-role-target" option to specify which target role
178 (if any) should be used for cross references.
179 * The "-W xref-role-targets" option has been removed.
183 * Recoded to remove most dependencies on internal structure of DOM
184 objects outside of DOM.pm.
188 ReStructuredText parsing:
190 * Added a "target" role that allows separation of inline target tags
191 from the text that is displayed.
192 * Fixed a bug where, if two items in an enumerated list occurred with
193 no blank line between them and a third item was separated by a blank
194 line, the third item was put into a separate list.
198 * Exported the following new global variables: ``$DIRECTIVE`` and
203 * Mark a single paragraph in a compound as both class "compound-first"
205 * Fixed a bug where a class attribute on a field list did not
206 propagate to the output.
207 * Fixed a bug where an align attribute on a table did not propagate to
212 * Implemented the '-W doc-titles' and '-W index-role-targets' options.
213 * Output nothing instead of an empty table if there are no index
218 * Added the ``-W xref-role-targets`` option.
219 * Allowed the suffix to be an empty string.
223 * Fixed problem with find command in Makefile.PL that used a Linuxism.
224 * Made most of the perl modules use the subversion release as version number.
228 * Renamed ReleaseNotes.txt to ChangeLog so that it will appear as a
229 special file on CPAN.
230 * Made one more effort to fix the indexing of version numbers.
234 * Create lib/Text/Restructured.pm from lib/Text/Restructured.pm.PL so
235 we can insert the version number in to allow CPAN to index it
237 * Fixed a problem with creating regular-expression expects for tests.
241 Fixed problem with CPAN indexing of versions.
245 * Completely reworked the regression test structure so as not to be
246 dependent upon GNU make.
248 Writers 'dom' and 'xml':
250 * Fixed a bug with attribute strings that contain double quotes.
255 * Fixed a problem with Makefile.PL.
257 ReStructuredText parsing:
259 * Don't write messages to STDERR for errors in directives in test
264 * Fixed a problem with quote markes in "alt" image text.
265 * Added "-W body-only" flag.
269 * Fixed problems with running with -T.
274 * Fixed the help to parse as reStructuredText.
275 * Execute evals in ``Text::Restructured::Writer::Eval`` instead of ``Eval_::``.
276 * Initialize some of the opt variables to avoid warnings if not driven
279 ReStructuredText parsing:
281 * Added "-D image-exts" flag so that each writer doesn't have to
282 support the functionality separately.
286 * Added "-W enum-list-prefixes" flag.
287 * Documentation deprecates "-W image-exts".
291 * Be more lenient about including graphics for files that aren't in
292 the current directory.
293 * Fixed the processing of raw DOM elements to ignore those not
295 * Added a newline before admonitions so they're processed in vertical
300 * Added "-W parent-role" flag.
310 Updated the ``toc`` writer to have expanded abilities with the ``-W
311 file-suffix`` option.
313 Fixed the Makefile.PL so that hopefully at least some platforms will
314 pass regression tests.
316 Added release notes to the prest documentation.
321 Made the ``html``, ``toc``, and ``xref`` writers compatible with
322 non-breaking spaces in Perl 5.8.0 implementation of Unicode. (Unicode
323 implementation was fixed in Perl 5.8.6.)
325 All ``-D`` or ``-W`` option names can use either hyphens ("-") or
326 underscores ("_") for word separators; internally everything uses
329 reStructuredText parsing:
331 * Added hyphens to the following ``-D`` options: ``entry-attr``,
332 ``include-ext``, ``include-path``, ``nest-inline``, ``perl-path``,
333 ``row-attr``, ``table-attr``.
334 * Added the following ``-D`` options: ``file-insertion-enabled``,
335 ``ignore-include-errs``, ``raw-enabled``.
336 * Fixed a bug where explicit targets were not permitted within an
337 embedded url (e.g., '``reference <#explicit-target>``').
338 * Don't consider targets defined on the same source/line number to be
339 duplicate targets (can happen with multiply-included files).
340 * Fixed the checking for inconsistent title levels to be more robust.
341 * Keep an ``@INCLUDES`` array to keep track of the include stack. This
342 variable can be accessed in a ``perl``/``if`` directive.
343 * Fixed a bug where large grid tables could result in a deep
346 reStructuredText transforms:
348 * Added the ``-D docinfo-levels`` option.
349 * Changed the documentation to show the ``-D`` options with hyphens ("-")
350 instead of underscores ("_") separting words.
351 * The ``sectnum`` directive now processes starting from its containing
352 section, rather than from the top of the DOM tree.
356 * Added a ``:head:`` option.
360 * Export the ``$SOURCE``, ``$LINE``, and ``@INCLUDES`` for use in Perl
363 Directive '``perl``':
365 * Implemented ``:file:`` option.
366 * Exported ``@INCLUDES``.
368 Directive '``sectnum``':
370 * Added a ``:prefix-title:`` option.
374 * Inserted hyphen in the ``-W body-attr`` option.
375 * Updated for adding hyphens to the following ``-D`` options:
376 ``table-attr``, ``entry-attr``, ``row-attr``.
377 * Added ``-W image-exts`` option.
378 * Added support for ``:head:`` option of ``raw`` DOM.
379 * Fixed a bug with targets.
380 * Fixed a potential undefined variable warning for footnote references.
384 * Changed documentation for ``-W`` options to use hyphens ("-") instead of
385 underscores ("_") between words.
386 * Implemented ``-W output-header`` and ``-W title-underline`` options.
387 * Changed implementation to use a ``compound`` directive instead of a
388 ``raw`` directive to set the class for the generated contents.
389 * Removed a potential undefined variable warning for indirect targets.
393 * Updated documentation to show ``-W`` options with hyphens ("-") instead of
394 underscores ("_") to separate words.
395 * Restructured for simplicity.
396 * Changed the way non-breaking spaces are removed from generated DOM
397 objects since the auto-numbering may have things other than numbers
402 * Added the following ``-W`` options: ``appendix``, ``chapter``,
403 ``section``, ``xref-sections``, ``xref-targets``.
404 * Restructured the code for simplification.
408 Added support for ascii-mathml role and directive to produce mathml
409 markup. The mathml markup is only supported in the ``dom`` and ``html``
415 Went through code coverage reports and updated the tests to bring the
416 line and condition coverage up to 100% (except the soon-to-be-outdated
417 ``latex`` writer). This analysis resulted in the following fixes:
421 * Fixed a bug where help prints out multiple times if there are
423 * Relocated all the code for parsing and interpreting writer schemas
424 to ``Text::Restructured::Writer``.
425 * Fixed the version number not to end with a period.
426 * Don't use ``FindBin`` to append the directory in which the script is
427 found to its ``@INC`` path.
428 * Don't convert digits in ``-W`` options to underscores.
429 * Removed code for parsing DOM files to ``Text::Restructured::DOM::Parse``.
430 * Insert blank line in usage before "Descriptions of Plug-in
431 Directives" and "Descriptions of Writers".
433 reStructuredText parsing:
435 * Stricter option checking in most directives.
436 * Removed package globals and incorporated into a parser object.
437 * Initialize ``ANONYMOUS_TARGETS`` in init.
438 * Fixed the handling of inline literals in definition lists.
439 * Put a system message in the document rather than dying if a plug-in
440 directive fails to compile.
441 * Simplified the code by removing tests whose conditions were
443 * Fixed an infinite loop that could come up in processing nested
445 * Fixed an infinite loop that could come up if a line block started
446 with two or more blank lines.
447 * Fixed the removal of inline markup characters from normalized names.
448 * Have ``include`` directive do nothing if the file is empty, as opposed
449 to returning an empty paragraph.
450 * Added checks for the ``:prefix:`` and ``:suffix:`` options to the
451 ``role`` directive to be sure they're formatted correctly.
452 * Return a system message if the title in a table-type directive is
453 not a single paragraph.
454 * Merged the code for ``csv-table`` and ``list-table`` directives to the
456 * Fixed the ``:class:`` option for ``target-notes``.
458 reStructuredText transforms:
460 * Simplified code by removing branches whose conditions were
462 * Return a system message if evaluating transform code results in an
464 * Process ``:class:`` option for ``target-notes`` directive.
465 * Allow ``decorations`` transform to put in link to prest documentation if
468 Directive '``code_block``':
470 * Added ``-D code-block-states-file`` option.
471 * Do line numbering whether or not states can be run if
474 Directive '``system``':
476 * Return a ``PCDATA`` DOM if in a substitution definition context (instead
478 * Don't add a null paragraph if the text is empty.
482 * Updated to use ``$writer`` argument to access ``ProcessDOMPhase``.
486 * Changed the semantics of ``-W embed-stylesheet`` and ``-W stylesheet``.
487 * Added ``-W stylesheet2`` option to specify a secondary embedded stylesheet.
488 * Changed default of ``-W field-limit`` to 14 from 15.
489 * Reworked so all the writer's annotations are in DOM's ``{_html}`` member.
490 * Reworked so that DOM's ``{attr}`` member is read-only; HTML attributes
491 are all copied to ``{_html}{attr}`` member.
492 * Factored out much of the attribute handling into a ``GetAttr`` routine.
493 * Fixed output of literals embedded in literals.
497 * Restructured code for simplification
498 * Pass the a writer argument into ``QuoteStart``.
499 * Fixed processing of ``-W short-titles``.
500 * Added handler for interpreted roles.
504 * Simplified code for ``generated``.
508 * Simplified code for substitution definitions.
516 Updated manifest to add files that will allow the regression to pass
517 on machines with differing locales.
521 Added test files to fix problems when different locales use different
522 text for system error messages.
526 * Fixed problem that caused bare subroutines in writers to be compiled
528 * Removed the path out of the subroutine names created when compiling
530 * Fixed the ``#line`` directives for writer subroutines so that better
531 error messages/coverage results are obtained.
533 Made writers more efficient by renaming package subroutines to ``BEGIN``
534 so that they will always be called exactly once.
538 * Incorporated changes in docutils ``html`` writer:
540 * No longer change double-quotes to "``"``".
541 * No longer put a newline after a ``<pre>``.
545 First release that was indexable on CPAN.