Remove flag to re.sub (not required and unsupported in 2.6).
[docutils.git] / docutils / HISTORY.txt
blobfa5b3020c24a927b8725fd787335208057c82859
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::
16 Changes Since 0.14
17 ==================
19 * General
21   - Dropped support for Python 2.4, 2.5, 3.1, and 3.2.
22   - Infrastructure automation.
24 * docs/ref/rst/restructuredtext.txt:
26   - Document rST syntax change: Tokens like ``:this:example:`` are now valid
27     field list names (instead of ordinary text).
29 * docutils/nodes.py
31   - `Text.rstrip` and `Text.lstrip` now handle `rawsource` attribute.
32   
33 * docutils/parsers/rst/states.py:
35   - Allow embedded colons in field list field names.
36   - Add "rawsource" attribute for text of inline elements and definition
37     list terms.
39 * docutils/parsers/rst/directives/html.py:
41   - Fix bug #281: Remove escaping backslashes in meta directive content.
43 * docutils/parsers/rst/directives/tables.py:
45   - Apply patch #121: Add "width" option for the table directives.
47 * docutils/transforms/frontmatter.py:
49   - Add field name as class argument to generic docinfo fields unconditionally.
50   - Ignore backslash-escaped separators when extracting authors from a
51     paragraph.
53 * docutils/transforms/references.py:
55   - Fix bug #331: fixed the "trim" options of the "unicode" directive.
57 * docutils/utils/smartquotes.py:
59   - Fix bug #332: use open quote after whitespace, ZWSP, and ZWNJ.
61 * docutils/writers/html5_polyglot/
63   - automatically add HTML5-compatible meta tags for docinfo items
64     "authors", "date", and "copyright".
66 * docutils/writers/latex2e/__init__.py:
68   - Fix bug #323: spurious ``\phantomsection`` and whitespace in
69     ``parts['title']``.
70   - Fix bug #324: Invalid LaTeX for table with empty multicolumn cell.
71   - Fixes to literal block handling.
73 * docutils/utils/__init__.py:
75   - Deprecate `unique_combinations` (obsoleted by `itertools.combinations`).
76   - New function `unescape_rawsource`.
79 Release 0.14 (2017-08-03)
80 =========================
82 * docs/ref/docutils.dtd:
84   - Enable validation of Docutils XML documents against the DTD:
86     Use attribute type NMTOKEN instead of REFID for the `refid` attribute
87     and NMTOKENS for `backrefs`: REFID refers to an ID type instance,
88     however, the `ids` attribute cannot use the ID type because `XML only
89     allows one ID per Element Type`__ and doesn't support a multiple-ID
90     "IDS" attribute type.
92   __ https://www.w3.org/TR/REC-xml/#sec-attribute-types
94 * docs/ref/rst/restructuredtext.txt:
96   - Added documentation for escaped whitespace in URI contexts.
97   - Clarify use of Unicode character categories.
99 * docutils/parsers/rst/states.py:
101   - Added functionality: escaped whitespace in URI contexts.
102   - Consistent handling of all whitespace characters in inline markup
103     recognition. Fixes [ 307 ] and [ 3402314 ] (now [ 173 ]).
105 * docutils/parsers/rst/directives/images.py:
107   - Added support for escaped whitespace in URI contexts.
109 * docutils/parsers/rst/directives/tables.py:
111   - Rework patch [ 120 ] (revert change to ``Table.get_column_widths()``
112     that led to problems in an application with a custom table directive).
114 * docutils/transforms/frontmatter.py:
116   - Fix [ 320 ] Russian docinfo fields not recognized.
118 * docutils/transforms/references.py:
120   - Don't add a second ID to problematic references.
122 * docutils/transforms/universal.py:
124   Fix SmartQuotes: warn only once if language is unsupported,
125   keep "rawsource" when "educating" quotes.
127 * docutils/utils/__init__.py:
129   - Added ``split_escaped_whitespace`` function, support for escaped
130     whitespace in URI contexts.
132 * docutils/utils/error_reporting.py:
134   - Fix [ 321 ] Import block might cause name error.
136 * docutils/utils/smartquotes.py:
138   - Update quote definitions for languages et, fi, fr, ro, sv, tr, uk.
139   - New quote definitions for hr, hsb, hu, lv, sh, sl, sr.
140   - Fix [ 313 ] Differentiate apostrophe from closing single quote
141     (if possible).
142   - Fix [ 317 ] Extra space inserted with French smartquotes.
143   - Add command line interface for stand-alone use (requires 2.7).
145 * docutils/writers/_html_base.py:
147   - Provide default title in metadata (required by HTML5).
148   - Fix [ 312 ] HTML writer generates invalid HTML if the table has two tags.
149   - Fix [ 319 ] The MathJax CDN shut down on April 30, 2017. For security
150     reasons, we don't use a third party public installation as default but
151     warn if math-output_ is set to MathJax without specifying a URL.
153 * docutils/writers/html4css1/__init__.py:
155   - Apply [ 125 ] HTML writer: respect automatic table column sizing.
157 * docutils/writers/latex2e/__init__.py:
159   - Handle class arguments for block-level elements by wrapping them
160     in a "DUclass" environment. This replaces the special handling for
161     "epigraph" and "topic" elements.
163 * docutils/writers/manpage.py:
165   - Apply [ 141 ] Handling inline in manpage writer.
167 * docutils/writers/odf_odt/__init__.py:
169   - Command setting ``language`` now sets the default language
170     of the generated ODF document.
171   - The use of image directive options :width: (%), :scale:, etc now
172     set the width/height/size of images in the generated ODF
173     documents.
174   - The heading/title of admonitions now reflects the language
175     specified by the ``language`` setting.
176   - Fixed [ 306 ] only first of multiple "image" directives with the same URL
177     shown in output.
178   - Fixed [ 282 ] python3: AttributeError.
180 * tools/rst2html4.py: New front-end.
182 * tools/dev/generate_punctuation_chars.py: New skript
183   to test and update utils.punctuation_chars.
186 Release 0.13.1 (2016-12-09)
187 ===========================
189 * docutils/languages/fa.py
190   docutils/parsers/rst/languages/fa.py
191   docutils/languages/la.py
192   docutils/parsers/rst/languages/la.py:
194   - Apply [ 133 ] Persian mappings by Shahin Azad.
195   - Apply [ 135 ] Language modules for Latvian by Alexander Smishlajev
197 * docutils/nodes.py
199   - Fix [ 253 ] Attribute key without value not allowed in XML.
201 * docutils/parsers/
203   - Apply [ 103 ] Recognize inline markups without word boundaries.
204   - Enable escaping in embedded URIs and aliases (fixes [ 284 ]).
206 * docutils/parsers/rst/__init__.py
208   - Fix [ 233 ] Change the base URL for the :rfc: role.
210 * docutils/parsers/rst/directives/tables.py
212   - Apply [ 120 ] tables accept option widths: list of relative widths, 'auto'
213     or 'grid'.
215   - Implement feature request [ 48 ]
216     Add :align: option to the table directives.
217     Thanks to Takeshi KOMIYA for the patch.
219 * docutils/parsers/rst/roles.py
221   - Fix [ 295 ] Class argument for custom role inheriting from math.
223 * docutils/parsers/rst/tableparser.py
225   - Really fix [ 159 ] Spurious table column alignment errors.
227 * docutils/transforms/frontmatter.py
229   - Add name of generic bibliographic fields as a "classes" attribute value
230     (after conversion to a valid identifier form).
232 * docutils/utils/error_reporting.py
234   - Fix [ 130 ] support streams expectiong byte-strings in ErrorOutput.
236 * docutils/utils/math/math2html.py
238   - Add ``\colon`` macro, fix spacing around colons. Fixes [ 246 ].
239   - New upstream version (additional macros, piecewise integrals and sums).
241 * docutils/writers/_html_base.py
243   - New auxiliary module for definitions common to all HTML writers.
245 * docutils/writers/html5_polyglot/
247   - New HTML writer generating clean, polyglot_ markup conforming to
248     `HTML 5`_.
250     The CSS stylesheets ``minimal.css`` and ``plain.css`` contain required
251     and recommended layout rules.
253 * docutils/writers/html4css1/__init__.py
255   - Add "docutils" to class values for "container" object to address [ 267 ].
256   - Apply patch [ 119 ] by Anatoly Techtonik: use absolute paths for
257     ``default_stylesheet_path`` and ``default_template_path``.
258   - Fix [ 266 ] creating labels/class values in description list items.
259   - Do not use <sup> and <sub> tags inside <pre> (parsed-literal blocks).
260   - Fix footnotes with content that does not start with a paragraph.
261   - Use https in default MathJax URL (report Alan G Isaac).
262   - Outsourcing of common code to _html_base.py.
264 * docutils/writers/latex2e/__init__.py
266   - Fix [ 262 ] Use ``\linewidth`` instead of ``\textwidth`` for figures,
267     admonitions and docinfo.
269   - Use absolute path for ``default_template_path``.
271   - Removed deprecated options ``--use-latex-footnotes`` and
272     ``--figure-footnotes``.
274   - Cleaner LaTeX code for enumerations and literal blocks.
276   - Use "hyperref" package together with "bookmark" (improved hyperlinking
277     by the same author).
279   - Fix [ 286 ] Empty column title cause invalid latex file.
281   - Fix [ 224 ] Fix rowspan support for tables.
283   - Let LaTeX determine the column widths in tables with "colwidths-auto".
284     Not suited for multi-paragraph cells!
286 * docutils/writers/odf_odt/__init__.py
288   - remove decode.encode of filename stored in zip.
290 * docutils/writers/xetex/__init__.py
292   - LuaLaTex compatibility: do not load "xunicode".
294 * tools/
296   - New front-end ``rst2html5.py``.
298 * tox.ini
300   - Test py26, py27, py33 and py34.
302     To use, install the ``tox`` package via pip or easy_install and use
303     tox from the project root directory.
305 .. _polyglot: http://www.w3.org/TR/html-polyglot/
306 .. _HTML 5: http://www.w3.org/TR/html5/
307 .. _XHTML 1.0: http://www.w3.org/TR/xhtml1/
310 Release 0.12 (2014-07-06)
311 =========================
313 * docs/ref/rst/directives.txt
315   - Update "math" and "csv-table" descriptions.
317 * docutils/parsers/rst/directives/images.py
319   - Fix [ 258 ] figwidth="image" generates unitless width value.
321 * docutils/parsers/rst/states.py
323   - Improve error report when a non-ASCII character is specified as
324     delimiter, quote or escape character under Python 2.
325     Fixes [ 249 ] and [ 250 ].
327 * docutils/writers/html4css1/__init__.py
329   - Don't add newline after inline math.
330     Thanks to Yury G. Kudryashov for the patch.
332 * docutils/writers/latex2e/__init__.py
334   - Fix [ 239 ] Latex writer glues paragraphs with figure floats.
335   - Apply [ 116 ] by Kirill Smelkov. Don't hardcode \large for subtitle.
337 * docutils/writers/odf_odt/__init__.py
339   - Apply patch by Jakub Wilk to fix bug [ 100 ].
341 * test/test_error_reporting.py
343   - Fix [ 223 ] by removing redundant tests we do not have control over.
345 * test/test_nodes.py
347   - Apply [ 115 ] respect fixed 2to3 string literal conversion behavior.
349 Release 0.11 (2013-07-22)
350 =========================
352 * General
354   - Apply [ 2714873 ] Fix for the overwritting of document attributes.
355   - Support embedded aliases within hyperlink references.
356   - Fix [ 228 ] try local import of docutils components (reader, writer, parser,
357     language module) before global search.
359 * docutils/nodes.py
361   - Fix [ 3601607 ] node.__repr__() must return `str` instance.
363 * docutils/parsers/rst/directives/__init__.py
365   - Fix [ 3606028 ] ``assert`` is skipped with ``python -O``.
367 * docutils/parsers/rst/directives/images.py
369   - Apply [ 3599485 ] node source/line information for sphinx translation.
371 * docutils/parsers/rst/directives/tables.py
373   - Fix [ 210 ] Python 3.3 checks CVS syntax only if "strict" is True.
375 * docutils/parsers/rst/states.py
377   - Fix [ 157 ] Line block parsing doesn't like system message.
378   - Always import our local copy of roman.py (report Larry Hastings).
380 * docutils/transforms/references.py
382   - Fix [ 3607029 ] traceback with embedded alias pointing to missing target.
384 * docutils/utils/__init__.py
386   - Fix [ 3596884 ] exception importing ``docutils.io``.
388 * docutils/writers/html4css1/__init__.py
390   - Fix [ 3600051 ] for tables in a list, table cells are not compacted.
391   - New setting `stylesheet_dirs`: Comma-separated list of directories
392     where stylesheets are found. Used by `stylesheet_path` when expanding
393     relative path arguments.
394   - New default for math-output_: ``HTML math.css``.
395   - Avoid repeated class declarations in html4css1 writer
396     (modified version of patch [ 104 ]).
398 .. _math-output: docs/user/config.html#math-output
400 * docutils/writers/latex2e/__init__.py
402   - Drop the simple algorithm replacing straight double quotes with
403     English typographic ones.
404     Activate the SmartQuotes_ transform if you want this feature.
405   - Fix literal use of babel shorthands (straight quote, tilde, ...).
406   - Fix [ 3603246 ] Bug in option "--graphicx-option=auto".
407   - New setting `stylesheet_dirs`.
409 .. _SmartQuotes: docs/user/config.html#smart-quotes
411 * docutils/writers/manpage.py
413   - Fix [3607063] handle lines starting with a period.
414   - Fix option separating comma was bold (thanks to Bill Morris).
416 Release 0.10 (2012-12-16)
417 =========================
419 * General
421   - Dropped support for Python 2.3.
422   - ``docutils/math``, ``docutils/error_reporting.py``, and
423     ``docutils/urischemes.py`` moved to the utils package.
424   - Fix [3541369] Relative __import__ also with Python 3.3.
425   - Fix [3559988] and [3560841] __import__ local writer, reader, languages
426     and parsers for Python 2.7 up.
427   - Fix import of PIL.Image.
428   - Change default of "syntax highlight" option to "long",
429     basic syntax highlight styles for LaTeX and HTML.
431 * docutils/io.py
433   - FileInput/FileOutput: no system-exit on IOError.  The `handle_io_errors`
434     option is ignored and will be removed in a future release.
435   - Fix Py3k error writing to stdout with encoding differing from default.
436   - Fix opening binary files under Py3k (thanks to Dominic Fitzpatrick).
438 * docutils/parsers/rst/directives/misc.py
440   - Fix [ 3546533 ] Unicode error with `date` directive.
442 * docutils/transforms/universal.py
444   - SmartQuotes transform for typographic quotes and dashes.
446 * docutils/utils/__init__.py
448   - normalize_language_tag() now returns `BCP 47`_ conformant tags
449     with subtags separated by ``-``.
451 * docutils/writers/html4css1/__init__.py
453   - Use ``<code>`` tag for inline "code",
454     do not drop nested inline nodes (syntax highlight tokens).
455   - Customizable MathJax URL (based on patch by Dmitry Shachnev).
456   - No line break after opening inline math tag.
458 * docutils/writers/manpage.py
460   - Apply [ 3527401 ] addmonition's don't preserve indentation
461   - Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.
463 * docutils/writers/xetex/__init__.py
465   - Apply [ 3555160 ] ensure order of "otherlanguages".
466   - Fix section numbering by LaTeX.
468 * docutils/writers/s5_html/__init__.py
470   - Fix [ 3556388 ] Mathjax does not work with rst2s5.
472 * docutils/writers/s5_html/docutils_xml.py
474   - Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.
475   - Fix/improve output with ``--indent`` option.
477 * setup.py
479   - Tag ``math.css`` stylesheet as data file (patch by Dmitry Shachnev).
481 * tools/test/test_buildhtml.py
483   - Fix [ 3521167 ] allow running in any directory.
484   - Fix [ 3521168 ] allow running with Python 3.
487 Release 0.9.1 (2012-06-17)
488 ==========================
490 * setup.py
492   - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
493     installed in the PYTHONPATH. Converted tests are now
494     stored in ``test3/``, tools no longer need conversion.
496     If you installed one of Docutils versions 0.7 ... 0.9 with
497     ``setup.py install`` under Python 3, remove the spurious
498     ``test/`` and ``tools/`` directories in the site library root.
500 * test/
502   - Make tests independent from the location of the ``test/`` directory.
503   - Use converted sources (from the ``build/`` directory) for tests under
504     Python 3.
506 * tools/
508   - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
510 * docutils/io.py
512   - Fix writing binary data to sys.stdout under Python 3 (allows
513     ``rst2odt.py`` to be used with output redirection).
515 * docutils/parsers/rst/directives/misc.py
517   - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
518     ``locale == C`` and 8-bit char in path argument of `include` directive.
520 * test/alltests.py
522   - class `Tee`: catch UnicodeError when writing to "ascii" stream or
523     file under Python 3.
525 Release 0.9 (2012-05-02)
526 ========================
528 * General:
530   - New reStructuredText "code" role and directive and "code" option
531     of the "include" directive with syntax highlighting by Pygments_.
532   - Fix parse_option_marker for option arguments containing ``=``.
533   - Fix [ 2993756 ]: import Python Imaging Library's Image module
534     via ``import PIL`` as starting with PIL 1.2,
535     "PIL lives in the PIL namespace only" (announcement__).
537 .. _Pygments: http://pygments.org/
538 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
540 * setup.py
542   - Fix [ 2971827 ] and [ 3442827 ]
543     extras/roman.py moved to docutils/utils/roman.py
545 * docutils/frontend.py
547   - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
549 * docutils/io.py
551   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
552   - `mode` argument for FileOutput avoids code replication in
553     BinaryFileOutput.
554   - New exceptions InputError and OutputError for IO errors in
555     FileInput/FileOutput.
557 * docutils/core.py:
559   - No "hard" system exit on file IO errors: catch and report them in
560     `Publisher.reportException` instead. Allows handling by a calling
561     application if the configuration setting `traceback` is True.
563 * docutils/utils.py -> docutils/utils/__init__.py
565   - docutils.utils is now a package (providing a place for sub-modules)
567   .. note:: docutils/math, docutils/error_reporting.py, and
568      docutils/urischemes.py will move to the utils package in the next
569      release, too. See RELEASE-NOTES__
571      __ RELEASE-NOTES.html
573   - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
574     errors recording non-ASCII filenames (fixes [ 3434355 ]).
576   - Fix relative_path() with source=None and `unicode` target.
578 * docutils/parsers/rst/states.py
580   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
581     characters and "international" quotes around inline markup.
582   - Use `field_marker` pattern to look for start of a
583     directive option block (fixes [ 3484857 ]).
585 * docutils/parsers/rst/tableparser.py
587   - Fix [ 2926161 ] for simple tables.
588     (Combining chars in grid tables still contribute to cell width.)
590 * docutils/writers/latex2e/__init__.py
592   - Support the `abbreviation` and `acronym` standard roles.
593   - Record only files required to generate the LaTeX source as dependencies.
594   - Fix handling of missing stylesheets.
595   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
596     when suppressing LaTeX section numbering.
597   - Use ``\DUtitle`` for unsupported section levels
598   - Apply [ 3512791 ] do not compare string literals with "is"
600 * docutils/writers/xetex/__init__.py
602   - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
604 * docutils/writers/html4css1/__init__.py
606   - Change default for `math-output` setting to MathJax.
607   - Fix handling of missing stylesheets.
609 * docutils/writers/docutils_xml.py
611   - Use the visitor pattern with default_visit()/default_depart() methods
612     instead of minidom to facilitate special handling of selected nodes.
613   - Support raw XML (inserted as-is inside a <raw></raw> node).
615 * docutils/writers/manpage.py
617   - Do not emit comment line with trailing blank. Problematic for VCS.
619 Release 0.8.1 (2011-08-30)
620 ==========================
622 * General:
624   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
625     and [ 3395920 ] (correct copyright info for rst.el).
627 * test/
629   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
631 * docutils/writers/latex2e/__init__.py
633   - Clean up Babel language setting. Restores Sphinx compatibility.
635 Release 0.8 (2011-07-07)
636 ========================
638 * General:
640   - Handle language codes according to `BCP 47`_.
641   - If the specified language is not supported by Docutils,
642     warn and fall back to English.
643   - Math support: reStructuredText "math" role and directive,
644     ``math`` and ``math_block`` doctree elements.
645   - Decode command line arguments with the locale's preferred encoding
646     (to allow, e.g., ``--title=Dornröschen``).
647   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
648   - New sub-module `error_reporting`: handle encoding/decoding errors
649     when reporting exceptions.
650   - Some additions to the Docutils core are released under the 2-Clause BSD
651     license, see COPYING_ for details.
653   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
654   .. _COPYING: COPYING.html
656 * reStructuredText:
658   - Most directives now support a "name" option that attaches a
659     reference name.
661   - Directive content may start on the first line also when the directive
662     type accepts options.
664 * docs/dev/policies.txt:
666   - Recommend the 2-Clause BSD license
667     (http://www.spdx.org/licenses/BSD-2-Clause)
668     for code that is kept under the author's copyright.
670 * tools/buildhtml.py:
672   - Fix ``--local`` switch.
674 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
676 * docutils/writers/html4css1/__init__.py
678   - Set "lang" argument for objects with class argument
679     "language-<language tag>".
680   - New setting "math-output" with support for HTML, MathML, and LaTeX.
682 * docutils/writers/latex2e/__init__.py
684   - Fix [ 3043986 ] AttributeError using :local: with table of content.
685   - Place title data in the document preamble.
686   - Load `babel` package only if required.
687   - Update list of supported languages.
688   - New config setting "hyperref-options".
689     No hard-coded "unicode" hyperref option (clash with xetex).
690   - Set language for custom roles, paragraphs, block-quotes, and
691     line-quotes with class argument "language-<language tag>".
692   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
693   - Convert image URI to a local file path.
694   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
695     has more than one paragraph (Wolfgang Scherer).
696   - \leavevmode before longtable only when needed (prevents spurious vspace)
697   - do not advance table counter for tables without caption
699 * docutils/writers/xetex/__init__.py
701   - New writer generating LaTeX code for compiling with ``xelatex``.
703     A separate writer (inheriting from latex2e) instead of a ``--xetex``
704     option allows separate config options for XeTeX vs. LaTeX2e.
706 * docutils/writers/manpage.py
708   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
709   - Fix: vertical space cleaning for option group ``.``.
711 * tools/editors/emacs/rst.el:
713   - Fix [ 3001100 ] does not handle spaces in filenames
714     (thanks to Jakub Wilk)
716 * docutils/utils.py:
718   - strip whitespace from stylesheet arguments
719   - exclude combining chars from column_width()
720     (partial fix for [ 2926161 ])
722 * docutils/parsers/rst/directives/misc.py:
724   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
725     nested_parse
727 * docutils/io.py:
729   - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
730     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
732 Release 0.7 (2010-07-07)
733 ========================
735 * General:
737   - Fix [ 2881769 ] setup configuration.
738   - Fix [ 2788716 ] reporting problems in included files.
740 * docutils/io.py
742   - FileInput opens files as text files with universal newline support
743     (mode "rU", configurable with the new optional argument "mode").
745 * docutils/nodes.py
747   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
749 * docutils/utils.py
751   - Fix [ 2923723 ] let decode_path() tolerate path == None
753 * docutils/writers/html4css1/__init__.py
755   - Support SVG and SWF images (thanks to Stefan Rank).
756   - Generate valid XHTML for centered images with targets.
757     Use CSS classes instead of "align" tags for image alignment.
759 * docutils/writers/latex2e/__init__.py
761   - Use `transforms.writer_aux.Admonitions` to "normalize" special
762     admonitions.
763   - Use the ``\url`` command for URLs (breaks long URLs instead of
764     writing into the margin).
765   - Preserve runs of spaces in `inline literals`__.
766   - Deprecate ``figure_footnotes`` setting.
767   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
768   - New ``latex_preamble`` setting.
769   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
770   - Fix hyperlink targets (labels) for images, figures, and tables.
771   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
772   - Apply [ 2961991 ] Call hyperref with unicode option.
773   - Drop the special `output_encoding`__ default ("latin-1").
774     The Docutils wide default (usually "UTF-8") is used instead.
775   - Render inline markup in document title and subtitle.
776   - Fix numbering depth with LaTeX section numbering.
777   - Update Unicode -> LaTeX translations.
778   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
780 __ docs/ref/restructuredtext.html#inline-literals
781 __ docs/user/config.html#docutils-footnotes
782 __ docs/user/config.html#output_encoding
784 * docutils/writers/manpage.py
786   - Fix: supported attribute (thanks to peter2108).
787   - Remove trailing blanks in code (keep in sync with mercurial version).
788   - Titles level 1, that is ``.SH``, always uppercase.
789   - Apply patch from mg: literal text should be bold in man-pages.
791 * docutils/nodes.py
793   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
794     turkish locale.
796 * setup.py:
798   - Python 3 support: copy test/ and tools/ to the build-dir
799     and convert Python sources with 2to3.
802 Release 0.6 (2009-10-11)
803 ========================
805 * General:
807   - Docutils is now compatible with Python versions from 2.3 up to 2.6
808     and convertible to 3.1 code.
810     + Node.__nonzero__ returns True instead of 1.
811     + use os.walk instead os.path.walk.
812     + minimize "types" module where possible.
813     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
814     + Text nodes now subclass unicode rather than UserString
815       (which is gone in python 3.0).
816     + 3.0 compatibility module docutils._compat
818     + Drop 2.2 compatibility workarounds.
819     + Drop extras/optparse.py and extras/textwrap.py
820       (stdlib modules since 2.3).
822   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
823   - Unix man page export: manpage writer moved from sandbox to Doctutils
824     core.
826   - Apply [ 1719345 ] Galician translation
827   - Apply [ 1905741 ] Polish translation
828   - Apply [ 1878977 ] make_id(): deaccent characters.
829   - Apply [ 2029251 ] return nonzero when tests fail.
830   - Fix [ 1692788 ] allow UTF-8 in style sheets.
831   - Fix [ 2781629 ] support non-ASCII chars in file names.
832   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
833   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
834   - Fix [ 2821266 ] --strict option works now like --halt=info.
835   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
836   - Fix [ 1627229 ] hyperlink references in substitutions.
838   - The "newlatex" writer is orphaned.
840 * reStructuredText:
842   - Documented Unicode characters allowed as inline markup openers,
843     closers, and delimiters.
844   - Allow units for all length specifications.
845   - Allow percent sign in "scale" argument of "figure" and "image" directives.
846   - Bugfix: The "figalign" argument of a figure now works as intended
847     (aligning the figure, not its contents).
848   - Align images with class "align-[right|center|left]"
849     (allows setting the alignment of an image in a figure).
851 * docutils/nodes.py:
853   - Added ``Element.__contains__`` method, for the in-operator.
855 * docutils/parsers/rst/states.py:
857   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
858   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
859     " " (non-breaking space), and "¡ ¿" openers.
861 * docutils/parsers/directives/misc.py:
863   - Added ``start-line`` and ``end-line`` options to "include"
864     directive to select a range of lines.
865   - Hard tabs in literal inclusions are replaced by spaces. This is
866     configurable via the new ``tab-width`` option of the "include" directive
867     (a negative tab-width prevents tab expansion).
869 * docutils/utils.py:
871   - Add ``get_stylesheet_list`` function.
872   - Apply [ 2834836 ] print info at halt
874 * docutils/transforms/universal.py:
876   - Raise default priority of StripClasses to exclude stripped classes from
877     the ToC.
879 * docutils/writers/html4css1/__init__.py:
881   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
882     separated list of stylesheets.
883   - Address [ 1938891 ] Inline literal text creates "pre" span only when
884     needed to prevent inter-word line wraps.
885   - Use `translate` method instead of repeated `replace` calls.
886   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
887     classes to allow CSS styling that does not interfere with other
888     table-using constructs (field lists, citations, ...).
890 * docutils/writers/newlatex2e/__init__.py:
892   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
894 * docutils/writers/latex2e/__init__.py (see also
895   `<docs/user/docutils-05-compat.sty.html>`__) :
897   - Add ``--embed-stylesheet`` option.
898   - Apply [ 1474017 ] image vertical alignment is reversed.
899   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
900   - Change: has_key for dictionaries (not Nodes) to in-operator.
901   - Merge adjacent citations into one latex cite command.
902   - Failsave implementation of custom roles. LaTeX compilation now ignores
903     unknown classes instead of aborting with an error.
904   - Support custom roles based on standard roles.
905   - LaTeX packages can be used as ``--stylesheet`` arguments without
906     restriction. (A style sheet is now referenced with the ``\usepackage``
907     command, if it ends with ``.sty`` or has no extension.)
908   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
909   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
910   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
911     2005-02-04 as a configurable length unit).
912   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
913     if font-encoding is set to ''. LaTeX defaults to OT1 then.
914   - Set sub- and superscript role argument in text mode not as math.
915     Use a custom role based on sub-/superscript if you want italic shape.
916   - Shorter preamble and less dependencies: Load packages and define macros
917     only if required in the document.
918   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
919   - New custom environments and commands with optional "classes" argument.
920   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
921   - Better conformance to Docutils specifications with ``--use-latex-toc``.
922     Support for LaTeX generated ToC also with unnumbered sections.
923   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
924     section numbering by LaTeX.
925   - Use default font in admonitions and sidebar.
926   - Align of image in a figure defaults to 'center'.
927   - Bugfix: Newlines around targets and references prevent run-together
928     paragraphs.
929   - Fix internal hyperlinks.
930   - Use class defaults for page margins ('typearea' now optional).
931   - Float placement made configurable, default changed to "here definitely".
932   - Typeset generic topic as "quote block with title".
933   - Use template (file and configuration option).
934   - In the default template, load cmap.sty (fix text extraction in PDF) and
935     fixltx2e.sty (LaTeX patches, \textsubscript).
936   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
937   - Use `translate` instead of repeated `replace` calls for text encoding.
938   - Hyperlinked footnotes and support for symbol footnotes and
939     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
940   - Complete pairs of binary options
941     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
942     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
943   - New defaults:
944     - font-encoding: "T1" (formerly implicitely set by 'ae').
945     - use-latex-toc: true (ToC with page numbers).
946     - use-latex-footnotes: true (no mixup with figures).
948 * docutils/writers/manpage.py
950   - Do not print version at document end, this is done by the viewer.
951   - Do not print date at document end, this is done by the viewer.
952   - Fix storage of docinfo fields for none standard fields.
954 * docutils/tools/rst2man.py
956 Release 0.5 (2008-06-25)
957 ========================
959 * docutils/languages/he.py: Added to project: Hebrew mappings by
960   Meir Kriheli.
962 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
963   mappings by Meir Kriheli.
965 * docutils/frontend.py:
967   - Configuration files are now assumed and required to be
968     UTF-8-encoded.
969   - Paths of applied configuration files are now recorded in the
970     runtime setting ``_config_files`` (accessible via
971     ``--dump-settings``).
972   - Added ``--strip-elements-with-class`` and ``--strip-class``
973     options (``strip_elements_with_classes`` and ``strip_classes``
974     settings).
976 * docutils/io.py:
978   - Added code to determine the input encoding from data: encoding
979     declarations or the presence of byte order marks (UTF-8 & UTF-16).
980   - Added support for IronPython 1.0.
982 * docutils/nodes.py:
984   - Added ``document.__getstate__`` method, for pickling.
986 * docutils/parsers/rst/states.py:
988   - Allow ``+`` and ``:`` in reference names.
989   - Unquoted targets beginning with an underscore (``.. __target:
990     URI``) are no longer accepted.
991   - Added support for multiple attributions in a physical block quote
992     (indented text block), dividing it into multiple logical block
993     quotes.
994   - Added support for unicode bullets in bullet lists: "•", "‣", and
995     "⁃".
996   - Added support for new object-oriented directive interface,
997     retaining compatibility to the old functional interface.
998   - Added support for throwing ``DirectiveError``'s from within
999     directive code.
1001 * docutils/parsers/rst/__init__.py:
1003   - Added ``Directive`` base class.
1004   - Added ``DirectiveError`` base class.
1005   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
1006     definitions.
1008 * docutils/parsers/directives/:
1010   - Refactored all reStructuredText directives to use the new
1011     object-oriented directive interface.  Errors are now (mostly)
1012     thrown using the new ``DirectiveError`` class.
1014 * docutils/parsers/directives/misc.py:
1016   - Added ``start-after`` and ``end-before`` options to ``include``
1017     directive; thanks to Stefan Rank.
1019 * docutils/transforms/universal.py:
1021   - Added ``StripClassesAndElements`` transform to remove from the
1022     document tree all elements with classes in
1023     ``settings.strip_elements_with_classes`` and all "classes"
1024     attribute values in ``self.document.settings.strip_classes``.
1026 * docutils/transforms/writer_aux.py:
1028   - Added ``Admonitions`` transform to transform specific admonitions
1029     (like ``note``, ``warning``, etc.) into generic admonitions with a
1030     localized title.
1032 * docutils/writers/html4css1/__init__.py:
1034   - Moved template functionality from the PEP/HTML writer here.
1035   - Expanded the fragments available in the ``parts`` attribute.
1036   - Moved ``id`` attributes from titles to surrounding ``div``
1037     elements.
1038   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
1039     universally supported now).
1040   - ``template.txt`` is now opened in text mode instead of binary mode
1041     (to ensure Windows compatibility).
1042   - ``a`` elements now have an "internal" or "external" class,
1043     depending on reference type.
1045 * docutils/writers/html4css1/template.txt: Added to project.
1047 * docutils/writers/pep_html/:
1049   - Moved template functionality to the HTML writer.
1051 * docutils/writers/s5_html/__init__.py:
1053   - Added ``view_mode`` & ``hidden_controls`` settings
1054     (``--view-mode`` & ``--hidden-controls/--visible-controls``
1055     options).
1057 * docutils/writers/latex2e/__init__.py:
1059   - Add ``--literal-block-env``
1060   - Fix: escaping ``%`` in href urls.
1061   - Move usepackage hyperref after stylesheet inclusion.
1062   - Fix: scrartcl does not have chapter but scrreprt.
1063   - Add newline after ``\end{verbatim}``.
1064   - Merge smaller differences from latex2e_adaptive_preamble.
1065   - Add ``use-part-section``.
1066   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
1067   - Using leavemode option_list no longer needs to check if parent
1068     is a definition list.
1069   - Append ``\leavemode`` to definition list terms.
1070   - No longer write visit\_/depart_definition_list_item comments to
1071     output.
1072   - Table column width with 3 decimal places.
1073   - Add table stubs support (boldfont).
1074   - Add assemble_parts to writer.
1075   - Add simply support for nested tables.
1076   - Fix verbatim in tables if use-verbatim-when-possible.
1077   - Use section commands down to subparagraph.
1078   - Put ensuremath around some latin1 chars.
1079   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
1080   - New option ``--use-bibtex=style,db1,db2``.
1081   - New option ``--reference-label`` to allow usage of LaTeX ref for
1082     labels in section references.
1083   - Add a label after every section to support sectionnumbers as reference
1084     labels.
1085   - Fix: bug# 1605376 rst2latex: bad options group list
1086   - Remove inactive code for use_optionlist_for_option_list.
1087   - Remove latex comments from option_list output.
1088   - Fix: bug# 1612270 double qoutes in italian literal.
1089   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
1090   - Add option --use-latex-abstract.
1091   - Image width unit ``px`` is translated to ``pt``.
1092   - Add image height support.
1093   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
1094     bug #1457388
1095   - Fix: Do not escape underscores in citation reference labels if
1096     use-latex-citations is set.
1097   - Use centering instead of center for figure contents, to avoid vertical
1098     space.
1099   - Recognize table class: borderless, nolines, booktabs, standard.
1100   - Fix: Renaming contents section does not work with latex writer; SF
1101     bug #1487405.
1102   - Applied patch for custom roles with classes from Edward Loper.
1103   - Fixed bug that caused crashes with more than 256 lists.
1105 * docutils/writers/pep_html/__init__.py:
1107   - Changed to support new python.org website structure and
1108     pep2pyramid.py.
1110 * docs/howto/security.txt: "Deploying Docutils Securely", added to
1111   project.
1113 * tools/buildhtml.py:
1115   -- Added ``ignore`` setting to exclude a list of shell patterns
1116      (default: ``.svn:CVS``).
1118 * tools/editors/emacs/rst.el:
1120   - Changed license to "GPL".
1121   - Added ``rst-straighten-decorations`` function.
1122   - The ``compile`` module is now always loaded.
1123   - Added ``rst-toggle-line-block`` function.
1124   - Headings consisting only of non-ASCII characters are now
1125     recognized by ``rst-toc`` and ``rst-adjust``.
1126   - Added font-lock support for multi-line comments where the first
1127     comment line is empty.
1128   - Added ``(require 'font-lock)``.
1130 * setup.py:
1132   - Provide descriptive error message if distutils is missing.
1135 Release 0.4 (2006-01-09)
1136 ========================
1138 * General:
1140   - Updated the project policies for trunk/branch development &
1141     version numbering.
1143 * docutils/__init__.py:
1145   - Added ``__version_details__`` attribute to describe code source
1146     (repository/snapshot/release).
1147   - Replaced ``default_transforms`` attribute of TransformSpec with
1148     ``get_transforms()`` method.
1150 * docutils/core.py:
1152   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
1153     functions, for document tree extraction and reprocessing.
1155 * docutils/io.py:
1157   - Added ``DocTreeInput`` class, for reprocessing existing documents.
1158   - Added support for non-Unicode (e.g. binary) writer output.
1160 * docutils/nodes.py:
1162   - Re-introduced ``Targetable.indirect_reference_name``, for
1163     MoinMoin/reST compatibility (removed in r3124/r3129).
1164   - Added ``serial_escape`` function; escapes string values that are
1165     elements of a list, for serialization.  Modified Docutils-XML
1166     writing (``Element._dom_node``) and pseudo-XML writing
1167     (``Element.starttag``) to use ``serial_escape``.
1168   - Added ``Node.deepcopy()`` method.
1169   - Removed the internal lists ``document.substitution_refs``,
1170     ``document.anonymous_refs``, and ``document.anonymous_targets``.
1171   - Added a "container" element.
1172   - Fixed bug where values of list-valued attributes of elements
1173     originating from custom interpreted text roles (i.e., with custom
1174     classes) were being shared between element instances.  Reported by
1175     Shmuel Zeigerman.
1177 * docutils/statemachine.py:
1179   - Added trailing whitespace stripping to ``string2lines()``.
1180   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
1181     Asian double-width character support.
1183 * docutils/utils.py:
1185   - Added ``east_asian_column_width()`` for double-width character
1186     support.
1188 * docutils/languages/ja.py: Added to project: Japanese mappings by
1189   Hisashi Morita.
1191 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
1192   mappings by Panjunyong.
1194 * docutils/parsers/null.py: Added to project; a do-nothing parser.
1196 * docutils/parsers/rst/__init__.py:
1198   - Added validator to tab_width setting, with test.  Closes SF bug
1199     #1212515, report from Wu Wei.
1201 * docutils/parsers/rst/states.py:
1203   - Fixed bug with escaped colons indicating a literal block.
1204   - Fixed bug with enumerated lists (SF#1254145).
1205   - Backslash-escaped colons inside of field names are now allowed.
1206   - Targets (implicit and explicit), anonymous hyperlink references
1207     and auto-numbered footnote references inside of substitution
1208     definitions are now disallowed.
1209   - Fixed bug: list items with blank first lines.
1210   - Fixed bug: block quote attributions with indented second lines.
1211   - Added East Asian double-width character support (Python 2.4 only).
1213 * docutils/parsers/rst/tableparser.py:
1215   - Added East Asian double-width character support (Python 2.4 only).
1217 * docutils/parsers/rst/directives/body.py:
1219   - Added the "container" directive.
1221 * docutils/parsers/rst/directives/misc.py:
1223   - Added the "default-role", "title", and "date" directives.
1224   - Added standard data file syntax to the "include" directive.
1225   - Added support for "class" directive content.
1227 * docutils/parsers/rst/directives/images.py:
1229   - Added ``indirect_reference_name`` support for images with a target
1230     option.
1231   - Added support for image width and height units.
1232   - Fixed bug with image "target" options.
1234 * docutils/parsers/rst/directives/references.py:
1236   - Added "class" attribute to "target-notes" directive, for
1237     footnote_reference classes.
1239 * docutils/parsers/rst/include/: Directory added to project; contains
1240   standard data files for the "include" directive.  Initial contents:
1241   character entity substitution definition sets, and a set of
1242   definitions for S5/HTML presentations.
1244 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
1245   mappings by David Goodger.
1247 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
1248   Simplified Chinese mappings by Panjunyong.
1250 * docutils/readers/__init__.py:
1252   - Added universal.Decorations and universal.ExposeInternals
1253     transforms as default transforms for all readers.
1254   - Added ``ReReader`` base class for readers that reread an existing
1255     document tree.
1257 * docutils/readers/doctree.py: Added to project; a reader for existing
1258   document trees.
1260 * docutils/transforms/frontmatter.py:
1262   - Fixed the DocInfo transform to handle SVN-style expansion of the
1263     "Date" keyword.
1264   - In ``DocInfo.extract_authors``, treat the contents of "authors"
1265     fields uniformly.
1267 * docutils/transforms/misc.py:
1269   - Added misc.Transitions transform, extracted from
1270     universal.FinalChecks.
1272 * docutils/transforms/references.py:
1274   - Added references.DanglingReferences transform, extracted from
1275     universal.FinalChecks.
1276   - Fixed bug with doubly-indirect substitutions.
1277   - Added footnote_reference classes attribute to "TargetNotes".
1278   - Fixed bug with circular substitution definitions that put Docutils
1279     into an infinite loop.
1281 * docutils/transforms/universal.py:
1283   - Added universal.ExposeInternals transform, extracted from
1284     universal.FinalChecks.
1285   - Removed universal.FinalChecks transform (logic has been moved to
1286     several new transforms).
1287   - Fixed bug with the "expose_internals" setting and Text nodes
1288     (exposed by the "rawsource" internal attribute).
1289   - Added the universal.StripComments transform, implementation of the
1290     "strip_comments" setting.
1292 * docutils/transforms/writer_aux.py: Added to project; auxiliary
1293   transforms for writers.
1295   - Added ``Compound`` transform, which flattens compound paragraphs.
1297 * docutils/writers/: Several writer modules (html4css1.py) were
1298   converted into packages.  Support modules and data files have been
1299   moved into the packages.  The stylesheets for the HTML writers are
1300   now installed along with the code, the code knows where to find
1301   them, and the default is to use them (actually, to embed them).
1302   Some adjustments to configuration files may be necessary.  The
1303   easiest way to obtain the new default behavior is to remove all
1304   settings whose name includes "stylesheet".
1306 * docutils/writers/__init__.py:
1308   - Added universal.Messages and universal.FilterMessages transforms
1309     as default transforms for all writers.
1310   - Added ``UnfilteredWriter`` base class for writers that pass the
1311     document tree on unchanged.
1313 * docutils/writers/docutils_xml.py:
1315   - Made ``xmlcharrefreplace`` the default output encoding error
1316     handler.
1318 * docutils/writers/html4css1/:
1320   - Added support for image width and height units.
1321   - Made ``xmlcharrefreplace`` the default output encoding error
1322     handler.
1323   - Made ``--embed-stylesheet`` the default rather than
1324     ``--link-stylesheet``.
1325   - Moved "id" attribute from container (section etc.) to title's <a>
1326     tag, to be on the same tag as "name".
1327     (!!! To be reverted in Docutils 0.5.)
1328   - Added vertical space between fields of field lists.
1329   - Added ``--compact-field-lists`` option to remove vertical space in
1330     simple field lists.
1331   - Made cloaking of email addresses with ``--cloak-email-addresses``
1332     less obtrusive.
1333   - Fixed support for centered images.
1334   - Added support for class="compact" & class="open" lists.
1336 * docutils/writers/latex2e/:
1338   - Underscores in citekeys are no longer escaped.
1340 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
1341   mapping of Unicode characters to LaTeX equivalents.
1343 * docutils/writers/s5_html/: Package added to project; writer for
1344   S5/HTML slide shows.
1346 * docs/dev/distributing.txt: Added to project; guide for distributors
1347   (package maintainers).
1349 * docs/dev/hacking.txt: Added to project; guide for developers.
1351 * docs/ref/doctree.txt:
1353   - Updated for plural attributes "classes", "ids", "names",
1354     "dupnames".
1355   - Added the "container" element.
1357 * docs/ref/docutils.dtd:
1359   - Updated for plural attributes "classes", "ids", "names",
1360     "dupnames".
1362 * docs/user/emacs.txt: Added to project; a document about Emacs
1363   support for reStructuredText and Docutils.
1365 * docs/user/links.txt: Added to project; lists of Docutils-related
1366   links.
1368 * docs/user/mailing-lists.txt: Added to project; information about
1369   Docutils-related mailing lists and how to access them.
1371 * docs/user/slide-shows.txt: Added to project; example of and docs for
1372   the S5/HTML writer (``rst2s5.py`` front end).
1374 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
1375   Files", added to project.
1377 * test/coverage.sh: Added to project; test coverage script.
1379 * test/DocutilsTestSupport.py:
1381   - Added support for specifying runtime settings at the suite level.
1383 * test/test_functional.py:
1385   - Added the ``clear_output_directory`` function.
1386   - Added support for ``_test_more`` functions in functional test
1387     config files.
1389 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
1391 * tools/rstpep2html.py: Renamed from pep.py.
1393 * tools/dev/create_unimap.py: Added to project; script to create the
1394   docutils/writers/unimap_latex.py mapping file.
1396 * tools/dev/profile_docutils.py: Added to project; profiler script.
1398 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
1400 * tools/editors/emacs/restructuredtext.el,
1401   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
1402   Removed from project; the functionality is now contained in rst.el.
1404 * tools/editors/emacs/rst.el: Added to project.  Added many features
1405   and fixed many bugs.  See docs/user/emacs.txt for details.
1407 * tools/stylesheets: Removed from project.  Stylesheets have been
1408   renamed and moved into writer packages.
1411 Release 0.3.9 (2005-05-26)
1412 ==========================
1414 * General:
1416   - Eliminated and replaced all uses of the old string attributes
1417     ``id``, ``name``, ``dupname`` and ``class`` with references to the
1418     new list attributes ``ids``, ``names``, ``dupnames`` and
1419     ``classes`` throughout the whole source tree.
1421 * docutils/core.py:
1423   - Enabled ``--dump-*`` options when ``--traceback`` specified,
1424     allowing for easier debugging.
1425   - In ``Publisher.publish()``, expanded the generic top-level
1426     exception catching.
1428 * docutils/examples.py:
1430   - Added ``internals`` function for exploration.
1432 * docutils/io.py:
1434   - Fixed ``Input.decode`` method to apply heuristics only if no
1435     encoding is explicitly given, and to provide better reporting of
1436     decoding errors.
1437   - The ``Input.decode`` method now removes byte order marks (BOMs)
1438     from input streams.
1440 * docutils/nodes.py:
1442   - ``image`` element class changed to subclass of Element, not
1443     TextElement (it's an empty element, and cannot contain text).
1444   - Added ``attr_defaults`` dictionary for default attribute values.
1445   - Added empty list as default value for the following attributes:
1446     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
1447   - Added ``document.decoration`` attribute,
1448     ``document.get_decoration`` method, and ``decoration.get_header``
1449     & ``.get_footer`` methods.
1450   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
1451     methods.
1453 * docutils/utils.py:
1455   - Removed ``docutils.utils.Reporter.categories``,
1456     ``docutils.utils.ConditionSet``, and all references to them, to
1457     simplify error reporting.
1459 * docutils/languages/nl.py: Added to project; Dutch mappings by
1460   Martijn Pieters.
1462 * docutils/parsers/rst/__init__.py:
1464   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
1466 * docutils/parsers/rst/states.py:
1468   - Added check for escaped at-mark to prevent email address recognition.
1469   - Fixed option lists to allow spaces inside ``<angle-bracketed option
1470     arguments>``.
1471   - Allowed whitespace in paths and URLs.
1472   - Added auto-enumerated list items.
1473   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
1474     followed by text.
1475   - Added support for table stub columns.
1477 * docutils/parsers/rst/directives/__init__.py:
1479   - Allowed whitespace in paths (``path`` function).
1480   - Added ``uri`` directive option conversion function.
1482 * docutils/parsers/rst/directives/body.py:
1484   - Fixed illegal context bug with "topic" directive (allowed within
1485     sidebars; not within body elements).
1487 * docutils/parsers/rst/directives/images.py:
1489   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1490   - Added support for the ``file_insertion_enabled`` setting in the
1491     "figure" directive (disables "figwidth" option).
1492   - "image" directive: added checks for valid values of "align" option,
1493     depending on context.  "figure" directive: added specialized
1494     "align" option and attribute on "figure" element.
1495   - Made ":figwidth: image" option of "figure" directive work again.
1496   - Fixed bug with reference names containing uppercase letters
1497     (e.g. ``Name_``) in "target" option of "image" directive.
1499 * docutils/parsers/rst/directives/misc.py:
1501   - Fixed "include" and "raw" directives to catch text decoding
1502     errors.
1503   - Allowed whitespace in "include" & "raw" directive paths.
1504   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1505     settings in "include" & "raw" directives.
1507 * docutils/parsers/rst/directives/parts.py:
1509   - Added "header" & "footer" directives.
1510   - Fixed illegal context bug with "contents" directive (topics
1511     allowed within sidebars; not within body elements).
1513 * docutils/parsers/rst/directives/tables.py:
1515   - Added "list-table" directive.
1516   - Caught empty CSV table bug.
1517   - Added support for the ``file_insertion_enabled`` setting in the
1518     "csv-table" directive.
1519   - Added ``stub-columns`` option to "csv-table" and "list-table"
1520     directives.
1522 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1523   mappings by Martijn Pieters.
1525 * docutils/readers/standalone.py:
1527   - Added ``--section-subtitles`` and ``--no-section-subtitles``
1528     options to activate or deactivate the SectSubTitle transform.
1530 * docutils/transforms/frontmatter.py:
1532   - Added SectSubTitle transform to promote titles of lone
1533     subsections to subtitles.
1535 * docutils/transforms/references.py:
1537   - Fixed mislocated internal targets bug, by propagating internal
1538     targets to the next node, making use of the newly added support
1539     for multiple names and IDs.
1540   - Fixed duplicate footnote label bug.
1541   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1542     transform.
1544 * docutils/writers/html4css1.py:
1546   - Fixed unencoded stylesheet reference bug (characters like "&" in
1547     stylesheet references).
1548   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1549     tags).
1550   - Added support for multiple IDs per node by creating empty ``span``
1551     tags.
1552   - Added the ``field_name_limit`` & ``option_limit`` settings &
1553     support.
1554   - Added support for table stub columns.
1555   - Added support for the ``align`` attribute on ``figure`` elements.
1556   - Added the ``cloak_email_addresses`` setting & support.
1557   - Added ``html_prolog``, ``html_head``, ``html_body``,
1558     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1559     ``docutils.core.publish_parts``.
1560   - Added support for section subtitles.
1562 * docutils/writers/latex2e.py:
1564   - Fixed tables starting with more than one multirow cell.
1565   - Improved --use-latex-docinfo so that organization/contact/address
1566     fields are lumped with the last author field and appear on the
1567     titlepage.
1568   - Made sure the titlepage is always shown with --use-latex-docinfo,
1569     even if the document has no title.
1570   - Made sure that latex doesn't fill in today's date if no date field
1571     was given.
1572   - Added support for section subtitles.
1574 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1575   (under development).
1577 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1579 * docs/api/publisher.txt:
1581   - Added "``publish_parts`` Details" section.
1583 * docutils/dev/repository.txt: Added to project; information about the
1584   Docutils Subversion repository.
1586 * docs/ref/docutils.dtd:
1588   - Added a ``stub`` attribute to the ``colspec`` element via the
1589     ``tbl.colspec.att`` parameter entity.
1590   - Allowed topic elements within sidebars
1591   - Added an ``align`` attribute to the ``figure`` element.
1593 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1594   writer.
1597 Release 0.3.7 (2004-12-24)
1598 ==========================
1600 * docutils/frontend.py:
1602   - Added options: --input-encoding-error-handler,
1603     --record-dependencies, --leave-footnote-reference-space,
1604     --strict-visitor.
1605   - Added command-line and config file support for "overrides" setting
1606     parameter.
1608 * docutils/io.py:
1610   - Added support for input encoding error handler.
1612 * docutils/nodes.py:
1614   - Added dispatch_visit and dispatch_departure methods to
1615     NodeVisitor; useful as a hook for Visitors.
1616   - Changed structure of ``line_block``; added ``line``.
1617   - Added ``compound`` node class.
1618   - Added a mechanism for Visitors to transitionally ignore new node
1619     classes.
1621 * docutils/utils.py:
1623   - Moved ``escape2null`` and ``unescape`` functions from
1624     docutils/parsers/rst/states.py.
1626 * docutils/parsers/rst/roles.py:
1628   - Added "raw" role.
1629   - Changed role function API: the "text" parameter now takes
1630     null-escaped interpreted text content.
1632 * docutils/parsers/rst/states.py:
1634   - Fixed bug where a "role" directive in a nested parse would crash
1635     the parser; the state machine's "language" attribute was not being
1636     copied over.
1637   - Added support for line block syntax.
1638   - Fixed directive parsing bug: argument-less directives didn't
1639     notice that arguments were present.
1640   - Removed error checking for transitions.
1641   - Added support for multiple classifiers in definition list items.
1642   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1643   - Changed role function API: the "text" parameter now takes
1644     null-escaped interpreted text content.
1645   - Empty sections and documents are allowed now.
1647 * docutils/parsers/rst/directives/__init__.py:
1649   - Added ``encoding`` directive option conversion function.
1650   - Allow multiple class names in class_option conversion function.
1652 * docutils/parsers/rst/directives/body.py:
1654   - Converted the line-block directive to use the new structure.
1655   - Extracted the old line-block functionality to the ``block``
1656     function (still used).
1657   - Added ``compound`` directive (thanks to Lea Wiemann).
1659 * docutils/parsers/rst/directives/misc.py:
1661   - Added "encoding" option to "include" and "raw" directives.
1662   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1663   - Allow multiple class names in the "class" directive.
1665 * docutils/parsers/rst/directives/parts.py:
1667   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1668     options.  Thanks to Lele Gaifax.
1670 * docutils/parsers/rst/directives/tables.py:
1672   - Added "encoding" directive to "csv-table" directive.
1673   - Added workaround for lack of Unicode support in csv.py, for
1674     non-ASCII CSV input.
1676 * docutils/transforms/misc.py:
1678   - Fixed bug when multiple "class" directives are applied to a single
1679     element.
1680   - Enabled multiple format names for "raw" directive.
1682 * docutils/transforms/references.py:
1684   - Added support for trimming whitespace from beside substitution
1685     references.
1687 * docutils/transforms/universal.py:
1689   - FinalChecks now checks for illegal transitions and moves
1690     transitions between sections.
1692 * docutils/writers/html4css1.py:
1694   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1695   - "stylesheet" and "stylesheet_path" settings are now mutually
1696     exclusive.
1697   - Added support for the new line_block/line structure.
1698   - --footnote-references now overrides
1699     --trim-footnote-reference-space, if applicable.
1700   - Added support for ``compound`` elements.
1701   - Enabled multiple format names for "raw" directive.
1702   - ``<p>`` tags of a paragraph which is the only visible child of the
1703     document node are no longer stripped.
1704   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1705     new method ``should_be_compact_paragraph()``.
1706   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1707     elements.
1708   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1709     the output if they have their ``class`` attribute set.
1710   - The whole document is now surrounded by a ``<div
1711     class="document">`` element.
1712   - Body-level images are now wrapped by their own ``<div>`` elements,
1713     with image classes copied to the wrapper, and for images which
1714     have the ``:align:`` option set, the surrounding ``<div>`` now
1715     receives a class attribute (like ``class="align-left"``).
1717 * docutils/writers/latex2e.py:
1719   - no newline after depart_term.
1720   - Added translations for some Unicode quotes.
1721   - Added option "font-encoding", made package AE the default.
1722   - "stylesheet" and "stylesheet_path" settings are now mutually
1723     exclusive.
1724   - --footnote-references now overrides
1725     --trim-footnote-reference-space, if applicable.
1726   - The footnote label style now matches the footnote reference style
1727     ("brackets" or "superscript").
1728   - Added support for ``compound`` elements.
1729   - Enabled multiple format names for "raw" directive.
1731 * docs/ref/docutils.dtd:
1733   - Changed structure of the ``line_block`` element; added ``line``.
1734   - Added ``compound`` element.
1735   - Added "ltrim" and "rtrim" attributes to
1736     ``substitution_definition`` element.
1737   - Enabled multiple format names for ``raw`` element.
1738   - Enabled multiple classifiers in ``definition_list_item`` elements.
1740 * docs/ref/rst/directives.txt
1742   - Marked "line-block" as deprecated.
1743   - "Class" directive now allows multiple class names.
1744   - Added "Rationale for Class Attribute Value Conversion".
1745   - Added warning about "raw" overuse/abuse.
1747 * docs/ref/rst/restructuredtext.txt:
1749   - Added syntax for line blocks.
1750   - Definition list items may have multiple classifiers.
1752 * docs/ref/rst/roles.txt:
1754   - Added "raw" role.
1756 * tools/stylesheets/default.css:
1758   - Added support for the new line_block structure.
1759   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1762 Release 0.3.5 (2004-07-29)
1763 ==========================
1765 General:
1767 * _`Documentation cleanup/reorganization`.
1769   - Created new subdirectories of docs/:
1771     * ``docs/user/``: introductory/tutorial material for end-users
1772     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1773     * ``docs/api/``: API reference material for client-developers
1774     * ``docs/ref/``: reference material for all groups
1775     * ``docs/howto/``: for component-developers and core-developers
1776     * ``docs/peps/``: Python Enhancement Proposals
1778   - Moved ``docs/*`` to ``docs/user/``.
1779   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1780     ``spec/`` to ``docs/dev``.
1781   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1782     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1783   - Moved ``alternatives.txt``, and ``problems.txt`` from
1784     ``spec/rst/`` to ``docs/dev/rst/``.
1785   - Moved ``reStructuredText.txt``, ``directives.txt``,
1786     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1787     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1788     ``roles.txt``, ``reStructuredText.txt`` to
1789     ``restructuredtext.txt``.
1790   - Moved ``spec/howto/`` to ``docs/howto``.
1792   In order to keep the CVS history of moved files, we supplied
1793   SourceForge with a `script for modifying the Docutils CVS
1794   repository`__.
1796   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1798   After running the cleanup script:
1800   - Added ``docs/index.txt``.
1801   - Added a ``.htaccess`` file to the ``web`` module, containing
1802     redirects for all old paths to new paths.  They'll preserve
1803     fragments (the "#name" part of a URL), and won't clutter up the
1804     file system, and will correct the URL in the user's browser.
1805   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1806     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1807     the "To Do" list itself in ``docs/dev/todo.txt``.
1808   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1809     section of ``docs/dev/todo.txt``.
1810   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1811   - Added "How To Report Bugs" to ``BUGS.txt``.
1812   - Went through all the sources and docs (including under web/) and
1813     updated links.  Mostly done by Lea Wiemann; thanks Lea!
1814     (Still need to update links in the sandboxes.)
1816 Specific:
1818 * BUGS.txt: Added to project.
1820 * THANKS.txt: Added to project.
1822 * docutils/__init__.py:
1824   - 0.3.4: Post-release.
1826 * docutils/core.py:
1828   - Added special error handling & advice for UnicodeEncodeError.
1829   - Refactored Publisher.publish (simplified exception handling &
1830     extracted debug dumps).
1831   - Renamed "enable_exit" parameter of convenience functions to
1832     "enable_exit_status".
1833   - Enabled traceback (exception propagation) by default in
1834     programmatic convenience functions.
1835   - Now publish_file and publish_cmdline convenience functions return
1836     the encoded string results in addition to their regular I/O.
1837   - Extracted common code from publish_file, publish_string, and
1838     publish_parts, into new publish_programmatically.  Extracted
1839     settings code to ``Publisher.process_programmatic_settings``.
1840   - In Publisher.publish, disabled ``settings_overrides`` when
1841     ``settings`` is supplied; redundant.
1843 * docutils/frontend.py:
1845   - Added help text for "--output-encoding-error-handler" and
1846     "--error-encoding-error-handler".
1847   - Renamed "--exit" to "--exit-status".
1848   - Simplified default-setting code.
1850 * docutils/parsers/rst/__init__.py:
1852   - Added "--pep-base-url" and "--rfc-base-url" options.
1854 * docutils/parsers/rst/states.py:
1856   - Made URI recognition more aggressive and intelligent.
1858 * docutils/parsers/rst/directives/__init__.py:
1860   - Added several directive option conversion functions.
1862 * docutils/parsers/rst/directives/body.py:
1864   - Moved "table" directive to tables.py.
1866 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1867   added to project.
1869 * docutils/writers/latex2e.py:
1871   - Added "--table-style=(standard|booktabs|nolines)"
1872   - figures get "here" option (LaTeX per default puts them at bottom),
1873     and figure content is centered.
1874   - Rowspan support for tables.
1875   - Fix: admonition titles before first section.
1876   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1877   - Replave ``_`` in literal by an underlined blank, because it has the correct
1878     width.
1879   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1880   - A few unicode replacements, if output_encoding != utf
1881   - Add "--graphicx-option".
1882   - Indent literal-blocks.
1883   - Fix: omit ``\maketitle`` when there is no document title.
1885 * docs/index.txt: "Docutils Project Documentation Overview", added to
1886   project.
1888 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1889   Tool", added to project.
1891 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1893 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1895 * docs/dev/policies.txt: Added to project (extracted from
1896   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1898 * docs/dev/release.txt: Added to project (extracted from
1899   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1901 * docs/dev/testing.txt: Added to project.
1903 * docs/dev/website.txt: Added to project (extracted from
1904   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1906 * docs/ref/rst/directives.txt:
1908   - Added directives: "table", "csv-table".
1910 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1911   added to project.  1 page for syntax, and a 1 page reference for
1912   directives and roles.  Source text to be used as-is; not meant to be
1913   converted to HTML.
1915 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1916   with a change of title.
1918 * test/functional/, contents, and test/test_functional.py: Added to
1919   project.
1921 * tools/buildhtml.py: Fixed bug with config file handling.
1923 * tools/html.py: Removed from project (duplicate of rst2html.py).
1925 * tools/pep2html.py: Removed from project (duplicate of Python's
1926   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1927   Docutils-related PEPs in docs/peps/).
1929 * tools/rst2pseudoxml.py: Renamed from publish.py.
1931 * tools/rst2xml.py: Renamed from docutils-xml.py.
1933 * tools/test.txt: Removed from project; moved to
1934   docs/user/rst/demo.txt.
1936 * setup.py: Now also installs ``rst2latex.py``.
1939 Release 0.3.3 (2004-05-09)
1940 ==========================
1942 * docutils/__init__.py:
1944   - 0.3.1: Reorganized config file format (multiple sections); see
1945     docs/config.txt.
1946   - Added unknown_reference_resolvers attribute to TransformSpec.
1947   - 0.3.2: Interpreted text reorganization.
1948   - 0.3.3: Released.
1950 * docutils/core.py:
1952   - Catch system messages to stop tracebacks from parsing errors.
1953   - Catch exceptions during processing report & exit without
1954     tracebacks, except when "--traceback" used.
1955   - Reordered components for OptionParser; application comes last.
1956   - Added "config_section" parameter to several methods and functions,
1957     allowing front ends to easily specify their config file sections.
1958   - Added publish_parts convenience function to allow access to individual
1959     parts of a document.
1961 * docutils/examples.py: Added to project; practical examples of
1962   Docutils client code, to be used as-is or as models for variations.
1964 * docutils/frontend.py:
1966   - Added "--traceback" & "--no-traceback" options ("traceback"
1967     setting).
1968   - Implemented support for config file reorganization:
1969     ``standard_config_files`` moved from ``ConfigParser`` to
1970     ``OptionParser``; added
1971     ``OptionParser.get_config_file_settings()`` and
1972     ``.get_standard_config_settings()``; support for old "[options]"
1973     section (with deprecation warning) and mapping from old to new
1974     settings.
1975   - Reimplemented setting validation.
1976   - Enabled flexible boolean values: yes/no, true/false, on/off.
1977   - Added ``Values``, a subclass of ``optparse.Values``, with support
1978     for list setting attributes.
1979   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1980     thanks to Beni Cherniavsky.
1981   - Added "--no-section-numbering" option.
1983 * docutils/io.py:
1985   - Catch IOErrors when opening source & destination files, report &
1986     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1987     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1989 * docutils/nodes.py:
1991   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1992     method definitions (via ``exec``) to dynamic assignments (via
1993     ``setattr``); thanks to Roman Suzi.
1994   - Encapsulated visitor dynamic assignments in a function; thanks to
1995     Ian Bicking.
1996   - Added indirect_reference_name attribute to the Targetable
1997     class. This attribute holds the whitespace_normalized_name
1998     (contains mixed case) of a target.
2000 * docutils/statemachine.py:
2002   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
2003   - Added ``StringList.get_2D_block``.
2005 * docutils/utils.py:
2007   - Added "level" attribute to SystemMessage exceptions.
2009 * docutils/languages/af.py: Added to project; Afrikaans mappings by
2010   Jannie Hofmeyr.
2012 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
2013   Blaha.
2015 * docutils/languages/eo.py: Added to project; Esperanto mappings by
2016   Marcelo Huerta San Martin.
2018 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
2019   mappings by Lalo Martins.
2021 * docutils/languages/ru.py: Added to project; Russian mappings by
2022   Roman Suzi.
2024 * docutils/parsers/rst/roles.py: Added to project.  Contains
2025   interpreted text role functions, a registry for interpreted text
2026   roles, and an API for adding to and retrieving from the registry.
2027   Contributed by Edward Loper.
2029 * docutils/parsers/rst/states.py:
2031   - Updated ``RSTState.nested_parse`` for "include" in table cells.
2032   - Allowed true em-dash character and "---" as block quote
2033     attribution marker.
2034   - Added support for <angle-bracketed> complex option arguments
2035     (option lists).
2036   - Fixed handling of backslashes in substitution definitions.
2037   - Fixed off-by-1 error with extra whitespace after substitution
2038     definition directive.
2039   - Added inline markup parsing to field lists' field names.
2040   - Added support for quoted (and unindented) literal blocks.
2041     Driven in part by a bribe from Frank Siebenlist (thanks!).
2042   - Parser now handles escapes in URIs correctly.
2043   - Made embedded-URIs' reference text omittable.  Idea from Beni
2044     Cherniavsky.
2045   - Refactored explicit target processing code.
2046   - Added name attribute to references containing the reference name only
2047     through whitespace_normalize_name (no case changes).
2048   - parse_target no longer returns the refname after going through
2049     normalize_name. This is now handled in make_target.
2050   - Fixed bug relating to role-less interpreted text in non-English
2051     contexts.
2052   - Reorganized interpreted text processing; moved code into the new
2053     roles.py module.  Contributed by Edward Loper.
2054   - Refactored ``Body.parse_directive`` into ``run_directive`` and
2055     ``parse_directive_block``.
2057 * docutils/parsers/rst/tableparser.py:
2059   - Reworked for ``StringList``, to support "include" directives in
2060     table cells.
2062 * docutils/parsers/rst/directives/__init__.py:
2064   - Renamed ``unchanged()`` directive option conversion function to
2065     ``unchanged_required``, and added a new ``unchanged``.
2066   - Catch unicode value too high error; fixes bug 781766.
2067   - Beefed up directive error reporting.
2069 * docutils/parsers/rst/directives/body.py:
2071   - Added basic "table" directive.
2073 * docutils/parsers/rst/directives/images.py:
2075   - Added "target" option to "image" directive.
2076   - Added name attribute to references containing the reference name only
2077     through whitespace_normalize_name (no case changes).
2079 * docutils/parsers/rst/directives/misc.py:
2081   - Isolated the import of the ``urllib2`` module; was causing
2082     problems on SourceForge (``libssl.so.2`` unavailable?).
2083   - Added the "role" directive for declaring custom interpreted text
2084     roles.
2086 * docutils/parsers/rst/directives/parts.py:
2088   - The "contents" directive does more work up-front, creating the
2089     "topic" and "title", and leaving the "pending" node for the
2090     transform.  Allows earlier reference resolution; fixes subtle bug.
2092 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
2093   mappings by Jannie Hofmeyr.
2095 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
2096   mappings by Marek Blaha.
2098 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
2099   mappings by Marcelo Huerta San Martin.
2101 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
2102   Portuguese mappings by Lalo Martins.
2104 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
2105   mappings by Roman Suzi.
2107 * docutils/transforms/parts.py:
2109   - The "contents" directive does more work up-front, creating the
2110     "topic" and "title", and leaving the "pending" node for the
2111     transform.  Allows earlier reference resolution; fixes subtle bug.
2112   - Added support for disabling of section numbering.
2114 * docutils/transforms/references.py:
2116   - Verifying that external targets are truly targets and not indirect
2117     references. This is because we are now adding a "name" attribute to
2118     references in addition to targets. Note sure if this is correct!
2119   - Added code to hook into the unknown_reference_resolvers list for a
2120     transformer in resolve_indirect_target. This allows the
2121     unknown_reference_resolvers to keep around indirect targets which
2122     docutils doesn't know about.
2123   - Added specific error message for duplicate targets.
2125 * docutils/transforms/universal.py:
2127   - Added FilterMessages transform (removes system messages below the
2128     verbosity threshold).
2129   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
2130     to FinalCheckVisitor for application-specific handling of
2131     unresolvable references.
2132   - Added specific error message for duplicate targets.
2134 * docutils/writers/__init__.py:
2136   - Added assemble_parts method to the Writer class to allow for
2137     access to a documents individual parts.
2138   - Documented & set default for ``Writer.output`` attribute.
2140 * docutils/writers/html4css1.py:
2142   - Fixed unicode handling of attribute values (bug 760673).
2143   - Prevent duplication of "class" attribute values (bug report from
2144     Kirill Lapshin).
2145   - Improved table grid/border handling (prompted by report from Bob
2146     Marshall).
2147   - Added support for table titles.
2148   - Added "<title />" for untitled docs, for XHTML conformance; thanks
2149     to Darek Suchojad.
2150   - Added functionality to keep track of individual parts of a document
2151     and store them in a dictionary as the "parts" attribute of the writer.
2152     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
2153   - Added proper support for the "scale" attribute of the "image"
2154     element.  Contributed by Brent Cook.
2155   - Added ``--initial-header-level`` option.
2156   - Fixed bug: the body_pre_docinfo segment depended on there being a
2157     docinfo; if no docinfo, the document title was incorporated into
2158     the body segment.  Adversely affected the publish_parts interface.
2160 * docutils/writers/latex2e.py:
2162   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
2163     about a missing file.
2164   - Added options and support: ``--compound-enumerators``,
2165     ``--section-prefix-for-enumerators``, and
2166     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
2167     934322).
2168   - Added option ``--use-verbatim-when-possible``, to avoid
2169     problematic characters (eg, '~' in italian) in literal blocks.
2170   - It's now possible to use four section levels in the `book` and
2171     `report` LaTeX classes.  The default `article` class still has
2172     three levels limit.
2174 * docs/config.txt: "Docutils Configuration Files", added to project.
2175   Moved config file entry descriptions from tools.txt.
2177 * docs/tools.txt:
2179   - Moved config file entry descriptions to config.txt.
2181 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
2182   Development".
2184 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
2185   Text Roles", added to project.
2187 * spec/rst/reStructuredText.txt:
2189   - Added description of support for <angle-bracketed> complex option
2190     arguments to option lists.
2191   - Added subsections for indented and quoted literal blocks.
2193 * test: Continually adding & updating tests.
2195   - Added test/test_settings.py & test/data/config_*.txt support
2196     files.
2197   - Added test/test_writers/test_htmlfragment.py.
2199 * test/DocutilsTestSupport.py:
2201   - Refactored LaTeX publisher test suite/case class names to make
2202     testing other writers easier.
2203   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
2204     to test the processing of HTML fragments which use the new
2205     publish_parts convenience function.
2207 * tools/buildhtml.py:
2209   - Added support for the "--prune" option.
2210   - Removed dependency on pep2html.py; plaintext PEPs no longer
2211     supported.
2213 * tools/docutils.conf:
2215   - Updated for configuration file reorganization.
2217 * tools/rst2html.py:
2219   - copied from tools/html.py
2221 * setup.py:
2223   - added a 'scripts' section to configuration
2224   - added 'tools/rst2html.py' to the scripts section
2227 Release 0.3 (2003-06-24)
2228 ========================
2230 General:
2232 * Renamed "attribute" to "option" for directives/extensions.
2234 * Renamed transform method "transform" to "apply".
2236 * Renamed "options" to "settings" for runtime settings (as set by
2237   command-line options).  Sometimes "option" (singular) became
2238   "settings" (plural).  Some variations below:
2240   - document.options -> document.settings (stored in other objects as
2241     well)
2242   - option_spec -> settings_spec (not directives though)
2243   - OptionSpec -> SettingsSpec
2244   - cmdline_options -> settings_spec
2245   - relative_path_options -> relative_path_settings
2246   - option_default_overrides -> settings_default_overrides
2247   - Publisher.set_options -> Publisher.get_settings
2249 Specific:
2251 * COPYING.txt: Added "Public Domain Dedication".
2253 * FAQ.txt: Frequently asked questions, added to project.
2255 * setup.py:
2257   - Updated with PyPI Trove classifiers.
2258   - Conditional installation of third-party modules.
2260 * docutils/__init__.py:
2262   - Bumped version to 0.2.1 to reflect changes to I/O classes.
2263   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
2264   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
2265   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
2266     option and its effect on the PEP template & writer.
2267   - Bumped version to 0.2.4 due to changes to the PEP template &
2268     stylesheet.
2269   - Bumped version to 0.2.5 to reflect changes to Reporter output.
2270   - Added ``TransformSpec`` class for new transform system.
2271   - Bumped version to 0.2.6 for API changes (renaming).
2272   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
2273     convenience functions.
2274   - Added ``Component.component_type`` attribute.
2275   - Bumped version to 0.2.8 because of the internal parser switch from
2276     plain lists to the docutils.statemachine.StringList objects.
2277   - Bumped version to 0.2.9 because of the frontend.py API changes.
2278   - Bumped version to 0.2.10 due to changes to the project layout
2279     (third-party modules removed from the "docutils" package), and
2280     signature changes in ``io.Input``/``io.Output``.
2281   - Changed version to 0.3.0 for release.
2283 * docutils/core.py:
2285   - Made ``publish()`` a bit more convenient.
2286   - Generalized ``Publisher.set_io``.
2287   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
2288     parameters; improved its docstring.
2289   - Added ``publish_file()`` and ``publish_string()``.
2290   - Factored ``Publisher.set_source()`` and ``.set_destination()``
2291     out of ``.set_io``.
2292   - Added support for "--dump-pseudo-xml", "--dump-settings", and
2293     "--dump-transforms" hidden options.
2294   - Added ``Publisher.apply_transforms()`` method.
2295   - Added ``Publisher.set_components()`` method; support for
2296     ``publish_*()`` conveninece functions.
2297   - Moved config file processing to docutils/frontend.py.
2298   - Added support for exit status ("exit_level" setting &
2299     ``enable_exit`` parameter for Publisher.publish() and convenience
2300     functions).
2302 * docutils/frontend.py:
2304   - Check for & exit on identical source & destination paths.
2305   - Fixed bug with absolute paths & "--config".
2306   - Set non-command-line defaults in ``OptionParser.__init__()``:
2307     ``_source`` & ``_destination``.
2308   - Distributed ``relative_path_settings`` to components; updated
2309     ``OptionParser.populate_from_components()`` to combine it all.
2310   - Require list of keys in ``make_paths_absolute`` (was implicit in
2311     global ``relative_path_settings``).
2312   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
2313     "--dump-settings", and "--dump-transforms" hidden options.
2314   - Removed nasty internals-fiddling ``ConfigParser.get_section``
2315     code, replaced with correct code.
2316   - Added validation functionality for config files.
2317   - Added "--error-encoding" option/setting, "_disable_config"
2318     internal setting.
2319   - Added encoding validation; updated "--input-encoding" and
2320     "--output-encoding"; added "--error-encoding-error-handler" and
2321     "--output-encoding-error-handler".
2322   - Moved config file processing from docutils/core.py.
2323   - Updated ``OptionParser.populate_from_components`` to handle new
2324     ``SettingsSpec.settings_defaults`` dict.
2325   - Added support for "-" => stdin/stdout.
2326   - Added "exit_level" setting ("--exit" option).
2328 * docutils/io.py:
2330   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
2331   - Added automatic closing to ``FileInput`` and ``FileOutput``.
2332   - Delayed opening of ``FileOutput`` file until ``write()`` called.
2333   - ``FileOutput.write()`` now returns the encoded output string.
2334   - Try to get path/stream name automatically in ``FileInput`` &
2335     ``FileOutput``.
2336   - Added defaults for source & destination paths.
2337   - Allow for Unicode I/O with an explicit "unicode" encoding.
2338   - Added ``Output.encode()``.
2339   - Removed dependency on runtime settings; pass encoding directly.
2340   - Recognize Unicode strings in ``Input.decode()``.
2341   - Added support for output encoding error handlers.
2343 * docutils/nodes.py:
2345   - Added "Invisible" element category class.
2346   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
2347     modification during a traversal.
2348   - Added element classes: ``line_block``, ``generated``, ``address``,
2349     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
2350     ``superscript``, ``subscript``, ``inline``
2351   - Added support for lists of nodes to ``Element.insert()``.
2352   - Fixed parent linking in ``Element.replace()``.
2353   - Added new abstract superclass ``FixedTextElement``; adds
2354     "xml:space" attribute.
2355   - Added support for "line" attribute of ``system_message`` nodes.
2356   - Added support for the observer pattern from ``utils.Reporter``.
2357     Added ``parse_messages`` and ``transform_messages`` attributes to
2358     ``document``, removed ``messages``.  Added ``note_parse_message``
2359     and ``note_transform_message`` methods.
2360   - Added support for improved diagnostics:
2362     - Added "document", "source", and "line" internal attributes to
2363       ``Node``, set by ``Node.setup_child()``.
2364     - Converted variations on ``node.parent = self`` to
2365       ``self.setup_child(node)``.
2366     - Added ``document.current_source`` & ``.current_line``
2367       attributes, and ``.note_source`` observer method.
2368     - Changed "system_message" output to GNU-Tools format.
2370   - Added a "rawsource" attribute to the ``Text`` class, for text
2371     before backslash-escape resolution.
2372   - Support for new transform system.
2373   - Reworked ``pending`` element.
2374   - Fixed XML DOM bug (SF #660611).
2375   - Removed the ``interpeted`` element class and added
2376     ``title_reference``, ``abbreviation``, ``acronym``.
2377   - Made substitutions case-sensitive-but-forgiving; moved some code
2378     from the parser.
2379   - Fixed Unicode bug on element attributes (report: William Dode).
2381 * docutils/optik.py: Removed from project; replaced with
2382   extras/optparse.py and extras/textwrap.py.  These will be installed
2383   only if they're not already present in the Python installation.
2385 * docutils/roman.py: Moved to extras/roman.py; this will be installed
2386   only if it's not already present in the Python installation.
2388 * docutils/statemachine.py:
2390   - Factored out ``State.add_initial_transitions()`` so it can be
2391     extended.
2392   - Converted whitespace-specific "blank" and "indent" transitions
2393     from special-case code to ordinary transitions: removed
2394     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
2395     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
2396     ``ws_initial_transitions`` attributes.
2397   - Removed ``State.match_transition()`` after merging it into
2398     ``.check_line()``.
2399   - Added ``StateCorrection`` exception.
2400   - Added support for ``StateCorrection`` in ``StateMachine.run()``
2401     (moved ``TransitionCorrection`` support there too.)
2402   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
2403     ``EOFError`` instead of ``IndexError``.
2404   - Added ``State.no_match`` method.
2405   - Added support for the Observer pattern, triggered by input line
2406     changes.
2407   - Added ``strip_top`` parameter to
2408     ``StateMachineWS.get_first_known_indented``.
2409   - Made ``context`` a parameter to ``StateMachine.run()``.
2410   - Added ``ViewList`` & ``StringList`` classes;
2411     ``extract_indented()`` becomes ``StringList.get_indented()``.
2412   - Added ``StateMachine.insert_input()``.
2413   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
2414     thanks to) Fred Drake.
2416 * docutils/utils.py:
2418   - Added a ``source`` attribute to Reporter instances and
2419     ``system_message`` elements.
2420   - Added an observer pattern to ``utils.Reporter`` to keep track of
2421     system messages.
2422   - Fixed bugs in ``relative_path()``.
2423   - Added support for improved diagnostics.
2424   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
2425   - Added support for encoding Reporter stderr output, and encoding
2426     error handlers.
2427   - Reporter keeps track of the highest level system message yet
2428     generated.
2430 * docutils/languages: Fixed bibliographic field language lookups.
2432 * docutils/languages/es.py: Added to project; Spanish mappings by
2433   Marcelo Huerta San Martin.
2435 * docutils/languages/fr.py: Added to project; French mappings by
2436   Stefane Fermigier.
2438 * docutils/languages/it.py: Added to project; Italian mappings by
2439   Nicola Larosa.
2441 * docutils/languages/sk.py: Added to project; Slovak mappings by
2442   Miroslav Vasko.
2444 * docutils/parser/__init__.py:
2446   - Added ``Parser.finish_parse()`` method.
2448 * docutils/parser/rst/__init__.py:
2450   - Added options: "--pep-references", "--rfc-references",
2451     "--tab-width", "--trim-footnote-reference-space".
2453 * docutils/parsers/rst/states.py:
2455   - Changed "title under/overline too short" system messages from INFO
2456     to WARNING, and fixed its insertion location.
2457   - Fixed enumerated list item parsing to allow paragraphs & section
2458     titles to begin with enumerators.
2459   - Converted system messages to use the new "line" attribute.
2460   - Fixed a substitution reference edge case.
2461   - Added support for "--pep-references" and "--rfc-references"
2462     options; reworked ``Inliner`` code to make customization easier.
2463   - Removed field argument parsing.
2464   - Added support for short section title over/underlines.
2465   - Fixed "simple reference name" regexp to ignore text like
2466     "object.__method__"; not an anonymous reference.
2467   - Added support for improved diagnostics.
2468   - Reworked directive API, based on Dethe Elza's contribution.  Added
2469     ``Body.parse_directive()``, ``.parse_directive_options()``,
2470     ``.parse_directive_arguments()`` methods.
2471   - Added ``ExtensionOptions`` class, to parse directive options
2472     without parsing field bodies.  Factored
2473     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
2474     ``ExtensionOptions``.
2475   - Improved definition list term/classifier parsing.
2476   - Added warnings for unknown directives.
2477   - Renamed ``Stuff`` to ``Struct``.
2478   - Now flagged as errors: transitions at the beginning or end of
2479     sections, empty sections (except title), and empty documents.
2480   - Updated for ``statemachine.StringList``.
2481   - Enabled recognition of schemeless email addresses in targets.
2482   - Added support for embedded URIs in hyperlink references.
2483   - Added backslash-escapes to inline markup end-string suffix.
2484   - Added support for correct interpreted text processing.
2485   - Fixed nested title parsing (topic, sidebar directives).
2486   - Added special processing of backslash-escaped whitespace (idea
2487     from David Abrahams).
2488   - Made substitutions case-sensitive-but-forgiving; moved some code
2489     to ``docutils.nodes``.
2490   - Added support for block quote attributions.
2491   - Added a kludge to work-around a conflict between the bubble-up
2492     parser strategy and short titles (<= 3 char-long over- &
2493     underlines).  Fixes SF bug #738803 "infinite loop with multiple
2494     titles" submitted by Jason Diamond.
2495   - Added explicit interpreted text roles for standard inline markup:
2496     "emphasis", "strong", "literal".
2497   - Implemented "superscript" and "subscript" interpreted text roles.
2498   - Added initial support for "abbreviation" and "acronym" roles;
2499     incomplete.
2500   - Added support for "--trim-footnote-reference-space" option.
2501   - Optional space before colons in directives & hyperlink targets.
2503 * docutils/parsers/rst/tableparser.py:
2505   - Fixed a bug that was producing unwanted empty rows in "simple"
2506     tables.
2507   - Detect bad column spans in "simple" tables.
2509 * docutils/parsers/rst/directives: Updated all directive functions to
2510   new API.
2512 * docutils/parsers/rst/directives/__init__.py:
2514   - Added ``flag()``, ``unchanged()``, ``path()``,
2515     ``nonnegative_int()``, ``choice()``, and ``class_option()``
2516     directive option helper functions.
2517   - Added warnings for unknown directives.
2518   - Return ``None`` for missing directives.
2519   - Added ``register_directive()``, thanks to William Dode and Paul
2520     Moore.
2522 * docutils/parsers/rst/directives/admonitions.py:
2524   - Added "admonition" directive.
2526 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
2527   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2528   "parsed-literal", "rubric", "epigraph", "highlights" and
2529   "pull-quote" directives.
2531 * docutils/parsers/rst/directives/images.py:
2533   - Added an "align" attribute to the "image" & "figure" directives
2534     (by Adam Chodorowski).
2535   - Added "class" option to "image", and "figclass" to "figure".
2537 * docutils/parsers/rst/directives/misc.py:
2539   - Added "include", "raw", and "replace" directives, courtesy of
2540     Dethe Elza.
2541   - Added "unicode" and "class" directives.
2543 * docutils/parsers/rst/directives/parts.py:
2545   - Added the "sectnum" directive; by Dmitry Jemerov.
2546   - Added "class" option to "contents" directive.
2548 * docutils/parsers/rst/directives/references.py: Added to project.
2549   Contains the "target-notes" directive.
2551 * docutils/parsers/rst/languages/__init__.py:
2553   - Return ``None`` from get_language() for missing language modules.
2555 * docutils/parsers/rst/languages/de.py: Added to project; German
2556   mappings by Engelbert Gruber.
2558 * docutils/parsers/rst/languages/en.py:
2560   - Added interpreted text roles mapping.
2562 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2563   mappings by Marcelo Huerta San Martin.
2565 * docutils/parsers/rst/languages/fr.py: Added to project; French
2566   mappings by William Dode.
2568 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2569   mappings by Nicola Larosa.
2571 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2572   mappings by Miroslav Vasko.
2574 * docutils/readers/__init__.py:
2576   - Added support for the observer pattern from ``utils.Reporter``, in
2577     ``Reader.parse`` and ``Reader.transform``.
2578   - Removed ``Reader.transform()`` method.
2579   - Added default parameter values to ``Reader.__init__()`` to make
2580     instantiation easier.
2581   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2583 * docutils/readers/pep.py:
2585   - Added the ``peps.TargetNotes`` transform to the Reader.
2586   - Removed PEP & RFC reference detection code; moved to
2587     parsers/rst/states.py as options (enabled here by default).
2588   - Added support for pre-acceptance PEPs (no PEP number yet).
2589   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2590     easy subclassing.
2592 * docutils/readers/python: Python Source Reader subpackage added to
2593   project, including preliminary versions of:
2595   - __init__.py
2596   - moduleparser.py: Parser for Python modules.
2598 * docutils/transforms/__init__.py:
2600   - Added ``Transformer`` class and completed transform reform.
2601   - Added unknown_reference_resolvers list for each transformer. This list holds
2602     the list of functions provided by each component of the transformer that
2603     help resolve references.
2605 * docutils/transforms/frontmatter.py:
2607   - Improved support for generic fields.
2608   - Fixed bibliographic field language lookups.
2610 * docutils/transforms/misc.py: Added to project.  Miscellaneous
2611   transforms.
2613 * docutils/transforms/parts.py:
2615   - Moved the "id" attribute from TOC list items to the references
2616     (``Contents.build_contents()``).
2617   - Added the ``SectNum`` transform; by Dmitry Jemerov.
2618   - Added "class" attribute support to ``Contents``.
2620 * docutils/transforms/peps.py:
2622   - Added ``mask_email()`` function, updating to pep2html.py's
2623     functionality.
2624   - Linked "Content-Type: text/x-rst" to PEP 12.
2625   - Added the ``TargetNotes`` PEP-specific transform.
2626   - Added ``TargetNotes.cleanup_callback``.
2627   - Added title check to ``Headers``.
2629 * docutils/transforms/references.py:
2631   - Added the ``TargetNotes`` generic transform.
2632   - Split ``Hyperlinks`` into multiple transforms.
2633   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2634   - Added check for circular indirect references.
2635   - Made substitutions case-sensitive-but-forgiving.
2637 * docutils/transforms/universal.py:
2639   - Added support for the "--expose-internal-attributes" option.
2640   - Removed ``Pending`` transform classes & data.
2642 * docutils/writers/__init__.py:
2644   - Removed ``Writer.transform()`` method.
2646 * docutils/writers/docutils-xml.py:
2648   - Added XML and doctype declarations.
2649   - Added "--no-doctype" and "--no-xml-declaration" options.
2651 * docutils/writers/html4css1.py:
2653   - "name" attributes only on these tags: a, applet, form, frame,
2654     iframe, img, map.
2655   - Added "name" attribute to <a> in section titles for Netscape 4
2656     support (bug report: Pearu Peterson).
2657   - Fixed targets (names) on footnote, citation, topic title,
2658     problematic, and system_message nodes (for Netscape 4).
2659   - Changed field names from "<td>" to "<th>".
2660   - Added "@" to "&#64;" encoding to thwart address harvesters.
2661   - Improved the vertical whitespace optimization; ignore "invisible"
2662     nodes (targets, comments, etc.).
2663   - Improved inline literals with ``<span class="pre">`` around chunks
2664     of text and ``&nbsp;`` for runs of spaces.
2665   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2666     ``self.docinfo`` segments.
2667   - Added support for "line_block", "address" elements.
2668   - Improved backlinks (footnotes & system_messages).
2669   - Improved system_message output.
2670   - Redefined "--stylesheet" as containing an invariant URL, used
2671     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2672     working directory.
2673   - Added "--footnote-references" option (superscript or brackets).
2674   - Added "--compact-lists" and "--no-compact-lists" options.
2675   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2676     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2677   - Improved field list rendering.
2678   - Added Docutils version to "generator" meta tag.
2679   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2680   - Improved layout of <pre> HTML source.
2681   - Fixed attribute typo on <colspec>.
2682   - Refined XML prologue.
2683   - Support for no stylesheet.
2684   - Removed "interpreted" element support.
2685   - Added support for "title_reference", "sidebar", "attribution",
2686     "rubric", and generic "admonition" elements.
2687   - Added "--attribution" option.
2688   - Added support for "inline", "subscript", "superscript" elements.
2689   - Added initial support for "abbreviation" and "acronym";
2690     incomplete.
2692 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2693   (from the sandbox).
2695   - Added french.
2696   - Double quotes in literal blocks (special treatment for de/ngerman).
2697   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2698   - Added  "--attribution" option.
2699   - Right align attributions.
2701 * docutils/writers/pep_html.py:
2703   - Parameterized output encoding in PEP template.
2704   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2705   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2706     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2707     working directory.
2708   - Added an override on the "--footnote-references" option.
2709   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2710   - Added Docutils version to "generator" meta tag.
2711   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2713 * docs/tools.txt:
2715   - Added a "silent" setting for ``buildhtml.py``.
2716   - Added a "Getting Help" section.
2717   - Rearranged the structure.
2718   - Kept up to date, with new settings, command-line options etc.
2719   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2720   - Converted settings table into a definition list.
2722 * docs/rst/quickstart.txt:
2724   - Added a table of contents.
2725   - Added feedback information.
2726   - Added mention of minimum section title underline lengths.
2727   - Removed the 4-character minimum for section title underlines.
2729 * docs/rst/quickref.html:
2731   - Added a "Getting Help" section.
2732   - Added a style to make section title backlinks more subtle.
2733   - Added mention of minimum section title underline lengths.
2734   - Removed the 4-character minimum for section title underlines.
2736 * extras: Directory added to project; contains third-party modules
2737   that Docutils depends on (optparse, textwrap, roman).  These are
2738   only installed if they're not already present.
2740 * licenses: Directory added to project; contains copies of license
2741   files for non-public-domain files.
2743 * spec/doctree.txt:
2745   - Changed the focus.  It's about DTD elements:  structural
2746     relationships, semantics, and external (public) attributes.  Not
2747     about the element class library.
2748   - Moved some implementation-specific stuff into ``docutils.nodes``
2749     docstrings.
2750   - Wrote descriptions of all common attributes and parameter
2751     entities.  Filled in introductory material.
2752   - Working through the element descriptions: 55 down, 37 to go.
2753   - Removed "Representation of Horizontal Rules" to
2754     spec/rst/alternatives.txt.
2756 * spec/docutils.dtd:
2758   - Added "generated" inline element.
2759   - Added "line_block" body element.
2760   - Added "auto" attribute to "title".
2761   - Changed content models of "literal_block" and "doctest_block" to
2762     ``%text.model``.
2763   - Added ``%number;`` attribute type parameter entity.
2764   - Changed ``%structural.elements;`` to ``%section.elements``.
2765   - Updated attribute types; made more specific.
2766   - Added "address" bibliographic element.
2767   - Added "line" attribute to ``system_message`` element.
2768   - Removed "field_argument" element; "field_name" may contain
2769     multiple words and whitespace.
2770   - Changed public identifier to docutils.sf.net.
2771   - Removed "interpreted" element; added "title_reference",
2772     "abbreviation", "acronym".
2773   - Removed "refuri" attribute from "footnote_reference" and
2774     "citation_reference".
2775   - Added "sidebar", "rubric", "attribution", "admonition",
2776     "superscript", "subscript", and "inline" elements.
2778 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2780 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2782 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2784 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2785   Dallas Mahrt.
2787 * spec/transforms.txt: Added to project.
2789 * spec/howto: Added subdirectory, for developer how-to docs.
2791 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2792   Elza, edited & extended by David Goodger.
2794 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
2795   project.
2797 * spec/rst/alternatives.txt:
2799   - Added "Doctree Representation of Transitions" from
2800     spec/doctree.txt.
2801   - Updated "Inline External Targets" & closed the debate.
2802   - Added ideas for interpreted text syntax extensions.
2803   - Added "Nested Inline Markup" section.
2805 * spec/rst/directives.txt:
2807   - Added directives: "topic", "sectnum", "target-notes",
2808     "line-block", "parsed-literal", "include", "replace", "sidebar",
2809     "admonition", "rubric", "epigraph", "highlights", "unicode" and
2810     "class".
2811   - Formalized descriptions of directive details.
2812   - Added an "align" attribute to the "image" & "figure" directives
2813     (by Adam Chodorowski).
2814   - Added "class" options to "topic", "sidebar", "line-block",
2815     "parsed-literal", "contents", and "image"; and "figclass" to
2816     "figure".
2818 * spec/rst/interpreted.txt: Added to project.  Descriptions of
2819   interpreted text roles.
2821 * spec/rst/introduction.txt:
2823   - Added pointers to material for new users.
2825 * spec/rst/reStructuredText.txt:
2827   - Disambiguated comments (just add a newline after the "::").
2828   - Updated enumerated list description; added a discussion of the
2829     second-line validity checking.
2830   - Updated directive description.
2831   - Added a note redirecting newbies to the user docs.
2832   - Expanded description of inline markup start-strings in non-markup
2833     contexts.
2834   - Removed field arguments and made field lists a generic construct.
2835   - Removed the 4-character minimum for section title underlines.
2836   - Clarified term/classifier delimiter & inline markup ambiguity
2837     (definition lists).
2838   - Added "Embedded URIs".
2839   - Updated "Interpreted Text" section.
2840   - Added "Character-Level Inline Markup" section.
2842 * test: Continually adding & updating tests.
2844   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2845   - Moved test/test_pep/ to test/test_readers/test_pep/.
2846   - Added test/test_readers/test_python/.
2847   - Added test/test_writers/ (Engelbert Gruber).
2849 * tools:
2851   - Made the ``locale.setlocale()`` calls in front ends
2852     fault-tolerant.
2854 * tools/buildhtml.py:
2856   - Added "--silent" option.
2857   - Fixed bug with absolute paths & "--config".
2858   - Updated for new I/O classes.
2859   - Added some exception handling.
2860   - Separated publishers' setting defaults; prevents interference.
2861   - Updated for new ``publish_file()`` convenience function.
2863 * tools/pep-html-template:
2865   - Allow for "--embed-stylesheet".
2866   - Added Docutils version to "generator" meta tag.
2867   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2868   - Conform to XHTML spec.
2870 * tools/pep2html.py:
2872   - Made ``argv`` a parameter to ``main()``.
2873   - Added support for "Content-Type:" header & arbitrary PEP formats.
2874   - Linked "Content-Type: text/plain" to PEP 9.
2875   - Files skipped (due to an error) are not pushed onto the server.
2876   - Updated for new I/O classes.
2877   - Added ``check_requirements()`` & ``pep_type_error()``.
2878   - Added some exception handling.
2879   - Updated for new ``publish_string()`` convenience function.
2880   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2882 * tools/quicktest.py:
2884   - Added "-V"/"--version" option.
2886 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2888 * tools/unicode2rstsubs.py: Added to project.  Produces character
2889   entity files (reSructuredText substitutions) from the MathML master
2890   unicode.xml file.
2892 * tools/editors: Support code for editors, added to project.  Contains
2893   ``emacs/restructuredtext.el``.
2895 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2897   - Added style for chunks of inline literals.
2898   - Removed margin for first child of table cells.
2899   - Right-aligned field list names.
2900   - Support for auto-numbered section titles in TOCs.
2901   - Increased the size of inline literals (<tt>) in titles.
2902   - Restored the light gray background for inline literals.
2903   - Added support for "line_block" elements.
2904   - Added style for "address" elements.
2905   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2906   - Improved field list rendering.
2907   - Vertical whitespace improvements.
2908   - Removed "a.target" style.
2910 * tools/stylesheets/pep.css:
2912   - Fixed nested section margins.
2913   - Other changes parallel those of ``../default.css``.
2916 Release 0.2 (2002-07-31)
2917 ========================
2919 General:
2921 - The word "component" was being used ambiguously.  From now on,
2922   "component" will be used to mean "Docutils component", as in Reader,
2923   Writer, Parser, or Transform.  Portions of documents (Table of
2924   Contents, sections, etc.)  will be called "document parts".
2925 - Did a grand renaming: a lot of ``verylongnames`` became
2926   ``very_long_names``.
2927 - Cleaned up imports: no more relative package imports or
2928   comma-separated lists of top-level modules.
2929 - Added support for an option values object which carries default
2930   settings and overrides (from command-line options and library use).
2931 - Added internal Unicode support, and support for both input and
2932   output encodings.
2933 - Added support for the ``docutils.io.IO`` class & subclasses.
2935 Specific:
2937 * docutils/__init__.py:
2939   - Added ``ApplicationError`` and ``DataError``, for use throughout
2940     the package.
2941   - Added ``Component`` base class for Docutils components; implements
2942     the ``supports`` method.
2943   - Added ``__version__`` (thus, ``docutils.__version__``).
2945 * docutils/core.py:
2947   - Removed many keyword parameters to ``Publisher.__init__()`` and
2948     ``publish()``; bundled into an option values object.  Added
2949     "argv", "usage", "description", and "option_spec" parameters for
2950     command-line support.
2951   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2952     methods.
2953   - Reworked I/O model for ``docutils.io`` wrappers.
2954   - Updated ``Publisher.set_options()``; now returns option values
2955     object.
2956   - Added support for configuration files (/etc/docutils.conf,
2957     ./docutils.conf, ~/.docutils).
2958   - Added ``Publisher.setup_option_parser()``.
2959   - Added default usage message and description.
2961 * docutils/frontend.py: Added to project; support for front-end
2962   (command-line) scripts.  Option specifications may be augmented by
2963   components.  Requires Optik (http://optik.sf.net/) for option
2964   processing (installed locally as docutils/optik.py).
2966 * docutils/io.py: Added to project; uniform API for a variety of input
2967   output mechanisms.
2969 * docutils/nodes.py:
2971   - Added ``TreeCopyVisitor`` class.
2972   - Added a ``copy`` method to ``Node`` and subclasses.
2973   - Added a ``SkipDeparture`` exception for visitors.
2974   - Renamed ``TreePruningException`` from ``VisitorException``.
2975   - Added docstrings to ``TreePruningException``, subclasses, and
2976     ``Nodes.walk()``.
2977   - Improved docstrings.
2978   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2979   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2980     imports.
2981   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2982     ``PreDecorative`` mixin.
2983   - Reworked the name/id bookkeeping; to ``document``, removed
2984     ``explicit_targets`` and ``implicit_targets`` attributes, added
2985     ``nametypes`` attribute and ``set_name_id_map`` method.
2986   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2987     traversals.
2988   - Added ``document.has_name()`` method.
2989   - Fixed DOM generation for list-attributes.
2990   - Added category class ``Labeled`` (used by footnotes & citations).
2991   - Added ``Element.set_class()`` method (sets "class" attribute).
2993 * docutils/optik.py: Added to project.  Combined from the Optik
2994   package, with added option groups and other modifications.  The use
2995   of this module is probably only temporary.
2997 * docutils/statemachine.py:
2999   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
3000   - Added underscores to improve many awkward names.
3001   - In ``string2lines()``, changed whitespace normalizing translation
3002     table to regexp; restores Python 2.0 compatibility with Unicode.
3004 * docutils/urischemes.py:
3006   - Filled in some descriptions.
3007   - Added "shttp" scheme.
3009 * docutils/utils.py:
3011   - Added ``clean_rcs_keywords`` function (moved from
3012     docutils/transforms/frontmatter.py
3013     ``DocInfo.filter_rcs_keywords``).
3014   - Added underscores to improve many awkward names.
3015   - Changed names of Reporter's thresholds:
3016     warning_level -> report_level; error_level -> halt_level.
3017   - Moved ``utils.id()`` to ``nodes.make_id()``.
3018   - Added ``relative_path(source, target)``.
3020 * docutils/languages/de.py: German mappings; added to project.  Thanks
3021   to Gunnar Schwant for the translations.
3023 * docutils/languages/en.py: Added "Dedication" bibliographic field
3024   mappings.
3026 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
3027   Chodorowski.
3029 * docutils/parsers/rst/states.py:
3031   - Added underscores to improve many awkward names.
3032   - Added RFC-2822 header support.
3033   - Extracted the inline parsing code from ``RSTState`` to a separate
3034     class, ``Inliner``, which will allow easy subclassing.
3035   - Made local bindings for ``memo`` container & often-used contents
3036     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
3037   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
3038   - Added ``MarkupMismatch`` exception; for late corrections.
3039   - Added ``-/:`` characters to inline markup's start string prefix,
3040     ``/`` to end string suffix.
3041   - Fixed a footnote bug.
3042   - Fixed a bug with literal blocks.
3043   - Applied patch from Simon Budig: simplified regexps with symbolic
3044     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
3045   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
3046   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
3047   - Allowed non-ASCII in "simple names" (directive names, field names,
3048     references, etc.).
3049   - Converted ``Inliner.patterns.initial`` to be dynamically built
3050     from parts with ``build_regexp()`` function.
3051   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
3052   - Updated docstrings.
3053   - Changed "table" to "grid_table"; added "simple_table" support.
3055 * docutils/parsers/rst/tableparser.py:
3057   - Changed ``TableParser`` to ``GridTableParser``.
3058   - Added ``SimpleTableParser``.
3059   - Refactored naming.
3061 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
3062   a fallback language for directive names.
3064 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
3065   directive to use a ``pending`` element, used only by HTML writers.
3067 * docutils/parsers/rst/directives/parts.py: Renamed from
3068   components.py.
3070   - Added "backlinks" attribute to "contents" directive.
3072 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
3073   project by Adam Chodorowski.
3075 * docutils/readers/__init__.py: Gave Readers more control over
3076   choosing and instantiating Parsers.
3078 * docutils/readers/pep.py: Added to project; for PEP processing.
3080 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
3081   requires a ``component`` parameter.
3083 * docutils/transforms/components.py: Added to project; transforms
3084   related to Docutils components.
3086 * docutils/transforms/frontmatter.py:
3088   - In ``DocInfo.extract_authors``, check for a single "author" in an
3089     "authors" group, and convert it to a single "author" element.
3090   - Added support for "Dedication" and generic bibliographic fields.
3092 * docutils/transforms/peps.py: Added to project; PEP-specific.
3094 * docutils/transforms/parts.py: Renamed from old components.py.
3096   - Added filter for `Contents`, to use alt-text for inline images,
3097     and to remove inline markup that doesn't make sense in the ToC.
3098   - Added "name" attribute to TOC topic depending on its title.
3099   - Added support for optional TOC backlinks.
3101 * docutils/transforms/references.py: Fixed indirect target resolution
3102   in ``Hyperlinks`` transform.
3104 * docutils/transforms/universal.py:
3106   - Changed ``Messages`` transform to properly filter out system
3107     messages below the warning threshold.
3108   - Added ``Decorations`` transform (support for ``--generator``,
3109     ``--date``, ``--time``, ``--source-link`` options).
3111 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
3112   Engelbert Gruber's PDF writer.
3114 * docutils/writers/html4css1.py:
3116   - Made XHTML-compatible (switched to lowercase element & attribute
3117     names; empty tag format).
3118   - Escape double-dashes in comment text.
3119   - Improved boilerplate & modularity of output.
3120   - Exposed modular output in Writer class.
3121   - Added a "generator" meta tag to <head>.
3122   - Added support for the ``--stylesheet`` option.
3123   - Added support for ``decoration``, ``header``, and ``footer``
3124     elements.
3125   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
3126     translation table to regexp; restores Python 2.0 compatibility
3127     with Unicode.
3128   - Added the translator class as instance variable to the Writer, to
3129     make it easily subclassable.
3130   - Improved option list spacing (thanks to Richard Jones).
3131   - Modified field list output.
3132   - Added backlinks to footnotes & citations.
3133   - Added percentage widths to "<col>" tags (from colspec).
3134   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
3135     "<span>" changed to "<var>".
3136   - Inline literals: "<code>" changed to "<tt>".
3137   - Many changes to optimize vertical space: compact simple lists etc.
3138   - Add a command-line options & directive attributes to control TOC
3139     and footnote/citation backlinks.
3140   - Added support for optional footnote/citation backlinks.
3141   - Added support for generic bibliographic fields.
3142   - Identify backrefs.
3143   - Relative URLs for stylesheet links.
3145 * docutils/writers/pep_html.py: Added to project; HTML Writer for
3146   PEPs (subclass of ``html4css1.Writer``).
3148 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
3150 * docutils/writers/docutils_xml.py: Added to project; trivial writer
3151   of the Docutils internal doctree in XML.
3153 * docs/tools.txt: "Docutils Front-End Tools", added to project.
3155 * spec/doctree.txt:
3157   - Changed the title to "The Docutils Document Tree".
3158   - Added "Hyperlink Bookkeeping" section.
3160 * spec/docutils.dtd:
3162   - Added ``decoration``, ``header``, and ``footer`` elements.
3163   - Brought ``interpreted`` element in line with the parser: changed
3164     attribute "type" to "role", added "position".
3165   - Added support for generic bibliographic fields.
3167 * spec/notes.txt: Continual updates.  Added "Project Policies".
3169 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
3170   section.
3172 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
3174 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
3175   mailing list discussions.
3177 * spec/pep-0287.txt:
3179   - Renamed to "reStructuredText Docstring Format".
3180   - Minor edits.
3181   - Reworked Q&A as an enumerated list.
3182   - Converted to reStructuredText format.
3184 * spec/pysource.dtd:
3186   - Reworked structural elements, incorporating ideas from Tony Ibbs.
3188 * spec/pysource.txt: Removed from project.  Moved much of its contents
3189   to pep-0258.txt.
3191 * spec/rst/alternatives.txt:
3193   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
3194   - Added "Inline External Targets" section.
3196 * spec/rst/directives.txt:
3198   - Added "backlinks" attribute to "contents" directive.
3200 * spec/rst/problems.txt:
3202   - Updated the Enumerated List Markup discussion.
3203   - Added new alternative table markup syntaxes.
3205 * spec/rst/reStructuredText.txt:
3207   - Clarified field list usage.
3208   - Updated enumerated list description.
3209   - Clarified purpose of directives.
3210   - Added ``-/:`` characters to inline markup's start string prefix,
3211     ``/`` to end string suffix.
3212   - Updated "Authors" bibliographic field behavior.
3213   - Changed "inline hyperlink targets" to "inline internal targets".
3214   - Added "simple table" syntax to supplement the existing but
3215     newly-renamed "grid tables".
3216   - Added cautions for anonymous hyperlink use.
3217   - Added "Dedication" and generic bibliographic fields.
3219 * test: Made test modules standalone (subdirectories became packages).
3221 * test/DocutilsTestSupport.py:
3223   - Added support for PEP extensions to reStructuredText.
3224   - Added support for simple tables.
3225   - Refactored naming.
3227 * test/package_unittest.py: Renamed from UnitTestFolder.py.
3229   - Now supports true packages containing test modules
3230     (``__init__.py`` files required); fixes duplicate module name bug.
3232 * test/test_pep/: Subpackage added to project; PEP testing.
3234 * test/test_rst/test_SimpleTableParser.py: Added to project.
3236 * tools:
3238   - Updated html.py and publish.py front-end tools to use the new
3239     command-line processing facilities of ``docutils.frontend``
3240     (exposed in ``docutils.core.Publisher``), reducing each to just a
3241     few lines of code.
3242   - Added ``locale.setlocale()`` calls to front-end tools.
3244 * tools/buildhtml.py: Added to project; batch-generates .html from all
3245   the .txt files in directories and subdirectories.
3247 * tools/default.css:
3249   - Added support for ``header`` and ``footer`` elements.
3250   - Added styles for "Dedication" topics (biblio fields).
3252 * tools/docutils.conf: A configuration file; added to project.
3254 * tools/docutils-xml.py: Added to project.
3256 * tools/pep.py: Added to project; PEP to HTML front-end tool.
3258 * tools/pep-html-template: Added to project.
3260 * tools/pep2html.py: Added to project from Python (nondist/peps).
3261   Added support for Docutils (reStructuredText PEPs).
3263 * tools/quicktest.py:
3265   - Added the ``--attributes`` option, hacked a bit.
3266   - Added a second command-line argument (output file); cleaned up.
3268 * tools/stylesheets/: Subdirectory added to project.
3270 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
3273 Release 0.1 (2002-04-20)
3274 ========================
3276 This is the first release of Docutils, merged from the now inactive
3277 reStructuredText__ and `Docstring Processing System`__ projects.  For
3278 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
3279 `DPS HISTORY`__ files.
3281 __ http://structuredtext.sourceforge.net/
3282 __ http://docstring.sourceforge.net/
3283 __ http://structuredtext.sourceforge.net/HISTORY.html
3284 __ http://docstring.sourceforge.net/HISTORY.html
3286 General changes: renamed 'dps' package to 'docutils'; renamed
3287 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
3288 the test suites (reStructuredText's test/test_states renamed to
3289 test/test_rst); and all modifications required to make it all work.
3291 * docutils/parsers/rst/states.py:
3293   - Improved diagnostic system messages for missing blank lines.
3294   - Fixed substitution_reference bug.
3298    Local Variables:
3299    mode: indented-text
3300    indent-tabs-mode: nil
3301    sentence-end-double-space: t
3302    fill-column: 70
3303    End: