Added support for multiple attributions in a physical block quote (indented text...
[docutils.git] / HISTORY.txt
blobd463ae5f28427e68fcb703e4a211fc52e879cc32
1 ==================
2  Docutils History
3 ==================
5 :Author: David Goodger; open to all Docutils developers
6 :Contact: goodger@python.org
7 :Date: $Date$
8 :Revision: $Revision$
9 :Web site: http://docutils.sourceforge.net/
10 :Copyright: This document has been placed in the public domain.
12 .. contents::
15 Changes Since 0.4
16 =================
18 * docutils/io.py:
20   - Added code to determine the input encoding from data: encoding
21     declarations or the presence of byte order marks (UTF-8 & UTF-16).
23 * docutils/nodes.py:
25   - Added ``document.__getstate__`` method, for pickling.
27 * docutils/parsers/rst/states.py:
29   - Unquoted targets beginning with an underscore (``.. __target:
30     URI``) are no longer accepted.
31   - Added support for multiple attributions in a physical block quote
32     (indented text block), dividing it into multiple logical block
33     quotes.
35 * docutils/writers/html4css1/__init__.py:
37   - Moved template functionality from the PEP/HTML writer here.
38   - Expanded the fragments available in the ``parts`` attribute.
40 * docutils/writers/html4css1/template.txt: Added to project.
42 * docutils/writers/pep_html/:
44   - Moved template functionality to the HTML writer.
46 * docutils/writers/s5_html/__init__.py:
48   - Added ``view_mode`` & ``hidden_controls`` settings
49     (``--view-mode`` & ``--hidden-controls/--visible-controls``
50     options).
52 * docutils/writers/latex2e/__init__.py:
54   - Apply patch for custom roles with classes from Edward Loper.
56 Release 0.4 (2006-01-09)
57 ========================
59 * General:
61   - Updated the project policies for trunk/branch development &
62     version numbering.
64 * docutils/__init__.py:
66   - Added ``__version_details__`` attribute to describe code source
67     (repository/snapshot/release).
68   - Replaced ``default_transforms`` attribute of TransformSpec with
69     ``get_transforms()`` method.
71 * docutils/core.py:
73   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
74     functions, for document tree extraction and reprocessing.
76 * docutils/io.py:
78   - Added ``DocTreeInput`` class, for reprocessing existing documents.
79   - Added support for non-Unicode (e.g. binary) writer output.
81 * docutils/nodes.py:
83   - Re-introduced ``Targetable.indirect_reference_name``, for
84     MoinMoin/reST compatibility (removed in r3124/r3129).
85   - Added ``serial_escape`` function; escapes string values that are
86     elements of a list, for serialization.  Modified Docutils-XML
87     writing (``Element._dom_node``) and pseudo-XML writing
88     (``Element.starttag``) to use ``serial_escape``.
89   - Added ``Node.deepcopy()`` method.
90   - Removed the internal lists ``document.substitution_refs``,
91     ``document.anonymous_refs``, and ``document.anonymous_targets``.
92   - Added a "container" element.
93   - Fixed bug where values of list-valued attributes of elements
94     originating from custom interpreted text roles (i.e., with custom
95     classes) were being shared between element instances.  Reported by
96     Shmuel Zeigerman.
98 * docutils/statemachine.py:
100   - Added trailing whitespace stripping to ``string2lines()``.
101   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
102     Asian double-width character support.
104 * docutils/utils.py:
106   - Added ``east_asian_column_width()`` for double-width character
107     support.
109 * docutils/languages/ja.py: Added to project: Japanese mappings by
110   Hisashi Morita.
112 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
113   mappings by Panjunyong.
115 * docutils/parsers/null.py: Added to project; a do-nothing parser.
117 * docutils/parsers/rst/__init__.py:
119   - Added validator to tab_width setting, with test.  Closes SF bug
120     #1212515, report from Wu Wei.
122 * docutils/parsers/rst/states.py:
124   - Fixed bug with escaped colons indicating a literal block.
125   - Fixed bug with enumerated lists (SF#1254145).
126   - Backslash-escaped colons inside of field names are now allowed.
127   - Targets (implicit and explicit), anonymous hyperlink references
128     and auto-numbered footnote references inside of substitution
129     definitions are now disallowed.
130   - Fixed bug: list items with blank first lines.
131   - Fixed bug: block quote attributions with indented second lines.
132   - Added East Asian double-width character support (Python 2.4 only).
134 * docutils/parsers/rst/tableparser.py:
136   - Added East Asian double-width character support (Python 2.4 only).
138 * docutils/parsers/rst/directives/body.py:
140   - Added the "container" directive.
142 * docutils/parsers/rst/directives/misc.py:
144   - Added the "default-role", "title", and "date" directives.
145   - Added standard data file syntax to the "include" directive.
146   - Added support for "class" directive content.
148 * docutils/parsers/rst/directives/images.py:
150   - Added ``indirect_reference_name`` support for images with a target
151     option.
152   - Added support for image width and height units.
153   - Fixed bug with image "target" options.
155 * docutils/parsers/rst/directives/references.py:
157   - Added "class" attribute to "target-notes" directive, for
158     footnote_reference classes.
160 * docutils/parsers/rst/include/: Directory added to project; contains
161   standard data files for the "include" directive.  Initial contents:
162   character entity substitution definition sets, and a set of
163   definitions for S5/HTML presentations.
165 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
166   mappings by David Goodger.
167   
168 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
169   Simplified Chinese mappings by Panjunyong.
171 * docutils/readers/__init__.py:
173   - Added universal.Decorations and universal.ExposeInternals
174     transforms as default transforms for all readers.
175   - Added ``ReReader`` base class for readers that reread an existing
176     document tree.
178 * docutils/readers/doctree.py: Added to project; a reader for existing
179   document trees.
181 * docutils/transforms/frontmatter.py:
183   - Fixed the DocInfo transform to handle SVN-style expansion of the
184     "Date" keyword.
185   - In ``DocInfo.extract_authors``, treat the contents of "authors"
186     fields uniformly.
188 * docutils/transforms/misc.py:
190   - Added misc.Transitions transform, extracted from
191     universal.FinalChecks.
193 * docutils/transforms/references.py:
195   - Added references.DanglingReferences transform, extracted from
196     universal.FinalChecks.
197   - Fixed bug with doubly-indirect substitutions.
198   - Added footnote_reference classes attribute to "TargetNotes".
199   - Fixed bug with circular substitution definitions that put Docutils
200     into an infinite loop.
202 * docutils/transforms/universal.py:
204   - Added universal.ExposeInternals transform, extracted from
205     universal.FinalChecks.
206   - Removed universal.FinalChecks transform (logic has been moved to
207     several new transforms).
208   - Fixed bug with the "expose_internals" setting and Text nodes
209     (exposed by the "rawsource" internal attribute).
210   - Added the universal.StripComments transform, implementation of the
211     "strip_comments" setting.
213 * docutils/transforms/writer_aux.py: Added to project; auxiliary
214   transforms for writers.
216   - Added ``Compound`` transform, which flattens compound paragraphs.
218 * docutils/writers/: Several writer modules (html4css1.py) were
219   converted into packages.  Support modules and data files have been
220   moved into the packages.  The stylesheets for the HTML writers are
221   now installed along with the code, the code knows where to find
222   them, and the default is to use them (actually, to embed them).
223   Some adjustments to configuration files may be necessary.  The
224   easiest way to obtain the new default behavior is to remove all
225   settings whose name includes "stylesheet".
227 * docutils/writers/__init__.py:
229   - Added universal.Messages and universal.FilterMessages transforms
230     as default transforms for all writers.
231   - Added ``UnfilteredWriter`` base class for writers that pass the
232     document tree on unchanged.
234 * docutils/writers/docutils_xml.py:
236   - Made ``xmlcharrefreplace`` the default output encoding error
237     handler.
239 * docutils/writers/html4css1/: 
241   - Added support for image width and height units.
242   - Made ``xmlcharrefreplace`` the default output encoding error
243     handler.
244   - Made ``--embed-stylesheet`` the default rather than
245     ``--link-stylesheet``.
246   - Moved "id" attribute from container (section etc.) to title's <a>
247     tag, to be on the same tag as "name".
248     (!!! To be reverted in Docutils 0.5.)
249   - Added vertical space between fields of field lists.
250   - Added ``--compact-field-lists`` option to remove vertical space in
251     simple field lists.
252   - Made cloaking of email addresses with ``--cloak-email-addresses``
253     less obtrusive.
254   - Fixed support for centered images.
255   - Added support for class="compact" & class="open" lists.
257 * docutils/writers/latex2e/:
259   - Underscores in citekeys are no longer escaped.
261 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
262   mapping of Unicode characters to LaTeX equivalents.
264 * docutils/writers/s5_html/: Package added to project; writer for
265   S5/HTML slide shows.
267 * docs/dev/distributing.txt: Added to project; guide for distributors
268   (package maintainers).
270 * docs/dev/hacking.txt: Added to project; guide for developers.
272 * docs/ref/doctree.txt:
274   - Updated for plural attributes "classes", "ids", "names",
275     "dupnames".
276   - Added the "container" element.
278 * docs/ref/docutils.dtd:
280   - Updated for plural attributes "classes", "ids", "names",
281     "dupnames".
283 * docs/user/emacs.txt: Added to project; a document about Emacs
284   support for reStructuredText and Docutils.
286 * docs/user/links.txt: Added to project; lists of Docutils-related
287   links.
289 * docs/user/mailing-lists.txt: Added to project; information about
290   Docutils-related mailing lists and how to access them.
292 * docs/user/slide-shows.txt: Added to project; example of and docs for
293   the S5/HTML writer (``rst2s5.py`` front end).
295 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
296   Files", added to project.
298 * test/coverage.sh: Added to project; test coverage script.
300 * test/DocutilsTestSupport.py:
302   - Added support for specifying runtime settings at the suite level.
304 * test/test_functional.py:
306   - Added the ``clear_output_directory`` function.
307   - Added support for ``_test_more`` functions in functional test
308     config files.
310 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
312 * tools/rstpep2html.py: Renamed from pep.py.
314 * tools/dev/create_unimap.py: Added to project; script to create the
315   docutils/writers/unimap_latex.py mapping file.
317 * tools/dev/profile_docutils.py: Added to project; profiler script.
319 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
321 * tools/editors/emacs/restructuredtext.el,
322   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
323   Removed from project; the functionality is now contained in rst.el.
325 * tools/editors/emacs/rst.el: Added to project.  Added many features
326   and fixed many bugs.  See docs/user/emacs.txt for details.
328 * tools/stylesheets: Removed from project.  Stylesheets have been
329   renamed and moved into writer packages.
332 Release 0.3.9 (2005-05-26)
333 ==========================
335 * General:
337   - Eliminated and replaced all uses of the old string attributes
338     ``id``, ``name``, ``dupname`` and ``class`` with references to the
339     new list attributes ``ids``, ``names``, ``dupnames`` and
340     ``classes`` throughout the whole source tree.
342 * docutils/core.py:
344   - Enabled ``--dump-*`` options when ``--traceback`` specified,
345     allowing for easier debugging.
346   - In ``Publisher.publish()``, expanded the generic top-level
347     exception catching.
349 * docutils/examples.py:
351   - Added ``internals`` function for exploration.
353 * docutils/io.py:
355   - Fixed ``Input.decode`` method to apply heuristics only if no
356     encoding is explicitly given, and to provide better reporting of
357     decoding errors.
358   - The ``Input.decode`` method now removes byte order marks (BOMs)
359     from input streams.
361 * docutils/nodes.py:
363   - ``image`` element class changed to subclass of Element, not
364     TextElement (it's an empty element, and cannot contain text).
365   - Added ``attr_defaults`` dictionary for default attribute values.
366   - Added empty list as default value for the following attributes:
367     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
368   - Added ``document.decoration`` attribute,
369     ``document.get_decoration`` method, and ``decoration.get_header``
370     & ``.get_footer`` methods.
371   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
372     methods.
374 * docutils/utils.py:
376   - Removed ``docutils.utils.Reporter.categories``,
377     ``docutils.utils.ConditionSet``, and all references to them, to
378     simplify error reporting.
380 * docutils/languages/nl.py: Added to project; Dutch mappings by
381   Martijn Pieters.
383 * docutils/parsers/rst/__init__.py:
385   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
387 * docutils/parsers/rst/states.py:
389   - Added check for escaped at-mark to prevent email address recognition.
390   - Fixed option lists to allow spaces inside ``<angle-bracketed option
391     arguments>``.
392   - Allowed whitespace in paths and URLs.
393   - Added auto-enumerated list items.
394   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
395     followed by text.
396   - Added support for table stub columns.
398 * docutils/parsers/rst/directives/__init__.py:
400   - Allowed whitespace in paths (``path`` function).
401   - Added ``uri`` directive option conversion function.
403 * docutils/parsers/rst/directives/body.py:
405   - Fixed illegal context bug with "topic" directive (allowed within
406     sidebars; not within body elements).
408 * docutils/parsers/rst/directives/images.py:
410   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
411   - Added support for the ``file_insertion_enabled`` setting in the
412     "figure" directive (disables "figwidth" option).
413   - "image" directive: added checks for valid values of "align" option,
414     depending on context.  "figure" directive: added specialized
415     "align" option and attribute on "figure" element.
416   - Made ":figwidth: image" option of "figure" directive work again.
417   - Fixed bug with reference names containing uppercase letters
418     (e.g. ``Name_``) in "target" option of "image" directive.
420 * docutils/parsers/rst/directives/misc.py:
422   - Fixed "include" and "raw" directives to catch text decoding
423     errors.
424   - Allowed whitespace in "include" & "raw" directive paths.
425   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
426     settings in "include" & "raw" directives.
428 * docutils/parsers/rst/directives/parts.py:
430   - Added "header" & "footer" directives.
431   - Fixed illegal context bug with "contents" directive (topics
432     allowed within sidebars; not within body elements).
434 * docutils/parsers/rst/directives/tables.py:
436   - Added "list-table" directive.
437   - Caught empty CSV table bug.
438   - Added support for the ``file_insertion_enabled`` setting in the
439     "csv-table" directive.
440   - Added ``stub-columns`` option to "csv-table" and "list-table"
441     directives.
443 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
444   mappings by Martijn Pieters.
446 * docutils/readers/standalone.py:
448   - Added ``--section-subtitles`` and ``--no-section-subtitles``
449     options to activate or deactivate the SectSubTitle transform.
451 * docutils/transforms/frontmatter.py:
453   - Added SectSubTitle transform to promote titles of lone
454     subsections to subtitles.
456 * docutils/transforms/references.py:
458   - Fixed mislocated internal targets bug, by propagating internal
459     targets to the next node, making use of the newly added support
460     for multiple names and IDs.
461   - Fixed duplicate footnote label bug.
462   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
463     transform.
465 * docutils/writers/html4css1.py:
467   - Fixed unencoded stylesheet reference bug (characters like "&" in
468     stylesheet references).
469   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
470     tags).
471   - Added support for multiple IDs per node by creating empty ``span``
472     tags.
473   - Added the ``field_name_limit`` & ``option_limit`` settings &
474     support.
475   - Added support for table stub columns.
476   - Added support for the ``align`` attribute on ``figure`` elements.
477   - Added the ``cloak_email_addresses`` setting & support.
478   - Added ``html_prolog``, ``html_head``, ``html_body``,
479     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
480     ``docutils.core.publish_parts``.
481   - Added support for section subtitles.
483 * docutils/writers/latex2e.py:
485   - Fixed tables starting with more than one multirow cell.
486   - Improved --use-latex-docinfo so that organization/contact/address
487     fields are lumped with the last author field and appear on the
488     titlepage.
489   - Made sure the titlepage is always shown with --use-latex-docinfo,
490     even if the document has no title.
491   - Made sure that latex doesn't fill in today's date if no date field
492     was given.
493   - Added support for section subtitles.
495 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
496   (under development).
498 * docutils/writers/null.py: Added to project; a do-nothing Writer.
500 * docs/api/publisher.txt:
502   - Added "``publish_parts`` Details" section.
504 * docutils/dev/repository.txt: Added to project; information about the
505   Docutils Subversion repository.
507 * docs/ref/docutils.dtd:
509   - Added a ``stub`` attribute to the ``colspec`` element via the
510     ``tbl.colspec.att`` parameter entity.
511   - Allowed topic elements within sidebars
512   - Added an ``align`` attribute to the ``figure`` element.
514 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
515   writer.
518 Release 0.3.7 (2004-12-24)
519 ==========================
521 * docutils/frontend.py:
523   - Added options: --input-encoding-error-handler,
524     --record-dependencies, --leave-footnote-reference-space,
525     --strict-visitor.
526   - Added command-line and config file support for "overrides" setting
527     parameter.
529 * docutils/io.py:
531   - Added support for input encoding error handler.
533 * docutils/nodes.py:
535   - Added dispatch_visit and dispatch_departure methods to
536     NodeVisitor; useful as a hook for Visitors.
537   - Changed structure of ``line_block``; added ``line``.
538   - Added ``compound`` node class.
539   - Added a mechanism for Visitors to transitionally ignore new node
540     classes.
542 * docutils/utils.py:
544   - Moved ``escape2null`` and ``unescape`` functions from
545     docutils/parsers/rst/states.py.
547 * docutils/parsers/rst/roles.py:
549   - Added "raw" role.
550   - Changed role function API: the "text" parameter now takes
551     null-escaped interpreted text content.
553 * docutils/parsers/rst/states.py:
555   - Fixed bug where a "role" directive in a nested parse would crash
556     the parser; the state machine's "language" attribute was not being
557     copied over.
558   - Added support for line block syntax.
559   - Fixed directive parsing bug: argument-less directives didn't
560     notice that arguments were present.
561   - Removed error checking for transitions.
562   - Added support for multiple classifiers in definition list items.
563   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
564   - Changed role function API: the "text" parameter now takes
565     null-escaped interpreted text content.
566   - Empty sections and documents are allowed now.
568 * docutils/parsers/rst/directives/__init__.py:
570   - Added ``encoding`` directive option conversion function.
571   - Allow multiple class names in class_option conversion function.
573 * docutils/parsers/rst/directives/body.py:
575   - Converted the line-block directive to use the new structure.
576   - Extracted the old line-block functionality to the ``block``
577     function (still used).
578   - Added ``compound`` directive (thanks to Felix Wiemann).
580 * docutils/parsers/rst/directives/misc.py:
582   - Added "encoding" option to "include" and "raw" directives.
583   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
584   - Allow multiple class names in the "class" directive.
586 * docutils/parsers/rst/directives/parts.py:
588   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
589     options.  Thanks to Lele Gaifax.
591 * docutils/parsers/rst/directives/tables.py:
593   - Added "encoding" directive to "csv-table" directive.
594   - Added workaround for lack of Unicode support in csv.py, for
595     non-ASCII CSV input.
597 * docutils/transforms/misc.py:
599   - Fixed bug when multiple "class" directives are applied to a single
600     element.
601   - Enabled multiple format names for "raw" directive.
603 * docutils/transforms/references.py:
605   - Added support for trimming whitespace from beside substitution
606     references.
608 * docutils/transforms/universal.py:
610   - FinalChecks now checks for illegal transitions and moves
611     transitions between sections.
613 * docutils/writers/html4css1.py:
615   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
616   - "stylesheet" and "stylesheet_path" settings are now mutually
617     exclusive.
618   - Added support for the new line_block/line structure.
619   - --footnote-references now overrides
620     --trim-footnote-reference-space, if applicable.
621   - Added support for ``compound`` elements.
622   - Enabled multiple format names for "raw" directive.
623   - ``<p>`` tags of a paragraph which is the only visible child of the
624     document node are no longer stripped.
625   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
626     new method ``should_be_compact_paragraph()``.
627   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
628     elements.
629   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
630     the output if they have their ``class`` attribute set.
631   - The whole document is now surrounded by a ``<div
632     class="document">`` element.
633   - Body-level images are now wrapped by their own ``<div>`` elements,
634     with image classes copied to the wrapper, and for images which
635     have the ``:align:`` option set, the surrounding ``<div>`` now
636     receives a class attribute (like ``class="align-left"``).
638 * docutils/writers/latex2e.py:
640   - no newline after depart_term.
641   - Added translations for some Unicode quotes.
642   - Added option "font-encoding", made package AE the default.
643   - "stylesheet" and "stylesheet_path" settings are now mutually
644     exclusive.
645   - --footnote-references now overrides
646     --trim-footnote-reference-space, if applicable.
647   - The footnote label style now matches the footnote reference style
648     ("brackets" or "superscript").
649   - Added support for ``compound`` elements.
650   - Enabled multiple format names for "raw" directive.
652 * docs/ref/docutils.dtd:
654   - Changed structure of the ``line_block`` element; added ``line``.
655   - Added ``compound`` element.
656   - Added "ltrim" and "rtrim" attributes to
657     ``substitution_definition`` element.
658   - Enabled multiple format names for ``raw`` element.
659   - Enabled multiple classifiers in ``definition_list_item`` elements.
661 * docs/ref/rst/directives.txt
663   - Marked "line-block" as deprecated.
664   - "Class" directive now allows multiple class names.
665   - Added "Rationale for Class Attribute Value Conversion".
666   - Added warning about "raw" overuse/abuse.
668 * docs/ref/rst/restructuredtext.txt:
670   - Added syntax for line blocks.
671   - Definition list items may have multiple classifiers.
673 * docs/ref/rst/roles.txt:
675   - Added "raw" role.
677 * tools/stylesheets/default.css:
679   - Added support for the new line_block structure.
680   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
683 Release 0.3.5 (2004-07-29)
684 ==========================
686 General:
688 * _`Documentation cleanup/reorganization`.
690   - Created new subdirectories of docs/:
692     * ``docs/user/``: introductory/tutorial material for end-users
693     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
694     * ``docs/api/``: API reference material for client-developers
695     * ``docs/ref/``: reference material for all groups
696     * ``docs/howto/``: for component-developers and core-developers
697     * ``docs/peps/``: Python Enhancement Proposals
699   - Moved ``docs/*`` to ``docs/user/``.
700   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
701     ``spec/`` to ``docs/dev``.
702   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
703     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
704   - Moved ``alternatives.txt``, and ``problems.txt`` from
705     ``spec/rst/`` to ``docs/dev/rst/``.
706   - Moved ``reStructuredText.txt``, ``directives.txt``,
707     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
708     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
709     ``roles.txt``, ``reStructuredText.txt`` to
710     ``restructuredtext.txt``.
711   - Moved ``spec/howto/`` to ``docs/howto``.
713   In order to keep the CVS history of moved files, we supplied
714   SourceForge with a `script for modifying the Docutils CVS
715   repository`__.
717   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
719   After running the cleanup script:
721   - Added ``docs/index.txt``.
722   - Added a ``.htaccess`` file to the ``web`` module, containing
723     redirects for all old paths to new paths.  They'll preserve
724     fragments (the "#name" part of a URL), and won't clutter up the
725     file system, and will correct the URL in the user's browser.
726   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
727     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
728     the "To Do" list itself in ``docs/dev/todo.txt``.
729   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
730     section of ``docs/dev/todo.txt``.
731   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
732   - Added "How To Report Bugs" to ``BUGS.txt``.
733   - Went through all the sources and docs (including under web/) and
734     updated links.  Mostly done by Felix Wiemann; thanks Felix!
735     (Still need to update links in the sandboxes.)
737 Specific:
739 * BUGS.txt: Added to project.
741 * THANKS.txt: Added to project.
743 * docutils/__init__.py:
745   - 0.3.4: Post-release.
747 * docutils/core.py:
749   - Added special error handling & advice for UnicodeEncodeError.
750   - Refactored Publisher.publish (simplified exception handling &
751     extracted debug dumps).
752   - Renamed "enable_exit" parameter of convenience functions to
753     "enable_exit_status".
754   - Enabled traceback (exception propagation) by default in
755     programmatic convenience functions.
756   - Now publish_file and publish_cmdline convenience functions return
757     the encoded string results in addition to their regular I/O.
758   - Extracted common code from publish_file, publish_string, and
759     publish_parts, into new publish_programmatically.  Extracted
760     settings code to ``Publisher.process_programmatic_settings``.
761   - In Publisher.publish, disabled ``settings_overrides`` when
762     ``settings`` is supplied; redundant.
764 * docutils/frontend.py:
766   - Added help text for "--output-encoding-error-handler" and
767     "--error-encoding-error-handler".
768   - Renamed "--exit" to "--exit-status".
769   - Simplified default-setting code.
771 * docutils/parsers/rst/__init__.py:
773   - Added "--pep-base-url" and "--rfc-base-url" options.
775 * docutils/parsers/rst/states.py:
777   - Made URI recognition more aggressive and intelligent.
779 * docutils/parsers/rst/directives/__init__.py:
781   - Added several directive option conversion functions.
783 * docutils/parsers/rst/directives/body.py:
785   - Moved "table" directive to tables.py.
787 * docutils/parsers/rst/directives/tables.py: Table-related directives,
788   added to project.
790 * docutils/writers/latex2e.py:
792   - Added "--table-style=(standard|booktabs|nolines)"
793   - figures get "here" option (LaTeX per default puts them at bottom),
794     and figure content is centered.
795   - Rowspan support for tables.
796   - Fix: admonition titles before first section.
797   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
798   - Replave ``_`` in literal by an underlined blank, because it has the correct
799     width.
800   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
801   - A few unicode replacements, if output_encoding != utf
802   - Add "--graphicx-option".
803   - Indent literal-blocks.
804   - Fix: omit ``\maketitle`` when there is no document title.
806 * docs/index.txt: "Docutils Project Documentation Overview", added to
807   project.
809 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
810   Tool", added to project.
812 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
814 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
816 * docs/dev/policies.txt: Added to project (extracted from
817   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
819 * docs/dev/release.txt: Added to project (extracted from
820   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
822 * docs/dev/testing.txt: Added to project.
824 * docs/dev/website.txt: Added to project (extracted from
825   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
827 * docs/ref/rst/directives.txt:
829   - Added directives: "table", "csv-table".
831 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
832   added to project.  1 page for syntax, and a 1 page reference for
833   directives and roles.  Source text to be used as-is; not meant to be
834   converted to HTML.
836 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
837   with a change of title.
839 * test/functional/, contents, and test/test_functional.py: Added to
840   project.
842 * tools/buildhtml.py: Fixed bug with config file handling.
844 * tools/html.py: Removed from project (duplicate of rst2html.py).
846 * tools/pep2html.py: Removed from project (duplicate of Python's
847   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
848   Docutils-related PEPs in docs/peps/).
850 * tools/rst2pseudoxml.py: Renamed from publish.py.
852 * tools/rst2xml.py: Renamed from docutils-xml.py.
854 * tools/test.txt: Removed from project; moved to
855   docs/user/rst/demo.txt.
857 * setup.py: Now also installs ``rst2latex.py``.
860 Release 0.3.3 (2004-05-09)
861 ==========================
863 * docutils/__init__.py:
865   - 0.3.1: Reorganized config file format (multiple sections); see
866     docs/config.txt.
867   - Added unknown_reference_resolvers attribute to TransformSpec.
868   - 0.3.2: Interpreted text reorganization.
869   - 0.3.3: Released.
871 * docutils/core.py:
873   - Catch system messages to stop tracebacks from parsing errors.
874   - Catch exceptions during processing report & exit without
875     tracebacks, except when "--traceback" used.
876   - Reordered components for OptionParser; application comes last.
877   - Added "config_section" parameter to several methods and functions,
878     allowing front ends to easily specify their config file sections.
879   - Added publish_parts convenience function to allow access to individual
880     parts of a document.
882 * docutils/examples.py: Added to project; practical examples of
883   Docutils client code, to be used as-is or as models for variations.
885 * docutils/frontend.py:
887   - Added "--traceback" & "--no-traceback" options ("traceback"
888     setting).
889   - Implemented support for config file reorganization:
890     ``standard_config_files`` moved from ``ConfigParser`` to
891     ``OptionParser``; added
892     ``OptionParser.get_config_file_settings()`` and
893     ``.get_standard_config_settings()``; support for old "[options]"
894     section (with deprecation warning) and mapping from old to new
895     settings.
896   - Reimplemented setting validation.
897   - Enabled flexible boolean values: yes/no, true/false, on/off.
898   - Added ``Values``, a subclass of ``optparse.Values``, with support
899     for list setting attributes.
900   - Added support for new ``DOCUTILSCONFIG`` environment variable;
901     thanks to Beni Cherniavsky.
902   - Added "--no-section-numbering" option.
904 * docutils/io.py:
906   - Catch IOErrors when opening source & destination files, report &
907     exit without tracebacks.  Added ``handle_io_errors`` parameter to
908     ``FileInput`` & ``FileOutput`` to enable caller error handling.
910 * docutils/nodes.py:
912   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
913     method definitions (via ``exec``) to dynamic assignments (via
914     ``setattr``); thanks to Roman Suzi.
915   - Encapsulated visitor dynamic assignments in a function; thanks to
916     Ian Bicking.
917   - Added indirect_reference_name attribute to the Targetable
918     class. This attribute holds the whitespace_normalized_name
919     (contains mixed case) of a target.
921 * docutils/statemachine.py:
923   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
924   - Added ``StringList.get_2D_block``.
926 * docutils/utils.py:
928   - Added "level" attribute to SystemMessage exceptions.
930 * docutils/languages/af.py: Added to project; Afrikaans mappings by
931   Jannie Hofmeyr.
933 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
934   Blaha.
936 * docutils/languages/eo.py: Added to project; Esperanto mappings by
937   Marcelo Huerta San Martin.
939 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
940   mappings by Lalo Martins.
942 * docutils/languages/ru.py: Added to project; Russian mappings by
943   Roman Suzi.
945 * docutils/parsers/rst/roles.py: Added to project.  Contains
946   interpreted text role functions, a registry for interpreted text
947   roles, and an API for adding to and retrieving from the registry.
948   Contributed by Edward Loper.
950 * docutils/parsers/rst/states.py:
952   - Updated ``RSTState.nested_parse`` for "include" in table cells.
953   - Allowed true em-dash character and "---" as block quote
954     attribution marker.
955   - Added support for <angle-bracketed> complex option arguments
956     (option lists).
957   - Fixed handling of backslashes in substitution definitions.
958   - Fixed off-by-1 error with extra whitespace after substitution
959     definition directive.
960   - Added inline markup parsing to field lists' field names.
961   - Added support for quoted (and unindented) literal blocks.
962     Driven in part by a bribe from Frank Siebenlist (thanks!).
963   - Parser now handles escapes in URIs correctly.
964   - Made embedded-URIs' reference text omittable.  Idea from Beni
965     Cherniavsky.
966   - Refactored explicit target processing code.
967   - Added name attribute to references containing the reference name only
968     through whitespace_normalize_name (no case changes).
969   - parse_target no longer returns the refname after going through
970     normalize_name. This is now handled in make_target.
971   - Fixed bug relating to role-less interpreted text in non-English
972     contexts.
973   - Reorganized interpreted text processing; moved code into the new
974     roles.py module.  Contributed by Edward Loper.
975   - Refactored ``Body.parse_directive`` into ``run_directive`` and
976     ``parse_directive_block``.
978 * docutils/parsers/rst/tableparser.py:
980   - Reworked for ``StringList``, to support "include" directives in
981     table cells.
983 * docutils/parsers/rst/directives/__init__.py:
985   - Renamed ``unchanged()`` directive option conversion function to
986     ``unchanged_required``, and added a new ``unchanged``.
987   - Catch unicode value too high error; fixes bug 781766.
988   - Beefed up directive error reporting.
990 * docutils/parsers/rst/directives/body.py:
992   - Added basic "table" directive.
994 * docutils/parsers/rst/directives/images.py:
996   - Added "target" option to "image" directive.
997   - Added name attribute to references containing the reference name only
998     through whitespace_normalize_name (no case changes).
1000 * docutils/parsers/rst/directives/misc.py:
1002   - Isolated the import of the ``urllib2`` module; was causing
1003     problems on SourceForge (``libssl.so.2`` unavailable?).
1004   - Added the "role" directive for declaring custom interpreted text
1005     roles.
1007 * docutils/parsers/rst/directives/parts.py:
1009   - The "contents" directive does more work up-front, creating the
1010     "topic" and "title", and leaving the "pending" node for the
1011     transform.  Allows earlier reference resolution; fixes subtle bug.
1013 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1014   mappings by Jannie Hofmeyr.
1016 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1017   mappings by Marek Blaha.
1019 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1020   mappings by Marcelo Huerta San Martin.
1022 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1023   Portuguese mappings by Lalo Martins.
1025 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1026   mappings by Roman Suzi.
1028 * docutils/transforms/parts.py:
1030   - The "contents" directive does more work up-front, creating the
1031     "topic" and "title", and leaving the "pending" node for the
1032     transform.  Allows earlier reference resolution; fixes subtle bug.
1033   - Added support for disabling of section numbering.
1035 * docutils/transforms/references.py:
1037   - Verifying that external targets are truly targets and not indirect
1038     references. This is because we are now adding a "name" attribute to
1039     references in addition to targets. Note sure if this is correct!
1040   - Added code to hook into the unknown_reference_resolvers list for a
1041     transformer in resolve_indirect_target. This allows the
1042     unknown_reference_resolvers to keep around indirect targets which
1043     docutils doesn't know about.
1044   - Added specific error message for duplicate targets.
1046 * docutils/transforms/universal.py:
1048   - Added FilterMessages transform (removes system messages below the
1049     verbosity threshold).
1050   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1051     to FinalCheckVisitor for application-specific handling of
1052     unresolvable references.
1053   - Added specific error message for duplicate targets.
1055 * docutils/writers/__init__.py:
1057   - Added assemble_parts method to the Writer class to allow for
1058     access to a documents individual parts.
1059   - Documented & set default for ``Writer.output`` attribute.
1061 * docutils/writers/html4css1.py:
1063   - Fixed unicode handling of attribute values (bug 760673).
1064   - Prevent duplication of "class" attribute values (bug report from
1065     Kirill Lapshin).
1066   - Improved table grid/border handling (prompted by report from Bob
1067     Marshall).
1068   - Added support for table titles.
1069   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1070     to Darek Suchojad.
1071   - Added functionality to keep track of individual parts of a document
1072     and store them in a dictionary as the "parts" attribute of the writer.
1073     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1074   - Added proper support for the "scale" attribute of the "image"
1075     element.  Contributed by Brent Cook.
1076   - Added ``--initial-header-level`` option.
1077   - Fixed bug: the body_pre_docinfo segment depended on there being a
1078     docinfo; if no docinfo, the document title was incorporated into
1079     the body segment.  Adversely affected the publish_parts interface.
1081 * docutils/writers/latex2e.py:
1083   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1084     about a missing file.
1085   - Added options and support: ``--compound-enumerators``,
1086     ``--section-prefix-for-enumerators``, and
1087     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1088     934322).
1089   - Added option ``--use-verbatim-when-possible``, to avoid
1090     problematic characters (eg, '~' in italian) in literal blocks.
1091   - It's now possible to use four section levels in the `book` and
1092     `report` LaTeX classes.  The default `article` class still has
1093     three levels limit.
1095 * docs/config.txt: "Docutils Configuration Files", added to project.
1096   Moved config file entry descriptions from tools.txt.
1098 * docs/tools.txt:
1100   - Moved config file entry descriptions to config.txt.
1102 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
1103   Development".
1105 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1106   Text Roles", added to project.
1108 * spec/rst/reStructuredText.txt:
1110   - Added description of support for <angle-bracketed> complex option
1111     arguments to option lists.
1112   - Added subsections for indented and quoted literal blocks.
1114 * test: Continually adding & updating tests.
1116   - Added test/test_settings.py & test/data/config_*.txt support
1117     files.
1118   - Added test/test_writers/test_htmlfragment.py.
1120 * test/DocutilsTestSupport.py:
1122   - Refactored LaTeX publisher test suite/case class names to make
1123     testing other writers easier.
1124   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1125     to test the processing of HTML fragments which use the new
1126     publish_parts convenience function.
1128 * tools/buildhtml.py:
1130   - Added support for the "--prune" option.
1131   - Removed dependency on pep2html.py; plaintext PEPs no longer
1132     supported.
1134 * tools/docutils.conf:
1136   - Updated for configuration file reorganization.
1138 * tools/rst2html.py:
1140   - copied from tools/html.py
1142 * setup.py:
1144   - added a 'scripts' section to configuration
1145   - added 'tools/rst2html.py' to the scripts section
1148 Release 0.3 (2003-06-24)
1149 ========================
1151 General:
1153 * Renamed "attribute" to "option" for directives/extensions.
1155 * Renamed transform method "transform" to "apply".
1157 * Renamed "options" to "settings" for runtime settings (as set by
1158   command-line options).  Sometimes "option" (singular) became
1159   "settings" (plural).  Some variations below:
1161   - document.options -> document.settings (stored in other objects as
1162     well)
1163   - option_spec -> settings_spec (not directives though)
1164   - OptionSpec -> SettingsSpec
1165   - cmdline_options -> settings_spec
1166   - relative_path_options -> relative_path_settings
1167   - option_default_overrides -> settings_default_overrides
1168   - Publisher.set_options -> Publisher.get_settings
1170 Specific:
1172 * COPYING.txt: Added "Public Domain Dedication".
1174 * FAQ.txt: Frequently asked questions, added to project.
1176 * setup.py:
1178   - Updated with PyPI Trove classifiers.
1179   - Conditional installation of third-party modules.
1181 * docutils/__init__.py:
1183   - Bumped version to 0.2.1 to reflect changes to I/O classes.
1184   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1185   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1186   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1187     option and its effect on the PEP template & writer.
1188   - Bumped version to 0.2.4 due to changes to the PEP template &
1189     stylesheet.
1190   - Bumped version to 0.2.5 to reflect changes to Reporter output.
1191   - Added ``TransformSpec`` class for new transform system.
1192   - Bumped version to 0.2.6 for API changes (renaming).
1193   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1194     convenience functions.
1195   - Added ``Component.component_type`` attribute.
1196   - Bumped version to 0.2.8 because of the internal parser switch from
1197     plain lists to the docutils.statemachine.StringList objects.
1198   - Bumped version to 0.2.9 because of the frontend.py API changes.
1199   - Bumped version to 0.2.10 due to changes to the project layout
1200     (third-party modules removed from the "docutils" package), and
1201     signature changes in ``io.Input``/``io.Output``.
1202   - Changed version to 0.3.0 for release.
1204 * docutils/core.py:
1206   - Made ``publish()`` a bit more convenient.
1207   - Generalized ``Publisher.set_io``.
1208   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1209     parameters; improved its docstring.
1210   - Added ``publish_file()`` and ``publish_string()``.
1211   - Factored ``Publisher.set_source()`` and ``.set_destination()``
1212     out of ``.set_io``.
1213   - Added support for "--dump-pseudo-xml", "--dump-settings", and
1214     "--dump-transforms" hidden options.
1215   - Added ``Publisher.apply_transforms()`` method.
1216   - Added ``Publisher.set_components()`` method; support for
1217     ``publish_*()`` conveninece functions.
1218   - Moved config file processing to docutils/frontend.py.
1219   - Added support for exit status ("exit_level" setting &
1220     ``enable_exit`` parameter for Publisher.publish() and convenience
1221     functions).
1223 * docutils/frontend.py:
1225   - Check for & exit on identical source & destination paths.
1226   - Fixed bug with absolute paths & "--config".
1227   - Set non-command-line defaults in ``OptionParser.__init__()``:
1228     ``_source`` & ``_destination``.
1229   - Distributed ``relative_path_settings`` to components; updated
1230     ``OptionParser.populate_from_components()`` to combine it all.
1231   - Require list of keys in ``make_paths_absolute`` (was implicit in
1232     global ``relative_path_settings``).
1233   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1234     "--dump-settings", and "--dump-transforms" hidden options.
1235   - Removed nasty internals-fiddling ``ConfigParser.get_section``
1236     code, replaced with correct code.
1237   - Added validation functionality for config files.
1238   - Added "--error-encoding" option/setting, "_disable_config"
1239     internal setting.
1240   - Added encoding validation; updated "--input-encoding" and
1241     "--output-encoding"; added "--error-encoding-error-handler" and
1242     "--output-encoding-error-handler".
1243   - Moved config file processing from docutils/core.py.
1244   - Updated ``OptionParser.populate_from_components`` to handle new
1245     ``SettingsSpec.settings_defaults`` dict.
1246   - Added support for "-" => stdin/stdout.
1247   - Added "exit_level" setting ("--exit" option).
1249 * docutils/io.py:
1251   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1252   - Added automatic closing to ``FileInput`` and ``FileOutput``.
1253   - Delayed opening of ``FileOutput`` file until ``write()`` called.
1254   - ``FileOutput.write()`` now returns the encoded output string.
1255   - Try to get path/stream name automatically in ``FileInput`` &
1256     ``FileOutput``.
1257   - Added defaults for source & destination paths.
1258   - Allow for Unicode I/O with an explicit "unicode" encoding.
1259   - Added ``Output.encode()``.
1260   - Removed dependency on runtime settings; pass encoding directly.
1261   - Recognize Unicode strings in ``Input.decode()``.
1262   - Added support for output encoding error handlers.
1264 * docutils/nodes.py:
1266   - Added "Invisible" element category class.
1267   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1268     modification during a traversal.
1269   - Added element classes: ``line_block``, ``generated``, ``address``,
1270     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1271     ``superscript``, ``subscript``, ``inline``
1272   - Added support for lists of nodes to ``Element.insert()``.
1273   - Fixed parent linking in ``Element.replace()``.
1274   - Added new abstract superclass ``FixedTextElement``; adds
1275     "xml:space" attribute.
1276   - Added support for "line" attribute of ``system_message`` nodes.
1277   - Added support for the observer pattern from ``utils.Reporter``.
1278     Added ``parse_messages`` and ``transform_messages`` attributes to
1279     ``document``, removed ``messages``.  Added ``note_parse_message``
1280     and ``note_transform_message`` methods.
1281   - Added support for improved diagnostics:
1283     - Added "document", "source", and "line" internal attributes to
1284       ``Node``, set by ``Node.setup_child()``.
1285     - Converted variations on ``node.parent = self`` to
1286       ``self.setup_child(node)``.
1287     - Added ``document.current_source`` & ``.current_line``
1288       attributes, and ``.note_source`` observer method.
1289     - Changed "system_message" output to GNU-Tools format.
1291   - Added a "rawsource" attribute to the ``Text`` class, for text
1292     before backslash-escape resolution.
1293   - Support for new transform system.
1294   - Reworked ``pending`` element.
1295   - Fixed XML DOM bug (SF #660611).
1296   - Removed the ``interpeted`` element class and added
1297     ``title_reference``, ``abbreviation``, ``acronym``.
1298   - Made substitutions case-sensitive-but-forgiving; moved some code
1299     from the parser.
1300   - Fixed Unicode bug on element attributes (report: William Dode).
1302 * docutils/optik.py: Removed from project; replaced with
1303   extras/optparse.py and extras/textwrap.py.  These will be installed
1304   only if they're not already present in the Python installation.
1306 * docutils/roman.py: Moved to extras/roman.py; this will be installed
1307   only if it's not already present in the Python installation.
1309 * docutils/statemachine.py:
1311   - Factored out ``State.add_initial_transitions()`` so it can be
1312     extended.
1313   - Converted whitespace-specific "blank" and "indent" transitions
1314     from special-case code to ordinary transitions: removed
1315     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
1316     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
1317     ``ws_initial_transitions`` attributes.
1318   - Removed ``State.match_transition()`` after merging it into
1319     ``.check_line()``.
1320   - Added ``StateCorrection`` exception.
1321   - Added support for ``StateCorrection`` in ``StateMachine.run()``
1322     (moved ``TransitionCorrection`` support there too.)
1323   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
1324     ``EOFError`` instead of ``IndexError``.
1325   - Added ``State.no_match`` method.
1326   - Added support for the Observer pattern, triggered by input line
1327     changes.
1328   - Added ``strip_top`` parameter to
1329     ``StateMachineWS.get_first_known_indented``.
1330   - Made ``context`` a parameter to ``StateMachine.run()``.
1331   - Added ``ViewList`` & ``StringList`` classes;
1332     ``extract_indented()`` becomes ``StringList.get_indented()``.
1333   - Added ``StateMachine.insert_input()``.
1334   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
1335     thanks to) Fred Drake.
1337 * docutils/utils.py:
1339   - Added a ``source`` attribute to Reporter instances and
1340     ``system_message`` elements.
1341   - Added an observer pattern to ``utils.Reporter`` to keep track of
1342     system messages.
1343   - Fixed bugs in ``relative_path()``.
1344   - Added support for improved diagnostics.
1345   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
1346   - Added support for encoding Reporter stderr output, and encoding
1347     error handlers.
1348   - Reporter keeps track of the highest level system message yet
1349     generated.
1351 * docutils/languages: Fixed bibliographic field language lookups.
1353 * docutils/languages/es.py: Added to project; Spanish mappings by
1354   Marcelo Huerta San Martin.
1356 * docutils/languages/fr.py: Added to project; French mappings by
1357   Stefane Fermigier.
1359 * docutils/languages/it.py: Added to project; Italian mappings by
1360   Nicola Larosa.
1362 * docutils/languages/sk.py: Added to project; Slovak mappings by
1363   Miroslav Vasko.
1365 * docutils/parser/__init__.py:
1367   - Added ``Parser.finish_parse()`` method.
1369 * docutils/parser/rst/__init__.py:
1371   - Added options: "--pep-references", "--rfc-references",
1372     "--tab-width", "--trim-footnote-reference-space".
1374 * docutils/parsers/rst/states.py:
1376   - Changed "title under/overline too short" system messages from INFO
1377     to WARNING, and fixed its insertion location.
1378   - Fixed enumerated list item parsing to allow paragraphs & section
1379     titles to begin with enumerators.
1380   - Converted system messages to use the new "line" attribute.
1381   - Fixed a substitution reference edge case.
1382   - Added support for "--pep-references" and "--rfc-references"
1383     options; reworked ``Inliner`` code to make customization easier.
1384   - Removed field argument parsing.
1385   - Added support for short section title over/underlines.
1386   - Fixed "simple reference name" regexp to ignore text like
1387     "object.__method__"; not an anonymous reference.
1388   - Added support for improved diagnostics.
1389   - Reworked directive API, based on Dethe Elza's contribution.  Added
1390     ``Body.parse_directive()``, ``.parse_directive_options()``,
1391     ``.parse_directive_arguments()`` methods.
1392   - Added ``ExtensionOptions`` class, to parse directive options
1393     without parsing field bodies.  Factored
1394     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
1395     ``ExtensionOptions``.
1396   - Improved definition list term/classifier parsing.
1397   - Added warnings for unknown directives.
1398   - Renamed ``Stuff`` to ``Struct``.
1399   - Now flagged as errors: transitions at the beginning or end of
1400     sections, empty sections (except title), and empty documents.
1401   - Updated for ``statemachine.StringList``.
1402   - Enabled recognition of schemeless email addresses in targets.
1403   - Added support for embedded URIs in hyperlink references.
1404   - Added backslash-escapes to inline markup end-string suffix.
1405   - Added support for correct interpreted text processing.
1406   - Fixed nested title parsing (topic, sidebar directives).
1407   - Added special processing of backslash-escaped whitespace (idea
1408     from David Abrahams).
1409   - Made substitutions case-sensitive-but-forgiving; moved some code
1410     to ``docutils.nodes``.
1411   - Added support for block quote attributions.
1412   - Added a kludge to work-around a conflict between the bubble-up
1413     parser strategy and short titles (<= 3 char-long over- &
1414     underlines).  Fixes SF bug #738803 "infinite loop with multiple
1415     titles" submitted by Jason Diamond.
1416   - Added explicit interpreted text roles for standard inline markup:
1417     "emphasis", "strong", "literal".
1418   - Implemented "superscript" and "subscript" interpreted text roles.
1419   - Added initial support for "abbreviation" and "acronym" roles;
1420     incomplete.
1421   - Added support for "--trim-footnote-reference-space" option.
1422   - Optional space before colons in directives & hyperlink targets.
1424 * docutils/parsers/rst/tableparser.py:
1426   - Fixed a bug that was producing unwanted empty rows in "simple"
1427     tables.
1428   - Detect bad column spans in "simple" tables.
1430 * docutils/parsers/rst/directives: Updated all directive functions to
1431   new API.
1433 * docutils/parsers/rst/directives/__init__.py:
1435   - Added ``flag()``, ``unchanged()``, ``path()``,
1436     ``nonnegative_int()``, ``choice()``, and ``class_option()``
1437     directive option helper functions.
1438   - Added warnings for unknown directives.
1439   - Return ``None`` for missing directives.
1440   - Added ``register_directive()``, thanks to William Dode and Paul
1441     Moore.
1443 * docutils/parsers/rst/directives/admonitions.py:
1445   - Added "admonition" directive.
1447 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
1448   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
1449   "parsed-literal", "rubric", "epigraph", "highlights" and
1450   "pull-quote" directives.
1452 * docutils/parsers/rst/directives/images.py:
1454   - Added an "align" attribute to the "image" & "figure" directives
1455     (by Adam Chodorowski).
1456   - Added "class" option to "image", and "figclass" to "figure".
1458 * docutils/parsers/rst/directives/misc.py:
1460   - Added "include", "raw", and "replace" directives, courtesy of
1461     Dethe Elza.
1462   - Added "unicode" and "class" directives.
1464 * docutils/parsers/rst/directives/parts.py:
1466   - Added the "sectnum" directive; by Dmitry Jemerov.
1467   - Added "class" option to "contents" directive.
1469 * docutils/parsers/rst/directives/references.py: Added to project.
1470   Contains the "target-notes" directive.
1472 * docutils/parsers/rst/languages/__init__.py:
1474   - Return ``None`` from get_language() for missing language modules.
1476 * docutils/parsers/rst/languages/de.py: Added to project; German
1477   mappings by Engelbert Gruber.
1479 * docutils/parsers/rst/languages/en.py:
1481   - Added interpreted text roles mapping.
1483 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
1484   mappings by Marcelo Huerta San Martin.
1486 * docutils/parsers/rst/languages/fr.py: Added to project; French
1487   mappings by William Dode.
1489 * docutils/parsers/rst/languages/it.py: Added to project; Italian
1490   mappings by Nicola Larosa.
1492 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
1493   mappings by Miroslav Vasko.
1495 * docutils/readers/__init__.py:
1497   - Added support for the observer pattern from ``utils.Reporter``, in
1498     ``Reader.parse`` and ``Reader.transform``.
1499   - Removed ``Reader.transform()`` method.
1500   - Added default parameter values to ``Reader.__init__()`` to make
1501     instantiation easier.
1502   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
1504 * docutils/readers/pep.py:
1506   - Added the ``peps.TargetNotes`` transform to the Reader.
1507   - Removed PEP & RFC reference detection code; moved to
1508     parsers/rst/states.py as options (enabled here by default).
1509   - Added support for pre-acceptance PEPs (no PEP number yet).
1510   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
1511     easy subclassing.
1513 * docutils/readers/python: Python Source Reader subpackage added to
1514   project, including preliminary versions of:
1516   - __init__.py
1517   - moduleparser.py: Parser for Python modules.
1519 * docutils/transforms/__init__.py:
1521   - Added ``Transformer`` class and completed transform reform.
1522   - Added unknown_reference_resolvers list for each transformer. This list holds
1523     the list of functions provided by each component of the transformer that
1524     help resolve references.
1526 * docutils/transforms/frontmatter.py:
1528   - Improved support for generic fields.
1529   - Fixed bibliographic field language lookups.
1531 * docutils/transforms/misc.py: Added to project.  Miscellaneous
1532   transforms.
1534 * docutils/transforms/parts.py:
1536   - Moved the "id" attribute from TOC list items to the references
1537     (``Contents.build_contents()``).
1538   - Added the ``SectNum`` transform; by Dmitry Jemerov.
1539   - Added "class" attribute support to ``Contents``.
1541 * docutils/transforms/peps.py:
1543   - Added ``mask_email()`` function, updating to pep2html.py's
1544     functionality.
1545   - Linked "Content-Type: text/x-rst" to PEP 12.
1546   - Added the ``TargetNotes`` PEP-specific transform.
1547   - Added ``TargetNotes.cleanup_callback``.
1548   - Added title check to ``Headers``.
1550 * docutils/transforms/references.py:
1552   - Added the ``TargetNotes`` generic transform.
1553   - Split ``Hyperlinks`` into multiple transforms.
1554   - Fixed bug with multiply-indirect references (report: Bruce Smith).
1555   - Added check for circular indirect references.
1556   - Made substitutions case-sensitive-but-forgiving.
1558 * docutils/transforms/universal.py:
1560   - Added support for the "--expose-internal-attributes" option.
1561   - Removed ``Pending`` transform classes & data.
1563 * docutils/writers/__init__.py:
1565   - Removed ``Writer.transform()`` method.
1567 * docutils/writers/docutils-xml.py:
1569   - Added XML and doctype declarations.
1570   - Added "--no-doctype" and "--no-xml-declaration" options.
1572 * docutils/writers/html4css1.py:
1574   - "name" attributes only on these tags: a, applet, form, frame,
1575     iframe, img, map.
1576   - Added "name" attribute to <a> in section titles for Netscape 4
1577     support (bug report: Pearu Peterson).
1578   - Fixed targets (names) on footnote, citation, topic title,
1579     problematic, and system_message nodes (for Netscape 4).
1580   - Changed field names from "<td>" to "<th>".
1581   - Added "@" to "&#64;" encoding to thwart address harvesters.
1582   - Improved the vertical whitespace optimization; ignore "invisible"
1583     nodes (targets, comments, etc.).
1584   - Improved inline literals with ``<span class="pre">`` around chunks
1585     of text and ``&nbsp;`` for runs of spaces.
1586   - Improved modularity of output; added ``self.body_pre_docinfo`` and
1587     ``self.docinfo`` segments.
1588   - Added support for "line_block", "address" elements.
1589   - Improved backlinks (footnotes & system_messages).
1590   - Improved system_message output.
1591   - Redefined "--stylesheet" as containing an invariant URL, used
1592     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
1593     working directory.
1594   - Added "--footnote-references" option (superscript or brackets).
1595   - Added "--compact-lists" and "--no-compact-lists" options.
1596   - Added "--embed-stylesheet" and "--link-stylesheet" options;
1597     factored out ``HTMLTranslator.get_stylesheet_reference()``.
1598   - Improved field list rendering.
1599   - Added Docutils version to "generator" meta tag.
1600   - Fixed a bug with images; they must be inline, so wrapped in <p>.
1601   - Improved layout of <pre> HTML source.
1602   - Fixed attribute typo on <colspec>.
1603   - Refined XML prologue.
1604   - Support for no stylesheet.
1605   - Removed "interpreted" element support.
1606   - Added support for "title_reference", "sidebar", "attribution",
1607     "rubric", and generic "admonition" elements.
1608   - Added "--attribution" option.
1609   - Added support for "inline", "subscript", "superscript" elements.
1610   - Added initial support for "abbreviation" and "acronym";
1611     incomplete.
1613 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
1614   (from the sandbox).
1616   - Added french.
1617   - Double quotes in literal blocks (special treatment for de/ngerman).
1618   - Added '--hyperlink-color' option ('0' turns off coloring of links).
1619   - Added  "--attribution" option.
1620   - Right align attributions.
1622 * docutils/writers/pep_html.py:
1624   - Parameterized output encoding in PEP template.
1625   - Reworked substitutions from ``locals()`` into ``subs`` dict.
1626   - Redefined "--pep-stylesheet" as containing an invariant URL, used
1627     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
1628     working directory.
1629   - Added an override on the "--footnote-references" option.
1630   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
1631   - Added Docutils version to "generator" meta tag.
1632   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
1634 * docs/tools.txt:
1636   - Added a "silent" setting for ``buildhtml.py``.
1637   - Added a "Getting Help" section.
1638   - Rearranged the structure.
1639   - Kept up to date, with new settings, command-line options etc.
1640   - Added section for ``rst2latex.py`` (Engelbert Gruber).
1641   - Converted settings table into a definition list.
1643 * docs/rst/quickstart.txt:
1645   - Added a table of contents.
1646   - Added feedback information.
1647   - Added mention of minimum section title underline lengths.
1648   - Removed the 4-character minimum for section title underlines.
1650 * docs/rst/quickref.html:
1652   - Added a "Getting Help" section.
1653   - Added a style to make section title backlinks more subtle.
1654   - Added mention of minimum section title underline lengths.
1655   - Removed the 4-character minimum for section title underlines.
1657 * extras: Directory added to project; contains third-party modules
1658   that Docutils depends on (optparse, textwrap, roman).  These are
1659   only installed if they're not already present.
1661 * licenses: Directory added to project; contains copies of license
1662   files for non-public-domain files.
1664 * spec/doctree.txt:
1666   - Changed the focus.  It's about DTD elements:  structural
1667     relationships, semantics, and external (public) attributes.  Not
1668     about the element class library.
1669   - Moved some implementation-specific stuff into ``docutils.nodes``
1670     docstrings.
1671   - Wrote descriptions of all common attributes and parameter
1672     entities.  Filled in introductory material.
1673   - Working through the element descriptions: 55 down, 37 to go.
1674   - Removed "Representation of Horizontal Rules" to
1675     spec/rst/alternatives.txt.
1677 * spec/docutils.dtd:
1679   - Added "generated" inline element.
1680   - Added "line_block" body element.
1681   - Added "auto" attribute to "title".
1682   - Changed content models of "literal_block" and "doctest_block" to
1683     ``%text.model``.
1684   - Added ``%number;`` attribute type parameter entity.
1685   - Changed ``%structural.elements;`` to ``%section.elements``.
1686   - Updated attribute types; made more specific.
1687   - Added "address" bibliographic element.
1688   - Added "line" attribute to ``system_message`` element.
1689   - Removed "field_argument" element; "field_name" may contain
1690     multiple words and whitespace.
1691   - Changed public identifier to docutils.sf.net.
1692   - Removed "interpreted" element; added "title_reference",
1693     "abbreviation", "acronym".
1694   - Removed "refuri" attribute from "footnote_reference" and
1695     "citation_reference".
1696   - Added "sidebar", "rubric", "attribution", "admonition",
1697     "superscript", "subscript", and "inline" elements.
1699 * spec/pep-0256.txt: Converted to reStructuredText & updated.
1701 * spec/pep-0257.txt: Converted to reStructuredText & updated.
1703 * spec/pep-0258.txt: Converted to reStructuredText & updated.
1705 * spec/semantics.txt: Updated with text from a Doc-SIG response to
1706   Dallas Mahrt.
1708 * spec/transforms.txt: Added to project.
1710 * spec/howto: Added subdirectory, for developer how-to docs.
1712 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
1713   Elza, edited & extended by David Goodger.
1715 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
1716   project.
1718 * spec/rst/alternatives.txt:
1720   - Added "Doctree Representation of Transitions" from
1721     spec/doctree.txt.
1722   - Updated "Inline External Targets" & closed the debate.
1723   - Added ideas for interpreted text syntax extensions.
1724   - Added "Nested Inline Markup" section.
1726 * spec/rst/directives.txt:
1728   - Added directives: "topic", "sectnum", "target-notes",
1729     "line-block", "parsed-literal", "include", "replace", "sidebar",
1730     "admonition", "rubric", "epigraph", "highlights", "unicode" and
1731     "class".
1732   - Formalized descriptions of directive details.
1733   - Added an "align" attribute to the "image" & "figure" directives
1734     (by Adam Chodorowski).
1735   - Added "class" options to "topic", "sidebar", "line-block",
1736     "parsed-literal", "contents", and "image"; and "figclass" to
1737     "figure".
1739 * spec/rst/interpreted.txt: Added to project.  Descriptions of
1740   interpreted text roles.
1742 * spec/rst/introduction.txt:
1744   - Added pointers to material for new users.
1746 * spec/rst/reStructuredText.txt:
1748   - Disambiguated comments (just add a newline after the "::").
1749   - Updated enumerated list description; added a discussion of the
1750     second-line validity checking.
1751   - Updated directive description.
1752   - Added a note redirecting newbies to the user docs.
1753   - Expanded description of inline markup start-strings in non-markup
1754     contexts.
1755   - Removed field arguments and made field lists a generic construct.
1756   - Removed the 4-character minimum for section title underlines.
1757   - Clarified term/classifier delimiter & inline markup ambiguity
1758     (definition lists).
1759   - Added "Embedded URIs".
1760   - Updated "Interpreted Text" section.
1761   - Added "Character-Level Inline Markup" section.
1763 * test: Continually adding & updating tests.
1765   - Moved test/test_rst/ to test/test_parsers/test_rst/.
1766   - Moved test/test_pep/ to test/test_readers/test_pep/.
1767   - Added test/test_readers/test_python/.
1768   - Added test/test_writers/ (Engelbert Gruber).
1770 * tools:
1772   - Made the ``locale.setlocale()`` calls in front ends
1773     fault-tolerant.
1775 * tools/buildhtml.py:
1777   - Added "--silent" option.
1778   - Fixed bug with absolute paths & "--config".
1779   - Updated for new I/O classes.
1780   - Added some exception handling.
1781   - Separated publishers' setting defaults; prevents interference.
1782   - Updated for new ``publish_file()`` convenience function.
1784 * tools/pep-html-template:
1786   - Allow for "--embed-stylesheet".
1787   - Added Docutils version to "generator" meta tag.
1788   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
1789   - Conform to XHTML spec.
1791 * tools/pep2html.py:
1793   - Made ``argv`` a parameter to ``main()``.
1794   - Added support for "Content-Type:" header & arbitrary PEP formats.
1795   - Linked "Content-Type: text/plain" to PEP 9.
1796   - Files skipped (due to an error) are not pushed onto the server.
1797   - Updated for new I/O classes.
1798   - Added ``check_requirements()`` & ``pep_type_error()``.
1799   - Added some exception handling.
1800   - Updated for new ``publish_string()`` convenience function.
1801   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
1803 * tools/quicktest.py:
1805   - Added "-V"/"--version" option.
1807 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
1809 * tools/unicode2rstsubs.py: Added to project.  Produces character
1810   entity files (reSructuredText substitutions) from the MathML master
1811   unicode.xml file.
1813 * tools/editors: Support code for editors, added to project.  Contains
1814   ``emacs/restructuredtext.el``.
1816 * tools/stylesheets/default.css: Moved into the stylesheets directory.
1818   - Added style for chunks of inline literals.
1819   - Removed margin for first child of table cells.
1820   - Right-aligned field list names.
1821   - Support for auto-numbered section titles in TOCs.
1822   - Increased the size of inline literals (<tt>) in titles.
1823   - Restored the light gray background for inline literals.
1824   - Added support for "line_block" elements.
1825   - Added style for "address" elements.
1826   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
1827   - Improved field list rendering.
1828   - Vertical whitespace improvements.
1829   - Removed "a.target" style.
1831 * tools/stylesheets/pep.css:
1833   - Fixed nested section margins.
1834   - Other changes parallel those of ``../default.css``.
1837 Release 0.2 (2002-07-31)
1838 ========================
1840 General:
1842 - The word "component" was being used ambiguously.  From now on,
1843   "component" will be used to mean "Docutils component", as in Reader,
1844   Writer, Parser, or Transform.  Portions of documents (Table of
1845   Contents, sections, etc.)  will be called "document parts".
1846 - Did a grand renaming: a lot of ``verylongnames`` became
1847   ``very_long_names``.
1848 - Cleaned up imports: no more relative package imports or
1849   comma-separated lists of top-level modules.
1850 - Added support for an option values object which carries default
1851   settings and overrides (from command-line options and library use).
1852 - Added internal Unicode support, and support for both input and
1853   output encodings.
1854 - Added support for the ``docutils.io.IO`` class & subclasses.
1856 Specific:
1858 * docutils/__init__.py:
1860   - Added ``ApplicationError`` and ``DataError``, for use throughout
1861     the package.
1862   - Added ``Component`` base class for Docutils components; implements
1863     the ``supports`` method.
1864   - Added ``__version__`` (thus, ``docutils.__version__``).
1866 * docutils/core.py:
1868   - Removed many keyword parameters to ``Publisher.__init__()`` and
1869     ``publish()``; bundled into an option values object.  Added
1870     "argv", "usage", "description", and "option_spec" parameters for
1871     command-line support.
1872   - Added ``Publisher.process_command_line()`` and ``.set_options()``
1873     methods.
1874   - Reworked I/O model for ``docutils.io`` wrappers.
1875   - Updated ``Publisher.set_options()``; now returns option values
1876     object.
1877   - Added support for configuration files (/etc/docutils.conf,
1878     ./docutils.conf, ~/.docutils).
1879   - Added ``Publisher.setup_option_parser()``.
1880   - Added default usage message and description.
1882 * docutils/frontend.py: Added to project; support for front-end
1883   (command-line) scripts.  Option specifications may be augmented by
1884   components.  Requires Optik (http://optik.sf.net/) for option
1885   processing (installed locally as docutils/optik.py).
1887 * docutils/io.py: Added to project; uniform API for a variety of input
1888   output mechanisms.
1890 * docutils/nodes.py:
1892   - Added ``TreeCopyVisitor`` class.
1893   - Added a ``copy`` method to ``Node`` and subclasses.
1894   - Added a ``SkipDeparture`` exception for visitors.
1895   - Renamed ``TreePruningException`` from ``VisitorException``.
1896   - Added docstrings to ``TreePruningException``, subclasses, and
1897     ``Nodes.walk()``.
1898   - Improved docstrings.
1899   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
1900   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
1901     imports.
1902   - Added ``decoration``, ``header``, and ``footer`` node classes, and
1903     ``PreDecorative`` mixin.
1904   - Reworked the name/id bookkeeping; to ``document``, removed
1905     ``explicit_targets`` and ``implicit_targets`` attributes, added
1906     ``nametypes`` attribute and ``set_name_id_map`` method.
1907   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
1908     traversals.
1909   - Added ``document.has_name()`` method.
1910   - Fixed DOM generation for list-attributes.
1911   - Added category class ``Labeled`` (used by footnotes & citations).
1912   - Added ``Element.set_class()`` method (sets "class" attribute).
1914 * docutils/optik.py: Added to project.  Combined from the Optik
1915   package, with added option groups and other modifications.  The use
1916   of this module is probably only temporary.
1918 * docutils/statemachine.py:
1920   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
1921   - Added underscores to improve many awkward names.
1922   - In ``string2lines()``, changed whitespace normalizing translation
1923     table to regexp; restores Python 2.0 compatibility with Unicode.
1925 * docutils/urischemes.py:
1927   - Filled in some descriptions.
1928   - Added "shttp" scheme.
1930 * docutils/utils.py:
1932   - Added ``clean_rcs_keywords`` function (moved from
1933     docutils/transforms/frontmatter.py
1934     ``DocInfo.filter_rcs_keywords``).
1935   - Added underscores to improve many awkward names.
1936   - Changed names of Reporter's thresholds:
1937     warning_level -> report_level; error_level -> halt_level.
1938   - Moved ``utils.id()`` to ``nodes.make_id()``.
1939   - Added ``relative_path(source, target)``.
1941 * docutils/languages/de.py: German mappings; added to project.  Thanks
1942   to Gunnar Schwant for the translations.
1944 * docutils/languages/en.py: Added "Dedication" bibliographic field
1945   mappings.
1947 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
1948   Chodorowski.
1950 * docutils/parsers/rst/states.py:
1952   - Added underscores to improve many awkward names.
1953   - Added RFC-2822 header support.
1954   - Extracted the inline parsing code from ``RSTState`` to a separate
1955     class, ``Inliner``, which will allow easy subclassing.
1956   - Made local bindings for ``memo`` container & often-used contents
1957     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
1958   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
1959   - Added ``MarkupMismatch`` exception; for late corrections.
1960   - Added ``-/:`` characters to inline markup's start string prefix,
1961     ``/`` to end string suffix.
1962   - Fixed a footnote bug.
1963   - Fixed a bug with literal blocks.
1964   - Applied patch from Simon Budig: simplified regexps with symbolic
1965     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
1966   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
1967   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
1968   - Allowed non-ASCII in "simple names" (directive names, field names,
1969     references, etc.).
1970   - Converted ``Inliner.patterns.initial`` to be dynamically built
1971     from parts with ``build_regexp()`` function.
1972   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
1973   - Updated docstrings.
1974   - Changed "table" to "grid_table"; added "simple_table" support.
1976 * docutils/parsers/rst/tableparser.py:
1978   - Changed ``TableParser`` to ``GridTableParser``.
1979   - Added ``SimpleTableParser``.
1980   - Refactored naming.
1982 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
1983   a fallback language for directive names.
1985 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
1986   directive to use a ``pending`` element, used only by HTML writers.
1988 * docutils/parsers/rst/directives/parts.py: Renamed from
1989   components.py.
1991   - Added "backlinks" attribute to "contents" directive.
1993 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
1994   project by Adam Chodorowski.
1996 * docutils/readers/__init__.py: Gave Readers more control over
1997   choosing and instantiating Parsers.
1999 * docutils/readers/pep.py: Added to project; for PEP processing.
2001 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2002   requires a ``component`` parameter.
2004 * docutils/transforms/components.py: Added to project; transforms
2005   related to Docutils components.
2007 * docutils/transforms/frontmatter.py:
2009   - In ``DocInfo.extract_authors``, check for a single "author" in an
2010     "authors" group, and convert it to a single "author" element.
2011   - Added support for "Dedication" and generic bibliographic fields.
2013 * docutils/transforms/peps.py: Added to project; PEP-specific.
2015 * docutils/transforms/parts.py: Renamed from old components.py.
2017   - Added filter for `Contents`, to use alt-text for inline images,
2018     and to remove inline markup that doesn't make sense in the ToC.
2019   - Added "name" attribute to TOC topic depending on its title.
2020   - Added support for optional TOC backlinks.
2022 * docutils/transforms/references.py: Fixed indirect target resolution
2023   in ``Hyperlinks`` transform.
2025 * docutils/transforms/universal.py:
2027   - Changed ``Messages`` transform to properly filter out system
2028     messages below the warning threshold.
2029   - Added ``Decorations`` transform (support for ``--generator``,
2030     ``--date``, ``--time``, ``--source-link`` options).
2032 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2033   Engelbert Gruber's PDF writer.
2035 * docutils/writers/html4css1.py:
2037   - Made XHTML-compatible (switched to lowercase element & attribute
2038     names; empty tag format).
2039   - Escape double-dashes in comment text.
2040   - Improved boilerplate & modularity of output.
2041   - Exposed modular output in Writer class.
2042   - Added a "generator" meta tag to <head>.
2043   - Added support for the ``--stylesheet`` option.
2044   - Added support for ``decoration``, ``header``, and ``footer``
2045     elements.
2046   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2047     translation table to regexp; restores Python 2.0 compatibility
2048     with Unicode.
2049   - Added the translator class as instance variable to the Writer, to
2050     make it easily subclassable.
2051   - Improved option list spacing (thanks to Richard Jones).
2052   - Modified field list output.
2053   - Added backlinks to footnotes & citations.
2054   - Added percentage widths to "<col>" tags (from colspec).
2055   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2056     "<span>" changed to "<var>".
2057   - Inline literals: "<code>" changed to "<tt>".
2058   - Many changes to optimize vertical space: compact simple lists etc.
2059   - Add a command-line options & directive attributes to control TOC
2060     and footnote/citation backlinks.
2061   - Added support for optional footnote/citation backlinks.
2062   - Added support for generic bibliographic fields.
2063   - Identify backrefs.
2064   - Relative URLs for stylesheet links.
2066 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2067   PEPs (subclass of ``html4css1.Writer``).
2069 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2071 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2072   of the Docutils internal doctree in XML.
2074 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2076 * spec/doctree.txt:
2078   - Changed the title to "The Docutils Document Tree".
2079   - Added "Hyperlink Bookkeeping" section.
2081 * spec/docutils.dtd:
2083   - Added ``decoration``, ``header``, and ``footer`` elements.
2084   - Brought ``interpreted`` element in line with the parser: changed
2085     attribute "type" to "role", added "position".
2086   - Added support for generic bibliographic fields.
2088 * spec/notes.txt: Continual updates.  Added "Project Policies".
2090 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2091   section.
2093 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2095 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
2096   mailing list discussions.
2098 * spec/pep-0287.txt:
2100   - Renamed to "reStructuredText Docstring Format".
2101   - Minor edits.
2102   - Reworked Q&A as an enumerated list.
2103   - Converted to reStructuredText format.
2105 * spec/pysource.dtd:
2107   - Reworked structural elements, incorporating ideas from Tony Ibbs.
2109 * spec/pysource.txt: Removed from project.  Moved much of its contents
2110   to pep-0258.txt.
2112 * spec/rst/alternatives.txt:
2114   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2115   - Added "Inline External Targets" section.
2117 * spec/rst/directives.txt:
2119   - Added "backlinks" attribute to "contents" directive.
2121 * spec/rst/problems.txt:
2123   - Updated the Enumerated List Markup discussion.
2124   - Added new alternative table markup syntaxes.
2126 * spec/rst/reStructuredText.txt:
2128   - Clarified field list usage.
2129   - Updated enumerated list description.
2130   - Clarified purpose of directives.
2131   - Added ``-/:`` characters to inline markup's start string prefix,
2132     ``/`` to end string suffix.
2133   - Updated "Authors" bibliographic field behavior.
2134   - Changed "inline hyperlink targets" to "inline internal targets".
2135   - Added "simple table" syntax to supplement the existing but
2136     newly-renamed "grid tables".
2137   - Added cautions for anonymous hyperlink use.
2138   - Added "Dedication" and generic bibliographic fields.
2140 * test: Made test modules standalone (subdirectories became packages).
2142 * test/DocutilsTestSupport.py:
2144   - Added support for PEP extensions to reStructuredText.
2145   - Added support for simple tables.
2146   - Refactored naming.
2148 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2150   - Now supports true packages containing test modules
2151     (``__init__.py`` files required); fixes duplicate module name bug.
2153 * test/test_pep/: Subpackage added to project; PEP testing.
2155 * test/test_rst/test_SimpleTableParser.py: Added to project.
2157 * tools:
2159   - Updated html.py and publish.py front-end tools to use the new
2160     command-line processing facilities of ``docutils.frontend``
2161     (exposed in ``docutils.core.Publisher``), reducing each to just a
2162     few lines of code.
2163   - Added ``locale.setlocale()`` calls to front-end tools.
2165 * tools/buildhtml.py: Added to project; batch-generates .html from all
2166   the .txt files in directories and subdirectories.
2168 * tools/default.css:
2170   - Added support for ``header`` and ``footer`` elements.
2171   - Added styles for "Dedication" topics (biblio fields).
2173 * tools/docutils.conf: A configuration file; added to project.
2175 * tools/docutils-xml.py: Added to project.
2177 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2179 * tools/pep-html-template: Added to project.
2181 * tools/pep2html.py: Added to project from Python (nondist/peps).
2182   Added support for Docutils (reStructuredText PEPs).
2184 * tools/quicktest.py:
2186   - Added the ``--attributes`` option, hacked a bit.
2187   - Added a second command-line argument (output file); cleaned up.
2189 * tools/stylesheets/: Subdirectory added to project.
2191 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2194 Release 0.1 (2002-04-20)
2195 ========================
2197 This is the first release of Docutils, merged from the now inactive
2198 reStructuredText__ and `Docstring Processing System`__ projects.  For
2199 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2200 `DPS HISTORY`__ files.
2202 __ http://structuredtext.sourceforge.net/
2203 __ http://docstring.sourceforge.net/
2204 __ http://structuredtext.sourceforge.net/HISTORY.html
2205 __ http://docstring.sourceforge.net/HISTORY.html
2207 General changes: renamed 'dps' package to 'docutils'; renamed
2208 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2209 the test suites (reStructuredText's test/test_states renamed to
2210 test/test_rst); and all modifications required to make it all work.
2212 * docutils/parsers/rst/states.py:
2214   - Improved diagnostic system messages for missing blank lines.
2215   - Fixed substitution_reference bug.
2219    Local Variables:
2220    mode: indented-text
2221    indent-tabs-mode: nil
2222    sentence-end-double-space: t
2223    fill-column: 70
2224    End: