Documentation update.
[docutils.git] / HISTORY.txt
blobcf104919b57a7654e8198d5b5ed207e70e67c6fe
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.1
17 ===================
19 * General
20   
21   - Dropped support for Python 2.3.
22   - ``docutils/math``, ``docutils/error_reporting.py``, and
23     ``docutils/urischemes.py`` moved to the utils package.
24   - Fix [3541369] Relative __import__ also with Python 3.3.
26 * docutils/io.py
28   - FileInput/FileOutput: no system-exit on IOError.  The `handle_io_errors`
29     option is ignored and will be removed in a future release.
31 * docutils/parsers/rst/directives/misc.py
33   - Fix [ 3546533 ] unicode error with date directive.
35 * docutils/writers/manpage.py
37   - Apply [3527401] addmonition's don't preserve indentation
38   - Apply [3527397] Add indentation to literal blocks in manpage writer.
41 Release 0.9.1 (2012-06-17)
42 ==========================
44 * docutils/setup.py
46   - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
47     installed in the PYTHONPATH. Converted tests are now
48     stored in ``test3/``, tools no longer need conversion.
50     If you installed one of Docutils versions 0.7 ... 0.9 with
51     ``setup.py install`` under Python 3, remove the spurious
52     ``test/`` and ``tools/`` directories in the site library root.
54 * docutils/test/
56   - Make tests independent from the location of the ``test/`` directory.
57   - Use converted sources (from the ``build/`` directory) for tests under
58     Python 3.
60 * docutils/tools/
62   - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
64 * docutils/io.py
66   - Fix writing binary data to sys.stdout under Python 3 (allows
67     ``rst2odt.py`` to be used with output redirection).
69 * docutils/parsers/rst/directives/misc.py
71   - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
72     ``locale == C`` and 8-bit char in path argument of `include` directive.
74 * docutils/test/alltests.py
76   - class `Tee`: catch UnicodeError when writing to "ascii" stream or
77     file under Python 3.
79 Release 0.9 (2012-05-02)
80 ========================
82 * General:
84   - New reStructuredText "code" role and directive and "code" option
85     of the "include" directive with syntax highlighting by Pygments_.
86   - Fix parse_option_marker for option arguments containing ``=``.
87   - Fix [ 2993756 ]: import Python Imaging Library's Image module
88     via ``import PIL`` as starting with PIL 1.2,
89     "PIL lives in the PIL namespace only" (announcement__).
91 .. _Pygments: http://pygments.org/
92 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
94 * setup.py
96   - Fix [ 2971827 ] and [ 3442827 ]
97     extras/roman.py moved to docutils/utils/roman.py
99 * docutils/frontend.py
101   - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
103 * docutils/io.py
105   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
106   - `mode` argument for FileOutput avoids code replication in
107     BinaryFileOutput.
108   - New exceptions InputError and OutputError for IO errors in
109     FileInput/FileOutput.
111 * docutils/core.py:
113   - No "hard" system exit on file IO errors: catch and report them in
114     `Publisher.reportException` instead. Allows handling by a calling
115     application if the configuration setting `traceback` is True.
117 * docutils/utils.py -> docutils/utils/__init__.py
119   - docutils.utils is now a package (providing a place for sub-modules)
121   .. note:: docutils/math, docutils/error_reporting.py, and
122      docutils/urischemes.py will move to the utils package in the next
123      release, too. See RELEASE-NOTES__
125      __ RELEASE-NOTES.html
127   - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
128     errors recording non-ASCII filenames (fixes [ 3434355 ]).
130   - Fix relative_path() with source=None and `unicode` target.
132 * docutils/parsers/rst/states.py
134   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
135     characters and "international" quotes around inline markup.
136   - Use `field_marker` pattern to look for start of a
137     directive option block (fixes [ 3484857 ]).
139 * docutils/parsers/rst/tableparser.py
141   - Fix [ 2926161 ] for simple tables.
142     (Combining chars in grid tables still contribute to cell width.)
144 * docutils/writers/latex2e/__init__.py
146   - Support the `abbreviation` and `acronym` standard roles.
147   - Record only files required to generate the LaTeX source as dependencies.
148   - Fix handling of missing stylesheets.
149   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
150     when suppressing LaTeX section numbering.
151   - Use ``\DUtitle`` for unsupported section levels
152   - Apply [ 3512791 ] do not compare string literals with "is"
154 * docutils/writers/xetex/__init__.py
156   - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
158 * docutils/writers/html4css1/__init__.py
160   - Change default for `math-output` setting to MathJax.
161   - Fix handling of missing stylesheets.
163 * docutils/writers/docutils_xml.py
165   - Use the visitor pattern with default_visit()/default_depart() methods
166     instead of minidom to facilitate special handling of selected nodes.
167   - Support raw XML (inserted as-is inside a <raw></raw> node).
169 * docutils/writers/manpage.py
171   - Do not emit comment line with trailing blank. Problematic for VCS.
173 Release 0.8.1 (2011-08-30)
174 ==========================
176 * General:
178   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
179     and [ 3395920 ] (correct copyright info for rst.el).
181 * docutils/test/
183   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
185 * docutils/writers/latex2e/__init__.py
187   - Clean up Babel language setting. Restores Sphinx compatibility.
189 Release 0.8 (2011-07-07)
190 ========================
192 * General:
194   - Handle language codes according to `BCP 47`_.
195   - If the specified language is not supported by Docutils,
196     warn and fall back to English.
197   - Math support: reStructuredText "math" role and directive,
198     ``math`` and ``math_block`` doctree elements.
199   - Decode command line arguments with the locale's preferred encoding
200     (to allow, e.g., ``--title=Dornröschen``).
201   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
202   - New sub-module `error_reporting`: handle encoding/decoding errors
203     when reporting exceptions.
204   - Some additions to the Docutils core are released under the 2-Clause BSD
205     license, see COPYING_ for details.
207   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
208   .. _COPYING: COPYING.html
210 * reStructuredText:
212   - Most directives now support a "name" option that attaches a
213     reference name.
215   - Directive content may start on the first line also when the directive
216     type accepts options.
218 * docs/dev/policies.txt:
220   - Recommend the 2-Clause BSD license
221     (http://www.spdx.org/licenses/BSD-2-Clause)
222     for code that is kept under the author's copyright.
224 * tools/buildhtml.py:
226   - Fix ``--local`` switch.
228 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
230 * docutils/writers/html4css1/__init__.py
232   - Set "lang" argument for objects with class argument
233     "language-<language tag>".
234   - New setting "math-output" with support for HTML, MathML, and LaTeX.
236 * docutils/writers/latex2e/__init__.py
238   - Fix [ 3043986 ] AttributeError using :local: with table of content.
239   - Place title data in the document preamble.
240   - Load `babel` package only if required.
241   - Update list of supported languages.
242   - New config setting "hyperref-options".
243     No hard-coded "unicode" hyperref option (clash with xetex).
244   - Set language for custom roles, paragraphs, block-quotes, and
245     line-quotes with class argument "language-<language tag>".
246   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
247   - Convert image URI to a local file path.
248   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
249     has more than one paragraph (Wolfgang Scherer).
250   - \leavevmode before longtable only when needed (prevents spurious vspace)
251   - do not advance table counter for tables without caption
253 * docutils/writers/xetex/__init__.py
255   - New writer generating LaTeX code for compiling with ``xelatex``.
257     A separate writer (inheriting from latex2e) instead of a ``--xetex``
258     option allows separate config options for XeTeX vs. LaTeX2e.
260 * docutils/writers/manpage.py
262   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
263   - Fix: vertical space cleaning for option group ``.``.
265 * tools/editors/emacs/rst.el:
267   - Fix [ 3001100 ] does not handle spaces in filenames
268     (thanks to Jakub Wilk)
270 * docutils/utils.py:
272   - strip whitespace from stylesheet arguments
273   - exclude combining chars from column_width()
274     (partial fix for [ 2926161 ])
276 * docutils/parsers/rst/directives/misc.py:
278   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
279     nested_parse
281 * docutils/io.py:
283   - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
284     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
286 Release 0.7 (2010-07-07)
287 ========================
289 * General:
291   - Fix [ 2881769 ] setup configuration.
292   - Fix [ 2788716 ] reporting problems in included files.
294 * docutils/io.py
296   - FileInput opens files as text files with universal newline support
297     (mode "rU", configurable with the new optional argument "mode").
299 * docutils/nodes.py
301   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
303 * docutils/utils.py
305   - Fix [ 2923723 ] let decode_path() tolerate path == None
307 * docutils/writers/html4css1/__init__.py
309   - Support SVG and SWF images (thanks to Stefan Rank).
310   - Generate valid XHTML for centered images with targets.
311     Use CSS classes instead of "align" tags for image alignment.
313 * docutils/writers/latex2e/__init__.py
315   - Use `transforms.writer_aux.Admonitions` to "normalize" special
316     admonitions.
317   - Use the ``\url`` command for URLs (breaks long URLs instead of
318     writing into the margin).
319   - Preserve runs of spaces in `inline literals`__.
320   - Deprecate ``figure_footnotes`` setting.
321   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
322   - New ``latex_preamble`` setting.
323   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
324   - Fix hyperlink targets (labels) for images, figures, and tables.
325   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
326   - Apply [ 2961991 ] Call hyperref with unicode option.
327   - Drop the special `output_encoding`__ default ("latin-1").
328     The Docutils wide default (usually "UTF-8") is used instead.
329   - Render inline markup in document title and subtitle.
330   - Fix numbering depth with LaTeX section numbering.
331   - Update Unicode -> LaTeX translations.
332   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
334 __ docs/ref/restructuredtext.html#inline-literals
335 __ docs/user/config.html#docutils-footnotes
336 __ docs/user/config.html#output_encoding
338 * docutils/writers/manpage.py
340   - Fix: supported attribute (thanks to peter2108).
341   - Remove trailing blanks in code (keep in sync with mercurial version).
342   - Titles level 1, that is ``.SH``, always uppercase.
343   - Apply patch from mg: literal text should be bold in man-pages.
345 * docutils/nodes.py
347   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
348     turkish locale.
350 * setup.py:
352   - Python 3 support: copy test/ and tools/ to the build-dir
353     and convert Python sources with 2to3.
356 Release 0.6 (2009-10-11)
357 ========================
359 * General:
361   - Docutils is now compatible with Python versions from 2.3 up to 2.6
362     and convertible to 3.1 code.
364     + Node.__nonzero__ returns True instead of 1.
365     + use os.walk instead os.path.walk.
366     + minimize "types" module where possible.
367     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
368     + Text nodes now subclass unicode rather than UserString
369       (which is gone in python 3.0).
370     + 3.0 compatibility module docutils._compat
372     + Drop 2.2 compatibility workarounds.
373     + Drop extras/optparse.py and extras/textwrap.py
374       (stdlib modules since 2.3).
376   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
377   - Unix man page export: manpage writer moved from sandbox to Doctutils
378     core.
380   - Apply [ 1719345 ] Galician translation
381   - Apply [ 1905741 ] Polish translation
382   - Apply [ 1878977 ] make_id(): deaccent characters.
383   - Apply [ 2029251 ] return nonzero when tests fail.
384   - Fix [ 1692788 ] allow UTF-8 in style sheets.
385   - Fix [ 2781629 ] support non-ASCII chars in file names.
386   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
387   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
388   - Fix [ 2821266 ] --strict option works now like --halt=info.
389   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
390   - Fix [ 1627229 ] hyperlink references in substitutions.
392   - The "newlatex" writer is orphaned.
394 * reStructuredText:
396   - Documented Unicode characters allowed as inline markup openers,
397     closers, and delimiters.
398   - Allow units for all length specifications.
399   - Allow percent sign in "scale" argument of "figure" and "image" directives.
400   - Bugfix: The "figalign" argument of a figure now works as intended
401     (aligning the figure, not its contents).
402   - Align images with class "align-[right|center|left]"
403     (allows setting the alignment of an image in a figure).
405 * docutils/nodes.py:
407   - Added ``Element.__contains__`` method, for the in-operator.
409 * docutils/parsers/rst/states.py:
411   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
412   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
413     " " (non-breaking space), and "¡ ¿" openers.
415 * docutils/parsers/directives/misc.py:
417   - Added ``start-line`` and ``end-line`` options to "include"
418     directive to select a range of lines.
419   - Hard tabs in literal inclusions are replaced by spaces. This is
420     configurable via the new ``tab-width`` option of the "include" directive
421     (a negative tab-width prevents tab expansion).
423 * docutils/utils.py:
425   - Add ``get_stylesheet_list`` function.
426   - Apply [ 2834836 ] print info at halt
428 * docutils/transforms/universal.py:
430   - Raise default priority of StripClasses to exclude stripped classes from
431     the ToC.
433 * docutils/writers/html4css1/__init__.py:
435   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
436     separated list of stylesheets.
437   - Address [ 1938891 ] Inline literal text creates "pre" span only when
438     needed to prevent inter-word line wraps.
439   - Use `translate` method instead of repeated `replace` calls.
440   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
441     classes to allow CSS styling that does not interfere with other
442     table-using constructs (field lists, citations, ...).
444 * docutils/writers/newlatex2e/__init__.py:
446   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
448 * docutils/writers/latex2e/__init__.py (see also
449   `<docs/user/docutils-05-compat.sty.html>`__) :
451   - Add ``--embed-stylesheet`` option.
452   - Apply [ 1474017 ] image vertical alignment is reversed.
453   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
454   - Change: has_key for dictionaries (not Nodes) to in-operator.
455   - Merge adjacent citations into one latex cite command.
456   - Failsave implementation of custom roles. LaTeX compilation now ignores
457     unknown classes instead of aborting with an error.
458   - Support custom roles based on standard roles.
459   - LaTeX packages can be used as ``--stylesheet`` arguments without
460     restriction. (A style sheet is now referenced with the ``\usepackage``
461     command, if it ends with ``.sty`` or has no extension.)
462   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
463   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
464   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
465     2005-02-04 as a configurable length unit).
466   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
467     if font-encoding is set to ''. LaTeX defaults to OT1 then.
468   - Set sub- and superscript role argument in text mode not as math.
469     Use a custom role based on sub-/superscript if you want italic shape.
470   - Shorter preamble and less dependencies: Load packages and define macros
471     only if required in the document.
472   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
473   - New custom environments and commands with optional "classes" argument.
474   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
475   - Better conformance to Docutils specifications with ``--use-latex-toc``.
476     Support for LaTeX generated ToC also with unnumbered sections.
477   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
478     section numbering by LaTeX.
479   - Use default font in admonitions and sidebar.
480   - Align of image in a figure defaults to 'center'.
481   - Bugfix: Newlines around targets and references prevent run-together
482     paragraphs.
483   - Fix internal hyperlinks.
484   - Use class defaults for page margins ('typearea' now optional).
485   - Float placement made configurable, default changed to "here definitely".
486   - Typeset generic topic as "quote block with title".
487   - Use template (file and configuration option).
488   - In the default template, load cmap.sty (fix text extraction in PDF) and
489     fixltx2e.sty (LaTeX patches, \textsubscript).
490   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
491   - Use `translate` instead of repeated `replace` calls for text encoding.
492   - Hyperlinked footnotes and support for symbol footnotes and
493     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
494   - Complete pairs of binary options
495     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
496     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
497   - New defaults:
498     - font-encoding: "T1" (formerly implicitely set by 'ae').
499     - use-latex-toc: true (ToC with page numbers).
500     - use-latex-footnotes: true (no mixup with figures).
502 * docutils/writers/manpage.py
504   - Do not print version at document end, this is done by the viewer.
505   - Do not print date at document end, this is done by the viewer.
506   - Fix storage of docinfo fields for none standard fields.
508 * docutils/tools/rst2man.py
510 Release 0.5 (2008-06-25)
511 ========================
513 * docutils/languages/he.py: Added to project: Hebrew mappings by
514   Meir Kriheli.
516 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
517   mappings by Meir Kriheli.
519 * docutils/frontend.py:
521   - Configuration files are now assumed and required to be
522     UTF-8-encoded.
523   - Paths of applied configuration files are now recorded in the
524     runtime setting ``_config_files`` (accessible via
525     ``--dump-settings``).
526   - Added ``--strip-elements-with-class`` and ``--strip-class``
527     options (``strip_elements_with_classes`` and ``strip_classes``
528     settings).
530 * docutils/io.py:
532   - Added code to determine the input encoding from data: encoding
533     declarations or the presence of byte order marks (UTF-8 & UTF-16).
534   - Added support for IronPython 1.0.
536 * docutils/nodes.py:
538   - Added ``document.__getstate__`` method, for pickling.
540 * docutils/parsers/rst/states.py:
542   - Allow ``+`` and ``:`` in reference names.
543   - Unquoted targets beginning with an underscore (``.. __target:
544     URI``) are no longer accepted.
545   - Added support for multiple attributions in a physical block quote
546     (indented text block), dividing it into multiple logical block
547     quotes.
548   - Added support for unicode bullets in bullet lists: "•", "‣", and
549     "⁃".
550   - Added support for new object-oriented directive interface,
551     retaining compatibility to the old functional interface.
552   - Added support for throwing ``DirectiveError``'s from within
553     directive code.
555 * docutils/parsers/rst/__init__.py:
557   - Added ``Directive`` base class.
558   - Added ``DirectiveError`` base class.
559   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
560     definitions.
562 * docutils/parsers/directives/:
564   - Refactored all reStructuredText directives to use the new
565     object-oriented directive interface.  Errors are now (mostly)
566     thrown using the new ``DirectiveError`` class.
568 * docutils/parsers/directives/misc.py:
570   - Added ``start-after`` and ``end-before`` options to ``include``
571     directive; thanks to Stefan Rank.
573 * docutils/transforms/universal.py:
575   - Added ``StripClassesAndElements`` transform to remove from the
576     document tree all elements with classes in
577     ``settings.strip_elements_with_classes`` and all "classes"
578     attribute values in ``self.document.settings.strip_classes``.
580 * docutils/transforms/writer_aux.py:
582   - Added ``Admonitions`` transform to transform specific admonitions
583     (like ``note``, ``warning``, etc.) into generic admonitions with a
584     localized title.
586 * docutils/writers/html4css1/__init__.py:
588   - Moved template functionality from the PEP/HTML writer here.
589   - Expanded the fragments available in the ``parts`` attribute.
590   - Moved ``id`` attributes from titles to surrounding ``div``
591     elements.
592   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
593     universally supported now).
594   - ``template.txt`` is now opened in text mode instead of binary mode
595     (to ensure Windows compatibility).
596   - ``a`` elements now have an "internal" or "external" class,
597     depending on reference type.
599 * docutils/writers/html4css1/template.txt: Added to project.
601 * docutils/writers/pep_html/:
603   - Moved template functionality to the HTML writer.
605 * docutils/writers/s5_html/__init__.py:
607   - Added ``view_mode`` & ``hidden_controls`` settings
608     (``--view-mode`` & ``--hidden-controls/--visible-controls``
609     options).
611 * docutils/writers/latex2e/__init__.py:
613   - Add ``--literal-block-env``
614   - Fix: escaping ``%`` in href urls.
615   - Move usepackage hyperref after stylesheet inclusion.
616   - Fix: scrartcl does not have chapter but scrreprt.
617   - Add newline after ``\end{verbatim}``.
618   - Merge smaller differences from latex2e_adaptive_preamble.
619   - Add ``use-part-section``.
620   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
621   - Using leavemode option_list no longer needs to check if parent
622     is a definition list.
623   - Append ``\leavemode`` to definition list terms.
624   - No longer write visit\_/depart_definition_list_item comments to
625     output.
626   - Table column width with 3 decimal places.
627   - Add table stubs support (boldfont).
628   - Add assemble_parts to writer.
629   - Add simply support for nested tables.
630   - Fix verbatim in tables if use-verbatim-when-possible.
631   - Use section commands down to subparagraph.
632   - Put ensuremath around some latin1 chars.
633   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
634   - New option ``--use-bibtex=style,db1,db2``.
635   - New option ``--reference-label`` to allow usage of LaTeX ref for
636     labels in section references.
637   - Add a label after every section to support sectionnumbers as reference
638     labels.
639   - Fix: bug# 1605376 rst2latex: bad options group list
640   - Remove inactive code for use_optionlist_for_option_list.
641   - Remove latex comments from option_list output.
642   - Fix: bug# 1612270 double qoutes in italian literal.
643   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
644   - Add option --use-latex-abstract.
645   - Image width unit ``px`` is translated to ``pt``.
646   - Add image height support.
647   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
648     bug #1457388
649   - Fix: Do not escape underscores in citation reference labels if
650     use-latex-citations is set.
651   - Use centering instead of center for figure contents, to avoid vertical
652     space.
653   - Recognize table class: borderless, nolines, booktabs, standard.
654   - Fix: Renaming contents section does not work with latex writer; SF
655     bug #1487405.
656   - Applied patch for custom roles with classes from Edward Loper.
657   - Fixed bug that caused crashes with more than 256 lists.
659 * docutils/writers/pep_html/__init__.py:
661   - Changed to support new python.org website structure and
662     pep2pyramid.py.
664 * docs/howto/security.txt: "Deploying Docutils Securely", added to
665   project.
667 * tools/buildhtml.py:
669   -- Added ``ignore`` setting to exclude a list of shell patterns
670      (default: ``.svn:CVS``).
672 * tools/editors/emacs/rst.el:
674   - Changed license to "GPL".
675   - Added ``rst-straighten-decorations`` function.
676   - The ``compile`` module is now always loaded.
677   - Added ``rst-toggle-line-block`` function.
678   - Headings consisting only of non-ASCII characters are now
679     recognized by ``rst-toc`` and ``rst-adjust``.
680   - Added font-lock support for multi-line comments where the first
681     comment line is empty.
682   - Added ``(require 'font-lock)``.
684 * setup.py:
686   - Provide descriptive error message if distutils is missing.
689 Release 0.4 (2006-01-09)
690 ========================
692 * General:
694   - Updated the project policies for trunk/branch development &
695     version numbering.
697 * docutils/__init__.py:
699   - Added ``__version_details__`` attribute to describe code source
700     (repository/snapshot/release).
701   - Replaced ``default_transforms`` attribute of TransformSpec with
702     ``get_transforms()`` method.
704 * docutils/core.py:
706   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
707     functions, for document tree extraction and reprocessing.
709 * docutils/io.py:
711   - Added ``DocTreeInput`` class, for reprocessing existing documents.
712   - Added support for non-Unicode (e.g. binary) writer output.
714 * docutils/nodes.py:
716   - Re-introduced ``Targetable.indirect_reference_name``, for
717     MoinMoin/reST compatibility (removed in r3124/r3129).
718   - Added ``serial_escape`` function; escapes string values that are
719     elements of a list, for serialization.  Modified Docutils-XML
720     writing (``Element._dom_node``) and pseudo-XML writing
721     (``Element.starttag``) to use ``serial_escape``.
722   - Added ``Node.deepcopy()`` method.
723   - Removed the internal lists ``document.substitution_refs``,
724     ``document.anonymous_refs``, and ``document.anonymous_targets``.
725   - Added a "container" element.
726   - Fixed bug where values of list-valued attributes of elements
727     originating from custom interpreted text roles (i.e., with custom
728     classes) were being shared between element instances.  Reported by
729     Shmuel Zeigerman.
731 * docutils/statemachine.py:
733   - Added trailing whitespace stripping to ``string2lines()``.
734   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
735     Asian double-width character support.
737 * docutils/utils.py:
739   - Added ``east_asian_column_width()`` for double-width character
740     support.
742 * docutils/languages/ja.py: Added to project: Japanese mappings by
743   Hisashi Morita.
745 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
746   mappings by Panjunyong.
748 * docutils/parsers/null.py: Added to project; a do-nothing parser.
750 * docutils/parsers/rst/__init__.py:
752   - Added validator to tab_width setting, with test.  Closes SF bug
753     #1212515, report from Wu Wei.
755 * docutils/parsers/rst/states.py:
757   - Fixed bug with escaped colons indicating a literal block.
758   - Fixed bug with enumerated lists (SF#1254145).
759   - Backslash-escaped colons inside of field names are now allowed.
760   - Targets (implicit and explicit), anonymous hyperlink references
761     and auto-numbered footnote references inside of substitution
762     definitions are now disallowed.
763   - Fixed bug: list items with blank first lines.
764   - Fixed bug: block quote attributions with indented second lines.
765   - Added East Asian double-width character support (Python 2.4 only).
767 * docutils/parsers/rst/tableparser.py:
769   - Added East Asian double-width character support (Python 2.4 only).
771 * docutils/parsers/rst/directives/body.py:
773   - Added the "container" directive.
775 * docutils/parsers/rst/directives/misc.py:
777   - Added the "default-role", "title", and "date" directives.
778   - Added standard data file syntax to the "include" directive.
779   - Added support for "class" directive content.
781 * docutils/parsers/rst/directives/images.py:
783   - Added ``indirect_reference_name`` support for images with a target
784     option.
785   - Added support for image width and height units.
786   - Fixed bug with image "target" options.
788 * docutils/parsers/rst/directives/references.py:
790   - Added "class" attribute to "target-notes" directive, for
791     footnote_reference classes.
793 * docutils/parsers/rst/include/: Directory added to project; contains
794   standard data files for the "include" directive.  Initial contents:
795   character entity substitution definition sets, and a set of
796   definitions for S5/HTML presentations.
798 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
799   mappings by David Goodger.
801 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
802   Simplified Chinese mappings by Panjunyong.
804 * docutils/readers/__init__.py:
806   - Added universal.Decorations and universal.ExposeInternals
807     transforms as default transforms for all readers.
808   - Added ``ReReader`` base class for readers that reread an existing
809     document tree.
811 * docutils/readers/doctree.py: Added to project; a reader for existing
812   document trees.
814 * docutils/transforms/frontmatter.py:
816   - Fixed the DocInfo transform to handle SVN-style expansion of the
817     "Date" keyword.
818   - In ``DocInfo.extract_authors``, treat the contents of "authors"
819     fields uniformly.
821 * docutils/transforms/misc.py:
823   - Added misc.Transitions transform, extracted from
824     universal.FinalChecks.
826 * docutils/transforms/references.py:
828   - Added references.DanglingReferences transform, extracted from
829     universal.FinalChecks.
830   - Fixed bug with doubly-indirect substitutions.
831   - Added footnote_reference classes attribute to "TargetNotes".
832   - Fixed bug with circular substitution definitions that put Docutils
833     into an infinite loop.
835 * docutils/transforms/universal.py:
837   - Added universal.ExposeInternals transform, extracted from
838     universal.FinalChecks.
839   - Removed universal.FinalChecks transform (logic has been moved to
840     several new transforms).
841   - Fixed bug with the "expose_internals" setting and Text nodes
842     (exposed by the "rawsource" internal attribute).
843   - Added the universal.StripComments transform, implementation of the
844     "strip_comments" setting.
846 * docutils/transforms/writer_aux.py: Added to project; auxiliary
847   transforms for writers.
849   - Added ``Compound`` transform, which flattens compound paragraphs.
851 * docutils/writers/: Several writer modules (html4css1.py) were
852   converted into packages.  Support modules and data files have been
853   moved into the packages.  The stylesheets for the HTML writers are
854   now installed along with the code, the code knows where to find
855   them, and the default is to use them (actually, to embed them).
856   Some adjustments to configuration files may be necessary.  The
857   easiest way to obtain the new default behavior is to remove all
858   settings whose name includes "stylesheet".
860 * docutils/writers/__init__.py:
862   - Added universal.Messages and universal.FilterMessages transforms
863     as default transforms for all writers.
864   - Added ``UnfilteredWriter`` base class for writers that pass the
865     document tree on unchanged.
867 * docutils/writers/docutils_xml.py:
869   - Made ``xmlcharrefreplace`` the default output encoding error
870     handler.
872 * docutils/writers/html4css1/:
874   - Added support for image width and height units.
875   - Made ``xmlcharrefreplace`` the default output encoding error
876     handler.
877   - Made ``--embed-stylesheet`` the default rather than
878     ``--link-stylesheet``.
879   - Moved "id" attribute from container (section etc.) to title's <a>
880     tag, to be on the same tag as "name".
881     (!!! To be reverted in Docutils 0.5.)
882   - Added vertical space between fields of field lists.
883   - Added ``--compact-field-lists`` option to remove vertical space in
884     simple field lists.
885   - Made cloaking of email addresses with ``--cloak-email-addresses``
886     less obtrusive.
887   - Fixed support for centered images.
888   - Added support for class="compact" & class="open" lists.
890 * docutils/writers/latex2e/:
892   - Underscores in citekeys are no longer escaped.
894 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
895   mapping of Unicode characters to LaTeX equivalents.
897 * docutils/writers/s5_html/: Package added to project; writer for
898   S5/HTML slide shows.
900 * docs/dev/distributing.txt: Added to project; guide for distributors
901   (package maintainers).
903 * docs/dev/hacking.txt: Added to project; guide for developers.
905 * docs/ref/doctree.txt:
907   - Updated for plural attributes "classes", "ids", "names",
908     "dupnames".
909   - Added the "container" element.
911 * docs/ref/docutils.dtd:
913   - Updated for plural attributes "classes", "ids", "names",
914     "dupnames".
916 * docs/user/emacs.txt: Added to project; a document about Emacs
917   support for reStructuredText and Docutils.
919 * docs/user/links.txt: Added to project; lists of Docutils-related
920   links.
922 * docs/user/mailing-lists.txt: Added to project; information about
923   Docutils-related mailing lists and how to access them.
925 * docs/user/slide-shows.txt: Added to project; example of and docs for
926   the S5/HTML writer (``rst2s5.py`` front end).
928 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
929   Files", added to project.
931 * test/coverage.sh: Added to project; test coverage script.
933 * test/DocutilsTestSupport.py:
935   - Added support for specifying runtime settings at the suite level.
937 * test/test_functional.py:
939   - Added the ``clear_output_directory`` function.
940   - Added support for ``_test_more`` functions in functional test
941     config files.
943 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
945 * tools/rstpep2html.py: Renamed from pep.py.
947 * tools/dev/create_unimap.py: Added to project; script to create the
948   docutils/writers/unimap_latex.py mapping file.
950 * tools/dev/profile_docutils.py: Added to project; profiler script.
952 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
954 * tools/editors/emacs/restructuredtext.el,
955   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
956   Removed from project; the functionality is now contained in rst.el.
958 * tools/editors/emacs/rst.el: Added to project.  Added many features
959   and fixed many bugs.  See docs/user/emacs.txt for details.
961 * tools/stylesheets: Removed from project.  Stylesheets have been
962   renamed and moved into writer packages.
965 Release 0.3.9 (2005-05-26)
966 ==========================
968 * General:
970   - Eliminated and replaced all uses of the old string attributes
971     ``id``, ``name``, ``dupname`` and ``class`` with references to the
972     new list attributes ``ids``, ``names``, ``dupnames`` and
973     ``classes`` throughout the whole source tree.
975 * docutils/core.py:
977   - Enabled ``--dump-*`` options when ``--traceback`` specified,
978     allowing for easier debugging.
979   - In ``Publisher.publish()``, expanded the generic top-level
980     exception catching.
982 * docutils/examples.py:
984   - Added ``internals`` function for exploration.
986 * docutils/io.py:
988   - Fixed ``Input.decode`` method to apply heuristics only if no
989     encoding is explicitly given, and to provide better reporting of
990     decoding errors.
991   - The ``Input.decode`` method now removes byte order marks (BOMs)
992     from input streams.
994 * docutils/nodes.py:
996   - ``image`` element class changed to subclass of Element, not
997     TextElement (it's an empty element, and cannot contain text).
998   - Added ``attr_defaults`` dictionary for default attribute values.
999   - Added empty list as default value for the following attributes:
1000     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
1001   - Added ``document.decoration`` attribute,
1002     ``document.get_decoration`` method, and ``decoration.get_header``
1003     & ``.get_footer`` methods.
1004   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
1005     methods.
1007 * docutils/utils.py:
1009   - Removed ``docutils.utils.Reporter.categories``,
1010     ``docutils.utils.ConditionSet``, and all references to them, to
1011     simplify error reporting.
1013 * docutils/languages/nl.py: Added to project; Dutch mappings by
1014   Martijn Pieters.
1016 * docutils/parsers/rst/__init__.py:
1018   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
1020 * docutils/parsers/rst/states.py:
1022   - Added check for escaped at-mark to prevent email address recognition.
1023   - Fixed option lists to allow spaces inside ``<angle-bracketed option
1024     arguments>``.
1025   - Allowed whitespace in paths and URLs.
1026   - Added auto-enumerated list items.
1027   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
1028     followed by text.
1029   - Added support for table stub columns.
1031 * docutils/parsers/rst/directives/__init__.py:
1033   - Allowed whitespace in paths (``path`` function).
1034   - Added ``uri`` directive option conversion function.
1036 * docutils/parsers/rst/directives/body.py:
1038   - Fixed illegal context bug with "topic" directive (allowed within
1039     sidebars; not within body elements).
1041 * docutils/parsers/rst/directives/images.py:
1043   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1044   - Added support for the ``file_insertion_enabled`` setting in the
1045     "figure" directive (disables "figwidth" option).
1046   - "image" directive: added checks for valid values of "align" option,
1047     depending on context.  "figure" directive: added specialized
1048     "align" option and attribute on "figure" element.
1049   - Made ":figwidth: image" option of "figure" directive work again.
1050   - Fixed bug with reference names containing uppercase letters
1051     (e.g. ``Name_``) in "target" option of "image" directive.
1053 * docutils/parsers/rst/directives/misc.py:
1055   - Fixed "include" and "raw" directives to catch text decoding
1056     errors.
1057   - Allowed whitespace in "include" & "raw" directive paths.
1058   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1059     settings in "include" & "raw" directives.
1061 * docutils/parsers/rst/directives/parts.py:
1063   - Added "header" & "footer" directives.
1064   - Fixed illegal context bug with "contents" directive (topics
1065     allowed within sidebars; not within body elements).
1067 * docutils/parsers/rst/directives/tables.py:
1069   - Added "list-table" directive.
1070   - Caught empty CSV table bug.
1071   - Added support for the ``file_insertion_enabled`` setting in the
1072     "csv-table" directive.
1073   - Added ``stub-columns`` option to "csv-table" and "list-table"
1074     directives.
1076 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1077   mappings by Martijn Pieters.
1079 * docutils/readers/standalone.py:
1081   - Added ``--section-subtitles`` and ``--no-section-subtitles``
1082     options to activate or deactivate the SectSubTitle transform.
1084 * docutils/transforms/frontmatter.py:
1086   - Added SectSubTitle transform to promote titles of lone
1087     subsections to subtitles.
1089 * docutils/transforms/references.py:
1091   - Fixed mislocated internal targets bug, by propagating internal
1092     targets to the next node, making use of the newly added support
1093     for multiple names and IDs.
1094   - Fixed duplicate footnote label bug.
1095   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1096     transform.
1098 * docutils/writers/html4css1.py:
1100   - Fixed unencoded stylesheet reference bug (characters like "&" in
1101     stylesheet references).
1102   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1103     tags).
1104   - Added support for multiple IDs per node by creating empty ``span``
1105     tags.
1106   - Added the ``field_name_limit`` & ``option_limit`` settings &
1107     support.
1108   - Added support for table stub columns.
1109   - Added support for the ``align`` attribute on ``figure`` elements.
1110   - Added the ``cloak_email_addresses`` setting & support.
1111   - Added ``html_prolog``, ``html_head``, ``html_body``,
1112     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1113     ``docutils.core.publish_parts``.
1114   - Added support for section subtitles.
1116 * docutils/writers/latex2e.py:
1118   - Fixed tables starting with more than one multirow cell.
1119   - Improved --use-latex-docinfo so that organization/contact/address
1120     fields are lumped with the last author field and appear on the
1121     titlepage.
1122   - Made sure the titlepage is always shown with --use-latex-docinfo,
1123     even if the document has no title.
1124   - Made sure that latex doesn't fill in today's date if no date field
1125     was given.
1126   - Added support for section subtitles.
1128 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1129   (under development).
1131 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1133 * docs/api/publisher.txt:
1135   - Added "``publish_parts`` Details" section.
1137 * docutils/dev/repository.txt: Added to project; information about the
1138   Docutils Subversion repository.
1140 * docs/ref/docutils.dtd:
1142   - Added a ``stub`` attribute to the ``colspec`` element via the
1143     ``tbl.colspec.att`` parameter entity.
1144   - Allowed topic elements within sidebars
1145   - Added an ``align`` attribute to the ``figure`` element.
1147 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1148   writer.
1151 Release 0.3.7 (2004-12-24)
1152 ==========================
1154 * docutils/frontend.py:
1156   - Added options: --input-encoding-error-handler,
1157     --record-dependencies, --leave-footnote-reference-space,
1158     --strict-visitor.
1159   - Added command-line and config file support for "overrides" setting
1160     parameter.
1162 * docutils/io.py:
1164   - Added support for input encoding error handler.
1166 * docutils/nodes.py:
1168   - Added dispatch_visit and dispatch_departure methods to
1169     NodeVisitor; useful as a hook for Visitors.
1170   - Changed structure of ``line_block``; added ``line``.
1171   - Added ``compound`` node class.
1172   - Added a mechanism for Visitors to transitionally ignore new node
1173     classes.
1175 * docutils/utils.py:
1177   - Moved ``escape2null`` and ``unescape`` functions from
1178     docutils/parsers/rst/states.py.
1180 * docutils/parsers/rst/roles.py:
1182   - Added "raw" role.
1183   - Changed role function API: the "text" parameter now takes
1184     null-escaped interpreted text content.
1186 * docutils/parsers/rst/states.py:
1188   - Fixed bug where a "role" directive in a nested parse would crash
1189     the parser; the state machine's "language" attribute was not being
1190     copied over.
1191   - Added support for line block syntax.
1192   - Fixed directive parsing bug: argument-less directives didn't
1193     notice that arguments were present.
1194   - Removed error checking for transitions.
1195   - Added support for multiple classifiers in definition list items.
1196   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1197   - Changed role function API: the "text" parameter now takes
1198     null-escaped interpreted text content.
1199   - Empty sections and documents are allowed now.
1201 * docutils/parsers/rst/directives/__init__.py:
1203   - Added ``encoding`` directive option conversion function.
1204   - Allow multiple class names in class_option conversion function.
1206 * docutils/parsers/rst/directives/body.py:
1208   - Converted the line-block directive to use the new structure.
1209   - Extracted the old line-block functionality to the ``block``
1210     function (still used).
1211   - Added ``compound`` directive (thanks to Lea Wiemann).
1213 * docutils/parsers/rst/directives/misc.py:
1215   - Added "encoding" option to "include" and "raw" directives.
1216   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1217   - Allow multiple class names in the "class" directive.
1219 * docutils/parsers/rst/directives/parts.py:
1221   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1222     options.  Thanks to Lele Gaifax.
1224 * docutils/parsers/rst/directives/tables.py:
1226   - Added "encoding" directive to "csv-table" directive.
1227   - Added workaround for lack of Unicode support in csv.py, for
1228     non-ASCII CSV input.
1230 * docutils/transforms/misc.py:
1232   - Fixed bug when multiple "class" directives are applied to a single
1233     element.
1234   - Enabled multiple format names for "raw" directive.
1236 * docutils/transforms/references.py:
1238   - Added support for trimming whitespace from beside substitution
1239     references.
1241 * docutils/transforms/universal.py:
1243   - FinalChecks now checks for illegal transitions and moves
1244     transitions between sections.
1246 * docutils/writers/html4css1.py:
1248   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1249   - "stylesheet" and "stylesheet_path" settings are now mutually
1250     exclusive.
1251   - Added support for the new line_block/line structure.
1252   - --footnote-references now overrides
1253     --trim-footnote-reference-space, if applicable.
1254   - Added support for ``compound`` elements.
1255   - Enabled multiple format names for "raw" directive.
1256   - ``<p>`` tags of a paragraph which is the only visible child of the
1257     document node are no longer stripped.
1258   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1259     new method ``should_be_compact_paragraph()``.
1260   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1261     elements.
1262   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1263     the output if they have their ``class`` attribute set.
1264   - The whole document is now surrounded by a ``<div
1265     class="document">`` element.
1266   - Body-level images are now wrapped by their own ``<div>`` elements,
1267     with image classes copied to the wrapper, and for images which
1268     have the ``:align:`` option set, the surrounding ``<div>`` now
1269     receives a class attribute (like ``class="align-left"``).
1271 * docutils/writers/latex2e.py:
1273   - no newline after depart_term.
1274   - Added translations for some Unicode quotes.
1275   - Added option "font-encoding", made package AE the default.
1276   - "stylesheet" and "stylesheet_path" settings are now mutually
1277     exclusive.
1278   - --footnote-references now overrides
1279     --trim-footnote-reference-space, if applicable.
1280   - The footnote label style now matches the footnote reference style
1281     ("brackets" or "superscript").
1282   - Added support for ``compound`` elements.
1283   - Enabled multiple format names for "raw" directive.
1285 * docs/ref/docutils.dtd:
1287   - Changed structure of the ``line_block`` element; added ``line``.
1288   - Added ``compound`` element.
1289   - Added "ltrim" and "rtrim" attributes to
1290     ``substitution_definition`` element.
1291   - Enabled multiple format names for ``raw`` element.
1292   - Enabled multiple classifiers in ``definition_list_item`` elements.
1294 * docs/ref/rst/directives.txt
1296   - Marked "line-block" as deprecated.
1297   - "Class" directive now allows multiple class names.
1298   - Added "Rationale for Class Attribute Value Conversion".
1299   - Added warning about "raw" overuse/abuse.
1301 * docs/ref/rst/restructuredtext.txt:
1303   - Added syntax for line blocks.
1304   - Definition list items may have multiple classifiers.
1306 * docs/ref/rst/roles.txt:
1308   - Added "raw" role.
1310 * tools/stylesheets/default.css:
1312   - Added support for the new line_block structure.
1313   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1316 Release 0.3.5 (2004-07-29)
1317 ==========================
1319 General:
1321 * _`Documentation cleanup/reorganization`.
1323   - Created new subdirectories of docs/:
1325     * ``docs/user/``: introductory/tutorial material for end-users
1326     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1327     * ``docs/api/``: API reference material for client-developers
1328     * ``docs/ref/``: reference material for all groups
1329     * ``docs/howto/``: for component-developers and core-developers
1330     * ``docs/peps/``: Python Enhancement Proposals
1332   - Moved ``docs/*`` to ``docs/user/``.
1333   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1334     ``spec/`` to ``docs/dev``.
1335   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1336     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1337   - Moved ``alternatives.txt``, and ``problems.txt`` from
1338     ``spec/rst/`` to ``docs/dev/rst/``.
1339   - Moved ``reStructuredText.txt``, ``directives.txt``,
1340     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1341     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1342     ``roles.txt``, ``reStructuredText.txt`` to
1343     ``restructuredtext.txt``.
1344   - Moved ``spec/howto/`` to ``docs/howto``.
1346   In order to keep the CVS history of moved files, we supplied
1347   SourceForge with a `script for modifying the Docutils CVS
1348   repository`__.
1350   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1352   After running the cleanup script:
1354   - Added ``docs/index.txt``.
1355   - Added a ``.htaccess`` file to the ``web`` module, containing
1356     redirects for all old paths to new paths.  They'll preserve
1357     fragments (the "#name" part of a URL), and won't clutter up the
1358     file system, and will correct the URL in the user's browser.
1359   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1360     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1361     the "To Do" list itself in ``docs/dev/todo.txt``.
1362   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1363     section of ``docs/dev/todo.txt``.
1364   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1365   - Added "How To Report Bugs" to ``BUGS.txt``.
1366   - Went through all the sources and docs (including under web/) and
1367     updated links.  Mostly done by Lea Wiemann; thanks Lea!
1368     (Still need to update links in the sandboxes.)
1370 Specific:
1372 * BUGS.txt: Added to project.
1374 * THANKS.txt: Added to project.
1376 * docutils/__init__.py:
1378   - 0.3.4: Post-release.
1380 * docutils/core.py:
1382   - Added special error handling & advice for UnicodeEncodeError.
1383   - Refactored Publisher.publish (simplified exception handling &
1384     extracted debug dumps).
1385   - Renamed "enable_exit" parameter of convenience functions to
1386     "enable_exit_status".
1387   - Enabled traceback (exception propagation) by default in
1388     programmatic convenience functions.
1389   - Now publish_file and publish_cmdline convenience functions return
1390     the encoded string results in addition to their regular I/O.
1391   - Extracted common code from publish_file, publish_string, and
1392     publish_parts, into new publish_programmatically.  Extracted
1393     settings code to ``Publisher.process_programmatic_settings``.
1394   - In Publisher.publish, disabled ``settings_overrides`` when
1395     ``settings`` is supplied; redundant.
1397 * docutils/frontend.py:
1399   - Added help text for "--output-encoding-error-handler" and
1400     "--error-encoding-error-handler".
1401   - Renamed "--exit" to "--exit-status".
1402   - Simplified default-setting code.
1404 * docutils/parsers/rst/__init__.py:
1406   - Added "--pep-base-url" and "--rfc-base-url" options.
1408 * docutils/parsers/rst/states.py:
1410   - Made URI recognition more aggressive and intelligent.
1412 * docutils/parsers/rst/directives/__init__.py:
1414   - Added several directive option conversion functions.
1416 * docutils/parsers/rst/directives/body.py:
1418   - Moved "table" directive to tables.py.
1420 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1421   added to project.
1423 * docutils/writers/latex2e.py:
1425   - Added "--table-style=(standard|booktabs|nolines)"
1426   - figures get "here" option (LaTeX per default puts them at bottom),
1427     and figure content is centered.
1428   - Rowspan support for tables.
1429   - Fix: admonition titles before first section.
1430   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1431   - Replave ``_`` in literal by an underlined blank, because it has the correct
1432     width.
1433   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1434   - A few unicode replacements, if output_encoding != utf
1435   - Add "--graphicx-option".
1436   - Indent literal-blocks.
1437   - Fix: omit ``\maketitle`` when there is no document title.
1439 * docs/index.txt: "Docutils Project Documentation Overview", added to
1440   project.
1442 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1443   Tool", added to project.
1445 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1447 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1449 * docs/dev/policies.txt: Added to project (extracted from
1450   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1452 * docs/dev/release.txt: Added to project (extracted from
1453   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1455 * docs/dev/testing.txt: Added to project.
1457 * docs/dev/website.txt: Added to project (extracted from
1458   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1460 * docs/ref/rst/directives.txt:
1462   - Added directives: "table", "csv-table".
1464 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1465   added to project.  1 page for syntax, and a 1 page reference for
1466   directives and roles.  Source text to be used as-is; not meant to be
1467   converted to HTML.
1469 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1470   with a change of title.
1472 * test/functional/, contents, and test/test_functional.py: Added to
1473   project.
1475 * tools/buildhtml.py: Fixed bug with config file handling.
1477 * tools/html.py: Removed from project (duplicate of rst2html.py).
1479 * tools/pep2html.py: Removed from project (duplicate of Python's
1480   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1481   Docutils-related PEPs in docs/peps/).
1483 * tools/rst2pseudoxml.py: Renamed from publish.py.
1485 * tools/rst2xml.py: Renamed from docutils-xml.py.
1487 * tools/test.txt: Removed from project; moved to
1488   docs/user/rst/demo.txt.
1490 * setup.py: Now also installs ``rst2latex.py``.
1493 Release 0.3.3 (2004-05-09)
1494 ==========================
1496 * docutils/__init__.py:
1498   - 0.3.1: Reorganized config file format (multiple sections); see
1499     docs/config.txt.
1500   - Added unknown_reference_resolvers attribute to TransformSpec.
1501   - 0.3.2: Interpreted text reorganization.
1502   - 0.3.3: Released.
1504 * docutils/core.py:
1506   - Catch system messages to stop tracebacks from parsing errors.
1507   - Catch exceptions during processing report & exit without
1508     tracebacks, except when "--traceback" used.
1509   - Reordered components for OptionParser; application comes last.
1510   - Added "config_section" parameter to several methods and functions,
1511     allowing front ends to easily specify their config file sections.
1512   - Added publish_parts convenience function to allow access to individual
1513     parts of a document.
1515 * docutils/examples.py: Added to project; practical examples of
1516   Docutils client code, to be used as-is or as models for variations.
1518 * docutils/frontend.py:
1520   - Added "--traceback" & "--no-traceback" options ("traceback"
1521     setting).
1522   - Implemented support for config file reorganization:
1523     ``standard_config_files`` moved from ``ConfigParser`` to
1524     ``OptionParser``; added
1525     ``OptionParser.get_config_file_settings()`` and
1526     ``.get_standard_config_settings()``; support for old "[options]"
1527     section (with deprecation warning) and mapping from old to new
1528     settings.
1529   - Reimplemented setting validation.
1530   - Enabled flexible boolean values: yes/no, true/false, on/off.
1531   - Added ``Values``, a subclass of ``optparse.Values``, with support
1532     for list setting attributes.
1533   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1534     thanks to Beni Cherniavsky.
1535   - Added "--no-section-numbering" option.
1537 * docutils/io.py:
1539   - Catch IOErrors when opening source & destination files, report &
1540     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1541     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1543 * docutils/nodes.py:
1545   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1546     method definitions (via ``exec``) to dynamic assignments (via
1547     ``setattr``); thanks to Roman Suzi.
1548   - Encapsulated visitor dynamic assignments in a function; thanks to
1549     Ian Bicking.
1550   - Added indirect_reference_name attribute to the Targetable
1551     class. This attribute holds the whitespace_normalized_name
1552     (contains mixed case) of a target.
1554 * docutils/statemachine.py:
1556   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1557   - Added ``StringList.get_2D_block``.
1559 * docutils/utils.py:
1561   - Added "level" attribute to SystemMessage exceptions.
1563 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1564   Jannie Hofmeyr.
1566 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1567   Blaha.
1569 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1570   Marcelo Huerta San Martin.
1572 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1573   mappings by Lalo Martins.
1575 * docutils/languages/ru.py: Added to project; Russian mappings by
1576   Roman Suzi.
1578 * docutils/parsers/rst/roles.py: Added to project.  Contains
1579   interpreted text role functions, a registry for interpreted text
1580   roles, and an API for adding to and retrieving from the registry.
1581   Contributed by Edward Loper.
1583 * docutils/parsers/rst/states.py:
1585   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1586   - Allowed true em-dash character and "---" as block quote
1587     attribution marker.
1588   - Added support for <angle-bracketed> complex option arguments
1589     (option lists).
1590   - Fixed handling of backslashes in substitution definitions.
1591   - Fixed off-by-1 error with extra whitespace after substitution
1592     definition directive.
1593   - Added inline markup parsing to field lists' field names.
1594   - Added support for quoted (and unindented) literal blocks.
1595     Driven in part by a bribe from Frank Siebenlist (thanks!).
1596   - Parser now handles escapes in URIs correctly.
1597   - Made embedded-URIs' reference text omittable.  Idea from Beni
1598     Cherniavsky.
1599   - Refactored explicit target processing code.
1600   - Added name attribute to references containing the reference name only
1601     through whitespace_normalize_name (no case changes).
1602   - parse_target no longer returns the refname after going through
1603     normalize_name. This is now handled in make_target.
1604   - Fixed bug relating to role-less interpreted text in non-English
1605     contexts.
1606   - Reorganized interpreted text processing; moved code into the new
1607     roles.py module.  Contributed by Edward Loper.
1608   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1609     ``parse_directive_block``.
1611 * docutils/parsers/rst/tableparser.py:
1613   - Reworked for ``StringList``, to support "include" directives in
1614     table cells.
1616 * docutils/parsers/rst/directives/__init__.py:
1618   - Renamed ``unchanged()`` directive option conversion function to
1619     ``unchanged_required``, and added a new ``unchanged``.
1620   - Catch unicode value too high error; fixes bug 781766.
1621   - Beefed up directive error reporting.
1623 * docutils/parsers/rst/directives/body.py:
1625   - Added basic "table" directive.
1627 * docutils/parsers/rst/directives/images.py:
1629   - Added "target" option to "image" directive.
1630   - Added name attribute to references containing the reference name only
1631     through whitespace_normalize_name (no case changes).
1633 * docutils/parsers/rst/directives/misc.py:
1635   - Isolated the import of the ``urllib2`` module; was causing
1636     problems on SourceForge (``libssl.so.2`` unavailable?).
1637   - Added the "role" directive for declaring custom interpreted text
1638     roles.
1640 * docutils/parsers/rst/directives/parts.py:
1642   - The "contents" directive does more work up-front, creating the
1643     "topic" and "title", and leaving the "pending" node for the
1644     transform.  Allows earlier reference resolution; fixes subtle bug.
1646 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1647   mappings by Jannie Hofmeyr.
1649 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1650   mappings by Marek Blaha.
1652 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1653   mappings by Marcelo Huerta San Martin.
1655 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1656   Portuguese mappings by Lalo Martins.
1658 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1659   mappings by Roman Suzi.
1661 * docutils/transforms/parts.py:
1663   - The "contents" directive does more work up-front, creating the
1664     "topic" and "title", and leaving the "pending" node for the
1665     transform.  Allows earlier reference resolution; fixes subtle bug.
1666   - Added support for disabling of section numbering.
1668 * docutils/transforms/references.py:
1670   - Verifying that external targets are truly targets and not indirect
1671     references. This is because we are now adding a "name" attribute to
1672     references in addition to targets. Note sure if this is correct!
1673   - Added code to hook into the unknown_reference_resolvers list for a
1674     transformer in resolve_indirect_target. This allows the
1675     unknown_reference_resolvers to keep around indirect targets which
1676     docutils doesn't know about.
1677   - Added specific error message for duplicate targets.
1679 * docutils/transforms/universal.py:
1681   - Added FilterMessages transform (removes system messages below the
1682     verbosity threshold).
1683   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1684     to FinalCheckVisitor for application-specific handling of
1685     unresolvable references.
1686   - Added specific error message for duplicate targets.
1688 * docutils/writers/__init__.py:
1690   - Added assemble_parts method to the Writer class to allow for
1691     access to a documents individual parts.
1692   - Documented & set default for ``Writer.output`` attribute.
1694 * docutils/writers/html4css1.py:
1696   - Fixed unicode handling of attribute values (bug 760673).
1697   - Prevent duplication of "class" attribute values (bug report from
1698     Kirill Lapshin).
1699   - Improved table grid/border handling (prompted by report from Bob
1700     Marshall).
1701   - Added support for table titles.
1702   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1703     to Darek Suchojad.
1704   - Added functionality to keep track of individual parts of a document
1705     and store them in a dictionary as the "parts" attribute of the writer.
1706     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1707   - Added proper support for the "scale" attribute of the "image"
1708     element.  Contributed by Brent Cook.
1709   - Added ``--initial-header-level`` option.
1710   - Fixed bug: the body_pre_docinfo segment depended on there being a
1711     docinfo; if no docinfo, the document title was incorporated into
1712     the body segment.  Adversely affected the publish_parts interface.
1714 * docutils/writers/latex2e.py:
1716   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1717     about a missing file.
1718   - Added options and support: ``--compound-enumerators``,
1719     ``--section-prefix-for-enumerators``, and
1720     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1721     934322).
1722   - Added option ``--use-verbatim-when-possible``, to avoid
1723     problematic characters (eg, '~' in italian) in literal blocks.
1724   - It's now possible to use four section levels in the `book` and
1725     `report` LaTeX classes.  The default `article` class still has
1726     three levels limit.
1728 * docs/config.txt: "Docutils Configuration Files", added to project.
1729   Moved config file entry descriptions from tools.txt.
1731 * docs/tools.txt:
1733   - Moved config file entry descriptions to config.txt.
1735 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
1736   Development".
1738 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1739   Text Roles", added to project.
1741 * spec/rst/reStructuredText.txt:
1743   - Added description of support for <angle-bracketed> complex option
1744     arguments to option lists.
1745   - Added subsections for indented and quoted literal blocks.
1747 * test: Continually adding & updating tests.
1749   - Added test/test_settings.py & test/data/config_*.txt support
1750     files.
1751   - Added test/test_writers/test_htmlfragment.py.
1753 * test/DocutilsTestSupport.py:
1755   - Refactored LaTeX publisher test suite/case class names to make
1756     testing other writers easier.
1757   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1758     to test the processing of HTML fragments which use the new
1759     publish_parts convenience function.
1761 * tools/buildhtml.py:
1763   - Added support for the "--prune" option.
1764   - Removed dependency on pep2html.py; plaintext PEPs no longer
1765     supported.
1767 * tools/docutils.conf:
1769   - Updated for configuration file reorganization.
1771 * tools/rst2html.py:
1773   - copied from tools/html.py
1775 * setup.py:
1777   - added a 'scripts' section to configuration
1778   - added 'tools/rst2html.py' to the scripts section
1781 Release 0.3 (2003-06-24)
1782 ========================
1784 General:
1786 * Renamed "attribute" to "option" for directives/extensions.
1788 * Renamed transform method "transform" to "apply".
1790 * Renamed "options" to "settings" for runtime settings (as set by
1791   command-line options).  Sometimes "option" (singular) became
1792   "settings" (plural).  Some variations below:
1794   - document.options -> document.settings (stored in other objects as
1795     well)
1796   - option_spec -> settings_spec (not directives though)
1797   - OptionSpec -> SettingsSpec
1798   - cmdline_options -> settings_spec
1799   - relative_path_options -> relative_path_settings
1800   - option_default_overrides -> settings_default_overrides
1801   - Publisher.set_options -> Publisher.get_settings
1803 Specific:
1805 * COPYING.txt: Added "Public Domain Dedication".
1807 * FAQ.txt: Frequently asked questions, added to project.
1809 * setup.py:
1811   - Updated with PyPI Trove classifiers.
1812   - Conditional installation of third-party modules.
1814 * docutils/__init__.py:
1816   - Bumped version to 0.2.1 to reflect changes to I/O classes.
1817   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1818   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1819   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1820     option and its effect on the PEP template & writer.
1821   - Bumped version to 0.2.4 due to changes to the PEP template &
1822     stylesheet.
1823   - Bumped version to 0.2.5 to reflect changes to Reporter output.
1824   - Added ``TransformSpec`` class for new transform system.
1825   - Bumped version to 0.2.6 for API changes (renaming).
1826   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1827     convenience functions.
1828   - Added ``Component.component_type`` attribute.
1829   - Bumped version to 0.2.8 because of the internal parser switch from
1830     plain lists to the docutils.statemachine.StringList objects.
1831   - Bumped version to 0.2.9 because of the frontend.py API changes.
1832   - Bumped version to 0.2.10 due to changes to the project layout
1833     (third-party modules removed from the "docutils" package), and
1834     signature changes in ``io.Input``/``io.Output``.
1835   - Changed version to 0.3.0 for release.
1837 * docutils/core.py:
1839   - Made ``publish()`` a bit more convenient.
1840   - Generalized ``Publisher.set_io``.
1841   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1842     parameters; improved its docstring.
1843   - Added ``publish_file()`` and ``publish_string()``.
1844   - Factored ``Publisher.set_source()`` and ``.set_destination()``
1845     out of ``.set_io``.
1846   - Added support for "--dump-pseudo-xml", "--dump-settings", and
1847     "--dump-transforms" hidden options.
1848   - Added ``Publisher.apply_transforms()`` method.
1849   - Added ``Publisher.set_components()`` method; support for
1850     ``publish_*()`` conveninece functions.
1851   - Moved config file processing to docutils/frontend.py.
1852   - Added support for exit status ("exit_level" setting &
1853     ``enable_exit`` parameter for Publisher.publish() and convenience
1854     functions).
1856 * docutils/frontend.py:
1858   - Check for & exit on identical source & destination paths.
1859   - Fixed bug with absolute paths & "--config".
1860   - Set non-command-line defaults in ``OptionParser.__init__()``:
1861     ``_source`` & ``_destination``.
1862   - Distributed ``relative_path_settings`` to components; updated
1863     ``OptionParser.populate_from_components()`` to combine it all.
1864   - Require list of keys in ``make_paths_absolute`` (was implicit in
1865     global ``relative_path_settings``).
1866   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1867     "--dump-settings", and "--dump-transforms" hidden options.
1868   - Removed nasty internals-fiddling ``ConfigParser.get_section``
1869     code, replaced with correct code.
1870   - Added validation functionality for config files.
1871   - Added "--error-encoding" option/setting, "_disable_config"
1872     internal setting.
1873   - Added encoding validation; updated "--input-encoding" and
1874     "--output-encoding"; added "--error-encoding-error-handler" and
1875     "--output-encoding-error-handler".
1876   - Moved config file processing from docutils/core.py.
1877   - Updated ``OptionParser.populate_from_components`` to handle new
1878     ``SettingsSpec.settings_defaults`` dict.
1879   - Added support for "-" => stdin/stdout.
1880   - Added "exit_level" setting ("--exit" option).
1882 * docutils/io.py:
1884   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1885   - Added automatic closing to ``FileInput`` and ``FileOutput``.
1886   - Delayed opening of ``FileOutput`` file until ``write()`` called.
1887   - ``FileOutput.write()`` now returns the encoded output string.
1888   - Try to get path/stream name automatically in ``FileInput`` &
1889     ``FileOutput``.
1890   - Added defaults for source & destination paths.
1891   - Allow for Unicode I/O with an explicit "unicode" encoding.
1892   - Added ``Output.encode()``.
1893   - Removed dependency on runtime settings; pass encoding directly.
1894   - Recognize Unicode strings in ``Input.decode()``.
1895   - Added support for output encoding error handlers.
1897 * docutils/nodes.py:
1899   - Added "Invisible" element category class.
1900   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1901     modification during a traversal.
1902   - Added element classes: ``line_block``, ``generated``, ``address``,
1903     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1904     ``superscript``, ``subscript``, ``inline``
1905   - Added support for lists of nodes to ``Element.insert()``.
1906   - Fixed parent linking in ``Element.replace()``.
1907   - Added new abstract superclass ``FixedTextElement``; adds
1908     "xml:space" attribute.
1909   - Added support for "line" attribute of ``system_message`` nodes.
1910   - Added support for the observer pattern from ``utils.Reporter``.
1911     Added ``parse_messages`` and ``transform_messages`` attributes to
1912     ``document``, removed ``messages``.  Added ``note_parse_message``
1913     and ``note_transform_message`` methods.
1914   - Added support for improved diagnostics:
1916     - Added "document", "source", and "line" internal attributes to
1917       ``Node``, set by ``Node.setup_child()``.
1918     - Converted variations on ``node.parent = self`` to
1919       ``self.setup_child(node)``.
1920     - Added ``document.current_source`` & ``.current_line``
1921       attributes, and ``.note_source`` observer method.
1922     - Changed "system_message" output to GNU-Tools format.
1924   - Added a "rawsource" attribute to the ``Text`` class, for text
1925     before backslash-escape resolution.
1926   - Support for new transform system.
1927   - Reworked ``pending`` element.
1928   - Fixed XML DOM bug (SF #660611).
1929   - Removed the ``interpeted`` element class and added
1930     ``title_reference``, ``abbreviation``, ``acronym``.
1931   - Made substitutions case-sensitive-but-forgiving; moved some code
1932     from the parser.
1933   - Fixed Unicode bug on element attributes (report: William Dode).
1935 * docutils/optik.py: Removed from project; replaced with
1936   extras/optparse.py and extras/textwrap.py.  These will be installed
1937   only if they're not already present in the Python installation.
1939 * docutils/roman.py: Moved to extras/roman.py; this will be installed
1940   only if it's not already present in the Python installation.
1942 * docutils/statemachine.py:
1944   - Factored out ``State.add_initial_transitions()`` so it can be
1945     extended.
1946   - Converted whitespace-specific "blank" and "indent" transitions
1947     from special-case code to ordinary transitions: removed
1948     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
1949     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
1950     ``ws_initial_transitions`` attributes.
1951   - Removed ``State.match_transition()`` after merging it into
1952     ``.check_line()``.
1953   - Added ``StateCorrection`` exception.
1954   - Added support for ``StateCorrection`` in ``StateMachine.run()``
1955     (moved ``TransitionCorrection`` support there too.)
1956   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
1957     ``EOFError`` instead of ``IndexError``.
1958   - Added ``State.no_match`` method.
1959   - Added support for the Observer pattern, triggered by input line
1960     changes.
1961   - Added ``strip_top`` parameter to
1962     ``StateMachineWS.get_first_known_indented``.
1963   - Made ``context`` a parameter to ``StateMachine.run()``.
1964   - Added ``ViewList`` & ``StringList`` classes;
1965     ``extract_indented()`` becomes ``StringList.get_indented()``.
1966   - Added ``StateMachine.insert_input()``.
1967   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
1968     thanks to) Fred Drake.
1970 * docutils/utils.py:
1972   - Added a ``source`` attribute to Reporter instances and
1973     ``system_message`` elements.
1974   - Added an observer pattern to ``utils.Reporter`` to keep track of
1975     system messages.
1976   - Fixed bugs in ``relative_path()``.
1977   - Added support for improved diagnostics.
1978   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
1979   - Added support for encoding Reporter stderr output, and encoding
1980     error handlers.
1981   - Reporter keeps track of the highest level system message yet
1982     generated.
1984 * docutils/languages: Fixed bibliographic field language lookups.
1986 * docutils/languages/es.py: Added to project; Spanish mappings by
1987   Marcelo Huerta San Martin.
1989 * docutils/languages/fr.py: Added to project; French mappings by
1990   Stefane Fermigier.
1992 * docutils/languages/it.py: Added to project; Italian mappings by
1993   Nicola Larosa.
1995 * docutils/languages/sk.py: Added to project; Slovak mappings by
1996   Miroslav Vasko.
1998 * docutils/parser/__init__.py:
2000   - Added ``Parser.finish_parse()`` method.
2002 * docutils/parser/rst/__init__.py:
2004   - Added options: "--pep-references", "--rfc-references",
2005     "--tab-width", "--trim-footnote-reference-space".
2007 * docutils/parsers/rst/states.py:
2009   - Changed "title under/overline too short" system messages from INFO
2010     to WARNING, and fixed its insertion location.
2011   - Fixed enumerated list item parsing to allow paragraphs & section
2012     titles to begin with enumerators.
2013   - Converted system messages to use the new "line" attribute.
2014   - Fixed a substitution reference edge case.
2015   - Added support for "--pep-references" and "--rfc-references"
2016     options; reworked ``Inliner`` code to make customization easier.
2017   - Removed field argument parsing.
2018   - Added support for short section title over/underlines.
2019   - Fixed "simple reference name" regexp to ignore text like
2020     "object.__method__"; not an anonymous reference.
2021   - Added support for improved diagnostics.
2022   - Reworked directive API, based on Dethe Elza's contribution.  Added
2023     ``Body.parse_directive()``, ``.parse_directive_options()``,
2024     ``.parse_directive_arguments()`` methods.
2025   - Added ``ExtensionOptions`` class, to parse directive options
2026     without parsing field bodies.  Factored
2027     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
2028     ``ExtensionOptions``.
2029   - Improved definition list term/classifier parsing.
2030   - Added warnings for unknown directives.
2031   - Renamed ``Stuff`` to ``Struct``.
2032   - Now flagged as errors: transitions at the beginning or end of
2033     sections, empty sections (except title), and empty documents.
2034   - Updated for ``statemachine.StringList``.
2035   - Enabled recognition of schemeless email addresses in targets.
2036   - Added support for embedded URIs in hyperlink references.
2037   - Added backslash-escapes to inline markup end-string suffix.
2038   - Added support for correct interpreted text processing.
2039   - Fixed nested title parsing (topic, sidebar directives).
2040   - Added special processing of backslash-escaped whitespace (idea
2041     from David Abrahams).
2042   - Made substitutions case-sensitive-but-forgiving; moved some code
2043     to ``docutils.nodes``.
2044   - Added support for block quote attributions.
2045   - Added a kludge to work-around a conflict between the bubble-up
2046     parser strategy and short titles (<= 3 char-long over- &
2047     underlines).  Fixes SF bug #738803 "infinite loop with multiple
2048     titles" submitted by Jason Diamond.
2049   - Added explicit interpreted text roles for standard inline markup:
2050     "emphasis", "strong", "literal".
2051   - Implemented "superscript" and "subscript" interpreted text roles.
2052   - Added initial support for "abbreviation" and "acronym" roles;
2053     incomplete.
2054   - Added support for "--trim-footnote-reference-space" option.
2055   - Optional space before colons in directives & hyperlink targets.
2057 * docutils/parsers/rst/tableparser.py:
2059   - Fixed a bug that was producing unwanted empty rows in "simple"
2060     tables.
2061   - Detect bad column spans in "simple" tables.
2063 * docutils/parsers/rst/directives: Updated all directive functions to
2064   new API.
2066 * docutils/parsers/rst/directives/__init__.py:
2068   - Added ``flag()``, ``unchanged()``, ``path()``,
2069     ``nonnegative_int()``, ``choice()``, and ``class_option()``
2070     directive option helper functions.
2071   - Added warnings for unknown directives.
2072   - Return ``None`` for missing directives.
2073   - Added ``register_directive()``, thanks to William Dode and Paul
2074     Moore.
2076 * docutils/parsers/rst/directives/admonitions.py:
2078   - Added "admonition" directive.
2080 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
2081   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2082   "parsed-literal", "rubric", "epigraph", "highlights" and
2083   "pull-quote" directives.
2085 * docutils/parsers/rst/directives/images.py:
2087   - Added an "align" attribute to the "image" & "figure" directives
2088     (by Adam Chodorowski).
2089   - Added "class" option to "image", and "figclass" to "figure".
2091 * docutils/parsers/rst/directives/misc.py:
2093   - Added "include", "raw", and "replace" directives, courtesy of
2094     Dethe Elza.
2095   - Added "unicode" and "class" directives.
2097 * docutils/parsers/rst/directives/parts.py:
2099   - Added the "sectnum" directive; by Dmitry Jemerov.
2100   - Added "class" option to "contents" directive.
2102 * docutils/parsers/rst/directives/references.py: Added to project.
2103   Contains the "target-notes" directive.
2105 * docutils/parsers/rst/languages/__init__.py:
2107   - Return ``None`` from get_language() for missing language modules.
2109 * docutils/parsers/rst/languages/de.py: Added to project; German
2110   mappings by Engelbert Gruber.
2112 * docutils/parsers/rst/languages/en.py:
2114   - Added interpreted text roles mapping.
2116 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2117   mappings by Marcelo Huerta San Martin.
2119 * docutils/parsers/rst/languages/fr.py: Added to project; French
2120   mappings by William Dode.
2122 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2123   mappings by Nicola Larosa.
2125 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2126   mappings by Miroslav Vasko.
2128 * docutils/readers/__init__.py:
2130   - Added support for the observer pattern from ``utils.Reporter``, in
2131     ``Reader.parse`` and ``Reader.transform``.
2132   - Removed ``Reader.transform()`` method.
2133   - Added default parameter values to ``Reader.__init__()`` to make
2134     instantiation easier.
2135   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2137 * docutils/readers/pep.py:
2139   - Added the ``peps.TargetNotes`` transform to the Reader.
2140   - Removed PEP & RFC reference detection code; moved to
2141     parsers/rst/states.py as options (enabled here by default).
2142   - Added support for pre-acceptance PEPs (no PEP number yet).
2143   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2144     easy subclassing.
2146 * docutils/readers/python: Python Source Reader subpackage added to
2147   project, including preliminary versions of:
2149   - __init__.py
2150   - moduleparser.py: Parser for Python modules.
2152 * docutils/transforms/__init__.py:
2154   - Added ``Transformer`` class and completed transform reform.
2155   - Added unknown_reference_resolvers list for each transformer. This list holds
2156     the list of functions provided by each component of the transformer that
2157     help resolve references.
2159 * docutils/transforms/frontmatter.py:
2161   - Improved support for generic fields.
2162   - Fixed bibliographic field language lookups.
2164 * docutils/transforms/misc.py: Added to project.  Miscellaneous
2165   transforms.
2167 * docutils/transforms/parts.py:
2169   - Moved the "id" attribute from TOC list items to the references
2170     (``Contents.build_contents()``).
2171   - Added the ``SectNum`` transform; by Dmitry Jemerov.
2172   - Added "class" attribute support to ``Contents``.
2174 * docutils/transforms/peps.py:
2176   - Added ``mask_email()`` function, updating to pep2html.py's
2177     functionality.
2178   - Linked "Content-Type: text/x-rst" to PEP 12.
2179   - Added the ``TargetNotes`` PEP-specific transform.
2180   - Added ``TargetNotes.cleanup_callback``.
2181   - Added title check to ``Headers``.
2183 * docutils/transforms/references.py:
2185   - Added the ``TargetNotes`` generic transform.
2186   - Split ``Hyperlinks`` into multiple transforms.
2187   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2188   - Added check for circular indirect references.
2189   - Made substitutions case-sensitive-but-forgiving.
2191 * docutils/transforms/universal.py:
2193   - Added support for the "--expose-internal-attributes" option.
2194   - Removed ``Pending`` transform classes & data.
2196 * docutils/writers/__init__.py:
2198   - Removed ``Writer.transform()`` method.
2200 * docutils/writers/docutils-xml.py:
2202   - Added XML and doctype declarations.
2203   - Added "--no-doctype" and "--no-xml-declaration" options.
2205 * docutils/writers/html4css1.py:
2207   - "name" attributes only on these tags: a, applet, form, frame,
2208     iframe, img, map.
2209   - Added "name" attribute to <a> in section titles for Netscape 4
2210     support (bug report: Pearu Peterson).
2211   - Fixed targets (names) on footnote, citation, topic title,
2212     problematic, and system_message nodes (for Netscape 4).
2213   - Changed field names from "<td>" to "<th>".
2214   - Added "@" to "&#64;" encoding to thwart address harvesters.
2215   - Improved the vertical whitespace optimization; ignore "invisible"
2216     nodes (targets, comments, etc.).
2217   - Improved inline literals with ``<span class="pre">`` around chunks
2218     of text and ``&nbsp;`` for runs of spaces.
2219   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2220     ``self.docinfo`` segments.
2221   - Added support for "line_block", "address" elements.
2222   - Improved backlinks (footnotes & system_messages).
2223   - Improved system_message output.
2224   - Redefined "--stylesheet" as containing an invariant URL, used
2225     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2226     working directory.
2227   - Added "--footnote-references" option (superscript or brackets).
2228   - Added "--compact-lists" and "--no-compact-lists" options.
2229   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2230     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2231   - Improved field list rendering.
2232   - Added Docutils version to "generator" meta tag.
2233   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2234   - Improved layout of <pre> HTML source.
2235   - Fixed attribute typo on <colspec>.
2236   - Refined XML prologue.
2237   - Support for no stylesheet.
2238   - Removed "interpreted" element support.
2239   - Added support for "title_reference", "sidebar", "attribution",
2240     "rubric", and generic "admonition" elements.
2241   - Added "--attribution" option.
2242   - Added support for "inline", "subscript", "superscript" elements.
2243   - Added initial support for "abbreviation" and "acronym";
2244     incomplete.
2246 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2247   (from the sandbox).
2249   - Added french.
2250   - Double quotes in literal blocks (special treatment for de/ngerman).
2251   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2252   - Added  "--attribution" option.
2253   - Right align attributions.
2255 * docutils/writers/pep_html.py:
2257   - Parameterized output encoding in PEP template.
2258   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2259   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2260     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2261     working directory.
2262   - Added an override on the "--footnote-references" option.
2263   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2264   - Added Docutils version to "generator" meta tag.
2265   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2267 * docs/tools.txt:
2269   - Added a "silent" setting for ``buildhtml.py``.
2270   - Added a "Getting Help" section.
2271   - Rearranged the structure.
2272   - Kept up to date, with new settings, command-line options etc.
2273   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2274   - Converted settings table into a definition list.
2276 * docs/rst/quickstart.txt:
2278   - Added a table of contents.
2279   - Added feedback information.
2280   - Added mention of minimum section title underline lengths.
2281   - Removed the 4-character minimum for section title underlines.
2283 * docs/rst/quickref.html:
2285   - Added a "Getting Help" section.
2286   - Added a style to make section title backlinks more subtle.
2287   - Added mention of minimum section title underline lengths.
2288   - Removed the 4-character minimum for section title underlines.
2290 * extras: Directory added to project; contains third-party modules
2291   that Docutils depends on (optparse, textwrap, roman).  These are
2292   only installed if they're not already present.
2294 * licenses: Directory added to project; contains copies of license
2295   files for non-public-domain files.
2297 * spec/doctree.txt:
2299   - Changed the focus.  It's about DTD elements:  structural
2300     relationships, semantics, and external (public) attributes.  Not
2301     about the element class library.
2302   - Moved some implementation-specific stuff into ``docutils.nodes``
2303     docstrings.
2304   - Wrote descriptions of all common attributes and parameter
2305     entities.  Filled in introductory material.
2306   - Working through the element descriptions: 55 down, 37 to go.
2307   - Removed "Representation of Horizontal Rules" to
2308     spec/rst/alternatives.txt.
2310 * spec/docutils.dtd:
2312   - Added "generated" inline element.
2313   - Added "line_block" body element.
2314   - Added "auto" attribute to "title".
2315   - Changed content models of "literal_block" and "doctest_block" to
2316     ``%text.model``.
2317   - Added ``%number;`` attribute type parameter entity.
2318   - Changed ``%structural.elements;`` to ``%section.elements``.
2319   - Updated attribute types; made more specific.
2320   - Added "address" bibliographic element.
2321   - Added "line" attribute to ``system_message`` element.
2322   - Removed "field_argument" element; "field_name" may contain
2323     multiple words and whitespace.
2324   - Changed public identifier to docutils.sf.net.
2325   - Removed "interpreted" element; added "title_reference",
2326     "abbreviation", "acronym".
2327   - Removed "refuri" attribute from "footnote_reference" and
2328     "citation_reference".
2329   - Added "sidebar", "rubric", "attribution", "admonition",
2330     "superscript", "subscript", and "inline" elements.
2332 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2334 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2336 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2338 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2339   Dallas Mahrt.
2341 * spec/transforms.txt: Added to project.
2343 * spec/howto: Added subdirectory, for developer how-to docs.
2345 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2346   Elza, edited & extended by David Goodger.
2348 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
2349   project.
2351 * spec/rst/alternatives.txt:
2353   - Added "Doctree Representation of Transitions" from
2354     spec/doctree.txt.
2355   - Updated "Inline External Targets" & closed the debate.
2356   - Added ideas for interpreted text syntax extensions.
2357   - Added "Nested Inline Markup" section.
2359 * spec/rst/directives.txt:
2361   - Added directives: "topic", "sectnum", "target-notes",
2362     "line-block", "parsed-literal", "include", "replace", "sidebar",
2363     "admonition", "rubric", "epigraph", "highlights", "unicode" and
2364     "class".
2365   - Formalized descriptions of directive details.
2366   - Added an "align" attribute to the "image" & "figure" directives
2367     (by Adam Chodorowski).
2368   - Added "class" options to "topic", "sidebar", "line-block",
2369     "parsed-literal", "contents", and "image"; and "figclass" to
2370     "figure".
2372 * spec/rst/interpreted.txt: Added to project.  Descriptions of
2373   interpreted text roles.
2375 * spec/rst/introduction.txt:
2377   - Added pointers to material for new users.
2379 * spec/rst/reStructuredText.txt:
2381   - Disambiguated comments (just add a newline after the "::").
2382   - Updated enumerated list description; added a discussion of the
2383     second-line validity checking.
2384   - Updated directive description.
2385   - Added a note redirecting newbies to the user docs.
2386   - Expanded description of inline markup start-strings in non-markup
2387     contexts.
2388   - Removed field arguments and made field lists a generic construct.
2389   - Removed the 4-character minimum for section title underlines.
2390   - Clarified term/classifier delimiter & inline markup ambiguity
2391     (definition lists).
2392   - Added "Embedded URIs".
2393   - Updated "Interpreted Text" section.
2394   - Added "Character-Level Inline Markup" section.
2396 * test: Continually adding & updating tests.
2398   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2399   - Moved test/test_pep/ to test/test_readers/test_pep/.
2400   - Added test/test_readers/test_python/.
2401   - Added test/test_writers/ (Engelbert Gruber).
2403 * tools:
2405   - Made the ``locale.setlocale()`` calls in front ends
2406     fault-tolerant.
2408 * tools/buildhtml.py:
2410   - Added "--silent" option.
2411   - Fixed bug with absolute paths & "--config".
2412   - Updated for new I/O classes.
2413   - Added some exception handling.
2414   - Separated publishers' setting defaults; prevents interference.
2415   - Updated for new ``publish_file()`` convenience function.
2417 * tools/pep-html-template:
2419   - Allow for "--embed-stylesheet".
2420   - Added Docutils version to "generator" meta tag.
2421   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2422   - Conform to XHTML spec.
2424 * tools/pep2html.py:
2426   - Made ``argv`` a parameter to ``main()``.
2427   - Added support for "Content-Type:" header & arbitrary PEP formats.
2428   - Linked "Content-Type: text/plain" to PEP 9.
2429   - Files skipped (due to an error) are not pushed onto the server.
2430   - Updated for new I/O classes.
2431   - Added ``check_requirements()`` & ``pep_type_error()``.
2432   - Added some exception handling.
2433   - Updated for new ``publish_string()`` convenience function.
2434   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2436 * tools/quicktest.py:
2438   - Added "-V"/"--version" option.
2440 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2442 * tools/unicode2rstsubs.py: Added to project.  Produces character
2443   entity files (reSructuredText substitutions) from the MathML master
2444   unicode.xml file.
2446 * tools/editors: Support code for editors, added to project.  Contains
2447   ``emacs/restructuredtext.el``.
2449 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2451   - Added style for chunks of inline literals.
2452   - Removed margin for first child of table cells.
2453   - Right-aligned field list names.
2454   - Support for auto-numbered section titles in TOCs.
2455   - Increased the size of inline literals (<tt>) in titles.
2456   - Restored the light gray background for inline literals.
2457   - Added support for "line_block" elements.
2458   - Added style for "address" elements.
2459   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2460   - Improved field list rendering.
2461   - Vertical whitespace improvements.
2462   - Removed "a.target" style.
2464 * tools/stylesheets/pep.css:
2466   - Fixed nested section margins.
2467   - Other changes parallel those of ``../default.css``.
2470 Release 0.2 (2002-07-31)
2471 ========================
2473 General:
2475 - The word "component" was being used ambiguously.  From now on,
2476   "component" will be used to mean "Docutils component", as in Reader,
2477   Writer, Parser, or Transform.  Portions of documents (Table of
2478   Contents, sections, etc.)  will be called "document parts".
2479 - Did a grand renaming: a lot of ``verylongnames`` became
2480   ``very_long_names``.
2481 - Cleaned up imports: no more relative package imports or
2482   comma-separated lists of top-level modules.
2483 - Added support for an option values object which carries default
2484   settings and overrides (from command-line options and library use).
2485 - Added internal Unicode support, and support for both input and
2486   output encodings.
2487 - Added support for the ``docutils.io.IO`` class & subclasses.
2489 Specific:
2491 * docutils/__init__.py:
2493   - Added ``ApplicationError`` and ``DataError``, for use throughout
2494     the package.
2495   - Added ``Component`` base class for Docutils components; implements
2496     the ``supports`` method.
2497   - Added ``__version__`` (thus, ``docutils.__version__``).
2499 * docutils/core.py:
2501   - Removed many keyword parameters to ``Publisher.__init__()`` and
2502     ``publish()``; bundled into an option values object.  Added
2503     "argv", "usage", "description", and "option_spec" parameters for
2504     command-line support.
2505   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2506     methods.
2507   - Reworked I/O model for ``docutils.io`` wrappers.
2508   - Updated ``Publisher.set_options()``; now returns option values
2509     object.
2510   - Added support for configuration files (/etc/docutils.conf,
2511     ./docutils.conf, ~/.docutils).
2512   - Added ``Publisher.setup_option_parser()``.
2513   - Added default usage message and description.
2515 * docutils/frontend.py: Added to project; support for front-end
2516   (command-line) scripts.  Option specifications may be augmented by
2517   components.  Requires Optik (http://optik.sf.net/) for option
2518   processing (installed locally as docutils/optik.py).
2520 * docutils/io.py: Added to project; uniform API for a variety of input
2521   output mechanisms.
2523 * docutils/nodes.py:
2525   - Added ``TreeCopyVisitor`` class.
2526   - Added a ``copy`` method to ``Node`` and subclasses.
2527   - Added a ``SkipDeparture`` exception for visitors.
2528   - Renamed ``TreePruningException`` from ``VisitorException``.
2529   - Added docstrings to ``TreePruningException``, subclasses, and
2530     ``Nodes.walk()``.
2531   - Improved docstrings.
2532   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2533   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2534     imports.
2535   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2536     ``PreDecorative`` mixin.
2537   - Reworked the name/id bookkeeping; to ``document``, removed
2538     ``explicit_targets`` and ``implicit_targets`` attributes, added
2539     ``nametypes`` attribute and ``set_name_id_map`` method.
2540   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2541     traversals.
2542   - Added ``document.has_name()`` method.
2543   - Fixed DOM generation for list-attributes.
2544   - Added category class ``Labeled`` (used by footnotes & citations).
2545   - Added ``Element.set_class()`` method (sets "class" attribute).
2547 * docutils/optik.py: Added to project.  Combined from the Optik
2548   package, with added option groups and other modifications.  The use
2549   of this module is probably only temporary.
2551 * docutils/statemachine.py:
2553   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2554   - Added underscores to improve many awkward names.
2555   - In ``string2lines()``, changed whitespace normalizing translation
2556     table to regexp; restores Python 2.0 compatibility with Unicode.
2558 * docutils/urischemes.py:
2560   - Filled in some descriptions.
2561   - Added "shttp" scheme.
2563 * docutils/utils.py:
2565   - Added ``clean_rcs_keywords`` function (moved from
2566     docutils/transforms/frontmatter.py
2567     ``DocInfo.filter_rcs_keywords``).
2568   - Added underscores to improve many awkward names.
2569   - Changed names of Reporter's thresholds:
2570     warning_level -> report_level; error_level -> halt_level.
2571   - Moved ``utils.id()`` to ``nodes.make_id()``.
2572   - Added ``relative_path(source, target)``.
2574 * docutils/languages/de.py: German mappings; added to project.  Thanks
2575   to Gunnar Schwant for the translations.
2577 * docutils/languages/en.py: Added "Dedication" bibliographic field
2578   mappings.
2580 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2581   Chodorowski.
2583 * docutils/parsers/rst/states.py:
2585   - Added underscores to improve many awkward names.
2586   - Added RFC-2822 header support.
2587   - Extracted the inline parsing code from ``RSTState`` to a separate
2588     class, ``Inliner``, which will allow easy subclassing.
2589   - Made local bindings for ``memo`` container & often-used contents
2590     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2591   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2592   - Added ``MarkupMismatch`` exception; for late corrections.
2593   - Added ``-/:`` characters to inline markup's start string prefix,
2594     ``/`` to end string suffix.
2595   - Fixed a footnote bug.
2596   - Fixed a bug with literal blocks.
2597   - Applied patch from Simon Budig: simplified regexps with symbolic
2598     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2599   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2600   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2601   - Allowed non-ASCII in "simple names" (directive names, field names,
2602     references, etc.).
2603   - Converted ``Inliner.patterns.initial`` to be dynamically built
2604     from parts with ``build_regexp()`` function.
2605   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2606   - Updated docstrings.
2607   - Changed "table" to "grid_table"; added "simple_table" support.
2609 * docutils/parsers/rst/tableparser.py:
2611   - Changed ``TableParser`` to ``GridTableParser``.
2612   - Added ``SimpleTableParser``.
2613   - Refactored naming.
2615 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2616   a fallback language for directive names.
2618 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2619   directive to use a ``pending`` element, used only by HTML writers.
2621 * docutils/parsers/rst/directives/parts.py: Renamed from
2622   components.py.
2624   - Added "backlinks" attribute to "contents" directive.
2626 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2627   project by Adam Chodorowski.
2629 * docutils/readers/__init__.py: Gave Readers more control over
2630   choosing and instantiating Parsers.
2632 * docutils/readers/pep.py: Added to project; for PEP processing.
2634 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2635   requires a ``component`` parameter.
2637 * docutils/transforms/components.py: Added to project; transforms
2638   related to Docutils components.
2640 * docutils/transforms/frontmatter.py:
2642   - In ``DocInfo.extract_authors``, check for a single "author" in an
2643     "authors" group, and convert it to a single "author" element.
2644   - Added support for "Dedication" and generic bibliographic fields.
2646 * docutils/transforms/peps.py: Added to project; PEP-specific.
2648 * docutils/transforms/parts.py: Renamed from old components.py.
2650   - Added filter for `Contents`, to use alt-text for inline images,
2651     and to remove inline markup that doesn't make sense in the ToC.
2652   - Added "name" attribute to TOC topic depending on its title.
2653   - Added support for optional TOC backlinks.
2655 * docutils/transforms/references.py: Fixed indirect target resolution
2656   in ``Hyperlinks`` transform.
2658 * docutils/transforms/universal.py:
2660   - Changed ``Messages`` transform to properly filter out system
2661     messages below the warning threshold.
2662   - Added ``Decorations`` transform (support for ``--generator``,
2663     ``--date``, ``--time``, ``--source-link`` options).
2665 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2666   Engelbert Gruber's PDF writer.
2668 * docutils/writers/html4css1.py:
2670   - Made XHTML-compatible (switched to lowercase element & attribute
2671     names; empty tag format).
2672   - Escape double-dashes in comment text.
2673   - Improved boilerplate & modularity of output.
2674   - Exposed modular output in Writer class.
2675   - Added a "generator" meta tag to <head>.
2676   - Added support for the ``--stylesheet`` option.
2677   - Added support for ``decoration``, ``header``, and ``footer``
2678     elements.
2679   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2680     translation table to regexp; restores Python 2.0 compatibility
2681     with Unicode.
2682   - Added the translator class as instance variable to the Writer, to
2683     make it easily subclassable.
2684   - Improved option list spacing (thanks to Richard Jones).
2685   - Modified field list output.
2686   - Added backlinks to footnotes & citations.
2687   - Added percentage widths to "<col>" tags (from colspec).
2688   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2689     "<span>" changed to "<var>".
2690   - Inline literals: "<code>" changed to "<tt>".
2691   - Many changes to optimize vertical space: compact simple lists etc.
2692   - Add a command-line options & directive attributes to control TOC
2693     and footnote/citation backlinks.
2694   - Added support for optional footnote/citation backlinks.
2695   - Added support for generic bibliographic fields.
2696   - Identify backrefs.
2697   - Relative URLs for stylesheet links.
2699 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2700   PEPs (subclass of ``html4css1.Writer``).
2702 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2704 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2705   of the Docutils internal doctree in XML.
2707 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2709 * spec/doctree.txt:
2711   - Changed the title to "The Docutils Document Tree".
2712   - Added "Hyperlink Bookkeeping" section.
2714 * spec/docutils.dtd:
2716   - Added ``decoration``, ``header``, and ``footer`` elements.
2717   - Brought ``interpreted`` element in line with the parser: changed
2718     attribute "type" to "role", added "position".
2719   - Added support for generic bibliographic fields.
2721 * spec/notes.txt: Continual updates.  Added "Project Policies".
2723 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2724   section.
2726 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2728 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
2729   mailing list discussions.
2731 * spec/pep-0287.txt:
2733   - Renamed to "reStructuredText Docstring Format".
2734   - Minor edits.
2735   - Reworked Q&A as an enumerated list.
2736   - Converted to reStructuredText format.
2738 * spec/pysource.dtd:
2740   - Reworked structural elements, incorporating ideas from Tony Ibbs.
2742 * spec/pysource.txt: Removed from project.  Moved much of its contents
2743   to pep-0258.txt.
2745 * spec/rst/alternatives.txt:
2747   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2748   - Added "Inline External Targets" section.
2750 * spec/rst/directives.txt:
2752   - Added "backlinks" attribute to "contents" directive.
2754 * spec/rst/problems.txt:
2756   - Updated the Enumerated List Markup discussion.
2757   - Added new alternative table markup syntaxes.
2759 * spec/rst/reStructuredText.txt:
2761   - Clarified field list usage.
2762   - Updated enumerated list description.
2763   - Clarified purpose of directives.
2764   - Added ``-/:`` characters to inline markup's start string prefix,
2765     ``/`` to end string suffix.
2766   - Updated "Authors" bibliographic field behavior.
2767   - Changed "inline hyperlink targets" to "inline internal targets".
2768   - Added "simple table" syntax to supplement the existing but
2769     newly-renamed "grid tables".
2770   - Added cautions for anonymous hyperlink use.
2771   - Added "Dedication" and generic bibliographic fields.
2773 * test: Made test modules standalone (subdirectories became packages).
2775 * test/DocutilsTestSupport.py:
2777   - Added support for PEP extensions to reStructuredText.
2778   - Added support for simple tables.
2779   - Refactored naming.
2781 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2783   - Now supports true packages containing test modules
2784     (``__init__.py`` files required); fixes duplicate module name bug.
2786 * test/test_pep/: Subpackage added to project; PEP testing.
2788 * test/test_rst/test_SimpleTableParser.py: Added to project.
2790 * tools:
2792   - Updated html.py and publish.py front-end tools to use the new
2793     command-line processing facilities of ``docutils.frontend``
2794     (exposed in ``docutils.core.Publisher``), reducing each to just a
2795     few lines of code.
2796   - Added ``locale.setlocale()`` calls to front-end tools.
2798 * tools/buildhtml.py: Added to project; batch-generates .html from all
2799   the .txt files in directories and subdirectories.
2801 * tools/default.css:
2803   - Added support for ``header`` and ``footer`` elements.
2804   - Added styles for "Dedication" topics (biblio fields).
2806 * tools/docutils.conf: A configuration file; added to project.
2808 * tools/docutils-xml.py: Added to project.
2810 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2812 * tools/pep-html-template: Added to project.
2814 * tools/pep2html.py: Added to project from Python (nondist/peps).
2815   Added support for Docutils (reStructuredText PEPs).
2817 * tools/quicktest.py:
2819   - Added the ``--attributes`` option, hacked a bit.
2820   - Added a second command-line argument (output file); cleaned up.
2822 * tools/stylesheets/: Subdirectory added to project.
2824 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2827 Release 0.1 (2002-04-20)
2828 ========================
2830 This is the first release of Docutils, merged from the now inactive
2831 reStructuredText__ and `Docstring Processing System`__ projects.  For
2832 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2833 `DPS HISTORY`__ files.
2835 __ http://structuredtext.sourceforge.net/
2836 __ http://docstring.sourceforge.net/
2837 __ http://structuredtext.sourceforge.net/HISTORY.html
2838 __ http://docstring.sourceforge.net/HISTORY.html
2840 General changes: renamed 'dps' package to 'docutils'; renamed
2841 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2842 the test suites (reStructuredText's test/test_states renamed to
2843 test/test_rst); and all modifications required to make it all work.
2845 * docutils/parsers/rst/states.py:
2847   - Improved diagnostic system messages for missing blank lines.
2848   - Fixed substitution_reference bug.
2852    Local Variables:
2853    mode: indented-text
2854    indent-tabs-mode: nil
2855    sentence-end-double-space: t
2856    fill-column: 70
2857    End: