Fix version nr in doc title
[docutils.git] / HISTORY.txt
blob33df75179e985310cca81aea30df564e0ce6d55e
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.
40 * docutils/transforms/references.py
42   - Fix [ 3607029 ] traceback with embedded alias pointing to missing target.
44 * docutils/utils/__init__.py
46   - Fix [ 3596884 ] exception importing ``docutils.io``.
48 * docutils/writers/html4css1/__init__.py
50   - Fix [ 3600051 ] for tables in a list, table cells are not compacted.
51   - New setting `stylesheet_dirs`: Comma-separated list of directories
52     where stylesheets are found. Used by `stylesheet_path` when expanding
53     relative path arguments.
54   - New default for math-output_: ``HTML math.css``.
56 .. _math-output: docs/user/config.html#math-output
58 * docutils/writers/latex2e/__init__.py
60   - Drop the simple algorithm replacing straight double quotes with
61     English typographic ones.
62     Activate the SmartQuotes_ transform if you want this feature.
63   - Fix literal use of babel shorthands (straight quote, tilde, ...).
64   - Fix [ 3603246 ] Bug in option "--graphicx-option=auto".
65   - New setting `stylesheet_dirs`.
67 .. _SmartQuotes: docs/user/config.html#smart-quotes
69 * docutils/writers/manpage.py
71   - Fix [3607063] handle lines starting with a period.
72   - Fix option separating comma was bold (thanks to Bill Morris).
74 Release 0.10 (2012-12-16)
75 =========================
77 * General
79   - Dropped support for Python 2.3.
80   - ``docutils/math``, ``docutils/error_reporting.py``, and
81     ``docutils/urischemes.py`` moved to the utils package.
82   - Fix [3541369] Relative __import__ also with Python 3.3.
83   - Fix [3559988] and [3560841] __import__ local writer, reader, languages
84     and parsers for Python 2.7 up.
85   - Fix import of PIL.Image.
86   - Change default of "syntax highlight" option to "long",
87     basic syntax highlight styles for LaTeX and HTML.
89 * docutils/io.py
91   - FileInput/FileOutput: no system-exit on IOError.  The `handle_io_errors`
92     option is ignored and will be removed in a future release.
93   - Fix Py3k error writing to stdout with encoding differing from default.
94   - Fix opening binary files under Py3k (thanks to Dominic Fitzpatrick).
96 * docutils/parsers/rst/directives/misc.py
98   - Fix [ 3546533 ] Unicode error with `date` directive.
100 * docutils/transforms/universal.py
102   - SmartQuotes transform for typographic quotes and dashes.
104 * docutils/utils/__init__.py
106   - normalize_language_tag() now returns `BCP 47`_ conformant tags
107     with subtags separated by ``-``.
109 * docutils/writers/html4css1/__init__.py
111   - Use ``<code>`` tag for inline "code",
112     do not drop nested inline nodes (syntax highlight tokens).
113   - Customizable MathJax URL (based on patch by Dmitry Shachnev).
114   - No line break after opening inline math tag.
116 * docutils/writers/manpage.py
118   - Apply [ 3527401 ] addmonition's don't preserve indentation
119   - Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.
121 , docutils/writers/xetex/__init__.py
123   - Apply [ 3555160 ] ensure order of "otherlanguages".
124   - Fix section numbering by LaTeX.
126 * docutils/writers/s5_html/__init__.py
128   - Fix [ 3556388 ] Mathjax does not work with rst2s5.
130 * docutils/writers/s5_html/docutils_xml.py
132   - Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.
134 * setup.py
136   - Tag ``math.css`` stylesheet as data file (patch by Dmitry Shachnev).
138 * tools/test/test_buildhtml.py
140   - Fix [ 3521167 ] allow running in any directory.
141   - Fix [ 3521168 ] allow running with Python 3.
144 Release 0.9.1 (2012-06-17)
145 ==========================
147 * setup.py
149   - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
150     installed in the PYTHONPATH. Converted tests are now
151     stored in ``test3/``, tools no longer need conversion.
153     If you installed one of Docutils versions 0.7 ... 0.9 with
154     ``setup.py install`` under Python 3, remove the spurious
155     ``test/`` and ``tools/`` directories in the site library root.
157 * test/
159   - Make tests independent from the location of the ``test/`` directory.
160   - Use converted sources (from the ``build/`` directory) for tests under
161     Python 3.
163 * tools/
165   - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
167 * docutils/io.py
169   - Fix writing binary data to sys.stdout under Python 3 (allows
170     ``rst2odt.py`` to be used with output redirection).
172 * docutils/parsers/rst/directives/misc.py
174   - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
175     ``locale == C`` and 8-bit char in path argument of `include` directive.
177 * test/alltests.py
179   - class `Tee`: catch UnicodeError when writing to "ascii" stream or
180     file under Python 3.
182 Release 0.9 (2012-05-02)
183 ========================
185 * General:
187   - New reStructuredText "code" role and directive and "code" option
188     of the "include" directive with syntax highlighting by Pygments_.
189   - Fix parse_option_marker for option arguments containing ``=``.
190   - Fix [ 2993756 ]: import Python Imaging Library's Image module
191     via ``import PIL`` as starting with PIL 1.2,
192     "PIL lives in the PIL namespace only" (announcement__).
194 .. _Pygments: http://pygments.org/
195 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
197 * setup.py
199   - Fix [ 2971827 ] and [ 3442827 ]
200     extras/roman.py moved to docutils/utils/roman.py
202 * docutils/frontend.py
204   - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
206 * docutils/io.py
208   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
209   - `mode` argument for FileOutput avoids code replication in
210     BinaryFileOutput.
211   - New exceptions InputError and OutputError for IO errors in
212     FileInput/FileOutput.
214 * docutils/core.py:
216   - No "hard" system exit on file IO errors: catch and report them in
217     `Publisher.reportException` instead. Allows handling by a calling
218     application if the configuration setting `traceback` is True.
220 * docutils/utils.py -> docutils/utils/__init__.py
222   - docutils.utils is now a package (providing a place for sub-modules)
224   .. note:: docutils/math, docutils/error_reporting.py, and
225      docutils/urischemes.py will move to the utils package in the next
226      release, too. See RELEASE-NOTES__
228      __ RELEASE-NOTES.html
230   - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
231     errors recording non-ASCII filenames (fixes [ 3434355 ]).
233   - Fix relative_path() with source=None and `unicode` target.
235 * docutils/parsers/rst/states.py
237   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
238     characters and "international" quotes around inline markup.
239   - Use `field_marker` pattern to look for start of a
240     directive option block (fixes [ 3484857 ]).
242 * docutils/parsers/rst/tableparser.py
244   - Fix [ 2926161 ] for simple tables.
245     (Combining chars in grid tables still contribute to cell width.)
247 * docutils/writers/latex2e/__init__.py
249   - Support the `abbreviation` and `acronym` standard roles.
250   - Record only files required to generate the LaTeX source as dependencies.
251   - Fix handling of missing stylesheets.
252   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
253     when suppressing LaTeX section numbering.
254   - Use ``\DUtitle`` for unsupported section levels
255   - Apply [ 3512791 ] do not compare string literals with "is"
257 * docutils/writers/xetex/__init__.py
259   - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
261 * docutils/writers/html4css1/__init__.py
263   - Change default for `math-output` setting to MathJax.
264   - Fix handling of missing stylesheets.
266 * docutils/writers/docutils_xml.py
268   - Use the visitor pattern with default_visit()/default_depart() methods
269     instead of minidom to facilitate special handling of selected nodes.
270   - Support raw XML (inserted as-is inside a <raw></raw> node).
272 * docutils/writers/manpage.py
274   - Do not emit comment line with trailing blank. Problematic for VCS.
276 Release 0.8.1 (2011-08-30)
277 ==========================
279 * General:
281   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
282     and [ 3395920 ] (correct copyright info for rst.el).
284 * test/
286   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
288 * docutils/writers/latex2e/__init__.py
290   - Clean up Babel language setting. Restores Sphinx compatibility.
292 Release 0.8 (2011-07-07)
293 ========================
295 * General:
297   - Handle language codes according to `BCP 47`_.
298   - If the specified language is not supported by Docutils,
299     warn and fall back to English.
300   - Math support: reStructuredText "math" role and directive,
301     ``math`` and ``math_block`` doctree elements.
302   - Decode command line arguments with the locale's preferred encoding
303     (to allow, e.g., ``--title=Dornröschen``).
304   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
305   - New sub-module `error_reporting`: handle encoding/decoding errors
306     when reporting exceptions.
307   - Some additions to the Docutils core are released under the 2-Clause BSD
308     license, see COPYING_ for details.
310   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
311   .. _COPYING: COPYING.html
313 * reStructuredText:
315   - Most directives now support a "name" option that attaches a
316     reference name.
318   - Directive content may start on the first line also when the directive
319     type accepts options.
321 * docs/dev/policies.txt:
323   - Recommend the 2-Clause BSD license
324     (http://www.spdx.org/licenses/BSD-2-Clause)
325     for code that is kept under the author's copyright.
327 * tools/buildhtml.py:
329   - Fix ``--local`` switch.
331 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
333 * docutils/writers/html4css1/__init__.py
335   - Set "lang" argument for objects with class argument
336     "language-<language tag>".
337   - New setting "math-output" with support for HTML, MathML, and LaTeX.
339 * docutils/writers/latex2e/__init__.py
341   - Fix [ 3043986 ] AttributeError using :local: with table of content.
342   - Place title data in the document preamble.
343   - Load `babel` package only if required.
344   - Update list of supported languages.
345   - New config setting "hyperref-options".
346     No hard-coded "unicode" hyperref option (clash with xetex).
347   - Set language for custom roles, paragraphs, block-quotes, and
348     line-quotes with class argument "language-<language tag>".
349   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
350   - Convert image URI to a local file path.
351   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
352     has more than one paragraph (Wolfgang Scherer).
353   - \leavevmode before longtable only when needed (prevents spurious vspace)
354   - do not advance table counter for tables without caption
356 * docutils/writers/xetex/__init__.py
358   - New writer generating LaTeX code for compiling with ``xelatex``.
360     A separate writer (inheriting from latex2e) instead of a ``--xetex``
361     option allows separate config options for XeTeX vs. LaTeX2e.
363 * docutils/writers/manpage.py
365   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
366   - Fix: vertical space cleaning for option group ``.``.
368 * tools/editors/emacs/rst.el:
370   - Fix [ 3001100 ] does not handle spaces in filenames
371     (thanks to Jakub Wilk)
373 * docutils/utils.py:
375   - strip whitespace from stylesheet arguments
376   - exclude combining chars from column_width()
377     (partial fix for [ 2926161 ])
379 * docutils/parsers/rst/directives/misc.py:
381   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
382     nested_parse
384 * docutils/io.py:
386   - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
387     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
389 Release 0.7 (2010-07-07)
390 ========================
392 * General:
394   - Fix [ 2881769 ] setup configuration.
395   - Fix [ 2788716 ] reporting problems in included files.
397 * docutils/io.py
399   - FileInput opens files as text files with universal newline support
400     (mode "rU", configurable with the new optional argument "mode").
402 * docutils/nodes.py
404   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
406 * docutils/utils.py
408   - Fix [ 2923723 ] let decode_path() tolerate path == None
410 * docutils/writers/html4css1/__init__.py
412   - Support SVG and SWF images (thanks to Stefan Rank).
413   - Generate valid XHTML for centered images with targets.
414     Use CSS classes instead of "align" tags for image alignment.
416 * docutils/writers/latex2e/__init__.py
418   - Use `transforms.writer_aux.Admonitions` to "normalize" special
419     admonitions.
420   - Use the ``\url`` command for URLs (breaks long URLs instead of
421     writing into the margin).
422   - Preserve runs of spaces in `inline literals`__.
423   - Deprecate ``figure_footnotes`` setting.
424   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
425   - New ``latex_preamble`` setting.
426   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
427   - Fix hyperlink targets (labels) for images, figures, and tables.
428   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
429   - Apply [ 2961991 ] Call hyperref with unicode option.
430   - Drop the special `output_encoding`__ default ("latin-1").
431     The Docutils wide default (usually "UTF-8") is used instead.
432   - Render inline markup in document title and subtitle.
433   - Fix numbering depth with LaTeX section numbering.
434   - Update Unicode -> LaTeX translations.
435   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
437 __ docs/ref/restructuredtext.html#inline-literals
438 __ docs/user/config.html#docutils-footnotes
439 __ docs/user/config.html#output_encoding
441 * docutils/writers/manpage.py
443   - Fix: supported attribute (thanks to peter2108).
444   - Remove trailing blanks in code (keep in sync with mercurial version).
445   - Titles level 1, that is ``.SH``, always uppercase.
446   - Apply patch from mg: literal text should be bold in man-pages.
448 * docutils/nodes.py
450   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
451     turkish locale.
453 * setup.py:
455   - Python 3 support: copy test/ and tools/ to the build-dir
456     and convert Python sources with 2to3.
459 Release 0.6 (2009-10-11)
460 ========================
462 * General:
464   - Docutils is now compatible with Python versions from 2.3 up to 2.6
465     and convertible to 3.1 code.
467     + Node.__nonzero__ returns True instead of 1.
468     + use os.walk instead os.path.walk.
469     + minimize "types" module where possible.
470     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
471     + Text nodes now subclass unicode rather than UserString
472       (which is gone in python 3.0).
473     + 3.0 compatibility module docutils._compat
475     + Drop 2.2 compatibility workarounds.
476     + Drop extras/optparse.py and extras/textwrap.py
477       (stdlib modules since 2.3).
479   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
480   - Unix man page export: manpage writer moved from sandbox to Doctutils
481     core.
483   - Apply [ 1719345 ] Galician translation
484   - Apply [ 1905741 ] Polish translation
485   - Apply [ 1878977 ] make_id(): deaccent characters.
486   - Apply [ 2029251 ] return nonzero when tests fail.
487   - Fix [ 1692788 ] allow UTF-8 in style sheets.
488   - Fix [ 2781629 ] support non-ASCII chars in file names.
489   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
490   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
491   - Fix [ 2821266 ] --strict option works now like --halt=info.
492   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
493   - Fix [ 1627229 ] hyperlink references in substitutions.
495   - The "newlatex" writer is orphaned.
497 * reStructuredText:
499   - Documented Unicode characters allowed as inline markup openers,
500     closers, and delimiters.
501   - Allow units for all length specifications.
502   - Allow percent sign in "scale" argument of "figure" and "image" directives.
503   - Bugfix: The "figalign" argument of a figure now works as intended
504     (aligning the figure, not its contents).
505   - Align images with class "align-[right|center|left]"
506     (allows setting the alignment of an image in a figure).
508 * docutils/nodes.py:
510   - Added ``Element.__contains__`` method, for the in-operator.
512 * docutils/parsers/rst/states.py:
514   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
515   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
516     " " (non-breaking space), and "¡ ¿" openers.
518 * docutils/parsers/directives/misc.py:
520   - Added ``start-line`` and ``end-line`` options to "include"
521     directive to select a range of lines.
522   - Hard tabs in literal inclusions are replaced by spaces. This is
523     configurable via the new ``tab-width`` option of the "include" directive
524     (a negative tab-width prevents tab expansion).
526 * docutils/utils.py:
528   - Add ``get_stylesheet_list`` function.
529   - Apply [ 2834836 ] print info at halt
531 * docutils/transforms/universal.py:
533   - Raise default priority of StripClasses to exclude stripped classes from
534     the ToC.
536 * docutils/writers/html4css1/__init__.py:
538   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
539     separated list of stylesheets.
540   - Address [ 1938891 ] Inline literal text creates "pre" span only when
541     needed to prevent inter-word line wraps.
542   - Use `translate` method instead of repeated `replace` calls.
543   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
544     classes to allow CSS styling that does not interfere with other
545     table-using constructs (field lists, citations, ...).
547 * docutils/writers/newlatex2e/__init__.py:
549   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
551 * docutils/writers/latex2e/__init__.py (see also
552   `<docs/user/docutils-05-compat.sty.html>`__) :
554   - Add ``--embed-stylesheet`` option.
555   - Apply [ 1474017 ] image vertical alignment is reversed.
556   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
557   - Change: has_key for dictionaries (not Nodes) to in-operator.
558   - Merge adjacent citations into one latex cite command.
559   - Failsave implementation of custom roles. LaTeX compilation now ignores
560     unknown classes instead of aborting with an error.
561   - Support custom roles based on standard roles.
562   - LaTeX packages can be used as ``--stylesheet`` arguments without
563     restriction. (A style sheet is now referenced with the ``\usepackage``
564     command, if it ends with ``.sty`` or has no extension.)
565   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
566   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
567   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
568     2005-02-04 as a configurable length unit).
569   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
570     if font-encoding is set to ''. LaTeX defaults to OT1 then.
571   - Set sub- and superscript role argument in text mode not as math.
572     Use a custom role based on sub-/superscript if you want italic shape.
573   - Shorter preamble and less dependencies: Load packages and define macros
574     only if required in the document.
575   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
576   - New custom environments and commands with optional "classes" argument.
577   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
578   - Better conformance to Docutils specifications with ``--use-latex-toc``.
579     Support for LaTeX generated ToC also with unnumbered sections.
580   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
581     section numbering by LaTeX.
582   - Use default font in admonitions and sidebar.
583   - Align of image in a figure defaults to 'center'.
584   - Bugfix: Newlines around targets and references prevent run-together
585     paragraphs.
586   - Fix internal hyperlinks.
587   - Use class defaults for page margins ('typearea' now optional).
588   - Float placement made configurable, default changed to "here definitely".
589   - Typeset generic topic as "quote block with title".
590   - Use template (file and configuration option).
591   - In the default template, load cmap.sty (fix text extraction in PDF) and
592     fixltx2e.sty (LaTeX patches, \textsubscript).
593   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
594   - Use `translate` instead of repeated `replace` calls for text encoding.
595   - Hyperlinked footnotes and support for symbol footnotes and
596     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
597   - Complete pairs of binary options
598     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
599     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
600   - New defaults:
601     - font-encoding: "T1" (formerly implicitely set by 'ae').
602     - use-latex-toc: true (ToC with page numbers).
603     - use-latex-footnotes: true (no mixup with figures).
605 * docutils/writers/manpage.py
607   - Do not print version at document end, this is done by the viewer.
608   - Do not print date at document end, this is done by the viewer.
609   - Fix storage of docinfo fields for none standard fields.
611 * docutils/tools/rst2man.py
613 Release 0.5 (2008-06-25)
614 ========================
616 * docutils/languages/he.py: Added to project: Hebrew mappings by
617   Meir Kriheli.
619 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
620   mappings by Meir Kriheli.
622 * docutils/frontend.py:
624   - Configuration files are now assumed and required to be
625     UTF-8-encoded.
626   - Paths of applied configuration files are now recorded in the
627     runtime setting ``_config_files`` (accessible via
628     ``--dump-settings``).
629   - Added ``--strip-elements-with-class`` and ``--strip-class``
630     options (``strip_elements_with_classes`` and ``strip_classes``
631     settings).
633 * docutils/io.py:
635   - Added code to determine the input encoding from data: encoding
636     declarations or the presence of byte order marks (UTF-8 & UTF-16).
637   - Added support for IronPython 1.0.
639 * docutils/nodes.py:
641   - Added ``document.__getstate__`` method, for pickling.
643 * docutils/parsers/rst/states.py:
645   - Allow ``+`` and ``:`` in reference names.
646   - Unquoted targets beginning with an underscore (``.. __target:
647     URI``) are no longer accepted.
648   - Added support for multiple attributions in a physical block quote
649     (indented text block), dividing it into multiple logical block
650     quotes.
651   - Added support for unicode bullets in bullet lists: "•", "‣", and
652     "⁃".
653   - Added support for new object-oriented directive interface,
654     retaining compatibility to the old functional interface.
655   - Added support for throwing ``DirectiveError``'s from within
656     directive code.
658 * docutils/parsers/rst/__init__.py:
660   - Added ``Directive`` base class.
661   - Added ``DirectiveError`` base class.
662   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
663     definitions.
665 * docutils/parsers/directives/:
667   - Refactored all reStructuredText directives to use the new
668     object-oriented directive interface.  Errors are now (mostly)
669     thrown using the new ``DirectiveError`` class.
671 * docutils/parsers/directives/misc.py:
673   - Added ``start-after`` and ``end-before`` options to ``include``
674     directive; thanks to Stefan Rank.
676 * docutils/transforms/universal.py:
678   - Added ``StripClassesAndElements`` transform to remove from the
679     document tree all elements with classes in
680     ``settings.strip_elements_with_classes`` and all "classes"
681     attribute values in ``self.document.settings.strip_classes``.
683 * docutils/transforms/writer_aux.py:
685   - Added ``Admonitions`` transform to transform specific admonitions
686     (like ``note``, ``warning``, etc.) into generic admonitions with a
687     localized title.
689 * docutils/writers/html4css1/__init__.py:
691   - Moved template functionality from the PEP/HTML writer here.
692   - Expanded the fragments available in the ``parts`` attribute.
693   - Moved ``id`` attributes from titles to surrounding ``div``
694     elements.
695   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
696     universally supported now).
697   - ``template.txt`` is now opened in text mode instead of binary mode
698     (to ensure Windows compatibility).
699   - ``a`` elements now have an "internal" or "external" class,
700     depending on reference type.
702 * docutils/writers/html4css1/template.txt: Added to project.
704 * docutils/writers/pep_html/:
706   - Moved template functionality to the HTML writer.
708 * docutils/writers/s5_html/__init__.py:
710   - Added ``view_mode`` & ``hidden_controls`` settings
711     (``--view-mode`` & ``--hidden-controls/--visible-controls``
712     options).
714 * docutils/writers/latex2e/__init__.py:
716   - Add ``--literal-block-env``
717   - Fix: escaping ``%`` in href urls.
718   - Move usepackage hyperref after stylesheet inclusion.
719   - Fix: scrartcl does not have chapter but scrreprt.
720   - Add newline after ``\end{verbatim}``.
721   - Merge smaller differences from latex2e_adaptive_preamble.
722   - Add ``use-part-section``.
723   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
724   - Using leavemode option_list no longer needs to check if parent
725     is a definition list.
726   - Append ``\leavemode`` to definition list terms.
727   - No longer write visit\_/depart_definition_list_item comments to
728     output.
729   - Table column width with 3 decimal places.
730   - Add table stubs support (boldfont).
731   - Add assemble_parts to writer.
732   - Add simply support for nested tables.
733   - Fix verbatim in tables if use-verbatim-when-possible.
734   - Use section commands down to subparagraph.
735   - Put ensuremath around some latin1 chars.
736   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
737   - New option ``--use-bibtex=style,db1,db2``.
738   - New option ``--reference-label`` to allow usage of LaTeX ref for
739     labels in section references.
740   - Add a label after every section to support sectionnumbers as reference
741     labels.
742   - Fix: bug# 1605376 rst2latex: bad options group list
743   - Remove inactive code for use_optionlist_for_option_list.
744   - Remove latex comments from option_list output.
745   - Fix: bug# 1612270 double qoutes in italian literal.
746   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
747   - Add option --use-latex-abstract.
748   - Image width unit ``px`` is translated to ``pt``.
749   - Add image height support.
750   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
751     bug #1457388
752   - Fix: Do not escape underscores in citation reference labels if
753     use-latex-citations is set.
754   - Use centering instead of center for figure contents, to avoid vertical
755     space.
756   - Recognize table class: borderless, nolines, booktabs, standard.
757   - Fix: Renaming contents section does not work with latex writer; SF
758     bug #1487405.
759   - Applied patch for custom roles with classes from Edward Loper.
760   - Fixed bug that caused crashes with more than 256 lists.
762 * docutils/writers/pep_html/__init__.py:
764   - Changed to support new python.org website structure and
765     pep2pyramid.py.
767 * docs/howto/security.txt: "Deploying Docutils Securely", added to
768   project.
770 * tools/buildhtml.py:
772   -- Added ``ignore`` setting to exclude a list of shell patterns
773      (default: ``.svn:CVS``).
775 * tools/editors/emacs/rst.el:
777   - Changed license to "GPL".
778   - Added ``rst-straighten-decorations`` function.
779   - The ``compile`` module is now always loaded.
780   - Added ``rst-toggle-line-block`` function.
781   - Headings consisting only of non-ASCII characters are now
782     recognized by ``rst-toc`` and ``rst-adjust``.
783   - Added font-lock support for multi-line comments where the first
784     comment line is empty.
785   - Added ``(require 'font-lock)``.
787 * setup.py:
789   - Provide descriptive error message if distutils is missing.
792 Release 0.4 (2006-01-09)
793 ========================
795 * General:
797   - Updated the project policies for trunk/branch development &
798     version numbering.
800 * docutils/__init__.py:
802   - Added ``__version_details__`` attribute to describe code source
803     (repository/snapshot/release).
804   - Replaced ``default_transforms`` attribute of TransformSpec with
805     ``get_transforms()`` method.
807 * docutils/core.py:
809   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
810     functions, for document tree extraction and reprocessing.
812 * docutils/io.py:
814   - Added ``DocTreeInput`` class, for reprocessing existing documents.
815   - Added support for non-Unicode (e.g. binary) writer output.
817 * docutils/nodes.py:
819   - Re-introduced ``Targetable.indirect_reference_name``, for
820     MoinMoin/reST compatibility (removed in r3124/r3129).
821   - Added ``serial_escape`` function; escapes string values that are
822     elements of a list, for serialization.  Modified Docutils-XML
823     writing (``Element._dom_node``) and pseudo-XML writing
824     (``Element.starttag``) to use ``serial_escape``.
825   - Added ``Node.deepcopy()`` method.
826   - Removed the internal lists ``document.substitution_refs``,
827     ``document.anonymous_refs``, and ``document.anonymous_targets``.
828   - Added a "container" element.
829   - Fixed bug where values of list-valued attributes of elements
830     originating from custom interpreted text roles (i.e., with custom
831     classes) were being shared between element instances.  Reported by
832     Shmuel Zeigerman.
834 * docutils/statemachine.py:
836   - Added trailing whitespace stripping to ``string2lines()``.
837   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
838     Asian double-width character support.
840 * docutils/utils.py:
842   - Added ``east_asian_column_width()`` for double-width character
843     support.
845 * docutils/languages/ja.py: Added to project: Japanese mappings by
846   Hisashi Morita.
848 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
849   mappings by Panjunyong.
851 * docutils/parsers/null.py: Added to project; a do-nothing parser.
853 * docutils/parsers/rst/__init__.py:
855   - Added validator to tab_width setting, with test.  Closes SF bug
856     #1212515, report from Wu Wei.
858 * docutils/parsers/rst/states.py:
860   - Fixed bug with escaped colons indicating a literal block.
861   - Fixed bug with enumerated lists (SF#1254145).
862   - Backslash-escaped colons inside of field names are now allowed.
863   - Targets (implicit and explicit), anonymous hyperlink references
864     and auto-numbered footnote references inside of substitution
865     definitions are now disallowed.
866   - Fixed bug: list items with blank first lines.
867   - Fixed bug: block quote attributions with indented second lines.
868   - Added East Asian double-width character support (Python 2.4 only).
870 * docutils/parsers/rst/tableparser.py:
872   - Added East Asian double-width character support (Python 2.4 only).
874 * docutils/parsers/rst/directives/body.py:
876   - Added the "container" directive.
878 * docutils/parsers/rst/directives/misc.py:
880   - Added the "default-role", "title", and "date" directives.
881   - Added standard data file syntax to the "include" directive.
882   - Added support for "class" directive content.
884 * docutils/parsers/rst/directives/images.py:
886   - Added ``indirect_reference_name`` support for images with a target
887     option.
888   - Added support for image width and height units.
889   - Fixed bug with image "target" options.
891 * docutils/parsers/rst/directives/references.py:
893   - Added "class" attribute to "target-notes" directive, for
894     footnote_reference classes.
896 * docutils/parsers/rst/include/: Directory added to project; contains
897   standard data files for the "include" directive.  Initial contents:
898   character entity substitution definition sets, and a set of
899   definitions for S5/HTML presentations.
901 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
902   mappings by David Goodger.
904 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
905   Simplified Chinese mappings by Panjunyong.
907 * docutils/readers/__init__.py:
909   - Added universal.Decorations and universal.ExposeInternals
910     transforms as default transforms for all readers.
911   - Added ``ReReader`` base class for readers that reread an existing
912     document tree.
914 * docutils/readers/doctree.py: Added to project; a reader for existing
915   document trees.
917 * docutils/transforms/frontmatter.py:
919   - Fixed the DocInfo transform to handle SVN-style expansion of the
920     "Date" keyword.
921   - In ``DocInfo.extract_authors``, treat the contents of "authors"
922     fields uniformly.
924 * docutils/transforms/misc.py:
926   - Added misc.Transitions transform, extracted from
927     universal.FinalChecks.
929 * docutils/transforms/references.py:
931   - Added references.DanglingReferences transform, extracted from
932     universal.FinalChecks.
933   - Fixed bug with doubly-indirect substitutions.
934   - Added footnote_reference classes attribute to "TargetNotes".
935   - Fixed bug with circular substitution definitions that put Docutils
936     into an infinite loop.
938 * docutils/transforms/universal.py:
940   - Added universal.ExposeInternals transform, extracted from
941     universal.FinalChecks.
942   - Removed universal.FinalChecks transform (logic has been moved to
943     several new transforms).
944   - Fixed bug with the "expose_internals" setting and Text nodes
945     (exposed by the "rawsource" internal attribute).
946   - Added the universal.StripComments transform, implementation of the
947     "strip_comments" setting.
949 * docutils/transforms/writer_aux.py: Added to project; auxiliary
950   transforms for writers.
952   - Added ``Compound`` transform, which flattens compound paragraphs.
954 * docutils/writers/: Several writer modules (html4css1.py) were
955   converted into packages.  Support modules and data files have been
956   moved into the packages.  The stylesheets for the HTML writers are
957   now installed along with the code, the code knows where to find
958   them, and the default is to use them (actually, to embed them).
959   Some adjustments to configuration files may be necessary.  The
960   easiest way to obtain the new default behavior is to remove all
961   settings whose name includes "stylesheet".
963 * docutils/writers/__init__.py:
965   - Added universal.Messages and universal.FilterMessages transforms
966     as default transforms for all writers.
967   - Added ``UnfilteredWriter`` base class for writers that pass the
968     document tree on unchanged.
970 * docutils/writers/docutils_xml.py:
972   - Made ``xmlcharrefreplace`` the default output encoding error
973     handler.
975 * docutils/writers/html4css1/:
977   - Added support for image width and height units.
978   - Made ``xmlcharrefreplace`` the default output encoding error
979     handler.
980   - Made ``--embed-stylesheet`` the default rather than
981     ``--link-stylesheet``.
982   - Moved "id" attribute from container (section etc.) to title's <a>
983     tag, to be on the same tag as "name".
984     (!!! To be reverted in Docutils 0.5.)
985   - Added vertical space between fields of field lists.
986   - Added ``--compact-field-lists`` option to remove vertical space in
987     simple field lists.
988   - Made cloaking of email addresses with ``--cloak-email-addresses``
989     less obtrusive.
990   - Fixed support for centered images.
991   - Added support for class="compact" & class="open" lists.
993 * docutils/writers/latex2e/:
995   - Underscores in citekeys are no longer escaped.
997 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
998   mapping of Unicode characters to LaTeX equivalents.
1000 * docutils/writers/s5_html/: Package added to project; writer for
1001   S5/HTML slide shows.
1003 * docs/dev/distributing.txt: Added to project; guide for distributors
1004   (package maintainers).
1006 * docs/dev/hacking.txt: Added to project; guide for developers.
1008 * docs/ref/doctree.txt:
1010   - Updated for plural attributes "classes", "ids", "names",
1011     "dupnames".
1012   - Added the "container" element.
1014 * docs/ref/docutils.dtd:
1016   - Updated for plural attributes "classes", "ids", "names",
1017     "dupnames".
1019 * docs/user/emacs.txt: Added to project; a document about Emacs
1020   support for reStructuredText and Docutils.
1022 * docs/user/links.txt: Added to project; lists of Docutils-related
1023   links.
1025 * docs/user/mailing-lists.txt: Added to project; information about
1026   Docutils-related mailing lists and how to access them.
1028 * docs/user/slide-shows.txt: Added to project; example of and docs for
1029   the S5/HTML writer (``rst2s5.py`` front end).
1031 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
1032   Files", added to project.
1034 * test/coverage.sh: Added to project; test coverage script.
1036 * test/DocutilsTestSupport.py:
1038   - Added support for specifying runtime settings at the suite level.
1040 * test/test_functional.py:
1042   - Added the ``clear_output_directory`` function.
1043   - Added support for ``_test_more`` functions in functional test
1044     config files.
1046 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
1048 * tools/rstpep2html.py: Renamed from pep.py.
1050 * tools/dev/create_unimap.py: Added to project; script to create the
1051   docutils/writers/unimap_latex.py mapping file.
1053 * tools/dev/profile_docutils.py: Added to project; profiler script.
1055 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
1057 * tools/editors/emacs/restructuredtext.el,
1058   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
1059   Removed from project; the functionality is now contained in rst.el.
1061 * tools/editors/emacs/rst.el: Added to project.  Added many features
1062   and fixed many bugs.  See docs/user/emacs.txt for details.
1064 * tools/stylesheets: Removed from project.  Stylesheets have been
1065   renamed and moved into writer packages.
1068 Release 0.3.9 (2005-05-26)
1069 ==========================
1071 * General:
1073   - Eliminated and replaced all uses of the old string attributes
1074     ``id``, ``name``, ``dupname`` and ``class`` with references to the
1075     new list attributes ``ids``, ``names``, ``dupnames`` and
1076     ``classes`` throughout the whole source tree.
1078 * docutils/core.py:
1080   - Enabled ``--dump-*`` options when ``--traceback`` specified,
1081     allowing for easier debugging.
1082   - In ``Publisher.publish()``, expanded the generic top-level
1083     exception catching.
1085 * docutils/examples.py:
1087   - Added ``internals`` function for exploration.
1089 * docutils/io.py:
1091   - Fixed ``Input.decode`` method to apply heuristics only if no
1092     encoding is explicitly given, and to provide better reporting of
1093     decoding errors.
1094   - The ``Input.decode`` method now removes byte order marks (BOMs)
1095     from input streams.
1097 * docutils/nodes.py:
1099   - ``image`` element class changed to subclass of Element, not
1100     TextElement (it's an empty element, and cannot contain text).
1101   - Added ``attr_defaults`` dictionary for default attribute values.
1102   - Added empty list as default value for the following attributes:
1103     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
1104   - Added ``document.decoration`` attribute,
1105     ``document.get_decoration`` method, and ``decoration.get_header``
1106     & ``.get_footer`` methods.
1107   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
1108     methods.
1110 * docutils/utils.py:
1112   - Removed ``docutils.utils.Reporter.categories``,
1113     ``docutils.utils.ConditionSet``, and all references to them, to
1114     simplify error reporting.
1116 * docutils/languages/nl.py: Added to project; Dutch mappings by
1117   Martijn Pieters.
1119 * docutils/parsers/rst/__init__.py:
1121   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
1123 * docutils/parsers/rst/states.py:
1125   - Added check for escaped at-mark to prevent email address recognition.
1126   - Fixed option lists to allow spaces inside ``<angle-bracketed option
1127     arguments>``.
1128   - Allowed whitespace in paths and URLs.
1129   - Added auto-enumerated list items.
1130   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
1131     followed by text.
1132   - Added support for table stub columns.
1134 * docutils/parsers/rst/directives/__init__.py:
1136   - Allowed whitespace in paths (``path`` function).
1137   - Added ``uri`` directive option conversion function.
1139 * docutils/parsers/rst/directives/body.py:
1141   - Fixed illegal context bug with "topic" directive (allowed within
1142     sidebars; not within body elements).
1144 * docutils/parsers/rst/directives/images.py:
1146   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1147   - Added support for the ``file_insertion_enabled`` setting in the
1148     "figure" directive (disables "figwidth" option).
1149   - "image" directive: added checks for valid values of "align" option,
1150     depending on context.  "figure" directive: added specialized
1151     "align" option and attribute on "figure" element.
1152   - Made ":figwidth: image" option of "figure" directive work again.
1153   - Fixed bug with reference names containing uppercase letters
1154     (e.g. ``Name_``) in "target" option of "image" directive.
1156 * docutils/parsers/rst/directives/misc.py:
1158   - Fixed "include" and "raw" directives to catch text decoding
1159     errors.
1160   - Allowed whitespace in "include" & "raw" directive paths.
1161   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1162     settings in "include" & "raw" directives.
1164 * docutils/parsers/rst/directives/parts.py:
1166   - Added "header" & "footer" directives.
1167   - Fixed illegal context bug with "contents" directive (topics
1168     allowed within sidebars; not within body elements).
1170 * docutils/parsers/rst/directives/tables.py:
1172   - Added "list-table" directive.
1173   - Caught empty CSV table bug.
1174   - Added support for the ``file_insertion_enabled`` setting in the
1175     "csv-table" directive.
1176   - Added ``stub-columns`` option to "csv-table" and "list-table"
1177     directives.
1179 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1180   mappings by Martijn Pieters.
1182 * docutils/readers/standalone.py:
1184   - Added ``--section-subtitles`` and ``--no-section-subtitles``
1185     options to activate or deactivate the SectSubTitle transform.
1187 * docutils/transforms/frontmatter.py:
1189   - Added SectSubTitle transform to promote titles of lone
1190     subsections to subtitles.
1192 * docutils/transforms/references.py:
1194   - Fixed mislocated internal targets bug, by propagating internal
1195     targets to the next node, making use of the newly added support
1196     for multiple names and IDs.
1197   - Fixed duplicate footnote label bug.
1198   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1199     transform.
1201 * docutils/writers/html4css1.py:
1203   - Fixed unencoded stylesheet reference bug (characters like "&" in
1204     stylesheet references).
1205   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1206     tags).
1207   - Added support for multiple IDs per node by creating empty ``span``
1208     tags.
1209   - Added the ``field_name_limit`` & ``option_limit`` settings &
1210     support.
1211   - Added support for table stub columns.
1212   - Added support for the ``align`` attribute on ``figure`` elements.
1213   - Added the ``cloak_email_addresses`` setting & support.
1214   - Added ``html_prolog``, ``html_head``, ``html_body``,
1215     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1216     ``docutils.core.publish_parts``.
1217   - Added support for section subtitles.
1219 * docutils/writers/latex2e.py:
1221   - Fixed tables starting with more than one multirow cell.
1222   - Improved --use-latex-docinfo so that organization/contact/address
1223     fields are lumped with the last author field and appear on the
1224     titlepage.
1225   - Made sure the titlepage is always shown with --use-latex-docinfo,
1226     even if the document has no title.
1227   - Made sure that latex doesn't fill in today's date if no date field
1228     was given.
1229   - Added support for section subtitles.
1231 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1232   (under development).
1234 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1236 * docs/api/publisher.txt:
1238   - Added "``publish_parts`` Details" section.
1240 * docutils/dev/repository.txt: Added to project; information about the
1241   Docutils Subversion repository.
1243 * docs/ref/docutils.dtd:
1245   - Added a ``stub`` attribute to the ``colspec`` element via the
1246     ``tbl.colspec.att`` parameter entity.
1247   - Allowed topic elements within sidebars
1248   - Added an ``align`` attribute to the ``figure`` element.
1250 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1251   writer.
1254 Release 0.3.7 (2004-12-24)
1255 ==========================
1257 * docutils/frontend.py:
1259   - Added options: --input-encoding-error-handler,
1260     --record-dependencies, --leave-footnote-reference-space,
1261     --strict-visitor.
1262   - Added command-line and config file support for "overrides" setting
1263     parameter.
1265 * docutils/io.py:
1267   - Added support for input encoding error handler.
1269 * docutils/nodes.py:
1271   - Added dispatch_visit and dispatch_departure methods to
1272     NodeVisitor; useful as a hook for Visitors.
1273   - Changed structure of ``line_block``; added ``line``.
1274   - Added ``compound`` node class.
1275   - Added a mechanism for Visitors to transitionally ignore new node
1276     classes.
1278 * docutils/utils.py:
1280   - Moved ``escape2null`` and ``unescape`` functions from
1281     docutils/parsers/rst/states.py.
1283 * docutils/parsers/rst/roles.py:
1285   - Added "raw" role.
1286   - Changed role function API: the "text" parameter now takes
1287     null-escaped interpreted text content.
1289 * docutils/parsers/rst/states.py:
1291   - Fixed bug where a "role" directive in a nested parse would crash
1292     the parser; the state machine's "language" attribute was not being
1293     copied over.
1294   - Added support for line block syntax.
1295   - Fixed directive parsing bug: argument-less directives didn't
1296     notice that arguments were present.
1297   - Removed error checking for transitions.
1298   - Added support for multiple classifiers in definition list items.
1299   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1300   - Changed role function API: the "text" parameter now takes
1301     null-escaped interpreted text content.
1302   - Empty sections and documents are allowed now.
1304 * docutils/parsers/rst/directives/__init__.py:
1306   - Added ``encoding`` directive option conversion function.
1307   - Allow multiple class names in class_option conversion function.
1309 * docutils/parsers/rst/directives/body.py:
1311   - Converted the line-block directive to use the new structure.
1312   - Extracted the old line-block functionality to the ``block``
1313     function (still used).
1314   - Added ``compound`` directive (thanks to Lea Wiemann).
1316 * docutils/parsers/rst/directives/misc.py:
1318   - Added "encoding" option to "include" and "raw" directives.
1319   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1320   - Allow multiple class names in the "class" directive.
1322 * docutils/parsers/rst/directives/parts.py:
1324   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1325     options.  Thanks to Lele Gaifax.
1327 * docutils/parsers/rst/directives/tables.py:
1329   - Added "encoding" directive to "csv-table" directive.
1330   - Added workaround for lack of Unicode support in csv.py, for
1331     non-ASCII CSV input.
1333 * docutils/transforms/misc.py:
1335   - Fixed bug when multiple "class" directives are applied to a single
1336     element.
1337   - Enabled multiple format names for "raw" directive.
1339 * docutils/transforms/references.py:
1341   - Added support for trimming whitespace from beside substitution
1342     references.
1344 * docutils/transforms/universal.py:
1346   - FinalChecks now checks for illegal transitions and moves
1347     transitions between sections.
1349 * docutils/writers/html4css1.py:
1351   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1352   - "stylesheet" and "stylesheet_path" settings are now mutually
1353     exclusive.
1354   - Added support for the new line_block/line structure.
1355   - --footnote-references now overrides
1356     --trim-footnote-reference-space, if applicable.
1357   - Added support for ``compound`` elements.
1358   - Enabled multiple format names for "raw" directive.
1359   - ``<p>`` tags of a paragraph which is the only visible child of the
1360     document node are no longer stripped.
1361   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1362     new method ``should_be_compact_paragraph()``.
1363   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1364     elements.
1365   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1366     the output if they have their ``class`` attribute set.
1367   - The whole document is now surrounded by a ``<div
1368     class="document">`` element.
1369   - Body-level images are now wrapped by their own ``<div>`` elements,
1370     with image classes copied to the wrapper, and for images which
1371     have the ``:align:`` option set, the surrounding ``<div>`` now
1372     receives a class attribute (like ``class="align-left"``).
1374 * docutils/writers/latex2e.py:
1376   - no newline after depart_term.
1377   - Added translations for some Unicode quotes.
1378   - Added option "font-encoding", made package AE the default.
1379   - "stylesheet" and "stylesheet_path" settings are now mutually
1380     exclusive.
1381   - --footnote-references now overrides
1382     --trim-footnote-reference-space, if applicable.
1383   - The footnote label style now matches the footnote reference style
1384     ("brackets" or "superscript").
1385   - Added support for ``compound`` elements.
1386   - Enabled multiple format names for "raw" directive.
1388 * docs/ref/docutils.dtd:
1390   - Changed structure of the ``line_block`` element; added ``line``.
1391   - Added ``compound`` element.
1392   - Added "ltrim" and "rtrim" attributes to
1393     ``substitution_definition`` element.
1394   - Enabled multiple format names for ``raw`` element.
1395   - Enabled multiple classifiers in ``definition_list_item`` elements.
1397 * docs/ref/rst/directives.txt
1399   - Marked "line-block" as deprecated.
1400   - "Class" directive now allows multiple class names.
1401   - Added "Rationale for Class Attribute Value Conversion".
1402   - Added warning about "raw" overuse/abuse.
1404 * docs/ref/rst/restructuredtext.txt:
1406   - Added syntax for line blocks.
1407   - Definition list items may have multiple classifiers.
1409 * docs/ref/rst/roles.txt:
1411   - Added "raw" role.
1413 * tools/stylesheets/default.css:
1415   - Added support for the new line_block structure.
1416   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1419 Release 0.3.5 (2004-07-29)
1420 ==========================
1422 General:
1424 * _`Documentation cleanup/reorganization`.
1426   - Created new subdirectories of docs/:
1428     * ``docs/user/``: introductory/tutorial material for end-users
1429     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1430     * ``docs/api/``: API reference material for client-developers
1431     * ``docs/ref/``: reference material for all groups
1432     * ``docs/howto/``: for component-developers and core-developers
1433     * ``docs/peps/``: Python Enhancement Proposals
1435   - Moved ``docs/*`` to ``docs/user/``.
1436   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1437     ``spec/`` to ``docs/dev``.
1438   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1439     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1440   - Moved ``alternatives.txt``, and ``problems.txt`` from
1441     ``spec/rst/`` to ``docs/dev/rst/``.
1442   - Moved ``reStructuredText.txt``, ``directives.txt``,
1443     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1444     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1445     ``roles.txt``, ``reStructuredText.txt`` to
1446     ``restructuredtext.txt``.
1447   - Moved ``spec/howto/`` to ``docs/howto``.
1449   In order to keep the CVS history of moved files, we supplied
1450   SourceForge with a `script for modifying the Docutils CVS
1451   repository`__.
1453   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1455   After running the cleanup script:
1457   - Added ``docs/index.txt``.
1458   - Added a ``.htaccess`` file to the ``web`` module, containing
1459     redirects for all old paths to new paths.  They'll preserve
1460     fragments (the "#name" part of a URL), and won't clutter up the
1461     file system, and will correct the URL in the user's browser.
1462   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1463     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1464     the "To Do" list itself in ``docs/dev/todo.txt``.
1465   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1466     section of ``docs/dev/todo.txt``.
1467   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1468   - Added "How To Report Bugs" to ``BUGS.txt``.
1469   - Went through all the sources and docs (including under web/) and
1470     updated links.  Mostly done by Lea Wiemann; thanks Lea!
1471     (Still need to update links in the sandboxes.)
1473 Specific:
1475 * BUGS.txt: Added to project.
1477 * THANKS.txt: Added to project.
1479 * docutils/__init__.py:
1481   - 0.3.4: Post-release.
1483 * docutils/core.py:
1485   - Added special error handling & advice for UnicodeEncodeError.
1486   - Refactored Publisher.publish (simplified exception handling &
1487     extracted debug dumps).
1488   - Renamed "enable_exit" parameter of convenience functions to
1489     "enable_exit_status".
1490   - Enabled traceback (exception propagation) by default in
1491     programmatic convenience functions.
1492   - Now publish_file and publish_cmdline convenience functions return
1493     the encoded string results in addition to their regular I/O.
1494   - Extracted common code from publish_file, publish_string, and
1495     publish_parts, into new publish_programmatically.  Extracted
1496     settings code to ``Publisher.process_programmatic_settings``.
1497   - In Publisher.publish, disabled ``settings_overrides`` when
1498     ``settings`` is supplied; redundant.
1500 * docutils/frontend.py:
1502   - Added help text for "--output-encoding-error-handler" and
1503     "--error-encoding-error-handler".
1504   - Renamed "--exit" to "--exit-status".
1505   - Simplified default-setting code.
1507 * docutils/parsers/rst/__init__.py:
1509   - Added "--pep-base-url" and "--rfc-base-url" options.
1511 * docutils/parsers/rst/states.py:
1513   - Made URI recognition more aggressive and intelligent.
1515 * docutils/parsers/rst/directives/__init__.py:
1517   - Added several directive option conversion functions.
1519 * docutils/parsers/rst/directives/body.py:
1521   - Moved "table" directive to tables.py.
1523 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1524   added to project.
1526 * docutils/writers/latex2e.py:
1528   - Added "--table-style=(standard|booktabs|nolines)"
1529   - figures get "here" option (LaTeX per default puts them at bottom),
1530     and figure content is centered.
1531   - Rowspan support for tables.
1532   - Fix: admonition titles before first section.
1533   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1534   - Replave ``_`` in literal by an underlined blank, because it has the correct
1535     width.
1536   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1537   - A few unicode replacements, if output_encoding != utf
1538   - Add "--graphicx-option".
1539   - Indent literal-blocks.
1540   - Fix: omit ``\maketitle`` when there is no document title.
1542 * docs/index.txt: "Docutils Project Documentation Overview", added to
1543   project.
1545 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1546   Tool", added to project.
1548 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1550 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1552 * docs/dev/policies.txt: Added to project (extracted from
1553   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1555 * docs/dev/release.txt: Added to project (extracted from
1556   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1558 * docs/dev/testing.txt: Added to project.
1560 * docs/dev/website.txt: Added to project (extracted from
1561   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1563 * docs/ref/rst/directives.txt:
1565   - Added directives: "table", "csv-table".
1567 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1568   added to project.  1 page for syntax, and a 1 page reference for
1569   directives and roles.  Source text to be used as-is; not meant to be
1570   converted to HTML.
1572 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1573   with a change of title.
1575 * test/functional/, contents, and test/test_functional.py: Added to
1576   project.
1578 * tools/buildhtml.py: Fixed bug with config file handling.
1580 * tools/html.py: Removed from project (duplicate of rst2html.py).
1582 * tools/pep2html.py: Removed from project (duplicate of Python's
1583   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1584   Docutils-related PEPs in docs/peps/).
1586 * tools/rst2pseudoxml.py: Renamed from publish.py.
1588 * tools/rst2xml.py: Renamed from docutils-xml.py.
1590 * tools/test.txt: Removed from project; moved to
1591   docs/user/rst/demo.txt.
1593 * setup.py: Now also installs ``rst2latex.py``.
1596 Release 0.3.3 (2004-05-09)
1597 ==========================
1599 * docutils/__init__.py:
1601   - 0.3.1: Reorganized config file format (multiple sections); see
1602     docs/config.txt.
1603   - Added unknown_reference_resolvers attribute to TransformSpec.
1604   - 0.3.2: Interpreted text reorganization.
1605   - 0.3.3: Released.
1607 * docutils/core.py:
1609   - Catch system messages to stop tracebacks from parsing errors.
1610   - Catch exceptions during processing report & exit without
1611     tracebacks, except when "--traceback" used.
1612   - Reordered components for OptionParser; application comes last.
1613   - Added "config_section" parameter to several methods and functions,
1614     allowing front ends to easily specify their config file sections.
1615   - Added publish_parts convenience function to allow access to individual
1616     parts of a document.
1618 * docutils/examples.py: Added to project; practical examples of
1619   Docutils client code, to be used as-is or as models for variations.
1621 * docutils/frontend.py:
1623   - Added "--traceback" & "--no-traceback" options ("traceback"
1624     setting).
1625   - Implemented support for config file reorganization:
1626     ``standard_config_files`` moved from ``ConfigParser`` to
1627     ``OptionParser``; added
1628     ``OptionParser.get_config_file_settings()`` and
1629     ``.get_standard_config_settings()``; support for old "[options]"
1630     section (with deprecation warning) and mapping from old to new
1631     settings.
1632   - Reimplemented setting validation.
1633   - Enabled flexible boolean values: yes/no, true/false, on/off.
1634   - Added ``Values``, a subclass of ``optparse.Values``, with support
1635     for list setting attributes.
1636   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1637     thanks to Beni Cherniavsky.
1638   - Added "--no-section-numbering" option.
1640 * docutils/io.py:
1642   - Catch IOErrors when opening source & destination files, report &
1643     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1644     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1646 * docutils/nodes.py:
1648   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1649     method definitions (via ``exec``) to dynamic assignments (via
1650     ``setattr``); thanks to Roman Suzi.
1651   - Encapsulated visitor dynamic assignments in a function; thanks to
1652     Ian Bicking.
1653   - Added indirect_reference_name attribute to the Targetable
1654     class. This attribute holds the whitespace_normalized_name
1655     (contains mixed case) of a target.
1657 * docutils/statemachine.py:
1659   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1660   - Added ``StringList.get_2D_block``.
1662 * docutils/utils.py:
1664   - Added "level" attribute to SystemMessage exceptions.
1666 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1667   Jannie Hofmeyr.
1669 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1670   Blaha.
1672 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1673   Marcelo Huerta San Martin.
1675 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1676   mappings by Lalo Martins.
1678 * docutils/languages/ru.py: Added to project; Russian mappings by
1679   Roman Suzi.
1681 * docutils/parsers/rst/roles.py: Added to project.  Contains
1682   interpreted text role functions, a registry for interpreted text
1683   roles, and an API for adding to and retrieving from the registry.
1684   Contributed by Edward Loper.
1686 * docutils/parsers/rst/states.py:
1688   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1689   - Allowed true em-dash character and "---" as block quote
1690     attribution marker.
1691   - Added support for <angle-bracketed> complex option arguments
1692     (option lists).
1693   - Fixed handling of backslashes in substitution definitions.
1694   - Fixed off-by-1 error with extra whitespace after substitution
1695     definition directive.
1696   - Added inline markup parsing to field lists' field names.
1697   - Added support for quoted (and unindented) literal blocks.
1698     Driven in part by a bribe from Frank Siebenlist (thanks!).
1699   - Parser now handles escapes in URIs correctly.
1700   - Made embedded-URIs' reference text omittable.  Idea from Beni
1701     Cherniavsky.
1702   - Refactored explicit target processing code.
1703   - Added name attribute to references containing the reference name only
1704     through whitespace_normalize_name (no case changes).
1705   - parse_target no longer returns the refname after going through
1706     normalize_name. This is now handled in make_target.
1707   - Fixed bug relating to role-less interpreted text in non-English
1708     contexts.
1709   - Reorganized interpreted text processing; moved code into the new
1710     roles.py module.  Contributed by Edward Loper.
1711   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1712     ``parse_directive_block``.
1714 * docutils/parsers/rst/tableparser.py:
1716   - Reworked for ``StringList``, to support "include" directives in
1717     table cells.
1719 * docutils/parsers/rst/directives/__init__.py:
1721   - Renamed ``unchanged()`` directive option conversion function to
1722     ``unchanged_required``, and added a new ``unchanged``.
1723   - Catch unicode value too high error; fixes bug 781766.
1724   - Beefed up directive error reporting.
1726 * docutils/parsers/rst/directives/body.py:
1728   - Added basic "table" directive.
1730 * docutils/parsers/rst/directives/images.py:
1732   - Added "target" option to "image" directive.
1733   - Added name attribute to references containing the reference name only
1734     through whitespace_normalize_name (no case changes).
1736 * docutils/parsers/rst/directives/misc.py:
1738   - Isolated the import of the ``urllib2`` module; was causing
1739     problems on SourceForge (``libssl.so.2`` unavailable?).
1740   - Added the "role" directive for declaring custom interpreted text
1741     roles.
1743 * docutils/parsers/rst/directives/parts.py:
1745   - The "contents" directive does more work up-front, creating the
1746     "topic" and "title", and leaving the "pending" node for the
1747     transform.  Allows earlier reference resolution; fixes subtle bug.
1749 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1750   mappings by Jannie Hofmeyr.
1752 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1753   mappings by Marek Blaha.
1755 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1756   mappings by Marcelo Huerta San Martin.
1758 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1759   Portuguese mappings by Lalo Martins.
1761 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1762   mappings by Roman Suzi.
1764 * docutils/transforms/parts.py:
1766   - The "contents" directive does more work up-front, creating the
1767     "topic" and "title", and leaving the "pending" node for the
1768     transform.  Allows earlier reference resolution; fixes subtle bug.
1769   - Added support for disabling of section numbering.
1771 * docutils/transforms/references.py:
1773   - Verifying that external targets are truly targets and not indirect
1774     references. This is because we are now adding a "name" attribute to
1775     references in addition to targets. Note sure if this is correct!
1776   - Added code to hook into the unknown_reference_resolvers list for a
1777     transformer in resolve_indirect_target. This allows the
1778     unknown_reference_resolvers to keep around indirect targets which
1779     docutils doesn't know about.
1780   - Added specific error message for duplicate targets.
1782 * docutils/transforms/universal.py:
1784   - Added FilterMessages transform (removes system messages below the
1785     verbosity threshold).
1786   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1787     to FinalCheckVisitor for application-specific handling of
1788     unresolvable references.
1789   - Added specific error message for duplicate targets.
1791 * docutils/writers/__init__.py:
1793   - Added assemble_parts method to the Writer class to allow for
1794     access to a documents individual parts.
1795   - Documented & set default for ``Writer.output`` attribute.
1797 * docutils/writers/html4css1.py:
1799   - Fixed unicode handling of attribute values (bug 760673).
1800   - Prevent duplication of "class" attribute values (bug report from
1801     Kirill Lapshin).
1802   - Improved table grid/border handling (prompted by report from Bob
1803     Marshall).
1804   - Added support for table titles.
1805   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1806     to Darek Suchojad.
1807   - Added functionality to keep track of individual parts of a document
1808     and store them in a dictionary as the "parts" attribute of the writer.
1809     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1810   - Added proper support for the "scale" attribute of the "image"
1811     element.  Contributed by Brent Cook.
1812   - Added ``--initial-header-level`` option.
1813   - Fixed bug: the body_pre_docinfo segment depended on there being a
1814     docinfo; if no docinfo, the document title was incorporated into
1815     the body segment.  Adversely affected the publish_parts interface.
1817 * docutils/writers/latex2e.py:
1819   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1820     about a missing file.
1821   - Added options and support: ``--compound-enumerators``,
1822     ``--section-prefix-for-enumerators``, and
1823     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1824     934322).
1825   - Added option ``--use-verbatim-when-possible``, to avoid
1826     problematic characters (eg, '~' in italian) in literal blocks.
1827   - It's now possible to use four section levels in the `book` and
1828     `report` LaTeX classes.  The default `article` class still has
1829     three levels limit.
1831 * docs/config.txt: "Docutils Configuration Files", added to project.
1832   Moved config file entry descriptions from tools.txt.
1834 * docs/tools.txt:
1836   - Moved config file entry descriptions to config.txt.
1838 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
1839   Development".
1841 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1842   Text Roles", added to project.
1844 * spec/rst/reStructuredText.txt:
1846   - Added description of support for <angle-bracketed> complex option
1847     arguments to option lists.
1848   - Added subsections for indented and quoted literal blocks.
1850 * test: Continually adding & updating tests.
1852   - Added test/test_settings.py & test/data/config_*.txt support
1853     files.
1854   - Added test/test_writers/test_htmlfragment.py.
1856 * test/DocutilsTestSupport.py:
1858   - Refactored LaTeX publisher test suite/case class names to make
1859     testing other writers easier.
1860   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1861     to test the processing of HTML fragments which use the new
1862     publish_parts convenience function.
1864 * tools/buildhtml.py:
1866   - Added support for the "--prune" option.
1867   - Removed dependency on pep2html.py; plaintext PEPs no longer
1868     supported.
1870 * tools/docutils.conf:
1872   - Updated for configuration file reorganization.
1874 * tools/rst2html.py:
1876   - copied from tools/html.py
1878 * setup.py:
1880   - added a 'scripts' section to configuration
1881   - added 'tools/rst2html.py' to the scripts section
1884 Release 0.3 (2003-06-24)
1885 ========================
1887 General:
1889 * Renamed "attribute" to "option" for directives/extensions.
1891 * Renamed transform method "transform" to "apply".
1893 * Renamed "options" to "settings" for runtime settings (as set by
1894   command-line options).  Sometimes "option" (singular) became
1895   "settings" (plural).  Some variations below:
1897   - document.options -> document.settings (stored in other objects as
1898     well)
1899   - option_spec -> settings_spec (not directives though)
1900   - OptionSpec -> SettingsSpec
1901   - cmdline_options -> settings_spec
1902   - relative_path_options -> relative_path_settings
1903   - option_default_overrides -> settings_default_overrides
1904   - Publisher.set_options -> Publisher.get_settings
1906 Specific:
1908 * COPYING.txt: Added "Public Domain Dedication".
1910 * FAQ.txt: Frequently asked questions, added to project.
1912 * setup.py:
1914   - Updated with PyPI Trove classifiers.
1915   - Conditional installation of third-party modules.
1917 * docutils/__init__.py:
1919   - Bumped version to 0.2.1 to reflect changes to I/O classes.
1920   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1921   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1922   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1923     option and its effect on the PEP template & writer.
1924   - Bumped version to 0.2.4 due to changes to the PEP template &
1925     stylesheet.
1926   - Bumped version to 0.2.5 to reflect changes to Reporter output.
1927   - Added ``TransformSpec`` class for new transform system.
1928   - Bumped version to 0.2.6 for API changes (renaming).
1929   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1930     convenience functions.
1931   - Added ``Component.component_type`` attribute.
1932   - Bumped version to 0.2.8 because of the internal parser switch from
1933     plain lists to the docutils.statemachine.StringList objects.
1934   - Bumped version to 0.2.9 because of the frontend.py API changes.
1935   - Bumped version to 0.2.10 due to changes to the project layout
1936     (third-party modules removed from the "docutils" package), and
1937     signature changes in ``io.Input``/``io.Output``.
1938   - Changed version to 0.3.0 for release.
1940 * docutils/core.py:
1942   - Made ``publish()`` a bit more convenient.
1943   - Generalized ``Publisher.set_io``.
1944   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1945     parameters; improved its docstring.
1946   - Added ``publish_file()`` and ``publish_string()``.
1947   - Factored ``Publisher.set_source()`` and ``.set_destination()``
1948     out of ``.set_io``.
1949   - Added support for "--dump-pseudo-xml", "--dump-settings", and
1950     "--dump-transforms" hidden options.
1951   - Added ``Publisher.apply_transforms()`` method.
1952   - Added ``Publisher.set_components()`` method; support for
1953     ``publish_*()`` conveninece functions.
1954   - Moved config file processing to docutils/frontend.py.
1955   - Added support for exit status ("exit_level" setting &
1956     ``enable_exit`` parameter for Publisher.publish() and convenience
1957     functions).
1959 * docutils/frontend.py:
1961   - Check for & exit on identical source & destination paths.
1962   - Fixed bug with absolute paths & "--config".
1963   - Set non-command-line defaults in ``OptionParser.__init__()``:
1964     ``_source`` & ``_destination``.
1965   - Distributed ``relative_path_settings`` to components; updated
1966     ``OptionParser.populate_from_components()`` to combine it all.
1967   - Require list of keys in ``make_paths_absolute`` (was implicit in
1968     global ``relative_path_settings``).
1969   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1970     "--dump-settings", and "--dump-transforms" hidden options.
1971   - Removed nasty internals-fiddling ``ConfigParser.get_section``
1972     code, replaced with correct code.
1973   - Added validation functionality for config files.
1974   - Added "--error-encoding" option/setting, "_disable_config"
1975     internal setting.
1976   - Added encoding validation; updated "--input-encoding" and
1977     "--output-encoding"; added "--error-encoding-error-handler" and
1978     "--output-encoding-error-handler".
1979   - Moved config file processing from docutils/core.py.
1980   - Updated ``OptionParser.populate_from_components`` to handle new
1981     ``SettingsSpec.settings_defaults`` dict.
1982   - Added support for "-" => stdin/stdout.
1983   - Added "exit_level" setting ("--exit" option).
1985 * docutils/io.py:
1987   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1988   - Added automatic closing to ``FileInput`` and ``FileOutput``.
1989   - Delayed opening of ``FileOutput`` file until ``write()`` called.
1990   - ``FileOutput.write()`` now returns the encoded output string.
1991   - Try to get path/stream name automatically in ``FileInput`` &
1992     ``FileOutput``.
1993   - Added defaults for source & destination paths.
1994   - Allow for Unicode I/O with an explicit "unicode" encoding.
1995   - Added ``Output.encode()``.
1996   - Removed dependency on runtime settings; pass encoding directly.
1997   - Recognize Unicode strings in ``Input.decode()``.
1998   - Added support for output encoding error handlers.
2000 * docutils/nodes.py:
2002   - Added "Invisible" element category class.
2003   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
2004     modification during a traversal.
2005   - Added element classes: ``line_block``, ``generated``, ``address``,
2006     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
2007     ``superscript``, ``subscript``, ``inline``
2008   - Added support for lists of nodes to ``Element.insert()``.
2009   - Fixed parent linking in ``Element.replace()``.
2010   - Added new abstract superclass ``FixedTextElement``; adds
2011     "xml:space" attribute.
2012   - Added support for "line" attribute of ``system_message`` nodes.
2013   - Added support for the observer pattern from ``utils.Reporter``.
2014     Added ``parse_messages`` and ``transform_messages`` attributes to
2015     ``document``, removed ``messages``.  Added ``note_parse_message``
2016     and ``note_transform_message`` methods.
2017   - Added support for improved diagnostics:
2019     - Added "document", "source", and "line" internal attributes to
2020       ``Node``, set by ``Node.setup_child()``.
2021     - Converted variations on ``node.parent = self`` to
2022       ``self.setup_child(node)``.
2023     - Added ``document.current_source`` & ``.current_line``
2024       attributes, and ``.note_source`` observer method.
2025     - Changed "system_message" output to GNU-Tools format.
2027   - Added a "rawsource" attribute to the ``Text`` class, for text
2028     before backslash-escape resolution.
2029   - Support for new transform system.
2030   - Reworked ``pending`` element.
2031   - Fixed XML DOM bug (SF #660611).
2032   - Removed the ``interpeted`` element class and added
2033     ``title_reference``, ``abbreviation``, ``acronym``.
2034   - Made substitutions case-sensitive-but-forgiving; moved some code
2035     from the parser.
2036   - Fixed Unicode bug on element attributes (report: William Dode).
2038 * docutils/optik.py: Removed from project; replaced with
2039   extras/optparse.py and extras/textwrap.py.  These will be installed
2040   only if they're not already present in the Python installation.
2042 * docutils/roman.py: Moved to extras/roman.py; this will be installed
2043   only if it's not already present in the Python installation.
2045 * docutils/statemachine.py:
2047   - Factored out ``State.add_initial_transitions()`` so it can be
2048     extended.
2049   - Converted whitespace-specific "blank" and "indent" transitions
2050     from special-case code to ordinary transitions: removed
2051     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
2052     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
2053     ``ws_initial_transitions`` attributes.
2054   - Removed ``State.match_transition()`` after merging it into
2055     ``.check_line()``.
2056   - Added ``StateCorrection`` exception.
2057   - Added support for ``StateCorrection`` in ``StateMachine.run()``
2058     (moved ``TransitionCorrection`` support there too.)
2059   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
2060     ``EOFError`` instead of ``IndexError``.
2061   - Added ``State.no_match`` method.
2062   - Added support for the Observer pattern, triggered by input line
2063     changes.
2064   - Added ``strip_top`` parameter to
2065     ``StateMachineWS.get_first_known_indented``.
2066   - Made ``context`` a parameter to ``StateMachine.run()``.
2067   - Added ``ViewList`` & ``StringList`` classes;
2068     ``extract_indented()`` becomes ``StringList.get_indented()``.
2069   - Added ``StateMachine.insert_input()``.
2070   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
2071     thanks to) Fred Drake.
2073 * docutils/utils.py:
2075   - Added a ``source`` attribute to Reporter instances and
2076     ``system_message`` elements.
2077   - Added an observer pattern to ``utils.Reporter`` to keep track of
2078     system messages.
2079   - Fixed bugs in ``relative_path()``.
2080   - Added support for improved diagnostics.
2081   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
2082   - Added support for encoding Reporter stderr output, and encoding
2083     error handlers.
2084   - Reporter keeps track of the highest level system message yet
2085     generated.
2087 * docutils/languages: Fixed bibliographic field language lookups.
2089 * docutils/languages/es.py: Added to project; Spanish mappings by
2090   Marcelo Huerta San Martin.
2092 * docutils/languages/fr.py: Added to project; French mappings by
2093   Stefane Fermigier.
2095 * docutils/languages/it.py: Added to project; Italian mappings by
2096   Nicola Larosa.
2098 * docutils/languages/sk.py: Added to project; Slovak mappings by
2099   Miroslav Vasko.
2101 * docutils/parser/__init__.py:
2103   - Added ``Parser.finish_parse()`` method.
2105 * docutils/parser/rst/__init__.py:
2107   - Added options: "--pep-references", "--rfc-references",
2108     "--tab-width", "--trim-footnote-reference-space".
2110 * docutils/parsers/rst/states.py:
2112   - Changed "title under/overline too short" system messages from INFO
2113     to WARNING, and fixed its insertion location.
2114   - Fixed enumerated list item parsing to allow paragraphs & section
2115     titles to begin with enumerators.
2116   - Converted system messages to use the new "line" attribute.
2117   - Fixed a substitution reference edge case.
2118   - Added support for "--pep-references" and "--rfc-references"
2119     options; reworked ``Inliner`` code to make customization easier.
2120   - Removed field argument parsing.
2121   - Added support for short section title over/underlines.
2122   - Fixed "simple reference name" regexp to ignore text like
2123     "object.__method__"; not an anonymous reference.
2124   - Added support for improved diagnostics.
2125   - Reworked directive API, based on Dethe Elza's contribution.  Added
2126     ``Body.parse_directive()``, ``.parse_directive_options()``,
2127     ``.parse_directive_arguments()`` methods.
2128   - Added ``ExtensionOptions`` class, to parse directive options
2129     without parsing field bodies.  Factored
2130     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
2131     ``ExtensionOptions``.
2132   - Improved definition list term/classifier parsing.
2133   - Added warnings for unknown directives.
2134   - Renamed ``Stuff`` to ``Struct``.
2135   - Now flagged as errors: transitions at the beginning or end of
2136     sections, empty sections (except title), and empty documents.
2137   - Updated for ``statemachine.StringList``.
2138   - Enabled recognition of schemeless email addresses in targets.
2139   - Added support for embedded URIs in hyperlink references.
2140   - Added backslash-escapes to inline markup end-string suffix.
2141   - Added support for correct interpreted text processing.
2142   - Fixed nested title parsing (topic, sidebar directives).
2143   - Added special processing of backslash-escaped whitespace (idea
2144     from David Abrahams).
2145   - Made substitutions case-sensitive-but-forgiving; moved some code
2146     to ``docutils.nodes``.
2147   - Added support for block quote attributions.
2148   - Added a kludge to work-around a conflict between the bubble-up
2149     parser strategy and short titles (<= 3 char-long over- &
2150     underlines).  Fixes SF bug #738803 "infinite loop with multiple
2151     titles" submitted by Jason Diamond.
2152   - Added explicit interpreted text roles for standard inline markup:
2153     "emphasis", "strong", "literal".
2154   - Implemented "superscript" and "subscript" interpreted text roles.
2155   - Added initial support for "abbreviation" and "acronym" roles;
2156     incomplete.
2157   - Added support for "--trim-footnote-reference-space" option.
2158   - Optional space before colons in directives & hyperlink targets.
2160 * docutils/parsers/rst/tableparser.py:
2162   - Fixed a bug that was producing unwanted empty rows in "simple"
2163     tables.
2164   - Detect bad column spans in "simple" tables.
2166 * docutils/parsers/rst/directives: Updated all directive functions to
2167   new API.
2169 * docutils/parsers/rst/directives/__init__.py:
2171   - Added ``flag()``, ``unchanged()``, ``path()``,
2172     ``nonnegative_int()``, ``choice()``, and ``class_option()``
2173     directive option helper functions.
2174   - Added warnings for unknown directives.
2175   - Return ``None`` for missing directives.
2176   - Added ``register_directive()``, thanks to William Dode and Paul
2177     Moore.
2179 * docutils/parsers/rst/directives/admonitions.py:
2181   - Added "admonition" directive.
2183 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
2184   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2185   "parsed-literal", "rubric", "epigraph", "highlights" and
2186   "pull-quote" directives.
2188 * docutils/parsers/rst/directives/images.py:
2190   - Added an "align" attribute to the "image" & "figure" directives
2191     (by Adam Chodorowski).
2192   - Added "class" option to "image", and "figclass" to "figure".
2194 * docutils/parsers/rst/directives/misc.py:
2196   - Added "include", "raw", and "replace" directives, courtesy of
2197     Dethe Elza.
2198   - Added "unicode" and "class" directives.
2200 * docutils/parsers/rst/directives/parts.py:
2202   - Added the "sectnum" directive; by Dmitry Jemerov.
2203   - Added "class" option to "contents" directive.
2205 * docutils/parsers/rst/directives/references.py: Added to project.
2206   Contains the "target-notes" directive.
2208 * docutils/parsers/rst/languages/__init__.py:
2210   - Return ``None`` from get_language() for missing language modules.
2212 * docutils/parsers/rst/languages/de.py: Added to project; German
2213   mappings by Engelbert Gruber.
2215 * docutils/parsers/rst/languages/en.py:
2217   - Added interpreted text roles mapping.
2219 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2220   mappings by Marcelo Huerta San Martin.
2222 * docutils/parsers/rst/languages/fr.py: Added to project; French
2223   mappings by William Dode.
2225 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2226   mappings by Nicola Larosa.
2228 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2229   mappings by Miroslav Vasko.
2231 * docutils/readers/__init__.py:
2233   - Added support for the observer pattern from ``utils.Reporter``, in
2234     ``Reader.parse`` and ``Reader.transform``.
2235   - Removed ``Reader.transform()`` method.
2236   - Added default parameter values to ``Reader.__init__()`` to make
2237     instantiation easier.
2238   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2240 * docutils/readers/pep.py:
2242   - Added the ``peps.TargetNotes`` transform to the Reader.
2243   - Removed PEP & RFC reference detection code; moved to
2244     parsers/rst/states.py as options (enabled here by default).
2245   - Added support for pre-acceptance PEPs (no PEP number yet).
2246   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2247     easy subclassing.
2249 * docutils/readers/python: Python Source Reader subpackage added to
2250   project, including preliminary versions of:
2252   - __init__.py
2253   - moduleparser.py: Parser for Python modules.
2255 * docutils/transforms/__init__.py:
2257   - Added ``Transformer`` class and completed transform reform.
2258   - Added unknown_reference_resolvers list for each transformer. This list holds
2259     the list of functions provided by each component of the transformer that
2260     help resolve references.
2262 * docutils/transforms/frontmatter.py:
2264   - Improved support for generic fields.
2265   - Fixed bibliographic field language lookups.
2267 * docutils/transforms/misc.py: Added to project.  Miscellaneous
2268   transforms.
2270 * docutils/transforms/parts.py:
2272   - Moved the "id" attribute from TOC list items to the references
2273     (``Contents.build_contents()``).
2274   - Added the ``SectNum`` transform; by Dmitry Jemerov.
2275   - Added "class" attribute support to ``Contents``.
2277 * docutils/transforms/peps.py:
2279   - Added ``mask_email()`` function, updating to pep2html.py's
2280     functionality.
2281   - Linked "Content-Type: text/x-rst" to PEP 12.
2282   - Added the ``TargetNotes`` PEP-specific transform.
2283   - Added ``TargetNotes.cleanup_callback``.
2284   - Added title check to ``Headers``.
2286 * docutils/transforms/references.py:
2288   - Added the ``TargetNotes`` generic transform.
2289   - Split ``Hyperlinks`` into multiple transforms.
2290   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2291   - Added check for circular indirect references.
2292   - Made substitutions case-sensitive-but-forgiving.
2294 * docutils/transforms/universal.py:
2296   - Added support for the "--expose-internal-attributes" option.
2297   - Removed ``Pending`` transform classes & data.
2299 * docutils/writers/__init__.py:
2301   - Removed ``Writer.transform()`` method.
2303 * docutils/writers/docutils-xml.py:
2305   - Added XML and doctype declarations.
2306   - Added "--no-doctype" and "--no-xml-declaration" options.
2308 * docutils/writers/html4css1.py:
2310   - "name" attributes only on these tags: a, applet, form, frame,
2311     iframe, img, map.
2312   - Added "name" attribute to <a> in section titles for Netscape 4
2313     support (bug report: Pearu Peterson).
2314   - Fixed targets (names) on footnote, citation, topic title,
2315     problematic, and system_message nodes (for Netscape 4).
2316   - Changed field names from "<td>" to "<th>".
2317   - Added "@" to "&#64;" encoding to thwart address harvesters.
2318   - Improved the vertical whitespace optimization; ignore "invisible"
2319     nodes (targets, comments, etc.).
2320   - Improved inline literals with ``<span class="pre">`` around chunks
2321     of text and ``&nbsp;`` for runs of spaces.
2322   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2323     ``self.docinfo`` segments.
2324   - Added support for "line_block", "address" elements.
2325   - Improved backlinks (footnotes & system_messages).
2326   - Improved system_message output.
2327   - Redefined "--stylesheet" as containing an invariant URL, used
2328     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2329     working directory.
2330   - Added "--footnote-references" option (superscript or brackets).
2331   - Added "--compact-lists" and "--no-compact-lists" options.
2332   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2333     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2334   - Improved field list rendering.
2335   - Added Docutils version to "generator" meta tag.
2336   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2337   - Improved layout of <pre> HTML source.
2338   - Fixed attribute typo on <colspec>.
2339   - Refined XML prologue.
2340   - Support for no stylesheet.
2341   - Removed "interpreted" element support.
2342   - Added support for "title_reference", "sidebar", "attribution",
2343     "rubric", and generic "admonition" elements.
2344   - Added "--attribution" option.
2345   - Added support for "inline", "subscript", "superscript" elements.
2346   - Added initial support for "abbreviation" and "acronym";
2347     incomplete.
2349 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2350   (from the sandbox).
2352   - Added french.
2353   - Double quotes in literal blocks (special treatment for de/ngerman).
2354   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2355   - Added  "--attribution" option.
2356   - Right align attributions.
2358 * docutils/writers/pep_html.py:
2360   - Parameterized output encoding in PEP template.
2361   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2362   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2363     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2364     working directory.
2365   - Added an override on the "--footnote-references" option.
2366   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2367   - Added Docutils version to "generator" meta tag.
2368   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2370 * docs/tools.txt:
2372   - Added a "silent" setting for ``buildhtml.py``.
2373   - Added a "Getting Help" section.
2374   - Rearranged the structure.
2375   - Kept up to date, with new settings, command-line options etc.
2376   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2377   - Converted settings table into a definition list.
2379 * docs/rst/quickstart.txt:
2381   - Added a table of contents.
2382   - Added feedback information.
2383   - Added mention of minimum section title underline lengths.
2384   - Removed the 4-character minimum for section title underlines.
2386 * docs/rst/quickref.html:
2388   - Added a "Getting Help" section.
2389   - Added a style to make section title backlinks more subtle.
2390   - Added mention of minimum section title underline lengths.
2391   - Removed the 4-character minimum for section title underlines.
2393 * extras: Directory added to project; contains third-party modules
2394   that Docutils depends on (optparse, textwrap, roman).  These are
2395   only installed if they're not already present.
2397 * licenses: Directory added to project; contains copies of license
2398   files for non-public-domain files.
2400 * spec/doctree.txt:
2402   - Changed the focus.  It's about DTD elements:  structural
2403     relationships, semantics, and external (public) attributes.  Not
2404     about the element class library.
2405   - Moved some implementation-specific stuff into ``docutils.nodes``
2406     docstrings.
2407   - Wrote descriptions of all common attributes and parameter
2408     entities.  Filled in introductory material.
2409   - Working through the element descriptions: 55 down, 37 to go.
2410   - Removed "Representation of Horizontal Rules" to
2411     spec/rst/alternatives.txt.
2413 * spec/docutils.dtd:
2415   - Added "generated" inline element.
2416   - Added "line_block" body element.
2417   - Added "auto" attribute to "title".
2418   - Changed content models of "literal_block" and "doctest_block" to
2419     ``%text.model``.
2420   - Added ``%number;`` attribute type parameter entity.
2421   - Changed ``%structural.elements;`` to ``%section.elements``.
2422   - Updated attribute types; made more specific.
2423   - Added "address" bibliographic element.
2424   - Added "line" attribute to ``system_message`` element.
2425   - Removed "field_argument" element; "field_name" may contain
2426     multiple words and whitespace.
2427   - Changed public identifier to docutils.sf.net.
2428   - Removed "interpreted" element; added "title_reference",
2429     "abbreviation", "acronym".
2430   - Removed "refuri" attribute from "footnote_reference" and
2431     "citation_reference".
2432   - Added "sidebar", "rubric", "attribution", "admonition",
2433     "superscript", "subscript", and "inline" elements.
2435 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2437 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2439 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2441 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2442   Dallas Mahrt.
2444 * spec/transforms.txt: Added to project.
2446 * spec/howto: Added subdirectory, for developer how-to docs.
2448 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2449   Elza, edited & extended by David Goodger.
2451 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
2452   project.
2454 * spec/rst/alternatives.txt:
2456   - Added "Doctree Representation of Transitions" from
2457     spec/doctree.txt.
2458   - Updated "Inline External Targets" & closed the debate.
2459   - Added ideas for interpreted text syntax extensions.
2460   - Added "Nested Inline Markup" section.
2462 * spec/rst/directives.txt:
2464   - Added directives: "topic", "sectnum", "target-notes",
2465     "line-block", "parsed-literal", "include", "replace", "sidebar",
2466     "admonition", "rubric", "epigraph", "highlights", "unicode" and
2467     "class".
2468   - Formalized descriptions of directive details.
2469   - Added an "align" attribute to the "image" & "figure" directives
2470     (by Adam Chodorowski).
2471   - Added "class" options to "topic", "sidebar", "line-block",
2472     "parsed-literal", "contents", and "image"; and "figclass" to
2473     "figure".
2475 * spec/rst/interpreted.txt: Added to project.  Descriptions of
2476   interpreted text roles.
2478 * spec/rst/introduction.txt:
2480   - Added pointers to material for new users.
2482 * spec/rst/reStructuredText.txt:
2484   - Disambiguated comments (just add a newline after the "::").
2485   - Updated enumerated list description; added a discussion of the
2486     second-line validity checking.
2487   - Updated directive description.
2488   - Added a note redirecting newbies to the user docs.
2489   - Expanded description of inline markup start-strings in non-markup
2490     contexts.
2491   - Removed field arguments and made field lists a generic construct.
2492   - Removed the 4-character minimum for section title underlines.
2493   - Clarified term/classifier delimiter & inline markup ambiguity
2494     (definition lists).
2495   - Added "Embedded URIs".
2496   - Updated "Interpreted Text" section.
2497   - Added "Character-Level Inline Markup" section.
2499 * test: Continually adding & updating tests.
2501   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2502   - Moved test/test_pep/ to test/test_readers/test_pep/.
2503   - Added test/test_readers/test_python/.
2504   - Added test/test_writers/ (Engelbert Gruber).
2506 * tools:
2508   - Made the ``locale.setlocale()`` calls in front ends
2509     fault-tolerant.
2511 * tools/buildhtml.py:
2513   - Added "--silent" option.
2514   - Fixed bug with absolute paths & "--config".
2515   - Updated for new I/O classes.
2516   - Added some exception handling.
2517   - Separated publishers' setting defaults; prevents interference.
2518   - Updated for new ``publish_file()`` convenience function.
2520 * tools/pep-html-template:
2522   - Allow for "--embed-stylesheet".
2523   - Added Docutils version to "generator" meta tag.
2524   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2525   - Conform to XHTML spec.
2527 * tools/pep2html.py:
2529   - Made ``argv`` a parameter to ``main()``.
2530   - Added support for "Content-Type:" header & arbitrary PEP formats.
2531   - Linked "Content-Type: text/plain" to PEP 9.
2532   - Files skipped (due to an error) are not pushed onto the server.
2533   - Updated for new I/O classes.
2534   - Added ``check_requirements()`` & ``pep_type_error()``.
2535   - Added some exception handling.
2536   - Updated for new ``publish_string()`` convenience function.
2537   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2539 * tools/quicktest.py:
2541   - Added "-V"/"--version" option.
2543 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2545 * tools/unicode2rstsubs.py: Added to project.  Produces character
2546   entity files (reSructuredText substitutions) from the MathML master
2547   unicode.xml file.
2549 * tools/editors: Support code for editors, added to project.  Contains
2550   ``emacs/restructuredtext.el``.
2552 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2554   - Added style for chunks of inline literals.
2555   - Removed margin for first child of table cells.
2556   - Right-aligned field list names.
2557   - Support for auto-numbered section titles in TOCs.
2558   - Increased the size of inline literals (<tt>) in titles.
2559   - Restored the light gray background for inline literals.
2560   - Added support for "line_block" elements.
2561   - Added style for "address" elements.
2562   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2563   - Improved field list rendering.
2564   - Vertical whitespace improvements.
2565   - Removed "a.target" style.
2567 * tools/stylesheets/pep.css:
2569   - Fixed nested section margins.
2570   - Other changes parallel those of ``../default.css``.
2573 Release 0.2 (2002-07-31)
2574 ========================
2576 General:
2578 - The word "component" was being used ambiguously.  From now on,
2579   "component" will be used to mean "Docutils component", as in Reader,
2580   Writer, Parser, or Transform.  Portions of documents (Table of
2581   Contents, sections, etc.)  will be called "document parts".
2582 - Did a grand renaming: a lot of ``verylongnames`` became
2583   ``very_long_names``.
2584 - Cleaned up imports: no more relative package imports or
2585   comma-separated lists of top-level modules.
2586 - Added support for an option values object which carries default
2587   settings and overrides (from command-line options and library use).
2588 - Added internal Unicode support, and support for both input and
2589   output encodings.
2590 - Added support for the ``docutils.io.IO`` class & subclasses.
2592 Specific:
2594 * docutils/__init__.py:
2596   - Added ``ApplicationError`` and ``DataError``, for use throughout
2597     the package.
2598   - Added ``Component`` base class for Docutils components; implements
2599     the ``supports`` method.
2600   - Added ``__version__`` (thus, ``docutils.__version__``).
2602 * docutils/core.py:
2604   - Removed many keyword parameters to ``Publisher.__init__()`` and
2605     ``publish()``; bundled into an option values object.  Added
2606     "argv", "usage", "description", and "option_spec" parameters for
2607     command-line support.
2608   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2609     methods.
2610   - Reworked I/O model for ``docutils.io`` wrappers.
2611   - Updated ``Publisher.set_options()``; now returns option values
2612     object.
2613   - Added support for configuration files (/etc/docutils.conf,
2614     ./docutils.conf, ~/.docutils).
2615   - Added ``Publisher.setup_option_parser()``.
2616   - Added default usage message and description.
2618 * docutils/frontend.py: Added to project; support for front-end
2619   (command-line) scripts.  Option specifications may be augmented by
2620   components.  Requires Optik (http://optik.sf.net/) for option
2621   processing (installed locally as docutils/optik.py).
2623 * docutils/io.py: Added to project; uniform API for a variety of input
2624   output mechanisms.
2626 * docutils/nodes.py:
2628   - Added ``TreeCopyVisitor`` class.
2629   - Added a ``copy`` method to ``Node`` and subclasses.
2630   - Added a ``SkipDeparture`` exception for visitors.
2631   - Renamed ``TreePruningException`` from ``VisitorException``.
2632   - Added docstrings to ``TreePruningException``, subclasses, and
2633     ``Nodes.walk()``.
2634   - Improved docstrings.
2635   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2636   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2637     imports.
2638   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2639     ``PreDecorative`` mixin.
2640   - Reworked the name/id bookkeeping; to ``document``, removed
2641     ``explicit_targets`` and ``implicit_targets`` attributes, added
2642     ``nametypes`` attribute and ``set_name_id_map`` method.
2643   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2644     traversals.
2645   - Added ``document.has_name()`` method.
2646   - Fixed DOM generation for list-attributes.
2647   - Added category class ``Labeled`` (used by footnotes & citations).
2648   - Added ``Element.set_class()`` method (sets "class" attribute).
2650 * docutils/optik.py: Added to project.  Combined from the Optik
2651   package, with added option groups and other modifications.  The use
2652   of this module is probably only temporary.
2654 * docutils/statemachine.py:
2656   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2657   - Added underscores to improve many awkward names.
2658   - In ``string2lines()``, changed whitespace normalizing translation
2659     table to regexp; restores Python 2.0 compatibility with Unicode.
2661 * docutils/urischemes.py:
2663   - Filled in some descriptions.
2664   - Added "shttp" scheme.
2666 * docutils/utils.py:
2668   - Added ``clean_rcs_keywords`` function (moved from
2669     docutils/transforms/frontmatter.py
2670     ``DocInfo.filter_rcs_keywords``).
2671   - Added underscores to improve many awkward names.
2672   - Changed names of Reporter's thresholds:
2673     warning_level -> report_level; error_level -> halt_level.
2674   - Moved ``utils.id()`` to ``nodes.make_id()``.
2675   - Added ``relative_path(source, target)``.
2677 * docutils/languages/de.py: German mappings; added to project.  Thanks
2678   to Gunnar Schwant for the translations.
2680 * docutils/languages/en.py: Added "Dedication" bibliographic field
2681   mappings.
2683 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2684   Chodorowski.
2686 * docutils/parsers/rst/states.py:
2688   - Added underscores to improve many awkward names.
2689   - Added RFC-2822 header support.
2690   - Extracted the inline parsing code from ``RSTState`` to a separate
2691     class, ``Inliner``, which will allow easy subclassing.
2692   - Made local bindings for ``memo`` container & often-used contents
2693     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2694   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2695   - Added ``MarkupMismatch`` exception; for late corrections.
2696   - Added ``-/:`` characters to inline markup's start string prefix,
2697     ``/`` to end string suffix.
2698   - Fixed a footnote bug.
2699   - Fixed a bug with literal blocks.
2700   - Applied patch from Simon Budig: simplified regexps with symbolic
2701     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2702   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2703   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2704   - Allowed non-ASCII in "simple names" (directive names, field names,
2705     references, etc.).
2706   - Converted ``Inliner.patterns.initial`` to be dynamically built
2707     from parts with ``build_regexp()`` function.
2708   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2709   - Updated docstrings.
2710   - Changed "table" to "grid_table"; added "simple_table" support.
2712 * docutils/parsers/rst/tableparser.py:
2714   - Changed ``TableParser`` to ``GridTableParser``.
2715   - Added ``SimpleTableParser``.
2716   - Refactored naming.
2718 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2719   a fallback language for directive names.
2721 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2722   directive to use a ``pending`` element, used only by HTML writers.
2724 * docutils/parsers/rst/directives/parts.py: Renamed from
2725   components.py.
2727   - Added "backlinks" attribute to "contents" directive.
2729 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2730   project by Adam Chodorowski.
2732 * docutils/readers/__init__.py: Gave Readers more control over
2733   choosing and instantiating Parsers.
2735 * docutils/readers/pep.py: Added to project; for PEP processing.
2737 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2738   requires a ``component`` parameter.
2740 * docutils/transforms/components.py: Added to project; transforms
2741   related to Docutils components.
2743 * docutils/transforms/frontmatter.py:
2745   - In ``DocInfo.extract_authors``, check for a single "author" in an
2746     "authors" group, and convert it to a single "author" element.
2747   - Added support for "Dedication" and generic bibliographic fields.
2749 * docutils/transforms/peps.py: Added to project; PEP-specific.
2751 * docutils/transforms/parts.py: Renamed from old components.py.
2753   - Added filter for `Contents`, to use alt-text for inline images,
2754     and to remove inline markup that doesn't make sense in the ToC.
2755   - Added "name" attribute to TOC topic depending on its title.
2756   - Added support for optional TOC backlinks.
2758 * docutils/transforms/references.py: Fixed indirect target resolution
2759   in ``Hyperlinks`` transform.
2761 * docutils/transforms/universal.py:
2763   - Changed ``Messages`` transform to properly filter out system
2764     messages below the warning threshold.
2765   - Added ``Decorations`` transform (support for ``--generator``,
2766     ``--date``, ``--time``, ``--source-link`` options).
2768 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2769   Engelbert Gruber's PDF writer.
2771 * docutils/writers/html4css1.py:
2773   - Made XHTML-compatible (switched to lowercase element & attribute
2774     names; empty tag format).
2775   - Escape double-dashes in comment text.
2776   - Improved boilerplate & modularity of output.
2777   - Exposed modular output in Writer class.
2778   - Added a "generator" meta tag to <head>.
2779   - Added support for the ``--stylesheet`` option.
2780   - Added support for ``decoration``, ``header``, and ``footer``
2781     elements.
2782   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2783     translation table to regexp; restores Python 2.0 compatibility
2784     with Unicode.
2785   - Added the translator class as instance variable to the Writer, to
2786     make it easily subclassable.
2787   - Improved option list spacing (thanks to Richard Jones).
2788   - Modified field list output.
2789   - Added backlinks to footnotes & citations.
2790   - Added percentage widths to "<col>" tags (from colspec).
2791   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2792     "<span>" changed to "<var>".
2793   - Inline literals: "<code>" changed to "<tt>".
2794   - Many changes to optimize vertical space: compact simple lists etc.
2795   - Add a command-line options & directive attributes to control TOC
2796     and footnote/citation backlinks.
2797   - Added support for optional footnote/citation backlinks.
2798   - Added support for generic bibliographic fields.
2799   - Identify backrefs.
2800   - Relative URLs for stylesheet links.
2802 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2803   PEPs (subclass of ``html4css1.Writer``).
2805 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2807 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2808   of the Docutils internal doctree in XML.
2810 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2812 * spec/doctree.txt:
2814   - Changed the title to "The Docutils Document Tree".
2815   - Added "Hyperlink Bookkeeping" section.
2817 * spec/docutils.dtd:
2819   - Added ``decoration``, ``header``, and ``footer`` elements.
2820   - Brought ``interpreted`` element in line with the parser: changed
2821     attribute "type" to "role", added "position".
2822   - Added support for generic bibliographic fields.
2824 * spec/notes.txt: Continual updates.  Added "Project Policies".
2826 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2827   section.
2829 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2831 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
2832   mailing list discussions.
2834 * spec/pep-0287.txt:
2836   - Renamed to "reStructuredText Docstring Format".
2837   - Minor edits.
2838   - Reworked Q&A as an enumerated list.
2839   - Converted to reStructuredText format.
2841 * spec/pysource.dtd:
2843   - Reworked structural elements, incorporating ideas from Tony Ibbs.
2845 * spec/pysource.txt: Removed from project.  Moved much of its contents
2846   to pep-0258.txt.
2848 * spec/rst/alternatives.txt:
2850   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2851   - Added "Inline External Targets" section.
2853 * spec/rst/directives.txt:
2855   - Added "backlinks" attribute to "contents" directive.
2857 * spec/rst/problems.txt:
2859   - Updated the Enumerated List Markup discussion.
2860   - Added new alternative table markup syntaxes.
2862 * spec/rst/reStructuredText.txt:
2864   - Clarified field list usage.
2865   - Updated enumerated list description.
2866   - Clarified purpose of directives.
2867   - Added ``-/:`` characters to inline markup's start string prefix,
2868     ``/`` to end string suffix.
2869   - Updated "Authors" bibliographic field behavior.
2870   - Changed "inline hyperlink targets" to "inline internal targets".
2871   - Added "simple table" syntax to supplement the existing but
2872     newly-renamed "grid tables".
2873   - Added cautions for anonymous hyperlink use.
2874   - Added "Dedication" and generic bibliographic fields.
2876 * test: Made test modules standalone (subdirectories became packages).
2878 * test/DocutilsTestSupport.py:
2880   - Added support for PEP extensions to reStructuredText.
2881   - Added support for simple tables.
2882   - Refactored naming.
2884 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2886   - Now supports true packages containing test modules
2887     (``__init__.py`` files required); fixes duplicate module name bug.
2889 * test/test_pep/: Subpackage added to project; PEP testing.
2891 * test/test_rst/test_SimpleTableParser.py: Added to project.
2893 * tools:
2895   - Updated html.py and publish.py front-end tools to use the new
2896     command-line processing facilities of ``docutils.frontend``
2897     (exposed in ``docutils.core.Publisher``), reducing each to just a
2898     few lines of code.
2899   - Added ``locale.setlocale()`` calls to front-end tools.
2901 * tools/buildhtml.py: Added to project; batch-generates .html from all
2902   the .txt files in directories and subdirectories.
2904 * tools/default.css:
2906   - Added support for ``header`` and ``footer`` elements.
2907   - Added styles for "Dedication" topics (biblio fields).
2909 * tools/docutils.conf: A configuration file; added to project.
2911 * tools/docutils-xml.py: Added to project.
2913 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2915 * tools/pep-html-template: Added to project.
2917 * tools/pep2html.py: Added to project from Python (nondist/peps).
2918   Added support for Docutils (reStructuredText PEPs).
2920 * tools/quicktest.py:
2922   - Added the ``--attributes`` option, hacked a bit.
2923   - Added a second command-line argument (output file); cleaned up.
2925 * tools/stylesheets/: Subdirectory added to project.
2927 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2930 Release 0.1 (2002-04-20)
2931 ========================
2933 This is the first release of Docutils, merged from the now inactive
2934 reStructuredText__ and `Docstring Processing System`__ projects.  For
2935 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2936 `DPS HISTORY`__ files.
2938 __ http://structuredtext.sourceforge.net/
2939 __ http://docstring.sourceforge.net/
2940 __ http://structuredtext.sourceforge.net/HISTORY.html
2941 __ http://docstring.sourceforge.net/HISTORY.html
2943 General changes: renamed 'dps' package to 'docutils'; renamed
2944 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2945 the test suites (reStructuredText's test/test_states renamed to
2946 test/test_rst); and all modifications required to make it all work.
2948 * docutils/parsers/rst/states.py:
2950   - Improved diagnostic system messages for missing blank lines.
2951   - Fixed substitution_reference bug.
2955    Local Variables:
2956    mode: indented-text
2957    indent-tabs-mode: nil
2958    sentence-end-double-space: t
2959    fill-column: 70
2960    End: