Deaktivate defaultfontfeatures command to prevent error in new TeXLive.
[docutils.git] / HISTORY.txt
blob4e9890ad99d9963bc81515d777f837ff9581f71e
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.
26 Release 0.9.1 (2012-06-17)
27 ==========================
29 * docutils/setup.py
31   - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
32     installed in the PYTHONPATH. Converted tests are now
33     stored in ``test3/``, tools no longer need conversion.
35     If you installed one of Docutils versions 0.7 ... 0.9 with
36     ``setup.py install`` under Python 3, remove the spurious
37     ``test/`` and ``tools/`` directories in the site library root.
39 * docutils/test/
41   - Make tests independent from the location of the ``test/`` directory.
42   - Use converted sources (from the ``build/`` directory) for tests under
43     Python 3.
45 * docutils/tools/
47   - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
49 * docutils/io.py
51   - Fix writing binary data to sys.stdout under Python 3 (allows
52     ``rst2odt.py`` to be used with output redirection).
54 * docutils/parsers/rst/directives/misc.py
56   - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
57     ``locale == C`` and 8-bit char in path argument of `include` directive.
59 * docutils/test/alltests.py
61   - class `Tee`: catch UnicodeError when writing to "ascii" stream or
62     file under Python 3.
64 Release 0.9 (2012-05-02)
65 ========================
67 * General:
69   - New reStructuredText "code" role and directive and "code" option
70     of the "include" directive with syntax highlighting by Pygments_.
71   - Fix parse_option_marker for option arguments containing ``=``.
72   - Fix [ 2993756 ]: import Python Imaging Library's Image module
73     via ``import PIL`` as starting with PIL 1.2,
74     "PIL lives in the PIL namespace only" (announcement__).
76 .. _Pygments: http://pygments.org/
77 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
79 * setup.py
81   - Fix [ 2971827 ] and [ 3442827 ]
82     extras/roman.py moved to docutils/utils/roman.py
84 * docutils/frontend.py
86   - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
88 * docutils/io.py
90   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
91   - `mode` argument for FileOutput avoids code replication in
92     BinaryFileOutput.
93   - New exceptions InputError and OutputError for IO errors in
94     FileInput/FileOutput.
96 * docutils/core.py:
98   - No "hard" system exit on file IO errors: catch and report them in
99     `Publisher.reportException` instead. Allows handling by a calling
100     application if the configuration setting `traceback` is True.
102 * docutils/utils.py -> docutils/utils/__init__.py
104   - docutils.utils is now a package (providing a place for sub-modules)
106   .. note:: docutils/math, docutils/error_reporting.py, and
107      docutils/urischemes.py will move to the utils package in the next
108      release, too. See RELEASE-NOTES__
110      __ RELEASE-NOTES.html
112   - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
113     errors recording non-ASCII filenames (fixes [ 3434355 ]).
115   - Fix relative_path() with source=None and `unicode` target.
117 * docutils/parsers/rst/states.py
119   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
120     characters and "international" quotes around inline markup.
121   - Use `field_marker` pattern to look for start of a
122     directive option block (fixes [ 3484857 ]).
124 * docutils/parsers/rst/tableparser.py
126   - Fix [ 2926161 ] for simple tables.
127     (Combining chars in grid tables still contribute to cell width.)
129 * docutils/writers/latex2e/__init__.py
131   - Support the `abbreviation` and `acronym` standard roles.
132   - Record only files required to generate the LaTeX source as dependencies.
133   - Fix handling of missing stylesheets.
134   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
135     when suppressing LaTeX section numbering.
136   - Use ``\DUtitle`` for unsupported section levels
137   - Apply [ 3512791 ] do not compare string literals with "is"
139 * docutils/writers/xetex/__init__.py
141   - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
143 * docutils/writers/html4css1/__init__.py
145   - Change default for `math-output` setting to MathJax.
146   - Fix handling of missing stylesheets.
148 * docutils/writers/docutils_xml.py
150   - Use the visitor pattern with default_visit()/default_depart() methods
151     instead of minidom to facilitate special handling of selected nodes.
152   - Support raw XML (inserted as-is inside a <raw></raw> node).
154 * docutils/writers/manpage.py
156   - Do not emit comment line with trailing blank. Problematic for VCS.
158 Release 0.8.1 (2011-08-30)
159 ==========================
161 * General:
163   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
164     and [ 3395920 ] (correct copyright info for rst.el).
166 * docutils/test/
168   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
170 * docutils/writers/latex2e/__init__.py
172   - Clean up Babel language setting. Restores Sphinx compatibility.
174 Release 0.8 (2011-07-07)
175 ========================
177 * General:
179   - Handle language codes according to `BCP 47`_.
180   - If the specified language is not supported by Docutils,
181     warn and fall back to English.
182   - Math support: reStructuredText "math" role and directive,
183     ``math`` and ``math_block`` doctree elements.
184   - Decode command line arguments with the locale's preferred encoding
185     (to allow, e.g., ``--title=Dornröschen``).
186   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
187   - New sub-module `error_reporting`: handle encoding/decoding errors
188     when reporting exceptions.
189   - Some additions to the Docutils core are released under the 2-Clause BSD
190     license, see COPYING_ for details.
192   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
193   .. _COPYING: COPYING.html
195 * reStructuredText:
197   - Most directives now support a "name" option that attaches a
198     reference name.
200   - Directive content may start on the first line also when the directive
201     type accepts options.
203 * docs/dev/policies.txt:
205   - Recommend the 2-Clause BSD license
206     (http://www.spdx.org/licenses/BSD-2-Clause)
207     for code that is kept under the author's copyright.
209 * tools/buildhtml.py:
211   - Fix ``--local`` switch.
213 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
215 * docutils/writers/html4css1/__init__.py
217   - Set "lang" argument for objects with class argument
218     "language-<language tag>".
219   - New setting "math-output" with support for HTML, MathML, and LaTeX.
221 * docutils/writers/latex2e/__init__.py
223   - Fix [ 3043986 ] AttributeError using :local: with table of content.
224   - Place title data in the document preamble.
225   - Load `babel` package only if required.
226   - Update list of supported languages.
227   - New config setting "hyperref-options".
228     No hard-coded "unicode" hyperref option (clash with xetex).
229   - Set language for custom roles, paragraphs, block-quotes, and
230     line-quotes with class argument "language-<language tag>".
231   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
232   - Convert image URI to a local file path.
233   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
234     has more than one paragraph (Wolfgang Scherer).
235   - \leavevmode before longtable only when needed (prevents spurious vspace)
236   - do not advance table counter for tables without caption
238 * docutils/writers/xetex/__init__.py
240   - New writer generating LaTeX code for compiling with ``xelatex``.
242     A separate writer (inheriting from latex2e) instead of a ``--xetex``
243     option allows separate config options for XeTeX vs. LaTeX2e.
245 * docutils/writers/manpage.py
247   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
248   - Fix: vertical space cleaning for option group ``.``.
250 * tools/editors/emacs/rst.el:
252   - Fix [ 3001100 ] does not handle spaces in filenames
253     (thanks to Jakub Wilk)
255 * docutils/utils.py:
257   - strip whitespace from stylesheet arguments
258   - exclude combining chars from column_width()
259     (partial fix for [ 2926161 ])
261 * docutils/parsers/rst/directives/misc.py:
263   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
264     nested_parse
266 * docutils/io.py:
268   - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
269     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
271 Release 0.7 (2010-07-07)
272 ========================
274 * General:
276   - Fix [ 2881769 ] setup configuration.
277   - Fix [ 2788716 ] reporting problems in included files.
279 * docutils/io.py
281   - FileInput opens files as text files with universal newline support
282     (mode "rU", configurable with the new optional argument "mode").
284 * docutils/nodes.py
286   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
288 * docutils/utils.py
290   - Fix [ 2923723 ] let decode_path() tolerate path == None
292 * docutils/writers/html4css1/__init__.py
294   - Support SVG and SWF images (thanks to Stefan Rank).
295   - Generate valid XHTML for centered images with targets.
296     Use CSS classes instead of "align" tags for image alignment.
298 * docutils/writers/latex2e/__init__.py
300   - Use `transforms.writer_aux.Admonitions` to "normalize" special
301     admonitions.
302   - Use the ``\url`` command for URLs (breaks long URLs instead of
303     writing into the margin).
304   - Preserve runs of spaces in `inline literals`__.
305   - Deprecate ``figure_footnotes`` setting.
306   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
307   - New ``latex_preamble`` setting.
308   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
309   - Fix hyperlink targets (labels) for images, figures, and tables.
310   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
311   - Apply [ 2961991 ] Call hyperref with unicode option.
312   - Drop the special `output_encoding`__ default ("latin-1").
313     The Docutils wide default (usually "UTF-8") is used instead.
314   - Render inline markup in document title and subtitle.
315   - Fix numbering depth with LaTeX section numbering.
316   - Update Unicode -> LaTeX translations.
317   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
319 __ docs/ref/restructuredtext.html#inline-literals
320 __ docs/user/config.html#docutils-footnotes
321 __ docs/user/config.html#output_encoding
323 * docutils/writers/manpage.py
325   - Fix: supported attribute (thanks to peter2108).
326   - Remove trailing blanks in code (keep in sync with mercurial version).
327   - Titles level 1, that is ``.SH``, always uppercase.
328   - Apply patch from mg: literal text should be bold in man-pages.
330 * docutils/nodes.py
332   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
333     turkish locale.
335 * setup.py:
337   - Python 3 support: copy test/ and tools/ to the build-dir
338     and convert Python sources with 2to3.
341 Release 0.6 (2009-10-11)
342 ========================
344 * General:
346   - Docutils is now compatible with Python versions from 2.3 up to 2.6
347     and convertible to 3.1 code.
349     + Node.__nonzero__ returns True instead of 1.
350     + use os.walk instead os.path.walk.
351     + minimize "types" module where possible.
352     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
353     + Text nodes now subclass unicode rather than UserString
354       (which is gone in python 3.0).
355     + 3.0 compatibility module docutils._compat
357     + Drop 2.2 compatibility workarounds.
358     + Drop extras/optparse.py and extras/textwrap.py
359       (stdlib modules since 2.3).
361   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
362   - Unix man page export: manpage writer moved from sandbox to Doctutils
363     core.
365   - Apply [ 1719345 ] Galician translation
366   - Apply [ 1905741 ] Polish translation
367   - Apply [ 1878977 ] make_id(): deaccent characters.
368   - Apply [ 2029251 ] return nonzero when tests fail.
369   - Fix [ 1692788 ] allow UTF-8 in style sheets.
370   - Fix [ 2781629 ] support non-ASCII chars in file names.
371   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
372   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
373   - Fix [ 2821266 ] --strict option works now like --halt=info.
374   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
375   - Fix [ 1627229 ] hyperlink references in substitutions.
377   - The "newlatex" writer is orphaned.
379 * reStructuredText:
381   - Documented Unicode characters allowed as inline markup openers,
382     closers, and delimiters.
383   - Allow units for all length specifications.
384   - Allow percent sign in "scale" argument of "figure" and "image" directives.
385   - Bugfix: The "figalign" argument of a figure now works as intended
386     (aligning the figure, not its contents).
387   - Align images with class "align-[right|center|left]"
388     (allows setting the alignment of an image in a figure).
390 * docutils/nodes.py:
392   - Added ``Element.__contains__`` method, for the in-operator.
394 * docutils/parsers/rst/states.py:
396   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
397   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
398     " " (non-breaking space), and "¡ ¿" openers.
400 * docutils/parsers/directives/misc.py:
402   - Added ``start-line`` and ``end-line`` options to "include"
403     directive to select a range of lines.
404   - Hard tabs in literal inclusions are replaced by spaces. This is
405     configurable via the new ``tab-width`` option of the "include" directive
406     (a negative tab-width prevents tab expansion).
408 * docutils/utils.py:
410   - Add ``get_stylesheet_list`` function.
411   - Apply [ 2834836 ] print info at halt
413 * docutils/transforms/universal.py:
415   - Raise default priority of StripClasses to exclude stripped classes from
416     the ToC.
418 * docutils/writers/html4css1/__init__.py:
420   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
421     separated list of stylesheets.
422   - Address [ 1938891 ] Inline literal text creates "pre" span only when
423     needed to prevent inter-word line wraps.
424   - Use `translate` method instead of repeated `replace` calls.
425   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
426     classes to allow CSS styling that does not interfere with other
427     table-using constructs (field lists, citations, ...).
429 * docutils/writers/newlatex2e/__init__.py:
431   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
433 * docutils/writers/latex2e/__init__.py (see also
434   `<docs/user/docutils-05-compat.sty.html>`__) :
436   - Add ``--embed-stylesheet`` option.
437   - Apply [ 1474017 ] image vertical alignment is reversed.
438   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
439   - Change: has_key for dictionaries (not Nodes) to in-operator.
440   - Merge adjacent citations into one latex cite command.
441   - Failsave implementation of custom roles. LaTeX compilation now ignores
442     unknown classes instead of aborting with an error.
443   - Support custom roles based on standard roles.
444   - LaTeX packages can be used as ``--stylesheet`` arguments without
445     restriction. (A style sheet is now referenced with the ``\usepackage``
446     command, if it ends with ``.sty`` or has no extension.)
447   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
448   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
449   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
450     2005-02-04 as a configurable length unit).
451   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
452     if font-encoding is set to ''. LaTeX defaults to OT1 then.
453   - Set sub- and superscript role argument in text mode not as math.
454     Use a custom role based on sub-/superscript if you want italic shape.
455   - Shorter preamble and less dependencies: Load packages and define macros
456     only if required in the document.
457   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
458   - New custom environments and commands with optional "classes" argument.
459   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
460   - Better conformance to Docutils specifications with ``--use-latex-toc``.
461     Support for LaTeX generated ToC also with unnumbered sections.
462   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
463     section numbering by LaTeX.
464   - Use default font in admonitions and sidebar.
465   - Align of image in a figure defaults to 'center'.
466   - Bugfix: Newlines around targets and references prevent run-together
467     paragraphs.
468   - Fix internal hyperlinks.
469   - Use class defaults for page margins ('typearea' now optional).
470   - Float placement made configurable, default changed to "here definitely".
471   - Typeset generic topic as "quote block with title".
472   - Use template (file and configuration option).
473   - In the default template, load cmap.sty (fix text extraction in PDF) and
474     fixltx2e.sty (LaTeX patches, \textsubscript).
475   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
476   - Use `translate` instead of repeated `replace` calls for text encoding.
477   - Hyperlinked footnotes and support for symbol footnotes and
478     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
479   - Complete pairs of binary options
480     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
481     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
482   - New defaults:
483     - font-encoding: "T1" (formerly implicitely set by 'ae').
484     - use-latex-toc: true (ToC with page numbers).
485     - use-latex-footnotes: true (no mixup with figures).
487 * docutils/writers/manpage.py
489   - Do not print version at document end, this is done by the viewer.
490   - Do not print date at document end, this is done by the viewer.
491   - Fix storage of docinfo fields for none standard fields.
493 * docutils/tools/rst2man.py
495 Release 0.5 (2008-06-25)
496 ========================
498 * docutils/languages/he.py: Added to project: Hebrew mappings by
499   Meir Kriheli.
501 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
502   mappings by Meir Kriheli.
504 * docutils/frontend.py:
506   - Configuration files are now assumed and required to be
507     UTF-8-encoded.
508   - Paths of applied configuration files are now recorded in the
509     runtime setting ``_config_files`` (accessible via
510     ``--dump-settings``).
511   - Added ``--strip-elements-with-class`` and ``--strip-class``
512     options (``strip_elements_with_classes`` and ``strip_classes``
513     settings).
515 * docutils/io.py:
517   - Added code to determine the input encoding from data: encoding
518     declarations or the presence of byte order marks (UTF-8 & UTF-16).
519   - Added support for IronPython 1.0.
521 * docutils/nodes.py:
523   - Added ``document.__getstate__`` method, for pickling.
525 * docutils/parsers/rst/states.py:
527   - Allow ``+`` and ``:`` in reference names.
528   - Unquoted targets beginning with an underscore (``.. __target:
529     URI``) are no longer accepted.
530   - Added support for multiple attributions in a physical block quote
531     (indented text block), dividing it into multiple logical block
532     quotes.
533   - Added support for unicode bullets in bullet lists: "•", "‣", and
534     "⁃".
535   - Added support for new object-oriented directive interface,
536     retaining compatibility to the old functional interface.
537   - Added support for throwing ``DirectiveError``'s from within
538     directive code.
540 * docutils/parsers/rst/__init__.py:
542   - Added ``Directive`` base class.
543   - Added ``DirectiveError`` base class.
544   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
545     definitions.
547 * docutils/parsers/directives/:
549   - Refactored all reStructuredText directives to use the new
550     object-oriented directive interface.  Errors are now (mostly)
551     thrown using the new ``DirectiveError`` class.
553 * docutils/parsers/directives/misc.py:
555   - Added ``start-after`` and ``end-before`` options to ``include``
556     directive; thanks to Stefan Rank.
558 * docutils/transforms/universal.py:
560   - Added ``StripClassesAndElements`` transform to remove from the
561     document tree all elements with classes in
562     ``settings.strip_elements_with_classes`` and all "classes"
563     attribute values in ``self.document.settings.strip_classes``.
565 * docutils/transforms/writer_aux.py:
567   - Added ``Admonitions`` transform to transform specific admonitions
568     (like ``note``, ``warning``, etc.) into generic admonitions with a
569     localized title.
571 * docutils/writers/html4css1/__init__.py:
573   - Moved template functionality from the PEP/HTML writer here.
574   - Expanded the fragments available in the ``parts`` attribute.
575   - Moved ``id`` attributes from titles to surrounding ``div``
576     elements.
577   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
578     universally supported now).
579   - ``template.txt`` is now opened in text mode instead of binary mode
580     (to ensure Windows compatibility).
581   - ``a`` elements now have an "internal" or "external" class,
582     depending on reference type.
584 * docutils/writers/html4css1/template.txt: Added to project.
586 * docutils/writers/pep_html/:
588   - Moved template functionality to the HTML writer.
590 * docutils/writers/s5_html/__init__.py:
592   - Added ``view_mode`` & ``hidden_controls`` settings
593     (``--view-mode`` & ``--hidden-controls/--visible-controls``
594     options).
596 * docutils/writers/latex2e/__init__.py:
598   - Add ``--literal-block-env``
599   - Fix: escaping ``%`` in href urls.
600   - Move usepackage hyperref after stylesheet inclusion.
601   - Fix: scrartcl does not have chapter but scrreprt.
602   - Add newline after ``\end{verbatim}``.
603   - Merge smaller differences from latex2e_adaptive_preamble.
604   - Add ``use-part-section``.
605   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
606   - Using leavemode option_list no longer needs to check if parent
607     is a definition list.
608   - Append ``\leavemode`` to definition list terms.
609   - No longer write visit\_/depart_definition_list_item comments to
610     output.
611   - Table column width with 3 decimal places.
612   - Add table stubs support (boldfont).
613   - Add assemble_parts to writer.
614   - Add simply support for nested tables.
615   - Fix verbatim in tables if use-verbatim-when-possible.
616   - Use section commands down to subparagraph.
617   - Put ensuremath around some latin1 chars.
618   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
619   - New option ``--use-bibtex=style,db1,db2``.
620   - New option ``--reference-label`` to allow usage of LaTeX ref for
621     labels in section references.
622   - Add a label after every section to support sectionnumbers as reference
623     labels.
624   - Fix: bug# 1605376 rst2latex: bad options group list
625   - Remove inactive code for use_optionlist_for_option_list.
626   - Remove latex comments from option_list output.
627   - Fix: bug# 1612270 double qoutes in italian literal.
628   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
629   - Add option --use-latex-abstract.
630   - Image width unit ``px`` is translated to ``pt``.
631   - Add image height support.
632   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
633     bug #1457388
634   - Fix: Do not escape underscores in citation reference labels if
635     use-latex-citations is set.
636   - Use centering instead of center for figure contents, to avoid vertical
637     space.
638   - Recognize table class: borderless, nolines, booktabs, standard.
639   - Fix: Renaming contents section does not work with latex writer; SF
640     bug #1487405.
641   - Applied patch for custom roles with classes from Edward Loper.
642   - Fixed bug that caused crashes with more than 256 lists.
644 * docutils/writers/pep_html/__init__.py:
646   - Changed to support new python.org website structure and
647     pep2pyramid.py.
649 * docs/howto/security.txt: "Deploying Docutils Securely", added to
650   project.
652 * tools/buildhtml.py:
654   -- Added ``ignore`` setting to exclude a list of shell patterns
655      (default: ``.svn:CVS``).
657 * tools/editors/emacs/rst.el:
659   - Changed license to "GPL".
660   - Added ``rst-straighten-decorations`` function.
661   - The ``compile`` module is now always loaded.
662   - Added ``rst-toggle-line-block`` function.
663   - Headings consisting only of non-ASCII characters are now
664     recognized by ``rst-toc`` and ``rst-adjust``.
665   - Added font-lock support for multi-line comments where the first
666     comment line is empty.
667   - Added ``(require 'font-lock)``.
669 * setup.py:
671   - Provide descriptive error message if distutils is missing.
674 Release 0.4 (2006-01-09)
675 ========================
677 * General:
679   - Updated the project policies for trunk/branch development &
680     version numbering.
682 * docutils/__init__.py:
684   - Added ``__version_details__`` attribute to describe code source
685     (repository/snapshot/release).
686   - Replaced ``default_transforms`` attribute of TransformSpec with
687     ``get_transforms()`` method.
689 * docutils/core.py:
691   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
692     functions, for document tree extraction and reprocessing.
694 * docutils/io.py:
696   - Added ``DocTreeInput`` class, for reprocessing existing documents.
697   - Added support for non-Unicode (e.g. binary) writer output.
699 * docutils/nodes.py:
701   - Re-introduced ``Targetable.indirect_reference_name``, for
702     MoinMoin/reST compatibility (removed in r3124/r3129).
703   - Added ``serial_escape`` function; escapes string values that are
704     elements of a list, for serialization.  Modified Docutils-XML
705     writing (``Element._dom_node``) and pseudo-XML writing
706     (``Element.starttag``) to use ``serial_escape``.
707   - Added ``Node.deepcopy()`` method.
708   - Removed the internal lists ``document.substitution_refs``,
709     ``document.anonymous_refs``, and ``document.anonymous_targets``.
710   - Added a "container" element.
711   - Fixed bug where values of list-valued attributes of elements
712     originating from custom interpreted text roles (i.e., with custom
713     classes) were being shared between element instances.  Reported by
714     Shmuel Zeigerman.
716 * docutils/statemachine.py:
718   - Added trailing whitespace stripping to ``string2lines()``.
719   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
720     Asian double-width character support.
722 * docutils/utils.py:
724   - Added ``east_asian_column_width()`` for double-width character
725     support.
727 * docutils/languages/ja.py: Added to project: Japanese mappings by
728   Hisashi Morita.
730 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
731   mappings by Panjunyong.
733 * docutils/parsers/null.py: Added to project; a do-nothing parser.
735 * docutils/parsers/rst/__init__.py:
737   - Added validator to tab_width setting, with test.  Closes SF bug
738     #1212515, report from Wu Wei.
740 * docutils/parsers/rst/states.py:
742   - Fixed bug with escaped colons indicating a literal block.
743   - Fixed bug with enumerated lists (SF#1254145).
744   - Backslash-escaped colons inside of field names are now allowed.
745   - Targets (implicit and explicit), anonymous hyperlink references
746     and auto-numbered footnote references inside of substitution
747     definitions are now disallowed.
748   - Fixed bug: list items with blank first lines.
749   - Fixed bug: block quote attributions with indented second lines.
750   - Added East Asian double-width character support (Python 2.4 only).
752 * docutils/parsers/rst/tableparser.py:
754   - Added East Asian double-width character support (Python 2.4 only).
756 * docutils/parsers/rst/directives/body.py:
758   - Added the "container" directive.
760 * docutils/parsers/rst/directives/misc.py:
762   - Added the "default-role", "title", and "date" directives.
763   - Added standard data file syntax to the "include" directive.
764   - Added support for "class" directive content.
766 * docutils/parsers/rst/directives/images.py:
768   - Added ``indirect_reference_name`` support for images with a target
769     option.
770   - Added support for image width and height units.
771   - Fixed bug with image "target" options.
773 * docutils/parsers/rst/directives/references.py:
775   - Added "class" attribute to "target-notes" directive, for
776     footnote_reference classes.
778 * docutils/parsers/rst/include/: Directory added to project; contains
779   standard data files for the "include" directive.  Initial contents:
780   character entity substitution definition sets, and a set of
781   definitions for S5/HTML presentations.
783 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
784   mappings by David Goodger.
786 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
787   Simplified Chinese mappings by Panjunyong.
789 * docutils/readers/__init__.py:
791   - Added universal.Decorations and universal.ExposeInternals
792     transforms as default transforms for all readers.
793   - Added ``ReReader`` base class for readers that reread an existing
794     document tree.
796 * docutils/readers/doctree.py: Added to project; a reader for existing
797   document trees.
799 * docutils/transforms/frontmatter.py:
801   - Fixed the DocInfo transform to handle SVN-style expansion of the
802     "Date" keyword.
803   - In ``DocInfo.extract_authors``, treat the contents of "authors"
804     fields uniformly.
806 * docutils/transforms/misc.py:
808   - Added misc.Transitions transform, extracted from
809     universal.FinalChecks.
811 * docutils/transforms/references.py:
813   - Added references.DanglingReferences transform, extracted from
814     universal.FinalChecks.
815   - Fixed bug with doubly-indirect substitutions.
816   - Added footnote_reference classes attribute to "TargetNotes".
817   - Fixed bug with circular substitution definitions that put Docutils
818     into an infinite loop.
820 * docutils/transforms/universal.py:
822   - Added universal.ExposeInternals transform, extracted from
823     universal.FinalChecks.
824   - Removed universal.FinalChecks transform (logic has been moved to
825     several new transforms).
826   - Fixed bug with the "expose_internals" setting and Text nodes
827     (exposed by the "rawsource" internal attribute).
828   - Added the universal.StripComments transform, implementation of the
829     "strip_comments" setting.
831 * docutils/transforms/writer_aux.py: Added to project; auxiliary
832   transforms for writers.
834   - Added ``Compound`` transform, which flattens compound paragraphs.
836 * docutils/writers/: Several writer modules (html4css1.py) were
837   converted into packages.  Support modules and data files have been
838   moved into the packages.  The stylesheets for the HTML writers are
839   now installed along with the code, the code knows where to find
840   them, and the default is to use them (actually, to embed them).
841   Some adjustments to configuration files may be necessary.  The
842   easiest way to obtain the new default behavior is to remove all
843   settings whose name includes "stylesheet".
845 * docutils/writers/__init__.py:
847   - Added universal.Messages and universal.FilterMessages transforms
848     as default transforms for all writers.
849   - Added ``UnfilteredWriter`` base class for writers that pass the
850     document tree on unchanged.
852 * docutils/writers/docutils_xml.py:
854   - Made ``xmlcharrefreplace`` the default output encoding error
855     handler.
857 * docutils/writers/html4css1/:
859   - Added support for image width and height units.
860   - Made ``xmlcharrefreplace`` the default output encoding error
861     handler.
862   - Made ``--embed-stylesheet`` the default rather than
863     ``--link-stylesheet``.
864   - Moved "id" attribute from container (section etc.) to title's <a>
865     tag, to be on the same tag as "name".
866     (!!! To be reverted in Docutils 0.5.)
867   - Added vertical space between fields of field lists.
868   - Added ``--compact-field-lists`` option to remove vertical space in
869     simple field lists.
870   - Made cloaking of email addresses with ``--cloak-email-addresses``
871     less obtrusive.
872   - Fixed support for centered images.
873   - Added support for class="compact" & class="open" lists.
875 * docutils/writers/latex2e/:
877   - Underscores in citekeys are no longer escaped.
879 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
880   mapping of Unicode characters to LaTeX equivalents.
882 * docutils/writers/s5_html/: Package added to project; writer for
883   S5/HTML slide shows.
885 * docs/dev/distributing.txt: Added to project; guide for distributors
886   (package maintainers).
888 * docs/dev/hacking.txt: Added to project; guide for developers.
890 * docs/ref/doctree.txt:
892   - Updated for plural attributes "classes", "ids", "names",
893     "dupnames".
894   - Added the "container" element.
896 * docs/ref/docutils.dtd:
898   - Updated for plural attributes "classes", "ids", "names",
899     "dupnames".
901 * docs/user/emacs.txt: Added to project; a document about Emacs
902   support for reStructuredText and Docutils.
904 * docs/user/links.txt: Added to project; lists of Docutils-related
905   links.
907 * docs/user/mailing-lists.txt: Added to project; information about
908   Docutils-related mailing lists and how to access them.
910 * docs/user/slide-shows.txt: Added to project; example of and docs for
911   the S5/HTML writer (``rst2s5.py`` front end).
913 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
914   Files", added to project.
916 * test/coverage.sh: Added to project; test coverage script.
918 * test/DocutilsTestSupport.py:
920   - Added support for specifying runtime settings at the suite level.
922 * test/test_functional.py:
924   - Added the ``clear_output_directory`` function.
925   - Added support for ``_test_more`` functions in functional test
926     config files.
928 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
930 * tools/rstpep2html.py: Renamed from pep.py.
932 * tools/dev/create_unimap.py: Added to project; script to create the
933   docutils/writers/unimap_latex.py mapping file.
935 * tools/dev/profile_docutils.py: Added to project; profiler script.
937 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
939 * tools/editors/emacs/restructuredtext.el,
940   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
941   Removed from project; the functionality is now contained in rst.el.
943 * tools/editors/emacs/rst.el: Added to project.  Added many features
944   and fixed many bugs.  See docs/user/emacs.txt for details.
946 * tools/stylesheets: Removed from project.  Stylesheets have been
947   renamed and moved into writer packages.
950 Release 0.3.9 (2005-05-26)
951 ==========================
953 * General:
955   - Eliminated and replaced all uses of the old string attributes
956     ``id``, ``name``, ``dupname`` and ``class`` with references to the
957     new list attributes ``ids``, ``names``, ``dupnames`` and
958     ``classes`` throughout the whole source tree.
960 * docutils/core.py:
962   - Enabled ``--dump-*`` options when ``--traceback`` specified,
963     allowing for easier debugging.
964   - In ``Publisher.publish()``, expanded the generic top-level
965     exception catching.
967 * docutils/examples.py:
969   - Added ``internals`` function for exploration.
971 * docutils/io.py:
973   - Fixed ``Input.decode`` method to apply heuristics only if no
974     encoding is explicitly given, and to provide better reporting of
975     decoding errors.
976   - The ``Input.decode`` method now removes byte order marks (BOMs)
977     from input streams.
979 * docutils/nodes.py:
981   - ``image`` element class changed to subclass of Element, not
982     TextElement (it's an empty element, and cannot contain text).
983   - Added ``attr_defaults`` dictionary for default attribute values.
984   - Added empty list as default value for the following attributes:
985     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
986   - Added ``document.decoration`` attribute,
987     ``document.get_decoration`` method, and ``decoration.get_header``
988     & ``.get_footer`` methods.
989   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
990     methods.
992 * docutils/utils.py:
994   - Removed ``docutils.utils.Reporter.categories``,
995     ``docutils.utils.ConditionSet``, and all references to them, to
996     simplify error reporting.
998 * docutils/languages/nl.py: Added to project; Dutch mappings by
999   Martijn Pieters.
1001 * docutils/parsers/rst/__init__.py:
1003   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
1005 * docutils/parsers/rst/states.py:
1007   - Added check for escaped at-mark to prevent email address recognition.
1008   - Fixed option lists to allow spaces inside ``<angle-bracketed option
1009     arguments>``.
1010   - Allowed whitespace in paths and URLs.
1011   - Added auto-enumerated list items.
1012   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
1013     followed by text.
1014   - Added support for table stub columns.
1016 * docutils/parsers/rst/directives/__init__.py:
1018   - Allowed whitespace in paths (``path`` function).
1019   - Added ``uri`` directive option conversion function.
1021 * docutils/parsers/rst/directives/body.py:
1023   - Fixed illegal context bug with "topic" directive (allowed within
1024     sidebars; not within body elements).
1026 * docutils/parsers/rst/directives/images.py:
1028   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1029   - Added support for the ``file_insertion_enabled`` setting in the
1030     "figure" directive (disables "figwidth" option).
1031   - "image" directive: added checks for valid values of "align" option,
1032     depending on context.  "figure" directive: added specialized
1033     "align" option and attribute on "figure" element.
1034   - Made ":figwidth: image" option of "figure" directive work again.
1035   - Fixed bug with reference names containing uppercase letters
1036     (e.g. ``Name_``) in "target" option of "image" directive.
1038 * docutils/parsers/rst/directives/misc.py:
1040   - Fixed "include" and "raw" directives to catch text decoding
1041     errors.
1042   - Allowed whitespace in "include" & "raw" directive paths.
1043   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1044     settings in "include" & "raw" directives.
1046 * docutils/parsers/rst/directives/parts.py:
1048   - Added "header" & "footer" directives.
1049   - Fixed illegal context bug with "contents" directive (topics
1050     allowed within sidebars; not within body elements).
1052 * docutils/parsers/rst/directives/tables.py:
1054   - Added "list-table" directive.
1055   - Caught empty CSV table bug.
1056   - Added support for the ``file_insertion_enabled`` setting in the
1057     "csv-table" directive.
1058   - Added ``stub-columns`` option to "csv-table" and "list-table"
1059     directives.
1061 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1062   mappings by Martijn Pieters.
1064 * docutils/readers/standalone.py:
1066   - Added ``--section-subtitles`` and ``--no-section-subtitles``
1067     options to activate or deactivate the SectSubTitle transform.
1069 * docutils/transforms/frontmatter.py:
1071   - Added SectSubTitle transform to promote titles of lone
1072     subsections to subtitles.
1074 * docutils/transforms/references.py:
1076   - Fixed mislocated internal targets bug, by propagating internal
1077     targets to the next node, making use of the newly added support
1078     for multiple names and IDs.
1079   - Fixed duplicate footnote label bug.
1080   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1081     transform.
1083 * docutils/writers/html4css1.py:
1085   - Fixed unencoded stylesheet reference bug (characters like "&" in
1086     stylesheet references).
1087   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1088     tags).
1089   - Added support for multiple IDs per node by creating empty ``span``
1090     tags.
1091   - Added the ``field_name_limit`` & ``option_limit`` settings &
1092     support.
1093   - Added support for table stub columns.
1094   - Added support for the ``align`` attribute on ``figure`` elements.
1095   - Added the ``cloak_email_addresses`` setting & support.
1096   - Added ``html_prolog``, ``html_head``, ``html_body``,
1097     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1098     ``docutils.core.publish_parts``.
1099   - Added support for section subtitles.
1101 * docutils/writers/latex2e.py:
1103   - Fixed tables starting with more than one multirow cell.
1104   - Improved --use-latex-docinfo so that organization/contact/address
1105     fields are lumped with the last author field and appear on the
1106     titlepage.
1107   - Made sure the titlepage is always shown with --use-latex-docinfo,
1108     even if the document has no title.
1109   - Made sure that latex doesn't fill in today's date if no date field
1110     was given.
1111   - Added support for section subtitles.
1113 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1114   (under development).
1116 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1118 * docs/api/publisher.txt:
1120   - Added "``publish_parts`` Details" section.
1122 * docutils/dev/repository.txt: Added to project; information about the
1123   Docutils Subversion repository.
1125 * docs/ref/docutils.dtd:
1127   - Added a ``stub`` attribute to the ``colspec`` element via the
1128     ``tbl.colspec.att`` parameter entity.
1129   - Allowed topic elements within sidebars
1130   - Added an ``align`` attribute to the ``figure`` element.
1132 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1133   writer.
1136 Release 0.3.7 (2004-12-24)
1137 ==========================
1139 * docutils/frontend.py:
1141   - Added options: --input-encoding-error-handler,
1142     --record-dependencies, --leave-footnote-reference-space,
1143     --strict-visitor.
1144   - Added command-line and config file support for "overrides" setting
1145     parameter.
1147 * docutils/io.py:
1149   - Added support for input encoding error handler.
1151 * docutils/nodes.py:
1153   - Added dispatch_visit and dispatch_departure methods to
1154     NodeVisitor; useful as a hook for Visitors.
1155   - Changed structure of ``line_block``; added ``line``.
1156   - Added ``compound`` node class.
1157   - Added a mechanism for Visitors to transitionally ignore new node
1158     classes.
1160 * docutils/utils.py:
1162   - Moved ``escape2null`` and ``unescape`` functions from
1163     docutils/parsers/rst/states.py.
1165 * docutils/parsers/rst/roles.py:
1167   - Added "raw" role.
1168   - Changed role function API: the "text" parameter now takes
1169     null-escaped interpreted text content.
1171 * docutils/parsers/rst/states.py:
1173   - Fixed bug where a "role" directive in a nested parse would crash
1174     the parser; the state machine's "language" attribute was not being
1175     copied over.
1176   - Added support for line block syntax.
1177   - Fixed directive parsing bug: argument-less directives didn't
1178     notice that arguments were present.
1179   - Removed error checking for transitions.
1180   - Added support for multiple classifiers in definition list items.
1181   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1182   - Changed role function API: the "text" parameter now takes
1183     null-escaped interpreted text content.
1184   - Empty sections and documents are allowed now.
1186 * docutils/parsers/rst/directives/__init__.py:
1188   - Added ``encoding`` directive option conversion function.
1189   - Allow multiple class names in class_option conversion function.
1191 * docutils/parsers/rst/directives/body.py:
1193   - Converted the line-block directive to use the new structure.
1194   - Extracted the old line-block functionality to the ``block``
1195     function (still used).
1196   - Added ``compound`` directive (thanks to Lea Wiemann).
1198 * docutils/parsers/rst/directives/misc.py:
1200   - Added "encoding" option to "include" and "raw" directives.
1201   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1202   - Allow multiple class names in the "class" directive.
1204 * docutils/parsers/rst/directives/parts.py:
1206   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1207     options.  Thanks to Lele Gaifax.
1209 * docutils/parsers/rst/directives/tables.py:
1211   - Added "encoding" directive to "csv-table" directive.
1212   - Added workaround for lack of Unicode support in csv.py, for
1213     non-ASCII CSV input.
1215 * docutils/transforms/misc.py:
1217   - Fixed bug when multiple "class" directives are applied to a single
1218     element.
1219   - Enabled multiple format names for "raw" directive.
1221 * docutils/transforms/references.py:
1223   - Added support for trimming whitespace from beside substitution
1224     references.
1226 * docutils/transforms/universal.py:
1228   - FinalChecks now checks for illegal transitions and moves
1229     transitions between sections.
1231 * docutils/writers/html4css1.py:
1233   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1234   - "stylesheet" and "stylesheet_path" settings are now mutually
1235     exclusive.
1236   - Added support for the new line_block/line structure.
1237   - --footnote-references now overrides
1238     --trim-footnote-reference-space, if applicable.
1239   - Added support for ``compound`` elements.
1240   - Enabled multiple format names for "raw" directive.
1241   - ``<p>`` tags of a paragraph which is the only visible child of the
1242     document node are no longer stripped.
1243   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1244     new method ``should_be_compact_paragraph()``.
1245   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1246     elements.
1247   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1248     the output if they have their ``class`` attribute set.
1249   - The whole document is now surrounded by a ``<div
1250     class="document">`` element.
1251   - Body-level images are now wrapped by their own ``<div>`` elements,
1252     with image classes copied to the wrapper, and for images which
1253     have the ``:align:`` option set, the surrounding ``<div>`` now
1254     receives a class attribute (like ``class="align-left"``).
1256 * docutils/writers/latex2e.py:
1258   - no newline after depart_term.
1259   - Added translations for some Unicode quotes.
1260   - Added option "font-encoding", made package AE the default.
1261   - "stylesheet" and "stylesheet_path" settings are now mutually
1262     exclusive.
1263   - --footnote-references now overrides
1264     --trim-footnote-reference-space, if applicable.
1265   - The footnote label style now matches the footnote reference style
1266     ("brackets" or "superscript").
1267   - Added support for ``compound`` elements.
1268   - Enabled multiple format names for "raw" directive.
1270 * docs/ref/docutils.dtd:
1272   - Changed structure of the ``line_block`` element; added ``line``.
1273   - Added ``compound`` element.
1274   - Added "ltrim" and "rtrim" attributes to
1275     ``substitution_definition`` element.
1276   - Enabled multiple format names for ``raw`` element.
1277   - Enabled multiple classifiers in ``definition_list_item`` elements.
1279 * docs/ref/rst/directives.txt
1281   - Marked "line-block" as deprecated.
1282   - "Class" directive now allows multiple class names.
1283   - Added "Rationale for Class Attribute Value Conversion".
1284   - Added warning about "raw" overuse/abuse.
1286 * docs/ref/rst/restructuredtext.txt:
1288   - Added syntax for line blocks.
1289   - Definition list items may have multiple classifiers.
1291 * docs/ref/rst/roles.txt:
1293   - Added "raw" role.
1295 * tools/stylesheets/default.css:
1297   - Added support for the new line_block structure.
1298   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1301 Release 0.3.5 (2004-07-29)
1302 ==========================
1304 General:
1306 * _`Documentation cleanup/reorganization`.
1308   - Created new subdirectories of docs/:
1310     * ``docs/user/``: introductory/tutorial material for end-users
1311     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1312     * ``docs/api/``: API reference material for client-developers
1313     * ``docs/ref/``: reference material for all groups
1314     * ``docs/howto/``: for component-developers and core-developers
1315     * ``docs/peps/``: Python Enhancement Proposals
1317   - Moved ``docs/*`` to ``docs/user/``.
1318   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1319     ``spec/`` to ``docs/dev``.
1320   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1321     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1322   - Moved ``alternatives.txt``, and ``problems.txt`` from
1323     ``spec/rst/`` to ``docs/dev/rst/``.
1324   - Moved ``reStructuredText.txt``, ``directives.txt``,
1325     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1326     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1327     ``roles.txt``, ``reStructuredText.txt`` to
1328     ``restructuredtext.txt``.
1329   - Moved ``spec/howto/`` to ``docs/howto``.
1331   In order to keep the CVS history of moved files, we supplied
1332   SourceForge with a `script for modifying the Docutils CVS
1333   repository`__.
1335   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1337   After running the cleanup script:
1339   - Added ``docs/index.txt``.
1340   - Added a ``.htaccess`` file to the ``web`` module, containing
1341     redirects for all old paths to new paths.  They'll preserve
1342     fragments (the "#name" part of a URL), and won't clutter up the
1343     file system, and will correct the URL in the user's browser.
1344   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1345     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1346     the "To Do" list itself in ``docs/dev/todo.txt``.
1347   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1348     section of ``docs/dev/todo.txt``.
1349   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1350   - Added "How To Report Bugs" to ``BUGS.txt``.
1351   - Went through all the sources and docs (including under web/) and
1352     updated links.  Mostly done by Lea Wiemann; thanks Lea!
1353     (Still need to update links in the sandboxes.)
1355 Specific:
1357 * BUGS.txt: Added to project.
1359 * THANKS.txt: Added to project.
1361 * docutils/__init__.py:
1363   - 0.3.4: Post-release.
1365 * docutils/core.py:
1367   - Added special error handling & advice for UnicodeEncodeError.
1368   - Refactored Publisher.publish (simplified exception handling &
1369     extracted debug dumps).
1370   - Renamed "enable_exit" parameter of convenience functions to
1371     "enable_exit_status".
1372   - Enabled traceback (exception propagation) by default in
1373     programmatic convenience functions.
1374   - Now publish_file and publish_cmdline convenience functions return
1375     the encoded string results in addition to their regular I/O.
1376   - Extracted common code from publish_file, publish_string, and
1377     publish_parts, into new publish_programmatically.  Extracted
1378     settings code to ``Publisher.process_programmatic_settings``.
1379   - In Publisher.publish, disabled ``settings_overrides`` when
1380     ``settings`` is supplied; redundant.
1382 * docutils/frontend.py:
1384   - Added help text for "--output-encoding-error-handler" and
1385     "--error-encoding-error-handler".
1386   - Renamed "--exit" to "--exit-status".
1387   - Simplified default-setting code.
1389 * docutils/parsers/rst/__init__.py:
1391   - Added "--pep-base-url" and "--rfc-base-url" options.
1393 * docutils/parsers/rst/states.py:
1395   - Made URI recognition more aggressive and intelligent.
1397 * docutils/parsers/rst/directives/__init__.py:
1399   - Added several directive option conversion functions.
1401 * docutils/parsers/rst/directives/body.py:
1403   - Moved "table" directive to tables.py.
1405 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1406   added to project.
1408 * docutils/writers/latex2e.py:
1410   - Added "--table-style=(standard|booktabs|nolines)"
1411   - figures get "here" option (LaTeX per default puts them at bottom),
1412     and figure content is centered.
1413   - Rowspan support for tables.
1414   - Fix: admonition titles before first section.
1415   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1416   - Replave ``_`` in literal by an underlined blank, because it has the correct
1417     width.
1418   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1419   - A few unicode replacements, if output_encoding != utf
1420   - Add "--graphicx-option".
1421   - Indent literal-blocks.
1422   - Fix: omit ``\maketitle`` when there is no document title.
1424 * docs/index.txt: "Docutils Project Documentation Overview", added to
1425   project.
1427 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1428   Tool", added to project.
1430 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1432 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1434 * docs/dev/policies.txt: Added to project (extracted from
1435   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1437 * docs/dev/release.txt: Added to project (extracted from
1438   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1440 * docs/dev/testing.txt: Added to project.
1442 * docs/dev/website.txt: Added to project (extracted from
1443   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1445 * docs/ref/rst/directives.txt:
1447   - Added directives: "table", "csv-table".
1449 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1450   added to project.  1 page for syntax, and a 1 page reference for
1451   directives and roles.  Source text to be used as-is; not meant to be
1452   converted to HTML.
1454 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1455   with a change of title.
1457 * test/functional/, contents, and test/test_functional.py: Added to
1458   project.
1460 * tools/buildhtml.py: Fixed bug with config file handling.
1462 * tools/html.py: Removed from project (duplicate of rst2html.py).
1464 * tools/pep2html.py: Removed from project (duplicate of Python's
1465   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1466   Docutils-related PEPs in docs/peps/).
1468 * tools/rst2pseudoxml.py: Renamed from publish.py.
1470 * tools/rst2xml.py: Renamed from docutils-xml.py.
1472 * tools/test.txt: Removed from project; moved to
1473   docs/user/rst/demo.txt.
1475 * setup.py: Now also installs ``rst2latex.py``.
1478 Release 0.3.3 (2004-05-09)
1479 ==========================
1481 * docutils/__init__.py:
1483   - 0.3.1: Reorganized config file format (multiple sections); see
1484     docs/config.txt.
1485   - Added unknown_reference_resolvers attribute to TransformSpec.
1486   - 0.3.2: Interpreted text reorganization.
1487   - 0.3.3: Released.
1489 * docutils/core.py:
1491   - Catch system messages to stop tracebacks from parsing errors.
1492   - Catch exceptions during processing report & exit without
1493     tracebacks, except when "--traceback" used.
1494   - Reordered components for OptionParser; application comes last.
1495   - Added "config_section" parameter to several methods and functions,
1496     allowing front ends to easily specify their config file sections.
1497   - Added publish_parts convenience function to allow access to individual
1498     parts of a document.
1500 * docutils/examples.py: Added to project; practical examples of
1501   Docutils client code, to be used as-is or as models for variations.
1503 * docutils/frontend.py:
1505   - Added "--traceback" & "--no-traceback" options ("traceback"
1506     setting).
1507   - Implemented support for config file reorganization:
1508     ``standard_config_files`` moved from ``ConfigParser`` to
1509     ``OptionParser``; added
1510     ``OptionParser.get_config_file_settings()`` and
1511     ``.get_standard_config_settings()``; support for old "[options]"
1512     section (with deprecation warning) and mapping from old to new
1513     settings.
1514   - Reimplemented setting validation.
1515   - Enabled flexible boolean values: yes/no, true/false, on/off.
1516   - Added ``Values``, a subclass of ``optparse.Values``, with support
1517     for list setting attributes.
1518   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1519     thanks to Beni Cherniavsky.
1520   - Added "--no-section-numbering" option.
1522 * docutils/io.py:
1524   - Catch IOErrors when opening source & destination files, report &
1525     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1526     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1528 * docutils/nodes.py:
1530   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1531     method definitions (via ``exec``) to dynamic assignments (via
1532     ``setattr``); thanks to Roman Suzi.
1533   - Encapsulated visitor dynamic assignments in a function; thanks to
1534     Ian Bicking.
1535   - Added indirect_reference_name attribute to the Targetable
1536     class. This attribute holds the whitespace_normalized_name
1537     (contains mixed case) of a target.
1539 * docutils/statemachine.py:
1541   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1542   - Added ``StringList.get_2D_block``.
1544 * docutils/utils.py:
1546   - Added "level" attribute to SystemMessage exceptions.
1548 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1549   Jannie Hofmeyr.
1551 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1552   Blaha.
1554 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1555   Marcelo Huerta San Martin.
1557 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1558   mappings by Lalo Martins.
1560 * docutils/languages/ru.py: Added to project; Russian mappings by
1561   Roman Suzi.
1563 * docutils/parsers/rst/roles.py: Added to project.  Contains
1564   interpreted text role functions, a registry for interpreted text
1565   roles, and an API for adding to and retrieving from the registry.
1566   Contributed by Edward Loper.
1568 * docutils/parsers/rst/states.py:
1570   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1571   - Allowed true em-dash character and "---" as block quote
1572     attribution marker.
1573   - Added support for <angle-bracketed> complex option arguments
1574     (option lists).
1575   - Fixed handling of backslashes in substitution definitions.
1576   - Fixed off-by-1 error with extra whitespace after substitution
1577     definition directive.
1578   - Added inline markup parsing to field lists' field names.
1579   - Added support for quoted (and unindented) literal blocks.
1580     Driven in part by a bribe from Frank Siebenlist (thanks!).
1581   - Parser now handles escapes in URIs correctly.
1582   - Made embedded-URIs' reference text omittable.  Idea from Beni
1583     Cherniavsky.
1584   - Refactored explicit target processing code.
1585   - Added name attribute to references containing the reference name only
1586     through whitespace_normalize_name (no case changes).
1587   - parse_target no longer returns the refname after going through
1588     normalize_name. This is now handled in make_target.
1589   - Fixed bug relating to role-less interpreted text in non-English
1590     contexts.
1591   - Reorganized interpreted text processing; moved code into the new
1592     roles.py module.  Contributed by Edward Loper.
1593   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1594     ``parse_directive_block``.
1596 * docutils/parsers/rst/tableparser.py:
1598   - Reworked for ``StringList``, to support "include" directives in
1599     table cells.
1601 * docutils/parsers/rst/directives/__init__.py:
1603   - Renamed ``unchanged()`` directive option conversion function to
1604     ``unchanged_required``, and added a new ``unchanged``.
1605   - Catch unicode value too high error; fixes bug 781766.
1606   - Beefed up directive error reporting.
1608 * docutils/parsers/rst/directives/body.py:
1610   - Added basic "table" directive.
1612 * docutils/parsers/rst/directives/images.py:
1614   - Added "target" option to "image" directive.
1615   - Added name attribute to references containing the reference name only
1616     through whitespace_normalize_name (no case changes).
1618 * docutils/parsers/rst/directives/misc.py:
1620   - Isolated the import of the ``urllib2`` module; was causing
1621     problems on SourceForge (``libssl.so.2`` unavailable?).
1622   - Added the "role" directive for declaring custom interpreted text
1623     roles.
1625 * docutils/parsers/rst/directives/parts.py:
1627   - The "contents" directive does more work up-front, creating the
1628     "topic" and "title", and leaving the "pending" node for the
1629     transform.  Allows earlier reference resolution; fixes subtle bug.
1631 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1632   mappings by Jannie Hofmeyr.
1634 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1635   mappings by Marek Blaha.
1637 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1638   mappings by Marcelo Huerta San Martin.
1640 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1641   Portuguese mappings by Lalo Martins.
1643 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1644   mappings by Roman Suzi.
1646 * docutils/transforms/parts.py:
1648   - The "contents" directive does more work up-front, creating the
1649     "topic" and "title", and leaving the "pending" node for the
1650     transform.  Allows earlier reference resolution; fixes subtle bug.
1651   - Added support for disabling of section numbering.
1653 * docutils/transforms/references.py:
1655   - Verifying that external targets are truly targets and not indirect
1656     references. This is because we are now adding a "name" attribute to
1657     references in addition to targets. Note sure if this is correct!
1658   - Added code to hook into the unknown_reference_resolvers list for a
1659     transformer in resolve_indirect_target. This allows the
1660     unknown_reference_resolvers to keep around indirect targets which
1661     docutils doesn't know about.
1662   - Added specific error message for duplicate targets.
1664 * docutils/transforms/universal.py:
1666   - Added FilterMessages transform (removes system messages below the
1667     verbosity threshold).
1668   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1669     to FinalCheckVisitor for application-specific handling of
1670     unresolvable references.
1671   - Added specific error message for duplicate targets.
1673 * docutils/writers/__init__.py:
1675   - Added assemble_parts method to the Writer class to allow for
1676     access to a documents individual parts.
1677   - Documented & set default for ``Writer.output`` attribute.
1679 * docutils/writers/html4css1.py:
1681   - Fixed unicode handling of attribute values (bug 760673).
1682   - Prevent duplication of "class" attribute values (bug report from
1683     Kirill Lapshin).
1684   - Improved table grid/border handling (prompted by report from Bob
1685     Marshall).
1686   - Added support for table titles.
1687   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1688     to Darek Suchojad.
1689   - Added functionality to keep track of individual parts of a document
1690     and store them in a dictionary as the "parts" attribute of the writer.
1691     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1692   - Added proper support for the "scale" attribute of the "image"
1693     element.  Contributed by Brent Cook.
1694   - Added ``--initial-header-level`` option.
1695   - Fixed bug: the body_pre_docinfo segment depended on there being a
1696     docinfo; if no docinfo, the document title was incorporated into
1697     the body segment.  Adversely affected the publish_parts interface.
1699 * docutils/writers/latex2e.py:
1701   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1702     about a missing file.
1703   - Added options and support: ``--compound-enumerators``,
1704     ``--section-prefix-for-enumerators``, and
1705     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1706     934322).
1707   - Added option ``--use-verbatim-when-possible``, to avoid
1708     problematic characters (eg, '~' in italian) in literal blocks.
1709   - It's now possible to use four section levels in the `book` and
1710     `report` LaTeX classes.  The default `article` class still has
1711     three levels limit.
1713 * docs/config.txt: "Docutils Configuration Files", added to project.
1714   Moved config file entry descriptions from tools.txt.
1716 * docs/tools.txt:
1718   - Moved config file entry descriptions to config.txt.
1720 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
1721   Development".
1723 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1724   Text Roles", added to project.
1726 * spec/rst/reStructuredText.txt:
1728   - Added description of support for <angle-bracketed> complex option
1729     arguments to option lists.
1730   - Added subsections for indented and quoted literal blocks.
1732 * test: Continually adding & updating tests.
1734   - Added test/test_settings.py & test/data/config_*.txt support
1735     files.
1736   - Added test/test_writers/test_htmlfragment.py.
1738 * test/DocutilsTestSupport.py:
1740   - Refactored LaTeX publisher test suite/case class names to make
1741     testing other writers easier.
1742   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1743     to test the processing of HTML fragments which use the new
1744     publish_parts convenience function.
1746 * tools/buildhtml.py:
1748   - Added support for the "--prune" option.
1749   - Removed dependency on pep2html.py; plaintext PEPs no longer
1750     supported.
1752 * tools/docutils.conf:
1754   - Updated for configuration file reorganization.
1756 * tools/rst2html.py:
1758   - copied from tools/html.py
1760 * setup.py:
1762   - added a 'scripts' section to configuration
1763   - added 'tools/rst2html.py' to the scripts section
1766 Release 0.3 (2003-06-24)
1767 ========================
1769 General:
1771 * Renamed "attribute" to "option" for directives/extensions.
1773 * Renamed transform method "transform" to "apply".
1775 * Renamed "options" to "settings" for runtime settings (as set by
1776   command-line options).  Sometimes "option" (singular) became
1777   "settings" (plural).  Some variations below:
1779   - document.options -> document.settings (stored in other objects as
1780     well)
1781   - option_spec -> settings_spec (not directives though)
1782   - OptionSpec -> SettingsSpec
1783   - cmdline_options -> settings_spec
1784   - relative_path_options -> relative_path_settings
1785   - option_default_overrides -> settings_default_overrides
1786   - Publisher.set_options -> Publisher.get_settings
1788 Specific:
1790 * COPYING.txt: Added "Public Domain Dedication".
1792 * FAQ.txt: Frequently asked questions, added to project.
1794 * setup.py:
1796   - Updated with PyPI Trove classifiers.
1797   - Conditional installation of third-party modules.
1799 * docutils/__init__.py:
1801   - Bumped version to 0.2.1 to reflect changes to I/O classes.
1802   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1803   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1804   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1805     option and its effect on the PEP template & writer.
1806   - Bumped version to 0.2.4 due to changes to the PEP template &
1807     stylesheet.
1808   - Bumped version to 0.2.5 to reflect changes to Reporter output.
1809   - Added ``TransformSpec`` class for new transform system.
1810   - Bumped version to 0.2.6 for API changes (renaming).
1811   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1812     convenience functions.
1813   - Added ``Component.component_type`` attribute.
1814   - Bumped version to 0.2.8 because of the internal parser switch from
1815     plain lists to the docutils.statemachine.StringList objects.
1816   - Bumped version to 0.2.9 because of the frontend.py API changes.
1817   - Bumped version to 0.2.10 due to changes to the project layout
1818     (third-party modules removed from the "docutils" package), and
1819     signature changes in ``io.Input``/``io.Output``.
1820   - Changed version to 0.3.0 for release.
1822 * docutils/core.py:
1824   - Made ``publish()`` a bit more convenient.
1825   - Generalized ``Publisher.set_io``.
1826   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1827     parameters; improved its docstring.
1828   - Added ``publish_file()`` and ``publish_string()``.
1829   - Factored ``Publisher.set_source()`` and ``.set_destination()``
1830     out of ``.set_io``.
1831   - Added support for "--dump-pseudo-xml", "--dump-settings", and
1832     "--dump-transforms" hidden options.
1833   - Added ``Publisher.apply_transforms()`` method.
1834   - Added ``Publisher.set_components()`` method; support for
1835     ``publish_*()`` conveninece functions.
1836   - Moved config file processing to docutils/frontend.py.
1837   - Added support for exit status ("exit_level" setting &
1838     ``enable_exit`` parameter for Publisher.publish() and convenience
1839     functions).
1841 * docutils/frontend.py:
1843   - Check for & exit on identical source & destination paths.
1844   - Fixed bug with absolute paths & "--config".
1845   - Set non-command-line defaults in ``OptionParser.__init__()``:
1846     ``_source`` & ``_destination``.
1847   - Distributed ``relative_path_settings`` to components; updated
1848     ``OptionParser.populate_from_components()`` to combine it all.
1849   - Require list of keys in ``make_paths_absolute`` (was implicit in
1850     global ``relative_path_settings``).
1851   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1852     "--dump-settings", and "--dump-transforms" hidden options.
1853   - Removed nasty internals-fiddling ``ConfigParser.get_section``
1854     code, replaced with correct code.
1855   - Added validation functionality for config files.
1856   - Added "--error-encoding" option/setting, "_disable_config"
1857     internal setting.
1858   - Added encoding validation; updated "--input-encoding" and
1859     "--output-encoding"; added "--error-encoding-error-handler" and
1860     "--output-encoding-error-handler".
1861   - Moved config file processing from docutils/core.py.
1862   - Updated ``OptionParser.populate_from_components`` to handle new
1863     ``SettingsSpec.settings_defaults`` dict.
1864   - Added support for "-" => stdin/stdout.
1865   - Added "exit_level" setting ("--exit" option).
1867 * docutils/io.py:
1869   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1870   - Added automatic closing to ``FileInput`` and ``FileOutput``.
1871   - Delayed opening of ``FileOutput`` file until ``write()`` called.
1872   - ``FileOutput.write()`` now returns the encoded output string.
1873   - Try to get path/stream name automatically in ``FileInput`` &
1874     ``FileOutput``.
1875   - Added defaults for source & destination paths.
1876   - Allow for Unicode I/O with an explicit "unicode" encoding.
1877   - Added ``Output.encode()``.
1878   - Removed dependency on runtime settings; pass encoding directly.
1879   - Recognize Unicode strings in ``Input.decode()``.
1880   - Added support for output encoding error handlers.
1882 * docutils/nodes.py:
1884   - Added "Invisible" element category class.
1885   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1886     modification during a traversal.
1887   - Added element classes: ``line_block``, ``generated``, ``address``,
1888     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1889     ``superscript``, ``subscript``, ``inline``
1890   - Added support for lists of nodes to ``Element.insert()``.
1891   - Fixed parent linking in ``Element.replace()``.
1892   - Added new abstract superclass ``FixedTextElement``; adds
1893     "xml:space" attribute.
1894   - Added support for "line" attribute of ``system_message`` nodes.
1895   - Added support for the observer pattern from ``utils.Reporter``.
1896     Added ``parse_messages`` and ``transform_messages`` attributes to
1897     ``document``, removed ``messages``.  Added ``note_parse_message``
1898     and ``note_transform_message`` methods.
1899   - Added support for improved diagnostics:
1901     - Added "document", "source", and "line" internal attributes to
1902       ``Node``, set by ``Node.setup_child()``.
1903     - Converted variations on ``node.parent = self`` to
1904       ``self.setup_child(node)``.
1905     - Added ``document.current_source`` & ``.current_line``
1906       attributes, and ``.note_source`` observer method.
1907     - Changed "system_message" output to GNU-Tools format.
1909   - Added a "rawsource" attribute to the ``Text`` class, for text
1910     before backslash-escape resolution.
1911   - Support for new transform system.
1912   - Reworked ``pending`` element.
1913   - Fixed XML DOM bug (SF #660611).
1914   - Removed the ``interpeted`` element class and added
1915     ``title_reference``, ``abbreviation``, ``acronym``.
1916   - Made substitutions case-sensitive-but-forgiving; moved some code
1917     from the parser.
1918   - Fixed Unicode bug on element attributes (report: William Dode).
1920 * docutils/optik.py: Removed from project; replaced with
1921   extras/optparse.py and extras/textwrap.py.  These will be installed
1922   only if they're not already present in the Python installation.
1924 * docutils/roman.py: Moved to extras/roman.py; this will be installed
1925   only if it's not already present in the Python installation.
1927 * docutils/statemachine.py:
1929   - Factored out ``State.add_initial_transitions()`` so it can be
1930     extended.
1931   - Converted whitespace-specific "blank" and "indent" transitions
1932     from special-case code to ordinary transitions: removed
1933     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
1934     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
1935     ``ws_initial_transitions`` attributes.
1936   - Removed ``State.match_transition()`` after merging it into
1937     ``.check_line()``.
1938   - Added ``StateCorrection`` exception.
1939   - Added support for ``StateCorrection`` in ``StateMachine.run()``
1940     (moved ``TransitionCorrection`` support there too.)
1941   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
1942     ``EOFError`` instead of ``IndexError``.
1943   - Added ``State.no_match`` method.
1944   - Added support for the Observer pattern, triggered by input line
1945     changes.
1946   - Added ``strip_top`` parameter to
1947     ``StateMachineWS.get_first_known_indented``.
1948   - Made ``context`` a parameter to ``StateMachine.run()``.
1949   - Added ``ViewList`` & ``StringList`` classes;
1950     ``extract_indented()`` becomes ``StringList.get_indented()``.
1951   - Added ``StateMachine.insert_input()``.
1952   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
1953     thanks to) Fred Drake.
1955 * docutils/utils.py:
1957   - Added a ``source`` attribute to Reporter instances and
1958     ``system_message`` elements.
1959   - Added an observer pattern to ``utils.Reporter`` to keep track of
1960     system messages.
1961   - Fixed bugs in ``relative_path()``.
1962   - Added support for improved diagnostics.
1963   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
1964   - Added support for encoding Reporter stderr output, and encoding
1965     error handlers.
1966   - Reporter keeps track of the highest level system message yet
1967     generated.
1969 * docutils/languages: Fixed bibliographic field language lookups.
1971 * docutils/languages/es.py: Added to project; Spanish mappings by
1972   Marcelo Huerta San Martin.
1974 * docutils/languages/fr.py: Added to project; French mappings by
1975   Stefane Fermigier.
1977 * docutils/languages/it.py: Added to project; Italian mappings by
1978   Nicola Larosa.
1980 * docutils/languages/sk.py: Added to project; Slovak mappings by
1981   Miroslav Vasko.
1983 * docutils/parser/__init__.py:
1985   - Added ``Parser.finish_parse()`` method.
1987 * docutils/parser/rst/__init__.py:
1989   - Added options: "--pep-references", "--rfc-references",
1990     "--tab-width", "--trim-footnote-reference-space".
1992 * docutils/parsers/rst/states.py:
1994   - Changed "title under/overline too short" system messages from INFO
1995     to WARNING, and fixed its insertion location.
1996   - Fixed enumerated list item parsing to allow paragraphs & section
1997     titles to begin with enumerators.
1998   - Converted system messages to use the new "line" attribute.
1999   - Fixed a substitution reference edge case.
2000   - Added support for "--pep-references" and "--rfc-references"
2001     options; reworked ``Inliner`` code to make customization easier.
2002   - Removed field argument parsing.
2003   - Added support for short section title over/underlines.
2004   - Fixed "simple reference name" regexp to ignore text like
2005     "object.__method__"; not an anonymous reference.
2006   - Added support for improved diagnostics.
2007   - Reworked directive API, based on Dethe Elza's contribution.  Added
2008     ``Body.parse_directive()``, ``.parse_directive_options()``,
2009     ``.parse_directive_arguments()`` methods.
2010   - Added ``ExtensionOptions`` class, to parse directive options
2011     without parsing field bodies.  Factored
2012     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
2013     ``ExtensionOptions``.
2014   - Improved definition list term/classifier parsing.
2015   - Added warnings for unknown directives.
2016   - Renamed ``Stuff`` to ``Struct``.
2017   - Now flagged as errors: transitions at the beginning or end of
2018     sections, empty sections (except title), and empty documents.
2019   - Updated for ``statemachine.StringList``.
2020   - Enabled recognition of schemeless email addresses in targets.
2021   - Added support for embedded URIs in hyperlink references.
2022   - Added backslash-escapes to inline markup end-string suffix.
2023   - Added support for correct interpreted text processing.
2024   - Fixed nested title parsing (topic, sidebar directives).
2025   - Added special processing of backslash-escaped whitespace (idea
2026     from David Abrahams).
2027   - Made substitutions case-sensitive-but-forgiving; moved some code
2028     to ``docutils.nodes``.
2029   - Added support for block quote attributions.
2030   - Added a kludge to work-around a conflict between the bubble-up
2031     parser strategy and short titles (<= 3 char-long over- &
2032     underlines).  Fixes SF bug #738803 "infinite loop with multiple
2033     titles" submitted by Jason Diamond.
2034   - Added explicit interpreted text roles for standard inline markup:
2035     "emphasis", "strong", "literal".
2036   - Implemented "superscript" and "subscript" interpreted text roles.
2037   - Added initial support for "abbreviation" and "acronym" roles;
2038     incomplete.
2039   - Added support for "--trim-footnote-reference-space" option.
2040   - Optional space before colons in directives & hyperlink targets.
2042 * docutils/parsers/rst/tableparser.py:
2044   - Fixed a bug that was producing unwanted empty rows in "simple"
2045     tables.
2046   - Detect bad column spans in "simple" tables.
2048 * docutils/parsers/rst/directives: Updated all directive functions to
2049   new API.
2051 * docutils/parsers/rst/directives/__init__.py:
2053   - Added ``flag()``, ``unchanged()``, ``path()``,
2054     ``nonnegative_int()``, ``choice()``, and ``class_option()``
2055     directive option helper functions.
2056   - Added warnings for unknown directives.
2057   - Return ``None`` for missing directives.
2058   - Added ``register_directive()``, thanks to William Dode and Paul
2059     Moore.
2061 * docutils/parsers/rst/directives/admonitions.py:
2063   - Added "admonition" directive.
2065 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
2066   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2067   "parsed-literal", "rubric", "epigraph", "highlights" and
2068   "pull-quote" directives.
2070 * docutils/parsers/rst/directives/images.py:
2072   - Added an "align" attribute to the "image" & "figure" directives
2073     (by Adam Chodorowski).
2074   - Added "class" option to "image", and "figclass" to "figure".
2076 * docutils/parsers/rst/directives/misc.py:
2078   - Added "include", "raw", and "replace" directives, courtesy of
2079     Dethe Elza.
2080   - Added "unicode" and "class" directives.
2082 * docutils/parsers/rst/directives/parts.py:
2084   - Added the "sectnum" directive; by Dmitry Jemerov.
2085   - Added "class" option to "contents" directive.
2087 * docutils/parsers/rst/directives/references.py: Added to project.
2088   Contains the "target-notes" directive.
2090 * docutils/parsers/rst/languages/__init__.py:
2092   - Return ``None`` from get_language() for missing language modules.
2094 * docutils/parsers/rst/languages/de.py: Added to project; German
2095   mappings by Engelbert Gruber.
2097 * docutils/parsers/rst/languages/en.py:
2099   - Added interpreted text roles mapping.
2101 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2102   mappings by Marcelo Huerta San Martin.
2104 * docutils/parsers/rst/languages/fr.py: Added to project; French
2105   mappings by William Dode.
2107 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2108   mappings by Nicola Larosa.
2110 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2111   mappings by Miroslav Vasko.
2113 * docutils/readers/__init__.py:
2115   - Added support for the observer pattern from ``utils.Reporter``, in
2116     ``Reader.parse`` and ``Reader.transform``.
2117   - Removed ``Reader.transform()`` method.
2118   - Added default parameter values to ``Reader.__init__()`` to make
2119     instantiation easier.
2120   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2122 * docutils/readers/pep.py:
2124   - Added the ``peps.TargetNotes`` transform to the Reader.
2125   - Removed PEP & RFC reference detection code; moved to
2126     parsers/rst/states.py as options (enabled here by default).
2127   - Added support for pre-acceptance PEPs (no PEP number yet).
2128   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2129     easy subclassing.
2131 * docutils/readers/python: Python Source Reader subpackage added to
2132   project, including preliminary versions of:
2134   - __init__.py
2135   - moduleparser.py: Parser for Python modules.
2137 * docutils/transforms/__init__.py:
2139   - Added ``Transformer`` class and completed transform reform.
2140   - Added unknown_reference_resolvers list for each transformer. This list holds
2141     the list of functions provided by each component of the transformer that
2142     help resolve references.
2144 * docutils/transforms/frontmatter.py:
2146   - Improved support for generic fields.
2147   - Fixed bibliographic field language lookups.
2149 * docutils/transforms/misc.py: Added to project.  Miscellaneous
2150   transforms.
2152 * docutils/transforms/parts.py:
2154   - Moved the "id" attribute from TOC list items to the references
2155     (``Contents.build_contents()``).
2156   - Added the ``SectNum`` transform; by Dmitry Jemerov.
2157   - Added "class" attribute support to ``Contents``.
2159 * docutils/transforms/peps.py:
2161   - Added ``mask_email()`` function, updating to pep2html.py's
2162     functionality.
2163   - Linked "Content-Type: text/x-rst" to PEP 12.
2164   - Added the ``TargetNotes`` PEP-specific transform.
2165   - Added ``TargetNotes.cleanup_callback``.
2166   - Added title check to ``Headers``.
2168 * docutils/transforms/references.py:
2170   - Added the ``TargetNotes`` generic transform.
2171   - Split ``Hyperlinks`` into multiple transforms.
2172   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2173   - Added check for circular indirect references.
2174   - Made substitutions case-sensitive-but-forgiving.
2176 * docutils/transforms/universal.py:
2178   - Added support for the "--expose-internal-attributes" option.
2179   - Removed ``Pending`` transform classes & data.
2181 * docutils/writers/__init__.py:
2183   - Removed ``Writer.transform()`` method.
2185 * docutils/writers/docutils-xml.py:
2187   - Added XML and doctype declarations.
2188   - Added "--no-doctype" and "--no-xml-declaration" options.
2190 * docutils/writers/html4css1.py:
2192   - "name" attributes only on these tags: a, applet, form, frame,
2193     iframe, img, map.
2194   - Added "name" attribute to <a> in section titles for Netscape 4
2195     support (bug report: Pearu Peterson).
2196   - Fixed targets (names) on footnote, citation, topic title,
2197     problematic, and system_message nodes (for Netscape 4).
2198   - Changed field names from "<td>" to "<th>".
2199   - Added "@" to "&#64;" encoding to thwart address harvesters.
2200   - Improved the vertical whitespace optimization; ignore "invisible"
2201     nodes (targets, comments, etc.).
2202   - Improved inline literals with ``<span class="pre">`` around chunks
2203     of text and ``&nbsp;`` for runs of spaces.
2204   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2205     ``self.docinfo`` segments.
2206   - Added support for "line_block", "address" elements.
2207   - Improved backlinks (footnotes & system_messages).
2208   - Improved system_message output.
2209   - Redefined "--stylesheet" as containing an invariant URL, used
2210     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2211     working directory.
2212   - Added "--footnote-references" option (superscript or brackets).
2213   - Added "--compact-lists" and "--no-compact-lists" options.
2214   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2215     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2216   - Improved field list rendering.
2217   - Added Docutils version to "generator" meta tag.
2218   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2219   - Improved layout of <pre> HTML source.
2220   - Fixed attribute typo on <colspec>.
2221   - Refined XML prologue.
2222   - Support for no stylesheet.
2223   - Removed "interpreted" element support.
2224   - Added support for "title_reference", "sidebar", "attribution",
2225     "rubric", and generic "admonition" elements.
2226   - Added "--attribution" option.
2227   - Added support for "inline", "subscript", "superscript" elements.
2228   - Added initial support for "abbreviation" and "acronym";
2229     incomplete.
2231 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2232   (from the sandbox).
2234   - Added french.
2235   - Double quotes in literal blocks (special treatment for de/ngerman).
2236   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2237   - Added  "--attribution" option.
2238   - Right align attributions.
2240 * docutils/writers/pep_html.py:
2242   - Parameterized output encoding in PEP template.
2243   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2244   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2245     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2246     working directory.
2247   - Added an override on the "--footnote-references" option.
2248   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2249   - Added Docutils version to "generator" meta tag.
2250   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2252 * docs/tools.txt:
2254   - Added a "silent" setting for ``buildhtml.py``.
2255   - Added a "Getting Help" section.
2256   - Rearranged the structure.
2257   - Kept up to date, with new settings, command-line options etc.
2258   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2259   - Converted settings table into a definition list.
2261 * docs/rst/quickstart.txt:
2263   - Added a table of contents.
2264   - Added feedback information.
2265   - Added mention of minimum section title underline lengths.
2266   - Removed the 4-character minimum for section title underlines.
2268 * docs/rst/quickref.html:
2270   - Added a "Getting Help" section.
2271   - Added a style to make section title backlinks more subtle.
2272   - Added mention of minimum section title underline lengths.
2273   - Removed the 4-character minimum for section title underlines.
2275 * extras: Directory added to project; contains third-party modules
2276   that Docutils depends on (optparse, textwrap, roman).  These are
2277   only installed if they're not already present.
2279 * licenses: Directory added to project; contains copies of license
2280   files for non-public-domain files.
2282 * spec/doctree.txt:
2284   - Changed the focus.  It's about DTD elements:  structural
2285     relationships, semantics, and external (public) attributes.  Not
2286     about the element class library.
2287   - Moved some implementation-specific stuff into ``docutils.nodes``
2288     docstrings.
2289   - Wrote descriptions of all common attributes and parameter
2290     entities.  Filled in introductory material.
2291   - Working through the element descriptions: 55 down, 37 to go.
2292   - Removed "Representation of Horizontal Rules" to
2293     spec/rst/alternatives.txt.
2295 * spec/docutils.dtd:
2297   - Added "generated" inline element.
2298   - Added "line_block" body element.
2299   - Added "auto" attribute to "title".
2300   - Changed content models of "literal_block" and "doctest_block" to
2301     ``%text.model``.
2302   - Added ``%number;`` attribute type parameter entity.
2303   - Changed ``%structural.elements;`` to ``%section.elements``.
2304   - Updated attribute types; made more specific.
2305   - Added "address" bibliographic element.
2306   - Added "line" attribute to ``system_message`` element.
2307   - Removed "field_argument" element; "field_name" may contain
2308     multiple words and whitespace.
2309   - Changed public identifier to docutils.sf.net.
2310   - Removed "interpreted" element; added "title_reference",
2311     "abbreviation", "acronym".
2312   - Removed "refuri" attribute from "footnote_reference" and
2313     "citation_reference".
2314   - Added "sidebar", "rubric", "attribution", "admonition",
2315     "superscript", "subscript", and "inline" elements.
2317 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2319 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2321 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2323 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2324   Dallas Mahrt.
2326 * spec/transforms.txt: Added to project.
2328 * spec/howto: Added subdirectory, for developer how-to docs.
2330 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2331   Elza, edited & extended by David Goodger.
2333 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
2334   project.
2336 * spec/rst/alternatives.txt:
2338   - Added "Doctree Representation of Transitions" from
2339     spec/doctree.txt.
2340   - Updated "Inline External Targets" & closed the debate.
2341   - Added ideas for interpreted text syntax extensions.
2342   - Added "Nested Inline Markup" section.
2344 * spec/rst/directives.txt:
2346   - Added directives: "topic", "sectnum", "target-notes",
2347     "line-block", "parsed-literal", "include", "replace", "sidebar",
2348     "admonition", "rubric", "epigraph", "highlights", "unicode" and
2349     "class".
2350   - Formalized descriptions of directive details.
2351   - Added an "align" attribute to the "image" & "figure" directives
2352     (by Adam Chodorowski).
2353   - Added "class" options to "topic", "sidebar", "line-block",
2354     "parsed-literal", "contents", and "image"; and "figclass" to
2355     "figure".
2357 * spec/rst/interpreted.txt: Added to project.  Descriptions of
2358   interpreted text roles.
2360 * spec/rst/introduction.txt:
2362   - Added pointers to material for new users.
2364 * spec/rst/reStructuredText.txt:
2366   - Disambiguated comments (just add a newline after the "::").
2367   - Updated enumerated list description; added a discussion of the
2368     second-line validity checking.
2369   - Updated directive description.
2370   - Added a note redirecting newbies to the user docs.
2371   - Expanded description of inline markup start-strings in non-markup
2372     contexts.
2373   - Removed field arguments and made field lists a generic construct.
2374   - Removed the 4-character minimum for section title underlines.
2375   - Clarified term/classifier delimiter & inline markup ambiguity
2376     (definition lists).
2377   - Added "Embedded URIs".
2378   - Updated "Interpreted Text" section.
2379   - Added "Character-Level Inline Markup" section.
2381 * test: Continually adding & updating tests.
2383   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2384   - Moved test/test_pep/ to test/test_readers/test_pep/.
2385   - Added test/test_readers/test_python/.
2386   - Added test/test_writers/ (Engelbert Gruber).
2388 * tools:
2390   - Made the ``locale.setlocale()`` calls in front ends
2391     fault-tolerant.
2393 * tools/buildhtml.py:
2395   - Added "--silent" option.
2396   - Fixed bug with absolute paths & "--config".
2397   - Updated for new I/O classes.
2398   - Added some exception handling.
2399   - Separated publishers' setting defaults; prevents interference.
2400   - Updated for new ``publish_file()`` convenience function.
2402 * tools/pep-html-template:
2404   - Allow for "--embed-stylesheet".
2405   - Added Docutils version to "generator" meta tag.
2406   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2407   - Conform to XHTML spec.
2409 * tools/pep2html.py:
2411   - Made ``argv`` a parameter to ``main()``.
2412   - Added support for "Content-Type:" header & arbitrary PEP formats.
2413   - Linked "Content-Type: text/plain" to PEP 9.
2414   - Files skipped (due to an error) are not pushed onto the server.
2415   - Updated for new I/O classes.
2416   - Added ``check_requirements()`` & ``pep_type_error()``.
2417   - Added some exception handling.
2418   - Updated for new ``publish_string()`` convenience function.
2419   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2421 * tools/quicktest.py:
2423   - Added "-V"/"--version" option.
2425 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2427 * tools/unicode2rstsubs.py: Added to project.  Produces character
2428   entity files (reSructuredText substitutions) from the MathML master
2429   unicode.xml file.
2431 * tools/editors: Support code for editors, added to project.  Contains
2432   ``emacs/restructuredtext.el``.
2434 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2436   - Added style for chunks of inline literals.
2437   - Removed margin for first child of table cells.
2438   - Right-aligned field list names.
2439   - Support for auto-numbered section titles in TOCs.
2440   - Increased the size of inline literals (<tt>) in titles.
2441   - Restored the light gray background for inline literals.
2442   - Added support for "line_block" elements.
2443   - Added style for "address" elements.
2444   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2445   - Improved field list rendering.
2446   - Vertical whitespace improvements.
2447   - Removed "a.target" style.
2449 * tools/stylesheets/pep.css:
2451   - Fixed nested section margins.
2452   - Other changes parallel those of ``../default.css``.
2455 Release 0.2 (2002-07-31)
2456 ========================
2458 General:
2460 - The word "component" was being used ambiguously.  From now on,
2461   "component" will be used to mean "Docutils component", as in Reader,
2462   Writer, Parser, or Transform.  Portions of documents (Table of
2463   Contents, sections, etc.)  will be called "document parts".
2464 - Did a grand renaming: a lot of ``verylongnames`` became
2465   ``very_long_names``.
2466 - Cleaned up imports: no more relative package imports or
2467   comma-separated lists of top-level modules.
2468 - Added support for an option values object which carries default
2469   settings and overrides (from command-line options and library use).
2470 - Added internal Unicode support, and support for both input and
2471   output encodings.
2472 - Added support for the ``docutils.io.IO`` class & subclasses.
2474 Specific:
2476 * docutils/__init__.py:
2478   - Added ``ApplicationError`` and ``DataError``, for use throughout
2479     the package.
2480   - Added ``Component`` base class for Docutils components; implements
2481     the ``supports`` method.
2482   - Added ``__version__`` (thus, ``docutils.__version__``).
2484 * docutils/core.py:
2486   - Removed many keyword parameters to ``Publisher.__init__()`` and
2487     ``publish()``; bundled into an option values object.  Added
2488     "argv", "usage", "description", and "option_spec" parameters for
2489     command-line support.
2490   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2491     methods.
2492   - Reworked I/O model for ``docutils.io`` wrappers.
2493   - Updated ``Publisher.set_options()``; now returns option values
2494     object.
2495   - Added support for configuration files (/etc/docutils.conf,
2496     ./docutils.conf, ~/.docutils).
2497   - Added ``Publisher.setup_option_parser()``.
2498   - Added default usage message and description.
2500 * docutils/frontend.py: Added to project; support for front-end
2501   (command-line) scripts.  Option specifications may be augmented by
2502   components.  Requires Optik (http://optik.sf.net/) for option
2503   processing (installed locally as docutils/optik.py).
2505 * docutils/io.py: Added to project; uniform API for a variety of input
2506   output mechanisms.
2508 * docutils/nodes.py:
2510   - Added ``TreeCopyVisitor`` class.
2511   - Added a ``copy`` method to ``Node`` and subclasses.
2512   - Added a ``SkipDeparture`` exception for visitors.
2513   - Renamed ``TreePruningException`` from ``VisitorException``.
2514   - Added docstrings to ``TreePruningException``, subclasses, and
2515     ``Nodes.walk()``.
2516   - Improved docstrings.
2517   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2518   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2519     imports.
2520   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2521     ``PreDecorative`` mixin.
2522   - Reworked the name/id bookkeeping; to ``document``, removed
2523     ``explicit_targets`` and ``implicit_targets`` attributes, added
2524     ``nametypes`` attribute and ``set_name_id_map`` method.
2525   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2526     traversals.
2527   - Added ``document.has_name()`` method.
2528   - Fixed DOM generation for list-attributes.
2529   - Added category class ``Labeled`` (used by footnotes & citations).
2530   - Added ``Element.set_class()`` method (sets "class" attribute).
2532 * docutils/optik.py: Added to project.  Combined from the Optik
2533   package, with added option groups and other modifications.  The use
2534   of this module is probably only temporary.
2536 * docutils/statemachine.py:
2538   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2539   - Added underscores to improve many awkward names.
2540   - In ``string2lines()``, changed whitespace normalizing translation
2541     table to regexp; restores Python 2.0 compatibility with Unicode.
2543 * docutils/urischemes.py:
2545   - Filled in some descriptions.
2546   - Added "shttp" scheme.
2548 * docutils/utils.py:
2550   - Added ``clean_rcs_keywords`` function (moved from
2551     docutils/transforms/frontmatter.py
2552     ``DocInfo.filter_rcs_keywords``).
2553   - Added underscores to improve many awkward names.
2554   - Changed names of Reporter's thresholds:
2555     warning_level -> report_level; error_level -> halt_level.
2556   - Moved ``utils.id()`` to ``nodes.make_id()``.
2557   - Added ``relative_path(source, target)``.
2559 * docutils/languages/de.py: German mappings; added to project.  Thanks
2560   to Gunnar Schwant for the translations.
2562 * docutils/languages/en.py: Added "Dedication" bibliographic field
2563   mappings.
2565 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2566   Chodorowski.
2568 * docutils/parsers/rst/states.py:
2570   - Added underscores to improve many awkward names.
2571   - Added RFC-2822 header support.
2572   - Extracted the inline parsing code from ``RSTState`` to a separate
2573     class, ``Inliner``, which will allow easy subclassing.
2574   - Made local bindings for ``memo`` container & often-used contents
2575     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2576   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2577   - Added ``MarkupMismatch`` exception; for late corrections.
2578   - Added ``-/:`` characters to inline markup's start string prefix,
2579     ``/`` to end string suffix.
2580   - Fixed a footnote bug.
2581   - Fixed a bug with literal blocks.
2582   - Applied patch from Simon Budig: simplified regexps with symbolic
2583     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2584   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2585   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2586   - Allowed non-ASCII in "simple names" (directive names, field names,
2587     references, etc.).
2588   - Converted ``Inliner.patterns.initial`` to be dynamically built
2589     from parts with ``build_regexp()`` function.
2590   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2591   - Updated docstrings.
2592   - Changed "table" to "grid_table"; added "simple_table" support.
2594 * docutils/parsers/rst/tableparser.py:
2596   - Changed ``TableParser`` to ``GridTableParser``.
2597   - Added ``SimpleTableParser``.
2598   - Refactored naming.
2600 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2601   a fallback language for directive names.
2603 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2604   directive to use a ``pending`` element, used only by HTML writers.
2606 * docutils/parsers/rst/directives/parts.py: Renamed from
2607   components.py.
2609   - Added "backlinks" attribute to "contents" directive.
2611 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2612   project by Adam Chodorowski.
2614 * docutils/readers/__init__.py: Gave Readers more control over
2615   choosing and instantiating Parsers.
2617 * docutils/readers/pep.py: Added to project; for PEP processing.
2619 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2620   requires a ``component`` parameter.
2622 * docutils/transforms/components.py: Added to project; transforms
2623   related to Docutils components.
2625 * docutils/transforms/frontmatter.py:
2627   - In ``DocInfo.extract_authors``, check for a single "author" in an
2628     "authors" group, and convert it to a single "author" element.
2629   - Added support for "Dedication" and generic bibliographic fields.
2631 * docutils/transforms/peps.py: Added to project; PEP-specific.
2633 * docutils/transforms/parts.py: Renamed from old components.py.
2635   - Added filter for `Contents`, to use alt-text for inline images,
2636     and to remove inline markup that doesn't make sense in the ToC.
2637   - Added "name" attribute to TOC topic depending on its title.
2638   - Added support for optional TOC backlinks.
2640 * docutils/transforms/references.py: Fixed indirect target resolution
2641   in ``Hyperlinks`` transform.
2643 * docutils/transforms/universal.py:
2645   - Changed ``Messages`` transform to properly filter out system
2646     messages below the warning threshold.
2647   - Added ``Decorations`` transform (support for ``--generator``,
2648     ``--date``, ``--time``, ``--source-link`` options).
2650 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2651   Engelbert Gruber's PDF writer.
2653 * docutils/writers/html4css1.py:
2655   - Made XHTML-compatible (switched to lowercase element & attribute
2656     names; empty tag format).
2657   - Escape double-dashes in comment text.
2658   - Improved boilerplate & modularity of output.
2659   - Exposed modular output in Writer class.
2660   - Added a "generator" meta tag to <head>.
2661   - Added support for the ``--stylesheet`` option.
2662   - Added support for ``decoration``, ``header``, and ``footer``
2663     elements.
2664   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2665     translation table to regexp; restores Python 2.0 compatibility
2666     with Unicode.
2667   - Added the translator class as instance variable to the Writer, to
2668     make it easily subclassable.
2669   - Improved option list spacing (thanks to Richard Jones).
2670   - Modified field list output.
2671   - Added backlinks to footnotes & citations.
2672   - Added percentage widths to "<col>" tags (from colspec).
2673   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2674     "<span>" changed to "<var>".
2675   - Inline literals: "<code>" changed to "<tt>".
2676   - Many changes to optimize vertical space: compact simple lists etc.
2677   - Add a command-line options & directive attributes to control TOC
2678     and footnote/citation backlinks.
2679   - Added support for optional footnote/citation backlinks.
2680   - Added support for generic bibliographic fields.
2681   - Identify backrefs.
2682   - Relative URLs for stylesheet links.
2684 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2685   PEPs (subclass of ``html4css1.Writer``).
2687 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2689 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2690   of the Docutils internal doctree in XML.
2692 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2694 * spec/doctree.txt:
2696   - Changed the title to "The Docutils Document Tree".
2697   - Added "Hyperlink Bookkeeping" section.
2699 * spec/docutils.dtd:
2701   - Added ``decoration``, ``header``, and ``footer`` elements.
2702   - Brought ``interpreted`` element in line with the parser: changed
2703     attribute "type" to "role", added "position".
2704   - Added support for generic bibliographic fields.
2706 * spec/notes.txt: Continual updates.  Added "Project Policies".
2708 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2709   section.
2711 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2713 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
2714   mailing list discussions.
2716 * spec/pep-0287.txt:
2718   - Renamed to "reStructuredText Docstring Format".
2719   - Minor edits.
2720   - Reworked Q&A as an enumerated list.
2721   - Converted to reStructuredText format.
2723 * spec/pysource.dtd:
2725   - Reworked structural elements, incorporating ideas from Tony Ibbs.
2727 * spec/pysource.txt: Removed from project.  Moved much of its contents
2728   to pep-0258.txt.
2730 * spec/rst/alternatives.txt:
2732   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2733   - Added "Inline External Targets" section.
2735 * spec/rst/directives.txt:
2737   - Added "backlinks" attribute to "contents" directive.
2739 * spec/rst/problems.txt:
2741   - Updated the Enumerated List Markup discussion.
2742   - Added new alternative table markup syntaxes.
2744 * spec/rst/reStructuredText.txt:
2746   - Clarified field list usage.
2747   - Updated enumerated list description.
2748   - Clarified purpose of directives.
2749   - Added ``-/:`` characters to inline markup's start string prefix,
2750     ``/`` to end string suffix.
2751   - Updated "Authors" bibliographic field behavior.
2752   - Changed "inline hyperlink targets" to "inline internal targets".
2753   - Added "simple table" syntax to supplement the existing but
2754     newly-renamed "grid tables".
2755   - Added cautions for anonymous hyperlink use.
2756   - Added "Dedication" and generic bibliographic fields.
2758 * test: Made test modules standalone (subdirectories became packages).
2760 * test/DocutilsTestSupport.py:
2762   - Added support for PEP extensions to reStructuredText.
2763   - Added support for simple tables.
2764   - Refactored naming.
2766 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2768   - Now supports true packages containing test modules
2769     (``__init__.py`` files required); fixes duplicate module name bug.
2771 * test/test_pep/: Subpackage added to project; PEP testing.
2773 * test/test_rst/test_SimpleTableParser.py: Added to project.
2775 * tools:
2777   - Updated html.py and publish.py front-end tools to use the new
2778     command-line processing facilities of ``docutils.frontend``
2779     (exposed in ``docutils.core.Publisher``), reducing each to just a
2780     few lines of code.
2781   - Added ``locale.setlocale()`` calls to front-end tools.
2783 * tools/buildhtml.py: Added to project; batch-generates .html from all
2784   the .txt files in directories and subdirectories.
2786 * tools/default.css:
2788   - Added support for ``header`` and ``footer`` elements.
2789   - Added styles for "Dedication" topics (biblio fields).
2791 * tools/docutils.conf: A configuration file; added to project.
2793 * tools/docutils-xml.py: Added to project.
2795 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2797 * tools/pep-html-template: Added to project.
2799 * tools/pep2html.py: Added to project from Python (nondist/peps).
2800   Added support for Docutils (reStructuredText PEPs).
2802 * tools/quicktest.py:
2804   - Added the ``--attributes`` option, hacked a bit.
2805   - Added a second command-line argument (output file); cleaned up.
2807 * tools/stylesheets/: Subdirectory added to project.
2809 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2812 Release 0.1 (2002-04-20)
2813 ========================
2815 This is the first release of Docutils, merged from the now inactive
2816 reStructuredText__ and `Docstring Processing System`__ projects.  For
2817 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2818 `DPS HISTORY`__ files.
2820 __ http://structuredtext.sourceforge.net/
2821 __ http://docstring.sourceforge.net/
2822 __ http://structuredtext.sourceforge.net/HISTORY.html
2823 __ http://docstring.sourceforge.net/HISTORY.html
2825 General changes: renamed 'dps' package to 'docutils'; renamed
2826 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2827 the test suites (reStructuredText's test/test_states renamed to
2828 test/test_rst); and all modifications required to make it all work.
2830 * docutils/parsers/rst/states.py:
2832   - Improved diagnostic system messages for missing blank lines.
2833   - Fixed substitution_reference bug.
2837    Local Variables:
2838    mode: indented-text
2839    indent-tabs-mode: nil
2840    sentence-end-double-space: t
2841    fill-column: 70
2842    End: