Apply [ 2714873 ] Fix for the overwritting of document attributes.
[docutils.git] / HISTORY.txt
blob978031ec994d53e559b1118a3313e3db30165a35
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 * General
21   - Apply [ 2714873 ] Fix for the overwritting of document attributes.
23 * docutils/nodes.py
25   - Fix [ 3601607 ] node.__repr__() must return `str` instance.
27 * docutils/parsers/rst/directives/images.py
29   - Apply [ 3599485 ] node source/line information for sphinx translation.
31 * docutils/utils/__init__.py
33   - Fix [ 3596884 ] exception importing ``docutils.io``.
35 * docutils/writers/html4css1/__init__.py
37   - Fix [ 3600051 ] for tables in a list, table cells are not compacted.
39 * docutils/writers/latex2e/__init__.py
41   - Drop the simple algorithm replacing straight double quotes with
42     English typographic ones.
43     Activate the SmartQuotes_ transform if you want this feature.
44   - Fix literal use of babel shorthands (straight quote, tilde, ...).
46 .. _SmartQuotes: docs/user/config.html#smart-quotes
48 Release 0.10 (2012-12-16)
49 =========================
51 * General
53   - Dropped support for Python 2.3.
54   - ``docutils/math``, ``docutils/error_reporting.py``, and
55     ``docutils/urischemes.py`` moved to the utils package.
56   - Fix [3541369] Relative __import__ also with Python 3.3.
57   - Fix [3559988] and [3560841] __import__ local writer, reader, languages
58     and parsers for Python 2.7 up.
59   - Fix import of PIL.Image.
60   - Change default of "syntax highlight" option to "long",
61     basic syntax highlight styles for LaTeX and HTML.
63 * docutils/io.py
65   - FileInput/FileOutput: no system-exit on IOError.  The `handle_io_errors`
66     option is ignored and will be removed in a future release.
67   - Fix Py3k error writing to stdout with encoding differing from default.
68   - Fix opening binary files under Py3k (thanks to Dominic Fitzpatrick).
70 * docutils/parsers/rst/directives/misc.py
72   - Fix [ 3546533 ] Unicode error with `date` directive.
74 * docutils/transforms/universal.py
76   - SmartQuotes transform for typographic quotes and dashes.
78 * docutils/utils/__init__.py
80   - normalize_language_tag() now returns `BCP 47`_ conformant tags
81     with subtags separated by ``-``.
83 * docutils/writers/html4css1/__init__.py
85   - Use ``<code>`` tag for inline "code",
86     do not drop nested inline nodes (syntax highlight tokens).
87   - Customizable MathJax URL (based on patch by Dmitry Shachnev).
88   - No line break after opening inline math tag.
90 * docutils/writers/manpage.py
92   - Apply [ 3527401 ] addmonition's don't preserve indentation
93   - Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.
95 , docutils/writers/xetex/__init__.py
97   - Apply [ 3555160 ] ensure order of "otherlanguages".
98   - Fix section numbering by LaTeX.
100 * docutils/writers/s5_html/__init__.py
102   - Fix [ 3556388 ] Mathjax does not work with rst2s5.
104 * docutils/writers/s5_html/docutils_xml.py
106   - Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.
108 * setup.py
110   - Tag ``math.css`` stylesheet as data file (patch by Dmitry Shachnev).
112 * tools/test/test_buildhtml.py
114   - Fix [ 3521167 ] allow running in any directory.
115   - Fix [ 3521168 ] allow running with Python 3.
118 Release 0.9.1 (2012-06-17)
119 ==========================
121 * setup.py
123   - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
124     installed in the PYTHONPATH. Converted tests are now
125     stored in ``test3/``, tools no longer need conversion.
127     If you installed one of Docutils versions 0.7 ... 0.9 with
128     ``setup.py install`` under Python 3, remove the spurious
129     ``test/`` and ``tools/`` directories in the site library root.
131 * test/
133   - Make tests independent from the location of the ``test/`` directory.
134   - Use converted sources (from the ``build/`` directory) for tests under
135     Python 3.
137 * tools/
139   - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
141 * docutils/io.py
143   - Fix writing binary data to sys.stdout under Python 3 (allows
144     ``rst2odt.py`` to be used with output redirection).
146 * docutils/parsers/rst/directives/misc.py
148   - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
149     ``locale == C`` and 8-bit char in path argument of `include` directive.
151 * test/alltests.py
153   - class `Tee`: catch UnicodeError when writing to "ascii" stream or
154     file under Python 3.
156 Release 0.9 (2012-05-02)
157 ========================
159 * General:
161   - New reStructuredText "code" role and directive and "code" option
162     of the "include" directive with syntax highlighting by Pygments_.
163   - Fix parse_option_marker for option arguments containing ``=``.
164   - Fix [ 2993756 ]: import Python Imaging Library's Image module
165     via ``import PIL`` as starting with PIL 1.2,
166     "PIL lives in the PIL namespace only" (announcement__).
168 .. _Pygments: http://pygments.org/
169 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
171 * setup.py
173   - Fix [ 2971827 ] and [ 3442827 ]
174     extras/roman.py moved to docutils/utils/roman.py
176 * docutils/frontend.py
178   - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
180 * docutils/io.py
182   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
183   - `mode` argument for FileOutput avoids code replication in
184     BinaryFileOutput.
185   - New exceptions InputError and OutputError for IO errors in
186     FileInput/FileOutput.
188 * docutils/core.py:
190   - No "hard" system exit on file IO errors: catch and report them in
191     `Publisher.reportException` instead. Allows handling by a calling
192     application if the configuration setting `traceback` is True.
194 * docutils/utils.py -> docutils/utils/__init__.py
196   - docutils.utils is now a package (providing a place for sub-modules)
198   .. note:: docutils/math, docutils/error_reporting.py, and
199      docutils/urischemes.py will move to the utils package in the next
200      release, too. See RELEASE-NOTES__
202      __ RELEASE-NOTES.html
204   - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
205     errors recording non-ASCII filenames (fixes [ 3434355 ]).
207   - Fix relative_path() with source=None and `unicode` target.
209 * docutils/parsers/rst/states.py
211   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
212     characters and "international" quotes around inline markup.
213   - Use `field_marker` pattern to look for start of a
214     directive option block (fixes [ 3484857 ]).
216 * docutils/parsers/rst/tableparser.py
218   - Fix [ 2926161 ] for simple tables.
219     (Combining chars in grid tables still contribute to cell width.)
221 * docutils/writers/latex2e/__init__.py
223   - Support the `abbreviation` and `acronym` standard roles.
224   - Record only files required to generate the LaTeX source as dependencies.
225   - Fix handling of missing stylesheets.
226   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
227     when suppressing LaTeX section numbering.
228   - Use ``\DUtitle`` for unsupported section levels
229   - Apply [ 3512791 ] do not compare string literals with "is"
231 * docutils/writers/xetex/__init__.py
233   - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
235 * docutils/writers/html4css1/__init__.py
237   - Change default for `math-output` setting to MathJax.
238   - Fix handling of missing stylesheets.
240 * docutils/writers/docutils_xml.py
242   - Use the visitor pattern with default_visit()/default_depart() methods
243     instead of minidom to facilitate special handling of selected nodes.
244   - Support raw XML (inserted as-is inside a <raw></raw> node).
246 * docutils/writers/manpage.py
248   - Do not emit comment line with trailing blank. Problematic for VCS.
250 Release 0.8.1 (2011-08-30)
251 ==========================
253 * General:
255   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
256     and [ 3395920 ] (correct copyright info for rst.el).
258 * test/
260   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
262 * docutils/writers/latex2e/__init__.py
264   - Clean up Babel language setting. Restores Sphinx compatibility.
266 Release 0.8 (2011-07-07)
267 ========================
269 * General:
271   - Handle language codes according to `BCP 47`_.
272   - If the specified language is not supported by Docutils,
273     warn and fall back to English.
274   - Math support: reStructuredText "math" role and directive,
275     ``math`` and ``math_block`` doctree elements.
276   - Decode command line arguments with the locale's preferred encoding
277     (to allow, e.g., ``--title=Dornröschen``).
278   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
279   - New sub-module `error_reporting`: handle encoding/decoding errors
280     when reporting exceptions.
281   - Some additions to the Docutils core are released under the 2-Clause BSD
282     license, see COPYING_ for details.
284   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
285   .. _COPYING: COPYING.html
287 * reStructuredText:
289   - Most directives now support a "name" option that attaches a
290     reference name.
292   - Directive content may start on the first line also when the directive
293     type accepts options.
295 * docs/dev/policies.txt:
297   - Recommend the 2-Clause BSD license
298     (http://www.spdx.org/licenses/BSD-2-Clause)
299     for code that is kept under the author's copyright.
301 * tools/buildhtml.py:
303   - Fix ``--local`` switch.
305 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
307 * docutils/writers/html4css1/__init__.py
309   - Set "lang" argument for objects with class argument
310     "language-<language tag>".
311   - New setting "math-output" with support for HTML, MathML, and LaTeX.
313 * docutils/writers/latex2e/__init__.py
315   - Fix [ 3043986 ] AttributeError using :local: with table of content.
316   - Place title data in the document preamble.
317   - Load `babel` package only if required.
318   - Update list of supported languages.
319   - New config setting "hyperref-options".
320     No hard-coded "unicode" hyperref option (clash with xetex).
321   - Set language for custom roles, paragraphs, block-quotes, and
322     line-quotes with class argument "language-<language tag>".
323   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
324   - Convert image URI to a local file path.
325   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
326     has more than one paragraph (Wolfgang Scherer).
327   - \leavevmode before longtable only when needed (prevents spurious vspace)
328   - do not advance table counter for tables without caption
330 * docutils/writers/xetex/__init__.py
332   - New writer generating LaTeX code for compiling with ``xelatex``.
334     A separate writer (inheriting from latex2e) instead of a ``--xetex``
335     option allows separate config options for XeTeX vs. LaTeX2e.
337 * docutils/writers/manpage.py
339   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
340   - Fix: vertical space cleaning for option group ``.``.
342 * tools/editors/emacs/rst.el:
344   - Fix [ 3001100 ] does not handle spaces in filenames
345     (thanks to Jakub Wilk)
347 * docutils/utils.py:
349   - strip whitespace from stylesheet arguments
350   - exclude combining chars from column_width()
351     (partial fix for [ 2926161 ])
353 * docutils/parsers/rst/directives/misc.py:
355   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
356     nested_parse
358 * docutils/io.py:
360   - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
361     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
363 Release 0.7 (2010-07-07)
364 ========================
366 * General:
368   - Fix [ 2881769 ] setup configuration.
369   - Fix [ 2788716 ] reporting problems in included files.
371 * docutils/io.py
373   - FileInput opens files as text files with universal newline support
374     (mode "rU", configurable with the new optional argument "mode").
376 * docutils/nodes.py
378   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
380 * docutils/utils.py
382   - Fix [ 2923723 ] let decode_path() tolerate path == None
384 * docutils/writers/html4css1/__init__.py
386   - Support SVG and SWF images (thanks to Stefan Rank).
387   - Generate valid XHTML for centered images with targets.
388     Use CSS classes instead of "align" tags for image alignment.
390 * docutils/writers/latex2e/__init__.py
392   - Use `transforms.writer_aux.Admonitions` to "normalize" special
393     admonitions.
394   - Use the ``\url`` command for URLs (breaks long URLs instead of
395     writing into the margin).
396   - Preserve runs of spaces in `inline literals`__.
397   - Deprecate ``figure_footnotes`` setting.
398   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
399   - New ``latex_preamble`` setting.
400   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
401   - Fix hyperlink targets (labels) for images, figures, and tables.
402   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
403   - Apply [ 2961991 ] Call hyperref with unicode option.
404   - Drop the special `output_encoding`__ default ("latin-1").
405     The Docutils wide default (usually "UTF-8") is used instead.
406   - Render inline markup in document title and subtitle.
407   - Fix numbering depth with LaTeX section numbering.
408   - Update Unicode -> LaTeX translations.
409   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
411 __ docs/ref/restructuredtext.html#inline-literals
412 __ docs/user/config.html#docutils-footnotes
413 __ docs/user/config.html#output_encoding
415 * docutils/writers/manpage.py
417   - Fix: supported attribute (thanks to peter2108).
418   - Remove trailing blanks in code (keep in sync with mercurial version).
419   - Titles level 1, that is ``.SH``, always uppercase.
420   - Apply patch from mg: literal text should be bold in man-pages.
422 * docutils/nodes.py
424   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
425     turkish locale.
427 * setup.py:
429   - Python 3 support: copy test/ and tools/ to the build-dir
430     and convert Python sources with 2to3.
433 Release 0.6 (2009-10-11)
434 ========================
436 * General:
438   - Docutils is now compatible with Python versions from 2.3 up to 2.6
439     and convertible to 3.1 code.
441     + Node.__nonzero__ returns True instead of 1.
442     + use os.walk instead os.path.walk.
443     + minimize "types" module where possible.
444     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
445     + Text nodes now subclass unicode rather than UserString
446       (which is gone in python 3.0).
447     + 3.0 compatibility module docutils._compat
449     + Drop 2.2 compatibility workarounds.
450     + Drop extras/optparse.py and extras/textwrap.py
451       (stdlib modules since 2.3).
453   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
454   - Unix man page export: manpage writer moved from sandbox to Doctutils
455     core.
457   - Apply [ 1719345 ] Galician translation
458   - Apply [ 1905741 ] Polish translation
459   - Apply [ 1878977 ] make_id(): deaccent characters.
460   - Apply [ 2029251 ] return nonzero when tests fail.
461   - Fix [ 1692788 ] allow UTF-8 in style sheets.
462   - Fix [ 2781629 ] support non-ASCII chars in file names.
463   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
464   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
465   - Fix [ 2821266 ] --strict option works now like --halt=info.
466   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
467   - Fix [ 1627229 ] hyperlink references in substitutions.
469   - The "newlatex" writer is orphaned.
471 * reStructuredText:
473   - Documented Unicode characters allowed as inline markup openers,
474     closers, and delimiters.
475   - Allow units for all length specifications.
476   - Allow percent sign in "scale" argument of "figure" and "image" directives.
477   - Bugfix: The "figalign" argument of a figure now works as intended
478     (aligning the figure, not its contents).
479   - Align images with class "align-[right|center|left]"
480     (allows setting the alignment of an image in a figure).
482 * docutils/nodes.py:
484   - Added ``Element.__contains__`` method, for the in-operator.
486 * docutils/parsers/rst/states.py:
488   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
489   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
490     " " (non-breaking space), and "¡ ¿" openers.
492 * docutils/parsers/directives/misc.py:
494   - Added ``start-line`` and ``end-line`` options to "include"
495     directive to select a range of lines.
496   - Hard tabs in literal inclusions are replaced by spaces. This is
497     configurable via the new ``tab-width`` option of the "include" directive
498     (a negative tab-width prevents tab expansion).
500 * docutils/utils.py:
502   - Add ``get_stylesheet_list`` function.
503   - Apply [ 2834836 ] print info at halt
505 * docutils/transforms/universal.py:
507   - Raise default priority of StripClasses to exclude stripped classes from
508     the ToC.
510 * docutils/writers/html4css1/__init__.py:
512   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
513     separated list of stylesheets.
514   - Address [ 1938891 ] Inline literal text creates "pre" span only when
515     needed to prevent inter-word line wraps.
516   - Use `translate` method instead of repeated `replace` calls.
517   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
518     classes to allow CSS styling that does not interfere with other
519     table-using constructs (field lists, citations, ...).
521 * docutils/writers/newlatex2e/__init__.py:
523   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
525 * docutils/writers/latex2e/__init__.py (see also
526   `<docs/user/docutils-05-compat.sty.html>`__) :
528   - Add ``--embed-stylesheet`` option.
529   - Apply [ 1474017 ] image vertical alignment is reversed.
530   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
531   - Change: has_key for dictionaries (not Nodes) to in-operator.
532   - Merge adjacent citations into one latex cite command.
533   - Failsave implementation of custom roles. LaTeX compilation now ignores
534     unknown classes instead of aborting with an error.
535   - Support custom roles based on standard roles.
536   - LaTeX packages can be used as ``--stylesheet`` arguments without
537     restriction. (A style sheet is now referenced with the ``\usepackage``
538     command, if it ends with ``.sty`` or has no extension.)
539   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
540   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
541   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
542     2005-02-04 as a configurable length unit).
543   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
544     if font-encoding is set to ''. LaTeX defaults to OT1 then.
545   - Set sub- and superscript role argument in text mode not as math.
546     Use a custom role based on sub-/superscript if you want italic shape.
547   - Shorter preamble and less dependencies: Load packages and define macros
548     only if required in the document.
549   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
550   - New custom environments and commands with optional "classes" argument.
551   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
552   - Better conformance to Docutils specifications with ``--use-latex-toc``.
553     Support for LaTeX generated ToC also with unnumbered sections.
554   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
555     section numbering by LaTeX.
556   - Use default font in admonitions and sidebar.
557   - Align of image in a figure defaults to 'center'.
558   - Bugfix: Newlines around targets and references prevent run-together
559     paragraphs.
560   - Fix internal hyperlinks.
561   - Use class defaults for page margins ('typearea' now optional).
562   - Float placement made configurable, default changed to "here definitely".
563   - Typeset generic topic as "quote block with title".
564   - Use template (file and configuration option).
565   - In the default template, load cmap.sty (fix text extraction in PDF) and
566     fixltx2e.sty (LaTeX patches, \textsubscript).
567   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
568   - Use `translate` instead of repeated `replace` calls for text encoding.
569   - Hyperlinked footnotes and support for symbol footnotes and
570     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
571   - Complete pairs of binary options
572     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
573     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
574   - New defaults:
575     - font-encoding: "T1" (formerly implicitely set by 'ae').
576     - use-latex-toc: true (ToC with page numbers).
577     - use-latex-footnotes: true (no mixup with figures).
579 * docutils/writers/manpage.py
581   - Do not print version at document end, this is done by the viewer.
582   - Do not print date at document end, this is done by the viewer.
583   - Fix storage of docinfo fields for none standard fields.
585 * docutils/tools/rst2man.py
587 Release 0.5 (2008-06-25)
588 ========================
590 * docutils/languages/he.py: Added to project: Hebrew mappings by
591   Meir Kriheli.
593 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
594   mappings by Meir Kriheli.
596 * docutils/frontend.py:
598   - Configuration files are now assumed and required to be
599     UTF-8-encoded.
600   - Paths of applied configuration files are now recorded in the
601     runtime setting ``_config_files`` (accessible via
602     ``--dump-settings``).
603   - Added ``--strip-elements-with-class`` and ``--strip-class``
604     options (``strip_elements_with_classes`` and ``strip_classes``
605     settings).
607 * docutils/io.py:
609   - Added code to determine the input encoding from data: encoding
610     declarations or the presence of byte order marks (UTF-8 & UTF-16).
611   - Added support for IronPython 1.0.
613 * docutils/nodes.py:
615   - Added ``document.__getstate__`` method, for pickling.
617 * docutils/parsers/rst/states.py:
619   - Allow ``+`` and ``:`` in reference names.
620   - Unquoted targets beginning with an underscore (``.. __target:
621     URI``) are no longer accepted.
622   - Added support for multiple attributions in a physical block quote
623     (indented text block), dividing it into multiple logical block
624     quotes.
625   - Added support for unicode bullets in bullet lists: "•", "‣", and
626     "⁃".
627   - Added support for new object-oriented directive interface,
628     retaining compatibility to the old functional interface.
629   - Added support for throwing ``DirectiveError``'s from within
630     directive code.
632 * docutils/parsers/rst/__init__.py:
634   - Added ``Directive`` base class.
635   - Added ``DirectiveError`` base class.
636   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
637     definitions.
639 * docutils/parsers/directives/:
641   - Refactored all reStructuredText directives to use the new
642     object-oriented directive interface.  Errors are now (mostly)
643     thrown using the new ``DirectiveError`` class.
645 * docutils/parsers/directives/misc.py:
647   - Added ``start-after`` and ``end-before`` options to ``include``
648     directive; thanks to Stefan Rank.
650 * docutils/transforms/universal.py:
652   - Added ``StripClassesAndElements`` transform to remove from the
653     document tree all elements with classes in
654     ``settings.strip_elements_with_classes`` and all "classes"
655     attribute values in ``self.document.settings.strip_classes``.
657 * docutils/transforms/writer_aux.py:
659   - Added ``Admonitions`` transform to transform specific admonitions
660     (like ``note``, ``warning``, etc.) into generic admonitions with a
661     localized title.
663 * docutils/writers/html4css1/__init__.py:
665   - Moved template functionality from the PEP/HTML writer here.
666   - Expanded the fragments available in the ``parts`` attribute.
667   - Moved ``id`` attributes from titles to surrounding ``div``
668     elements.
669   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
670     universally supported now).
671   - ``template.txt`` is now opened in text mode instead of binary mode
672     (to ensure Windows compatibility).
673   - ``a`` elements now have an "internal" or "external" class,
674     depending on reference type.
676 * docutils/writers/html4css1/template.txt: Added to project.
678 * docutils/writers/pep_html/:
680   - Moved template functionality to the HTML writer.
682 * docutils/writers/s5_html/__init__.py:
684   - Added ``view_mode`` & ``hidden_controls`` settings
685     (``--view-mode`` & ``--hidden-controls/--visible-controls``
686     options).
688 * docutils/writers/latex2e/__init__.py:
690   - Add ``--literal-block-env``
691   - Fix: escaping ``%`` in href urls.
692   - Move usepackage hyperref after stylesheet inclusion.
693   - Fix: scrartcl does not have chapter but scrreprt.
694   - Add newline after ``\end{verbatim}``.
695   - Merge smaller differences from latex2e_adaptive_preamble.
696   - Add ``use-part-section``.
697   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
698   - Using leavemode option_list no longer needs to check if parent
699     is a definition list.
700   - Append ``\leavemode`` to definition list terms.
701   - No longer write visit\_/depart_definition_list_item comments to
702     output.
703   - Table column width with 3 decimal places.
704   - Add table stubs support (boldfont).
705   - Add assemble_parts to writer.
706   - Add simply support for nested tables.
707   - Fix verbatim in tables if use-verbatim-when-possible.
708   - Use section commands down to subparagraph.
709   - Put ensuremath around some latin1 chars.
710   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
711   - New option ``--use-bibtex=style,db1,db2``.
712   - New option ``--reference-label`` to allow usage of LaTeX ref for
713     labels in section references.
714   - Add a label after every section to support sectionnumbers as reference
715     labels.
716   - Fix: bug# 1605376 rst2latex: bad options group list
717   - Remove inactive code for use_optionlist_for_option_list.
718   - Remove latex comments from option_list output.
719   - Fix: bug# 1612270 double qoutes in italian literal.
720   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
721   - Add option --use-latex-abstract.
722   - Image width unit ``px`` is translated to ``pt``.
723   - Add image height support.
724   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
725     bug #1457388
726   - Fix: Do not escape underscores in citation reference labels if
727     use-latex-citations is set.
728   - Use centering instead of center for figure contents, to avoid vertical
729     space.
730   - Recognize table class: borderless, nolines, booktabs, standard.
731   - Fix: Renaming contents section does not work with latex writer; SF
732     bug #1487405.
733   - Applied patch for custom roles with classes from Edward Loper.
734   - Fixed bug that caused crashes with more than 256 lists.
736 * docutils/writers/pep_html/__init__.py:
738   - Changed to support new python.org website structure and
739     pep2pyramid.py.
741 * docs/howto/security.txt: "Deploying Docutils Securely", added to
742   project.
744 * tools/buildhtml.py:
746   -- Added ``ignore`` setting to exclude a list of shell patterns
747      (default: ``.svn:CVS``).
749 * tools/editors/emacs/rst.el:
751   - Changed license to "GPL".
752   - Added ``rst-straighten-decorations`` function.
753   - The ``compile`` module is now always loaded.
754   - Added ``rst-toggle-line-block`` function.
755   - Headings consisting only of non-ASCII characters are now
756     recognized by ``rst-toc`` and ``rst-adjust``.
757   - Added font-lock support for multi-line comments where the first
758     comment line is empty.
759   - Added ``(require 'font-lock)``.
761 * setup.py:
763   - Provide descriptive error message if distutils is missing.
766 Release 0.4 (2006-01-09)
767 ========================
769 * General:
771   - Updated the project policies for trunk/branch development &
772     version numbering.
774 * docutils/__init__.py:
776   - Added ``__version_details__`` attribute to describe code source
777     (repository/snapshot/release).
778   - Replaced ``default_transforms`` attribute of TransformSpec with
779     ``get_transforms()`` method.
781 * docutils/core.py:
783   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
784     functions, for document tree extraction and reprocessing.
786 * docutils/io.py:
788   - Added ``DocTreeInput`` class, for reprocessing existing documents.
789   - Added support for non-Unicode (e.g. binary) writer output.
791 * docutils/nodes.py:
793   - Re-introduced ``Targetable.indirect_reference_name``, for
794     MoinMoin/reST compatibility (removed in r3124/r3129).
795   - Added ``serial_escape`` function; escapes string values that are
796     elements of a list, for serialization.  Modified Docutils-XML
797     writing (``Element._dom_node``) and pseudo-XML writing
798     (``Element.starttag``) to use ``serial_escape``.
799   - Added ``Node.deepcopy()`` method.
800   - Removed the internal lists ``document.substitution_refs``,
801     ``document.anonymous_refs``, and ``document.anonymous_targets``.
802   - Added a "container" element.
803   - Fixed bug where values of list-valued attributes of elements
804     originating from custom interpreted text roles (i.e., with custom
805     classes) were being shared between element instances.  Reported by
806     Shmuel Zeigerman.
808 * docutils/statemachine.py:
810   - Added trailing whitespace stripping to ``string2lines()``.
811   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
812     Asian double-width character support.
814 * docutils/utils.py:
816   - Added ``east_asian_column_width()`` for double-width character
817     support.
819 * docutils/languages/ja.py: Added to project: Japanese mappings by
820   Hisashi Morita.
822 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
823   mappings by Panjunyong.
825 * docutils/parsers/null.py: Added to project; a do-nothing parser.
827 * docutils/parsers/rst/__init__.py:
829   - Added validator to tab_width setting, with test.  Closes SF bug
830     #1212515, report from Wu Wei.
832 * docutils/parsers/rst/states.py:
834   - Fixed bug with escaped colons indicating a literal block.
835   - Fixed bug with enumerated lists (SF#1254145).
836   - Backslash-escaped colons inside of field names are now allowed.
837   - Targets (implicit and explicit), anonymous hyperlink references
838     and auto-numbered footnote references inside of substitution
839     definitions are now disallowed.
840   - Fixed bug: list items with blank first lines.
841   - Fixed bug: block quote attributions with indented second lines.
842   - Added East Asian double-width character support (Python 2.4 only).
844 * docutils/parsers/rst/tableparser.py:
846   - Added East Asian double-width character support (Python 2.4 only).
848 * docutils/parsers/rst/directives/body.py:
850   - Added the "container" directive.
852 * docutils/parsers/rst/directives/misc.py:
854   - Added the "default-role", "title", and "date" directives.
855   - Added standard data file syntax to the "include" directive.
856   - Added support for "class" directive content.
858 * docutils/parsers/rst/directives/images.py:
860   - Added ``indirect_reference_name`` support for images with a target
861     option.
862   - Added support for image width and height units.
863   - Fixed bug with image "target" options.
865 * docutils/parsers/rst/directives/references.py:
867   - Added "class" attribute to "target-notes" directive, for
868     footnote_reference classes.
870 * docutils/parsers/rst/include/: Directory added to project; contains
871   standard data files for the "include" directive.  Initial contents:
872   character entity substitution definition sets, and a set of
873   definitions for S5/HTML presentations.
875 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
876   mappings by David Goodger.
878 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
879   Simplified Chinese mappings by Panjunyong.
881 * docutils/readers/__init__.py:
883   - Added universal.Decorations and universal.ExposeInternals
884     transforms as default transforms for all readers.
885   - Added ``ReReader`` base class for readers that reread an existing
886     document tree.
888 * docutils/readers/doctree.py: Added to project; a reader for existing
889   document trees.
891 * docutils/transforms/frontmatter.py:
893   - Fixed the DocInfo transform to handle SVN-style expansion of the
894     "Date" keyword.
895   - In ``DocInfo.extract_authors``, treat the contents of "authors"
896     fields uniformly.
898 * docutils/transforms/misc.py:
900   - Added misc.Transitions transform, extracted from
901     universal.FinalChecks.
903 * docutils/transforms/references.py:
905   - Added references.DanglingReferences transform, extracted from
906     universal.FinalChecks.
907   - Fixed bug with doubly-indirect substitutions.
908   - Added footnote_reference classes attribute to "TargetNotes".
909   - Fixed bug with circular substitution definitions that put Docutils
910     into an infinite loop.
912 * docutils/transforms/universal.py:
914   - Added universal.ExposeInternals transform, extracted from
915     universal.FinalChecks.
916   - Removed universal.FinalChecks transform (logic has been moved to
917     several new transforms).
918   - Fixed bug with the "expose_internals" setting and Text nodes
919     (exposed by the "rawsource" internal attribute).
920   - Added the universal.StripComments transform, implementation of the
921     "strip_comments" setting.
923 * docutils/transforms/writer_aux.py: Added to project; auxiliary
924   transforms for writers.
926   - Added ``Compound`` transform, which flattens compound paragraphs.
928 * docutils/writers/: Several writer modules (html4css1.py) were
929   converted into packages.  Support modules and data files have been
930   moved into the packages.  The stylesheets for the HTML writers are
931   now installed along with the code, the code knows where to find
932   them, and the default is to use them (actually, to embed them).
933   Some adjustments to configuration files may be necessary.  The
934   easiest way to obtain the new default behavior is to remove all
935   settings whose name includes "stylesheet".
937 * docutils/writers/__init__.py:
939   - Added universal.Messages and universal.FilterMessages transforms
940     as default transforms for all writers.
941   - Added ``UnfilteredWriter`` base class for writers that pass the
942     document tree on unchanged.
944 * docutils/writers/docutils_xml.py:
946   - Made ``xmlcharrefreplace`` the default output encoding error
947     handler.
949 * docutils/writers/html4css1/:
951   - Added support for image width and height units.
952   - Made ``xmlcharrefreplace`` the default output encoding error
953     handler.
954   - Made ``--embed-stylesheet`` the default rather than
955     ``--link-stylesheet``.
956   - Moved "id" attribute from container (section etc.) to title's <a>
957     tag, to be on the same tag as "name".
958     (!!! To be reverted in Docutils 0.5.)
959   - Added vertical space between fields of field lists.
960   - Added ``--compact-field-lists`` option to remove vertical space in
961     simple field lists.
962   - Made cloaking of email addresses with ``--cloak-email-addresses``
963     less obtrusive.
964   - Fixed support for centered images.
965   - Added support for class="compact" & class="open" lists.
967 * docutils/writers/latex2e/:
969   - Underscores in citekeys are no longer escaped.
971 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
972   mapping of Unicode characters to LaTeX equivalents.
974 * docutils/writers/s5_html/: Package added to project; writer for
975   S5/HTML slide shows.
977 * docs/dev/distributing.txt: Added to project; guide for distributors
978   (package maintainers).
980 * docs/dev/hacking.txt: Added to project; guide for developers.
982 * docs/ref/doctree.txt:
984   - Updated for plural attributes "classes", "ids", "names",
985     "dupnames".
986   - Added the "container" element.
988 * docs/ref/docutils.dtd:
990   - Updated for plural attributes "classes", "ids", "names",
991     "dupnames".
993 * docs/user/emacs.txt: Added to project; a document about Emacs
994   support for reStructuredText and Docutils.
996 * docs/user/links.txt: Added to project; lists of Docutils-related
997   links.
999 * docs/user/mailing-lists.txt: Added to project; information about
1000   Docutils-related mailing lists and how to access them.
1002 * docs/user/slide-shows.txt: Added to project; example of and docs for
1003   the S5/HTML writer (``rst2s5.py`` front end).
1005 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
1006   Files", added to project.
1008 * test/coverage.sh: Added to project; test coverage script.
1010 * test/DocutilsTestSupport.py:
1012   - Added support for specifying runtime settings at the suite level.
1014 * test/test_functional.py:
1016   - Added the ``clear_output_directory`` function.
1017   - Added support for ``_test_more`` functions in functional test
1018     config files.
1020 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
1022 * tools/rstpep2html.py: Renamed from pep.py.
1024 * tools/dev/create_unimap.py: Added to project; script to create the
1025   docutils/writers/unimap_latex.py mapping file.
1027 * tools/dev/profile_docutils.py: Added to project; profiler script.
1029 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
1031 * tools/editors/emacs/restructuredtext.el,
1032   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
1033   Removed from project; the functionality is now contained in rst.el.
1035 * tools/editors/emacs/rst.el: Added to project.  Added many features
1036   and fixed many bugs.  See docs/user/emacs.txt for details.
1038 * tools/stylesheets: Removed from project.  Stylesheets have been
1039   renamed and moved into writer packages.
1042 Release 0.3.9 (2005-05-26)
1043 ==========================
1045 * General:
1047   - Eliminated and replaced all uses of the old string attributes
1048     ``id``, ``name``, ``dupname`` and ``class`` with references to the
1049     new list attributes ``ids``, ``names``, ``dupnames`` and
1050     ``classes`` throughout the whole source tree.
1052 * docutils/core.py:
1054   - Enabled ``--dump-*`` options when ``--traceback`` specified,
1055     allowing for easier debugging.
1056   - In ``Publisher.publish()``, expanded the generic top-level
1057     exception catching.
1059 * docutils/examples.py:
1061   - Added ``internals`` function for exploration.
1063 * docutils/io.py:
1065   - Fixed ``Input.decode`` method to apply heuristics only if no
1066     encoding is explicitly given, and to provide better reporting of
1067     decoding errors.
1068   - The ``Input.decode`` method now removes byte order marks (BOMs)
1069     from input streams.
1071 * docutils/nodes.py:
1073   - ``image`` element class changed to subclass of Element, not
1074     TextElement (it's an empty element, and cannot contain text).
1075   - Added ``attr_defaults`` dictionary for default attribute values.
1076   - Added empty list as default value for the following attributes:
1077     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
1078   - Added ``document.decoration`` attribute,
1079     ``document.get_decoration`` method, and ``decoration.get_header``
1080     & ``.get_footer`` methods.
1081   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
1082     methods.
1084 * docutils/utils.py:
1086   - Removed ``docutils.utils.Reporter.categories``,
1087     ``docutils.utils.ConditionSet``, and all references to them, to
1088     simplify error reporting.
1090 * docutils/languages/nl.py: Added to project; Dutch mappings by
1091   Martijn Pieters.
1093 * docutils/parsers/rst/__init__.py:
1095   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
1097 * docutils/parsers/rst/states.py:
1099   - Added check for escaped at-mark to prevent email address recognition.
1100   - Fixed option lists to allow spaces inside ``<angle-bracketed option
1101     arguments>``.
1102   - Allowed whitespace in paths and URLs.
1103   - Added auto-enumerated list items.
1104   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
1105     followed by text.
1106   - Added support for table stub columns.
1108 * docutils/parsers/rst/directives/__init__.py:
1110   - Allowed whitespace in paths (``path`` function).
1111   - Added ``uri`` directive option conversion function.
1113 * docutils/parsers/rst/directives/body.py:
1115   - Fixed illegal context bug with "topic" directive (allowed within
1116     sidebars; not within body elements).
1118 * docutils/parsers/rst/directives/images.py:
1120   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1121   - Added support for the ``file_insertion_enabled`` setting in the
1122     "figure" directive (disables "figwidth" option).
1123   - "image" directive: added checks for valid values of "align" option,
1124     depending on context.  "figure" directive: added specialized
1125     "align" option and attribute on "figure" element.
1126   - Made ":figwidth: image" option of "figure" directive work again.
1127   - Fixed bug with reference names containing uppercase letters
1128     (e.g. ``Name_``) in "target" option of "image" directive.
1130 * docutils/parsers/rst/directives/misc.py:
1132   - Fixed "include" and "raw" directives to catch text decoding
1133     errors.
1134   - Allowed whitespace in "include" & "raw" directive paths.
1135   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1136     settings in "include" & "raw" directives.
1138 * docutils/parsers/rst/directives/parts.py:
1140   - Added "header" & "footer" directives.
1141   - Fixed illegal context bug with "contents" directive (topics
1142     allowed within sidebars; not within body elements).
1144 * docutils/parsers/rst/directives/tables.py:
1146   - Added "list-table" directive.
1147   - Caught empty CSV table bug.
1148   - Added support for the ``file_insertion_enabled`` setting in the
1149     "csv-table" directive.
1150   - Added ``stub-columns`` option to "csv-table" and "list-table"
1151     directives.
1153 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1154   mappings by Martijn Pieters.
1156 * docutils/readers/standalone.py:
1158   - Added ``--section-subtitles`` and ``--no-section-subtitles``
1159     options to activate or deactivate the SectSubTitle transform.
1161 * docutils/transforms/frontmatter.py:
1163   - Added SectSubTitle transform to promote titles of lone
1164     subsections to subtitles.
1166 * docutils/transforms/references.py:
1168   - Fixed mislocated internal targets bug, by propagating internal
1169     targets to the next node, making use of the newly added support
1170     for multiple names and IDs.
1171   - Fixed duplicate footnote label bug.
1172   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1173     transform.
1175 * docutils/writers/html4css1.py:
1177   - Fixed unencoded stylesheet reference bug (characters like "&" in
1178     stylesheet references).
1179   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1180     tags).
1181   - Added support for multiple IDs per node by creating empty ``span``
1182     tags.
1183   - Added the ``field_name_limit`` & ``option_limit`` settings &
1184     support.
1185   - Added support for table stub columns.
1186   - Added support for the ``align`` attribute on ``figure`` elements.
1187   - Added the ``cloak_email_addresses`` setting & support.
1188   - Added ``html_prolog``, ``html_head``, ``html_body``,
1189     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1190     ``docutils.core.publish_parts``.
1191   - Added support for section subtitles.
1193 * docutils/writers/latex2e.py:
1195   - Fixed tables starting with more than one multirow cell.
1196   - Improved --use-latex-docinfo so that organization/contact/address
1197     fields are lumped with the last author field and appear on the
1198     titlepage.
1199   - Made sure the titlepage is always shown with --use-latex-docinfo,
1200     even if the document has no title.
1201   - Made sure that latex doesn't fill in today's date if no date field
1202     was given.
1203   - Added support for section subtitles.
1205 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1206   (under development).
1208 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1210 * docs/api/publisher.txt:
1212   - Added "``publish_parts`` Details" section.
1214 * docutils/dev/repository.txt: Added to project; information about the
1215   Docutils Subversion repository.
1217 * docs/ref/docutils.dtd:
1219   - Added a ``stub`` attribute to the ``colspec`` element via the
1220     ``tbl.colspec.att`` parameter entity.
1221   - Allowed topic elements within sidebars
1222   - Added an ``align`` attribute to the ``figure`` element.
1224 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1225   writer.
1228 Release 0.3.7 (2004-12-24)
1229 ==========================
1231 * docutils/frontend.py:
1233   - Added options: --input-encoding-error-handler,
1234     --record-dependencies, --leave-footnote-reference-space,
1235     --strict-visitor.
1236   - Added command-line and config file support for "overrides" setting
1237     parameter.
1239 * docutils/io.py:
1241   - Added support for input encoding error handler.
1243 * docutils/nodes.py:
1245   - Added dispatch_visit and dispatch_departure methods to
1246     NodeVisitor; useful as a hook for Visitors.
1247   - Changed structure of ``line_block``; added ``line``.
1248   - Added ``compound`` node class.
1249   - Added a mechanism for Visitors to transitionally ignore new node
1250     classes.
1252 * docutils/utils.py:
1254   - Moved ``escape2null`` and ``unescape`` functions from
1255     docutils/parsers/rst/states.py.
1257 * docutils/parsers/rst/roles.py:
1259   - Added "raw" role.
1260   - Changed role function API: the "text" parameter now takes
1261     null-escaped interpreted text content.
1263 * docutils/parsers/rst/states.py:
1265   - Fixed bug where a "role" directive in a nested parse would crash
1266     the parser; the state machine's "language" attribute was not being
1267     copied over.
1268   - Added support for line block syntax.
1269   - Fixed directive parsing bug: argument-less directives didn't
1270     notice that arguments were present.
1271   - Removed error checking for transitions.
1272   - Added support for multiple classifiers in definition list items.
1273   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1274   - Changed role function API: the "text" parameter now takes
1275     null-escaped interpreted text content.
1276   - Empty sections and documents are allowed now.
1278 * docutils/parsers/rst/directives/__init__.py:
1280   - Added ``encoding`` directive option conversion function.
1281   - Allow multiple class names in class_option conversion function.
1283 * docutils/parsers/rst/directives/body.py:
1285   - Converted the line-block directive to use the new structure.
1286   - Extracted the old line-block functionality to the ``block``
1287     function (still used).
1288   - Added ``compound`` directive (thanks to Lea Wiemann).
1290 * docutils/parsers/rst/directives/misc.py:
1292   - Added "encoding" option to "include" and "raw" directives.
1293   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1294   - Allow multiple class names in the "class" directive.
1296 * docutils/parsers/rst/directives/parts.py:
1298   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1299     options.  Thanks to Lele Gaifax.
1301 * docutils/parsers/rst/directives/tables.py:
1303   - Added "encoding" directive to "csv-table" directive.
1304   - Added workaround for lack of Unicode support in csv.py, for
1305     non-ASCII CSV input.
1307 * docutils/transforms/misc.py:
1309   - Fixed bug when multiple "class" directives are applied to a single
1310     element.
1311   - Enabled multiple format names for "raw" directive.
1313 * docutils/transforms/references.py:
1315   - Added support for trimming whitespace from beside substitution
1316     references.
1318 * docutils/transforms/universal.py:
1320   - FinalChecks now checks for illegal transitions and moves
1321     transitions between sections.
1323 * docutils/writers/html4css1.py:
1325   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1326   - "stylesheet" and "stylesheet_path" settings are now mutually
1327     exclusive.
1328   - Added support for the new line_block/line structure.
1329   - --footnote-references now overrides
1330     --trim-footnote-reference-space, if applicable.
1331   - Added support for ``compound`` elements.
1332   - Enabled multiple format names for "raw" directive.
1333   - ``<p>`` tags of a paragraph which is the only visible child of the
1334     document node are no longer stripped.
1335   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1336     new method ``should_be_compact_paragraph()``.
1337   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1338     elements.
1339   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1340     the output if they have their ``class`` attribute set.
1341   - The whole document is now surrounded by a ``<div
1342     class="document">`` element.
1343   - Body-level images are now wrapped by their own ``<div>`` elements,
1344     with image classes copied to the wrapper, and for images which
1345     have the ``:align:`` option set, the surrounding ``<div>`` now
1346     receives a class attribute (like ``class="align-left"``).
1348 * docutils/writers/latex2e.py:
1350   - no newline after depart_term.
1351   - Added translations for some Unicode quotes.
1352   - Added option "font-encoding", made package AE the default.
1353   - "stylesheet" and "stylesheet_path" settings are now mutually
1354     exclusive.
1355   - --footnote-references now overrides
1356     --trim-footnote-reference-space, if applicable.
1357   - The footnote label style now matches the footnote reference style
1358     ("brackets" or "superscript").
1359   - Added support for ``compound`` elements.
1360   - Enabled multiple format names for "raw" directive.
1362 * docs/ref/docutils.dtd:
1364   - Changed structure of the ``line_block`` element; added ``line``.
1365   - Added ``compound`` element.
1366   - Added "ltrim" and "rtrim" attributes to
1367     ``substitution_definition`` element.
1368   - Enabled multiple format names for ``raw`` element.
1369   - Enabled multiple classifiers in ``definition_list_item`` elements.
1371 * docs/ref/rst/directives.txt
1373   - Marked "line-block" as deprecated.
1374   - "Class" directive now allows multiple class names.
1375   - Added "Rationale for Class Attribute Value Conversion".
1376   - Added warning about "raw" overuse/abuse.
1378 * docs/ref/rst/restructuredtext.txt:
1380   - Added syntax for line blocks.
1381   - Definition list items may have multiple classifiers.
1383 * docs/ref/rst/roles.txt:
1385   - Added "raw" role.
1387 * tools/stylesheets/default.css:
1389   - Added support for the new line_block structure.
1390   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1393 Release 0.3.5 (2004-07-29)
1394 ==========================
1396 General:
1398 * _`Documentation cleanup/reorganization`.
1400   - Created new subdirectories of docs/:
1402     * ``docs/user/``: introductory/tutorial material for end-users
1403     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1404     * ``docs/api/``: API reference material for client-developers
1405     * ``docs/ref/``: reference material for all groups
1406     * ``docs/howto/``: for component-developers and core-developers
1407     * ``docs/peps/``: Python Enhancement Proposals
1409   - Moved ``docs/*`` to ``docs/user/``.
1410   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1411     ``spec/`` to ``docs/dev``.
1412   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1413     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1414   - Moved ``alternatives.txt``, and ``problems.txt`` from
1415     ``spec/rst/`` to ``docs/dev/rst/``.
1416   - Moved ``reStructuredText.txt``, ``directives.txt``,
1417     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1418     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1419     ``roles.txt``, ``reStructuredText.txt`` to
1420     ``restructuredtext.txt``.
1421   - Moved ``spec/howto/`` to ``docs/howto``.
1423   In order to keep the CVS history of moved files, we supplied
1424   SourceForge with a `script for modifying the Docutils CVS
1425   repository`__.
1427   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1429   After running the cleanup script:
1431   - Added ``docs/index.txt``.
1432   - Added a ``.htaccess`` file to the ``web`` module, containing
1433     redirects for all old paths to new paths.  They'll preserve
1434     fragments (the "#name" part of a URL), and won't clutter up the
1435     file system, and will correct the URL in the user's browser.
1436   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1437     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1438     the "To Do" list itself in ``docs/dev/todo.txt``.
1439   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1440     section of ``docs/dev/todo.txt``.
1441   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1442   - Added "How To Report Bugs" to ``BUGS.txt``.
1443   - Went through all the sources and docs (including under web/) and
1444     updated links.  Mostly done by Lea Wiemann; thanks Lea!
1445     (Still need to update links in the sandboxes.)
1447 Specific:
1449 * BUGS.txt: Added to project.
1451 * THANKS.txt: Added to project.
1453 * docutils/__init__.py:
1455   - 0.3.4: Post-release.
1457 * docutils/core.py:
1459   - Added special error handling & advice for UnicodeEncodeError.
1460   - Refactored Publisher.publish (simplified exception handling &
1461     extracted debug dumps).
1462   - Renamed "enable_exit" parameter of convenience functions to
1463     "enable_exit_status".
1464   - Enabled traceback (exception propagation) by default in
1465     programmatic convenience functions.
1466   - Now publish_file and publish_cmdline convenience functions return
1467     the encoded string results in addition to their regular I/O.
1468   - Extracted common code from publish_file, publish_string, and
1469     publish_parts, into new publish_programmatically.  Extracted
1470     settings code to ``Publisher.process_programmatic_settings``.
1471   - In Publisher.publish, disabled ``settings_overrides`` when
1472     ``settings`` is supplied; redundant.
1474 * docutils/frontend.py:
1476   - Added help text for "--output-encoding-error-handler" and
1477     "--error-encoding-error-handler".
1478   - Renamed "--exit" to "--exit-status".
1479   - Simplified default-setting code.
1481 * docutils/parsers/rst/__init__.py:
1483   - Added "--pep-base-url" and "--rfc-base-url" options.
1485 * docutils/parsers/rst/states.py:
1487   - Made URI recognition more aggressive and intelligent.
1489 * docutils/parsers/rst/directives/__init__.py:
1491   - Added several directive option conversion functions.
1493 * docutils/parsers/rst/directives/body.py:
1495   - Moved "table" directive to tables.py.
1497 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1498   added to project.
1500 * docutils/writers/latex2e.py:
1502   - Added "--table-style=(standard|booktabs|nolines)"
1503   - figures get "here" option (LaTeX per default puts them at bottom),
1504     and figure content is centered.
1505   - Rowspan support for tables.
1506   - Fix: admonition titles before first section.
1507   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1508   - Replave ``_`` in literal by an underlined blank, because it has the correct
1509     width.
1510   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1511   - A few unicode replacements, if output_encoding != utf
1512   - Add "--graphicx-option".
1513   - Indent literal-blocks.
1514   - Fix: omit ``\maketitle`` when there is no document title.
1516 * docs/index.txt: "Docutils Project Documentation Overview", added to
1517   project.
1519 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1520   Tool", added to project.
1522 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1524 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1526 * docs/dev/policies.txt: Added to project (extracted from
1527   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1529 * docs/dev/release.txt: Added to project (extracted from
1530   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1532 * docs/dev/testing.txt: Added to project.
1534 * docs/dev/website.txt: Added to project (extracted from
1535   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1537 * docs/ref/rst/directives.txt:
1539   - Added directives: "table", "csv-table".
1541 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1542   added to project.  1 page for syntax, and a 1 page reference for
1543   directives and roles.  Source text to be used as-is; not meant to be
1544   converted to HTML.
1546 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1547   with a change of title.
1549 * test/functional/, contents, and test/test_functional.py: Added to
1550   project.
1552 * tools/buildhtml.py: Fixed bug with config file handling.
1554 * tools/html.py: Removed from project (duplicate of rst2html.py).
1556 * tools/pep2html.py: Removed from project (duplicate of Python's
1557   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1558   Docutils-related PEPs in docs/peps/).
1560 * tools/rst2pseudoxml.py: Renamed from publish.py.
1562 * tools/rst2xml.py: Renamed from docutils-xml.py.
1564 * tools/test.txt: Removed from project; moved to
1565   docs/user/rst/demo.txt.
1567 * setup.py: Now also installs ``rst2latex.py``.
1570 Release 0.3.3 (2004-05-09)
1571 ==========================
1573 * docutils/__init__.py:
1575   - 0.3.1: Reorganized config file format (multiple sections); see
1576     docs/config.txt.
1577   - Added unknown_reference_resolvers attribute to TransformSpec.
1578   - 0.3.2: Interpreted text reorganization.
1579   - 0.3.3: Released.
1581 * docutils/core.py:
1583   - Catch system messages to stop tracebacks from parsing errors.
1584   - Catch exceptions during processing report & exit without
1585     tracebacks, except when "--traceback" used.
1586   - Reordered components for OptionParser; application comes last.
1587   - Added "config_section" parameter to several methods and functions,
1588     allowing front ends to easily specify their config file sections.
1589   - Added publish_parts convenience function to allow access to individual
1590     parts of a document.
1592 * docutils/examples.py: Added to project; practical examples of
1593   Docutils client code, to be used as-is or as models for variations.
1595 * docutils/frontend.py:
1597   - Added "--traceback" & "--no-traceback" options ("traceback"
1598     setting).
1599   - Implemented support for config file reorganization:
1600     ``standard_config_files`` moved from ``ConfigParser`` to
1601     ``OptionParser``; added
1602     ``OptionParser.get_config_file_settings()`` and
1603     ``.get_standard_config_settings()``; support for old "[options]"
1604     section (with deprecation warning) and mapping from old to new
1605     settings.
1606   - Reimplemented setting validation.
1607   - Enabled flexible boolean values: yes/no, true/false, on/off.
1608   - Added ``Values``, a subclass of ``optparse.Values``, with support
1609     for list setting attributes.
1610   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1611     thanks to Beni Cherniavsky.
1612   - Added "--no-section-numbering" option.
1614 * docutils/io.py:
1616   - Catch IOErrors when opening source & destination files, report &
1617     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1618     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1620 * docutils/nodes.py:
1622   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1623     method definitions (via ``exec``) to dynamic assignments (via
1624     ``setattr``); thanks to Roman Suzi.
1625   - Encapsulated visitor dynamic assignments in a function; thanks to
1626     Ian Bicking.
1627   - Added indirect_reference_name attribute to the Targetable
1628     class. This attribute holds the whitespace_normalized_name
1629     (contains mixed case) of a target.
1631 * docutils/statemachine.py:
1633   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1634   - Added ``StringList.get_2D_block``.
1636 * docutils/utils.py:
1638   - Added "level" attribute to SystemMessage exceptions.
1640 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1641   Jannie Hofmeyr.
1643 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1644   Blaha.
1646 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1647   Marcelo Huerta San Martin.
1649 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1650   mappings by Lalo Martins.
1652 * docutils/languages/ru.py: Added to project; Russian mappings by
1653   Roman Suzi.
1655 * docutils/parsers/rst/roles.py: Added to project.  Contains
1656   interpreted text role functions, a registry for interpreted text
1657   roles, and an API for adding to and retrieving from the registry.
1658   Contributed by Edward Loper.
1660 * docutils/parsers/rst/states.py:
1662   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1663   - Allowed true em-dash character and "---" as block quote
1664     attribution marker.
1665   - Added support for <angle-bracketed> complex option arguments
1666     (option lists).
1667   - Fixed handling of backslashes in substitution definitions.
1668   - Fixed off-by-1 error with extra whitespace after substitution
1669     definition directive.
1670   - Added inline markup parsing to field lists' field names.
1671   - Added support for quoted (and unindented) literal blocks.
1672     Driven in part by a bribe from Frank Siebenlist (thanks!).
1673   - Parser now handles escapes in URIs correctly.
1674   - Made embedded-URIs' reference text omittable.  Idea from Beni
1675     Cherniavsky.
1676   - Refactored explicit target processing code.
1677   - Added name attribute to references containing the reference name only
1678     through whitespace_normalize_name (no case changes).
1679   - parse_target no longer returns the refname after going through
1680     normalize_name. This is now handled in make_target.
1681   - Fixed bug relating to role-less interpreted text in non-English
1682     contexts.
1683   - Reorganized interpreted text processing; moved code into the new
1684     roles.py module.  Contributed by Edward Loper.
1685   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1686     ``parse_directive_block``.
1688 * docutils/parsers/rst/tableparser.py:
1690   - Reworked for ``StringList``, to support "include" directives in
1691     table cells.
1693 * docutils/parsers/rst/directives/__init__.py:
1695   - Renamed ``unchanged()`` directive option conversion function to
1696     ``unchanged_required``, and added a new ``unchanged``.
1697   - Catch unicode value too high error; fixes bug 781766.
1698   - Beefed up directive error reporting.
1700 * docutils/parsers/rst/directives/body.py:
1702   - Added basic "table" directive.
1704 * docutils/parsers/rst/directives/images.py:
1706   - Added "target" option to "image" directive.
1707   - Added name attribute to references containing the reference name only
1708     through whitespace_normalize_name (no case changes).
1710 * docutils/parsers/rst/directives/misc.py:
1712   - Isolated the import of the ``urllib2`` module; was causing
1713     problems on SourceForge (``libssl.so.2`` unavailable?).
1714   - Added the "role" directive for declaring custom interpreted text
1715     roles.
1717 * docutils/parsers/rst/directives/parts.py:
1719   - The "contents" directive does more work up-front, creating the
1720     "topic" and "title", and leaving the "pending" node for the
1721     transform.  Allows earlier reference resolution; fixes subtle bug.
1723 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1724   mappings by Jannie Hofmeyr.
1726 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1727   mappings by Marek Blaha.
1729 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1730   mappings by Marcelo Huerta San Martin.
1732 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1733   Portuguese mappings by Lalo Martins.
1735 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1736   mappings by Roman Suzi.
1738 * docutils/transforms/parts.py:
1740   - The "contents" directive does more work up-front, creating the
1741     "topic" and "title", and leaving the "pending" node for the
1742     transform.  Allows earlier reference resolution; fixes subtle bug.
1743   - Added support for disabling of section numbering.
1745 * docutils/transforms/references.py:
1747   - Verifying that external targets are truly targets and not indirect
1748     references. This is because we are now adding a "name" attribute to
1749     references in addition to targets. Note sure if this is correct!
1750   - Added code to hook into the unknown_reference_resolvers list for a
1751     transformer in resolve_indirect_target. This allows the
1752     unknown_reference_resolvers to keep around indirect targets which
1753     docutils doesn't know about.
1754   - Added specific error message for duplicate targets.
1756 * docutils/transforms/universal.py:
1758   - Added FilterMessages transform (removes system messages below the
1759     verbosity threshold).
1760   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1761     to FinalCheckVisitor for application-specific handling of
1762     unresolvable references.
1763   - Added specific error message for duplicate targets.
1765 * docutils/writers/__init__.py:
1767   - Added assemble_parts method to the Writer class to allow for
1768     access to a documents individual parts.
1769   - Documented & set default for ``Writer.output`` attribute.
1771 * docutils/writers/html4css1.py:
1773   - Fixed unicode handling of attribute values (bug 760673).
1774   - Prevent duplication of "class" attribute values (bug report from
1775     Kirill Lapshin).
1776   - Improved table grid/border handling (prompted by report from Bob
1777     Marshall).
1778   - Added support for table titles.
1779   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1780     to Darek Suchojad.
1781   - Added functionality to keep track of individual parts of a document
1782     and store them in a dictionary as the "parts" attribute of the writer.
1783     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1784   - Added proper support for the "scale" attribute of the "image"
1785     element.  Contributed by Brent Cook.
1786   - Added ``--initial-header-level`` option.
1787   - Fixed bug: the body_pre_docinfo segment depended on there being a
1788     docinfo; if no docinfo, the document title was incorporated into
1789     the body segment.  Adversely affected the publish_parts interface.
1791 * docutils/writers/latex2e.py:
1793   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1794     about a missing file.
1795   - Added options and support: ``--compound-enumerators``,
1796     ``--section-prefix-for-enumerators``, and
1797     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1798     934322).
1799   - Added option ``--use-verbatim-when-possible``, to avoid
1800     problematic characters (eg, '~' in italian) in literal blocks.
1801   - It's now possible to use four section levels in the `book` and
1802     `report` LaTeX classes.  The default `article` class still has
1803     three levels limit.
1805 * docs/config.txt: "Docutils Configuration Files", added to project.
1806   Moved config file entry descriptions from tools.txt.
1808 * docs/tools.txt:
1810   - Moved config file entry descriptions to config.txt.
1812 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
1813   Development".
1815 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1816   Text Roles", added to project.
1818 * spec/rst/reStructuredText.txt:
1820   - Added description of support for <angle-bracketed> complex option
1821     arguments to option lists.
1822   - Added subsections for indented and quoted literal blocks.
1824 * test: Continually adding & updating tests.
1826   - Added test/test_settings.py & test/data/config_*.txt support
1827     files.
1828   - Added test/test_writers/test_htmlfragment.py.
1830 * test/DocutilsTestSupport.py:
1832   - Refactored LaTeX publisher test suite/case class names to make
1833     testing other writers easier.
1834   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1835     to test the processing of HTML fragments which use the new
1836     publish_parts convenience function.
1838 * tools/buildhtml.py:
1840   - Added support for the "--prune" option.
1841   - Removed dependency on pep2html.py; plaintext PEPs no longer
1842     supported.
1844 * tools/docutils.conf:
1846   - Updated for configuration file reorganization.
1848 * tools/rst2html.py:
1850   - copied from tools/html.py
1852 * setup.py:
1854   - added a 'scripts' section to configuration
1855   - added 'tools/rst2html.py' to the scripts section
1858 Release 0.3 (2003-06-24)
1859 ========================
1861 General:
1863 * Renamed "attribute" to "option" for directives/extensions.
1865 * Renamed transform method "transform" to "apply".
1867 * Renamed "options" to "settings" for runtime settings (as set by
1868   command-line options).  Sometimes "option" (singular) became
1869   "settings" (plural).  Some variations below:
1871   - document.options -> document.settings (stored in other objects as
1872     well)
1873   - option_spec -> settings_spec (not directives though)
1874   - OptionSpec -> SettingsSpec
1875   - cmdline_options -> settings_spec
1876   - relative_path_options -> relative_path_settings
1877   - option_default_overrides -> settings_default_overrides
1878   - Publisher.set_options -> Publisher.get_settings
1880 Specific:
1882 * COPYING.txt: Added "Public Domain Dedication".
1884 * FAQ.txt: Frequently asked questions, added to project.
1886 * setup.py:
1888   - Updated with PyPI Trove classifiers.
1889   - Conditional installation of third-party modules.
1891 * docutils/__init__.py:
1893   - Bumped version to 0.2.1 to reflect changes to I/O classes.
1894   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1895   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1896   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1897     option and its effect on the PEP template & writer.
1898   - Bumped version to 0.2.4 due to changes to the PEP template &
1899     stylesheet.
1900   - Bumped version to 0.2.5 to reflect changes to Reporter output.
1901   - Added ``TransformSpec`` class for new transform system.
1902   - Bumped version to 0.2.6 for API changes (renaming).
1903   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1904     convenience functions.
1905   - Added ``Component.component_type`` attribute.
1906   - Bumped version to 0.2.8 because of the internal parser switch from
1907     plain lists to the docutils.statemachine.StringList objects.
1908   - Bumped version to 0.2.9 because of the frontend.py API changes.
1909   - Bumped version to 0.2.10 due to changes to the project layout
1910     (third-party modules removed from the "docutils" package), and
1911     signature changes in ``io.Input``/``io.Output``.
1912   - Changed version to 0.3.0 for release.
1914 * docutils/core.py:
1916   - Made ``publish()`` a bit more convenient.
1917   - Generalized ``Publisher.set_io``.
1918   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1919     parameters; improved its docstring.
1920   - Added ``publish_file()`` and ``publish_string()``.
1921   - Factored ``Publisher.set_source()`` and ``.set_destination()``
1922     out of ``.set_io``.
1923   - Added support for "--dump-pseudo-xml", "--dump-settings", and
1924     "--dump-transforms" hidden options.
1925   - Added ``Publisher.apply_transforms()`` method.
1926   - Added ``Publisher.set_components()`` method; support for
1927     ``publish_*()`` conveninece functions.
1928   - Moved config file processing to docutils/frontend.py.
1929   - Added support for exit status ("exit_level" setting &
1930     ``enable_exit`` parameter for Publisher.publish() and convenience
1931     functions).
1933 * docutils/frontend.py:
1935   - Check for & exit on identical source & destination paths.
1936   - Fixed bug with absolute paths & "--config".
1937   - Set non-command-line defaults in ``OptionParser.__init__()``:
1938     ``_source`` & ``_destination``.
1939   - Distributed ``relative_path_settings`` to components; updated
1940     ``OptionParser.populate_from_components()`` to combine it all.
1941   - Require list of keys in ``make_paths_absolute`` (was implicit in
1942     global ``relative_path_settings``).
1943   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1944     "--dump-settings", and "--dump-transforms" hidden options.
1945   - Removed nasty internals-fiddling ``ConfigParser.get_section``
1946     code, replaced with correct code.
1947   - Added validation functionality for config files.
1948   - Added "--error-encoding" option/setting, "_disable_config"
1949     internal setting.
1950   - Added encoding validation; updated "--input-encoding" and
1951     "--output-encoding"; added "--error-encoding-error-handler" and
1952     "--output-encoding-error-handler".
1953   - Moved config file processing from docutils/core.py.
1954   - Updated ``OptionParser.populate_from_components`` to handle new
1955     ``SettingsSpec.settings_defaults`` dict.
1956   - Added support for "-" => stdin/stdout.
1957   - Added "exit_level" setting ("--exit" option).
1959 * docutils/io.py:
1961   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1962   - Added automatic closing to ``FileInput`` and ``FileOutput``.
1963   - Delayed opening of ``FileOutput`` file until ``write()`` called.
1964   - ``FileOutput.write()`` now returns the encoded output string.
1965   - Try to get path/stream name automatically in ``FileInput`` &
1966     ``FileOutput``.
1967   - Added defaults for source & destination paths.
1968   - Allow for Unicode I/O with an explicit "unicode" encoding.
1969   - Added ``Output.encode()``.
1970   - Removed dependency on runtime settings; pass encoding directly.
1971   - Recognize Unicode strings in ``Input.decode()``.
1972   - Added support for output encoding error handlers.
1974 * docutils/nodes.py:
1976   - Added "Invisible" element category class.
1977   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1978     modification during a traversal.
1979   - Added element classes: ``line_block``, ``generated``, ``address``,
1980     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1981     ``superscript``, ``subscript``, ``inline``
1982   - Added support for lists of nodes to ``Element.insert()``.
1983   - Fixed parent linking in ``Element.replace()``.
1984   - Added new abstract superclass ``FixedTextElement``; adds
1985     "xml:space" attribute.
1986   - Added support for "line" attribute of ``system_message`` nodes.
1987   - Added support for the observer pattern from ``utils.Reporter``.
1988     Added ``parse_messages`` and ``transform_messages`` attributes to
1989     ``document``, removed ``messages``.  Added ``note_parse_message``
1990     and ``note_transform_message`` methods.
1991   - Added support for improved diagnostics:
1993     - Added "document", "source", and "line" internal attributes to
1994       ``Node``, set by ``Node.setup_child()``.
1995     - Converted variations on ``node.parent = self`` to
1996       ``self.setup_child(node)``.
1997     - Added ``document.current_source`` & ``.current_line``
1998       attributes, and ``.note_source`` observer method.
1999     - Changed "system_message" output to GNU-Tools format.
2001   - Added a "rawsource" attribute to the ``Text`` class, for text
2002     before backslash-escape resolution.
2003   - Support for new transform system.
2004   - Reworked ``pending`` element.
2005   - Fixed XML DOM bug (SF #660611).
2006   - Removed the ``interpeted`` element class and added
2007     ``title_reference``, ``abbreviation``, ``acronym``.
2008   - Made substitutions case-sensitive-but-forgiving; moved some code
2009     from the parser.
2010   - Fixed Unicode bug on element attributes (report: William Dode).
2012 * docutils/optik.py: Removed from project; replaced with
2013   extras/optparse.py and extras/textwrap.py.  These will be installed
2014   only if they're not already present in the Python installation.
2016 * docutils/roman.py: Moved to extras/roman.py; this will be installed
2017   only if it's not already present in the Python installation.
2019 * docutils/statemachine.py:
2021   - Factored out ``State.add_initial_transitions()`` so it can be
2022     extended.
2023   - Converted whitespace-specific "blank" and "indent" transitions
2024     from special-case code to ordinary transitions: removed
2025     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
2026     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
2027     ``ws_initial_transitions`` attributes.
2028   - Removed ``State.match_transition()`` after merging it into
2029     ``.check_line()``.
2030   - Added ``StateCorrection`` exception.
2031   - Added support for ``StateCorrection`` in ``StateMachine.run()``
2032     (moved ``TransitionCorrection`` support there too.)
2033   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
2034     ``EOFError`` instead of ``IndexError``.
2035   - Added ``State.no_match`` method.
2036   - Added support for the Observer pattern, triggered by input line
2037     changes.
2038   - Added ``strip_top`` parameter to
2039     ``StateMachineWS.get_first_known_indented``.
2040   - Made ``context`` a parameter to ``StateMachine.run()``.
2041   - Added ``ViewList`` & ``StringList`` classes;
2042     ``extract_indented()`` becomes ``StringList.get_indented()``.
2043   - Added ``StateMachine.insert_input()``.
2044   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
2045     thanks to) Fred Drake.
2047 * docutils/utils.py:
2049   - Added a ``source`` attribute to Reporter instances and
2050     ``system_message`` elements.
2051   - Added an observer pattern to ``utils.Reporter`` to keep track of
2052     system messages.
2053   - Fixed bugs in ``relative_path()``.
2054   - Added support for improved diagnostics.
2055   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
2056   - Added support for encoding Reporter stderr output, and encoding
2057     error handlers.
2058   - Reporter keeps track of the highest level system message yet
2059     generated.
2061 * docutils/languages: Fixed bibliographic field language lookups.
2063 * docutils/languages/es.py: Added to project; Spanish mappings by
2064   Marcelo Huerta San Martin.
2066 * docutils/languages/fr.py: Added to project; French mappings by
2067   Stefane Fermigier.
2069 * docutils/languages/it.py: Added to project; Italian mappings by
2070   Nicola Larosa.
2072 * docutils/languages/sk.py: Added to project; Slovak mappings by
2073   Miroslav Vasko.
2075 * docutils/parser/__init__.py:
2077   - Added ``Parser.finish_parse()`` method.
2079 * docutils/parser/rst/__init__.py:
2081   - Added options: "--pep-references", "--rfc-references",
2082     "--tab-width", "--trim-footnote-reference-space".
2084 * docutils/parsers/rst/states.py:
2086   - Changed "title under/overline too short" system messages from INFO
2087     to WARNING, and fixed its insertion location.
2088   - Fixed enumerated list item parsing to allow paragraphs & section
2089     titles to begin with enumerators.
2090   - Converted system messages to use the new "line" attribute.
2091   - Fixed a substitution reference edge case.
2092   - Added support for "--pep-references" and "--rfc-references"
2093     options; reworked ``Inliner`` code to make customization easier.
2094   - Removed field argument parsing.
2095   - Added support for short section title over/underlines.
2096   - Fixed "simple reference name" regexp to ignore text like
2097     "object.__method__"; not an anonymous reference.
2098   - Added support for improved diagnostics.
2099   - Reworked directive API, based on Dethe Elza's contribution.  Added
2100     ``Body.parse_directive()``, ``.parse_directive_options()``,
2101     ``.parse_directive_arguments()`` methods.
2102   - Added ``ExtensionOptions`` class, to parse directive options
2103     without parsing field bodies.  Factored
2104     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
2105     ``ExtensionOptions``.
2106   - Improved definition list term/classifier parsing.
2107   - Added warnings for unknown directives.
2108   - Renamed ``Stuff`` to ``Struct``.
2109   - Now flagged as errors: transitions at the beginning or end of
2110     sections, empty sections (except title), and empty documents.
2111   - Updated for ``statemachine.StringList``.
2112   - Enabled recognition of schemeless email addresses in targets.
2113   - Added support for embedded URIs in hyperlink references.
2114   - Added backslash-escapes to inline markup end-string suffix.
2115   - Added support for correct interpreted text processing.
2116   - Fixed nested title parsing (topic, sidebar directives).
2117   - Added special processing of backslash-escaped whitespace (idea
2118     from David Abrahams).
2119   - Made substitutions case-sensitive-but-forgiving; moved some code
2120     to ``docutils.nodes``.
2121   - Added support for block quote attributions.
2122   - Added a kludge to work-around a conflict between the bubble-up
2123     parser strategy and short titles (<= 3 char-long over- &
2124     underlines).  Fixes SF bug #738803 "infinite loop with multiple
2125     titles" submitted by Jason Diamond.
2126   - Added explicit interpreted text roles for standard inline markup:
2127     "emphasis", "strong", "literal".
2128   - Implemented "superscript" and "subscript" interpreted text roles.
2129   - Added initial support for "abbreviation" and "acronym" roles;
2130     incomplete.
2131   - Added support for "--trim-footnote-reference-space" option.
2132   - Optional space before colons in directives & hyperlink targets.
2134 * docutils/parsers/rst/tableparser.py:
2136   - Fixed a bug that was producing unwanted empty rows in "simple"
2137     tables.
2138   - Detect bad column spans in "simple" tables.
2140 * docutils/parsers/rst/directives: Updated all directive functions to
2141   new API.
2143 * docutils/parsers/rst/directives/__init__.py:
2145   - Added ``flag()``, ``unchanged()``, ``path()``,
2146     ``nonnegative_int()``, ``choice()``, and ``class_option()``
2147     directive option helper functions.
2148   - Added warnings for unknown directives.
2149   - Return ``None`` for missing directives.
2150   - Added ``register_directive()``, thanks to William Dode and Paul
2151     Moore.
2153 * docutils/parsers/rst/directives/admonitions.py:
2155   - Added "admonition" directive.
2157 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
2158   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2159   "parsed-literal", "rubric", "epigraph", "highlights" and
2160   "pull-quote" directives.
2162 * docutils/parsers/rst/directives/images.py:
2164   - Added an "align" attribute to the "image" & "figure" directives
2165     (by Adam Chodorowski).
2166   - Added "class" option to "image", and "figclass" to "figure".
2168 * docutils/parsers/rst/directives/misc.py:
2170   - Added "include", "raw", and "replace" directives, courtesy of
2171     Dethe Elza.
2172   - Added "unicode" and "class" directives.
2174 * docutils/parsers/rst/directives/parts.py:
2176   - Added the "sectnum" directive; by Dmitry Jemerov.
2177   - Added "class" option to "contents" directive.
2179 * docutils/parsers/rst/directives/references.py: Added to project.
2180   Contains the "target-notes" directive.
2182 * docutils/parsers/rst/languages/__init__.py:
2184   - Return ``None`` from get_language() for missing language modules.
2186 * docutils/parsers/rst/languages/de.py: Added to project; German
2187   mappings by Engelbert Gruber.
2189 * docutils/parsers/rst/languages/en.py:
2191   - Added interpreted text roles mapping.
2193 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2194   mappings by Marcelo Huerta San Martin.
2196 * docutils/parsers/rst/languages/fr.py: Added to project; French
2197   mappings by William Dode.
2199 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2200   mappings by Nicola Larosa.
2202 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2203   mappings by Miroslav Vasko.
2205 * docutils/readers/__init__.py:
2207   - Added support for the observer pattern from ``utils.Reporter``, in
2208     ``Reader.parse`` and ``Reader.transform``.
2209   - Removed ``Reader.transform()`` method.
2210   - Added default parameter values to ``Reader.__init__()`` to make
2211     instantiation easier.
2212   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2214 * docutils/readers/pep.py:
2216   - Added the ``peps.TargetNotes`` transform to the Reader.
2217   - Removed PEP & RFC reference detection code; moved to
2218     parsers/rst/states.py as options (enabled here by default).
2219   - Added support for pre-acceptance PEPs (no PEP number yet).
2220   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2221     easy subclassing.
2223 * docutils/readers/python: Python Source Reader subpackage added to
2224   project, including preliminary versions of:
2226   - __init__.py
2227   - moduleparser.py: Parser for Python modules.
2229 * docutils/transforms/__init__.py:
2231   - Added ``Transformer`` class and completed transform reform.
2232   - Added unknown_reference_resolvers list for each transformer. This list holds
2233     the list of functions provided by each component of the transformer that
2234     help resolve references.
2236 * docutils/transforms/frontmatter.py:
2238   - Improved support for generic fields.
2239   - Fixed bibliographic field language lookups.
2241 * docutils/transforms/misc.py: Added to project.  Miscellaneous
2242   transforms.
2244 * docutils/transforms/parts.py:
2246   - Moved the "id" attribute from TOC list items to the references
2247     (``Contents.build_contents()``).
2248   - Added the ``SectNum`` transform; by Dmitry Jemerov.
2249   - Added "class" attribute support to ``Contents``.
2251 * docutils/transforms/peps.py:
2253   - Added ``mask_email()`` function, updating to pep2html.py's
2254     functionality.
2255   - Linked "Content-Type: text/x-rst" to PEP 12.
2256   - Added the ``TargetNotes`` PEP-specific transform.
2257   - Added ``TargetNotes.cleanup_callback``.
2258   - Added title check to ``Headers``.
2260 * docutils/transforms/references.py:
2262   - Added the ``TargetNotes`` generic transform.
2263   - Split ``Hyperlinks`` into multiple transforms.
2264   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2265   - Added check for circular indirect references.
2266   - Made substitutions case-sensitive-but-forgiving.
2268 * docutils/transforms/universal.py:
2270   - Added support for the "--expose-internal-attributes" option.
2271   - Removed ``Pending`` transform classes & data.
2273 * docutils/writers/__init__.py:
2275   - Removed ``Writer.transform()`` method.
2277 * docutils/writers/docutils-xml.py:
2279   - Added XML and doctype declarations.
2280   - Added "--no-doctype" and "--no-xml-declaration" options.
2282 * docutils/writers/html4css1.py:
2284   - "name" attributes only on these tags: a, applet, form, frame,
2285     iframe, img, map.
2286   - Added "name" attribute to <a> in section titles for Netscape 4
2287     support (bug report: Pearu Peterson).
2288   - Fixed targets (names) on footnote, citation, topic title,
2289     problematic, and system_message nodes (for Netscape 4).
2290   - Changed field names from "<td>" to "<th>".
2291   - Added "@" to "&#64;" encoding to thwart address harvesters.
2292   - Improved the vertical whitespace optimization; ignore "invisible"
2293     nodes (targets, comments, etc.).
2294   - Improved inline literals with ``<span class="pre">`` around chunks
2295     of text and ``&nbsp;`` for runs of spaces.
2296   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2297     ``self.docinfo`` segments.
2298   - Added support for "line_block", "address" elements.
2299   - Improved backlinks (footnotes & system_messages).
2300   - Improved system_message output.
2301   - Redefined "--stylesheet" as containing an invariant URL, used
2302     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2303     working directory.
2304   - Added "--footnote-references" option (superscript or brackets).
2305   - Added "--compact-lists" and "--no-compact-lists" options.
2306   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2307     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2308   - Improved field list rendering.
2309   - Added Docutils version to "generator" meta tag.
2310   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2311   - Improved layout of <pre> HTML source.
2312   - Fixed attribute typo on <colspec>.
2313   - Refined XML prologue.
2314   - Support for no stylesheet.
2315   - Removed "interpreted" element support.
2316   - Added support for "title_reference", "sidebar", "attribution",
2317     "rubric", and generic "admonition" elements.
2318   - Added "--attribution" option.
2319   - Added support for "inline", "subscript", "superscript" elements.
2320   - Added initial support for "abbreviation" and "acronym";
2321     incomplete.
2323 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2324   (from the sandbox).
2326   - Added french.
2327   - Double quotes in literal blocks (special treatment for de/ngerman).
2328   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2329   - Added  "--attribution" option.
2330   - Right align attributions.
2332 * docutils/writers/pep_html.py:
2334   - Parameterized output encoding in PEP template.
2335   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2336   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2337     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2338     working directory.
2339   - Added an override on the "--footnote-references" option.
2340   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2341   - Added Docutils version to "generator" meta tag.
2342   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2344 * docs/tools.txt:
2346   - Added a "silent" setting for ``buildhtml.py``.
2347   - Added a "Getting Help" section.
2348   - Rearranged the structure.
2349   - Kept up to date, with new settings, command-line options etc.
2350   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2351   - Converted settings table into a definition list.
2353 * docs/rst/quickstart.txt:
2355   - Added a table of contents.
2356   - Added feedback information.
2357   - Added mention of minimum section title underline lengths.
2358   - Removed the 4-character minimum for section title underlines.
2360 * docs/rst/quickref.html:
2362   - Added a "Getting Help" section.
2363   - Added a style to make section title backlinks more subtle.
2364   - Added mention of minimum section title underline lengths.
2365   - Removed the 4-character minimum for section title underlines.
2367 * extras: Directory added to project; contains third-party modules
2368   that Docutils depends on (optparse, textwrap, roman).  These are
2369   only installed if they're not already present.
2371 * licenses: Directory added to project; contains copies of license
2372   files for non-public-domain files.
2374 * spec/doctree.txt:
2376   - Changed the focus.  It's about DTD elements:  structural
2377     relationships, semantics, and external (public) attributes.  Not
2378     about the element class library.
2379   - Moved some implementation-specific stuff into ``docutils.nodes``
2380     docstrings.
2381   - Wrote descriptions of all common attributes and parameter
2382     entities.  Filled in introductory material.
2383   - Working through the element descriptions: 55 down, 37 to go.
2384   - Removed "Representation of Horizontal Rules" to
2385     spec/rst/alternatives.txt.
2387 * spec/docutils.dtd:
2389   - Added "generated" inline element.
2390   - Added "line_block" body element.
2391   - Added "auto" attribute to "title".
2392   - Changed content models of "literal_block" and "doctest_block" to
2393     ``%text.model``.
2394   - Added ``%number;`` attribute type parameter entity.
2395   - Changed ``%structural.elements;`` to ``%section.elements``.
2396   - Updated attribute types; made more specific.
2397   - Added "address" bibliographic element.
2398   - Added "line" attribute to ``system_message`` element.
2399   - Removed "field_argument" element; "field_name" may contain
2400     multiple words and whitespace.
2401   - Changed public identifier to docutils.sf.net.
2402   - Removed "interpreted" element; added "title_reference",
2403     "abbreviation", "acronym".
2404   - Removed "refuri" attribute from "footnote_reference" and
2405     "citation_reference".
2406   - Added "sidebar", "rubric", "attribution", "admonition",
2407     "superscript", "subscript", and "inline" elements.
2409 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2411 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2413 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2415 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2416   Dallas Mahrt.
2418 * spec/transforms.txt: Added to project.
2420 * spec/howto: Added subdirectory, for developer how-to docs.
2422 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2423   Elza, edited & extended by David Goodger.
2425 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
2426   project.
2428 * spec/rst/alternatives.txt:
2430   - Added "Doctree Representation of Transitions" from
2431     spec/doctree.txt.
2432   - Updated "Inline External Targets" & closed the debate.
2433   - Added ideas for interpreted text syntax extensions.
2434   - Added "Nested Inline Markup" section.
2436 * spec/rst/directives.txt:
2438   - Added directives: "topic", "sectnum", "target-notes",
2439     "line-block", "parsed-literal", "include", "replace", "sidebar",
2440     "admonition", "rubric", "epigraph", "highlights", "unicode" and
2441     "class".
2442   - Formalized descriptions of directive details.
2443   - Added an "align" attribute to the "image" & "figure" directives
2444     (by Adam Chodorowski).
2445   - Added "class" options to "topic", "sidebar", "line-block",
2446     "parsed-literal", "contents", and "image"; and "figclass" to
2447     "figure".
2449 * spec/rst/interpreted.txt: Added to project.  Descriptions of
2450   interpreted text roles.
2452 * spec/rst/introduction.txt:
2454   - Added pointers to material for new users.
2456 * spec/rst/reStructuredText.txt:
2458   - Disambiguated comments (just add a newline after the "::").
2459   - Updated enumerated list description; added a discussion of the
2460     second-line validity checking.
2461   - Updated directive description.
2462   - Added a note redirecting newbies to the user docs.
2463   - Expanded description of inline markup start-strings in non-markup
2464     contexts.
2465   - Removed field arguments and made field lists a generic construct.
2466   - Removed the 4-character minimum for section title underlines.
2467   - Clarified term/classifier delimiter & inline markup ambiguity
2468     (definition lists).
2469   - Added "Embedded URIs".
2470   - Updated "Interpreted Text" section.
2471   - Added "Character-Level Inline Markup" section.
2473 * test: Continually adding & updating tests.
2475   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2476   - Moved test/test_pep/ to test/test_readers/test_pep/.
2477   - Added test/test_readers/test_python/.
2478   - Added test/test_writers/ (Engelbert Gruber).
2480 * tools:
2482   - Made the ``locale.setlocale()`` calls in front ends
2483     fault-tolerant.
2485 * tools/buildhtml.py:
2487   - Added "--silent" option.
2488   - Fixed bug with absolute paths & "--config".
2489   - Updated for new I/O classes.
2490   - Added some exception handling.
2491   - Separated publishers' setting defaults; prevents interference.
2492   - Updated for new ``publish_file()`` convenience function.
2494 * tools/pep-html-template:
2496   - Allow for "--embed-stylesheet".
2497   - Added Docutils version to "generator" meta tag.
2498   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2499   - Conform to XHTML spec.
2501 * tools/pep2html.py:
2503   - Made ``argv`` a parameter to ``main()``.
2504   - Added support for "Content-Type:" header & arbitrary PEP formats.
2505   - Linked "Content-Type: text/plain" to PEP 9.
2506   - Files skipped (due to an error) are not pushed onto the server.
2507   - Updated for new I/O classes.
2508   - Added ``check_requirements()`` & ``pep_type_error()``.
2509   - Added some exception handling.
2510   - Updated for new ``publish_string()`` convenience function.
2511   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2513 * tools/quicktest.py:
2515   - Added "-V"/"--version" option.
2517 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2519 * tools/unicode2rstsubs.py: Added to project.  Produces character
2520   entity files (reSructuredText substitutions) from the MathML master
2521   unicode.xml file.
2523 * tools/editors: Support code for editors, added to project.  Contains
2524   ``emacs/restructuredtext.el``.
2526 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2528   - Added style for chunks of inline literals.
2529   - Removed margin for first child of table cells.
2530   - Right-aligned field list names.
2531   - Support for auto-numbered section titles in TOCs.
2532   - Increased the size of inline literals (<tt>) in titles.
2533   - Restored the light gray background for inline literals.
2534   - Added support for "line_block" elements.
2535   - Added style for "address" elements.
2536   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2537   - Improved field list rendering.
2538   - Vertical whitespace improvements.
2539   - Removed "a.target" style.
2541 * tools/stylesheets/pep.css:
2543   - Fixed nested section margins.
2544   - Other changes parallel those of ``../default.css``.
2547 Release 0.2 (2002-07-31)
2548 ========================
2550 General:
2552 - The word "component" was being used ambiguously.  From now on,
2553   "component" will be used to mean "Docutils component", as in Reader,
2554   Writer, Parser, or Transform.  Portions of documents (Table of
2555   Contents, sections, etc.)  will be called "document parts".
2556 - Did a grand renaming: a lot of ``verylongnames`` became
2557   ``very_long_names``.
2558 - Cleaned up imports: no more relative package imports or
2559   comma-separated lists of top-level modules.
2560 - Added support for an option values object which carries default
2561   settings and overrides (from command-line options and library use).
2562 - Added internal Unicode support, and support for both input and
2563   output encodings.
2564 - Added support for the ``docutils.io.IO`` class & subclasses.
2566 Specific:
2568 * docutils/__init__.py:
2570   - Added ``ApplicationError`` and ``DataError``, for use throughout
2571     the package.
2572   - Added ``Component`` base class for Docutils components; implements
2573     the ``supports`` method.
2574   - Added ``__version__`` (thus, ``docutils.__version__``).
2576 * docutils/core.py:
2578   - Removed many keyword parameters to ``Publisher.__init__()`` and
2579     ``publish()``; bundled into an option values object.  Added
2580     "argv", "usage", "description", and "option_spec" parameters for
2581     command-line support.
2582   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2583     methods.
2584   - Reworked I/O model for ``docutils.io`` wrappers.
2585   - Updated ``Publisher.set_options()``; now returns option values
2586     object.
2587   - Added support for configuration files (/etc/docutils.conf,
2588     ./docutils.conf, ~/.docutils).
2589   - Added ``Publisher.setup_option_parser()``.
2590   - Added default usage message and description.
2592 * docutils/frontend.py: Added to project; support for front-end
2593   (command-line) scripts.  Option specifications may be augmented by
2594   components.  Requires Optik (http://optik.sf.net/) for option
2595   processing (installed locally as docutils/optik.py).
2597 * docutils/io.py: Added to project; uniform API for a variety of input
2598   output mechanisms.
2600 * docutils/nodes.py:
2602   - Added ``TreeCopyVisitor`` class.
2603   - Added a ``copy`` method to ``Node`` and subclasses.
2604   - Added a ``SkipDeparture`` exception for visitors.
2605   - Renamed ``TreePruningException`` from ``VisitorException``.
2606   - Added docstrings to ``TreePruningException``, subclasses, and
2607     ``Nodes.walk()``.
2608   - Improved docstrings.
2609   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2610   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2611     imports.
2612   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2613     ``PreDecorative`` mixin.
2614   - Reworked the name/id bookkeeping; to ``document``, removed
2615     ``explicit_targets`` and ``implicit_targets`` attributes, added
2616     ``nametypes`` attribute and ``set_name_id_map`` method.
2617   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2618     traversals.
2619   - Added ``document.has_name()`` method.
2620   - Fixed DOM generation for list-attributes.
2621   - Added category class ``Labeled`` (used by footnotes & citations).
2622   - Added ``Element.set_class()`` method (sets "class" attribute).
2624 * docutils/optik.py: Added to project.  Combined from the Optik
2625   package, with added option groups and other modifications.  The use
2626   of this module is probably only temporary.
2628 * docutils/statemachine.py:
2630   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2631   - Added underscores to improve many awkward names.
2632   - In ``string2lines()``, changed whitespace normalizing translation
2633     table to regexp; restores Python 2.0 compatibility with Unicode.
2635 * docutils/urischemes.py:
2637   - Filled in some descriptions.
2638   - Added "shttp" scheme.
2640 * docutils/utils.py:
2642   - Added ``clean_rcs_keywords`` function (moved from
2643     docutils/transforms/frontmatter.py
2644     ``DocInfo.filter_rcs_keywords``).
2645   - Added underscores to improve many awkward names.
2646   - Changed names of Reporter's thresholds:
2647     warning_level -> report_level; error_level -> halt_level.
2648   - Moved ``utils.id()`` to ``nodes.make_id()``.
2649   - Added ``relative_path(source, target)``.
2651 * docutils/languages/de.py: German mappings; added to project.  Thanks
2652   to Gunnar Schwant for the translations.
2654 * docutils/languages/en.py: Added "Dedication" bibliographic field
2655   mappings.
2657 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2658   Chodorowski.
2660 * docutils/parsers/rst/states.py:
2662   - Added underscores to improve many awkward names.
2663   - Added RFC-2822 header support.
2664   - Extracted the inline parsing code from ``RSTState`` to a separate
2665     class, ``Inliner``, which will allow easy subclassing.
2666   - Made local bindings for ``memo`` container & often-used contents
2667     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2668   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2669   - Added ``MarkupMismatch`` exception; for late corrections.
2670   - Added ``-/:`` characters to inline markup's start string prefix,
2671     ``/`` to end string suffix.
2672   - Fixed a footnote bug.
2673   - Fixed a bug with literal blocks.
2674   - Applied patch from Simon Budig: simplified regexps with symbolic
2675     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2676   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2677   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2678   - Allowed non-ASCII in "simple names" (directive names, field names,
2679     references, etc.).
2680   - Converted ``Inliner.patterns.initial`` to be dynamically built
2681     from parts with ``build_regexp()`` function.
2682   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2683   - Updated docstrings.
2684   - Changed "table" to "grid_table"; added "simple_table" support.
2686 * docutils/parsers/rst/tableparser.py:
2688   - Changed ``TableParser`` to ``GridTableParser``.
2689   - Added ``SimpleTableParser``.
2690   - Refactored naming.
2692 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2693   a fallback language for directive names.
2695 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2696   directive to use a ``pending`` element, used only by HTML writers.
2698 * docutils/parsers/rst/directives/parts.py: Renamed from
2699   components.py.
2701   - Added "backlinks" attribute to "contents" directive.
2703 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2704   project by Adam Chodorowski.
2706 * docutils/readers/__init__.py: Gave Readers more control over
2707   choosing and instantiating Parsers.
2709 * docutils/readers/pep.py: Added to project; for PEP processing.
2711 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2712   requires a ``component`` parameter.
2714 * docutils/transforms/components.py: Added to project; transforms
2715   related to Docutils components.
2717 * docutils/transforms/frontmatter.py:
2719   - In ``DocInfo.extract_authors``, check for a single "author" in an
2720     "authors" group, and convert it to a single "author" element.
2721   - Added support for "Dedication" and generic bibliographic fields.
2723 * docutils/transforms/peps.py: Added to project; PEP-specific.
2725 * docutils/transforms/parts.py: Renamed from old components.py.
2727   - Added filter for `Contents`, to use alt-text for inline images,
2728     and to remove inline markup that doesn't make sense in the ToC.
2729   - Added "name" attribute to TOC topic depending on its title.
2730   - Added support for optional TOC backlinks.
2732 * docutils/transforms/references.py: Fixed indirect target resolution
2733   in ``Hyperlinks`` transform.
2735 * docutils/transforms/universal.py:
2737   - Changed ``Messages`` transform to properly filter out system
2738     messages below the warning threshold.
2739   - Added ``Decorations`` transform (support for ``--generator``,
2740     ``--date``, ``--time``, ``--source-link`` options).
2742 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2743   Engelbert Gruber's PDF writer.
2745 * docutils/writers/html4css1.py:
2747   - Made XHTML-compatible (switched to lowercase element & attribute
2748     names; empty tag format).
2749   - Escape double-dashes in comment text.
2750   - Improved boilerplate & modularity of output.
2751   - Exposed modular output in Writer class.
2752   - Added a "generator" meta tag to <head>.
2753   - Added support for the ``--stylesheet`` option.
2754   - Added support for ``decoration``, ``header``, and ``footer``
2755     elements.
2756   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2757     translation table to regexp; restores Python 2.0 compatibility
2758     with Unicode.
2759   - Added the translator class as instance variable to the Writer, to
2760     make it easily subclassable.
2761   - Improved option list spacing (thanks to Richard Jones).
2762   - Modified field list output.
2763   - Added backlinks to footnotes & citations.
2764   - Added percentage widths to "<col>" tags (from colspec).
2765   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2766     "<span>" changed to "<var>".
2767   - Inline literals: "<code>" changed to "<tt>".
2768   - Many changes to optimize vertical space: compact simple lists etc.
2769   - Add a command-line options & directive attributes to control TOC
2770     and footnote/citation backlinks.
2771   - Added support for optional footnote/citation backlinks.
2772   - Added support for generic bibliographic fields.
2773   - Identify backrefs.
2774   - Relative URLs for stylesheet links.
2776 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2777   PEPs (subclass of ``html4css1.Writer``).
2779 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2781 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2782   of the Docutils internal doctree in XML.
2784 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2786 * spec/doctree.txt:
2788   - Changed the title to "The Docutils Document Tree".
2789   - Added "Hyperlink Bookkeeping" section.
2791 * spec/docutils.dtd:
2793   - Added ``decoration``, ``header``, and ``footer`` elements.
2794   - Brought ``interpreted`` element in line with the parser: changed
2795     attribute "type" to "role", added "position".
2796   - Added support for generic bibliographic fields.
2798 * spec/notes.txt: Continual updates.  Added "Project Policies".
2800 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2801   section.
2803 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2805 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
2806   mailing list discussions.
2808 * spec/pep-0287.txt:
2810   - Renamed to "reStructuredText Docstring Format".
2811   - Minor edits.
2812   - Reworked Q&A as an enumerated list.
2813   - Converted to reStructuredText format.
2815 * spec/pysource.dtd:
2817   - Reworked structural elements, incorporating ideas from Tony Ibbs.
2819 * spec/pysource.txt: Removed from project.  Moved much of its contents
2820   to pep-0258.txt.
2822 * spec/rst/alternatives.txt:
2824   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2825   - Added "Inline External Targets" section.
2827 * spec/rst/directives.txt:
2829   - Added "backlinks" attribute to "contents" directive.
2831 * spec/rst/problems.txt:
2833   - Updated the Enumerated List Markup discussion.
2834   - Added new alternative table markup syntaxes.
2836 * spec/rst/reStructuredText.txt:
2838   - Clarified field list usage.
2839   - Updated enumerated list description.
2840   - Clarified purpose of directives.
2841   - Added ``-/:`` characters to inline markup's start string prefix,
2842     ``/`` to end string suffix.
2843   - Updated "Authors" bibliographic field behavior.
2844   - Changed "inline hyperlink targets" to "inline internal targets".
2845   - Added "simple table" syntax to supplement the existing but
2846     newly-renamed "grid tables".
2847   - Added cautions for anonymous hyperlink use.
2848   - Added "Dedication" and generic bibliographic fields.
2850 * test: Made test modules standalone (subdirectories became packages).
2852 * test/DocutilsTestSupport.py:
2854   - Added support for PEP extensions to reStructuredText.
2855   - Added support for simple tables.
2856   - Refactored naming.
2858 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2860   - Now supports true packages containing test modules
2861     (``__init__.py`` files required); fixes duplicate module name bug.
2863 * test/test_pep/: Subpackage added to project; PEP testing.
2865 * test/test_rst/test_SimpleTableParser.py: Added to project.
2867 * tools:
2869   - Updated html.py and publish.py front-end tools to use the new
2870     command-line processing facilities of ``docutils.frontend``
2871     (exposed in ``docutils.core.Publisher``), reducing each to just a
2872     few lines of code.
2873   - Added ``locale.setlocale()`` calls to front-end tools.
2875 * tools/buildhtml.py: Added to project; batch-generates .html from all
2876   the .txt files in directories and subdirectories.
2878 * tools/default.css:
2880   - Added support for ``header`` and ``footer`` elements.
2881   - Added styles for "Dedication" topics (biblio fields).
2883 * tools/docutils.conf: A configuration file; added to project.
2885 * tools/docutils-xml.py: Added to project.
2887 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2889 * tools/pep-html-template: Added to project.
2891 * tools/pep2html.py: Added to project from Python (nondist/peps).
2892   Added support for Docutils (reStructuredText PEPs).
2894 * tools/quicktest.py:
2896   - Added the ``--attributes`` option, hacked a bit.
2897   - Added a second command-line argument (output file); cleaned up.
2899 * tools/stylesheets/: Subdirectory added to project.
2901 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2904 Release 0.1 (2002-04-20)
2905 ========================
2907 This is the first release of Docutils, merged from the now inactive
2908 reStructuredText__ and `Docstring Processing System`__ projects.  For
2909 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2910 `DPS HISTORY`__ files.
2912 __ http://structuredtext.sourceforge.net/
2913 __ http://docstring.sourceforge.net/
2914 __ http://structuredtext.sourceforge.net/HISTORY.html
2915 __ http://docstring.sourceforge.net/HISTORY.html
2917 General changes: renamed 'dps' package to 'docutils'; renamed
2918 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2919 the test suites (reStructuredText's test/test_states renamed to
2920 test/test_rst); and all modifications required to make it all work.
2922 * docutils/parsers/rst/states.py:
2924   - Improved diagnostic system messages for missing blank lines.
2925   - Fixed substitution_reference bug.
2929    Local Variables:
2930    mode: indented-text
2931    indent-tabs-mode: nil
2932    sentence-end-double-space: t
2933    fill-column: 70
2934    End: