Test case for io.Input.decode with "unicode" data. Cf. bug [ 3606659 ].
[docutils.git] / HISTORY.txt
blob544a232684072e02b7f0c8421aab8fda4a7f144a
1 .. -*- coding: utf-8 -*-
3 ==================
4  Docutils History
5 ==================
7 :Author: David Goodger; open to all Docutils developers
8 :Contact: docutils-develop@lists.sourceforge.net
9 :Date: $Date$
10 :Revision: $Revision$
11 :Web site: http://docutils.sourceforge.net/
12 :Copyright: This document has been placed in the public domain.
14 .. contents::
16 Changes Since 0.10
17 ==================
19 * General
21   - Apply [ 2714873 ] Fix for the overwritting of document attributes.
22   - Support embedded aliases within hyperlink references.
24 * docutils/nodes.py
26   - Fix [ 3601607 ] node.__repr__() must return `str` instance.
28 * docutils/parsers/rst/directives/images.py
30   - Apply [ 3599485 ] node source/line information for sphinx translation.
32 * docutils/utils/__init__.py
34   - Fix [ 3596884 ] exception importing ``docutils.io``.
36 * docutils/writers/html4css1/__init__.py
38   - Fix [ 3600051 ] for tables in a list, table cells are not compacted.
39   - New setting `stylesheet_dirs`: Comma-separated list of directories
40     where stylesheets are found. Used by `stylesheet_path` when expanding
41     relative path arguments.
43 * docutils/writers/latex2e/__init__.py
45   - Drop the simple algorithm replacing straight double quotes with
46     English typographic ones.
47     Activate the SmartQuotes_ transform if you want this feature.
48   - Fix literal use of babel shorthands (straight quote, tilde, ...).
49   - Fix [ 3603246 ] Bug in option "--graphicx-option=auto".
50   - New setting `stylesheet_dirs`.
52 .. _SmartQuotes: docs/user/config.html#smart-quotes
54 * docutils/writers/manpage.py
56   - Fix option separating comma was bold (thanks to Bill Morris).
58 Release 0.10 (2012-12-16)
59 =========================
61 * General
63   - Dropped support for Python 2.3.
64   - ``docutils/math``, ``docutils/error_reporting.py``, and
65     ``docutils/urischemes.py`` moved to the utils package.
66   - Fix [3541369] Relative __import__ also with Python 3.3.
67   - Fix [3559988] and [3560841] __import__ local writer, reader, languages
68     and parsers for Python 2.7 up.
69   - Fix import of PIL.Image.
70   - Change default of "syntax highlight" option to "long",
71     basic syntax highlight styles for LaTeX and HTML.
73 * docutils/io.py
75   - FileInput/FileOutput: no system-exit on IOError.  The `handle_io_errors`
76     option is ignored and will be removed in a future release.
77   - Fix Py3k error writing to stdout with encoding differing from default.
78   - Fix opening binary files under Py3k (thanks to Dominic Fitzpatrick).
80 * docutils/parsers/rst/directives/misc.py
82   - Fix [ 3546533 ] Unicode error with `date` directive.
84 * docutils/transforms/universal.py
86   - SmartQuotes transform for typographic quotes and dashes.
88 * docutils/utils/__init__.py
90   - normalize_language_tag() now returns `BCP 47`_ conformant tags
91     with subtags separated by ``-``.
93 * docutils/writers/html4css1/__init__.py
95   - Use ``<code>`` tag for inline "code",
96     do not drop nested inline nodes (syntax highlight tokens).
97   - Customizable MathJax URL (based on patch by Dmitry Shachnev).
98   - No line break after opening inline math tag.
100 * docutils/writers/manpage.py
102   - Apply [ 3527401 ] addmonition's don't preserve indentation
103   - Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.
105 , docutils/writers/xetex/__init__.py
107   - Apply [ 3555160 ] ensure order of "otherlanguages".
108   - Fix section numbering by LaTeX.
110 * docutils/writers/s5_html/__init__.py
112   - Fix [ 3556388 ] Mathjax does not work with rst2s5.
114 * docutils/writers/s5_html/docutils_xml.py
116   - Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.
118 * setup.py
120   - Tag ``math.css`` stylesheet as data file (patch by Dmitry Shachnev).
122 * tools/test/test_buildhtml.py
124   - Fix [ 3521167 ] allow running in any directory.
125   - Fix [ 3521168 ] allow running with Python 3.
128 Release 0.9.1 (2012-06-17)
129 ==========================
131 * setup.py
133   - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
134     installed in the PYTHONPATH. Converted tests are now
135     stored in ``test3/``, tools no longer need conversion.
137     If you installed one of Docutils versions 0.7 ... 0.9 with
138     ``setup.py install`` under Python 3, remove the spurious
139     ``test/`` and ``tools/`` directories in the site library root.
141 * test/
143   - Make tests independent from the location of the ``test/`` directory.
144   - Use converted sources (from the ``build/`` directory) for tests under
145     Python 3.
147 * tools/
149   - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
151 * docutils/io.py
153   - Fix writing binary data to sys.stdout under Python 3 (allows
154     ``rst2odt.py`` to be used with output redirection).
156 * docutils/parsers/rst/directives/misc.py
158   - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
159     ``locale == C`` and 8-bit char in path argument of `include` directive.
161 * test/alltests.py
163   - class `Tee`: catch UnicodeError when writing to "ascii" stream or
164     file under Python 3.
166 Release 0.9 (2012-05-02)
167 ========================
169 * General:
171   - New reStructuredText "code" role and directive and "code" option
172     of the "include" directive with syntax highlighting by Pygments_.
173   - Fix parse_option_marker for option arguments containing ``=``.
174   - Fix [ 2993756 ]: import Python Imaging Library's Image module
175     via ``import PIL`` as starting with PIL 1.2,
176     "PIL lives in the PIL namespace only" (announcement__).
178 .. _Pygments: http://pygments.org/
179 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
181 * setup.py
183   - Fix [ 2971827 ] and [ 3442827 ]
184     extras/roman.py moved to docutils/utils/roman.py
186 * docutils/frontend.py
188   - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
190 * docutils/io.py
192   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
193   - `mode` argument for FileOutput avoids code replication in
194     BinaryFileOutput.
195   - New exceptions InputError and OutputError for IO errors in
196     FileInput/FileOutput.
198 * docutils/core.py:
200   - No "hard" system exit on file IO errors: catch and report them in
201     `Publisher.reportException` instead. Allows handling by a calling
202     application if the configuration setting `traceback` is True.
204 * docutils/utils.py -> docutils/utils/__init__.py
206   - docutils.utils is now a package (providing a place for sub-modules)
208   .. note:: docutils/math, docutils/error_reporting.py, and
209      docutils/urischemes.py will move to the utils package in the next
210      release, too. See RELEASE-NOTES__
212      __ RELEASE-NOTES.html
214   - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
215     errors recording non-ASCII filenames (fixes [ 3434355 ]).
217   - Fix relative_path() with source=None and `unicode` target.
219 * docutils/parsers/rst/states.py
221   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
222     characters and "international" quotes around inline markup.
223   - Use `field_marker` pattern to look for start of a
224     directive option block (fixes [ 3484857 ]).
226 * docutils/parsers/rst/tableparser.py
228   - Fix [ 2926161 ] for simple tables.
229     (Combining chars in grid tables still contribute to cell width.)
231 * docutils/writers/latex2e/__init__.py
233   - Support the `abbreviation` and `acronym` standard roles.
234   - Record only files required to generate the LaTeX source as dependencies.
235   - Fix handling of missing stylesheets.
236   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
237     when suppressing LaTeX section numbering.
238   - Use ``\DUtitle`` for unsupported section levels
239   - Apply [ 3512791 ] do not compare string literals with "is"
241 * docutils/writers/xetex/__init__.py
243   - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
245 * docutils/writers/html4css1/__init__.py
247   - Change default for `math-output` setting to MathJax.
248   - Fix handling of missing stylesheets.
250 * docutils/writers/docutils_xml.py
252   - Use the visitor pattern with default_visit()/default_depart() methods
253     instead of minidom to facilitate special handling of selected nodes.
254   - Support raw XML (inserted as-is inside a <raw></raw> node).
256 * docutils/writers/manpage.py
258   - Do not emit comment line with trailing blank. Problematic for VCS.
260 Release 0.8.1 (2011-08-30)
261 ==========================
263 * General:
265   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
266     and [ 3395920 ] (correct copyright info for rst.el).
268 * test/
270   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
272 * docutils/writers/latex2e/__init__.py
274   - Clean up Babel language setting. Restores Sphinx compatibility.
276 Release 0.8 (2011-07-07)
277 ========================
279 * General:
281   - Handle language codes according to `BCP 47`_.
282   - If the specified language is not supported by Docutils,
283     warn and fall back to English.
284   - Math support: reStructuredText "math" role and directive,
285     ``math`` and ``math_block`` doctree elements.
286   - Decode command line arguments with the locale's preferred encoding
287     (to allow, e.g., ``--title=Dornröschen``).
288   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
289   - New sub-module `error_reporting`: handle encoding/decoding errors
290     when reporting exceptions.
291   - Some additions to the Docutils core are released under the 2-Clause BSD
292     license, see COPYING_ for details.
294   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
295   .. _COPYING: COPYING.html
297 * reStructuredText:
299   - Most directives now support a "name" option that attaches a
300     reference name.
302   - Directive content may start on the first line also when the directive
303     type accepts options.
305 * docs/dev/policies.txt:
307   - Recommend the 2-Clause BSD license
308     (http://www.spdx.org/licenses/BSD-2-Clause)
309     for code that is kept under the author's copyright.
311 * tools/buildhtml.py:
313   - Fix ``--local`` switch.
315 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
317 * docutils/writers/html4css1/__init__.py
319   - Set "lang" argument for objects with class argument
320     "language-<language tag>".
321   - New setting "math-output" with support for HTML, MathML, and LaTeX.
323 * docutils/writers/latex2e/__init__.py
325   - Fix [ 3043986 ] AttributeError using :local: with table of content.
326   - Place title data in the document preamble.
327   - Load `babel` package only if required.
328   - Update list of supported languages.
329   - New config setting "hyperref-options".
330     No hard-coded "unicode" hyperref option (clash with xetex).
331   - Set language for custom roles, paragraphs, block-quotes, and
332     line-quotes with class argument "language-<language tag>".
333   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
334   - Convert image URI to a local file path.
335   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
336     has more than one paragraph (Wolfgang Scherer).
337   - \leavevmode before longtable only when needed (prevents spurious vspace)
338   - do not advance table counter for tables without caption
340 * docutils/writers/xetex/__init__.py
342   - New writer generating LaTeX code for compiling with ``xelatex``.
344     A separate writer (inheriting from latex2e) instead of a ``--xetex``
345     option allows separate config options for XeTeX vs. LaTeX2e.
347 * docutils/writers/manpage.py
349   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
350   - Fix: vertical space cleaning for option group ``.``.
352 * tools/editors/emacs/rst.el:
354   - Fix [ 3001100 ] does not handle spaces in filenames
355     (thanks to Jakub Wilk)
357 * docutils/utils.py:
359   - strip whitespace from stylesheet arguments
360   - exclude combining chars from column_width()
361     (partial fix for [ 2926161 ])
363 * docutils/parsers/rst/directives/misc.py:
365   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
366     nested_parse
368 * docutils/io.py:
370   - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
371     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
373 Release 0.7 (2010-07-07)
374 ========================
376 * General:
378   - Fix [ 2881769 ] setup configuration.
379   - Fix [ 2788716 ] reporting problems in included files.
381 * docutils/io.py
383   - FileInput opens files as text files with universal newline support
384     (mode "rU", configurable with the new optional argument "mode").
386 * docutils/nodes.py
388   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
390 * docutils/utils.py
392   - Fix [ 2923723 ] let decode_path() tolerate path == None
394 * docutils/writers/html4css1/__init__.py
396   - Support SVG and SWF images (thanks to Stefan Rank).
397   - Generate valid XHTML for centered images with targets.
398     Use CSS classes instead of "align" tags for image alignment.
400 * docutils/writers/latex2e/__init__.py
402   - Use `transforms.writer_aux.Admonitions` to "normalize" special
403     admonitions.
404   - Use the ``\url`` command for URLs (breaks long URLs instead of
405     writing into the margin).
406   - Preserve runs of spaces in `inline literals`__.
407   - Deprecate ``figure_footnotes`` setting.
408   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
409   - New ``latex_preamble`` setting.
410   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
411   - Fix hyperlink targets (labels) for images, figures, and tables.
412   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
413   - Apply [ 2961991 ] Call hyperref with unicode option.
414   - Drop the special `output_encoding`__ default ("latin-1").
415     The Docutils wide default (usually "UTF-8") is used instead.
416   - Render inline markup in document title and subtitle.
417   - Fix numbering depth with LaTeX section numbering.
418   - Update Unicode -> LaTeX translations.
419   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
421 __ docs/ref/restructuredtext.html#inline-literals
422 __ docs/user/config.html#docutils-footnotes
423 __ docs/user/config.html#output_encoding
425 * docutils/writers/manpage.py
427   - Fix: supported attribute (thanks to peter2108).
428   - Remove trailing blanks in code (keep in sync with mercurial version).
429   - Titles level 1, that is ``.SH``, always uppercase.
430   - Apply patch from mg: literal text should be bold in man-pages.
432 * docutils/nodes.py
434   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
435     turkish locale.
437 * setup.py:
439   - Python 3 support: copy test/ and tools/ to the build-dir
440     and convert Python sources with 2to3.
443 Release 0.6 (2009-10-11)
444 ========================
446 * General:
448   - Docutils is now compatible with Python versions from 2.3 up to 2.6
449     and convertible to 3.1 code.
451     + Node.__nonzero__ returns True instead of 1.
452     + use os.walk instead os.path.walk.
453     + minimize "types" module where possible.
454     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
455     + Text nodes now subclass unicode rather than UserString
456       (which is gone in python 3.0).
457     + 3.0 compatibility module docutils._compat
459     + Drop 2.2 compatibility workarounds.
460     + Drop extras/optparse.py and extras/textwrap.py
461       (stdlib modules since 2.3).
463   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
464   - Unix man page export: manpage writer moved from sandbox to Doctutils
465     core.
467   - Apply [ 1719345 ] Galician translation
468   - Apply [ 1905741 ] Polish translation
469   - Apply [ 1878977 ] make_id(): deaccent characters.
470   - Apply [ 2029251 ] return nonzero when tests fail.
471   - Fix [ 1692788 ] allow UTF-8 in style sheets.
472   - Fix [ 2781629 ] support non-ASCII chars in file names.
473   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
474   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
475   - Fix [ 2821266 ] --strict option works now like --halt=info.
476   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
477   - Fix [ 1627229 ] hyperlink references in substitutions.
479   - The "newlatex" writer is orphaned.
481 * reStructuredText:
483   - Documented Unicode characters allowed as inline markup openers,
484     closers, and delimiters.
485   - Allow units for all length specifications.
486   - Allow percent sign in "scale" argument of "figure" and "image" directives.
487   - Bugfix: The "figalign" argument of a figure now works as intended
488     (aligning the figure, not its contents).
489   - Align images with class "align-[right|center|left]"
490     (allows setting the alignment of an image in a figure).
492 * docutils/nodes.py:
494   - Added ``Element.__contains__`` method, for the in-operator.
496 * docutils/parsers/rst/states.py:
498   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
499   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
500     " " (non-breaking space), and "¡ ¿" openers.
502 * docutils/parsers/directives/misc.py:
504   - Added ``start-line`` and ``end-line`` options to "include"
505     directive to select a range of lines.
506   - Hard tabs in literal inclusions are replaced by spaces. This is
507     configurable via the new ``tab-width`` option of the "include" directive
508     (a negative tab-width prevents tab expansion).
510 * docutils/utils.py:
512   - Add ``get_stylesheet_list`` function.
513   - Apply [ 2834836 ] print info at halt
515 * docutils/transforms/universal.py:
517   - Raise default priority of StripClasses to exclude stripped classes from
518     the ToC.
520 * docutils/writers/html4css1/__init__.py:
522   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
523     separated list of stylesheets.
524   - Address [ 1938891 ] Inline literal text creates "pre" span only when
525     needed to prevent inter-word line wraps.
526   - Use `translate` method instead of repeated `replace` calls.
527   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
528     classes to allow CSS styling that does not interfere with other
529     table-using constructs (field lists, citations, ...).
531 * docutils/writers/newlatex2e/__init__.py:
533   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
535 * docutils/writers/latex2e/__init__.py (see also
536   `<docs/user/docutils-05-compat.sty.html>`__) :
538   - Add ``--embed-stylesheet`` option.
539   - Apply [ 1474017 ] image vertical alignment is reversed.
540   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
541   - Change: has_key for dictionaries (not Nodes) to in-operator.
542   - Merge adjacent citations into one latex cite command.
543   - Failsave implementation of custom roles. LaTeX compilation now ignores
544     unknown classes instead of aborting with an error.
545   - Support custom roles based on standard roles.
546   - LaTeX packages can be used as ``--stylesheet`` arguments without
547     restriction. (A style sheet is now referenced with the ``\usepackage``
548     command, if it ends with ``.sty`` or has no extension.)
549   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
550   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
551   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
552     2005-02-04 as a configurable length unit).
553   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
554     if font-encoding is set to ''. LaTeX defaults to OT1 then.
555   - Set sub- and superscript role argument in text mode not as math.
556     Use a custom role based on sub-/superscript if you want italic shape.
557   - Shorter preamble and less dependencies: Load packages and define macros
558     only if required in the document.
559   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
560   - New custom environments and commands with optional "classes" argument.
561   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
562   - Better conformance to Docutils specifications with ``--use-latex-toc``.
563     Support for LaTeX generated ToC also with unnumbered sections.
564   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
565     section numbering by LaTeX.
566   - Use default font in admonitions and sidebar.
567   - Align of image in a figure defaults to 'center'.
568   - Bugfix: Newlines around targets and references prevent run-together
569     paragraphs.
570   - Fix internal hyperlinks.
571   - Use class defaults for page margins ('typearea' now optional).
572   - Float placement made configurable, default changed to "here definitely".
573   - Typeset generic topic as "quote block with title".
574   - Use template (file and configuration option).
575   - In the default template, load cmap.sty (fix text extraction in PDF) and
576     fixltx2e.sty (LaTeX patches, \textsubscript).
577   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
578   - Use `translate` instead of repeated `replace` calls for text encoding.
579   - Hyperlinked footnotes and support for symbol footnotes and
580     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
581   - Complete pairs of binary options
582     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
583     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
584   - New defaults:
585     - font-encoding: "T1" (formerly implicitely set by 'ae').
586     - use-latex-toc: true (ToC with page numbers).
587     - use-latex-footnotes: true (no mixup with figures).
589 * docutils/writers/manpage.py
591   - Do not print version at document end, this is done by the viewer.
592   - Do not print date at document end, this is done by the viewer.
593   - Fix storage of docinfo fields for none standard fields.
595 * docutils/tools/rst2man.py
597 Release 0.5 (2008-06-25)
598 ========================
600 * docutils/languages/he.py: Added to project: Hebrew mappings by
601   Meir Kriheli.
603 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
604   mappings by Meir Kriheli.
606 * docutils/frontend.py:
608   - Configuration files are now assumed and required to be
609     UTF-8-encoded.
610   - Paths of applied configuration files are now recorded in the
611     runtime setting ``_config_files`` (accessible via
612     ``--dump-settings``).
613   - Added ``--strip-elements-with-class`` and ``--strip-class``
614     options (``strip_elements_with_classes`` and ``strip_classes``
615     settings).
617 * docutils/io.py:
619   - Added code to determine the input encoding from data: encoding
620     declarations or the presence of byte order marks (UTF-8 & UTF-16).
621   - Added support for IronPython 1.0.
623 * docutils/nodes.py:
625   - Added ``document.__getstate__`` method, for pickling.
627 * docutils/parsers/rst/states.py:
629   - Allow ``+`` and ``:`` in reference names.
630   - Unquoted targets beginning with an underscore (``.. __target:
631     URI``) are no longer accepted.
632   - Added support for multiple attributions in a physical block quote
633     (indented text block), dividing it into multiple logical block
634     quotes.
635   - Added support for unicode bullets in bullet lists: "•", "‣", and
636     "⁃".
637   - Added support for new object-oriented directive interface,
638     retaining compatibility to the old functional interface.
639   - Added support for throwing ``DirectiveError``'s from within
640     directive code.
642 * docutils/parsers/rst/__init__.py:
644   - Added ``Directive`` base class.
645   - Added ``DirectiveError`` base class.
646   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
647     definitions.
649 * docutils/parsers/directives/:
651   - Refactored all reStructuredText directives to use the new
652     object-oriented directive interface.  Errors are now (mostly)
653     thrown using the new ``DirectiveError`` class.
655 * docutils/parsers/directives/misc.py:
657   - Added ``start-after`` and ``end-before`` options to ``include``
658     directive; thanks to Stefan Rank.
660 * docutils/transforms/universal.py:
662   - Added ``StripClassesAndElements`` transform to remove from the
663     document tree all elements with classes in
664     ``settings.strip_elements_with_classes`` and all "classes"
665     attribute values in ``self.document.settings.strip_classes``.
667 * docutils/transforms/writer_aux.py:
669   - Added ``Admonitions`` transform to transform specific admonitions
670     (like ``note``, ``warning``, etc.) into generic admonitions with a
671     localized title.
673 * docutils/writers/html4css1/__init__.py:
675   - Moved template functionality from the PEP/HTML writer here.
676   - Expanded the fragments available in the ``parts`` attribute.
677   - Moved ``id`` attributes from titles to surrounding ``div``
678     elements.
679   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
680     universally supported now).
681   - ``template.txt`` is now opened in text mode instead of binary mode
682     (to ensure Windows compatibility).
683   - ``a`` elements now have an "internal" or "external" class,
684     depending on reference type.
686 * docutils/writers/html4css1/template.txt: Added to project.
688 * docutils/writers/pep_html/:
690   - Moved template functionality to the HTML writer.
692 * docutils/writers/s5_html/__init__.py:
694   - Added ``view_mode`` & ``hidden_controls`` settings
695     (``--view-mode`` & ``--hidden-controls/--visible-controls``
696     options).
698 * docutils/writers/latex2e/__init__.py:
700   - Add ``--literal-block-env``
701   - Fix: escaping ``%`` in href urls.
702   - Move usepackage hyperref after stylesheet inclusion.
703   - Fix: scrartcl does not have chapter but scrreprt.
704   - Add newline after ``\end{verbatim}``.
705   - Merge smaller differences from latex2e_adaptive_preamble.
706   - Add ``use-part-section``.
707   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
708   - Using leavemode option_list no longer needs to check if parent
709     is a definition list.
710   - Append ``\leavemode`` to definition list terms.
711   - No longer write visit\_/depart_definition_list_item comments to
712     output.
713   - Table column width with 3 decimal places.
714   - Add table stubs support (boldfont).
715   - Add assemble_parts to writer.
716   - Add simply support for nested tables.
717   - Fix verbatim in tables if use-verbatim-when-possible.
718   - Use section commands down to subparagraph.
719   - Put ensuremath around some latin1 chars.
720   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
721   - New option ``--use-bibtex=style,db1,db2``.
722   - New option ``--reference-label`` to allow usage of LaTeX ref for
723     labels in section references.
724   - Add a label after every section to support sectionnumbers as reference
725     labels.
726   - Fix: bug# 1605376 rst2latex: bad options group list
727   - Remove inactive code for use_optionlist_for_option_list.
728   - Remove latex comments from option_list output.
729   - Fix: bug# 1612270 double qoutes in italian literal.
730   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
731   - Add option --use-latex-abstract.
732   - Image width unit ``px`` is translated to ``pt``.
733   - Add image height support.
734   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
735     bug #1457388
736   - Fix: Do not escape underscores in citation reference labels if
737     use-latex-citations is set.
738   - Use centering instead of center for figure contents, to avoid vertical
739     space.
740   - Recognize table class: borderless, nolines, booktabs, standard.
741   - Fix: Renaming contents section does not work with latex writer; SF
742     bug #1487405.
743   - Applied patch for custom roles with classes from Edward Loper.
744   - Fixed bug that caused crashes with more than 256 lists.
746 * docutils/writers/pep_html/__init__.py:
748   - Changed to support new python.org website structure and
749     pep2pyramid.py.
751 * docs/howto/security.txt: "Deploying Docutils Securely", added to
752   project.
754 * tools/buildhtml.py:
756   -- Added ``ignore`` setting to exclude a list of shell patterns
757      (default: ``.svn:CVS``).
759 * tools/editors/emacs/rst.el:
761   - Changed license to "GPL".
762   - Added ``rst-straighten-decorations`` function.
763   - The ``compile`` module is now always loaded.
764   - Added ``rst-toggle-line-block`` function.
765   - Headings consisting only of non-ASCII characters are now
766     recognized by ``rst-toc`` and ``rst-adjust``.
767   - Added font-lock support for multi-line comments where the first
768     comment line is empty.
769   - Added ``(require 'font-lock)``.
771 * setup.py:
773   - Provide descriptive error message if distutils is missing.
776 Release 0.4 (2006-01-09)
777 ========================
779 * General:
781   - Updated the project policies for trunk/branch development &
782     version numbering.
784 * docutils/__init__.py:
786   - Added ``__version_details__`` attribute to describe code source
787     (repository/snapshot/release).
788   - Replaced ``default_transforms`` attribute of TransformSpec with
789     ``get_transforms()`` method.
791 * docutils/core.py:
793   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
794     functions, for document tree extraction and reprocessing.
796 * docutils/io.py:
798   - Added ``DocTreeInput`` class, for reprocessing existing documents.
799   - Added support for non-Unicode (e.g. binary) writer output.
801 * docutils/nodes.py:
803   - Re-introduced ``Targetable.indirect_reference_name``, for
804     MoinMoin/reST compatibility (removed in r3124/r3129).
805   - Added ``serial_escape`` function; escapes string values that are
806     elements of a list, for serialization.  Modified Docutils-XML
807     writing (``Element._dom_node``) and pseudo-XML writing
808     (``Element.starttag``) to use ``serial_escape``.
809   - Added ``Node.deepcopy()`` method.
810   - Removed the internal lists ``document.substitution_refs``,
811     ``document.anonymous_refs``, and ``document.anonymous_targets``.
812   - Added a "container" element.
813   - Fixed bug where values of list-valued attributes of elements
814     originating from custom interpreted text roles (i.e., with custom
815     classes) were being shared between element instances.  Reported by
816     Shmuel Zeigerman.
818 * docutils/statemachine.py:
820   - Added trailing whitespace stripping to ``string2lines()``.
821   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
822     Asian double-width character support.
824 * docutils/utils.py:
826   - Added ``east_asian_column_width()`` for double-width character
827     support.
829 * docutils/languages/ja.py: Added to project: Japanese mappings by
830   Hisashi Morita.
832 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
833   mappings by Panjunyong.
835 * docutils/parsers/null.py: Added to project; a do-nothing parser.
837 * docutils/parsers/rst/__init__.py:
839   - Added validator to tab_width setting, with test.  Closes SF bug
840     #1212515, report from Wu Wei.
842 * docutils/parsers/rst/states.py:
844   - Fixed bug with escaped colons indicating a literal block.
845   - Fixed bug with enumerated lists (SF#1254145).
846   - Backslash-escaped colons inside of field names are now allowed.
847   - Targets (implicit and explicit), anonymous hyperlink references
848     and auto-numbered footnote references inside of substitution
849     definitions are now disallowed.
850   - Fixed bug: list items with blank first lines.
851   - Fixed bug: block quote attributions with indented second lines.
852   - Added East Asian double-width character support (Python 2.4 only).
854 * docutils/parsers/rst/tableparser.py:
856   - Added East Asian double-width character support (Python 2.4 only).
858 * docutils/parsers/rst/directives/body.py:
860   - Added the "container" directive.
862 * docutils/parsers/rst/directives/misc.py:
864   - Added the "default-role", "title", and "date" directives.
865   - Added standard data file syntax to the "include" directive.
866   - Added support for "class" directive content.
868 * docutils/parsers/rst/directives/images.py:
870   - Added ``indirect_reference_name`` support for images with a target
871     option.
872   - Added support for image width and height units.
873   - Fixed bug with image "target" options.
875 * docutils/parsers/rst/directives/references.py:
877   - Added "class" attribute to "target-notes" directive, for
878     footnote_reference classes.
880 * docutils/parsers/rst/include/: Directory added to project; contains
881   standard data files for the "include" directive.  Initial contents:
882   character entity substitution definition sets, and a set of
883   definitions for S5/HTML presentations.
885 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
886   mappings by David Goodger.
888 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
889   Simplified Chinese mappings by Panjunyong.
891 * docutils/readers/__init__.py:
893   - Added universal.Decorations and universal.ExposeInternals
894     transforms as default transforms for all readers.
895   - Added ``ReReader`` base class for readers that reread an existing
896     document tree.
898 * docutils/readers/doctree.py: Added to project; a reader for existing
899   document trees.
901 * docutils/transforms/frontmatter.py:
903   - Fixed the DocInfo transform to handle SVN-style expansion of the
904     "Date" keyword.
905   - In ``DocInfo.extract_authors``, treat the contents of "authors"
906     fields uniformly.
908 * docutils/transforms/misc.py:
910   - Added misc.Transitions transform, extracted from
911     universal.FinalChecks.
913 * docutils/transforms/references.py:
915   - Added references.DanglingReferences transform, extracted from
916     universal.FinalChecks.
917   - Fixed bug with doubly-indirect substitutions.
918   - Added footnote_reference classes attribute to "TargetNotes".
919   - Fixed bug with circular substitution definitions that put Docutils
920     into an infinite loop.
922 * docutils/transforms/universal.py:
924   - Added universal.ExposeInternals transform, extracted from
925     universal.FinalChecks.
926   - Removed universal.FinalChecks transform (logic has been moved to
927     several new transforms).
928   - Fixed bug with the "expose_internals" setting and Text nodes
929     (exposed by the "rawsource" internal attribute).
930   - Added the universal.StripComments transform, implementation of the
931     "strip_comments" setting.
933 * docutils/transforms/writer_aux.py: Added to project; auxiliary
934   transforms for writers.
936   - Added ``Compound`` transform, which flattens compound paragraphs.
938 * docutils/writers/: Several writer modules (html4css1.py) were
939   converted into packages.  Support modules and data files have been
940   moved into the packages.  The stylesheets for the HTML writers are
941   now installed along with the code, the code knows where to find
942   them, and the default is to use them (actually, to embed them).
943   Some adjustments to configuration files may be necessary.  The
944   easiest way to obtain the new default behavior is to remove all
945   settings whose name includes "stylesheet".
947 * docutils/writers/__init__.py:
949   - Added universal.Messages and universal.FilterMessages transforms
950     as default transforms for all writers.
951   - Added ``UnfilteredWriter`` base class for writers that pass the
952     document tree on unchanged.
954 * docutils/writers/docutils_xml.py:
956   - Made ``xmlcharrefreplace`` the default output encoding error
957     handler.
959 * docutils/writers/html4css1/:
961   - Added support for image width and height units.
962   - Made ``xmlcharrefreplace`` the default output encoding error
963     handler.
964   - Made ``--embed-stylesheet`` the default rather than
965     ``--link-stylesheet``.
966   - Moved "id" attribute from container (section etc.) to title's <a>
967     tag, to be on the same tag as "name".
968     (!!! To be reverted in Docutils 0.5.)
969   - Added vertical space between fields of field lists.
970   - Added ``--compact-field-lists`` option to remove vertical space in
971     simple field lists.
972   - Made cloaking of email addresses with ``--cloak-email-addresses``
973     less obtrusive.
974   - Fixed support for centered images.
975   - Added support for class="compact" & class="open" lists.
977 * docutils/writers/latex2e/:
979   - Underscores in citekeys are no longer escaped.
981 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
982   mapping of Unicode characters to LaTeX equivalents.
984 * docutils/writers/s5_html/: Package added to project; writer for
985   S5/HTML slide shows.
987 * docs/dev/distributing.txt: Added to project; guide for distributors
988   (package maintainers).
990 * docs/dev/hacking.txt: Added to project; guide for developers.
992 * docs/ref/doctree.txt:
994   - Updated for plural attributes "classes", "ids", "names",
995     "dupnames".
996   - Added the "container" element.
998 * docs/ref/docutils.dtd:
1000   - Updated for plural attributes "classes", "ids", "names",
1001     "dupnames".
1003 * docs/user/emacs.txt: Added to project; a document about Emacs
1004   support for reStructuredText and Docutils.
1006 * docs/user/links.txt: Added to project; lists of Docutils-related
1007   links.
1009 * docs/user/mailing-lists.txt: Added to project; information about
1010   Docutils-related mailing lists and how to access them.
1012 * docs/user/slide-shows.txt: Added to project; example of and docs for
1013   the S5/HTML writer (``rst2s5.py`` front end).
1015 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
1016   Files", added to project.
1018 * test/coverage.sh: Added to project; test coverage script.
1020 * test/DocutilsTestSupport.py:
1022   - Added support for specifying runtime settings at the suite level.
1024 * test/test_functional.py:
1026   - Added the ``clear_output_directory`` function.
1027   - Added support for ``_test_more`` functions in functional test
1028     config files.
1030 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
1032 * tools/rstpep2html.py: Renamed from pep.py.
1034 * tools/dev/create_unimap.py: Added to project; script to create the
1035   docutils/writers/unimap_latex.py mapping file.
1037 * tools/dev/profile_docutils.py: Added to project; profiler script.
1039 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
1041 * tools/editors/emacs/restructuredtext.el,
1042   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
1043   Removed from project; the functionality is now contained in rst.el.
1045 * tools/editors/emacs/rst.el: Added to project.  Added many features
1046   and fixed many bugs.  See docs/user/emacs.txt for details.
1048 * tools/stylesheets: Removed from project.  Stylesheets have been
1049   renamed and moved into writer packages.
1052 Release 0.3.9 (2005-05-26)
1053 ==========================
1055 * General:
1057   - Eliminated and replaced all uses of the old string attributes
1058     ``id``, ``name``, ``dupname`` and ``class`` with references to the
1059     new list attributes ``ids``, ``names``, ``dupnames`` and
1060     ``classes`` throughout the whole source tree.
1062 * docutils/core.py:
1064   - Enabled ``--dump-*`` options when ``--traceback`` specified,
1065     allowing for easier debugging.
1066   - In ``Publisher.publish()``, expanded the generic top-level
1067     exception catching.
1069 * docutils/examples.py:
1071   - Added ``internals`` function for exploration.
1073 * docutils/io.py:
1075   - Fixed ``Input.decode`` method to apply heuristics only if no
1076     encoding is explicitly given, and to provide better reporting of
1077     decoding errors.
1078   - The ``Input.decode`` method now removes byte order marks (BOMs)
1079     from input streams.
1081 * docutils/nodes.py:
1083   - ``image`` element class changed to subclass of Element, not
1084     TextElement (it's an empty element, and cannot contain text).
1085   - Added ``attr_defaults`` dictionary for default attribute values.
1086   - Added empty list as default value for the following attributes:
1087     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
1088   - Added ``document.decoration`` attribute,
1089     ``document.get_decoration`` method, and ``decoration.get_header``
1090     & ``.get_footer`` methods.
1091   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
1092     methods.
1094 * docutils/utils.py:
1096   - Removed ``docutils.utils.Reporter.categories``,
1097     ``docutils.utils.ConditionSet``, and all references to them, to
1098     simplify error reporting.
1100 * docutils/languages/nl.py: Added to project; Dutch mappings by
1101   Martijn Pieters.
1103 * docutils/parsers/rst/__init__.py:
1105   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
1107 * docutils/parsers/rst/states.py:
1109   - Added check for escaped at-mark to prevent email address recognition.
1110   - Fixed option lists to allow spaces inside ``<angle-bracketed option
1111     arguments>``.
1112   - Allowed whitespace in paths and URLs.
1113   - Added auto-enumerated list items.
1114   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
1115     followed by text.
1116   - Added support for table stub columns.
1118 * docutils/parsers/rst/directives/__init__.py:
1120   - Allowed whitespace in paths (``path`` function).
1121   - Added ``uri`` directive option conversion function.
1123 * docutils/parsers/rst/directives/body.py:
1125   - Fixed illegal context bug with "topic" directive (allowed within
1126     sidebars; not within body elements).
1128 * docutils/parsers/rst/directives/images.py:
1130   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1131   - Added support for the ``file_insertion_enabled`` setting in the
1132     "figure" directive (disables "figwidth" option).
1133   - "image" directive: added checks for valid values of "align" option,
1134     depending on context.  "figure" directive: added specialized
1135     "align" option and attribute on "figure" element.
1136   - Made ":figwidth: image" option of "figure" directive work again.
1137   - Fixed bug with reference names containing uppercase letters
1138     (e.g. ``Name_``) in "target" option of "image" directive.
1140 * docutils/parsers/rst/directives/misc.py:
1142   - Fixed "include" and "raw" directives to catch text decoding
1143     errors.
1144   - Allowed whitespace in "include" & "raw" directive paths.
1145   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1146     settings in "include" & "raw" directives.
1148 * docutils/parsers/rst/directives/parts.py:
1150   - Added "header" & "footer" directives.
1151   - Fixed illegal context bug with "contents" directive (topics
1152     allowed within sidebars; not within body elements).
1154 * docutils/parsers/rst/directives/tables.py:
1156   - Added "list-table" directive.
1157   - Caught empty CSV table bug.
1158   - Added support for the ``file_insertion_enabled`` setting in the
1159     "csv-table" directive.
1160   - Added ``stub-columns`` option to "csv-table" and "list-table"
1161     directives.
1163 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1164   mappings by Martijn Pieters.
1166 * docutils/readers/standalone.py:
1168   - Added ``--section-subtitles`` and ``--no-section-subtitles``
1169     options to activate or deactivate the SectSubTitle transform.
1171 * docutils/transforms/frontmatter.py:
1173   - Added SectSubTitle transform to promote titles of lone
1174     subsections to subtitles.
1176 * docutils/transforms/references.py:
1178   - Fixed mislocated internal targets bug, by propagating internal
1179     targets to the next node, making use of the newly added support
1180     for multiple names and IDs.
1181   - Fixed duplicate footnote label bug.
1182   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1183     transform.
1185 * docutils/writers/html4css1.py:
1187   - Fixed unencoded stylesheet reference bug (characters like "&" in
1188     stylesheet references).
1189   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1190     tags).
1191   - Added support for multiple IDs per node by creating empty ``span``
1192     tags.
1193   - Added the ``field_name_limit`` & ``option_limit`` settings &
1194     support.
1195   - Added support for table stub columns.
1196   - Added support for the ``align`` attribute on ``figure`` elements.
1197   - Added the ``cloak_email_addresses`` setting & support.
1198   - Added ``html_prolog``, ``html_head``, ``html_body``,
1199     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1200     ``docutils.core.publish_parts``.
1201   - Added support for section subtitles.
1203 * docutils/writers/latex2e.py:
1205   - Fixed tables starting with more than one multirow cell.
1206   - Improved --use-latex-docinfo so that organization/contact/address
1207     fields are lumped with the last author field and appear on the
1208     titlepage.
1209   - Made sure the titlepage is always shown with --use-latex-docinfo,
1210     even if the document has no title.
1211   - Made sure that latex doesn't fill in today's date if no date field
1212     was given.
1213   - Added support for section subtitles.
1215 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1216   (under development).
1218 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1220 * docs/api/publisher.txt:
1222   - Added "``publish_parts`` Details" section.
1224 * docutils/dev/repository.txt: Added to project; information about the
1225   Docutils Subversion repository.
1227 * docs/ref/docutils.dtd:
1229   - Added a ``stub`` attribute to the ``colspec`` element via the
1230     ``tbl.colspec.att`` parameter entity.
1231   - Allowed topic elements within sidebars
1232   - Added an ``align`` attribute to the ``figure`` element.
1234 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1235   writer.
1238 Release 0.3.7 (2004-12-24)
1239 ==========================
1241 * docutils/frontend.py:
1243   - Added options: --input-encoding-error-handler,
1244     --record-dependencies, --leave-footnote-reference-space,
1245     --strict-visitor.
1246   - Added command-line and config file support for "overrides" setting
1247     parameter.
1249 * docutils/io.py:
1251   - Added support for input encoding error handler.
1253 * docutils/nodes.py:
1255   - Added dispatch_visit and dispatch_departure methods to
1256     NodeVisitor; useful as a hook for Visitors.
1257   - Changed structure of ``line_block``; added ``line``.
1258   - Added ``compound`` node class.
1259   - Added a mechanism for Visitors to transitionally ignore new node
1260     classes.
1262 * docutils/utils.py:
1264   - Moved ``escape2null`` and ``unescape`` functions from
1265     docutils/parsers/rst/states.py.
1267 * docutils/parsers/rst/roles.py:
1269   - Added "raw" role.
1270   - Changed role function API: the "text" parameter now takes
1271     null-escaped interpreted text content.
1273 * docutils/parsers/rst/states.py:
1275   - Fixed bug where a "role" directive in a nested parse would crash
1276     the parser; the state machine's "language" attribute was not being
1277     copied over.
1278   - Added support for line block syntax.
1279   - Fixed directive parsing bug: argument-less directives didn't
1280     notice that arguments were present.
1281   - Removed error checking for transitions.
1282   - Added support for multiple classifiers in definition list items.
1283   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1284   - Changed role function API: the "text" parameter now takes
1285     null-escaped interpreted text content.
1286   - Empty sections and documents are allowed now.
1288 * docutils/parsers/rst/directives/__init__.py:
1290   - Added ``encoding`` directive option conversion function.
1291   - Allow multiple class names in class_option conversion function.
1293 * docutils/parsers/rst/directives/body.py:
1295   - Converted the line-block directive to use the new structure.
1296   - Extracted the old line-block functionality to the ``block``
1297     function (still used).
1298   - Added ``compound`` directive (thanks to Lea Wiemann).
1300 * docutils/parsers/rst/directives/misc.py:
1302   - Added "encoding" option to "include" and "raw" directives.
1303   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1304   - Allow multiple class names in the "class" directive.
1306 * docutils/parsers/rst/directives/parts.py:
1308   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1309     options.  Thanks to Lele Gaifax.
1311 * docutils/parsers/rst/directives/tables.py:
1313   - Added "encoding" directive to "csv-table" directive.
1314   - Added workaround for lack of Unicode support in csv.py, for
1315     non-ASCII CSV input.
1317 * docutils/transforms/misc.py:
1319   - Fixed bug when multiple "class" directives are applied to a single
1320     element.
1321   - Enabled multiple format names for "raw" directive.
1323 * docutils/transforms/references.py:
1325   - Added support for trimming whitespace from beside substitution
1326     references.
1328 * docutils/transforms/universal.py:
1330   - FinalChecks now checks for illegal transitions and moves
1331     transitions between sections.
1333 * docutils/writers/html4css1.py:
1335   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1336   - "stylesheet" and "stylesheet_path" settings are now mutually
1337     exclusive.
1338   - Added support for the new line_block/line structure.
1339   - --footnote-references now overrides
1340     --trim-footnote-reference-space, if applicable.
1341   - Added support for ``compound`` elements.
1342   - Enabled multiple format names for "raw" directive.
1343   - ``<p>`` tags of a paragraph which is the only visible child of the
1344     document node are no longer stripped.
1345   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1346     new method ``should_be_compact_paragraph()``.
1347   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1348     elements.
1349   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1350     the output if they have their ``class`` attribute set.
1351   - The whole document is now surrounded by a ``<div
1352     class="document">`` element.
1353   - Body-level images are now wrapped by their own ``<div>`` elements,
1354     with image classes copied to the wrapper, and for images which
1355     have the ``:align:`` option set, the surrounding ``<div>`` now
1356     receives a class attribute (like ``class="align-left"``).
1358 * docutils/writers/latex2e.py:
1360   - no newline after depart_term.
1361   - Added translations for some Unicode quotes.
1362   - Added option "font-encoding", made package AE the default.
1363   - "stylesheet" and "stylesheet_path" settings are now mutually
1364     exclusive.
1365   - --footnote-references now overrides
1366     --trim-footnote-reference-space, if applicable.
1367   - The footnote label style now matches the footnote reference style
1368     ("brackets" or "superscript").
1369   - Added support for ``compound`` elements.
1370   - Enabled multiple format names for "raw" directive.
1372 * docs/ref/docutils.dtd:
1374   - Changed structure of the ``line_block`` element; added ``line``.
1375   - Added ``compound`` element.
1376   - Added "ltrim" and "rtrim" attributes to
1377     ``substitution_definition`` element.
1378   - Enabled multiple format names for ``raw`` element.
1379   - Enabled multiple classifiers in ``definition_list_item`` elements.
1381 * docs/ref/rst/directives.txt
1383   - Marked "line-block" as deprecated.
1384   - "Class" directive now allows multiple class names.
1385   - Added "Rationale for Class Attribute Value Conversion".
1386   - Added warning about "raw" overuse/abuse.
1388 * docs/ref/rst/restructuredtext.txt:
1390   - Added syntax for line blocks.
1391   - Definition list items may have multiple classifiers.
1393 * docs/ref/rst/roles.txt:
1395   - Added "raw" role.
1397 * tools/stylesheets/default.css:
1399   - Added support for the new line_block structure.
1400   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1403 Release 0.3.5 (2004-07-29)
1404 ==========================
1406 General:
1408 * _`Documentation cleanup/reorganization`.
1410   - Created new subdirectories of docs/:
1412     * ``docs/user/``: introductory/tutorial material for end-users
1413     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1414     * ``docs/api/``: API reference material for client-developers
1415     * ``docs/ref/``: reference material for all groups
1416     * ``docs/howto/``: for component-developers and core-developers
1417     * ``docs/peps/``: Python Enhancement Proposals
1419   - Moved ``docs/*`` to ``docs/user/``.
1420   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1421     ``spec/`` to ``docs/dev``.
1422   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1423     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1424   - Moved ``alternatives.txt``, and ``problems.txt`` from
1425     ``spec/rst/`` to ``docs/dev/rst/``.
1426   - Moved ``reStructuredText.txt``, ``directives.txt``,
1427     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1428     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1429     ``roles.txt``, ``reStructuredText.txt`` to
1430     ``restructuredtext.txt``.
1431   - Moved ``spec/howto/`` to ``docs/howto``.
1433   In order to keep the CVS history of moved files, we supplied
1434   SourceForge with a `script for modifying the Docutils CVS
1435   repository`__.
1437   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1439   After running the cleanup script:
1441   - Added ``docs/index.txt``.
1442   - Added a ``.htaccess`` file to the ``web`` module, containing
1443     redirects for all old paths to new paths.  They'll preserve
1444     fragments (the "#name" part of a URL), and won't clutter up the
1445     file system, and will correct the URL in the user's browser.
1446   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1447     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1448     the "To Do" list itself in ``docs/dev/todo.txt``.
1449   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1450     section of ``docs/dev/todo.txt``.
1451   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1452   - Added "How To Report Bugs" to ``BUGS.txt``.
1453   - Went through all the sources and docs (including under web/) and
1454     updated links.  Mostly done by Lea Wiemann; thanks Lea!
1455     (Still need to update links in the sandboxes.)
1457 Specific:
1459 * BUGS.txt: Added to project.
1461 * THANKS.txt: Added to project.
1463 * docutils/__init__.py:
1465   - 0.3.4: Post-release.
1467 * docutils/core.py:
1469   - Added special error handling & advice for UnicodeEncodeError.
1470   - Refactored Publisher.publish (simplified exception handling &
1471     extracted debug dumps).
1472   - Renamed "enable_exit" parameter of convenience functions to
1473     "enable_exit_status".
1474   - Enabled traceback (exception propagation) by default in
1475     programmatic convenience functions.
1476   - Now publish_file and publish_cmdline convenience functions return
1477     the encoded string results in addition to their regular I/O.
1478   - Extracted common code from publish_file, publish_string, and
1479     publish_parts, into new publish_programmatically.  Extracted
1480     settings code to ``Publisher.process_programmatic_settings``.
1481   - In Publisher.publish, disabled ``settings_overrides`` when
1482     ``settings`` is supplied; redundant.
1484 * docutils/frontend.py:
1486   - Added help text for "--output-encoding-error-handler" and
1487     "--error-encoding-error-handler".
1488   - Renamed "--exit" to "--exit-status".
1489   - Simplified default-setting code.
1491 * docutils/parsers/rst/__init__.py:
1493   - Added "--pep-base-url" and "--rfc-base-url" options.
1495 * docutils/parsers/rst/states.py:
1497   - Made URI recognition more aggressive and intelligent.
1499 * docutils/parsers/rst/directives/__init__.py:
1501   - Added several directive option conversion functions.
1503 * docutils/parsers/rst/directives/body.py:
1505   - Moved "table" directive to tables.py.
1507 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1508   added to project.
1510 * docutils/writers/latex2e.py:
1512   - Added "--table-style=(standard|booktabs|nolines)"
1513   - figures get "here" option (LaTeX per default puts them at bottom),
1514     and figure content is centered.
1515   - Rowspan support for tables.
1516   - Fix: admonition titles before first section.
1517   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1518   - Replave ``_`` in literal by an underlined blank, because it has the correct
1519     width.
1520   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1521   - A few unicode replacements, if output_encoding != utf
1522   - Add "--graphicx-option".
1523   - Indent literal-blocks.
1524   - Fix: omit ``\maketitle`` when there is no document title.
1526 * docs/index.txt: "Docutils Project Documentation Overview", added to
1527   project.
1529 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1530   Tool", added to project.
1532 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1534 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1536 * docs/dev/policies.txt: Added to project (extracted from
1537   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1539 * docs/dev/release.txt: Added to project (extracted from
1540   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1542 * docs/dev/testing.txt: Added to project.
1544 * docs/dev/website.txt: Added to project (extracted from
1545   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1547 * docs/ref/rst/directives.txt:
1549   - Added directives: "table", "csv-table".
1551 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1552   added to project.  1 page for syntax, and a 1 page reference for
1553   directives and roles.  Source text to be used as-is; not meant to be
1554   converted to HTML.
1556 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1557   with a change of title.
1559 * test/functional/, contents, and test/test_functional.py: Added to
1560   project.
1562 * tools/buildhtml.py: Fixed bug with config file handling.
1564 * tools/html.py: Removed from project (duplicate of rst2html.py).
1566 * tools/pep2html.py: Removed from project (duplicate of Python's
1567   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1568   Docutils-related PEPs in docs/peps/).
1570 * tools/rst2pseudoxml.py: Renamed from publish.py.
1572 * tools/rst2xml.py: Renamed from docutils-xml.py.
1574 * tools/test.txt: Removed from project; moved to
1575   docs/user/rst/demo.txt.
1577 * setup.py: Now also installs ``rst2latex.py``.
1580 Release 0.3.3 (2004-05-09)
1581 ==========================
1583 * docutils/__init__.py:
1585   - 0.3.1: Reorganized config file format (multiple sections); see
1586     docs/config.txt.
1587   - Added unknown_reference_resolvers attribute to TransformSpec.
1588   - 0.3.2: Interpreted text reorganization.
1589   - 0.3.3: Released.
1591 * docutils/core.py:
1593   - Catch system messages to stop tracebacks from parsing errors.
1594   - Catch exceptions during processing report & exit without
1595     tracebacks, except when "--traceback" used.
1596   - Reordered components for OptionParser; application comes last.
1597   - Added "config_section" parameter to several methods and functions,
1598     allowing front ends to easily specify their config file sections.
1599   - Added publish_parts convenience function to allow access to individual
1600     parts of a document.
1602 * docutils/examples.py: Added to project; practical examples of
1603   Docutils client code, to be used as-is or as models for variations.
1605 * docutils/frontend.py:
1607   - Added "--traceback" & "--no-traceback" options ("traceback"
1608     setting).
1609   - Implemented support for config file reorganization:
1610     ``standard_config_files`` moved from ``ConfigParser`` to
1611     ``OptionParser``; added
1612     ``OptionParser.get_config_file_settings()`` and
1613     ``.get_standard_config_settings()``; support for old "[options]"
1614     section (with deprecation warning) and mapping from old to new
1615     settings.
1616   - Reimplemented setting validation.
1617   - Enabled flexible boolean values: yes/no, true/false, on/off.
1618   - Added ``Values``, a subclass of ``optparse.Values``, with support
1619     for list setting attributes.
1620   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1621     thanks to Beni Cherniavsky.
1622   - Added "--no-section-numbering" option.
1624 * docutils/io.py:
1626   - Catch IOErrors when opening source & destination files, report &
1627     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1628     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1630 * docutils/nodes.py:
1632   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1633     method definitions (via ``exec``) to dynamic assignments (via
1634     ``setattr``); thanks to Roman Suzi.
1635   - Encapsulated visitor dynamic assignments in a function; thanks to
1636     Ian Bicking.
1637   - Added indirect_reference_name attribute to the Targetable
1638     class. This attribute holds the whitespace_normalized_name
1639     (contains mixed case) of a target.
1641 * docutils/statemachine.py:
1643   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1644   - Added ``StringList.get_2D_block``.
1646 * docutils/utils.py:
1648   - Added "level" attribute to SystemMessage exceptions.
1650 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1651   Jannie Hofmeyr.
1653 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1654   Blaha.
1656 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1657   Marcelo Huerta San Martin.
1659 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1660   mappings by Lalo Martins.
1662 * docutils/languages/ru.py: Added to project; Russian mappings by
1663   Roman Suzi.
1665 * docutils/parsers/rst/roles.py: Added to project.  Contains
1666   interpreted text role functions, a registry for interpreted text
1667   roles, and an API for adding to and retrieving from the registry.
1668   Contributed by Edward Loper.
1670 * docutils/parsers/rst/states.py:
1672   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1673   - Allowed true em-dash character and "---" as block quote
1674     attribution marker.
1675   - Added support for <angle-bracketed> complex option arguments
1676     (option lists).
1677   - Fixed handling of backslashes in substitution definitions.
1678   - Fixed off-by-1 error with extra whitespace after substitution
1679     definition directive.
1680   - Added inline markup parsing to field lists' field names.
1681   - Added support for quoted (and unindented) literal blocks.
1682     Driven in part by a bribe from Frank Siebenlist (thanks!).
1683   - Parser now handles escapes in URIs correctly.
1684   - Made embedded-URIs' reference text omittable.  Idea from Beni
1685     Cherniavsky.
1686   - Refactored explicit target processing code.
1687   - Added name attribute to references containing the reference name only
1688     through whitespace_normalize_name (no case changes).
1689   - parse_target no longer returns the refname after going through
1690     normalize_name. This is now handled in make_target.
1691   - Fixed bug relating to role-less interpreted text in non-English
1692     contexts.
1693   - Reorganized interpreted text processing; moved code into the new
1694     roles.py module.  Contributed by Edward Loper.
1695   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1696     ``parse_directive_block``.
1698 * docutils/parsers/rst/tableparser.py:
1700   - Reworked for ``StringList``, to support "include" directives in
1701     table cells.
1703 * docutils/parsers/rst/directives/__init__.py:
1705   - Renamed ``unchanged()`` directive option conversion function to
1706     ``unchanged_required``, and added a new ``unchanged``.
1707   - Catch unicode value too high error; fixes bug 781766.
1708   - Beefed up directive error reporting.
1710 * docutils/parsers/rst/directives/body.py:
1712   - Added basic "table" directive.
1714 * docutils/parsers/rst/directives/images.py:
1716   - Added "target" option to "image" directive.
1717   - Added name attribute to references containing the reference name only
1718     through whitespace_normalize_name (no case changes).
1720 * docutils/parsers/rst/directives/misc.py:
1722   - Isolated the import of the ``urllib2`` module; was causing
1723     problems on SourceForge (``libssl.so.2`` unavailable?).
1724   - Added the "role" directive for declaring custom interpreted text
1725     roles.
1727 * docutils/parsers/rst/directives/parts.py:
1729   - The "contents" directive does more work up-front, creating the
1730     "topic" and "title", and leaving the "pending" node for the
1731     transform.  Allows earlier reference resolution; fixes subtle bug.
1733 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1734   mappings by Jannie Hofmeyr.
1736 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1737   mappings by Marek Blaha.
1739 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1740   mappings by Marcelo Huerta San Martin.
1742 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1743   Portuguese mappings by Lalo Martins.
1745 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1746   mappings by Roman Suzi.
1748 * docutils/transforms/parts.py:
1750   - The "contents" directive does more work up-front, creating the
1751     "topic" and "title", and leaving the "pending" node for the
1752     transform.  Allows earlier reference resolution; fixes subtle bug.
1753   - Added support for disabling of section numbering.
1755 * docutils/transforms/references.py:
1757   - Verifying that external targets are truly targets and not indirect
1758     references. This is because we are now adding a "name" attribute to
1759     references in addition to targets. Note sure if this is correct!
1760   - Added code to hook into the unknown_reference_resolvers list for a
1761     transformer in resolve_indirect_target. This allows the
1762     unknown_reference_resolvers to keep around indirect targets which
1763     docutils doesn't know about.
1764   - Added specific error message for duplicate targets.
1766 * docutils/transforms/universal.py:
1768   - Added FilterMessages transform (removes system messages below the
1769     verbosity threshold).
1770   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1771     to FinalCheckVisitor for application-specific handling of
1772     unresolvable references.
1773   - Added specific error message for duplicate targets.
1775 * docutils/writers/__init__.py:
1777   - Added assemble_parts method to the Writer class to allow for
1778     access to a documents individual parts.
1779   - Documented & set default for ``Writer.output`` attribute.
1781 * docutils/writers/html4css1.py:
1783   - Fixed unicode handling of attribute values (bug 760673).
1784   - Prevent duplication of "class" attribute values (bug report from
1785     Kirill Lapshin).
1786   - Improved table grid/border handling (prompted by report from Bob
1787     Marshall).
1788   - Added support for table titles.
1789   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1790     to Darek Suchojad.
1791   - Added functionality to keep track of individual parts of a document
1792     and store them in a dictionary as the "parts" attribute of the writer.
1793     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1794   - Added proper support for the "scale" attribute of the "image"
1795     element.  Contributed by Brent Cook.
1796   - Added ``--initial-header-level`` option.
1797   - Fixed bug: the body_pre_docinfo segment depended on there being a
1798     docinfo; if no docinfo, the document title was incorporated into
1799     the body segment.  Adversely affected the publish_parts interface.
1801 * docutils/writers/latex2e.py:
1803   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1804     about a missing file.
1805   - Added options and support: ``--compound-enumerators``,
1806     ``--section-prefix-for-enumerators``, and
1807     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1808     934322).
1809   - Added option ``--use-verbatim-when-possible``, to avoid
1810     problematic characters (eg, '~' in italian) in literal blocks.
1811   - It's now possible to use four section levels in the `book` and
1812     `report` LaTeX classes.  The default `article` class still has
1813     three levels limit.
1815 * docs/config.txt: "Docutils Configuration Files", added to project.
1816   Moved config file entry descriptions from tools.txt.
1818 * docs/tools.txt:
1820   - Moved config file entry descriptions to config.txt.
1822 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
1823   Development".
1825 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1826   Text Roles", added to project.
1828 * spec/rst/reStructuredText.txt:
1830   - Added description of support for <angle-bracketed> complex option
1831     arguments to option lists.
1832   - Added subsections for indented and quoted literal blocks.
1834 * test: Continually adding & updating tests.
1836   - Added test/test_settings.py & test/data/config_*.txt support
1837     files.
1838   - Added test/test_writers/test_htmlfragment.py.
1840 * test/DocutilsTestSupport.py:
1842   - Refactored LaTeX publisher test suite/case class names to make
1843     testing other writers easier.
1844   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1845     to test the processing of HTML fragments which use the new
1846     publish_parts convenience function.
1848 * tools/buildhtml.py:
1850   - Added support for the "--prune" option.
1851   - Removed dependency on pep2html.py; plaintext PEPs no longer
1852     supported.
1854 * tools/docutils.conf:
1856   - Updated for configuration file reorganization.
1858 * tools/rst2html.py:
1860   - copied from tools/html.py
1862 * setup.py:
1864   - added a 'scripts' section to configuration
1865   - added 'tools/rst2html.py' to the scripts section
1868 Release 0.3 (2003-06-24)
1869 ========================
1871 General:
1873 * Renamed "attribute" to "option" for directives/extensions.
1875 * Renamed transform method "transform" to "apply".
1877 * Renamed "options" to "settings" for runtime settings (as set by
1878   command-line options).  Sometimes "option" (singular) became
1879   "settings" (plural).  Some variations below:
1881   - document.options -> document.settings (stored in other objects as
1882     well)
1883   - option_spec -> settings_spec (not directives though)
1884   - OptionSpec -> SettingsSpec
1885   - cmdline_options -> settings_spec
1886   - relative_path_options -> relative_path_settings
1887   - option_default_overrides -> settings_default_overrides
1888   - Publisher.set_options -> Publisher.get_settings
1890 Specific:
1892 * COPYING.txt: Added "Public Domain Dedication".
1894 * FAQ.txt: Frequently asked questions, added to project.
1896 * setup.py:
1898   - Updated with PyPI Trove classifiers.
1899   - Conditional installation of third-party modules.
1901 * docutils/__init__.py:
1903   - Bumped version to 0.2.1 to reflect changes to I/O classes.
1904   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1905   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1906   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1907     option and its effect on the PEP template & writer.
1908   - Bumped version to 0.2.4 due to changes to the PEP template &
1909     stylesheet.
1910   - Bumped version to 0.2.5 to reflect changes to Reporter output.
1911   - Added ``TransformSpec`` class for new transform system.
1912   - Bumped version to 0.2.6 for API changes (renaming).
1913   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1914     convenience functions.
1915   - Added ``Component.component_type`` attribute.
1916   - Bumped version to 0.2.8 because of the internal parser switch from
1917     plain lists to the docutils.statemachine.StringList objects.
1918   - Bumped version to 0.2.9 because of the frontend.py API changes.
1919   - Bumped version to 0.2.10 due to changes to the project layout
1920     (third-party modules removed from the "docutils" package), and
1921     signature changes in ``io.Input``/``io.Output``.
1922   - Changed version to 0.3.0 for release.
1924 * docutils/core.py:
1926   - Made ``publish()`` a bit more convenient.
1927   - Generalized ``Publisher.set_io``.
1928   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1929     parameters; improved its docstring.
1930   - Added ``publish_file()`` and ``publish_string()``.
1931   - Factored ``Publisher.set_source()`` and ``.set_destination()``
1932     out of ``.set_io``.
1933   - Added support for "--dump-pseudo-xml", "--dump-settings", and
1934     "--dump-transforms" hidden options.
1935   - Added ``Publisher.apply_transforms()`` method.
1936   - Added ``Publisher.set_components()`` method; support for
1937     ``publish_*()`` conveninece functions.
1938   - Moved config file processing to docutils/frontend.py.
1939   - Added support for exit status ("exit_level" setting &
1940     ``enable_exit`` parameter for Publisher.publish() and convenience
1941     functions).
1943 * docutils/frontend.py:
1945   - Check for & exit on identical source & destination paths.
1946   - Fixed bug with absolute paths & "--config".
1947   - Set non-command-line defaults in ``OptionParser.__init__()``:
1948     ``_source`` & ``_destination``.
1949   - Distributed ``relative_path_settings`` to components; updated
1950     ``OptionParser.populate_from_components()`` to combine it all.
1951   - Require list of keys in ``make_paths_absolute`` (was implicit in
1952     global ``relative_path_settings``).
1953   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1954     "--dump-settings", and "--dump-transforms" hidden options.
1955   - Removed nasty internals-fiddling ``ConfigParser.get_section``
1956     code, replaced with correct code.
1957   - Added validation functionality for config files.
1958   - Added "--error-encoding" option/setting, "_disable_config"
1959     internal setting.
1960   - Added encoding validation; updated "--input-encoding" and
1961     "--output-encoding"; added "--error-encoding-error-handler" and
1962     "--output-encoding-error-handler".
1963   - Moved config file processing from docutils/core.py.
1964   - Updated ``OptionParser.populate_from_components`` to handle new
1965     ``SettingsSpec.settings_defaults`` dict.
1966   - Added support for "-" => stdin/stdout.
1967   - Added "exit_level" setting ("--exit" option).
1969 * docutils/io.py:
1971   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1972   - Added automatic closing to ``FileInput`` and ``FileOutput``.
1973   - Delayed opening of ``FileOutput`` file until ``write()`` called.
1974   - ``FileOutput.write()`` now returns the encoded output string.
1975   - Try to get path/stream name automatically in ``FileInput`` &
1976     ``FileOutput``.
1977   - Added defaults for source & destination paths.
1978   - Allow for Unicode I/O with an explicit "unicode" encoding.
1979   - Added ``Output.encode()``.
1980   - Removed dependency on runtime settings; pass encoding directly.
1981   - Recognize Unicode strings in ``Input.decode()``.
1982   - Added support for output encoding error handlers.
1984 * docutils/nodes.py:
1986   - Added "Invisible" element category class.
1987   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1988     modification during a traversal.
1989   - Added element classes: ``line_block``, ``generated``, ``address``,
1990     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1991     ``superscript``, ``subscript``, ``inline``
1992   - Added support for lists of nodes to ``Element.insert()``.
1993   - Fixed parent linking in ``Element.replace()``.
1994   - Added new abstract superclass ``FixedTextElement``; adds
1995     "xml:space" attribute.
1996   - Added support for "line" attribute of ``system_message`` nodes.
1997   - Added support for the observer pattern from ``utils.Reporter``.
1998     Added ``parse_messages`` and ``transform_messages`` attributes to
1999     ``document``, removed ``messages``.  Added ``note_parse_message``
2000     and ``note_transform_message`` methods.
2001   - Added support for improved diagnostics:
2003     - Added "document", "source", and "line" internal attributes to
2004       ``Node``, set by ``Node.setup_child()``.
2005     - Converted variations on ``node.parent = self`` to
2006       ``self.setup_child(node)``.
2007     - Added ``document.current_source`` & ``.current_line``
2008       attributes, and ``.note_source`` observer method.
2009     - Changed "system_message" output to GNU-Tools format.
2011   - Added a "rawsource" attribute to the ``Text`` class, for text
2012     before backslash-escape resolution.
2013   - Support for new transform system.
2014   - Reworked ``pending`` element.
2015   - Fixed XML DOM bug (SF #660611).
2016   - Removed the ``interpeted`` element class and added
2017     ``title_reference``, ``abbreviation``, ``acronym``.
2018   - Made substitutions case-sensitive-but-forgiving; moved some code
2019     from the parser.
2020   - Fixed Unicode bug on element attributes (report: William Dode).
2022 * docutils/optik.py: Removed from project; replaced with
2023   extras/optparse.py and extras/textwrap.py.  These will be installed
2024   only if they're not already present in the Python installation.
2026 * docutils/roman.py: Moved to extras/roman.py; this will be installed
2027   only if it's not already present in the Python installation.
2029 * docutils/statemachine.py:
2031   - Factored out ``State.add_initial_transitions()`` so it can be
2032     extended.
2033   - Converted whitespace-specific "blank" and "indent" transitions
2034     from special-case code to ordinary transitions: removed
2035     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
2036     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
2037     ``ws_initial_transitions`` attributes.
2038   - Removed ``State.match_transition()`` after merging it into
2039     ``.check_line()``.
2040   - Added ``StateCorrection`` exception.
2041   - Added support for ``StateCorrection`` in ``StateMachine.run()``
2042     (moved ``TransitionCorrection`` support there too.)
2043   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
2044     ``EOFError`` instead of ``IndexError``.
2045   - Added ``State.no_match`` method.
2046   - Added support for the Observer pattern, triggered by input line
2047     changes.
2048   - Added ``strip_top`` parameter to
2049     ``StateMachineWS.get_first_known_indented``.
2050   - Made ``context`` a parameter to ``StateMachine.run()``.
2051   - Added ``ViewList`` & ``StringList`` classes;
2052     ``extract_indented()`` becomes ``StringList.get_indented()``.
2053   - Added ``StateMachine.insert_input()``.
2054   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
2055     thanks to) Fred Drake.
2057 * docutils/utils.py:
2059   - Added a ``source`` attribute to Reporter instances and
2060     ``system_message`` elements.
2061   - Added an observer pattern to ``utils.Reporter`` to keep track of
2062     system messages.
2063   - Fixed bugs in ``relative_path()``.
2064   - Added support for improved diagnostics.
2065   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
2066   - Added support for encoding Reporter stderr output, and encoding
2067     error handlers.
2068   - Reporter keeps track of the highest level system message yet
2069     generated.
2071 * docutils/languages: Fixed bibliographic field language lookups.
2073 * docutils/languages/es.py: Added to project; Spanish mappings by
2074   Marcelo Huerta San Martin.
2076 * docutils/languages/fr.py: Added to project; French mappings by
2077   Stefane Fermigier.
2079 * docutils/languages/it.py: Added to project; Italian mappings by
2080   Nicola Larosa.
2082 * docutils/languages/sk.py: Added to project; Slovak mappings by
2083   Miroslav Vasko.
2085 * docutils/parser/__init__.py:
2087   - Added ``Parser.finish_parse()`` method.
2089 * docutils/parser/rst/__init__.py:
2091   - Added options: "--pep-references", "--rfc-references",
2092     "--tab-width", "--trim-footnote-reference-space".
2094 * docutils/parsers/rst/states.py:
2096   - Changed "title under/overline too short" system messages from INFO
2097     to WARNING, and fixed its insertion location.
2098   - Fixed enumerated list item parsing to allow paragraphs & section
2099     titles to begin with enumerators.
2100   - Converted system messages to use the new "line" attribute.
2101   - Fixed a substitution reference edge case.
2102   - Added support for "--pep-references" and "--rfc-references"
2103     options; reworked ``Inliner`` code to make customization easier.
2104   - Removed field argument parsing.
2105   - Added support for short section title over/underlines.
2106   - Fixed "simple reference name" regexp to ignore text like
2107     "object.__method__"; not an anonymous reference.
2108   - Added support for improved diagnostics.
2109   - Reworked directive API, based on Dethe Elza's contribution.  Added
2110     ``Body.parse_directive()``, ``.parse_directive_options()``,
2111     ``.parse_directive_arguments()`` methods.
2112   - Added ``ExtensionOptions`` class, to parse directive options
2113     without parsing field bodies.  Factored
2114     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
2115     ``ExtensionOptions``.
2116   - Improved definition list term/classifier parsing.
2117   - Added warnings for unknown directives.
2118   - Renamed ``Stuff`` to ``Struct``.
2119   - Now flagged as errors: transitions at the beginning or end of
2120     sections, empty sections (except title), and empty documents.
2121   - Updated for ``statemachine.StringList``.
2122   - Enabled recognition of schemeless email addresses in targets.
2123   - Added support for embedded URIs in hyperlink references.
2124   - Added backslash-escapes to inline markup end-string suffix.
2125   - Added support for correct interpreted text processing.
2126   - Fixed nested title parsing (topic, sidebar directives).
2127   - Added special processing of backslash-escaped whitespace (idea
2128     from David Abrahams).
2129   - Made substitutions case-sensitive-but-forgiving; moved some code
2130     to ``docutils.nodes``.
2131   - Added support for block quote attributions.
2132   - Added a kludge to work-around a conflict between the bubble-up
2133     parser strategy and short titles (<= 3 char-long over- &
2134     underlines).  Fixes SF bug #738803 "infinite loop with multiple
2135     titles" submitted by Jason Diamond.
2136   - Added explicit interpreted text roles for standard inline markup:
2137     "emphasis", "strong", "literal".
2138   - Implemented "superscript" and "subscript" interpreted text roles.
2139   - Added initial support for "abbreviation" and "acronym" roles;
2140     incomplete.
2141   - Added support for "--trim-footnote-reference-space" option.
2142   - Optional space before colons in directives & hyperlink targets.
2144 * docutils/parsers/rst/tableparser.py:
2146   - Fixed a bug that was producing unwanted empty rows in "simple"
2147     tables.
2148   - Detect bad column spans in "simple" tables.
2150 * docutils/parsers/rst/directives: Updated all directive functions to
2151   new API.
2153 * docutils/parsers/rst/directives/__init__.py:
2155   - Added ``flag()``, ``unchanged()``, ``path()``,
2156     ``nonnegative_int()``, ``choice()``, and ``class_option()``
2157     directive option helper functions.
2158   - Added warnings for unknown directives.
2159   - Return ``None`` for missing directives.
2160   - Added ``register_directive()``, thanks to William Dode and Paul
2161     Moore.
2163 * docutils/parsers/rst/directives/admonitions.py:
2165   - Added "admonition" directive.
2167 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
2168   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2169   "parsed-literal", "rubric", "epigraph", "highlights" and
2170   "pull-quote" directives.
2172 * docutils/parsers/rst/directives/images.py:
2174   - Added an "align" attribute to the "image" & "figure" directives
2175     (by Adam Chodorowski).
2176   - Added "class" option to "image", and "figclass" to "figure".
2178 * docutils/parsers/rst/directives/misc.py:
2180   - Added "include", "raw", and "replace" directives, courtesy of
2181     Dethe Elza.
2182   - Added "unicode" and "class" directives.
2184 * docutils/parsers/rst/directives/parts.py:
2186   - Added the "sectnum" directive; by Dmitry Jemerov.
2187   - Added "class" option to "contents" directive.
2189 * docutils/parsers/rst/directives/references.py: Added to project.
2190   Contains the "target-notes" directive.
2192 * docutils/parsers/rst/languages/__init__.py:
2194   - Return ``None`` from get_language() for missing language modules.
2196 * docutils/parsers/rst/languages/de.py: Added to project; German
2197   mappings by Engelbert Gruber.
2199 * docutils/parsers/rst/languages/en.py:
2201   - Added interpreted text roles mapping.
2203 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2204   mappings by Marcelo Huerta San Martin.
2206 * docutils/parsers/rst/languages/fr.py: Added to project; French
2207   mappings by William Dode.
2209 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2210   mappings by Nicola Larosa.
2212 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2213   mappings by Miroslav Vasko.
2215 * docutils/readers/__init__.py:
2217   - Added support for the observer pattern from ``utils.Reporter``, in
2218     ``Reader.parse`` and ``Reader.transform``.
2219   - Removed ``Reader.transform()`` method.
2220   - Added default parameter values to ``Reader.__init__()`` to make
2221     instantiation easier.
2222   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2224 * docutils/readers/pep.py:
2226   - Added the ``peps.TargetNotes`` transform to the Reader.
2227   - Removed PEP & RFC reference detection code; moved to
2228     parsers/rst/states.py as options (enabled here by default).
2229   - Added support for pre-acceptance PEPs (no PEP number yet).
2230   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2231     easy subclassing.
2233 * docutils/readers/python: Python Source Reader subpackage added to
2234   project, including preliminary versions of:
2236   - __init__.py
2237   - moduleparser.py: Parser for Python modules.
2239 * docutils/transforms/__init__.py:
2241   - Added ``Transformer`` class and completed transform reform.
2242   - Added unknown_reference_resolvers list for each transformer. This list holds
2243     the list of functions provided by each component of the transformer that
2244     help resolve references.
2246 * docutils/transforms/frontmatter.py:
2248   - Improved support for generic fields.
2249   - Fixed bibliographic field language lookups.
2251 * docutils/transforms/misc.py: Added to project.  Miscellaneous
2252   transforms.
2254 * docutils/transforms/parts.py:
2256   - Moved the "id" attribute from TOC list items to the references
2257     (``Contents.build_contents()``).
2258   - Added the ``SectNum`` transform; by Dmitry Jemerov.
2259   - Added "class" attribute support to ``Contents``.
2261 * docutils/transforms/peps.py:
2263   - Added ``mask_email()`` function, updating to pep2html.py's
2264     functionality.
2265   - Linked "Content-Type: text/x-rst" to PEP 12.
2266   - Added the ``TargetNotes`` PEP-specific transform.
2267   - Added ``TargetNotes.cleanup_callback``.
2268   - Added title check to ``Headers``.
2270 * docutils/transforms/references.py:
2272   - Added the ``TargetNotes`` generic transform.
2273   - Split ``Hyperlinks`` into multiple transforms.
2274   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2275   - Added check for circular indirect references.
2276   - Made substitutions case-sensitive-but-forgiving.
2278 * docutils/transforms/universal.py:
2280   - Added support for the "--expose-internal-attributes" option.
2281   - Removed ``Pending`` transform classes & data.
2283 * docutils/writers/__init__.py:
2285   - Removed ``Writer.transform()`` method.
2287 * docutils/writers/docutils-xml.py:
2289   - Added XML and doctype declarations.
2290   - Added "--no-doctype" and "--no-xml-declaration" options.
2292 * docutils/writers/html4css1.py:
2294   - "name" attributes only on these tags: a, applet, form, frame,
2295     iframe, img, map.
2296   - Added "name" attribute to <a> in section titles for Netscape 4
2297     support (bug report: Pearu Peterson).
2298   - Fixed targets (names) on footnote, citation, topic title,
2299     problematic, and system_message nodes (for Netscape 4).
2300   - Changed field names from "<td>" to "<th>".
2301   - Added "@" to "&#64;" encoding to thwart address harvesters.
2302   - Improved the vertical whitespace optimization; ignore "invisible"
2303     nodes (targets, comments, etc.).
2304   - Improved inline literals with ``<span class="pre">`` around chunks
2305     of text and ``&nbsp;`` for runs of spaces.
2306   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2307     ``self.docinfo`` segments.
2308   - Added support for "line_block", "address" elements.
2309   - Improved backlinks (footnotes & system_messages).
2310   - Improved system_message output.
2311   - Redefined "--stylesheet" as containing an invariant URL, used
2312     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2313     working directory.
2314   - Added "--footnote-references" option (superscript or brackets).
2315   - Added "--compact-lists" and "--no-compact-lists" options.
2316   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2317     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2318   - Improved field list rendering.
2319   - Added Docutils version to "generator" meta tag.
2320   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2321   - Improved layout of <pre> HTML source.
2322   - Fixed attribute typo on <colspec>.
2323   - Refined XML prologue.
2324   - Support for no stylesheet.
2325   - Removed "interpreted" element support.
2326   - Added support for "title_reference", "sidebar", "attribution",
2327     "rubric", and generic "admonition" elements.
2328   - Added "--attribution" option.
2329   - Added support for "inline", "subscript", "superscript" elements.
2330   - Added initial support for "abbreviation" and "acronym";
2331     incomplete.
2333 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2334   (from the sandbox).
2336   - Added french.
2337   - Double quotes in literal blocks (special treatment for de/ngerman).
2338   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2339   - Added  "--attribution" option.
2340   - Right align attributions.
2342 * docutils/writers/pep_html.py:
2344   - Parameterized output encoding in PEP template.
2345   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2346   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2347     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2348     working directory.
2349   - Added an override on the "--footnote-references" option.
2350   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2351   - Added Docutils version to "generator" meta tag.
2352   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2354 * docs/tools.txt:
2356   - Added a "silent" setting for ``buildhtml.py``.
2357   - Added a "Getting Help" section.
2358   - Rearranged the structure.
2359   - Kept up to date, with new settings, command-line options etc.
2360   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2361   - Converted settings table into a definition list.
2363 * docs/rst/quickstart.txt:
2365   - Added a table of contents.
2366   - Added feedback information.
2367   - Added mention of minimum section title underline lengths.
2368   - Removed the 4-character minimum for section title underlines.
2370 * docs/rst/quickref.html:
2372   - Added a "Getting Help" section.
2373   - Added a style to make section title backlinks more subtle.
2374   - Added mention of minimum section title underline lengths.
2375   - Removed the 4-character minimum for section title underlines.
2377 * extras: Directory added to project; contains third-party modules
2378   that Docutils depends on (optparse, textwrap, roman).  These are
2379   only installed if they're not already present.
2381 * licenses: Directory added to project; contains copies of license
2382   files for non-public-domain files.
2384 * spec/doctree.txt:
2386   - Changed the focus.  It's about DTD elements:  structural
2387     relationships, semantics, and external (public) attributes.  Not
2388     about the element class library.
2389   - Moved some implementation-specific stuff into ``docutils.nodes``
2390     docstrings.
2391   - Wrote descriptions of all common attributes and parameter
2392     entities.  Filled in introductory material.
2393   - Working through the element descriptions: 55 down, 37 to go.
2394   - Removed "Representation of Horizontal Rules" to
2395     spec/rst/alternatives.txt.
2397 * spec/docutils.dtd:
2399   - Added "generated" inline element.
2400   - Added "line_block" body element.
2401   - Added "auto" attribute to "title".
2402   - Changed content models of "literal_block" and "doctest_block" to
2403     ``%text.model``.
2404   - Added ``%number;`` attribute type parameter entity.
2405   - Changed ``%structural.elements;`` to ``%section.elements``.
2406   - Updated attribute types; made more specific.
2407   - Added "address" bibliographic element.
2408   - Added "line" attribute to ``system_message`` element.
2409   - Removed "field_argument" element; "field_name" may contain
2410     multiple words and whitespace.
2411   - Changed public identifier to docutils.sf.net.
2412   - Removed "interpreted" element; added "title_reference",
2413     "abbreviation", "acronym".
2414   - Removed "refuri" attribute from "footnote_reference" and
2415     "citation_reference".
2416   - Added "sidebar", "rubric", "attribution", "admonition",
2417     "superscript", "subscript", and "inline" elements.
2419 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2421 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2423 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2425 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2426   Dallas Mahrt.
2428 * spec/transforms.txt: Added to project.
2430 * spec/howto: Added subdirectory, for developer how-to docs.
2432 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2433   Elza, edited & extended by David Goodger.
2435 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
2436   project.
2438 * spec/rst/alternatives.txt:
2440   - Added "Doctree Representation of Transitions" from
2441     spec/doctree.txt.
2442   - Updated "Inline External Targets" & closed the debate.
2443   - Added ideas for interpreted text syntax extensions.
2444   - Added "Nested Inline Markup" section.
2446 * spec/rst/directives.txt:
2448   - Added directives: "topic", "sectnum", "target-notes",
2449     "line-block", "parsed-literal", "include", "replace", "sidebar",
2450     "admonition", "rubric", "epigraph", "highlights", "unicode" and
2451     "class".
2452   - Formalized descriptions of directive details.
2453   - Added an "align" attribute to the "image" & "figure" directives
2454     (by Adam Chodorowski).
2455   - Added "class" options to "topic", "sidebar", "line-block",
2456     "parsed-literal", "contents", and "image"; and "figclass" to
2457     "figure".
2459 * spec/rst/interpreted.txt: Added to project.  Descriptions of
2460   interpreted text roles.
2462 * spec/rst/introduction.txt:
2464   - Added pointers to material for new users.
2466 * spec/rst/reStructuredText.txt:
2468   - Disambiguated comments (just add a newline after the "::").
2469   - Updated enumerated list description; added a discussion of the
2470     second-line validity checking.
2471   - Updated directive description.
2472   - Added a note redirecting newbies to the user docs.
2473   - Expanded description of inline markup start-strings in non-markup
2474     contexts.
2475   - Removed field arguments and made field lists a generic construct.
2476   - Removed the 4-character minimum for section title underlines.
2477   - Clarified term/classifier delimiter & inline markup ambiguity
2478     (definition lists).
2479   - Added "Embedded URIs".
2480   - Updated "Interpreted Text" section.
2481   - Added "Character-Level Inline Markup" section.
2483 * test: Continually adding & updating tests.
2485   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2486   - Moved test/test_pep/ to test/test_readers/test_pep/.
2487   - Added test/test_readers/test_python/.
2488   - Added test/test_writers/ (Engelbert Gruber).
2490 * tools:
2492   - Made the ``locale.setlocale()`` calls in front ends
2493     fault-tolerant.
2495 * tools/buildhtml.py:
2497   - Added "--silent" option.
2498   - Fixed bug with absolute paths & "--config".
2499   - Updated for new I/O classes.
2500   - Added some exception handling.
2501   - Separated publishers' setting defaults; prevents interference.
2502   - Updated for new ``publish_file()`` convenience function.
2504 * tools/pep-html-template:
2506   - Allow for "--embed-stylesheet".
2507   - Added Docutils version to "generator" meta tag.
2508   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2509   - Conform to XHTML spec.
2511 * tools/pep2html.py:
2513   - Made ``argv`` a parameter to ``main()``.
2514   - Added support for "Content-Type:" header & arbitrary PEP formats.
2515   - Linked "Content-Type: text/plain" to PEP 9.
2516   - Files skipped (due to an error) are not pushed onto the server.
2517   - Updated for new I/O classes.
2518   - Added ``check_requirements()`` & ``pep_type_error()``.
2519   - Added some exception handling.
2520   - Updated for new ``publish_string()`` convenience function.
2521   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2523 * tools/quicktest.py:
2525   - Added "-V"/"--version" option.
2527 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2529 * tools/unicode2rstsubs.py: Added to project.  Produces character
2530   entity files (reSructuredText substitutions) from the MathML master
2531   unicode.xml file.
2533 * tools/editors: Support code for editors, added to project.  Contains
2534   ``emacs/restructuredtext.el``.
2536 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2538   - Added style for chunks of inline literals.
2539   - Removed margin for first child of table cells.
2540   - Right-aligned field list names.
2541   - Support for auto-numbered section titles in TOCs.
2542   - Increased the size of inline literals (<tt>) in titles.
2543   - Restored the light gray background for inline literals.
2544   - Added support for "line_block" elements.
2545   - Added style for "address" elements.
2546   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2547   - Improved field list rendering.
2548   - Vertical whitespace improvements.
2549   - Removed "a.target" style.
2551 * tools/stylesheets/pep.css:
2553   - Fixed nested section margins.
2554   - Other changes parallel those of ``../default.css``.
2557 Release 0.2 (2002-07-31)
2558 ========================
2560 General:
2562 - The word "component" was being used ambiguously.  From now on,
2563   "component" will be used to mean "Docutils component", as in Reader,
2564   Writer, Parser, or Transform.  Portions of documents (Table of
2565   Contents, sections, etc.)  will be called "document parts".
2566 - Did a grand renaming: a lot of ``verylongnames`` became
2567   ``very_long_names``.
2568 - Cleaned up imports: no more relative package imports or
2569   comma-separated lists of top-level modules.
2570 - Added support for an option values object which carries default
2571   settings and overrides (from command-line options and library use).
2572 - Added internal Unicode support, and support for both input and
2573   output encodings.
2574 - Added support for the ``docutils.io.IO`` class & subclasses.
2576 Specific:
2578 * docutils/__init__.py:
2580   - Added ``ApplicationError`` and ``DataError``, for use throughout
2581     the package.
2582   - Added ``Component`` base class for Docutils components; implements
2583     the ``supports`` method.
2584   - Added ``__version__`` (thus, ``docutils.__version__``).
2586 * docutils/core.py:
2588   - Removed many keyword parameters to ``Publisher.__init__()`` and
2589     ``publish()``; bundled into an option values object.  Added
2590     "argv", "usage", "description", and "option_spec" parameters for
2591     command-line support.
2592   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2593     methods.
2594   - Reworked I/O model for ``docutils.io`` wrappers.
2595   - Updated ``Publisher.set_options()``; now returns option values
2596     object.
2597   - Added support for configuration files (/etc/docutils.conf,
2598     ./docutils.conf, ~/.docutils).
2599   - Added ``Publisher.setup_option_parser()``.
2600   - Added default usage message and description.
2602 * docutils/frontend.py: Added to project; support for front-end
2603   (command-line) scripts.  Option specifications may be augmented by
2604   components.  Requires Optik (http://optik.sf.net/) for option
2605   processing (installed locally as docutils/optik.py).
2607 * docutils/io.py: Added to project; uniform API for a variety of input
2608   output mechanisms.
2610 * docutils/nodes.py:
2612   - Added ``TreeCopyVisitor`` class.
2613   - Added a ``copy`` method to ``Node`` and subclasses.
2614   - Added a ``SkipDeparture`` exception for visitors.
2615   - Renamed ``TreePruningException`` from ``VisitorException``.
2616   - Added docstrings to ``TreePruningException``, subclasses, and
2617     ``Nodes.walk()``.
2618   - Improved docstrings.
2619   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2620   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2621     imports.
2622   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2623     ``PreDecorative`` mixin.
2624   - Reworked the name/id bookkeeping; to ``document``, removed
2625     ``explicit_targets`` and ``implicit_targets`` attributes, added
2626     ``nametypes`` attribute and ``set_name_id_map`` method.
2627   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2628     traversals.
2629   - Added ``document.has_name()`` method.
2630   - Fixed DOM generation for list-attributes.
2631   - Added category class ``Labeled`` (used by footnotes & citations).
2632   - Added ``Element.set_class()`` method (sets "class" attribute).
2634 * docutils/optik.py: Added to project.  Combined from the Optik
2635   package, with added option groups and other modifications.  The use
2636   of this module is probably only temporary.
2638 * docutils/statemachine.py:
2640   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2641   - Added underscores to improve many awkward names.
2642   - In ``string2lines()``, changed whitespace normalizing translation
2643     table to regexp; restores Python 2.0 compatibility with Unicode.
2645 * docutils/urischemes.py:
2647   - Filled in some descriptions.
2648   - Added "shttp" scheme.
2650 * docutils/utils.py:
2652   - Added ``clean_rcs_keywords`` function (moved from
2653     docutils/transforms/frontmatter.py
2654     ``DocInfo.filter_rcs_keywords``).
2655   - Added underscores to improve many awkward names.
2656   - Changed names of Reporter's thresholds:
2657     warning_level -> report_level; error_level -> halt_level.
2658   - Moved ``utils.id()`` to ``nodes.make_id()``.
2659   - Added ``relative_path(source, target)``.
2661 * docutils/languages/de.py: German mappings; added to project.  Thanks
2662   to Gunnar Schwant for the translations.
2664 * docutils/languages/en.py: Added "Dedication" bibliographic field
2665   mappings.
2667 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2668   Chodorowski.
2670 * docutils/parsers/rst/states.py:
2672   - Added underscores to improve many awkward names.
2673   - Added RFC-2822 header support.
2674   - Extracted the inline parsing code from ``RSTState`` to a separate
2675     class, ``Inliner``, which will allow easy subclassing.
2676   - Made local bindings for ``memo`` container & often-used contents
2677     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2678   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2679   - Added ``MarkupMismatch`` exception; for late corrections.
2680   - Added ``-/:`` characters to inline markup's start string prefix,
2681     ``/`` to end string suffix.
2682   - Fixed a footnote bug.
2683   - Fixed a bug with literal blocks.
2684   - Applied patch from Simon Budig: simplified regexps with symbolic
2685     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2686   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2687   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2688   - Allowed non-ASCII in "simple names" (directive names, field names,
2689     references, etc.).
2690   - Converted ``Inliner.patterns.initial`` to be dynamically built
2691     from parts with ``build_regexp()`` function.
2692   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2693   - Updated docstrings.
2694   - Changed "table" to "grid_table"; added "simple_table" support.
2696 * docutils/parsers/rst/tableparser.py:
2698   - Changed ``TableParser`` to ``GridTableParser``.
2699   - Added ``SimpleTableParser``.
2700   - Refactored naming.
2702 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2703   a fallback language for directive names.
2705 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2706   directive to use a ``pending`` element, used only by HTML writers.
2708 * docutils/parsers/rst/directives/parts.py: Renamed from
2709   components.py.
2711   - Added "backlinks" attribute to "contents" directive.
2713 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2714   project by Adam Chodorowski.
2716 * docutils/readers/__init__.py: Gave Readers more control over
2717   choosing and instantiating Parsers.
2719 * docutils/readers/pep.py: Added to project; for PEP processing.
2721 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2722   requires a ``component`` parameter.
2724 * docutils/transforms/components.py: Added to project; transforms
2725   related to Docutils components.
2727 * docutils/transforms/frontmatter.py:
2729   - In ``DocInfo.extract_authors``, check for a single "author" in an
2730     "authors" group, and convert it to a single "author" element.
2731   - Added support for "Dedication" and generic bibliographic fields.
2733 * docutils/transforms/peps.py: Added to project; PEP-specific.
2735 * docutils/transforms/parts.py: Renamed from old components.py.
2737   - Added filter for `Contents`, to use alt-text for inline images,
2738     and to remove inline markup that doesn't make sense in the ToC.
2739   - Added "name" attribute to TOC topic depending on its title.
2740   - Added support for optional TOC backlinks.
2742 * docutils/transforms/references.py: Fixed indirect target resolution
2743   in ``Hyperlinks`` transform.
2745 * docutils/transforms/universal.py:
2747   - Changed ``Messages`` transform to properly filter out system
2748     messages below the warning threshold.
2749   - Added ``Decorations`` transform (support for ``--generator``,
2750     ``--date``, ``--time``, ``--source-link`` options).
2752 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2753   Engelbert Gruber's PDF writer.
2755 * docutils/writers/html4css1.py:
2757   - Made XHTML-compatible (switched to lowercase element & attribute
2758     names; empty tag format).
2759   - Escape double-dashes in comment text.
2760   - Improved boilerplate & modularity of output.
2761   - Exposed modular output in Writer class.
2762   - Added a "generator" meta tag to <head>.
2763   - Added support for the ``--stylesheet`` option.
2764   - Added support for ``decoration``, ``header``, and ``footer``
2765     elements.
2766   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2767     translation table to regexp; restores Python 2.0 compatibility
2768     with Unicode.
2769   - Added the translator class as instance variable to the Writer, to
2770     make it easily subclassable.
2771   - Improved option list spacing (thanks to Richard Jones).
2772   - Modified field list output.
2773   - Added backlinks to footnotes & citations.
2774   - Added percentage widths to "<col>" tags (from colspec).
2775   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2776     "<span>" changed to "<var>".
2777   - Inline literals: "<code>" changed to "<tt>".
2778   - Many changes to optimize vertical space: compact simple lists etc.
2779   - Add a command-line options & directive attributes to control TOC
2780     and footnote/citation backlinks.
2781   - Added support for optional footnote/citation backlinks.
2782   - Added support for generic bibliographic fields.
2783   - Identify backrefs.
2784   - Relative URLs for stylesheet links.
2786 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2787   PEPs (subclass of ``html4css1.Writer``).
2789 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2791 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2792   of the Docutils internal doctree in XML.
2794 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2796 * spec/doctree.txt:
2798   - Changed the title to "The Docutils Document Tree".
2799   - Added "Hyperlink Bookkeeping" section.
2801 * spec/docutils.dtd:
2803   - Added ``decoration``, ``header``, and ``footer`` elements.
2804   - Brought ``interpreted`` element in line with the parser: changed
2805     attribute "type" to "role", added "position".
2806   - Added support for generic bibliographic fields.
2808 * spec/notes.txt: Continual updates.  Added "Project Policies".
2810 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2811   section.
2813 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2815 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
2816   mailing list discussions.
2818 * spec/pep-0287.txt:
2820   - Renamed to "reStructuredText Docstring Format".
2821   - Minor edits.
2822   - Reworked Q&A as an enumerated list.
2823   - Converted to reStructuredText format.
2825 * spec/pysource.dtd:
2827   - Reworked structural elements, incorporating ideas from Tony Ibbs.
2829 * spec/pysource.txt: Removed from project.  Moved much of its contents
2830   to pep-0258.txt.
2832 * spec/rst/alternatives.txt:
2834   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2835   - Added "Inline External Targets" section.
2837 * spec/rst/directives.txt:
2839   - Added "backlinks" attribute to "contents" directive.
2841 * spec/rst/problems.txt:
2843   - Updated the Enumerated List Markup discussion.
2844   - Added new alternative table markup syntaxes.
2846 * spec/rst/reStructuredText.txt:
2848   - Clarified field list usage.
2849   - Updated enumerated list description.
2850   - Clarified purpose of directives.
2851   - Added ``-/:`` characters to inline markup's start string prefix,
2852     ``/`` to end string suffix.
2853   - Updated "Authors" bibliographic field behavior.
2854   - Changed "inline hyperlink targets" to "inline internal targets".
2855   - Added "simple table" syntax to supplement the existing but
2856     newly-renamed "grid tables".
2857   - Added cautions for anonymous hyperlink use.
2858   - Added "Dedication" and generic bibliographic fields.
2860 * test: Made test modules standalone (subdirectories became packages).
2862 * test/DocutilsTestSupport.py:
2864   - Added support for PEP extensions to reStructuredText.
2865   - Added support for simple tables.
2866   - Refactored naming.
2868 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2870   - Now supports true packages containing test modules
2871     (``__init__.py`` files required); fixes duplicate module name bug.
2873 * test/test_pep/: Subpackage added to project; PEP testing.
2875 * test/test_rst/test_SimpleTableParser.py: Added to project.
2877 * tools:
2879   - Updated html.py and publish.py front-end tools to use the new
2880     command-line processing facilities of ``docutils.frontend``
2881     (exposed in ``docutils.core.Publisher``), reducing each to just a
2882     few lines of code.
2883   - Added ``locale.setlocale()`` calls to front-end tools.
2885 * tools/buildhtml.py: Added to project; batch-generates .html from all
2886   the .txt files in directories and subdirectories.
2888 * tools/default.css:
2890   - Added support for ``header`` and ``footer`` elements.
2891   - Added styles for "Dedication" topics (biblio fields).
2893 * tools/docutils.conf: A configuration file; added to project.
2895 * tools/docutils-xml.py: Added to project.
2897 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2899 * tools/pep-html-template: Added to project.
2901 * tools/pep2html.py: Added to project from Python (nondist/peps).
2902   Added support for Docutils (reStructuredText PEPs).
2904 * tools/quicktest.py:
2906   - Added the ``--attributes`` option, hacked a bit.
2907   - Added a second command-line argument (output file); cleaned up.
2909 * tools/stylesheets/: Subdirectory added to project.
2911 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2914 Release 0.1 (2002-04-20)
2915 ========================
2917 This is the first release of Docutils, merged from the now inactive
2918 reStructuredText__ and `Docstring Processing System`__ projects.  For
2919 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2920 `DPS HISTORY`__ files.
2922 __ http://structuredtext.sourceforge.net/
2923 __ http://docstring.sourceforge.net/
2924 __ http://structuredtext.sourceforge.net/HISTORY.html
2925 __ http://docstring.sourceforge.net/HISTORY.html
2927 General changes: renamed 'dps' package to 'docutils'; renamed
2928 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2929 the test suites (reStructuredText's test/test_states renamed to
2930 test/test_rst); and all modifications required to make it all work.
2932 * docutils/parsers/rst/states.py:
2934   - Improved diagnostic system messages for missing blank lines.
2935   - Fixed substitution_reference bug.
2939    Local Variables:
2940    mode: indented-text
2941    indent-tabs-mode: nil
2942    sentence-end-double-space: t
2943    fill-column: 70
2944    End: