Apply [ 116 ] by Kirill Smelkov. No hardcode \\\\large for subtitle.
[docutils.git] / docutils / HISTORY.txt
blob063f9b86248c6bce5517489274c3eece685fdf94
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.11
17 ==================
19 * docutils/writers/latex2e/__init__.py
21   - Fix [ 239 ] Latex writer glues paragraphs with figure floats.
22   - Apply [ 116 ] by Kirill Smelkov. Don't hardcode \large for subtitle. 
24 * docutils/writers/odf_odt/__init__.py
26   - Apply patch by Jakub Wilk to fix bug [ 100 ].
28 * test/test_error_reporting.py
30   - Fix [ 223 ] by removing redundant tests we do not have control over.
31     
32 Release 0.11 (2013-07-22)
33 =========================
35 * General
37   - Apply [ 2714873 ] Fix for the overwritting of document attributes.
38   - Support embedded aliases within hyperlink references.
39   - Fix [ 228 ] try local import of docutils components (reader, writer, parser,
40     language module) before global search.
42 * docutils/nodes.py
44   - Fix [ 3601607 ] node.__repr__() must return `str` instance.
46 * docutils/parsers/rst/directives/__init__.py
48   - Fix [ 3606028 ] ``assert`` is skipped with ``python -O``.
50 * docutils/parsers/rst/directives/images.py
52   - Apply [ 3599485 ] node source/line information for sphinx translation.
54 * docutils/parsers/rst/directives/tables.py
56   - Fix [ 210 ] Python 3.3 checks CVS syntax only if "strict" is True.
58 * docutils/parsers/rst/states.py
60   - Fix [ 157 ] Line block parsing doesn't like system message.
61   - Always import our local copy of roman.py (report Larry Hastings).
63 * docutils/transforms/references.py
65   - Fix [ 3607029 ] traceback with embedded alias pointing to missing target.
67 * docutils/utils/__init__.py
69   - Fix [ 3596884 ] exception importing ``docutils.io``.
71 * docutils/writers/html4css1/__init__.py
73   - Fix [ 3600051 ] for tables in a list, table cells are not compacted.
74   - New setting `stylesheet_dirs`: Comma-separated list of directories
75     where stylesheets are found. Used by `stylesheet_path` when expanding
76     relative path arguments.
77   - New default for math-output_: ``HTML math.css``.
78   - Avoid repeated class declarations in html4css1 writer
79     (modified version of patch [ 104 ]).
81 .. _math-output: docs/user/config.html#math-output
83 * docutils/writers/latex2e/__init__.py
85   - Drop the simple algorithm replacing straight double quotes with
86     English typographic ones.
87     Activate the SmartQuotes_ transform if you want this feature.
88   - Fix literal use of babel shorthands (straight quote, tilde, ...).
89   - Fix [ 3603246 ] Bug in option "--graphicx-option=auto".
90   - New setting `stylesheet_dirs`.
92 .. _SmartQuotes: docs/user/config.html#smart-quotes
94 * docutils/writers/manpage.py
96   - Fix [3607063] handle lines starting with a period.
97   - Fix option separating comma was bold (thanks to Bill Morris).
99 Release 0.10 (2012-12-16)
100 =========================
102 * General
104   - Dropped support for Python 2.3.
105   - ``docutils/math``, ``docutils/error_reporting.py``, and
106     ``docutils/urischemes.py`` moved to the utils package.
107   - Fix [3541369] Relative __import__ also with Python 3.3.
108   - Fix [3559988] and [3560841] __import__ local writer, reader, languages
109     and parsers for Python 2.7 up.
110   - Fix import of PIL.Image.
111   - Change default of "syntax highlight" option to "long",
112     basic syntax highlight styles for LaTeX and HTML.
114 * docutils/io.py
116   - FileInput/FileOutput: no system-exit on IOError.  The `handle_io_errors`
117     option is ignored and will be removed in a future release.
118   - Fix Py3k error writing to stdout with encoding differing from default.
119   - Fix opening binary files under Py3k (thanks to Dominic Fitzpatrick).
121 * docutils/parsers/rst/directives/misc.py
123   - Fix [ 3546533 ] Unicode error with `date` directive.
125 * docutils/transforms/universal.py
127   - SmartQuotes transform for typographic quotes and dashes.
129 * docutils/utils/__init__.py
131   - normalize_language_tag() now returns `BCP 47`_ conformant tags
132     with subtags separated by ``-``.
134 * docutils/writers/html4css1/__init__.py
136   - Use ``<code>`` tag for inline "code",
137     do not drop nested inline nodes (syntax highlight tokens).
138   - Customizable MathJax URL (based on patch by Dmitry Shachnev).
139   - No line break after opening inline math tag.
141 * docutils/writers/manpage.py
143   - Apply [ 3527401 ] addmonition's don't preserve indentation
144   - Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.
146 , docutils/writers/xetex/__init__.py
148   - Apply [ 3555160 ] ensure order of "otherlanguages".
149   - Fix section numbering by LaTeX.
151 * docutils/writers/s5_html/__init__.py
153   - Fix [ 3556388 ] Mathjax does not work with rst2s5.
155 * docutils/writers/s5_html/docutils_xml.py
157   - Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.
159 * setup.py
161   - Tag ``math.css`` stylesheet as data file (patch by Dmitry Shachnev).
163 * tools/test/test_buildhtml.py
165   - Fix [ 3521167 ] allow running in any directory.
166   - Fix [ 3521168 ] allow running with Python 3.
169 Release 0.9.1 (2012-06-17)
170 ==========================
172 * setup.py
174   - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
175     installed in the PYTHONPATH. Converted tests are now
176     stored in ``test3/``, tools no longer need conversion.
178     If you installed one of Docutils versions 0.7 ... 0.9 with
179     ``setup.py install`` under Python 3, remove the spurious
180     ``test/`` and ``tools/`` directories in the site library root.
182 * test/
184   - Make tests independent from the location of the ``test/`` directory.
185   - Use converted sources (from the ``build/`` directory) for tests under
186     Python 3.
188 * tools/
190   - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
192 * docutils/io.py
194   - Fix writing binary data to sys.stdout under Python 3 (allows
195     ``rst2odt.py`` to be used with output redirection).
197 * docutils/parsers/rst/directives/misc.py
199   - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
200     ``locale == C`` and 8-bit char in path argument of `include` directive.
202 * test/alltests.py
204   - class `Tee`: catch UnicodeError when writing to "ascii" stream or
205     file under Python 3.
207 Release 0.9 (2012-05-02)
208 ========================
210 * General:
212   - New reStructuredText "code" role and directive and "code" option
213     of the "include" directive with syntax highlighting by Pygments_.
214   - Fix parse_option_marker for option arguments containing ``=``.
215   - Fix [ 2993756 ]: import Python Imaging Library's Image module
216     via ``import PIL`` as starting with PIL 1.2,
217     "PIL lives in the PIL namespace only" (announcement__).
219 .. _Pygments: http://pygments.org/
220 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
222 * setup.py
224   - Fix [ 2971827 ] and [ 3442827 ]
225     extras/roman.py moved to docutils/utils/roman.py
227 * docutils/frontend.py
229   - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
231 * docutils/io.py
233   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
234   - `mode` argument for FileOutput avoids code replication in
235     BinaryFileOutput.
236   - New exceptions InputError and OutputError for IO errors in
237     FileInput/FileOutput.
239 * docutils/core.py:
241   - No "hard" system exit on file IO errors: catch and report them in
242     `Publisher.reportException` instead. Allows handling by a calling
243     application if the configuration setting `traceback` is True.
245 * docutils/utils.py -> docutils/utils/__init__.py
247   - docutils.utils is now a package (providing a place for sub-modules)
249   .. note:: docutils/math, docutils/error_reporting.py, and
250      docutils/urischemes.py will move to the utils package in the next
251      release, too. See RELEASE-NOTES__
253      __ RELEASE-NOTES.html
255   - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
256     errors recording non-ASCII filenames (fixes [ 3434355 ]).
258   - Fix relative_path() with source=None and `unicode` target.
260 * docutils/parsers/rst/states.py
262   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
263     characters and "international" quotes around inline markup.
264   - Use `field_marker` pattern to look for start of a
265     directive option block (fixes [ 3484857 ]).
267 * docutils/parsers/rst/tableparser.py
269   - Fix [ 2926161 ] for simple tables.
270     (Combining chars in grid tables still contribute to cell width.)
272 * docutils/writers/latex2e/__init__.py
274   - Support the `abbreviation` and `acronym` standard roles.
275   - Record only files required to generate the LaTeX source as dependencies.
276   - Fix handling of missing stylesheets.
277   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
278     when suppressing LaTeX section numbering.
279   - Use ``\DUtitle`` for unsupported section levels
280   - Apply [ 3512791 ] do not compare string literals with "is"
282 * docutils/writers/xetex/__init__.py
284   - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
286 * docutils/writers/html4css1/__init__.py
288   - Change default for `math-output` setting to MathJax.
289   - Fix handling of missing stylesheets.
291 * docutils/writers/docutils_xml.py
293   - Use the visitor pattern with default_visit()/default_depart() methods
294     instead of minidom to facilitate special handling of selected nodes.
295   - Support raw XML (inserted as-is inside a <raw></raw> node).
297 * docutils/writers/manpage.py
299   - Do not emit comment line with trailing blank. Problematic for VCS.
301 Release 0.8.1 (2011-08-30)
302 ==========================
304 * General:
306   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
307     and [ 3395920 ] (correct copyright info for rst.el).
309 * test/
311   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
313 * docutils/writers/latex2e/__init__.py
315   - Clean up Babel language setting. Restores Sphinx compatibility.
317 Release 0.8 (2011-07-07)
318 ========================
320 * General:
322   - Handle language codes according to `BCP 47`_.
323   - If the specified language is not supported by Docutils,
324     warn and fall back to English.
325   - Math support: reStructuredText "math" role and directive,
326     ``math`` and ``math_block`` doctree elements.
327   - Decode command line arguments with the locale's preferred encoding
328     (to allow, e.g., ``--title=Dornröschen``).
329   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
330   - New sub-module `error_reporting`: handle encoding/decoding errors
331     when reporting exceptions.
332   - Some additions to the Docutils core are released under the 2-Clause BSD
333     license, see COPYING_ for details.
335   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
336   .. _COPYING: COPYING.html
338 * reStructuredText:
340   - Most directives now support a "name" option that attaches a
341     reference name.
343   - Directive content may start on the first line also when the directive
344     type accepts options.
346 * docs/dev/policies.txt:
348   - Recommend the 2-Clause BSD license
349     (http://www.spdx.org/licenses/BSD-2-Clause)
350     for code that is kept under the author's copyright.
352 * tools/buildhtml.py:
354   - Fix ``--local`` switch.
356 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
358 * docutils/writers/html4css1/__init__.py
360   - Set "lang" argument for objects with class argument
361     "language-<language tag>".
362   - New setting "math-output" with support for HTML, MathML, and LaTeX.
364 * docutils/writers/latex2e/__init__.py
366   - Fix [ 3043986 ] AttributeError using :local: with table of content.
367   - Place title data in the document preamble.
368   - Load `babel` package only if required.
369   - Update list of supported languages.
370   - New config setting "hyperref-options".
371     No hard-coded "unicode" hyperref option (clash with xetex).
372   - Set language for custom roles, paragraphs, block-quotes, and
373     line-quotes with class argument "language-<language tag>".
374   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
375   - Convert image URI to a local file path.
376   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
377     has more than one paragraph (Wolfgang Scherer).
378   - \leavevmode before longtable only when needed (prevents spurious vspace)
379   - do not advance table counter for tables without caption
381 * docutils/writers/xetex/__init__.py
383   - New writer generating LaTeX code for compiling with ``xelatex``.
385     A separate writer (inheriting from latex2e) instead of a ``--xetex``
386     option allows separate config options for XeTeX vs. LaTeX2e.
388 * docutils/writers/manpage.py
390   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
391   - Fix: vertical space cleaning for option group ``.``.
393 * tools/editors/emacs/rst.el:
395   - Fix [ 3001100 ] does not handle spaces in filenames
396     (thanks to Jakub Wilk)
398 * docutils/utils.py:
400   - strip whitespace from stylesheet arguments
401   - exclude combining chars from column_width()
402     (partial fix for [ 2926161 ])
404 * docutils/parsers/rst/directives/misc.py:
406   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
407     nested_parse
409 * docutils/io.py:
411   - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
412     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
414 Release 0.7 (2010-07-07)
415 ========================
417 * General:
419   - Fix [ 2881769 ] setup configuration.
420   - Fix [ 2788716 ] reporting problems in included files.
422 * docutils/io.py
424   - FileInput opens files as text files with universal newline support
425     (mode "rU", configurable with the new optional argument "mode").
427 * docutils/nodes.py
429   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
431 * docutils/utils.py
433   - Fix [ 2923723 ] let decode_path() tolerate path == None
435 * docutils/writers/html4css1/__init__.py
437   - Support SVG and SWF images (thanks to Stefan Rank).
438   - Generate valid XHTML for centered images with targets.
439     Use CSS classes instead of "align" tags for image alignment.
441 * docutils/writers/latex2e/__init__.py
443   - Use `transforms.writer_aux.Admonitions` to "normalize" special
444     admonitions.
445   - Use the ``\url`` command for URLs (breaks long URLs instead of
446     writing into the margin).
447   - Preserve runs of spaces in `inline literals`__.
448   - Deprecate ``figure_footnotes`` setting.
449   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
450   - New ``latex_preamble`` setting.
451   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
452   - Fix hyperlink targets (labels) for images, figures, and tables.
453   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
454   - Apply [ 2961991 ] Call hyperref with unicode option.
455   - Drop the special `output_encoding`__ default ("latin-1").
456     The Docutils wide default (usually "UTF-8") is used instead.
457   - Render inline markup in document title and subtitle.
458   - Fix numbering depth with LaTeX section numbering.
459   - Update Unicode -> LaTeX translations.
460   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
462 __ docs/ref/restructuredtext.html#inline-literals
463 __ docs/user/config.html#docutils-footnotes
464 __ docs/user/config.html#output_encoding
466 * docutils/writers/manpage.py
468   - Fix: supported attribute (thanks to peter2108).
469   - Remove trailing blanks in code (keep in sync with mercurial version).
470   - Titles level 1, that is ``.SH``, always uppercase.
471   - Apply patch from mg: literal text should be bold in man-pages.
473 * docutils/nodes.py
475   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
476     turkish locale.
478 * setup.py:
480   - Python 3 support: copy test/ and tools/ to the build-dir
481     and convert Python sources with 2to3.
484 Release 0.6 (2009-10-11)
485 ========================
487 * General:
489   - Docutils is now compatible with Python versions from 2.3 up to 2.6
490     and convertible to 3.1 code.
492     + Node.__nonzero__ returns True instead of 1.
493     + use os.walk instead os.path.walk.
494     + minimize "types" module where possible.
495     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
496     + Text nodes now subclass unicode rather than UserString
497       (which is gone in python 3.0).
498     + 3.0 compatibility module docutils._compat
500     + Drop 2.2 compatibility workarounds.
501     + Drop extras/optparse.py and extras/textwrap.py
502       (stdlib modules since 2.3).
504   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
505   - Unix man page export: manpage writer moved from sandbox to Doctutils
506     core.
508   - Apply [ 1719345 ] Galician translation
509   - Apply [ 1905741 ] Polish translation
510   - Apply [ 1878977 ] make_id(): deaccent characters.
511   - Apply [ 2029251 ] return nonzero when tests fail.
512   - Fix [ 1692788 ] allow UTF-8 in style sheets.
513   - Fix [ 2781629 ] support non-ASCII chars in file names.
514   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
515   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
516   - Fix [ 2821266 ] --strict option works now like --halt=info.
517   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
518   - Fix [ 1627229 ] hyperlink references in substitutions.
520   - The "newlatex" writer is orphaned.
522 * reStructuredText:
524   - Documented Unicode characters allowed as inline markup openers,
525     closers, and delimiters.
526   - Allow units for all length specifications.
527   - Allow percent sign in "scale" argument of "figure" and "image" directives.
528   - Bugfix: The "figalign" argument of a figure now works as intended
529     (aligning the figure, not its contents).
530   - Align images with class "align-[right|center|left]"
531     (allows setting the alignment of an image in a figure).
533 * docutils/nodes.py:
535   - Added ``Element.__contains__`` method, for the in-operator.
537 * docutils/parsers/rst/states.py:
539   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
540   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
541     " " (non-breaking space), and "¡ ¿" openers.
543 * docutils/parsers/directives/misc.py:
545   - Added ``start-line`` and ``end-line`` options to "include"
546     directive to select a range of lines.
547   - Hard tabs in literal inclusions are replaced by spaces. This is
548     configurable via the new ``tab-width`` option of the "include" directive
549     (a negative tab-width prevents tab expansion).
551 * docutils/utils.py:
553   - Add ``get_stylesheet_list`` function.
554   - Apply [ 2834836 ] print info at halt
556 * docutils/transforms/universal.py:
558   - Raise default priority of StripClasses to exclude stripped classes from
559     the ToC.
561 * docutils/writers/html4css1/__init__.py:
563   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
564     separated list of stylesheets.
565   - Address [ 1938891 ] Inline literal text creates "pre" span only when
566     needed to prevent inter-word line wraps.
567   - Use `translate` method instead of repeated `replace` calls.
568   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
569     classes to allow CSS styling that does not interfere with other
570     table-using constructs (field lists, citations, ...).
572 * docutils/writers/newlatex2e/__init__.py:
574   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
576 * docutils/writers/latex2e/__init__.py (see also
577   `<docs/user/docutils-05-compat.sty.html>`__) :
579   - Add ``--embed-stylesheet`` option.
580   - Apply [ 1474017 ] image vertical alignment is reversed.
581   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
582   - Change: has_key for dictionaries (not Nodes) to in-operator.
583   - Merge adjacent citations into one latex cite command.
584   - Failsave implementation of custom roles. LaTeX compilation now ignores
585     unknown classes instead of aborting with an error.
586   - Support custom roles based on standard roles.
587   - LaTeX packages can be used as ``--stylesheet`` arguments without
588     restriction. (A style sheet is now referenced with the ``\usepackage``
589     command, if it ends with ``.sty`` or has no extension.)
590   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
591   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
592   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
593     2005-02-04 as a configurable length unit).
594   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
595     if font-encoding is set to ''. LaTeX defaults to OT1 then.
596   - Set sub- and superscript role argument in text mode not as math.
597     Use a custom role based on sub-/superscript if you want italic shape.
598   - Shorter preamble and less dependencies: Load packages and define macros
599     only if required in the document.
600   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
601   - New custom environments and commands with optional "classes" argument.
602   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
603   - Better conformance to Docutils specifications with ``--use-latex-toc``.
604     Support for LaTeX generated ToC also with unnumbered sections.
605   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
606     section numbering by LaTeX.
607   - Use default font in admonitions and sidebar.
608   - Align of image in a figure defaults to 'center'.
609   - Bugfix: Newlines around targets and references prevent run-together
610     paragraphs.
611   - Fix internal hyperlinks.
612   - Use class defaults for page margins ('typearea' now optional).
613   - Float placement made configurable, default changed to "here definitely".
614   - Typeset generic topic as "quote block with title".
615   - Use template (file and configuration option).
616   - In the default template, load cmap.sty (fix text extraction in PDF) and
617     fixltx2e.sty (LaTeX patches, \textsubscript).
618   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
619   - Use `translate` instead of repeated `replace` calls for text encoding.
620   - Hyperlinked footnotes and support for symbol footnotes and
621     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
622   - Complete pairs of binary options
623     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
624     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
625   - New defaults:
626     - font-encoding: "T1" (formerly implicitely set by 'ae').
627     - use-latex-toc: true (ToC with page numbers).
628     - use-latex-footnotes: true (no mixup with figures).
630 * docutils/writers/manpage.py
632   - Do not print version at document end, this is done by the viewer.
633   - Do not print date at document end, this is done by the viewer.
634   - Fix storage of docinfo fields for none standard fields.
636 * docutils/tools/rst2man.py
638 Release 0.5 (2008-06-25)
639 ========================
641 * docutils/languages/he.py: Added to project: Hebrew mappings by
642   Meir Kriheli.
644 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
645   mappings by Meir Kriheli.
647 * docutils/frontend.py:
649   - Configuration files are now assumed and required to be
650     UTF-8-encoded.
651   - Paths of applied configuration files are now recorded in the
652     runtime setting ``_config_files`` (accessible via
653     ``--dump-settings``).
654   - Added ``--strip-elements-with-class`` and ``--strip-class``
655     options (``strip_elements_with_classes`` and ``strip_classes``
656     settings).
658 * docutils/io.py:
660   - Added code to determine the input encoding from data: encoding
661     declarations or the presence of byte order marks (UTF-8 & UTF-16).
662   - Added support for IronPython 1.0.
664 * docutils/nodes.py:
666   - Added ``document.__getstate__`` method, for pickling.
668 * docutils/parsers/rst/states.py:
670   - Allow ``+`` and ``:`` in reference names.
671   - Unquoted targets beginning with an underscore (``.. __target:
672     URI``) are no longer accepted.
673   - Added support for multiple attributions in a physical block quote
674     (indented text block), dividing it into multiple logical block
675     quotes.
676   - Added support for unicode bullets in bullet lists: "•", "‣", and
677     "⁃".
678   - Added support for new object-oriented directive interface,
679     retaining compatibility to the old functional interface.
680   - Added support for throwing ``DirectiveError``'s from within
681     directive code.
683 * docutils/parsers/rst/__init__.py:
685   - Added ``Directive`` base class.
686   - Added ``DirectiveError`` base class.
687   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
688     definitions.
690 * docutils/parsers/directives/:
692   - Refactored all reStructuredText directives to use the new
693     object-oriented directive interface.  Errors are now (mostly)
694     thrown using the new ``DirectiveError`` class.
696 * docutils/parsers/directives/misc.py:
698   - Added ``start-after`` and ``end-before`` options to ``include``
699     directive; thanks to Stefan Rank.
701 * docutils/transforms/universal.py:
703   - Added ``StripClassesAndElements`` transform to remove from the
704     document tree all elements with classes in
705     ``settings.strip_elements_with_classes`` and all "classes"
706     attribute values in ``self.document.settings.strip_classes``.
708 * docutils/transforms/writer_aux.py:
710   - Added ``Admonitions`` transform to transform specific admonitions
711     (like ``note``, ``warning``, etc.) into generic admonitions with a
712     localized title.
714 * docutils/writers/html4css1/__init__.py:
716   - Moved template functionality from the PEP/HTML writer here.
717   - Expanded the fragments available in the ``parts`` attribute.
718   - Moved ``id`` attributes from titles to surrounding ``div``
719     elements.
720   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
721     universally supported now).
722   - ``template.txt`` is now opened in text mode instead of binary mode
723     (to ensure Windows compatibility).
724   - ``a`` elements now have an "internal" or "external" class,
725     depending on reference type.
727 * docutils/writers/html4css1/template.txt: Added to project.
729 * docutils/writers/pep_html/:
731   - Moved template functionality to the HTML writer.
733 * docutils/writers/s5_html/__init__.py:
735   - Added ``view_mode`` & ``hidden_controls`` settings
736     (``--view-mode`` & ``--hidden-controls/--visible-controls``
737     options).
739 * docutils/writers/latex2e/__init__.py:
741   - Add ``--literal-block-env``
742   - Fix: escaping ``%`` in href urls.
743   - Move usepackage hyperref after stylesheet inclusion.
744   - Fix: scrartcl does not have chapter but scrreprt.
745   - Add newline after ``\end{verbatim}``.
746   - Merge smaller differences from latex2e_adaptive_preamble.
747   - Add ``use-part-section``.
748   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
749   - Using leavemode option_list no longer needs to check if parent
750     is a definition list.
751   - Append ``\leavemode`` to definition list terms.
752   - No longer write visit\_/depart_definition_list_item comments to
753     output.
754   - Table column width with 3 decimal places.
755   - Add table stubs support (boldfont).
756   - Add assemble_parts to writer.
757   - Add simply support for nested tables.
758   - Fix verbatim in tables if use-verbatim-when-possible.
759   - Use section commands down to subparagraph.
760   - Put ensuremath around some latin1 chars.
761   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
762   - New option ``--use-bibtex=style,db1,db2``.
763   - New option ``--reference-label`` to allow usage of LaTeX ref for
764     labels in section references.
765   - Add a label after every section to support sectionnumbers as reference
766     labels.
767   - Fix: bug# 1605376 rst2latex: bad options group list
768   - Remove inactive code for use_optionlist_for_option_list.
769   - Remove latex comments from option_list output.
770   - Fix: bug# 1612270 double qoutes in italian literal.
771   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
772   - Add option --use-latex-abstract.
773   - Image width unit ``px`` is translated to ``pt``.
774   - Add image height support.
775   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
776     bug #1457388
777   - Fix: Do not escape underscores in citation reference labels if
778     use-latex-citations is set.
779   - Use centering instead of center for figure contents, to avoid vertical
780     space.
781   - Recognize table class: borderless, nolines, booktabs, standard.
782   - Fix: Renaming contents section does not work with latex writer; SF
783     bug #1487405.
784   - Applied patch for custom roles with classes from Edward Loper.
785   - Fixed bug that caused crashes with more than 256 lists.
787 * docutils/writers/pep_html/__init__.py:
789   - Changed to support new python.org website structure and
790     pep2pyramid.py.
792 * docs/howto/security.txt: "Deploying Docutils Securely", added to
793   project.
795 * tools/buildhtml.py:
797   -- Added ``ignore`` setting to exclude a list of shell patterns
798      (default: ``.svn:CVS``).
800 * tools/editors/emacs/rst.el:
802   - Changed license to "GPL".
803   - Added ``rst-straighten-decorations`` function.
804   - The ``compile`` module is now always loaded.
805   - Added ``rst-toggle-line-block`` function.
806   - Headings consisting only of non-ASCII characters are now
807     recognized by ``rst-toc`` and ``rst-adjust``.
808   - Added font-lock support for multi-line comments where the first
809     comment line is empty.
810   - Added ``(require 'font-lock)``.
812 * setup.py:
814   - Provide descriptive error message if distutils is missing.
817 Release 0.4 (2006-01-09)
818 ========================
820 * General:
822   - Updated the project policies for trunk/branch development &
823     version numbering.
825 * docutils/__init__.py:
827   - Added ``__version_details__`` attribute to describe code source
828     (repository/snapshot/release).
829   - Replaced ``default_transforms`` attribute of TransformSpec with
830     ``get_transforms()`` method.
832 * docutils/core.py:
834   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
835     functions, for document tree extraction and reprocessing.
837 * docutils/io.py:
839   - Added ``DocTreeInput`` class, for reprocessing existing documents.
840   - Added support for non-Unicode (e.g. binary) writer output.
842 * docutils/nodes.py:
844   - Re-introduced ``Targetable.indirect_reference_name``, for
845     MoinMoin/reST compatibility (removed in r3124/r3129).
846   - Added ``serial_escape`` function; escapes string values that are
847     elements of a list, for serialization.  Modified Docutils-XML
848     writing (``Element._dom_node``) and pseudo-XML writing
849     (``Element.starttag``) to use ``serial_escape``.
850   - Added ``Node.deepcopy()`` method.
851   - Removed the internal lists ``document.substitution_refs``,
852     ``document.anonymous_refs``, and ``document.anonymous_targets``.
853   - Added a "container" element.
854   - Fixed bug where values of list-valued attributes of elements
855     originating from custom interpreted text roles (i.e., with custom
856     classes) were being shared between element instances.  Reported by
857     Shmuel Zeigerman.
859 * docutils/statemachine.py:
861   - Added trailing whitespace stripping to ``string2lines()``.
862   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
863     Asian double-width character support.
865 * docutils/utils.py:
867   - Added ``east_asian_column_width()`` for double-width character
868     support.
870 * docutils/languages/ja.py: Added to project: Japanese mappings by
871   Hisashi Morita.
873 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
874   mappings by Panjunyong.
876 * docutils/parsers/null.py: Added to project; a do-nothing parser.
878 * docutils/parsers/rst/__init__.py:
880   - Added validator to tab_width setting, with test.  Closes SF bug
881     #1212515, report from Wu Wei.
883 * docutils/parsers/rst/states.py:
885   - Fixed bug with escaped colons indicating a literal block.
886   - Fixed bug with enumerated lists (SF#1254145).
887   - Backslash-escaped colons inside of field names are now allowed.
888   - Targets (implicit and explicit), anonymous hyperlink references
889     and auto-numbered footnote references inside of substitution
890     definitions are now disallowed.
891   - Fixed bug: list items with blank first lines.
892   - Fixed bug: block quote attributions with indented second lines.
893   - Added East Asian double-width character support (Python 2.4 only).
895 * docutils/parsers/rst/tableparser.py:
897   - Added East Asian double-width character support (Python 2.4 only).
899 * docutils/parsers/rst/directives/body.py:
901   - Added the "container" directive.
903 * docutils/parsers/rst/directives/misc.py:
905   - Added the "default-role", "title", and "date" directives.
906   - Added standard data file syntax to the "include" directive.
907   - Added support for "class" directive content.
909 * docutils/parsers/rst/directives/images.py:
911   - Added ``indirect_reference_name`` support for images with a target
912     option.
913   - Added support for image width and height units.
914   - Fixed bug with image "target" options.
916 * docutils/parsers/rst/directives/references.py:
918   - Added "class" attribute to "target-notes" directive, for
919     footnote_reference classes.
921 * docutils/parsers/rst/include/: Directory added to project; contains
922   standard data files for the "include" directive.  Initial contents:
923   character entity substitution definition sets, and a set of
924   definitions for S5/HTML presentations.
926 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
927   mappings by David Goodger.
929 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
930   Simplified Chinese mappings by Panjunyong.
932 * docutils/readers/__init__.py:
934   - Added universal.Decorations and universal.ExposeInternals
935     transforms as default transforms for all readers.
936   - Added ``ReReader`` base class for readers that reread an existing
937     document tree.
939 * docutils/readers/doctree.py: Added to project; a reader for existing
940   document trees.
942 * docutils/transforms/frontmatter.py:
944   - Fixed the DocInfo transform to handle SVN-style expansion of the
945     "Date" keyword.
946   - In ``DocInfo.extract_authors``, treat the contents of "authors"
947     fields uniformly.
949 * docutils/transforms/misc.py:
951   - Added misc.Transitions transform, extracted from
952     universal.FinalChecks.
954 * docutils/transforms/references.py:
956   - Added references.DanglingReferences transform, extracted from
957     universal.FinalChecks.
958   - Fixed bug with doubly-indirect substitutions.
959   - Added footnote_reference classes attribute to "TargetNotes".
960   - Fixed bug with circular substitution definitions that put Docutils
961     into an infinite loop.
963 * docutils/transforms/universal.py:
965   - Added universal.ExposeInternals transform, extracted from
966     universal.FinalChecks.
967   - Removed universal.FinalChecks transform (logic has been moved to
968     several new transforms).
969   - Fixed bug with the "expose_internals" setting and Text nodes
970     (exposed by the "rawsource" internal attribute).
971   - Added the universal.StripComments transform, implementation of the
972     "strip_comments" setting.
974 * docutils/transforms/writer_aux.py: Added to project; auxiliary
975   transforms for writers.
977   - Added ``Compound`` transform, which flattens compound paragraphs.
979 * docutils/writers/: Several writer modules (html4css1.py) were
980   converted into packages.  Support modules and data files have been
981   moved into the packages.  The stylesheets for the HTML writers are
982   now installed along with the code, the code knows where to find
983   them, and the default is to use them (actually, to embed them).
984   Some adjustments to configuration files may be necessary.  The
985   easiest way to obtain the new default behavior is to remove all
986   settings whose name includes "stylesheet".
988 * docutils/writers/__init__.py:
990   - Added universal.Messages and universal.FilterMessages transforms
991     as default transforms for all writers.
992   - Added ``UnfilteredWriter`` base class for writers that pass the
993     document tree on unchanged.
995 * docutils/writers/docutils_xml.py:
997   - Made ``xmlcharrefreplace`` the default output encoding error
998     handler.
1000 * docutils/writers/html4css1/:
1002   - Added support for image width and height units.
1003   - Made ``xmlcharrefreplace`` the default output encoding error
1004     handler.
1005   - Made ``--embed-stylesheet`` the default rather than
1006     ``--link-stylesheet``.
1007   - Moved "id" attribute from container (section etc.) to title's <a>
1008     tag, to be on the same tag as "name".
1009     (!!! To be reverted in Docutils 0.5.)
1010   - Added vertical space between fields of field lists.
1011   - Added ``--compact-field-lists`` option to remove vertical space in
1012     simple field lists.
1013   - Made cloaking of email addresses with ``--cloak-email-addresses``
1014     less obtrusive.
1015   - Fixed support for centered images.
1016   - Added support for class="compact" & class="open" lists.
1018 * docutils/writers/latex2e/:
1020   - Underscores in citekeys are no longer escaped.
1022 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
1023   mapping of Unicode characters to LaTeX equivalents.
1025 * docutils/writers/s5_html/: Package added to project; writer for
1026   S5/HTML slide shows.
1028 * docs/dev/distributing.txt: Added to project; guide for distributors
1029   (package maintainers).
1031 * docs/dev/hacking.txt: Added to project; guide for developers.
1033 * docs/ref/doctree.txt:
1035   - Updated for plural attributes "classes", "ids", "names",
1036     "dupnames".
1037   - Added the "container" element.
1039 * docs/ref/docutils.dtd:
1041   - Updated for plural attributes "classes", "ids", "names",
1042     "dupnames".
1044 * docs/user/emacs.txt: Added to project; a document about Emacs
1045   support for reStructuredText and Docutils.
1047 * docs/user/links.txt: Added to project; lists of Docutils-related
1048   links.
1050 * docs/user/mailing-lists.txt: Added to project; information about
1051   Docutils-related mailing lists and how to access them.
1053 * docs/user/slide-shows.txt: Added to project; example of and docs for
1054   the S5/HTML writer (``rst2s5.py`` front end).
1056 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
1057   Files", added to project.
1059 * test/coverage.sh: Added to project; test coverage script.
1061 * test/DocutilsTestSupport.py:
1063   - Added support for specifying runtime settings at the suite level.
1065 * test/test_functional.py:
1067   - Added the ``clear_output_directory`` function.
1068   - Added support for ``_test_more`` functions in functional test
1069     config files.
1071 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
1073 * tools/rstpep2html.py: Renamed from pep.py.
1075 * tools/dev/create_unimap.py: Added to project; script to create the
1076   docutils/writers/unimap_latex.py mapping file.
1078 * tools/dev/profile_docutils.py: Added to project; profiler script.
1080 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
1082 * tools/editors/emacs/restructuredtext.el,
1083   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
1084   Removed from project; the functionality is now contained in rst.el.
1086 * tools/editors/emacs/rst.el: Added to project.  Added many features
1087   and fixed many bugs.  See docs/user/emacs.txt for details.
1089 * tools/stylesheets: Removed from project.  Stylesheets have been
1090   renamed and moved into writer packages.
1093 Release 0.3.9 (2005-05-26)
1094 ==========================
1096 * General:
1098   - Eliminated and replaced all uses of the old string attributes
1099     ``id``, ``name``, ``dupname`` and ``class`` with references to the
1100     new list attributes ``ids``, ``names``, ``dupnames`` and
1101     ``classes`` throughout the whole source tree.
1103 * docutils/core.py:
1105   - Enabled ``--dump-*`` options when ``--traceback`` specified,
1106     allowing for easier debugging.
1107   - In ``Publisher.publish()``, expanded the generic top-level
1108     exception catching.
1110 * docutils/examples.py:
1112   - Added ``internals`` function for exploration.
1114 * docutils/io.py:
1116   - Fixed ``Input.decode`` method to apply heuristics only if no
1117     encoding is explicitly given, and to provide better reporting of
1118     decoding errors.
1119   - The ``Input.decode`` method now removes byte order marks (BOMs)
1120     from input streams.
1122 * docutils/nodes.py:
1124   - ``image`` element class changed to subclass of Element, not
1125     TextElement (it's an empty element, and cannot contain text).
1126   - Added ``attr_defaults`` dictionary for default attribute values.
1127   - Added empty list as default value for the following attributes:
1128     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
1129   - Added ``document.decoration`` attribute,
1130     ``document.get_decoration`` method, and ``decoration.get_header``
1131     & ``.get_footer`` methods.
1132   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
1133     methods.
1135 * docutils/utils.py:
1137   - Removed ``docutils.utils.Reporter.categories``,
1138     ``docutils.utils.ConditionSet``, and all references to them, to
1139     simplify error reporting.
1141 * docutils/languages/nl.py: Added to project; Dutch mappings by
1142   Martijn Pieters.
1144 * docutils/parsers/rst/__init__.py:
1146   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
1148 * docutils/parsers/rst/states.py:
1150   - Added check for escaped at-mark to prevent email address recognition.
1151   - Fixed option lists to allow spaces inside ``<angle-bracketed option
1152     arguments>``.
1153   - Allowed whitespace in paths and URLs.
1154   - Added auto-enumerated list items.
1155   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
1156     followed by text.
1157   - Added support for table stub columns.
1159 * docutils/parsers/rst/directives/__init__.py:
1161   - Allowed whitespace in paths (``path`` function).
1162   - Added ``uri`` directive option conversion function.
1164 * docutils/parsers/rst/directives/body.py:
1166   - Fixed illegal context bug with "topic" directive (allowed within
1167     sidebars; not within body elements).
1169 * docutils/parsers/rst/directives/images.py:
1171   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1172   - Added support for the ``file_insertion_enabled`` setting in the
1173     "figure" directive (disables "figwidth" option).
1174   - "image" directive: added checks for valid values of "align" option,
1175     depending on context.  "figure" directive: added specialized
1176     "align" option and attribute on "figure" element.
1177   - Made ":figwidth: image" option of "figure" directive work again.
1178   - Fixed bug with reference names containing uppercase letters
1179     (e.g. ``Name_``) in "target" option of "image" directive.
1181 * docutils/parsers/rst/directives/misc.py:
1183   - Fixed "include" and "raw" directives to catch text decoding
1184     errors.
1185   - Allowed whitespace in "include" & "raw" directive paths.
1186   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1187     settings in "include" & "raw" directives.
1189 * docutils/parsers/rst/directives/parts.py:
1191   - Added "header" & "footer" directives.
1192   - Fixed illegal context bug with "contents" directive (topics
1193     allowed within sidebars; not within body elements).
1195 * docutils/parsers/rst/directives/tables.py:
1197   - Added "list-table" directive.
1198   - Caught empty CSV table bug.
1199   - Added support for the ``file_insertion_enabled`` setting in the
1200     "csv-table" directive.
1201   - Added ``stub-columns`` option to "csv-table" and "list-table"
1202     directives.
1204 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1205   mappings by Martijn Pieters.
1207 * docutils/readers/standalone.py:
1209   - Added ``--section-subtitles`` and ``--no-section-subtitles``
1210     options to activate or deactivate the SectSubTitle transform.
1212 * docutils/transforms/frontmatter.py:
1214   - Added SectSubTitle transform to promote titles of lone
1215     subsections to subtitles.
1217 * docutils/transforms/references.py:
1219   - Fixed mislocated internal targets bug, by propagating internal
1220     targets to the next node, making use of the newly added support
1221     for multiple names and IDs.
1222   - Fixed duplicate footnote label bug.
1223   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1224     transform.
1226 * docutils/writers/html4css1.py:
1228   - Fixed unencoded stylesheet reference bug (characters like "&" in
1229     stylesheet references).
1230   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1231     tags).
1232   - Added support for multiple IDs per node by creating empty ``span``
1233     tags.
1234   - Added the ``field_name_limit`` & ``option_limit`` settings &
1235     support.
1236   - Added support for table stub columns.
1237   - Added support for the ``align`` attribute on ``figure`` elements.
1238   - Added the ``cloak_email_addresses`` setting & support.
1239   - Added ``html_prolog``, ``html_head``, ``html_body``,
1240     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1241     ``docutils.core.publish_parts``.
1242   - Added support for section subtitles.
1244 * docutils/writers/latex2e.py:
1246   - Fixed tables starting with more than one multirow cell.
1247   - Improved --use-latex-docinfo so that organization/contact/address
1248     fields are lumped with the last author field and appear on the
1249     titlepage.
1250   - Made sure the titlepage is always shown with --use-latex-docinfo,
1251     even if the document has no title.
1252   - Made sure that latex doesn't fill in today's date if no date field
1253     was given.
1254   - Added support for section subtitles.
1256 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1257   (under development).
1259 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1261 * docs/api/publisher.txt:
1263   - Added "``publish_parts`` Details" section.
1265 * docutils/dev/repository.txt: Added to project; information about the
1266   Docutils Subversion repository.
1268 * docs/ref/docutils.dtd:
1270   - Added a ``stub`` attribute to the ``colspec`` element via the
1271     ``tbl.colspec.att`` parameter entity.
1272   - Allowed topic elements within sidebars
1273   - Added an ``align`` attribute to the ``figure`` element.
1275 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1276   writer.
1279 Release 0.3.7 (2004-12-24)
1280 ==========================
1282 * docutils/frontend.py:
1284   - Added options: --input-encoding-error-handler,
1285     --record-dependencies, --leave-footnote-reference-space,
1286     --strict-visitor.
1287   - Added command-line and config file support for "overrides" setting
1288     parameter.
1290 * docutils/io.py:
1292   - Added support for input encoding error handler.
1294 * docutils/nodes.py:
1296   - Added dispatch_visit and dispatch_departure methods to
1297     NodeVisitor; useful as a hook for Visitors.
1298   - Changed structure of ``line_block``; added ``line``.
1299   - Added ``compound`` node class.
1300   - Added a mechanism for Visitors to transitionally ignore new node
1301     classes.
1303 * docutils/utils.py:
1305   - Moved ``escape2null`` and ``unescape`` functions from
1306     docutils/parsers/rst/states.py.
1308 * docutils/parsers/rst/roles.py:
1310   - Added "raw" role.
1311   - Changed role function API: the "text" parameter now takes
1312     null-escaped interpreted text content.
1314 * docutils/parsers/rst/states.py:
1316   - Fixed bug where a "role" directive in a nested parse would crash
1317     the parser; the state machine's "language" attribute was not being
1318     copied over.
1319   - Added support for line block syntax.
1320   - Fixed directive parsing bug: argument-less directives didn't
1321     notice that arguments were present.
1322   - Removed error checking for transitions.
1323   - Added support for multiple classifiers in definition list items.
1324   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1325   - Changed role function API: the "text" parameter now takes
1326     null-escaped interpreted text content.
1327   - Empty sections and documents are allowed now.
1329 * docutils/parsers/rst/directives/__init__.py:
1331   - Added ``encoding`` directive option conversion function.
1332   - Allow multiple class names in class_option conversion function.
1334 * docutils/parsers/rst/directives/body.py:
1336   - Converted the line-block directive to use the new structure.
1337   - Extracted the old line-block functionality to the ``block``
1338     function (still used).
1339   - Added ``compound`` directive (thanks to Lea Wiemann).
1341 * docutils/parsers/rst/directives/misc.py:
1343   - Added "encoding" option to "include" and "raw" directives.
1344   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1345   - Allow multiple class names in the "class" directive.
1347 * docutils/parsers/rst/directives/parts.py:
1349   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1350     options.  Thanks to Lele Gaifax.
1352 * docutils/parsers/rst/directives/tables.py:
1354   - Added "encoding" directive to "csv-table" directive.
1355   - Added workaround for lack of Unicode support in csv.py, for
1356     non-ASCII CSV input.
1358 * docutils/transforms/misc.py:
1360   - Fixed bug when multiple "class" directives are applied to a single
1361     element.
1362   - Enabled multiple format names for "raw" directive.
1364 * docutils/transforms/references.py:
1366   - Added support for trimming whitespace from beside substitution
1367     references.
1369 * docutils/transforms/universal.py:
1371   - FinalChecks now checks for illegal transitions and moves
1372     transitions between sections.
1374 * docutils/writers/html4css1.py:
1376   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1377   - "stylesheet" and "stylesheet_path" settings are now mutually
1378     exclusive.
1379   - Added support for the new line_block/line structure.
1380   - --footnote-references now overrides
1381     --trim-footnote-reference-space, if applicable.
1382   - Added support for ``compound`` elements.
1383   - Enabled multiple format names for "raw" directive.
1384   - ``<p>`` tags of a paragraph which is the only visible child of the
1385     document node are no longer stripped.
1386   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1387     new method ``should_be_compact_paragraph()``.
1388   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1389     elements.
1390   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1391     the output if they have their ``class`` attribute set.
1392   - The whole document is now surrounded by a ``<div
1393     class="document">`` element.
1394   - Body-level images are now wrapped by their own ``<div>`` elements,
1395     with image classes copied to the wrapper, and for images which
1396     have the ``:align:`` option set, the surrounding ``<div>`` now
1397     receives a class attribute (like ``class="align-left"``).
1399 * docutils/writers/latex2e.py:
1401   - no newline after depart_term.
1402   - Added translations for some Unicode quotes.
1403   - Added option "font-encoding", made package AE the default.
1404   - "stylesheet" and "stylesheet_path" settings are now mutually
1405     exclusive.
1406   - --footnote-references now overrides
1407     --trim-footnote-reference-space, if applicable.
1408   - The footnote label style now matches the footnote reference style
1409     ("brackets" or "superscript").
1410   - Added support for ``compound`` elements.
1411   - Enabled multiple format names for "raw" directive.
1413 * docs/ref/docutils.dtd:
1415   - Changed structure of the ``line_block`` element; added ``line``.
1416   - Added ``compound`` element.
1417   - Added "ltrim" and "rtrim" attributes to
1418     ``substitution_definition`` element.
1419   - Enabled multiple format names for ``raw`` element.
1420   - Enabled multiple classifiers in ``definition_list_item`` elements.
1422 * docs/ref/rst/directives.txt
1424   - Marked "line-block" as deprecated.
1425   - "Class" directive now allows multiple class names.
1426   - Added "Rationale for Class Attribute Value Conversion".
1427   - Added warning about "raw" overuse/abuse.
1429 * docs/ref/rst/restructuredtext.txt:
1431   - Added syntax for line blocks.
1432   - Definition list items may have multiple classifiers.
1434 * docs/ref/rst/roles.txt:
1436   - Added "raw" role.
1438 * tools/stylesheets/default.css:
1440   - Added support for the new line_block structure.
1441   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1444 Release 0.3.5 (2004-07-29)
1445 ==========================
1447 General:
1449 * _`Documentation cleanup/reorganization`.
1451   - Created new subdirectories of docs/:
1453     * ``docs/user/``: introductory/tutorial material for end-users
1454     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1455     * ``docs/api/``: API reference material for client-developers
1456     * ``docs/ref/``: reference material for all groups
1457     * ``docs/howto/``: for component-developers and core-developers
1458     * ``docs/peps/``: Python Enhancement Proposals
1460   - Moved ``docs/*`` to ``docs/user/``.
1461   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1462     ``spec/`` to ``docs/dev``.
1463   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1464     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1465   - Moved ``alternatives.txt``, and ``problems.txt`` from
1466     ``spec/rst/`` to ``docs/dev/rst/``.
1467   - Moved ``reStructuredText.txt``, ``directives.txt``,
1468     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1469     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1470     ``roles.txt``, ``reStructuredText.txt`` to
1471     ``restructuredtext.txt``.
1472   - Moved ``spec/howto/`` to ``docs/howto``.
1474   In order to keep the CVS history of moved files, we supplied
1475   SourceForge with a `script for modifying the Docutils CVS
1476   repository`__.
1478   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1480   After running the cleanup script:
1482   - Added ``docs/index.txt``.
1483   - Added a ``.htaccess`` file to the ``web`` module, containing
1484     redirects for all old paths to new paths.  They'll preserve
1485     fragments (the "#name" part of a URL), and won't clutter up the
1486     file system, and will correct the URL in the user's browser.
1487   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1488     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1489     the "To Do" list itself in ``docs/dev/todo.txt``.
1490   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1491     section of ``docs/dev/todo.txt``.
1492   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1493   - Added "How To Report Bugs" to ``BUGS.txt``.
1494   - Went through all the sources and docs (including under web/) and
1495     updated links.  Mostly done by Lea Wiemann; thanks Lea!
1496     (Still need to update links in the sandboxes.)
1498 Specific:
1500 * BUGS.txt: Added to project.
1502 * THANKS.txt: Added to project.
1504 * docutils/__init__.py:
1506   - 0.3.4: Post-release.
1508 * docutils/core.py:
1510   - Added special error handling & advice for UnicodeEncodeError.
1511   - Refactored Publisher.publish (simplified exception handling &
1512     extracted debug dumps).
1513   - Renamed "enable_exit" parameter of convenience functions to
1514     "enable_exit_status".
1515   - Enabled traceback (exception propagation) by default in
1516     programmatic convenience functions.
1517   - Now publish_file and publish_cmdline convenience functions return
1518     the encoded string results in addition to their regular I/O.
1519   - Extracted common code from publish_file, publish_string, and
1520     publish_parts, into new publish_programmatically.  Extracted
1521     settings code to ``Publisher.process_programmatic_settings``.
1522   - In Publisher.publish, disabled ``settings_overrides`` when
1523     ``settings`` is supplied; redundant.
1525 * docutils/frontend.py:
1527   - Added help text for "--output-encoding-error-handler" and
1528     "--error-encoding-error-handler".
1529   - Renamed "--exit" to "--exit-status".
1530   - Simplified default-setting code.
1532 * docutils/parsers/rst/__init__.py:
1534   - Added "--pep-base-url" and "--rfc-base-url" options.
1536 * docutils/parsers/rst/states.py:
1538   - Made URI recognition more aggressive and intelligent.
1540 * docutils/parsers/rst/directives/__init__.py:
1542   - Added several directive option conversion functions.
1544 * docutils/parsers/rst/directives/body.py:
1546   - Moved "table" directive to tables.py.
1548 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1549   added to project.
1551 * docutils/writers/latex2e.py:
1553   - Added "--table-style=(standard|booktabs|nolines)"
1554   - figures get "here" option (LaTeX per default puts them at bottom),
1555     and figure content is centered.
1556   - Rowspan support for tables.
1557   - Fix: admonition titles before first section.
1558   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1559   - Replave ``_`` in literal by an underlined blank, because it has the correct
1560     width.
1561   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1562   - A few unicode replacements, if output_encoding != utf
1563   - Add "--graphicx-option".
1564   - Indent literal-blocks.
1565   - Fix: omit ``\maketitle`` when there is no document title.
1567 * docs/index.txt: "Docutils Project Documentation Overview", added to
1568   project.
1570 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1571   Tool", added to project.
1573 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1575 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1577 * docs/dev/policies.txt: Added to project (extracted from
1578   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1580 * docs/dev/release.txt: Added to project (extracted from
1581   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1583 * docs/dev/testing.txt: Added to project.
1585 * docs/dev/website.txt: Added to project (extracted from
1586   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1588 * docs/ref/rst/directives.txt:
1590   - Added directives: "table", "csv-table".
1592 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1593   added to project.  1 page for syntax, and a 1 page reference for
1594   directives and roles.  Source text to be used as-is; not meant to be
1595   converted to HTML.
1597 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1598   with a change of title.
1600 * test/functional/, contents, and test/test_functional.py: Added to
1601   project.
1603 * tools/buildhtml.py: Fixed bug with config file handling.
1605 * tools/html.py: Removed from project (duplicate of rst2html.py).
1607 * tools/pep2html.py: Removed from project (duplicate of Python's
1608   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1609   Docutils-related PEPs in docs/peps/).
1611 * tools/rst2pseudoxml.py: Renamed from publish.py.
1613 * tools/rst2xml.py: Renamed from docutils-xml.py.
1615 * tools/test.txt: Removed from project; moved to
1616   docs/user/rst/demo.txt.
1618 * setup.py: Now also installs ``rst2latex.py``.
1621 Release 0.3.3 (2004-05-09)
1622 ==========================
1624 * docutils/__init__.py:
1626   - 0.3.1: Reorganized config file format (multiple sections); see
1627     docs/config.txt.
1628   - Added unknown_reference_resolvers attribute to TransformSpec.
1629   - 0.3.2: Interpreted text reorganization.
1630   - 0.3.3: Released.
1632 * docutils/core.py:
1634   - Catch system messages to stop tracebacks from parsing errors.
1635   - Catch exceptions during processing report & exit without
1636     tracebacks, except when "--traceback" used.
1637   - Reordered components for OptionParser; application comes last.
1638   - Added "config_section" parameter to several methods and functions,
1639     allowing front ends to easily specify their config file sections.
1640   - Added publish_parts convenience function to allow access to individual
1641     parts of a document.
1643 * docutils/examples.py: Added to project; practical examples of
1644   Docutils client code, to be used as-is or as models for variations.
1646 * docutils/frontend.py:
1648   - Added "--traceback" & "--no-traceback" options ("traceback"
1649     setting).
1650   - Implemented support for config file reorganization:
1651     ``standard_config_files`` moved from ``ConfigParser`` to
1652     ``OptionParser``; added
1653     ``OptionParser.get_config_file_settings()`` and
1654     ``.get_standard_config_settings()``; support for old "[options]"
1655     section (with deprecation warning) and mapping from old to new
1656     settings.
1657   - Reimplemented setting validation.
1658   - Enabled flexible boolean values: yes/no, true/false, on/off.
1659   - Added ``Values``, a subclass of ``optparse.Values``, with support
1660     for list setting attributes.
1661   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1662     thanks to Beni Cherniavsky.
1663   - Added "--no-section-numbering" option.
1665 * docutils/io.py:
1667   - Catch IOErrors when opening source & destination files, report &
1668     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1669     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1671 * docutils/nodes.py:
1673   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1674     method definitions (via ``exec``) to dynamic assignments (via
1675     ``setattr``); thanks to Roman Suzi.
1676   - Encapsulated visitor dynamic assignments in a function; thanks to
1677     Ian Bicking.
1678   - Added indirect_reference_name attribute to the Targetable
1679     class. This attribute holds the whitespace_normalized_name
1680     (contains mixed case) of a target.
1682 * docutils/statemachine.py:
1684   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1685   - Added ``StringList.get_2D_block``.
1687 * docutils/utils.py:
1689   - Added "level" attribute to SystemMessage exceptions.
1691 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1692   Jannie Hofmeyr.
1694 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1695   Blaha.
1697 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1698   Marcelo Huerta San Martin.
1700 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1701   mappings by Lalo Martins.
1703 * docutils/languages/ru.py: Added to project; Russian mappings by
1704   Roman Suzi.
1706 * docutils/parsers/rst/roles.py: Added to project.  Contains
1707   interpreted text role functions, a registry for interpreted text
1708   roles, and an API for adding to and retrieving from the registry.
1709   Contributed by Edward Loper.
1711 * docutils/parsers/rst/states.py:
1713   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1714   - Allowed true em-dash character and "---" as block quote
1715     attribution marker.
1716   - Added support for <angle-bracketed> complex option arguments
1717     (option lists).
1718   - Fixed handling of backslashes in substitution definitions.
1719   - Fixed off-by-1 error with extra whitespace after substitution
1720     definition directive.
1721   - Added inline markup parsing to field lists' field names.
1722   - Added support for quoted (and unindented) literal blocks.
1723     Driven in part by a bribe from Frank Siebenlist (thanks!).
1724   - Parser now handles escapes in URIs correctly.
1725   - Made embedded-URIs' reference text omittable.  Idea from Beni
1726     Cherniavsky.
1727   - Refactored explicit target processing code.
1728   - Added name attribute to references containing the reference name only
1729     through whitespace_normalize_name (no case changes).
1730   - parse_target no longer returns the refname after going through
1731     normalize_name. This is now handled in make_target.
1732   - Fixed bug relating to role-less interpreted text in non-English
1733     contexts.
1734   - Reorganized interpreted text processing; moved code into the new
1735     roles.py module.  Contributed by Edward Loper.
1736   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1737     ``parse_directive_block``.
1739 * docutils/parsers/rst/tableparser.py:
1741   - Reworked for ``StringList``, to support "include" directives in
1742     table cells.
1744 * docutils/parsers/rst/directives/__init__.py:
1746   - Renamed ``unchanged()`` directive option conversion function to
1747     ``unchanged_required``, and added a new ``unchanged``.
1748   - Catch unicode value too high error; fixes bug 781766.
1749   - Beefed up directive error reporting.
1751 * docutils/parsers/rst/directives/body.py:
1753   - Added basic "table" directive.
1755 * docutils/parsers/rst/directives/images.py:
1757   - Added "target" option to "image" directive.
1758   - Added name attribute to references containing the reference name only
1759     through whitespace_normalize_name (no case changes).
1761 * docutils/parsers/rst/directives/misc.py:
1763   - Isolated the import of the ``urllib2`` module; was causing
1764     problems on SourceForge (``libssl.so.2`` unavailable?).
1765   - Added the "role" directive for declaring custom interpreted text
1766     roles.
1768 * docutils/parsers/rst/directives/parts.py:
1770   - The "contents" directive does more work up-front, creating the
1771     "topic" and "title", and leaving the "pending" node for the
1772     transform.  Allows earlier reference resolution; fixes subtle bug.
1774 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1775   mappings by Jannie Hofmeyr.
1777 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1778   mappings by Marek Blaha.
1780 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1781   mappings by Marcelo Huerta San Martin.
1783 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1784   Portuguese mappings by Lalo Martins.
1786 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1787   mappings by Roman Suzi.
1789 * docutils/transforms/parts.py:
1791   - The "contents" directive does more work up-front, creating the
1792     "topic" and "title", and leaving the "pending" node for the
1793     transform.  Allows earlier reference resolution; fixes subtle bug.
1794   - Added support for disabling of section numbering.
1796 * docutils/transforms/references.py:
1798   - Verifying that external targets are truly targets and not indirect
1799     references. This is because we are now adding a "name" attribute to
1800     references in addition to targets. Note sure if this is correct!
1801   - Added code to hook into the unknown_reference_resolvers list for a
1802     transformer in resolve_indirect_target. This allows the
1803     unknown_reference_resolvers to keep around indirect targets which
1804     docutils doesn't know about.
1805   - Added specific error message for duplicate targets.
1807 * docutils/transforms/universal.py:
1809   - Added FilterMessages transform (removes system messages below the
1810     verbosity threshold).
1811   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1812     to FinalCheckVisitor for application-specific handling of
1813     unresolvable references.
1814   - Added specific error message for duplicate targets.
1816 * docutils/writers/__init__.py:
1818   - Added assemble_parts method to the Writer class to allow for
1819     access to a documents individual parts.
1820   - Documented & set default for ``Writer.output`` attribute.
1822 * docutils/writers/html4css1.py:
1824   - Fixed unicode handling of attribute values (bug 760673).
1825   - Prevent duplication of "class" attribute values (bug report from
1826     Kirill Lapshin).
1827   - Improved table grid/border handling (prompted by report from Bob
1828     Marshall).
1829   - Added support for table titles.
1830   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1831     to Darek Suchojad.
1832   - Added functionality to keep track of individual parts of a document
1833     and store them in a dictionary as the "parts" attribute of the writer.
1834     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1835   - Added proper support for the "scale" attribute of the "image"
1836     element.  Contributed by Brent Cook.
1837   - Added ``--initial-header-level`` option.
1838   - Fixed bug: the body_pre_docinfo segment depended on there being a
1839     docinfo; if no docinfo, the document title was incorporated into
1840     the body segment.  Adversely affected the publish_parts interface.
1842 * docutils/writers/latex2e.py:
1844   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1845     about a missing file.
1846   - Added options and support: ``--compound-enumerators``,
1847     ``--section-prefix-for-enumerators``, and
1848     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1849     934322).
1850   - Added option ``--use-verbatim-when-possible``, to avoid
1851     problematic characters (eg, '~' in italian) in literal blocks.
1852   - It's now possible to use four section levels in the `book` and
1853     `report` LaTeX classes.  The default `article` class still has
1854     three levels limit.
1856 * docs/config.txt: "Docutils Configuration Files", added to project.
1857   Moved config file entry descriptions from tools.txt.
1859 * docs/tools.txt:
1861   - Moved config file entry descriptions to config.txt.
1863 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
1864   Development".
1866 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1867   Text Roles", added to project.
1869 * spec/rst/reStructuredText.txt:
1871   - Added description of support for <angle-bracketed> complex option
1872     arguments to option lists.
1873   - Added subsections for indented and quoted literal blocks.
1875 * test: Continually adding & updating tests.
1877   - Added test/test_settings.py & test/data/config_*.txt support
1878     files.
1879   - Added test/test_writers/test_htmlfragment.py.
1881 * test/DocutilsTestSupport.py:
1883   - Refactored LaTeX publisher test suite/case class names to make
1884     testing other writers easier.
1885   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1886     to test the processing of HTML fragments which use the new
1887     publish_parts convenience function.
1889 * tools/buildhtml.py:
1891   - Added support for the "--prune" option.
1892   - Removed dependency on pep2html.py; plaintext PEPs no longer
1893     supported.
1895 * tools/docutils.conf:
1897   - Updated for configuration file reorganization.
1899 * tools/rst2html.py:
1901   - copied from tools/html.py
1903 * setup.py:
1905   - added a 'scripts' section to configuration
1906   - added 'tools/rst2html.py' to the scripts section
1909 Release 0.3 (2003-06-24)
1910 ========================
1912 General:
1914 * Renamed "attribute" to "option" for directives/extensions.
1916 * Renamed transform method "transform" to "apply".
1918 * Renamed "options" to "settings" for runtime settings (as set by
1919   command-line options).  Sometimes "option" (singular) became
1920   "settings" (plural).  Some variations below:
1922   - document.options -> document.settings (stored in other objects as
1923     well)
1924   - option_spec -> settings_spec (not directives though)
1925   - OptionSpec -> SettingsSpec
1926   - cmdline_options -> settings_spec
1927   - relative_path_options -> relative_path_settings
1928   - option_default_overrides -> settings_default_overrides
1929   - Publisher.set_options -> Publisher.get_settings
1931 Specific:
1933 * COPYING.txt: Added "Public Domain Dedication".
1935 * FAQ.txt: Frequently asked questions, added to project.
1937 * setup.py:
1939   - Updated with PyPI Trove classifiers.
1940   - Conditional installation of third-party modules.
1942 * docutils/__init__.py:
1944   - Bumped version to 0.2.1 to reflect changes to I/O classes.
1945   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1946   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1947   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1948     option and its effect on the PEP template & writer.
1949   - Bumped version to 0.2.4 due to changes to the PEP template &
1950     stylesheet.
1951   - Bumped version to 0.2.5 to reflect changes to Reporter output.
1952   - Added ``TransformSpec`` class for new transform system.
1953   - Bumped version to 0.2.6 for API changes (renaming).
1954   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1955     convenience functions.
1956   - Added ``Component.component_type`` attribute.
1957   - Bumped version to 0.2.8 because of the internal parser switch from
1958     plain lists to the docutils.statemachine.StringList objects.
1959   - Bumped version to 0.2.9 because of the frontend.py API changes.
1960   - Bumped version to 0.2.10 due to changes to the project layout
1961     (third-party modules removed from the "docutils" package), and
1962     signature changes in ``io.Input``/``io.Output``.
1963   - Changed version to 0.3.0 for release.
1965 * docutils/core.py:
1967   - Made ``publish()`` a bit more convenient.
1968   - Generalized ``Publisher.set_io``.
1969   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1970     parameters; improved its docstring.
1971   - Added ``publish_file()`` and ``publish_string()``.
1972   - Factored ``Publisher.set_source()`` and ``.set_destination()``
1973     out of ``.set_io``.
1974   - Added support for "--dump-pseudo-xml", "--dump-settings", and
1975     "--dump-transforms" hidden options.
1976   - Added ``Publisher.apply_transforms()`` method.
1977   - Added ``Publisher.set_components()`` method; support for
1978     ``publish_*()`` conveninece functions.
1979   - Moved config file processing to docutils/frontend.py.
1980   - Added support for exit status ("exit_level" setting &
1981     ``enable_exit`` parameter for Publisher.publish() and convenience
1982     functions).
1984 * docutils/frontend.py:
1986   - Check for & exit on identical source & destination paths.
1987   - Fixed bug with absolute paths & "--config".
1988   - Set non-command-line defaults in ``OptionParser.__init__()``:
1989     ``_source`` & ``_destination``.
1990   - Distributed ``relative_path_settings`` to components; updated
1991     ``OptionParser.populate_from_components()`` to combine it all.
1992   - Require list of keys in ``make_paths_absolute`` (was implicit in
1993     global ``relative_path_settings``).
1994   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1995     "--dump-settings", and "--dump-transforms" hidden options.
1996   - Removed nasty internals-fiddling ``ConfigParser.get_section``
1997     code, replaced with correct code.
1998   - Added validation functionality for config files.
1999   - Added "--error-encoding" option/setting, "_disable_config"
2000     internal setting.
2001   - Added encoding validation; updated "--input-encoding" and
2002     "--output-encoding"; added "--error-encoding-error-handler" and
2003     "--output-encoding-error-handler".
2004   - Moved config file processing from docutils/core.py.
2005   - Updated ``OptionParser.populate_from_components`` to handle new
2006     ``SettingsSpec.settings_defaults`` dict.
2007   - Added support for "-" => stdin/stdout.
2008   - Added "exit_level" setting ("--exit" option).
2010 * docutils/io.py:
2012   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
2013   - Added automatic closing to ``FileInput`` and ``FileOutput``.
2014   - Delayed opening of ``FileOutput`` file until ``write()`` called.
2015   - ``FileOutput.write()`` now returns the encoded output string.
2016   - Try to get path/stream name automatically in ``FileInput`` &
2017     ``FileOutput``.
2018   - Added defaults for source & destination paths.
2019   - Allow for Unicode I/O with an explicit "unicode" encoding.
2020   - Added ``Output.encode()``.
2021   - Removed dependency on runtime settings; pass encoding directly.
2022   - Recognize Unicode strings in ``Input.decode()``.
2023   - Added support for output encoding error handlers.
2025 * docutils/nodes.py:
2027   - Added "Invisible" element category class.
2028   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
2029     modification during a traversal.
2030   - Added element classes: ``line_block``, ``generated``, ``address``,
2031     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
2032     ``superscript``, ``subscript``, ``inline``
2033   - Added support for lists of nodes to ``Element.insert()``.
2034   - Fixed parent linking in ``Element.replace()``.
2035   - Added new abstract superclass ``FixedTextElement``; adds
2036     "xml:space" attribute.
2037   - Added support for "line" attribute of ``system_message`` nodes.
2038   - Added support for the observer pattern from ``utils.Reporter``.
2039     Added ``parse_messages`` and ``transform_messages`` attributes to
2040     ``document``, removed ``messages``.  Added ``note_parse_message``
2041     and ``note_transform_message`` methods.
2042   - Added support for improved diagnostics:
2044     - Added "document", "source", and "line" internal attributes to
2045       ``Node``, set by ``Node.setup_child()``.
2046     - Converted variations on ``node.parent = self`` to
2047       ``self.setup_child(node)``.
2048     - Added ``document.current_source`` & ``.current_line``
2049       attributes, and ``.note_source`` observer method.
2050     - Changed "system_message" output to GNU-Tools format.
2052   - Added a "rawsource" attribute to the ``Text`` class, for text
2053     before backslash-escape resolution.
2054   - Support for new transform system.
2055   - Reworked ``pending`` element.
2056   - Fixed XML DOM bug (SF #660611).
2057   - Removed the ``interpeted`` element class and added
2058     ``title_reference``, ``abbreviation``, ``acronym``.
2059   - Made substitutions case-sensitive-but-forgiving; moved some code
2060     from the parser.
2061   - Fixed Unicode bug on element attributes (report: William Dode).
2063 * docutils/optik.py: Removed from project; replaced with
2064   extras/optparse.py and extras/textwrap.py.  These will be installed
2065   only if they're not already present in the Python installation.
2067 * docutils/roman.py: Moved to extras/roman.py; this will be installed
2068   only if it's not already present in the Python installation.
2070 * docutils/statemachine.py:
2072   - Factored out ``State.add_initial_transitions()`` so it can be
2073     extended.
2074   - Converted whitespace-specific "blank" and "indent" transitions
2075     from special-case code to ordinary transitions: removed
2076     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
2077     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
2078     ``ws_initial_transitions`` attributes.
2079   - Removed ``State.match_transition()`` after merging it into
2080     ``.check_line()``.
2081   - Added ``StateCorrection`` exception.
2082   - Added support for ``StateCorrection`` in ``StateMachine.run()``
2083     (moved ``TransitionCorrection`` support there too.)
2084   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
2085     ``EOFError`` instead of ``IndexError``.
2086   - Added ``State.no_match`` method.
2087   - Added support for the Observer pattern, triggered by input line
2088     changes.
2089   - Added ``strip_top`` parameter to
2090     ``StateMachineWS.get_first_known_indented``.
2091   - Made ``context`` a parameter to ``StateMachine.run()``.
2092   - Added ``ViewList`` & ``StringList`` classes;
2093     ``extract_indented()`` becomes ``StringList.get_indented()``.
2094   - Added ``StateMachine.insert_input()``.
2095   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
2096     thanks to) Fred Drake.
2098 * docutils/utils.py:
2100   - Added a ``source`` attribute to Reporter instances and
2101     ``system_message`` elements.
2102   - Added an observer pattern to ``utils.Reporter`` to keep track of
2103     system messages.
2104   - Fixed bugs in ``relative_path()``.
2105   - Added support for improved diagnostics.
2106   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
2107   - Added support for encoding Reporter stderr output, and encoding
2108     error handlers.
2109   - Reporter keeps track of the highest level system message yet
2110     generated.
2112 * docutils/languages: Fixed bibliographic field language lookups.
2114 * docutils/languages/es.py: Added to project; Spanish mappings by
2115   Marcelo Huerta San Martin.
2117 * docutils/languages/fr.py: Added to project; French mappings by
2118   Stefane Fermigier.
2120 * docutils/languages/it.py: Added to project; Italian mappings by
2121   Nicola Larosa.
2123 * docutils/languages/sk.py: Added to project; Slovak mappings by
2124   Miroslav Vasko.
2126 * docutils/parser/__init__.py:
2128   - Added ``Parser.finish_parse()`` method.
2130 * docutils/parser/rst/__init__.py:
2132   - Added options: "--pep-references", "--rfc-references",
2133     "--tab-width", "--trim-footnote-reference-space".
2135 * docutils/parsers/rst/states.py:
2137   - Changed "title under/overline too short" system messages from INFO
2138     to WARNING, and fixed its insertion location.
2139   - Fixed enumerated list item parsing to allow paragraphs & section
2140     titles to begin with enumerators.
2141   - Converted system messages to use the new "line" attribute.
2142   - Fixed a substitution reference edge case.
2143   - Added support for "--pep-references" and "--rfc-references"
2144     options; reworked ``Inliner`` code to make customization easier.
2145   - Removed field argument parsing.
2146   - Added support for short section title over/underlines.
2147   - Fixed "simple reference name" regexp to ignore text like
2148     "object.__method__"; not an anonymous reference.
2149   - Added support for improved diagnostics.
2150   - Reworked directive API, based on Dethe Elza's contribution.  Added
2151     ``Body.parse_directive()``, ``.parse_directive_options()``,
2152     ``.parse_directive_arguments()`` methods.
2153   - Added ``ExtensionOptions`` class, to parse directive options
2154     without parsing field bodies.  Factored
2155     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
2156     ``ExtensionOptions``.
2157   - Improved definition list term/classifier parsing.
2158   - Added warnings for unknown directives.
2159   - Renamed ``Stuff`` to ``Struct``.
2160   - Now flagged as errors: transitions at the beginning or end of
2161     sections, empty sections (except title), and empty documents.
2162   - Updated for ``statemachine.StringList``.
2163   - Enabled recognition of schemeless email addresses in targets.
2164   - Added support for embedded URIs in hyperlink references.
2165   - Added backslash-escapes to inline markup end-string suffix.
2166   - Added support for correct interpreted text processing.
2167   - Fixed nested title parsing (topic, sidebar directives).
2168   - Added special processing of backslash-escaped whitespace (idea
2169     from David Abrahams).
2170   - Made substitutions case-sensitive-but-forgiving; moved some code
2171     to ``docutils.nodes``.
2172   - Added support for block quote attributions.
2173   - Added a kludge to work-around a conflict between the bubble-up
2174     parser strategy and short titles (<= 3 char-long over- &
2175     underlines).  Fixes SF bug #738803 "infinite loop with multiple
2176     titles" submitted by Jason Diamond.
2177   - Added explicit interpreted text roles for standard inline markup:
2178     "emphasis", "strong", "literal".
2179   - Implemented "superscript" and "subscript" interpreted text roles.
2180   - Added initial support for "abbreviation" and "acronym" roles;
2181     incomplete.
2182   - Added support for "--trim-footnote-reference-space" option.
2183   - Optional space before colons in directives & hyperlink targets.
2185 * docutils/parsers/rst/tableparser.py:
2187   - Fixed a bug that was producing unwanted empty rows in "simple"
2188     tables.
2189   - Detect bad column spans in "simple" tables.
2191 * docutils/parsers/rst/directives: Updated all directive functions to
2192   new API.
2194 * docutils/parsers/rst/directives/__init__.py:
2196   - Added ``flag()``, ``unchanged()``, ``path()``,
2197     ``nonnegative_int()``, ``choice()``, and ``class_option()``
2198     directive option helper functions.
2199   - Added warnings for unknown directives.
2200   - Return ``None`` for missing directives.
2201   - Added ``register_directive()``, thanks to William Dode and Paul
2202     Moore.
2204 * docutils/parsers/rst/directives/admonitions.py:
2206   - Added "admonition" directive.
2208 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
2209   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2210   "parsed-literal", "rubric", "epigraph", "highlights" and
2211   "pull-quote" directives.
2213 * docutils/parsers/rst/directives/images.py:
2215   - Added an "align" attribute to the "image" & "figure" directives
2216     (by Adam Chodorowski).
2217   - Added "class" option to "image", and "figclass" to "figure".
2219 * docutils/parsers/rst/directives/misc.py:
2221   - Added "include", "raw", and "replace" directives, courtesy of
2222     Dethe Elza.
2223   - Added "unicode" and "class" directives.
2225 * docutils/parsers/rst/directives/parts.py:
2227   - Added the "sectnum" directive; by Dmitry Jemerov.
2228   - Added "class" option to "contents" directive.
2230 * docutils/parsers/rst/directives/references.py: Added to project.
2231   Contains the "target-notes" directive.
2233 * docutils/parsers/rst/languages/__init__.py:
2235   - Return ``None`` from get_language() for missing language modules.
2237 * docutils/parsers/rst/languages/de.py: Added to project; German
2238   mappings by Engelbert Gruber.
2240 * docutils/parsers/rst/languages/en.py:
2242   - Added interpreted text roles mapping.
2244 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2245   mappings by Marcelo Huerta San Martin.
2247 * docutils/parsers/rst/languages/fr.py: Added to project; French
2248   mappings by William Dode.
2250 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2251   mappings by Nicola Larosa.
2253 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2254   mappings by Miroslav Vasko.
2256 * docutils/readers/__init__.py:
2258   - Added support for the observer pattern from ``utils.Reporter``, in
2259     ``Reader.parse`` and ``Reader.transform``.
2260   - Removed ``Reader.transform()`` method.
2261   - Added default parameter values to ``Reader.__init__()`` to make
2262     instantiation easier.
2263   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2265 * docutils/readers/pep.py:
2267   - Added the ``peps.TargetNotes`` transform to the Reader.
2268   - Removed PEP & RFC reference detection code; moved to
2269     parsers/rst/states.py as options (enabled here by default).
2270   - Added support for pre-acceptance PEPs (no PEP number yet).
2271   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2272     easy subclassing.
2274 * docutils/readers/python: Python Source Reader subpackage added to
2275   project, including preliminary versions of:
2277   - __init__.py
2278   - moduleparser.py: Parser for Python modules.
2280 * docutils/transforms/__init__.py:
2282   - Added ``Transformer`` class and completed transform reform.
2283   - Added unknown_reference_resolvers list for each transformer. This list holds
2284     the list of functions provided by each component of the transformer that
2285     help resolve references.
2287 * docutils/transforms/frontmatter.py:
2289   - Improved support for generic fields.
2290   - Fixed bibliographic field language lookups.
2292 * docutils/transforms/misc.py: Added to project.  Miscellaneous
2293   transforms.
2295 * docutils/transforms/parts.py:
2297   - Moved the "id" attribute from TOC list items to the references
2298     (``Contents.build_contents()``).
2299   - Added the ``SectNum`` transform; by Dmitry Jemerov.
2300   - Added "class" attribute support to ``Contents``.
2302 * docutils/transforms/peps.py:
2304   - Added ``mask_email()`` function, updating to pep2html.py's
2305     functionality.
2306   - Linked "Content-Type: text/x-rst" to PEP 12.
2307   - Added the ``TargetNotes`` PEP-specific transform.
2308   - Added ``TargetNotes.cleanup_callback``.
2309   - Added title check to ``Headers``.
2311 * docutils/transforms/references.py:
2313   - Added the ``TargetNotes`` generic transform.
2314   - Split ``Hyperlinks`` into multiple transforms.
2315   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2316   - Added check for circular indirect references.
2317   - Made substitutions case-sensitive-but-forgiving.
2319 * docutils/transforms/universal.py:
2321   - Added support for the "--expose-internal-attributes" option.
2322   - Removed ``Pending`` transform classes & data.
2324 * docutils/writers/__init__.py:
2326   - Removed ``Writer.transform()`` method.
2328 * docutils/writers/docutils-xml.py:
2330   - Added XML and doctype declarations.
2331   - Added "--no-doctype" and "--no-xml-declaration" options.
2333 * docutils/writers/html4css1.py:
2335   - "name" attributes only on these tags: a, applet, form, frame,
2336     iframe, img, map.
2337   - Added "name" attribute to <a> in section titles for Netscape 4
2338     support (bug report: Pearu Peterson).
2339   - Fixed targets (names) on footnote, citation, topic title,
2340     problematic, and system_message nodes (for Netscape 4).
2341   - Changed field names from "<td>" to "<th>".
2342   - Added "@" to "&#64;" encoding to thwart address harvesters.
2343   - Improved the vertical whitespace optimization; ignore "invisible"
2344     nodes (targets, comments, etc.).
2345   - Improved inline literals with ``<span class="pre">`` around chunks
2346     of text and ``&nbsp;`` for runs of spaces.
2347   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2348     ``self.docinfo`` segments.
2349   - Added support for "line_block", "address" elements.
2350   - Improved backlinks (footnotes & system_messages).
2351   - Improved system_message output.
2352   - Redefined "--stylesheet" as containing an invariant URL, used
2353     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2354     working directory.
2355   - Added "--footnote-references" option (superscript or brackets).
2356   - Added "--compact-lists" and "--no-compact-lists" options.
2357   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2358     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2359   - Improved field list rendering.
2360   - Added Docutils version to "generator" meta tag.
2361   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2362   - Improved layout of <pre> HTML source.
2363   - Fixed attribute typo on <colspec>.
2364   - Refined XML prologue.
2365   - Support for no stylesheet.
2366   - Removed "interpreted" element support.
2367   - Added support for "title_reference", "sidebar", "attribution",
2368     "rubric", and generic "admonition" elements.
2369   - Added "--attribution" option.
2370   - Added support for "inline", "subscript", "superscript" elements.
2371   - Added initial support for "abbreviation" and "acronym";
2372     incomplete.
2374 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2375   (from the sandbox).
2377   - Added french.
2378   - Double quotes in literal blocks (special treatment for de/ngerman).
2379   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2380   - Added  "--attribution" option.
2381   - Right align attributions.
2383 * docutils/writers/pep_html.py:
2385   - Parameterized output encoding in PEP template.
2386   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2387   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2388     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2389     working directory.
2390   - Added an override on the "--footnote-references" option.
2391   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2392   - Added Docutils version to "generator" meta tag.
2393   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2395 * docs/tools.txt:
2397   - Added a "silent" setting for ``buildhtml.py``.
2398   - Added a "Getting Help" section.
2399   - Rearranged the structure.
2400   - Kept up to date, with new settings, command-line options etc.
2401   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2402   - Converted settings table into a definition list.
2404 * docs/rst/quickstart.txt:
2406   - Added a table of contents.
2407   - Added feedback information.
2408   - Added mention of minimum section title underline lengths.
2409   - Removed the 4-character minimum for section title underlines.
2411 * docs/rst/quickref.html:
2413   - Added a "Getting Help" section.
2414   - Added a style to make section title backlinks more subtle.
2415   - Added mention of minimum section title underline lengths.
2416   - Removed the 4-character minimum for section title underlines.
2418 * extras: Directory added to project; contains third-party modules
2419   that Docutils depends on (optparse, textwrap, roman).  These are
2420   only installed if they're not already present.
2422 * licenses: Directory added to project; contains copies of license
2423   files for non-public-domain files.
2425 * spec/doctree.txt:
2427   - Changed the focus.  It's about DTD elements:  structural
2428     relationships, semantics, and external (public) attributes.  Not
2429     about the element class library.
2430   - Moved some implementation-specific stuff into ``docutils.nodes``
2431     docstrings.
2432   - Wrote descriptions of all common attributes and parameter
2433     entities.  Filled in introductory material.
2434   - Working through the element descriptions: 55 down, 37 to go.
2435   - Removed "Representation of Horizontal Rules" to
2436     spec/rst/alternatives.txt.
2438 * spec/docutils.dtd:
2440   - Added "generated" inline element.
2441   - Added "line_block" body element.
2442   - Added "auto" attribute to "title".
2443   - Changed content models of "literal_block" and "doctest_block" to
2444     ``%text.model``.
2445   - Added ``%number;`` attribute type parameter entity.
2446   - Changed ``%structural.elements;`` to ``%section.elements``.
2447   - Updated attribute types; made more specific.
2448   - Added "address" bibliographic element.
2449   - Added "line" attribute to ``system_message`` element.
2450   - Removed "field_argument" element; "field_name" may contain
2451     multiple words and whitespace.
2452   - Changed public identifier to docutils.sf.net.
2453   - Removed "interpreted" element; added "title_reference",
2454     "abbreviation", "acronym".
2455   - Removed "refuri" attribute from "footnote_reference" and
2456     "citation_reference".
2457   - Added "sidebar", "rubric", "attribution", "admonition",
2458     "superscript", "subscript", and "inline" elements.
2460 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2462 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2464 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2466 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2467   Dallas Mahrt.
2469 * spec/transforms.txt: Added to project.
2471 * spec/howto: Added subdirectory, for developer how-to docs.
2473 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2474   Elza, edited & extended by David Goodger.
2476 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
2477   project.
2479 * spec/rst/alternatives.txt:
2481   - Added "Doctree Representation of Transitions" from
2482     spec/doctree.txt.
2483   - Updated "Inline External Targets" & closed the debate.
2484   - Added ideas for interpreted text syntax extensions.
2485   - Added "Nested Inline Markup" section.
2487 * spec/rst/directives.txt:
2489   - Added directives: "topic", "sectnum", "target-notes",
2490     "line-block", "parsed-literal", "include", "replace", "sidebar",
2491     "admonition", "rubric", "epigraph", "highlights", "unicode" and
2492     "class".
2493   - Formalized descriptions of directive details.
2494   - Added an "align" attribute to the "image" & "figure" directives
2495     (by Adam Chodorowski).
2496   - Added "class" options to "topic", "sidebar", "line-block",
2497     "parsed-literal", "contents", and "image"; and "figclass" to
2498     "figure".
2500 * spec/rst/interpreted.txt: Added to project.  Descriptions of
2501   interpreted text roles.
2503 * spec/rst/introduction.txt:
2505   - Added pointers to material for new users.
2507 * spec/rst/reStructuredText.txt:
2509   - Disambiguated comments (just add a newline after the "::").
2510   - Updated enumerated list description; added a discussion of the
2511     second-line validity checking.
2512   - Updated directive description.
2513   - Added a note redirecting newbies to the user docs.
2514   - Expanded description of inline markup start-strings in non-markup
2515     contexts.
2516   - Removed field arguments and made field lists a generic construct.
2517   - Removed the 4-character minimum for section title underlines.
2518   - Clarified term/classifier delimiter & inline markup ambiguity
2519     (definition lists).
2520   - Added "Embedded URIs".
2521   - Updated "Interpreted Text" section.
2522   - Added "Character-Level Inline Markup" section.
2524 * test: Continually adding & updating tests.
2526   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2527   - Moved test/test_pep/ to test/test_readers/test_pep/.
2528   - Added test/test_readers/test_python/.
2529   - Added test/test_writers/ (Engelbert Gruber).
2531 * tools:
2533   - Made the ``locale.setlocale()`` calls in front ends
2534     fault-tolerant.
2536 * tools/buildhtml.py:
2538   - Added "--silent" option.
2539   - Fixed bug with absolute paths & "--config".
2540   - Updated for new I/O classes.
2541   - Added some exception handling.
2542   - Separated publishers' setting defaults; prevents interference.
2543   - Updated for new ``publish_file()`` convenience function.
2545 * tools/pep-html-template:
2547   - Allow for "--embed-stylesheet".
2548   - Added Docutils version to "generator" meta tag.
2549   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2550   - Conform to XHTML spec.
2552 * tools/pep2html.py:
2554   - Made ``argv`` a parameter to ``main()``.
2555   - Added support for "Content-Type:" header & arbitrary PEP formats.
2556   - Linked "Content-Type: text/plain" to PEP 9.
2557   - Files skipped (due to an error) are not pushed onto the server.
2558   - Updated for new I/O classes.
2559   - Added ``check_requirements()`` & ``pep_type_error()``.
2560   - Added some exception handling.
2561   - Updated for new ``publish_string()`` convenience function.
2562   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2564 * tools/quicktest.py:
2566   - Added "-V"/"--version" option.
2568 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2570 * tools/unicode2rstsubs.py: Added to project.  Produces character
2571   entity files (reSructuredText substitutions) from the MathML master
2572   unicode.xml file.
2574 * tools/editors: Support code for editors, added to project.  Contains
2575   ``emacs/restructuredtext.el``.
2577 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2579   - Added style for chunks of inline literals.
2580   - Removed margin for first child of table cells.
2581   - Right-aligned field list names.
2582   - Support for auto-numbered section titles in TOCs.
2583   - Increased the size of inline literals (<tt>) in titles.
2584   - Restored the light gray background for inline literals.
2585   - Added support for "line_block" elements.
2586   - Added style for "address" elements.
2587   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2588   - Improved field list rendering.
2589   - Vertical whitespace improvements.
2590   - Removed "a.target" style.
2592 * tools/stylesheets/pep.css:
2594   - Fixed nested section margins.
2595   - Other changes parallel those of ``../default.css``.
2598 Release 0.2 (2002-07-31)
2599 ========================
2601 General:
2603 - The word "component" was being used ambiguously.  From now on,
2604   "component" will be used to mean "Docutils component", as in Reader,
2605   Writer, Parser, or Transform.  Portions of documents (Table of
2606   Contents, sections, etc.)  will be called "document parts".
2607 - Did a grand renaming: a lot of ``verylongnames`` became
2608   ``very_long_names``.
2609 - Cleaned up imports: no more relative package imports or
2610   comma-separated lists of top-level modules.
2611 - Added support for an option values object which carries default
2612   settings and overrides (from command-line options and library use).
2613 - Added internal Unicode support, and support for both input and
2614   output encodings.
2615 - Added support for the ``docutils.io.IO`` class & subclasses.
2617 Specific:
2619 * docutils/__init__.py:
2621   - Added ``ApplicationError`` and ``DataError``, for use throughout
2622     the package.
2623   - Added ``Component`` base class for Docutils components; implements
2624     the ``supports`` method.
2625   - Added ``__version__`` (thus, ``docutils.__version__``).
2627 * docutils/core.py:
2629   - Removed many keyword parameters to ``Publisher.__init__()`` and
2630     ``publish()``; bundled into an option values object.  Added
2631     "argv", "usage", "description", and "option_spec" parameters for
2632     command-line support.
2633   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2634     methods.
2635   - Reworked I/O model for ``docutils.io`` wrappers.
2636   - Updated ``Publisher.set_options()``; now returns option values
2637     object.
2638   - Added support for configuration files (/etc/docutils.conf,
2639     ./docutils.conf, ~/.docutils).
2640   - Added ``Publisher.setup_option_parser()``.
2641   - Added default usage message and description.
2643 * docutils/frontend.py: Added to project; support for front-end
2644   (command-line) scripts.  Option specifications may be augmented by
2645   components.  Requires Optik (http://optik.sf.net/) for option
2646   processing (installed locally as docutils/optik.py).
2648 * docutils/io.py: Added to project; uniform API for a variety of input
2649   output mechanisms.
2651 * docutils/nodes.py:
2653   - Added ``TreeCopyVisitor`` class.
2654   - Added a ``copy`` method to ``Node`` and subclasses.
2655   - Added a ``SkipDeparture`` exception for visitors.
2656   - Renamed ``TreePruningException`` from ``VisitorException``.
2657   - Added docstrings to ``TreePruningException``, subclasses, and
2658     ``Nodes.walk()``.
2659   - Improved docstrings.
2660   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2661   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2662     imports.
2663   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2664     ``PreDecorative`` mixin.
2665   - Reworked the name/id bookkeeping; to ``document``, removed
2666     ``explicit_targets`` and ``implicit_targets`` attributes, added
2667     ``nametypes`` attribute and ``set_name_id_map`` method.
2668   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2669     traversals.
2670   - Added ``document.has_name()`` method.
2671   - Fixed DOM generation for list-attributes.
2672   - Added category class ``Labeled`` (used by footnotes & citations).
2673   - Added ``Element.set_class()`` method (sets "class" attribute).
2675 * docutils/optik.py: Added to project.  Combined from the Optik
2676   package, with added option groups and other modifications.  The use
2677   of this module is probably only temporary.
2679 * docutils/statemachine.py:
2681   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2682   - Added underscores to improve many awkward names.
2683   - In ``string2lines()``, changed whitespace normalizing translation
2684     table to regexp; restores Python 2.0 compatibility with Unicode.
2686 * docutils/urischemes.py:
2688   - Filled in some descriptions.
2689   - Added "shttp" scheme.
2691 * docutils/utils.py:
2693   - Added ``clean_rcs_keywords`` function (moved from
2694     docutils/transforms/frontmatter.py
2695     ``DocInfo.filter_rcs_keywords``).
2696   - Added underscores to improve many awkward names.
2697   - Changed names of Reporter's thresholds:
2698     warning_level -> report_level; error_level -> halt_level.
2699   - Moved ``utils.id()`` to ``nodes.make_id()``.
2700   - Added ``relative_path(source, target)``.
2702 * docutils/languages/de.py: German mappings; added to project.  Thanks
2703   to Gunnar Schwant for the translations.
2705 * docutils/languages/en.py: Added "Dedication" bibliographic field
2706   mappings.
2708 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2709   Chodorowski.
2711 * docutils/parsers/rst/states.py:
2713   - Added underscores to improve many awkward names.
2714   - Added RFC-2822 header support.
2715   - Extracted the inline parsing code from ``RSTState`` to a separate
2716     class, ``Inliner``, which will allow easy subclassing.
2717   - Made local bindings for ``memo`` container & often-used contents
2718     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2719   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2720   - Added ``MarkupMismatch`` exception; for late corrections.
2721   - Added ``-/:`` characters to inline markup's start string prefix,
2722     ``/`` to end string suffix.
2723   - Fixed a footnote bug.
2724   - Fixed a bug with literal blocks.
2725   - Applied patch from Simon Budig: simplified regexps with symbolic
2726     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2727   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2728   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2729   - Allowed non-ASCII in "simple names" (directive names, field names,
2730     references, etc.).
2731   - Converted ``Inliner.patterns.initial`` to be dynamically built
2732     from parts with ``build_regexp()`` function.
2733   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2734   - Updated docstrings.
2735   - Changed "table" to "grid_table"; added "simple_table" support.
2737 * docutils/parsers/rst/tableparser.py:
2739   - Changed ``TableParser`` to ``GridTableParser``.
2740   - Added ``SimpleTableParser``.
2741   - Refactored naming.
2743 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2744   a fallback language for directive names.
2746 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2747   directive to use a ``pending`` element, used only by HTML writers.
2749 * docutils/parsers/rst/directives/parts.py: Renamed from
2750   components.py.
2752   - Added "backlinks" attribute to "contents" directive.
2754 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2755   project by Adam Chodorowski.
2757 * docutils/readers/__init__.py: Gave Readers more control over
2758   choosing and instantiating Parsers.
2760 * docutils/readers/pep.py: Added to project; for PEP processing.
2762 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2763   requires a ``component`` parameter.
2765 * docutils/transforms/components.py: Added to project; transforms
2766   related to Docutils components.
2768 * docutils/transforms/frontmatter.py:
2770   - In ``DocInfo.extract_authors``, check for a single "author" in an
2771     "authors" group, and convert it to a single "author" element.
2772   - Added support for "Dedication" and generic bibliographic fields.
2774 * docutils/transforms/peps.py: Added to project; PEP-specific.
2776 * docutils/transforms/parts.py: Renamed from old components.py.
2778   - Added filter for `Contents`, to use alt-text for inline images,
2779     and to remove inline markup that doesn't make sense in the ToC.
2780   - Added "name" attribute to TOC topic depending on its title.
2781   - Added support for optional TOC backlinks.
2783 * docutils/transforms/references.py: Fixed indirect target resolution
2784   in ``Hyperlinks`` transform.
2786 * docutils/transforms/universal.py:
2788   - Changed ``Messages`` transform to properly filter out system
2789     messages below the warning threshold.
2790   - Added ``Decorations`` transform (support for ``--generator``,
2791     ``--date``, ``--time``, ``--source-link`` options).
2793 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2794   Engelbert Gruber's PDF writer.
2796 * docutils/writers/html4css1.py:
2798   - Made XHTML-compatible (switched to lowercase element & attribute
2799     names; empty tag format).
2800   - Escape double-dashes in comment text.
2801   - Improved boilerplate & modularity of output.
2802   - Exposed modular output in Writer class.
2803   - Added a "generator" meta tag to <head>.
2804   - Added support for the ``--stylesheet`` option.
2805   - Added support for ``decoration``, ``header``, and ``footer``
2806     elements.
2807   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2808     translation table to regexp; restores Python 2.0 compatibility
2809     with Unicode.
2810   - Added the translator class as instance variable to the Writer, to
2811     make it easily subclassable.
2812   - Improved option list spacing (thanks to Richard Jones).
2813   - Modified field list output.
2814   - Added backlinks to footnotes & citations.
2815   - Added percentage widths to "<col>" tags (from colspec).
2816   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2817     "<span>" changed to "<var>".
2818   - Inline literals: "<code>" changed to "<tt>".
2819   - Many changes to optimize vertical space: compact simple lists etc.
2820   - Add a command-line options & directive attributes to control TOC
2821     and footnote/citation backlinks.
2822   - Added support for optional footnote/citation backlinks.
2823   - Added support for generic bibliographic fields.
2824   - Identify backrefs.
2825   - Relative URLs for stylesheet links.
2827 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2828   PEPs (subclass of ``html4css1.Writer``).
2830 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2832 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2833   of the Docutils internal doctree in XML.
2835 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2837 * spec/doctree.txt:
2839   - Changed the title to "The Docutils Document Tree".
2840   - Added "Hyperlink Bookkeeping" section.
2842 * spec/docutils.dtd:
2844   - Added ``decoration``, ``header``, and ``footer`` elements.
2845   - Brought ``interpreted`` element in line with the parser: changed
2846     attribute "type" to "role", added "position".
2847   - Added support for generic bibliographic fields.
2849 * spec/notes.txt: Continual updates.  Added "Project Policies".
2851 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2852   section.
2854 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2856 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
2857   mailing list discussions.
2859 * spec/pep-0287.txt:
2861   - Renamed to "reStructuredText Docstring Format".
2862   - Minor edits.
2863   - Reworked Q&A as an enumerated list.
2864   - Converted to reStructuredText format.
2866 * spec/pysource.dtd:
2868   - Reworked structural elements, incorporating ideas from Tony Ibbs.
2870 * spec/pysource.txt: Removed from project.  Moved much of its contents
2871   to pep-0258.txt.
2873 * spec/rst/alternatives.txt:
2875   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2876   - Added "Inline External Targets" section.
2878 * spec/rst/directives.txt:
2880   - Added "backlinks" attribute to "contents" directive.
2882 * spec/rst/problems.txt:
2884   - Updated the Enumerated List Markup discussion.
2885   - Added new alternative table markup syntaxes.
2887 * spec/rst/reStructuredText.txt:
2889   - Clarified field list usage.
2890   - Updated enumerated list description.
2891   - Clarified purpose of directives.
2892   - Added ``-/:`` characters to inline markup's start string prefix,
2893     ``/`` to end string suffix.
2894   - Updated "Authors" bibliographic field behavior.
2895   - Changed "inline hyperlink targets" to "inline internal targets".
2896   - Added "simple table" syntax to supplement the existing but
2897     newly-renamed "grid tables".
2898   - Added cautions for anonymous hyperlink use.
2899   - Added "Dedication" and generic bibliographic fields.
2901 * test: Made test modules standalone (subdirectories became packages).
2903 * test/DocutilsTestSupport.py:
2905   - Added support for PEP extensions to reStructuredText.
2906   - Added support for simple tables.
2907   - Refactored naming.
2909 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2911   - Now supports true packages containing test modules
2912     (``__init__.py`` files required); fixes duplicate module name bug.
2914 * test/test_pep/: Subpackage added to project; PEP testing.
2916 * test/test_rst/test_SimpleTableParser.py: Added to project.
2918 * tools:
2920   - Updated html.py and publish.py front-end tools to use the new
2921     command-line processing facilities of ``docutils.frontend``
2922     (exposed in ``docutils.core.Publisher``), reducing each to just a
2923     few lines of code.
2924   - Added ``locale.setlocale()`` calls to front-end tools.
2926 * tools/buildhtml.py: Added to project; batch-generates .html from all
2927   the .txt files in directories and subdirectories.
2929 * tools/default.css:
2931   - Added support for ``header`` and ``footer`` elements.
2932   - Added styles for "Dedication" topics (biblio fields).
2934 * tools/docutils.conf: A configuration file; added to project.
2936 * tools/docutils-xml.py: Added to project.
2938 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2940 * tools/pep-html-template: Added to project.
2942 * tools/pep2html.py: Added to project from Python (nondist/peps).
2943   Added support for Docutils (reStructuredText PEPs).
2945 * tools/quicktest.py:
2947   - Added the ``--attributes`` option, hacked a bit.
2948   - Added a second command-line argument (output file); cleaned up.
2950 * tools/stylesheets/: Subdirectory added to project.
2952 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2955 Release 0.1 (2002-04-20)
2956 ========================
2958 This is the first release of Docutils, merged from the now inactive
2959 reStructuredText__ and `Docstring Processing System`__ projects.  For
2960 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2961 `DPS HISTORY`__ files.
2963 __ http://structuredtext.sourceforge.net/
2964 __ http://docstring.sourceforge.net/
2965 __ http://structuredtext.sourceforge.net/HISTORY.html
2966 __ http://docstring.sourceforge.net/HISTORY.html
2968 General changes: renamed 'dps' package to 'docutils'; renamed
2969 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2970 the test suites (reStructuredText's test/test_states renamed to
2971 test/test_rst); and all modifications required to make it all work.
2973 * docutils/parsers/rst/states.py:
2975   - Improved diagnostic system messages for missing blank lines.
2976   - Fixed substitution_reference bug.
2980    Local Variables:
2981    mode: indented-text
2982    indent-tabs-mode: nil
2983    sentence-end-double-space: t
2984    fill-column: 70
2985    End: