Release 0.12: set __version_details__ to "repository"
[docutils.git] / HISTORY.txt
blobb37174fc52d260b27811e38dd4882ae26dc0cc8e
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 Release 0.12 (2014-07-06)
17 =========================
19 * docs/ref/rst/directives.txt
21   - Update "math" and "csv-table" descriptions.
23 * docutils/parsers/rst/directives/images.py
25   - Fix [258] figwidth="image" generates unitless width value.
26   
27 * docutils/parsers/rst/states.py
29   - Improve error report when a non-ASCII character is specified as
30     delimiter, quote or escape character under Python 2.
31     Fixes [ 249 ] and [ 250 ].
33 * docutils/writers/html4css1/__init__.py
35   - Don't add newline after inline math.
36     Thanks to Yury G. Kudryashov for the patch.
38 * docutils/writers/latex2e/__init__.py
40   - Fix [ 239 ] Latex writer glues paragraphs with figure floats.
41   - Apply [ 116 ] by Kirill Smelkov. Don't hardcode \large for subtitle.
43 * docutils/writers/odf_odt/__init__.py
45   - Apply patch by Jakub Wilk to fix bug [ 100 ].
47 * test/test_error_reporting.py
49   - Fix [ 223 ] by removing redundant tests we do not have control over.
51 * test/test_nodes.py
53   - Apply [ 115 ] respect fixed 2to3 string literal conversion behavior.
55 Release 0.11 (2013-07-22)
56 =========================
58 * General
60   - Apply [ 2714873 ] Fix for the overwritting of document attributes.
61   - Support embedded aliases within hyperlink references.
62   - Fix [ 228 ] try local import of docutils components (reader, writer, parser,
63     language module) before global search.
65 * docutils/nodes.py
67   - Fix [ 3601607 ] node.__repr__() must return `str` instance.
69 * docutils/parsers/rst/directives/__init__.py
71   - Fix [ 3606028 ] ``assert`` is skipped with ``python -O``.
73 * docutils/parsers/rst/directives/images.py
75   - Apply [ 3599485 ] node source/line information for sphinx translation.
77 * docutils/parsers/rst/directives/tables.py
79   - Fix [ 210 ] Python 3.3 checks CVS syntax only if "strict" is True.
81 * docutils/parsers/rst/states.py
83   - Fix [ 157 ] Line block parsing doesn't like system message.
84   - Always import our local copy of roman.py (report Larry Hastings).
86 * docutils/transforms/references.py
88   - Fix [ 3607029 ] traceback with embedded alias pointing to missing target.
90 * docutils/utils/__init__.py
92   - Fix [ 3596884 ] exception importing ``docutils.io``.
94 * docutils/writers/html4css1/__init__.py
96   - Fix [ 3600051 ] for tables in a list, table cells are not compacted.
97   - New setting `stylesheet_dirs`: Comma-separated list of directories
98     where stylesheets are found. Used by `stylesheet_path` when expanding
99     relative path arguments.
100   - New default for math-output_: ``HTML math.css``.
101   - Avoid repeated class declarations in html4css1 writer
102     (modified version of patch [ 104 ]).
104 .. _math-output: docs/user/config.html#math-output
106 * docutils/writers/latex2e/__init__.py
108   - Drop the simple algorithm replacing straight double quotes with
109     English typographic ones.
110     Activate the SmartQuotes_ transform if you want this feature.
111   - Fix literal use of babel shorthands (straight quote, tilde, ...).
112   - Fix [ 3603246 ] Bug in option "--graphicx-option=auto".
113   - New setting `stylesheet_dirs`.
115 .. _SmartQuotes: docs/user/config.html#smart-quotes
117 * docutils/writers/manpage.py
119   - Fix [3607063] handle lines starting with a period.
120   - Fix option separating comma was bold (thanks to Bill Morris).
122 Release 0.10 (2012-12-16)
123 =========================
125 * General
127   - Dropped support for Python 2.3.
128   - ``docutils/math``, ``docutils/error_reporting.py``, and
129     ``docutils/urischemes.py`` moved to the utils package.
130   - Fix [3541369] Relative __import__ also with Python 3.3.
131   - Fix [3559988] and [3560841] __import__ local writer, reader, languages
132     and parsers for Python 2.7 up.
133   - Fix import of PIL.Image.
134   - Change default of "syntax highlight" option to "long",
135     basic syntax highlight styles for LaTeX and HTML.
137 * docutils/io.py
139   - FileInput/FileOutput: no system-exit on IOError.  The `handle_io_errors`
140     option is ignored and will be removed in a future release.
141   - Fix Py3k error writing to stdout with encoding differing from default.
142   - Fix opening binary files under Py3k (thanks to Dominic Fitzpatrick).
144 * docutils/parsers/rst/directives/misc.py
146   - Fix [ 3546533 ] Unicode error with `date` directive.
148 * docutils/transforms/universal.py
150   - SmartQuotes transform for typographic quotes and dashes.
152 * docutils/utils/__init__.py
154   - normalize_language_tag() now returns `BCP 47`_ conformant tags
155     with subtags separated by ``-``.
157 * docutils/writers/html4css1/__init__.py
159   - Use ``<code>`` tag for inline "code",
160     do not drop nested inline nodes (syntax highlight tokens).
161   - Customizable MathJax URL (based on patch by Dmitry Shachnev).
162   - No line break after opening inline math tag.
164 * docutils/writers/manpage.py
166   - Apply [ 3527401 ] addmonition's don't preserve indentation
167   - Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.
169 , docutils/writers/xetex/__init__.py
171   - Apply [ 3555160 ] ensure order of "otherlanguages".
172   - Fix section numbering by LaTeX.
174 * docutils/writers/s5_html/__init__.py
176   - Fix [ 3556388 ] Mathjax does not work with rst2s5.
178 * docutils/writers/s5_html/docutils_xml.py
180   - Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.
182 * setup.py
184   - Tag ``math.css`` stylesheet as data file (patch by Dmitry Shachnev).
186 * tools/test/test_buildhtml.py
188   - Fix [ 3521167 ] allow running in any directory.
189   - Fix [ 3521168 ] allow running with Python 3.
192 Release 0.9.1 (2012-06-17)
193 ==========================
195 * setup.py
197   - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
198     installed in the PYTHONPATH. Converted tests are now
199     stored in ``test3/``, tools no longer need conversion.
201     If you installed one of Docutils versions 0.7 ... 0.9 with
202     ``setup.py install`` under Python 3, remove the spurious
203     ``test/`` and ``tools/`` directories in the site library root.
205 * test/
207   - Make tests independent from the location of the ``test/`` directory.
208   - Use converted sources (from the ``build/`` directory) for tests under
209     Python 3.
211 * tools/
213   - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
215 * docutils/io.py
217   - Fix writing binary data to sys.stdout under Python 3 (allows
218     ``rst2odt.py`` to be used with output redirection).
220 * docutils/parsers/rst/directives/misc.py
222   - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
223     ``locale == C`` and 8-bit char in path argument of `include` directive.
225 * test/alltests.py
227   - class `Tee`: catch UnicodeError when writing to "ascii" stream or
228     file under Python 3.
230 Release 0.9 (2012-05-02)
231 ========================
233 * General:
235   - New reStructuredText "code" role and directive and "code" option
236     of the "include" directive with syntax highlighting by Pygments_.
237   - Fix parse_option_marker for option arguments containing ``=``.
238   - Fix [ 2993756 ]: import Python Imaging Library's Image module
239     via ``import PIL`` as starting with PIL 1.2,
240     "PIL lives in the PIL namespace only" (announcement__).
242 .. _Pygments: http://pygments.org/
243 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
245 * setup.py
247   - Fix [ 2971827 ] and [ 3442827 ]
248     extras/roman.py moved to docutils/utils/roman.py
250 * docutils/frontend.py
252   - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
254 * docutils/io.py
256   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
257   - `mode` argument for FileOutput avoids code replication in
258     BinaryFileOutput.
259   - New exceptions InputError and OutputError for IO errors in
260     FileInput/FileOutput.
262 * docutils/core.py:
264   - No "hard" system exit on file IO errors: catch and report them in
265     `Publisher.reportException` instead. Allows handling by a calling
266     application if the configuration setting `traceback` is True.
268 * docutils/utils.py -> docutils/utils/__init__.py
270   - docutils.utils is now a package (providing a place for sub-modules)
272   .. note:: docutils/math, docutils/error_reporting.py, and
273      docutils/urischemes.py will move to the utils package in the next
274      release, too. See RELEASE-NOTES__
276      __ RELEASE-NOTES.html
278   - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
279     errors recording non-ASCII filenames (fixes [ 3434355 ]).
281   - Fix relative_path() with source=None and `unicode` target.
283 * docutils/parsers/rst/states.py
285   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
286     characters and "international" quotes around inline markup.
287   - Use `field_marker` pattern to look for start of a
288     directive option block (fixes [ 3484857 ]).
290 * docutils/parsers/rst/tableparser.py
292   - Fix [ 2926161 ] for simple tables.
293     (Combining chars in grid tables still contribute to cell width.)
295 * docutils/writers/latex2e/__init__.py
297   - Support the `abbreviation` and `acronym` standard roles.
298   - Record only files required to generate the LaTeX source as dependencies.
299   - Fix handling of missing stylesheets.
300   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
301     when suppressing LaTeX section numbering.
302   - Use ``\DUtitle`` for unsupported section levels
303   - Apply [ 3512791 ] do not compare string literals with "is"
305 * docutils/writers/xetex/__init__.py
307   - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
309 * docutils/writers/html4css1/__init__.py
311   - Change default for `math-output` setting to MathJax.
312   - Fix handling of missing stylesheets.
314 * docutils/writers/docutils_xml.py
316   - Use the visitor pattern with default_visit()/default_depart() methods
317     instead of minidom to facilitate special handling of selected nodes.
318   - Support raw XML (inserted as-is inside a <raw></raw> node).
320 * docutils/writers/manpage.py
322   - Do not emit comment line with trailing blank. Problematic for VCS.
324 Release 0.8.1 (2011-08-30)
325 ==========================
327 * General:
329   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
330     and [ 3395920 ] (correct copyright info for rst.el).
332 * test/
334   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
336 * docutils/writers/latex2e/__init__.py
338   - Clean up Babel language setting. Restores Sphinx compatibility.
340 Release 0.8 (2011-07-07)
341 ========================
343 * General:
345   - Handle language codes according to `BCP 47`_.
346   - If the specified language is not supported by Docutils,
347     warn and fall back to English.
348   - Math support: reStructuredText "math" role and directive,
349     ``math`` and ``math_block`` doctree elements.
350   - Decode command line arguments with the locale's preferred encoding
351     (to allow, e.g., ``--title=Dornröschen``).
352   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
353   - New sub-module `error_reporting`: handle encoding/decoding errors
354     when reporting exceptions.
355   - Some additions to the Docutils core are released under the 2-Clause BSD
356     license, see COPYING_ for details.
358   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
359   .. _COPYING: COPYING.html
361 * reStructuredText:
363   - Most directives now support a "name" option that attaches a
364     reference name.
366   - Directive content may start on the first line also when the directive
367     type accepts options.
369 * docs/dev/policies.txt:
371   - Recommend the 2-Clause BSD license
372     (http://www.spdx.org/licenses/BSD-2-Clause)
373     for code that is kept under the author's copyright.
375 * tools/buildhtml.py:
377   - Fix ``--local`` switch.
379 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
381 * docutils/writers/html4css1/__init__.py
383   - Set "lang" argument for objects with class argument
384     "language-<language tag>".
385   - New setting "math-output" with support for HTML, MathML, and LaTeX.
387 * docutils/writers/latex2e/__init__.py
389   - Fix [ 3043986 ] AttributeError using :local: with table of content.
390   - Place title data in the document preamble.
391   - Load `babel` package only if required.
392   - Update list of supported languages.
393   - New config setting "hyperref-options".
394     No hard-coded "unicode" hyperref option (clash with xetex).
395   - Set language for custom roles, paragraphs, block-quotes, and
396     line-quotes with class argument "language-<language tag>".
397   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
398   - Convert image URI to a local file path.
399   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
400     has more than one paragraph (Wolfgang Scherer).
401   - \leavevmode before longtable only when needed (prevents spurious vspace)
402   - do not advance table counter for tables without caption
404 * docutils/writers/xetex/__init__.py
406   - New writer generating LaTeX code for compiling with ``xelatex``.
408     A separate writer (inheriting from latex2e) instead of a ``--xetex``
409     option allows separate config options for XeTeX vs. LaTeX2e.
411 * docutils/writers/manpage.py
413   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
414   - Fix: vertical space cleaning for option group ``.``.
416 * tools/editors/emacs/rst.el:
418   - Fix [ 3001100 ] does not handle spaces in filenames
419     (thanks to Jakub Wilk)
421 * docutils/utils.py:
423   - strip whitespace from stylesheet arguments
424   - exclude combining chars from column_width()
425     (partial fix for [ 2926161 ])
427 * docutils/parsers/rst/directives/misc.py:
429   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
430     nested_parse
432 * docutils/io.py:
434   - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
435     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
437 Release 0.7 (2010-07-07)
438 ========================
440 * General:
442   - Fix [ 2881769 ] setup configuration.
443   - Fix [ 2788716 ] reporting problems in included files.
445 * docutils/io.py
447   - FileInput opens files as text files with universal newline support
448     (mode "rU", configurable with the new optional argument "mode").
450 * docutils/nodes.py
452   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
454 * docutils/utils.py
456   - Fix [ 2923723 ] let decode_path() tolerate path == None
458 * docutils/writers/html4css1/__init__.py
460   - Support SVG and SWF images (thanks to Stefan Rank).
461   - Generate valid XHTML for centered images with targets.
462     Use CSS classes instead of "align" tags for image alignment.
464 * docutils/writers/latex2e/__init__.py
466   - Use `transforms.writer_aux.Admonitions` to "normalize" special
467     admonitions.
468   - Use the ``\url`` command for URLs (breaks long URLs instead of
469     writing into the margin).
470   - Preserve runs of spaces in `inline literals`__.
471   - Deprecate ``figure_footnotes`` setting.
472   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
473   - New ``latex_preamble`` setting.
474   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
475   - Fix hyperlink targets (labels) for images, figures, and tables.
476   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
477   - Apply [ 2961991 ] Call hyperref with unicode option.
478   - Drop the special `output_encoding`__ default ("latin-1").
479     The Docutils wide default (usually "UTF-8") is used instead.
480   - Render inline markup in document title and subtitle.
481   - Fix numbering depth with LaTeX section numbering.
482   - Update Unicode -> LaTeX translations.
483   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
485 __ docs/ref/restructuredtext.html#inline-literals
486 __ docs/user/config.html#docutils-footnotes
487 __ docs/user/config.html#output_encoding
489 * docutils/writers/manpage.py
491   - Fix: supported attribute (thanks to peter2108).
492   - Remove trailing blanks in code (keep in sync with mercurial version).
493   - Titles level 1, that is ``.SH``, always uppercase.
494   - Apply patch from mg: literal text should be bold in man-pages.
496 * docutils/nodes.py
498   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
499     turkish locale.
501 * setup.py:
503   - Python 3 support: copy test/ and tools/ to the build-dir
504     and convert Python sources with 2to3.
507 Release 0.6 (2009-10-11)
508 ========================
510 * General:
512   - Docutils is now compatible with Python versions from 2.3 up to 2.6
513     and convertible to 3.1 code.
515     + Node.__nonzero__ returns True instead of 1.
516     + use os.walk instead os.path.walk.
517     + minimize "types" module where possible.
518     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
519     + Text nodes now subclass unicode rather than UserString
520       (which is gone in python 3.0).
521     + 3.0 compatibility module docutils._compat
523     + Drop 2.2 compatibility workarounds.
524     + Drop extras/optparse.py and extras/textwrap.py
525       (stdlib modules since 2.3).
527   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
528   - Unix man page export: manpage writer moved from sandbox to Doctutils
529     core.
531   - Apply [ 1719345 ] Galician translation
532   - Apply [ 1905741 ] Polish translation
533   - Apply [ 1878977 ] make_id(): deaccent characters.
534   - Apply [ 2029251 ] return nonzero when tests fail.
535   - Fix [ 1692788 ] allow UTF-8 in style sheets.
536   - Fix [ 2781629 ] support non-ASCII chars in file names.
537   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
538   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
539   - Fix [ 2821266 ] --strict option works now like --halt=info.
540   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
541   - Fix [ 1627229 ] hyperlink references in substitutions.
543   - The "newlatex" writer is orphaned.
545 * reStructuredText:
547   - Documented Unicode characters allowed as inline markup openers,
548     closers, and delimiters.
549   - Allow units for all length specifications.
550   - Allow percent sign in "scale" argument of "figure" and "image" directives.
551   - Bugfix: The "figalign" argument of a figure now works as intended
552     (aligning the figure, not its contents).
553   - Align images with class "align-[right|center|left]"
554     (allows setting the alignment of an image in a figure).
556 * docutils/nodes.py:
558   - Added ``Element.__contains__`` method, for the in-operator.
560 * docutils/parsers/rst/states.py:
562   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
563   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
564     " " (non-breaking space), and "¡ ¿" openers.
566 * docutils/parsers/directives/misc.py:
568   - Added ``start-line`` and ``end-line`` options to "include"
569     directive to select a range of lines.
570   - Hard tabs in literal inclusions are replaced by spaces. This is
571     configurable via the new ``tab-width`` option of the "include" directive
572     (a negative tab-width prevents tab expansion).
574 * docutils/utils.py:
576   - Add ``get_stylesheet_list`` function.
577   - Apply [ 2834836 ] print info at halt
579 * docutils/transforms/universal.py:
581   - Raise default priority of StripClasses to exclude stripped classes from
582     the ToC.
584 * docutils/writers/html4css1/__init__.py:
586   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
587     separated list of stylesheets.
588   - Address [ 1938891 ] Inline literal text creates "pre" span only when
589     needed to prevent inter-word line wraps.
590   - Use `translate` method instead of repeated `replace` calls.
591   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
592     classes to allow CSS styling that does not interfere with other
593     table-using constructs (field lists, citations, ...).
595 * docutils/writers/newlatex2e/__init__.py:
597   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
599 * docutils/writers/latex2e/__init__.py (see also
600   `<docs/user/docutils-05-compat.sty.html>`__) :
602   - Add ``--embed-stylesheet`` option.
603   - Apply [ 1474017 ] image vertical alignment is reversed.
604   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
605   - Change: has_key for dictionaries (not Nodes) to in-operator.
606   - Merge adjacent citations into one latex cite command.
607   - Failsave implementation of custom roles. LaTeX compilation now ignores
608     unknown classes instead of aborting with an error.
609   - Support custom roles based on standard roles.
610   - LaTeX packages can be used as ``--stylesheet`` arguments without
611     restriction. (A style sheet is now referenced with the ``\usepackage``
612     command, if it ends with ``.sty`` or has no extension.)
613   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
614   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
615   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
616     2005-02-04 as a configurable length unit).
617   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
618     if font-encoding is set to ''. LaTeX defaults to OT1 then.
619   - Set sub- and superscript role argument in text mode not as math.
620     Use a custom role based on sub-/superscript if you want italic shape.
621   - Shorter preamble and less dependencies: Load packages and define macros
622     only if required in the document.
623   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
624   - New custom environments and commands with optional "classes" argument.
625   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
626   - Better conformance to Docutils specifications with ``--use-latex-toc``.
627     Support for LaTeX generated ToC also with unnumbered sections.
628   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
629     section numbering by LaTeX.
630   - Use default font in admonitions and sidebar.
631   - Align of image in a figure defaults to 'center'.
632   - Bugfix: Newlines around targets and references prevent run-together
633     paragraphs.
634   - Fix internal hyperlinks.
635   - Use class defaults for page margins ('typearea' now optional).
636   - Float placement made configurable, default changed to "here definitely".
637   - Typeset generic topic as "quote block with title".
638   - Use template (file and configuration option).
639   - In the default template, load cmap.sty (fix text extraction in PDF) and
640     fixltx2e.sty (LaTeX patches, \textsubscript).
641   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
642   - Use `translate` instead of repeated `replace` calls for text encoding.
643   - Hyperlinked footnotes and support for symbol footnotes and
644     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
645   - Complete pairs of binary options
646     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
647     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
648   - New defaults:
649     - font-encoding: "T1" (formerly implicitely set by 'ae').
650     - use-latex-toc: true (ToC with page numbers).
651     - use-latex-footnotes: true (no mixup with figures).
653 * docutils/writers/manpage.py
655   - Do not print version at document end, this is done by the viewer.
656   - Do not print date at document end, this is done by the viewer.
657   - Fix storage of docinfo fields for none standard fields.
659 * docutils/tools/rst2man.py
661 Release 0.5 (2008-06-25)
662 ========================
664 * docutils/languages/he.py: Added to project: Hebrew mappings by
665   Meir Kriheli.
667 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
668   mappings by Meir Kriheli.
670 * docutils/frontend.py:
672   - Configuration files are now assumed and required to be
673     UTF-8-encoded.
674   - Paths of applied configuration files are now recorded in the
675     runtime setting ``_config_files`` (accessible via
676     ``--dump-settings``).
677   - Added ``--strip-elements-with-class`` and ``--strip-class``
678     options (``strip_elements_with_classes`` and ``strip_classes``
679     settings).
681 * docutils/io.py:
683   - Added code to determine the input encoding from data: encoding
684     declarations or the presence of byte order marks (UTF-8 & UTF-16).
685   - Added support for IronPython 1.0.
687 * docutils/nodes.py:
689   - Added ``document.__getstate__`` method, for pickling.
691 * docutils/parsers/rst/states.py:
693   - Allow ``+`` and ``:`` in reference names.
694   - Unquoted targets beginning with an underscore (``.. __target:
695     URI``) are no longer accepted.
696   - Added support for multiple attributions in a physical block quote
697     (indented text block), dividing it into multiple logical block
698     quotes.
699   - Added support for unicode bullets in bullet lists: "•", "‣", and
700     "⁃".
701   - Added support for new object-oriented directive interface,
702     retaining compatibility to the old functional interface.
703   - Added support for throwing ``DirectiveError``'s from within
704     directive code.
706 * docutils/parsers/rst/__init__.py:
708   - Added ``Directive`` base class.
709   - Added ``DirectiveError`` base class.
710   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
711     definitions.
713 * docutils/parsers/directives/:
715   - Refactored all reStructuredText directives to use the new
716     object-oriented directive interface.  Errors are now (mostly)
717     thrown using the new ``DirectiveError`` class.
719 * docutils/parsers/directives/misc.py:
721   - Added ``start-after`` and ``end-before`` options to ``include``
722     directive; thanks to Stefan Rank.
724 * docutils/transforms/universal.py:
726   - Added ``StripClassesAndElements`` transform to remove from the
727     document tree all elements with classes in
728     ``settings.strip_elements_with_classes`` and all "classes"
729     attribute values in ``self.document.settings.strip_classes``.
731 * docutils/transforms/writer_aux.py:
733   - Added ``Admonitions`` transform to transform specific admonitions
734     (like ``note``, ``warning``, etc.) into generic admonitions with a
735     localized title.
737 * docutils/writers/html4css1/__init__.py:
739   - Moved template functionality from the PEP/HTML writer here.
740   - Expanded the fragments available in the ``parts`` attribute.
741   - Moved ``id`` attributes from titles to surrounding ``div``
742     elements.
743   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
744     universally supported now).
745   - ``template.txt`` is now opened in text mode instead of binary mode
746     (to ensure Windows compatibility).
747   - ``a`` elements now have an "internal" or "external" class,
748     depending on reference type.
750 * docutils/writers/html4css1/template.txt: Added to project.
752 * docutils/writers/pep_html/:
754   - Moved template functionality to the HTML writer.
756 * docutils/writers/s5_html/__init__.py:
758   - Added ``view_mode`` & ``hidden_controls`` settings
759     (``--view-mode`` & ``--hidden-controls/--visible-controls``
760     options).
762 * docutils/writers/latex2e/__init__.py:
764   - Add ``--literal-block-env``
765   - Fix: escaping ``%`` in href urls.
766   - Move usepackage hyperref after stylesheet inclusion.
767   - Fix: scrartcl does not have chapter but scrreprt.
768   - Add newline after ``\end{verbatim}``.
769   - Merge smaller differences from latex2e_adaptive_preamble.
770   - Add ``use-part-section``.
771   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
772   - Using leavemode option_list no longer needs to check if parent
773     is a definition list.
774   - Append ``\leavemode`` to definition list terms.
775   - No longer write visit\_/depart_definition_list_item comments to
776     output.
777   - Table column width with 3 decimal places.
778   - Add table stubs support (boldfont).
779   - Add assemble_parts to writer.
780   - Add simply support for nested tables.
781   - Fix verbatim in tables if use-verbatim-when-possible.
782   - Use section commands down to subparagraph.
783   - Put ensuremath around some latin1 chars.
784   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
785   - New option ``--use-bibtex=style,db1,db2``.
786   - New option ``--reference-label`` to allow usage of LaTeX ref for
787     labels in section references.
788   - Add a label after every section to support sectionnumbers as reference
789     labels.
790   - Fix: bug# 1605376 rst2latex: bad options group list
791   - Remove inactive code for use_optionlist_for_option_list.
792   - Remove latex comments from option_list output.
793   - Fix: bug# 1612270 double qoutes in italian literal.
794   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
795   - Add option --use-latex-abstract.
796   - Image width unit ``px`` is translated to ``pt``.
797   - Add image height support.
798   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
799     bug #1457388
800   - Fix: Do not escape underscores in citation reference labels if
801     use-latex-citations is set.
802   - Use centering instead of center for figure contents, to avoid vertical
803     space.
804   - Recognize table class: borderless, nolines, booktabs, standard.
805   - Fix: Renaming contents section does not work with latex writer; SF
806     bug #1487405.
807   - Applied patch for custom roles with classes from Edward Loper.
808   - Fixed bug that caused crashes with more than 256 lists.
810 * docutils/writers/pep_html/__init__.py:
812   - Changed to support new python.org website structure and
813     pep2pyramid.py.
815 * docs/howto/security.txt: "Deploying Docutils Securely", added to
816   project.
818 * tools/buildhtml.py:
820   -- Added ``ignore`` setting to exclude a list of shell patterns
821      (default: ``.svn:CVS``).
823 * tools/editors/emacs/rst.el:
825   - Changed license to "GPL".
826   - Added ``rst-straighten-decorations`` function.
827   - The ``compile`` module is now always loaded.
828   - Added ``rst-toggle-line-block`` function.
829   - Headings consisting only of non-ASCII characters are now
830     recognized by ``rst-toc`` and ``rst-adjust``.
831   - Added font-lock support for multi-line comments where the first
832     comment line is empty.
833   - Added ``(require 'font-lock)``.
835 * setup.py:
837   - Provide descriptive error message if distutils is missing.
840 Release 0.4 (2006-01-09)
841 ========================
843 * General:
845   - Updated the project policies for trunk/branch development &
846     version numbering.
848 * docutils/__init__.py:
850   - Added ``__version_details__`` attribute to describe code source
851     (repository/snapshot/release).
852   - Replaced ``default_transforms`` attribute of TransformSpec with
853     ``get_transforms()`` method.
855 * docutils/core.py:
857   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
858     functions, for document tree extraction and reprocessing.
860 * docutils/io.py:
862   - Added ``DocTreeInput`` class, for reprocessing existing documents.
863   - Added support for non-Unicode (e.g. binary) writer output.
865 * docutils/nodes.py:
867   - Re-introduced ``Targetable.indirect_reference_name``, for
868     MoinMoin/reST compatibility (removed in r3124/r3129).
869   - Added ``serial_escape`` function; escapes string values that are
870     elements of a list, for serialization.  Modified Docutils-XML
871     writing (``Element._dom_node``) and pseudo-XML writing
872     (``Element.starttag``) to use ``serial_escape``.
873   - Added ``Node.deepcopy()`` method.
874   - Removed the internal lists ``document.substitution_refs``,
875     ``document.anonymous_refs``, and ``document.anonymous_targets``.
876   - Added a "container" element.
877   - Fixed bug where values of list-valued attributes of elements
878     originating from custom interpreted text roles (i.e., with custom
879     classes) were being shared between element instances.  Reported by
880     Shmuel Zeigerman.
882 * docutils/statemachine.py:
884   - Added trailing whitespace stripping to ``string2lines()``.
885   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
886     Asian double-width character support.
888 * docutils/utils.py:
890   - Added ``east_asian_column_width()`` for double-width character
891     support.
893 * docutils/languages/ja.py: Added to project: Japanese mappings by
894   Hisashi Morita.
896 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
897   mappings by Panjunyong.
899 * docutils/parsers/null.py: Added to project; a do-nothing parser.
901 * docutils/parsers/rst/__init__.py:
903   - Added validator to tab_width setting, with test.  Closes SF bug
904     #1212515, report from Wu Wei.
906 * docutils/parsers/rst/states.py:
908   - Fixed bug with escaped colons indicating a literal block.
909   - Fixed bug with enumerated lists (SF#1254145).
910   - Backslash-escaped colons inside of field names are now allowed.
911   - Targets (implicit and explicit), anonymous hyperlink references
912     and auto-numbered footnote references inside of substitution
913     definitions are now disallowed.
914   - Fixed bug: list items with blank first lines.
915   - Fixed bug: block quote attributions with indented second lines.
916   - Added East Asian double-width character support (Python 2.4 only).
918 * docutils/parsers/rst/tableparser.py:
920   - Added East Asian double-width character support (Python 2.4 only).
922 * docutils/parsers/rst/directives/body.py:
924   - Added the "container" directive.
926 * docutils/parsers/rst/directives/misc.py:
928   - Added the "default-role", "title", and "date" directives.
929   - Added standard data file syntax to the "include" directive.
930   - Added support for "class" directive content.
932 * docutils/parsers/rst/directives/images.py:
934   - Added ``indirect_reference_name`` support for images with a target
935     option.
936   - Added support for image width and height units.
937   - Fixed bug with image "target" options.
939 * docutils/parsers/rst/directives/references.py:
941   - Added "class" attribute to "target-notes" directive, for
942     footnote_reference classes.
944 * docutils/parsers/rst/include/: Directory added to project; contains
945   standard data files for the "include" directive.  Initial contents:
946   character entity substitution definition sets, and a set of
947   definitions for S5/HTML presentations.
949 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
950   mappings by David Goodger.
952 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
953   Simplified Chinese mappings by Panjunyong.
955 * docutils/readers/__init__.py:
957   - Added universal.Decorations and universal.ExposeInternals
958     transforms as default transforms for all readers.
959   - Added ``ReReader`` base class for readers that reread an existing
960     document tree.
962 * docutils/readers/doctree.py: Added to project; a reader for existing
963   document trees.
965 * docutils/transforms/frontmatter.py:
967   - Fixed the DocInfo transform to handle SVN-style expansion of the
968     "Date" keyword.
969   - In ``DocInfo.extract_authors``, treat the contents of "authors"
970     fields uniformly.
972 * docutils/transforms/misc.py:
974   - Added misc.Transitions transform, extracted from
975     universal.FinalChecks.
977 * docutils/transforms/references.py:
979   - Added references.DanglingReferences transform, extracted from
980     universal.FinalChecks.
981   - Fixed bug with doubly-indirect substitutions.
982   - Added footnote_reference classes attribute to "TargetNotes".
983   - Fixed bug with circular substitution definitions that put Docutils
984     into an infinite loop.
986 * docutils/transforms/universal.py:
988   - Added universal.ExposeInternals transform, extracted from
989     universal.FinalChecks.
990   - Removed universal.FinalChecks transform (logic has been moved to
991     several new transforms).
992   - Fixed bug with the "expose_internals" setting and Text nodes
993     (exposed by the "rawsource" internal attribute).
994   - Added the universal.StripComments transform, implementation of the
995     "strip_comments" setting.
997 * docutils/transforms/writer_aux.py: Added to project; auxiliary
998   transforms for writers.
1000   - Added ``Compound`` transform, which flattens compound paragraphs.
1002 * docutils/writers/: Several writer modules (html4css1.py) were
1003   converted into packages.  Support modules and data files have been
1004   moved into the packages.  The stylesheets for the HTML writers are
1005   now installed along with the code, the code knows where to find
1006   them, and the default is to use them (actually, to embed them).
1007   Some adjustments to configuration files may be necessary.  The
1008   easiest way to obtain the new default behavior is to remove all
1009   settings whose name includes "stylesheet".
1011 * docutils/writers/__init__.py:
1013   - Added universal.Messages and universal.FilterMessages transforms
1014     as default transforms for all writers.
1015   - Added ``UnfilteredWriter`` base class for writers that pass the
1016     document tree on unchanged.
1018 * docutils/writers/docutils_xml.py:
1020   - Made ``xmlcharrefreplace`` the default output encoding error
1021     handler.
1023 * docutils/writers/html4css1/:
1025   - Added support for image width and height units.
1026   - Made ``xmlcharrefreplace`` the default output encoding error
1027     handler.
1028   - Made ``--embed-stylesheet`` the default rather than
1029     ``--link-stylesheet``.
1030   - Moved "id" attribute from container (section etc.) to title's <a>
1031     tag, to be on the same tag as "name".
1032     (!!! To be reverted in Docutils 0.5.)
1033   - Added vertical space between fields of field lists.
1034   - Added ``--compact-field-lists`` option to remove vertical space in
1035     simple field lists.
1036   - Made cloaking of email addresses with ``--cloak-email-addresses``
1037     less obtrusive.
1038   - Fixed support for centered images.
1039   - Added support for class="compact" & class="open" lists.
1041 * docutils/writers/latex2e/:
1043   - Underscores in citekeys are no longer escaped.
1045 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
1046   mapping of Unicode characters to LaTeX equivalents.
1048 * docutils/writers/s5_html/: Package added to project; writer for
1049   S5/HTML slide shows.
1051 * docs/dev/distributing.txt: Added to project; guide for distributors
1052   (package maintainers).
1054 * docs/dev/hacking.txt: Added to project; guide for developers.
1056 * docs/ref/doctree.txt:
1058   - Updated for plural attributes "classes", "ids", "names",
1059     "dupnames".
1060   - Added the "container" element.
1062 * docs/ref/docutils.dtd:
1064   - Updated for plural attributes "classes", "ids", "names",
1065     "dupnames".
1067 * docs/user/emacs.txt: Added to project; a document about Emacs
1068   support for reStructuredText and Docutils.
1070 * docs/user/links.txt: Added to project; lists of Docutils-related
1071   links.
1073 * docs/user/mailing-lists.txt: Added to project; information about
1074   Docutils-related mailing lists and how to access them.
1076 * docs/user/slide-shows.txt: Added to project; example of and docs for
1077   the S5/HTML writer (``rst2s5.py`` front end).
1079 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
1080   Files", added to project.
1082 * test/coverage.sh: Added to project; test coverage script.
1084 * test/DocutilsTestSupport.py:
1086   - Added support for specifying runtime settings at the suite level.
1088 * test/test_functional.py:
1090   - Added the ``clear_output_directory`` function.
1091   - Added support for ``_test_more`` functions in functional test
1092     config files.
1094 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
1096 * tools/rstpep2html.py: Renamed from pep.py.
1098 * tools/dev/create_unimap.py: Added to project; script to create the
1099   docutils/writers/unimap_latex.py mapping file.
1101 * tools/dev/profile_docutils.py: Added to project; profiler script.
1103 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
1105 * tools/editors/emacs/restructuredtext.el,
1106   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
1107   Removed from project; the functionality is now contained in rst.el.
1109 * tools/editors/emacs/rst.el: Added to project.  Added many features
1110   and fixed many bugs.  See docs/user/emacs.txt for details.
1112 * tools/stylesheets: Removed from project.  Stylesheets have been
1113   renamed and moved into writer packages.
1116 Release 0.3.9 (2005-05-26)
1117 ==========================
1119 * General:
1121   - Eliminated and replaced all uses of the old string attributes
1122     ``id``, ``name``, ``dupname`` and ``class`` with references to the
1123     new list attributes ``ids``, ``names``, ``dupnames`` and
1124     ``classes`` throughout the whole source tree.
1126 * docutils/core.py:
1128   - Enabled ``--dump-*`` options when ``--traceback`` specified,
1129     allowing for easier debugging.
1130   - In ``Publisher.publish()``, expanded the generic top-level
1131     exception catching.
1133 * docutils/examples.py:
1135   - Added ``internals`` function for exploration.
1137 * docutils/io.py:
1139   - Fixed ``Input.decode`` method to apply heuristics only if no
1140     encoding is explicitly given, and to provide better reporting of
1141     decoding errors.
1142   - The ``Input.decode`` method now removes byte order marks (BOMs)
1143     from input streams.
1145 * docutils/nodes.py:
1147   - ``image`` element class changed to subclass of Element, not
1148     TextElement (it's an empty element, and cannot contain text).
1149   - Added ``attr_defaults`` dictionary for default attribute values.
1150   - Added empty list as default value for the following attributes:
1151     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
1152   - Added ``document.decoration`` attribute,
1153     ``document.get_decoration`` method, and ``decoration.get_header``
1154     & ``.get_footer`` methods.
1155   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
1156     methods.
1158 * docutils/utils.py:
1160   - Removed ``docutils.utils.Reporter.categories``,
1161     ``docutils.utils.ConditionSet``, and all references to them, to
1162     simplify error reporting.
1164 * docutils/languages/nl.py: Added to project; Dutch mappings by
1165   Martijn Pieters.
1167 * docutils/parsers/rst/__init__.py:
1169   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
1171 * docutils/parsers/rst/states.py:
1173   - Added check for escaped at-mark to prevent email address recognition.
1174   - Fixed option lists to allow spaces inside ``<angle-bracketed option
1175     arguments>``.
1176   - Allowed whitespace in paths and URLs.
1177   - Added auto-enumerated list items.
1178   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
1179     followed by text.
1180   - Added support for table stub columns.
1182 * docutils/parsers/rst/directives/__init__.py:
1184   - Allowed whitespace in paths (``path`` function).
1185   - Added ``uri`` directive option conversion function.
1187 * docutils/parsers/rst/directives/body.py:
1189   - Fixed illegal context bug with "topic" directive (allowed within
1190     sidebars; not within body elements).
1192 * docutils/parsers/rst/directives/images.py:
1194   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1195   - Added support for the ``file_insertion_enabled`` setting in the
1196     "figure" directive (disables "figwidth" option).
1197   - "image" directive: added checks for valid values of "align" option,
1198     depending on context.  "figure" directive: added specialized
1199     "align" option and attribute on "figure" element.
1200   - Made ":figwidth: image" option of "figure" directive work again.
1201   - Fixed bug with reference names containing uppercase letters
1202     (e.g. ``Name_``) in "target" option of "image" directive.
1204 * docutils/parsers/rst/directives/misc.py:
1206   - Fixed "include" and "raw" directives to catch text decoding
1207     errors.
1208   - Allowed whitespace in "include" & "raw" directive paths.
1209   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1210     settings in "include" & "raw" directives.
1212 * docutils/parsers/rst/directives/parts.py:
1214   - Added "header" & "footer" directives.
1215   - Fixed illegal context bug with "contents" directive (topics
1216     allowed within sidebars; not within body elements).
1218 * docutils/parsers/rst/directives/tables.py:
1220   - Added "list-table" directive.
1221   - Caught empty CSV table bug.
1222   - Added support for the ``file_insertion_enabled`` setting in the
1223     "csv-table" directive.
1224   - Added ``stub-columns`` option to "csv-table" and "list-table"
1225     directives.
1227 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1228   mappings by Martijn Pieters.
1230 * docutils/readers/standalone.py:
1232   - Added ``--section-subtitles`` and ``--no-section-subtitles``
1233     options to activate or deactivate the SectSubTitle transform.
1235 * docutils/transforms/frontmatter.py:
1237   - Added SectSubTitle transform to promote titles of lone
1238     subsections to subtitles.
1240 * docutils/transforms/references.py:
1242   - Fixed mislocated internal targets bug, by propagating internal
1243     targets to the next node, making use of the newly added support
1244     for multiple names and IDs.
1245   - Fixed duplicate footnote label bug.
1246   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1247     transform.
1249 * docutils/writers/html4css1.py:
1251   - Fixed unencoded stylesheet reference bug (characters like "&" in
1252     stylesheet references).
1253   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1254     tags).
1255   - Added support for multiple IDs per node by creating empty ``span``
1256     tags.
1257   - Added the ``field_name_limit`` & ``option_limit`` settings &
1258     support.
1259   - Added support for table stub columns.
1260   - Added support for the ``align`` attribute on ``figure`` elements.
1261   - Added the ``cloak_email_addresses`` setting & support.
1262   - Added ``html_prolog``, ``html_head``, ``html_body``,
1263     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1264     ``docutils.core.publish_parts``.
1265   - Added support for section subtitles.
1267 * docutils/writers/latex2e.py:
1269   - Fixed tables starting with more than one multirow cell.
1270   - Improved --use-latex-docinfo so that organization/contact/address
1271     fields are lumped with the last author field and appear on the
1272     titlepage.
1273   - Made sure the titlepage is always shown with --use-latex-docinfo,
1274     even if the document has no title.
1275   - Made sure that latex doesn't fill in today's date if no date field
1276     was given.
1277   - Added support for section subtitles.
1279 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1280   (under development).
1282 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1284 * docs/api/publisher.txt:
1286   - Added "``publish_parts`` Details" section.
1288 * docutils/dev/repository.txt: Added to project; information about the
1289   Docutils Subversion repository.
1291 * docs/ref/docutils.dtd:
1293   - Added a ``stub`` attribute to the ``colspec`` element via the
1294     ``tbl.colspec.att`` parameter entity.
1295   - Allowed topic elements within sidebars
1296   - Added an ``align`` attribute to the ``figure`` element.
1298 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1299   writer.
1302 Release 0.3.7 (2004-12-24)
1303 ==========================
1305 * docutils/frontend.py:
1307   - Added options: --input-encoding-error-handler,
1308     --record-dependencies, --leave-footnote-reference-space,
1309     --strict-visitor.
1310   - Added command-line and config file support for "overrides" setting
1311     parameter.
1313 * docutils/io.py:
1315   - Added support for input encoding error handler.
1317 * docutils/nodes.py:
1319   - Added dispatch_visit and dispatch_departure methods to
1320     NodeVisitor; useful as a hook for Visitors.
1321   - Changed structure of ``line_block``; added ``line``.
1322   - Added ``compound`` node class.
1323   - Added a mechanism for Visitors to transitionally ignore new node
1324     classes.
1326 * docutils/utils.py:
1328   - Moved ``escape2null`` and ``unescape`` functions from
1329     docutils/parsers/rst/states.py.
1331 * docutils/parsers/rst/roles.py:
1333   - Added "raw" role.
1334   - Changed role function API: the "text" parameter now takes
1335     null-escaped interpreted text content.
1337 * docutils/parsers/rst/states.py:
1339   - Fixed bug where a "role" directive in a nested parse would crash
1340     the parser; the state machine's "language" attribute was not being
1341     copied over.
1342   - Added support for line block syntax.
1343   - Fixed directive parsing bug: argument-less directives didn't
1344     notice that arguments were present.
1345   - Removed error checking for transitions.
1346   - Added support for multiple classifiers in definition list items.
1347   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1348   - Changed role function API: the "text" parameter now takes
1349     null-escaped interpreted text content.
1350   - Empty sections and documents are allowed now.
1352 * docutils/parsers/rst/directives/__init__.py:
1354   - Added ``encoding`` directive option conversion function.
1355   - Allow multiple class names in class_option conversion function.
1357 * docutils/parsers/rst/directives/body.py:
1359   - Converted the line-block directive to use the new structure.
1360   - Extracted the old line-block functionality to the ``block``
1361     function (still used).
1362   - Added ``compound`` directive (thanks to Lea Wiemann).
1364 * docutils/parsers/rst/directives/misc.py:
1366   - Added "encoding" option to "include" and "raw" directives.
1367   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1368   - Allow multiple class names in the "class" directive.
1370 * docutils/parsers/rst/directives/parts.py:
1372   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1373     options.  Thanks to Lele Gaifax.
1375 * docutils/parsers/rst/directives/tables.py:
1377   - Added "encoding" directive to "csv-table" directive.
1378   - Added workaround for lack of Unicode support in csv.py, for
1379     non-ASCII CSV input.
1381 * docutils/transforms/misc.py:
1383   - Fixed bug when multiple "class" directives are applied to a single
1384     element.
1385   - Enabled multiple format names for "raw" directive.
1387 * docutils/transforms/references.py:
1389   - Added support for trimming whitespace from beside substitution
1390     references.
1392 * docutils/transforms/universal.py:
1394   - FinalChecks now checks for illegal transitions and moves
1395     transitions between sections.
1397 * docutils/writers/html4css1.py:
1399   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1400   - "stylesheet" and "stylesheet_path" settings are now mutually
1401     exclusive.
1402   - Added support for the new line_block/line structure.
1403   - --footnote-references now overrides
1404     --trim-footnote-reference-space, if applicable.
1405   - Added support for ``compound`` elements.
1406   - Enabled multiple format names for "raw" directive.
1407   - ``<p>`` tags of a paragraph which is the only visible child of the
1408     document node are no longer stripped.
1409   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1410     new method ``should_be_compact_paragraph()``.
1411   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1412     elements.
1413   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1414     the output if they have their ``class`` attribute set.
1415   - The whole document is now surrounded by a ``<div
1416     class="document">`` element.
1417   - Body-level images are now wrapped by their own ``<div>`` elements,
1418     with image classes copied to the wrapper, and for images which
1419     have the ``:align:`` option set, the surrounding ``<div>`` now
1420     receives a class attribute (like ``class="align-left"``).
1422 * docutils/writers/latex2e.py:
1424   - no newline after depart_term.
1425   - Added translations for some Unicode quotes.
1426   - Added option "font-encoding", made package AE the default.
1427   - "stylesheet" and "stylesheet_path" settings are now mutually
1428     exclusive.
1429   - --footnote-references now overrides
1430     --trim-footnote-reference-space, if applicable.
1431   - The footnote label style now matches the footnote reference style
1432     ("brackets" or "superscript").
1433   - Added support for ``compound`` elements.
1434   - Enabled multiple format names for "raw" directive.
1436 * docs/ref/docutils.dtd:
1438   - Changed structure of the ``line_block`` element; added ``line``.
1439   - Added ``compound`` element.
1440   - Added "ltrim" and "rtrim" attributes to
1441     ``substitution_definition`` element.
1442   - Enabled multiple format names for ``raw`` element.
1443   - Enabled multiple classifiers in ``definition_list_item`` elements.
1445 * docs/ref/rst/directives.txt
1447   - Marked "line-block" as deprecated.
1448   - "Class" directive now allows multiple class names.
1449   - Added "Rationale for Class Attribute Value Conversion".
1450   - Added warning about "raw" overuse/abuse.
1452 * docs/ref/rst/restructuredtext.txt:
1454   - Added syntax for line blocks.
1455   - Definition list items may have multiple classifiers.
1457 * docs/ref/rst/roles.txt:
1459   - Added "raw" role.
1461 * tools/stylesheets/default.css:
1463   - Added support for the new line_block structure.
1464   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1467 Release 0.3.5 (2004-07-29)
1468 ==========================
1470 General:
1472 * _`Documentation cleanup/reorganization`.
1474   - Created new subdirectories of docs/:
1476     * ``docs/user/``: introductory/tutorial material for end-users
1477     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1478     * ``docs/api/``: API reference material for client-developers
1479     * ``docs/ref/``: reference material for all groups
1480     * ``docs/howto/``: for component-developers and core-developers
1481     * ``docs/peps/``: Python Enhancement Proposals
1483   - Moved ``docs/*`` to ``docs/user/``.
1484   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1485     ``spec/`` to ``docs/dev``.
1486   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1487     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1488   - Moved ``alternatives.txt``, and ``problems.txt`` from
1489     ``spec/rst/`` to ``docs/dev/rst/``.
1490   - Moved ``reStructuredText.txt``, ``directives.txt``,
1491     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1492     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1493     ``roles.txt``, ``reStructuredText.txt`` to
1494     ``restructuredtext.txt``.
1495   - Moved ``spec/howto/`` to ``docs/howto``.
1497   In order to keep the CVS history of moved files, we supplied
1498   SourceForge with a `script for modifying the Docutils CVS
1499   repository`__.
1501   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1503   After running the cleanup script:
1505   - Added ``docs/index.txt``.
1506   - Added a ``.htaccess`` file to the ``web`` module, containing
1507     redirects for all old paths to new paths.  They'll preserve
1508     fragments (the "#name" part of a URL), and won't clutter up the
1509     file system, and will correct the URL in the user's browser.
1510   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1511     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1512     the "To Do" list itself in ``docs/dev/todo.txt``.
1513   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1514     section of ``docs/dev/todo.txt``.
1515   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1516   - Added "How To Report Bugs" to ``BUGS.txt``.
1517   - Went through all the sources and docs (including under web/) and
1518     updated links.  Mostly done by Lea Wiemann; thanks Lea!
1519     (Still need to update links in the sandboxes.)
1521 Specific:
1523 * BUGS.txt: Added to project.
1525 * THANKS.txt: Added to project.
1527 * docutils/__init__.py:
1529   - 0.3.4: Post-release.
1531 * docutils/core.py:
1533   - Added special error handling & advice for UnicodeEncodeError.
1534   - Refactored Publisher.publish (simplified exception handling &
1535     extracted debug dumps).
1536   - Renamed "enable_exit" parameter of convenience functions to
1537     "enable_exit_status".
1538   - Enabled traceback (exception propagation) by default in
1539     programmatic convenience functions.
1540   - Now publish_file and publish_cmdline convenience functions return
1541     the encoded string results in addition to their regular I/O.
1542   - Extracted common code from publish_file, publish_string, and
1543     publish_parts, into new publish_programmatically.  Extracted
1544     settings code to ``Publisher.process_programmatic_settings``.
1545   - In Publisher.publish, disabled ``settings_overrides`` when
1546     ``settings`` is supplied; redundant.
1548 * docutils/frontend.py:
1550   - Added help text for "--output-encoding-error-handler" and
1551     "--error-encoding-error-handler".
1552   - Renamed "--exit" to "--exit-status".
1553   - Simplified default-setting code.
1555 * docutils/parsers/rst/__init__.py:
1557   - Added "--pep-base-url" and "--rfc-base-url" options.
1559 * docutils/parsers/rst/states.py:
1561   - Made URI recognition more aggressive and intelligent.
1563 * docutils/parsers/rst/directives/__init__.py:
1565   - Added several directive option conversion functions.
1567 * docutils/parsers/rst/directives/body.py:
1569   - Moved "table" directive to tables.py.
1571 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1572   added to project.
1574 * docutils/writers/latex2e.py:
1576   - Added "--table-style=(standard|booktabs|nolines)"
1577   - figures get "here" option (LaTeX per default puts them at bottom),
1578     and figure content is centered.
1579   - Rowspan support for tables.
1580   - Fix: admonition titles before first section.
1581   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1582   - Replave ``_`` in literal by an underlined blank, because it has the correct
1583     width.
1584   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1585   - A few unicode replacements, if output_encoding != utf
1586   - Add "--graphicx-option".
1587   - Indent literal-blocks.
1588   - Fix: omit ``\maketitle`` when there is no document title.
1590 * docs/index.txt: "Docutils Project Documentation Overview", added to
1591   project.
1593 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1594   Tool", added to project.
1596 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1598 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1600 * docs/dev/policies.txt: Added to project (extracted from
1601   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1603 * docs/dev/release.txt: Added to project (extracted from
1604   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1606 * docs/dev/testing.txt: Added to project.
1608 * docs/dev/website.txt: Added to project (extracted from
1609   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1611 * docs/ref/rst/directives.txt:
1613   - Added directives: "table", "csv-table".
1615 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1616   added to project.  1 page for syntax, and a 1 page reference for
1617   directives and roles.  Source text to be used as-is; not meant to be
1618   converted to HTML.
1620 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1621   with a change of title.
1623 * test/functional/, contents, and test/test_functional.py: Added to
1624   project.
1626 * tools/buildhtml.py: Fixed bug with config file handling.
1628 * tools/html.py: Removed from project (duplicate of rst2html.py).
1630 * tools/pep2html.py: Removed from project (duplicate of Python's
1631   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1632   Docutils-related PEPs in docs/peps/).
1634 * tools/rst2pseudoxml.py: Renamed from publish.py.
1636 * tools/rst2xml.py: Renamed from docutils-xml.py.
1638 * tools/test.txt: Removed from project; moved to
1639   docs/user/rst/demo.txt.
1641 * setup.py: Now also installs ``rst2latex.py``.
1644 Release 0.3.3 (2004-05-09)
1645 ==========================
1647 * docutils/__init__.py:
1649   - 0.3.1: Reorganized config file format (multiple sections); see
1650     docs/config.txt.
1651   - Added unknown_reference_resolvers attribute to TransformSpec.
1652   - 0.3.2: Interpreted text reorganization.
1653   - 0.3.3: Released.
1655 * docutils/core.py:
1657   - Catch system messages to stop tracebacks from parsing errors.
1658   - Catch exceptions during processing report & exit without
1659     tracebacks, except when "--traceback" used.
1660   - Reordered components for OptionParser; application comes last.
1661   - Added "config_section" parameter to several methods and functions,
1662     allowing front ends to easily specify their config file sections.
1663   - Added publish_parts convenience function to allow access to individual
1664     parts of a document.
1666 * docutils/examples.py: Added to project; practical examples of
1667   Docutils client code, to be used as-is or as models for variations.
1669 * docutils/frontend.py:
1671   - Added "--traceback" & "--no-traceback" options ("traceback"
1672     setting).
1673   - Implemented support for config file reorganization:
1674     ``standard_config_files`` moved from ``ConfigParser`` to
1675     ``OptionParser``; added
1676     ``OptionParser.get_config_file_settings()`` and
1677     ``.get_standard_config_settings()``; support for old "[options]"
1678     section (with deprecation warning) and mapping from old to new
1679     settings.
1680   - Reimplemented setting validation.
1681   - Enabled flexible boolean values: yes/no, true/false, on/off.
1682   - Added ``Values``, a subclass of ``optparse.Values``, with support
1683     for list setting attributes.
1684   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1685     thanks to Beni Cherniavsky.
1686   - Added "--no-section-numbering" option.
1688 * docutils/io.py:
1690   - Catch IOErrors when opening source & destination files, report &
1691     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1692     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1694 * docutils/nodes.py:
1696   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1697     method definitions (via ``exec``) to dynamic assignments (via
1698     ``setattr``); thanks to Roman Suzi.
1699   - Encapsulated visitor dynamic assignments in a function; thanks to
1700     Ian Bicking.
1701   - Added indirect_reference_name attribute to the Targetable
1702     class. This attribute holds the whitespace_normalized_name
1703     (contains mixed case) of a target.
1705 * docutils/statemachine.py:
1707   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1708   - Added ``StringList.get_2D_block``.
1710 * docutils/utils.py:
1712   - Added "level" attribute to SystemMessage exceptions.
1714 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1715   Jannie Hofmeyr.
1717 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1718   Blaha.
1720 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1721   Marcelo Huerta San Martin.
1723 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1724   mappings by Lalo Martins.
1726 * docutils/languages/ru.py: Added to project; Russian mappings by
1727   Roman Suzi.
1729 * docutils/parsers/rst/roles.py: Added to project.  Contains
1730   interpreted text role functions, a registry for interpreted text
1731   roles, and an API for adding to and retrieving from the registry.
1732   Contributed by Edward Loper.
1734 * docutils/parsers/rst/states.py:
1736   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1737   - Allowed true em-dash character and "---" as block quote
1738     attribution marker.
1739   - Added support for <angle-bracketed> complex option arguments
1740     (option lists).
1741   - Fixed handling of backslashes in substitution definitions.
1742   - Fixed off-by-1 error with extra whitespace after substitution
1743     definition directive.
1744   - Added inline markup parsing to field lists' field names.
1745   - Added support for quoted (and unindented) literal blocks.
1746     Driven in part by a bribe from Frank Siebenlist (thanks!).
1747   - Parser now handles escapes in URIs correctly.
1748   - Made embedded-URIs' reference text omittable.  Idea from Beni
1749     Cherniavsky.
1750   - Refactored explicit target processing code.
1751   - Added name attribute to references containing the reference name only
1752     through whitespace_normalize_name (no case changes).
1753   - parse_target no longer returns the refname after going through
1754     normalize_name. This is now handled in make_target.
1755   - Fixed bug relating to role-less interpreted text in non-English
1756     contexts.
1757   - Reorganized interpreted text processing; moved code into the new
1758     roles.py module.  Contributed by Edward Loper.
1759   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1760     ``parse_directive_block``.
1762 * docutils/parsers/rst/tableparser.py:
1764   - Reworked for ``StringList``, to support "include" directives in
1765     table cells.
1767 * docutils/parsers/rst/directives/__init__.py:
1769   - Renamed ``unchanged()`` directive option conversion function to
1770     ``unchanged_required``, and added a new ``unchanged``.
1771   - Catch unicode value too high error; fixes bug 781766.
1772   - Beefed up directive error reporting.
1774 * docutils/parsers/rst/directives/body.py:
1776   - Added basic "table" directive.
1778 * docutils/parsers/rst/directives/images.py:
1780   - Added "target" option to "image" directive.
1781   - Added name attribute to references containing the reference name only
1782     through whitespace_normalize_name (no case changes).
1784 * docutils/parsers/rst/directives/misc.py:
1786   - Isolated the import of the ``urllib2`` module; was causing
1787     problems on SourceForge (``libssl.so.2`` unavailable?).
1788   - Added the "role" directive for declaring custom interpreted text
1789     roles.
1791 * docutils/parsers/rst/directives/parts.py:
1793   - The "contents" directive does more work up-front, creating the
1794     "topic" and "title", and leaving the "pending" node for the
1795     transform.  Allows earlier reference resolution; fixes subtle bug.
1797 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1798   mappings by Jannie Hofmeyr.
1800 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1801   mappings by Marek Blaha.
1803 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1804   mappings by Marcelo Huerta San Martin.
1806 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1807   Portuguese mappings by Lalo Martins.
1809 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1810   mappings by Roman Suzi.
1812 * docutils/transforms/parts.py:
1814   - The "contents" directive does more work up-front, creating the
1815     "topic" and "title", and leaving the "pending" node for the
1816     transform.  Allows earlier reference resolution; fixes subtle bug.
1817   - Added support for disabling of section numbering.
1819 * docutils/transforms/references.py:
1821   - Verifying that external targets are truly targets and not indirect
1822     references. This is because we are now adding a "name" attribute to
1823     references in addition to targets. Note sure if this is correct!
1824   - Added code to hook into the unknown_reference_resolvers list for a
1825     transformer in resolve_indirect_target. This allows the
1826     unknown_reference_resolvers to keep around indirect targets which
1827     docutils doesn't know about.
1828   - Added specific error message for duplicate targets.
1830 * docutils/transforms/universal.py:
1832   - Added FilterMessages transform (removes system messages below the
1833     verbosity threshold).
1834   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1835     to FinalCheckVisitor for application-specific handling of
1836     unresolvable references.
1837   - Added specific error message for duplicate targets.
1839 * docutils/writers/__init__.py:
1841   - Added assemble_parts method to the Writer class to allow for
1842     access to a documents individual parts.
1843   - Documented & set default for ``Writer.output`` attribute.
1845 * docutils/writers/html4css1.py:
1847   - Fixed unicode handling of attribute values (bug 760673).
1848   - Prevent duplication of "class" attribute values (bug report from
1849     Kirill Lapshin).
1850   - Improved table grid/border handling (prompted by report from Bob
1851     Marshall).
1852   - Added support for table titles.
1853   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1854     to Darek Suchojad.
1855   - Added functionality to keep track of individual parts of a document
1856     and store them in a dictionary as the "parts" attribute of the writer.
1857     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1858   - Added proper support for the "scale" attribute of the "image"
1859     element.  Contributed by Brent Cook.
1860   - Added ``--initial-header-level`` option.
1861   - Fixed bug: the body_pre_docinfo segment depended on there being a
1862     docinfo; if no docinfo, the document title was incorporated into
1863     the body segment.  Adversely affected the publish_parts interface.
1865 * docutils/writers/latex2e.py:
1867   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1868     about a missing file.
1869   - Added options and support: ``--compound-enumerators``,
1870     ``--section-prefix-for-enumerators``, and
1871     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1872     934322).
1873   - Added option ``--use-verbatim-when-possible``, to avoid
1874     problematic characters (eg, '~' in italian) in literal blocks.
1875   - It's now possible to use four section levels in the `book` and
1876     `report` LaTeX classes.  The default `article` class still has
1877     three levels limit.
1879 * docs/config.txt: "Docutils Configuration Files", added to project.
1880   Moved config file entry descriptions from tools.txt.
1882 * docs/tools.txt:
1884   - Moved config file entry descriptions to config.txt.
1886 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
1887   Development".
1889 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1890   Text Roles", added to project.
1892 * spec/rst/reStructuredText.txt:
1894   - Added description of support for <angle-bracketed> complex option
1895     arguments to option lists.
1896   - Added subsections for indented and quoted literal blocks.
1898 * test: Continually adding & updating tests.
1900   - Added test/test_settings.py & test/data/config_*.txt support
1901     files.
1902   - Added test/test_writers/test_htmlfragment.py.
1904 * test/DocutilsTestSupport.py:
1906   - Refactored LaTeX publisher test suite/case class names to make
1907     testing other writers easier.
1908   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1909     to test the processing of HTML fragments which use the new
1910     publish_parts convenience function.
1912 * tools/buildhtml.py:
1914   - Added support for the "--prune" option.
1915   - Removed dependency on pep2html.py; plaintext PEPs no longer
1916     supported.
1918 * tools/docutils.conf:
1920   - Updated for configuration file reorganization.
1922 * tools/rst2html.py:
1924   - copied from tools/html.py
1926 * setup.py:
1928   - added a 'scripts' section to configuration
1929   - added 'tools/rst2html.py' to the scripts section
1932 Release 0.3 (2003-06-24)
1933 ========================
1935 General:
1937 * Renamed "attribute" to "option" for directives/extensions.
1939 * Renamed transform method "transform" to "apply".
1941 * Renamed "options" to "settings" for runtime settings (as set by
1942   command-line options).  Sometimes "option" (singular) became
1943   "settings" (plural).  Some variations below:
1945   - document.options -> document.settings (stored in other objects as
1946     well)
1947   - option_spec -> settings_spec (not directives though)
1948   - OptionSpec -> SettingsSpec
1949   - cmdline_options -> settings_spec
1950   - relative_path_options -> relative_path_settings
1951   - option_default_overrides -> settings_default_overrides
1952   - Publisher.set_options -> Publisher.get_settings
1954 Specific:
1956 * COPYING.txt: Added "Public Domain Dedication".
1958 * FAQ.txt: Frequently asked questions, added to project.
1960 * setup.py:
1962   - Updated with PyPI Trove classifiers.
1963   - Conditional installation of third-party modules.
1965 * docutils/__init__.py:
1967   - Bumped version to 0.2.1 to reflect changes to I/O classes.
1968   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1969   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1970   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1971     option and its effect on the PEP template & writer.
1972   - Bumped version to 0.2.4 due to changes to the PEP template &
1973     stylesheet.
1974   - Bumped version to 0.2.5 to reflect changes to Reporter output.
1975   - Added ``TransformSpec`` class for new transform system.
1976   - Bumped version to 0.2.6 for API changes (renaming).
1977   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1978     convenience functions.
1979   - Added ``Component.component_type`` attribute.
1980   - Bumped version to 0.2.8 because of the internal parser switch from
1981     plain lists to the docutils.statemachine.StringList objects.
1982   - Bumped version to 0.2.9 because of the frontend.py API changes.
1983   - Bumped version to 0.2.10 due to changes to the project layout
1984     (third-party modules removed from the "docutils" package), and
1985     signature changes in ``io.Input``/``io.Output``.
1986   - Changed version to 0.3.0 for release.
1988 * docutils/core.py:
1990   - Made ``publish()`` a bit more convenient.
1991   - Generalized ``Publisher.set_io``.
1992   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1993     parameters; improved its docstring.
1994   - Added ``publish_file()`` and ``publish_string()``.
1995   - Factored ``Publisher.set_source()`` and ``.set_destination()``
1996     out of ``.set_io``.
1997   - Added support for "--dump-pseudo-xml", "--dump-settings", and
1998     "--dump-transforms" hidden options.
1999   - Added ``Publisher.apply_transforms()`` method.
2000   - Added ``Publisher.set_components()`` method; support for
2001     ``publish_*()`` conveninece functions.
2002   - Moved config file processing to docutils/frontend.py.
2003   - Added support for exit status ("exit_level" setting &
2004     ``enable_exit`` parameter for Publisher.publish() and convenience
2005     functions).
2007 * docutils/frontend.py:
2009   - Check for & exit on identical source & destination paths.
2010   - Fixed bug with absolute paths & "--config".
2011   - Set non-command-line defaults in ``OptionParser.__init__()``:
2012     ``_source`` & ``_destination``.
2013   - Distributed ``relative_path_settings`` to components; updated
2014     ``OptionParser.populate_from_components()`` to combine it all.
2015   - Require list of keys in ``make_paths_absolute`` (was implicit in
2016     global ``relative_path_settings``).
2017   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
2018     "--dump-settings", and "--dump-transforms" hidden options.
2019   - Removed nasty internals-fiddling ``ConfigParser.get_section``
2020     code, replaced with correct code.
2021   - Added validation functionality for config files.
2022   - Added "--error-encoding" option/setting, "_disable_config"
2023     internal setting.
2024   - Added encoding validation; updated "--input-encoding" and
2025     "--output-encoding"; added "--error-encoding-error-handler" and
2026     "--output-encoding-error-handler".
2027   - Moved config file processing from docutils/core.py.
2028   - Updated ``OptionParser.populate_from_components`` to handle new
2029     ``SettingsSpec.settings_defaults`` dict.
2030   - Added support for "-" => stdin/stdout.
2031   - Added "exit_level" setting ("--exit" option).
2033 * docutils/io.py:
2035   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
2036   - Added automatic closing to ``FileInput`` and ``FileOutput``.
2037   - Delayed opening of ``FileOutput`` file until ``write()`` called.
2038   - ``FileOutput.write()`` now returns the encoded output string.
2039   - Try to get path/stream name automatically in ``FileInput`` &
2040     ``FileOutput``.
2041   - Added defaults for source & destination paths.
2042   - Allow for Unicode I/O with an explicit "unicode" encoding.
2043   - Added ``Output.encode()``.
2044   - Removed dependency on runtime settings; pass encoding directly.
2045   - Recognize Unicode strings in ``Input.decode()``.
2046   - Added support for output encoding error handlers.
2048 * docutils/nodes.py:
2050   - Added "Invisible" element category class.
2051   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
2052     modification during a traversal.
2053   - Added element classes: ``line_block``, ``generated``, ``address``,
2054     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
2055     ``superscript``, ``subscript``, ``inline``
2056   - Added support for lists of nodes to ``Element.insert()``.
2057   - Fixed parent linking in ``Element.replace()``.
2058   - Added new abstract superclass ``FixedTextElement``; adds
2059     "xml:space" attribute.
2060   - Added support for "line" attribute of ``system_message`` nodes.
2061   - Added support for the observer pattern from ``utils.Reporter``.
2062     Added ``parse_messages`` and ``transform_messages`` attributes to
2063     ``document``, removed ``messages``.  Added ``note_parse_message``
2064     and ``note_transform_message`` methods.
2065   - Added support for improved diagnostics:
2067     - Added "document", "source", and "line" internal attributes to
2068       ``Node``, set by ``Node.setup_child()``.
2069     - Converted variations on ``node.parent = self`` to
2070       ``self.setup_child(node)``.
2071     - Added ``document.current_source`` & ``.current_line``
2072       attributes, and ``.note_source`` observer method.
2073     - Changed "system_message" output to GNU-Tools format.
2075   - Added a "rawsource" attribute to the ``Text`` class, for text
2076     before backslash-escape resolution.
2077   - Support for new transform system.
2078   - Reworked ``pending`` element.
2079   - Fixed XML DOM bug (SF #660611).
2080   - Removed the ``interpeted`` element class and added
2081     ``title_reference``, ``abbreviation``, ``acronym``.
2082   - Made substitutions case-sensitive-but-forgiving; moved some code
2083     from the parser.
2084   - Fixed Unicode bug on element attributes (report: William Dode).
2086 * docutils/optik.py: Removed from project; replaced with
2087   extras/optparse.py and extras/textwrap.py.  These will be installed
2088   only if they're not already present in the Python installation.
2090 * docutils/roman.py: Moved to extras/roman.py; this will be installed
2091   only if it's not already present in the Python installation.
2093 * docutils/statemachine.py:
2095   - Factored out ``State.add_initial_transitions()`` so it can be
2096     extended.
2097   - Converted whitespace-specific "blank" and "indent" transitions
2098     from special-case code to ordinary transitions: removed
2099     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
2100     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
2101     ``ws_initial_transitions`` attributes.
2102   - Removed ``State.match_transition()`` after merging it into
2103     ``.check_line()``.
2104   - Added ``StateCorrection`` exception.
2105   - Added support for ``StateCorrection`` in ``StateMachine.run()``
2106     (moved ``TransitionCorrection`` support there too.)
2107   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
2108     ``EOFError`` instead of ``IndexError``.
2109   - Added ``State.no_match`` method.
2110   - Added support for the Observer pattern, triggered by input line
2111     changes.
2112   - Added ``strip_top`` parameter to
2113     ``StateMachineWS.get_first_known_indented``.
2114   - Made ``context`` a parameter to ``StateMachine.run()``.
2115   - Added ``ViewList`` & ``StringList`` classes;
2116     ``extract_indented()`` becomes ``StringList.get_indented()``.
2117   - Added ``StateMachine.insert_input()``.
2118   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
2119     thanks to) Fred Drake.
2121 * docutils/utils.py:
2123   - Added a ``source`` attribute to Reporter instances and
2124     ``system_message`` elements.
2125   - Added an observer pattern to ``utils.Reporter`` to keep track of
2126     system messages.
2127   - Fixed bugs in ``relative_path()``.
2128   - Added support for improved diagnostics.
2129   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
2130   - Added support for encoding Reporter stderr output, and encoding
2131     error handlers.
2132   - Reporter keeps track of the highest level system message yet
2133     generated.
2135 * docutils/languages: Fixed bibliographic field language lookups.
2137 * docutils/languages/es.py: Added to project; Spanish mappings by
2138   Marcelo Huerta San Martin.
2140 * docutils/languages/fr.py: Added to project; French mappings by
2141   Stefane Fermigier.
2143 * docutils/languages/it.py: Added to project; Italian mappings by
2144   Nicola Larosa.
2146 * docutils/languages/sk.py: Added to project; Slovak mappings by
2147   Miroslav Vasko.
2149 * docutils/parser/__init__.py:
2151   - Added ``Parser.finish_parse()`` method.
2153 * docutils/parser/rst/__init__.py:
2155   - Added options: "--pep-references", "--rfc-references",
2156     "--tab-width", "--trim-footnote-reference-space".
2158 * docutils/parsers/rst/states.py:
2160   - Changed "title under/overline too short" system messages from INFO
2161     to WARNING, and fixed its insertion location.
2162   - Fixed enumerated list item parsing to allow paragraphs & section
2163     titles to begin with enumerators.
2164   - Converted system messages to use the new "line" attribute.
2165   - Fixed a substitution reference edge case.
2166   - Added support for "--pep-references" and "--rfc-references"
2167     options; reworked ``Inliner`` code to make customization easier.
2168   - Removed field argument parsing.
2169   - Added support for short section title over/underlines.
2170   - Fixed "simple reference name" regexp to ignore text like
2171     "object.__method__"; not an anonymous reference.
2172   - Added support for improved diagnostics.
2173   - Reworked directive API, based on Dethe Elza's contribution.  Added
2174     ``Body.parse_directive()``, ``.parse_directive_options()``,
2175     ``.parse_directive_arguments()`` methods.
2176   - Added ``ExtensionOptions`` class, to parse directive options
2177     without parsing field bodies.  Factored
2178     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
2179     ``ExtensionOptions``.
2180   - Improved definition list term/classifier parsing.
2181   - Added warnings for unknown directives.
2182   - Renamed ``Stuff`` to ``Struct``.
2183   - Now flagged as errors: transitions at the beginning or end of
2184     sections, empty sections (except title), and empty documents.
2185   - Updated for ``statemachine.StringList``.
2186   - Enabled recognition of schemeless email addresses in targets.
2187   - Added support for embedded URIs in hyperlink references.
2188   - Added backslash-escapes to inline markup end-string suffix.
2189   - Added support for correct interpreted text processing.
2190   - Fixed nested title parsing (topic, sidebar directives).
2191   - Added special processing of backslash-escaped whitespace (idea
2192     from David Abrahams).
2193   - Made substitutions case-sensitive-but-forgiving; moved some code
2194     to ``docutils.nodes``.
2195   - Added support for block quote attributions.
2196   - Added a kludge to work-around a conflict between the bubble-up
2197     parser strategy and short titles (<= 3 char-long over- &
2198     underlines).  Fixes SF bug #738803 "infinite loop with multiple
2199     titles" submitted by Jason Diamond.
2200   - Added explicit interpreted text roles for standard inline markup:
2201     "emphasis", "strong", "literal".
2202   - Implemented "superscript" and "subscript" interpreted text roles.
2203   - Added initial support for "abbreviation" and "acronym" roles;
2204     incomplete.
2205   - Added support for "--trim-footnote-reference-space" option.
2206   - Optional space before colons in directives & hyperlink targets.
2208 * docutils/parsers/rst/tableparser.py:
2210   - Fixed a bug that was producing unwanted empty rows in "simple"
2211     tables.
2212   - Detect bad column spans in "simple" tables.
2214 * docutils/parsers/rst/directives: Updated all directive functions to
2215   new API.
2217 * docutils/parsers/rst/directives/__init__.py:
2219   - Added ``flag()``, ``unchanged()``, ``path()``,
2220     ``nonnegative_int()``, ``choice()``, and ``class_option()``
2221     directive option helper functions.
2222   - Added warnings for unknown directives.
2223   - Return ``None`` for missing directives.
2224   - Added ``register_directive()``, thanks to William Dode and Paul
2225     Moore.
2227 * docutils/parsers/rst/directives/admonitions.py:
2229   - Added "admonition" directive.
2231 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
2232   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2233   "parsed-literal", "rubric", "epigraph", "highlights" and
2234   "pull-quote" directives.
2236 * docutils/parsers/rst/directives/images.py:
2238   - Added an "align" attribute to the "image" & "figure" directives
2239     (by Adam Chodorowski).
2240   - Added "class" option to "image", and "figclass" to "figure".
2242 * docutils/parsers/rst/directives/misc.py:
2244   - Added "include", "raw", and "replace" directives, courtesy of
2245     Dethe Elza.
2246   - Added "unicode" and "class" directives.
2248 * docutils/parsers/rst/directives/parts.py:
2250   - Added the "sectnum" directive; by Dmitry Jemerov.
2251   - Added "class" option to "contents" directive.
2253 * docutils/parsers/rst/directives/references.py: Added to project.
2254   Contains the "target-notes" directive.
2256 * docutils/parsers/rst/languages/__init__.py:
2258   - Return ``None`` from get_language() for missing language modules.
2260 * docutils/parsers/rst/languages/de.py: Added to project; German
2261   mappings by Engelbert Gruber.
2263 * docutils/parsers/rst/languages/en.py:
2265   - Added interpreted text roles mapping.
2267 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2268   mappings by Marcelo Huerta San Martin.
2270 * docutils/parsers/rst/languages/fr.py: Added to project; French
2271   mappings by William Dode.
2273 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2274   mappings by Nicola Larosa.
2276 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2277   mappings by Miroslav Vasko.
2279 * docutils/readers/__init__.py:
2281   - Added support for the observer pattern from ``utils.Reporter``, in
2282     ``Reader.parse`` and ``Reader.transform``.
2283   - Removed ``Reader.transform()`` method.
2284   - Added default parameter values to ``Reader.__init__()`` to make
2285     instantiation easier.
2286   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2288 * docutils/readers/pep.py:
2290   - Added the ``peps.TargetNotes`` transform to the Reader.
2291   - Removed PEP & RFC reference detection code; moved to
2292     parsers/rst/states.py as options (enabled here by default).
2293   - Added support for pre-acceptance PEPs (no PEP number yet).
2294   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2295     easy subclassing.
2297 * docutils/readers/python: Python Source Reader subpackage added to
2298   project, including preliminary versions of:
2300   - __init__.py
2301   - moduleparser.py: Parser for Python modules.
2303 * docutils/transforms/__init__.py:
2305   - Added ``Transformer`` class and completed transform reform.
2306   - Added unknown_reference_resolvers list for each transformer. This list holds
2307     the list of functions provided by each component of the transformer that
2308     help resolve references.
2310 * docutils/transforms/frontmatter.py:
2312   - Improved support for generic fields.
2313   - Fixed bibliographic field language lookups.
2315 * docutils/transforms/misc.py: Added to project.  Miscellaneous
2316   transforms.
2318 * docutils/transforms/parts.py:
2320   - Moved the "id" attribute from TOC list items to the references
2321     (``Contents.build_contents()``).
2322   - Added the ``SectNum`` transform; by Dmitry Jemerov.
2323   - Added "class" attribute support to ``Contents``.
2325 * docutils/transforms/peps.py:
2327   - Added ``mask_email()`` function, updating to pep2html.py's
2328     functionality.
2329   - Linked "Content-Type: text/x-rst" to PEP 12.
2330   - Added the ``TargetNotes`` PEP-specific transform.
2331   - Added ``TargetNotes.cleanup_callback``.
2332   - Added title check to ``Headers``.
2334 * docutils/transforms/references.py:
2336   - Added the ``TargetNotes`` generic transform.
2337   - Split ``Hyperlinks`` into multiple transforms.
2338   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2339   - Added check for circular indirect references.
2340   - Made substitutions case-sensitive-but-forgiving.
2342 * docutils/transforms/universal.py:
2344   - Added support for the "--expose-internal-attributes" option.
2345   - Removed ``Pending`` transform classes & data.
2347 * docutils/writers/__init__.py:
2349   - Removed ``Writer.transform()`` method.
2351 * docutils/writers/docutils-xml.py:
2353   - Added XML and doctype declarations.
2354   - Added "--no-doctype" and "--no-xml-declaration" options.
2356 * docutils/writers/html4css1.py:
2358   - "name" attributes only on these tags: a, applet, form, frame,
2359     iframe, img, map.
2360   - Added "name" attribute to <a> in section titles for Netscape 4
2361     support (bug report: Pearu Peterson).
2362   - Fixed targets (names) on footnote, citation, topic title,
2363     problematic, and system_message nodes (for Netscape 4).
2364   - Changed field names from "<td>" to "<th>".
2365   - Added "@" to "&#64;" encoding to thwart address harvesters.
2366   - Improved the vertical whitespace optimization; ignore "invisible"
2367     nodes (targets, comments, etc.).
2368   - Improved inline literals with ``<span class="pre">`` around chunks
2369     of text and ``&nbsp;`` for runs of spaces.
2370   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2371     ``self.docinfo`` segments.
2372   - Added support for "line_block", "address" elements.
2373   - Improved backlinks (footnotes & system_messages).
2374   - Improved system_message output.
2375   - Redefined "--stylesheet" as containing an invariant URL, used
2376     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2377     working directory.
2378   - Added "--footnote-references" option (superscript or brackets).
2379   - Added "--compact-lists" and "--no-compact-lists" options.
2380   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2381     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2382   - Improved field list rendering.
2383   - Added Docutils version to "generator" meta tag.
2384   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2385   - Improved layout of <pre> HTML source.
2386   - Fixed attribute typo on <colspec>.
2387   - Refined XML prologue.
2388   - Support for no stylesheet.
2389   - Removed "interpreted" element support.
2390   - Added support for "title_reference", "sidebar", "attribution",
2391     "rubric", and generic "admonition" elements.
2392   - Added "--attribution" option.
2393   - Added support for "inline", "subscript", "superscript" elements.
2394   - Added initial support for "abbreviation" and "acronym";
2395     incomplete.
2397 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2398   (from the sandbox).
2400   - Added french.
2401   - Double quotes in literal blocks (special treatment for de/ngerman).
2402   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2403   - Added  "--attribution" option.
2404   - Right align attributions.
2406 * docutils/writers/pep_html.py:
2408   - Parameterized output encoding in PEP template.
2409   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2410   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2411     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2412     working directory.
2413   - Added an override on the "--footnote-references" option.
2414   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2415   - Added Docutils version to "generator" meta tag.
2416   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2418 * docs/tools.txt:
2420   - Added a "silent" setting for ``buildhtml.py``.
2421   - Added a "Getting Help" section.
2422   - Rearranged the structure.
2423   - Kept up to date, with new settings, command-line options etc.
2424   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2425   - Converted settings table into a definition list.
2427 * docs/rst/quickstart.txt:
2429   - Added a table of contents.
2430   - Added feedback information.
2431   - Added mention of minimum section title underline lengths.
2432   - Removed the 4-character minimum for section title underlines.
2434 * docs/rst/quickref.html:
2436   - Added a "Getting Help" section.
2437   - Added a style to make section title backlinks more subtle.
2438   - Added mention of minimum section title underline lengths.
2439   - Removed the 4-character minimum for section title underlines.
2441 * extras: Directory added to project; contains third-party modules
2442   that Docutils depends on (optparse, textwrap, roman).  These are
2443   only installed if they're not already present.
2445 * licenses: Directory added to project; contains copies of license
2446   files for non-public-domain files.
2448 * spec/doctree.txt:
2450   - Changed the focus.  It's about DTD elements:  structural
2451     relationships, semantics, and external (public) attributes.  Not
2452     about the element class library.
2453   - Moved some implementation-specific stuff into ``docutils.nodes``
2454     docstrings.
2455   - Wrote descriptions of all common attributes and parameter
2456     entities.  Filled in introductory material.
2457   - Working through the element descriptions: 55 down, 37 to go.
2458   - Removed "Representation of Horizontal Rules" to
2459     spec/rst/alternatives.txt.
2461 * spec/docutils.dtd:
2463   - Added "generated" inline element.
2464   - Added "line_block" body element.
2465   - Added "auto" attribute to "title".
2466   - Changed content models of "literal_block" and "doctest_block" to
2467     ``%text.model``.
2468   - Added ``%number;`` attribute type parameter entity.
2469   - Changed ``%structural.elements;`` to ``%section.elements``.
2470   - Updated attribute types; made more specific.
2471   - Added "address" bibliographic element.
2472   - Added "line" attribute to ``system_message`` element.
2473   - Removed "field_argument" element; "field_name" may contain
2474     multiple words and whitespace.
2475   - Changed public identifier to docutils.sf.net.
2476   - Removed "interpreted" element; added "title_reference",
2477     "abbreviation", "acronym".
2478   - Removed "refuri" attribute from "footnote_reference" and
2479     "citation_reference".
2480   - Added "sidebar", "rubric", "attribution", "admonition",
2481     "superscript", "subscript", and "inline" elements.
2483 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2485 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2487 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2489 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2490   Dallas Mahrt.
2492 * spec/transforms.txt: Added to project.
2494 * spec/howto: Added subdirectory, for developer how-to docs.
2496 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2497   Elza, edited & extended by David Goodger.
2499 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
2500   project.
2502 * spec/rst/alternatives.txt:
2504   - Added "Doctree Representation of Transitions" from
2505     spec/doctree.txt.
2506   - Updated "Inline External Targets" & closed the debate.
2507   - Added ideas for interpreted text syntax extensions.
2508   - Added "Nested Inline Markup" section.
2510 * spec/rst/directives.txt:
2512   - Added directives: "topic", "sectnum", "target-notes",
2513     "line-block", "parsed-literal", "include", "replace", "sidebar",
2514     "admonition", "rubric", "epigraph", "highlights", "unicode" and
2515     "class".
2516   - Formalized descriptions of directive details.
2517   - Added an "align" attribute to the "image" & "figure" directives
2518     (by Adam Chodorowski).
2519   - Added "class" options to "topic", "sidebar", "line-block",
2520     "parsed-literal", "contents", and "image"; and "figclass" to
2521     "figure".
2523 * spec/rst/interpreted.txt: Added to project.  Descriptions of
2524   interpreted text roles.
2526 * spec/rst/introduction.txt:
2528   - Added pointers to material for new users.
2530 * spec/rst/reStructuredText.txt:
2532   - Disambiguated comments (just add a newline after the "::").
2533   - Updated enumerated list description; added a discussion of the
2534     second-line validity checking.
2535   - Updated directive description.
2536   - Added a note redirecting newbies to the user docs.
2537   - Expanded description of inline markup start-strings in non-markup
2538     contexts.
2539   - Removed field arguments and made field lists a generic construct.
2540   - Removed the 4-character minimum for section title underlines.
2541   - Clarified term/classifier delimiter & inline markup ambiguity
2542     (definition lists).
2543   - Added "Embedded URIs".
2544   - Updated "Interpreted Text" section.
2545   - Added "Character-Level Inline Markup" section.
2547 * test: Continually adding & updating tests.
2549   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2550   - Moved test/test_pep/ to test/test_readers/test_pep/.
2551   - Added test/test_readers/test_python/.
2552   - Added test/test_writers/ (Engelbert Gruber).
2554 * tools:
2556   - Made the ``locale.setlocale()`` calls in front ends
2557     fault-tolerant.
2559 * tools/buildhtml.py:
2561   - Added "--silent" option.
2562   - Fixed bug with absolute paths & "--config".
2563   - Updated for new I/O classes.
2564   - Added some exception handling.
2565   - Separated publishers' setting defaults; prevents interference.
2566   - Updated for new ``publish_file()`` convenience function.
2568 * tools/pep-html-template:
2570   - Allow for "--embed-stylesheet".
2571   - Added Docutils version to "generator" meta tag.
2572   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2573   - Conform to XHTML spec.
2575 * tools/pep2html.py:
2577   - Made ``argv`` a parameter to ``main()``.
2578   - Added support for "Content-Type:" header & arbitrary PEP formats.
2579   - Linked "Content-Type: text/plain" to PEP 9.
2580   - Files skipped (due to an error) are not pushed onto the server.
2581   - Updated for new I/O classes.
2582   - Added ``check_requirements()`` & ``pep_type_error()``.
2583   - Added some exception handling.
2584   - Updated for new ``publish_string()`` convenience function.
2585   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2587 * tools/quicktest.py:
2589   - Added "-V"/"--version" option.
2591 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2593 * tools/unicode2rstsubs.py: Added to project.  Produces character
2594   entity files (reSructuredText substitutions) from the MathML master
2595   unicode.xml file.
2597 * tools/editors: Support code for editors, added to project.  Contains
2598   ``emacs/restructuredtext.el``.
2600 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2602   - Added style for chunks of inline literals.
2603   - Removed margin for first child of table cells.
2604   - Right-aligned field list names.
2605   - Support for auto-numbered section titles in TOCs.
2606   - Increased the size of inline literals (<tt>) in titles.
2607   - Restored the light gray background for inline literals.
2608   - Added support for "line_block" elements.
2609   - Added style for "address" elements.
2610   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2611   - Improved field list rendering.
2612   - Vertical whitespace improvements.
2613   - Removed "a.target" style.
2615 * tools/stylesheets/pep.css:
2617   - Fixed nested section margins.
2618   - Other changes parallel those of ``../default.css``.
2621 Release 0.2 (2002-07-31)
2622 ========================
2624 General:
2626 - The word "component" was being used ambiguously.  From now on,
2627   "component" will be used to mean "Docutils component", as in Reader,
2628   Writer, Parser, or Transform.  Portions of documents (Table of
2629   Contents, sections, etc.)  will be called "document parts".
2630 - Did a grand renaming: a lot of ``verylongnames`` became
2631   ``very_long_names``.
2632 - Cleaned up imports: no more relative package imports or
2633   comma-separated lists of top-level modules.
2634 - Added support for an option values object which carries default
2635   settings and overrides (from command-line options and library use).
2636 - Added internal Unicode support, and support for both input and
2637   output encodings.
2638 - Added support for the ``docutils.io.IO`` class & subclasses.
2640 Specific:
2642 * docutils/__init__.py:
2644   - Added ``ApplicationError`` and ``DataError``, for use throughout
2645     the package.
2646   - Added ``Component`` base class for Docutils components; implements
2647     the ``supports`` method.
2648   - Added ``__version__`` (thus, ``docutils.__version__``).
2650 * docutils/core.py:
2652   - Removed many keyword parameters to ``Publisher.__init__()`` and
2653     ``publish()``; bundled into an option values object.  Added
2654     "argv", "usage", "description", and "option_spec" parameters for
2655     command-line support.
2656   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2657     methods.
2658   - Reworked I/O model for ``docutils.io`` wrappers.
2659   - Updated ``Publisher.set_options()``; now returns option values
2660     object.
2661   - Added support for configuration files (/etc/docutils.conf,
2662     ./docutils.conf, ~/.docutils).
2663   - Added ``Publisher.setup_option_parser()``.
2664   - Added default usage message and description.
2666 * docutils/frontend.py: Added to project; support for front-end
2667   (command-line) scripts.  Option specifications may be augmented by
2668   components.  Requires Optik (http://optik.sf.net/) for option
2669   processing (installed locally as docutils/optik.py).
2671 * docutils/io.py: Added to project; uniform API for a variety of input
2672   output mechanisms.
2674 * docutils/nodes.py:
2676   - Added ``TreeCopyVisitor`` class.
2677   - Added a ``copy`` method to ``Node`` and subclasses.
2678   - Added a ``SkipDeparture`` exception for visitors.
2679   - Renamed ``TreePruningException`` from ``VisitorException``.
2680   - Added docstrings to ``TreePruningException``, subclasses, and
2681     ``Nodes.walk()``.
2682   - Improved docstrings.
2683   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2684   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2685     imports.
2686   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2687     ``PreDecorative`` mixin.
2688   - Reworked the name/id bookkeeping; to ``document``, removed
2689     ``explicit_targets`` and ``implicit_targets`` attributes, added
2690     ``nametypes`` attribute and ``set_name_id_map`` method.
2691   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2692     traversals.
2693   - Added ``document.has_name()`` method.
2694   - Fixed DOM generation for list-attributes.
2695   - Added category class ``Labeled`` (used by footnotes & citations).
2696   - Added ``Element.set_class()`` method (sets "class" attribute).
2698 * docutils/optik.py: Added to project.  Combined from the Optik
2699   package, with added option groups and other modifications.  The use
2700   of this module is probably only temporary.
2702 * docutils/statemachine.py:
2704   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2705   - Added underscores to improve many awkward names.
2706   - In ``string2lines()``, changed whitespace normalizing translation
2707     table to regexp; restores Python 2.0 compatibility with Unicode.
2709 * docutils/urischemes.py:
2711   - Filled in some descriptions.
2712   - Added "shttp" scheme.
2714 * docutils/utils.py:
2716   - Added ``clean_rcs_keywords`` function (moved from
2717     docutils/transforms/frontmatter.py
2718     ``DocInfo.filter_rcs_keywords``).
2719   - Added underscores to improve many awkward names.
2720   - Changed names of Reporter's thresholds:
2721     warning_level -> report_level; error_level -> halt_level.
2722   - Moved ``utils.id()`` to ``nodes.make_id()``.
2723   - Added ``relative_path(source, target)``.
2725 * docutils/languages/de.py: German mappings; added to project.  Thanks
2726   to Gunnar Schwant for the translations.
2728 * docutils/languages/en.py: Added "Dedication" bibliographic field
2729   mappings.
2731 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2732   Chodorowski.
2734 * docutils/parsers/rst/states.py:
2736   - Added underscores to improve many awkward names.
2737   - Added RFC-2822 header support.
2738   - Extracted the inline parsing code from ``RSTState`` to a separate
2739     class, ``Inliner``, which will allow easy subclassing.
2740   - Made local bindings for ``memo`` container & often-used contents
2741     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2742   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2743   - Added ``MarkupMismatch`` exception; for late corrections.
2744   - Added ``-/:`` characters to inline markup's start string prefix,
2745     ``/`` to end string suffix.
2746   - Fixed a footnote bug.
2747   - Fixed a bug with literal blocks.
2748   - Applied patch from Simon Budig: simplified regexps with symbolic
2749     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2750   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2751   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2752   - Allowed non-ASCII in "simple names" (directive names, field names,
2753     references, etc.).
2754   - Converted ``Inliner.patterns.initial`` to be dynamically built
2755     from parts with ``build_regexp()`` function.
2756   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2757   - Updated docstrings.
2758   - Changed "table" to "grid_table"; added "simple_table" support.
2760 * docutils/parsers/rst/tableparser.py:
2762   - Changed ``TableParser`` to ``GridTableParser``.
2763   - Added ``SimpleTableParser``.
2764   - Refactored naming.
2766 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2767   a fallback language for directive names.
2769 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2770   directive to use a ``pending`` element, used only by HTML writers.
2772 * docutils/parsers/rst/directives/parts.py: Renamed from
2773   components.py.
2775   - Added "backlinks" attribute to "contents" directive.
2777 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2778   project by Adam Chodorowski.
2780 * docutils/readers/__init__.py: Gave Readers more control over
2781   choosing and instantiating Parsers.
2783 * docutils/readers/pep.py: Added to project; for PEP processing.
2785 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2786   requires a ``component`` parameter.
2788 * docutils/transforms/components.py: Added to project; transforms
2789   related to Docutils components.
2791 * docutils/transforms/frontmatter.py:
2793   - In ``DocInfo.extract_authors``, check for a single "author" in an
2794     "authors" group, and convert it to a single "author" element.
2795   - Added support for "Dedication" and generic bibliographic fields.
2797 * docutils/transforms/peps.py: Added to project; PEP-specific.
2799 * docutils/transforms/parts.py: Renamed from old components.py.
2801   - Added filter for `Contents`, to use alt-text for inline images,
2802     and to remove inline markup that doesn't make sense in the ToC.
2803   - Added "name" attribute to TOC topic depending on its title.
2804   - Added support for optional TOC backlinks.
2806 * docutils/transforms/references.py: Fixed indirect target resolution
2807   in ``Hyperlinks`` transform.
2809 * docutils/transforms/universal.py:
2811   - Changed ``Messages`` transform to properly filter out system
2812     messages below the warning threshold.
2813   - Added ``Decorations`` transform (support for ``--generator``,
2814     ``--date``, ``--time``, ``--source-link`` options).
2816 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2817   Engelbert Gruber's PDF writer.
2819 * docutils/writers/html4css1.py:
2821   - Made XHTML-compatible (switched to lowercase element & attribute
2822     names; empty tag format).
2823   - Escape double-dashes in comment text.
2824   - Improved boilerplate & modularity of output.
2825   - Exposed modular output in Writer class.
2826   - Added a "generator" meta tag to <head>.
2827   - Added support for the ``--stylesheet`` option.
2828   - Added support for ``decoration``, ``header``, and ``footer``
2829     elements.
2830   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2831     translation table to regexp; restores Python 2.0 compatibility
2832     with Unicode.
2833   - Added the translator class as instance variable to the Writer, to
2834     make it easily subclassable.
2835   - Improved option list spacing (thanks to Richard Jones).
2836   - Modified field list output.
2837   - Added backlinks to footnotes & citations.
2838   - Added percentage widths to "<col>" tags (from colspec).
2839   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2840     "<span>" changed to "<var>".
2841   - Inline literals: "<code>" changed to "<tt>".
2842   - Many changes to optimize vertical space: compact simple lists etc.
2843   - Add a command-line options & directive attributes to control TOC
2844     and footnote/citation backlinks.
2845   - Added support for optional footnote/citation backlinks.
2846   - Added support for generic bibliographic fields.
2847   - Identify backrefs.
2848   - Relative URLs for stylesheet links.
2850 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2851   PEPs (subclass of ``html4css1.Writer``).
2853 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2855 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2856   of the Docutils internal doctree in XML.
2858 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2860 * spec/doctree.txt:
2862   - Changed the title to "The Docutils Document Tree".
2863   - Added "Hyperlink Bookkeeping" section.
2865 * spec/docutils.dtd:
2867   - Added ``decoration``, ``header``, and ``footer`` elements.
2868   - Brought ``interpreted`` element in line with the parser: changed
2869     attribute "type" to "role", added "position".
2870   - Added support for generic bibliographic fields.
2872 * spec/notes.txt: Continual updates.  Added "Project Policies".
2874 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2875   section.
2877 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2879 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
2880   mailing list discussions.
2882 * spec/pep-0287.txt:
2884   - Renamed to "reStructuredText Docstring Format".
2885   - Minor edits.
2886   - Reworked Q&A as an enumerated list.
2887   - Converted to reStructuredText format.
2889 * spec/pysource.dtd:
2891   - Reworked structural elements, incorporating ideas from Tony Ibbs.
2893 * spec/pysource.txt: Removed from project.  Moved much of its contents
2894   to pep-0258.txt.
2896 * spec/rst/alternatives.txt:
2898   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2899   - Added "Inline External Targets" section.
2901 * spec/rst/directives.txt:
2903   - Added "backlinks" attribute to "contents" directive.
2905 * spec/rst/problems.txt:
2907   - Updated the Enumerated List Markup discussion.
2908   - Added new alternative table markup syntaxes.
2910 * spec/rst/reStructuredText.txt:
2912   - Clarified field list usage.
2913   - Updated enumerated list description.
2914   - Clarified purpose of directives.
2915   - Added ``-/:`` characters to inline markup's start string prefix,
2916     ``/`` to end string suffix.
2917   - Updated "Authors" bibliographic field behavior.
2918   - Changed "inline hyperlink targets" to "inline internal targets".
2919   - Added "simple table" syntax to supplement the existing but
2920     newly-renamed "grid tables".
2921   - Added cautions for anonymous hyperlink use.
2922   - Added "Dedication" and generic bibliographic fields.
2924 * test: Made test modules standalone (subdirectories became packages).
2926 * test/DocutilsTestSupport.py:
2928   - Added support for PEP extensions to reStructuredText.
2929   - Added support for simple tables.
2930   - Refactored naming.
2932 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2934   - Now supports true packages containing test modules
2935     (``__init__.py`` files required); fixes duplicate module name bug.
2937 * test/test_pep/: Subpackage added to project; PEP testing.
2939 * test/test_rst/test_SimpleTableParser.py: Added to project.
2941 * tools:
2943   - Updated html.py and publish.py front-end tools to use the new
2944     command-line processing facilities of ``docutils.frontend``
2945     (exposed in ``docutils.core.Publisher``), reducing each to just a
2946     few lines of code.
2947   - Added ``locale.setlocale()`` calls to front-end tools.
2949 * tools/buildhtml.py: Added to project; batch-generates .html from all
2950   the .txt files in directories and subdirectories.
2952 * tools/default.css:
2954   - Added support for ``header`` and ``footer`` elements.
2955   - Added styles for "Dedication" topics (biblio fields).
2957 * tools/docutils.conf: A configuration file; added to project.
2959 * tools/docutils-xml.py: Added to project.
2961 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2963 * tools/pep-html-template: Added to project.
2965 * tools/pep2html.py: Added to project from Python (nondist/peps).
2966   Added support for Docutils (reStructuredText PEPs).
2968 * tools/quicktest.py:
2970   - Added the ``--attributes`` option, hacked a bit.
2971   - Added a second command-line argument (output file); cleaned up.
2973 * tools/stylesheets/: Subdirectory added to project.
2975 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2978 Release 0.1 (2002-04-20)
2979 ========================
2981 This is the first release of Docutils, merged from the now inactive
2982 reStructuredText__ and `Docstring Processing System`__ projects.  For
2983 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2984 `DPS HISTORY`__ files.
2986 __ http://structuredtext.sourceforge.net/
2987 __ http://docstring.sourceforge.net/
2988 __ http://structuredtext.sourceforge.net/HISTORY.html
2989 __ http://docstring.sourceforge.net/HISTORY.html
2991 General changes: renamed 'dps' package to 'docutils'; renamed
2992 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2993 the test suites (reStructuredText's test/test_states renamed to
2994 test/test_rst); and all modifications required to make it all work.
2996 * docutils/parsers/rst/states.py:
2998   - Improved diagnostic system messages for missing blank lines.
2999   - Fixed substitution_reference bug.
3003    Local Variables:
3004    mode: indented-text
3005    indent-tabs-mode: nil
3006    sentence-end-double-space: t
3007    fill-column: 70
3008    End: