Fix [ 3601607 ] node.__repr__() must return `str` instance.
[docutils.git] / HISTORY.txt
blob5e770e8f562aa27248b606d316310c1bf5b1e634
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.10
17 ==================
19 * docutils/utils/__init__.py
21   - Fix [ 3596884 ] exception importing ``docutils.io``.
23 * docutils/writers/latex2e/__init__.py
25   - Drop the simple algorithm replacing straight double quotes with
26     English typographic ones.
27     Activate the SmartQuotes_ transform if you want this feature.
28   - Fix literal use of babel shorthands (straight quote, tilde, ...).
30 .. _SmartQuotes: docs/user/config.html#smart-quotes
32 Release 0.10 (2012-12-16)
33 =========================
35 * General
37   - Dropped support for Python 2.3.
38   - ``docutils/math``, ``docutils/error_reporting.py``, and
39     ``docutils/urischemes.py`` moved to the utils package.
40   - Fix [3541369] Relative __import__ also with Python 3.3.
41   - Fix [3559988] and [3560841] __import__ local writer, reader, languages
42     and parsers for Python 2.7 up.
43   - Fix import of PIL.Image.
44   - Change default of "syntax highlight" option to "long",
45     basic syntax highlight styles for LaTeX and HTML.
47 * docutils/io.py
49   - FileInput/FileOutput: no system-exit on IOError.  The `handle_io_errors`
50     option is ignored and will be removed in a future release.
51   - Fix Py3k error writing to stdout with encoding differing from default.
52   - Fix opening binary files under Py3k (thanks to Dominic Fitzpatrick).
54 * docutils/parsers/rst/directives/misc.py
56   - Fix [ 3546533 ] Unicode error with `date` directive.
58 * docutils/transforms/universal.py
60   - SmartQuotes transform for typographic quotes and dashes.
62 * docutils/utils/__init__.py
64   - normalize_language_tag() now returns `BCP 47`_ conformant tags
65     with subtags separated by ``-``.
67 * docutils/writers/html4css1/__init__.py
69   - Use ``<code>`` tag for inline "code",
70     do not drop nested inline nodes (syntax highlight tokens).
71   - Customizable MathJax URL (based on patch by Dmitry Shachnev).
72   - No line break after opening inline math tag.
74 * docutils/writers/manpage.py
76   - Apply [ 3527401 ] addmonition's don't preserve indentation
77   - Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.
79 , docutils/writers/xetex/__init__.py
81   - Apply [ 3555160 ] ensure order of "otherlanguages".
82   - Fix section numbering by LaTeX.
84 * docutils/writers/s5_html/__init__.py
86   - Fix [ 3556388 ] Mathjax does not work with rst2s5.
88 * docutils/writers/s5_html/docutils_xml.py
90   - Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.
92 * setup.py
94   - Tag ``math.css`` stylesheet as data file (patch by Dmitry Shachnev).
96 * tools/test/test_buildhtml.py
98   - Fix [ 3521167 ] allow running in any directory.
99   - Fix [ 3521168 ] allow running with Python 3.
102 Release 0.9.1 (2012-06-17)
103 ==========================
105 * setup.py
107   - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
108     installed in the PYTHONPATH. Converted tests are now
109     stored in ``test3/``, tools no longer need conversion.
111     If you installed one of Docutils versions 0.7 ... 0.9 with
112     ``setup.py install`` under Python 3, remove the spurious
113     ``test/`` and ``tools/`` directories in the site library root.
115 * test/
117   - Make tests independent from the location of the ``test/`` directory.
118   - Use converted sources (from the ``build/`` directory) for tests under
119     Python 3.
121 * tools/
123   - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
125 * docutils/io.py
127   - Fix writing binary data to sys.stdout under Python 3 (allows
128     ``rst2odt.py`` to be used with output redirection).
130 * docutils/parsers/rst/directives/misc.py
132   - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
133     ``locale == C`` and 8-bit char in path argument of `include` directive.
135 * test/alltests.py
137   - class `Tee`: catch UnicodeError when writing to "ascii" stream or
138     file under Python 3.
140 Release 0.9 (2012-05-02)
141 ========================
143 * General:
145   - New reStructuredText "code" role and directive and "code" option
146     of the "include" directive with syntax highlighting by Pygments_.
147   - Fix parse_option_marker for option arguments containing ``=``.
148   - Fix [ 2993756 ]: import Python Imaging Library's Image module
149     via ``import PIL`` as starting with PIL 1.2,
150     "PIL lives in the PIL namespace only" (announcement__).
152 .. _Pygments: http://pygments.org/
153 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
155 * setup.py
157   - Fix [ 2971827 ] and [ 3442827 ]
158     extras/roman.py moved to docutils/utils/roman.py
160 * docutils/frontend.py
162   - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
164 * docutils/io.py
166   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
167   - `mode` argument for FileOutput avoids code replication in
168     BinaryFileOutput.
169   - New exceptions InputError and OutputError for IO errors in
170     FileInput/FileOutput.
172 * docutils/core.py:
174   - No "hard" system exit on file IO errors: catch and report them in
175     `Publisher.reportException` instead. Allows handling by a calling
176     application if the configuration setting `traceback` is True.
178 * docutils/utils.py -> docutils/utils/__init__.py
180   - docutils.utils is now a package (providing a place for sub-modules)
182   .. note:: docutils/math, docutils/error_reporting.py, and
183      docutils/urischemes.py will move to the utils package in the next
184      release, too. See RELEASE-NOTES__
186      __ RELEASE-NOTES.html
188   - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
189     errors recording non-ASCII filenames (fixes [ 3434355 ]).
191   - Fix relative_path() with source=None and `unicode` target.
193 * docutils/parsers/rst/states.py
195   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
196     characters and "international" quotes around inline markup.
197   - Use `field_marker` pattern to look for start of a
198     directive option block (fixes [ 3484857 ]).
200 * docutils/parsers/rst/tableparser.py
202   - Fix [ 2926161 ] for simple tables.
203     (Combining chars in grid tables still contribute to cell width.)
205 * docutils/writers/latex2e/__init__.py
207   - Support the `abbreviation` and `acronym` standard roles.
208   - Record only files required to generate the LaTeX source as dependencies.
209   - Fix handling of missing stylesheets.
210   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
211     when suppressing LaTeX section numbering.
212   - Use ``\DUtitle`` for unsupported section levels
213   - Apply [ 3512791 ] do not compare string literals with "is"
215 * docutils/writers/xetex/__init__.py
217   - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
219 * docutils/writers/html4css1/__init__.py
221   - Change default for `math-output` setting to MathJax.
222   - Fix handling of missing stylesheets.
224 * docutils/writers/docutils_xml.py
226   - Use the visitor pattern with default_visit()/default_depart() methods
227     instead of minidom to facilitate special handling of selected nodes.
228   - Support raw XML (inserted as-is inside a <raw></raw> node).
230 * docutils/writers/manpage.py
232   - Do not emit comment line with trailing blank. Problematic for VCS.
234 Release 0.8.1 (2011-08-30)
235 ==========================
237 * General:
239   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
240     and [ 3395920 ] (correct copyright info for rst.el).
242 * test/
244   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
246 * docutils/writers/latex2e/__init__.py
248   - Clean up Babel language setting. Restores Sphinx compatibility.
250 Release 0.8 (2011-07-07)
251 ========================
253 * General:
255   - Handle language codes according to `BCP 47`_.
256   - If the specified language is not supported by Docutils,
257     warn and fall back to English.
258   - Math support: reStructuredText "math" role and directive,
259     ``math`` and ``math_block`` doctree elements.
260   - Decode command line arguments with the locale's preferred encoding
261     (to allow, e.g., ``--title=Dornröschen``).
262   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
263   - New sub-module `error_reporting`: handle encoding/decoding errors
264     when reporting exceptions.
265   - Some additions to the Docutils core are released under the 2-Clause BSD
266     license, see COPYING_ for details.
268   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
269   .. _COPYING: COPYING.html
271 * reStructuredText:
273   - Most directives now support a "name" option that attaches a
274     reference name.
276   - Directive content may start on the first line also when the directive
277     type accepts options.
279 * docs/dev/policies.txt:
281   - Recommend the 2-Clause BSD license
282     (http://www.spdx.org/licenses/BSD-2-Clause)
283     for code that is kept under the author's copyright.
285 * tools/buildhtml.py:
287   - Fix ``--local`` switch.
289 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
291 * docutils/writers/html4css1/__init__.py
293   - Set "lang" argument for objects with class argument
294     "language-<language tag>".
295   - New setting "math-output" with support for HTML, MathML, and LaTeX.
297 * docutils/writers/latex2e/__init__.py
299   - Fix [ 3043986 ] AttributeError using :local: with table of content.
300   - Place title data in the document preamble.
301   - Load `babel` package only if required.
302   - Update list of supported languages.
303   - New config setting "hyperref-options".
304     No hard-coded "unicode" hyperref option (clash with xetex).
305   - Set language for custom roles, paragraphs, block-quotes, and
306     line-quotes with class argument "language-<language tag>".
307   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
308   - Convert image URI to a local file path.
309   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
310     has more than one paragraph (Wolfgang Scherer).
311   - \leavevmode before longtable only when needed (prevents spurious vspace)
312   - do not advance table counter for tables without caption
314 * docutils/writers/xetex/__init__.py
316   - New writer generating LaTeX code for compiling with ``xelatex``.
318     A separate writer (inheriting from latex2e) instead of a ``--xetex``
319     option allows separate config options for XeTeX vs. LaTeX2e.
321 * docutils/writers/manpage.py
323   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
324   - Fix: vertical space cleaning for option group ``.``.
326 * tools/editors/emacs/rst.el:
328   - Fix [ 3001100 ] does not handle spaces in filenames
329     (thanks to Jakub Wilk)
331 * docutils/utils.py:
333   - strip whitespace from stylesheet arguments
334   - exclude combining chars from column_width()
335     (partial fix for [ 2926161 ])
337 * docutils/parsers/rst/directives/misc.py:
339   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
340     nested_parse
342 * docutils/io.py:
344   - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
345     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
347 Release 0.7 (2010-07-07)
348 ========================
350 * General:
352   - Fix [ 2881769 ] setup configuration.
353   - Fix [ 2788716 ] reporting problems in included files.
355 * docutils/io.py
357   - FileInput opens files as text files with universal newline support
358     (mode "rU", configurable with the new optional argument "mode").
360 * docutils/nodes.py
362   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
364 * docutils/utils.py
366   - Fix [ 2923723 ] let decode_path() tolerate path == None
368 * docutils/writers/html4css1/__init__.py
370   - Support SVG and SWF images (thanks to Stefan Rank).
371   - Generate valid XHTML for centered images with targets.
372     Use CSS classes instead of "align" tags for image alignment.
374 * docutils/writers/latex2e/__init__.py
376   - Use `transforms.writer_aux.Admonitions` to "normalize" special
377     admonitions.
378   - Use the ``\url`` command for URLs (breaks long URLs instead of
379     writing into the margin).
380   - Preserve runs of spaces in `inline literals`__.
381   - Deprecate ``figure_footnotes`` setting.
382   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
383   - New ``latex_preamble`` setting.
384   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
385   - Fix hyperlink targets (labels) for images, figures, and tables.
386   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
387   - Apply [ 2961991 ] Call hyperref with unicode option.
388   - Drop the special `output_encoding`__ default ("latin-1").
389     The Docutils wide default (usually "UTF-8") is used instead.
390   - Render inline markup in document title and subtitle.
391   - Fix numbering depth with LaTeX section numbering.
392   - Update Unicode -> LaTeX translations.
393   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
395 __ docs/ref/restructuredtext.html#inline-literals
396 __ docs/user/config.html#docutils-footnotes
397 __ docs/user/config.html#output_encoding
399 * docutils/writers/manpage.py
401   - Fix: supported attribute (thanks to peter2108).
402   - Remove trailing blanks in code (keep in sync with mercurial version).
403   - Titles level 1, that is ``.SH``, always uppercase.
404   - Apply patch from mg: literal text should be bold in man-pages.
406 * docutils/nodes.py
408   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
409     turkish locale.
411 * setup.py:
413   - Python 3 support: copy test/ and tools/ to the build-dir
414     and convert Python sources with 2to3.
417 Release 0.6 (2009-10-11)
418 ========================
420 * General:
422   - Docutils is now compatible with Python versions from 2.3 up to 2.6
423     and convertible to 3.1 code.
425     + Node.__nonzero__ returns True instead of 1.
426     + use os.walk instead os.path.walk.
427     + minimize "types" module where possible.
428     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
429     + Text nodes now subclass unicode rather than UserString
430       (which is gone in python 3.0).
431     + 3.0 compatibility module docutils._compat
433     + Drop 2.2 compatibility workarounds.
434     + Drop extras/optparse.py and extras/textwrap.py
435       (stdlib modules since 2.3).
437   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
438   - Unix man page export: manpage writer moved from sandbox to Doctutils
439     core.
441   - Apply [ 1719345 ] Galician translation
442   - Apply [ 1905741 ] Polish translation
443   - Apply [ 1878977 ] make_id(): deaccent characters.
444   - Apply [ 2029251 ] return nonzero when tests fail.
445   - Fix [ 1692788 ] allow UTF-8 in style sheets.
446   - Fix [ 2781629 ] support non-ASCII chars in file names.
447   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
448   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
449   - Fix [ 2821266 ] --strict option works now like --halt=info.
450   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
451   - Fix [ 1627229 ] hyperlink references in substitutions.
453   - The "newlatex" writer is orphaned.
455 * reStructuredText:
457   - Documented Unicode characters allowed as inline markup openers,
458     closers, and delimiters.
459   - Allow units for all length specifications.
460   - Allow percent sign in "scale" argument of "figure" and "image" directives.
461   - Bugfix: The "figalign" argument of a figure now works as intended
462     (aligning the figure, not its contents).
463   - Align images with class "align-[right|center|left]"
464     (allows setting the alignment of an image in a figure).
466 * docutils/nodes.py:
468   - Added ``Element.__contains__`` method, for the in-operator.
470 * docutils/parsers/rst/states.py:
472   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
473   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
474     " " (non-breaking space), and "¡ ¿" openers.
476 * docutils/parsers/directives/misc.py:
478   - Added ``start-line`` and ``end-line`` options to "include"
479     directive to select a range of lines.
480   - Hard tabs in literal inclusions are replaced by spaces. This is
481     configurable via the new ``tab-width`` option of the "include" directive
482     (a negative tab-width prevents tab expansion).
484 * docutils/utils.py:
486   - Add ``get_stylesheet_list`` function.
487   - Apply [ 2834836 ] print info at halt
489 * docutils/transforms/universal.py:
491   - Raise default priority of StripClasses to exclude stripped classes from
492     the ToC.
494 * docutils/writers/html4css1/__init__.py:
496   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
497     separated list of stylesheets.
498   - Address [ 1938891 ] Inline literal text creates "pre" span only when
499     needed to prevent inter-word line wraps.
500   - Use `translate` method instead of repeated `replace` calls.
501   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
502     classes to allow CSS styling that does not interfere with other
503     table-using constructs (field lists, citations, ...).
505 * docutils/writers/newlatex2e/__init__.py:
507   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
509 * docutils/writers/latex2e/__init__.py (see also
510   `<docs/user/docutils-05-compat.sty.html>`__) :
512   - Add ``--embed-stylesheet`` option.
513   - Apply [ 1474017 ] image vertical alignment is reversed.
514   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
515   - Change: has_key for dictionaries (not Nodes) to in-operator.
516   - Merge adjacent citations into one latex cite command.
517   - Failsave implementation of custom roles. LaTeX compilation now ignores
518     unknown classes instead of aborting with an error.
519   - Support custom roles based on standard roles.
520   - LaTeX packages can be used as ``--stylesheet`` arguments without
521     restriction. (A style sheet is now referenced with the ``\usepackage``
522     command, if it ends with ``.sty`` or has no extension.)
523   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
524   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
525   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
526     2005-02-04 as a configurable length unit).
527   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
528     if font-encoding is set to ''. LaTeX defaults to OT1 then.
529   - Set sub- and superscript role argument in text mode not as math.
530     Use a custom role based on sub-/superscript if you want italic shape.
531   - Shorter preamble and less dependencies: Load packages and define macros
532     only if required in the document.
533   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
534   - New custom environments and commands with optional "classes" argument.
535   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
536   - Better conformance to Docutils specifications with ``--use-latex-toc``.
537     Support for LaTeX generated ToC also with unnumbered sections.
538   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
539     section numbering by LaTeX.
540   - Use default font in admonitions and sidebar.
541   - Align of image in a figure defaults to 'center'.
542   - Bugfix: Newlines around targets and references prevent run-together
543     paragraphs.
544   - Fix internal hyperlinks.
545   - Use class defaults for page margins ('typearea' now optional).
546   - Float placement made configurable, default changed to "here definitely".
547   - Typeset generic topic as "quote block with title".
548   - Use template (file and configuration option).
549   - In the default template, load cmap.sty (fix text extraction in PDF) and
550     fixltx2e.sty (LaTeX patches, \textsubscript).
551   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
552   - Use `translate` instead of repeated `replace` calls for text encoding.
553   - Hyperlinked footnotes and support for symbol footnotes and
554     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
555   - Complete pairs of binary options
556     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
557     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
558   - New defaults:
559     - font-encoding: "T1" (formerly implicitely set by 'ae').
560     - use-latex-toc: true (ToC with page numbers).
561     - use-latex-footnotes: true (no mixup with figures).
563 * docutils/writers/manpage.py
565   - Do not print version at document end, this is done by the viewer.
566   - Do not print date at document end, this is done by the viewer.
567   - Fix storage of docinfo fields for none standard fields.
569 * docutils/tools/rst2man.py
571 Release 0.5 (2008-06-25)
572 ========================
574 * docutils/languages/he.py: Added to project: Hebrew mappings by
575   Meir Kriheli.
577 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
578   mappings by Meir Kriheli.
580 * docutils/frontend.py:
582   - Configuration files are now assumed and required to be
583     UTF-8-encoded.
584   - Paths of applied configuration files are now recorded in the
585     runtime setting ``_config_files`` (accessible via
586     ``--dump-settings``).
587   - Added ``--strip-elements-with-class`` and ``--strip-class``
588     options (``strip_elements_with_classes`` and ``strip_classes``
589     settings).
591 * docutils/io.py:
593   - Added code to determine the input encoding from data: encoding
594     declarations or the presence of byte order marks (UTF-8 & UTF-16).
595   - Added support for IronPython 1.0.
597 * docutils/nodes.py:
599   - Added ``document.__getstate__`` method, for pickling.
601 * docutils/parsers/rst/states.py:
603   - Allow ``+`` and ``:`` in reference names.
604   - Unquoted targets beginning with an underscore (``.. __target:
605     URI``) are no longer accepted.
606   - Added support for multiple attributions in a physical block quote
607     (indented text block), dividing it into multiple logical block
608     quotes.
609   - Added support for unicode bullets in bullet lists: "•", "‣", and
610     "⁃".
611   - Added support for new object-oriented directive interface,
612     retaining compatibility to the old functional interface.
613   - Added support for throwing ``DirectiveError``'s from within
614     directive code.
616 * docutils/parsers/rst/__init__.py:
618   - Added ``Directive`` base class.
619   - Added ``DirectiveError`` base class.
620   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
621     definitions.
623 * docutils/parsers/directives/:
625   - Refactored all reStructuredText directives to use the new
626     object-oriented directive interface.  Errors are now (mostly)
627     thrown using the new ``DirectiveError`` class.
629 * docutils/parsers/directives/misc.py:
631   - Added ``start-after`` and ``end-before`` options to ``include``
632     directive; thanks to Stefan Rank.
634 * docutils/transforms/universal.py:
636   - Added ``StripClassesAndElements`` transform to remove from the
637     document tree all elements with classes in
638     ``settings.strip_elements_with_classes`` and all "classes"
639     attribute values in ``self.document.settings.strip_classes``.
641 * docutils/transforms/writer_aux.py:
643   - Added ``Admonitions`` transform to transform specific admonitions
644     (like ``note``, ``warning``, etc.) into generic admonitions with a
645     localized title.
647 * docutils/writers/html4css1/__init__.py:
649   - Moved template functionality from the PEP/HTML writer here.
650   - Expanded the fragments available in the ``parts`` attribute.
651   - Moved ``id`` attributes from titles to surrounding ``div``
652     elements.
653   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
654     universally supported now).
655   - ``template.txt`` is now opened in text mode instead of binary mode
656     (to ensure Windows compatibility).
657   - ``a`` elements now have an "internal" or "external" class,
658     depending on reference type.
660 * docutils/writers/html4css1/template.txt: Added to project.
662 * docutils/writers/pep_html/:
664   - Moved template functionality to the HTML writer.
666 * docutils/writers/s5_html/__init__.py:
668   - Added ``view_mode`` & ``hidden_controls`` settings
669     (``--view-mode`` & ``--hidden-controls/--visible-controls``
670     options).
672 * docutils/writers/latex2e/__init__.py:
674   - Add ``--literal-block-env``
675   - Fix: escaping ``%`` in href urls.
676   - Move usepackage hyperref after stylesheet inclusion.
677   - Fix: scrartcl does not have chapter but scrreprt.
678   - Add newline after ``\end{verbatim}``.
679   - Merge smaller differences from latex2e_adaptive_preamble.
680   - Add ``use-part-section``.
681   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
682   - Using leavemode option_list no longer needs to check if parent
683     is a definition list.
684   - Append ``\leavemode`` to definition list terms.
685   - No longer write visit\_/depart_definition_list_item comments to
686     output.
687   - Table column width with 3 decimal places.
688   - Add table stubs support (boldfont).
689   - Add assemble_parts to writer.
690   - Add simply support for nested tables.
691   - Fix verbatim in tables if use-verbatim-when-possible.
692   - Use section commands down to subparagraph.
693   - Put ensuremath around some latin1 chars.
694   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
695   - New option ``--use-bibtex=style,db1,db2``.
696   - New option ``--reference-label`` to allow usage of LaTeX ref for
697     labels in section references.
698   - Add a label after every section to support sectionnumbers as reference
699     labels.
700   - Fix: bug# 1605376 rst2latex: bad options group list
701   - Remove inactive code for use_optionlist_for_option_list.
702   - Remove latex comments from option_list output.
703   - Fix: bug# 1612270 double qoutes in italian literal.
704   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
705   - Add option --use-latex-abstract.
706   - Image width unit ``px`` is translated to ``pt``.
707   - Add image height support.
708   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
709     bug #1457388
710   - Fix: Do not escape underscores in citation reference labels if
711     use-latex-citations is set.
712   - Use centering instead of center for figure contents, to avoid vertical
713     space.
714   - Recognize table class: borderless, nolines, booktabs, standard.
715   - Fix: Renaming contents section does not work with latex writer; SF
716     bug #1487405.
717   - Applied patch for custom roles with classes from Edward Loper.
718   - Fixed bug that caused crashes with more than 256 lists.
720 * docutils/writers/pep_html/__init__.py:
722   - Changed to support new python.org website structure and
723     pep2pyramid.py.
725 * docs/howto/security.txt: "Deploying Docutils Securely", added to
726   project.
728 * tools/buildhtml.py:
730   -- Added ``ignore`` setting to exclude a list of shell patterns
731      (default: ``.svn:CVS``).
733 * tools/editors/emacs/rst.el:
735   - Changed license to "GPL".
736   - Added ``rst-straighten-decorations`` function.
737   - The ``compile`` module is now always loaded.
738   - Added ``rst-toggle-line-block`` function.
739   - Headings consisting only of non-ASCII characters are now
740     recognized by ``rst-toc`` and ``rst-adjust``.
741   - Added font-lock support for multi-line comments where the first
742     comment line is empty.
743   - Added ``(require 'font-lock)``.
745 * setup.py:
747   - Provide descriptive error message if distutils is missing.
750 Release 0.4 (2006-01-09)
751 ========================
753 * General:
755   - Updated the project policies for trunk/branch development &
756     version numbering.
758 * docutils/__init__.py:
760   - Added ``__version_details__`` attribute to describe code source
761     (repository/snapshot/release).
762   - Replaced ``default_transforms`` attribute of TransformSpec with
763     ``get_transforms()`` method.
765 * docutils/core.py:
767   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
768     functions, for document tree extraction and reprocessing.
770 * docutils/io.py:
772   - Added ``DocTreeInput`` class, for reprocessing existing documents.
773   - Added support for non-Unicode (e.g. binary) writer output.
775 * docutils/nodes.py:
777   - Re-introduced ``Targetable.indirect_reference_name``, for
778     MoinMoin/reST compatibility (removed in r3124/r3129).
779   - Added ``serial_escape`` function; escapes string values that are
780     elements of a list, for serialization.  Modified Docutils-XML
781     writing (``Element._dom_node``) and pseudo-XML writing
782     (``Element.starttag``) to use ``serial_escape``.
783   - Added ``Node.deepcopy()`` method.
784   - Removed the internal lists ``document.substitution_refs``,
785     ``document.anonymous_refs``, and ``document.anonymous_targets``.
786   - Added a "container" element.
787   - Fixed bug where values of list-valued attributes of elements
788     originating from custom interpreted text roles (i.e., with custom
789     classes) were being shared between element instances.  Reported by
790     Shmuel Zeigerman.
792 * docutils/statemachine.py:
794   - Added trailing whitespace stripping to ``string2lines()``.
795   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
796     Asian double-width character support.
798 * docutils/utils.py:
800   - Added ``east_asian_column_width()`` for double-width character
801     support.
803 * docutils/languages/ja.py: Added to project: Japanese mappings by
804   Hisashi Morita.
806 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
807   mappings by Panjunyong.
809 * docutils/parsers/null.py: Added to project; a do-nothing parser.
811 * docutils/parsers/rst/__init__.py:
813   - Added validator to tab_width setting, with test.  Closes SF bug
814     #1212515, report from Wu Wei.
816 * docutils/parsers/rst/states.py:
818   - Fixed bug with escaped colons indicating a literal block.
819   - Fixed bug with enumerated lists (SF#1254145).
820   - Backslash-escaped colons inside of field names are now allowed.
821   - Targets (implicit and explicit), anonymous hyperlink references
822     and auto-numbered footnote references inside of substitution
823     definitions are now disallowed.
824   - Fixed bug: list items with blank first lines.
825   - Fixed bug: block quote attributions with indented second lines.
826   - Added East Asian double-width character support (Python 2.4 only).
828 * docutils/parsers/rst/tableparser.py:
830   - Added East Asian double-width character support (Python 2.4 only).
832 * docutils/parsers/rst/directives/body.py:
834   - Added the "container" directive.
836 * docutils/parsers/rst/directives/misc.py:
838   - Added the "default-role", "title", and "date" directives.
839   - Added standard data file syntax to the "include" directive.
840   - Added support for "class" directive content.
842 * docutils/parsers/rst/directives/images.py:
844   - Added ``indirect_reference_name`` support for images with a target
845     option.
846   - Added support for image width and height units.
847   - Fixed bug with image "target" options.
849 * docutils/parsers/rst/directives/references.py:
851   - Added "class" attribute to "target-notes" directive, for
852     footnote_reference classes.
854 * docutils/parsers/rst/include/: Directory added to project; contains
855   standard data files for the "include" directive.  Initial contents:
856   character entity substitution definition sets, and a set of
857   definitions for S5/HTML presentations.
859 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
860   mappings by David Goodger.
862 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
863   Simplified Chinese mappings by Panjunyong.
865 * docutils/readers/__init__.py:
867   - Added universal.Decorations and universal.ExposeInternals
868     transforms as default transforms for all readers.
869   - Added ``ReReader`` base class for readers that reread an existing
870     document tree.
872 * docutils/readers/doctree.py: Added to project; a reader for existing
873   document trees.
875 * docutils/transforms/frontmatter.py:
877   - Fixed the DocInfo transform to handle SVN-style expansion of the
878     "Date" keyword.
879   - In ``DocInfo.extract_authors``, treat the contents of "authors"
880     fields uniformly.
882 * docutils/transforms/misc.py:
884   - Added misc.Transitions transform, extracted from
885     universal.FinalChecks.
887 * docutils/transforms/references.py:
889   - Added references.DanglingReferences transform, extracted from
890     universal.FinalChecks.
891   - Fixed bug with doubly-indirect substitutions.
892   - Added footnote_reference classes attribute to "TargetNotes".
893   - Fixed bug with circular substitution definitions that put Docutils
894     into an infinite loop.
896 * docutils/transforms/universal.py:
898   - Added universal.ExposeInternals transform, extracted from
899     universal.FinalChecks.
900   - Removed universal.FinalChecks transform (logic has been moved to
901     several new transforms).
902   - Fixed bug with the "expose_internals" setting and Text nodes
903     (exposed by the "rawsource" internal attribute).
904   - Added the universal.StripComments transform, implementation of the
905     "strip_comments" setting.
907 * docutils/transforms/writer_aux.py: Added to project; auxiliary
908   transforms for writers.
910   - Added ``Compound`` transform, which flattens compound paragraphs.
912 * docutils/writers/: Several writer modules (html4css1.py) were
913   converted into packages.  Support modules and data files have been
914   moved into the packages.  The stylesheets for the HTML writers are
915   now installed along with the code, the code knows where to find
916   them, and the default is to use them (actually, to embed them).
917   Some adjustments to configuration files may be necessary.  The
918   easiest way to obtain the new default behavior is to remove all
919   settings whose name includes "stylesheet".
921 * docutils/writers/__init__.py:
923   - Added universal.Messages and universal.FilterMessages transforms
924     as default transforms for all writers.
925   - Added ``UnfilteredWriter`` base class for writers that pass the
926     document tree on unchanged.
928 * docutils/writers/docutils_xml.py:
930   - Made ``xmlcharrefreplace`` the default output encoding error
931     handler.
933 * docutils/writers/html4css1/:
935   - Added support for image width and height units.
936   - Made ``xmlcharrefreplace`` the default output encoding error
937     handler.
938   - Made ``--embed-stylesheet`` the default rather than
939     ``--link-stylesheet``.
940   - Moved "id" attribute from container (section etc.) to title's <a>
941     tag, to be on the same tag as "name".
942     (!!! To be reverted in Docutils 0.5.)
943   - Added vertical space between fields of field lists.
944   - Added ``--compact-field-lists`` option to remove vertical space in
945     simple field lists.
946   - Made cloaking of email addresses with ``--cloak-email-addresses``
947     less obtrusive.
948   - Fixed support for centered images.
949   - Added support for class="compact" & class="open" lists.
951 * docutils/writers/latex2e/:
953   - Underscores in citekeys are no longer escaped.
955 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
956   mapping of Unicode characters to LaTeX equivalents.
958 * docutils/writers/s5_html/: Package added to project; writer for
959   S5/HTML slide shows.
961 * docs/dev/distributing.txt: Added to project; guide for distributors
962   (package maintainers).
964 * docs/dev/hacking.txt: Added to project; guide for developers.
966 * docs/ref/doctree.txt:
968   - Updated for plural attributes "classes", "ids", "names",
969     "dupnames".
970   - Added the "container" element.
972 * docs/ref/docutils.dtd:
974   - Updated for plural attributes "classes", "ids", "names",
975     "dupnames".
977 * docs/user/emacs.txt: Added to project; a document about Emacs
978   support for reStructuredText and Docutils.
980 * docs/user/links.txt: Added to project; lists of Docutils-related
981   links.
983 * docs/user/mailing-lists.txt: Added to project; information about
984   Docutils-related mailing lists and how to access them.
986 * docs/user/slide-shows.txt: Added to project; example of and docs for
987   the S5/HTML writer (``rst2s5.py`` front end).
989 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
990   Files", added to project.
992 * test/coverage.sh: Added to project; test coverage script.
994 * test/DocutilsTestSupport.py:
996   - Added support for specifying runtime settings at the suite level.
998 * test/test_functional.py:
1000   - Added the ``clear_output_directory`` function.
1001   - Added support for ``_test_more`` functions in functional test
1002     config files.
1004 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
1006 * tools/rstpep2html.py: Renamed from pep.py.
1008 * tools/dev/create_unimap.py: Added to project; script to create the
1009   docutils/writers/unimap_latex.py mapping file.
1011 * tools/dev/profile_docutils.py: Added to project; profiler script.
1013 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
1015 * tools/editors/emacs/restructuredtext.el,
1016   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
1017   Removed from project; the functionality is now contained in rst.el.
1019 * tools/editors/emacs/rst.el: Added to project.  Added many features
1020   and fixed many bugs.  See docs/user/emacs.txt for details.
1022 * tools/stylesheets: Removed from project.  Stylesheets have been
1023   renamed and moved into writer packages.
1026 Release 0.3.9 (2005-05-26)
1027 ==========================
1029 * General:
1031   - Eliminated and replaced all uses of the old string attributes
1032     ``id``, ``name``, ``dupname`` and ``class`` with references to the
1033     new list attributes ``ids``, ``names``, ``dupnames`` and
1034     ``classes`` throughout the whole source tree.
1036 * docutils/core.py:
1038   - Enabled ``--dump-*`` options when ``--traceback`` specified,
1039     allowing for easier debugging.
1040   - In ``Publisher.publish()``, expanded the generic top-level
1041     exception catching.
1043 * docutils/examples.py:
1045   - Added ``internals`` function for exploration.
1047 * docutils/io.py:
1049   - Fixed ``Input.decode`` method to apply heuristics only if no
1050     encoding is explicitly given, and to provide better reporting of
1051     decoding errors.
1052   - The ``Input.decode`` method now removes byte order marks (BOMs)
1053     from input streams.
1055 * docutils/nodes.py:
1057   - ``image`` element class changed to subclass of Element, not
1058     TextElement (it's an empty element, and cannot contain text).
1059   - Added ``attr_defaults`` dictionary for default attribute values.
1060   - Added empty list as default value for the following attributes:
1061     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
1062   - Added ``document.decoration`` attribute,
1063     ``document.get_decoration`` method, and ``decoration.get_header``
1064     & ``.get_footer`` methods.
1065   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
1066     methods.
1068 * docutils/utils.py:
1070   - Removed ``docutils.utils.Reporter.categories``,
1071     ``docutils.utils.ConditionSet``, and all references to them, to
1072     simplify error reporting.
1074 * docutils/languages/nl.py: Added to project; Dutch mappings by
1075   Martijn Pieters.
1077 * docutils/parsers/rst/__init__.py:
1079   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
1081 * docutils/parsers/rst/states.py:
1083   - Added check for escaped at-mark to prevent email address recognition.
1084   - Fixed option lists to allow spaces inside ``<angle-bracketed option
1085     arguments>``.
1086   - Allowed whitespace in paths and URLs.
1087   - Added auto-enumerated list items.
1088   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
1089     followed by text.
1090   - Added support for table stub columns.
1092 * docutils/parsers/rst/directives/__init__.py:
1094   - Allowed whitespace in paths (``path`` function).
1095   - Added ``uri`` directive option conversion function.
1097 * docutils/parsers/rst/directives/body.py:
1099   - Fixed illegal context bug with "topic" directive (allowed within
1100     sidebars; not within body elements).
1102 * docutils/parsers/rst/directives/images.py:
1104   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1105   - Added support for the ``file_insertion_enabled`` setting in the
1106     "figure" directive (disables "figwidth" option).
1107   - "image" directive: added checks for valid values of "align" option,
1108     depending on context.  "figure" directive: added specialized
1109     "align" option and attribute on "figure" element.
1110   - Made ":figwidth: image" option of "figure" directive work again.
1111   - Fixed bug with reference names containing uppercase letters
1112     (e.g. ``Name_``) in "target" option of "image" directive.
1114 * docutils/parsers/rst/directives/misc.py:
1116   - Fixed "include" and "raw" directives to catch text decoding
1117     errors.
1118   - Allowed whitespace in "include" & "raw" directive paths.
1119   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1120     settings in "include" & "raw" directives.
1122 * docutils/parsers/rst/directives/parts.py:
1124   - Added "header" & "footer" directives.
1125   - Fixed illegal context bug with "contents" directive (topics
1126     allowed within sidebars; not within body elements).
1128 * docutils/parsers/rst/directives/tables.py:
1130   - Added "list-table" directive.
1131   - Caught empty CSV table bug.
1132   - Added support for the ``file_insertion_enabled`` setting in the
1133     "csv-table" directive.
1134   - Added ``stub-columns`` option to "csv-table" and "list-table"
1135     directives.
1137 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1138   mappings by Martijn Pieters.
1140 * docutils/readers/standalone.py:
1142   - Added ``--section-subtitles`` and ``--no-section-subtitles``
1143     options to activate or deactivate the SectSubTitle transform.
1145 * docutils/transforms/frontmatter.py:
1147   - Added SectSubTitle transform to promote titles of lone
1148     subsections to subtitles.
1150 * docutils/transforms/references.py:
1152   - Fixed mislocated internal targets bug, by propagating internal
1153     targets to the next node, making use of the newly added support
1154     for multiple names and IDs.
1155   - Fixed duplicate footnote label bug.
1156   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1157     transform.
1159 * docutils/writers/html4css1.py:
1161   - Fixed unencoded stylesheet reference bug (characters like "&" in
1162     stylesheet references).
1163   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1164     tags).
1165   - Added support for multiple IDs per node by creating empty ``span``
1166     tags.
1167   - Added the ``field_name_limit`` & ``option_limit`` settings &
1168     support.
1169   - Added support for table stub columns.
1170   - Added support for the ``align`` attribute on ``figure`` elements.
1171   - Added the ``cloak_email_addresses`` setting & support.
1172   - Added ``html_prolog``, ``html_head``, ``html_body``,
1173     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1174     ``docutils.core.publish_parts``.
1175   - Added support for section subtitles.
1177 * docutils/writers/latex2e.py:
1179   - Fixed tables starting with more than one multirow cell.
1180   - Improved --use-latex-docinfo so that organization/contact/address
1181     fields are lumped with the last author field and appear on the
1182     titlepage.
1183   - Made sure the titlepage is always shown with --use-latex-docinfo,
1184     even if the document has no title.
1185   - Made sure that latex doesn't fill in today's date if no date field
1186     was given.
1187   - Added support for section subtitles.
1189 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1190   (under development).
1192 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1194 * docs/api/publisher.txt:
1196   - Added "``publish_parts`` Details" section.
1198 * docutils/dev/repository.txt: Added to project; information about the
1199   Docutils Subversion repository.
1201 * docs/ref/docutils.dtd:
1203   - Added a ``stub`` attribute to the ``colspec`` element via the
1204     ``tbl.colspec.att`` parameter entity.
1205   - Allowed topic elements within sidebars
1206   - Added an ``align`` attribute to the ``figure`` element.
1208 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1209   writer.
1212 Release 0.3.7 (2004-12-24)
1213 ==========================
1215 * docutils/frontend.py:
1217   - Added options: --input-encoding-error-handler,
1218     --record-dependencies, --leave-footnote-reference-space,
1219     --strict-visitor.
1220   - Added command-line and config file support for "overrides" setting
1221     parameter.
1223 * docutils/io.py:
1225   - Added support for input encoding error handler.
1227 * docutils/nodes.py:
1229   - Added dispatch_visit and dispatch_departure methods to
1230     NodeVisitor; useful as a hook for Visitors.
1231   - Changed structure of ``line_block``; added ``line``.
1232   - Added ``compound`` node class.
1233   - Added a mechanism for Visitors to transitionally ignore new node
1234     classes.
1236 * docutils/utils.py:
1238   - Moved ``escape2null`` and ``unescape`` functions from
1239     docutils/parsers/rst/states.py.
1241 * docutils/parsers/rst/roles.py:
1243   - Added "raw" role.
1244   - Changed role function API: the "text" parameter now takes
1245     null-escaped interpreted text content.
1247 * docutils/parsers/rst/states.py:
1249   - Fixed bug where a "role" directive in a nested parse would crash
1250     the parser; the state machine's "language" attribute was not being
1251     copied over.
1252   - Added support for line block syntax.
1253   - Fixed directive parsing bug: argument-less directives didn't
1254     notice that arguments were present.
1255   - Removed error checking for transitions.
1256   - Added support for multiple classifiers in definition list items.
1257   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1258   - Changed role function API: the "text" parameter now takes
1259     null-escaped interpreted text content.
1260   - Empty sections and documents are allowed now.
1262 * docutils/parsers/rst/directives/__init__.py:
1264   - Added ``encoding`` directive option conversion function.
1265   - Allow multiple class names in class_option conversion function.
1267 * docutils/parsers/rst/directives/body.py:
1269   - Converted the line-block directive to use the new structure.
1270   - Extracted the old line-block functionality to the ``block``
1271     function (still used).
1272   - Added ``compound`` directive (thanks to Lea Wiemann).
1274 * docutils/parsers/rst/directives/misc.py:
1276   - Added "encoding" option to "include" and "raw" directives.
1277   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1278   - Allow multiple class names in the "class" directive.
1280 * docutils/parsers/rst/directives/parts.py:
1282   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1283     options.  Thanks to Lele Gaifax.
1285 * docutils/parsers/rst/directives/tables.py:
1287   - Added "encoding" directive to "csv-table" directive.
1288   - Added workaround for lack of Unicode support in csv.py, for
1289     non-ASCII CSV input.
1291 * docutils/transforms/misc.py:
1293   - Fixed bug when multiple "class" directives are applied to a single
1294     element.
1295   - Enabled multiple format names for "raw" directive.
1297 * docutils/transforms/references.py:
1299   - Added support for trimming whitespace from beside substitution
1300     references.
1302 * docutils/transforms/universal.py:
1304   - FinalChecks now checks for illegal transitions and moves
1305     transitions between sections.
1307 * docutils/writers/html4css1.py:
1309   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1310   - "stylesheet" and "stylesheet_path" settings are now mutually
1311     exclusive.
1312   - Added support for the new line_block/line structure.
1313   - --footnote-references now overrides
1314     --trim-footnote-reference-space, if applicable.
1315   - Added support for ``compound`` elements.
1316   - Enabled multiple format names for "raw" directive.
1317   - ``<p>`` tags of a paragraph which is the only visible child of the
1318     document node are no longer stripped.
1319   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1320     new method ``should_be_compact_paragraph()``.
1321   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1322     elements.
1323   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1324     the output if they have their ``class`` attribute set.
1325   - The whole document is now surrounded by a ``<div
1326     class="document">`` element.
1327   - Body-level images are now wrapped by their own ``<div>`` elements,
1328     with image classes copied to the wrapper, and for images which
1329     have the ``:align:`` option set, the surrounding ``<div>`` now
1330     receives a class attribute (like ``class="align-left"``).
1332 * docutils/writers/latex2e.py:
1334   - no newline after depart_term.
1335   - Added translations for some Unicode quotes.
1336   - Added option "font-encoding", made package AE the default.
1337   - "stylesheet" and "stylesheet_path" settings are now mutually
1338     exclusive.
1339   - --footnote-references now overrides
1340     --trim-footnote-reference-space, if applicable.
1341   - The footnote label style now matches the footnote reference style
1342     ("brackets" or "superscript").
1343   - Added support for ``compound`` elements.
1344   - Enabled multiple format names for "raw" directive.
1346 * docs/ref/docutils.dtd:
1348   - Changed structure of the ``line_block`` element; added ``line``.
1349   - Added ``compound`` element.
1350   - Added "ltrim" and "rtrim" attributes to
1351     ``substitution_definition`` element.
1352   - Enabled multiple format names for ``raw`` element.
1353   - Enabled multiple classifiers in ``definition_list_item`` elements.
1355 * docs/ref/rst/directives.txt
1357   - Marked "line-block" as deprecated.
1358   - "Class" directive now allows multiple class names.
1359   - Added "Rationale for Class Attribute Value Conversion".
1360   - Added warning about "raw" overuse/abuse.
1362 * docs/ref/rst/restructuredtext.txt:
1364   - Added syntax for line blocks.
1365   - Definition list items may have multiple classifiers.
1367 * docs/ref/rst/roles.txt:
1369   - Added "raw" role.
1371 * tools/stylesheets/default.css:
1373   - Added support for the new line_block structure.
1374   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1377 Release 0.3.5 (2004-07-29)
1378 ==========================
1380 General:
1382 * _`Documentation cleanup/reorganization`.
1384   - Created new subdirectories of docs/:
1386     * ``docs/user/``: introductory/tutorial material for end-users
1387     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1388     * ``docs/api/``: API reference material for client-developers
1389     * ``docs/ref/``: reference material for all groups
1390     * ``docs/howto/``: for component-developers and core-developers
1391     * ``docs/peps/``: Python Enhancement Proposals
1393   - Moved ``docs/*`` to ``docs/user/``.
1394   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1395     ``spec/`` to ``docs/dev``.
1396   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1397     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1398   - Moved ``alternatives.txt``, and ``problems.txt`` from
1399     ``spec/rst/`` to ``docs/dev/rst/``.
1400   - Moved ``reStructuredText.txt``, ``directives.txt``,
1401     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1402     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1403     ``roles.txt``, ``reStructuredText.txt`` to
1404     ``restructuredtext.txt``.
1405   - Moved ``spec/howto/`` to ``docs/howto``.
1407   In order to keep the CVS history of moved files, we supplied
1408   SourceForge with a `script for modifying the Docutils CVS
1409   repository`__.
1411   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1413   After running the cleanup script:
1415   - Added ``docs/index.txt``.
1416   - Added a ``.htaccess`` file to the ``web`` module, containing
1417     redirects for all old paths to new paths.  They'll preserve
1418     fragments (the "#name" part of a URL), and won't clutter up the
1419     file system, and will correct the URL in the user's browser.
1420   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1421     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1422     the "To Do" list itself in ``docs/dev/todo.txt``.
1423   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1424     section of ``docs/dev/todo.txt``.
1425   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1426   - Added "How To Report Bugs" to ``BUGS.txt``.
1427   - Went through all the sources and docs (including under web/) and
1428     updated links.  Mostly done by Lea Wiemann; thanks Lea!
1429     (Still need to update links in the sandboxes.)
1431 Specific:
1433 * BUGS.txt: Added to project.
1435 * THANKS.txt: Added to project.
1437 * docutils/__init__.py:
1439   - 0.3.4: Post-release.
1441 * docutils/core.py:
1443   - Added special error handling & advice for UnicodeEncodeError.
1444   - Refactored Publisher.publish (simplified exception handling &
1445     extracted debug dumps).
1446   - Renamed "enable_exit" parameter of convenience functions to
1447     "enable_exit_status".
1448   - Enabled traceback (exception propagation) by default in
1449     programmatic convenience functions.
1450   - Now publish_file and publish_cmdline convenience functions return
1451     the encoded string results in addition to their regular I/O.
1452   - Extracted common code from publish_file, publish_string, and
1453     publish_parts, into new publish_programmatically.  Extracted
1454     settings code to ``Publisher.process_programmatic_settings``.
1455   - In Publisher.publish, disabled ``settings_overrides`` when
1456     ``settings`` is supplied; redundant.
1458 * docutils/frontend.py:
1460   - Added help text for "--output-encoding-error-handler" and
1461     "--error-encoding-error-handler".
1462   - Renamed "--exit" to "--exit-status".
1463   - Simplified default-setting code.
1465 * docutils/parsers/rst/__init__.py:
1467   - Added "--pep-base-url" and "--rfc-base-url" options.
1469 * docutils/parsers/rst/states.py:
1471   - Made URI recognition more aggressive and intelligent.
1473 * docutils/parsers/rst/directives/__init__.py:
1475   - Added several directive option conversion functions.
1477 * docutils/parsers/rst/directives/body.py:
1479   - Moved "table" directive to tables.py.
1481 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1482   added to project.
1484 * docutils/writers/latex2e.py:
1486   - Added "--table-style=(standard|booktabs|nolines)"
1487   - figures get "here" option (LaTeX per default puts them at bottom),
1488     and figure content is centered.
1489   - Rowspan support for tables.
1490   - Fix: admonition titles before first section.
1491   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1492   - Replave ``_`` in literal by an underlined blank, because it has the correct
1493     width.
1494   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1495   - A few unicode replacements, if output_encoding != utf
1496   - Add "--graphicx-option".
1497   - Indent literal-blocks.
1498   - Fix: omit ``\maketitle`` when there is no document title.
1500 * docs/index.txt: "Docutils Project Documentation Overview", added to
1501   project.
1503 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1504   Tool", added to project.
1506 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1508 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1510 * docs/dev/policies.txt: Added to project (extracted from
1511   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1513 * docs/dev/release.txt: Added to project (extracted from
1514   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1516 * docs/dev/testing.txt: Added to project.
1518 * docs/dev/website.txt: Added to project (extracted from
1519   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1521 * docs/ref/rst/directives.txt:
1523   - Added directives: "table", "csv-table".
1525 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1526   added to project.  1 page for syntax, and a 1 page reference for
1527   directives and roles.  Source text to be used as-is; not meant to be
1528   converted to HTML.
1530 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1531   with a change of title.
1533 * test/functional/, contents, and test/test_functional.py: Added to
1534   project.
1536 * tools/buildhtml.py: Fixed bug with config file handling.
1538 * tools/html.py: Removed from project (duplicate of rst2html.py).
1540 * tools/pep2html.py: Removed from project (duplicate of Python's
1541   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1542   Docutils-related PEPs in docs/peps/).
1544 * tools/rst2pseudoxml.py: Renamed from publish.py.
1546 * tools/rst2xml.py: Renamed from docutils-xml.py.
1548 * tools/test.txt: Removed from project; moved to
1549   docs/user/rst/demo.txt.
1551 * setup.py: Now also installs ``rst2latex.py``.
1554 Release 0.3.3 (2004-05-09)
1555 ==========================
1557 * docutils/__init__.py:
1559   - 0.3.1: Reorganized config file format (multiple sections); see
1560     docs/config.txt.
1561   - Added unknown_reference_resolvers attribute to TransformSpec.
1562   - 0.3.2: Interpreted text reorganization.
1563   - 0.3.3: Released.
1565 * docutils/core.py:
1567   - Catch system messages to stop tracebacks from parsing errors.
1568   - Catch exceptions during processing report & exit without
1569     tracebacks, except when "--traceback" used.
1570   - Reordered components for OptionParser; application comes last.
1571   - Added "config_section" parameter to several methods and functions,
1572     allowing front ends to easily specify their config file sections.
1573   - Added publish_parts convenience function to allow access to individual
1574     parts of a document.
1576 * docutils/examples.py: Added to project; practical examples of
1577   Docutils client code, to be used as-is or as models for variations.
1579 * docutils/frontend.py:
1581   - Added "--traceback" & "--no-traceback" options ("traceback"
1582     setting).
1583   - Implemented support for config file reorganization:
1584     ``standard_config_files`` moved from ``ConfigParser`` to
1585     ``OptionParser``; added
1586     ``OptionParser.get_config_file_settings()`` and
1587     ``.get_standard_config_settings()``; support for old "[options]"
1588     section (with deprecation warning) and mapping from old to new
1589     settings.
1590   - Reimplemented setting validation.
1591   - Enabled flexible boolean values: yes/no, true/false, on/off.
1592   - Added ``Values``, a subclass of ``optparse.Values``, with support
1593     for list setting attributes.
1594   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1595     thanks to Beni Cherniavsky.
1596   - Added "--no-section-numbering" option.
1598 * docutils/io.py:
1600   - Catch IOErrors when opening source & destination files, report &
1601     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1602     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1604 * docutils/nodes.py:
1606   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1607     method definitions (via ``exec``) to dynamic assignments (via
1608     ``setattr``); thanks to Roman Suzi.
1609   - Encapsulated visitor dynamic assignments in a function; thanks to
1610     Ian Bicking.
1611   - Added indirect_reference_name attribute to the Targetable
1612     class. This attribute holds the whitespace_normalized_name
1613     (contains mixed case) of a target.
1615 * docutils/statemachine.py:
1617   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1618   - Added ``StringList.get_2D_block``.
1620 * docutils/utils.py:
1622   - Added "level" attribute to SystemMessage exceptions.
1624 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1625   Jannie Hofmeyr.
1627 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1628   Blaha.
1630 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1631   Marcelo Huerta San Martin.
1633 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1634   mappings by Lalo Martins.
1636 * docutils/languages/ru.py: Added to project; Russian mappings by
1637   Roman Suzi.
1639 * docutils/parsers/rst/roles.py: Added to project.  Contains
1640   interpreted text role functions, a registry for interpreted text
1641   roles, and an API for adding to and retrieving from the registry.
1642   Contributed by Edward Loper.
1644 * docutils/parsers/rst/states.py:
1646   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1647   - Allowed true em-dash character and "---" as block quote
1648     attribution marker.
1649   - Added support for <angle-bracketed> complex option arguments
1650     (option lists).
1651   - Fixed handling of backslashes in substitution definitions.
1652   - Fixed off-by-1 error with extra whitespace after substitution
1653     definition directive.
1654   - Added inline markup parsing to field lists' field names.
1655   - Added support for quoted (and unindented) literal blocks.
1656     Driven in part by a bribe from Frank Siebenlist (thanks!).
1657   - Parser now handles escapes in URIs correctly.
1658   - Made embedded-URIs' reference text omittable.  Idea from Beni
1659     Cherniavsky.
1660   - Refactored explicit target processing code.
1661   - Added name attribute to references containing the reference name only
1662     through whitespace_normalize_name (no case changes).
1663   - parse_target no longer returns the refname after going through
1664     normalize_name. This is now handled in make_target.
1665   - Fixed bug relating to role-less interpreted text in non-English
1666     contexts.
1667   - Reorganized interpreted text processing; moved code into the new
1668     roles.py module.  Contributed by Edward Loper.
1669   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1670     ``parse_directive_block``.
1672 * docutils/parsers/rst/tableparser.py:
1674   - Reworked for ``StringList``, to support "include" directives in
1675     table cells.
1677 * docutils/parsers/rst/directives/__init__.py:
1679   - Renamed ``unchanged()`` directive option conversion function to
1680     ``unchanged_required``, and added a new ``unchanged``.
1681   - Catch unicode value too high error; fixes bug 781766.
1682   - Beefed up directive error reporting.
1684 * docutils/parsers/rst/directives/body.py:
1686   - Added basic "table" directive.
1688 * docutils/parsers/rst/directives/images.py:
1690   - Added "target" option to "image" directive.
1691   - Added name attribute to references containing the reference name only
1692     through whitespace_normalize_name (no case changes).
1694 * docutils/parsers/rst/directives/misc.py:
1696   - Isolated the import of the ``urllib2`` module; was causing
1697     problems on SourceForge (``libssl.so.2`` unavailable?).
1698   - Added the "role" directive for declaring custom interpreted text
1699     roles.
1701 * docutils/parsers/rst/directives/parts.py:
1703   - The "contents" directive does more work up-front, creating the
1704     "topic" and "title", and leaving the "pending" node for the
1705     transform.  Allows earlier reference resolution; fixes subtle bug.
1707 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1708   mappings by Jannie Hofmeyr.
1710 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1711   mappings by Marek Blaha.
1713 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1714   mappings by Marcelo Huerta San Martin.
1716 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1717   Portuguese mappings by Lalo Martins.
1719 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1720   mappings by Roman Suzi.
1722 * docutils/transforms/parts.py:
1724   - The "contents" directive does more work up-front, creating the
1725     "topic" and "title", and leaving the "pending" node for the
1726     transform.  Allows earlier reference resolution; fixes subtle bug.
1727   - Added support for disabling of section numbering.
1729 * docutils/transforms/references.py:
1731   - Verifying that external targets are truly targets and not indirect
1732     references. This is because we are now adding a "name" attribute to
1733     references in addition to targets. Note sure if this is correct!
1734   - Added code to hook into the unknown_reference_resolvers list for a
1735     transformer in resolve_indirect_target. This allows the
1736     unknown_reference_resolvers to keep around indirect targets which
1737     docutils doesn't know about.
1738   - Added specific error message for duplicate targets.
1740 * docutils/transforms/universal.py:
1742   - Added FilterMessages transform (removes system messages below the
1743     verbosity threshold).
1744   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1745     to FinalCheckVisitor for application-specific handling of
1746     unresolvable references.
1747   - Added specific error message for duplicate targets.
1749 * docutils/writers/__init__.py:
1751   - Added assemble_parts method to the Writer class to allow for
1752     access to a documents individual parts.
1753   - Documented & set default for ``Writer.output`` attribute.
1755 * docutils/writers/html4css1.py:
1757   - Fixed unicode handling of attribute values (bug 760673).
1758   - Prevent duplication of "class" attribute values (bug report from
1759     Kirill Lapshin).
1760   - Improved table grid/border handling (prompted by report from Bob
1761     Marshall).
1762   - Added support for table titles.
1763   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1764     to Darek Suchojad.
1765   - Added functionality to keep track of individual parts of a document
1766     and store them in a dictionary as the "parts" attribute of the writer.
1767     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1768   - Added proper support for the "scale" attribute of the "image"
1769     element.  Contributed by Brent Cook.
1770   - Added ``--initial-header-level`` option.
1771   - Fixed bug: the body_pre_docinfo segment depended on there being a
1772     docinfo; if no docinfo, the document title was incorporated into
1773     the body segment.  Adversely affected the publish_parts interface.
1775 * docutils/writers/latex2e.py:
1777   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1778     about a missing file.
1779   - Added options and support: ``--compound-enumerators``,
1780     ``--section-prefix-for-enumerators``, and
1781     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1782     934322).
1783   - Added option ``--use-verbatim-when-possible``, to avoid
1784     problematic characters (eg, '~' in italian) in literal blocks.
1785   - It's now possible to use four section levels in the `book` and
1786     `report` LaTeX classes.  The default `article` class still has
1787     three levels limit.
1789 * docs/config.txt: "Docutils Configuration Files", added to project.
1790   Moved config file entry descriptions from tools.txt.
1792 * docs/tools.txt:
1794   - Moved config file entry descriptions to config.txt.
1796 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
1797   Development".
1799 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1800   Text Roles", added to project.
1802 * spec/rst/reStructuredText.txt:
1804   - Added description of support for <angle-bracketed> complex option
1805     arguments to option lists.
1806   - Added subsections for indented and quoted literal blocks.
1808 * test: Continually adding & updating tests.
1810   - Added test/test_settings.py & test/data/config_*.txt support
1811     files.
1812   - Added test/test_writers/test_htmlfragment.py.
1814 * test/DocutilsTestSupport.py:
1816   - Refactored LaTeX publisher test suite/case class names to make
1817     testing other writers easier.
1818   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1819     to test the processing of HTML fragments which use the new
1820     publish_parts convenience function.
1822 * tools/buildhtml.py:
1824   - Added support for the "--prune" option.
1825   - Removed dependency on pep2html.py; plaintext PEPs no longer
1826     supported.
1828 * tools/docutils.conf:
1830   - Updated for configuration file reorganization.
1832 * tools/rst2html.py:
1834   - copied from tools/html.py
1836 * setup.py:
1838   - added a 'scripts' section to configuration
1839   - added 'tools/rst2html.py' to the scripts section
1842 Release 0.3 (2003-06-24)
1843 ========================
1845 General:
1847 * Renamed "attribute" to "option" for directives/extensions.
1849 * Renamed transform method "transform" to "apply".
1851 * Renamed "options" to "settings" for runtime settings (as set by
1852   command-line options).  Sometimes "option" (singular) became
1853   "settings" (plural).  Some variations below:
1855   - document.options -> document.settings (stored in other objects as
1856     well)
1857   - option_spec -> settings_spec (not directives though)
1858   - OptionSpec -> SettingsSpec
1859   - cmdline_options -> settings_spec
1860   - relative_path_options -> relative_path_settings
1861   - option_default_overrides -> settings_default_overrides
1862   - Publisher.set_options -> Publisher.get_settings
1864 Specific:
1866 * COPYING.txt: Added "Public Domain Dedication".
1868 * FAQ.txt: Frequently asked questions, added to project.
1870 * setup.py:
1872   - Updated with PyPI Trove classifiers.
1873   - Conditional installation of third-party modules.
1875 * docutils/__init__.py:
1877   - Bumped version to 0.2.1 to reflect changes to I/O classes.
1878   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1879   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1880   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1881     option and its effect on the PEP template & writer.
1882   - Bumped version to 0.2.4 due to changes to the PEP template &
1883     stylesheet.
1884   - Bumped version to 0.2.5 to reflect changes to Reporter output.
1885   - Added ``TransformSpec`` class for new transform system.
1886   - Bumped version to 0.2.6 for API changes (renaming).
1887   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1888     convenience functions.
1889   - Added ``Component.component_type`` attribute.
1890   - Bumped version to 0.2.8 because of the internal parser switch from
1891     plain lists to the docutils.statemachine.StringList objects.
1892   - Bumped version to 0.2.9 because of the frontend.py API changes.
1893   - Bumped version to 0.2.10 due to changes to the project layout
1894     (third-party modules removed from the "docutils" package), and
1895     signature changes in ``io.Input``/``io.Output``.
1896   - Changed version to 0.3.0 for release.
1898 * docutils/core.py:
1900   - Made ``publish()`` a bit more convenient.
1901   - Generalized ``Publisher.set_io``.
1902   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1903     parameters; improved its docstring.
1904   - Added ``publish_file()`` and ``publish_string()``.
1905   - Factored ``Publisher.set_source()`` and ``.set_destination()``
1906     out of ``.set_io``.
1907   - Added support for "--dump-pseudo-xml", "--dump-settings", and
1908     "--dump-transforms" hidden options.
1909   - Added ``Publisher.apply_transforms()`` method.
1910   - Added ``Publisher.set_components()`` method; support for
1911     ``publish_*()`` conveninece functions.
1912   - Moved config file processing to docutils/frontend.py.
1913   - Added support for exit status ("exit_level" setting &
1914     ``enable_exit`` parameter for Publisher.publish() and convenience
1915     functions).
1917 * docutils/frontend.py:
1919   - Check for & exit on identical source & destination paths.
1920   - Fixed bug with absolute paths & "--config".
1921   - Set non-command-line defaults in ``OptionParser.__init__()``:
1922     ``_source`` & ``_destination``.
1923   - Distributed ``relative_path_settings`` to components; updated
1924     ``OptionParser.populate_from_components()`` to combine it all.
1925   - Require list of keys in ``make_paths_absolute`` (was implicit in
1926     global ``relative_path_settings``).
1927   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1928     "--dump-settings", and "--dump-transforms" hidden options.
1929   - Removed nasty internals-fiddling ``ConfigParser.get_section``
1930     code, replaced with correct code.
1931   - Added validation functionality for config files.
1932   - Added "--error-encoding" option/setting, "_disable_config"
1933     internal setting.
1934   - Added encoding validation; updated "--input-encoding" and
1935     "--output-encoding"; added "--error-encoding-error-handler" and
1936     "--output-encoding-error-handler".
1937   - Moved config file processing from docutils/core.py.
1938   - Updated ``OptionParser.populate_from_components`` to handle new
1939     ``SettingsSpec.settings_defaults`` dict.
1940   - Added support for "-" => stdin/stdout.
1941   - Added "exit_level" setting ("--exit" option).
1943 * docutils/io.py:
1945   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1946   - Added automatic closing to ``FileInput`` and ``FileOutput``.
1947   - Delayed opening of ``FileOutput`` file until ``write()`` called.
1948   - ``FileOutput.write()`` now returns the encoded output string.
1949   - Try to get path/stream name automatically in ``FileInput`` &
1950     ``FileOutput``.
1951   - Added defaults for source & destination paths.
1952   - Allow for Unicode I/O with an explicit "unicode" encoding.
1953   - Added ``Output.encode()``.
1954   - Removed dependency on runtime settings; pass encoding directly.
1955   - Recognize Unicode strings in ``Input.decode()``.
1956   - Added support for output encoding error handlers.
1958 * docutils/nodes.py:
1960   - Added "Invisible" element category class.
1961   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1962     modification during a traversal.
1963   - Added element classes: ``line_block``, ``generated``, ``address``,
1964     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1965     ``superscript``, ``subscript``, ``inline``
1966   - Added support for lists of nodes to ``Element.insert()``.
1967   - Fixed parent linking in ``Element.replace()``.
1968   - Added new abstract superclass ``FixedTextElement``; adds
1969     "xml:space" attribute.
1970   - Added support for "line" attribute of ``system_message`` nodes.
1971   - Added support for the observer pattern from ``utils.Reporter``.
1972     Added ``parse_messages`` and ``transform_messages`` attributes to
1973     ``document``, removed ``messages``.  Added ``note_parse_message``
1974     and ``note_transform_message`` methods.
1975   - Added support for improved diagnostics:
1977     - Added "document", "source", and "line" internal attributes to
1978       ``Node``, set by ``Node.setup_child()``.
1979     - Converted variations on ``node.parent = self`` to
1980       ``self.setup_child(node)``.
1981     - Added ``document.current_source`` & ``.current_line``
1982       attributes, and ``.note_source`` observer method.
1983     - Changed "system_message" output to GNU-Tools format.
1985   - Added a "rawsource" attribute to the ``Text`` class, for text
1986     before backslash-escape resolution.
1987   - Support for new transform system.
1988   - Reworked ``pending`` element.
1989   - Fixed XML DOM bug (SF #660611).
1990   - Removed the ``interpeted`` element class and added
1991     ``title_reference``, ``abbreviation``, ``acronym``.
1992   - Made substitutions case-sensitive-but-forgiving; moved some code
1993     from the parser.
1994   - Fixed Unicode bug on element attributes (report: William Dode).
1996 * docutils/optik.py: Removed from project; replaced with
1997   extras/optparse.py and extras/textwrap.py.  These will be installed
1998   only if they're not already present in the Python installation.
2000 * docutils/roman.py: Moved to extras/roman.py; this will be installed
2001   only if it's not already present in the Python installation.
2003 * docutils/statemachine.py:
2005   - Factored out ``State.add_initial_transitions()`` so it can be
2006     extended.
2007   - Converted whitespace-specific "blank" and "indent" transitions
2008     from special-case code to ordinary transitions: removed
2009     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
2010     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
2011     ``ws_initial_transitions`` attributes.
2012   - Removed ``State.match_transition()`` after merging it into
2013     ``.check_line()``.
2014   - Added ``StateCorrection`` exception.
2015   - Added support for ``StateCorrection`` in ``StateMachine.run()``
2016     (moved ``TransitionCorrection`` support there too.)
2017   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
2018     ``EOFError`` instead of ``IndexError``.
2019   - Added ``State.no_match`` method.
2020   - Added support for the Observer pattern, triggered by input line
2021     changes.
2022   - Added ``strip_top`` parameter to
2023     ``StateMachineWS.get_first_known_indented``.
2024   - Made ``context`` a parameter to ``StateMachine.run()``.
2025   - Added ``ViewList`` & ``StringList`` classes;
2026     ``extract_indented()`` becomes ``StringList.get_indented()``.
2027   - Added ``StateMachine.insert_input()``.
2028   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
2029     thanks to) Fred Drake.
2031 * docutils/utils.py:
2033   - Added a ``source`` attribute to Reporter instances and
2034     ``system_message`` elements.
2035   - Added an observer pattern to ``utils.Reporter`` to keep track of
2036     system messages.
2037   - Fixed bugs in ``relative_path()``.
2038   - Added support for improved diagnostics.
2039   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
2040   - Added support for encoding Reporter stderr output, and encoding
2041     error handlers.
2042   - Reporter keeps track of the highest level system message yet
2043     generated.
2045 * docutils/languages: Fixed bibliographic field language lookups.
2047 * docutils/languages/es.py: Added to project; Spanish mappings by
2048   Marcelo Huerta San Martin.
2050 * docutils/languages/fr.py: Added to project; French mappings by
2051   Stefane Fermigier.
2053 * docutils/languages/it.py: Added to project; Italian mappings by
2054   Nicola Larosa.
2056 * docutils/languages/sk.py: Added to project; Slovak mappings by
2057   Miroslav Vasko.
2059 * docutils/parser/__init__.py:
2061   - Added ``Parser.finish_parse()`` method.
2063 * docutils/parser/rst/__init__.py:
2065   - Added options: "--pep-references", "--rfc-references",
2066     "--tab-width", "--trim-footnote-reference-space".
2068 * docutils/parsers/rst/states.py:
2070   - Changed "title under/overline too short" system messages from INFO
2071     to WARNING, and fixed its insertion location.
2072   - Fixed enumerated list item parsing to allow paragraphs & section
2073     titles to begin with enumerators.
2074   - Converted system messages to use the new "line" attribute.
2075   - Fixed a substitution reference edge case.
2076   - Added support for "--pep-references" and "--rfc-references"
2077     options; reworked ``Inliner`` code to make customization easier.
2078   - Removed field argument parsing.
2079   - Added support for short section title over/underlines.
2080   - Fixed "simple reference name" regexp to ignore text like
2081     "object.__method__"; not an anonymous reference.
2082   - Added support for improved diagnostics.
2083   - Reworked directive API, based on Dethe Elza's contribution.  Added
2084     ``Body.parse_directive()``, ``.parse_directive_options()``,
2085     ``.parse_directive_arguments()`` methods.
2086   - Added ``ExtensionOptions`` class, to parse directive options
2087     without parsing field bodies.  Factored
2088     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
2089     ``ExtensionOptions``.
2090   - Improved definition list term/classifier parsing.
2091   - Added warnings for unknown directives.
2092   - Renamed ``Stuff`` to ``Struct``.
2093   - Now flagged as errors: transitions at the beginning or end of
2094     sections, empty sections (except title), and empty documents.
2095   - Updated for ``statemachine.StringList``.
2096   - Enabled recognition of schemeless email addresses in targets.
2097   - Added support for embedded URIs in hyperlink references.
2098   - Added backslash-escapes to inline markup end-string suffix.
2099   - Added support for correct interpreted text processing.
2100   - Fixed nested title parsing (topic, sidebar directives).
2101   - Added special processing of backslash-escaped whitespace (idea
2102     from David Abrahams).
2103   - Made substitutions case-sensitive-but-forgiving; moved some code
2104     to ``docutils.nodes``.
2105   - Added support for block quote attributions.
2106   - Added a kludge to work-around a conflict between the bubble-up
2107     parser strategy and short titles (<= 3 char-long over- &
2108     underlines).  Fixes SF bug #738803 "infinite loop with multiple
2109     titles" submitted by Jason Diamond.
2110   - Added explicit interpreted text roles for standard inline markup:
2111     "emphasis", "strong", "literal".
2112   - Implemented "superscript" and "subscript" interpreted text roles.
2113   - Added initial support for "abbreviation" and "acronym" roles;
2114     incomplete.
2115   - Added support for "--trim-footnote-reference-space" option.
2116   - Optional space before colons in directives & hyperlink targets.
2118 * docutils/parsers/rst/tableparser.py:
2120   - Fixed a bug that was producing unwanted empty rows in "simple"
2121     tables.
2122   - Detect bad column spans in "simple" tables.
2124 * docutils/parsers/rst/directives: Updated all directive functions to
2125   new API.
2127 * docutils/parsers/rst/directives/__init__.py:
2129   - Added ``flag()``, ``unchanged()``, ``path()``,
2130     ``nonnegative_int()``, ``choice()``, and ``class_option()``
2131     directive option helper functions.
2132   - Added warnings for unknown directives.
2133   - Return ``None`` for missing directives.
2134   - Added ``register_directive()``, thanks to William Dode and Paul
2135     Moore.
2137 * docutils/parsers/rst/directives/admonitions.py:
2139   - Added "admonition" directive.
2141 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
2142   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2143   "parsed-literal", "rubric", "epigraph", "highlights" and
2144   "pull-quote" directives.
2146 * docutils/parsers/rst/directives/images.py:
2148   - Added an "align" attribute to the "image" & "figure" directives
2149     (by Adam Chodorowski).
2150   - Added "class" option to "image", and "figclass" to "figure".
2152 * docutils/parsers/rst/directives/misc.py:
2154   - Added "include", "raw", and "replace" directives, courtesy of
2155     Dethe Elza.
2156   - Added "unicode" and "class" directives.
2158 * docutils/parsers/rst/directives/parts.py:
2160   - Added the "sectnum" directive; by Dmitry Jemerov.
2161   - Added "class" option to "contents" directive.
2163 * docutils/parsers/rst/directives/references.py: Added to project.
2164   Contains the "target-notes" directive.
2166 * docutils/parsers/rst/languages/__init__.py:
2168   - Return ``None`` from get_language() for missing language modules.
2170 * docutils/parsers/rst/languages/de.py: Added to project; German
2171   mappings by Engelbert Gruber.
2173 * docutils/parsers/rst/languages/en.py:
2175   - Added interpreted text roles mapping.
2177 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2178   mappings by Marcelo Huerta San Martin.
2180 * docutils/parsers/rst/languages/fr.py: Added to project; French
2181   mappings by William Dode.
2183 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2184   mappings by Nicola Larosa.
2186 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2187   mappings by Miroslav Vasko.
2189 * docutils/readers/__init__.py:
2191   - Added support for the observer pattern from ``utils.Reporter``, in
2192     ``Reader.parse`` and ``Reader.transform``.
2193   - Removed ``Reader.transform()`` method.
2194   - Added default parameter values to ``Reader.__init__()`` to make
2195     instantiation easier.
2196   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2198 * docutils/readers/pep.py:
2200   - Added the ``peps.TargetNotes`` transform to the Reader.
2201   - Removed PEP & RFC reference detection code; moved to
2202     parsers/rst/states.py as options (enabled here by default).
2203   - Added support for pre-acceptance PEPs (no PEP number yet).
2204   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2205     easy subclassing.
2207 * docutils/readers/python: Python Source Reader subpackage added to
2208   project, including preliminary versions of:
2210   - __init__.py
2211   - moduleparser.py: Parser for Python modules.
2213 * docutils/transforms/__init__.py:
2215   - Added ``Transformer`` class and completed transform reform.
2216   - Added unknown_reference_resolvers list for each transformer. This list holds
2217     the list of functions provided by each component of the transformer that
2218     help resolve references.
2220 * docutils/transforms/frontmatter.py:
2222   - Improved support for generic fields.
2223   - Fixed bibliographic field language lookups.
2225 * docutils/transforms/misc.py: Added to project.  Miscellaneous
2226   transforms.
2228 * docutils/transforms/parts.py:
2230   - Moved the "id" attribute from TOC list items to the references
2231     (``Contents.build_contents()``).
2232   - Added the ``SectNum`` transform; by Dmitry Jemerov.
2233   - Added "class" attribute support to ``Contents``.
2235 * docutils/transforms/peps.py:
2237   - Added ``mask_email()`` function, updating to pep2html.py's
2238     functionality.
2239   - Linked "Content-Type: text/x-rst" to PEP 12.
2240   - Added the ``TargetNotes`` PEP-specific transform.
2241   - Added ``TargetNotes.cleanup_callback``.
2242   - Added title check to ``Headers``.
2244 * docutils/transforms/references.py:
2246   - Added the ``TargetNotes`` generic transform.
2247   - Split ``Hyperlinks`` into multiple transforms.
2248   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2249   - Added check for circular indirect references.
2250   - Made substitutions case-sensitive-but-forgiving.
2252 * docutils/transforms/universal.py:
2254   - Added support for the "--expose-internal-attributes" option.
2255   - Removed ``Pending`` transform classes & data.
2257 * docutils/writers/__init__.py:
2259   - Removed ``Writer.transform()`` method.
2261 * docutils/writers/docutils-xml.py:
2263   - Added XML and doctype declarations.
2264   - Added "--no-doctype" and "--no-xml-declaration" options.
2266 * docutils/writers/html4css1.py:
2268   - "name" attributes only on these tags: a, applet, form, frame,
2269     iframe, img, map.
2270   - Added "name" attribute to <a> in section titles for Netscape 4
2271     support (bug report: Pearu Peterson).
2272   - Fixed targets (names) on footnote, citation, topic title,
2273     problematic, and system_message nodes (for Netscape 4).
2274   - Changed field names from "<td>" to "<th>".
2275   - Added "@" to "&#64;" encoding to thwart address harvesters.
2276   - Improved the vertical whitespace optimization; ignore "invisible"
2277     nodes (targets, comments, etc.).
2278   - Improved inline literals with ``<span class="pre">`` around chunks
2279     of text and ``&nbsp;`` for runs of spaces.
2280   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2281     ``self.docinfo`` segments.
2282   - Added support for "line_block", "address" elements.
2283   - Improved backlinks (footnotes & system_messages).
2284   - Improved system_message output.
2285   - Redefined "--stylesheet" as containing an invariant URL, used
2286     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2287     working directory.
2288   - Added "--footnote-references" option (superscript or brackets).
2289   - Added "--compact-lists" and "--no-compact-lists" options.
2290   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2291     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2292   - Improved field list rendering.
2293   - Added Docutils version to "generator" meta tag.
2294   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2295   - Improved layout of <pre> HTML source.
2296   - Fixed attribute typo on <colspec>.
2297   - Refined XML prologue.
2298   - Support for no stylesheet.
2299   - Removed "interpreted" element support.
2300   - Added support for "title_reference", "sidebar", "attribution",
2301     "rubric", and generic "admonition" elements.
2302   - Added "--attribution" option.
2303   - Added support for "inline", "subscript", "superscript" elements.
2304   - Added initial support for "abbreviation" and "acronym";
2305     incomplete.
2307 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2308   (from the sandbox).
2310   - Added french.
2311   - Double quotes in literal blocks (special treatment for de/ngerman).
2312   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2313   - Added  "--attribution" option.
2314   - Right align attributions.
2316 * docutils/writers/pep_html.py:
2318   - Parameterized output encoding in PEP template.
2319   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2320   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2321     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2322     working directory.
2323   - Added an override on the "--footnote-references" option.
2324   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2325   - Added Docutils version to "generator" meta tag.
2326   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2328 * docs/tools.txt:
2330   - Added a "silent" setting for ``buildhtml.py``.
2331   - Added a "Getting Help" section.
2332   - Rearranged the structure.
2333   - Kept up to date, with new settings, command-line options etc.
2334   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2335   - Converted settings table into a definition list.
2337 * docs/rst/quickstart.txt:
2339   - Added a table of contents.
2340   - Added feedback information.
2341   - Added mention of minimum section title underline lengths.
2342   - Removed the 4-character minimum for section title underlines.
2344 * docs/rst/quickref.html:
2346   - Added a "Getting Help" section.
2347   - Added a style to make section title backlinks more subtle.
2348   - Added mention of minimum section title underline lengths.
2349   - Removed the 4-character minimum for section title underlines.
2351 * extras: Directory added to project; contains third-party modules
2352   that Docutils depends on (optparse, textwrap, roman).  These are
2353   only installed if they're not already present.
2355 * licenses: Directory added to project; contains copies of license
2356   files for non-public-domain files.
2358 * spec/doctree.txt:
2360   - Changed the focus.  It's about DTD elements:  structural
2361     relationships, semantics, and external (public) attributes.  Not
2362     about the element class library.
2363   - Moved some implementation-specific stuff into ``docutils.nodes``
2364     docstrings.
2365   - Wrote descriptions of all common attributes and parameter
2366     entities.  Filled in introductory material.
2367   - Working through the element descriptions: 55 down, 37 to go.
2368   - Removed "Representation of Horizontal Rules" to
2369     spec/rst/alternatives.txt.
2371 * spec/docutils.dtd:
2373   - Added "generated" inline element.
2374   - Added "line_block" body element.
2375   - Added "auto" attribute to "title".
2376   - Changed content models of "literal_block" and "doctest_block" to
2377     ``%text.model``.
2378   - Added ``%number;`` attribute type parameter entity.
2379   - Changed ``%structural.elements;`` to ``%section.elements``.
2380   - Updated attribute types; made more specific.
2381   - Added "address" bibliographic element.
2382   - Added "line" attribute to ``system_message`` element.
2383   - Removed "field_argument" element; "field_name" may contain
2384     multiple words and whitespace.
2385   - Changed public identifier to docutils.sf.net.
2386   - Removed "interpreted" element; added "title_reference",
2387     "abbreviation", "acronym".
2388   - Removed "refuri" attribute from "footnote_reference" and
2389     "citation_reference".
2390   - Added "sidebar", "rubric", "attribution", "admonition",
2391     "superscript", "subscript", and "inline" elements.
2393 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2395 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2397 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2399 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2400   Dallas Mahrt.
2402 * spec/transforms.txt: Added to project.
2404 * spec/howto: Added subdirectory, for developer how-to docs.
2406 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2407   Elza, edited & extended by David Goodger.
2409 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
2410   project.
2412 * spec/rst/alternatives.txt:
2414   - Added "Doctree Representation of Transitions" from
2415     spec/doctree.txt.
2416   - Updated "Inline External Targets" & closed the debate.
2417   - Added ideas for interpreted text syntax extensions.
2418   - Added "Nested Inline Markup" section.
2420 * spec/rst/directives.txt:
2422   - Added directives: "topic", "sectnum", "target-notes",
2423     "line-block", "parsed-literal", "include", "replace", "sidebar",
2424     "admonition", "rubric", "epigraph", "highlights", "unicode" and
2425     "class".
2426   - Formalized descriptions of directive details.
2427   - Added an "align" attribute to the "image" & "figure" directives
2428     (by Adam Chodorowski).
2429   - Added "class" options to "topic", "sidebar", "line-block",
2430     "parsed-literal", "contents", and "image"; and "figclass" to
2431     "figure".
2433 * spec/rst/interpreted.txt: Added to project.  Descriptions of
2434   interpreted text roles.
2436 * spec/rst/introduction.txt:
2438   - Added pointers to material for new users.
2440 * spec/rst/reStructuredText.txt:
2442   - Disambiguated comments (just add a newline after the "::").
2443   - Updated enumerated list description; added a discussion of the
2444     second-line validity checking.
2445   - Updated directive description.
2446   - Added a note redirecting newbies to the user docs.
2447   - Expanded description of inline markup start-strings in non-markup
2448     contexts.
2449   - Removed field arguments and made field lists a generic construct.
2450   - Removed the 4-character minimum for section title underlines.
2451   - Clarified term/classifier delimiter & inline markup ambiguity
2452     (definition lists).
2453   - Added "Embedded URIs".
2454   - Updated "Interpreted Text" section.
2455   - Added "Character-Level Inline Markup" section.
2457 * test: Continually adding & updating tests.
2459   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2460   - Moved test/test_pep/ to test/test_readers/test_pep/.
2461   - Added test/test_readers/test_python/.
2462   - Added test/test_writers/ (Engelbert Gruber).
2464 * tools:
2466   - Made the ``locale.setlocale()`` calls in front ends
2467     fault-tolerant.
2469 * tools/buildhtml.py:
2471   - Added "--silent" option.
2472   - Fixed bug with absolute paths & "--config".
2473   - Updated for new I/O classes.
2474   - Added some exception handling.
2475   - Separated publishers' setting defaults; prevents interference.
2476   - Updated for new ``publish_file()`` convenience function.
2478 * tools/pep-html-template:
2480   - Allow for "--embed-stylesheet".
2481   - Added Docutils version to "generator" meta tag.
2482   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2483   - Conform to XHTML spec.
2485 * tools/pep2html.py:
2487   - Made ``argv`` a parameter to ``main()``.
2488   - Added support for "Content-Type:" header & arbitrary PEP formats.
2489   - Linked "Content-Type: text/plain" to PEP 9.
2490   - Files skipped (due to an error) are not pushed onto the server.
2491   - Updated for new I/O classes.
2492   - Added ``check_requirements()`` & ``pep_type_error()``.
2493   - Added some exception handling.
2494   - Updated for new ``publish_string()`` convenience function.
2495   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2497 * tools/quicktest.py:
2499   - Added "-V"/"--version" option.
2501 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2503 * tools/unicode2rstsubs.py: Added to project.  Produces character
2504   entity files (reSructuredText substitutions) from the MathML master
2505   unicode.xml file.
2507 * tools/editors: Support code for editors, added to project.  Contains
2508   ``emacs/restructuredtext.el``.
2510 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2512   - Added style for chunks of inline literals.
2513   - Removed margin for first child of table cells.
2514   - Right-aligned field list names.
2515   - Support for auto-numbered section titles in TOCs.
2516   - Increased the size of inline literals (<tt>) in titles.
2517   - Restored the light gray background for inline literals.
2518   - Added support for "line_block" elements.
2519   - Added style for "address" elements.
2520   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2521   - Improved field list rendering.
2522   - Vertical whitespace improvements.
2523   - Removed "a.target" style.
2525 * tools/stylesheets/pep.css:
2527   - Fixed nested section margins.
2528   - Other changes parallel those of ``../default.css``.
2531 Release 0.2 (2002-07-31)
2532 ========================
2534 General:
2536 - The word "component" was being used ambiguously.  From now on,
2537   "component" will be used to mean "Docutils component", as in Reader,
2538   Writer, Parser, or Transform.  Portions of documents (Table of
2539   Contents, sections, etc.)  will be called "document parts".
2540 - Did a grand renaming: a lot of ``verylongnames`` became
2541   ``very_long_names``.
2542 - Cleaned up imports: no more relative package imports or
2543   comma-separated lists of top-level modules.
2544 - Added support for an option values object which carries default
2545   settings and overrides (from command-line options and library use).
2546 - Added internal Unicode support, and support for both input and
2547   output encodings.
2548 - Added support for the ``docutils.io.IO`` class & subclasses.
2550 Specific:
2552 * docutils/__init__.py:
2554   - Added ``ApplicationError`` and ``DataError``, for use throughout
2555     the package.
2556   - Added ``Component`` base class for Docutils components; implements
2557     the ``supports`` method.
2558   - Added ``__version__`` (thus, ``docutils.__version__``).
2560 * docutils/core.py:
2562   - Removed many keyword parameters to ``Publisher.__init__()`` and
2563     ``publish()``; bundled into an option values object.  Added
2564     "argv", "usage", "description", and "option_spec" parameters for
2565     command-line support.
2566   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2567     methods.
2568   - Reworked I/O model for ``docutils.io`` wrappers.
2569   - Updated ``Publisher.set_options()``; now returns option values
2570     object.
2571   - Added support for configuration files (/etc/docutils.conf,
2572     ./docutils.conf, ~/.docutils).
2573   - Added ``Publisher.setup_option_parser()``.
2574   - Added default usage message and description.
2576 * docutils/frontend.py: Added to project; support for front-end
2577   (command-line) scripts.  Option specifications may be augmented by
2578   components.  Requires Optik (http://optik.sf.net/) for option
2579   processing (installed locally as docutils/optik.py).
2581 * docutils/io.py: Added to project; uniform API for a variety of input
2582   output mechanisms.
2584 * docutils/nodes.py:
2586   - Added ``TreeCopyVisitor`` class.
2587   - Added a ``copy`` method to ``Node`` and subclasses.
2588   - Added a ``SkipDeparture`` exception for visitors.
2589   - Renamed ``TreePruningException`` from ``VisitorException``.
2590   - Added docstrings to ``TreePruningException``, subclasses, and
2591     ``Nodes.walk()``.
2592   - Improved docstrings.
2593   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2594   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2595     imports.
2596   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2597     ``PreDecorative`` mixin.
2598   - Reworked the name/id bookkeeping; to ``document``, removed
2599     ``explicit_targets`` and ``implicit_targets`` attributes, added
2600     ``nametypes`` attribute and ``set_name_id_map`` method.
2601   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2602     traversals.
2603   - Added ``document.has_name()`` method.
2604   - Fixed DOM generation for list-attributes.
2605   - Added category class ``Labeled`` (used by footnotes & citations).
2606   - Added ``Element.set_class()`` method (sets "class" attribute).
2608 * docutils/optik.py: Added to project.  Combined from the Optik
2609   package, with added option groups and other modifications.  The use
2610   of this module is probably only temporary.
2612 * docutils/statemachine.py:
2614   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2615   - Added underscores to improve many awkward names.
2616   - In ``string2lines()``, changed whitespace normalizing translation
2617     table to regexp; restores Python 2.0 compatibility with Unicode.
2619 * docutils/urischemes.py:
2621   - Filled in some descriptions.
2622   - Added "shttp" scheme.
2624 * docutils/utils.py:
2626   - Added ``clean_rcs_keywords`` function (moved from
2627     docutils/transforms/frontmatter.py
2628     ``DocInfo.filter_rcs_keywords``).
2629   - Added underscores to improve many awkward names.
2630   - Changed names of Reporter's thresholds:
2631     warning_level -> report_level; error_level -> halt_level.
2632   - Moved ``utils.id()`` to ``nodes.make_id()``.
2633   - Added ``relative_path(source, target)``.
2635 * docutils/languages/de.py: German mappings; added to project.  Thanks
2636   to Gunnar Schwant for the translations.
2638 * docutils/languages/en.py: Added "Dedication" bibliographic field
2639   mappings.
2641 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2642   Chodorowski.
2644 * docutils/parsers/rst/states.py:
2646   - Added underscores to improve many awkward names.
2647   - Added RFC-2822 header support.
2648   - Extracted the inline parsing code from ``RSTState`` to a separate
2649     class, ``Inliner``, which will allow easy subclassing.
2650   - Made local bindings for ``memo`` container & often-used contents
2651     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2652   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2653   - Added ``MarkupMismatch`` exception; for late corrections.
2654   - Added ``-/:`` characters to inline markup's start string prefix,
2655     ``/`` to end string suffix.
2656   - Fixed a footnote bug.
2657   - Fixed a bug with literal blocks.
2658   - Applied patch from Simon Budig: simplified regexps with symbolic
2659     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2660   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2661   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2662   - Allowed non-ASCII in "simple names" (directive names, field names,
2663     references, etc.).
2664   - Converted ``Inliner.patterns.initial`` to be dynamically built
2665     from parts with ``build_regexp()`` function.
2666   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2667   - Updated docstrings.
2668   - Changed "table" to "grid_table"; added "simple_table" support.
2670 * docutils/parsers/rst/tableparser.py:
2672   - Changed ``TableParser`` to ``GridTableParser``.
2673   - Added ``SimpleTableParser``.
2674   - Refactored naming.
2676 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2677   a fallback language for directive names.
2679 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2680   directive to use a ``pending`` element, used only by HTML writers.
2682 * docutils/parsers/rst/directives/parts.py: Renamed from
2683   components.py.
2685   - Added "backlinks" attribute to "contents" directive.
2687 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2688   project by Adam Chodorowski.
2690 * docutils/readers/__init__.py: Gave Readers more control over
2691   choosing and instantiating Parsers.
2693 * docutils/readers/pep.py: Added to project; for PEP processing.
2695 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2696   requires a ``component`` parameter.
2698 * docutils/transforms/components.py: Added to project; transforms
2699   related to Docutils components.
2701 * docutils/transforms/frontmatter.py:
2703   - In ``DocInfo.extract_authors``, check for a single "author" in an
2704     "authors" group, and convert it to a single "author" element.
2705   - Added support for "Dedication" and generic bibliographic fields.
2707 * docutils/transforms/peps.py: Added to project; PEP-specific.
2709 * docutils/transforms/parts.py: Renamed from old components.py.
2711   - Added filter for `Contents`, to use alt-text for inline images,
2712     and to remove inline markup that doesn't make sense in the ToC.
2713   - Added "name" attribute to TOC topic depending on its title.
2714   - Added support for optional TOC backlinks.
2716 * docutils/transforms/references.py: Fixed indirect target resolution
2717   in ``Hyperlinks`` transform.
2719 * docutils/transforms/universal.py:
2721   - Changed ``Messages`` transform to properly filter out system
2722     messages below the warning threshold.
2723   - Added ``Decorations`` transform (support for ``--generator``,
2724     ``--date``, ``--time``, ``--source-link`` options).
2726 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2727   Engelbert Gruber's PDF writer.
2729 * docutils/writers/html4css1.py:
2731   - Made XHTML-compatible (switched to lowercase element & attribute
2732     names; empty tag format).
2733   - Escape double-dashes in comment text.
2734   - Improved boilerplate & modularity of output.
2735   - Exposed modular output in Writer class.
2736   - Added a "generator" meta tag to <head>.
2737   - Added support for the ``--stylesheet`` option.
2738   - Added support for ``decoration``, ``header``, and ``footer``
2739     elements.
2740   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2741     translation table to regexp; restores Python 2.0 compatibility
2742     with Unicode.
2743   - Added the translator class as instance variable to the Writer, to
2744     make it easily subclassable.
2745   - Improved option list spacing (thanks to Richard Jones).
2746   - Modified field list output.
2747   - Added backlinks to footnotes & citations.
2748   - Added percentage widths to "<col>" tags (from colspec).
2749   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2750     "<span>" changed to "<var>".
2751   - Inline literals: "<code>" changed to "<tt>".
2752   - Many changes to optimize vertical space: compact simple lists etc.
2753   - Add a command-line options & directive attributes to control TOC
2754     and footnote/citation backlinks.
2755   - Added support for optional footnote/citation backlinks.
2756   - Added support for generic bibliographic fields.
2757   - Identify backrefs.
2758   - Relative URLs for stylesheet links.
2760 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2761   PEPs (subclass of ``html4css1.Writer``).
2763 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2765 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2766   of the Docutils internal doctree in XML.
2768 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2770 * spec/doctree.txt:
2772   - Changed the title to "The Docutils Document Tree".
2773   - Added "Hyperlink Bookkeeping" section.
2775 * spec/docutils.dtd:
2777   - Added ``decoration``, ``header``, and ``footer`` elements.
2778   - Brought ``interpreted`` element in line with the parser: changed
2779     attribute "type" to "role", added "position".
2780   - Added support for generic bibliographic fields.
2782 * spec/notes.txt: Continual updates.  Added "Project Policies".
2784 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2785   section.
2787 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2789 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
2790   mailing list discussions.
2792 * spec/pep-0287.txt:
2794   - Renamed to "reStructuredText Docstring Format".
2795   - Minor edits.
2796   - Reworked Q&A as an enumerated list.
2797   - Converted to reStructuredText format.
2799 * spec/pysource.dtd:
2801   - Reworked structural elements, incorporating ideas from Tony Ibbs.
2803 * spec/pysource.txt: Removed from project.  Moved much of its contents
2804   to pep-0258.txt.
2806 * spec/rst/alternatives.txt:
2808   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2809   - Added "Inline External Targets" section.
2811 * spec/rst/directives.txt:
2813   - Added "backlinks" attribute to "contents" directive.
2815 * spec/rst/problems.txt:
2817   - Updated the Enumerated List Markup discussion.
2818   - Added new alternative table markup syntaxes.
2820 * spec/rst/reStructuredText.txt:
2822   - Clarified field list usage.
2823   - Updated enumerated list description.
2824   - Clarified purpose of directives.
2825   - Added ``-/:`` characters to inline markup's start string prefix,
2826     ``/`` to end string suffix.
2827   - Updated "Authors" bibliographic field behavior.
2828   - Changed "inline hyperlink targets" to "inline internal targets".
2829   - Added "simple table" syntax to supplement the existing but
2830     newly-renamed "grid tables".
2831   - Added cautions for anonymous hyperlink use.
2832   - Added "Dedication" and generic bibliographic fields.
2834 * test: Made test modules standalone (subdirectories became packages).
2836 * test/DocutilsTestSupport.py:
2838   - Added support for PEP extensions to reStructuredText.
2839   - Added support for simple tables.
2840   - Refactored naming.
2842 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2844   - Now supports true packages containing test modules
2845     (``__init__.py`` files required); fixes duplicate module name bug.
2847 * test/test_pep/: Subpackage added to project; PEP testing.
2849 * test/test_rst/test_SimpleTableParser.py: Added to project.
2851 * tools:
2853   - Updated html.py and publish.py front-end tools to use the new
2854     command-line processing facilities of ``docutils.frontend``
2855     (exposed in ``docutils.core.Publisher``), reducing each to just a
2856     few lines of code.
2857   - Added ``locale.setlocale()`` calls to front-end tools.
2859 * tools/buildhtml.py: Added to project; batch-generates .html from all
2860   the .txt files in directories and subdirectories.
2862 * tools/default.css:
2864   - Added support for ``header`` and ``footer`` elements.
2865   - Added styles for "Dedication" topics (biblio fields).
2867 * tools/docutils.conf: A configuration file; added to project.
2869 * tools/docutils-xml.py: Added to project.
2871 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2873 * tools/pep-html-template: Added to project.
2875 * tools/pep2html.py: Added to project from Python (nondist/peps).
2876   Added support for Docutils (reStructuredText PEPs).
2878 * tools/quicktest.py:
2880   - Added the ``--attributes`` option, hacked a bit.
2881   - Added a second command-line argument (output file); cleaned up.
2883 * tools/stylesheets/: Subdirectory added to project.
2885 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2888 Release 0.1 (2002-04-20)
2889 ========================
2891 This is the first release of Docutils, merged from the now inactive
2892 reStructuredText__ and `Docstring Processing System`__ projects.  For
2893 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2894 `DPS HISTORY`__ files.
2896 __ http://structuredtext.sourceforge.net/
2897 __ http://docstring.sourceforge.net/
2898 __ http://structuredtext.sourceforge.net/HISTORY.html
2899 __ http://docstring.sourceforge.net/HISTORY.html
2901 General changes: renamed 'dps' package to 'docutils'; renamed
2902 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2903 the test suites (reStructuredText's test/test_states renamed to
2904 test/test_rst); and all modifications required to make it all work.
2906 * docutils/parsers/rst/states.py:
2908   - Improved diagnostic system messages for missing blank lines.
2909   - Fixed substitution_reference bug.
2913    Local Variables:
2914    mode: indented-text
2915    indent-tabs-mode: nil
2916    sentence-end-double-space: t
2917    fill-column: 70
2918    End: