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