Apply patch #174 Lowercase new role names on registration
[docutils.git] / docutils / HISTORY.txt
blobc885777cd37804ef4cc82bc6e2491cba939fbbd9
1 .. -*- coding: utf-8 -*-
3 ==================
4  Docutils History
5 ==================
7 :Author: David Goodger; open to all Docutils developers
8 :Contact: docutils-develop@lists.sourceforge.net
9 :Date: $Date$
10 :Revision: $Revision$
11 :Web site: http://docutils.sourceforge.net/
12 :Copyright: This document has been placed in the public domain.
14 .. contents::
17 Changes Since 0.16
18 ==================
20 * General
22   - Fix bug #385: Import of language modules.
23   - Use importlib.import_module() to programmatically import modules.
24   - Remove legacy LaTeX stylesheet ``docutils-05-compat.sty``.
25   - Installing with ``setup.py`` now requires ``setuptools``.
26     Alternatively, install with `pip`_ (or "manually").
27   - Apply patch for bug #399 Fixes in Korean translation.
29 * docutils/MANIFEST.in
31   - Exclude test outputs.
33 * docutils/__init__.py
35   - VersionInfo: ValueError for invalid values, fix comparison to tuples.
37 * docutils/nodes.py
39   - Apply patch #165: Fix error when copying `system_message` node
40     (by Takeshi KOMIYA).
41   - Apply version of patch #167: Let document.set_id() register all
42     existing IDs (thanks to Takeshi KOMIYA).
44 * docutils/parsers/rst/directives/body.py
46   - Make the sidebar's "title" argument optional (feature request #69).
48 * docutils/parsers/rst/directives/misc.py
50   - Prevent infinite inclusion loops.
52 * docutils/parsers/rst/roles.py
54   - Apply patch #174 Lowercase new role names on registration
56 * docutils/utils/smartquotes.py
58   - Fix bug #383: Smart quotes around opening and separator characters.
60 * docutils/writers/html5_polyglot/
62   - Use the new semantic tags <main>, <section>, <header>,
63     <footer>, <aside>, <figure>, and <figcaption>.
64     See ``minimal.css`` and ``plain.css`` for styling rule examples.
66     Change the `initial_header_level` setting default to "2", as browsers
67     use the `same style for <h1> and <h2> when nested in a <section>`__.
69     __ https://stackoverflow.com/questions/39547412/same-font-size-for-h1-and-h2-in-article
71   - Use HTML text-level tags <small>, <s>, <q>, <dfn>, <var>, <samp>, <kbd>,
72     <i>, <b>, <u>, <mark>, and <bdi> if a matching class value
73     is found in `inline` and `literal` elements.
74     Use <ins> and <del> if a matching class value
75     is found in `inline`, `literal`, or `container` elements.
77   - Wrap block-level image elements in <p> (except for figures).
78     Move non-essential styling from ``minimal.css`` to ``plain.css``.
79     Support numbered figures in ``plain.css``.
81   - Fix bug #398: properly close link tag to "schema.dcterms".
83 * docutils/writers/latex2e/__init__.py:
85   - Use LaTeX environments for admonitions and "class wrappers" for styling
86     admonitions and titles if the new configuration setting
87     `legacy_class_functions`_ is False.
89     .. _legacy_class_functions: docs/user/config.html#legacy-class-functions
92   - Remove backwards compatibility code for the deprecated
93     `styling command`__ prefix ``\docutilsrole``.
95     __ docs/user/latex.html#custom-interpreted-text-roles
97   - Support the `memoir` LaTeX document class.
98     Fixes #390, #391, and #392.
100   - The special value "auto" for the `graphicx_option`_ setting
101     is no longer supported (it never worked for xetex/luatex).
103     .. _graphicx_option: docs/user/config.html#graphicx-option
105   - Most helper commands and element definitions are now defined in the
106     LaTeX package `docutils.sty`_ and only inserted in the document
107     preamble if the `stylesheet`__ setting does not list "docutils".
109     .. _docutils.sty: https://ctan.org/pkg/docutils
110     __ docs/user/config.html#stylesheet-latex-writers
112   - Apply patch #173 "Make *TeX writers convert nonstandard table
113     classes to DUclass environments" by John Thorvald Wodder II.
115 * docutils/writers/manpage.py
117   - Fix #394 fix missing new line after rubric.
118   - Patch #168 fix crashing on empty citation (by Takeshi KOMIYA).
119   - Fix #126 manpage title with spaces.
120   - Fix #380 commandline option problem in sphinx.
122 * test/DocutilsTestSupport.py
124   - Run python3 test like python2 against source not the build/-directory
126 .. _pip: https://pypi.org/project/pip/
129 Release 0.16
130 ============
132 * General
134   - Dropped support for Python 2.6, 3.3 and 3.4
135   - Docutils now supports Python 2.7 and Python 3.5+ natively
136     (without conversion by ``2to3``).
137   - Keep `backslash escapes`__ in the document tree. Backslash characters in
138     text are be represented by NULL characters in the ``text`` attribute of
139     Doctree nodes and removed in the writing stage by the node's
140     ``astext()`` method.
142   __ http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#escaping-mechanism
144 * docutils/io.py
146   - Remove the `handle_io_errors` option from io.FileInput/Output.
148 * docutils/nodes.py
150   - Speed up Node.next_node().
151   - If `auto_id_prefix`_ ends with "%", this is replaced with the tag name.
152   - Warn about Node.traverse() returning an iterator instead of a list
153     in future.
155   .. _auto_id_prefix: docs/user/config.html#auto-id-prefix
157 * docutils/statemachine.py
159   - Patch [ 158 ]: Speed up patterns by saving compiled versions (eric89gxl)
161 * docutils/transforms/universal.py
163   - Fix [ 332 ]: Standard backslash escape for smartquotes.
164   - Fix [ 342 ]: No escape in roles descending from `inline literal`.
166 * docutils/utils/__init__.py
168   - unescape() definition moved to `nodes` to avoid circular import
169     dependency. Fixes [ 366 ].
171 * docutils/writers/latex2e/__init__.py:
173   - Fix topic subtitle.
174   - Make "rubric" bold-italic and left aligned.
175   - Fix [ 339 ] don't use "alltt" or literal-block-environment
176     in admonitions and footnotes.
177   - Deprecation warning for ``\docutilsrole``-prefixed styling commands.
178   - Add "latex writers" to the `config_section_dependencies`.
179   - Ignore classes for `rubric` elements
180     (class wrapper interferes with LaTeX formatting).
182 * docutils/writers/manpage.py
184   - Apply fix for [ 287 ] comma after option is bold.
185   - Apply fix for [ 289 ], line starting with ``.`` in a text.
187 * docutils/writers/odf_odt/__init__.py:
189   - Fix: ElementTree.getchildren deprecated warning
191 * docutils/writers/xetex/__init__.py:
193   - Add "latex writers" to the `config_section_dependencies`.
195 * test/alltests.py
197   - Fix: 377 ResourceWarning: unclosed file python3.8
198     Close alltests.out with atexit.
200 * test/functional/*
202   - Fix: 377 ResourceWarning: unclosed file python3.8
203     Read defaults file with context.
205   - Set "auto_id_prefix" to "%" (expands to tag-names).
206     Results in descriptive links in HTML and more localized changes when
207     editions to the input add or remove auto-ids.
209 * test/test_io.py:
211   - Apply patch #157: avoid test failure because of a ``ResourceWarning``.
213 * test/test_writers/test_odt.py:
215   - Fix [ 359 ]: Test suite failes on Python 3.8. odt xml sorting.
216     Use ElementTree instead of minidom.
218 * tools/buildhtml.py
220   - New option `html-writer`_.
222   .. _html-writer: docs/user/config.html#html-writer
225 Release 0.15.1 (2019-07-24)
226 ===========================
228 source: branches/rel-0.15
230 Bugs #366 fix release for python2 only.
233 Release 0.15 (2019-07-20)
234 =========================
236 * General
238   - Dropped support for Python 2.4, 2.5, 3.1, and 3.2.
239   - Infrastructure automation.
241 * docs/ref/rst/restructuredtext.txt:
243   - Document rST syntax change: Tokens like ``:this:example:`` are now valid
244     field list names (instead of ordinary text).
246 * docutils/io.py
248   - Fix [ 348 ] Since Python 3.4, the 'U' universal newlines mode has been
249     deprecated (thanks to hugovk).
251 *  docutils/languages/la.py
252    docutils/parsers/rst/languages/la.py:
254   - Apply [ 153 ] Korean mappings by Thomas Sungjin Kang.
256 * docutils/nodes.py
258   - Fix [ 251 ] system_message.copy() TypeError.
259   - Element.copy() also copies `document`, `line`, and `source` attributes.
261 * docutils/parsers/rst/__init__.py:
263   - Apply [ 152 ] reset `default role` at end of document.
265 * docutils/parsers/rst/states.py:
267   - Allow embedded colons in field list field names.
269 * docutils/parsers/rst/directives/html.py:
271   - Fix bug #281: Remove escaping backslashes in meta directive content.
273 * docutils/parsers/rst/directives/misc.py:
275   - Don't convert tabs to spaces, if `tab_width` is negative in
276     `include` directive with `code` option.
278 * docutils/parsers/rst/directives/tables.py:
280   - Apply patch #121: Add "width" option for the table directives.
282 * docutils/transforms/frontmatter.py:
284   - Add field name as class argument to generic docinfo fields unconditionally.
286 * docutils/transforms/references.py:
288   - Fix bug #331: fixed the "trim" options of the "unicode" directive.
290 * docutils/utils/__init__.py:
292   - Deprecate `unique_combinations` (obsoleted by `itertools.combinations`).
294 * docutils/utils/smartquotes.py:
296   - Fix bug #332: use open quote after whitespace, ZWSP, and ZWNJ.
298 * docutils/writers/html5_polyglot/
300   - automatically add HTML5-compatible meta tags for docinfo items
301     "authors", "date", and "copyright".
303 * docutils/writers/_html_base.py
305   - Fix bug #358: Non-breaking space removed from fixed-width literal.
307 * docutils/writers/latex2e/__init__.py:
309   - Fix bug #323: spurious ``\phantomsection`` and whitespace in
310     ``parts['title']``.
311   - Fix bug #324: Invalid LaTeX for table with empty multicolumn cell.
312   - Fixes to literal block handling.
315 Release 0.14 (2017-08-03)
316 =========================
318 * docs/ref/docutils.dtd:
320   - Enable validation of Docutils XML documents against the DTD:
322     Use attribute type NMTOKEN instead of REFID for the `refid` attribute
323     and NMTOKENS for `backrefs`: REFID refers to an ID type instance,
324     however, the `ids` attribute cannot use the ID type because `XML only
325     allows one ID per Element Type`__ and doesn't support a multiple-ID
326     "IDS" attribute type.
328   __ https://www.w3.org/TR/REC-xml/#sec-attribute-types
330 * docs/ref/rst/restructuredtext.txt:
332   - Added documentation for escaped whitespace in URI contexts.
333   - Clarify use of Unicode character categories.
335 * docutils/parsers/rst/states.py:
337   - Added functionality: escaped whitespace in URI contexts.
338   - Consistent handling of all whitespace characters in inline markup
339     recognition. Fixes [ 307 ] and [ 3402314 ] (now [ 173 ]).
341 * docutils/parsers/rst/directives/images.py:
343   - Added support for escaped whitespace in URI contexts.
345 * docutils/parsers/rst/directives/tables.py:
347   - Rework patch [ 120 ] (revert change to ``Table.get_column_widths()``
348     that led to problems in an application with a custom table directive).
350 * docutils/transforms/frontmatter.py:
352   - Fix [ 320 ] Russian docinfo fields not recognized.
354 * docutils/transforms/references.py:
356   - Don't add a second ID to problematic references.
358 * docutils/transforms/universal.py:
360   Fix SmartQuotes: warn only once if language is unsupported,
361   keep "rawsource" when "educating" quotes.
363 * docutils/utils/__init__.py:
365   - Added ``split_escaped_whitespace`` function, support for escaped
366     whitespace in URI contexts.
368 * docutils/utils/error_reporting.py:
370   - Fix [ 321 ] Import block might cause name error.
372 * docutils/utils/smartquotes.py:
374   - Update quote definitions for languages et, fi, fr, ro, sv, tr, uk.
375   - New quote definitions for hr, hsb, hu, lv, sh, sl, sr.
376   - Fix [ 313 ] Differentiate apostrophe from closing single quote
377     (if possible).
378   - Fix [ 317 ] Extra space inserted with French smartquotes.
379   - Add command line interface for stand-alone use (requires 2.7).
381 * docutils/writers/_html_base.py:
383   - Provide default title in metadata (required by HTML5).
384   - Fix [ 312 ] HTML writer generates invalid HTML if the table has two tags.
385   - Fix [ 319 ] The MathJax CDN shut down on April 30, 2017. For security
386     reasons, we don't use a third party public installation as default but
387     warn if math-output_ is set to MathJax without specifying a URL.
389 * docutils/writers/html4css1/__init__.py:
391   - Apply [ 125 ] HTML writer: respect automatic table column sizing.
393 * docutils/writers/latex2e/__init__.py:
395   - Handle class arguments for block-level elements by wrapping them
396     in a "DUclass" environment. This replaces the special handling for
397     "epigraph" and "topic" elements.
399 * docutils/writers/manpage.py:
401   - Apply [ 141 ] Handling inline in manpage writer.
403 * docutils/writers/odf_odt/__init__.py:
405   - Command setting ``language`` now sets the default language
406     of the generated ODF document.
407   - The use of image directive options :width: (%), :scale:, etc now
408     set the width/height/size of images in the generated ODF
409     documents.
410   - The heading/title of admonitions now reflects the language
411     specified by the ``language`` setting.
412   - Fixed [ 306 ] only first of multiple "image" directives with the same URL
413     shown in output.
414   - Fixed [ 282 ] python3: AttributeError.
416 * tools/rst2html4.py: New front-end.
418 * tools/dev/generate_punctuation_chars.py: New skript
419   to test and update utils.punctuation_chars.
422 Release 0.13.1 (2016-12-09)
423 ===========================
425 * docutils/languages/fa.py
426   docutils/parsers/rst/languages/fa.py
427   docutils/languages/la.py
428   docutils/parsers/rst/languages/la.py:
430   - Apply [ 133 ] Persian mappings by Shahin Azad.
431   - Apply [ 135 ] Language modules for Latvian by Alexander Smishlajev
433 * docutils/nodes.py
435   - Fix [ 253 ] Attribute key without value not allowed in XML.
437 * docutils/parsers/
439   - Apply [ 103 ] Recognize inline markups without word boundaries.
440   - Enable escaping in embedded URIs and aliases (fixes [ 284 ]).
442 * docutils/parsers/rst/__init__.py
444   - Fix [ 233 ] Change the base URL for the :rfc: role.
446 * docutils/parsers/rst/directives/tables.py
448   - Apply [ 120 ] tables accept option widths: list of relative widths, 'auto'
449     or 'grid'.
451   - Implement feature request [ 48 ]
452     Add :align: option to the table directives.
453     Thanks to Takeshi KOMIYA for the patch.
455 * docutils/parsers/rst/roles.py
457   - Fix [ 295 ] Class argument for custom role inheriting from math.
459 * docutils/parsers/rst/tableparser.py
461   - Really fix [ 159 ] Spurious table column alignment errors.
463 * docutils/transforms/frontmatter.py
465   - Add name of generic bibliographic fields as a "classes" attribute value
466     (after conversion to a valid identifier form).
468 * docutils/utils/error_reporting.py
470   - Fix [ 130 ] support streams expectiong byte-strings in ErrorOutput.
472 * docutils/utils/math/math2html.py
474   - Add ``\colon`` macro, fix spacing around colons. Fixes [ 246 ].
475   - New upstream version (additional macros, piecewise integrals and sums).
477 * docutils/writers/_html_base.py
479   - New auxiliary module for definitions common to all HTML writers.
481 * docutils/writers/html5_polyglot/
483   - New HTML writer generating clean, polyglot_ markup conforming to
484     `HTML 5`_.
486     The CSS stylesheets ``minimal.css`` and ``plain.css`` contain required
487     and recommended layout rules.
489 * docutils/writers/html4css1/__init__.py
491   - Add "docutils" to class values for "container" object to address [ 267 ].
492   - Apply patch [ 119 ] by Anatoly Techtonik: use absolute paths for
493     ``default_stylesheet_path`` and ``default_template_path``.
494   - Fix [ 266 ] creating labels/class values in description list items.
495   - Do not use <sup> and <sub> tags inside <pre> (parsed-literal blocks).
496   - Fix footnotes with content that does not start with a paragraph.
497   - Use https in default MathJax URL (report Alan G Isaac).
498   - Outsourcing of common code to _html_base.py.
500 * docutils/writers/latex2e/__init__.py
502   - Fix [ 262 ] Use ``\linewidth`` instead of ``\textwidth`` for figures,
503     admonitions and docinfo.
505   - Use absolute path for ``default_template_path``.
507   - Removed deprecated options ``--use-latex-footnotes`` and
508     ``--figure-footnotes``.
510   - Cleaner LaTeX code for enumerations and literal blocks.
512   - Use "hyperref" package together with "bookmark" (improved hyperlinking
513     by the same author).
515   - Fix [ 286 ] Empty column title cause invalid latex file.
517   - Fix [ 224 ] Fix rowspan support for tables.
519   - Let LaTeX determine the column widths in tables with "colwidths-auto".
520     Not suited for multi-paragraph cells!
522 * docutils/writers/odf_odt/__init__.py
524   - remove decode.encode of filename stored in zip.
526 * docutils/writers/xetex/__init__.py
528   - LuaLaTex compatibility: do not load "xunicode".
530 * tools/
532   - New front-end ``rst2html5.py``.
534 * tox.ini
536   - Test py26, py27, py33 and py34.
538     To use, install the ``tox`` package via pip or easy_install and use
539     tox from the project root directory.
541 .. _polyglot: http://www.w3.org/TR/html-polyglot/
542 .. _HTML 5: http://www.w3.org/TR/html5/
543 .. _XHTML 1.0: http://www.w3.org/TR/xhtml1/
546 Release 0.12 (2014-07-06)
547 =========================
549 * docs/ref/rst/directives.txt
551   - Update "math" and "csv-table" descriptions.
553 * docutils/parsers/rst/directives/images.py
555   - Fix [ 258 ] figwidth="image" generates unitless width value.
557 * docutils/parsers/rst/states.py
559   - Improve error report when a non-ASCII character is specified as
560     delimiter, quote or escape character under Python 2.
561     Fixes [ 249 ] and [ 250 ].
563 * docutils/writers/html4css1/__init__.py
565   - Don't add newline after inline math.
566     Thanks to Yury G. Kudryashov for the patch.
568 * docutils/writers/latex2e/__init__.py
570   - Fix [ 239 ] Latex writer glues paragraphs with figure floats.
571   - Apply [ 116 ] by Kirill Smelkov. Don't hardcode \large for subtitle.
573 * docutils/writers/odf_odt/__init__.py
575   - Apply patch by Jakub Wilk to fix bug [ 100 ].
577 * test/test_error_reporting.py
579   - Fix [ 223 ] by removing redundant tests we do not have control over.
581 * test/test_nodes.py
583   - Apply [ 115 ] respect fixed 2to3 string literal conversion behavior.
585 Release 0.11 (2013-07-22)
586 =========================
588 * General
590   - Apply [ 2714873 ] Fix for the overwritting of document attributes.
591   - Support embedded aliases within hyperlink references.
592   - Fix [ 228 ] try local import of docutils components (reader, writer, parser,
593     language module) before global search.
595 * docutils/nodes.py
597   - Fix [ 3601607 ] node.__repr__() must return `str` instance.
599 * docutils/parsers/rst/directives/__init__.py
601   - Fix [ 3606028 ] ``assert`` is skipped with ``python -O``.
603 * docutils/parsers/rst/directives/images.py
605   - Apply [ 3599485 ] node source/line information for sphinx translation.
607 * docutils/parsers/rst/directives/tables.py
609   - Fix [ 210 ] Python 3.3 checks CVS syntax only if "strict" is True.
611 * docutils/parsers/rst/states.py
613   - Fix [ 157 ] Line block parsing doesn't like system message.
614   - Always import our local copy of roman.py (report Larry Hastings).
616 * docutils/transforms/references.py
618   - Fix [ 3607029 ] traceback with embedded alias pointing to missing target.
620 * docutils/utils/__init__.py
622   - Fix [ 3596884 ] exception importing ``docutils.io``.
624 * docutils/writers/html4css1/__init__.py
626   - Fix [ 3600051 ] for tables in a list, table cells are not compacted.
627   - New setting `stylesheet_dirs`: Comma-separated list of directories
628     where stylesheets are found. Used by `stylesheet_path` when expanding
629     relative path arguments.
630   - New default for math-output_: ``HTML math.css``.
631   - Avoid repeated class declarations in html4css1 writer
632     (modified version of patch [ 104 ]).
634 .. _math-output: docs/user/config.html#math-output
636 * docutils/writers/latex2e/__init__.py
638   - Drop the simple algorithm replacing straight double quotes with
639     English typographic ones.
640     Activate the SmartQuotes_ transform if you want this feature.
641   - Fix literal use of babel shorthands (straight quote, tilde, ...).
642   - Fix [ 3603246 ] Bug in option "--graphicx-option=auto".
643   - New setting `stylesheet_dirs`.
645 .. _SmartQuotes: docs/user/config.html#smart-quotes
647 * docutils/writers/manpage.py
649   - Fix [3607063] handle lines starting with a period.
650   - Fix option separating comma was bold (thanks to Bill Morris).
652 Release 0.10 (2012-12-16)
653 =========================
655 * General
657   - Dropped support for Python 2.3.
658   - ``docutils/math``, ``docutils/error_reporting.py``, and
659     ``docutils/urischemes.py`` moved to the utils package.
660   - Fix [3541369] Relative __import__ also with Python 3.3.
661   - Fix [3559988] and [3560841] __import__ local writer, reader, languages
662     and parsers for Python 2.7 up.
663   - Fix import of PIL.Image.
664   - Change default of "syntax highlight" option to "long",
665     basic syntax highlight styles for LaTeX and HTML.
667 * docutils/io.py
669   - FileInput/FileOutput: no system-exit on IOError.  The `handle_io_errors`
670     option is ignored and will be removed in a future release.
671   - Fix Py3k error writing to stdout with encoding differing from default.
672   - Fix opening binary files under Py3k (thanks to Dominic Fitzpatrick).
674 * docutils/parsers/rst/directives/misc.py
676   - Fix [ 3546533 ] Unicode error with `date` directive.
678 * docutils/transforms/universal.py
680   - SmartQuotes transform for typographic quotes and dashes.
682 * docutils/utils/__init__.py
684   - normalize_language_tag() now returns `BCP 47`_ conformant tags
685     with subtags separated by ``-``.
687 * docutils/writers/html4css1/__init__.py
689   - Use ``<code>`` tag for inline "code",
690     do not drop nested inline nodes (syntax highlight tokens).
691   - Customizable MathJax URL (based on patch by Dmitry Shachnev).
692   - No line break after opening inline math tag.
694 * docutils/writers/manpage.py
696   - Apply [ 3527401 ] addmonition's don't preserve indentation
697   - Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.
699 * docutils/writers/xetex/__init__.py
701   - Apply [ 3555160 ] ensure order of "otherlanguages".
702   - Fix section numbering by LaTeX.
704 * docutils/writers/s5_html/__init__.py
706   - Fix [ 3556388 ] Mathjax does not work with rst2s5.
708 * docutils/writers/s5_html/docutils_xml.py
710   - Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.
711   - Fix/improve output with ``--indent`` option.
713 * setup.py
715   - Tag ``math.css`` stylesheet as data file (patch by Dmitry Shachnev).
717 * tools/test/test_buildhtml.py
719   - Fix [ 3521167 ] allow running in any directory.
720   - Fix [ 3521168 ] allow running with Python 3.
723 Release 0.9.1 (2012-06-17)
724 ==========================
726 * setup.py
728   - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
729     installed in the PYTHONPATH. Converted tests are now
730     stored in ``test3/``, tools no longer need conversion.
732     If you installed one of Docutils versions 0.7 ... 0.9 with
733     ``setup.py install`` under Python 3, remove the spurious
734     ``test/`` and ``tools/`` directories in the site library root.
736 * test/
738   - Make tests independent from the location of the ``test/`` directory.
739   - Use converted sources (from the ``build/`` directory) for tests under
740     Python 3.
742 * tools/
744   - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
746 * docutils/io.py
748   - Fix writing binary data to sys.stdout under Python 3 (allows
749     ``rst2odt.py`` to be used with output redirection).
751 * docutils/parsers/rst/directives/misc.py
753   - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
754     ``locale == C`` and 8-bit char in path argument of `include` directive.
756 * test/alltests.py
758   - class `Tee`: catch UnicodeError when writing to "ascii" stream or
759     file under Python 3.
761 Release 0.9 (2012-05-02)
762 ========================
764 * General:
766   - New reStructuredText "code" role and directive and "code" option
767     of the "include" directive with syntax highlighting by Pygments_.
768   - Fix parse_option_marker for option arguments containing ``=``.
769   - Fix [ 2993756 ]: import Python Imaging Library's Image module
770     via ``import PIL`` as starting with PIL 1.2,
771     "PIL lives in the PIL namespace only" (announcement__).
773 .. _Pygments: http://pygments.org/
774 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
776 * setup.py
778   - Fix [ 2971827 ] and [ 3442827 ]
779     extras/roman.py moved to docutils/utils/roman.py
781 * docutils/frontend.py
783   - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
785 * docutils/io.py
787   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
788   - `mode` argument for FileOutput avoids code replication in
789     BinaryFileOutput.
790   - New exceptions InputError and OutputError for IO errors in
791     FileInput/FileOutput.
793 * docutils/core.py:
795   - No "hard" system exit on file IO errors: catch and report them in
796     `Publisher.reportException` instead. Allows handling by a calling
797     application if the configuration setting `traceback` is True.
799 * docutils/utils.py -> docutils/utils/__init__.py
801   - docutils.utils is now a package (providing a place for sub-modules)
803   .. note:: docutils/math, docutils/error_reporting.py, and
804      docutils/urischemes.py will move to the utils package in the next
805      release, too. See RELEASE-NOTES__
807      __ RELEASE-NOTES.html
809   - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
810     errors recording non-ASCII filenames (fixes [ 3434355 ]).
812   - Fix relative_path() with source=None and `unicode` target.
814 * docutils/parsers/rst/states.py
816   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
817     characters and "international" quotes around inline markup.
818   - Use `field_marker` pattern to look for start of a
819     directive option block (fixes [ 3484857 ]).
821 * docutils/parsers/rst/tableparser.py
823   - Fix [ 2926161 ] for simple tables.
824     (Combining chars in grid tables still contribute to cell width.)
826 * docutils/writers/latex2e/__init__.py
828   - Support the `abbreviation` and `acronym` standard roles.
829   - Record only files required to generate the LaTeX source as dependencies.
830   - Fix handling of missing stylesheets.
831   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
832     when suppressing LaTeX section numbering.
833   - Use ``\DUtitle`` for unsupported section levels
834   - Apply [ 3512791 ] do not compare string literals with "is"
836 * docutils/writers/xetex/__init__.py
838   - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
840 * docutils/writers/html4css1/__init__.py
842   - Change default for `math-output` setting to MathJax.
843   - Fix handling of missing stylesheets.
845 * docutils/writers/docutils_xml.py
847   - Use the visitor pattern with default_visit()/default_depart() methods
848     instead of minidom to facilitate special handling of selected nodes.
849   - Support raw XML (inserted as-is inside a <raw></raw> node).
851 * docutils/writers/manpage.py
853   - Do not emit comment line with trailing blank. Problematic for VCS.
855 Release 0.8.1 (2011-08-30)
856 ==========================
858 * General:
860   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
861     and [ 3395920 ] (correct copyright info for rst.el).
863 * test/
865   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
867 * docutils/writers/latex2e/__init__.py
869   - Clean up Babel language setting. Restores Sphinx compatibility.
871 Release 0.8 (2011-07-07)
872 ========================
874 * General:
876   - Handle language codes according to `BCP 47`_.
877   - If the specified language is not supported by Docutils,
878     warn and fall back to English.
879   - Math support: reStructuredText "math" role and directive,
880     ``math`` and ``math_block`` doctree elements.
881   - Decode command line arguments with the locale's preferred encoding
882     (to allow, e.g., ``--title=Dornröschen``).
883   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
884   - New sub-module `error_reporting`: handle encoding/decoding errors
885     when reporting exceptions.
886   - Some additions to the Docutils core are released under the 2-Clause BSD
887     license, see COPYING_ for details.
889   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
890   .. _COPYING: COPYING.html
892 * reStructuredText:
894   - Most directives now support a "name" option that attaches a
895     reference name.
897   - Directive content may start on the first line also when the directive
898     type accepts options.
900 * docs/dev/policies.txt:
902   - Recommend the 2-Clause BSD license
903     (http://opensource.org/licenses/BSD-2-Clause)
904     for code that is kept under the author's copyright.
906 * tools/buildhtml.py:
908   - Fix ``--local`` switch.
910 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
912 * docutils/writers/html4css1/__init__.py
914   - Set "lang" argument for objects with class argument
915     "language-<language tag>".
916   - New setting "math-output" with support for HTML, MathML, and LaTeX.
918 * docutils/writers/latex2e/__init__.py
920   - Fix [ 3043986 ] AttributeError using :local: with table of content.
921   - Place title data in the document preamble.
922   - Load `babel` package only if required.
923   - Update list of supported languages.
924   - New config setting "hyperref-options".
925     No hard-coded "unicode" hyperref option (clash with xetex).
926   - Set language for custom roles, paragraphs, block-quotes, and
927     line-quotes with class argument "language-<language tag>".
928   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
929   - Convert image URI to a local file path.
930   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
931     has more than one paragraph (Wolfgang Scherer).
932   - \leavevmode before longtable only when needed (prevents spurious vspace)
933   - do not advance table counter for tables without caption
935 * docutils/writers/xetex/__init__.py
937   - New writer generating LaTeX code for compiling with ``xelatex``.
939     A separate writer (inheriting from latex2e) instead of a ``--xetex``
940     option allows separate config options for XeTeX vs. LaTeX2e.
942 * docutils/writers/manpage.py
944   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
945   - Fix: vertical space cleaning for option group ``.``.
947 * tools/editors/emacs/rst.el:
949   - Fix [ 3001100 ] does not handle spaces in filenames
950     (thanks to Jakub Wilk)
952 * docutils/utils.py:
954   - strip whitespace from stylesheet arguments
955   - exclude combining chars from column_width()
956     (partial fix for [ 2926161 ])
958 * docutils/parsers/rst/directives/misc.py:
960   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
961     nested_parse
963 * docutils/io.py:
965   - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
966     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
968 Release 0.7 (2010-07-07)
969 ========================
971 * General:
973   - Fix [ 2881769 ] setup configuration.
974   - Fix [ 2788716 ] reporting problems in included files.
976 * docutils/io.py
978   - FileInput opens files as text files with universal newline support
979     (mode "rU", configurable with the new optional argument "mode").
981 * docutils/nodes.py
983   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
985 * docutils/utils.py
987   - Fix [ 2923723 ] let decode_path() tolerate path == None
989 * docutils/writers/html4css1/__init__.py
991   - Support SVG and SWF images (thanks to Stefan Rank).
992   - Generate valid XHTML for centered images with targets.
993     Use CSS classes instead of "align" tags for image alignment.
995 * docutils/writers/latex2e/__init__.py
997   - Use `transforms.writer_aux.Admonitions` to "normalize" special
998     admonitions.
999   - Use the ``\url`` command for URLs (breaks long URLs instead of
1000     writing into the margin).
1001   - Preserve runs of spaces in `inline literals`__.
1002   - Deprecate ``figure_footnotes`` setting.
1003   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
1004   - New ``latex_preamble`` setting.
1005   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
1006   - Fix hyperlink targets (labels) for images, figures, and tables.
1007   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
1008   - Apply [ 2961991 ] Call hyperref with unicode option.
1009   - Drop the special `output_encoding`__ default ("latin-1").
1010     The Docutils wide default (usually "UTF-8") is used instead.
1011   - Render inline markup in document title and subtitle.
1012   - Fix numbering depth with LaTeX section numbering.
1013   - Update Unicode -> LaTeX translations.
1014   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
1016 __ docs/ref/restructuredtext.html#inline-literals
1017 __ docs/user/config.html#docutils-footnotes
1018 __ docs/user/config.html#output_encoding
1020 * docutils/writers/manpage.py
1022   - Fix: supported attribute (thanks to peter2108).
1023   - Remove trailing blanks in code (keep in sync with mercurial version).
1024   - Titles level 1, that is ``.SH``, always uppercase.
1025   - Apply patch from mg: literal text should be bold in man-pages.
1027 * docutils/nodes.py
1029   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
1030     turkish locale.
1032 * setup.py:
1034   - Python 3 support: copy test/ and tools/ to the build-dir
1035     and convert Python sources with 2to3.
1038 Release 0.6 (2009-10-11)
1039 ========================
1041 * General:
1043   - Docutils is now compatible with Python versions from 2.3 up to 2.6
1044     and convertible to 3.1 code.
1046     + Node.__nonzero__ returns True instead of 1.
1047     + use os.walk instead os.path.walk.
1048     + minimize "types" module where possible.
1049     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
1050     + Text nodes now subclass unicode rather than UserString
1051       (which is gone in python 3.0).
1052     + 3.0 compatibility module docutils._compat
1054     + Drop 2.2 compatibility workarounds.
1055     + Drop extras/optparse.py and extras/textwrap.py
1056       (stdlib modules since 2.3).
1058   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
1059   - Unix man page export: manpage writer moved from sandbox to Doctutils
1060     core.
1062   - Apply [ 1719345 ] Galician translation
1063   - Apply [ 1905741 ] Polish translation
1064   - Apply [ 1878977 ] make_id(): deaccent characters.
1065   - Apply [ 2029251 ] return nonzero when tests fail.
1066   - Fix [ 1692788 ] allow UTF-8 in style sheets.
1067   - Fix [ 2781629 ] support non-ASCII chars in file names.
1068   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
1069   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
1070   - Fix [ 2821266 ] --strict option works now like --halt=info.
1071   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
1072   - Fix [ 1627229 ] hyperlink references in substitutions.
1074   - The "newlatex" writer is orphaned.
1076 * reStructuredText:
1078   - Documented Unicode characters allowed as inline markup openers,
1079     closers, and delimiters.
1080   - Allow units for all length specifications.
1081   - Allow percent sign in "scale" argument of "figure" and "image" directives.
1082   - Bugfix: The "figalign" argument of a figure now works as intended
1083     (aligning the figure, not its contents).
1084   - Align images with class "align-[right|center|left]"
1085     (allows setting the alignment of an image in a figure).
1087 * docutils/nodes.py:
1089   - Added ``Element.__contains__`` method, for the in-operator.
1091 * docutils/parsers/rst/states.py:
1093   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
1094   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
1095     " " (non-breaking space), and "¡ ¿" openers.
1097 * docutils/parsers/directives/misc.py:
1099   - Added ``start-line`` and ``end-line`` options to "include"
1100     directive to select a range of lines.
1101   - Hard tabs in literal inclusions are replaced by spaces. This is
1102     configurable via the new ``tab-width`` option of the "include" directive
1103     (a negative tab-width prevents tab expansion).
1105 * docutils/utils.py:
1107   - Add ``get_stylesheet_list`` function.
1108   - Apply [ 2834836 ] print info at halt
1110 * docutils/transforms/universal.py:
1112   - Raise default priority of StripClasses to exclude stripped classes from
1113     the ToC.
1115 * docutils/writers/html4css1/__init__.py:
1117   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
1118     separated list of stylesheets.
1119   - Address [ 1938891 ] Inline literal text creates "pre" span only when
1120     needed to prevent inter-word line wraps.
1121   - Use `translate` method instead of repeated `replace` calls.
1122   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
1123     classes to allow CSS styling that does not interfere with other
1124     table-using constructs (field lists, citations, ...).
1126 * docutils/writers/newlatex2e/__init__.py:
1128   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
1130 * docutils/writers/latex2e/__init__.py:
1132   - Add ``--embed-stylesheet`` option.
1133   - Apply [ 1474017 ] image vertical alignment is reversed.
1134   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
1135   - Change: has_key for dictionaries (not Nodes) to in-operator.
1136   - Merge adjacent citations into one latex cite command.
1137   - Failsave implementation of custom roles. LaTeX compilation now ignores
1138     unknown classes instead of aborting with an error.
1139   - Support custom roles based on standard roles.
1140   - LaTeX packages can be used as ``--stylesheet`` arguments without
1141     restriction. (A style sheet is now referenced with the ``\usepackage``
1142     command, if it ends with ``.sty`` or has no extension.)
1143   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
1144   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
1145   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
1146     2005-02-04 as a configurable length unit).
1147   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
1148     if font-encoding is set to ''. LaTeX defaults to OT1 then.
1149   - Set sub- and superscript role argument in text mode not as math.
1150     Use a custom role based on sub-/superscript if you want italic shape.
1151   - Shorter preamble and less dependencies: Load packages and define macros
1152     only if required in the document.
1153   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
1154   - New custom environments and commands with optional "classes" argument.
1155   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
1156   - Better conformance to Docutils specifications with ``--use-latex-toc``.
1157     Support for LaTeX generated ToC also with unnumbered sections.
1158   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
1159     section numbering by LaTeX.
1160   - Use default font in admonitions and sidebar.
1161   - Align of image in a figure defaults to 'center'.
1162   - Bugfix: Newlines around targets and references prevent run-together
1163     paragraphs.
1164   - Fix internal hyperlinks.
1165   - Use class defaults for page margins ('typearea' now optional).
1166   - Float placement made configurable, default changed to "here definitely".
1167   - Typeset generic topic as "quote block with title".
1168   - Use template (file and configuration option).
1169   - In the default template, load cmap.sty (fix text extraction in PDF) and
1170     fixltx2e.sty (LaTeX patches, \textsubscript).
1171   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
1172   - Use `translate` instead of repeated `replace` calls for text encoding.
1173   - Hyperlinked footnotes and support for symbol footnotes and
1174     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
1175   - Complete pairs of binary options
1176     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
1177     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
1178   - New defaults:
1179     - font-encoding: "T1" (formerly implicitely set by 'ae').
1180     - use-latex-toc: true (ToC with page numbers).
1181     - use-latex-footnotes: true (no mixup with figures).
1183 * docutils/writers/manpage.py
1185   - Do not print version at document end, this is done by the viewer.
1186   - Do not print date at document end, this is done by the viewer.
1187   - Fix storage of docinfo fields for none standard fields.
1189 * docutils/tools/rst2man.py
1191 Release 0.5 (2008-06-25)
1192 ========================
1194 * docutils/languages/he.py: Added to project: Hebrew mappings by
1195   Meir Kriheli.
1197 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
1198   mappings by Meir Kriheli.
1200 * docutils/frontend.py:
1202   - Configuration files are now assumed and required to be
1203     UTF-8-encoded.
1204   - Paths of applied configuration files are now recorded in the
1205     runtime setting ``_config_files`` (accessible via
1206     ``--dump-settings``).
1207   - Added ``--strip-elements-with-class`` and ``--strip-class``
1208     options (``strip_elements_with_classes`` and ``strip_classes``
1209     settings).
1211 * docutils/io.py:
1213   - Added code to determine the input encoding from data: encoding
1214     declarations or the presence of byte order marks (UTF-8 & UTF-16).
1215   - Added support for IronPython 1.0.
1217 * docutils/nodes.py:
1219   - Added ``document.__getstate__`` method, for pickling.
1221 * docutils/parsers/rst/states.py:
1223   - Allow ``+`` and ``:`` in reference names.
1224   - Unquoted targets beginning with an underscore (``.. __target:
1225     URI``) are no longer accepted.
1226   - Added support for multiple attributions in a physical block quote
1227     (indented text block), dividing it into multiple logical block
1228     quotes.
1229   - Added support for unicode bullets in bullet lists: "•", "‣", and
1230     "⁃".
1231   - Added support for new object-oriented directive interface,
1232     retaining compatibility to the old functional interface.
1233   - Added support for throwing ``DirectiveError``'s from within
1234     directive code.
1236 * docutils/parsers/rst/__init__.py:
1238   - Added ``Directive`` base class.
1239   - Added ``DirectiveError`` base class.
1240   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
1241     definitions.
1243 * docutils/parsers/directives/:
1245   - Refactored all reStructuredText directives to use the new
1246     object-oriented directive interface.  Errors are now (mostly)
1247     thrown using the new ``DirectiveError`` class.
1249 * docutils/parsers/directives/misc.py:
1251   - Added ``start-after`` and ``end-before`` options to ``include``
1252     directive; thanks to Stefan Rank.
1254 * docutils/transforms/universal.py:
1256   - Added ``StripClassesAndElements`` transform to remove from the
1257     document tree all elements with classes in
1258     ``settings.strip_elements_with_classes`` and all "classes"
1259     attribute values in ``self.document.settings.strip_classes``.
1261 * docutils/transforms/writer_aux.py:
1263   - Added ``Admonitions`` transform to transform specific admonitions
1264     (like ``note``, ``warning``, etc.) into generic admonitions with a
1265     localized title.
1267 * docutils/writers/html4css1/__init__.py:
1269   - Moved template functionality from the PEP/HTML writer here.
1270   - Expanded the fragments available in the ``parts`` attribute.
1271   - Moved ``id`` attributes from titles to surrounding ``div``
1272     elements.
1273   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
1274     universally supported now).
1275   - ``template.txt`` is now opened in text mode instead of binary mode
1276     (to ensure Windows compatibility).
1277   - ``a`` elements now have an "internal" or "external" class,
1278     depending on reference type.
1280 * docutils/writers/html4css1/template.txt: Added to project.
1282 * docutils/writers/pep_html/:
1284   - Moved template functionality to the HTML writer.
1286 * docutils/writers/s5_html/__init__.py:
1288   - Added ``view_mode`` & ``hidden_controls`` settings
1289     (``--view-mode`` & ``--hidden-controls/--visible-controls``
1290     options).
1292 * docutils/writers/latex2e/__init__.py:
1294   - Add ``--literal-block-env``
1295   - Fix: escaping ``%`` in href urls.
1296   - Move usepackage hyperref after stylesheet inclusion.
1297   - Fix: scrartcl does not have chapter but scrreprt.
1298   - Add newline after ``\end{verbatim}``.
1299   - Merge smaller differences from latex2e_adaptive_preamble.
1300   - Add ``use-part-section``.
1301   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
1302   - Using leavemode option_list no longer needs to check if parent
1303     is a definition list.
1304   - Append ``\leavemode`` to definition list terms.
1305   - No longer write visit\_/depart_definition_list_item comments to
1306     output.
1307   - Table column width with 3 decimal places.
1308   - Add table stubs support (boldfont).
1309   - Add assemble_parts to writer.
1310   - Add simply support for nested tables.
1311   - Fix verbatim in tables if use-verbatim-when-possible.
1312   - Use section commands down to subparagraph.
1313   - Put ensuremath around some latin1 chars.
1314   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
1315   - New option ``--use-bibtex=style,db1,db2``.
1316   - New option ``--reference-label`` to allow usage of LaTeX ref for
1317     labels in section references.
1318   - Add a label after every section to support sectionnumbers as reference
1319     labels.
1320   - Fix: bug# 1605376 rst2latex: bad options group list
1321   - Remove inactive code for use_optionlist_for_option_list.
1322   - Remove latex comments from option_list output.
1323   - Fix: bug# 1612270 double qoutes in italian literal.
1324   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
1325   - Add option --use-latex-abstract.
1326   - Image width unit ``px`` is translated to ``pt``.
1327   - Add image height support.
1328   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
1329     bug #1457388
1330   - Fix: Do not escape underscores in citation reference labels if
1331     use-latex-citations is set.
1332   - Use centering instead of center for figure contents, to avoid vertical
1333     space.
1334   - Recognize table class: borderless, nolines, booktabs, standard.
1335   - Fix: Renaming contents section does not work with latex writer; SF
1336     bug #1487405.
1337   - Applied patch for custom roles with classes from Edward Loper.
1338   - Fixed bug that caused crashes with more than 256 lists.
1340 * docutils/writers/pep_html/__init__.py:
1342   - Changed to support new python.org website structure and
1343     pep2pyramid.py.
1345 * docs/howto/security.txt: "Deploying Docutils Securely", added to
1346   project.
1348 * tools/buildhtml.py:
1350   -- Added ``ignore`` setting to exclude a list of shell patterns
1351      (default: ``.svn:CVS``).
1353 * tools/editors/emacs/rst.el:
1355   - Changed license to "GPL".
1356   - Added ``rst-straighten-decorations`` function.
1357   - The ``compile`` module is now always loaded.
1358   - Added ``rst-toggle-line-block`` function.
1359   - Headings consisting only of non-ASCII characters are now
1360     recognized by ``rst-toc`` and ``rst-adjust``.
1361   - Added font-lock support for multi-line comments where the first
1362     comment line is empty.
1363   - Added ``(require 'font-lock)``.
1365 * setup.py:
1367   - Provide descriptive error message if distutils is missing.
1370 Release 0.4 (2006-01-09)
1371 ========================
1373 * General:
1375   - Updated the project policies for trunk/branch development &
1376     version numbering.
1378 * docutils/__init__.py:
1380   - Added ``__version_details__`` attribute to describe code source
1381     (repository/snapshot/release).
1382   - Replaced ``default_transforms`` attribute of TransformSpec with
1383     ``get_transforms()`` method.
1385 * docutils/core.py:
1387   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
1388     functions, for document tree extraction and reprocessing.
1390 * docutils/io.py:
1392   - Added ``DocTreeInput`` class, for reprocessing existing documents.
1393   - Added support for non-Unicode (e.g. binary) writer output.
1395 * docutils/nodes.py:
1397   - Re-introduced ``Targetable.indirect_reference_name``, for
1398     MoinMoin/reST compatibility (removed in r3124/r3129).
1399   - Added ``serial_escape`` function; escapes string values that are
1400     elements of a list, for serialization.  Modified Docutils-XML
1401     writing (``Element._dom_node``) and pseudo-XML writing
1402     (``Element.starttag``) to use ``serial_escape``.
1403   - Added ``Node.deepcopy()`` method.
1404   - Removed the internal lists ``document.substitution_refs``,
1405     ``document.anonymous_refs``, and ``document.anonymous_targets``.
1406   - Added a "container" element.
1407   - Fixed bug where values of list-valued attributes of elements
1408     originating from custom interpreted text roles (i.e., with custom
1409     classes) were being shared between element instances.  Reported by
1410     Shmuel Zeigerman.
1412 * docutils/statemachine.py:
1414   - Added trailing whitespace stripping to ``string2lines()``.
1415   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
1416     Asian double-width character support.
1418 * docutils/utils.py:
1420   - Added ``east_asian_column_width()`` for double-width character
1421     support.
1423 * docutils/languages/ja.py: Added to project: Japanese mappings by
1424   Hisashi Morita.
1426 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
1427   mappings by Panjunyong.
1429 * docutils/parsers/null.py: Added to project; a do-nothing parser.
1431 * docutils/parsers/rst/__init__.py:
1433   - Added validator to tab_width setting, with test.  Closes SF bug
1434     #1212515, report from Wu Wei.
1436 * docutils/parsers/rst/states.py:
1438   - Fixed bug with escaped colons indicating a literal block.
1439   - Fixed bug with enumerated lists (SF#1254145).
1440   - Backslash-escaped colons inside of field names are now allowed.
1441   - Targets (implicit and explicit), anonymous hyperlink references
1442     and auto-numbered footnote references inside of substitution
1443     definitions are now disallowed.
1444   - Fixed bug: list items with blank first lines.
1445   - Fixed bug: block quote attributions with indented second lines.
1446   - Added East Asian double-width character support (Python 2.4 only).
1448 * docutils/parsers/rst/tableparser.py:
1450   - Added East Asian double-width character support (Python 2.4 only).
1452 * docutils/parsers/rst/directives/body.py:
1454   - Added the "container" directive.
1456 * docutils/parsers/rst/directives/misc.py:
1458   - Added the "default-role", "title", and "date" directives.
1459   - Added standard data file syntax to the "include" directive.
1460   - Added support for "class" directive content.
1462 * docutils/parsers/rst/directives/images.py:
1464   - Added ``indirect_reference_name`` support for images with a target
1465     option.
1466   - Added support for image width and height units.
1467   - Fixed bug with image "target" options.
1469 * docutils/parsers/rst/directives/references.py:
1471   - Added "class" attribute to "target-notes" directive, for
1472     footnote_reference classes.
1474 * docutils/parsers/rst/include/: Directory added to project; contains
1475   standard data files for the "include" directive.  Initial contents:
1476   character entity substitution definition sets, and a set of
1477   definitions for S5/HTML presentations.
1479 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
1480   mappings by David Goodger.
1482 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
1483   Simplified Chinese mappings by Panjunyong.
1485 * docutils/readers/__init__.py:
1487   - Added universal.Decorations and universal.ExposeInternals
1488     transforms as default transforms for all readers.
1489   - Added ``ReReader`` base class for readers that reread an existing
1490     document tree.
1492 * docutils/readers/doctree.py: Added to project; a reader for existing
1493   document trees.
1495 * docutils/transforms/frontmatter.py:
1497   - Fixed the DocInfo transform to handle SVN-style expansion of the
1498     "Date" keyword.
1499   - In ``DocInfo.extract_authors``, treat the contents of "authors"
1500     fields uniformly.
1502 * docutils/transforms/misc.py:
1504   - Added misc.Transitions transform, extracted from
1505     universal.FinalChecks.
1507 * docutils/transforms/references.py:
1509   - Added references.DanglingReferences transform, extracted from
1510     universal.FinalChecks.
1511   - Fixed bug with doubly-indirect substitutions.
1512   - Added footnote_reference classes attribute to "TargetNotes".
1513   - Fixed bug with circular substitution definitions that put Docutils
1514     into an infinite loop.
1516 * docutils/transforms/universal.py:
1518   - Added universal.ExposeInternals transform, extracted from
1519     universal.FinalChecks.
1520   - Removed universal.FinalChecks transform (logic has been moved to
1521     several new transforms).
1522   - Fixed bug with the "expose_internals" setting and Text nodes
1523     (exposed by the "rawsource" internal attribute).
1524   - Added the universal.StripComments transform, implementation of the
1525     "strip_comments" setting.
1527 * docutils/transforms/writer_aux.py: Added to project; auxiliary
1528   transforms for writers.
1530   - Added ``Compound`` transform, which flattens compound paragraphs.
1532 * docutils/writers/: Several writer modules (html4css1.py) were
1533   converted into packages.  Support modules and data files have been
1534   moved into the packages.  The stylesheets for the HTML writers are
1535   now installed along with the code, the code knows where to find
1536   them, and the default is to use them (actually, to embed them).
1537   Some adjustments to configuration files may be necessary.  The
1538   easiest way to obtain the new default behavior is to remove all
1539   settings whose name includes "stylesheet".
1541 * docutils/writers/__init__.py:
1543   - Added universal.Messages and universal.FilterMessages transforms
1544     as default transforms for all writers.
1545   - Added ``UnfilteredWriter`` base class for writers that pass the
1546     document tree on unchanged.
1548 * docutils/writers/docutils_xml.py:
1550   - Made ``xmlcharrefreplace`` the default output encoding error
1551     handler.
1553 * docutils/writers/html4css1/:
1555   - Added support for image width and height units.
1556   - Made ``xmlcharrefreplace`` the default output encoding error
1557     handler.
1558   - Made ``--embed-stylesheet`` the default rather than
1559     ``--link-stylesheet``.
1560   - Moved "id" attribute from container (section etc.) to title's <a>
1561     tag, to be on the same tag as "name".
1562     (!!! To be reverted in Docutils 0.5.)
1563   - Added vertical space between fields of field lists.
1564   - Added ``--compact-field-lists`` option to remove vertical space in
1565     simple field lists.
1566   - Made cloaking of email addresses with ``--cloak-email-addresses``
1567     less obtrusive.
1568   - Fixed support for centered images.
1569   - Added support for class="compact" & class="open" lists.
1571 * docutils/writers/latex2e/:
1573   - Underscores in citekeys are no longer escaped.
1575 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
1576   mapping of Unicode characters to LaTeX equivalents.
1578 * docutils/writers/s5_html/: Package added to project; writer for
1579   S5/HTML slide shows.
1581 * docs/dev/distributing.txt: Added to project; guide for distributors
1582   (package maintainers).
1584 * docs/dev/hacking.txt: Added to project; guide for developers.
1586 * docs/ref/doctree.txt:
1588   - Updated for plural attributes "classes", "ids", "names",
1589     "dupnames".
1590   - Added the "container" element.
1592 * docs/ref/docutils.dtd:
1594   - Updated for plural attributes "classes", "ids", "names",
1595     "dupnames".
1597 * docs/user/emacs.txt: Added to project; a document about Emacs
1598   support for reStructuredText and Docutils.
1600 * docs/user/links.txt: Added to project; lists of Docutils-related
1601   links.
1603 * docs/user/mailing-lists.txt: Added to project; information about
1604   Docutils-related mailing lists and how to access them.
1606 * docs/user/slide-shows.txt: Added to project; example of and docs for
1607   the S5/HTML writer (``rst2s5.py`` front end).
1609 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
1610   Files", added to project.
1612 * test/coverage.sh: Added to project; test coverage script.
1614 * test/DocutilsTestSupport.py:
1616   - Added support for specifying runtime settings at the suite level.
1618 * test/test_functional.py:
1620   - Added the ``clear_output_directory`` function.
1621   - Added support for ``_test_more`` functions in functional test
1622     config files.
1624 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
1626 * tools/rstpep2html.py: Renamed from pep.py.
1628 * tools/dev/create_unimap.py: Added to project; script to create the
1629   docutils/writers/unimap_latex.py mapping file.
1631 * tools/dev/profile_docutils.py: Added to project; profiler script.
1633 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
1635 * tools/editors/emacs/restructuredtext.el,
1636   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
1637   Removed from project; the functionality is now contained in rst.el.
1639 * tools/editors/emacs/rst.el: Added to project.  Added many features
1640   and fixed many bugs.  See docs/user/emacs.txt for details.
1642 * tools/stylesheets: Removed from project.  Stylesheets have been
1643   renamed and moved into writer packages.
1646 Release 0.3.9 (2005-05-26)
1647 ==========================
1649 * General:
1651   - Eliminated and replaced all uses of the old string attributes
1652     ``id``, ``name``, ``dupname`` and ``class`` with references to the
1653     new list attributes ``ids``, ``names``, ``dupnames`` and
1654     ``classes`` throughout the whole source tree.
1656 * docutils/core.py:
1658   - Enabled ``--dump-*`` options when ``--traceback`` specified,
1659     allowing for easier debugging.
1660   - In ``Publisher.publish()``, expanded the generic top-level
1661     exception catching.
1663 * docutils/examples.py:
1665   - Added ``internals`` function for exploration.
1667 * docutils/io.py:
1669   - Fixed ``Input.decode`` method to apply heuristics only if no
1670     encoding is explicitly given, and to provide better reporting of
1671     decoding errors.
1672   - The ``Input.decode`` method now removes byte order marks (BOMs)
1673     from input streams.
1675 * docutils/nodes.py:
1677   - ``image`` element class changed to subclass of Element, not
1678     TextElement (it's an empty element, and cannot contain text).
1679   - Added ``attr_defaults`` dictionary for default attribute values.
1680   - Added empty list as default value for the following attributes:
1681     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
1682   - Added ``document.decoration`` attribute,
1683     ``document.get_decoration`` method, and ``decoration.get_header``
1684     & ``.get_footer`` methods.
1685   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
1686     methods.
1688 * docutils/utils.py:
1690   - Removed ``docutils.utils.Reporter.categories``,
1691     ``docutils.utils.ConditionSet``, and all references to them, to
1692     simplify error reporting.
1694 * docutils/languages/nl.py: Added to project; Dutch mappings by
1695   Martijn Pieters.
1697 * docutils/parsers/rst/__init__.py:
1699   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
1701 * docutils/parsers/rst/states.py:
1703   - Added check for escaped at-mark to prevent email address recognition.
1704   - Fixed option lists to allow spaces inside ``<angle-bracketed option
1705     arguments>``.
1706   - Allowed whitespace in paths and URLs.
1707   - Added auto-enumerated list items.
1708   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
1709     followed by text.
1710   - Added support for table stub columns.
1712 * docutils/parsers/rst/directives/__init__.py:
1714   - Allowed whitespace in paths (``path`` function).
1715   - Added ``uri`` directive option conversion function.
1717 * docutils/parsers/rst/directives/body.py:
1719   - Fixed illegal context bug with "topic" directive (allowed within
1720     sidebars; not within body elements).
1722 * docutils/parsers/rst/directives/images.py:
1724   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1725   - Added support for the ``file_insertion_enabled`` setting in the
1726     "figure" directive (disables "figwidth" option).
1727   - "image" directive: added checks for valid values of "align" option,
1728     depending on context.  "figure" directive: added specialized
1729     "align" option and attribute on "figure" element.
1730   - Made ":figwidth: image" option of "figure" directive work again.
1731   - Fixed bug with reference names containing uppercase letters
1732     (e.g. ``Name_``) in "target" option of "image" directive.
1734 * docutils/parsers/rst/directives/misc.py:
1736   - Fixed "include" and "raw" directives to catch text decoding
1737     errors.
1738   - Allowed whitespace in "include" & "raw" directive paths.
1739   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1740     settings in "include" & "raw" directives.
1742 * docutils/parsers/rst/directives/parts.py:
1744   - Added "header" & "footer" directives.
1745   - Fixed illegal context bug with "contents" directive (topics
1746     allowed within sidebars; not within body elements).
1748 * docutils/parsers/rst/directives/tables.py:
1750   - Added "list-table" directive.
1751   - Caught empty CSV table bug.
1752   - Added support for the ``file_insertion_enabled`` setting in the
1753     "csv-table" directive.
1754   - Added ``stub-columns`` option to "csv-table" and "list-table"
1755     directives.
1757 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1758   mappings by Martijn Pieters.
1760 * docutils/readers/standalone.py:
1762   - Added ``--section-subtitles`` and ``--no-section-subtitles``
1763     options to activate or deactivate the SectSubTitle transform.
1765 * docutils/transforms/frontmatter.py:
1767   - Added SectSubTitle transform to promote titles of lone
1768     subsections to subtitles.
1770 * docutils/transforms/references.py:
1772   - Fixed mislocated internal targets bug, by propagating internal
1773     targets to the next node, making use of the newly added support
1774     for multiple names and IDs.
1775   - Fixed duplicate footnote label bug.
1776   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1777     transform.
1779 * docutils/writers/html4css1.py:
1781   - Fixed unencoded stylesheet reference bug (characters like "&" in
1782     stylesheet references).
1783   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1784     tags).
1785   - Added support for multiple IDs per node by creating empty ``span``
1786     tags.
1787   - Added the ``field_name_limit`` & ``option_limit`` settings &
1788     support.
1789   - Added support for table stub columns.
1790   - Added support for the ``align`` attribute on ``figure`` elements.
1791   - Added the ``cloak_email_addresses`` setting & support.
1792   - Added ``html_prolog``, ``html_head``, ``html_body``,
1793     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1794     ``docutils.core.publish_parts``.
1795   - Added support for section subtitles.
1797 * docutils/writers/latex2e.py:
1799   - Fixed tables starting with more than one multirow cell.
1800   - Improved --use-latex-docinfo so that organization/contact/address
1801     fields are lumped with the last author field and appear on the
1802     titlepage.
1803   - Made sure the titlepage is always shown with --use-latex-docinfo,
1804     even if the document has no title.
1805   - Made sure that latex doesn't fill in today's date if no date field
1806     was given.
1807   - Added support for section subtitles.
1809 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1810   (under development).
1812 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1814 * docs/api/publisher.txt:
1816   - Added "``publish_parts`` Details" section.
1818 * docutils/dev/repository.txt: Added to project; information about the
1819   Docutils Subversion repository.
1821 * docs/ref/docutils.dtd:
1823   - Added a ``stub`` attribute to the ``colspec`` element via the
1824     ``tbl.colspec.att`` parameter entity.
1825   - Allowed topic elements within sidebars
1826   - Added an ``align`` attribute to the ``figure`` element.
1828 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1829   writer.
1832 Release 0.3.7 (2004-12-24)
1833 ==========================
1835 * docutils/frontend.py:
1837   - Added options: --input-encoding-error-handler,
1838     --record-dependencies, --leave-footnote-reference-space,
1839     --strict-visitor.
1840   - Added command-line and config file support for "overrides" setting
1841     parameter.
1843 * docutils/io.py:
1845   - Added support for input encoding error handler.
1847 * docutils/nodes.py:
1849   - Added dispatch_visit and dispatch_departure methods to
1850     NodeVisitor; useful as a hook for Visitors.
1851   - Changed structure of ``line_block``; added ``line``.
1852   - Added ``compound`` node class.
1853   - Added a mechanism for Visitors to transitionally ignore new node
1854     classes.
1856 * docutils/utils.py:
1858   - Moved ``escape2null`` and ``unescape`` functions from
1859     docutils/parsers/rst/states.py.
1861 * docutils/parsers/rst/roles.py:
1863   - Added "raw" role.
1864   - Changed role function API: the "text" parameter now takes
1865     null-escaped interpreted text content.
1867 * docutils/parsers/rst/states.py:
1869   - Fixed bug where a "role" directive in a nested parse would crash
1870     the parser; the state machine's "language" attribute was not being
1871     copied over.
1872   - Added support for line block syntax.
1873   - Fixed directive parsing bug: argument-less directives didn't
1874     notice that arguments were present.
1875   - Removed error checking for transitions.
1876   - Added support for multiple classifiers in definition list items.
1877   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1878   - Changed role function API: the "text" parameter now takes
1879     null-escaped interpreted text content.
1880   - Empty sections and documents are allowed now.
1882 * docutils/parsers/rst/directives/__init__.py:
1884   - Added ``encoding`` directive option conversion function.
1885   - Allow multiple class names in class_option conversion function.
1887 * docutils/parsers/rst/directives/body.py:
1889   - Converted the line-block directive to use the new structure.
1890   - Extracted the old line-block functionality to the ``block``
1891     function (still used).
1892   - Added ``compound`` directive (thanks to Lea Wiemann).
1894 * docutils/parsers/rst/directives/misc.py:
1896   - Added "encoding" option to "include" and "raw" directives.
1897   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1898   - Allow multiple class names in the "class" directive.
1900 * docutils/parsers/rst/directives/parts.py:
1902   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1903     options.  Thanks to Lele Gaifax.
1905 * docutils/parsers/rst/directives/tables.py:
1907   - Added "encoding" directive to "csv-table" directive.
1908   - Added workaround for lack of Unicode support in csv.py, for
1909     non-ASCII CSV input.
1911 * docutils/transforms/misc.py:
1913   - Fixed bug when multiple "class" directives are applied to a single
1914     element.
1915   - Enabled multiple format names for "raw" directive.
1917 * docutils/transforms/references.py:
1919   - Added support for trimming whitespace from beside substitution
1920     references.
1922 * docutils/transforms/universal.py:
1924   - FinalChecks now checks for illegal transitions and moves
1925     transitions between sections.
1927 * docutils/writers/html4css1.py:
1929   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1930   - "stylesheet" and "stylesheet_path" settings are now mutually
1931     exclusive.
1932   - Added support for the new line_block/line structure.
1933   - --footnote-references now overrides
1934     --trim-footnote-reference-space, if applicable.
1935   - Added support for ``compound`` elements.
1936   - Enabled multiple format names for "raw" directive.
1937   - ``<p>`` tags of a paragraph which is the only visible child of the
1938     document node are no longer stripped.
1939   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1940     new method ``should_be_compact_paragraph()``.
1941   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1942     elements.
1943   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1944     the output if they have their ``class`` attribute set.
1945   - The whole document is now surrounded by a ``<div
1946     class="document">`` element.
1947   - Body-level images are now wrapped by their own ``<div>`` elements,
1948     with image classes copied to the wrapper, and for images which
1949     have the ``:align:`` option set, the surrounding ``<div>`` now
1950     receives a class attribute (like ``class="align-left"``).
1952 * docutils/writers/latex2e.py:
1954   - no newline after depart_term.
1955   - Added translations for some Unicode quotes.
1956   - Added option "font-encoding", made package AE the default.
1957   - "stylesheet" and "stylesheet_path" settings are now mutually
1958     exclusive.
1959   - --footnote-references now overrides
1960     --trim-footnote-reference-space, if applicable.
1961   - The footnote label style now matches the footnote reference style
1962     ("brackets" or "superscript").
1963   - Added support for ``compound`` elements.
1964   - Enabled multiple format names for "raw" directive.
1966 * docs/ref/docutils.dtd:
1968   - Changed structure of the ``line_block`` element; added ``line``.
1969   - Added ``compound`` element.
1970   - Added "ltrim" and "rtrim" attributes to
1971     ``substitution_definition`` element.
1972   - Enabled multiple format names for ``raw`` element.
1973   - Enabled multiple classifiers in ``definition_list_item`` elements.
1975 * docs/ref/rst/directives.txt
1977   - Marked "line-block" as deprecated.
1978   - "Class" directive now allows multiple class names.
1979   - Added "Rationale for Class Attribute Value Conversion".
1980   - Added warning about "raw" overuse/abuse.
1982 * docs/ref/rst/restructuredtext.txt:
1984   - Added syntax for line blocks.
1985   - Definition list items may have multiple classifiers.
1987 * docs/ref/rst/roles.txt:
1989   - Added "raw" role.
1991 * tools/stylesheets/default.css:
1993   - Added support for the new line_block structure.
1994   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1997 Release 0.3.5 (2004-07-29)
1998 ==========================
2000 General:
2002 * _`Documentation cleanup/reorganization`.
2004   - Created new subdirectories of docs/:
2006     * ``docs/user/``: introductory/tutorial material for end-users
2007     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
2008     * ``docs/api/``: API reference material for client-developers
2009     * ``docs/ref/``: reference material for all groups
2010     * ``docs/howto/``: for component-developers and core-developers
2011     * ``docs/peps/``: Python Enhancement Proposals
2013   - Moved ``docs/*`` to ``docs/user/``.
2014   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
2015     ``spec/`` to ``docs/dev``.
2016   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
2017     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
2018   - Moved ``alternatives.txt``, and ``problems.txt`` from
2019     ``spec/rst/`` to ``docs/dev/rst/``.
2020   - Moved ``reStructuredText.txt``, ``directives.txt``,
2021     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
2022     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
2023     ``roles.txt``, ``reStructuredText.txt`` to
2024     ``restructuredtext.txt``.
2025   - Moved ``spec/howto/`` to ``docs/howto``.
2027   In order to keep the CVS history of moved files, we supplied
2028   SourceForge with a `script for modifying the Docutils CVS
2029   repository`__.
2031   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
2033   After running the cleanup script:
2035   - Added ``docs/index.txt``.
2036   - Added a ``.htaccess`` file to the ``web`` module, containing
2037     redirects for all old paths to new paths.  They'll preserve
2038     fragments (the "#name" part of a URL), and won't clutter up the
2039     file system, and will correct the URL in the user's browser.
2040   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
2041     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
2042     the "To Do" list itself in ``docs/dev/todo.txt``.
2043   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
2044     section of ``docs/dev/todo.txt``.
2045   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
2046   - Added "How To Report Bugs" to ``BUGS.txt``.
2047   - Went through all the sources and docs (including under web/) and
2048     updated links.  Mostly done by Lea Wiemann; thanks Lea!
2049     (Still need to update links in the sandboxes.)
2051 Specific:
2053 * BUGS.txt: Added to project.
2055 * THANKS.txt: Added to project.
2057 * docutils/__init__.py:
2059   - 0.3.4: Post-release.
2061 * docutils/core.py:
2063   - Added special error handling & advice for UnicodeEncodeError.
2064   - Refactored Publisher.publish (simplified exception handling &
2065     extracted debug dumps).
2066   - Renamed "enable_exit" parameter of convenience functions to
2067     "enable_exit_status".
2068   - Enabled traceback (exception propagation) by default in
2069     programmatic convenience functions.
2070   - Now publish_file and publish_cmdline convenience functions return
2071     the encoded string results in addition to their regular I/O.
2072   - Extracted common code from publish_file, publish_string, and
2073     publish_parts, into new publish_programmatically.  Extracted
2074     settings code to ``Publisher.process_programmatic_settings``.
2075   - In Publisher.publish, disabled ``settings_overrides`` when
2076     ``settings`` is supplied; redundant.
2078 * docutils/frontend.py:
2080   - Added help text for "--output-encoding-error-handler" and
2081     "--error-encoding-error-handler".
2082   - Renamed "--exit" to "--exit-status".
2083   - Simplified default-setting code.
2085 * docutils/parsers/rst/__init__.py:
2087   - Added "--pep-base-url" and "--rfc-base-url" options.
2089 * docutils/parsers/rst/states.py:
2091   - Made URI recognition more aggressive and intelligent.
2093 * docutils/parsers/rst/directives/__init__.py:
2095   - Added several directive option conversion functions.
2097 * docutils/parsers/rst/directives/body.py:
2099   - Moved "table" directive to tables.py.
2101 * docutils/parsers/rst/directives/tables.py: Table-related directives,
2102   added to project.
2104 * docutils/writers/latex2e.py:
2106   - Added "--table-style=(standard|booktabs|nolines)"
2107   - figures get "here" option (LaTeX per default puts them at bottom),
2108     and figure content is centered.
2109   - Rowspan support for tables.
2110   - Fix: admonition titles before first section.
2111   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
2112   - Replave ``_`` in literal by an underlined blank, because it has the correct
2113     width.
2114   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
2115   - A few unicode replacements, if output_encoding != utf
2116   - Add "--graphicx-option".
2117   - Indent literal-blocks.
2118   - Fix: omit ``\maketitle`` when there is no document title.
2120 * docs/index.txt: "Docutils Project Documentation Overview", added to
2121   project.
2123 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
2124   Tool", added to project.
2126 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
2128 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
2130 * docs/dev/policies.txt: Added to project (extracted from
2131   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
2133 * docs/dev/release.txt: Added to project (extracted from
2134   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
2136 * docs/dev/testing.txt: Added to project.
2138 * docs/dev/website.txt: Added to project (extracted from
2139   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
2141 * docs/ref/rst/directives.txt:
2143   - Added directives: "table", "csv-table".
2145 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
2146   added to project.  1 page for syntax, and a 1 page reference for
2147   directives and roles.  Source text to be used as-is; not meant to be
2148   converted to HTML.
2150 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
2151   with a change of title.
2153 * test/functional/, contents, and test/test_functional.py: Added to
2154   project.
2156 * tools/buildhtml.py: Fixed bug with config file handling.
2158 * tools/html.py: Removed from project (duplicate of rst2html.py).
2160 * tools/pep2html.py: Removed from project (duplicate of Python's
2161   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
2162   Docutils-related PEPs in docs/peps/).
2164 * tools/rst2pseudoxml.py: Renamed from publish.py.
2166 * tools/rst2xml.py: Renamed from docutils-xml.py.
2168 * tools/test.txt: Removed from project; moved to
2169   docs/user/rst/demo.txt.
2171 * setup.py: Now also installs ``rst2latex.py``.
2174 Release 0.3.3 (2004-05-09)
2175 ==========================
2177 * docutils/__init__.py:
2179   - 0.3.1: Reorganized config file format (multiple sections); see
2180     docs/config.txt.
2181   - Added unknown_reference_resolvers attribute to TransformSpec.
2182   - 0.3.2: Interpreted text reorganization.
2183   - 0.3.3: Released.
2185 * docutils/core.py:
2187   - Catch system messages to stop tracebacks from parsing errors.
2188   - Catch exceptions during processing report & exit without
2189     tracebacks, except when "--traceback" used.
2190   - Reordered components for OptionParser; application comes last.
2191   - Added "config_section" parameter to several methods and functions,
2192     allowing front ends to easily specify their config file sections.
2193   - Added publish_parts convenience function to allow access to individual
2194     parts of a document.
2196 * docutils/examples.py: Added to project; practical examples of
2197   Docutils client code, to be used as-is or as models for variations.
2199 * docutils/frontend.py:
2201   - Added "--traceback" & "--no-traceback" options ("traceback"
2202     setting).
2203   - Implemented support for config file reorganization:
2204     ``standard_config_files`` moved from ``ConfigParser`` to
2205     ``OptionParser``; added
2206     ``OptionParser.get_config_file_settings()`` and
2207     ``.get_standard_config_settings()``; support for old "[options]"
2208     section (with deprecation warning) and mapping from old to new
2209     settings.
2210   - Reimplemented setting validation.
2211   - Enabled flexible boolean values: yes/no, true/false, on/off.
2212   - Added ``Values``, a subclass of ``optparse.Values``, with support
2213     for list setting attributes.
2214   - Added support for new ``DOCUTILSCONFIG`` environment variable;
2215     thanks to Beni Cherniavsky.
2216   - Added "--no-section-numbering" option.
2218 * docutils/io.py:
2220   - Catch IOErrors when opening source & destination files, report &
2221     exit without tracebacks.  Added ``handle_io_errors`` parameter to
2222     ``FileInput`` & ``FileOutput`` to enable caller error handling.
2224 * docutils/nodes.py:
2226   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
2227     method definitions (via ``exec``) to dynamic assignments (via
2228     ``setattr``); thanks to Roman Suzi.
2229   - Encapsulated visitor dynamic assignments in a function; thanks to
2230     Ian Bicking.
2231   - Added indirect_reference_name attribute to the Targetable
2232     class. This attribute holds the whitespace_normalized_name
2233     (contains mixed case) of a target.
2235 * docutils/statemachine.py:
2237   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
2238   - Added ``StringList.get_2D_block``.
2240 * docutils/utils.py:
2242   - Added "level" attribute to SystemMessage exceptions.
2244 * docutils/languages/af.py: Added to project; Afrikaans mappings by
2245   Jannie Hofmeyr.
2247 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
2248   Blaha.
2250 * docutils/languages/eo.py: Added to project; Esperanto mappings by
2251   Marcelo Huerta San Martin.
2253 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
2254   mappings by Lalo Martins.
2256 * docutils/languages/ru.py: Added to project; Russian mappings by
2257   Roman Suzi.
2259 * docutils/parsers/rst/roles.py: Added to project.  Contains
2260   interpreted text role functions, a registry for interpreted text
2261   roles, and an API for adding to and retrieving from the registry.
2262   Contributed by Edward Loper.
2264 * docutils/parsers/rst/states.py:
2266   - Updated ``RSTState.nested_parse`` for "include" in table cells.
2267   - Allowed true em-dash character and "---" as block quote
2268     attribution marker.
2269   - Added support for <angle-bracketed> complex option arguments
2270     (option lists).
2271   - Fixed handling of backslashes in substitution definitions.
2272   - Fixed off-by-1 error with extra whitespace after substitution
2273     definition directive.
2274   - Added inline markup parsing to field lists' field names.
2275   - Added support for quoted (and unindented) literal blocks.
2276     Driven in part by a bribe from Frank Siebenlist (thanks!).
2277   - Parser now handles escapes in URIs correctly.
2278   - Made embedded-URIs' reference text omittable.  Idea from Beni
2279     Cherniavsky.
2280   - Refactored explicit target processing code.
2281   - Added name attribute to references containing the reference name only
2282     through whitespace_normalize_name (no case changes).
2283   - parse_target no longer returns the refname after going through
2284     normalize_name. This is now handled in make_target.
2285   - Fixed bug relating to role-less interpreted text in non-English
2286     contexts.
2287   - Reorganized interpreted text processing; moved code into the new
2288     roles.py module.  Contributed by Edward Loper.
2289   - Refactored ``Body.parse_directive`` into ``run_directive`` and
2290     ``parse_directive_block``.
2292 * docutils/parsers/rst/tableparser.py:
2294   - Reworked for ``StringList``, to support "include" directives in
2295     table cells.
2297 * docutils/parsers/rst/directives/__init__.py:
2299   - Renamed ``unchanged()`` directive option conversion function to
2300     ``unchanged_required``, and added a new ``unchanged``.
2301   - Catch unicode value too high error; fixes bug 781766.
2302   - Beefed up directive error reporting.
2304 * docutils/parsers/rst/directives/body.py:
2306   - Added basic "table" directive.
2308 * docutils/parsers/rst/directives/images.py:
2310   - Added "target" option to "image" directive.
2311   - Added name attribute to references containing the reference name only
2312     through whitespace_normalize_name (no case changes).
2314 * docutils/parsers/rst/directives/misc.py:
2316   - Isolated the import of the ``urllib2`` module; was causing
2317     problems on SourceForge (``libssl.so.2`` unavailable?).
2318   - Added the "role" directive for declaring custom interpreted text
2319     roles.
2321 * docutils/parsers/rst/directives/parts.py:
2323   - The "contents" directive does more work up-front, creating the
2324     "topic" and "title", and leaving the "pending" node for the
2325     transform.  Allows earlier reference resolution; fixes subtle bug.
2327 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
2328   mappings by Jannie Hofmeyr.
2330 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
2331   mappings by Marek Blaha.
2333 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
2334   mappings by Marcelo Huerta San Martin.
2336 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
2337   Portuguese mappings by Lalo Martins.
2339 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
2340   mappings by Roman Suzi.
2342 * docutils/transforms/parts.py:
2344   - The "contents" directive does more work up-front, creating the
2345     "topic" and "title", and leaving the "pending" node for the
2346     transform.  Allows earlier reference resolution; fixes subtle bug.
2347   - Added support for disabling of section numbering.
2349 * docutils/transforms/references.py:
2351   - Verifying that external targets are truly targets and not indirect
2352     references. This is because we are now adding a "name" attribute to
2353     references in addition to targets. Note sure if this is correct!
2354   - Added code to hook into the unknown_reference_resolvers list for a
2355     transformer in resolve_indirect_target. This allows the
2356     unknown_reference_resolvers to keep around indirect targets which
2357     docutils doesn't know about.
2358   - Added specific error message for duplicate targets.
2360 * docutils/transforms/universal.py:
2362   - Added FilterMessages transform (removes system messages below the
2363     verbosity threshold).
2364   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
2365     to FinalCheckVisitor for application-specific handling of
2366     unresolvable references.
2367   - Added specific error message for duplicate targets.
2369 * docutils/writers/__init__.py:
2371   - Added assemble_parts method to the Writer class to allow for
2372     access to a documents individual parts.
2373   - Documented & set default for ``Writer.output`` attribute.
2375 * docutils/writers/html4css1.py:
2377   - Fixed unicode handling of attribute values (bug 760673).
2378   - Prevent duplication of "class" attribute values (bug report from
2379     Kirill Lapshin).
2380   - Improved table grid/border handling (prompted by report from Bob
2381     Marshall).
2382   - Added support for table titles.
2383   - Added "<title />" for untitled docs, for XHTML conformance; thanks
2384     to Darek Suchojad.
2385   - Added functionality to keep track of individual parts of a document
2386     and store them in a dictionary as the "parts" attribute of the writer.
2387     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
2388   - Added proper support for the "scale" attribute of the "image"
2389     element.  Contributed by Brent Cook.
2390   - Added ``--initial-header-level`` option.
2391   - Fixed bug: the body_pre_docinfo segment depended on there being a
2392     docinfo; if no docinfo, the document title was incorporated into
2393     the body segment.  Adversely affected the publish_parts interface.
2395 * docutils/writers/latex2e.py:
2397   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
2398     about a missing file.
2399   - Added options and support: ``--compound-enumerators``,
2400     ``--section-prefix-for-enumerators``, and
2401     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
2402     934322).
2403   - Added option ``--use-verbatim-when-possible``, to avoid
2404     problematic characters (eg, '~' in italian) in literal blocks.
2405   - It's now possible to use four section levels in the `book` and
2406     `report` LaTeX classes.  The default `article` class still has
2407     three levels limit.
2409 * docs/config.txt: "Docutils Configuration Files", added to project.
2410   Moved config file entry descriptions from tools.txt.
2412 * docs/tools.txt:
2414   - Moved config file entry descriptions to config.txt.
2416 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
2417   Development".
2419 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
2420   Text Roles", added to project.
2422 * spec/rst/reStructuredText.txt:
2424   - Added description of support for <angle-bracketed> complex option
2425     arguments to option lists.
2426   - Added subsections for indented and quoted literal blocks.
2428 * test: Continually adding & updating tests.
2430   - Added test/test_settings.py & test/data/config_*.txt support
2431     files.
2432   - Added test/test_writers/test_htmlfragment.py.
2434 * test/DocutilsTestSupport.py:
2436   - Refactored LaTeX publisher test suite/case class names to make
2437     testing other writers easier.
2438   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
2439     to test the processing of HTML fragments which use the new
2440     publish_parts convenience function.
2442 * tools/buildhtml.py:
2444   - Added support for the "--prune" option.
2445   - Removed dependency on pep2html.py; plaintext PEPs no longer
2446     supported.
2448 * tools/docutils.conf:
2450   - Updated for configuration file reorganization.
2452 * tools/rst2html.py:
2454   - copied from tools/html.py
2456 * setup.py:
2458   - added a 'scripts' section to configuration
2459   - added 'tools/rst2html.py' to the scripts section
2462 Release 0.3 (2003-06-24)
2463 ========================
2465 General:
2467 * Renamed "attribute" to "option" for directives/extensions.
2469 * Renamed transform method "transform" to "apply".
2471 * Renamed "options" to "settings" for runtime settings (as set by
2472   command-line options).  Sometimes "option" (singular) became
2473   "settings" (plural).  Some variations below:
2475   - document.options -> document.settings (stored in other objects as
2476     well)
2477   - option_spec -> settings_spec (not directives though)
2478   - OptionSpec -> SettingsSpec
2479   - cmdline_options -> settings_spec
2480   - relative_path_options -> relative_path_settings
2481   - option_default_overrides -> settings_default_overrides
2482   - Publisher.set_options -> Publisher.get_settings
2484 Specific:
2486 * COPYING.txt: Added "Public Domain Dedication".
2488 * FAQ.txt: Frequently asked questions, added to project.
2490 * setup.py:
2492   - Updated with PyPI Trove classifiers.
2493   - Conditional installation of third-party modules.
2495 * docutils/__init__.py:
2497   - Bumped version to 0.2.1 to reflect changes to I/O classes.
2498   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
2499   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
2500   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
2501     option and its effect on the PEP template & writer.
2502   - Bumped version to 0.2.4 due to changes to the PEP template &
2503     stylesheet.
2504   - Bumped version to 0.2.5 to reflect changes to Reporter output.
2505   - Added ``TransformSpec`` class for new transform system.
2506   - Bumped version to 0.2.6 for API changes (renaming).
2507   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
2508     convenience functions.
2509   - Added ``Component.component_type`` attribute.
2510   - Bumped version to 0.2.8 because of the internal parser switch from
2511     plain lists to the docutils.statemachine.StringList objects.
2512   - Bumped version to 0.2.9 because of the frontend.py API changes.
2513   - Bumped version to 0.2.10 due to changes to the project layout
2514     (third-party modules removed from the "docutils" package), and
2515     signature changes in ``io.Input``/``io.Output``.
2516   - Changed version to 0.3.0 for release.
2518 * docutils/core.py:
2520   - Made ``publish()`` a bit more convenient.
2521   - Generalized ``Publisher.set_io``.
2522   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
2523     parameters; improved its docstring.
2524   - Added ``publish_file()`` and ``publish_string()``.
2525   - Factored ``Publisher.set_source()`` and ``.set_destination()``
2526     out of ``.set_io``.
2527   - Added support for "--dump-pseudo-xml", "--dump-settings", and
2528     "--dump-transforms" hidden options.
2529   - Added ``Publisher.apply_transforms()`` method.
2530   - Added ``Publisher.set_components()`` method; support for
2531     ``publish_*()`` conveninece functions.
2532   - Moved config file processing to docutils/frontend.py.
2533   - Added support for exit status ("exit_level" setting &
2534     ``enable_exit`` parameter for Publisher.publish() and convenience
2535     functions).
2537 * docutils/frontend.py:
2539   - Check for & exit on identical source & destination paths.
2540   - Fixed bug with absolute paths & "--config".
2541   - Set non-command-line defaults in ``OptionParser.__init__()``:
2542     ``_source`` & ``_destination``.
2543   - Distributed ``relative_path_settings`` to components; updated
2544     ``OptionParser.populate_from_components()`` to combine it all.
2545   - Require list of keys in ``make_paths_absolute`` (was implicit in
2546     global ``relative_path_settings``).
2547   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
2548     "--dump-settings", and "--dump-transforms" hidden options.
2549   - Removed nasty internals-fiddling ``ConfigParser.get_section``
2550     code, replaced with correct code.
2551   - Added validation functionality for config files.
2552   - Added "--error-encoding" option/setting, "_disable_config"
2553     internal setting.
2554   - Added encoding validation; updated "--input-encoding" and
2555     "--output-encoding"; added "--error-encoding-error-handler" and
2556     "--output-encoding-error-handler".
2557   - Moved config file processing from docutils/core.py.
2558   - Updated ``OptionParser.populate_from_components`` to handle new
2559     ``SettingsSpec.settings_defaults`` dict.
2560   - Added support for "-" => stdin/stdout.
2561   - Added "exit_level" setting ("--exit" option).
2563 * docutils/io.py:
2565   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
2566   - Added automatic closing to ``FileInput`` and ``FileOutput``.
2567   - Delayed opening of ``FileOutput`` file until ``write()`` called.
2568   - ``FileOutput.write()`` now returns the encoded output string.
2569   - Try to get path/stream name automatically in ``FileInput`` &
2570     ``FileOutput``.
2571   - Added defaults for source & destination paths.
2572   - Allow for Unicode I/O with an explicit "unicode" encoding.
2573   - Added ``Output.encode()``.
2574   - Removed dependency on runtime settings; pass encoding directly.
2575   - Recognize Unicode strings in ``Input.decode()``.
2576   - Added support for output encoding error handlers.
2578 * docutils/nodes.py:
2580   - Added "Invisible" element category class.
2581   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
2582     modification during a traversal.
2583   - Added element classes: ``line_block``, ``generated``, ``address``,
2584     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
2585     ``superscript``, ``subscript``, ``inline``
2586   - Added support for lists of nodes to ``Element.insert()``.
2587   - Fixed parent linking in ``Element.replace()``.
2588   - Added new abstract superclass ``FixedTextElement``; adds
2589     "xml:space" attribute.
2590   - Added support for "line" attribute of ``system_message`` nodes.
2591   - Added support for the observer pattern from ``utils.Reporter``.
2592     Added ``parse_messages`` and ``transform_messages`` attributes to
2593     ``document``, removed ``messages``.  Added ``note_parse_message``
2594     and ``note_transform_message`` methods.
2595   - Added support for improved diagnostics:
2597     - Added "document", "source", and "line" internal attributes to
2598       ``Node``, set by ``Node.setup_child()``.
2599     - Converted variations on ``node.parent = self`` to
2600       ``self.setup_child(node)``.
2601     - Added ``document.current_source`` & ``.current_line``
2602       attributes, and ``.note_source`` observer method.
2603     - Changed "system_message" output to GNU-Tools format.
2605   - Added a "rawsource" attribute to the ``Text`` class, for text
2606     before backslash-escape resolution.
2607   - Support for new transform system.
2608   - Reworked ``pending`` element.
2609   - Fixed XML DOM bug (SF #660611).
2610   - Removed the ``interpeted`` element class and added
2611     ``title_reference``, ``abbreviation``, ``acronym``.
2612   - Made substitutions case-sensitive-but-forgiving; moved some code
2613     from the parser.
2614   - Fixed Unicode bug on element attributes (report: William Dode).
2616 * docutils/optik.py: Removed from project; replaced with
2617   extras/optparse.py and extras/textwrap.py.  These will be installed
2618   only if they're not already present in the Python installation.
2620 * docutils/roman.py: Moved to extras/roman.py; this will be installed
2621   only if it's not already present in the Python installation.
2623 * docutils/statemachine.py:
2625   - Factored out ``State.add_initial_transitions()`` so it can be
2626     extended.
2627   - Converted whitespace-specific "blank" and "indent" transitions
2628     from special-case code to ordinary transitions: removed
2629     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
2630     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
2631     ``ws_initial_transitions`` attributes.
2632   - Removed ``State.match_transition()`` after merging it into
2633     ``.check_line()``.
2634   - Added ``StateCorrection`` exception.
2635   - Added support for ``StateCorrection`` in ``StateMachine.run()``
2636     (moved ``TransitionCorrection`` support there too.)
2637   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
2638     ``EOFError`` instead of ``IndexError``.
2639   - Added ``State.no_match`` method.
2640   - Added support for the Observer pattern, triggered by input line
2641     changes.
2642   - Added ``strip_top`` parameter to
2643     ``StateMachineWS.get_first_known_indented``.
2644   - Made ``context`` a parameter to ``StateMachine.run()``.
2645   - Added ``ViewList`` & ``StringList`` classes;
2646     ``extract_indented()`` becomes ``StringList.get_indented()``.
2647   - Added ``StateMachine.insert_input()``.
2648   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
2649     thanks to) Fred Drake.
2651 * docutils/utils.py:
2653   - Added a ``source`` attribute to Reporter instances and
2654     ``system_message`` elements.
2655   - Added an observer pattern to ``utils.Reporter`` to keep track of
2656     system messages.
2657   - Fixed bugs in ``relative_path()``.
2658   - Added support for improved diagnostics.
2659   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
2660   - Added support for encoding Reporter stderr output, and encoding
2661     error handlers.
2662   - Reporter keeps track of the highest level system message yet
2663     generated.
2665 * docutils/languages: Fixed bibliographic field language lookups.
2667 * docutils/languages/es.py: Added to project; Spanish mappings by
2668   Marcelo Huerta San Martin.
2670 * docutils/languages/fr.py: Added to project; French mappings by
2671   Stefane Fermigier.
2673 * docutils/languages/it.py: Added to project; Italian mappings by
2674   Nicola Larosa.
2676 * docutils/languages/sk.py: Added to project; Slovak mappings by
2677   Miroslav Vasko.
2679 * docutils/parser/__init__.py:
2681   - Added ``Parser.finish_parse()`` method.
2683 * docutils/parser/rst/__init__.py:
2685   - Added options: "--pep-references", "--rfc-references",
2686     "--tab-width", "--trim-footnote-reference-space".
2688 * docutils/parsers/rst/states.py:
2690   - Changed "title under/overline too short" system messages from INFO
2691     to WARNING, and fixed its insertion location.
2692   - Fixed enumerated list item parsing to allow paragraphs & section
2693     titles to begin with enumerators.
2694   - Converted system messages to use the new "line" attribute.
2695   - Fixed a substitution reference edge case.
2696   - Added support for "--pep-references" and "--rfc-references"
2697     options; reworked ``Inliner`` code to make customization easier.
2698   - Removed field argument parsing.
2699   - Added support for short section title over/underlines.
2700   - Fixed "simple reference name" regexp to ignore text like
2701     "object.__method__"; not an anonymous reference.
2702   - Added support for improved diagnostics.
2703   - Reworked directive API, based on Dethe Elza's contribution.  Added
2704     ``Body.parse_directive()``, ``.parse_directive_options()``,
2705     ``.parse_directive_arguments()`` methods.
2706   - Added ``ExtensionOptions`` class, to parse directive options
2707     without parsing field bodies.  Factored
2708     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
2709     ``ExtensionOptions``.
2710   - Improved definition list term/classifier parsing.
2711   - Added warnings for unknown directives.
2712   - Renamed ``Stuff`` to ``Struct``.
2713   - Now flagged as errors: transitions at the beginning or end of
2714     sections, empty sections (except title), and empty documents.
2715   - Updated for ``statemachine.StringList``.
2716   - Enabled recognition of schemeless email addresses in targets.
2717   - Added support for embedded URIs in hyperlink references.
2718   - Added backslash-escapes to inline markup end-string suffix.
2719   - Added support for correct interpreted text processing.
2720   - Fixed nested title parsing (topic, sidebar directives).
2721   - Added special processing of backslash-escaped whitespace (idea
2722     from David Abrahams).
2723   - Made substitutions case-sensitive-but-forgiving; moved some code
2724     to ``docutils.nodes``.
2725   - Added support for block quote attributions.
2726   - Added a kludge to work-around a conflict between the bubble-up
2727     parser strategy and short titles (<= 3 char-long over- &
2728     underlines).  Fixes SF bug #738803 "infinite loop with multiple
2729     titles" submitted by Jason Diamond.
2730   - Added explicit interpreted text roles for standard inline markup:
2731     "emphasis", "strong", "literal".
2732   - Implemented "superscript" and "subscript" interpreted text roles.
2733   - Added initial support for "abbreviation" and "acronym" roles;
2734     incomplete.
2735   - Added support for "--trim-footnote-reference-space" option.
2736   - Optional space before colons in directives & hyperlink targets.
2738 * docutils/parsers/rst/tableparser.py:
2740   - Fixed a bug that was producing unwanted empty rows in "simple"
2741     tables.
2742   - Detect bad column spans in "simple" tables.
2744 * docutils/parsers/rst/directives: Updated all directive functions to
2745   new API.
2747 * docutils/parsers/rst/directives/__init__.py:
2749   - Added ``flag()``, ``unchanged()``, ``path()``,
2750     ``nonnegative_int()``, ``choice()``, and ``class_option()``
2751     directive option helper functions.
2752   - Added warnings for unknown directives.
2753   - Return ``None`` for missing directives.
2754   - Added ``register_directive()``, thanks to William Dode and Paul
2755     Moore.
2757 * docutils/parsers/rst/directives/admonitions.py:
2759   - Added "admonition" directive.
2761 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
2762   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2763   "parsed-literal", "rubric", "epigraph", "highlights" and
2764   "pull-quote" directives.
2766 * docutils/parsers/rst/directives/images.py:
2768   - Added an "align" attribute to the "image" & "figure" directives
2769     (by Adam Chodorowski).
2770   - Added "class" option to "image", and "figclass" to "figure".
2772 * docutils/parsers/rst/directives/misc.py:
2774   - Added "include", "raw", and "replace" directives, courtesy of
2775     Dethe Elza.
2776   - Added "unicode" and "class" directives.
2778 * docutils/parsers/rst/directives/parts.py:
2780   - Added the "sectnum" directive; by Dmitry Jemerov.
2781   - Added "class" option to "contents" directive.
2783 * docutils/parsers/rst/directives/references.py: Added to project.
2784   Contains the "target-notes" directive.
2786 * docutils/parsers/rst/languages/__init__.py:
2788   - Return ``None`` from get_language() for missing language modules.
2790 * docutils/parsers/rst/languages/de.py: Added to project; German
2791   mappings by Engelbert Gruber.
2793 * docutils/parsers/rst/languages/en.py:
2795   - Added interpreted text roles mapping.
2797 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2798   mappings by Marcelo Huerta San Martin.
2800 * docutils/parsers/rst/languages/fr.py: Added to project; French
2801   mappings by William Dode.
2803 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2804   mappings by Nicola Larosa.
2806 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2807   mappings by Miroslav Vasko.
2809 * docutils/readers/__init__.py:
2811   - Added support for the observer pattern from ``utils.Reporter``, in
2812     ``Reader.parse`` and ``Reader.transform``.
2813   - Removed ``Reader.transform()`` method.
2814   - Added default parameter values to ``Reader.__init__()`` to make
2815     instantiation easier.
2816   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2818 * docutils/readers/pep.py:
2820   - Added the ``peps.TargetNotes`` transform to the Reader.
2821   - Removed PEP & RFC reference detection code; moved to
2822     parsers/rst/states.py as options (enabled here by default).
2823   - Added support for pre-acceptance PEPs (no PEP number yet).
2824   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2825     easy subclassing.
2827 * docutils/readers/python: Python Source Reader subpackage added to
2828   project, including preliminary versions of:
2830   - __init__.py
2831   - moduleparser.py: Parser for Python modules.
2833 * docutils/transforms/__init__.py:
2835   - Added ``Transformer`` class and completed transform reform.
2836   - Added unknown_reference_resolvers list for each transformer. This list holds
2837     the list of functions provided by each component of the transformer that
2838     help resolve references.
2840 * docutils/transforms/frontmatter.py:
2842   - Improved support for generic fields.
2843   - Fixed bibliographic field language lookups.
2845 * docutils/transforms/misc.py: Added to project.  Miscellaneous
2846   transforms.
2848 * docutils/transforms/parts.py:
2850   - Moved the "id" attribute from TOC list items to the references
2851     (``Contents.build_contents()``).
2852   - Added the ``SectNum`` transform; by Dmitry Jemerov.
2853   - Added "class" attribute support to ``Contents``.
2855 * docutils/transforms/peps.py:
2857   - Added ``mask_email()`` function, updating to pep2html.py's
2858     functionality.
2859   - Linked "Content-Type: text/x-rst" to PEP 12.
2860   - Added the ``TargetNotes`` PEP-specific transform.
2861   - Added ``TargetNotes.cleanup_callback``.
2862   - Added title check to ``Headers``.
2864 * docutils/transforms/references.py:
2866   - Added the ``TargetNotes`` generic transform.
2867   - Split ``Hyperlinks`` into multiple transforms.
2868   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2869   - Added check for circular indirect references.
2870   - Made substitutions case-sensitive-but-forgiving.
2872 * docutils/transforms/universal.py:
2874   - Added support for the "--expose-internal-attributes" option.
2875   - Removed ``Pending`` transform classes & data.
2877 * docutils/writers/__init__.py:
2879   - Removed ``Writer.transform()`` method.
2881 * docutils/writers/docutils-xml.py:
2883   - Added XML and doctype declarations.
2884   - Added "--no-doctype" and "--no-xml-declaration" options.
2886 * docutils/writers/html4css1.py:
2888   - "name" attributes only on these tags: a, applet, form, frame,
2889     iframe, img, map.
2890   - Added "name" attribute to <a> in section titles for Netscape 4
2891     support (bug report: Pearu Peterson).
2892   - Fixed targets (names) on footnote, citation, topic title,
2893     problematic, and system_message nodes (for Netscape 4).
2894   - Changed field names from "<td>" to "<th>".
2895   - Added "@" to "&#64;" encoding to thwart address harvesters.
2896   - Improved the vertical whitespace optimization; ignore "invisible"
2897     nodes (targets, comments, etc.).
2898   - Improved inline literals with ``<span class="pre">`` around chunks
2899     of text and ``&nbsp;`` for runs of spaces.
2900   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2901     ``self.docinfo`` segments.
2902   - Added support for "line_block", "address" elements.
2903   - Improved backlinks (footnotes & system_messages).
2904   - Improved system_message output.
2905   - Redefined "--stylesheet" as containing an invariant URL, used
2906     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2907     working directory.
2908   - Added "--footnote-references" option (superscript or brackets).
2909   - Added "--compact-lists" and "--no-compact-lists" options.
2910   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2911     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2912   - Improved field list rendering.
2913   - Added Docutils version to "generator" meta tag.
2914   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2915   - Improved layout of <pre> HTML source.
2916   - Fixed attribute typo on <colspec>.
2917   - Refined XML prologue.
2918   - Support for no stylesheet.
2919   - Removed "interpreted" element support.
2920   - Added support for "title_reference", "sidebar", "attribution",
2921     "rubric", and generic "admonition" elements.
2922   - Added "--attribution" option.
2923   - Added support for "inline", "subscript", "superscript" elements.
2924   - Added initial support for "abbreviation" and "acronym";
2925     incomplete.
2927 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2928   (from the sandbox).
2930   - Added french.
2931   - Double quotes in literal blocks (special treatment for de/ngerman).
2932   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2933   - Added  "--attribution" option.
2934   - Right align attributions.
2936 * docutils/writers/pep_html.py:
2938   - Parameterized output encoding in PEP template.
2939   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2940   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2941     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2942     working directory.
2943   - Added an override on the "--footnote-references" option.
2944   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2945   - Added Docutils version to "generator" meta tag.
2946   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2948 * docs/tools.txt:
2950   - Added a "silent" setting for ``buildhtml.py``.
2951   - Added a "Getting Help" section.
2952   - Rearranged the structure.
2953   - Kept up to date, with new settings, command-line options etc.
2954   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2955   - Converted settings table into a definition list.
2957 * docs/rst/quickstart.txt:
2959   - Added a table of contents.
2960   - Added feedback information.
2961   - Added mention of minimum section title underline lengths.
2962   - Removed the 4-character minimum for section title underlines.
2964 * docs/rst/quickref.html:
2966   - Added a "Getting Help" section.
2967   - Added a style to make section title backlinks more subtle.
2968   - Added mention of minimum section title underline lengths.
2969   - Removed the 4-character minimum for section title underlines.
2971 * extras: Directory added to project; contains third-party modules
2972   that Docutils depends on (optparse, textwrap, roman).  These are
2973   only installed if they're not already present.
2975 * licenses: Directory added to project; contains copies of license
2976   files for non-public-domain files.
2978 * spec/doctree.txt:
2980   - Changed the focus.  It's about DTD elements:  structural
2981     relationships, semantics, and external (public) attributes.  Not
2982     about the element class library.
2983   - Moved some implementation-specific stuff into ``docutils.nodes``
2984     docstrings.
2985   - Wrote descriptions of all common attributes and parameter
2986     entities.  Filled in introductory material.
2987   - Working through the element descriptions: 55 down, 37 to go.
2988   - Removed "Representation of Horizontal Rules" to
2989     spec/rst/alternatives.txt.
2991 * spec/docutils.dtd:
2993   - Added "generated" inline element.
2994   - Added "line_block" body element.
2995   - Added "auto" attribute to "title".
2996   - Changed content models of "literal_block" and "doctest_block" to
2997     ``%text.model``.
2998   - Added ``%number;`` attribute type parameter entity.
2999   - Changed ``%structural.elements;`` to ``%section.elements``.
3000   - Updated attribute types; made more specific.
3001   - Added "address" bibliographic element.
3002   - Added "line" attribute to ``system_message`` element.
3003   - Removed "field_argument" element; "field_name" may contain
3004     multiple words and whitespace.
3005   - Changed public identifier to docutils.sf.net.
3006   - Removed "interpreted" element; added "title_reference",
3007     "abbreviation", "acronym".
3008   - Removed "refuri" attribute from "footnote_reference" and
3009     "citation_reference".
3010   - Added "sidebar", "rubric", "attribution", "admonition",
3011     "superscript", "subscript", and "inline" elements.
3013 * spec/pep-0256.txt: Converted to reStructuredText & updated.
3015 * spec/pep-0257.txt: Converted to reStructuredText & updated.
3017 * spec/pep-0258.txt: Converted to reStructuredText & updated.
3019 * spec/semantics.txt: Updated with text from a Doc-SIG response to
3020   Dallas Mahrt.
3022 * spec/transforms.txt: Added to project.
3024 * spec/howto: Added subdirectory, for developer how-to docs.
3026 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
3027   Elza, edited & extended by David Goodger.
3029 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
3030   project.
3032 * spec/rst/alternatives.txt:
3034   - Added "Doctree Representation of Transitions" from
3035     spec/doctree.txt.
3036   - Updated "Inline External Targets" & closed the debate.
3037   - Added ideas for interpreted text syntax extensions.
3038   - Added "Nested Inline Markup" section.
3040 * spec/rst/directives.txt:
3042   - Added directives: "topic", "sectnum", "target-notes",
3043     "line-block", "parsed-literal", "include", "replace", "sidebar",
3044     "admonition", "rubric", "epigraph", "highlights", "unicode" and
3045     "class".
3046   - Formalized descriptions of directive details.
3047   - Added an "align" attribute to the "image" & "figure" directives
3048     (by Adam Chodorowski).
3049   - Added "class" options to "topic", "sidebar", "line-block",
3050     "parsed-literal", "contents", and "image"; and "figclass" to
3051     "figure".
3053 * spec/rst/interpreted.txt: Added to project.  Descriptions of
3054   interpreted text roles.
3056 * spec/rst/introduction.txt:
3058   - Added pointers to material for new users.
3060 * spec/rst/reStructuredText.txt:
3062   - Disambiguated comments (just add a newline after the "::").
3063   - Updated enumerated list description; added a discussion of the
3064     second-line validity checking.
3065   - Updated directive description.
3066   - Added a note redirecting newbies to the user docs.
3067   - Expanded description of inline markup start-strings in non-markup
3068     contexts.
3069   - Removed field arguments and made field lists a generic construct.
3070   - Removed the 4-character minimum for section title underlines.
3071   - Clarified term/classifier delimiter & inline markup ambiguity
3072     (definition lists).
3073   - Added "Embedded URIs".
3074   - Updated "Interpreted Text" section.
3075   - Added "Character-Level Inline Markup" section.
3077 * test: Continually adding & updating tests.
3079   - Moved test/test_rst/ to test/test_parsers/test_rst/.
3080   - Moved test/test_pep/ to test/test_readers/test_pep/.
3081   - Added test/test_readers/test_python/.
3082   - Added test/test_writers/ (Engelbert Gruber).
3084 * tools:
3086   - Made the ``locale.setlocale()`` calls in front ends
3087     fault-tolerant.
3089 * tools/buildhtml.py:
3091   - Added "--silent" option.
3092   - Fixed bug with absolute paths & "--config".
3093   - Updated for new I/O classes.
3094   - Added some exception handling.
3095   - Separated publishers' setting defaults; prevents interference.
3096   - Updated for new ``publish_file()`` convenience function.
3098 * tools/pep-html-template:
3100   - Allow for "--embed-stylesheet".
3101   - Added Docutils version to "generator" meta tag.
3102   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
3103   - Conform to XHTML spec.
3105 * tools/pep2html.py:
3107   - Made ``argv`` a parameter to ``main()``.
3108   - Added support for "Content-Type:" header & arbitrary PEP formats.
3109   - Linked "Content-Type: text/plain" to PEP 9.
3110   - Files skipped (due to an error) are not pushed onto the server.
3111   - Updated for new I/O classes.
3112   - Added ``check_requirements()`` & ``pep_type_error()``.
3113   - Added some exception handling.
3114   - Updated for new ``publish_string()`` convenience function.
3115   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
3117 * tools/quicktest.py:
3119   - Added "-V"/"--version" option.
3121 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
3123 * tools/unicode2rstsubs.py: Added to project.  Produces character
3124   entity files (reSructuredText substitutions) from the MathML master
3125   unicode.xml file.
3127 * tools/editors: Support code for editors, added to project.  Contains
3128   ``emacs/restructuredtext.el``.
3130 * tools/stylesheets/default.css: Moved into the stylesheets directory.
3132   - Added style for chunks of inline literals.
3133   - Removed margin for first child of table cells.
3134   - Right-aligned field list names.
3135   - Support for auto-numbered section titles in TOCs.
3136   - Increased the size of inline literals (<tt>) in titles.
3137   - Restored the light gray background for inline literals.
3138   - Added support for "line_block" elements.
3139   - Added style for "address" elements.
3140   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
3141   - Improved field list rendering.
3142   - Vertical whitespace improvements.
3143   - Removed "a.target" style.
3145 * tools/stylesheets/pep.css:
3147   - Fixed nested section margins.
3148   - Other changes parallel those of ``../default.css``.
3151 Release 0.2 (2002-07-31)
3152 ========================
3154 General:
3156 - The word "component" was being used ambiguously.  From now on,
3157   "component" will be used to mean "Docutils component", as in Reader,
3158   Writer, Parser, or Transform.  Portions of documents (Table of
3159   Contents, sections, etc.)  will be called "document parts".
3160 - Did a grand renaming: a lot of ``verylongnames`` became
3161   ``very_long_names``.
3162 - Cleaned up imports: no more relative package imports or
3163   comma-separated lists of top-level modules.
3164 - Added support for an option values object which carries default
3165   settings and overrides (from command-line options and library use).
3166 - Added internal Unicode support, and support for both input and
3167   output encodings.
3168 - Added support for the ``docutils.io.IO`` class & subclasses.
3170 Specific:
3172 * docutils/__init__.py:
3174   - Added ``ApplicationError`` and ``DataError``, for use throughout
3175     the package.
3176   - Added ``Component`` base class for Docutils components; implements
3177     the ``supports`` method.
3178   - Added ``__version__`` (thus, ``docutils.__version__``).
3180 * docutils/core.py:
3182   - Removed many keyword parameters to ``Publisher.__init__()`` and
3183     ``publish()``; bundled into an option values object.  Added
3184     "argv", "usage", "description", and "option_spec" parameters for
3185     command-line support.
3186   - Added ``Publisher.process_command_line()`` and ``.set_options()``
3187     methods.
3188   - Reworked I/O model for ``docutils.io`` wrappers.
3189   - Updated ``Publisher.set_options()``; now returns option values
3190     object.
3191   - Added support for configuration files (/etc/docutils.conf,
3192     ./docutils.conf, ~/.docutils).
3193   - Added ``Publisher.setup_option_parser()``.
3194   - Added default usage message and description.
3196 * docutils/frontend.py: Added to project; support for front-end
3197   (command-line) scripts.  Option specifications may be augmented by
3198   components.  Requires Optik (http://optik.sf.net/) for option
3199   processing (installed locally as docutils/optik.py).
3201 * docutils/io.py: Added to project; uniform API for a variety of input
3202   output mechanisms.
3204 * docutils/nodes.py:
3206   - Added ``TreeCopyVisitor`` class.
3207   - Added a ``copy`` method to ``Node`` and subclasses.
3208   - Added a ``SkipDeparture`` exception for visitors.
3209   - Renamed ``TreePruningException`` from ``VisitorException``.
3210   - Added docstrings to ``TreePruningException``, subclasses, and
3211     ``Nodes.walk()``.
3212   - Improved docstrings.
3213   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
3214   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
3215     imports.
3216   - Added ``decoration``, ``header``, and ``footer`` node classes, and
3217     ``PreDecorative`` mixin.
3218   - Reworked the name/id bookkeeping; to ``document``, removed
3219     ``explicit_targets`` and ``implicit_targets`` attributes, added
3220     ``nametypes`` attribute and ``set_name_id_map`` method.
3221   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
3222     traversals.
3223   - Added ``document.has_name()`` method.
3224   - Fixed DOM generation for list-attributes.
3225   - Added category class ``Labeled`` (used by footnotes & citations).
3226   - Added ``Element.set_class()`` method (sets "class" attribute).
3228 * docutils/optik.py: Added to project.  Combined from the Optik
3229   package, with added option groups and other modifications.  The use
3230   of this module is probably only temporary.
3232 * docutils/statemachine.py:
3234   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
3235   - Added underscores to improve many awkward names.
3236   - In ``string2lines()``, changed whitespace normalizing translation
3237     table to regexp; restores Python 2.0 compatibility with Unicode.
3239 * docutils/urischemes.py:
3241   - Filled in some descriptions.
3242   - Added "shttp" scheme.
3244 * docutils/utils.py:
3246   - Added ``clean_rcs_keywords`` function (moved from
3247     docutils/transforms/frontmatter.py
3248     ``DocInfo.filter_rcs_keywords``).
3249   - Added underscores to improve many awkward names.
3250   - Changed names of Reporter's thresholds:
3251     warning_level -> report_level; error_level -> halt_level.
3252   - Moved ``utils.id()`` to ``nodes.make_id()``.
3253   - Added ``relative_path(source, target)``.
3255 * docutils/languages/de.py: German mappings; added to project.  Thanks
3256   to Gunnar Schwant for the translations.
3258 * docutils/languages/en.py: Added "Dedication" bibliographic field
3259   mappings.
3261 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
3262   Chodorowski.
3264 * docutils/parsers/rst/states.py:
3266   - Added underscores to improve many awkward names.
3267   - Added RFC-2822 header support.
3268   - Extracted the inline parsing code from ``RSTState`` to a separate
3269     class, ``Inliner``, which will allow easy subclassing.
3270   - Made local bindings for ``memo`` container & often-used contents
3271     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
3272   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
3273   - Added ``MarkupMismatch`` exception; for late corrections.
3274   - Added ``-/:`` characters to inline markup's start string prefix,
3275     ``/`` to end string suffix.
3276   - Fixed a footnote bug.
3277   - Fixed a bug with literal blocks.
3278   - Applied patch from Simon Budig: simplified regexps with symbolic
3279     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
3280   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
3281   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
3282   - Allowed non-ASCII in "simple names" (directive names, field names,
3283     references, etc.).
3284   - Converted ``Inliner.patterns.initial`` to be dynamically built
3285     from parts with ``build_regexp()`` function.
3286   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
3287   - Updated docstrings.
3288   - Changed "table" to "grid_table"; added "simple_table" support.
3290 * docutils/parsers/rst/tableparser.py:
3292   - Changed ``TableParser`` to ``GridTableParser``.
3293   - Added ``SimpleTableParser``.
3294   - Refactored naming.
3296 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
3297   a fallback language for directive names.
3299 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
3300   directive to use a ``pending`` element, used only by HTML writers.
3302 * docutils/parsers/rst/directives/parts.py: Renamed from
3303   components.py.
3305   - Added "backlinks" attribute to "contents" directive.
3307 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
3308   project by Adam Chodorowski.
3310 * docutils/readers/__init__.py: Gave Readers more control over
3311   choosing and instantiating Parsers.
3313 * docutils/readers/pep.py: Added to project; for PEP processing.
3315 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
3316   requires a ``component`` parameter.
3318 * docutils/transforms/components.py: Added to project; transforms
3319   related to Docutils components.
3321 * docutils/transforms/frontmatter.py:
3323   - In ``DocInfo.extract_authors``, check for a single "author" in an
3324     "authors" group, and convert it to a single "author" element.
3325   - Added support for "Dedication" and generic bibliographic fields.
3327 * docutils/transforms/peps.py: Added to project; PEP-specific.
3329 * docutils/transforms/parts.py: Renamed from old components.py.
3331   - Added filter for `Contents`, to use alt-text for inline images,
3332     and to remove inline markup that doesn't make sense in the ToC.
3333   - Added "name" attribute to TOC topic depending on its title.
3334   - Added support for optional TOC backlinks.
3336 * docutils/transforms/references.py: Fixed indirect target resolution
3337   in ``Hyperlinks`` transform.
3339 * docutils/transforms/universal.py:
3341   - Changed ``Messages`` transform to properly filter out system
3342     messages below the warning threshold.
3343   - Added ``Decorations`` transform (support for ``--generator``,
3344     ``--date``, ``--time``, ``--source-link`` options).
3346 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
3347   Engelbert Gruber's PDF writer.
3349 * docutils/writers/html4css1.py:
3351   - Made XHTML-compatible (switched to lowercase element & attribute
3352     names; empty tag format).
3353   - Escape double-dashes in comment text.
3354   - Improved boilerplate & modularity of output.
3355   - Exposed modular output in Writer class.
3356   - Added a "generator" meta tag to <head>.
3357   - Added support for the ``--stylesheet`` option.
3358   - Added support for ``decoration``, ``header``, and ``footer``
3359     elements.
3360   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
3361     translation table to regexp; restores Python 2.0 compatibility
3362     with Unicode.
3363   - Added the translator class as instance variable to the Writer, to
3364     make it easily subclassable.
3365   - Improved option list spacing (thanks to Richard Jones).
3366   - Modified field list output.
3367   - Added backlinks to footnotes & citations.
3368   - Added percentage widths to "<col>" tags (from colspec).
3369   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
3370     "<span>" changed to "<var>".
3371   - Inline literals: "<code>" changed to "<tt>".
3372   - Many changes to optimize vertical space: compact simple lists etc.
3373   - Add a command-line options & directive attributes to control TOC
3374     and footnote/citation backlinks.
3375   - Added support for optional footnote/citation backlinks.
3376   - Added support for generic bibliographic fields.
3377   - Identify backrefs.
3378   - Relative URLs for stylesheet links.
3380 * docutils/writers/pep_html.py: Added to project; HTML Writer for
3381   PEPs (subclass of ``html4css1.Writer``).
3383 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
3385 * docutils/writers/docutils_xml.py: Added to project; trivial writer
3386   of the Docutils internal doctree in XML.
3388 * docs/tools.txt: "Docutils Front-End Tools", added to project.
3390 * spec/doctree.txt:
3392   - Changed the title to "The Docutils Document Tree".
3393   - Added "Hyperlink Bookkeeping" section.
3395 * spec/docutils.dtd:
3397   - Added ``decoration``, ``header``, and ``footer`` elements.
3398   - Brought ``interpreted`` element in line with the parser: changed
3399     attribute "type" to "role", added "position".
3400   - Added support for generic bibliographic fields.
3402 * spec/notes.txt: Continual updates.  Added "Project Policies".
3404 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
3405   section.
3407 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
3409 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
3410   mailing list discussions.
3412 * spec/pep-0287.txt:
3414   - Renamed to "reStructuredText Docstring Format".
3415   - Minor edits.
3416   - Reworked Q&A as an enumerated list.
3417   - Converted to reStructuredText format.
3419 * spec/pysource.dtd:
3421   - Reworked structural elements, incorporating ideas from Tony Ibbs.
3423 * spec/pysource.txt: Removed from project.  Moved much of its contents
3424   to pep-0258.txt.
3426 * spec/rst/alternatives.txt:
3428   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
3429   - Added "Inline External Targets" section.
3431 * spec/rst/directives.txt:
3433   - Added "backlinks" attribute to "contents" directive.
3435 * spec/rst/problems.txt:
3437   - Updated the Enumerated List Markup discussion.
3438   - Added new alternative table markup syntaxes.
3440 * spec/rst/reStructuredText.txt:
3442   - Clarified field list usage.
3443   - Updated enumerated list description.
3444   - Clarified purpose of directives.
3445   - Added ``-/:`` characters to inline markup's start string prefix,
3446     ``/`` to end string suffix.
3447   - Updated "Authors" bibliographic field behavior.
3448   - Changed "inline hyperlink targets" to "inline internal targets".
3449   - Added "simple table" syntax to supplement the existing but
3450     newly-renamed "grid tables".
3451   - Added cautions for anonymous hyperlink use.
3452   - Added "Dedication" and generic bibliographic fields.
3454 * test: Made test modules standalone (subdirectories became packages).
3456 * test/DocutilsTestSupport.py:
3458   - Added support for PEP extensions to reStructuredText.
3459   - Added support for simple tables.
3460   - Refactored naming.
3462 * test/package_unittest.py: Renamed from UnitTestFolder.py.
3464   - Now supports true packages containing test modules
3465     (``__init__.py`` files required); fixes duplicate module name bug.
3467 * test/test_pep/: Subpackage added to project; PEP testing.
3469 * test/test_rst/test_SimpleTableParser.py: Added to project.
3471 * tools:
3473   - Updated html.py and publish.py front-end tools to use the new
3474     command-line processing facilities of ``docutils.frontend``
3475     (exposed in ``docutils.core.Publisher``), reducing each to just a
3476     few lines of code.
3477   - Added ``locale.setlocale()`` calls to front-end tools.
3479 * tools/buildhtml.py: Added to project; batch-generates .html from all
3480   the .txt files in directories and subdirectories.
3482 * tools/default.css:
3484   - Added support for ``header`` and ``footer`` elements.
3485   - Added styles for "Dedication" topics (biblio fields).
3487 * tools/docutils.conf: A configuration file; added to project.
3489 * tools/docutils-xml.py: Added to project.
3491 * tools/pep.py: Added to project; PEP to HTML front-end tool.
3493 * tools/pep-html-template: Added to project.
3495 * tools/pep2html.py: Added to project from Python (nondist/peps).
3496   Added support for Docutils (reStructuredText PEPs).
3498 * tools/quicktest.py:
3500   - Added the ``--attributes`` option, hacked a bit.
3501   - Added a second command-line argument (output file); cleaned up.
3503 * tools/stylesheets/: Subdirectory added to project.
3505 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
3508 Release 0.1 (2002-04-20)
3509 ========================
3511 This is the first release of Docutils, merged from the now inactive
3512 reStructuredText__ and `Docstring Processing System`__ projects.  For
3513 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
3514 `DPS HISTORY`__ files.
3516 __ http://structuredtext.sourceforge.net/
3517 __ http://docstring.sourceforge.net/
3518 __ http://structuredtext.sourceforge.net/HISTORY.html
3519 __ http://docstring.sourceforge.net/HISTORY.html
3521 General changes: renamed 'dps' package to 'docutils'; renamed
3522 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
3523 the test suites (reStructuredText's test/test_states renamed to
3524 test/test_rst); and all modifications required to make it all work.
3526 * docutils/parsers/rst/states.py:
3528   - Improved diagnostic system messages for missing blank lines.
3529   - Fixed substitution_reference bug.
3533    Local Variables:
3534    mode: indented-text
3535    indent-tabs-mode: nil
3536    sentence-end-double-space: t
3537    fill-column: 70
3538    End: