Fix [ 3600051 ] for tables in a list, table cells are not compacted.
[docutils.git] / HISTORY.txt
bloba6d9619f91ad6ac1daf9d97b9254b7ff57e3a8c9
1 .. -*- coding: utf-8 -*-
3 ==================
4  Docutils History
5 ==================
7 :Author: David Goodger; open to all Docutils developers
8 :Contact: docutils-develop@lists.sourceforge.net
9 :Date: $Date$
10 :Revision: $Revision$
11 :Web site: http://docutils.sourceforge.net/
12 :Copyright: This document has been placed in the public domain.
14 .. contents::
16 Changes Since 0.10
17 ==================
19 * docutils/nodes.py
21   - Fix [ 3601607 ] node.__repr__() must return `str` instance.
23 * docutils/utils/__init__.py
25   - Fix [ 3596884 ] exception importing ``docutils.io``.
27 * docutils/writers/html4css1/__init__.py
29   - Fix [ 3600051 ] for tables in a list, table cells are not compacted.
31 * docutils/writers/latex2e/__init__.py
33   - Drop the simple algorithm replacing straight double quotes with
34     English typographic ones.
35     Activate the SmartQuotes_ transform if you want this feature.
36   - Fix literal use of babel shorthands (straight quote, tilde, ...).
38 .. _SmartQuotes: docs/user/config.html#smart-quotes
40 Release 0.10 (2012-12-16)
41 =========================
43 * General
45   - Dropped support for Python 2.3.
46   - ``docutils/math``, ``docutils/error_reporting.py``, and
47     ``docutils/urischemes.py`` moved to the utils package.
48   - Fix [3541369] Relative __import__ also with Python 3.3.
49   - Fix [3559988] and [3560841] __import__ local writer, reader, languages
50     and parsers for Python 2.7 up.
51   - Fix import of PIL.Image.
52   - Change default of "syntax highlight" option to "long",
53     basic syntax highlight styles for LaTeX and HTML.
55 * docutils/io.py
57   - FileInput/FileOutput: no system-exit on IOError.  The `handle_io_errors`
58     option is ignored and will be removed in a future release.
59   - Fix Py3k error writing to stdout with encoding differing from default.
60   - Fix opening binary files under Py3k (thanks to Dominic Fitzpatrick).
62 * docutils/parsers/rst/directives/misc.py
64   - Fix [ 3546533 ] Unicode error with `date` directive.
66 * docutils/transforms/universal.py
68   - SmartQuotes transform for typographic quotes and dashes.
70 * docutils/utils/__init__.py
72   - normalize_language_tag() now returns `BCP 47`_ conformant tags
73     with subtags separated by ``-``.
75 * docutils/writers/html4css1/__init__.py
77   - Use ``<code>`` tag for inline "code",
78     do not drop nested inline nodes (syntax highlight tokens).
79   - Customizable MathJax URL (based on patch by Dmitry Shachnev).
80   - No line break after opening inline math tag.
82 * docutils/writers/manpage.py
84   - Apply [ 3527401 ] addmonition's don't preserve indentation
85   - Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.
87 , docutils/writers/xetex/__init__.py
89   - Apply [ 3555160 ] ensure order of "otherlanguages".
90   - Fix section numbering by LaTeX.
92 * docutils/writers/s5_html/__init__.py
94   - Fix [ 3556388 ] Mathjax does not work with rst2s5.
96 * docutils/writers/s5_html/docutils_xml.py
98   - Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.
100 * setup.py
102   - Tag ``math.css`` stylesheet as data file (patch by Dmitry Shachnev).
104 * tools/test/test_buildhtml.py
106   - Fix [ 3521167 ] allow running in any directory.
107   - Fix [ 3521168 ] allow running with Python 3.
110 Release 0.9.1 (2012-06-17)
111 ==========================
113 * setup.py
115   - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
116     installed in the PYTHONPATH. Converted tests are now
117     stored in ``test3/``, tools no longer need conversion.
119     If you installed one of Docutils versions 0.7 ... 0.9 with
120     ``setup.py install`` under Python 3, remove the spurious
121     ``test/`` and ``tools/`` directories in the site library root.
123 * test/
125   - Make tests independent from the location of the ``test/`` directory.
126   - Use converted sources (from the ``build/`` directory) for tests under
127     Python 3.
129 * tools/
131   - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
133 * docutils/io.py
135   - Fix writing binary data to sys.stdout under Python 3 (allows
136     ``rst2odt.py`` to be used with output redirection).
138 * docutils/parsers/rst/directives/misc.py
140   - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
141     ``locale == C`` and 8-bit char in path argument of `include` directive.
143 * test/alltests.py
145   - class `Tee`: catch UnicodeError when writing to "ascii" stream or
146     file under Python 3.
148 Release 0.9 (2012-05-02)
149 ========================
151 * General:
153   - New reStructuredText "code" role and directive and "code" option
154     of the "include" directive with syntax highlighting by Pygments_.
155   - Fix parse_option_marker for option arguments containing ``=``.
156   - Fix [ 2993756 ]: import Python Imaging Library's Image module
157     via ``import PIL`` as starting with PIL 1.2,
158     "PIL lives in the PIL namespace only" (announcement__).
160 .. _Pygments: http://pygments.org/
161 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
163 * setup.py
165   - Fix [ 2971827 ] and [ 3442827 ]
166     extras/roman.py moved to docutils/utils/roman.py
168 * docutils/frontend.py
170   - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
172 * docutils/io.py
174   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
175   - `mode` argument for FileOutput avoids code replication in
176     BinaryFileOutput.
177   - New exceptions InputError and OutputError for IO errors in
178     FileInput/FileOutput.
180 * docutils/core.py:
182   - No "hard" system exit on file IO errors: catch and report them in
183     `Publisher.reportException` instead. Allows handling by a calling
184     application if the configuration setting `traceback` is True.
186 * docutils/utils.py -> docutils/utils/__init__.py
188   - docutils.utils is now a package (providing a place for sub-modules)
190   .. note:: docutils/math, docutils/error_reporting.py, and
191      docutils/urischemes.py will move to the utils package in the next
192      release, too. See RELEASE-NOTES__
194      __ RELEASE-NOTES.html
196   - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
197     errors recording non-ASCII filenames (fixes [ 3434355 ]).
199   - Fix relative_path() with source=None and `unicode` target.
201 * docutils/parsers/rst/states.py
203   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
204     characters and "international" quotes around inline markup.
205   - Use `field_marker` pattern to look for start of a
206     directive option block (fixes [ 3484857 ]).
208 * docutils/parsers/rst/tableparser.py
210   - Fix [ 2926161 ] for simple tables.
211     (Combining chars in grid tables still contribute to cell width.)
213 * docutils/writers/latex2e/__init__.py
215   - Support the `abbreviation` and `acronym` standard roles.
216   - Record only files required to generate the LaTeX source as dependencies.
217   - Fix handling of missing stylesheets.
218   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
219     when suppressing LaTeX section numbering.
220   - Use ``\DUtitle`` for unsupported section levels
221   - Apply [ 3512791 ] do not compare string literals with "is"
223 * docutils/writers/xetex/__init__.py
225   - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
227 * docutils/writers/html4css1/__init__.py
229   - Change default for `math-output` setting to MathJax.
230   - Fix handling of missing stylesheets.
232 * docutils/writers/docutils_xml.py
234   - Use the visitor pattern with default_visit()/default_depart() methods
235     instead of minidom to facilitate special handling of selected nodes.
236   - Support raw XML (inserted as-is inside a <raw></raw> node).
238 * docutils/writers/manpage.py
240   - Do not emit comment line with trailing blank. Problematic for VCS.
242 Release 0.8.1 (2011-08-30)
243 ==========================
245 * General:
247   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
248     and [ 3395920 ] (correct copyright info for rst.el).
250 * test/
252   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
254 * docutils/writers/latex2e/__init__.py
256   - Clean up Babel language setting. Restores Sphinx compatibility.
258 Release 0.8 (2011-07-07)
259 ========================
261 * General:
263   - Handle language codes according to `BCP 47`_.
264   - If the specified language is not supported by Docutils,
265     warn and fall back to English.
266   - Math support: reStructuredText "math" role and directive,
267     ``math`` and ``math_block`` doctree elements.
268   - Decode command line arguments with the locale's preferred encoding
269     (to allow, e.g., ``--title=Dornröschen``).
270   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
271   - New sub-module `error_reporting`: handle encoding/decoding errors
272     when reporting exceptions.
273   - Some additions to the Docutils core are released under the 2-Clause BSD
274     license, see COPYING_ for details.
276   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
277   .. _COPYING: COPYING.html
279 * reStructuredText:
281   - Most directives now support a "name" option that attaches a
282     reference name.
284   - Directive content may start on the first line also when the directive
285     type accepts options.
287 * docs/dev/policies.txt:
289   - Recommend the 2-Clause BSD license
290     (http://www.spdx.org/licenses/BSD-2-Clause)
291     for code that is kept under the author's copyright.
293 * tools/buildhtml.py:
295   - Fix ``--local`` switch.
297 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
299 * docutils/writers/html4css1/__init__.py
301   - Set "lang" argument for objects with class argument
302     "language-<language tag>".
303   - New setting "math-output" with support for HTML, MathML, and LaTeX.
305 * docutils/writers/latex2e/__init__.py
307   - Fix [ 3043986 ] AttributeError using :local: with table of content.
308   - Place title data in the document preamble.
309   - Load `babel` package only if required.
310   - Update list of supported languages.
311   - New config setting "hyperref-options".
312     No hard-coded "unicode" hyperref option (clash with xetex).
313   - Set language for custom roles, paragraphs, block-quotes, and
314     line-quotes with class argument "language-<language tag>".
315   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
316   - Convert image URI to a local file path.
317   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
318     has more than one paragraph (Wolfgang Scherer).
319   - \leavevmode before longtable only when needed (prevents spurious vspace)
320   - do not advance table counter for tables without caption
322 * docutils/writers/xetex/__init__.py
324   - New writer generating LaTeX code for compiling with ``xelatex``.
326     A separate writer (inheriting from latex2e) instead of a ``--xetex``
327     option allows separate config options for XeTeX vs. LaTeX2e.
329 * docutils/writers/manpage.py
331   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
332   - Fix: vertical space cleaning for option group ``.``.
334 * tools/editors/emacs/rst.el:
336   - Fix [ 3001100 ] does not handle spaces in filenames
337     (thanks to Jakub Wilk)
339 * docutils/utils.py:
341   - strip whitespace from stylesheet arguments
342   - exclude combining chars from column_width()
343     (partial fix for [ 2926161 ])
345 * docutils/parsers/rst/directives/misc.py:
347   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
348     nested_parse
350 * docutils/io.py:
352   - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
353     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
355 Release 0.7 (2010-07-07)
356 ========================
358 * General:
360   - Fix [ 2881769 ] setup configuration.
361   - Fix [ 2788716 ] reporting problems in included files.
363 * docutils/io.py
365   - FileInput opens files as text files with universal newline support
366     (mode "rU", configurable with the new optional argument "mode").
368 * docutils/nodes.py
370   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
372 * docutils/utils.py
374   - Fix [ 2923723 ] let decode_path() tolerate path == None
376 * docutils/writers/html4css1/__init__.py
378   - Support SVG and SWF images (thanks to Stefan Rank).
379   - Generate valid XHTML for centered images with targets.
380     Use CSS classes instead of "align" tags for image alignment.
382 * docutils/writers/latex2e/__init__.py
384   - Use `transforms.writer_aux.Admonitions` to "normalize" special
385     admonitions.
386   - Use the ``\url`` command for URLs (breaks long URLs instead of
387     writing into the margin).
388   - Preserve runs of spaces in `inline literals`__.
389   - Deprecate ``figure_footnotes`` setting.
390   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
391   - New ``latex_preamble`` setting.
392   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
393   - Fix hyperlink targets (labels) for images, figures, and tables.
394   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
395   - Apply [ 2961991 ] Call hyperref with unicode option.
396   - Drop the special `output_encoding`__ default ("latin-1").
397     The Docutils wide default (usually "UTF-8") is used instead.
398   - Render inline markup in document title and subtitle.
399   - Fix numbering depth with LaTeX section numbering.
400   - Update Unicode -> LaTeX translations.
401   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
403 __ docs/ref/restructuredtext.html#inline-literals
404 __ docs/user/config.html#docutils-footnotes
405 __ docs/user/config.html#output_encoding
407 * docutils/writers/manpage.py
409   - Fix: supported attribute (thanks to peter2108).
410   - Remove trailing blanks in code (keep in sync with mercurial version).
411   - Titles level 1, that is ``.SH``, always uppercase.
412   - Apply patch from mg: literal text should be bold in man-pages.
414 * docutils/nodes.py
416   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
417     turkish locale.
419 * setup.py:
421   - Python 3 support: copy test/ and tools/ to the build-dir
422     and convert Python sources with 2to3.
425 Release 0.6 (2009-10-11)
426 ========================
428 * General:
430   - Docutils is now compatible with Python versions from 2.3 up to 2.6
431     and convertible to 3.1 code.
433     + Node.__nonzero__ returns True instead of 1.
434     + use os.walk instead os.path.walk.
435     + minimize "types" module where possible.
436     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
437     + Text nodes now subclass unicode rather than UserString
438       (which is gone in python 3.0).
439     + 3.0 compatibility module docutils._compat
441     + Drop 2.2 compatibility workarounds.
442     + Drop extras/optparse.py and extras/textwrap.py
443       (stdlib modules since 2.3).
445   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
446   - Unix man page export: manpage writer moved from sandbox to Doctutils
447     core.
449   - Apply [ 1719345 ] Galician translation
450   - Apply [ 1905741 ] Polish translation
451   - Apply [ 1878977 ] make_id(): deaccent characters.
452   - Apply [ 2029251 ] return nonzero when tests fail.
453   - Fix [ 1692788 ] allow UTF-8 in style sheets.
454   - Fix [ 2781629 ] support non-ASCII chars in file names.
455   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
456   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
457   - Fix [ 2821266 ] --strict option works now like --halt=info.
458   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
459   - Fix [ 1627229 ] hyperlink references in substitutions.
461   - The "newlatex" writer is orphaned.
463 * reStructuredText:
465   - Documented Unicode characters allowed as inline markup openers,
466     closers, and delimiters.
467   - Allow units for all length specifications.
468   - Allow percent sign in "scale" argument of "figure" and "image" directives.
469   - Bugfix: The "figalign" argument of a figure now works as intended
470     (aligning the figure, not its contents).
471   - Align images with class "align-[right|center|left]"
472     (allows setting the alignment of an image in a figure).
474 * docutils/nodes.py:
476   - Added ``Element.__contains__`` method, for the in-operator.
478 * docutils/parsers/rst/states.py:
480   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
481   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
482     " " (non-breaking space), and "¡ ¿" openers.
484 * docutils/parsers/directives/misc.py:
486   - Added ``start-line`` and ``end-line`` options to "include"
487     directive to select a range of lines.
488   - Hard tabs in literal inclusions are replaced by spaces. This is
489     configurable via the new ``tab-width`` option of the "include" directive
490     (a negative tab-width prevents tab expansion).
492 * docutils/utils.py:
494   - Add ``get_stylesheet_list`` function.
495   - Apply [ 2834836 ] print info at halt
497 * docutils/transforms/universal.py:
499   - Raise default priority of StripClasses to exclude stripped classes from
500     the ToC.
502 * docutils/writers/html4css1/__init__.py:
504   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
505     separated list of stylesheets.
506   - Address [ 1938891 ] Inline literal text creates "pre" span only when
507     needed to prevent inter-word line wraps.
508   - Use `translate` method instead of repeated `replace` calls.
509   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
510     classes to allow CSS styling that does not interfere with other
511     table-using constructs (field lists, citations, ...).
513 * docutils/writers/newlatex2e/__init__.py:
515   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
517 * docutils/writers/latex2e/__init__.py (see also
518   `<docs/user/docutils-05-compat.sty.html>`__) :
520   - Add ``--embed-stylesheet`` option.
521   - Apply [ 1474017 ] image vertical alignment is reversed.
522   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
523   - Change: has_key for dictionaries (not Nodes) to in-operator.
524   - Merge adjacent citations into one latex cite command.
525   - Failsave implementation of custom roles. LaTeX compilation now ignores
526     unknown classes instead of aborting with an error.
527   - Support custom roles based on standard roles.
528   - LaTeX packages can be used as ``--stylesheet`` arguments without
529     restriction. (A style sheet is now referenced with the ``\usepackage``
530     command, if it ends with ``.sty`` or has no extension.)
531   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
532   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
533   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
534     2005-02-04 as a configurable length unit).
535   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
536     if font-encoding is set to ''. LaTeX defaults to OT1 then.
537   - Set sub- and superscript role argument in text mode not as math.
538     Use a custom role based on sub-/superscript if you want italic shape.
539   - Shorter preamble and less dependencies: Load packages and define macros
540     only if required in the document.
541   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
542   - New custom environments and commands with optional "classes" argument.
543   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
544   - Better conformance to Docutils specifications with ``--use-latex-toc``.
545     Support for LaTeX generated ToC also with unnumbered sections.
546   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
547     section numbering by LaTeX.
548   - Use default font in admonitions and sidebar.
549   - Align of image in a figure defaults to 'center'.
550   - Bugfix: Newlines around targets and references prevent run-together
551     paragraphs.
552   - Fix internal hyperlinks.
553   - Use class defaults for page margins ('typearea' now optional).
554   - Float placement made configurable, default changed to "here definitely".
555   - Typeset generic topic as "quote block with title".
556   - Use template (file and configuration option).
557   - In the default template, load cmap.sty (fix text extraction in PDF) and
558     fixltx2e.sty (LaTeX patches, \textsubscript).
559   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
560   - Use `translate` instead of repeated `replace` calls for text encoding.
561   - Hyperlinked footnotes and support for symbol footnotes and
562     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
563   - Complete pairs of binary options
564     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
565     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
566   - New defaults:
567     - font-encoding: "T1" (formerly implicitely set by 'ae').
568     - use-latex-toc: true (ToC with page numbers).
569     - use-latex-footnotes: true (no mixup with figures).
571 * docutils/writers/manpage.py
573   - Do not print version at document end, this is done by the viewer.
574   - Do not print date at document end, this is done by the viewer.
575   - Fix storage of docinfo fields for none standard fields.
577 * docutils/tools/rst2man.py
579 Release 0.5 (2008-06-25)
580 ========================
582 * docutils/languages/he.py: Added to project: Hebrew mappings by
583   Meir Kriheli.
585 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
586   mappings by Meir Kriheli.
588 * docutils/frontend.py:
590   - Configuration files are now assumed and required to be
591     UTF-8-encoded.
592   - Paths of applied configuration files are now recorded in the
593     runtime setting ``_config_files`` (accessible via
594     ``--dump-settings``).
595   - Added ``--strip-elements-with-class`` and ``--strip-class``
596     options (``strip_elements_with_classes`` and ``strip_classes``
597     settings).
599 * docutils/io.py:
601   - Added code to determine the input encoding from data: encoding
602     declarations or the presence of byte order marks (UTF-8 & UTF-16).
603   - Added support for IronPython 1.0.
605 * docutils/nodes.py:
607   - Added ``document.__getstate__`` method, for pickling.
609 * docutils/parsers/rst/states.py:
611   - Allow ``+`` and ``:`` in reference names.
612   - Unquoted targets beginning with an underscore (``.. __target:
613     URI``) are no longer accepted.
614   - Added support for multiple attributions in a physical block quote
615     (indented text block), dividing it into multiple logical block
616     quotes.
617   - Added support for unicode bullets in bullet lists: "•", "‣", and
618     "⁃".
619   - Added support for new object-oriented directive interface,
620     retaining compatibility to the old functional interface.
621   - Added support for throwing ``DirectiveError``'s from within
622     directive code.
624 * docutils/parsers/rst/__init__.py:
626   - Added ``Directive`` base class.
627   - Added ``DirectiveError`` base class.
628   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
629     definitions.
631 * docutils/parsers/directives/:
633   - Refactored all reStructuredText directives to use the new
634     object-oriented directive interface.  Errors are now (mostly)
635     thrown using the new ``DirectiveError`` class.
637 * docutils/parsers/directives/misc.py:
639   - Added ``start-after`` and ``end-before`` options to ``include``
640     directive; thanks to Stefan Rank.
642 * docutils/transforms/universal.py:
644   - Added ``StripClassesAndElements`` transform to remove from the
645     document tree all elements with classes in
646     ``settings.strip_elements_with_classes`` and all "classes"
647     attribute values in ``self.document.settings.strip_classes``.
649 * docutils/transforms/writer_aux.py:
651   - Added ``Admonitions`` transform to transform specific admonitions
652     (like ``note``, ``warning``, etc.) into generic admonitions with a
653     localized title.
655 * docutils/writers/html4css1/__init__.py:
657   - Moved template functionality from the PEP/HTML writer here.
658   - Expanded the fragments available in the ``parts`` attribute.
659   - Moved ``id`` attributes from titles to surrounding ``div``
660     elements.
661   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
662     universally supported now).
663   - ``template.txt`` is now opened in text mode instead of binary mode
664     (to ensure Windows compatibility).
665   - ``a`` elements now have an "internal" or "external" class,
666     depending on reference type.
668 * docutils/writers/html4css1/template.txt: Added to project.
670 * docutils/writers/pep_html/:
672   - Moved template functionality to the HTML writer.
674 * docutils/writers/s5_html/__init__.py:
676   - Added ``view_mode`` & ``hidden_controls`` settings
677     (``--view-mode`` & ``--hidden-controls/--visible-controls``
678     options).
680 * docutils/writers/latex2e/__init__.py:
682   - Add ``--literal-block-env``
683   - Fix: escaping ``%`` in href urls.
684   - Move usepackage hyperref after stylesheet inclusion.
685   - Fix: scrartcl does not have chapter but scrreprt.
686   - Add newline after ``\end{verbatim}``.
687   - Merge smaller differences from latex2e_adaptive_preamble.
688   - Add ``use-part-section``.
689   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
690   - Using leavemode option_list no longer needs to check if parent
691     is a definition list.
692   - Append ``\leavemode`` to definition list terms.
693   - No longer write visit\_/depart_definition_list_item comments to
694     output.
695   - Table column width with 3 decimal places.
696   - Add table stubs support (boldfont).
697   - Add assemble_parts to writer.
698   - Add simply support for nested tables.
699   - Fix verbatim in tables if use-verbatim-when-possible.
700   - Use section commands down to subparagraph.
701   - Put ensuremath around some latin1 chars.
702   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
703   - New option ``--use-bibtex=style,db1,db2``.
704   - New option ``--reference-label`` to allow usage of LaTeX ref for
705     labels in section references.
706   - Add a label after every section to support sectionnumbers as reference
707     labels.
708   - Fix: bug# 1605376 rst2latex: bad options group list
709   - Remove inactive code for use_optionlist_for_option_list.
710   - Remove latex comments from option_list output.
711   - Fix: bug# 1612270 double qoutes in italian literal.
712   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
713   - Add option --use-latex-abstract.
714   - Image width unit ``px`` is translated to ``pt``.
715   - Add image height support.
716   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
717     bug #1457388
718   - Fix: Do not escape underscores in citation reference labels if
719     use-latex-citations is set.
720   - Use centering instead of center for figure contents, to avoid vertical
721     space.
722   - Recognize table class: borderless, nolines, booktabs, standard.
723   - Fix: Renaming contents section does not work with latex writer; SF
724     bug #1487405.
725   - Applied patch for custom roles with classes from Edward Loper.
726   - Fixed bug that caused crashes with more than 256 lists.
728 * docutils/writers/pep_html/__init__.py:
730   - Changed to support new python.org website structure and
731     pep2pyramid.py.
733 * docs/howto/security.txt: "Deploying Docutils Securely", added to
734   project.
736 * tools/buildhtml.py:
738   -- Added ``ignore`` setting to exclude a list of shell patterns
739      (default: ``.svn:CVS``).
741 * tools/editors/emacs/rst.el:
743   - Changed license to "GPL".
744   - Added ``rst-straighten-decorations`` function.
745   - The ``compile`` module is now always loaded.
746   - Added ``rst-toggle-line-block`` function.
747   - Headings consisting only of non-ASCII characters are now
748     recognized by ``rst-toc`` and ``rst-adjust``.
749   - Added font-lock support for multi-line comments where the first
750     comment line is empty.
751   - Added ``(require 'font-lock)``.
753 * setup.py:
755   - Provide descriptive error message if distutils is missing.
758 Release 0.4 (2006-01-09)
759 ========================
761 * General:
763   - Updated the project policies for trunk/branch development &
764     version numbering.
766 * docutils/__init__.py:
768   - Added ``__version_details__`` attribute to describe code source
769     (repository/snapshot/release).
770   - Replaced ``default_transforms`` attribute of TransformSpec with
771     ``get_transforms()`` method.
773 * docutils/core.py:
775   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
776     functions, for document tree extraction and reprocessing.
778 * docutils/io.py:
780   - Added ``DocTreeInput`` class, for reprocessing existing documents.
781   - Added support for non-Unicode (e.g. binary) writer output.
783 * docutils/nodes.py:
785   - Re-introduced ``Targetable.indirect_reference_name``, for
786     MoinMoin/reST compatibility (removed in r3124/r3129).
787   - Added ``serial_escape`` function; escapes string values that are
788     elements of a list, for serialization.  Modified Docutils-XML
789     writing (``Element._dom_node``) and pseudo-XML writing
790     (``Element.starttag``) to use ``serial_escape``.
791   - Added ``Node.deepcopy()`` method.
792   - Removed the internal lists ``document.substitution_refs``,
793     ``document.anonymous_refs``, and ``document.anonymous_targets``.
794   - Added a "container" element.
795   - Fixed bug where values of list-valued attributes of elements
796     originating from custom interpreted text roles (i.e., with custom
797     classes) were being shared between element instances.  Reported by
798     Shmuel Zeigerman.
800 * docutils/statemachine.py:
802   - Added trailing whitespace stripping to ``string2lines()``.
803   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
804     Asian double-width character support.
806 * docutils/utils.py:
808   - Added ``east_asian_column_width()`` for double-width character
809     support.
811 * docutils/languages/ja.py: Added to project: Japanese mappings by
812   Hisashi Morita.
814 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
815   mappings by Panjunyong.
817 * docutils/parsers/null.py: Added to project; a do-nothing parser.
819 * docutils/parsers/rst/__init__.py:
821   - Added validator to tab_width setting, with test.  Closes SF bug
822     #1212515, report from Wu Wei.
824 * docutils/parsers/rst/states.py:
826   - Fixed bug with escaped colons indicating a literal block.
827   - Fixed bug with enumerated lists (SF#1254145).
828   - Backslash-escaped colons inside of field names are now allowed.
829   - Targets (implicit and explicit), anonymous hyperlink references
830     and auto-numbered footnote references inside of substitution
831     definitions are now disallowed.
832   - Fixed bug: list items with blank first lines.
833   - Fixed bug: block quote attributions with indented second lines.
834   - Added East Asian double-width character support (Python 2.4 only).
836 * docutils/parsers/rst/tableparser.py:
838   - Added East Asian double-width character support (Python 2.4 only).
840 * docutils/parsers/rst/directives/body.py:
842   - Added the "container" directive.
844 * docutils/parsers/rst/directives/misc.py:
846   - Added the "default-role", "title", and "date" directives.
847   - Added standard data file syntax to the "include" directive.
848   - Added support for "class" directive content.
850 * docutils/parsers/rst/directives/images.py:
852   - Added ``indirect_reference_name`` support for images with a target
853     option.
854   - Added support for image width and height units.
855   - Fixed bug with image "target" options.
857 * docutils/parsers/rst/directives/references.py:
859   - Added "class" attribute to "target-notes" directive, for
860     footnote_reference classes.
862 * docutils/parsers/rst/include/: Directory added to project; contains
863   standard data files for the "include" directive.  Initial contents:
864   character entity substitution definition sets, and a set of
865   definitions for S5/HTML presentations.
867 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
868   mappings by David Goodger.
870 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
871   Simplified Chinese mappings by Panjunyong.
873 * docutils/readers/__init__.py:
875   - Added universal.Decorations and universal.ExposeInternals
876     transforms as default transforms for all readers.
877   - Added ``ReReader`` base class for readers that reread an existing
878     document tree.
880 * docutils/readers/doctree.py: Added to project; a reader for existing
881   document trees.
883 * docutils/transforms/frontmatter.py:
885   - Fixed the DocInfo transform to handle SVN-style expansion of the
886     "Date" keyword.
887   - In ``DocInfo.extract_authors``, treat the contents of "authors"
888     fields uniformly.
890 * docutils/transforms/misc.py:
892   - Added misc.Transitions transform, extracted from
893     universal.FinalChecks.
895 * docutils/transforms/references.py:
897   - Added references.DanglingReferences transform, extracted from
898     universal.FinalChecks.
899   - Fixed bug with doubly-indirect substitutions.
900   - Added footnote_reference classes attribute to "TargetNotes".
901   - Fixed bug with circular substitution definitions that put Docutils
902     into an infinite loop.
904 * docutils/transforms/universal.py:
906   - Added universal.ExposeInternals transform, extracted from
907     universal.FinalChecks.
908   - Removed universal.FinalChecks transform (logic has been moved to
909     several new transforms).
910   - Fixed bug with the "expose_internals" setting and Text nodes
911     (exposed by the "rawsource" internal attribute).
912   - Added the universal.StripComments transform, implementation of the
913     "strip_comments" setting.
915 * docutils/transforms/writer_aux.py: Added to project; auxiliary
916   transforms for writers.
918   - Added ``Compound`` transform, which flattens compound paragraphs.
920 * docutils/writers/: Several writer modules (html4css1.py) were
921   converted into packages.  Support modules and data files have been
922   moved into the packages.  The stylesheets for the HTML writers are
923   now installed along with the code, the code knows where to find
924   them, and the default is to use them (actually, to embed them).
925   Some adjustments to configuration files may be necessary.  The
926   easiest way to obtain the new default behavior is to remove all
927   settings whose name includes "stylesheet".
929 * docutils/writers/__init__.py:
931   - Added universal.Messages and universal.FilterMessages transforms
932     as default transforms for all writers.
933   - Added ``UnfilteredWriter`` base class for writers that pass the
934     document tree on unchanged.
936 * docutils/writers/docutils_xml.py:
938   - Made ``xmlcharrefreplace`` the default output encoding error
939     handler.
941 * docutils/writers/html4css1/:
943   - Added support for image width and height units.
944   - Made ``xmlcharrefreplace`` the default output encoding error
945     handler.
946   - Made ``--embed-stylesheet`` the default rather than
947     ``--link-stylesheet``.
948   - Moved "id" attribute from container (section etc.) to title's <a>
949     tag, to be on the same tag as "name".
950     (!!! To be reverted in Docutils 0.5.)
951   - Added vertical space between fields of field lists.
952   - Added ``--compact-field-lists`` option to remove vertical space in
953     simple field lists.
954   - Made cloaking of email addresses with ``--cloak-email-addresses``
955     less obtrusive.
956   - Fixed support for centered images.
957   - Added support for class="compact" & class="open" lists.
959 * docutils/writers/latex2e/:
961   - Underscores in citekeys are no longer escaped.
963 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
964   mapping of Unicode characters to LaTeX equivalents.
966 * docutils/writers/s5_html/: Package added to project; writer for
967   S5/HTML slide shows.
969 * docs/dev/distributing.txt: Added to project; guide for distributors
970   (package maintainers).
972 * docs/dev/hacking.txt: Added to project; guide for developers.
974 * docs/ref/doctree.txt:
976   - Updated for plural attributes "classes", "ids", "names",
977     "dupnames".
978   - Added the "container" element.
980 * docs/ref/docutils.dtd:
982   - Updated for plural attributes "classes", "ids", "names",
983     "dupnames".
985 * docs/user/emacs.txt: Added to project; a document about Emacs
986   support for reStructuredText and Docutils.
988 * docs/user/links.txt: Added to project; lists of Docutils-related
989   links.
991 * docs/user/mailing-lists.txt: Added to project; information about
992   Docutils-related mailing lists and how to access them.
994 * docs/user/slide-shows.txt: Added to project; example of and docs for
995   the S5/HTML writer (``rst2s5.py`` front end).
997 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
998   Files", added to project.
1000 * test/coverage.sh: Added to project; test coverage script.
1002 * test/DocutilsTestSupport.py:
1004   - Added support for specifying runtime settings at the suite level.
1006 * test/test_functional.py:
1008   - Added the ``clear_output_directory`` function.
1009   - Added support for ``_test_more`` functions in functional test
1010     config files.
1012 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
1014 * tools/rstpep2html.py: Renamed from pep.py.
1016 * tools/dev/create_unimap.py: Added to project; script to create the
1017   docutils/writers/unimap_latex.py mapping file.
1019 * tools/dev/profile_docutils.py: Added to project; profiler script.
1021 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
1023 * tools/editors/emacs/restructuredtext.el,
1024   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
1025   Removed from project; the functionality is now contained in rst.el.
1027 * tools/editors/emacs/rst.el: Added to project.  Added many features
1028   and fixed many bugs.  See docs/user/emacs.txt for details.
1030 * tools/stylesheets: Removed from project.  Stylesheets have been
1031   renamed and moved into writer packages.
1034 Release 0.3.9 (2005-05-26)
1035 ==========================
1037 * General:
1039   - Eliminated and replaced all uses of the old string attributes
1040     ``id``, ``name``, ``dupname`` and ``class`` with references to the
1041     new list attributes ``ids``, ``names``, ``dupnames`` and
1042     ``classes`` throughout the whole source tree.
1044 * docutils/core.py:
1046   - Enabled ``--dump-*`` options when ``--traceback`` specified,
1047     allowing for easier debugging.
1048   - In ``Publisher.publish()``, expanded the generic top-level
1049     exception catching.
1051 * docutils/examples.py:
1053   - Added ``internals`` function for exploration.
1055 * docutils/io.py:
1057   - Fixed ``Input.decode`` method to apply heuristics only if no
1058     encoding is explicitly given, and to provide better reporting of
1059     decoding errors.
1060   - The ``Input.decode`` method now removes byte order marks (BOMs)
1061     from input streams.
1063 * docutils/nodes.py:
1065   - ``image`` element class changed to subclass of Element, not
1066     TextElement (it's an empty element, and cannot contain text).
1067   - Added ``attr_defaults`` dictionary for default attribute values.
1068   - Added empty list as default value for the following attributes:
1069     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
1070   - Added ``document.decoration`` attribute,
1071     ``document.get_decoration`` method, and ``decoration.get_header``
1072     & ``.get_footer`` methods.
1073   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
1074     methods.
1076 * docutils/utils.py:
1078   - Removed ``docutils.utils.Reporter.categories``,
1079     ``docutils.utils.ConditionSet``, and all references to them, to
1080     simplify error reporting.
1082 * docutils/languages/nl.py: Added to project; Dutch mappings by
1083   Martijn Pieters.
1085 * docutils/parsers/rst/__init__.py:
1087   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
1089 * docutils/parsers/rst/states.py:
1091   - Added check for escaped at-mark to prevent email address recognition.
1092   - Fixed option lists to allow spaces inside ``<angle-bracketed option
1093     arguments>``.
1094   - Allowed whitespace in paths and URLs.
1095   - Added auto-enumerated list items.
1096   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
1097     followed by text.
1098   - Added support for table stub columns.
1100 * docutils/parsers/rst/directives/__init__.py:
1102   - Allowed whitespace in paths (``path`` function).
1103   - Added ``uri`` directive option conversion function.
1105 * docutils/parsers/rst/directives/body.py:
1107   - Fixed illegal context bug with "topic" directive (allowed within
1108     sidebars; not within body elements).
1110 * docutils/parsers/rst/directives/images.py:
1112   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1113   - Added support for the ``file_insertion_enabled`` setting in the
1114     "figure" directive (disables "figwidth" option).
1115   - "image" directive: added checks for valid values of "align" option,
1116     depending on context.  "figure" directive: added specialized
1117     "align" option and attribute on "figure" element.
1118   - Made ":figwidth: image" option of "figure" directive work again.
1119   - Fixed bug with reference names containing uppercase letters
1120     (e.g. ``Name_``) in "target" option of "image" directive.
1122 * docutils/parsers/rst/directives/misc.py:
1124   - Fixed "include" and "raw" directives to catch text decoding
1125     errors.
1126   - Allowed whitespace in "include" & "raw" directive paths.
1127   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1128     settings in "include" & "raw" directives.
1130 * docutils/parsers/rst/directives/parts.py:
1132   - Added "header" & "footer" directives.
1133   - Fixed illegal context bug with "contents" directive (topics
1134     allowed within sidebars; not within body elements).
1136 * docutils/parsers/rst/directives/tables.py:
1138   - Added "list-table" directive.
1139   - Caught empty CSV table bug.
1140   - Added support for the ``file_insertion_enabled`` setting in the
1141     "csv-table" directive.
1142   - Added ``stub-columns`` option to "csv-table" and "list-table"
1143     directives.
1145 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1146   mappings by Martijn Pieters.
1148 * docutils/readers/standalone.py:
1150   - Added ``--section-subtitles`` and ``--no-section-subtitles``
1151     options to activate or deactivate the SectSubTitle transform.
1153 * docutils/transforms/frontmatter.py:
1155   - Added SectSubTitle transform to promote titles of lone
1156     subsections to subtitles.
1158 * docutils/transforms/references.py:
1160   - Fixed mislocated internal targets bug, by propagating internal
1161     targets to the next node, making use of the newly added support
1162     for multiple names and IDs.
1163   - Fixed duplicate footnote label bug.
1164   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1165     transform.
1167 * docutils/writers/html4css1.py:
1169   - Fixed unencoded stylesheet reference bug (characters like "&" in
1170     stylesheet references).
1171   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1172     tags).
1173   - Added support for multiple IDs per node by creating empty ``span``
1174     tags.
1175   - Added the ``field_name_limit`` & ``option_limit`` settings &
1176     support.
1177   - Added support for table stub columns.
1178   - Added support for the ``align`` attribute on ``figure`` elements.
1179   - Added the ``cloak_email_addresses`` setting & support.
1180   - Added ``html_prolog``, ``html_head``, ``html_body``,
1181     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1182     ``docutils.core.publish_parts``.
1183   - Added support for section subtitles.
1185 * docutils/writers/latex2e.py:
1187   - Fixed tables starting with more than one multirow cell.
1188   - Improved --use-latex-docinfo so that organization/contact/address
1189     fields are lumped with the last author field and appear on the
1190     titlepage.
1191   - Made sure the titlepage is always shown with --use-latex-docinfo,
1192     even if the document has no title.
1193   - Made sure that latex doesn't fill in today's date if no date field
1194     was given.
1195   - Added support for section subtitles.
1197 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1198   (under development).
1200 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1202 * docs/api/publisher.txt:
1204   - Added "``publish_parts`` Details" section.
1206 * docutils/dev/repository.txt: Added to project; information about the
1207   Docutils Subversion repository.
1209 * docs/ref/docutils.dtd:
1211   - Added a ``stub`` attribute to the ``colspec`` element via the
1212     ``tbl.colspec.att`` parameter entity.
1213   - Allowed topic elements within sidebars
1214   - Added an ``align`` attribute to the ``figure`` element.
1216 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1217   writer.
1220 Release 0.3.7 (2004-12-24)
1221 ==========================
1223 * docutils/frontend.py:
1225   - Added options: --input-encoding-error-handler,
1226     --record-dependencies, --leave-footnote-reference-space,
1227     --strict-visitor.
1228   - Added command-line and config file support for "overrides" setting
1229     parameter.
1231 * docutils/io.py:
1233   - Added support for input encoding error handler.
1235 * docutils/nodes.py:
1237   - Added dispatch_visit and dispatch_departure methods to
1238     NodeVisitor; useful as a hook for Visitors.
1239   - Changed structure of ``line_block``; added ``line``.
1240   - Added ``compound`` node class.
1241   - Added a mechanism for Visitors to transitionally ignore new node
1242     classes.
1244 * docutils/utils.py:
1246   - Moved ``escape2null`` and ``unescape`` functions from
1247     docutils/parsers/rst/states.py.
1249 * docutils/parsers/rst/roles.py:
1251   - Added "raw" role.
1252   - Changed role function API: the "text" parameter now takes
1253     null-escaped interpreted text content.
1255 * docutils/parsers/rst/states.py:
1257   - Fixed bug where a "role" directive in a nested parse would crash
1258     the parser; the state machine's "language" attribute was not being
1259     copied over.
1260   - Added support for line block syntax.
1261   - Fixed directive parsing bug: argument-less directives didn't
1262     notice that arguments were present.
1263   - Removed error checking for transitions.
1264   - Added support for multiple classifiers in definition list items.
1265   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1266   - Changed role function API: the "text" parameter now takes
1267     null-escaped interpreted text content.
1268   - Empty sections and documents are allowed now.
1270 * docutils/parsers/rst/directives/__init__.py:
1272   - Added ``encoding`` directive option conversion function.
1273   - Allow multiple class names in class_option conversion function.
1275 * docutils/parsers/rst/directives/body.py:
1277   - Converted the line-block directive to use the new structure.
1278   - Extracted the old line-block functionality to the ``block``
1279     function (still used).
1280   - Added ``compound`` directive (thanks to Lea Wiemann).
1282 * docutils/parsers/rst/directives/misc.py:
1284   - Added "encoding" option to "include" and "raw" directives.
1285   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1286   - Allow multiple class names in the "class" directive.
1288 * docutils/parsers/rst/directives/parts.py:
1290   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1291     options.  Thanks to Lele Gaifax.
1293 * docutils/parsers/rst/directives/tables.py:
1295   - Added "encoding" directive to "csv-table" directive.
1296   - Added workaround for lack of Unicode support in csv.py, for
1297     non-ASCII CSV input.
1299 * docutils/transforms/misc.py:
1301   - Fixed bug when multiple "class" directives are applied to a single
1302     element.
1303   - Enabled multiple format names for "raw" directive.
1305 * docutils/transforms/references.py:
1307   - Added support for trimming whitespace from beside substitution
1308     references.
1310 * docutils/transforms/universal.py:
1312   - FinalChecks now checks for illegal transitions and moves
1313     transitions between sections.
1315 * docutils/writers/html4css1.py:
1317   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1318   - "stylesheet" and "stylesheet_path" settings are now mutually
1319     exclusive.
1320   - Added support for the new line_block/line structure.
1321   - --footnote-references now overrides
1322     --trim-footnote-reference-space, if applicable.
1323   - Added support for ``compound`` elements.
1324   - Enabled multiple format names for "raw" directive.
1325   - ``<p>`` tags of a paragraph which is the only visible child of the
1326     document node are no longer stripped.
1327   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1328     new method ``should_be_compact_paragraph()``.
1329   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1330     elements.
1331   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1332     the output if they have their ``class`` attribute set.
1333   - The whole document is now surrounded by a ``<div
1334     class="document">`` element.
1335   - Body-level images are now wrapped by their own ``<div>`` elements,
1336     with image classes copied to the wrapper, and for images which
1337     have the ``:align:`` option set, the surrounding ``<div>`` now
1338     receives a class attribute (like ``class="align-left"``).
1340 * docutils/writers/latex2e.py:
1342   - no newline after depart_term.
1343   - Added translations for some Unicode quotes.
1344   - Added option "font-encoding", made package AE the default.
1345   - "stylesheet" and "stylesheet_path" settings are now mutually
1346     exclusive.
1347   - --footnote-references now overrides
1348     --trim-footnote-reference-space, if applicable.
1349   - The footnote label style now matches the footnote reference style
1350     ("brackets" or "superscript").
1351   - Added support for ``compound`` elements.
1352   - Enabled multiple format names for "raw" directive.
1354 * docs/ref/docutils.dtd:
1356   - Changed structure of the ``line_block`` element; added ``line``.
1357   - Added ``compound`` element.
1358   - Added "ltrim" and "rtrim" attributes to
1359     ``substitution_definition`` element.
1360   - Enabled multiple format names for ``raw`` element.
1361   - Enabled multiple classifiers in ``definition_list_item`` elements.
1363 * docs/ref/rst/directives.txt
1365   - Marked "line-block" as deprecated.
1366   - "Class" directive now allows multiple class names.
1367   - Added "Rationale for Class Attribute Value Conversion".
1368   - Added warning about "raw" overuse/abuse.
1370 * docs/ref/rst/restructuredtext.txt:
1372   - Added syntax for line blocks.
1373   - Definition list items may have multiple classifiers.
1375 * docs/ref/rst/roles.txt:
1377   - Added "raw" role.
1379 * tools/stylesheets/default.css:
1381   - Added support for the new line_block structure.
1382   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1385 Release 0.3.5 (2004-07-29)
1386 ==========================
1388 General:
1390 * _`Documentation cleanup/reorganization`.
1392   - Created new subdirectories of docs/:
1394     * ``docs/user/``: introductory/tutorial material for end-users
1395     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1396     * ``docs/api/``: API reference material for client-developers
1397     * ``docs/ref/``: reference material for all groups
1398     * ``docs/howto/``: for component-developers and core-developers
1399     * ``docs/peps/``: Python Enhancement Proposals
1401   - Moved ``docs/*`` to ``docs/user/``.
1402   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1403     ``spec/`` to ``docs/dev``.
1404   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1405     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1406   - Moved ``alternatives.txt``, and ``problems.txt`` from
1407     ``spec/rst/`` to ``docs/dev/rst/``.
1408   - Moved ``reStructuredText.txt``, ``directives.txt``,
1409     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1410     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1411     ``roles.txt``, ``reStructuredText.txt`` to
1412     ``restructuredtext.txt``.
1413   - Moved ``spec/howto/`` to ``docs/howto``.
1415   In order to keep the CVS history of moved files, we supplied
1416   SourceForge with a `script for modifying the Docutils CVS
1417   repository`__.
1419   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1421   After running the cleanup script:
1423   - Added ``docs/index.txt``.
1424   - Added a ``.htaccess`` file to the ``web`` module, containing
1425     redirects for all old paths to new paths.  They'll preserve
1426     fragments (the "#name" part of a URL), and won't clutter up the
1427     file system, and will correct the URL in the user's browser.
1428   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1429     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1430     the "To Do" list itself in ``docs/dev/todo.txt``.
1431   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1432     section of ``docs/dev/todo.txt``.
1433   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1434   - Added "How To Report Bugs" to ``BUGS.txt``.
1435   - Went through all the sources and docs (including under web/) and
1436     updated links.  Mostly done by Lea Wiemann; thanks Lea!
1437     (Still need to update links in the sandboxes.)
1439 Specific:
1441 * BUGS.txt: Added to project.
1443 * THANKS.txt: Added to project.
1445 * docutils/__init__.py:
1447   - 0.3.4: Post-release.
1449 * docutils/core.py:
1451   - Added special error handling & advice for UnicodeEncodeError.
1452   - Refactored Publisher.publish (simplified exception handling &
1453     extracted debug dumps).
1454   - Renamed "enable_exit" parameter of convenience functions to
1455     "enable_exit_status".
1456   - Enabled traceback (exception propagation) by default in
1457     programmatic convenience functions.
1458   - Now publish_file and publish_cmdline convenience functions return
1459     the encoded string results in addition to their regular I/O.
1460   - Extracted common code from publish_file, publish_string, and
1461     publish_parts, into new publish_programmatically.  Extracted
1462     settings code to ``Publisher.process_programmatic_settings``.
1463   - In Publisher.publish, disabled ``settings_overrides`` when
1464     ``settings`` is supplied; redundant.
1466 * docutils/frontend.py:
1468   - Added help text for "--output-encoding-error-handler" and
1469     "--error-encoding-error-handler".
1470   - Renamed "--exit" to "--exit-status".
1471   - Simplified default-setting code.
1473 * docutils/parsers/rst/__init__.py:
1475   - Added "--pep-base-url" and "--rfc-base-url" options.
1477 * docutils/parsers/rst/states.py:
1479   - Made URI recognition more aggressive and intelligent.
1481 * docutils/parsers/rst/directives/__init__.py:
1483   - Added several directive option conversion functions.
1485 * docutils/parsers/rst/directives/body.py:
1487   - Moved "table" directive to tables.py.
1489 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1490   added to project.
1492 * docutils/writers/latex2e.py:
1494   - Added "--table-style=(standard|booktabs|nolines)"
1495   - figures get "here" option (LaTeX per default puts them at bottom),
1496     and figure content is centered.
1497   - Rowspan support for tables.
1498   - Fix: admonition titles before first section.
1499   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1500   - Replave ``_`` in literal by an underlined blank, because it has the correct
1501     width.
1502   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1503   - A few unicode replacements, if output_encoding != utf
1504   - Add "--graphicx-option".
1505   - Indent literal-blocks.
1506   - Fix: omit ``\maketitle`` when there is no document title.
1508 * docs/index.txt: "Docutils Project Documentation Overview", added to
1509   project.
1511 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1512   Tool", added to project.
1514 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1516 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1518 * docs/dev/policies.txt: Added to project (extracted from
1519   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1521 * docs/dev/release.txt: Added to project (extracted from
1522   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1524 * docs/dev/testing.txt: Added to project.
1526 * docs/dev/website.txt: Added to project (extracted from
1527   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1529 * docs/ref/rst/directives.txt:
1531   - Added directives: "table", "csv-table".
1533 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1534   added to project.  1 page for syntax, and a 1 page reference for
1535   directives and roles.  Source text to be used as-is; not meant to be
1536   converted to HTML.
1538 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1539   with a change of title.
1541 * test/functional/, contents, and test/test_functional.py: Added to
1542   project.
1544 * tools/buildhtml.py: Fixed bug with config file handling.
1546 * tools/html.py: Removed from project (duplicate of rst2html.py).
1548 * tools/pep2html.py: Removed from project (duplicate of Python's
1549   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1550   Docutils-related PEPs in docs/peps/).
1552 * tools/rst2pseudoxml.py: Renamed from publish.py.
1554 * tools/rst2xml.py: Renamed from docutils-xml.py.
1556 * tools/test.txt: Removed from project; moved to
1557   docs/user/rst/demo.txt.
1559 * setup.py: Now also installs ``rst2latex.py``.
1562 Release 0.3.3 (2004-05-09)
1563 ==========================
1565 * docutils/__init__.py:
1567   - 0.3.1: Reorganized config file format (multiple sections); see
1568     docs/config.txt.
1569   - Added unknown_reference_resolvers attribute to TransformSpec.
1570   - 0.3.2: Interpreted text reorganization.
1571   - 0.3.3: Released.
1573 * docutils/core.py:
1575   - Catch system messages to stop tracebacks from parsing errors.
1576   - Catch exceptions during processing report & exit without
1577     tracebacks, except when "--traceback" used.
1578   - Reordered components for OptionParser; application comes last.
1579   - Added "config_section" parameter to several methods and functions,
1580     allowing front ends to easily specify their config file sections.
1581   - Added publish_parts convenience function to allow access to individual
1582     parts of a document.
1584 * docutils/examples.py: Added to project; practical examples of
1585   Docutils client code, to be used as-is or as models for variations.
1587 * docutils/frontend.py:
1589   - Added "--traceback" & "--no-traceback" options ("traceback"
1590     setting).
1591   - Implemented support for config file reorganization:
1592     ``standard_config_files`` moved from ``ConfigParser`` to
1593     ``OptionParser``; added
1594     ``OptionParser.get_config_file_settings()`` and
1595     ``.get_standard_config_settings()``; support for old "[options]"
1596     section (with deprecation warning) and mapping from old to new
1597     settings.
1598   - Reimplemented setting validation.
1599   - Enabled flexible boolean values: yes/no, true/false, on/off.
1600   - Added ``Values``, a subclass of ``optparse.Values``, with support
1601     for list setting attributes.
1602   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1603     thanks to Beni Cherniavsky.
1604   - Added "--no-section-numbering" option.
1606 * docutils/io.py:
1608   - Catch IOErrors when opening source & destination files, report &
1609     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1610     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1612 * docutils/nodes.py:
1614   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1615     method definitions (via ``exec``) to dynamic assignments (via
1616     ``setattr``); thanks to Roman Suzi.
1617   - Encapsulated visitor dynamic assignments in a function; thanks to
1618     Ian Bicking.
1619   - Added indirect_reference_name attribute to the Targetable
1620     class. This attribute holds the whitespace_normalized_name
1621     (contains mixed case) of a target.
1623 * docutils/statemachine.py:
1625   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1626   - Added ``StringList.get_2D_block``.
1628 * docutils/utils.py:
1630   - Added "level" attribute to SystemMessage exceptions.
1632 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1633   Jannie Hofmeyr.
1635 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1636   Blaha.
1638 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1639   Marcelo Huerta San Martin.
1641 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1642   mappings by Lalo Martins.
1644 * docutils/languages/ru.py: Added to project; Russian mappings by
1645   Roman Suzi.
1647 * docutils/parsers/rst/roles.py: Added to project.  Contains
1648   interpreted text role functions, a registry for interpreted text
1649   roles, and an API for adding to and retrieving from the registry.
1650   Contributed by Edward Loper.
1652 * docutils/parsers/rst/states.py:
1654   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1655   - Allowed true em-dash character and "---" as block quote
1656     attribution marker.
1657   - Added support for <angle-bracketed> complex option arguments
1658     (option lists).
1659   - Fixed handling of backslashes in substitution definitions.
1660   - Fixed off-by-1 error with extra whitespace after substitution
1661     definition directive.
1662   - Added inline markup parsing to field lists' field names.
1663   - Added support for quoted (and unindented) literal blocks.
1664     Driven in part by a bribe from Frank Siebenlist (thanks!).
1665   - Parser now handles escapes in URIs correctly.
1666   - Made embedded-URIs' reference text omittable.  Idea from Beni
1667     Cherniavsky.
1668   - Refactored explicit target processing code.
1669   - Added name attribute to references containing the reference name only
1670     through whitespace_normalize_name (no case changes).
1671   - parse_target no longer returns the refname after going through
1672     normalize_name. This is now handled in make_target.
1673   - Fixed bug relating to role-less interpreted text in non-English
1674     contexts.
1675   - Reorganized interpreted text processing; moved code into the new
1676     roles.py module.  Contributed by Edward Loper.
1677   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1678     ``parse_directive_block``.
1680 * docutils/parsers/rst/tableparser.py:
1682   - Reworked for ``StringList``, to support "include" directives in
1683     table cells.
1685 * docutils/parsers/rst/directives/__init__.py:
1687   - Renamed ``unchanged()`` directive option conversion function to
1688     ``unchanged_required``, and added a new ``unchanged``.
1689   - Catch unicode value too high error; fixes bug 781766.
1690   - Beefed up directive error reporting.
1692 * docutils/parsers/rst/directives/body.py:
1694   - Added basic "table" directive.
1696 * docutils/parsers/rst/directives/images.py:
1698   - Added "target" option to "image" directive.
1699   - Added name attribute to references containing the reference name only
1700     through whitespace_normalize_name (no case changes).
1702 * docutils/parsers/rst/directives/misc.py:
1704   - Isolated the import of the ``urllib2`` module; was causing
1705     problems on SourceForge (``libssl.so.2`` unavailable?).
1706   - Added the "role" directive for declaring custom interpreted text
1707     roles.
1709 * docutils/parsers/rst/directives/parts.py:
1711   - The "contents" directive does more work up-front, creating the
1712     "topic" and "title", and leaving the "pending" node for the
1713     transform.  Allows earlier reference resolution; fixes subtle bug.
1715 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1716   mappings by Jannie Hofmeyr.
1718 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1719   mappings by Marek Blaha.
1721 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1722   mappings by Marcelo Huerta San Martin.
1724 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1725   Portuguese mappings by Lalo Martins.
1727 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1728   mappings by Roman Suzi.
1730 * docutils/transforms/parts.py:
1732   - The "contents" directive does more work up-front, creating the
1733     "topic" and "title", and leaving the "pending" node for the
1734     transform.  Allows earlier reference resolution; fixes subtle bug.
1735   - Added support for disabling of section numbering.
1737 * docutils/transforms/references.py:
1739   - Verifying that external targets are truly targets and not indirect
1740     references. This is because we are now adding a "name" attribute to
1741     references in addition to targets. Note sure if this is correct!
1742   - Added code to hook into the unknown_reference_resolvers list for a
1743     transformer in resolve_indirect_target. This allows the
1744     unknown_reference_resolvers to keep around indirect targets which
1745     docutils doesn't know about.
1746   - Added specific error message for duplicate targets.
1748 * docutils/transforms/universal.py:
1750   - Added FilterMessages transform (removes system messages below the
1751     verbosity threshold).
1752   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1753     to FinalCheckVisitor for application-specific handling of
1754     unresolvable references.
1755   - Added specific error message for duplicate targets.
1757 * docutils/writers/__init__.py:
1759   - Added assemble_parts method to the Writer class to allow for
1760     access to a documents individual parts.
1761   - Documented & set default for ``Writer.output`` attribute.
1763 * docutils/writers/html4css1.py:
1765   - Fixed unicode handling of attribute values (bug 760673).
1766   - Prevent duplication of "class" attribute values (bug report from
1767     Kirill Lapshin).
1768   - Improved table grid/border handling (prompted by report from Bob
1769     Marshall).
1770   - Added support for table titles.
1771   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1772     to Darek Suchojad.
1773   - Added functionality to keep track of individual parts of a document
1774     and store them in a dictionary as the "parts" attribute of the writer.
1775     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1776   - Added proper support for the "scale" attribute of the "image"
1777     element.  Contributed by Brent Cook.
1778   - Added ``--initial-header-level`` option.
1779   - Fixed bug: the body_pre_docinfo segment depended on there being a
1780     docinfo; if no docinfo, the document title was incorporated into
1781     the body segment.  Adversely affected the publish_parts interface.
1783 * docutils/writers/latex2e.py:
1785   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1786     about a missing file.
1787   - Added options and support: ``--compound-enumerators``,
1788     ``--section-prefix-for-enumerators``, and
1789     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1790     934322).
1791   - Added option ``--use-verbatim-when-possible``, to avoid
1792     problematic characters (eg, '~' in italian) in literal blocks.
1793   - It's now possible to use four section levels in the `book` and
1794     `report` LaTeX classes.  The default `article` class still has
1795     three levels limit.
1797 * docs/config.txt: "Docutils Configuration Files", added to project.
1798   Moved config file entry descriptions from tools.txt.
1800 * docs/tools.txt:
1802   - Moved config file entry descriptions to config.txt.
1804 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
1805   Development".
1807 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1808   Text Roles", added to project.
1810 * spec/rst/reStructuredText.txt:
1812   - Added description of support for <angle-bracketed> complex option
1813     arguments to option lists.
1814   - Added subsections for indented and quoted literal blocks.
1816 * test: Continually adding & updating tests.
1818   - Added test/test_settings.py & test/data/config_*.txt support
1819     files.
1820   - Added test/test_writers/test_htmlfragment.py.
1822 * test/DocutilsTestSupport.py:
1824   - Refactored LaTeX publisher test suite/case class names to make
1825     testing other writers easier.
1826   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1827     to test the processing of HTML fragments which use the new
1828     publish_parts convenience function.
1830 * tools/buildhtml.py:
1832   - Added support for the "--prune" option.
1833   - Removed dependency on pep2html.py; plaintext PEPs no longer
1834     supported.
1836 * tools/docutils.conf:
1838   - Updated for configuration file reorganization.
1840 * tools/rst2html.py:
1842   - copied from tools/html.py
1844 * setup.py:
1846   - added a 'scripts' section to configuration
1847   - added 'tools/rst2html.py' to the scripts section
1850 Release 0.3 (2003-06-24)
1851 ========================
1853 General:
1855 * Renamed "attribute" to "option" for directives/extensions.
1857 * Renamed transform method "transform" to "apply".
1859 * Renamed "options" to "settings" for runtime settings (as set by
1860   command-line options).  Sometimes "option" (singular) became
1861   "settings" (plural).  Some variations below:
1863   - document.options -> document.settings (stored in other objects as
1864     well)
1865   - option_spec -> settings_spec (not directives though)
1866   - OptionSpec -> SettingsSpec
1867   - cmdline_options -> settings_spec
1868   - relative_path_options -> relative_path_settings
1869   - option_default_overrides -> settings_default_overrides
1870   - Publisher.set_options -> Publisher.get_settings
1872 Specific:
1874 * COPYING.txt: Added "Public Domain Dedication".
1876 * FAQ.txt: Frequently asked questions, added to project.
1878 * setup.py:
1880   - Updated with PyPI Trove classifiers.
1881   - Conditional installation of third-party modules.
1883 * docutils/__init__.py:
1885   - Bumped version to 0.2.1 to reflect changes to I/O classes.
1886   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1887   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1888   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1889     option and its effect on the PEP template & writer.
1890   - Bumped version to 0.2.4 due to changes to the PEP template &
1891     stylesheet.
1892   - Bumped version to 0.2.5 to reflect changes to Reporter output.
1893   - Added ``TransformSpec`` class for new transform system.
1894   - Bumped version to 0.2.6 for API changes (renaming).
1895   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1896     convenience functions.
1897   - Added ``Component.component_type`` attribute.
1898   - Bumped version to 0.2.8 because of the internal parser switch from
1899     plain lists to the docutils.statemachine.StringList objects.
1900   - Bumped version to 0.2.9 because of the frontend.py API changes.
1901   - Bumped version to 0.2.10 due to changes to the project layout
1902     (third-party modules removed from the "docutils" package), and
1903     signature changes in ``io.Input``/``io.Output``.
1904   - Changed version to 0.3.0 for release.
1906 * docutils/core.py:
1908   - Made ``publish()`` a bit more convenient.
1909   - Generalized ``Publisher.set_io``.
1910   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1911     parameters; improved its docstring.
1912   - Added ``publish_file()`` and ``publish_string()``.
1913   - Factored ``Publisher.set_source()`` and ``.set_destination()``
1914     out of ``.set_io``.
1915   - Added support for "--dump-pseudo-xml", "--dump-settings", and
1916     "--dump-transforms" hidden options.
1917   - Added ``Publisher.apply_transforms()`` method.
1918   - Added ``Publisher.set_components()`` method; support for
1919     ``publish_*()`` conveninece functions.
1920   - Moved config file processing to docutils/frontend.py.
1921   - Added support for exit status ("exit_level" setting &
1922     ``enable_exit`` parameter for Publisher.publish() and convenience
1923     functions).
1925 * docutils/frontend.py:
1927   - Check for & exit on identical source & destination paths.
1928   - Fixed bug with absolute paths & "--config".
1929   - Set non-command-line defaults in ``OptionParser.__init__()``:
1930     ``_source`` & ``_destination``.
1931   - Distributed ``relative_path_settings`` to components; updated
1932     ``OptionParser.populate_from_components()`` to combine it all.
1933   - Require list of keys in ``make_paths_absolute`` (was implicit in
1934     global ``relative_path_settings``).
1935   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1936     "--dump-settings", and "--dump-transforms" hidden options.
1937   - Removed nasty internals-fiddling ``ConfigParser.get_section``
1938     code, replaced with correct code.
1939   - Added validation functionality for config files.
1940   - Added "--error-encoding" option/setting, "_disable_config"
1941     internal setting.
1942   - Added encoding validation; updated "--input-encoding" and
1943     "--output-encoding"; added "--error-encoding-error-handler" and
1944     "--output-encoding-error-handler".
1945   - Moved config file processing from docutils/core.py.
1946   - Updated ``OptionParser.populate_from_components`` to handle new
1947     ``SettingsSpec.settings_defaults`` dict.
1948   - Added support for "-" => stdin/stdout.
1949   - Added "exit_level" setting ("--exit" option).
1951 * docutils/io.py:
1953   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1954   - Added automatic closing to ``FileInput`` and ``FileOutput``.
1955   - Delayed opening of ``FileOutput`` file until ``write()`` called.
1956   - ``FileOutput.write()`` now returns the encoded output string.
1957   - Try to get path/stream name automatically in ``FileInput`` &
1958     ``FileOutput``.
1959   - Added defaults for source & destination paths.
1960   - Allow for Unicode I/O with an explicit "unicode" encoding.
1961   - Added ``Output.encode()``.
1962   - Removed dependency on runtime settings; pass encoding directly.
1963   - Recognize Unicode strings in ``Input.decode()``.
1964   - Added support for output encoding error handlers.
1966 * docutils/nodes.py:
1968   - Added "Invisible" element category class.
1969   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1970     modification during a traversal.
1971   - Added element classes: ``line_block``, ``generated``, ``address``,
1972     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1973     ``superscript``, ``subscript``, ``inline``
1974   - Added support for lists of nodes to ``Element.insert()``.
1975   - Fixed parent linking in ``Element.replace()``.
1976   - Added new abstract superclass ``FixedTextElement``; adds
1977     "xml:space" attribute.
1978   - Added support for "line" attribute of ``system_message`` nodes.
1979   - Added support for the observer pattern from ``utils.Reporter``.
1980     Added ``parse_messages`` and ``transform_messages`` attributes to
1981     ``document``, removed ``messages``.  Added ``note_parse_message``
1982     and ``note_transform_message`` methods.
1983   - Added support for improved diagnostics:
1985     - Added "document", "source", and "line" internal attributes to
1986       ``Node``, set by ``Node.setup_child()``.
1987     - Converted variations on ``node.parent = self`` to
1988       ``self.setup_child(node)``.
1989     - Added ``document.current_source`` & ``.current_line``
1990       attributes, and ``.note_source`` observer method.
1991     - Changed "system_message" output to GNU-Tools format.
1993   - Added a "rawsource" attribute to the ``Text`` class, for text
1994     before backslash-escape resolution.
1995   - Support for new transform system.
1996   - Reworked ``pending`` element.
1997   - Fixed XML DOM bug (SF #660611).
1998   - Removed the ``interpeted`` element class and added
1999     ``title_reference``, ``abbreviation``, ``acronym``.
2000   - Made substitutions case-sensitive-but-forgiving; moved some code
2001     from the parser.
2002   - Fixed Unicode bug on element attributes (report: William Dode).
2004 * docutils/optik.py: Removed from project; replaced with
2005   extras/optparse.py and extras/textwrap.py.  These will be installed
2006   only if they're not already present in the Python installation.
2008 * docutils/roman.py: Moved to extras/roman.py; this will be installed
2009   only if it's not already present in the Python installation.
2011 * docutils/statemachine.py:
2013   - Factored out ``State.add_initial_transitions()`` so it can be
2014     extended.
2015   - Converted whitespace-specific "blank" and "indent" transitions
2016     from special-case code to ordinary transitions: removed
2017     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
2018     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
2019     ``ws_initial_transitions`` attributes.
2020   - Removed ``State.match_transition()`` after merging it into
2021     ``.check_line()``.
2022   - Added ``StateCorrection`` exception.
2023   - Added support for ``StateCorrection`` in ``StateMachine.run()``
2024     (moved ``TransitionCorrection`` support there too.)
2025   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
2026     ``EOFError`` instead of ``IndexError``.
2027   - Added ``State.no_match`` method.
2028   - Added support for the Observer pattern, triggered by input line
2029     changes.
2030   - Added ``strip_top`` parameter to
2031     ``StateMachineWS.get_first_known_indented``.
2032   - Made ``context`` a parameter to ``StateMachine.run()``.
2033   - Added ``ViewList`` & ``StringList`` classes;
2034     ``extract_indented()`` becomes ``StringList.get_indented()``.
2035   - Added ``StateMachine.insert_input()``.
2036   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
2037     thanks to) Fred Drake.
2039 * docutils/utils.py:
2041   - Added a ``source`` attribute to Reporter instances and
2042     ``system_message`` elements.
2043   - Added an observer pattern to ``utils.Reporter`` to keep track of
2044     system messages.
2045   - Fixed bugs in ``relative_path()``.
2046   - Added support for improved diagnostics.
2047   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
2048   - Added support for encoding Reporter stderr output, and encoding
2049     error handlers.
2050   - Reporter keeps track of the highest level system message yet
2051     generated.
2053 * docutils/languages: Fixed bibliographic field language lookups.
2055 * docutils/languages/es.py: Added to project; Spanish mappings by
2056   Marcelo Huerta San Martin.
2058 * docutils/languages/fr.py: Added to project; French mappings by
2059   Stefane Fermigier.
2061 * docutils/languages/it.py: Added to project; Italian mappings by
2062   Nicola Larosa.
2064 * docutils/languages/sk.py: Added to project; Slovak mappings by
2065   Miroslav Vasko.
2067 * docutils/parser/__init__.py:
2069   - Added ``Parser.finish_parse()`` method.
2071 * docutils/parser/rst/__init__.py:
2073   - Added options: "--pep-references", "--rfc-references",
2074     "--tab-width", "--trim-footnote-reference-space".
2076 * docutils/parsers/rst/states.py:
2078   - Changed "title under/overline too short" system messages from INFO
2079     to WARNING, and fixed its insertion location.
2080   - Fixed enumerated list item parsing to allow paragraphs & section
2081     titles to begin with enumerators.
2082   - Converted system messages to use the new "line" attribute.
2083   - Fixed a substitution reference edge case.
2084   - Added support for "--pep-references" and "--rfc-references"
2085     options; reworked ``Inliner`` code to make customization easier.
2086   - Removed field argument parsing.
2087   - Added support for short section title over/underlines.
2088   - Fixed "simple reference name" regexp to ignore text like
2089     "object.__method__"; not an anonymous reference.
2090   - Added support for improved diagnostics.
2091   - Reworked directive API, based on Dethe Elza's contribution.  Added
2092     ``Body.parse_directive()``, ``.parse_directive_options()``,
2093     ``.parse_directive_arguments()`` methods.
2094   - Added ``ExtensionOptions`` class, to parse directive options
2095     without parsing field bodies.  Factored
2096     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
2097     ``ExtensionOptions``.
2098   - Improved definition list term/classifier parsing.
2099   - Added warnings for unknown directives.
2100   - Renamed ``Stuff`` to ``Struct``.
2101   - Now flagged as errors: transitions at the beginning or end of
2102     sections, empty sections (except title), and empty documents.
2103   - Updated for ``statemachine.StringList``.
2104   - Enabled recognition of schemeless email addresses in targets.
2105   - Added support for embedded URIs in hyperlink references.
2106   - Added backslash-escapes to inline markup end-string suffix.
2107   - Added support for correct interpreted text processing.
2108   - Fixed nested title parsing (topic, sidebar directives).
2109   - Added special processing of backslash-escaped whitespace (idea
2110     from David Abrahams).
2111   - Made substitutions case-sensitive-but-forgiving; moved some code
2112     to ``docutils.nodes``.
2113   - Added support for block quote attributions.
2114   - Added a kludge to work-around a conflict between the bubble-up
2115     parser strategy and short titles (<= 3 char-long over- &
2116     underlines).  Fixes SF bug #738803 "infinite loop with multiple
2117     titles" submitted by Jason Diamond.
2118   - Added explicit interpreted text roles for standard inline markup:
2119     "emphasis", "strong", "literal".
2120   - Implemented "superscript" and "subscript" interpreted text roles.
2121   - Added initial support for "abbreviation" and "acronym" roles;
2122     incomplete.
2123   - Added support for "--trim-footnote-reference-space" option.
2124   - Optional space before colons in directives & hyperlink targets.
2126 * docutils/parsers/rst/tableparser.py:
2128   - Fixed a bug that was producing unwanted empty rows in "simple"
2129     tables.
2130   - Detect bad column spans in "simple" tables.
2132 * docutils/parsers/rst/directives: Updated all directive functions to
2133   new API.
2135 * docutils/parsers/rst/directives/__init__.py:
2137   - Added ``flag()``, ``unchanged()``, ``path()``,
2138     ``nonnegative_int()``, ``choice()``, and ``class_option()``
2139     directive option helper functions.
2140   - Added warnings for unknown directives.
2141   - Return ``None`` for missing directives.
2142   - Added ``register_directive()``, thanks to William Dode and Paul
2143     Moore.
2145 * docutils/parsers/rst/directives/admonitions.py:
2147   - Added "admonition" directive.
2149 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
2150   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2151   "parsed-literal", "rubric", "epigraph", "highlights" and
2152   "pull-quote" directives.
2154 * docutils/parsers/rst/directives/images.py:
2156   - Added an "align" attribute to the "image" & "figure" directives
2157     (by Adam Chodorowski).
2158   - Added "class" option to "image", and "figclass" to "figure".
2160 * docutils/parsers/rst/directives/misc.py:
2162   - Added "include", "raw", and "replace" directives, courtesy of
2163     Dethe Elza.
2164   - Added "unicode" and "class" directives.
2166 * docutils/parsers/rst/directives/parts.py:
2168   - Added the "sectnum" directive; by Dmitry Jemerov.
2169   - Added "class" option to "contents" directive.
2171 * docutils/parsers/rst/directives/references.py: Added to project.
2172   Contains the "target-notes" directive.
2174 * docutils/parsers/rst/languages/__init__.py:
2176   - Return ``None`` from get_language() for missing language modules.
2178 * docutils/parsers/rst/languages/de.py: Added to project; German
2179   mappings by Engelbert Gruber.
2181 * docutils/parsers/rst/languages/en.py:
2183   - Added interpreted text roles mapping.
2185 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2186   mappings by Marcelo Huerta San Martin.
2188 * docutils/parsers/rst/languages/fr.py: Added to project; French
2189   mappings by William Dode.
2191 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2192   mappings by Nicola Larosa.
2194 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2195   mappings by Miroslav Vasko.
2197 * docutils/readers/__init__.py:
2199   - Added support for the observer pattern from ``utils.Reporter``, in
2200     ``Reader.parse`` and ``Reader.transform``.
2201   - Removed ``Reader.transform()`` method.
2202   - Added default parameter values to ``Reader.__init__()`` to make
2203     instantiation easier.
2204   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2206 * docutils/readers/pep.py:
2208   - Added the ``peps.TargetNotes`` transform to the Reader.
2209   - Removed PEP & RFC reference detection code; moved to
2210     parsers/rst/states.py as options (enabled here by default).
2211   - Added support for pre-acceptance PEPs (no PEP number yet).
2212   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2213     easy subclassing.
2215 * docutils/readers/python: Python Source Reader subpackage added to
2216   project, including preliminary versions of:
2218   - __init__.py
2219   - moduleparser.py: Parser for Python modules.
2221 * docutils/transforms/__init__.py:
2223   - Added ``Transformer`` class and completed transform reform.
2224   - Added unknown_reference_resolvers list for each transformer. This list holds
2225     the list of functions provided by each component of the transformer that
2226     help resolve references.
2228 * docutils/transforms/frontmatter.py:
2230   - Improved support for generic fields.
2231   - Fixed bibliographic field language lookups.
2233 * docutils/transforms/misc.py: Added to project.  Miscellaneous
2234   transforms.
2236 * docutils/transforms/parts.py:
2238   - Moved the "id" attribute from TOC list items to the references
2239     (``Contents.build_contents()``).
2240   - Added the ``SectNum`` transform; by Dmitry Jemerov.
2241   - Added "class" attribute support to ``Contents``.
2243 * docutils/transforms/peps.py:
2245   - Added ``mask_email()`` function, updating to pep2html.py's
2246     functionality.
2247   - Linked "Content-Type: text/x-rst" to PEP 12.
2248   - Added the ``TargetNotes`` PEP-specific transform.
2249   - Added ``TargetNotes.cleanup_callback``.
2250   - Added title check to ``Headers``.
2252 * docutils/transforms/references.py:
2254   - Added the ``TargetNotes`` generic transform.
2255   - Split ``Hyperlinks`` into multiple transforms.
2256   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2257   - Added check for circular indirect references.
2258   - Made substitutions case-sensitive-but-forgiving.
2260 * docutils/transforms/universal.py:
2262   - Added support for the "--expose-internal-attributes" option.
2263   - Removed ``Pending`` transform classes & data.
2265 * docutils/writers/__init__.py:
2267   - Removed ``Writer.transform()`` method.
2269 * docutils/writers/docutils-xml.py:
2271   - Added XML and doctype declarations.
2272   - Added "--no-doctype" and "--no-xml-declaration" options.
2274 * docutils/writers/html4css1.py:
2276   - "name" attributes only on these tags: a, applet, form, frame,
2277     iframe, img, map.
2278   - Added "name" attribute to <a> in section titles for Netscape 4
2279     support (bug report: Pearu Peterson).
2280   - Fixed targets (names) on footnote, citation, topic title,
2281     problematic, and system_message nodes (for Netscape 4).
2282   - Changed field names from "<td>" to "<th>".
2283   - Added "@" to "&#64;" encoding to thwart address harvesters.
2284   - Improved the vertical whitespace optimization; ignore "invisible"
2285     nodes (targets, comments, etc.).
2286   - Improved inline literals with ``<span class="pre">`` around chunks
2287     of text and ``&nbsp;`` for runs of spaces.
2288   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2289     ``self.docinfo`` segments.
2290   - Added support for "line_block", "address" elements.
2291   - Improved backlinks (footnotes & system_messages).
2292   - Improved system_message output.
2293   - Redefined "--stylesheet" as containing an invariant URL, used
2294     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2295     working directory.
2296   - Added "--footnote-references" option (superscript or brackets).
2297   - Added "--compact-lists" and "--no-compact-lists" options.
2298   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2299     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2300   - Improved field list rendering.
2301   - Added Docutils version to "generator" meta tag.
2302   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2303   - Improved layout of <pre> HTML source.
2304   - Fixed attribute typo on <colspec>.
2305   - Refined XML prologue.
2306   - Support for no stylesheet.
2307   - Removed "interpreted" element support.
2308   - Added support for "title_reference", "sidebar", "attribution",
2309     "rubric", and generic "admonition" elements.
2310   - Added "--attribution" option.
2311   - Added support for "inline", "subscript", "superscript" elements.
2312   - Added initial support for "abbreviation" and "acronym";
2313     incomplete.
2315 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2316   (from the sandbox).
2318   - Added french.
2319   - Double quotes in literal blocks (special treatment for de/ngerman).
2320   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2321   - Added  "--attribution" option.
2322   - Right align attributions.
2324 * docutils/writers/pep_html.py:
2326   - Parameterized output encoding in PEP template.
2327   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2328   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2329     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2330     working directory.
2331   - Added an override on the "--footnote-references" option.
2332   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2333   - Added Docutils version to "generator" meta tag.
2334   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2336 * docs/tools.txt:
2338   - Added a "silent" setting for ``buildhtml.py``.
2339   - Added a "Getting Help" section.
2340   - Rearranged the structure.
2341   - Kept up to date, with new settings, command-line options etc.
2342   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2343   - Converted settings table into a definition list.
2345 * docs/rst/quickstart.txt:
2347   - Added a table of contents.
2348   - Added feedback information.
2349   - Added mention of minimum section title underline lengths.
2350   - Removed the 4-character minimum for section title underlines.
2352 * docs/rst/quickref.html:
2354   - Added a "Getting Help" section.
2355   - Added a style to make section title backlinks more subtle.
2356   - Added mention of minimum section title underline lengths.
2357   - Removed the 4-character minimum for section title underlines.
2359 * extras: Directory added to project; contains third-party modules
2360   that Docutils depends on (optparse, textwrap, roman).  These are
2361   only installed if they're not already present.
2363 * licenses: Directory added to project; contains copies of license
2364   files for non-public-domain files.
2366 * spec/doctree.txt:
2368   - Changed the focus.  It's about DTD elements:  structural
2369     relationships, semantics, and external (public) attributes.  Not
2370     about the element class library.
2371   - Moved some implementation-specific stuff into ``docutils.nodes``
2372     docstrings.
2373   - Wrote descriptions of all common attributes and parameter
2374     entities.  Filled in introductory material.
2375   - Working through the element descriptions: 55 down, 37 to go.
2376   - Removed "Representation of Horizontal Rules" to
2377     spec/rst/alternatives.txt.
2379 * spec/docutils.dtd:
2381   - Added "generated" inline element.
2382   - Added "line_block" body element.
2383   - Added "auto" attribute to "title".
2384   - Changed content models of "literal_block" and "doctest_block" to
2385     ``%text.model``.
2386   - Added ``%number;`` attribute type parameter entity.
2387   - Changed ``%structural.elements;`` to ``%section.elements``.
2388   - Updated attribute types; made more specific.
2389   - Added "address" bibliographic element.
2390   - Added "line" attribute to ``system_message`` element.
2391   - Removed "field_argument" element; "field_name" may contain
2392     multiple words and whitespace.
2393   - Changed public identifier to docutils.sf.net.
2394   - Removed "interpreted" element; added "title_reference",
2395     "abbreviation", "acronym".
2396   - Removed "refuri" attribute from "footnote_reference" and
2397     "citation_reference".
2398   - Added "sidebar", "rubric", "attribution", "admonition",
2399     "superscript", "subscript", and "inline" elements.
2401 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2403 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2405 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2407 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2408   Dallas Mahrt.
2410 * spec/transforms.txt: Added to project.
2412 * spec/howto: Added subdirectory, for developer how-to docs.
2414 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2415   Elza, edited & extended by David Goodger.
2417 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
2418   project.
2420 * spec/rst/alternatives.txt:
2422   - Added "Doctree Representation of Transitions" from
2423     spec/doctree.txt.
2424   - Updated "Inline External Targets" & closed the debate.
2425   - Added ideas for interpreted text syntax extensions.
2426   - Added "Nested Inline Markup" section.
2428 * spec/rst/directives.txt:
2430   - Added directives: "topic", "sectnum", "target-notes",
2431     "line-block", "parsed-literal", "include", "replace", "sidebar",
2432     "admonition", "rubric", "epigraph", "highlights", "unicode" and
2433     "class".
2434   - Formalized descriptions of directive details.
2435   - Added an "align" attribute to the "image" & "figure" directives
2436     (by Adam Chodorowski).
2437   - Added "class" options to "topic", "sidebar", "line-block",
2438     "parsed-literal", "contents", and "image"; and "figclass" to
2439     "figure".
2441 * spec/rst/interpreted.txt: Added to project.  Descriptions of
2442   interpreted text roles.
2444 * spec/rst/introduction.txt:
2446   - Added pointers to material for new users.
2448 * spec/rst/reStructuredText.txt:
2450   - Disambiguated comments (just add a newline after the "::").
2451   - Updated enumerated list description; added a discussion of the
2452     second-line validity checking.
2453   - Updated directive description.
2454   - Added a note redirecting newbies to the user docs.
2455   - Expanded description of inline markup start-strings in non-markup
2456     contexts.
2457   - Removed field arguments and made field lists a generic construct.
2458   - Removed the 4-character minimum for section title underlines.
2459   - Clarified term/classifier delimiter & inline markup ambiguity
2460     (definition lists).
2461   - Added "Embedded URIs".
2462   - Updated "Interpreted Text" section.
2463   - Added "Character-Level Inline Markup" section.
2465 * test: Continually adding & updating tests.
2467   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2468   - Moved test/test_pep/ to test/test_readers/test_pep/.
2469   - Added test/test_readers/test_python/.
2470   - Added test/test_writers/ (Engelbert Gruber).
2472 * tools:
2474   - Made the ``locale.setlocale()`` calls in front ends
2475     fault-tolerant.
2477 * tools/buildhtml.py:
2479   - Added "--silent" option.
2480   - Fixed bug with absolute paths & "--config".
2481   - Updated for new I/O classes.
2482   - Added some exception handling.
2483   - Separated publishers' setting defaults; prevents interference.
2484   - Updated for new ``publish_file()`` convenience function.
2486 * tools/pep-html-template:
2488   - Allow for "--embed-stylesheet".
2489   - Added Docutils version to "generator" meta tag.
2490   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2491   - Conform to XHTML spec.
2493 * tools/pep2html.py:
2495   - Made ``argv`` a parameter to ``main()``.
2496   - Added support for "Content-Type:" header & arbitrary PEP formats.
2497   - Linked "Content-Type: text/plain" to PEP 9.
2498   - Files skipped (due to an error) are not pushed onto the server.
2499   - Updated for new I/O classes.
2500   - Added ``check_requirements()`` & ``pep_type_error()``.
2501   - Added some exception handling.
2502   - Updated for new ``publish_string()`` convenience function.
2503   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2505 * tools/quicktest.py:
2507   - Added "-V"/"--version" option.
2509 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2511 * tools/unicode2rstsubs.py: Added to project.  Produces character
2512   entity files (reSructuredText substitutions) from the MathML master
2513   unicode.xml file.
2515 * tools/editors: Support code for editors, added to project.  Contains
2516   ``emacs/restructuredtext.el``.
2518 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2520   - Added style for chunks of inline literals.
2521   - Removed margin for first child of table cells.
2522   - Right-aligned field list names.
2523   - Support for auto-numbered section titles in TOCs.
2524   - Increased the size of inline literals (<tt>) in titles.
2525   - Restored the light gray background for inline literals.
2526   - Added support for "line_block" elements.
2527   - Added style for "address" elements.
2528   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2529   - Improved field list rendering.
2530   - Vertical whitespace improvements.
2531   - Removed "a.target" style.
2533 * tools/stylesheets/pep.css:
2535   - Fixed nested section margins.
2536   - Other changes parallel those of ``../default.css``.
2539 Release 0.2 (2002-07-31)
2540 ========================
2542 General:
2544 - The word "component" was being used ambiguously.  From now on,
2545   "component" will be used to mean "Docutils component", as in Reader,
2546   Writer, Parser, or Transform.  Portions of documents (Table of
2547   Contents, sections, etc.)  will be called "document parts".
2548 - Did a grand renaming: a lot of ``verylongnames`` became
2549   ``very_long_names``.
2550 - Cleaned up imports: no more relative package imports or
2551   comma-separated lists of top-level modules.
2552 - Added support for an option values object which carries default
2553   settings and overrides (from command-line options and library use).
2554 - Added internal Unicode support, and support for both input and
2555   output encodings.
2556 - Added support for the ``docutils.io.IO`` class & subclasses.
2558 Specific:
2560 * docutils/__init__.py:
2562   - Added ``ApplicationError`` and ``DataError``, for use throughout
2563     the package.
2564   - Added ``Component`` base class for Docutils components; implements
2565     the ``supports`` method.
2566   - Added ``__version__`` (thus, ``docutils.__version__``).
2568 * docutils/core.py:
2570   - Removed many keyword parameters to ``Publisher.__init__()`` and
2571     ``publish()``; bundled into an option values object.  Added
2572     "argv", "usage", "description", and "option_spec" parameters for
2573     command-line support.
2574   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2575     methods.
2576   - Reworked I/O model for ``docutils.io`` wrappers.
2577   - Updated ``Publisher.set_options()``; now returns option values
2578     object.
2579   - Added support for configuration files (/etc/docutils.conf,
2580     ./docutils.conf, ~/.docutils).
2581   - Added ``Publisher.setup_option_parser()``.
2582   - Added default usage message and description.
2584 * docutils/frontend.py: Added to project; support for front-end
2585   (command-line) scripts.  Option specifications may be augmented by
2586   components.  Requires Optik (http://optik.sf.net/) for option
2587   processing (installed locally as docutils/optik.py).
2589 * docutils/io.py: Added to project; uniform API for a variety of input
2590   output mechanisms.
2592 * docutils/nodes.py:
2594   - Added ``TreeCopyVisitor`` class.
2595   - Added a ``copy`` method to ``Node`` and subclasses.
2596   - Added a ``SkipDeparture`` exception for visitors.
2597   - Renamed ``TreePruningException`` from ``VisitorException``.
2598   - Added docstrings to ``TreePruningException``, subclasses, and
2599     ``Nodes.walk()``.
2600   - Improved docstrings.
2601   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2602   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2603     imports.
2604   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2605     ``PreDecorative`` mixin.
2606   - Reworked the name/id bookkeeping; to ``document``, removed
2607     ``explicit_targets`` and ``implicit_targets`` attributes, added
2608     ``nametypes`` attribute and ``set_name_id_map`` method.
2609   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2610     traversals.
2611   - Added ``document.has_name()`` method.
2612   - Fixed DOM generation for list-attributes.
2613   - Added category class ``Labeled`` (used by footnotes & citations).
2614   - Added ``Element.set_class()`` method (sets "class" attribute).
2616 * docutils/optik.py: Added to project.  Combined from the Optik
2617   package, with added option groups and other modifications.  The use
2618   of this module is probably only temporary.
2620 * docutils/statemachine.py:
2622   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2623   - Added underscores to improve many awkward names.
2624   - In ``string2lines()``, changed whitespace normalizing translation
2625     table to regexp; restores Python 2.0 compatibility with Unicode.
2627 * docutils/urischemes.py:
2629   - Filled in some descriptions.
2630   - Added "shttp" scheme.
2632 * docutils/utils.py:
2634   - Added ``clean_rcs_keywords`` function (moved from
2635     docutils/transforms/frontmatter.py
2636     ``DocInfo.filter_rcs_keywords``).
2637   - Added underscores to improve many awkward names.
2638   - Changed names of Reporter's thresholds:
2639     warning_level -> report_level; error_level -> halt_level.
2640   - Moved ``utils.id()`` to ``nodes.make_id()``.
2641   - Added ``relative_path(source, target)``.
2643 * docutils/languages/de.py: German mappings; added to project.  Thanks
2644   to Gunnar Schwant for the translations.
2646 * docutils/languages/en.py: Added "Dedication" bibliographic field
2647   mappings.
2649 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2650   Chodorowski.
2652 * docutils/parsers/rst/states.py:
2654   - Added underscores to improve many awkward names.
2655   - Added RFC-2822 header support.
2656   - Extracted the inline parsing code from ``RSTState`` to a separate
2657     class, ``Inliner``, which will allow easy subclassing.
2658   - Made local bindings for ``memo`` container & often-used contents
2659     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2660   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2661   - Added ``MarkupMismatch`` exception; for late corrections.
2662   - Added ``-/:`` characters to inline markup's start string prefix,
2663     ``/`` to end string suffix.
2664   - Fixed a footnote bug.
2665   - Fixed a bug with literal blocks.
2666   - Applied patch from Simon Budig: simplified regexps with symbolic
2667     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2668   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2669   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2670   - Allowed non-ASCII in "simple names" (directive names, field names,
2671     references, etc.).
2672   - Converted ``Inliner.patterns.initial`` to be dynamically built
2673     from parts with ``build_regexp()`` function.
2674   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2675   - Updated docstrings.
2676   - Changed "table" to "grid_table"; added "simple_table" support.
2678 * docutils/parsers/rst/tableparser.py:
2680   - Changed ``TableParser`` to ``GridTableParser``.
2681   - Added ``SimpleTableParser``.
2682   - Refactored naming.
2684 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2685   a fallback language for directive names.
2687 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2688   directive to use a ``pending`` element, used only by HTML writers.
2690 * docutils/parsers/rst/directives/parts.py: Renamed from
2691   components.py.
2693   - Added "backlinks" attribute to "contents" directive.
2695 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2696   project by Adam Chodorowski.
2698 * docutils/readers/__init__.py: Gave Readers more control over
2699   choosing and instantiating Parsers.
2701 * docutils/readers/pep.py: Added to project; for PEP processing.
2703 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2704   requires a ``component`` parameter.
2706 * docutils/transforms/components.py: Added to project; transforms
2707   related to Docutils components.
2709 * docutils/transforms/frontmatter.py:
2711   - In ``DocInfo.extract_authors``, check for a single "author" in an
2712     "authors" group, and convert it to a single "author" element.
2713   - Added support for "Dedication" and generic bibliographic fields.
2715 * docutils/transforms/peps.py: Added to project; PEP-specific.
2717 * docutils/transforms/parts.py: Renamed from old components.py.
2719   - Added filter for `Contents`, to use alt-text for inline images,
2720     and to remove inline markup that doesn't make sense in the ToC.
2721   - Added "name" attribute to TOC topic depending on its title.
2722   - Added support for optional TOC backlinks.
2724 * docutils/transforms/references.py: Fixed indirect target resolution
2725   in ``Hyperlinks`` transform.
2727 * docutils/transforms/universal.py:
2729   - Changed ``Messages`` transform to properly filter out system
2730     messages below the warning threshold.
2731   - Added ``Decorations`` transform (support for ``--generator``,
2732     ``--date``, ``--time``, ``--source-link`` options).
2734 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2735   Engelbert Gruber's PDF writer.
2737 * docutils/writers/html4css1.py:
2739   - Made XHTML-compatible (switched to lowercase element & attribute
2740     names; empty tag format).
2741   - Escape double-dashes in comment text.
2742   - Improved boilerplate & modularity of output.
2743   - Exposed modular output in Writer class.
2744   - Added a "generator" meta tag to <head>.
2745   - Added support for the ``--stylesheet`` option.
2746   - Added support for ``decoration``, ``header``, and ``footer``
2747     elements.
2748   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2749     translation table to regexp; restores Python 2.0 compatibility
2750     with Unicode.
2751   - Added the translator class as instance variable to the Writer, to
2752     make it easily subclassable.
2753   - Improved option list spacing (thanks to Richard Jones).
2754   - Modified field list output.
2755   - Added backlinks to footnotes & citations.
2756   - Added percentage widths to "<col>" tags (from colspec).
2757   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2758     "<span>" changed to "<var>".
2759   - Inline literals: "<code>" changed to "<tt>".
2760   - Many changes to optimize vertical space: compact simple lists etc.
2761   - Add a command-line options & directive attributes to control TOC
2762     and footnote/citation backlinks.
2763   - Added support for optional footnote/citation backlinks.
2764   - Added support for generic bibliographic fields.
2765   - Identify backrefs.
2766   - Relative URLs for stylesheet links.
2768 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2769   PEPs (subclass of ``html4css1.Writer``).
2771 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2773 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2774   of the Docutils internal doctree in XML.
2776 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2778 * spec/doctree.txt:
2780   - Changed the title to "The Docutils Document Tree".
2781   - Added "Hyperlink Bookkeeping" section.
2783 * spec/docutils.dtd:
2785   - Added ``decoration``, ``header``, and ``footer`` elements.
2786   - Brought ``interpreted`` element in line with the parser: changed
2787     attribute "type" to "role", added "position".
2788   - Added support for generic bibliographic fields.
2790 * spec/notes.txt: Continual updates.  Added "Project Policies".
2792 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2793   section.
2795 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2797 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
2798   mailing list discussions.
2800 * spec/pep-0287.txt:
2802   - Renamed to "reStructuredText Docstring Format".
2803   - Minor edits.
2804   - Reworked Q&A as an enumerated list.
2805   - Converted to reStructuredText format.
2807 * spec/pysource.dtd:
2809   - Reworked structural elements, incorporating ideas from Tony Ibbs.
2811 * spec/pysource.txt: Removed from project.  Moved much of its contents
2812   to pep-0258.txt.
2814 * spec/rst/alternatives.txt:
2816   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2817   - Added "Inline External Targets" section.
2819 * spec/rst/directives.txt:
2821   - Added "backlinks" attribute to "contents" directive.
2823 * spec/rst/problems.txt:
2825   - Updated the Enumerated List Markup discussion.
2826   - Added new alternative table markup syntaxes.
2828 * spec/rst/reStructuredText.txt:
2830   - Clarified field list usage.
2831   - Updated enumerated list description.
2832   - Clarified purpose of directives.
2833   - Added ``-/:`` characters to inline markup's start string prefix,
2834     ``/`` to end string suffix.
2835   - Updated "Authors" bibliographic field behavior.
2836   - Changed "inline hyperlink targets" to "inline internal targets".
2837   - Added "simple table" syntax to supplement the existing but
2838     newly-renamed "grid tables".
2839   - Added cautions for anonymous hyperlink use.
2840   - Added "Dedication" and generic bibliographic fields.
2842 * test: Made test modules standalone (subdirectories became packages).
2844 * test/DocutilsTestSupport.py:
2846   - Added support for PEP extensions to reStructuredText.
2847   - Added support for simple tables.
2848   - Refactored naming.
2850 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2852   - Now supports true packages containing test modules
2853     (``__init__.py`` files required); fixes duplicate module name bug.
2855 * test/test_pep/: Subpackage added to project; PEP testing.
2857 * test/test_rst/test_SimpleTableParser.py: Added to project.
2859 * tools:
2861   - Updated html.py and publish.py front-end tools to use the new
2862     command-line processing facilities of ``docutils.frontend``
2863     (exposed in ``docutils.core.Publisher``), reducing each to just a
2864     few lines of code.
2865   - Added ``locale.setlocale()`` calls to front-end tools.
2867 * tools/buildhtml.py: Added to project; batch-generates .html from all
2868   the .txt files in directories and subdirectories.
2870 * tools/default.css:
2872   - Added support for ``header`` and ``footer`` elements.
2873   - Added styles for "Dedication" topics (biblio fields).
2875 * tools/docutils.conf: A configuration file; added to project.
2877 * tools/docutils-xml.py: Added to project.
2879 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2881 * tools/pep-html-template: Added to project.
2883 * tools/pep2html.py: Added to project from Python (nondist/peps).
2884   Added support for Docutils (reStructuredText PEPs).
2886 * tools/quicktest.py:
2888   - Added the ``--attributes`` option, hacked a bit.
2889   - Added a second command-line argument (output file); cleaned up.
2891 * tools/stylesheets/: Subdirectory added to project.
2893 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2896 Release 0.1 (2002-04-20)
2897 ========================
2899 This is the first release of Docutils, merged from the now inactive
2900 reStructuredText__ and `Docstring Processing System`__ projects.  For
2901 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2902 `DPS HISTORY`__ files.
2904 __ http://structuredtext.sourceforge.net/
2905 __ http://docstring.sourceforge.net/
2906 __ http://structuredtext.sourceforge.net/HISTORY.html
2907 __ http://docstring.sourceforge.net/HISTORY.html
2909 General changes: renamed 'dps' package to 'docutils'; renamed
2910 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2911 the test suites (reStructuredText's test/test_states renamed to
2912 test/test_rst); and all modifications required to make it all work.
2914 * docutils/parsers/rst/states.py:
2916   - Improved diagnostic system messages for missing blank lines.
2917   - Fixed substitution_reference bug.
2921    Local Variables:
2922    mode: indented-text
2923    indent-tabs-mode: nil
2924    sentence-end-double-space: t
2925    fill-column: 70
2926    End: