Update change logs.
[docutils.git] / HISTORY.txt
blob95fe1c76879106bbeeec6d776a6ef4fd0218752c
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::
17 Changes Since 0.8.1
18 ===================
20 * General:
22   - reStructuredText "code" role and directive with syntax highlighting
23     by Pygments_.
24   - "code" option of the "include" directive.
25   - Fix parse_option_marker for option arguments containing ``=``.
27 .. _Pygments: http://pygments.org/
29 * docutils/io.py
31   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
33 * docutils/utils.py
35   - DependencyList uses io.FileOutput to prevent errors recording
36     non-ASCII filenames (fixes [ 3434355 ].
38 * docutils/writers/latex2e/__init__.py
40   - Support the `abbreviation` and `acronym` standard roles.
42 * docutils/writers/html4css1/__init__.py
44   - change default for `math-output` setting to MathJax
46 Release 0.8.1 (2011-08-30)
47 ==========================
49 * General:
51   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
52     and [ 3395920 ] (correct copyright info for rst.el). 
53   
54 * docutils/test/
56   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under py3k. 
58 * docutils/writers/latex2e/__init__.py
60   - Clean up Babel language setting. Restores Sphinx compatibility.
62 Release 0.8 (2011-07-07)
63 ========================
65 * General:
67   - Handle language codes according to `BCP 47`_.
68   - If the specified language is not supported by Docutils,
69     warn and fall back to English.
70   - Math support: reStructuredText "math" role and directive,
71     ``math`` and ``math_block`` doctree elements.
72   - Decode command line arguments with the locale's preferred encoding
73     (to allow, e.g., ``--title=Dornröschen``).
74   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
75   - New sub-module `error_reporting`: handle encoding/decoding errors
76     when reporting exceptions.
77   - Some additions to the Docutils core are released under the 2-Clause BSD
78     license, see COPYING_ for details.
80   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
81   .. _COPYING: COPYING.html
83 * reStructuredText:
85   - Most directives now support a "name" option that attaches a
86     reference name.
87     
88   - Directive content may start on the first line also when the directive
89     type accepts options.
91 * docs/dev/policies.txt:
93   - Recommend the 2-Clause BSD license
94     (http://www.spdx.org/licenses/BSD-2-Clause)
95     for code that is kept under the author's copyright.
97 * tools/buildhtml.py:
99   - Fix ``--local`` switch.
101 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
103 * docutils/writers/html4css1/__init__.py
105   - Set "lang" argument for objects with class argument
106     "language-<language tag>".
107   - New setting "math-output" with support for HTML, MathML, and LaTeX.
109 * docutils/writers/latex2e/__init__.py
111   - Fix [ 3043986 ] AttributeError using :local: with table of content.
112   - Place title data in the document preamble.
113   - Load `babel` package only if required.
114   - Update list of supported languages.
115   - New config setting "hyperref-options".
116     No hard-coded "unicode" hyperref option (clash with xetex).
117   - Set language for custom roles, paragraphs, block-quotes, and
118     line-quotes with class argument "language-<language tag>".
119   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
120   - Convert image URI to a local file path.
121   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
122     has more than one paragraph (Wolfgang Scherer).
123   - \leavevmode before longtable only when needed (prevents spurious vspace)
124   - do not advance table counter for tables without caption
126 * docutils/writers/xetex/__init__.py
128   - New writer generating LaTeX code for compiling with ``xelatex``.
130     A separate writer (inheriting from latex2e) instead of a ``--xetex``
131     option allows separate config options for XeTeX vs. LaTeX2e.
133 * docutils/writers/manpage.py
135   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
136   - Fix: vertical space cleaning for option group ``.``.
138 * tools/editors/emacs/rst.el:
140   - Fix [ 3001100 ] does not handle spaces in filenames
141     (thanks to Jakub Wilk)
143 * docutils/utils.py:
145   - strip whitespace from stylesheet arguments
146   - exclude combining chars from column_width
147     (partial fix for [ 2926161 ])
149 * docutils/parsers/rst/directives/misc.py:
151   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
152     nested_parse
154 * docutils/io.py:
156   - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
157     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
159 Release 0.7 (2010-07-07)
160 ========================
162 * General:
164   - Fix [ 2881769 ] setup configuration.
165   - Fix [ 2788716 ] reporting problems in included files.
167 * docutils/io.py
169   - FileInput opens files as text files with universal newline support
170     (mode "rU", configurable with the new optional argument "mode").
172 * docutils/nodes.py
174   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
176 * docutils/utils.py
178   - Fix [ 2923723 ] let decode_path() tolerate path == None
180 * docutils/writers/html4css1/__init__.py
182   - Support SVG and SWF images (thanks to Stefan Rank).
183   - Generate valid XHTML for centered images with targets.
184     Use CSS classes instead of "align" tags for image alignment.
186 * docutils/writers/latex2e/__init__.py
188   - Use `transforms.writer_aux.Admonitions` to "normalize" special
189     admonitions.
190   - Use the ``\url`` command for URLs (breaks long URLs instead of
191     writing into the margin).
192   - Preserve runs of spaces in `inline literals`__.
193   - Deprecate ``figure_footnotes`` setting.
194   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
195   - New ``latex_preamble`` setting.
196   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
197   - Fix hyperlink targets (labels) for images, figures, and tables.
198   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
199   - Apply [ 2961991 ] Call hyperref with unicode option.
200   - Drop the special `output_encoding`__ default ("latin-1").
201     The Docutils wide default (usually "UTF-8") is used instead.
202   - Render inline markup in document title and subtitle.
203   - Fix numbering depth with LaTeX section numbering.
204   - Update Unicode -> LaTeX translations.
205   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
207 __ docs/ref/restructuredtext.html#inline-literals
208 __ docs/user/config.html#docutils-footnotes
209 __ docs/user/config.html#output_encoding
211 * docutils/writers/manpage.py
213   - Fix: supported attribute (thanks to peter2108).
214   - Remove trailing blanks in code (keep in sync with mercurial version).
215   - Titles level 1, that is ``.SH``, always uppercase.
216   - Apply patch from mg: literal text should be bold in man-pages.
218 * docutils/nodes.py
220   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
221     turkish locale.
223 * setup.py:
225   - Python 3 support: copy test/ and tools/ to the build-dir
226     and convert Python sources with 2to3.
229 Release 0.6 (2009-10-11)
230 ========================
232 * General:
234   - Docutils is now compatible with Python versions from 2.3 up to 2.6
235     and convertible to 3.1 code.
237     + Node.__nonzero__ returns True instead of 1.
238     + use os.walk instead os.path.walk.
239     + minimize "types" module where possible.
240     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
241     + Text nodes now subclass unicode rather than UserString
242       (which is gone in python 3.0).
243     + 3.0 compatibility module docutils._compat
245     + Drop 2.2 compatibility workarounds.
246     + Drop extras/optparse.py and extras/textwrap.py
247       (stdlib modules since 2.3).
249   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
250   - Unix man page export: manpage writer moved from sandbox to Doctutils
251     core.
253   - Apply [ 1719345 ] Galician translation
254   - Apply [ 1905741 ] Polish translation
255   - Apply [ 1878977 ] make_id(): deaccent characters.
256   - Apply [ 2029251 ] return nonzero when tests fail.
257   - Fix [ 1692788 ] allow UTF-8 in style sheets.
258   - Fix [ 2781629 ] support non-ASCII chars in file names.
259   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
260   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
261   - Fix [ 2821266 ] --strict option works now like --halt=info.
262   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
263   - Fix [ 1627229 ] hyperlink references in substitutions.
265   - The "newlatex" writer is orphaned.
267 * reStructuredText:
269   - Documented Unicode characters allowed as inline markup openers,
270     closers, and delimiters.
271   - Allow units for all length specifications.
272   - Allow percent sign in "scale" argument of "figure" and "image" directives.
273   - Bugfix: The "figalign" argument of a figure now works as intended
274     (aligning the figure, not its contents).
275   - Align images with class "align-[right|center|left]"
276     (allows setting the alignment of an image in a figure).
278 * docutils/nodes.py:
280   - Added ``Element.__contains__`` method, for the in-operator.
282 * docutils/parsers/rst/states.py:
284   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
285   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
286     " " (non-breaking space), and "¡ ¿" openers.
288 * docutils/parsers/directives/misc.py:
290   - Added ``start-line`` and ``end-line`` options to "include"
291     directive to select a range of lines.
292   - Hard tabs in literal inclusions are replaced by spaces. This is
293     configurable via the new ``tab-width`` option of the "include" directive
294     (a negative tab-width prevents tab expansion).
296 * docutils/utils.py:
298   - Add ``get_stylesheet_list`` function.
299   - Apply [ 2834836 ] print info at halt
301 * docutils/transforms/universal.py:
303   - Raise default priority of StripClasses to exclude stripped classes from
304     the ToC.
306 * docutils/writers/html4css1/__init__.py:
308   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
309     separated list of stylesheets.
310   - Address [ 1938891 ] Inline literal text creates "pre" span only when
311     needed to prevent inter-word line wraps.
312   - Use `translate` method instead of repeated `replace` calls.
313   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
314     classes to allow CSS styling that does not interfere with other
315     table-using constructs (field lists, citations, ...).
317 * docutils/writers/newlatex2e/__init__.py:
319   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
321 * docutils/writers/latex2e/__init__.py (see also
322   `<docs/user/docutils-05-compat.sty.html>`__) :
324   - Add ``--embed-stylesheet`` option.
325   - Apply [ 1474017 ] image vertical alignment is reversed.
326   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
327   - Change: has_key for dictionaries (not Nodes) to in-operator.
328   - Merge adjacent citations into one latex cite command.
329   - Failsave implementation of custom roles. LaTeX compilation now ignores
330     unknown classes instead of aborting with an error.
331   - Support custom roles based on standard roles.
332   - LaTeX packages can be used as ``--stylesheet`` arguments without
333     restriction. (A style sheet is now referenced with the ``\usepackage``
334     command, if it ends with ``.sty`` or has no extension.)
335   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
336   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
337   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
338     2005-02-04 as a configurable length unit).
339   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
340     if font-encoding is set to ''. LaTeX defaults to OT1 then.
341   - Set sub- and superscript role argument in text mode not as math.
342     Use a custom role based on sub-/superscript if you want italic shape.
343   - Shorter preamble and less dependencies: Load packages and define macros
344     only if required in the document.
345   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
346   - New custom environments and commands with optional "classes" argument.
347   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
348   - Better conformance to Docutils specifications with ``--use-latex-toc``.
349     Support for LaTeX generated ToC also with unnumbered sections.
350   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
351     section numbering by LaTeX.
352   - Use default font in admonitions and sidebar.
353   - Align of image in a figure defaults to 'center'.
354   - Bugfix: Newlines around targets and references prevent run-together
355     paragraphs.
356   - Fix internal hyperlinks.
357   - Use class defaults for page margins ('typearea' now optional).
358   - Float placement made configurable, default changed to "here definitely".
359   - Typeset generic topic as "quote block with title".
360   - Use template (file and configuration option).
361   - In the default template, load cmap.sty (fix text extraction in PDF) and
362     fixltx2e.sty (LaTeX patches, \textsubscript).
363   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
364   - Use `translate` instead of repeated `replace` calls for text encoding.
365   - Hyperlinked footnotes and support for symbol footnotes and
366     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
367   - Complete pairs of binary options
368     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
369     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
370   - New defaults:
371     - font-encoding: "T1" (formerly implicitely set by 'ae').
372     - use-latex-toc: true (ToC with page numbers).
373     - use-latex-footnotes: true (no mixup with figures).
375 * docutils/writers/manpage.py
377   - Do not print version at document end, this is done by the viewer.
378   - Do not print date at document end, this is done by the viewer.
379   - Fix storage of docinfo fields for none standard fields.
381 * docutils/tools/rst2man.py
383 Release 0.5 (2008-06-25)
384 ========================
386 * docutils/languages/he.py: Added to project: Hebrew mappings by
387   Meir Kriheli.
389 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
390   mappings by Meir Kriheli.
392 * docutils/frontend.py:
394   - Configuration files are now assumed and required to be
395     UTF-8-encoded.
396   - Paths of applied configuration files are now recorded in the
397     runtime setting ``_config_files`` (accessible via
398     ``--dump-settings``).
399   - Added ``--strip-elements-with-class`` and ``--strip-class``
400     options (``strip_elements_with_classes`` and ``strip_classes``
401     settings).
403 * docutils/io.py:
405   - Added code to determine the input encoding from data: encoding
406     declarations or the presence of byte order marks (UTF-8 & UTF-16).
407   - Added support for IronPython 1.0.
409 * docutils/nodes.py:
411   - Added ``document.__getstate__`` method, for pickling.
413 * docutils/parsers/rst/states.py:
415   - Allow ``+`` and ``:`` in reference names.
416   - Unquoted targets beginning with an underscore (``.. __target:
417     URI``) are no longer accepted.
418   - Added support for multiple attributions in a physical block quote
419     (indented text block), dividing it into multiple logical block
420     quotes.
421   - Added support for unicode bullets in bullet lists: "•", "‣", and
422     "⁃".
423   - Added support for new object-oriented directive interface,
424     retaining compatibility to the old functional interface.
425   - Added support for throwing ``DirectiveError``'s from within
426     directive code.
428 * docutils/parsers/rst/__init__.py:
430   - Added ``Directive`` base class.
431   - Added ``DirectiveError`` base class.
432   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
433     definitions.
435 * docutils/parsers/directives/:
437   - Refactored all reStructuredText directives to use the new
438     object-oriented directive interface.  Errors are now (mostly)
439     thrown using the new ``DirectiveError`` class.
441 * docutils/parsers/directives/misc.py:
443   - Added ``start-after`` and ``end-before`` options to ``include``
444     directive; thanks to Stefan Rank.
446 * docutils/transforms/universal.py:
448   - Added ``StripClassesAndElements`` transform to remove from the
449     document tree all elements with classes in
450     ``settings.strip_elements_with_classes`` and all "classes"
451     attribute values in ``self.document.settings.strip_classes``.
453 * docutils/transforms/writer_aux.py:
455   - Added ``Admonitions`` transform to transform specific admonitions
456     (like ``note``, ``warning``, etc.) into generic admonitions with a
457     localized title.
459 * docutils/writers/html4css1/__init__.py:
461   - Moved template functionality from the PEP/HTML writer here.
462   - Expanded the fragments available in the ``parts`` attribute.
463   - Moved ``id`` attributes from titles to surrounding ``div``
464     elements.
465   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
466     universally supported now).
467   - ``template.txt`` is now opened in text mode instead of binary mode
468     (to ensure Windows compatibility).
469   - ``a`` elements now have an "internal" or "external" class,
470     depending on reference type.
472 * docutils/writers/html4css1/template.txt: Added to project.
474 * docutils/writers/pep_html/:
476   - Moved template functionality to the HTML writer.
478 * docutils/writers/s5_html/__init__.py:
480   - Added ``view_mode`` & ``hidden_controls`` settings
481     (``--view-mode`` & ``--hidden-controls/--visible-controls``
482     options).
484 * docutils/writers/latex2e/__init__.py:
486   - Add ``--literal-block-env``
487   - Fix: escaping ``%`` in href urls.
488   - Move usepackage hyperref after stylesheet inclusion.
489   - Fix: scrartcl does not have chapter but scrreprt.
490   - Add newline after ``\end{verbatim}``.
491   - Merge smaller differences from latex2e_adaptive_preamble.
492   - Add ``use-part-section``.
493   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
494   - Using leavemode option_list no longer needs to check if parent
495     is a definition list.
496   - Append ``\leavemode`` to definition list terms.
497   - No longer write visit\_/depart_definition_list_item comments to
498     output.
499   - Table column width with 3 decimal places.
500   - Add table stubs support (boldfont).
501   - Add assemble_parts to writer.
502   - Add simply support for nested tables.
503   - Fix verbatim in tables if use-verbatim-when-possible.
504   - Use section commands down to subparagraph.
505   - Put ensuremath around some latin1 chars.
506   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
507   - New option ``--use-bibtex=style,db1,db2``.
508   - New option ``--reference-label`` to allow usage of LaTeX ref for
509     labels in section references.
510   - Add a label after every section to support sectionnumbers as reference
511     labels.
512   - Fix: bug# 1605376 rst2latex: bad options group list
513   - Remove inactive code for use_optionlist_for_option_list.
514   - Remove latex comments from option_list output.
515   - Fix: bug# 1612270 double qoutes in italian literal.
516   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
517   - Add option --use-latex-abstract.
518   - Image width unit ``px`` is translated to ``pt``.
519   - Add image height support.
520   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
521     bug #1457388
522   - Fix: Do not escape underscores in citation reference labels if
523     use-latex-citations is set.
524   - Use centering instead of center for figure contents, to avoid vertical
525     space.
526   - Recognize table class: borderless, nolines, booktabs, standard.
527   - Fix: Renaming contents section does not work with latex writer; SF
528     bug #1487405.
529   - Applied patch for custom roles with classes from Edward Loper.
530   - Fixed bug that caused crashes with more than 256 lists.
532 * docutils/writers/pep_html/__init__.py:
534   - Changed to support new python.org website structure and
535     pep2pyramid.py.
537 * docs/howto/security.txt: "Deploying Docutils Securely", added to
538   project.
540 * tools/buildhtml.py:
542   -- Added ``ignore`` setting to exclude a list of shell patterns
543      (default: ``.svn:CVS``).
545 * tools/editors/emacs/rst.el:
547   - Changed license to "GPL".
548   - Added ``rst-straighten-decorations`` function.
549   - The ``compile`` module is now always loaded.
550   - Added ``rst-toggle-line-block`` function.
551   - Headings consisting only of non-ASCII characters are now
552     recognized by ``rst-toc`` and ``rst-adjust``.
553   - Added font-lock support for multi-line comments where the first
554     comment line is empty.
555   - Added ``(require 'font-lock)``.
557 * setup.py:
559   - Provide descriptive error message if distutils is missing.
562 Release 0.4 (2006-01-09)
563 ========================
565 * General:
567   - Updated the project policies for trunk/branch development &
568     version numbering.
570 * docutils/__init__.py:
572   - Added ``__version_details__`` attribute to describe code source
573     (repository/snapshot/release).
574   - Replaced ``default_transforms`` attribute of TransformSpec with
575     ``get_transforms()`` method.
577 * docutils/core.py:
579   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
580     functions, for document tree extraction and reprocessing.
582 * docutils/io.py:
584   - Added ``DocTreeInput`` class, for reprocessing existing documents.
585   - Added support for non-Unicode (e.g. binary) writer output.
587 * docutils/nodes.py:
589   - Re-introduced ``Targetable.indirect_reference_name``, for
590     MoinMoin/reST compatibility (removed in r3124/r3129).
591   - Added ``serial_escape`` function; escapes string values that are
592     elements of a list, for serialization.  Modified Docutils-XML
593     writing (``Element._dom_node``) and pseudo-XML writing
594     (``Element.starttag``) to use ``serial_escape``.
595   - Added ``Node.deepcopy()`` method.
596   - Removed the internal lists ``document.substitution_refs``,
597     ``document.anonymous_refs``, and ``document.anonymous_targets``.
598   - Added a "container" element.
599   - Fixed bug where values of list-valued attributes of elements
600     originating from custom interpreted text roles (i.e., with custom
601     classes) were being shared between element instances.  Reported by
602     Shmuel Zeigerman.
604 * docutils/statemachine.py:
606   - Added trailing whitespace stripping to ``string2lines()``.
607   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
608     Asian double-width character support.
610 * docutils/utils.py:
612   - Added ``east_asian_column_width()`` for double-width character
613     support.
615 * docutils/languages/ja.py: Added to project: Japanese mappings by
616   Hisashi Morita.
618 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
619   mappings by Panjunyong.
621 * docutils/parsers/null.py: Added to project; a do-nothing parser.
623 * docutils/parsers/rst/__init__.py:
625   - Added validator to tab_width setting, with test.  Closes SF bug
626     #1212515, report from Wu Wei.
628 * docutils/parsers/rst/states.py:
630   - Fixed bug with escaped colons indicating a literal block.
631   - Fixed bug with enumerated lists (SF#1254145).
632   - Backslash-escaped colons inside of field names are now allowed.
633   - Targets (implicit and explicit), anonymous hyperlink references
634     and auto-numbered footnote references inside of substitution
635     definitions are now disallowed.
636   - Fixed bug: list items with blank first lines.
637   - Fixed bug: block quote attributions with indented second lines.
638   - Added East Asian double-width character support (Python 2.4 only).
640 * docutils/parsers/rst/tableparser.py:
642   - Added East Asian double-width character support (Python 2.4 only).
644 * docutils/parsers/rst/directives/body.py:
646   - Added the "container" directive.
648 * docutils/parsers/rst/directives/misc.py:
650   - Added the "default-role", "title", and "date" directives.
651   - Added standard data file syntax to the "include" directive.
652   - Added support for "class" directive content.
654 * docutils/parsers/rst/directives/images.py:
656   - Added ``indirect_reference_name`` support for images with a target
657     option.
658   - Added support for image width and height units.
659   - Fixed bug with image "target" options.
661 * docutils/parsers/rst/directives/references.py:
663   - Added "class" attribute to "target-notes" directive, for
664     footnote_reference classes.
666 * docutils/parsers/rst/include/: Directory added to project; contains
667   standard data files for the "include" directive.  Initial contents:
668   character entity substitution definition sets, and a set of
669   definitions for S5/HTML presentations.
671 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
672   mappings by David Goodger.
674 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
675   Simplified Chinese mappings by Panjunyong.
677 * docutils/readers/__init__.py:
679   - Added universal.Decorations and universal.ExposeInternals
680     transforms as default transforms for all readers.
681   - Added ``ReReader`` base class for readers that reread an existing
682     document tree.
684 * docutils/readers/doctree.py: Added to project; a reader for existing
685   document trees.
687 * docutils/transforms/frontmatter.py:
689   - Fixed the DocInfo transform to handle SVN-style expansion of the
690     "Date" keyword.
691   - In ``DocInfo.extract_authors``, treat the contents of "authors"
692     fields uniformly.
694 * docutils/transforms/misc.py:
696   - Added misc.Transitions transform, extracted from
697     universal.FinalChecks.
699 * docutils/transforms/references.py:
701   - Added references.DanglingReferences transform, extracted from
702     universal.FinalChecks.
703   - Fixed bug with doubly-indirect substitutions.
704   - Added footnote_reference classes attribute to "TargetNotes".
705   - Fixed bug with circular substitution definitions that put Docutils
706     into an infinite loop.
708 * docutils/transforms/universal.py:
710   - Added universal.ExposeInternals transform, extracted from
711     universal.FinalChecks.
712   - Removed universal.FinalChecks transform (logic has been moved to
713     several new transforms).
714   - Fixed bug with the "expose_internals" setting and Text nodes
715     (exposed by the "rawsource" internal attribute).
716   - Added the universal.StripComments transform, implementation of the
717     "strip_comments" setting.
719 * docutils/transforms/writer_aux.py: Added to project; auxiliary
720   transforms for writers.
722   - Added ``Compound`` transform, which flattens compound paragraphs.
724 * docutils/writers/: Several writer modules (html4css1.py) were
725   converted into packages.  Support modules and data files have been
726   moved into the packages.  The stylesheets for the HTML writers are
727   now installed along with the code, the code knows where to find
728   them, and the default is to use them (actually, to embed them).
729   Some adjustments to configuration files may be necessary.  The
730   easiest way to obtain the new default behavior is to remove all
731   settings whose name includes "stylesheet".
733 * docutils/writers/__init__.py:
735   - Added universal.Messages and universal.FilterMessages transforms
736     as default transforms for all writers.
737   - Added ``UnfilteredWriter`` base class for writers that pass the
738     document tree on unchanged.
740 * docutils/writers/docutils_xml.py:
742   - Made ``xmlcharrefreplace`` the default output encoding error
743     handler.
745 * docutils/writers/html4css1/:
747   - Added support for image width and height units.
748   - Made ``xmlcharrefreplace`` the default output encoding error
749     handler.
750   - Made ``--embed-stylesheet`` the default rather than
751     ``--link-stylesheet``.
752   - Moved "id" attribute from container (section etc.) to title's <a>
753     tag, to be on the same tag as "name".
754     (!!! To be reverted in Docutils 0.5.)
755   - Added vertical space between fields of field lists.
756   - Added ``--compact-field-lists`` option to remove vertical space in
757     simple field lists.
758   - Made cloaking of email addresses with ``--cloak-email-addresses``
759     less obtrusive.
760   - Fixed support for centered images.
761   - Added support for class="compact" & class="open" lists.
763 * docutils/writers/latex2e/:
765   - Underscores in citekeys are no longer escaped.
767 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
768   mapping of Unicode characters to LaTeX equivalents.
770 * docutils/writers/s5_html/: Package added to project; writer for
771   S5/HTML slide shows.
773 * docs/dev/distributing.txt: Added to project; guide for distributors
774   (package maintainers).
776 * docs/dev/hacking.txt: Added to project; guide for developers.
778 * docs/ref/doctree.txt:
780   - Updated for plural attributes "classes", "ids", "names",
781     "dupnames".
782   - Added the "container" element.
784 * docs/ref/docutils.dtd:
786   - Updated for plural attributes "classes", "ids", "names",
787     "dupnames".
789 * docs/user/emacs.txt: Added to project; a document about Emacs
790   support for reStructuredText and Docutils.
792 * docs/user/links.txt: Added to project; lists of Docutils-related
793   links.
795 * docs/user/mailing-lists.txt: Added to project; information about
796   Docutils-related mailing lists and how to access them.
798 * docs/user/slide-shows.txt: Added to project; example of and docs for
799   the S5/HTML writer (``rst2s5.py`` front end).
801 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
802   Files", added to project.
804 * test/coverage.sh: Added to project; test coverage script.
806 * test/DocutilsTestSupport.py:
808   - Added support for specifying runtime settings at the suite level.
810 * test/test_functional.py:
812   - Added the ``clear_output_directory`` function.
813   - Added support for ``_test_more`` functions in functional test
814     config files.
816 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
818 * tools/rstpep2html.py: Renamed from pep.py.
820 * tools/dev/create_unimap.py: Added to project; script to create the
821   docutils/writers/unimap_latex.py mapping file.
823 * tools/dev/profile_docutils.py: Added to project; profiler script.
825 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
827 * tools/editors/emacs/restructuredtext.el,
828   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
829   Removed from project; the functionality is now contained in rst.el.
831 * tools/editors/emacs/rst.el: Added to project.  Added many features
832   and fixed many bugs.  See docs/user/emacs.txt for details.
834 * tools/stylesheets: Removed from project.  Stylesheets have been
835   renamed and moved into writer packages.
838 Release 0.3.9 (2005-05-26)
839 ==========================
841 * General:
843   - Eliminated and replaced all uses of the old string attributes
844     ``id``, ``name``, ``dupname`` and ``class`` with references to the
845     new list attributes ``ids``, ``names``, ``dupnames`` and
846     ``classes`` throughout the whole source tree.
848 * docutils/core.py:
850   - Enabled ``--dump-*`` options when ``--traceback`` specified,
851     allowing for easier debugging.
852   - In ``Publisher.publish()``, expanded the generic top-level
853     exception catching.
855 * docutils/examples.py:
857   - Added ``internals`` function for exploration.
859 * docutils/io.py:
861   - Fixed ``Input.decode`` method to apply heuristics only if no
862     encoding is explicitly given, and to provide better reporting of
863     decoding errors.
864   - The ``Input.decode`` method now removes byte order marks (BOMs)
865     from input streams.
867 * docutils/nodes.py:
869   - ``image`` element class changed to subclass of Element, not
870     TextElement (it's an empty element, and cannot contain text).
871   - Added ``attr_defaults`` dictionary for default attribute values.
872   - Added empty list as default value for the following attributes:
873     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
874   - Added ``document.decoration`` attribute,
875     ``document.get_decoration`` method, and ``decoration.get_header``
876     & ``.get_footer`` methods.
877   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
878     methods.
880 * docutils/utils.py:
882   - Removed ``docutils.utils.Reporter.categories``,
883     ``docutils.utils.ConditionSet``, and all references to them, to
884     simplify error reporting.
886 * docutils/languages/nl.py: Added to project; Dutch mappings by
887   Martijn Pieters.
889 * docutils/parsers/rst/__init__.py:
891   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
893 * docutils/parsers/rst/states.py:
895   - Added check for escaped at-mark to prevent email address recognition.
896   - Fixed option lists to allow spaces inside ``<angle-bracketed option
897     arguments>``.
898   - Allowed whitespace in paths and URLs.
899   - Added auto-enumerated list items.
900   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
901     followed by text.
902   - Added support for table stub columns.
904 * docutils/parsers/rst/directives/__init__.py:
906   - Allowed whitespace in paths (``path`` function).
907   - Added ``uri`` directive option conversion function.
909 * docutils/parsers/rst/directives/body.py:
911   - Fixed illegal context bug with "topic" directive (allowed within
912     sidebars; not within body elements).
914 * docutils/parsers/rst/directives/images.py:
916   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
917   - Added support for the ``file_insertion_enabled`` setting in the
918     "figure" directive (disables "figwidth" option).
919   - "image" directive: added checks for valid values of "align" option,
920     depending on context.  "figure" directive: added specialized
921     "align" option and attribute on "figure" element.
922   - Made ":figwidth: image" option of "figure" directive work again.
923   - Fixed bug with reference names containing uppercase letters
924     (e.g. ``Name_``) in "target" option of "image" directive.
926 * docutils/parsers/rst/directives/misc.py:
928   - Fixed "include" and "raw" directives to catch text decoding
929     errors.
930   - Allowed whitespace in "include" & "raw" directive paths.
931   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
932     settings in "include" & "raw" directives.
934 * docutils/parsers/rst/directives/parts.py:
936   - Added "header" & "footer" directives.
937   - Fixed illegal context bug with "contents" directive (topics
938     allowed within sidebars; not within body elements).
940 * docutils/parsers/rst/directives/tables.py:
942   - Added "list-table" directive.
943   - Caught empty CSV table bug.
944   - Added support for the ``file_insertion_enabled`` setting in the
945     "csv-table" directive.
946   - Added ``stub-columns`` option to "csv-table" and "list-table"
947     directives.
949 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
950   mappings by Martijn Pieters.
952 * docutils/readers/standalone.py:
954   - Added ``--section-subtitles`` and ``--no-section-subtitles``
955     options to activate or deactivate the SectSubTitle transform.
957 * docutils/transforms/frontmatter.py:
959   - Added SectSubTitle transform to promote titles of lone
960     subsections to subtitles.
962 * docutils/transforms/references.py:
964   - Fixed mislocated internal targets bug, by propagating internal
965     targets to the next node, making use of the newly added support
966     for multiple names and IDs.
967   - Fixed duplicate footnote label bug.
968   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
969     transform.
971 * docutils/writers/html4css1.py:
973   - Fixed unencoded stylesheet reference bug (characters like "&" in
974     stylesheet references).
975   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
976     tags).
977   - Added support for multiple IDs per node by creating empty ``span``
978     tags.
979   - Added the ``field_name_limit`` & ``option_limit`` settings &
980     support.
981   - Added support for table stub columns.
982   - Added support for the ``align`` attribute on ``figure`` elements.
983   - Added the ``cloak_email_addresses`` setting & support.
984   - Added ``html_prolog``, ``html_head``, ``html_body``,
985     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
986     ``docutils.core.publish_parts``.
987   - Added support for section subtitles.
989 * docutils/writers/latex2e.py:
991   - Fixed tables starting with more than one multirow cell.
992   - Improved --use-latex-docinfo so that organization/contact/address
993     fields are lumped with the last author field and appear on the
994     titlepage.
995   - Made sure the titlepage is always shown with --use-latex-docinfo,
996     even if the document has no title.
997   - Made sure that latex doesn't fill in today's date if no date field
998     was given.
999   - Added support for section subtitles.
1001 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1002   (under development).
1004 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1006 * docs/api/publisher.txt:
1008   - Added "``publish_parts`` Details" section.
1010 * docutils/dev/repository.txt: Added to project; information about the
1011   Docutils Subversion repository.
1013 * docs/ref/docutils.dtd:
1015   - Added a ``stub`` attribute to the ``colspec`` element via the
1016     ``tbl.colspec.att`` parameter entity.
1017   - Allowed topic elements within sidebars
1018   - Added an ``align`` attribute to the ``figure`` element.
1020 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1021   writer.
1024 Release 0.3.7 (2004-12-24)
1025 ==========================
1027 * docutils/frontend.py:
1029   - Added options: --input-encoding-error-handler,
1030     --record-dependencies, --leave-footnote-reference-space,
1031     --strict-visitor.
1032   - Added command-line and config file support for "overrides" setting
1033     parameter.
1035 * docutils/io.py:
1037   - Added support for input encoding error handler.
1039 * docutils/nodes.py:
1041   - Added dispatch_visit and dispatch_departure methods to
1042     NodeVisitor; useful as a hook for Visitors.
1043   - Changed structure of ``line_block``; added ``line``.
1044   - Added ``compound`` node class.
1045   - Added a mechanism for Visitors to transitionally ignore new node
1046     classes.
1048 * docutils/utils.py:
1050   - Moved ``escape2null`` and ``unescape`` functions from
1051     docutils/parsers/rst/states.py.
1053 * docutils/parsers/rst/roles.py:
1055   - Added "raw" role.
1056   - Changed role function API: the "text" parameter now takes
1057     null-escaped interpreted text content.
1059 * docutils/parsers/rst/states.py:
1061   - Fixed bug where a "role" directive in a nested parse would crash
1062     the parser; the state machine's "language" attribute was not being
1063     copied over.
1064   - Added support for line block syntax.
1065   - Fixed directive parsing bug: argument-less directives didn't
1066     notice that arguments were present.
1067   - Removed error checking for transitions.
1068   - Added support for multiple classifiers in definition list items.
1069   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1070   - Changed role function API: the "text" parameter now takes
1071     null-escaped interpreted text content.
1072   - Empty sections and documents are allowed now.
1074 * docutils/parsers/rst/directives/__init__.py:
1076   - Added ``encoding`` directive option conversion function.
1077   - Allow multiple class names in class_option conversion function.
1079 * docutils/parsers/rst/directives/body.py:
1081   - Converted the line-block directive to use the new structure.
1082   - Extracted the old line-block functionality to the ``block``
1083     function (still used).
1084   - Added ``compound`` directive (thanks to Lea Wiemann).
1086 * docutils/parsers/rst/directives/misc.py:
1088   - Added "encoding" option to "include" and "raw" directives.
1089   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1090   - Allow multiple class names in the "class" directive.
1092 * docutils/parsers/rst/directives/parts.py:
1094   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1095     options.  Thanks to Lele Gaifax.
1097 * docutils/parsers/rst/directives/tables.py:
1099   - Added "encoding" directive to "csv-table" directive.
1100   - Added workaround for lack of Unicode support in csv.py, for
1101     non-ASCII CSV input.
1103 * docutils/transforms/misc.py:
1105   - Fixed bug when multiple "class" directives are applied to a single
1106     element.
1107   - Enabled multiple format names for "raw" directive.
1109 * docutils/transforms/references.py:
1111   - Added support for trimming whitespace from beside substitution
1112     references.
1114 * docutils/transforms/universal.py:
1116   - FinalChecks now checks for illegal transitions and moves
1117     transitions between sections.
1119 * docutils/writers/html4css1.py:
1121   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1122   - "stylesheet" and "stylesheet_path" settings are now mutually
1123     exclusive.
1124   - Added support for the new line_block/line structure.
1125   - --footnote-references now overrides
1126     --trim-footnote-reference-space, if applicable.
1127   - Added support for ``compound`` elements.
1128   - Enabled multiple format names for "raw" directive.
1129   - ``<p>`` tags of a paragraph which is the only visible child of the
1130     document node are no longer stripped.
1131   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1132     new method ``should_be_compact_paragraph()``.
1133   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1134     elements.
1135   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1136     the output if they have their ``class`` attribute set.
1137   - The whole document is now surrounded by a ``<div
1138     class="document">`` element.
1139   - Body-level images are now wrapped by their own ``<div>`` elements,
1140     with image classes copied to the wrapper, and for images which
1141     have the ``:align:`` option set, the surrounding ``<div>`` now
1142     receives a class attribute (like ``class="align-left"``).
1144 * docutils/writers/latex2e.py:
1146   - no newline after depart_term.
1147   - Added translations for some Unicode quotes.
1148   - Added option "font-encoding", made package AE the default.
1149   - "stylesheet" and "stylesheet_path" settings are now mutually
1150     exclusive.
1151   - --footnote-references now overrides
1152     --trim-footnote-reference-space, if applicable.
1153   - The footnote label style now matches the footnote reference style
1154     ("brackets" or "superscript").
1155   - Added support for ``compound`` elements.
1156   - Enabled multiple format names for "raw" directive.
1158 * docs/ref/docutils.dtd:
1160   - Changed structure of the ``line_block`` element; added ``line``.
1161   - Added ``compound`` element.
1162   - Added "ltrim" and "rtrim" attributes to
1163     ``substitution_definition`` element.
1164   - Enabled multiple format names for ``raw`` element.
1165   - Enabled multiple classifiers in ``definition_list_item`` elements.
1167 * docs/ref/rst/directives.txt
1169   - Marked "line-block" as deprecated.
1170   - "Class" directive now allows multiple class names.
1171   - Added "Rationale for Class Attribute Value Conversion".
1172   - Added warning about "raw" overuse/abuse.
1174 * docs/ref/rst/restructuredtext.txt:
1176   - Added syntax for line blocks.
1177   - Definition list items may have multiple classifiers.
1179 * docs/ref/rst/roles.txt:
1181   - Added "raw" role.
1183 * tools/stylesheets/default.css:
1185   - Added support for the new line_block structure.
1186   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1189 Release 0.3.5 (2004-07-29)
1190 ==========================
1192 General:
1194 * _`Documentation cleanup/reorganization`.
1196   - Created new subdirectories of docs/:
1198     * ``docs/user/``: introductory/tutorial material for end-users
1199     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1200     * ``docs/api/``: API reference material for client-developers
1201     * ``docs/ref/``: reference material for all groups
1202     * ``docs/howto/``: for component-developers and core-developers
1203     * ``docs/peps/``: Python Enhancement Proposals
1205   - Moved ``docs/*`` to ``docs/user/``.
1206   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1207     ``spec/`` to ``docs/dev``.
1208   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1209     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1210   - Moved ``alternatives.txt``, and ``problems.txt`` from
1211     ``spec/rst/`` to ``docs/dev/rst/``.
1212   - Moved ``reStructuredText.txt``, ``directives.txt``,
1213     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1214     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1215     ``roles.txt``, ``reStructuredText.txt`` to
1216     ``restructuredtext.txt``.
1217   - Moved ``spec/howto/`` to ``docs/howto``.
1219   In order to keep the CVS history of moved files, we supplied
1220   SourceForge with a `script for modifying the Docutils CVS
1221   repository`__.
1223   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1225   After running the cleanup script:
1227   - Added ``docs/index.txt``.
1228   - Added a ``.htaccess`` file to the ``web`` module, containing
1229     redirects for all old paths to new paths.  They'll preserve
1230     fragments (the "#name" part of a URL), and won't clutter up the
1231     file system, and will correct the URL in the user's browser.
1232   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1233     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1234     the "To Do" list itself in ``docs/dev/todo.txt``.
1235   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1236     section of ``docs/dev/todo.txt``.
1237   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1238   - Added "How To Report Bugs" to ``BUGS.txt``.
1239   - Went through all the sources and docs (including under web/) and
1240     updated links.  Mostly done by Lea Wiemann; thanks Lea!
1241     (Still need to update links in the sandboxes.)
1243 Specific:
1245 * BUGS.txt: Added to project.
1247 * THANKS.txt: Added to project.
1249 * docutils/__init__.py:
1251   - 0.3.4: Post-release.
1253 * docutils/core.py:
1255   - Added special error handling & advice for UnicodeEncodeError.
1256   - Refactored Publisher.publish (simplified exception handling &
1257     extracted debug dumps).
1258   - Renamed "enable_exit" parameter of convenience functions to
1259     "enable_exit_status".
1260   - Enabled traceback (exception propagation) by default in
1261     programmatic convenience functions.
1262   - Now publish_file and publish_cmdline convenience functions return
1263     the encoded string results in addition to their regular I/O.
1264   - Extracted common code from publish_file, publish_string, and
1265     publish_parts, into new publish_programmatically.  Extracted
1266     settings code to ``Publisher.process_programmatic_settings``.
1267   - In Publisher.publish, disabled ``settings_overrides`` when
1268     ``settings`` is supplied; redundant.
1270 * docutils/frontend.py:
1272   - Added help text for "--output-encoding-error-handler" and
1273     "--error-encoding-error-handler".
1274   - Renamed "--exit" to "--exit-status".
1275   - Simplified default-setting code.
1277 * docutils/parsers/rst/__init__.py:
1279   - Added "--pep-base-url" and "--rfc-base-url" options.
1281 * docutils/parsers/rst/states.py:
1283   - Made URI recognition more aggressive and intelligent.
1285 * docutils/parsers/rst/directives/__init__.py:
1287   - Added several directive option conversion functions.
1289 * docutils/parsers/rst/directives/body.py:
1291   - Moved "table" directive to tables.py.
1293 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1294   added to project.
1296 * docutils/writers/latex2e.py:
1298   - Added "--table-style=(standard|booktabs|nolines)"
1299   - figures get "here" option (LaTeX per default puts them at bottom),
1300     and figure content is centered.
1301   - Rowspan support for tables.
1302   - Fix: admonition titles before first section.
1303   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1304   - Replave ``_`` in literal by an underlined blank, because it has the correct
1305     width.
1306   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1307   - A few unicode replacements, if output_encoding != utf
1308   - Add "--graphicx-option".
1309   - Indent literal-blocks.
1310   - Fix: omit ``\maketitle`` when there is no document title.
1312 * docs/index.txt: "Docutils Project Documentation Overview", added to
1313   project.
1315 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1316   Tool", added to project.
1318 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1320 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1322 * docs/dev/policies.txt: Added to project (extracted from
1323   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1325 * docs/dev/release.txt: Added to project (extracted from
1326   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1328 * docs/dev/testing.txt: Added to project.
1330 * docs/dev/website.txt: Added to project (extracted from
1331   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1333 * docs/ref/rst/directives.txt:
1335   - Added directives: "table", "csv-table".
1337 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1338   added to project.  1 page for syntax, and a 1 page reference for
1339   directives and roles.  Source text to be used as-is; not meant to be
1340   converted to HTML.
1342 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1343   with a change of title.
1345 * test/functional/, contents, and test/test_functional.py: Added to
1346   project.
1348 * tools/buildhtml.py: Fixed bug with config file handling.
1350 * tools/html.py: Removed from project (duplicate of rst2html.py).
1352 * tools/pep2html.py: Removed from project (duplicate of Python's
1353   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1354   Docutils-related PEPs in docs/peps/).
1356 * tools/rst2pseudoxml.py: Renamed from publish.py.
1358 * tools/rst2xml.py: Renamed from docutils-xml.py.
1360 * tools/test.txt: Removed from project; moved to
1361   docs/user/rst/demo.txt.
1363 * setup.py: Now also installs ``rst2latex.py``.
1366 Release 0.3.3 (2004-05-09)
1367 ==========================
1369 * docutils/__init__.py:
1371   - 0.3.1: Reorganized config file format (multiple sections); see
1372     docs/config.txt.
1373   - Added unknown_reference_resolvers attribute to TransformSpec.
1374   - 0.3.2: Interpreted text reorganization.
1375   - 0.3.3: Released.
1377 * docutils/core.py:
1379   - Catch system messages to stop tracebacks from parsing errors.
1380   - Catch exceptions during processing report & exit without
1381     tracebacks, except when "--traceback" used.
1382   - Reordered components for OptionParser; application comes last.
1383   - Added "config_section" parameter to several methods and functions,
1384     allowing front ends to easily specify their config file sections.
1385   - Added publish_parts convenience function to allow access to individual
1386     parts of a document.
1388 * docutils/examples.py: Added to project; practical examples of
1389   Docutils client code, to be used as-is or as models for variations.
1391 * docutils/frontend.py:
1393   - Added "--traceback" & "--no-traceback" options ("traceback"
1394     setting).
1395   - Implemented support for config file reorganization:
1396     ``standard_config_files`` moved from ``ConfigParser`` to
1397     ``OptionParser``; added
1398     ``OptionParser.get_config_file_settings()`` and
1399     ``.get_standard_config_settings()``; support for old "[options]"
1400     section (with deprecation warning) and mapping from old to new
1401     settings.
1402   - Reimplemented setting validation.
1403   - Enabled flexible boolean values: yes/no, true/false, on/off.
1404   - Added ``Values``, a subclass of ``optparse.Values``, with support
1405     for list setting attributes.
1406   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1407     thanks to Beni Cherniavsky.
1408   - Added "--no-section-numbering" option.
1410 * docutils/io.py:
1412   - Catch IOErrors when opening source & destination files, report &
1413     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1414     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1416 * docutils/nodes.py:
1418   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1419     method definitions (via ``exec``) to dynamic assignments (via
1420     ``setattr``); thanks to Roman Suzi.
1421   - Encapsulated visitor dynamic assignments in a function; thanks to
1422     Ian Bicking.
1423   - Added indirect_reference_name attribute to the Targetable
1424     class. This attribute holds the whitespace_normalized_name
1425     (contains mixed case) of a target.
1427 * docutils/statemachine.py:
1429   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1430   - Added ``StringList.get_2D_block``.
1432 * docutils/utils.py:
1434   - Added "level" attribute to SystemMessage exceptions.
1436 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1437   Jannie Hofmeyr.
1439 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1440   Blaha.
1442 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1443   Marcelo Huerta San Martin.
1445 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1446   mappings by Lalo Martins.
1448 * docutils/languages/ru.py: Added to project; Russian mappings by
1449   Roman Suzi.
1451 * docutils/parsers/rst/roles.py: Added to project.  Contains
1452   interpreted text role functions, a registry for interpreted text
1453   roles, and an API for adding to and retrieving from the registry.
1454   Contributed by Edward Loper.
1456 * docutils/parsers/rst/states.py:
1458   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1459   - Allowed true em-dash character and "---" as block quote
1460     attribution marker.
1461   - Added support for <angle-bracketed> complex option arguments
1462     (option lists).
1463   - Fixed handling of backslashes in substitution definitions.
1464   - Fixed off-by-1 error with extra whitespace after substitution
1465     definition directive.
1466   - Added inline markup parsing to field lists' field names.
1467   - Added support for quoted (and unindented) literal blocks.
1468     Driven in part by a bribe from Frank Siebenlist (thanks!).
1469   - Parser now handles escapes in URIs correctly.
1470   - Made embedded-URIs' reference text omittable.  Idea from Beni
1471     Cherniavsky.
1472   - Refactored explicit target processing code.
1473   - Added name attribute to references containing the reference name only
1474     through whitespace_normalize_name (no case changes).
1475   - parse_target no longer returns the refname after going through
1476     normalize_name. This is now handled in make_target.
1477   - Fixed bug relating to role-less interpreted text in non-English
1478     contexts.
1479   - Reorganized interpreted text processing; moved code into the new
1480     roles.py module.  Contributed by Edward Loper.
1481   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1482     ``parse_directive_block``.
1484 * docutils/parsers/rst/tableparser.py:
1486   - Reworked for ``StringList``, to support "include" directives in
1487     table cells.
1489 * docutils/parsers/rst/directives/__init__.py:
1491   - Renamed ``unchanged()`` directive option conversion function to
1492     ``unchanged_required``, and added a new ``unchanged``.
1493   - Catch unicode value too high error; fixes bug 781766.
1494   - Beefed up directive error reporting.
1496 * docutils/parsers/rst/directives/body.py:
1498   - Added basic "table" directive.
1500 * docutils/parsers/rst/directives/images.py:
1502   - Added "target" option to "image" directive.
1503   - Added name attribute to references containing the reference name only
1504     through whitespace_normalize_name (no case changes).
1506 * docutils/parsers/rst/directives/misc.py:
1508   - Isolated the import of the ``urllib2`` module; was causing
1509     problems on SourceForge (``libssl.so.2`` unavailable?).
1510   - Added the "role" directive for declaring custom interpreted text
1511     roles.
1513 * docutils/parsers/rst/directives/parts.py:
1515   - The "contents" directive does more work up-front, creating the
1516     "topic" and "title", and leaving the "pending" node for the
1517     transform.  Allows earlier reference resolution; fixes subtle bug.
1519 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1520   mappings by Jannie Hofmeyr.
1522 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1523   mappings by Marek Blaha.
1525 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1526   mappings by Marcelo Huerta San Martin.
1528 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1529   Portuguese mappings by Lalo Martins.
1531 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1532   mappings by Roman Suzi.
1534 * docutils/transforms/parts.py:
1536   - The "contents" directive does more work up-front, creating the
1537     "topic" and "title", and leaving the "pending" node for the
1538     transform.  Allows earlier reference resolution; fixes subtle bug.
1539   - Added support for disabling of section numbering.
1541 * docutils/transforms/references.py:
1543   - Verifying that external targets are truly targets and not indirect
1544     references. This is because we are now adding a "name" attribute to
1545     references in addition to targets. Note sure if this is correct!
1546   - Added code to hook into the unknown_reference_resolvers list for a
1547     transformer in resolve_indirect_target. This allows the
1548     unknown_reference_resolvers to keep around indirect targets which
1549     docutils doesn't know about.
1550   - Added specific error message for duplicate targets.
1552 * docutils/transforms/universal.py:
1554   - Added FilterMessages transform (removes system messages below the
1555     verbosity threshold).
1556   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1557     to FinalCheckVisitor for application-specific handling of
1558     unresolvable references.
1559   - Added specific error message for duplicate targets.
1561 * docutils/writers/__init__.py:
1563   - Added assemble_parts method to the Writer class to allow for
1564     access to a documents individual parts.
1565   - Documented & set default for ``Writer.output`` attribute.
1567 * docutils/writers/html4css1.py:
1569   - Fixed unicode handling of attribute values (bug 760673).
1570   - Prevent duplication of "class" attribute values (bug report from
1571     Kirill Lapshin).
1572   - Improved table grid/border handling (prompted by report from Bob
1573     Marshall).
1574   - Added support for table titles.
1575   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1576     to Darek Suchojad.
1577   - Added functionality to keep track of individual parts of a document
1578     and store them in a dictionary as the "parts" attribute of the writer.
1579     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1580   - Added proper support for the "scale" attribute of the "image"
1581     element.  Contributed by Brent Cook.
1582   - Added ``--initial-header-level`` option.
1583   - Fixed bug: the body_pre_docinfo segment depended on there being a
1584     docinfo; if no docinfo, the document title was incorporated into
1585     the body segment.  Adversely affected the publish_parts interface.
1587 * docutils/writers/latex2e.py:
1589   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1590     about a missing file.
1591   - Added options and support: ``--compound-enumerators``,
1592     ``--section-prefix-for-enumerators``, and
1593     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1594     934322).
1595   - Added option ``--use-verbatim-when-possible``, to avoid
1596     problematic characters (eg, '~' in italian) in literal blocks.
1597   - It's now possible to use four section levels in the `book` and
1598     `report` LaTeX classes.  The default `article` class still has
1599     three levels limit.
1601 * docs/config.txt: "Docutils Configuration Files", added to project.
1602   Moved config file entry descriptions from tools.txt.
1604 * docs/tools.txt:
1606   - Moved config file entry descriptions to config.txt.
1608 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
1609   Development".
1611 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1612   Text Roles", added to project.
1614 * spec/rst/reStructuredText.txt:
1616   - Added description of support for <angle-bracketed> complex option
1617     arguments to option lists.
1618   - Added subsections for indented and quoted literal blocks.
1620 * test: Continually adding & updating tests.
1622   - Added test/test_settings.py & test/data/config_*.txt support
1623     files.
1624   - Added test/test_writers/test_htmlfragment.py.
1626 * test/DocutilsTestSupport.py:
1628   - Refactored LaTeX publisher test suite/case class names to make
1629     testing other writers easier.
1630   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1631     to test the processing of HTML fragments which use the new
1632     publish_parts convenience function.
1634 * tools/buildhtml.py:
1636   - Added support for the "--prune" option.
1637   - Removed dependency on pep2html.py; plaintext PEPs no longer
1638     supported.
1640 * tools/docutils.conf:
1642   - Updated for configuration file reorganization.
1644 * tools/rst2html.py:
1646   - copied from tools/html.py
1648 * setup.py:
1650   - added a 'scripts' section to configuration
1651   - added 'tools/rst2html.py' to the scripts section
1654 Release 0.3 (2003-06-24)
1655 ========================
1657 General:
1659 * Renamed "attribute" to "option" for directives/extensions.
1661 * Renamed transform method "transform" to "apply".
1663 * Renamed "options" to "settings" for runtime settings (as set by
1664   command-line options).  Sometimes "option" (singular) became
1665   "settings" (plural).  Some variations below:
1667   - document.options -> document.settings (stored in other objects as
1668     well)
1669   - option_spec -> settings_spec (not directives though)
1670   - OptionSpec -> SettingsSpec
1671   - cmdline_options -> settings_spec
1672   - relative_path_options -> relative_path_settings
1673   - option_default_overrides -> settings_default_overrides
1674   - Publisher.set_options -> Publisher.get_settings
1676 Specific:
1678 * COPYING.txt: Added "Public Domain Dedication".
1680 * FAQ.txt: Frequently asked questions, added to project.
1682 * setup.py:
1684   - Updated with PyPI Trove classifiers.
1685   - Conditional installation of third-party modules.
1687 * docutils/__init__.py:
1689   - Bumped version to 0.2.1 to reflect changes to I/O classes.
1690   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1691   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1692   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1693     option and its effect on the PEP template & writer.
1694   - Bumped version to 0.2.4 due to changes to the PEP template &
1695     stylesheet.
1696   - Bumped version to 0.2.5 to reflect changes to Reporter output.
1697   - Added ``TransformSpec`` class for new transform system.
1698   - Bumped version to 0.2.6 for API changes (renaming).
1699   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1700     convenience functions.
1701   - Added ``Component.component_type`` attribute.
1702   - Bumped version to 0.2.8 because of the internal parser switch from
1703     plain lists to the docutils.statemachine.StringList objects.
1704   - Bumped version to 0.2.9 because of the frontend.py API changes.
1705   - Bumped version to 0.2.10 due to changes to the project layout
1706     (third-party modules removed from the "docutils" package), and
1707     signature changes in ``io.Input``/``io.Output``.
1708   - Changed version to 0.3.0 for release.
1710 * docutils/core.py:
1712   - Made ``publish()`` a bit more convenient.
1713   - Generalized ``Publisher.set_io``.
1714   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1715     parameters; improved its docstring.
1716   - Added ``publish_file()`` and ``publish_string()``.
1717   - Factored ``Publisher.set_source()`` and ``.set_destination()``
1718     out of ``.set_io``.
1719   - Added support for "--dump-pseudo-xml", "--dump-settings", and
1720     "--dump-transforms" hidden options.
1721   - Added ``Publisher.apply_transforms()`` method.
1722   - Added ``Publisher.set_components()`` method; support for
1723     ``publish_*()`` conveninece functions.
1724   - Moved config file processing to docutils/frontend.py.
1725   - Added support for exit status ("exit_level" setting &
1726     ``enable_exit`` parameter for Publisher.publish() and convenience
1727     functions).
1729 * docutils/frontend.py:
1731   - Check for & exit on identical source & destination paths.
1732   - Fixed bug with absolute paths & "--config".
1733   - Set non-command-line defaults in ``OptionParser.__init__()``:
1734     ``_source`` & ``_destination``.
1735   - Distributed ``relative_path_settings`` to components; updated
1736     ``OptionParser.populate_from_components()`` to combine it all.
1737   - Require list of keys in ``make_paths_absolute`` (was implicit in
1738     global ``relative_path_settings``).
1739   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1740     "--dump-settings", and "--dump-transforms" hidden options.
1741   - Removed nasty internals-fiddling ``ConfigParser.get_section``
1742     code, replaced with correct code.
1743   - Added validation functionality for config files.
1744   - Added "--error-encoding" option/setting, "_disable_config"
1745     internal setting.
1746   - Added encoding validation; updated "--input-encoding" and
1747     "--output-encoding"; added "--error-encoding-error-handler" and
1748     "--output-encoding-error-handler".
1749   - Moved config file processing from docutils/core.py.
1750   - Updated ``OptionParser.populate_from_components`` to handle new
1751     ``SettingsSpec.settings_defaults`` dict.
1752   - Added support for "-" => stdin/stdout.
1753   - Added "exit_level" setting ("--exit" option).
1755 * docutils/io.py:
1757   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1758   - Added automatic closing to ``FileInput`` and ``FileOutput``.
1759   - Delayed opening of ``FileOutput`` file until ``write()`` called.
1760   - ``FileOutput.write()`` now returns the encoded output string.
1761   - Try to get path/stream name automatically in ``FileInput`` &
1762     ``FileOutput``.
1763   - Added defaults for source & destination paths.
1764   - Allow for Unicode I/O with an explicit "unicode" encoding.
1765   - Added ``Output.encode()``.
1766   - Removed dependency on runtime settings; pass encoding directly.
1767   - Recognize Unicode strings in ``Input.decode()``.
1768   - Added support for output encoding error handlers.
1770 * docutils/nodes.py:
1772   - Added "Invisible" element category class.
1773   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1774     modification during a traversal.
1775   - Added element classes: ``line_block``, ``generated``, ``address``,
1776     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1777     ``superscript``, ``subscript``, ``inline``
1778   - Added support for lists of nodes to ``Element.insert()``.
1779   - Fixed parent linking in ``Element.replace()``.
1780   - Added new abstract superclass ``FixedTextElement``; adds
1781     "xml:space" attribute.
1782   - Added support for "line" attribute of ``system_message`` nodes.
1783   - Added support for the observer pattern from ``utils.Reporter``.
1784     Added ``parse_messages`` and ``transform_messages`` attributes to
1785     ``document``, removed ``messages``.  Added ``note_parse_message``
1786     and ``note_transform_message`` methods.
1787   - Added support for improved diagnostics:
1789     - Added "document", "source", and "line" internal attributes to
1790       ``Node``, set by ``Node.setup_child()``.
1791     - Converted variations on ``node.parent = self`` to
1792       ``self.setup_child(node)``.
1793     - Added ``document.current_source`` & ``.current_line``
1794       attributes, and ``.note_source`` observer method.
1795     - Changed "system_message" output to GNU-Tools format.
1797   - Added a "rawsource" attribute to the ``Text`` class, for text
1798     before backslash-escape resolution.
1799   - Support for new transform system.
1800   - Reworked ``pending`` element.
1801   - Fixed XML DOM bug (SF #660611).
1802   - Removed the ``interpeted`` element class and added
1803     ``title_reference``, ``abbreviation``, ``acronym``.
1804   - Made substitutions case-sensitive-but-forgiving; moved some code
1805     from the parser.
1806   - Fixed Unicode bug on element attributes (report: William Dode).
1808 * docutils/optik.py: Removed from project; replaced with
1809   extras/optparse.py and extras/textwrap.py.  These will be installed
1810   only if they're not already present in the Python installation.
1812 * docutils/roman.py: Moved to extras/roman.py; this will be installed
1813   only if it's not already present in the Python installation.
1815 * docutils/statemachine.py:
1817   - Factored out ``State.add_initial_transitions()`` so it can be
1818     extended.
1819   - Converted whitespace-specific "blank" and "indent" transitions
1820     from special-case code to ordinary transitions: removed
1821     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
1822     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
1823     ``ws_initial_transitions`` attributes.
1824   - Removed ``State.match_transition()`` after merging it into
1825     ``.check_line()``.
1826   - Added ``StateCorrection`` exception.
1827   - Added support for ``StateCorrection`` in ``StateMachine.run()``
1828     (moved ``TransitionCorrection`` support there too.)
1829   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
1830     ``EOFError`` instead of ``IndexError``.
1831   - Added ``State.no_match`` method.
1832   - Added support for the Observer pattern, triggered by input line
1833     changes.
1834   - Added ``strip_top`` parameter to
1835     ``StateMachineWS.get_first_known_indented``.
1836   - Made ``context`` a parameter to ``StateMachine.run()``.
1837   - Added ``ViewList`` & ``StringList`` classes;
1838     ``extract_indented()`` becomes ``StringList.get_indented()``.
1839   - Added ``StateMachine.insert_input()``.
1840   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
1841     thanks to) Fred Drake.
1843 * docutils/utils.py:
1845   - Added a ``source`` attribute to Reporter instances and
1846     ``system_message`` elements.
1847   - Added an observer pattern to ``utils.Reporter`` to keep track of
1848     system messages.
1849   - Fixed bugs in ``relative_path()``.
1850   - Added support for improved diagnostics.
1851   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
1852   - Added support for encoding Reporter stderr output, and encoding
1853     error handlers.
1854   - Reporter keeps track of the highest level system message yet
1855     generated.
1857 * docutils/languages: Fixed bibliographic field language lookups.
1859 * docutils/languages/es.py: Added to project; Spanish mappings by
1860   Marcelo Huerta San Martin.
1862 * docutils/languages/fr.py: Added to project; French mappings by
1863   Stefane Fermigier.
1865 * docutils/languages/it.py: Added to project; Italian mappings by
1866   Nicola Larosa.
1868 * docutils/languages/sk.py: Added to project; Slovak mappings by
1869   Miroslav Vasko.
1871 * docutils/parser/__init__.py:
1873   - Added ``Parser.finish_parse()`` method.
1875 * docutils/parser/rst/__init__.py:
1877   - Added options: "--pep-references", "--rfc-references",
1878     "--tab-width", "--trim-footnote-reference-space".
1880 * docutils/parsers/rst/states.py:
1882   - Changed "title under/overline too short" system messages from INFO
1883     to WARNING, and fixed its insertion location.
1884   - Fixed enumerated list item parsing to allow paragraphs & section
1885     titles to begin with enumerators.
1886   - Converted system messages to use the new "line" attribute.
1887   - Fixed a substitution reference edge case.
1888   - Added support for "--pep-references" and "--rfc-references"
1889     options; reworked ``Inliner`` code to make customization easier.
1890   - Removed field argument parsing.
1891   - Added support for short section title over/underlines.
1892   - Fixed "simple reference name" regexp to ignore text like
1893     "object.__method__"; not an anonymous reference.
1894   - Added support for improved diagnostics.
1895   - Reworked directive API, based on Dethe Elza's contribution.  Added
1896     ``Body.parse_directive()``, ``.parse_directive_options()``,
1897     ``.parse_directive_arguments()`` methods.
1898   - Added ``ExtensionOptions`` class, to parse directive options
1899     without parsing field bodies.  Factored
1900     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
1901     ``ExtensionOptions``.
1902   - Improved definition list term/classifier parsing.
1903   - Added warnings for unknown directives.
1904   - Renamed ``Stuff`` to ``Struct``.
1905   - Now flagged as errors: transitions at the beginning or end of
1906     sections, empty sections (except title), and empty documents.
1907   - Updated for ``statemachine.StringList``.
1908   - Enabled recognition of schemeless email addresses in targets.
1909   - Added support for embedded URIs in hyperlink references.
1910   - Added backslash-escapes to inline markup end-string suffix.
1911   - Added support for correct interpreted text processing.
1912   - Fixed nested title parsing (topic, sidebar directives).
1913   - Added special processing of backslash-escaped whitespace (idea
1914     from David Abrahams).
1915   - Made substitutions case-sensitive-but-forgiving; moved some code
1916     to ``docutils.nodes``.
1917   - Added support for block quote attributions.
1918   - Added a kludge to work-around a conflict between the bubble-up
1919     parser strategy and short titles (<= 3 char-long over- &
1920     underlines).  Fixes SF bug #738803 "infinite loop with multiple
1921     titles" submitted by Jason Diamond.
1922   - Added explicit interpreted text roles for standard inline markup:
1923     "emphasis", "strong", "literal".
1924   - Implemented "superscript" and "subscript" interpreted text roles.
1925   - Added initial support for "abbreviation" and "acronym" roles;
1926     incomplete.
1927   - Added support for "--trim-footnote-reference-space" option.
1928   - Optional space before colons in directives & hyperlink targets.
1930 * docutils/parsers/rst/tableparser.py:
1932   - Fixed a bug that was producing unwanted empty rows in "simple"
1933     tables.
1934   - Detect bad column spans in "simple" tables.
1936 * docutils/parsers/rst/directives: Updated all directive functions to
1937   new API.
1939 * docutils/parsers/rst/directives/__init__.py:
1941   - Added ``flag()``, ``unchanged()``, ``path()``,
1942     ``nonnegative_int()``, ``choice()``, and ``class_option()``
1943     directive option helper functions.
1944   - Added warnings for unknown directives.
1945   - Return ``None`` for missing directives.
1946   - Added ``register_directive()``, thanks to William Dode and Paul
1947     Moore.
1949 * docutils/parsers/rst/directives/admonitions.py:
1951   - Added "admonition" directive.
1953 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
1954   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
1955   "parsed-literal", "rubric", "epigraph", "highlights" and
1956   "pull-quote" directives.
1958 * docutils/parsers/rst/directives/images.py:
1960   - Added an "align" attribute to the "image" & "figure" directives
1961     (by Adam Chodorowski).
1962   - Added "class" option to "image", and "figclass" to "figure".
1964 * docutils/parsers/rst/directives/misc.py:
1966   - Added "include", "raw", and "replace" directives, courtesy of
1967     Dethe Elza.
1968   - Added "unicode" and "class" directives.
1970 * docutils/parsers/rst/directives/parts.py:
1972   - Added the "sectnum" directive; by Dmitry Jemerov.
1973   - Added "class" option to "contents" directive.
1975 * docutils/parsers/rst/directives/references.py: Added to project.
1976   Contains the "target-notes" directive.
1978 * docutils/parsers/rst/languages/__init__.py:
1980   - Return ``None`` from get_language() for missing language modules.
1982 * docutils/parsers/rst/languages/de.py: Added to project; German
1983   mappings by Engelbert Gruber.
1985 * docutils/parsers/rst/languages/en.py:
1987   - Added interpreted text roles mapping.
1989 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
1990   mappings by Marcelo Huerta San Martin.
1992 * docutils/parsers/rst/languages/fr.py: Added to project; French
1993   mappings by William Dode.
1995 * docutils/parsers/rst/languages/it.py: Added to project; Italian
1996   mappings by Nicola Larosa.
1998 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
1999   mappings by Miroslav Vasko.
2001 * docutils/readers/__init__.py:
2003   - Added support for the observer pattern from ``utils.Reporter``, in
2004     ``Reader.parse`` and ``Reader.transform``.
2005   - Removed ``Reader.transform()`` method.
2006   - Added default parameter values to ``Reader.__init__()`` to make
2007     instantiation easier.
2008   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2010 * docutils/readers/pep.py:
2012   - Added the ``peps.TargetNotes`` transform to the Reader.
2013   - Removed PEP & RFC reference detection code; moved to
2014     parsers/rst/states.py as options (enabled here by default).
2015   - Added support for pre-acceptance PEPs (no PEP number yet).
2016   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2017     easy subclassing.
2019 * docutils/readers/python: Python Source Reader subpackage added to
2020   project, including preliminary versions of:
2022   - __init__.py
2023   - moduleparser.py: Parser for Python modules.
2025 * docutils/transforms/__init__.py:
2027   - Added ``Transformer`` class and completed transform reform.
2028   - Added unknown_reference_resolvers list for each transformer. This list holds
2029     the list of functions provided by each component of the transformer that
2030     help resolve references.
2032 * docutils/transforms/frontmatter.py:
2034   - Improved support for generic fields.
2035   - Fixed bibliographic field language lookups.
2037 * docutils/transforms/misc.py: Added to project.  Miscellaneous
2038   transforms.
2040 * docutils/transforms/parts.py:
2042   - Moved the "id" attribute from TOC list items to the references
2043     (``Contents.build_contents()``).
2044   - Added the ``SectNum`` transform; by Dmitry Jemerov.
2045   - Added "class" attribute support to ``Contents``.
2047 * docutils/transforms/peps.py:
2049   - Added ``mask_email()`` function, updating to pep2html.py's
2050     functionality.
2051   - Linked "Content-Type: text/x-rst" to PEP 12.
2052   - Added the ``TargetNotes`` PEP-specific transform.
2053   - Added ``TargetNotes.cleanup_callback``.
2054   - Added title check to ``Headers``.
2056 * docutils/transforms/references.py:
2058   - Added the ``TargetNotes`` generic transform.
2059   - Split ``Hyperlinks`` into multiple transforms.
2060   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2061   - Added check for circular indirect references.
2062   - Made substitutions case-sensitive-but-forgiving.
2064 * docutils/transforms/universal.py:
2066   - Added support for the "--expose-internal-attributes" option.
2067   - Removed ``Pending`` transform classes & data.
2069 * docutils/writers/__init__.py:
2071   - Removed ``Writer.transform()`` method.
2073 * docutils/writers/docutils-xml.py:
2075   - Added XML and doctype declarations.
2076   - Added "--no-doctype" and "--no-xml-declaration" options.
2078 * docutils/writers/html4css1.py:
2080   - "name" attributes only on these tags: a, applet, form, frame,
2081     iframe, img, map.
2082   - Added "name" attribute to <a> in section titles for Netscape 4
2083     support (bug report: Pearu Peterson).
2084   - Fixed targets (names) on footnote, citation, topic title,
2085     problematic, and system_message nodes (for Netscape 4).
2086   - Changed field names from "<td>" to "<th>".
2087   - Added "@" to "&#64;" encoding to thwart address harvesters.
2088   - Improved the vertical whitespace optimization; ignore "invisible"
2089     nodes (targets, comments, etc.).
2090   - Improved inline literals with ``<span class="pre">`` around chunks
2091     of text and ``&nbsp;`` for runs of spaces.
2092   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2093     ``self.docinfo`` segments.
2094   - Added support for "line_block", "address" elements.
2095   - Improved backlinks (footnotes & system_messages).
2096   - Improved system_message output.
2097   - Redefined "--stylesheet" as containing an invariant URL, used
2098     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2099     working directory.
2100   - Added "--footnote-references" option (superscript or brackets).
2101   - Added "--compact-lists" and "--no-compact-lists" options.
2102   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2103     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2104   - Improved field list rendering.
2105   - Added Docutils version to "generator" meta tag.
2106   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2107   - Improved layout of <pre> HTML source.
2108   - Fixed attribute typo on <colspec>.
2109   - Refined XML prologue.
2110   - Support for no stylesheet.
2111   - Removed "interpreted" element support.
2112   - Added support for "title_reference", "sidebar", "attribution",
2113     "rubric", and generic "admonition" elements.
2114   - Added "--attribution" option.
2115   - Added support for "inline", "subscript", "superscript" elements.
2116   - Added initial support for "abbreviation" and "acronym";
2117     incomplete.
2119 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2120   (from the sandbox).
2122   - Added french.
2123   - Double quotes in literal blocks (special treatment for de/ngerman).
2124   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2125   - Added  "--attribution" option.
2126   - Right align attributions.
2128 * docutils/writers/pep_html.py:
2130   - Parameterized output encoding in PEP template.
2131   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2132   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2133     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2134     working directory.
2135   - Added an override on the "--footnote-references" option.
2136   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2137   - Added Docutils version to "generator" meta tag.
2138   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2140 * docs/tools.txt:
2142   - Added a "silent" setting for ``buildhtml.py``.
2143   - Added a "Getting Help" section.
2144   - Rearranged the structure.
2145   - Kept up to date, with new settings, command-line options etc.
2146   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2147   - Converted settings table into a definition list.
2149 * docs/rst/quickstart.txt:
2151   - Added a table of contents.
2152   - Added feedback information.
2153   - Added mention of minimum section title underline lengths.
2154   - Removed the 4-character minimum for section title underlines.
2156 * docs/rst/quickref.html:
2158   - Added a "Getting Help" section.
2159   - Added a style to make section title backlinks more subtle.
2160   - Added mention of minimum section title underline lengths.
2161   - Removed the 4-character minimum for section title underlines.
2163 * extras: Directory added to project; contains third-party modules
2164   that Docutils depends on (optparse, textwrap, roman).  These are
2165   only installed if they're not already present.
2167 * licenses: Directory added to project; contains copies of license
2168   files for non-public-domain files.
2170 * spec/doctree.txt:
2172   - Changed the focus.  It's about DTD elements:  structural
2173     relationships, semantics, and external (public) attributes.  Not
2174     about the element class library.
2175   - Moved some implementation-specific stuff into ``docutils.nodes``
2176     docstrings.
2177   - Wrote descriptions of all common attributes and parameter
2178     entities.  Filled in introductory material.
2179   - Working through the element descriptions: 55 down, 37 to go.
2180   - Removed "Representation of Horizontal Rules" to
2181     spec/rst/alternatives.txt.
2183 * spec/docutils.dtd:
2185   - Added "generated" inline element.
2186   - Added "line_block" body element.
2187   - Added "auto" attribute to "title".
2188   - Changed content models of "literal_block" and "doctest_block" to
2189     ``%text.model``.
2190   - Added ``%number;`` attribute type parameter entity.
2191   - Changed ``%structural.elements;`` to ``%section.elements``.
2192   - Updated attribute types; made more specific.
2193   - Added "address" bibliographic element.
2194   - Added "line" attribute to ``system_message`` element.
2195   - Removed "field_argument" element; "field_name" may contain
2196     multiple words and whitespace.
2197   - Changed public identifier to docutils.sf.net.
2198   - Removed "interpreted" element; added "title_reference",
2199     "abbreviation", "acronym".
2200   - Removed "refuri" attribute from "footnote_reference" and
2201     "citation_reference".
2202   - Added "sidebar", "rubric", "attribution", "admonition",
2203     "superscript", "subscript", and "inline" elements.
2205 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2207 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2209 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2211 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2212   Dallas Mahrt.
2214 * spec/transforms.txt: Added to project.
2216 * spec/howto: Added subdirectory, for developer how-to docs.
2218 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2219   Elza, edited & extended by David Goodger.
2221 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
2222   project.
2224 * spec/rst/alternatives.txt:
2226   - Added "Doctree Representation of Transitions" from
2227     spec/doctree.txt.
2228   - Updated "Inline External Targets" & closed the debate.
2229   - Added ideas for interpreted text syntax extensions.
2230   - Added "Nested Inline Markup" section.
2232 * spec/rst/directives.txt:
2234   - Added directives: "topic", "sectnum", "target-notes",
2235     "line-block", "parsed-literal", "include", "replace", "sidebar",
2236     "admonition", "rubric", "epigraph", "highlights", "unicode" and
2237     "class".
2238   - Formalized descriptions of directive details.
2239   - Added an "align" attribute to the "image" & "figure" directives
2240     (by Adam Chodorowski).
2241   - Added "class" options to "topic", "sidebar", "line-block",
2242     "parsed-literal", "contents", and "image"; and "figclass" to
2243     "figure".
2245 * spec/rst/interpreted.txt: Added to project.  Descriptions of
2246   interpreted text roles.
2248 * spec/rst/introduction.txt:
2250   - Added pointers to material for new users.
2252 * spec/rst/reStructuredText.txt:
2254   - Disambiguated comments (just add a newline after the "::").
2255   - Updated enumerated list description; added a discussion of the
2256     second-line validity checking.
2257   - Updated directive description.
2258   - Added a note redirecting newbies to the user docs.
2259   - Expanded description of inline markup start-strings in non-markup
2260     contexts.
2261   - Removed field arguments and made field lists a generic construct.
2262   - Removed the 4-character minimum for section title underlines.
2263   - Clarified term/classifier delimiter & inline markup ambiguity
2264     (definition lists).
2265   - Added "Embedded URIs".
2266   - Updated "Interpreted Text" section.
2267   - Added "Character-Level Inline Markup" section.
2269 * test: Continually adding & updating tests.
2271   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2272   - Moved test/test_pep/ to test/test_readers/test_pep/.
2273   - Added test/test_readers/test_python/.
2274   - Added test/test_writers/ (Engelbert Gruber).
2276 * tools:
2278   - Made the ``locale.setlocale()`` calls in front ends
2279     fault-tolerant.
2281 * tools/buildhtml.py:
2283   - Added "--silent" option.
2284   - Fixed bug with absolute paths & "--config".
2285   - Updated for new I/O classes.
2286   - Added some exception handling.
2287   - Separated publishers' setting defaults; prevents interference.
2288   - Updated for new ``publish_file()`` convenience function.
2290 * tools/pep-html-template:
2292   - Allow for "--embed-stylesheet".
2293   - Added Docutils version to "generator" meta tag.
2294   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2295   - Conform to XHTML spec.
2297 * tools/pep2html.py:
2299   - Made ``argv`` a parameter to ``main()``.
2300   - Added support for "Content-Type:" header & arbitrary PEP formats.
2301   - Linked "Content-Type: text/plain" to PEP 9.
2302   - Files skipped (due to an error) are not pushed onto the server.
2303   - Updated for new I/O classes.
2304   - Added ``check_requirements()`` & ``pep_type_error()``.
2305   - Added some exception handling.
2306   - Updated for new ``publish_string()`` convenience function.
2307   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2309 * tools/quicktest.py:
2311   - Added "-V"/"--version" option.
2313 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2315 * tools/unicode2rstsubs.py: Added to project.  Produces character
2316   entity files (reSructuredText substitutions) from the MathML master
2317   unicode.xml file.
2319 * tools/editors: Support code for editors, added to project.  Contains
2320   ``emacs/restructuredtext.el``.
2322 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2324   - Added style for chunks of inline literals.
2325   - Removed margin for first child of table cells.
2326   - Right-aligned field list names.
2327   - Support for auto-numbered section titles in TOCs.
2328   - Increased the size of inline literals (<tt>) in titles.
2329   - Restored the light gray background for inline literals.
2330   - Added support for "line_block" elements.
2331   - Added style for "address" elements.
2332   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2333   - Improved field list rendering.
2334   - Vertical whitespace improvements.
2335   - Removed "a.target" style.
2337 * tools/stylesheets/pep.css:
2339   - Fixed nested section margins.
2340   - Other changes parallel those of ``../default.css``.
2343 Release 0.2 (2002-07-31)
2344 ========================
2346 General:
2348 - The word "component" was being used ambiguously.  From now on,
2349   "component" will be used to mean "Docutils component", as in Reader,
2350   Writer, Parser, or Transform.  Portions of documents (Table of
2351   Contents, sections, etc.)  will be called "document parts".
2352 - Did a grand renaming: a lot of ``verylongnames`` became
2353   ``very_long_names``.
2354 - Cleaned up imports: no more relative package imports or
2355   comma-separated lists of top-level modules.
2356 - Added support for an option values object which carries default
2357   settings and overrides (from command-line options and library use).
2358 - Added internal Unicode support, and support for both input and
2359   output encodings.
2360 - Added support for the ``docutils.io.IO`` class & subclasses.
2362 Specific:
2364 * docutils/__init__.py:
2366   - Added ``ApplicationError`` and ``DataError``, for use throughout
2367     the package.
2368   - Added ``Component`` base class for Docutils components; implements
2369     the ``supports`` method.
2370   - Added ``__version__`` (thus, ``docutils.__version__``).
2372 * docutils/core.py:
2374   - Removed many keyword parameters to ``Publisher.__init__()`` and
2375     ``publish()``; bundled into an option values object.  Added
2376     "argv", "usage", "description", and "option_spec" parameters for
2377     command-line support.
2378   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2379     methods.
2380   - Reworked I/O model for ``docutils.io`` wrappers.
2381   - Updated ``Publisher.set_options()``; now returns option values
2382     object.
2383   - Added support for configuration files (/etc/docutils.conf,
2384     ./docutils.conf, ~/.docutils).
2385   - Added ``Publisher.setup_option_parser()``.
2386   - Added default usage message and description.
2388 * docutils/frontend.py: Added to project; support for front-end
2389   (command-line) scripts.  Option specifications may be augmented by
2390   components.  Requires Optik (http://optik.sf.net/) for option
2391   processing (installed locally as docutils/optik.py).
2393 * docutils/io.py: Added to project; uniform API for a variety of input
2394   output mechanisms.
2396 * docutils/nodes.py:
2398   - Added ``TreeCopyVisitor`` class.
2399   - Added a ``copy`` method to ``Node`` and subclasses.
2400   - Added a ``SkipDeparture`` exception for visitors.
2401   - Renamed ``TreePruningException`` from ``VisitorException``.
2402   - Added docstrings to ``TreePruningException``, subclasses, and
2403     ``Nodes.walk()``.
2404   - Improved docstrings.
2405   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2406   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2407     imports.
2408   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2409     ``PreDecorative`` mixin.
2410   - Reworked the name/id bookkeeping; to ``document``, removed
2411     ``explicit_targets`` and ``implicit_targets`` attributes, added
2412     ``nametypes`` attribute and ``set_name_id_map`` method.
2413   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2414     traversals.
2415   - Added ``document.has_name()`` method.
2416   - Fixed DOM generation for list-attributes.
2417   - Added category class ``Labeled`` (used by footnotes & citations).
2418   - Added ``Element.set_class()`` method (sets "class" attribute).
2420 * docutils/optik.py: Added to project.  Combined from the Optik
2421   package, with added option groups and other modifications.  The use
2422   of this module is probably only temporary.
2424 * docutils/statemachine.py:
2426   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2427   - Added underscores to improve many awkward names.
2428   - In ``string2lines()``, changed whitespace normalizing translation
2429     table to regexp; restores Python 2.0 compatibility with Unicode.
2431 * docutils/urischemes.py:
2433   - Filled in some descriptions.
2434   - Added "shttp" scheme.
2436 * docutils/utils.py:
2438   - Added ``clean_rcs_keywords`` function (moved from
2439     docutils/transforms/frontmatter.py
2440     ``DocInfo.filter_rcs_keywords``).
2441   - Added underscores to improve many awkward names.
2442   - Changed names of Reporter's thresholds:
2443     warning_level -> report_level; error_level -> halt_level.
2444   - Moved ``utils.id()`` to ``nodes.make_id()``.
2445   - Added ``relative_path(source, target)``.
2447 * docutils/languages/de.py: German mappings; added to project.  Thanks
2448   to Gunnar Schwant for the translations.
2450 * docutils/languages/en.py: Added "Dedication" bibliographic field
2451   mappings.
2453 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2454   Chodorowski.
2456 * docutils/parsers/rst/states.py:
2458   - Added underscores to improve many awkward names.
2459   - Added RFC-2822 header support.
2460   - Extracted the inline parsing code from ``RSTState`` to a separate
2461     class, ``Inliner``, which will allow easy subclassing.
2462   - Made local bindings for ``memo`` container & often-used contents
2463     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2464   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2465   - Added ``MarkupMismatch`` exception; for late corrections.
2466   - Added ``-/:`` characters to inline markup's start string prefix,
2467     ``/`` to end string suffix.
2468   - Fixed a footnote bug.
2469   - Fixed a bug with literal blocks.
2470   - Applied patch from Simon Budig: simplified regexps with symbolic
2471     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2472   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2473   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2474   - Allowed non-ASCII in "simple names" (directive names, field names,
2475     references, etc.).
2476   - Converted ``Inliner.patterns.initial`` to be dynamically built
2477     from parts with ``build_regexp()`` function.
2478   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2479   - Updated docstrings.
2480   - Changed "table" to "grid_table"; added "simple_table" support.
2482 * docutils/parsers/rst/tableparser.py:
2484   - Changed ``TableParser`` to ``GridTableParser``.
2485   - Added ``SimpleTableParser``.
2486   - Refactored naming.
2488 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2489   a fallback language for directive names.
2491 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2492   directive to use a ``pending`` element, used only by HTML writers.
2494 * docutils/parsers/rst/directives/parts.py: Renamed from
2495   components.py.
2497   - Added "backlinks" attribute to "contents" directive.
2499 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2500   project by Adam Chodorowski.
2502 * docutils/readers/__init__.py: Gave Readers more control over
2503   choosing and instantiating Parsers.
2505 * docutils/readers/pep.py: Added to project; for PEP processing.
2507 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2508   requires a ``component`` parameter.
2510 * docutils/transforms/components.py: Added to project; transforms
2511   related to Docutils components.
2513 * docutils/transforms/frontmatter.py:
2515   - In ``DocInfo.extract_authors``, check for a single "author" in an
2516     "authors" group, and convert it to a single "author" element.
2517   - Added support for "Dedication" and generic bibliographic fields.
2519 * docutils/transforms/peps.py: Added to project; PEP-specific.
2521 * docutils/transforms/parts.py: Renamed from old components.py.
2523   - Added filter for `Contents`, to use alt-text for inline images,
2524     and to remove inline markup that doesn't make sense in the ToC.
2525   - Added "name" attribute to TOC topic depending on its title.
2526   - Added support for optional TOC backlinks.
2528 * docutils/transforms/references.py: Fixed indirect target resolution
2529   in ``Hyperlinks`` transform.
2531 * docutils/transforms/universal.py:
2533   - Changed ``Messages`` transform to properly filter out system
2534     messages below the warning threshold.
2535   - Added ``Decorations`` transform (support for ``--generator``,
2536     ``--date``, ``--time``, ``--source-link`` options).
2538 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2539   Engelbert Gruber's PDF writer.
2541 * docutils/writers/html4css1.py:
2543   - Made XHTML-compatible (switched to lowercase element & attribute
2544     names; empty tag format).
2545   - Escape double-dashes in comment text.
2546   - Improved boilerplate & modularity of output.
2547   - Exposed modular output in Writer class.
2548   - Added a "generator" meta tag to <head>.
2549   - Added support for the ``--stylesheet`` option.
2550   - Added support for ``decoration``, ``header``, and ``footer``
2551     elements.
2552   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2553     translation table to regexp; restores Python 2.0 compatibility
2554     with Unicode.
2555   - Added the translator class as instance variable to the Writer, to
2556     make it easily subclassable.
2557   - Improved option list spacing (thanks to Richard Jones).
2558   - Modified field list output.
2559   - Added backlinks to footnotes & citations.
2560   - Added percentage widths to "<col>" tags (from colspec).
2561   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2562     "<span>" changed to "<var>".
2563   - Inline literals: "<code>" changed to "<tt>".
2564   - Many changes to optimize vertical space: compact simple lists etc.
2565   - Add a command-line options & directive attributes to control TOC
2566     and footnote/citation backlinks.
2567   - Added support for optional footnote/citation backlinks.
2568   - Added support for generic bibliographic fields.
2569   - Identify backrefs.
2570   - Relative URLs for stylesheet links.
2572 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2573   PEPs (subclass of ``html4css1.Writer``).
2575 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2577 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2578   of the Docutils internal doctree in XML.
2580 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2582 * spec/doctree.txt:
2584   - Changed the title to "The Docutils Document Tree".
2585   - Added "Hyperlink Bookkeeping" section.
2587 * spec/docutils.dtd:
2589   - Added ``decoration``, ``header``, and ``footer`` elements.
2590   - Brought ``interpreted`` element in line with the parser: changed
2591     attribute "type" to "role", added "position".
2592   - Added support for generic bibliographic fields.
2594 * spec/notes.txt: Continual updates.  Added "Project Policies".
2596 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2597   section.
2599 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2601 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
2602   mailing list discussions.
2604 * spec/pep-0287.txt:
2606   - Renamed to "reStructuredText Docstring Format".
2607   - Minor edits.
2608   - Reworked Q&A as an enumerated list.
2609   - Converted to reStructuredText format.
2611 * spec/pysource.dtd:
2613   - Reworked structural elements, incorporating ideas from Tony Ibbs.
2615 * spec/pysource.txt: Removed from project.  Moved much of its contents
2616   to pep-0258.txt.
2618 * spec/rst/alternatives.txt:
2620   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2621   - Added "Inline External Targets" section.
2623 * spec/rst/directives.txt:
2625   - Added "backlinks" attribute to "contents" directive.
2627 * spec/rst/problems.txt:
2629   - Updated the Enumerated List Markup discussion.
2630   - Added new alternative table markup syntaxes.
2632 * spec/rst/reStructuredText.txt:
2634   - Clarified field list usage.
2635   - Updated enumerated list description.
2636   - Clarified purpose of directives.
2637   - Added ``-/:`` characters to inline markup's start string prefix,
2638     ``/`` to end string suffix.
2639   - Updated "Authors" bibliographic field behavior.
2640   - Changed "inline hyperlink targets" to "inline internal targets".
2641   - Added "simple table" syntax to supplement the existing but
2642     newly-renamed "grid tables".
2643   - Added cautions for anonymous hyperlink use.
2644   - Added "Dedication" and generic bibliographic fields.
2646 * test: Made test modules standalone (subdirectories became packages).
2648 * test/DocutilsTestSupport.py:
2650   - Added support for PEP extensions to reStructuredText.
2651   - Added support for simple tables.
2652   - Refactored naming.
2654 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2656   - Now supports true packages containing test modules
2657     (``__init__.py`` files required); fixes duplicate module name bug.
2659 * test/test_pep/: Subpackage added to project; PEP testing.
2661 * test/test_rst/test_SimpleTableParser.py: Added to project.
2663 * tools:
2665   - Updated html.py and publish.py front-end tools to use the new
2666     command-line processing facilities of ``docutils.frontend``
2667     (exposed in ``docutils.core.Publisher``), reducing each to just a
2668     few lines of code.
2669   - Added ``locale.setlocale()`` calls to front-end tools.
2671 * tools/buildhtml.py: Added to project; batch-generates .html from all
2672   the .txt files in directories and subdirectories.
2674 * tools/default.css:
2676   - Added support for ``header`` and ``footer`` elements.
2677   - Added styles for "Dedication" topics (biblio fields).
2679 * tools/docutils.conf: A configuration file; added to project.
2681 * tools/docutils-xml.py: Added to project.
2683 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2685 * tools/pep-html-template: Added to project.
2687 * tools/pep2html.py: Added to project from Python (nondist/peps).
2688   Added support for Docutils (reStructuredText PEPs).
2690 * tools/quicktest.py:
2692   - Added the ``--attributes`` option, hacked a bit.
2693   - Added a second command-line argument (output file); cleaned up.
2695 * tools/stylesheets/: Subdirectory added to project.
2697 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2700 Release 0.1 (2002-04-20)
2701 ========================
2703 This is the first release of Docutils, merged from the now inactive
2704 reStructuredText__ and `Docstring Processing System`__ projects.  For
2705 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2706 `DPS HISTORY`__ files.
2708 __ http://structuredtext.sourceforge.net/
2709 __ http://docstring.sourceforge.net/
2710 __ http://structuredtext.sourceforge.net/HISTORY.html
2711 __ http://docstring.sourceforge.net/HISTORY.html
2713 General changes: renamed 'dps' package to 'docutils'; renamed
2714 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2715 the test suites (reStructuredText's test/test_states renamed to
2716 test/test_rst); and all modifications required to make it all work.
2718 * docutils/parsers/rst/states.py:
2720   - Improved diagnostic system messages for missing blank lines.
2721   - Fixed substitution_reference bug.
2725    Local Variables:
2726    mode: indented-text
2727    indent-tabs-mode: nil
2728    sentence-end-double-space: t
2729    fill-column: 70
2730    End: