Release 0.11: added empty "Changes Since 0.11" section
[docutils.git] / HISTORY.txt
blob653c319ac91d25eb2f4bb2d3d62bd496d6c39014
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.11
17 ==================
20 Release 0.11 (2013-07-22)
21 =========================
23 * General
25   - Apply [ 2714873 ] Fix for the overwritting of document attributes.
26   - Support embedded aliases within hyperlink references.
27   - Fix [ 228 ] try local import of docutils components (reader, writer, parser,
28     language module) before global search.
30 * docutils/nodes.py
32   - Fix [ 3601607 ] node.__repr__() must return `str` instance.
34 * docutils/parsers/rst/directives/__init__.py
36   - Fix [ 3606028 ] ``assert`` is skipped with ``python -O``.
38 * docutils/parsers/rst/directives/images.py
40   - Apply [ 3599485 ] node source/line information for sphinx translation.
42 * docutils/parsers/rst/directives/tables.py
44   - Fix [ 210 ] Python 3.3 checks CVS syntax only if "strict" is True.
46 * docutils/parsers/rst/states.py
48   - Fix [ 157 ] Line block parsing doesn't like system message.
49   - Always import our local copy of roman.py (report Larry Hastings).
51 * docutils/transforms/references.py
53   - Fix [ 3607029 ] traceback with embedded alias pointing to missing target.
55 * docutils/utils/__init__.py
57   - Fix [ 3596884 ] exception importing ``docutils.io``.
59 * docutils/writers/html4css1/__init__.py
61   - Fix [ 3600051 ] for tables in a list, table cells are not compacted.
62   - New setting `stylesheet_dirs`: Comma-separated list of directories
63     where stylesheets are found. Used by `stylesheet_path` when expanding
64     relative path arguments.
65   - New default for math-output_: ``HTML math.css``.
66   - Avoid repeated class declarations in html4css1 writer
67     (modified version of patch [ 104 ]).
69 .. _math-output: docs/user/config.html#math-output
71 * docutils/writers/latex2e/__init__.py
73   - Drop the simple algorithm replacing straight double quotes with
74     English typographic ones.
75     Activate the SmartQuotes_ transform if you want this feature.
76   - Fix literal use of babel shorthands (straight quote, tilde, ...).
77   - Fix [ 3603246 ] Bug in option "--graphicx-option=auto".
78   - New setting `stylesheet_dirs`.
80 .. _SmartQuotes: docs/user/config.html#smart-quotes
82 * docutils/writers/manpage.py
84   - Fix [3607063] handle lines starting with a period.
85   - Fix option separating comma was bold (thanks to Bill Morris).
87 Release 0.10 (2012-12-16)
88 =========================
90 * General
92   - Dropped support for Python 2.3.
93   - ``docutils/math``, ``docutils/error_reporting.py``, and
94     ``docutils/urischemes.py`` moved to the utils package.
95   - Fix [3541369] Relative __import__ also with Python 3.3.
96   - Fix [3559988] and [3560841] __import__ local writer, reader, languages
97     and parsers for Python 2.7 up.
98   - Fix import of PIL.Image.
99   - Change default of "syntax highlight" option to "long",
100     basic syntax highlight styles for LaTeX and HTML.
102 * docutils/io.py
104   - FileInput/FileOutput: no system-exit on IOError.  The `handle_io_errors`
105     option is ignored and will be removed in a future release.
106   - Fix Py3k error writing to stdout with encoding differing from default.
107   - Fix opening binary files under Py3k (thanks to Dominic Fitzpatrick).
109 * docutils/parsers/rst/directives/misc.py
111   - Fix [ 3546533 ] Unicode error with `date` directive.
113 * docutils/transforms/universal.py
115   - SmartQuotes transform for typographic quotes and dashes.
117 * docutils/utils/__init__.py
119   - normalize_language_tag() now returns `BCP 47`_ conformant tags
120     with subtags separated by ``-``.
122 * docutils/writers/html4css1/__init__.py
124   - Use ``<code>`` tag for inline "code",
125     do not drop nested inline nodes (syntax highlight tokens).
126   - Customizable MathJax URL (based on patch by Dmitry Shachnev).
127   - No line break after opening inline math tag.
129 * docutils/writers/manpage.py
131   - Apply [ 3527401 ] addmonition's don't preserve indentation
132   - Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.
134 , docutils/writers/xetex/__init__.py
136   - Apply [ 3555160 ] ensure order of "otherlanguages".
137   - Fix section numbering by LaTeX.
139 * docutils/writers/s5_html/__init__.py
141   - Fix [ 3556388 ] Mathjax does not work with rst2s5.
143 * docutils/writers/s5_html/docutils_xml.py
145   - Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.
147 * setup.py
149   - Tag ``math.css`` stylesheet as data file (patch by Dmitry Shachnev).
151 * tools/test/test_buildhtml.py
153   - Fix [ 3521167 ] allow running in any directory.
154   - Fix [ 3521168 ] allow running with Python 3.
157 Release 0.9.1 (2012-06-17)
158 ==========================
160 * setup.py
162   - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
163     installed in the PYTHONPATH. Converted tests are now
164     stored in ``test3/``, tools no longer need conversion.
166     If you installed one of Docutils versions 0.7 ... 0.9 with
167     ``setup.py install`` under Python 3, remove the spurious
168     ``test/`` and ``tools/`` directories in the site library root.
170 * test/
172   - Make tests independent from the location of the ``test/`` directory.
173   - Use converted sources (from the ``build/`` directory) for tests under
174     Python 3.
176 * tools/
178   - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
180 * docutils/io.py
182   - Fix writing binary data to sys.stdout under Python 3 (allows
183     ``rst2odt.py`` to be used with output redirection).
185 * docutils/parsers/rst/directives/misc.py
187   - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
188     ``locale == C`` and 8-bit char in path argument of `include` directive.
190 * test/alltests.py
192   - class `Tee`: catch UnicodeError when writing to "ascii" stream or
193     file under Python 3.
195 Release 0.9 (2012-05-02)
196 ========================
198 * General:
200   - New reStructuredText "code" role and directive and "code" option
201     of the "include" directive with syntax highlighting by Pygments_.
202   - Fix parse_option_marker for option arguments containing ``=``.
203   - Fix [ 2993756 ]: import Python Imaging Library's Image module
204     via ``import PIL`` as starting with PIL 1.2,
205     "PIL lives in the PIL namespace only" (announcement__).
207 .. _Pygments: http://pygments.org/
208 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
210 * setup.py
212   - Fix [ 2971827 ] and [ 3442827 ]
213     extras/roman.py moved to docutils/utils/roman.py
215 * docutils/frontend.py
217   - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
219 * docutils/io.py
221   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
222   - `mode` argument for FileOutput avoids code replication in
223     BinaryFileOutput.
224   - New exceptions InputError and OutputError for IO errors in
225     FileInput/FileOutput.
227 * docutils/core.py:
229   - No "hard" system exit on file IO errors: catch and report them in
230     `Publisher.reportException` instead. Allows handling by a calling
231     application if the configuration setting `traceback` is True.
233 * docutils/utils.py -> docutils/utils/__init__.py
235   - docutils.utils is now a package (providing a place for sub-modules)
237   .. note:: docutils/math, docutils/error_reporting.py, and
238      docutils/urischemes.py will move to the utils package in the next
239      release, too. See RELEASE-NOTES__
241      __ RELEASE-NOTES.html
243   - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
244     errors recording non-ASCII filenames (fixes [ 3434355 ]).
246   - Fix relative_path() with source=None and `unicode` target.
248 * docutils/parsers/rst/states.py
250   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
251     characters and "international" quotes around inline markup.
252   - Use `field_marker` pattern to look for start of a
253     directive option block (fixes [ 3484857 ]).
255 * docutils/parsers/rst/tableparser.py
257   - Fix [ 2926161 ] for simple tables.
258     (Combining chars in grid tables still contribute to cell width.)
260 * docutils/writers/latex2e/__init__.py
262   - Support the `abbreviation` and `acronym` standard roles.
263   - Record only files required to generate the LaTeX source as dependencies.
264   - Fix handling of missing stylesheets.
265   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
266     when suppressing LaTeX section numbering.
267   - Use ``\DUtitle`` for unsupported section levels
268   - Apply [ 3512791 ] do not compare string literals with "is"
270 * docutils/writers/xetex/__init__.py
272   - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
274 * docutils/writers/html4css1/__init__.py
276   - Change default for `math-output` setting to MathJax.
277   - Fix handling of missing stylesheets.
279 * docutils/writers/docutils_xml.py
281   - Use the visitor pattern with default_visit()/default_depart() methods
282     instead of minidom to facilitate special handling of selected nodes.
283   - Support raw XML (inserted as-is inside a <raw></raw> node).
285 * docutils/writers/manpage.py
287   - Do not emit comment line with trailing blank. Problematic for VCS.
289 Release 0.8.1 (2011-08-30)
290 ==========================
292 * General:
294   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
295     and [ 3395920 ] (correct copyright info for rst.el).
297 * test/
299   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
301 * docutils/writers/latex2e/__init__.py
303   - Clean up Babel language setting. Restores Sphinx compatibility.
305 Release 0.8 (2011-07-07)
306 ========================
308 * General:
310   - Handle language codes according to `BCP 47`_.
311   - If the specified language is not supported by Docutils,
312     warn and fall back to English.
313   - Math support: reStructuredText "math" role and directive,
314     ``math`` and ``math_block`` doctree elements.
315   - Decode command line arguments with the locale's preferred encoding
316     (to allow, e.g., ``--title=Dornröschen``).
317   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
318   - New sub-module `error_reporting`: handle encoding/decoding errors
319     when reporting exceptions.
320   - Some additions to the Docutils core are released under the 2-Clause BSD
321     license, see COPYING_ for details.
323   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
324   .. _COPYING: COPYING.html
326 * reStructuredText:
328   - Most directives now support a "name" option that attaches a
329     reference name.
331   - Directive content may start on the first line also when the directive
332     type accepts options.
334 * docs/dev/policies.txt:
336   - Recommend the 2-Clause BSD license
337     (http://www.spdx.org/licenses/BSD-2-Clause)
338     for code that is kept under the author's copyright.
340 * tools/buildhtml.py:
342   - Fix ``--local`` switch.
344 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
346 * docutils/writers/html4css1/__init__.py
348   - Set "lang" argument for objects with class argument
349     "language-<language tag>".
350   - New setting "math-output" with support for HTML, MathML, and LaTeX.
352 * docutils/writers/latex2e/__init__.py
354   - Fix [ 3043986 ] AttributeError using :local: with table of content.
355   - Place title data in the document preamble.
356   - Load `babel` package only if required.
357   - Update list of supported languages.
358   - New config setting "hyperref-options".
359     No hard-coded "unicode" hyperref option (clash with xetex).
360   - Set language for custom roles, paragraphs, block-quotes, and
361     line-quotes with class argument "language-<language tag>".
362   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
363   - Convert image URI to a local file path.
364   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
365     has more than one paragraph (Wolfgang Scherer).
366   - \leavevmode before longtable only when needed (prevents spurious vspace)
367   - do not advance table counter for tables without caption
369 * docutils/writers/xetex/__init__.py
371   - New writer generating LaTeX code for compiling with ``xelatex``.
373     A separate writer (inheriting from latex2e) instead of a ``--xetex``
374     option allows separate config options for XeTeX vs. LaTeX2e.
376 * docutils/writers/manpage.py
378   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
379   - Fix: vertical space cleaning for option group ``.``.
381 * tools/editors/emacs/rst.el:
383   - Fix [ 3001100 ] does not handle spaces in filenames
384     (thanks to Jakub Wilk)
386 * docutils/utils.py:
388   - strip whitespace from stylesheet arguments
389   - exclude combining chars from column_width()
390     (partial fix for [ 2926161 ])
392 * docutils/parsers/rst/directives/misc.py:
394   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
395     nested_parse
397 * docutils/io.py:
399   - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
400     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
402 Release 0.7 (2010-07-07)
403 ========================
405 * General:
407   - Fix [ 2881769 ] setup configuration.
408   - Fix [ 2788716 ] reporting problems in included files.
410 * docutils/io.py
412   - FileInput opens files as text files with universal newline support
413     (mode "rU", configurable with the new optional argument "mode").
415 * docutils/nodes.py
417   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
419 * docutils/utils.py
421   - Fix [ 2923723 ] let decode_path() tolerate path == None
423 * docutils/writers/html4css1/__init__.py
425   - Support SVG and SWF images (thanks to Stefan Rank).
426   - Generate valid XHTML for centered images with targets.
427     Use CSS classes instead of "align" tags for image alignment.
429 * docutils/writers/latex2e/__init__.py
431   - Use `transforms.writer_aux.Admonitions` to "normalize" special
432     admonitions.
433   - Use the ``\url`` command for URLs (breaks long URLs instead of
434     writing into the margin).
435   - Preserve runs of spaces in `inline literals`__.
436   - Deprecate ``figure_footnotes`` setting.
437   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
438   - New ``latex_preamble`` setting.
439   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
440   - Fix hyperlink targets (labels) for images, figures, and tables.
441   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
442   - Apply [ 2961991 ] Call hyperref with unicode option.
443   - Drop the special `output_encoding`__ default ("latin-1").
444     The Docutils wide default (usually "UTF-8") is used instead.
445   - Render inline markup in document title and subtitle.
446   - Fix numbering depth with LaTeX section numbering.
447   - Update Unicode -> LaTeX translations.
448   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
450 __ docs/ref/restructuredtext.html#inline-literals
451 __ docs/user/config.html#docutils-footnotes
452 __ docs/user/config.html#output_encoding
454 * docutils/writers/manpage.py
456   - Fix: supported attribute (thanks to peter2108).
457   - Remove trailing blanks in code (keep in sync with mercurial version).
458   - Titles level 1, that is ``.SH``, always uppercase.
459   - Apply patch from mg: literal text should be bold in man-pages.
461 * docutils/nodes.py
463   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
464     turkish locale.
466 * setup.py:
468   - Python 3 support: copy test/ and tools/ to the build-dir
469     and convert Python sources with 2to3.
472 Release 0.6 (2009-10-11)
473 ========================
475 * General:
477   - Docutils is now compatible with Python versions from 2.3 up to 2.6
478     and convertible to 3.1 code.
480     + Node.__nonzero__ returns True instead of 1.
481     + use os.walk instead os.path.walk.
482     + minimize "types" module where possible.
483     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
484     + Text nodes now subclass unicode rather than UserString
485       (which is gone in python 3.0).
486     + 3.0 compatibility module docutils._compat
488     + Drop 2.2 compatibility workarounds.
489     + Drop extras/optparse.py and extras/textwrap.py
490       (stdlib modules since 2.3).
492   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
493   - Unix man page export: manpage writer moved from sandbox to Doctutils
494     core.
496   - Apply [ 1719345 ] Galician translation
497   - Apply [ 1905741 ] Polish translation
498   - Apply [ 1878977 ] make_id(): deaccent characters.
499   - Apply [ 2029251 ] return nonzero when tests fail.
500   - Fix [ 1692788 ] allow UTF-8 in style sheets.
501   - Fix [ 2781629 ] support non-ASCII chars in file names.
502   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
503   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
504   - Fix [ 2821266 ] --strict option works now like --halt=info.
505   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
506   - Fix [ 1627229 ] hyperlink references in substitutions.
508   - The "newlatex" writer is orphaned.
510 * reStructuredText:
512   - Documented Unicode characters allowed as inline markup openers,
513     closers, and delimiters.
514   - Allow units for all length specifications.
515   - Allow percent sign in "scale" argument of "figure" and "image" directives.
516   - Bugfix: The "figalign" argument of a figure now works as intended
517     (aligning the figure, not its contents).
518   - Align images with class "align-[right|center|left]"
519     (allows setting the alignment of an image in a figure).
521 * docutils/nodes.py:
523   - Added ``Element.__contains__`` method, for the in-operator.
525 * docutils/parsers/rst/states.py:
527   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
528   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
529     " " (non-breaking space), and "¡ ¿" openers.
531 * docutils/parsers/directives/misc.py:
533   - Added ``start-line`` and ``end-line`` options to "include"
534     directive to select a range of lines.
535   - Hard tabs in literal inclusions are replaced by spaces. This is
536     configurable via the new ``tab-width`` option of the "include" directive
537     (a negative tab-width prevents tab expansion).
539 * docutils/utils.py:
541   - Add ``get_stylesheet_list`` function.
542   - Apply [ 2834836 ] print info at halt
544 * docutils/transforms/universal.py:
546   - Raise default priority of StripClasses to exclude stripped classes from
547     the ToC.
549 * docutils/writers/html4css1/__init__.py:
551   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
552     separated list of stylesheets.
553   - Address [ 1938891 ] Inline literal text creates "pre" span only when
554     needed to prevent inter-word line wraps.
555   - Use `translate` method instead of repeated `replace` calls.
556   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
557     classes to allow CSS styling that does not interfere with other
558     table-using constructs (field lists, citations, ...).
560 * docutils/writers/newlatex2e/__init__.py:
562   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
564 * docutils/writers/latex2e/__init__.py (see also
565   `<docs/user/docutils-05-compat.sty.html>`__) :
567   - Add ``--embed-stylesheet`` option.
568   - Apply [ 1474017 ] image vertical alignment is reversed.
569   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
570   - Change: has_key for dictionaries (not Nodes) to in-operator.
571   - Merge adjacent citations into one latex cite command.
572   - Failsave implementation of custom roles. LaTeX compilation now ignores
573     unknown classes instead of aborting with an error.
574   - Support custom roles based on standard roles.
575   - LaTeX packages can be used as ``--stylesheet`` arguments without
576     restriction. (A style sheet is now referenced with the ``\usepackage``
577     command, if it ends with ``.sty`` or has no extension.)
578   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
579   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
580   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
581     2005-02-04 as a configurable length unit).
582   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
583     if font-encoding is set to ''. LaTeX defaults to OT1 then.
584   - Set sub- and superscript role argument in text mode not as math.
585     Use a custom role based on sub-/superscript if you want italic shape.
586   - Shorter preamble and less dependencies: Load packages and define macros
587     only if required in the document.
588   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
589   - New custom environments and commands with optional "classes" argument.
590   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
591   - Better conformance to Docutils specifications with ``--use-latex-toc``.
592     Support for LaTeX generated ToC also with unnumbered sections.
593   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
594     section numbering by LaTeX.
595   - Use default font in admonitions and sidebar.
596   - Align of image in a figure defaults to 'center'.
597   - Bugfix: Newlines around targets and references prevent run-together
598     paragraphs.
599   - Fix internal hyperlinks.
600   - Use class defaults for page margins ('typearea' now optional).
601   - Float placement made configurable, default changed to "here definitely".
602   - Typeset generic topic as "quote block with title".
603   - Use template (file and configuration option).
604   - In the default template, load cmap.sty (fix text extraction in PDF) and
605     fixltx2e.sty (LaTeX patches, \textsubscript).
606   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
607   - Use `translate` instead of repeated `replace` calls for text encoding.
608   - Hyperlinked footnotes and support for symbol footnotes and
609     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
610   - Complete pairs of binary options
611     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
612     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
613   - New defaults:
614     - font-encoding: "T1" (formerly implicitely set by 'ae').
615     - use-latex-toc: true (ToC with page numbers).
616     - use-latex-footnotes: true (no mixup with figures).
618 * docutils/writers/manpage.py
620   - Do not print version at document end, this is done by the viewer.
621   - Do not print date at document end, this is done by the viewer.
622   - Fix storage of docinfo fields for none standard fields.
624 * docutils/tools/rst2man.py
626 Release 0.5 (2008-06-25)
627 ========================
629 * docutils/languages/he.py: Added to project: Hebrew mappings by
630   Meir Kriheli.
632 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
633   mappings by Meir Kriheli.
635 * docutils/frontend.py:
637   - Configuration files are now assumed and required to be
638     UTF-8-encoded.
639   - Paths of applied configuration files are now recorded in the
640     runtime setting ``_config_files`` (accessible via
641     ``--dump-settings``).
642   - Added ``--strip-elements-with-class`` and ``--strip-class``
643     options (``strip_elements_with_classes`` and ``strip_classes``
644     settings).
646 * docutils/io.py:
648   - Added code to determine the input encoding from data: encoding
649     declarations or the presence of byte order marks (UTF-8 & UTF-16).
650   - Added support for IronPython 1.0.
652 * docutils/nodes.py:
654   - Added ``document.__getstate__`` method, for pickling.
656 * docutils/parsers/rst/states.py:
658   - Allow ``+`` and ``:`` in reference names.
659   - Unquoted targets beginning with an underscore (``.. __target:
660     URI``) are no longer accepted.
661   - Added support for multiple attributions in a physical block quote
662     (indented text block), dividing it into multiple logical block
663     quotes.
664   - Added support for unicode bullets in bullet lists: "•", "‣", and
665     "⁃".
666   - Added support for new object-oriented directive interface,
667     retaining compatibility to the old functional interface.
668   - Added support for throwing ``DirectiveError``'s from within
669     directive code.
671 * docutils/parsers/rst/__init__.py:
673   - Added ``Directive`` base class.
674   - Added ``DirectiveError`` base class.
675   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
676     definitions.
678 * docutils/parsers/directives/:
680   - Refactored all reStructuredText directives to use the new
681     object-oriented directive interface.  Errors are now (mostly)
682     thrown using the new ``DirectiveError`` class.
684 * docutils/parsers/directives/misc.py:
686   - Added ``start-after`` and ``end-before`` options to ``include``
687     directive; thanks to Stefan Rank.
689 * docutils/transforms/universal.py:
691   - Added ``StripClassesAndElements`` transform to remove from the
692     document tree all elements with classes in
693     ``settings.strip_elements_with_classes`` and all "classes"
694     attribute values in ``self.document.settings.strip_classes``.
696 * docutils/transforms/writer_aux.py:
698   - Added ``Admonitions`` transform to transform specific admonitions
699     (like ``note``, ``warning``, etc.) into generic admonitions with a
700     localized title.
702 * docutils/writers/html4css1/__init__.py:
704   - Moved template functionality from the PEP/HTML writer here.
705   - Expanded the fragments available in the ``parts`` attribute.
706   - Moved ``id`` attributes from titles to surrounding ``div``
707     elements.
708   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
709     universally supported now).
710   - ``template.txt`` is now opened in text mode instead of binary mode
711     (to ensure Windows compatibility).
712   - ``a`` elements now have an "internal" or "external" class,
713     depending on reference type.
715 * docutils/writers/html4css1/template.txt: Added to project.
717 * docutils/writers/pep_html/:
719   - Moved template functionality to the HTML writer.
721 * docutils/writers/s5_html/__init__.py:
723   - Added ``view_mode`` & ``hidden_controls`` settings
724     (``--view-mode`` & ``--hidden-controls/--visible-controls``
725     options).
727 * docutils/writers/latex2e/__init__.py:
729   - Add ``--literal-block-env``
730   - Fix: escaping ``%`` in href urls.
731   - Move usepackage hyperref after stylesheet inclusion.
732   - Fix: scrartcl does not have chapter but scrreprt.
733   - Add newline after ``\end{verbatim}``.
734   - Merge smaller differences from latex2e_adaptive_preamble.
735   - Add ``use-part-section``.
736   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
737   - Using leavemode option_list no longer needs to check if parent
738     is a definition list.
739   - Append ``\leavemode`` to definition list terms.
740   - No longer write visit\_/depart_definition_list_item comments to
741     output.
742   - Table column width with 3 decimal places.
743   - Add table stubs support (boldfont).
744   - Add assemble_parts to writer.
745   - Add simply support for nested tables.
746   - Fix verbatim in tables if use-verbatim-when-possible.
747   - Use section commands down to subparagraph.
748   - Put ensuremath around some latin1 chars.
749   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
750   - New option ``--use-bibtex=style,db1,db2``.
751   - New option ``--reference-label`` to allow usage of LaTeX ref for
752     labels in section references.
753   - Add a label after every section to support sectionnumbers as reference
754     labels.
755   - Fix: bug# 1605376 rst2latex: bad options group list
756   - Remove inactive code for use_optionlist_for_option_list.
757   - Remove latex comments from option_list output.
758   - Fix: bug# 1612270 double qoutes in italian literal.
759   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
760   - Add option --use-latex-abstract.
761   - Image width unit ``px`` is translated to ``pt``.
762   - Add image height support.
763   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
764     bug #1457388
765   - Fix: Do not escape underscores in citation reference labels if
766     use-latex-citations is set.
767   - Use centering instead of center for figure contents, to avoid vertical
768     space.
769   - Recognize table class: borderless, nolines, booktabs, standard.
770   - Fix: Renaming contents section does not work with latex writer; SF
771     bug #1487405.
772   - Applied patch for custom roles with classes from Edward Loper.
773   - Fixed bug that caused crashes with more than 256 lists.
775 * docutils/writers/pep_html/__init__.py:
777   - Changed to support new python.org website structure and
778     pep2pyramid.py.
780 * docs/howto/security.txt: "Deploying Docutils Securely", added to
781   project.
783 * tools/buildhtml.py:
785   -- Added ``ignore`` setting to exclude a list of shell patterns
786      (default: ``.svn:CVS``).
788 * tools/editors/emacs/rst.el:
790   - Changed license to "GPL".
791   - Added ``rst-straighten-decorations`` function.
792   - The ``compile`` module is now always loaded.
793   - Added ``rst-toggle-line-block`` function.
794   - Headings consisting only of non-ASCII characters are now
795     recognized by ``rst-toc`` and ``rst-adjust``.
796   - Added font-lock support for multi-line comments where the first
797     comment line is empty.
798   - Added ``(require 'font-lock)``.
800 * setup.py:
802   - Provide descriptive error message if distutils is missing.
805 Release 0.4 (2006-01-09)
806 ========================
808 * General:
810   - Updated the project policies for trunk/branch development &
811     version numbering.
813 * docutils/__init__.py:
815   - Added ``__version_details__`` attribute to describe code source
816     (repository/snapshot/release).
817   - Replaced ``default_transforms`` attribute of TransformSpec with
818     ``get_transforms()`` method.
820 * docutils/core.py:
822   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
823     functions, for document tree extraction and reprocessing.
825 * docutils/io.py:
827   - Added ``DocTreeInput`` class, for reprocessing existing documents.
828   - Added support for non-Unicode (e.g. binary) writer output.
830 * docutils/nodes.py:
832   - Re-introduced ``Targetable.indirect_reference_name``, for
833     MoinMoin/reST compatibility (removed in r3124/r3129).
834   - Added ``serial_escape`` function; escapes string values that are
835     elements of a list, for serialization.  Modified Docutils-XML
836     writing (``Element._dom_node``) and pseudo-XML writing
837     (``Element.starttag``) to use ``serial_escape``.
838   - Added ``Node.deepcopy()`` method.
839   - Removed the internal lists ``document.substitution_refs``,
840     ``document.anonymous_refs``, and ``document.anonymous_targets``.
841   - Added a "container" element.
842   - Fixed bug where values of list-valued attributes of elements
843     originating from custom interpreted text roles (i.e., with custom
844     classes) were being shared between element instances.  Reported by
845     Shmuel Zeigerman.
847 * docutils/statemachine.py:
849   - Added trailing whitespace stripping to ``string2lines()``.
850   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
851     Asian double-width character support.
853 * docutils/utils.py:
855   - Added ``east_asian_column_width()`` for double-width character
856     support.
858 * docutils/languages/ja.py: Added to project: Japanese mappings by
859   Hisashi Morita.
861 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
862   mappings by Panjunyong.
864 * docutils/parsers/null.py: Added to project; a do-nothing parser.
866 * docutils/parsers/rst/__init__.py:
868   - Added validator to tab_width setting, with test.  Closes SF bug
869     #1212515, report from Wu Wei.
871 * docutils/parsers/rst/states.py:
873   - Fixed bug with escaped colons indicating a literal block.
874   - Fixed bug with enumerated lists (SF#1254145).
875   - Backslash-escaped colons inside of field names are now allowed.
876   - Targets (implicit and explicit), anonymous hyperlink references
877     and auto-numbered footnote references inside of substitution
878     definitions are now disallowed.
879   - Fixed bug: list items with blank first lines.
880   - Fixed bug: block quote attributions with indented second lines.
881   - Added East Asian double-width character support (Python 2.4 only).
883 * docutils/parsers/rst/tableparser.py:
885   - Added East Asian double-width character support (Python 2.4 only).
887 * docutils/parsers/rst/directives/body.py:
889   - Added the "container" directive.
891 * docutils/parsers/rst/directives/misc.py:
893   - Added the "default-role", "title", and "date" directives.
894   - Added standard data file syntax to the "include" directive.
895   - Added support for "class" directive content.
897 * docutils/parsers/rst/directives/images.py:
899   - Added ``indirect_reference_name`` support for images with a target
900     option.
901   - Added support for image width and height units.
902   - Fixed bug with image "target" options.
904 * docutils/parsers/rst/directives/references.py:
906   - Added "class" attribute to "target-notes" directive, for
907     footnote_reference classes.
909 * docutils/parsers/rst/include/: Directory added to project; contains
910   standard data files for the "include" directive.  Initial contents:
911   character entity substitution definition sets, and a set of
912   definitions for S5/HTML presentations.
914 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
915   mappings by David Goodger.
917 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
918   Simplified Chinese mappings by Panjunyong.
920 * docutils/readers/__init__.py:
922   - Added universal.Decorations and universal.ExposeInternals
923     transforms as default transforms for all readers.
924   - Added ``ReReader`` base class for readers that reread an existing
925     document tree.
927 * docutils/readers/doctree.py: Added to project; a reader for existing
928   document trees.
930 * docutils/transforms/frontmatter.py:
932   - Fixed the DocInfo transform to handle SVN-style expansion of the
933     "Date" keyword.
934   - In ``DocInfo.extract_authors``, treat the contents of "authors"
935     fields uniformly.
937 * docutils/transforms/misc.py:
939   - Added misc.Transitions transform, extracted from
940     universal.FinalChecks.
942 * docutils/transforms/references.py:
944   - Added references.DanglingReferences transform, extracted from
945     universal.FinalChecks.
946   - Fixed bug with doubly-indirect substitutions.
947   - Added footnote_reference classes attribute to "TargetNotes".
948   - Fixed bug with circular substitution definitions that put Docutils
949     into an infinite loop.
951 * docutils/transforms/universal.py:
953   - Added universal.ExposeInternals transform, extracted from
954     universal.FinalChecks.
955   - Removed universal.FinalChecks transform (logic has been moved to
956     several new transforms).
957   - Fixed bug with the "expose_internals" setting and Text nodes
958     (exposed by the "rawsource" internal attribute).
959   - Added the universal.StripComments transform, implementation of the
960     "strip_comments" setting.
962 * docutils/transforms/writer_aux.py: Added to project; auxiliary
963   transforms for writers.
965   - Added ``Compound`` transform, which flattens compound paragraphs.
967 * docutils/writers/: Several writer modules (html4css1.py) were
968   converted into packages.  Support modules and data files have been
969   moved into the packages.  The stylesheets for the HTML writers are
970   now installed along with the code, the code knows where to find
971   them, and the default is to use them (actually, to embed them).
972   Some adjustments to configuration files may be necessary.  The
973   easiest way to obtain the new default behavior is to remove all
974   settings whose name includes "stylesheet".
976 * docutils/writers/__init__.py:
978   - Added universal.Messages and universal.FilterMessages transforms
979     as default transforms for all writers.
980   - Added ``UnfilteredWriter`` base class for writers that pass the
981     document tree on unchanged.
983 * docutils/writers/docutils_xml.py:
985   - Made ``xmlcharrefreplace`` the default output encoding error
986     handler.
988 * docutils/writers/html4css1/:
990   - Added support for image width and height units.
991   - Made ``xmlcharrefreplace`` the default output encoding error
992     handler.
993   - Made ``--embed-stylesheet`` the default rather than
994     ``--link-stylesheet``.
995   - Moved "id" attribute from container (section etc.) to title's <a>
996     tag, to be on the same tag as "name".
997     (!!! To be reverted in Docutils 0.5.)
998   - Added vertical space between fields of field lists.
999   - Added ``--compact-field-lists`` option to remove vertical space in
1000     simple field lists.
1001   - Made cloaking of email addresses with ``--cloak-email-addresses``
1002     less obtrusive.
1003   - Fixed support for centered images.
1004   - Added support for class="compact" & class="open" lists.
1006 * docutils/writers/latex2e/:
1008   - Underscores in citekeys are no longer escaped.
1010 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
1011   mapping of Unicode characters to LaTeX equivalents.
1013 * docutils/writers/s5_html/: Package added to project; writer for
1014   S5/HTML slide shows.
1016 * docs/dev/distributing.txt: Added to project; guide for distributors
1017   (package maintainers).
1019 * docs/dev/hacking.txt: Added to project; guide for developers.
1021 * docs/ref/doctree.txt:
1023   - Updated for plural attributes "classes", "ids", "names",
1024     "dupnames".
1025   - Added the "container" element.
1027 * docs/ref/docutils.dtd:
1029   - Updated for plural attributes "classes", "ids", "names",
1030     "dupnames".
1032 * docs/user/emacs.txt: Added to project; a document about Emacs
1033   support for reStructuredText and Docutils.
1035 * docs/user/links.txt: Added to project; lists of Docutils-related
1036   links.
1038 * docs/user/mailing-lists.txt: Added to project; information about
1039   Docutils-related mailing lists and how to access them.
1041 * docs/user/slide-shows.txt: Added to project; example of and docs for
1042   the S5/HTML writer (``rst2s5.py`` front end).
1044 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
1045   Files", added to project.
1047 * test/coverage.sh: Added to project; test coverage script.
1049 * test/DocutilsTestSupport.py:
1051   - Added support for specifying runtime settings at the suite level.
1053 * test/test_functional.py:
1055   - Added the ``clear_output_directory`` function.
1056   - Added support for ``_test_more`` functions in functional test
1057     config files.
1059 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
1061 * tools/rstpep2html.py: Renamed from pep.py.
1063 * tools/dev/create_unimap.py: Added to project; script to create the
1064   docutils/writers/unimap_latex.py mapping file.
1066 * tools/dev/profile_docutils.py: Added to project; profiler script.
1068 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
1070 * tools/editors/emacs/restructuredtext.el,
1071   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
1072   Removed from project; the functionality is now contained in rst.el.
1074 * tools/editors/emacs/rst.el: Added to project.  Added many features
1075   and fixed many bugs.  See docs/user/emacs.txt for details.
1077 * tools/stylesheets: Removed from project.  Stylesheets have been
1078   renamed and moved into writer packages.
1081 Release 0.3.9 (2005-05-26)
1082 ==========================
1084 * General:
1086   - Eliminated and replaced all uses of the old string attributes
1087     ``id``, ``name``, ``dupname`` and ``class`` with references to the
1088     new list attributes ``ids``, ``names``, ``dupnames`` and
1089     ``classes`` throughout the whole source tree.
1091 * docutils/core.py:
1093   - Enabled ``--dump-*`` options when ``--traceback`` specified,
1094     allowing for easier debugging.
1095   - In ``Publisher.publish()``, expanded the generic top-level
1096     exception catching.
1098 * docutils/examples.py:
1100   - Added ``internals`` function for exploration.
1102 * docutils/io.py:
1104   - Fixed ``Input.decode`` method to apply heuristics only if no
1105     encoding is explicitly given, and to provide better reporting of
1106     decoding errors.
1107   - The ``Input.decode`` method now removes byte order marks (BOMs)
1108     from input streams.
1110 * docutils/nodes.py:
1112   - ``image`` element class changed to subclass of Element, not
1113     TextElement (it's an empty element, and cannot contain text).
1114   - Added ``attr_defaults`` dictionary for default attribute values.
1115   - Added empty list as default value for the following attributes:
1116     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
1117   - Added ``document.decoration`` attribute,
1118     ``document.get_decoration`` method, and ``decoration.get_header``
1119     & ``.get_footer`` methods.
1120   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
1121     methods.
1123 * docutils/utils.py:
1125   - Removed ``docutils.utils.Reporter.categories``,
1126     ``docutils.utils.ConditionSet``, and all references to them, to
1127     simplify error reporting.
1129 * docutils/languages/nl.py: Added to project; Dutch mappings by
1130   Martijn Pieters.
1132 * docutils/parsers/rst/__init__.py:
1134   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
1136 * docutils/parsers/rst/states.py:
1138   - Added check for escaped at-mark to prevent email address recognition.
1139   - Fixed option lists to allow spaces inside ``<angle-bracketed option
1140     arguments>``.
1141   - Allowed whitespace in paths and URLs.
1142   - Added auto-enumerated list items.
1143   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
1144     followed by text.
1145   - Added support for table stub columns.
1147 * docutils/parsers/rst/directives/__init__.py:
1149   - Allowed whitespace in paths (``path`` function).
1150   - Added ``uri`` directive option conversion function.
1152 * docutils/parsers/rst/directives/body.py:
1154   - Fixed illegal context bug with "topic" directive (allowed within
1155     sidebars; not within body elements).
1157 * docutils/parsers/rst/directives/images.py:
1159   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1160   - Added support for the ``file_insertion_enabled`` setting in the
1161     "figure" directive (disables "figwidth" option).
1162   - "image" directive: added checks for valid values of "align" option,
1163     depending on context.  "figure" directive: added specialized
1164     "align" option and attribute on "figure" element.
1165   - Made ":figwidth: image" option of "figure" directive work again.
1166   - Fixed bug with reference names containing uppercase letters
1167     (e.g. ``Name_``) in "target" option of "image" directive.
1169 * docutils/parsers/rst/directives/misc.py:
1171   - Fixed "include" and "raw" directives to catch text decoding
1172     errors.
1173   - Allowed whitespace in "include" & "raw" directive paths.
1174   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1175     settings in "include" & "raw" directives.
1177 * docutils/parsers/rst/directives/parts.py:
1179   - Added "header" & "footer" directives.
1180   - Fixed illegal context bug with "contents" directive (topics
1181     allowed within sidebars; not within body elements).
1183 * docutils/parsers/rst/directives/tables.py:
1185   - Added "list-table" directive.
1186   - Caught empty CSV table bug.
1187   - Added support for the ``file_insertion_enabled`` setting in the
1188     "csv-table" directive.
1189   - Added ``stub-columns`` option to "csv-table" and "list-table"
1190     directives.
1192 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1193   mappings by Martijn Pieters.
1195 * docutils/readers/standalone.py:
1197   - Added ``--section-subtitles`` and ``--no-section-subtitles``
1198     options to activate or deactivate the SectSubTitle transform.
1200 * docutils/transforms/frontmatter.py:
1202   - Added SectSubTitle transform to promote titles of lone
1203     subsections to subtitles.
1205 * docutils/transforms/references.py:
1207   - Fixed mislocated internal targets bug, by propagating internal
1208     targets to the next node, making use of the newly added support
1209     for multiple names and IDs.
1210   - Fixed duplicate footnote label bug.
1211   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1212     transform.
1214 * docutils/writers/html4css1.py:
1216   - Fixed unencoded stylesheet reference bug (characters like "&" in
1217     stylesheet references).
1218   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1219     tags).
1220   - Added support for multiple IDs per node by creating empty ``span``
1221     tags.
1222   - Added the ``field_name_limit`` & ``option_limit`` settings &
1223     support.
1224   - Added support for table stub columns.
1225   - Added support for the ``align`` attribute on ``figure`` elements.
1226   - Added the ``cloak_email_addresses`` setting & support.
1227   - Added ``html_prolog``, ``html_head``, ``html_body``,
1228     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1229     ``docutils.core.publish_parts``.
1230   - Added support for section subtitles.
1232 * docutils/writers/latex2e.py:
1234   - Fixed tables starting with more than one multirow cell.
1235   - Improved --use-latex-docinfo so that organization/contact/address
1236     fields are lumped with the last author field and appear on the
1237     titlepage.
1238   - Made sure the titlepage is always shown with --use-latex-docinfo,
1239     even if the document has no title.
1240   - Made sure that latex doesn't fill in today's date if no date field
1241     was given.
1242   - Added support for section subtitles.
1244 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1245   (under development).
1247 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1249 * docs/api/publisher.txt:
1251   - Added "``publish_parts`` Details" section.
1253 * docutils/dev/repository.txt: Added to project; information about the
1254   Docutils Subversion repository.
1256 * docs/ref/docutils.dtd:
1258   - Added a ``stub`` attribute to the ``colspec`` element via the
1259     ``tbl.colspec.att`` parameter entity.
1260   - Allowed topic elements within sidebars
1261   - Added an ``align`` attribute to the ``figure`` element.
1263 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1264   writer.
1267 Release 0.3.7 (2004-12-24)
1268 ==========================
1270 * docutils/frontend.py:
1272   - Added options: --input-encoding-error-handler,
1273     --record-dependencies, --leave-footnote-reference-space,
1274     --strict-visitor.
1275   - Added command-line and config file support for "overrides" setting
1276     parameter.
1278 * docutils/io.py:
1280   - Added support for input encoding error handler.
1282 * docutils/nodes.py:
1284   - Added dispatch_visit and dispatch_departure methods to
1285     NodeVisitor; useful as a hook for Visitors.
1286   - Changed structure of ``line_block``; added ``line``.
1287   - Added ``compound`` node class.
1288   - Added a mechanism for Visitors to transitionally ignore new node
1289     classes.
1291 * docutils/utils.py:
1293   - Moved ``escape2null`` and ``unescape`` functions from
1294     docutils/parsers/rst/states.py.
1296 * docutils/parsers/rst/roles.py:
1298   - Added "raw" role.
1299   - Changed role function API: the "text" parameter now takes
1300     null-escaped interpreted text content.
1302 * docutils/parsers/rst/states.py:
1304   - Fixed bug where a "role" directive in a nested parse would crash
1305     the parser; the state machine's "language" attribute was not being
1306     copied over.
1307   - Added support for line block syntax.
1308   - Fixed directive parsing bug: argument-less directives didn't
1309     notice that arguments were present.
1310   - Removed error checking for transitions.
1311   - Added support for multiple classifiers in definition list items.
1312   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1313   - Changed role function API: the "text" parameter now takes
1314     null-escaped interpreted text content.
1315   - Empty sections and documents are allowed now.
1317 * docutils/parsers/rst/directives/__init__.py:
1319   - Added ``encoding`` directive option conversion function.
1320   - Allow multiple class names in class_option conversion function.
1322 * docutils/parsers/rst/directives/body.py:
1324   - Converted the line-block directive to use the new structure.
1325   - Extracted the old line-block functionality to the ``block``
1326     function (still used).
1327   - Added ``compound`` directive (thanks to Lea Wiemann).
1329 * docutils/parsers/rst/directives/misc.py:
1331   - Added "encoding" option to "include" and "raw" directives.
1332   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1333   - Allow multiple class names in the "class" directive.
1335 * docutils/parsers/rst/directives/parts.py:
1337   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1338     options.  Thanks to Lele Gaifax.
1340 * docutils/parsers/rst/directives/tables.py:
1342   - Added "encoding" directive to "csv-table" directive.
1343   - Added workaround for lack of Unicode support in csv.py, for
1344     non-ASCII CSV input.
1346 * docutils/transforms/misc.py:
1348   - Fixed bug when multiple "class" directives are applied to a single
1349     element.
1350   - Enabled multiple format names for "raw" directive.
1352 * docutils/transforms/references.py:
1354   - Added support for trimming whitespace from beside substitution
1355     references.
1357 * docutils/transforms/universal.py:
1359   - FinalChecks now checks for illegal transitions and moves
1360     transitions between sections.
1362 * docutils/writers/html4css1.py:
1364   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1365   - "stylesheet" and "stylesheet_path" settings are now mutually
1366     exclusive.
1367   - Added support for the new line_block/line structure.
1368   - --footnote-references now overrides
1369     --trim-footnote-reference-space, if applicable.
1370   - Added support for ``compound`` elements.
1371   - Enabled multiple format names for "raw" directive.
1372   - ``<p>`` tags of a paragraph which is the only visible child of the
1373     document node are no longer stripped.
1374   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1375     new method ``should_be_compact_paragraph()``.
1376   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1377     elements.
1378   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1379     the output if they have their ``class`` attribute set.
1380   - The whole document is now surrounded by a ``<div
1381     class="document">`` element.
1382   - Body-level images are now wrapped by their own ``<div>`` elements,
1383     with image classes copied to the wrapper, and for images which
1384     have the ``:align:`` option set, the surrounding ``<div>`` now
1385     receives a class attribute (like ``class="align-left"``).
1387 * docutils/writers/latex2e.py:
1389   - no newline after depart_term.
1390   - Added translations for some Unicode quotes.
1391   - Added option "font-encoding", made package AE the default.
1392   - "stylesheet" and "stylesheet_path" settings are now mutually
1393     exclusive.
1394   - --footnote-references now overrides
1395     --trim-footnote-reference-space, if applicable.
1396   - The footnote label style now matches the footnote reference style
1397     ("brackets" or "superscript").
1398   - Added support for ``compound`` elements.
1399   - Enabled multiple format names for "raw" directive.
1401 * docs/ref/docutils.dtd:
1403   - Changed structure of the ``line_block`` element; added ``line``.
1404   - Added ``compound`` element.
1405   - Added "ltrim" and "rtrim" attributes to
1406     ``substitution_definition`` element.
1407   - Enabled multiple format names for ``raw`` element.
1408   - Enabled multiple classifiers in ``definition_list_item`` elements.
1410 * docs/ref/rst/directives.txt
1412   - Marked "line-block" as deprecated.
1413   - "Class" directive now allows multiple class names.
1414   - Added "Rationale for Class Attribute Value Conversion".
1415   - Added warning about "raw" overuse/abuse.
1417 * docs/ref/rst/restructuredtext.txt:
1419   - Added syntax for line blocks.
1420   - Definition list items may have multiple classifiers.
1422 * docs/ref/rst/roles.txt:
1424   - Added "raw" role.
1426 * tools/stylesheets/default.css:
1428   - Added support for the new line_block structure.
1429   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1432 Release 0.3.5 (2004-07-29)
1433 ==========================
1435 General:
1437 * _`Documentation cleanup/reorganization`.
1439   - Created new subdirectories of docs/:
1441     * ``docs/user/``: introductory/tutorial material for end-users
1442     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1443     * ``docs/api/``: API reference material for client-developers
1444     * ``docs/ref/``: reference material for all groups
1445     * ``docs/howto/``: for component-developers and core-developers
1446     * ``docs/peps/``: Python Enhancement Proposals
1448   - Moved ``docs/*`` to ``docs/user/``.
1449   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1450     ``spec/`` to ``docs/dev``.
1451   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1452     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1453   - Moved ``alternatives.txt``, and ``problems.txt`` from
1454     ``spec/rst/`` to ``docs/dev/rst/``.
1455   - Moved ``reStructuredText.txt``, ``directives.txt``,
1456     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1457     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1458     ``roles.txt``, ``reStructuredText.txt`` to
1459     ``restructuredtext.txt``.
1460   - Moved ``spec/howto/`` to ``docs/howto``.
1462   In order to keep the CVS history of moved files, we supplied
1463   SourceForge with a `script for modifying the Docutils CVS
1464   repository`__.
1466   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1468   After running the cleanup script:
1470   - Added ``docs/index.txt``.
1471   - Added a ``.htaccess`` file to the ``web`` module, containing
1472     redirects for all old paths to new paths.  They'll preserve
1473     fragments (the "#name" part of a URL), and won't clutter up the
1474     file system, and will correct the URL in the user's browser.
1475   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1476     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1477     the "To Do" list itself in ``docs/dev/todo.txt``.
1478   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1479     section of ``docs/dev/todo.txt``.
1480   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1481   - Added "How To Report Bugs" to ``BUGS.txt``.
1482   - Went through all the sources and docs (including under web/) and
1483     updated links.  Mostly done by Lea Wiemann; thanks Lea!
1484     (Still need to update links in the sandboxes.)
1486 Specific:
1488 * BUGS.txt: Added to project.
1490 * THANKS.txt: Added to project.
1492 * docutils/__init__.py:
1494   - 0.3.4: Post-release.
1496 * docutils/core.py:
1498   - Added special error handling & advice for UnicodeEncodeError.
1499   - Refactored Publisher.publish (simplified exception handling &
1500     extracted debug dumps).
1501   - Renamed "enable_exit" parameter of convenience functions to
1502     "enable_exit_status".
1503   - Enabled traceback (exception propagation) by default in
1504     programmatic convenience functions.
1505   - Now publish_file and publish_cmdline convenience functions return
1506     the encoded string results in addition to their regular I/O.
1507   - Extracted common code from publish_file, publish_string, and
1508     publish_parts, into new publish_programmatically.  Extracted
1509     settings code to ``Publisher.process_programmatic_settings``.
1510   - In Publisher.publish, disabled ``settings_overrides`` when
1511     ``settings`` is supplied; redundant.
1513 * docutils/frontend.py:
1515   - Added help text for "--output-encoding-error-handler" and
1516     "--error-encoding-error-handler".
1517   - Renamed "--exit" to "--exit-status".
1518   - Simplified default-setting code.
1520 * docutils/parsers/rst/__init__.py:
1522   - Added "--pep-base-url" and "--rfc-base-url" options.
1524 * docutils/parsers/rst/states.py:
1526   - Made URI recognition more aggressive and intelligent.
1528 * docutils/parsers/rst/directives/__init__.py:
1530   - Added several directive option conversion functions.
1532 * docutils/parsers/rst/directives/body.py:
1534   - Moved "table" directive to tables.py.
1536 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1537   added to project.
1539 * docutils/writers/latex2e.py:
1541   - Added "--table-style=(standard|booktabs|nolines)"
1542   - figures get "here" option (LaTeX per default puts them at bottom),
1543     and figure content is centered.
1544   - Rowspan support for tables.
1545   - Fix: admonition titles before first section.
1546   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1547   - Replave ``_`` in literal by an underlined blank, because it has the correct
1548     width.
1549   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1550   - A few unicode replacements, if output_encoding != utf
1551   - Add "--graphicx-option".
1552   - Indent literal-blocks.
1553   - Fix: omit ``\maketitle`` when there is no document title.
1555 * docs/index.txt: "Docutils Project Documentation Overview", added to
1556   project.
1558 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1559   Tool", added to project.
1561 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1563 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1565 * docs/dev/policies.txt: Added to project (extracted from
1566   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1568 * docs/dev/release.txt: Added to project (extracted from
1569   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1571 * docs/dev/testing.txt: Added to project.
1573 * docs/dev/website.txt: Added to project (extracted from
1574   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1576 * docs/ref/rst/directives.txt:
1578   - Added directives: "table", "csv-table".
1580 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1581   added to project.  1 page for syntax, and a 1 page reference for
1582   directives and roles.  Source text to be used as-is; not meant to be
1583   converted to HTML.
1585 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1586   with a change of title.
1588 * test/functional/, contents, and test/test_functional.py: Added to
1589   project.
1591 * tools/buildhtml.py: Fixed bug with config file handling.
1593 * tools/html.py: Removed from project (duplicate of rst2html.py).
1595 * tools/pep2html.py: Removed from project (duplicate of Python's
1596   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1597   Docutils-related PEPs in docs/peps/).
1599 * tools/rst2pseudoxml.py: Renamed from publish.py.
1601 * tools/rst2xml.py: Renamed from docutils-xml.py.
1603 * tools/test.txt: Removed from project; moved to
1604   docs/user/rst/demo.txt.
1606 * setup.py: Now also installs ``rst2latex.py``.
1609 Release 0.3.3 (2004-05-09)
1610 ==========================
1612 * docutils/__init__.py:
1614   - 0.3.1: Reorganized config file format (multiple sections); see
1615     docs/config.txt.
1616   - Added unknown_reference_resolvers attribute to TransformSpec.
1617   - 0.3.2: Interpreted text reorganization.
1618   - 0.3.3: Released.
1620 * docutils/core.py:
1622   - Catch system messages to stop tracebacks from parsing errors.
1623   - Catch exceptions during processing report & exit without
1624     tracebacks, except when "--traceback" used.
1625   - Reordered components for OptionParser; application comes last.
1626   - Added "config_section" parameter to several methods and functions,
1627     allowing front ends to easily specify their config file sections.
1628   - Added publish_parts convenience function to allow access to individual
1629     parts of a document.
1631 * docutils/examples.py: Added to project; practical examples of
1632   Docutils client code, to be used as-is or as models for variations.
1634 * docutils/frontend.py:
1636   - Added "--traceback" & "--no-traceback" options ("traceback"
1637     setting).
1638   - Implemented support for config file reorganization:
1639     ``standard_config_files`` moved from ``ConfigParser`` to
1640     ``OptionParser``; added
1641     ``OptionParser.get_config_file_settings()`` and
1642     ``.get_standard_config_settings()``; support for old "[options]"
1643     section (with deprecation warning) and mapping from old to new
1644     settings.
1645   - Reimplemented setting validation.
1646   - Enabled flexible boolean values: yes/no, true/false, on/off.
1647   - Added ``Values``, a subclass of ``optparse.Values``, with support
1648     for list setting attributes.
1649   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1650     thanks to Beni Cherniavsky.
1651   - Added "--no-section-numbering" option.
1653 * docutils/io.py:
1655   - Catch IOErrors when opening source & destination files, report &
1656     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1657     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1659 * docutils/nodes.py:
1661   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1662     method definitions (via ``exec``) to dynamic assignments (via
1663     ``setattr``); thanks to Roman Suzi.
1664   - Encapsulated visitor dynamic assignments in a function; thanks to
1665     Ian Bicking.
1666   - Added indirect_reference_name attribute to the Targetable
1667     class. This attribute holds the whitespace_normalized_name
1668     (contains mixed case) of a target.
1670 * docutils/statemachine.py:
1672   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1673   - Added ``StringList.get_2D_block``.
1675 * docutils/utils.py:
1677   - Added "level" attribute to SystemMessage exceptions.
1679 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1680   Jannie Hofmeyr.
1682 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1683   Blaha.
1685 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1686   Marcelo Huerta San Martin.
1688 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1689   mappings by Lalo Martins.
1691 * docutils/languages/ru.py: Added to project; Russian mappings by
1692   Roman Suzi.
1694 * docutils/parsers/rst/roles.py: Added to project.  Contains
1695   interpreted text role functions, a registry for interpreted text
1696   roles, and an API for adding to and retrieving from the registry.
1697   Contributed by Edward Loper.
1699 * docutils/parsers/rst/states.py:
1701   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1702   - Allowed true em-dash character and "---" as block quote
1703     attribution marker.
1704   - Added support for <angle-bracketed> complex option arguments
1705     (option lists).
1706   - Fixed handling of backslashes in substitution definitions.
1707   - Fixed off-by-1 error with extra whitespace after substitution
1708     definition directive.
1709   - Added inline markup parsing to field lists' field names.
1710   - Added support for quoted (and unindented) literal blocks.
1711     Driven in part by a bribe from Frank Siebenlist (thanks!).
1712   - Parser now handles escapes in URIs correctly.
1713   - Made embedded-URIs' reference text omittable.  Idea from Beni
1714     Cherniavsky.
1715   - Refactored explicit target processing code.
1716   - Added name attribute to references containing the reference name only
1717     through whitespace_normalize_name (no case changes).
1718   - parse_target no longer returns the refname after going through
1719     normalize_name. This is now handled in make_target.
1720   - Fixed bug relating to role-less interpreted text in non-English
1721     contexts.
1722   - Reorganized interpreted text processing; moved code into the new
1723     roles.py module.  Contributed by Edward Loper.
1724   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1725     ``parse_directive_block``.
1727 * docutils/parsers/rst/tableparser.py:
1729   - Reworked for ``StringList``, to support "include" directives in
1730     table cells.
1732 * docutils/parsers/rst/directives/__init__.py:
1734   - Renamed ``unchanged()`` directive option conversion function to
1735     ``unchanged_required``, and added a new ``unchanged``.
1736   - Catch unicode value too high error; fixes bug 781766.
1737   - Beefed up directive error reporting.
1739 * docutils/parsers/rst/directives/body.py:
1741   - Added basic "table" directive.
1743 * docutils/parsers/rst/directives/images.py:
1745   - Added "target" option to "image" directive.
1746   - Added name attribute to references containing the reference name only
1747     through whitespace_normalize_name (no case changes).
1749 * docutils/parsers/rst/directives/misc.py:
1751   - Isolated the import of the ``urllib2`` module; was causing
1752     problems on SourceForge (``libssl.so.2`` unavailable?).
1753   - Added the "role" directive for declaring custom interpreted text
1754     roles.
1756 * docutils/parsers/rst/directives/parts.py:
1758   - The "contents" directive does more work up-front, creating the
1759     "topic" and "title", and leaving the "pending" node for the
1760     transform.  Allows earlier reference resolution; fixes subtle bug.
1762 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1763   mappings by Jannie Hofmeyr.
1765 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1766   mappings by Marek Blaha.
1768 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1769   mappings by Marcelo Huerta San Martin.
1771 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1772   Portuguese mappings by Lalo Martins.
1774 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1775   mappings by Roman Suzi.
1777 * docutils/transforms/parts.py:
1779   - The "contents" directive does more work up-front, creating the
1780     "topic" and "title", and leaving the "pending" node for the
1781     transform.  Allows earlier reference resolution; fixes subtle bug.
1782   - Added support for disabling of section numbering.
1784 * docutils/transforms/references.py:
1786   - Verifying that external targets are truly targets and not indirect
1787     references. This is because we are now adding a "name" attribute to
1788     references in addition to targets. Note sure if this is correct!
1789   - Added code to hook into the unknown_reference_resolvers list for a
1790     transformer in resolve_indirect_target. This allows the
1791     unknown_reference_resolvers to keep around indirect targets which
1792     docutils doesn't know about.
1793   - Added specific error message for duplicate targets.
1795 * docutils/transforms/universal.py:
1797   - Added FilterMessages transform (removes system messages below the
1798     verbosity threshold).
1799   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1800     to FinalCheckVisitor for application-specific handling of
1801     unresolvable references.
1802   - Added specific error message for duplicate targets.
1804 * docutils/writers/__init__.py:
1806   - Added assemble_parts method to the Writer class to allow for
1807     access to a documents individual parts.
1808   - Documented & set default for ``Writer.output`` attribute.
1810 * docutils/writers/html4css1.py:
1812   - Fixed unicode handling of attribute values (bug 760673).
1813   - Prevent duplication of "class" attribute values (bug report from
1814     Kirill Lapshin).
1815   - Improved table grid/border handling (prompted by report from Bob
1816     Marshall).
1817   - Added support for table titles.
1818   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1819     to Darek Suchojad.
1820   - Added functionality to keep track of individual parts of a document
1821     and store them in a dictionary as the "parts" attribute of the writer.
1822     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1823   - Added proper support for the "scale" attribute of the "image"
1824     element.  Contributed by Brent Cook.
1825   - Added ``--initial-header-level`` option.
1826   - Fixed bug: the body_pre_docinfo segment depended on there being a
1827     docinfo; if no docinfo, the document title was incorporated into
1828     the body segment.  Adversely affected the publish_parts interface.
1830 * docutils/writers/latex2e.py:
1832   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1833     about a missing file.
1834   - Added options and support: ``--compound-enumerators``,
1835     ``--section-prefix-for-enumerators``, and
1836     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1837     934322).
1838   - Added option ``--use-verbatim-when-possible``, to avoid
1839     problematic characters (eg, '~' in italian) in literal blocks.
1840   - It's now possible to use four section levels in the `book` and
1841     `report` LaTeX classes.  The default `article` class still has
1842     three levels limit.
1844 * docs/config.txt: "Docutils Configuration Files", added to project.
1845   Moved config file entry descriptions from tools.txt.
1847 * docs/tools.txt:
1849   - Moved config file entry descriptions to config.txt.
1851 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
1852   Development".
1854 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1855   Text Roles", added to project.
1857 * spec/rst/reStructuredText.txt:
1859   - Added description of support for <angle-bracketed> complex option
1860     arguments to option lists.
1861   - Added subsections for indented and quoted literal blocks.
1863 * test: Continually adding & updating tests.
1865   - Added test/test_settings.py & test/data/config_*.txt support
1866     files.
1867   - Added test/test_writers/test_htmlfragment.py.
1869 * test/DocutilsTestSupport.py:
1871   - Refactored LaTeX publisher test suite/case class names to make
1872     testing other writers easier.
1873   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1874     to test the processing of HTML fragments which use the new
1875     publish_parts convenience function.
1877 * tools/buildhtml.py:
1879   - Added support for the "--prune" option.
1880   - Removed dependency on pep2html.py; plaintext PEPs no longer
1881     supported.
1883 * tools/docutils.conf:
1885   - Updated for configuration file reorganization.
1887 * tools/rst2html.py:
1889   - copied from tools/html.py
1891 * setup.py:
1893   - added a 'scripts' section to configuration
1894   - added 'tools/rst2html.py' to the scripts section
1897 Release 0.3 (2003-06-24)
1898 ========================
1900 General:
1902 * Renamed "attribute" to "option" for directives/extensions.
1904 * Renamed transform method "transform" to "apply".
1906 * Renamed "options" to "settings" for runtime settings (as set by
1907   command-line options).  Sometimes "option" (singular) became
1908   "settings" (plural).  Some variations below:
1910   - document.options -> document.settings (stored in other objects as
1911     well)
1912   - option_spec -> settings_spec (not directives though)
1913   - OptionSpec -> SettingsSpec
1914   - cmdline_options -> settings_spec
1915   - relative_path_options -> relative_path_settings
1916   - option_default_overrides -> settings_default_overrides
1917   - Publisher.set_options -> Publisher.get_settings
1919 Specific:
1921 * COPYING.txt: Added "Public Domain Dedication".
1923 * FAQ.txt: Frequently asked questions, added to project.
1925 * setup.py:
1927   - Updated with PyPI Trove classifiers.
1928   - Conditional installation of third-party modules.
1930 * docutils/__init__.py:
1932   - Bumped version to 0.2.1 to reflect changes to I/O classes.
1933   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1934   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1935   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1936     option and its effect on the PEP template & writer.
1937   - Bumped version to 0.2.4 due to changes to the PEP template &
1938     stylesheet.
1939   - Bumped version to 0.2.5 to reflect changes to Reporter output.
1940   - Added ``TransformSpec`` class for new transform system.
1941   - Bumped version to 0.2.6 for API changes (renaming).
1942   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1943     convenience functions.
1944   - Added ``Component.component_type`` attribute.
1945   - Bumped version to 0.2.8 because of the internal parser switch from
1946     plain lists to the docutils.statemachine.StringList objects.
1947   - Bumped version to 0.2.9 because of the frontend.py API changes.
1948   - Bumped version to 0.2.10 due to changes to the project layout
1949     (third-party modules removed from the "docutils" package), and
1950     signature changes in ``io.Input``/``io.Output``.
1951   - Changed version to 0.3.0 for release.
1953 * docutils/core.py:
1955   - Made ``publish()`` a bit more convenient.
1956   - Generalized ``Publisher.set_io``.
1957   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1958     parameters; improved its docstring.
1959   - Added ``publish_file()`` and ``publish_string()``.
1960   - Factored ``Publisher.set_source()`` and ``.set_destination()``
1961     out of ``.set_io``.
1962   - Added support for "--dump-pseudo-xml", "--dump-settings", and
1963     "--dump-transforms" hidden options.
1964   - Added ``Publisher.apply_transforms()`` method.
1965   - Added ``Publisher.set_components()`` method; support for
1966     ``publish_*()`` conveninece functions.
1967   - Moved config file processing to docutils/frontend.py.
1968   - Added support for exit status ("exit_level" setting &
1969     ``enable_exit`` parameter for Publisher.publish() and convenience
1970     functions).
1972 * docutils/frontend.py:
1974   - Check for & exit on identical source & destination paths.
1975   - Fixed bug with absolute paths & "--config".
1976   - Set non-command-line defaults in ``OptionParser.__init__()``:
1977     ``_source`` & ``_destination``.
1978   - Distributed ``relative_path_settings`` to components; updated
1979     ``OptionParser.populate_from_components()`` to combine it all.
1980   - Require list of keys in ``make_paths_absolute`` (was implicit in
1981     global ``relative_path_settings``).
1982   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1983     "--dump-settings", and "--dump-transforms" hidden options.
1984   - Removed nasty internals-fiddling ``ConfigParser.get_section``
1985     code, replaced with correct code.
1986   - Added validation functionality for config files.
1987   - Added "--error-encoding" option/setting, "_disable_config"
1988     internal setting.
1989   - Added encoding validation; updated "--input-encoding" and
1990     "--output-encoding"; added "--error-encoding-error-handler" and
1991     "--output-encoding-error-handler".
1992   - Moved config file processing from docutils/core.py.
1993   - Updated ``OptionParser.populate_from_components`` to handle new
1994     ``SettingsSpec.settings_defaults`` dict.
1995   - Added support for "-" => stdin/stdout.
1996   - Added "exit_level" setting ("--exit" option).
1998 * docutils/io.py:
2000   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
2001   - Added automatic closing to ``FileInput`` and ``FileOutput``.
2002   - Delayed opening of ``FileOutput`` file until ``write()`` called.
2003   - ``FileOutput.write()`` now returns the encoded output string.
2004   - Try to get path/stream name automatically in ``FileInput`` &
2005     ``FileOutput``.
2006   - Added defaults for source & destination paths.
2007   - Allow for Unicode I/O with an explicit "unicode" encoding.
2008   - Added ``Output.encode()``.
2009   - Removed dependency on runtime settings; pass encoding directly.
2010   - Recognize Unicode strings in ``Input.decode()``.
2011   - Added support for output encoding error handlers.
2013 * docutils/nodes.py:
2015   - Added "Invisible" element category class.
2016   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
2017     modification during a traversal.
2018   - Added element classes: ``line_block``, ``generated``, ``address``,
2019     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
2020     ``superscript``, ``subscript``, ``inline``
2021   - Added support for lists of nodes to ``Element.insert()``.
2022   - Fixed parent linking in ``Element.replace()``.
2023   - Added new abstract superclass ``FixedTextElement``; adds
2024     "xml:space" attribute.
2025   - Added support for "line" attribute of ``system_message`` nodes.
2026   - Added support for the observer pattern from ``utils.Reporter``.
2027     Added ``parse_messages`` and ``transform_messages`` attributes to
2028     ``document``, removed ``messages``.  Added ``note_parse_message``
2029     and ``note_transform_message`` methods.
2030   - Added support for improved diagnostics:
2032     - Added "document", "source", and "line" internal attributes to
2033       ``Node``, set by ``Node.setup_child()``.
2034     - Converted variations on ``node.parent = self`` to
2035       ``self.setup_child(node)``.
2036     - Added ``document.current_source`` & ``.current_line``
2037       attributes, and ``.note_source`` observer method.
2038     - Changed "system_message" output to GNU-Tools format.
2040   - Added a "rawsource" attribute to the ``Text`` class, for text
2041     before backslash-escape resolution.
2042   - Support for new transform system.
2043   - Reworked ``pending`` element.
2044   - Fixed XML DOM bug (SF #660611).
2045   - Removed the ``interpeted`` element class and added
2046     ``title_reference``, ``abbreviation``, ``acronym``.
2047   - Made substitutions case-sensitive-but-forgiving; moved some code
2048     from the parser.
2049   - Fixed Unicode bug on element attributes (report: William Dode).
2051 * docutils/optik.py: Removed from project; replaced with
2052   extras/optparse.py and extras/textwrap.py.  These will be installed
2053   only if they're not already present in the Python installation.
2055 * docutils/roman.py: Moved to extras/roman.py; this will be installed
2056   only if it's not already present in the Python installation.
2058 * docutils/statemachine.py:
2060   - Factored out ``State.add_initial_transitions()`` so it can be
2061     extended.
2062   - Converted whitespace-specific "blank" and "indent" transitions
2063     from special-case code to ordinary transitions: removed
2064     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
2065     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
2066     ``ws_initial_transitions`` attributes.
2067   - Removed ``State.match_transition()`` after merging it into
2068     ``.check_line()``.
2069   - Added ``StateCorrection`` exception.
2070   - Added support for ``StateCorrection`` in ``StateMachine.run()``
2071     (moved ``TransitionCorrection`` support there too.)
2072   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
2073     ``EOFError`` instead of ``IndexError``.
2074   - Added ``State.no_match`` method.
2075   - Added support for the Observer pattern, triggered by input line
2076     changes.
2077   - Added ``strip_top`` parameter to
2078     ``StateMachineWS.get_first_known_indented``.
2079   - Made ``context`` a parameter to ``StateMachine.run()``.
2080   - Added ``ViewList`` & ``StringList`` classes;
2081     ``extract_indented()`` becomes ``StringList.get_indented()``.
2082   - Added ``StateMachine.insert_input()``.
2083   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
2084     thanks to) Fred Drake.
2086 * docutils/utils.py:
2088   - Added a ``source`` attribute to Reporter instances and
2089     ``system_message`` elements.
2090   - Added an observer pattern to ``utils.Reporter`` to keep track of
2091     system messages.
2092   - Fixed bugs in ``relative_path()``.
2093   - Added support for improved diagnostics.
2094   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
2095   - Added support for encoding Reporter stderr output, and encoding
2096     error handlers.
2097   - Reporter keeps track of the highest level system message yet
2098     generated.
2100 * docutils/languages: Fixed bibliographic field language lookups.
2102 * docutils/languages/es.py: Added to project; Spanish mappings by
2103   Marcelo Huerta San Martin.
2105 * docutils/languages/fr.py: Added to project; French mappings by
2106   Stefane Fermigier.
2108 * docutils/languages/it.py: Added to project; Italian mappings by
2109   Nicola Larosa.
2111 * docutils/languages/sk.py: Added to project; Slovak mappings by
2112   Miroslav Vasko.
2114 * docutils/parser/__init__.py:
2116   - Added ``Parser.finish_parse()`` method.
2118 * docutils/parser/rst/__init__.py:
2120   - Added options: "--pep-references", "--rfc-references",
2121     "--tab-width", "--trim-footnote-reference-space".
2123 * docutils/parsers/rst/states.py:
2125   - Changed "title under/overline too short" system messages from INFO
2126     to WARNING, and fixed its insertion location.
2127   - Fixed enumerated list item parsing to allow paragraphs & section
2128     titles to begin with enumerators.
2129   - Converted system messages to use the new "line" attribute.
2130   - Fixed a substitution reference edge case.
2131   - Added support for "--pep-references" and "--rfc-references"
2132     options; reworked ``Inliner`` code to make customization easier.
2133   - Removed field argument parsing.
2134   - Added support for short section title over/underlines.
2135   - Fixed "simple reference name" regexp to ignore text like
2136     "object.__method__"; not an anonymous reference.
2137   - Added support for improved diagnostics.
2138   - Reworked directive API, based on Dethe Elza's contribution.  Added
2139     ``Body.parse_directive()``, ``.parse_directive_options()``,
2140     ``.parse_directive_arguments()`` methods.
2141   - Added ``ExtensionOptions`` class, to parse directive options
2142     without parsing field bodies.  Factored
2143     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
2144     ``ExtensionOptions``.
2145   - Improved definition list term/classifier parsing.
2146   - Added warnings for unknown directives.
2147   - Renamed ``Stuff`` to ``Struct``.
2148   - Now flagged as errors: transitions at the beginning or end of
2149     sections, empty sections (except title), and empty documents.
2150   - Updated for ``statemachine.StringList``.
2151   - Enabled recognition of schemeless email addresses in targets.
2152   - Added support for embedded URIs in hyperlink references.
2153   - Added backslash-escapes to inline markup end-string suffix.
2154   - Added support for correct interpreted text processing.
2155   - Fixed nested title parsing (topic, sidebar directives).
2156   - Added special processing of backslash-escaped whitespace (idea
2157     from David Abrahams).
2158   - Made substitutions case-sensitive-but-forgiving; moved some code
2159     to ``docutils.nodes``.
2160   - Added support for block quote attributions.
2161   - Added a kludge to work-around a conflict between the bubble-up
2162     parser strategy and short titles (<= 3 char-long over- &
2163     underlines).  Fixes SF bug #738803 "infinite loop with multiple
2164     titles" submitted by Jason Diamond.
2165   - Added explicit interpreted text roles for standard inline markup:
2166     "emphasis", "strong", "literal".
2167   - Implemented "superscript" and "subscript" interpreted text roles.
2168   - Added initial support for "abbreviation" and "acronym" roles;
2169     incomplete.
2170   - Added support for "--trim-footnote-reference-space" option.
2171   - Optional space before colons in directives & hyperlink targets.
2173 * docutils/parsers/rst/tableparser.py:
2175   - Fixed a bug that was producing unwanted empty rows in "simple"
2176     tables.
2177   - Detect bad column spans in "simple" tables.
2179 * docutils/parsers/rst/directives: Updated all directive functions to
2180   new API.
2182 * docutils/parsers/rst/directives/__init__.py:
2184   - Added ``flag()``, ``unchanged()``, ``path()``,
2185     ``nonnegative_int()``, ``choice()``, and ``class_option()``
2186     directive option helper functions.
2187   - Added warnings for unknown directives.
2188   - Return ``None`` for missing directives.
2189   - Added ``register_directive()``, thanks to William Dode and Paul
2190     Moore.
2192 * docutils/parsers/rst/directives/admonitions.py:
2194   - Added "admonition" directive.
2196 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
2197   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2198   "parsed-literal", "rubric", "epigraph", "highlights" and
2199   "pull-quote" directives.
2201 * docutils/parsers/rst/directives/images.py:
2203   - Added an "align" attribute to the "image" & "figure" directives
2204     (by Adam Chodorowski).
2205   - Added "class" option to "image", and "figclass" to "figure".
2207 * docutils/parsers/rst/directives/misc.py:
2209   - Added "include", "raw", and "replace" directives, courtesy of
2210     Dethe Elza.
2211   - Added "unicode" and "class" directives.
2213 * docutils/parsers/rst/directives/parts.py:
2215   - Added the "sectnum" directive; by Dmitry Jemerov.
2216   - Added "class" option to "contents" directive.
2218 * docutils/parsers/rst/directives/references.py: Added to project.
2219   Contains the "target-notes" directive.
2221 * docutils/parsers/rst/languages/__init__.py:
2223   - Return ``None`` from get_language() for missing language modules.
2225 * docutils/parsers/rst/languages/de.py: Added to project; German
2226   mappings by Engelbert Gruber.
2228 * docutils/parsers/rst/languages/en.py:
2230   - Added interpreted text roles mapping.
2232 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2233   mappings by Marcelo Huerta San Martin.
2235 * docutils/parsers/rst/languages/fr.py: Added to project; French
2236   mappings by William Dode.
2238 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2239   mappings by Nicola Larosa.
2241 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2242   mappings by Miroslav Vasko.
2244 * docutils/readers/__init__.py:
2246   - Added support for the observer pattern from ``utils.Reporter``, in
2247     ``Reader.parse`` and ``Reader.transform``.
2248   - Removed ``Reader.transform()`` method.
2249   - Added default parameter values to ``Reader.__init__()`` to make
2250     instantiation easier.
2251   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2253 * docutils/readers/pep.py:
2255   - Added the ``peps.TargetNotes`` transform to the Reader.
2256   - Removed PEP & RFC reference detection code; moved to
2257     parsers/rst/states.py as options (enabled here by default).
2258   - Added support for pre-acceptance PEPs (no PEP number yet).
2259   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2260     easy subclassing.
2262 * docutils/readers/python: Python Source Reader subpackage added to
2263   project, including preliminary versions of:
2265   - __init__.py
2266   - moduleparser.py: Parser for Python modules.
2268 * docutils/transforms/__init__.py:
2270   - Added ``Transformer`` class and completed transform reform.
2271   - Added unknown_reference_resolvers list for each transformer. This list holds
2272     the list of functions provided by each component of the transformer that
2273     help resolve references.
2275 * docutils/transforms/frontmatter.py:
2277   - Improved support for generic fields.
2278   - Fixed bibliographic field language lookups.
2280 * docutils/transforms/misc.py: Added to project.  Miscellaneous
2281   transforms.
2283 * docutils/transforms/parts.py:
2285   - Moved the "id" attribute from TOC list items to the references
2286     (``Contents.build_contents()``).
2287   - Added the ``SectNum`` transform; by Dmitry Jemerov.
2288   - Added "class" attribute support to ``Contents``.
2290 * docutils/transforms/peps.py:
2292   - Added ``mask_email()`` function, updating to pep2html.py's
2293     functionality.
2294   - Linked "Content-Type: text/x-rst" to PEP 12.
2295   - Added the ``TargetNotes`` PEP-specific transform.
2296   - Added ``TargetNotes.cleanup_callback``.
2297   - Added title check to ``Headers``.
2299 * docutils/transforms/references.py:
2301   - Added the ``TargetNotes`` generic transform.
2302   - Split ``Hyperlinks`` into multiple transforms.
2303   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2304   - Added check for circular indirect references.
2305   - Made substitutions case-sensitive-but-forgiving.
2307 * docutils/transforms/universal.py:
2309   - Added support for the "--expose-internal-attributes" option.
2310   - Removed ``Pending`` transform classes & data.
2312 * docutils/writers/__init__.py:
2314   - Removed ``Writer.transform()`` method.
2316 * docutils/writers/docutils-xml.py:
2318   - Added XML and doctype declarations.
2319   - Added "--no-doctype" and "--no-xml-declaration" options.
2321 * docutils/writers/html4css1.py:
2323   - "name" attributes only on these tags: a, applet, form, frame,
2324     iframe, img, map.
2325   - Added "name" attribute to <a> in section titles for Netscape 4
2326     support (bug report: Pearu Peterson).
2327   - Fixed targets (names) on footnote, citation, topic title,
2328     problematic, and system_message nodes (for Netscape 4).
2329   - Changed field names from "<td>" to "<th>".
2330   - Added "@" to "&#64;" encoding to thwart address harvesters.
2331   - Improved the vertical whitespace optimization; ignore "invisible"
2332     nodes (targets, comments, etc.).
2333   - Improved inline literals with ``<span class="pre">`` around chunks
2334     of text and ``&nbsp;`` for runs of spaces.
2335   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2336     ``self.docinfo`` segments.
2337   - Added support for "line_block", "address" elements.
2338   - Improved backlinks (footnotes & system_messages).
2339   - Improved system_message output.
2340   - Redefined "--stylesheet" as containing an invariant URL, used
2341     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2342     working directory.
2343   - Added "--footnote-references" option (superscript or brackets).
2344   - Added "--compact-lists" and "--no-compact-lists" options.
2345   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2346     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2347   - Improved field list rendering.
2348   - Added Docutils version to "generator" meta tag.
2349   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2350   - Improved layout of <pre> HTML source.
2351   - Fixed attribute typo on <colspec>.
2352   - Refined XML prologue.
2353   - Support for no stylesheet.
2354   - Removed "interpreted" element support.
2355   - Added support for "title_reference", "sidebar", "attribution",
2356     "rubric", and generic "admonition" elements.
2357   - Added "--attribution" option.
2358   - Added support for "inline", "subscript", "superscript" elements.
2359   - Added initial support for "abbreviation" and "acronym";
2360     incomplete.
2362 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2363   (from the sandbox).
2365   - Added french.
2366   - Double quotes in literal blocks (special treatment for de/ngerman).
2367   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2368   - Added  "--attribution" option.
2369   - Right align attributions.
2371 * docutils/writers/pep_html.py:
2373   - Parameterized output encoding in PEP template.
2374   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2375   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2376     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2377     working directory.
2378   - Added an override on the "--footnote-references" option.
2379   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2380   - Added Docutils version to "generator" meta tag.
2381   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2383 * docs/tools.txt:
2385   - Added a "silent" setting for ``buildhtml.py``.
2386   - Added a "Getting Help" section.
2387   - Rearranged the structure.
2388   - Kept up to date, with new settings, command-line options etc.
2389   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2390   - Converted settings table into a definition list.
2392 * docs/rst/quickstart.txt:
2394   - Added a table of contents.
2395   - Added feedback information.
2396   - Added mention of minimum section title underline lengths.
2397   - Removed the 4-character minimum for section title underlines.
2399 * docs/rst/quickref.html:
2401   - Added a "Getting Help" section.
2402   - Added a style to make section title backlinks more subtle.
2403   - Added mention of minimum section title underline lengths.
2404   - Removed the 4-character minimum for section title underlines.
2406 * extras: Directory added to project; contains third-party modules
2407   that Docutils depends on (optparse, textwrap, roman).  These are
2408   only installed if they're not already present.
2410 * licenses: Directory added to project; contains copies of license
2411   files for non-public-domain files.
2413 * spec/doctree.txt:
2415   - Changed the focus.  It's about DTD elements:  structural
2416     relationships, semantics, and external (public) attributes.  Not
2417     about the element class library.
2418   - Moved some implementation-specific stuff into ``docutils.nodes``
2419     docstrings.
2420   - Wrote descriptions of all common attributes and parameter
2421     entities.  Filled in introductory material.
2422   - Working through the element descriptions: 55 down, 37 to go.
2423   - Removed "Representation of Horizontal Rules" to
2424     spec/rst/alternatives.txt.
2426 * spec/docutils.dtd:
2428   - Added "generated" inline element.
2429   - Added "line_block" body element.
2430   - Added "auto" attribute to "title".
2431   - Changed content models of "literal_block" and "doctest_block" to
2432     ``%text.model``.
2433   - Added ``%number;`` attribute type parameter entity.
2434   - Changed ``%structural.elements;`` to ``%section.elements``.
2435   - Updated attribute types; made more specific.
2436   - Added "address" bibliographic element.
2437   - Added "line" attribute to ``system_message`` element.
2438   - Removed "field_argument" element; "field_name" may contain
2439     multiple words and whitespace.
2440   - Changed public identifier to docutils.sf.net.
2441   - Removed "interpreted" element; added "title_reference",
2442     "abbreviation", "acronym".
2443   - Removed "refuri" attribute from "footnote_reference" and
2444     "citation_reference".
2445   - Added "sidebar", "rubric", "attribution", "admonition",
2446     "superscript", "subscript", and "inline" elements.
2448 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2450 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2452 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2454 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2455   Dallas Mahrt.
2457 * spec/transforms.txt: Added to project.
2459 * spec/howto: Added subdirectory, for developer how-to docs.
2461 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2462   Elza, edited & extended by David Goodger.
2464 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
2465   project.
2467 * spec/rst/alternatives.txt:
2469   - Added "Doctree Representation of Transitions" from
2470     spec/doctree.txt.
2471   - Updated "Inline External Targets" & closed the debate.
2472   - Added ideas for interpreted text syntax extensions.
2473   - Added "Nested Inline Markup" section.
2475 * spec/rst/directives.txt:
2477   - Added directives: "topic", "sectnum", "target-notes",
2478     "line-block", "parsed-literal", "include", "replace", "sidebar",
2479     "admonition", "rubric", "epigraph", "highlights", "unicode" and
2480     "class".
2481   - Formalized descriptions of directive details.
2482   - Added an "align" attribute to the "image" & "figure" directives
2483     (by Adam Chodorowski).
2484   - Added "class" options to "topic", "sidebar", "line-block",
2485     "parsed-literal", "contents", and "image"; and "figclass" to
2486     "figure".
2488 * spec/rst/interpreted.txt: Added to project.  Descriptions of
2489   interpreted text roles.
2491 * spec/rst/introduction.txt:
2493   - Added pointers to material for new users.
2495 * spec/rst/reStructuredText.txt:
2497   - Disambiguated comments (just add a newline after the "::").
2498   - Updated enumerated list description; added a discussion of the
2499     second-line validity checking.
2500   - Updated directive description.
2501   - Added a note redirecting newbies to the user docs.
2502   - Expanded description of inline markup start-strings in non-markup
2503     contexts.
2504   - Removed field arguments and made field lists a generic construct.
2505   - Removed the 4-character minimum for section title underlines.
2506   - Clarified term/classifier delimiter & inline markup ambiguity
2507     (definition lists).
2508   - Added "Embedded URIs".
2509   - Updated "Interpreted Text" section.
2510   - Added "Character-Level Inline Markup" section.
2512 * test: Continually adding & updating tests.
2514   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2515   - Moved test/test_pep/ to test/test_readers/test_pep/.
2516   - Added test/test_readers/test_python/.
2517   - Added test/test_writers/ (Engelbert Gruber).
2519 * tools:
2521   - Made the ``locale.setlocale()`` calls in front ends
2522     fault-tolerant.
2524 * tools/buildhtml.py:
2526   - Added "--silent" option.
2527   - Fixed bug with absolute paths & "--config".
2528   - Updated for new I/O classes.
2529   - Added some exception handling.
2530   - Separated publishers' setting defaults; prevents interference.
2531   - Updated for new ``publish_file()`` convenience function.
2533 * tools/pep-html-template:
2535   - Allow for "--embed-stylesheet".
2536   - Added Docutils version to "generator" meta tag.
2537   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2538   - Conform to XHTML spec.
2540 * tools/pep2html.py:
2542   - Made ``argv`` a parameter to ``main()``.
2543   - Added support for "Content-Type:" header & arbitrary PEP formats.
2544   - Linked "Content-Type: text/plain" to PEP 9.
2545   - Files skipped (due to an error) are not pushed onto the server.
2546   - Updated for new I/O classes.
2547   - Added ``check_requirements()`` & ``pep_type_error()``.
2548   - Added some exception handling.
2549   - Updated for new ``publish_string()`` convenience function.
2550   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2552 * tools/quicktest.py:
2554   - Added "-V"/"--version" option.
2556 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2558 * tools/unicode2rstsubs.py: Added to project.  Produces character
2559   entity files (reSructuredText substitutions) from the MathML master
2560   unicode.xml file.
2562 * tools/editors: Support code for editors, added to project.  Contains
2563   ``emacs/restructuredtext.el``.
2565 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2567   - Added style for chunks of inline literals.
2568   - Removed margin for first child of table cells.
2569   - Right-aligned field list names.
2570   - Support for auto-numbered section titles in TOCs.
2571   - Increased the size of inline literals (<tt>) in titles.
2572   - Restored the light gray background for inline literals.
2573   - Added support for "line_block" elements.
2574   - Added style for "address" elements.
2575   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2576   - Improved field list rendering.
2577   - Vertical whitespace improvements.
2578   - Removed "a.target" style.
2580 * tools/stylesheets/pep.css:
2582   - Fixed nested section margins.
2583   - Other changes parallel those of ``../default.css``.
2586 Release 0.2 (2002-07-31)
2587 ========================
2589 General:
2591 - The word "component" was being used ambiguously.  From now on,
2592   "component" will be used to mean "Docutils component", as in Reader,
2593   Writer, Parser, or Transform.  Portions of documents (Table of
2594   Contents, sections, etc.)  will be called "document parts".
2595 - Did a grand renaming: a lot of ``verylongnames`` became
2596   ``very_long_names``.
2597 - Cleaned up imports: no more relative package imports or
2598   comma-separated lists of top-level modules.
2599 - Added support for an option values object which carries default
2600   settings and overrides (from command-line options and library use).
2601 - Added internal Unicode support, and support for both input and
2602   output encodings.
2603 - Added support for the ``docutils.io.IO`` class & subclasses.
2605 Specific:
2607 * docutils/__init__.py:
2609   - Added ``ApplicationError`` and ``DataError``, for use throughout
2610     the package.
2611   - Added ``Component`` base class for Docutils components; implements
2612     the ``supports`` method.
2613   - Added ``__version__`` (thus, ``docutils.__version__``).
2615 * docutils/core.py:
2617   - Removed many keyword parameters to ``Publisher.__init__()`` and
2618     ``publish()``; bundled into an option values object.  Added
2619     "argv", "usage", "description", and "option_spec" parameters for
2620     command-line support.
2621   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2622     methods.
2623   - Reworked I/O model for ``docutils.io`` wrappers.
2624   - Updated ``Publisher.set_options()``; now returns option values
2625     object.
2626   - Added support for configuration files (/etc/docutils.conf,
2627     ./docutils.conf, ~/.docutils).
2628   - Added ``Publisher.setup_option_parser()``.
2629   - Added default usage message and description.
2631 * docutils/frontend.py: Added to project; support for front-end
2632   (command-line) scripts.  Option specifications may be augmented by
2633   components.  Requires Optik (http://optik.sf.net/) for option
2634   processing (installed locally as docutils/optik.py).
2636 * docutils/io.py: Added to project; uniform API for a variety of input
2637   output mechanisms.
2639 * docutils/nodes.py:
2641   - Added ``TreeCopyVisitor`` class.
2642   - Added a ``copy`` method to ``Node`` and subclasses.
2643   - Added a ``SkipDeparture`` exception for visitors.
2644   - Renamed ``TreePruningException`` from ``VisitorException``.
2645   - Added docstrings to ``TreePruningException``, subclasses, and
2646     ``Nodes.walk()``.
2647   - Improved docstrings.
2648   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2649   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2650     imports.
2651   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2652     ``PreDecorative`` mixin.
2653   - Reworked the name/id bookkeeping; to ``document``, removed
2654     ``explicit_targets`` and ``implicit_targets`` attributes, added
2655     ``nametypes`` attribute and ``set_name_id_map`` method.
2656   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2657     traversals.
2658   - Added ``document.has_name()`` method.
2659   - Fixed DOM generation for list-attributes.
2660   - Added category class ``Labeled`` (used by footnotes & citations).
2661   - Added ``Element.set_class()`` method (sets "class" attribute).
2663 * docutils/optik.py: Added to project.  Combined from the Optik
2664   package, with added option groups and other modifications.  The use
2665   of this module is probably only temporary.
2667 * docutils/statemachine.py:
2669   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2670   - Added underscores to improve many awkward names.
2671   - In ``string2lines()``, changed whitespace normalizing translation
2672     table to regexp; restores Python 2.0 compatibility with Unicode.
2674 * docutils/urischemes.py:
2676   - Filled in some descriptions.
2677   - Added "shttp" scheme.
2679 * docutils/utils.py:
2681   - Added ``clean_rcs_keywords`` function (moved from
2682     docutils/transforms/frontmatter.py
2683     ``DocInfo.filter_rcs_keywords``).
2684   - Added underscores to improve many awkward names.
2685   - Changed names of Reporter's thresholds:
2686     warning_level -> report_level; error_level -> halt_level.
2687   - Moved ``utils.id()`` to ``nodes.make_id()``.
2688   - Added ``relative_path(source, target)``.
2690 * docutils/languages/de.py: German mappings; added to project.  Thanks
2691   to Gunnar Schwant for the translations.
2693 * docutils/languages/en.py: Added "Dedication" bibliographic field
2694   mappings.
2696 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2697   Chodorowski.
2699 * docutils/parsers/rst/states.py:
2701   - Added underscores to improve many awkward names.
2702   - Added RFC-2822 header support.
2703   - Extracted the inline parsing code from ``RSTState`` to a separate
2704     class, ``Inliner``, which will allow easy subclassing.
2705   - Made local bindings for ``memo`` container & often-used contents
2706     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2707   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2708   - Added ``MarkupMismatch`` exception; for late corrections.
2709   - Added ``-/:`` characters to inline markup's start string prefix,
2710     ``/`` to end string suffix.
2711   - Fixed a footnote bug.
2712   - Fixed a bug with literal blocks.
2713   - Applied patch from Simon Budig: simplified regexps with symbolic
2714     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2715   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2716   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2717   - Allowed non-ASCII in "simple names" (directive names, field names,
2718     references, etc.).
2719   - Converted ``Inliner.patterns.initial`` to be dynamically built
2720     from parts with ``build_regexp()`` function.
2721   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2722   - Updated docstrings.
2723   - Changed "table" to "grid_table"; added "simple_table" support.
2725 * docutils/parsers/rst/tableparser.py:
2727   - Changed ``TableParser`` to ``GridTableParser``.
2728   - Added ``SimpleTableParser``.
2729   - Refactored naming.
2731 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2732   a fallback language for directive names.
2734 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2735   directive to use a ``pending`` element, used only by HTML writers.
2737 * docutils/parsers/rst/directives/parts.py: Renamed from
2738   components.py.
2740   - Added "backlinks" attribute to "contents" directive.
2742 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2743   project by Adam Chodorowski.
2745 * docutils/readers/__init__.py: Gave Readers more control over
2746   choosing and instantiating Parsers.
2748 * docutils/readers/pep.py: Added to project; for PEP processing.
2750 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2751   requires a ``component`` parameter.
2753 * docutils/transforms/components.py: Added to project; transforms
2754   related to Docutils components.
2756 * docutils/transforms/frontmatter.py:
2758   - In ``DocInfo.extract_authors``, check for a single "author" in an
2759     "authors" group, and convert it to a single "author" element.
2760   - Added support for "Dedication" and generic bibliographic fields.
2762 * docutils/transforms/peps.py: Added to project; PEP-specific.
2764 * docutils/transforms/parts.py: Renamed from old components.py.
2766   - Added filter for `Contents`, to use alt-text for inline images,
2767     and to remove inline markup that doesn't make sense in the ToC.
2768   - Added "name" attribute to TOC topic depending on its title.
2769   - Added support for optional TOC backlinks.
2771 * docutils/transforms/references.py: Fixed indirect target resolution
2772   in ``Hyperlinks`` transform.
2774 * docutils/transforms/universal.py:
2776   - Changed ``Messages`` transform to properly filter out system
2777     messages below the warning threshold.
2778   - Added ``Decorations`` transform (support for ``--generator``,
2779     ``--date``, ``--time``, ``--source-link`` options).
2781 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2782   Engelbert Gruber's PDF writer.
2784 * docutils/writers/html4css1.py:
2786   - Made XHTML-compatible (switched to lowercase element & attribute
2787     names; empty tag format).
2788   - Escape double-dashes in comment text.
2789   - Improved boilerplate & modularity of output.
2790   - Exposed modular output in Writer class.
2791   - Added a "generator" meta tag to <head>.
2792   - Added support for the ``--stylesheet`` option.
2793   - Added support for ``decoration``, ``header``, and ``footer``
2794     elements.
2795   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2796     translation table to regexp; restores Python 2.0 compatibility
2797     with Unicode.
2798   - Added the translator class as instance variable to the Writer, to
2799     make it easily subclassable.
2800   - Improved option list spacing (thanks to Richard Jones).
2801   - Modified field list output.
2802   - Added backlinks to footnotes & citations.
2803   - Added percentage widths to "<col>" tags (from colspec).
2804   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2805     "<span>" changed to "<var>".
2806   - Inline literals: "<code>" changed to "<tt>".
2807   - Many changes to optimize vertical space: compact simple lists etc.
2808   - Add a command-line options & directive attributes to control TOC
2809     and footnote/citation backlinks.
2810   - Added support for optional footnote/citation backlinks.
2811   - Added support for generic bibliographic fields.
2812   - Identify backrefs.
2813   - Relative URLs for stylesheet links.
2815 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2816   PEPs (subclass of ``html4css1.Writer``).
2818 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2820 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2821   of the Docutils internal doctree in XML.
2823 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2825 * spec/doctree.txt:
2827   - Changed the title to "The Docutils Document Tree".
2828   - Added "Hyperlink Bookkeeping" section.
2830 * spec/docutils.dtd:
2832   - Added ``decoration``, ``header``, and ``footer`` elements.
2833   - Brought ``interpreted`` element in line with the parser: changed
2834     attribute "type" to "role", added "position".
2835   - Added support for generic bibliographic fields.
2837 * spec/notes.txt: Continual updates.  Added "Project Policies".
2839 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2840   section.
2842 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2844 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
2845   mailing list discussions.
2847 * spec/pep-0287.txt:
2849   - Renamed to "reStructuredText Docstring Format".
2850   - Minor edits.
2851   - Reworked Q&A as an enumerated list.
2852   - Converted to reStructuredText format.
2854 * spec/pysource.dtd:
2856   - Reworked structural elements, incorporating ideas from Tony Ibbs.
2858 * spec/pysource.txt: Removed from project.  Moved much of its contents
2859   to pep-0258.txt.
2861 * spec/rst/alternatives.txt:
2863   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2864   - Added "Inline External Targets" section.
2866 * spec/rst/directives.txt:
2868   - Added "backlinks" attribute to "contents" directive.
2870 * spec/rst/problems.txt:
2872   - Updated the Enumerated List Markup discussion.
2873   - Added new alternative table markup syntaxes.
2875 * spec/rst/reStructuredText.txt:
2877   - Clarified field list usage.
2878   - Updated enumerated list description.
2879   - Clarified purpose of directives.
2880   - Added ``-/:`` characters to inline markup's start string prefix,
2881     ``/`` to end string suffix.
2882   - Updated "Authors" bibliographic field behavior.
2883   - Changed "inline hyperlink targets" to "inline internal targets".
2884   - Added "simple table" syntax to supplement the existing but
2885     newly-renamed "grid tables".
2886   - Added cautions for anonymous hyperlink use.
2887   - Added "Dedication" and generic bibliographic fields.
2889 * test: Made test modules standalone (subdirectories became packages).
2891 * test/DocutilsTestSupport.py:
2893   - Added support for PEP extensions to reStructuredText.
2894   - Added support for simple tables.
2895   - Refactored naming.
2897 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2899   - Now supports true packages containing test modules
2900     (``__init__.py`` files required); fixes duplicate module name bug.
2902 * test/test_pep/: Subpackage added to project; PEP testing.
2904 * test/test_rst/test_SimpleTableParser.py: Added to project.
2906 * tools:
2908   - Updated html.py and publish.py front-end tools to use the new
2909     command-line processing facilities of ``docutils.frontend``
2910     (exposed in ``docutils.core.Publisher``), reducing each to just a
2911     few lines of code.
2912   - Added ``locale.setlocale()`` calls to front-end tools.
2914 * tools/buildhtml.py: Added to project; batch-generates .html from all
2915   the .txt files in directories and subdirectories.
2917 * tools/default.css:
2919   - Added support for ``header`` and ``footer`` elements.
2920   - Added styles for "Dedication" topics (biblio fields).
2922 * tools/docutils.conf: A configuration file; added to project.
2924 * tools/docutils-xml.py: Added to project.
2926 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2928 * tools/pep-html-template: Added to project.
2930 * tools/pep2html.py: Added to project from Python (nondist/peps).
2931   Added support for Docutils (reStructuredText PEPs).
2933 * tools/quicktest.py:
2935   - Added the ``--attributes`` option, hacked a bit.
2936   - Added a second command-line argument (output file); cleaned up.
2938 * tools/stylesheets/: Subdirectory added to project.
2940 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2943 Release 0.1 (2002-04-20)
2944 ========================
2946 This is the first release of Docutils, merged from the now inactive
2947 reStructuredText__ and `Docstring Processing System`__ projects.  For
2948 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2949 `DPS HISTORY`__ files.
2951 __ http://structuredtext.sourceforge.net/
2952 __ http://docstring.sourceforge.net/
2953 __ http://structuredtext.sourceforge.net/HISTORY.html
2954 __ http://docstring.sourceforge.net/HISTORY.html
2956 General changes: renamed 'dps' package to 'docutils'; renamed
2957 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2958 the test suites (reStructuredText's test/test_states renamed to
2959 test/test_rst); and all modifications required to make it all work.
2961 * docutils/parsers/rst/states.py:
2963   - Improved diagnostic system messages for missing blank lines.
2964   - Fixed substitution_reference bug.
2968    Local Variables:
2969    mode: indented-text
2970    indent-tabs-mode: nil
2971    sentence-end-double-space: t
2972    fill-column: 70
2973    End: