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