Fix [ 3527842 ].
[docutils.git] / HISTORY.txt
blobd7cb6f98984d6f31915c8f6440c79aa0df610bd2
1 .. -*- coding: utf-8 -*-
3 ==================
4  Docutils History
5 ==================
7 :Author: David Goodger; open to all Docutils developers
8 :Contact: goodger@python.org
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.9
17 =================
19 * docutils/setup.py
21   - Fix [ 3527842 ]. Under Python 3, converted tests and tools are now
22     stored in the ``test3/`` and ``tools3/`` sub-directories and not
23     installed in the PYTHONPATH.
25 * docutils/test/
27   - Make tests independent from the location of the ``test/`` directory.
28   - Use converted sources from the ``build/`` directory for tests under
29     Python 3.
31 * docutils/parsers/rst/directives/misc.py
33   - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with 
34     ``locale == C`` and 8-bit char in path argument of `include` directive.
36 * docutils/test/alltests.py
38   - class `Tee`: catch UnicodeError when writing to "ascii" stream or
39     file under Python 3.
40     
41 Release 0.9 (2012-05-02)
42 ========================
44 * General:
46   - New reStructuredText "code" role and directive and "code" option
47     of the "include" directive with syntax highlighting by Pygments_.
48   - Fix parse_option_marker for option arguments containing ``=``.
49   - Fix [ 2993756 ]: import Python Imaging Library's Image module
50     via ``import PIL`` as starting with PIL 1.2,
51     "PIL lives in the PIL namespace only" (announcement__).
53 .. _Pygments: http://pygments.org/
54 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
56 * setup.py
58   - Fix [ 2971827 ] and [ 3442827 ]
59     extras/roman.py moved to docutils/utils/roman.py
61 * docutils/frontend.py
63   - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
65 * docutils/io.py
67   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
68   - `mode` argument for FileOutput avoids code replication in
69     BinaryFileOutput.
70   - New exceptions InputError and OutputError for IO errors in
71     FileInput/FileOutput.
73 * docutils/core.py:
75   - No "hard" system exit on file IO errors: catch and report them in
76     `Publisher.reportException` instead. Allows handling by a calling
77     application if the configuration setting `traceback` is True.
79 * docutils/utils.py -> docutils/utils/__init__.py
81   - docutils.utils is now a package (providing a place for sub-modules)
83   .. note:: docutils/math, docutils/error_reporting.py, and
84      docutils/urischemes.py will move to the utils package in the next
85      release, too. See RELEASE-NOTES__
87      __ RELEASE-NOTES.html
89   - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
90     errors recording non-ASCII filenames (fixes [ 3434355 ]).
92   - Fix relative_path() with source=None and `unicode` target.
94 * docutils/parsers/rst/states.py
96   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
97     characters and "international" quotes around inline markup.
98   - Use `field_marker` pattern to look for start of a
99     directive option block (fixes [ 3484857 ]).
101 * docutils/parsers/rst/tableparser.py
103   - Fix [ 2926161 ] for simple tables.
104     (Combining chars in grid tables still contribute to cell width.)
106 * docutils/writers/latex2e/__init__.py
108   - Support the `abbreviation` and `acronym` standard roles.
109   - Record only files required to generate the LaTeX source as dependencies.
110   - Fix handling of missing stylesheets.
111   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
112     when suppressing LaTeX section numbering.
113   - Use ``\DUtitle`` for unsupported section levels
114   - Apply [ 3512791 ] do not compare string literals with "is"
116 * docutils/writers/xetex/__init__.py
118   - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
120 * docutils/writers/html4css1/__init__.py
122   - Change default for `math-output` setting to MathJax.
123   - Fix handling of missing stylesheets.
125 * docutils/writers/docutils_xml.py
127   - Use the visitor pattern with default_visit()/default_depart() methods
128     instead of minidom to facilitate special handling of selected nodes.
129   - Support raw XML (inserted as-is inside a <raw></raw> node).
131 * docutils/writers/manpage.py
133   - Do not emit comment line with trailing blank. Problematic for VCS.
135 Release 0.8.1 (2011-08-30)
136 ==========================
138 * General:
140   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
141     and [ 3395920 ] (correct copyright info for rst.el).
143 * docutils/test/
145   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
147 * docutils/writers/latex2e/__init__.py
149   - Clean up Babel language setting. Restores Sphinx compatibility.
151 Release 0.8 (2011-07-07)
152 ========================
154 * General:
156   - Handle language codes according to `BCP 47`_.
157   - If the specified language is not supported by Docutils,
158     warn and fall back to English.
159   - Math support: reStructuredText "math" role and directive,
160     ``math`` and ``math_block`` doctree elements.
161   - Decode command line arguments with the locale's preferred encoding
162     (to allow, e.g., ``--title=Dornröschen``).
163   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
164   - New sub-module `error_reporting`: handle encoding/decoding errors
165     when reporting exceptions.
166   - Some additions to the Docutils core are released under the 2-Clause BSD
167     license, see COPYING_ for details.
169   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
170   .. _COPYING: COPYING.html
172 * reStructuredText:
174   - Most directives now support a "name" option that attaches a
175     reference name.
177   - Directive content may start on the first line also when the directive
178     type accepts options.
180 * docs/dev/policies.txt:
182   - Recommend the 2-Clause BSD license
183     (http://www.spdx.org/licenses/BSD-2-Clause)
184     for code that is kept under the author's copyright.
186 * tools/buildhtml.py:
188   - Fix ``--local`` switch.
190 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
192 * docutils/writers/html4css1/__init__.py
194   - Set "lang" argument for objects with class argument
195     "language-<language tag>".
196   - New setting "math-output" with support for HTML, MathML, and LaTeX.
198 * docutils/writers/latex2e/__init__.py
200   - Fix [ 3043986 ] AttributeError using :local: with table of content.
201   - Place title data in the document preamble.
202   - Load `babel` package only if required.
203   - Update list of supported languages.
204   - New config setting "hyperref-options".
205     No hard-coded "unicode" hyperref option (clash with xetex).
206   - Set language for custom roles, paragraphs, block-quotes, and
207     line-quotes with class argument "language-<language tag>".
208   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
209   - Convert image URI to a local file path.
210   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
211     has more than one paragraph (Wolfgang Scherer).
212   - \leavevmode before longtable only when needed (prevents spurious vspace)
213   - do not advance table counter for tables without caption
215 * docutils/writers/xetex/__init__.py
217   - New writer generating LaTeX code for compiling with ``xelatex``.
219     A separate writer (inheriting from latex2e) instead of a ``--xetex``
220     option allows separate config options for XeTeX vs. LaTeX2e.
222 * docutils/writers/manpage.py
224   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
225   - Fix: vertical space cleaning for option group ``.``.
227 * tools/editors/emacs/rst.el:
229   - Fix [ 3001100 ] does not handle spaces in filenames
230     (thanks to Jakub Wilk)
232 * docutils/utils.py:
234   - strip whitespace from stylesheet arguments
235   - exclude combining chars from column_width()
236     (partial fix for [ 2926161 ])
238 * docutils/parsers/rst/directives/misc.py:
240   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
241     nested_parse
243 * docutils/io.py:
245   - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
246     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
248 Release 0.7 (2010-07-07)
249 ========================
251 * General:
253   - Fix [ 2881769 ] setup configuration.
254   - Fix [ 2788716 ] reporting problems in included files.
256 * docutils/io.py
258   - FileInput opens files as text files with universal newline support
259     (mode "rU", configurable with the new optional argument "mode").
261 * docutils/nodes.py
263   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
265 * docutils/utils.py
267   - Fix [ 2923723 ] let decode_path() tolerate path == None
269 * docutils/writers/html4css1/__init__.py
271   - Support SVG and SWF images (thanks to Stefan Rank).
272   - Generate valid XHTML for centered images with targets.
273     Use CSS classes instead of "align" tags for image alignment.
275 * docutils/writers/latex2e/__init__.py
277   - Use `transforms.writer_aux.Admonitions` to "normalize" special
278     admonitions.
279   - Use the ``\url`` command for URLs (breaks long URLs instead of
280     writing into the margin).
281   - Preserve runs of spaces in `inline literals`__.
282   - Deprecate ``figure_footnotes`` setting.
283   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
284   - New ``latex_preamble`` setting.
285   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
286   - Fix hyperlink targets (labels) for images, figures, and tables.
287   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
288   - Apply [ 2961991 ] Call hyperref with unicode option.
289   - Drop the special `output_encoding`__ default ("latin-1").
290     The Docutils wide default (usually "UTF-8") is used instead.
291   - Render inline markup in document title and subtitle.
292   - Fix numbering depth with LaTeX section numbering.
293   - Update Unicode -> LaTeX translations.
294   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
296 __ docs/ref/restructuredtext.html#inline-literals
297 __ docs/user/config.html#docutils-footnotes
298 __ docs/user/config.html#output_encoding
300 * docutils/writers/manpage.py
302   - Fix: supported attribute (thanks to peter2108).
303   - Remove trailing blanks in code (keep in sync with mercurial version).
304   - Titles level 1, that is ``.SH``, always uppercase.
305   - Apply patch from mg: literal text should be bold in man-pages.
307 * docutils/nodes.py
309   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
310     turkish locale.
312 * setup.py:
314   - Python 3 support: copy test/ and tools/ to the build-dir
315     and convert Python sources with 2to3.
318 Release 0.6 (2009-10-11)
319 ========================
321 * General:
323   - Docutils is now compatible with Python versions from 2.3 up to 2.6
324     and convertible to 3.1 code.
326     + Node.__nonzero__ returns True instead of 1.
327     + use os.walk instead os.path.walk.
328     + minimize "types" module where possible.
329     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
330     + Text nodes now subclass unicode rather than UserString
331       (which is gone in python 3.0).
332     + 3.0 compatibility module docutils._compat
334     + Drop 2.2 compatibility workarounds.
335     + Drop extras/optparse.py and extras/textwrap.py
336       (stdlib modules since 2.3).
338   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
339   - Unix man page export: manpage writer moved from sandbox to Doctutils
340     core.
342   - Apply [ 1719345 ] Galician translation
343   - Apply [ 1905741 ] Polish translation
344   - Apply [ 1878977 ] make_id(): deaccent characters.
345   - Apply [ 2029251 ] return nonzero when tests fail.
346   - Fix [ 1692788 ] allow UTF-8 in style sheets.
347   - Fix [ 2781629 ] support non-ASCII chars in file names.
348   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
349   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
350   - Fix [ 2821266 ] --strict option works now like --halt=info.
351   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
352   - Fix [ 1627229 ] hyperlink references in substitutions.
354   - The "newlatex" writer is orphaned.
356 * reStructuredText:
358   - Documented Unicode characters allowed as inline markup openers,
359     closers, and delimiters.
360   - Allow units for all length specifications.
361   - Allow percent sign in "scale" argument of "figure" and "image" directives.
362   - Bugfix: The "figalign" argument of a figure now works as intended
363     (aligning the figure, not its contents).
364   - Align images with class "align-[right|center|left]"
365     (allows setting the alignment of an image in a figure).
367 * docutils/nodes.py:
369   - Added ``Element.__contains__`` method, for the in-operator.
371 * docutils/parsers/rst/states.py:
373   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
374   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
375     " " (non-breaking space), and "¡ ¿" openers.
377 * docutils/parsers/directives/misc.py:
379   - Added ``start-line`` and ``end-line`` options to "include"
380     directive to select a range of lines.
381   - Hard tabs in literal inclusions are replaced by spaces. This is
382     configurable via the new ``tab-width`` option of the "include" directive
383     (a negative tab-width prevents tab expansion).
385 * docutils/utils.py:
387   - Add ``get_stylesheet_list`` function.
388   - Apply [ 2834836 ] print info at halt
390 * docutils/transforms/universal.py:
392   - Raise default priority of StripClasses to exclude stripped classes from
393     the ToC.
395 * docutils/writers/html4css1/__init__.py:
397   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
398     separated list of stylesheets.
399   - Address [ 1938891 ] Inline literal text creates "pre" span only when
400     needed to prevent inter-word line wraps.
401   - Use `translate` method instead of repeated `replace` calls.
402   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
403     classes to allow CSS styling that does not interfere with other
404     table-using constructs (field lists, citations, ...).
406 * docutils/writers/newlatex2e/__init__.py:
408   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
410 * docutils/writers/latex2e/__init__.py (see also
411   `<docs/user/docutils-05-compat.sty.html>`__) :
413   - Add ``--embed-stylesheet`` option.
414   - Apply [ 1474017 ] image vertical alignment is reversed.
415   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
416   - Change: has_key for dictionaries (not Nodes) to in-operator.
417   - Merge adjacent citations into one latex cite command.
418   - Failsave implementation of custom roles. LaTeX compilation now ignores
419     unknown classes instead of aborting with an error.
420   - Support custom roles based on standard roles.
421   - LaTeX packages can be used as ``--stylesheet`` arguments without
422     restriction. (A style sheet is now referenced with the ``\usepackage``
423     command, if it ends with ``.sty`` or has no extension.)
424   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
425   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
426   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
427     2005-02-04 as a configurable length unit).
428   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
429     if font-encoding is set to ''. LaTeX defaults to OT1 then.
430   - Set sub- and superscript role argument in text mode not as math.
431     Use a custom role based on sub-/superscript if you want italic shape.
432   - Shorter preamble and less dependencies: Load packages and define macros
433     only if required in the document.
434   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
435   - New custom environments and commands with optional "classes" argument.
436   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
437   - Better conformance to Docutils specifications with ``--use-latex-toc``.
438     Support for LaTeX generated ToC also with unnumbered sections.
439   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
440     section numbering by LaTeX.
441   - Use default font in admonitions and sidebar.
442   - Align of image in a figure defaults to 'center'.
443   - Bugfix: Newlines around targets and references prevent run-together
444     paragraphs.
445   - Fix internal hyperlinks.
446   - Use class defaults for page margins ('typearea' now optional).
447   - Float placement made configurable, default changed to "here definitely".
448   - Typeset generic topic as "quote block with title".
449   - Use template (file and configuration option).
450   - In the default template, load cmap.sty (fix text extraction in PDF) and
451     fixltx2e.sty (LaTeX patches, \textsubscript).
452   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
453   - Use `translate` instead of repeated `replace` calls for text encoding.
454   - Hyperlinked footnotes and support for symbol footnotes and
455     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
456   - Complete pairs of binary options
457     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
458     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
459   - New defaults:
460     - font-encoding: "T1" (formerly implicitely set by 'ae').
461     - use-latex-toc: true (ToC with page numbers).
462     - use-latex-footnotes: true (no mixup with figures).
464 * docutils/writers/manpage.py
466   - Do not print version at document end, this is done by the viewer.
467   - Do not print date at document end, this is done by the viewer.
468   - Fix storage of docinfo fields for none standard fields.
470 * docutils/tools/rst2man.py
472 Release 0.5 (2008-06-25)
473 ========================
475 * docutils/languages/he.py: Added to project: Hebrew mappings by
476   Meir Kriheli.
478 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
479   mappings by Meir Kriheli.
481 * docutils/frontend.py:
483   - Configuration files are now assumed and required to be
484     UTF-8-encoded.
485   - Paths of applied configuration files are now recorded in the
486     runtime setting ``_config_files`` (accessible via
487     ``--dump-settings``).
488   - Added ``--strip-elements-with-class`` and ``--strip-class``
489     options (``strip_elements_with_classes`` and ``strip_classes``
490     settings).
492 * docutils/io.py:
494   - Added code to determine the input encoding from data: encoding
495     declarations or the presence of byte order marks (UTF-8 & UTF-16).
496   - Added support for IronPython 1.0.
498 * docutils/nodes.py:
500   - Added ``document.__getstate__`` method, for pickling.
502 * docutils/parsers/rst/states.py:
504   - Allow ``+`` and ``:`` in reference names.
505   - Unquoted targets beginning with an underscore (``.. __target:
506     URI``) are no longer accepted.
507   - Added support for multiple attributions in a physical block quote
508     (indented text block), dividing it into multiple logical block
509     quotes.
510   - Added support for unicode bullets in bullet lists: "•", "‣", and
511     "⁃".
512   - Added support for new object-oriented directive interface,
513     retaining compatibility to the old functional interface.
514   - Added support for throwing ``DirectiveError``'s from within
515     directive code.
517 * docutils/parsers/rst/__init__.py:
519   - Added ``Directive`` base class.
520   - Added ``DirectiveError`` base class.
521   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
522     definitions.
524 * docutils/parsers/directives/:
526   - Refactored all reStructuredText directives to use the new
527     object-oriented directive interface.  Errors are now (mostly)
528     thrown using the new ``DirectiveError`` class.
530 * docutils/parsers/directives/misc.py:
532   - Added ``start-after`` and ``end-before`` options to ``include``
533     directive; thanks to Stefan Rank.
535 * docutils/transforms/universal.py:
537   - Added ``StripClassesAndElements`` transform to remove from the
538     document tree all elements with classes in
539     ``settings.strip_elements_with_classes`` and all "classes"
540     attribute values in ``self.document.settings.strip_classes``.
542 * docutils/transforms/writer_aux.py:
544   - Added ``Admonitions`` transform to transform specific admonitions
545     (like ``note``, ``warning``, etc.) into generic admonitions with a
546     localized title.
548 * docutils/writers/html4css1/__init__.py:
550   - Moved template functionality from the PEP/HTML writer here.
551   - Expanded the fragments available in the ``parts`` attribute.
552   - Moved ``id`` attributes from titles to surrounding ``div``
553     elements.
554   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
555     universally supported now).
556   - ``template.txt`` is now opened in text mode instead of binary mode
557     (to ensure Windows compatibility).
558   - ``a`` elements now have an "internal" or "external" class,
559     depending on reference type.
561 * docutils/writers/html4css1/template.txt: Added to project.
563 * docutils/writers/pep_html/:
565   - Moved template functionality to the HTML writer.
567 * docutils/writers/s5_html/__init__.py:
569   - Added ``view_mode`` & ``hidden_controls`` settings
570     (``--view-mode`` & ``--hidden-controls/--visible-controls``
571     options).
573 * docutils/writers/latex2e/__init__.py:
575   - Add ``--literal-block-env``
576   - Fix: escaping ``%`` in href urls.
577   - Move usepackage hyperref after stylesheet inclusion.
578   - Fix: scrartcl does not have chapter but scrreprt.
579   - Add newline after ``\end{verbatim}``.
580   - Merge smaller differences from latex2e_adaptive_preamble.
581   - Add ``use-part-section``.
582   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
583   - Using leavemode option_list no longer needs to check if parent
584     is a definition list.
585   - Append ``\leavemode`` to definition list terms.
586   - No longer write visit\_/depart_definition_list_item comments to
587     output.
588   - Table column width with 3 decimal places.
589   - Add table stubs support (boldfont).
590   - Add assemble_parts to writer.
591   - Add simply support for nested tables.
592   - Fix verbatim in tables if use-verbatim-when-possible.
593   - Use section commands down to subparagraph.
594   - Put ensuremath around some latin1 chars.
595   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
596   - New option ``--use-bibtex=style,db1,db2``.
597   - New option ``--reference-label`` to allow usage of LaTeX ref for
598     labels in section references.
599   - Add a label after every section to support sectionnumbers as reference
600     labels.
601   - Fix: bug# 1605376 rst2latex: bad options group list
602   - Remove inactive code for use_optionlist_for_option_list.
603   - Remove latex comments from option_list output.
604   - Fix: bug# 1612270 double qoutes in italian literal.
605   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
606   - Add option --use-latex-abstract.
607   - Image width unit ``px`` is translated to ``pt``.
608   - Add image height support.
609   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
610     bug #1457388
611   - Fix: Do not escape underscores in citation reference labels if
612     use-latex-citations is set.
613   - Use centering instead of center for figure contents, to avoid vertical
614     space.
615   - Recognize table class: borderless, nolines, booktabs, standard.
616   - Fix: Renaming contents section does not work with latex writer; SF
617     bug #1487405.
618   - Applied patch for custom roles with classes from Edward Loper.
619   - Fixed bug that caused crashes with more than 256 lists.
621 * docutils/writers/pep_html/__init__.py:
623   - Changed to support new python.org website structure and
624     pep2pyramid.py.
626 * docs/howto/security.txt: "Deploying Docutils Securely", added to
627   project.
629 * tools/buildhtml.py:
631   -- Added ``ignore`` setting to exclude a list of shell patterns
632      (default: ``.svn:CVS``).
634 * tools/editors/emacs/rst.el:
636   - Changed license to "GPL".
637   - Added ``rst-straighten-decorations`` function.
638   - The ``compile`` module is now always loaded.
639   - Added ``rst-toggle-line-block`` function.
640   - Headings consisting only of non-ASCII characters are now
641     recognized by ``rst-toc`` and ``rst-adjust``.
642   - Added font-lock support for multi-line comments where the first
643     comment line is empty.
644   - Added ``(require 'font-lock)``.
646 * setup.py:
648   - Provide descriptive error message if distutils is missing.
651 Release 0.4 (2006-01-09)
652 ========================
654 * General:
656   - Updated the project policies for trunk/branch development &
657     version numbering.
659 * docutils/__init__.py:
661   - Added ``__version_details__`` attribute to describe code source
662     (repository/snapshot/release).
663   - Replaced ``default_transforms`` attribute of TransformSpec with
664     ``get_transforms()`` method.
666 * docutils/core.py:
668   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
669     functions, for document tree extraction and reprocessing.
671 * docutils/io.py:
673   - Added ``DocTreeInput`` class, for reprocessing existing documents.
674   - Added support for non-Unicode (e.g. binary) writer output.
676 * docutils/nodes.py:
678   - Re-introduced ``Targetable.indirect_reference_name``, for
679     MoinMoin/reST compatibility (removed in r3124/r3129).
680   - Added ``serial_escape`` function; escapes string values that are
681     elements of a list, for serialization.  Modified Docutils-XML
682     writing (``Element._dom_node``) and pseudo-XML writing
683     (``Element.starttag``) to use ``serial_escape``.
684   - Added ``Node.deepcopy()`` method.
685   - Removed the internal lists ``document.substitution_refs``,
686     ``document.anonymous_refs``, and ``document.anonymous_targets``.
687   - Added a "container" element.
688   - Fixed bug where values of list-valued attributes of elements
689     originating from custom interpreted text roles (i.e., with custom
690     classes) were being shared between element instances.  Reported by
691     Shmuel Zeigerman.
693 * docutils/statemachine.py:
695   - Added trailing whitespace stripping to ``string2lines()``.
696   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
697     Asian double-width character support.
699 * docutils/utils.py:
701   - Added ``east_asian_column_width()`` for double-width character
702     support.
704 * docutils/languages/ja.py: Added to project: Japanese mappings by
705   Hisashi Morita.
707 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
708   mappings by Panjunyong.
710 * docutils/parsers/null.py: Added to project; a do-nothing parser.
712 * docutils/parsers/rst/__init__.py:
714   - Added validator to tab_width setting, with test.  Closes SF bug
715     #1212515, report from Wu Wei.
717 * docutils/parsers/rst/states.py:
719   - Fixed bug with escaped colons indicating a literal block.
720   - Fixed bug with enumerated lists (SF#1254145).
721   - Backslash-escaped colons inside of field names are now allowed.
722   - Targets (implicit and explicit), anonymous hyperlink references
723     and auto-numbered footnote references inside of substitution
724     definitions are now disallowed.
725   - Fixed bug: list items with blank first lines.
726   - Fixed bug: block quote attributions with indented second lines.
727   - Added East Asian double-width character support (Python 2.4 only).
729 * docutils/parsers/rst/tableparser.py:
731   - Added East Asian double-width character support (Python 2.4 only).
733 * docutils/parsers/rst/directives/body.py:
735   - Added the "container" directive.
737 * docutils/parsers/rst/directives/misc.py:
739   - Added the "default-role", "title", and "date" directives.
740   - Added standard data file syntax to the "include" directive.
741   - Added support for "class" directive content.
743 * docutils/parsers/rst/directives/images.py:
745   - Added ``indirect_reference_name`` support for images with a target
746     option.
747   - Added support for image width and height units.
748   - Fixed bug with image "target" options.
750 * docutils/parsers/rst/directives/references.py:
752   - Added "class" attribute to "target-notes" directive, for
753     footnote_reference classes.
755 * docutils/parsers/rst/include/: Directory added to project; contains
756   standard data files for the "include" directive.  Initial contents:
757   character entity substitution definition sets, and a set of
758   definitions for S5/HTML presentations.
760 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
761   mappings by David Goodger.
763 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
764   Simplified Chinese mappings by Panjunyong.
766 * docutils/readers/__init__.py:
768   - Added universal.Decorations and universal.ExposeInternals
769     transforms as default transforms for all readers.
770   - Added ``ReReader`` base class for readers that reread an existing
771     document tree.
773 * docutils/readers/doctree.py: Added to project; a reader for existing
774   document trees.
776 * docutils/transforms/frontmatter.py:
778   - Fixed the DocInfo transform to handle SVN-style expansion of the
779     "Date" keyword.
780   - In ``DocInfo.extract_authors``, treat the contents of "authors"
781     fields uniformly.
783 * docutils/transforms/misc.py:
785   - Added misc.Transitions transform, extracted from
786     universal.FinalChecks.
788 * docutils/transforms/references.py:
790   - Added references.DanglingReferences transform, extracted from
791     universal.FinalChecks.
792   - Fixed bug with doubly-indirect substitutions.
793   - Added footnote_reference classes attribute to "TargetNotes".
794   - Fixed bug with circular substitution definitions that put Docutils
795     into an infinite loop.
797 * docutils/transforms/universal.py:
799   - Added universal.ExposeInternals transform, extracted from
800     universal.FinalChecks.
801   - Removed universal.FinalChecks transform (logic has been moved to
802     several new transforms).
803   - Fixed bug with the "expose_internals" setting and Text nodes
804     (exposed by the "rawsource" internal attribute).
805   - Added the universal.StripComments transform, implementation of the
806     "strip_comments" setting.
808 * docutils/transforms/writer_aux.py: Added to project; auxiliary
809   transforms for writers.
811   - Added ``Compound`` transform, which flattens compound paragraphs.
813 * docutils/writers/: Several writer modules (html4css1.py) were
814   converted into packages.  Support modules and data files have been
815   moved into the packages.  The stylesheets for the HTML writers are
816   now installed along with the code, the code knows where to find
817   them, and the default is to use them (actually, to embed them).
818   Some adjustments to configuration files may be necessary.  The
819   easiest way to obtain the new default behavior is to remove all
820   settings whose name includes "stylesheet".
822 * docutils/writers/__init__.py:
824   - Added universal.Messages and universal.FilterMessages transforms
825     as default transforms for all writers.
826   - Added ``UnfilteredWriter`` base class for writers that pass the
827     document tree on unchanged.
829 * docutils/writers/docutils_xml.py:
831   - Made ``xmlcharrefreplace`` the default output encoding error
832     handler.
834 * docutils/writers/html4css1/:
836   - Added support for image width and height units.
837   - Made ``xmlcharrefreplace`` the default output encoding error
838     handler.
839   - Made ``--embed-stylesheet`` the default rather than
840     ``--link-stylesheet``.
841   - Moved "id" attribute from container (section etc.) to title's <a>
842     tag, to be on the same tag as "name".
843     (!!! To be reverted in Docutils 0.5.)
844   - Added vertical space between fields of field lists.
845   - Added ``--compact-field-lists`` option to remove vertical space in
846     simple field lists.
847   - Made cloaking of email addresses with ``--cloak-email-addresses``
848     less obtrusive.
849   - Fixed support for centered images.
850   - Added support for class="compact" & class="open" lists.
852 * docutils/writers/latex2e/:
854   - Underscores in citekeys are no longer escaped.
856 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
857   mapping of Unicode characters to LaTeX equivalents.
859 * docutils/writers/s5_html/: Package added to project; writer for
860   S5/HTML slide shows.
862 * docs/dev/distributing.txt: Added to project; guide for distributors
863   (package maintainers).
865 * docs/dev/hacking.txt: Added to project; guide for developers.
867 * docs/ref/doctree.txt:
869   - Updated for plural attributes "classes", "ids", "names",
870     "dupnames".
871   - Added the "container" element.
873 * docs/ref/docutils.dtd:
875   - Updated for plural attributes "classes", "ids", "names",
876     "dupnames".
878 * docs/user/emacs.txt: Added to project; a document about Emacs
879   support for reStructuredText and Docutils.
881 * docs/user/links.txt: Added to project; lists of Docutils-related
882   links.
884 * docs/user/mailing-lists.txt: Added to project; information about
885   Docutils-related mailing lists and how to access them.
887 * docs/user/slide-shows.txt: Added to project; example of and docs for
888   the S5/HTML writer (``rst2s5.py`` front end).
890 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
891   Files", added to project.
893 * test/coverage.sh: Added to project; test coverage script.
895 * test/DocutilsTestSupport.py:
897   - Added support for specifying runtime settings at the suite level.
899 * test/test_functional.py:
901   - Added the ``clear_output_directory`` function.
902   - Added support for ``_test_more`` functions in functional test
903     config files.
905 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
907 * tools/rstpep2html.py: Renamed from pep.py.
909 * tools/dev/create_unimap.py: Added to project; script to create the
910   docutils/writers/unimap_latex.py mapping file.
912 * tools/dev/profile_docutils.py: Added to project; profiler script.
914 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
916 * tools/editors/emacs/restructuredtext.el,
917   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
918   Removed from project; the functionality is now contained in rst.el.
920 * tools/editors/emacs/rst.el: Added to project.  Added many features
921   and fixed many bugs.  See docs/user/emacs.txt for details.
923 * tools/stylesheets: Removed from project.  Stylesheets have been
924   renamed and moved into writer packages.
927 Release 0.3.9 (2005-05-26)
928 ==========================
930 * General:
932   - Eliminated and replaced all uses of the old string attributes
933     ``id``, ``name``, ``dupname`` and ``class`` with references to the
934     new list attributes ``ids``, ``names``, ``dupnames`` and
935     ``classes`` throughout the whole source tree.
937 * docutils/core.py:
939   - Enabled ``--dump-*`` options when ``--traceback`` specified,
940     allowing for easier debugging.
941   - In ``Publisher.publish()``, expanded the generic top-level
942     exception catching.
944 * docutils/examples.py:
946   - Added ``internals`` function for exploration.
948 * docutils/io.py:
950   - Fixed ``Input.decode`` method to apply heuristics only if no
951     encoding is explicitly given, and to provide better reporting of
952     decoding errors.
953   - The ``Input.decode`` method now removes byte order marks (BOMs)
954     from input streams.
956 * docutils/nodes.py:
958   - ``image`` element class changed to subclass of Element, not
959     TextElement (it's an empty element, and cannot contain text).
960   - Added ``attr_defaults`` dictionary for default attribute values.
961   - Added empty list as default value for the following attributes:
962     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
963   - Added ``document.decoration`` attribute,
964     ``document.get_decoration`` method, and ``decoration.get_header``
965     & ``.get_footer`` methods.
966   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
967     methods.
969 * docutils/utils.py:
971   - Removed ``docutils.utils.Reporter.categories``,
972     ``docutils.utils.ConditionSet``, and all references to them, to
973     simplify error reporting.
975 * docutils/languages/nl.py: Added to project; Dutch mappings by
976   Martijn Pieters.
978 * docutils/parsers/rst/__init__.py:
980   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
982 * docutils/parsers/rst/states.py:
984   - Added check for escaped at-mark to prevent email address recognition.
985   - Fixed option lists to allow spaces inside ``<angle-bracketed option
986     arguments>``.
987   - Allowed whitespace in paths and URLs.
988   - Added auto-enumerated list items.
989   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
990     followed by text.
991   - Added support for table stub columns.
993 * docutils/parsers/rst/directives/__init__.py:
995   - Allowed whitespace in paths (``path`` function).
996   - Added ``uri`` directive option conversion function.
998 * docutils/parsers/rst/directives/body.py:
1000   - Fixed illegal context bug with "topic" directive (allowed within
1001     sidebars; not within body elements).
1003 * docutils/parsers/rst/directives/images.py:
1005   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1006   - Added support for the ``file_insertion_enabled`` setting in the
1007     "figure" directive (disables "figwidth" option).
1008   - "image" directive: added checks for valid values of "align" option,
1009     depending on context.  "figure" directive: added specialized
1010     "align" option and attribute on "figure" element.
1011   - Made ":figwidth: image" option of "figure" directive work again.
1012   - Fixed bug with reference names containing uppercase letters
1013     (e.g. ``Name_``) in "target" option of "image" directive.
1015 * docutils/parsers/rst/directives/misc.py:
1017   - Fixed "include" and "raw" directives to catch text decoding
1018     errors.
1019   - Allowed whitespace in "include" & "raw" directive paths.
1020   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1021     settings in "include" & "raw" directives.
1023 * docutils/parsers/rst/directives/parts.py:
1025   - Added "header" & "footer" directives.
1026   - Fixed illegal context bug with "contents" directive (topics
1027     allowed within sidebars; not within body elements).
1029 * docutils/parsers/rst/directives/tables.py:
1031   - Added "list-table" directive.
1032   - Caught empty CSV table bug.
1033   - Added support for the ``file_insertion_enabled`` setting in the
1034     "csv-table" directive.
1035   - Added ``stub-columns`` option to "csv-table" and "list-table"
1036     directives.
1038 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1039   mappings by Martijn Pieters.
1041 * docutils/readers/standalone.py:
1043   - Added ``--section-subtitles`` and ``--no-section-subtitles``
1044     options to activate or deactivate the SectSubTitle transform.
1046 * docutils/transforms/frontmatter.py:
1048   - Added SectSubTitle transform to promote titles of lone
1049     subsections to subtitles.
1051 * docutils/transforms/references.py:
1053   - Fixed mislocated internal targets bug, by propagating internal
1054     targets to the next node, making use of the newly added support
1055     for multiple names and IDs.
1056   - Fixed duplicate footnote label bug.
1057   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1058     transform.
1060 * docutils/writers/html4css1.py:
1062   - Fixed unencoded stylesheet reference bug (characters like "&" in
1063     stylesheet references).
1064   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1065     tags).
1066   - Added support for multiple IDs per node by creating empty ``span``
1067     tags.
1068   - Added the ``field_name_limit`` & ``option_limit`` settings &
1069     support.
1070   - Added support for table stub columns.
1071   - Added support for the ``align`` attribute on ``figure`` elements.
1072   - Added the ``cloak_email_addresses`` setting & support.
1073   - Added ``html_prolog``, ``html_head``, ``html_body``,
1074     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1075     ``docutils.core.publish_parts``.
1076   - Added support for section subtitles.
1078 * docutils/writers/latex2e.py:
1080   - Fixed tables starting with more than one multirow cell.
1081   - Improved --use-latex-docinfo so that organization/contact/address
1082     fields are lumped with the last author field and appear on the
1083     titlepage.
1084   - Made sure the titlepage is always shown with --use-latex-docinfo,
1085     even if the document has no title.
1086   - Made sure that latex doesn't fill in today's date if no date field
1087     was given.
1088   - Added support for section subtitles.
1090 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1091   (under development).
1093 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1095 * docs/api/publisher.txt:
1097   - Added "``publish_parts`` Details" section.
1099 * docutils/dev/repository.txt: Added to project; information about the
1100   Docutils Subversion repository.
1102 * docs/ref/docutils.dtd:
1104   - Added a ``stub`` attribute to the ``colspec`` element via the
1105     ``tbl.colspec.att`` parameter entity.
1106   - Allowed topic elements within sidebars
1107   - Added an ``align`` attribute to the ``figure`` element.
1109 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1110   writer.
1113 Release 0.3.7 (2004-12-24)
1114 ==========================
1116 * docutils/frontend.py:
1118   - Added options: --input-encoding-error-handler,
1119     --record-dependencies, --leave-footnote-reference-space,
1120     --strict-visitor.
1121   - Added command-line and config file support for "overrides" setting
1122     parameter.
1124 * docutils/io.py:
1126   - Added support for input encoding error handler.
1128 * docutils/nodes.py:
1130   - Added dispatch_visit and dispatch_departure methods to
1131     NodeVisitor; useful as a hook for Visitors.
1132   - Changed structure of ``line_block``; added ``line``.
1133   - Added ``compound`` node class.
1134   - Added a mechanism for Visitors to transitionally ignore new node
1135     classes.
1137 * docutils/utils.py:
1139   - Moved ``escape2null`` and ``unescape`` functions from
1140     docutils/parsers/rst/states.py.
1142 * docutils/parsers/rst/roles.py:
1144   - Added "raw" role.
1145   - Changed role function API: the "text" parameter now takes
1146     null-escaped interpreted text content.
1148 * docutils/parsers/rst/states.py:
1150   - Fixed bug where a "role" directive in a nested parse would crash
1151     the parser; the state machine's "language" attribute was not being
1152     copied over.
1153   - Added support for line block syntax.
1154   - Fixed directive parsing bug: argument-less directives didn't
1155     notice that arguments were present.
1156   - Removed error checking for transitions.
1157   - Added support for multiple classifiers in definition list items.
1158   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1159   - Changed role function API: the "text" parameter now takes
1160     null-escaped interpreted text content.
1161   - Empty sections and documents are allowed now.
1163 * docutils/parsers/rst/directives/__init__.py:
1165   - Added ``encoding`` directive option conversion function.
1166   - Allow multiple class names in class_option conversion function.
1168 * docutils/parsers/rst/directives/body.py:
1170   - Converted the line-block directive to use the new structure.
1171   - Extracted the old line-block functionality to the ``block``
1172     function (still used).
1173   - Added ``compound`` directive (thanks to Lea Wiemann).
1175 * docutils/parsers/rst/directives/misc.py:
1177   - Added "encoding" option to "include" and "raw" directives.
1178   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1179   - Allow multiple class names in the "class" directive.
1181 * docutils/parsers/rst/directives/parts.py:
1183   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1184     options.  Thanks to Lele Gaifax.
1186 * docutils/parsers/rst/directives/tables.py:
1188   - Added "encoding" directive to "csv-table" directive.
1189   - Added workaround for lack of Unicode support in csv.py, for
1190     non-ASCII CSV input.
1192 * docutils/transforms/misc.py:
1194   - Fixed bug when multiple "class" directives are applied to a single
1195     element.
1196   - Enabled multiple format names for "raw" directive.
1198 * docutils/transforms/references.py:
1200   - Added support for trimming whitespace from beside substitution
1201     references.
1203 * docutils/transforms/universal.py:
1205   - FinalChecks now checks for illegal transitions and moves
1206     transitions between sections.
1208 * docutils/writers/html4css1.py:
1210   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1211   - "stylesheet" and "stylesheet_path" settings are now mutually
1212     exclusive.
1213   - Added support for the new line_block/line structure.
1214   - --footnote-references now overrides
1215     --trim-footnote-reference-space, if applicable.
1216   - Added support for ``compound`` elements.
1217   - Enabled multiple format names for "raw" directive.
1218   - ``<p>`` tags of a paragraph which is the only visible child of the
1219     document node are no longer stripped.
1220   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1221     new method ``should_be_compact_paragraph()``.
1222   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1223     elements.
1224   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1225     the output if they have their ``class`` attribute set.
1226   - The whole document is now surrounded by a ``<div
1227     class="document">`` element.
1228   - Body-level images are now wrapped by their own ``<div>`` elements,
1229     with image classes copied to the wrapper, and for images which
1230     have the ``:align:`` option set, the surrounding ``<div>`` now
1231     receives a class attribute (like ``class="align-left"``).
1233 * docutils/writers/latex2e.py:
1235   - no newline after depart_term.
1236   - Added translations for some Unicode quotes.
1237   - Added option "font-encoding", made package AE the default.
1238   - "stylesheet" and "stylesheet_path" settings are now mutually
1239     exclusive.
1240   - --footnote-references now overrides
1241     --trim-footnote-reference-space, if applicable.
1242   - The footnote label style now matches the footnote reference style
1243     ("brackets" or "superscript").
1244   - Added support for ``compound`` elements.
1245   - Enabled multiple format names for "raw" directive.
1247 * docs/ref/docutils.dtd:
1249   - Changed structure of the ``line_block`` element; added ``line``.
1250   - Added ``compound`` element.
1251   - Added "ltrim" and "rtrim" attributes to
1252     ``substitution_definition`` element.
1253   - Enabled multiple format names for ``raw`` element.
1254   - Enabled multiple classifiers in ``definition_list_item`` elements.
1256 * docs/ref/rst/directives.txt
1258   - Marked "line-block" as deprecated.
1259   - "Class" directive now allows multiple class names.
1260   - Added "Rationale for Class Attribute Value Conversion".
1261   - Added warning about "raw" overuse/abuse.
1263 * docs/ref/rst/restructuredtext.txt:
1265   - Added syntax for line blocks.
1266   - Definition list items may have multiple classifiers.
1268 * docs/ref/rst/roles.txt:
1270   - Added "raw" role.
1272 * tools/stylesheets/default.css:
1274   - Added support for the new line_block structure.
1275   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1278 Release 0.3.5 (2004-07-29)
1279 ==========================
1281 General:
1283 * _`Documentation cleanup/reorganization`.
1285   - Created new subdirectories of docs/:
1287     * ``docs/user/``: introductory/tutorial material for end-users
1288     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1289     * ``docs/api/``: API reference material for client-developers
1290     * ``docs/ref/``: reference material for all groups
1291     * ``docs/howto/``: for component-developers and core-developers
1292     * ``docs/peps/``: Python Enhancement Proposals
1294   - Moved ``docs/*`` to ``docs/user/``.
1295   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1296     ``spec/`` to ``docs/dev``.
1297   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1298     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1299   - Moved ``alternatives.txt``, and ``problems.txt`` from
1300     ``spec/rst/`` to ``docs/dev/rst/``.
1301   - Moved ``reStructuredText.txt``, ``directives.txt``,
1302     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1303     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1304     ``roles.txt``, ``reStructuredText.txt`` to
1305     ``restructuredtext.txt``.
1306   - Moved ``spec/howto/`` to ``docs/howto``.
1308   In order to keep the CVS history of moved files, we supplied
1309   SourceForge with a `script for modifying the Docutils CVS
1310   repository`__.
1312   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1314   After running the cleanup script:
1316   - Added ``docs/index.txt``.
1317   - Added a ``.htaccess`` file to the ``web`` module, containing
1318     redirects for all old paths to new paths.  They'll preserve
1319     fragments (the "#name" part of a URL), and won't clutter up the
1320     file system, and will correct the URL in the user's browser.
1321   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1322     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1323     the "To Do" list itself in ``docs/dev/todo.txt``.
1324   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1325     section of ``docs/dev/todo.txt``.
1326   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1327   - Added "How To Report Bugs" to ``BUGS.txt``.
1328   - Went through all the sources and docs (including under web/) and
1329     updated links.  Mostly done by Lea Wiemann; thanks Lea!
1330     (Still need to update links in the sandboxes.)
1332 Specific:
1334 * BUGS.txt: Added to project.
1336 * THANKS.txt: Added to project.
1338 * docutils/__init__.py:
1340   - 0.3.4: Post-release.
1342 * docutils/core.py:
1344   - Added special error handling & advice for UnicodeEncodeError.
1345   - Refactored Publisher.publish (simplified exception handling &
1346     extracted debug dumps).
1347   - Renamed "enable_exit" parameter of convenience functions to
1348     "enable_exit_status".
1349   - Enabled traceback (exception propagation) by default in
1350     programmatic convenience functions.
1351   - Now publish_file and publish_cmdline convenience functions return
1352     the encoded string results in addition to their regular I/O.
1353   - Extracted common code from publish_file, publish_string, and
1354     publish_parts, into new publish_programmatically.  Extracted
1355     settings code to ``Publisher.process_programmatic_settings``.
1356   - In Publisher.publish, disabled ``settings_overrides`` when
1357     ``settings`` is supplied; redundant.
1359 * docutils/frontend.py:
1361   - Added help text for "--output-encoding-error-handler" and
1362     "--error-encoding-error-handler".
1363   - Renamed "--exit" to "--exit-status".
1364   - Simplified default-setting code.
1366 * docutils/parsers/rst/__init__.py:
1368   - Added "--pep-base-url" and "--rfc-base-url" options.
1370 * docutils/parsers/rst/states.py:
1372   - Made URI recognition more aggressive and intelligent.
1374 * docutils/parsers/rst/directives/__init__.py:
1376   - Added several directive option conversion functions.
1378 * docutils/parsers/rst/directives/body.py:
1380   - Moved "table" directive to tables.py.
1382 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1383   added to project.
1385 * docutils/writers/latex2e.py:
1387   - Added "--table-style=(standard|booktabs|nolines)"
1388   - figures get "here" option (LaTeX per default puts them at bottom),
1389     and figure content is centered.
1390   - Rowspan support for tables.
1391   - Fix: admonition titles before first section.
1392   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1393   - Replave ``_`` in literal by an underlined blank, because it has the correct
1394     width.
1395   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1396   - A few unicode replacements, if output_encoding != utf
1397   - Add "--graphicx-option".
1398   - Indent literal-blocks.
1399   - Fix: omit ``\maketitle`` when there is no document title.
1401 * docs/index.txt: "Docutils Project Documentation Overview", added to
1402   project.
1404 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1405   Tool", added to project.
1407 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1409 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1411 * docs/dev/policies.txt: Added to project (extracted from
1412   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1414 * docs/dev/release.txt: Added to project (extracted from
1415   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1417 * docs/dev/testing.txt: Added to project.
1419 * docs/dev/website.txt: Added to project (extracted from
1420   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1422 * docs/ref/rst/directives.txt:
1424   - Added directives: "table", "csv-table".
1426 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1427   added to project.  1 page for syntax, and a 1 page reference for
1428   directives and roles.  Source text to be used as-is; not meant to be
1429   converted to HTML.
1431 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1432   with a change of title.
1434 * test/functional/, contents, and test/test_functional.py: Added to
1435   project.
1437 * tools/buildhtml.py: Fixed bug with config file handling.
1439 * tools/html.py: Removed from project (duplicate of rst2html.py).
1441 * tools/pep2html.py: Removed from project (duplicate of Python's
1442   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1443   Docutils-related PEPs in docs/peps/).
1445 * tools/rst2pseudoxml.py: Renamed from publish.py.
1447 * tools/rst2xml.py: Renamed from docutils-xml.py.
1449 * tools/test.txt: Removed from project; moved to
1450   docs/user/rst/demo.txt.
1452 * setup.py: Now also installs ``rst2latex.py``.
1455 Release 0.3.3 (2004-05-09)
1456 ==========================
1458 * docutils/__init__.py:
1460   - 0.3.1: Reorganized config file format (multiple sections); see
1461     docs/config.txt.
1462   - Added unknown_reference_resolvers attribute to TransformSpec.
1463   - 0.3.2: Interpreted text reorganization.
1464   - 0.3.3: Released.
1466 * docutils/core.py:
1468   - Catch system messages to stop tracebacks from parsing errors.
1469   - Catch exceptions during processing report & exit without
1470     tracebacks, except when "--traceback" used.
1471   - Reordered components for OptionParser; application comes last.
1472   - Added "config_section" parameter to several methods and functions,
1473     allowing front ends to easily specify their config file sections.
1474   - Added publish_parts convenience function to allow access to individual
1475     parts of a document.
1477 * docutils/examples.py: Added to project; practical examples of
1478   Docutils client code, to be used as-is or as models for variations.
1480 * docutils/frontend.py:
1482   - Added "--traceback" & "--no-traceback" options ("traceback"
1483     setting).
1484   - Implemented support for config file reorganization:
1485     ``standard_config_files`` moved from ``ConfigParser`` to
1486     ``OptionParser``; added
1487     ``OptionParser.get_config_file_settings()`` and
1488     ``.get_standard_config_settings()``; support for old "[options]"
1489     section (with deprecation warning) and mapping from old to new
1490     settings.
1491   - Reimplemented setting validation.
1492   - Enabled flexible boolean values: yes/no, true/false, on/off.
1493   - Added ``Values``, a subclass of ``optparse.Values``, with support
1494     for list setting attributes.
1495   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1496     thanks to Beni Cherniavsky.
1497   - Added "--no-section-numbering" option.
1499 * docutils/io.py:
1501   - Catch IOErrors when opening source & destination files, report &
1502     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1503     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1505 * docutils/nodes.py:
1507   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1508     method definitions (via ``exec``) to dynamic assignments (via
1509     ``setattr``); thanks to Roman Suzi.
1510   - Encapsulated visitor dynamic assignments in a function; thanks to
1511     Ian Bicking.
1512   - Added indirect_reference_name attribute to the Targetable
1513     class. This attribute holds the whitespace_normalized_name
1514     (contains mixed case) of a target.
1516 * docutils/statemachine.py:
1518   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1519   - Added ``StringList.get_2D_block``.
1521 * docutils/utils.py:
1523   - Added "level" attribute to SystemMessage exceptions.
1525 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1526   Jannie Hofmeyr.
1528 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1529   Blaha.
1531 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1532   Marcelo Huerta San Martin.
1534 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1535   mappings by Lalo Martins.
1537 * docutils/languages/ru.py: Added to project; Russian mappings by
1538   Roman Suzi.
1540 * docutils/parsers/rst/roles.py: Added to project.  Contains
1541   interpreted text role functions, a registry for interpreted text
1542   roles, and an API for adding to and retrieving from the registry.
1543   Contributed by Edward Loper.
1545 * docutils/parsers/rst/states.py:
1547   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1548   - Allowed true em-dash character and "---" as block quote
1549     attribution marker.
1550   - Added support for <angle-bracketed> complex option arguments
1551     (option lists).
1552   - Fixed handling of backslashes in substitution definitions.
1553   - Fixed off-by-1 error with extra whitespace after substitution
1554     definition directive.
1555   - Added inline markup parsing to field lists' field names.
1556   - Added support for quoted (and unindented) literal blocks.
1557     Driven in part by a bribe from Frank Siebenlist (thanks!).
1558   - Parser now handles escapes in URIs correctly.
1559   - Made embedded-URIs' reference text omittable.  Idea from Beni
1560     Cherniavsky.
1561   - Refactored explicit target processing code.
1562   - Added name attribute to references containing the reference name only
1563     through whitespace_normalize_name (no case changes).
1564   - parse_target no longer returns the refname after going through
1565     normalize_name. This is now handled in make_target.
1566   - Fixed bug relating to role-less interpreted text in non-English
1567     contexts.
1568   - Reorganized interpreted text processing; moved code into the new
1569     roles.py module.  Contributed by Edward Loper.
1570   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1571     ``parse_directive_block``.
1573 * docutils/parsers/rst/tableparser.py:
1575   - Reworked for ``StringList``, to support "include" directives in
1576     table cells.
1578 * docutils/parsers/rst/directives/__init__.py:
1580   - Renamed ``unchanged()`` directive option conversion function to
1581     ``unchanged_required``, and added a new ``unchanged``.
1582   - Catch unicode value too high error; fixes bug 781766.
1583   - Beefed up directive error reporting.
1585 * docutils/parsers/rst/directives/body.py:
1587   - Added basic "table" directive.
1589 * docutils/parsers/rst/directives/images.py:
1591   - Added "target" option to "image" directive.
1592   - Added name attribute to references containing the reference name only
1593     through whitespace_normalize_name (no case changes).
1595 * docutils/parsers/rst/directives/misc.py:
1597   - Isolated the import of the ``urllib2`` module; was causing
1598     problems on SourceForge (``libssl.so.2`` unavailable?).
1599   - Added the "role" directive for declaring custom interpreted text
1600     roles.
1602 * docutils/parsers/rst/directives/parts.py:
1604   - The "contents" directive does more work up-front, creating the
1605     "topic" and "title", and leaving the "pending" node for the
1606     transform.  Allows earlier reference resolution; fixes subtle bug.
1608 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1609   mappings by Jannie Hofmeyr.
1611 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1612   mappings by Marek Blaha.
1614 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1615   mappings by Marcelo Huerta San Martin.
1617 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1618   Portuguese mappings by Lalo Martins.
1620 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1621   mappings by Roman Suzi.
1623 * docutils/transforms/parts.py:
1625   - The "contents" directive does more work up-front, creating the
1626     "topic" and "title", and leaving the "pending" node for the
1627     transform.  Allows earlier reference resolution; fixes subtle bug.
1628   - Added support for disabling of section numbering.
1630 * docutils/transforms/references.py:
1632   - Verifying that external targets are truly targets and not indirect
1633     references. This is because we are now adding a "name" attribute to
1634     references in addition to targets. Note sure if this is correct!
1635   - Added code to hook into the unknown_reference_resolvers list for a
1636     transformer in resolve_indirect_target. This allows the
1637     unknown_reference_resolvers to keep around indirect targets which
1638     docutils doesn't know about.
1639   - Added specific error message for duplicate targets.
1641 * docutils/transforms/universal.py:
1643   - Added FilterMessages transform (removes system messages below the
1644     verbosity threshold).
1645   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1646     to FinalCheckVisitor for application-specific handling of
1647     unresolvable references.
1648   - Added specific error message for duplicate targets.
1650 * docutils/writers/__init__.py:
1652   - Added assemble_parts method to the Writer class to allow for
1653     access to a documents individual parts.
1654   - Documented & set default for ``Writer.output`` attribute.
1656 * docutils/writers/html4css1.py:
1658   - Fixed unicode handling of attribute values (bug 760673).
1659   - Prevent duplication of "class" attribute values (bug report from
1660     Kirill Lapshin).
1661   - Improved table grid/border handling (prompted by report from Bob
1662     Marshall).
1663   - Added support for table titles.
1664   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1665     to Darek Suchojad.
1666   - Added functionality to keep track of individual parts of a document
1667     and store them in a dictionary as the "parts" attribute of the writer.
1668     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1669   - Added proper support for the "scale" attribute of the "image"
1670     element.  Contributed by Brent Cook.
1671   - Added ``--initial-header-level`` option.
1672   - Fixed bug: the body_pre_docinfo segment depended on there being a
1673     docinfo; if no docinfo, the document title was incorporated into
1674     the body segment.  Adversely affected the publish_parts interface.
1676 * docutils/writers/latex2e.py:
1678   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1679     about a missing file.
1680   - Added options and support: ``--compound-enumerators``,
1681     ``--section-prefix-for-enumerators``, and
1682     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1683     934322).
1684   - Added option ``--use-verbatim-when-possible``, to avoid
1685     problematic characters (eg, '~' in italian) in literal blocks.
1686   - It's now possible to use four section levels in the `book` and
1687     `report` LaTeX classes.  The default `article` class still has
1688     three levels limit.
1690 * docs/config.txt: "Docutils Configuration Files", added to project.
1691   Moved config file entry descriptions from tools.txt.
1693 * docs/tools.txt:
1695   - Moved config file entry descriptions to config.txt.
1697 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
1698   Development".
1700 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1701   Text Roles", added to project.
1703 * spec/rst/reStructuredText.txt:
1705   - Added description of support for <angle-bracketed> complex option
1706     arguments to option lists.
1707   - Added subsections for indented and quoted literal blocks.
1709 * test: Continually adding & updating tests.
1711   - Added test/test_settings.py & test/data/config_*.txt support
1712     files.
1713   - Added test/test_writers/test_htmlfragment.py.
1715 * test/DocutilsTestSupport.py:
1717   - Refactored LaTeX publisher test suite/case class names to make
1718     testing other writers easier.
1719   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1720     to test the processing of HTML fragments which use the new
1721     publish_parts convenience function.
1723 * tools/buildhtml.py:
1725   - Added support for the "--prune" option.
1726   - Removed dependency on pep2html.py; plaintext PEPs no longer
1727     supported.
1729 * tools/docutils.conf:
1731   - Updated for configuration file reorganization.
1733 * tools/rst2html.py:
1735   - copied from tools/html.py
1737 * setup.py:
1739   - added a 'scripts' section to configuration
1740   - added 'tools/rst2html.py' to the scripts section
1743 Release 0.3 (2003-06-24)
1744 ========================
1746 General:
1748 * Renamed "attribute" to "option" for directives/extensions.
1750 * Renamed transform method "transform" to "apply".
1752 * Renamed "options" to "settings" for runtime settings (as set by
1753   command-line options).  Sometimes "option" (singular) became
1754   "settings" (plural).  Some variations below:
1756   - document.options -> document.settings (stored in other objects as
1757     well)
1758   - option_spec -> settings_spec (not directives though)
1759   - OptionSpec -> SettingsSpec
1760   - cmdline_options -> settings_spec
1761   - relative_path_options -> relative_path_settings
1762   - option_default_overrides -> settings_default_overrides
1763   - Publisher.set_options -> Publisher.get_settings
1765 Specific:
1767 * COPYING.txt: Added "Public Domain Dedication".
1769 * FAQ.txt: Frequently asked questions, added to project.
1771 * setup.py:
1773   - Updated with PyPI Trove classifiers.
1774   - Conditional installation of third-party modules.
1776 * docutils/__init__.py:
1778   - Bumped version to 0.2.1 to reflect changes to I/O classes.
1779   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1780   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1781   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1782     option and its effect on the PEP template & writer.
1783   - Bumped version to 0.2.4 due to changes to the PEP template &
1784     stylesheet.
1785   - Bumped version to 0.2.5 to reflect changes to Reporter output.
1786   - Added ``TransformSpec`` class for new transform system.
1787   - Bumped version to 0.2.6 for API changes (renaming).
1788   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1789     convenience functions.
1790   - Added ``Component.component_type`` attribute.
1791   - Bumped version to 0.2.8 because of the internal parser switch from
1792     plain lists to the docutils.statemachine.StringList objects.
1793   - Bumped version to 0.2.9 because of the frontend.py API changes.
1794   - Bumped version to 0.2.10 due to changes to the project layout
1795     (third-party modules removed from the "docutils" package), and
1796     signature changes in ``io.Input``/``io.Output``.
1797   - Changed version to 0.3.0 for release.
1799 * docutils/core.py:
1801   - Made ``publish()`` a bit more convenient.
1802   - Generalized ``Publisher.set_io``.
1803   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1804     parameters; improved its docstring.
1805   - Added ``publish_file()`` and ``publish_string()``.
1806   - Factored ``Publisher.set_source()`` and ``.set_destination()``
1807     out of ``.set_io``.
1808   - Added support for "--dump-pseudo-xml", "--dump-settings", and
1809     "--dump-transforms" hidden options.
1810   - Added ``Publisher.apply_transforms()`` method.
1811   - Added ``Publisher.set_components()`` method; support for
1812     ``publish_*()`` conveninece functions.
1813   - Moved config file processing to docutils/frontend.py.
1814   - Added support for exit status ("exit_level" setting &
1815     ``enable_exit`` parameter for Publisher.publish() and convenience
1816     functions).
1818 * docutils/frontend.py:
1820   - Check for & exit on identical source & destination paths.
1821   - Fixed bug with absolute paths & "--config".
1822   - Set non-command-line defaults in ``OptionParser.__init__()``:
1823     ``_source`` & ``_destination``.
1824   - Distributed ``relative_path_settings`` to components; updated
1825     ``OptionParser.populate_from_components()`` to combine it all.
1826   - Require list of keys in ``make_paths_absolute`` (was implicit in
1827     global ``relative_path_settings``).
1828   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1829     "--dump-settings", and "--dump-transforms" hidden options.
1830   - Removed nasty internals-fiddling ``ConfigParser.get_section``
1831     code, replaced with correct code.
1832   - Added validation functionality for config files.
1833   - Added "--error-encoding" option/setting, "_disable_config"
1834     internal setting.
1835   - Added encoding validation; updated "--input-encoding" and
1836     "--output-encoding"; added "--error-encoding-error-handler" and
1837     "--output-encoding-error-handler".
1838   - Moved config file processing from docutils/core.py.
1839   - Updated ``OptionParser.populate_from_components`` to handle new
1840     ``SettingsSpec.settings_defaults`` dict.
1841   - Added support for "-" => stdin/stdout.
1842   - Added "exit_level" setting ("--exit" option).
1844 * docutils/io.py:
1846   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1847   - Added automatic closing to ``FileInput`` and ``FileOutput``.
1848   - Delayed opening of ``FileOutput`` file until ``write()`` called.
1849   - ``FileOutput.write()`` now returns the encoded output string.
1850   - Try to get path/stream name automatically in ``FileInput`` &
1851     ``FileOutput``.
1852   - Added defaults for source & destination paths.
1853   - Allow for Unicode I/O with an explicit "unicode" encoding.
1854   - Added ``Output.encode()``.
1855   - Removed dependency on runtime settings; pass encoding directly.
1856   - Recognize Unicode strings in ``Input.decode()``.
1857   - Added support for output encoding error handlers.
1859 * docutils/nodes.py:
1861   - Added "Invisible" element category class.
1862   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1863     modification during a traversal.
1864   - Added element classes: ``line_block``, ``generated``, ``address``,
1865     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1866     ``superscript``, ``subscript``, ``inline``
1867   - Added support for lists of nodes to ``Element.insert()``.
1868   - Fixed parent linking in ``Element.replace()``.
1869   - Added new abstract superclass ``FixedTextElement``; adds
1870     "xml:space" attribute.
1871   - Added support for "line" attribute of ``system_message`` nodes.
1872   - Added support for the observer pattern from ``utils.Reporter``.
1873     Added ``parse_messages`` and ``transform_messages`` attributes to
1874     ``document``, removed ``messages``.  Added ``note_parse_message``
1875     and ``note_transform_message`` methods.
1876   - Added support for improved diagnostics:
1878     - Added "document", "source", and "line" internal attributes to
1879       ``Node``, set by ``Node.setup_child()``.
1880     - Converted variations on ``node.parent = self`` to
1881       ``self.setup_child(node)``.
1882     - Added ``document.current_source`` & ``.current_line``
1883       attributes, and ``.note_source`` observer method.
1884     - Changed "system_message" output to GNU-Tools format.
1886   - Added a "rawsource" attribute to the ``Text`` class, for text
1887     before backslash-escape resolution.
1888   - Support for new transform system.
1889   - Reworked ``pending`` element.
1890   - Fixed XML DOM bug (SF #660611).
1891   - Removed the ``interpeted`` element class and added
1892     ``title_reference``, ``abbreviation``, ``acronym``.
1893   - Made substitutions case-sensitive-but-forgiving; moved some code
1894     from the parser.
1895   - Fixed Unicode bug on element attributes (report: William Dode).
1897 * docutils/optik.py: Removed from project; replaced with
1898   extras/optparse.py and extras/textwrap.py.  These will be installed
1899   only if they're not already present in the Python installation.
1901 * docutils/roman.py: Moved to extras/roman.py; this will be installed
1902   only if it's not already present in the Python installation.
1904 * docutils/statemachine.py:
1906   - Factored out ``State.add_initial_transitions()`` so it can be
1907     extended.
1908   - Converted whitespace-specific "blank" and "indent" transitions
1909     from special-case code to ordinary transitions: removed
1910     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
1911     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
1912     ``ws_initial_transitions`` attributes.
1913   - Removed ``State.match_transition()`` after merging it into
1914     ``.check_line()``.
1915   - Added ``StateCorrection`` exception.
1916   - Added support for ``StateCorrection`` in ``StateMachine.run()``
1917     (moved ``TransitionCorrection`` support there too.)
1918   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
1919     ``EOFError`` instead of ``IndexError``.
1920   - Added ``State.no_match`` method.
1921   - Added support for the Observer pattern, triggered by input line
1922     changes.
1923   - Added ``strip_top`` parameter to
1924     ``StateMachineWS.get_first_known_indented``.
1925   - Made ``context`` a parameter to ``StateMachine.run()``.
1926   - Added ``ViewList`` & ``StringList`` classes;
1927     ``extract_indented()`` becomes ``StringList.get_indented()``.
1928   - Added ``StateMachine.insert_input()``.
1929   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
1930     thanks to) Fred Drake.
1932 * docutils/utils.py:
1934   - Added a ``source`` attribute to Reporter instances and
1935     ``system_message`` elements.
1936   - Added an observer pattern to ``utils.Reporter`` to keep track of
1937     system messages.
1938   - Fixed bugs in ``relative_path()``.
1939   - Added support for improved diagnostics.
1940   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
1941   - Added support for encoding Reporter stderr output, and encoding
1942     error handlers.
1943   - Reporter keeps track of the highest level system message yet
1944     generated.
1946 * docutils/languages: Fixed bibliographic field language lookups.
1948 * docutils/languages/es.py: Added to project; Spanish mappings by
1949   Marcelo Huerta San Martin.
1951 * docutils/languages/fr.py: Added to project; French mappings by
1952   Stefane Fermigier.
1954 * docutils/languages/it.py: Added to project; Italian mappings by
1955   Nicola Larosa.
1957 * docutils/languages/sk.py: Added to project; Slovak mappings by
1958   Miroslav Vasko.
1960 * docutils/parser/__init__.py:
1962   - Added ``Parser.finish_parse()`` method.
1964 * docutils/parser/rst/__init__.py:
1966   - Added options: "--pep-references", "--rfc-references",
1967     "--tab-width", "--trim-footnote-reference-space".
1969 * docutils/parsers/rst/states.py:
1971   - Changed "title under/overline too short" system messages from INFO
1972     to WARNING, and fixed its insertion location.
1973   - Fixed enumerated list item parsing to allow paragraphs & section
1974     titles to begin with enumerators.
1975   - Converted system messages to use the new "line" attribute.
1976   - Fixed a substitution reference edge case.
1977   - Added support for "--pep-references" and "--rfc-references"
1978     options; reworked ``Inliner`` code to make customization easier.
1979   - Removed field argument parsing.
1980   - Added support for short section title over/underlines.
1981   - Fixed "simple reference name" regexp to ignore text like
1982     "object.__method__"; not an anonymous reference.
1983   - Added support for improved diagnostics.
1984   - Reworked directive API, based on Dethe Elza's contribution.  Added
1985     ``Body.parse_directive()``, ``.parse_directive_options()``,
1986     ``.parse_directive_arguments()`` methods.
1987   - Added ``ExtensionOptions`` class, to parse directive options
1988     without parsing field bodies.  Factored
1989     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
1990     ``ExtensionOptions``.
1991   - Improved definition list term/classifier parsing.
1992   - Added warnings for unknown directives.
1993   - Renamed ``Stuff`` to ``Struct``.
1994   - Now flagged as errors: transitions at the beginning or end of
1995     sections, empty sections (except title), and empty documents.
1996   - Updated for ``statemachine.StringList``.
1997   - Enabled recognition of schemeless email addresses in targets.
1998   - Added support for embedded URIs in hyperlink references.
1999   - Added backslash-escapes to inline markup end-string suffix.
2000   - Added support for correct interpreted text processing.
2001   - Fixed nested title parsing (topic, sidebar directives).
2002   - Added special processing of backslash-escaped whitespace (idea
2003     from David Abrahams).
2004   - Made substitutions case-sensitive-but-forgiving; moved some code
2005     to ``docutils.nodes``.
2006   - Added support for block quote attributions.
2007   - Added a kludge to work-around a conflict between the bubble-up
2008     parser strategy and short titles (<= 3 char-long over- &
2009     underlines).  Fixes SF bug #738803 "infinite loop with multiple
2010     titles" submitted by Jason Diamond.
2011   - Added explicit interpreted text roles for standard inline markup:
2012     "emphasis", "strong", "literal".
2013   - Implemented "superscript" and "subscript" interpreted text roles.
2014   - Added initial support for "abbreviation" and "acronym" roles;
2015     incomplete.
2016   - Added support for "--trim-footnote-reference-space" option.
2017   - Optional space before colons in directives & hyperlink targets.
2019 * docutils/parsers/rst/tableparser.py:
2021   - Fixed a bug that was producing unwanted empty rows in "simple"
2022     tables.
2023   - Detect bad column spans in "simple" tables.
2025 * docutils/parsers/rst/directives: Updated all directive functions to
2026   new API.
2028 * docutils/parsers/rst/directives/__init__.py:
2030   - Added ``flag()``, ``unchanged()``, ``path()``,
2031     ``nonnegative_int()``, ``choice()``, and ``class_option()``
2032     directive option helper functions.
2033   - Added warnings for unknown directives.
2034   - Return ``None`` for missing directives.
2035   - Added ``register_directive()``, thanks to William Dode and Paul
2036     Moore.
2038 * docutils/parsers/rst/directives/admonitions.py:
2040   - Added "admonition" directive.
2042 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
2043   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2044   "parsed-literal", "rubric", "epigraph", "highlights" and
2045   "pull-quote" directives.
2047 * docutils/parsers/rst/directives/images.py:
2049   - Added an "align" attribute to the "image" & "figure" directives
2050     (by Adam Chodorowski).
2051   - Added "class" option to "image", and "figclass" to "figure".
2053 * docutils/parsers/rst/directives/misc.py:
2055   - Added "include", "raw", and "replace" directives, courtesy of
2056     Dethe Elza.
2057   - Added "unicode" and "class" directives.
2059 * docutils/parsers/rst/directives/parts.py:
2061   - Added the "sectnum" directive; by Dmitry Jemerov.
2062   - Added "class" option to "contents" directive.
2064 * docutils/parsers/rst/directives/references.py: Added to project.
2065   Contains the "target-notes" directive.
2067 * docutils/parsers/rst/languages/__init__.py:
2069   - Return ``None`` from get_language() for missing language modules.
2071 * docutils/parsers/rst/languages/de.py: Added to project; German
2072   mappings by Engelbert Gruber.
2074 * docutils/parsers/rst/languages/en.py:
2076   - Added interpreted text roles mapping.
2078 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2079   mappings by Marcelo Huerta San Martin.
2081 * docutils/parsers/rst/languages/fr.py: Added to project; French
2082   mappings by William Dode.
2084 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2085   mappings by Nicola Larosa.
2087 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2088   mappings by Miroslav Vasko.
2090 * docutils/readers/__init__.py:
2092   - Added support for the observer pattern from ``utils.Reporter``, in
2093     ``Reader.parse`` and ``Reader.transform``.
2094   - Removed ``Reader.transform()`` method.
2095   - Added default parameter values to ``Reader.__init__()`` to make
2096     instantiation easier.
2097   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2099 * docutils/readers/pep.py:
2101   - Added the ``peps.TargetNotes`` transform to the Reader.
2102   - Removed PEP & RFC reference detection code; moved to
2103     parsers/rst/states.py as options (enabled here by default).
2104   - Added support for pre-acceptance PEPs (no PEP number yet).
2105   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2106     easy subclassing.
2108 * docutils/readers/python: Python Source Reader subpackage added to
2109   project, including preliminary versions of:
2111   - __init__.py
2112   - moduleparser.py: Parser for Python modules.
2114 * docutils/transforms/__init__.py:
2116   - Added ``Transformer`` class and completed transform reform.
2117   - Added unknown_reference_resolvers list for each transformer. This list holds
2118     the list of functions provided by each component of the transformer that
2119     help resolve references.
2121 * docutils/transforms/frontmatter.py:
2123   - Improved support for generic fields.
2124   - Fixed bibliographic field language lookups.
2126 * docutils/transforms/misc.py: Added to project.  Miscellaneous
2127   transforms.
2129 * docutils/transforms/parts.py:
2131   - Moved the "id" attribute from TOC list items to the references
2132     (``Contents.build_contents()``).
2133   - Added the ``SectNum`` transform; by Dmitry Jemerov.
2134   - Added "class" attribute support to ``Contents``.
2136 * docutils/transforms/peps.py:
2138   - Added ``mask_email()`` function, updating to pep2html.py's
2139     functionality.
2140   - Linked "Content-Type: text/x-rst" to PEP 12.
2141   - Added the ``TargetNotes`` PEP-specific transform.
2142   - Added ``TargetNotes.cleanup_callback``.
2143   - Added title check to ``Headers``.
2145 * docutils/transforms/references.py:
2147   - Added the ``TargetNotes`` generic transform.
2148   - Split ``Hyperlinks`` into multiple transforms.
2149   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2150   - Added check for circular indirect references.
2151   - Made substitutions case-sensitive-but-forgiving.
2153 * docutils/transforms/universal.py:
2155   - Added support for the "--expose-internal-attributes" option.
2156   - Removed ``Pending`` transform classes & data.
2158 * docutils/writers/__init__.py:
2160   - Removed ``Writer.transform()`` method.
2162 * docutils/writers/docutils-xml.py:
2164   - Added XML and doctype declarations.
2165   - Added "--no-doctype" and "--no-xml-declaration" options.
2167 * docutils/writers/html4css1.py:
2169   - "name" attributes only on these tags: a, applet, form, frame,
2170     iframe, img, map.
2171   - Added "name" attribute to <a> in section titles for Netscape 4
2172     support (bug report: Pearu Peterson).
2173   - Fixed targets (names) on footnote, citation, topic title,
2174     problematic, and system_message nodes (for Netscape 4).
2175   - Changed field names from "<td>" to "<th>".
2176   - Added "@" to "&#64;" encoding to thwart address harvesters.
2177   - Improved the vertical whitespace optimization; ignore "invisible"
2178     nodes (targets, comments, etc.).
2179   - Improved inline literals with ``<span class="pre">`` around chunks
2180     of text and ``&nbsp;`` for runs of spaces.
2181   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2182     ``self.docinfo`` segments.
2183   - Added support for "line_block", "address" elements.
2184   - Improved backlinks (footnotes & system_messages).
2185   - Improved system_message output.
2186   - Redefined "--stylesheet" as containing an invariant URL, used
2187     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2188     working directory.
2189   - Added "--footnote-references" option (superscript or brackets).
2190   - Added "--compact-lists" and "--no-compact-lists" options.
2191   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2192     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2193   - Improved field list rendering.
2194   - Added Docutils version to "generator" meta tag.
2195   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2196   - Improved layout of <pre> HTML source.
2197   - Fixed attribute typo on <colspec>.
2198   - Refined XML prologue.
2199   - Support for no stylesheet.
2200   - Removed "interpreted" element support.
2201   - Added support for "title_reference", "sidebar", "attribution",
2202     "rubric", and generic "admonition" elements.
2203   - Added "--attribution" option.
2204   - Added support for "inline", "subscript", "superscript" elements.
2205   - Added initial support for "abbreviation" and "acronym";
2206     incomplete.
2208 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2209   (from the sandbox).
2211   - Added french.
2212   - Double quotes in literal blocks (special treatment for de/ngerman).
2213   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2214   - Added  "--attribution" option.
2215   - Right align attributions.
2217 * docutils/writers/pep_html.py:
2219   - Parameterized output encoding in PEP template.
2220   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2221   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2222     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2223     working directory.
2224   - Added an override on the "--footnote-references" option.
2225   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2226   - Added Docutils version to "generator" meta tag.
2227   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2229 * docs/tools.txt:
2231   - Added a "silent" setting for ``buildhtml.py``.
2232   - Added a "Getting Help" section.
2233   - Rearranged the structure.
2234   - Kept up to date, with new settings, command-line options etc.
2235   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2236   - Converted settings table into a definition list.
2238 * docs/rst/quickstart.txt:
2240   - Added a table of contents.
2241   - Added feedback information.
2242   - Added mention of minimum section title underline lengths.
2243   - Removed the 4-character minimum for section title underlines.
2245 * docs/rst/quickref.html:
2247   - Added a "Getting Help" section.
2248   - Added a style to make section title backlinks more subtle.
2249   - Added mention of minimum section title underline lengths.
2250   - Removed the 4-character minimum for section title underlines.
2252 * extras: Directory added to project; contains third-party modules
2253   that Docutils depends on (optparse, textwrap, roman).  These are
2254   only installed if they're not already present.
2256 * licenses: Directory added to project; contains copies of license
2257   files for non-public-domain files.
2259 * spec/doctree.txt:
2261   - Changed the focus.  It's about DTD elements:  structural
2262     relationships, semantics, and external (public) attributes.  Not
2263     about the element class library.
2264   - Moved some implementation-specific stuff into ``docutils.nodes``
2265     docstrings.
2266   - Wrote descriptions of all common attributes and parameter
2267     entities.  Filled in introductory material.
2268   - Working through the element descriptions: 55 down, 37 to go.
2269   - Removed "Representation of Horizontal Rules" to
2270     spec/rst/alternatives.txt.
2272 * spec/docutils.dtd:
2274   - Added "generated" inline element.
2275   - Added "line_block" body element.
2276   - Added "auto" attribute to "title".
2277   - Changed content models of "literal_block" and "doctest_block" to
2278     ``%text.model``.
2279   - Added ``%number;`` attribute type parameter entity.
2280   - Changed ``%structural.elements;`` to ``%section.elements``.
2281   - Updated attribute types; made more specific.
2282   - Added "address" bibliographic element.
2283   - Added "line" attribute to ``system_message`` element.
2284   - Removed "field_argument" element; "field_name" may contain
2285     multiple words and whitespace.
2286   - Changed public identifier to docutils.sf.net.
2287   - Removed "interpreted" element; added "title_reference",
2288     "abbreviation", "acronym".
2289   - Removed "refuri" attribute from "footnote_reference" and
2290     "citation_reference".
2291   - Added "sidebar", "rubric", "attribution", "admonition",
2292     "superscript", "subscript", and "inline" elements.
2294 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2296 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2298 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2300 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2301   Dallas Mahrt.
2303 * spec/transforms.txt: Added to project.
2305 * spec/howto: Added subdirectory, for developer how-to docs.
2307 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2308   Elza, edited & extended by David Goodger.
2310 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
2311   project.
2313 * spec/rst/alternatives.txt:
2315   - Added "Doctree Representation of Transitions" from
2316     spec/doctree.txt.
2317   - Updated "Inline External Targets" & closed the debate.
2318   - Added ideas for interpreted text syntax extensions.
2319   - Added "Nested Inline Markup" section.
2321 * spec/rst/directives.txt:
2323   - Added directives: "topic", "sectnum", "target-notes",
2324     "line-block", "parsed-literal", "include", "replace", "sidebar",
2325     "admonition", "rubric", "epigraph", "highlights", "unicode" and
2326     "class".
2327   - Formalized descriptions of directive details.
2328   - Added an "align" attribute to the "image" & "figure" directives
2329     (by Adam Chodorowski).
2330   - Added "class" options to "topic", "sidebar", "line-block",
2331     "parsed-literal", "contents", and "image"; and "figclass" to
2332     "figure".
2334 * spec/rst/interpreted.txt: Added to project.  Descriptions of
2335   interpreted text roles.
2337 * spec/rst/introduction.txt:
2339   - Added pointers to material for new users.
2341 * spec/rst/reStructuredText.txt:
2343   - Disambiguated comments (just add a newline after the "::").
2344   - Updated enumerated list description; added a discussion of the
2345     second-line validity checking.
2346   - Updated directive description.
2347   - Added a note redirecting newbies to the user docs.
2348   - Expanded description of inline markup start-strings in non-markup
2349     contexts.
2350   - Removed field arguments and made field lists a generic construct.
2351   - Removed the 4-character minimum for section title underlines.
2352   - Clarified term/classifier delimiter & inline markup ambiguity
2353     (definition lists).
2354   - Added "Embedded URIs".
2355   - Updated "Interpreted Text" section.
2356   - Added "Character-Level Inline Markup" section.
2358 * test: Continually adding & updating tests.
2360   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2361   - Moved test/test_pep/ to test/test_readers/test_pep/.
2362   - Added test/test_readers/test_python/.
2363   - Added test/test_writers/ (Engelbert Gruber).
2365 * tools:
2367   - Made the ``locale.setlocale()`` calls in front ends
2368     fault-tolerant.
2370 * tools/buildhtml.py:
2372   - Added "--silent" option.
2373   - Fixed bug with absolute paths & "--config".
2374   - Updated for new I/O classes.
2375   - Added some exception handling.
2376   - Separated publishers' setting defaults; prevents interference.
2377   - Updated for new ``publish_file()`` convenience function.
2379 * tools/pep-html-template:
2381   - Allow for "--embed-stylesheet".
2382   - Added Docutils version to "generator" meta tag.
2383   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2384   - Conform to XHTML spec.
2386 * tools/pep2html.py:
2388   - Made ``argv`` a parameter to ``main()``.
2389   - Added support for "Content-Type:" header & arbitrary PEP formats.
2390   - Linked "Content-Type: text/plain" to PEP 9.
2391   - Files skipped (due to an error) are not pushed onto the server.
2392   - Updated for new I/O classes.
2393   - Added ``check_requirements()`` & ``pep_type_error()``.
2394   - Added some exception handling.
2395   - Updated for new ``publish_string()`` convenience function.
2396   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2398 * tools/quicktest.py:
2400   - Added "-V"/"--version" option.
2402 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2404 * tools/unicode2rstsubs.py: Added to project.  Produces character
2405   entity files (reSructuredText substitutions) from the MathML master
2406   unicode.xml file.
2408 * tools/editors: Support code for editors, added to project.  Contains
2409   ``emacs/restructuredtext.el``.
2411 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2413   - Added style for chunks of inline literals.
2414   - Removed margin for first child of table cells.
2415   - Right-aligned field list names.
2416   - Support for auto-numbered section titles in TOCs.
2417   - Increased the size of inline literals (<tt>) in titles.
2418   - Restored the light gray background for inline literals.
2419   - Added support for "line_block" elements.
2420   - Added style for "address" elements.
2421   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2422   - Improved field list rendering.
2423   - Vertical whitespace improvements.
2424   - Removed "a.target" style.
2426 * tools/stylesheets/pep.css:
2428   - Fixed nested section margins.
2429   - Other changes parallel those of ``../default.css``.
2432 Release 0.2 (2002-07-31)
2433 ========================
2435 General:
2437 - The word "component" was being used ambiguously.  From now on,
2438   "component" will be used to mean "Docutils component", as in Reader,
2439   Writer, Parser, or Transform.  Portions of documents (Table of
2440   Contents, sections, etc.)  will be called "document parts".
2441 - Did a grand renaming: a lot of ``verylongnames`` became
2442   ``very_long_names``.
2443 - Cleaned up imports: no more relative package imports or
2444   comma-separated lists of top-level modules.
2445 - Added support for an option values object which carries default
2446   settings and overrides (from command-line options and library use).
2447 - Added internal Unicode support, and support for both input and
2448   output encodings.
2449 - Added support for the ``docutils.io.IO`` class & subclasses.
2451 Specific:
2453 * docutils/__init__.py:
2455   - Added ``ApplicationError`` and ``DataError``, for use throughout
2456     the package.
2457   - Added ``Component`` base class for Docutils components; implements
2458     the ``supports`` method.
2459   - Added ``__version__`` (thus, ``docutils.__version__``).
2461 * docutils/core.py:
2463   - Removed many keyword parameters to ``Publisher.__init__()`` and
2464     ``publish()``; bundled into an option values object.  Added
2465     "argv", "usage", "description", and "option_spec" parameters for
2466     command-line support.
2467   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2468     methods.
2469   - Reworked I/O model for ``docutils.io`` wrappers.
2470   - Updated ``Publisher.set_options()``; now returns option values
2471     object.
2472   - Added support for configuration files (/etc/docutils.conf,
2473     ./docutils.conf, ~/.docutils).
2474   - Added ``Publisher.setup_option_parser()``.
2475   - Added default usage message and description.
2477 * docutils/frontend.py: Added to project; support for front-end
2478   (command-line) scripts.  Option specifications may be augmented by
2479   components.  Requires Optik (http://optik.sf.net/) for option
2480   processing (installed locally as docutils/optik.py).
2482 * docutils/io.py: Added to project; uniform API for a variety of input
2483   output mechanisms.
2485 * docutils/nodes.py:
2487   - Added ``TreeCopyVisitor`` class.
2488   - Added a ``copy`` method to ``Node`` and subclasses.
2489   - Added a ``SkipDeparture`` exception for visitors.
2490   - Renamed ``TreePruningException`` from ``VisitorException``.
2491   - Added docstrings to ``TreePruningException``, subclasses, and
2492     ``Nodes.walk()``.
2493   - Improved docstrings.
2494   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2495   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2496     imports.
2497   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2498     ``PreDecorative`` mixin.
2499   - Reworked the name/id bookkeeping; to ``document``, removed
2500     ``explicit_targets`` and ``implicit_targets`` attributes, added
2501     ``nametypes`` attribute and ``set_name_id_map`` method.
2502   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2503     traversals.
2504   - Added ``document.has_name()`` method.
2505   - Fixed DOM generation for list-attributes.
2506   - Added category class ``Labeled`` (used by footnotes & citations).
2507   - Added ``Element.set_class()`` method (sets "class" attribute).
2509 * docutils/optik.py: Added to project.  Combined from the Optik
2510   package, with added option groups and other modifications.  The use
2511   of this module is probably only temporary.
2513 * docutils/statemachine.py:
2515   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2516   - Added underscores to improve many awkward names.
2517   - In ``string2lines()``, changed whitespace normalizing translation
2518     table to regexp; restores Python 2.0 compatibility with Unicode.
2520 * docutils/urischemes.py:
2522   - Filled in some descriptions.
2523   - Added "shttp" scheme.
2525 * docutils/utils.py:
2527   - Added ``clean_rcs_keywords`` function (moved from
2528     docutils/transforms/frontmatter.py
2529     ``DocInfo.filter_rcs_keywords``).
2530   - Added underscores to improve many awkward names.
2531   - Changed names of Reporter's thresholds:
2532     warning_level -> report_level; error_level -> halt_level.
2533   - Moved ``utils.id()`` to ``nodes.make_id()``.
2534   - Added ``relative_path(source, target)``.
2536 * docutils/languages/de.py: German mappings; added to project.  Thanks
2537   to Gunnar Schwant for the translations.
2539 * docutils/languages/en.py: Added "Dedication" bibliographic field
2540   mappings.
2542 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2543   Chodorowski.
2545 * docutils/parsers/rst/states.py:
2547   - Added underscores to improve many awkward names.
2548   - Added RFC-2822 header support.
2549   - Extracted the inline parsing code from ``RSTState`` to a separate
2550     class, ``Inliner``, which will allow easy subclassing.
2551   - Made local bindings for ``memo`` container & often-used contents
2552     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2553   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2554   - Added ``MarkupMismatch`` exception; for late corrections.
2555   - Added ``-/:`` characters to inline markup's start string prefix,
2556     ``/`` to end string suffix.
2557   - Fixed a footnote bug.
2558   - Fixed a bug with literal blocks.
2559   - Applied patch from Simon Budig: simplified regexps with symbolic
2560     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2561   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2562   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2563   - Allowed non-ASCII in "simple names" (directive names, field names,
2564     references, etc.).
2565   - Converted ``Inliner.patterns.initial`` to be dynamically built
2566     from parts with ``build_regexp()`` function.
2567   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2568   - Updated docstrings.
2569   - Changed "table" to "grid_table"; added "simple_table" support.
2571 * docutils/parsers/rst/tableparser.py:
2573   - Changed ``TableParser`` to ``GridTableParser``.
2574   - Added ``SimpleTableParser``.
2575   - Refactored naming.
2577 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2578   a fallback language for directive names.
2580 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2581   directive to use a ``pending`` element, used only by HTML writers.
2583 * docutils/parsers/rst/directives/parts.py: Renamed from
2584   components.py.
2586   - Added "backlinks" attribute to "contents" directive.
2588 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2589   project by Adam Chodorowski.
2591 * docutils/readers/__init__.py: Gave Readers more control over
2592   choosing and instantiating Parsers.
2594 * docutils/readers/pep.py: Added to project; for PEP processing.
2596 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2597   requires a ``component`` parameter.
2599 * docutils/transforms/components.py: Added to project; transforms
2600   related to Docutils components.
2602 * docutils/transforms/frontmatter.py:
2604   - In ``DocInfo.extract_authors``, check for a single "author" in an
2605     "authors" group, and convert it to a single "author" element.
2606   - Added support for "Dedication" and generic bibliographic fields.
2608 * docutils/transforms/peps.py: Added to project; PEP-specific.
2610 * docutils/transforms/parts.py: Renamed from old components.py.
2612   - Added filter for `Contents`, to use alt-text for inline images,
2613     and to remove inline markup that doesn't make sense in the ToC.
2614   - Added "name" attribute to TOC topic depending on its title.
2615   - Added support for optional TOC backlinks.
2617 * docutils/transforms/references.py: Fixed indirect target resolution
2618   in ``Hyperlinks`` transform.
2620 * docutils/transforms/universal.py:
2622   - Changed ``Messages`` transform to properly filter out system
2623     messages below the warning threshold.
2624   - Added ``Decorations`` transform (support for ``--generator``,
2625     ``--date``, ``--time``, ``--source-link`` options).
2627 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2628   Engelbert Gruber's PDF writer.
2630 * docutils/writers/html4css1.py:
2632   - Made XHTML-compatible (switched to lowercase element & attribute
2633     names; empty tag format).
2634   - Escape double-dashes in comment text.
2635   - Improved boilerplate & modularity of output.
2636   - Exposed modular output in Writer class.
2637   - Added a "generator" meta tag to <head>.
2638   - Added support for the ``--stylesheet`` option.
2639   - Added support for ``decoration``, ``header``, and ``footer``
2640     elements.
2641   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2642     translation table to regexp; restores Python 2.0 compatibility
2643     with Unicode.
2644   - Added the translator class as instance variable to the Writer, to
2645     make it easily subclassable.
2646   - Improved option list spacing (thanks to Richard Jones).
2647   - Modified field list output.
2648   - Added backlinks to footnotes & citations.
2649   - Added percentage widths to "<col>" tags (from colspec).
2650   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2651     "<span>" changed to "<var>".
2652   - Inline literals: "<code>" changed to "<tt>".
2653   - Many changes to optimize vertical space: compact simple lists etc.
2654   - Add a command-line options & directive attributes to control TOC
2655     and footnote/citation backlinks.
2656   - Added support for optional footnote/citation backlinks.
2657   - Added support for generic bibliographic fields.
2658   - Identify backrefs.
2659   - Relative URLs for stylesheet links.
2661 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2662   PEPs (subclass of ``html4css1.Writer``).
2664 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2666 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2667   of the Docutils internal doctree in XML.
2669 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2671 * spec/doctree.txt:
2673   - Changed the title to "The Docutils Document Tree".
2674   - Added "Hyperlink Bookkeeping" section.
2676 * spec/docutils.dtd:
2678   - Added ``decoration``, ``header``, and ``footer`` elements.
2679   - Brought ``interpreted`` element in line with the parser: changed
2680     attribute "type" to "role", added "position".
2681   - Added support for generic bibliographic fields.
2683 * spec/notes.txt: Continual updates.  Added "Project Policies".
2685 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2686   section.
2688 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2690 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
2691   mailing list discussions.
2693 * spec/pep-0287.txt:
2695   - Renamed to "reStructuredText Docstring Format".
2696   - Minor edits.
2697   - Reworked Q&A as an enumerated list.
2698   - Converted to reStructuredText format.
2700 * spec/pysource.dtd:
2702   - Reworked structural elements, incorporating ideas from Tony Ibbs.
2704 * spec/pysource.txt: Removed from project.  Moved much of its contents
2705   to pep-0258.txt.
2707 * spec/rst/alternatives.txt:
2709   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2710   - Added "Inline External Targets" section.
2712 * spec/rst/directives.txt:
2714   - Added "backlinks" attribute to "contents" directive.
2716 * spec/rst/problems.txt:
2718   - Updated the Enumerated List Markup discussion.
2719   - Added new alternative table markup syntaxes.
2721 * spec/rst/reStructuredText.txt:
2723   - Clarified field list usage.
2724   - Updated enumerated list description.
2725   - Clarified purpose of directives.
2726   - Added ``-/:`` characters to inline markup's start string prefix,
2727     ``/`` to end string suffix.
2728   - Updated "Authors" bibliographic field behavior.
2729   - Changed "inline hyperlink targets" to "inline internal targets".
2730   - Added "simple table" syntax to supplement the existing but
2731     newly-renamed "grid tables".
2732   - Added cautions for anonymous hyperlink use.
2733   - Added "Dedication" and generic bibliographic fields.
2735 * test: Made test modules standalone (subdirectories became packages).
2737 * test/DocutilsTestSupport.py:
2739   - Added support for PEP extensions to reStructuredText.
2740   - Added support for simple tables.
2741   - Refactored naming.
2743 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2745   - Now supports true packages containing test modules
2746     (``__init__.py`` files required); fixes duplicate module name bug.
2748 * test/test_pep/: Subpackage added to project; PEP testing.
2750 * test/test_rst/test_SimpleTableParser.py: Added to project.
2752 * tools:
2754   - Updated html.py and publish.py front-end tools to use the new
2755     command-line processing facilities of ``docutils.frontend``
2756     (exposed in ``docutils.core.Publisher``), reducing each to just a
2757     few lines of code.
2758   - Added ``locale.setlocale()`` calls to front-end tools.
2760 * tools/buildhtml.py: Added to project; batch-generates .html from all
2761   the .txt files in directories and subdirectories.
2763 * tools/default.css:
2765   - Added support for ``header`` and ``footer`` elements.
2766   - Added styles for "Dedication" topics (biblio fields).
2768 * tools/docutils.conf: A configuration file; added to project.
2770 * tools/docutils-xml.py: Added to project.
2772 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2774 * tools/pep-html-template: Added to project.
2776 * tools/pep2html.py: Added to project from Python (nondist/peps).
2777   Added support for Docutils (reStructuredText PEPs).
2779 * tools/quicktest.py:
2781   - Added the ``--attributes`` option, hacked a bit.
2782   - Added a second command-line argument (output file); cleaned up.
2784 * tools/stylesheets/: Subdirectory added to project.
2786 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2789 Release 0.1 (2002-04-20)
2790 ========================
2792 This is the first release of Docutils, merged from the now inactive
2793 reStructuredText__ and `Docstring Processing System`__ projects.  For
2794 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2795 `DPS HISTORY`__ files.
2797 __ http://structuredtext.sourceforge.net/
2798 __ http://docstring.sourceforge.net/
2799 __ http://structuredtext.sourceforge.net/HISTORY.html
2800 __ http://docstring.sourceforge.net/HISTORY.html
2802 General changes: renamed 'dps' package to 'docutils'; renamed
2803 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2804 the test suites (reStructuredText's test/test_states renamed to
2805 test/test_rst); and all modifications required to make it all work.
2807 * docutils/parsers/rst/states.py:
2809   - Improved diagnostic system messages for missing blank lines.
2810   - Fixed substitution_reference bug.
2814    Local Variables:
2815    mode: indented-text
2816    indent-tabs-mode: nil
2817    sentence-end-double-space: t
2818    fill-column: 70
2819    End: