Apply [ 3512791 ] do not compare string literals with "is".
[docutils.git] / HISTORY.txt
blob69139aefd455f7ee90de0338550d15d68b2210c8
1 .. -*- coding: utf-8 -*-
3 ==================
4  Docutils History
5 ==================
7 :Author: David Goodger; open to all Docutils developers
8 :Contact: goodger@python.org
9 :Date: $Date$
10 :Revision: $Revision$
11 :Web site: http://docutils.sourceforge.net/
12 :Copyright: This document has been placed in the public domain.
14 .. contents::
16 Changes Since 0.8.1
17 ===================
19 * General:
21   - New reStructuredText "code" role and directive and "code" option
22     of the "include" directive with syntax highlighting by Pygments_.
23   - Fix parse_option_marker for option arguments containing ``=``.
25 .. _Pygments: http://pygments.org/
27 * setup.py
29   - Fix [ 2971827 ] and [ 3442827 ]
30     extras/roman.py moved to docutils/utils/roman.py
32 * docutils/frontend.py
34   - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
36 * docutils/io.py
38   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
39   - `mode` argument for FileOutput avoids code replication in
40     BinaryFileOutput.
41   - New exceptions InputError and OutputError for IO errors in
42     FileInput/FileOutput.
43     
44 * docutils/core.py:
46   - No "hard" system exit on file IO errors: catch and report them in
47     `Publisher.reportException` instead. Allows handling by a calling
48     application if the configuration setting `traceback` is True. 
50 * docutils/utils.py -> docutils/utils/__init__.py
52   - docutils.utils is now a package (providing a place for sub-modules)
54   .. note:: docutils/math, docutils/error_reporting.py, and
55      docutils/urischemes.py will move to the utils package in the next
56      release, too. See RELEASE-NOTES__
58      __ RELEASE-NOTES.html
60   - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
61     errors recording non-ASCII filenames (fixes [ 3434355 ]).
63   - Fix relative_path() with source=None and `unicode` target.
65 * docutils/parsers/rst/states.py
67   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
68     characters and "international" quotes around inline markup.
69   - Use `field_marker` pattern to look for start of a
70     directive option block (fixes [ 3484857 ]).
72 * docutils/parsers/rst/tableparser.py
74   - Fix [ 2926161 ] for simple tables.
75     (Combining chars in grid tables still contribute to cell width.)
77 * docutils/writers/latex2e/__init__.py
79   - Support the `abbreviation` and `acronym` standard roles.
80   - Record only files required to generate the LaTeX source as dependencies.
81   - Fix handling of missing stylesheets.
82   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
83     when suppressing LaTeX section numbering.
84   - Use ``\DUtitle`` for unsupported section levels
85   - Apply [ 3512791 ] do not compare string literals with "is"
87 * docutils/writers/html4css1/__init__.py
89   - Change default for `math-output` setting to MathJax.
90   - Fix handling of missing stylesheets.
92 * docutils/writers/docutils_xml.py
94   - Use the visitor pattern with default_visit()/default_depart() methods
95     instead of minidom to facilitate special handling of selected nodes.
96   - Support raw XML (inserted as-is inside a <raw></raw> node).
98 * docutils/writers/manpage.py
100   - Do not emit comment line with trailing blank. Problematic for VCS.
102 Release 0.8.1 (2011-08-30)
103 ==========================
105 * General:
107   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
108     and [ 3395920 ] (correct copyright info for rst.el).
110 * docutils/test/
112   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under py3k.
114 * docutils/writers/latex2e/__init__.py
116   - Clean up Babel language setting. Restores Sphinx compatibility.
118 Release 0.8 (2011-07-07)
119 ========================
121 * General:
123   - Handle language codes according to `BCP 47`_.
124   - If the specified language is not supported by Docutils,
125     warn and fall back to English.
126   - Math support: reStructuredText "math" role and directive,
127     ``math`` and ``math_block`` doctree elements.
128   - Decode command line arguments with the locale's preferred encoding
129     (to allow, e.g., ``--title=Dornröschen``).
130   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
131   - New sub-module `error_reporting`: handle encoding/decoding errors
132     when reporting exceptions.
133   - Some additions to the Docutils core are released under the 2-Clause BSD
134     license, see COPYING_ for details.
136   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
137   .. _COPYING: COPYING.html
139 * reStructuredText:
141   - Most directives now support a "name" option that attaches a
142     reference name.
144   - Directive content may start on the first line also when the directive
145     type accepts options.
147 * docs/dev/policies.txt:
149   - Recommend the 2-Clause BSD license
150     (http://www.spdx.org/licenses/BSD-2-Clause)
151     for code that is kept under the author's copyright.
153 * tools/buildhtml.py:
155   - Fix ``--local`` switch.
157 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
159 * docutils/writers/html4css1/__init__.py
161   - Set "lang" argument for objects with class argument
162     "language-<language tag>".
163   - New setting "math-output" with support for HTML, MathML, and LaTeX.
165 * docutils/writers/latex2e/__init__.py
167   - Fix [ 3043986 ] AttributeError using :local: with table of content.
168   - Place title data in the document preamble.
169   - Load `babel` package only if required.
170   - Update list of supported languages.
171   - New config setting "hyperref-options".
172     No hard-coded "unicode" hyperref option (clash with xetex).
173   - Set language for custom roles, paragraphs, block-quotes, and
174     line-quotes with class argument "language-<language tag>".
175   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
176   - Convert image URI to a local file path.
177   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
178     has more than one paragraph (Wolfgang Scherer).
179   - \leavevmode before longtable only when needed (prevents spurious vspace)
180   - do not advance table counter for tables without caption
182 * docutils/writers/xetex/__init__.py
184   - New writer generating LaTeX code for compiling with ``xelatex``.
186     A separate writer (inheriting from latex2e) instead of a ``--xetex``
187     option allows separate config options for XeTeX vs. LaTeX2e.
189 * docutils/writers/manpage.py
191   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
192   - Fix: vertical space cleaning for option group ``.``.
194 * tools/editors/emacs/rst.el:
196   - Fix [ 3001100 ] does not handle spaces in filenames
197     (thanks to Jakub Wilk)
199 * docutils/utils.py:
201   - strip whitespace from stylesheet arguments
202   - exclude combining chars from column_width()
203     (partial fix for [ 2926161 ])
205 * docutils/parsers/rst/directives/misc.py:
207   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
208     nested_parse
210 * docutils/io.py:
212   - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
213     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
215 Release 0.7 (2010-07-07)
216 ========================
218 * General:
220   - Fix [ 2881769 ] setup configuration.
221   - Fix [ 2788716 ] reporting problems in included files.
223 * docutils/io.py
225   - FileInput opens files as text files with universal newline support
226     (mode "rU", configurable with the new optional argument "mode").
228 * docutils/nodes.py
230   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
232 * docutils/utils.py
234   - Fix [ 2923723 ] let decode_path() tolerate path == None
236 * docutils/writers/html4css1/__init__.py
238   - Support SVG and SWF images (thanks to Stefan Rank).
239   - Generate valid XHTML for centered images with targets.
240     Use CSS classes instead of "align" tags for image alignment.
242 * docutils/writers/latex2e/__init__.py
244   - Use `transforms.writer_aux.Admonitions` to "normalize" special
245     admonitions.
246   - Use the ``\url`` command for URLs (breaks long URLs instead of
247     writing into the margin).
248   - Preserve runs of spaces in `inline literals`__.
249   - Deprecate ``figure_footnotes`` setting.
250   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
251   - New ``latex_preamble`` setting.
252   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
253   - Fix hyperlink targets (labels) for images, figures, and tables.
254   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
255   - Apply [ 2961991 ] Call hyperref with unicode option.
256   - Drop the special `output_encoding`__ default ("latin-1").
257     The Docutils wide default (usually "UTF-8") is used instead.
258   - Render inline markup in document title and subtitle.
259   - Fix numbering depth with LaTeX section numbering.
260   - Update Unicode -> LaTeX translations.
261   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
263 __ docs/ref/restructuredtext.html#inline-literals
264 __ docs/user/config.html#docutils-footnotes
265 __ docs/user/config.html#output_encoding
267 * docutils/writers/manpage.py
269   - Fix: supported attribute (thanks to peter2108).
270   - Remove trailing blanks in code (keep in sync with mercurial version).
271   - Titles level 1, that is ``.SH``, always uppercase.
272   - Apply patch from mg: literal text should be bold in man-pages.
274 * docutils/nodes.py
276   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
277     turkish locale.
279 * setup.py:
281   - Python 3 support: copy test/ and tools/ to the build-dir
282     and convert Python sources with 2to3.
285 Release 0.6 (2009-10-11)
286 ========================
288 * General:
290   - Docutils is now compatible with Python versions from 2.3 up to 2.6
291     and convertible to 3.1 code.
293     + Node.__nonzero__ returns True instead of 1.
294     + use os.walk instead os.path.walk.
295     + minimize "types" module where possible.
296     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
297     + Text nodes now subclass unicode rather than UserString
298       (which is gone in python 3.0).
299     + 3.0 compatibility module docutils._compat
301     + Drop 2.2 compatibility workarounds.
302     + Drop extras/optparse.py and extras/textwrap.py
303       (stdlib modules since 2.3).
305   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
306   - Unix man page export: manpage writer moved from sandbox to Doctutils
307     core.
309   - Apply [ 1719345 ] Galician translation
310   - Apply [ 1905741 ] Polish translation
311   - Apply [ 1878977 ] make_id(): deaccent characters.
312   - Apply [ 2029251 ] return nonzero when tests fail.
313   - Fix [ 1692788 ] allow UTF-8 in style sheets.
314   - Fix [ 2781629 ] support non-ASCII chars in file names.
315   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
316   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
317   - Fix [ 2821266 ] --strict option works now like --halt=info.
318   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
319   - Fix [ 1627229 ] hyperlink references in substitutions.
321   - The "newlatex" writer is orphaned.
323 * reStructuredText:
325   - Documented Unicode characters allowed as inline markup openers,
326     closers, and delimiters.
327   - Allow units for all length specifications.
328   - Allow percent sign in "scale" argument of "figure" and "image" directives.
329   - Bugfix: The "figalign" argument of a figure now works as intended
330     (aligning the figure, not its contents).
331   - Align images with class "align-[right|center|left]"
332     (allows setting the alignment of an image in a figure).
334 * docutils/nodes.py:
336   - Added ``Element.__contains__`` method, for the in-operator.
338 * docutils/parsers/rst/states.py:
340   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
341   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
342     " " (non-breaking space), and "¡ ¿" openers.
344 * docutils/parsers/directives/misc.py:
346   - Added ``start-line`` and ``end-line`` options to "include"
347     directive to select a range of lines.
348   - Hard tabs in literal inclusions are replaced by spaces. This is
349     configurable via the new ``tab-width`` option of the "include" directive
350     (a negative tab-width prevents tab expansion).
352 * docutils/utils.py:
354   - Add ``get_stylesheet_list`` function.
355   - Apply [ 2834836 ] print info at halt
357 * docutils/transforms/universal.py:
359   - Raise default priority of StripClasses to exclude stripped classes from
360     the ToC.
362 * docutils/writers/html4css1/__init__.py:
364   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
365     separated list of stylesheets.
366   - Address [ 1938891 ] Inline literal text creates "pre" span only when
367     needed to prevent inter-word line wraps.
368   - Use `translate` method instead of repeated `replace` calls.
369   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
370     classes to allow CSS styling that does not interfere with other
371     table-using constructs (field lists, citations, ...).
373 * docutils/writers/newlatex2e/__init__.py:
375   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
377 * docutils/writers/latex2e/__init__.py (see also
378   `<docs/user/docutils-05-compat.sty.html>`__) :
380   - Add ``--embed-stylesheet`` option.
381   - Apply [ 1474017 ] image vertical alignment is reversed.
382   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
383   - Change: has_key for dictionaries (not Nodes) to in-operator.
384   - Merge adjacent citations into one latex cite command.
385   - Failsave implementation of custom roles. LaTeX compilation now ignores
386     unknown classes instead of aborting with an error.
387   - Support custom roles based on standard roles.
388   - LaTeX packages can be used as ``--stylesheet`` arguments without
389     restriction. (A style sheet is now referenced with the ``\usepackage``
390     command, if it ends with ``.sty`` or has no extension.)
391   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
392   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
393   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
394     2005-02-04 as a configurable length unit).
395   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
396     if font-encoding is set to ''. LaTeX defaults to OT1 then.
397   - Set sub- and superscript role argument in text mode not as math.
398     Use a custom role based on sub-/superscript if you want italic shape.
399   - Shorter preamble and less dependencies: Load packages and define macros
400     only if required in the document.
401   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
402   - New custom environments and commands with optional "classes" argument.
403   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
404   - Better conformance to Docutils specifications with ``--use-latex-toc``.
405     Support for LaTeX generated ToC also with unnumbered sections.
406   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
407     section numbering by LaTeX.
408   - Use default font in admonitions and sidebar.
409   - Align of image in a figure defaults to 'center'.
410   - Bugfix: Newlines around targets and references prevent run-together
411     paragraphs.
412   - Fix internal hyperlinks.
413   - Use class defaults for page margins ('typearea' now optional).
414   - Float placement made configurable, default changed to "here definitely".
415   - Typeset generic topic as "quote block with title".
416   - Use template (file and configuration option).
417   - In the default template, load cmap.sty (fix text extraction in PDF) and
418     fixltx2e.sty (LaTeX patches, \textsubscript).
419   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
420   - Use `translate` instead of repeated `replace` calls for text encoding.
421   - Hyperlinked footnotes and support for symbol footnotes and
422     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
423   - Complete pairs of binary options
424     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
425     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
426   - New defaults:
427     - font-encoding: "T1" (formerly implicitely set by 'ae').
428     - use-latex-toc: true (ToC with page numbers).
429     - use-latex-footnotes: true (no mixup with figures).
431 * docutils/writers/manpage.py
433   - Do not print version at document end, this is done by the viewer.
434   - Do not print date at document end, this is done by the viewer.
435   - Fix storage of docinfo fields for none standard fields.
437 * docutils/tools/rst2man.py
439 Release 0.5 (2008-06-25)
440 ========================
442 * docutils/languages/he.py: Added to project: Hebrew mappings by
443   Meir Kriheli.
445 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
446   mappings by Meir Kriheli.
448 * docutils/frontend.py:
450   - Configuration files are now assumed and required to be
451     UTF-8-encoded.
452   - Paths of applied configuration files are now recorded in the
453     runtime setting ``_config_files`` (accessible via
454     ``--dump-settings``).
455   - Added ``--strip-elements-with-class`` and ``--strip-class``
456     options (``strip_elements_with_classes`` and ``strip_classes``
457     settings).
459 * docutils/io.py:
461   - Added code to determine the input encoding from data: encoding
462     declarations or the presence of byte order marks (UTF-8 & UTF-16).
463   - Added support for IronPython 1.0.
465 * docutils/nodes.py:
467   - Added ``document.__getstate__`` method, for pickling.
469 * docutils/parsers/rst/states.py:
471   - Allow ``+`` and ``:`` in reference names.
472   - Unquoted targets beginning with an underscore (``.. __target:
473     URI``) are no longer accepted.
474   - Added support for multiple attributions in a physical block quote
475     (indented text block), dividing it into multiple logical block
476     quotes.
477   - Added support for unicode bullets in bullet lists: "•", "‣", and
478     "⁃".
479   - Added support for new object-oriented directive interface,
480     retaining compatibility to the old functional interface.
481   - Added support for throwing ``DirectiveError``'s from within
482     directive code.
484 * docutils/parsers/rst/__init__.py:
486   - Added ``Directive`` base class.
487   - Added ``DirectiveError`` base class.
488   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
489     definitions.
491 * docutils/parsers/directives/:
493   - Refactored all reStructuredText directives to use the new
494     object-oriented directive interface.  Errors are now (mostly)
495     thrown using the new ``DirectiveError`` class.
497 * docutils/parsers/directives/misc.py:
499   - Added ``start-after`` and ``end-before`` options to ``include``
500     directive; thanks to Stefan Rank.
502 * docutils/transforms/universal.py:
504   - Added ``StripClassesAndElements`` transform to remove from the
505     document tree all elements with classes in
506     ``settings.strip_elements_with_classes`` and all "classes"
507     attribute values in ``self.document.settings.strip_classes``.
509 * docutils/transforms/writer_aux.py:
511   - Added ``Admonitions`` transform to transform specific admonitions
512     (like ``note``, ``warning``, etc.) into generic admonitions with a
513     localized title.
515 * docutils/writers/html4css1/__init__.py:
517   - Moved template functionality from the PEP/HTML writer here.
518   - Expanded the fragments available in the ``parts`` attribute.
519   - Moved ``id`` attributes from titles to surrounding ``div``
520     elements.
521   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
522     universally supported now).
523   - ``template.txt`` is now opened in text mode instead of binary mode
524     (to ensure Windows compatibility).
525   - ``a`` elements now have an "internal" or "external" class,
526     depending on reference type.
528 * docutils/writers/html4css1/template.txt: Added to project.
530 * docutils/writers/pep_html/:
532   - Moved template functionality to the HTML writer.
534 * docutils/writers/s5_html/__init__.py:
536   - Added ``view_mode`` & ``hidden_controls`` settings
537     (``--view-mode`` & ``--hidden-controls/--visible-controls``
538     options).
540 * docutils/writers/latex2e/__init__.py:
542   - Add ``--literal-block-env``
543   - Fix: escaping ``%`` in href urls.
544   - Move usepackage hyperref after stylesheet inclusion.
545   - Fix: scrartcl does not have chapter but scrreprt.
546   - Add newline after ``\end{verbatim}``.
547   - Merge smaller differences from latex2e_adaptive_preamble.
548   - Add ``use-part-section``.
549   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
550   - Using leavemode option_list no longer needs to check if parent
551     is a definition list.
552   - Append ``\leavemode`` to definition list terms.
553   - No longer write visit\_/depart_definition_list_item comments to
554     output.
555   - Table column width with 3 decimal places.
556   - Add table stubs support (boldfont).
557   - Add assemble_parts to writer.
558   - Add simply support for nested tables.
559   - Fix verbatim in tables if use-verbatim-when-possible.
560   - Use section commands down to subparagraph.
561   - Put ensuremath around some latin1 chars.
562   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
563   - New option ``--use-bibtex=style,db1,db2``.
564   - New option ``--reference-label`` to allow usage of LaTeX ref for
565     labels in section references.
566   - Add a label after every section to support sectionnumbers as reference
567     labels.
568   - Fix: bug# 1605376 rst2latex: bad options group list
569   - Remove inactive code for use_optionlist_for_option_list.
570   - Remove latex comments from option_list output.
571   - Fix: bug# 1612270 double qoutes in italian literal.
572   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
573   - Add option --use-latex-abstract.
574   - Image width unit ``px`` is translated to ``pt``.
575   - Add image height support.
576   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
577     bug #1457388
578   - Fix: Do not escape underscores in citation reference labels if
579     use-latex-citations is set.
580   - Use centering instead of center for figure contents, to avoid vertical
581     space.
582   - Recognize table class: borderless, nolines, booktabs, standard.
583   - Fix: Renaming contents section does not work with latex writer; SF
584     bug #1487405.
585   - Applied patch for custom roles with classes from Edward Loper.
586   - Fixed bug that caused crashes with more than 256 lists.
588 * docutils/writers/pep_html/__init__.py:
590   - Changed to support new python.org website structure and
591     pep2pyramid.py.
593 * docs/howto/security.txt: "Deploying Docutils Securely", added to
594   project.
596 * tools/buildhtml.py:
598   -- Added ``ignore`` setting to exclude a list of shell patterns
599      (default: ``.svn:CVS``).
601 * tools/editors/emacs/rst.el:
603   - Changed license to "GPL".
604   - Added ``rst-straighten-decorations`` function.
605   - The ``compile`` module is now always loaded.
606   - Added ``rst-toggle-line-block`` function.
607   - Headings consisting only of non-ASCII characters are now
608     recognized by ``rst-toc`` and ``rst-adjust``.
609   - Added font-lock support for multi-line comments where the first
610     comment line is empty.
611   - Added ``(require 'font-lock)``.
613 * setup.py:
615   - Provide descriptive error message if distutils is missing.
618 Release 0.4 (2006-01-09)
619 ========================
621 * General:
623   - Updated the project policies for trunk/branch development &
624     version numbering.
626 * docutils/__init__.py:
628   - Added ``__version_details__`` attribute to describe code source
629     (repository/snapshot/release).
630   - Replaced ``default_transforms`` attribute of TransformSpec with
631     ``get_transforms()`` method.
633 * docutils/core.py:
635   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
636     functions, for document tree extraction and reprocessing.
638 * docutils/io.py:
640   - Added ``DocTreeInput`` class, for reprocessing existing documents.
641   - Added support for non-Unicode (e.g. binary) writer output.
643 * docutils/nodes.py:
645   - Re-introduced ``Targetable.indirect_reference_name``, for
646     MoinMoin/reST compatibility (removed in r3124/r3129).
647   - Added ``serial_escape`` function; escapes string values that are
648     elements of a list, for serialization.  Modified Docutils-XML
649     writing (``Element._dom_node``) and pseudo-XML writing
650     (``Element.starttag``) to use ``serial_escape``.
651   - Added ``Node.deepcopy()`` method.
652   - Removed the internal lists ``document.substitution_refs``,
653     ``document.anonymous_refs``, and ``document.anonymous_targets``.
654   - Added a "container" element.
655   - Fixed bug where values of list-valued attributes of elements
656     originating from custom interpreted text roles (i.e., with custom
657     classes) were being shared between element instances.  Reported by
658     Shmuel Zeigerman.
660 * docutils/statemachine.py:
662   - Added trailing whitespace stripping to ``string2lines()``.
663   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
664     Asian double-width character support.
666 * docutils/utils.py:
668   - Added ``east_asian_column_width()`` for double-width character
669     support.
671 * docutils/languages/ja.py: Added to project: Japanese mappings by
672   Hisashi Morita.
674 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
675   mappings by Panjunyong.
677 * docutils/parsers/null.py: Added to project; a do-nothing parser.
679 * docutils/parsers/rst/__init__.py:
681   - Added validator to tab_width setting, with test.  Closes SF bug
682     #1212515, report from Wu Wei.
684 * docutils/parsers/rst/states.py:
686   - Fixed bug with escaped colons indicating a literal block.
687   - Fixed bug with enumerated lists (SF#1254145).
688   - Backslash-escaped colons inside of field names are now allowed.
689   - Targets (implicit and explicit), anonymous hyperlink references
690     and auto-numbered footnote references inside of substitution
691     definitions are now disallowed.
692   - Fixed bug: list items with blank first lines.
693   - Fixed bug: block quote attributions with indented second lines.
694   - Added East Asian double-width character support (Python 2.4 only).
696 * docutils/parsers/rst/tableparser.py:
698   - Added East Asian double-width character support (Python 2.4 only).
700 * docutils/parsers/rst/directives/body.py:
702   - Added the "container" directive.
704 * docutils/parsers/rst/directives/misc.py:
706   - Added the "default-role", "title", and "date" directives.
707   - Added standard data file syntax to the "include" directive.
708   - Added support for "class" directive content.
710 * docutils/parsers/rst/directives/images.py:
712   - Added ``indirect_reference_name`` support for images with a target
713     option.
714   - Added support for image width and height units.
715   - Fixed bug with image "target" options.
717 * docutils/parsers/rst/directives/references.py:
719   - Added "class" attribute to "target-notes" directive, for
720     footnote_reference classes.
722 * docutils/parsers/rst/include/: Directory added to project; contains
723   standard data files for the "include" directive.  Initial contents:
724   character entity substitution definition sets, and a set of
725   definitions for S5/HTML presentations.
727 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
728   mappings by David Goodger.
730 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
731   Simplified Chinese mappings by Panjunyong.
733 * docutils/readers/__init__.py:
735   - Added universal.Decorations and universal.ExposeInternals
736     transforms as default transforms for all readers.
737   - Added ``ReReader`` base class for readers that reread an existing
738     document tree.
740 * docutils/readers/doctree.py: Added to project; a reader for existing
741   document trees.
743 * docutils/transforms/frontmatter.py:
745   - Fixed the DocInfo transform to handle SVN-style expansion of the
746     "Date" keyword.
747   - In ``DocInfo.extract_authors``, treat the contents of "authors"
748     fields uniformly.
750 * docutils/transforms/misc.py:
752   - Added misc.Transitions transform, extracted from
753     universal.FinalChecks.
755 * docutils/transforms/references.py:
757   - Added references.DanglingReferences transform, extracted from
758     universal.FinalChecks.
759   - Fixed bug with doubly-indirect substitutions.
760   - Added footnote_reference classes attribute to "TargetNotes".
761   - Fixed bug with circular substitution definitions that put Docutils
762     into an infinite loop.
764 * docutils/transforms/universal.py:
766   - Added universal.ExposeInternals transform, extracted from
767     universal.FinalChecks.
768   - Removed universal.FinalChecks transform (logic has been moved to
769     several new transforms).
770   - Fixed bug with the "expose_internals" setting and Text nodes
771     (exposed by the "rawsource" internal attribute).
772   - Added the universal.StripComments transform, implementation of the
773     "strip_comments" setting.
775 * docutils/transforms/writer_aux.py: Added to project; auxiliary
776   transforms for writers.
778   - Added ``Compound`` transform, which flattens compound paragraphs.
780 * docutils/writers/: Several writer modules (html4css1.py) were
781   converted into packages.  Support modules and data files have been
782   moved into the packages.  The stylesheets for the HTML writers are
783   now installed along with the code, the code knows where to find
784   them, and the default is to use them (actually, to embed them).
785   Some adjustments to configuration files may be necessary.  The
786   easiest way to obtain the new default behavior is to remove all
787   settings whose name includes "stylesheet".
789 * docutils/writers/__init__.py:
791   - Added universal.Messages and universal.FilterMessages transforms
792     as default transforms for all writers.
793   - Added ``UnfilteredWriter`` base class for writers that pass the
794     document tree on unchanged.
796 * docutils/writers/docutils_xml.py:
798   - Made ``xmlcharrefreplace`` the default output encoding error
799     handler.
801 * docutils/writers/html4css1/:
803   - Added support for image width and height units.
804   - Made ``xmlcharrefreplace`` the default output encoding error
805     handler.
806   - Made ``--embed-stylesheet`` the default rather than
807     ``--link-stylesheet``.
808   - Moved "id" attribute from container (section etc.) to title's <a>
809     tag, to be on the same tag as "name".
810     (!!! To be reverted in Docutils 0.5.)
811   - Added vertical space between fields of field lists.
812   - Added ``--compact-field-lists`` option to remove vertical space in
813     simple field lists.
814   - Made cloaking of email addresses with ``--cloak-email-addresses``
815     less obtrusive.
816   - Fixed support for centered images.
817   - Added support for class="compact" & class="open" lists.
819 * docutils/writers/latex2e/:
821   - Underscores in citekeys are no longer escaped.
823 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
824   mapping of Unicode characters to LaTeX equivalents.
826 * docutils/writers/s5_html/: Package added to project; writer for
827   S5/HTML slide shows.
829 * docs/dev/distributing.txt: Added to project; guide for distributors
830   (package maintainers).
832 * docs/dev/hacking.txt: Added to project; guide for developers.
834 * docs/ref/doctree.txt:
836   - Updated for plural attributes "classes", "ids", "names",
837     "dupnames".
838   - Added the "container" element.
840 * docs/ref/docutils.dtd:
842   - Updated for plural attributes "classes", "ids", "names",
843     "dupnames".
845 * docs/user/emacs.txt: Added to project; a document about Emacs
846   support for reStructuredText and Docutils.
848 * docs/user/links.txt: Added to project; lists of Docutils-related
849   links.
851 * docs/user/mailing-lists.txt: Added to project; information about
852   Docutils-related mailing lists and how to access them.
854 * docs/user/slide-shows.txt: Added to project; example of and docs for
855   the S5/HTML writer (``rst2s5.py`` front end).
857 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
858   Files", added to project.
860 * test/coverage.sh: Added to project; test coverage script.
862 * test/DocutilsTestSupport.py:
864   - Added support for specifying runtime settings at the suite level.
866 * test/test_functional.py:
868   - Added the ``clear_output_directory`` function.
869   - Added support for ``_test_more`` functions in functional test
870     config files.
872 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
874 * tools/rstpep2html.py: Renamed from pep.py.
876 * tools/dev/create_unimap.py: Added to project; script to create the
877   docutils/writers/unimap_latex.py mapping file.
879 * tools/dev/profile_docutils.py: Added to project; profiler script.
881 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
883 * tools/editors/emacs/restructuredtext.el,
884   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
885   Removed from project; the functionality is now contained in rst.el.
887 * tools/editors/emacs/rst.el: Added to project.  Added many features
888   and fixed many bugs.  See docs/user/emacs.txt for details.
890 * tools/stylesheets: Removed from project.  Stylesheets have been
891   renamed and moved into writer packages.
894 Release 0.3.9 (2005-05-26)
895 ==========================
897 * General:
899   - Eliminated and replaced all uses of the old string attributes
900     ``id``, ``name``, ``dupname`` and ``class`` with references to the
901     new list attributes ``ids``, ``names``, ``dupnames`` and
902     ``classes`` throughout the whole source tree.
904 * docutils/core.py:
906   - Enabled ``--dump-*`` options when ``--traceback`` specified,
907     allowing for easier debugging.
908   - In ``Publisher.publish()``, expanded the generic top-level
909     exception catching.
911 * docutils/examples.py:
913   - Added ``internals`` function for exploration.
915 * docutils/io.py:
917   - Fixed ``Input.decode`` method to apply heuristics only if no
918     encoding is explicitly given, and to provide better reporting of
919     decoding errors.
920   - The ``Input.decode`` method now removes byte order marks (BOMs)
921     from input streams.
923 * docutils/nodes.py:
925   - ``image`` element class changed to subclass of Element, not
926     TextElement (it's an empty element, and cannot contain text).
927   - Added ``attr_defaults`` dictionary for default attribute values.
928   - Added empty list as default value for the following attributes:
929     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
930   - Added ``document.decoration`` attribute,
931     ``document.get_decoration`` method, and ``decoration.get_header``
932     & ``.get_footer`` methods.
933   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
934     methods.
936 * docutils/utils.py:
938   - Removed ``docutils.utils.Reporter.categories``,
939     ``docutils.utils.ConditionSet``, and all references to them, to
940     simplify error reporting.
942 * docutils/languages/nl.py: Added to project; Dutch mappings by
943   Martijn Pieters.
945 * docutils/parsers/rst/__init__.py:
947   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
949 * docutils/parsers/rst/states.py:
951   - Added check for escaped at-mark to prevent email address recognition.
952   - Fixed option lists to allow spaces inside ``<angle-bracketed option
953     arguments>``.
954   - Allowed whitespace in paths and URLs.
955   - Added auto-enumerated list items.
956   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
957     followed by text.
958   - Added support for table stub columns.
960 * docutils/parsers/rst/directives/__init__.py:
962   - Allowed whitespace in paths (``path`` function).
963   - Added ``uri`` directive option conversion function.
965 * docutils/parsers/rst/directives/body.py:
967   - Fixed illegal context bug with "topic" directive (allowed within
968     sidebars; not within body elements).
970 * docutils/parsers/rst/directives/images.py:
972   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
973   - Added support for the ``file_insertion_enabled`` setting in the
974     "figure" directive (disables "figwidth" option).
975   - "image" directive: added checks for valid values of "align" option,
976     depending on context.  "figure" directive: added specialized
977     "align" option and attribute on "figure" element.
978   - Made ":figwidth: image" option of "figure" directive work again.
979   - Fixed bug with reference names containing uppercase letters
980     (e.g. ``Name_``) in "target" option of "image" directive.
982 * docutils/parsers/rst/directives/misc.py:
984   - Fixed "include" and "raw" directives to catch text decoding
985     errors.
986   - Allowed whitespace in "include" & "raw" directive paths.
987   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
988     settings in "include" & "raw" directives.
990 * docutils/parsers/rst/directives/parts.py:
992   - Added "header" & "footer" directives.
993   - Fixed illegal context bug with "contents" directive (topics
994     allowed within sidebars; not within body elements).
996 * docutils/parsers/rst/directives/tables.py:
998   - Added "list-table" directive.
999   - Caught empty CSV table bug.
1000   - Added support for the ``file_insertion_enabled`` setting in the
1001     "csv-table" directive.
1002   - Added ``stub-columns`` option to "csv-table" and "list-table"
1003     directives.
1005 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1006   mappings by Martijn Pieters.
1008 * docutils/readers/standalone.py:
1010   - Added ``--section-subtitles`` and ``--no-section-subtitles``
1011     options to activate or deactivate the SectSubTitle transform.
1013 * docutils/transforms/frontmatter.py:
1015   - Added SectSubTitle transform to promote titles of lone
1016     subsections to subtitles.
1018 * docutils/transforms/references.py:
1020   - Fixed mislocated internal targets bug, by propagating internal
1021     targets to the next node, making use of the newly added support
1022     for multiple names and IDs.
1023   - Fixed duplicate footnote label bug.
1024   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1025     transform.
1027 * docutils/writers/html4css1.py:
1029   - Fixed unencoded stylesheet reference bug (characters like "&" in
1030     stylesheet references).
1031   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1032     tags).
1033   - Added support for multiple IDs per node by creating empty ``span``
1034     tags.
1035   - Added the ``field_name_limit`` & ``option_limit`` settings &
1036     support.
1037   - Added support for table stub columns.
1038   - Added support for the ``align`` attribute on ``figure`` elements.
1039   - Added the ``cloak_email_addresses`` setting & support.
1040   - Added ``html_prolog``, ``html_head``, ``html_body``,
1041     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1042     ``docutils.core.publish_parts``.
1043   - Added support for section subtitles.
1045 * docutils/writers/latex2e.py:
1047   - Fixed tables starting with more than one multirow cell.
1048   - Improved --use-latex-docinfo so that organization/contact/address
1049     fields are lumped with the last author field and appear on the
1050     titlepage.
1051   - Made sure the titlepage is always shown with --use-latex-docinfo,
1052     even if the document has no title.
1053   - Made sure that latex doesn't fill in today's date if no date field
1054     was given.
1055   - Added support for section subtitles.
1057 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1058   (under development).
1060 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1062 * docs/api/publisher.txt:
1064   - Added "``publish_parts`` Details" section.
1066 * docutils/dev/repository.txt: Added to project; information about the
1067   Docutils Subversion repository.
1069 * docs/ref/docutils.dtd:
1071   - Added a ``stub`` attribute to the ``colspec`` element via the
1072     ``tbl.colspec.att`` parameter entity.
1073   - Allowed topic elements within sidebars
1074   - Added an ``align`` attribute to the ``figure`` element.
1076 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1077   writer.
1080 Release 0.3.7 (2004-12-24)
1081 ==========================
1083 * docutils/frontend.py:
1085   - Added options: --input-encoding-error-handler,
1086     --record-dependencies, --leave-footnote-reference-space,
1087     --strict-visitor.
1088   - Added command-line and config file support for "overrides" setting
1089     parameter.
1091 * docutils/io.py:
1093   - Added support for input encoding error handler.
1095 * docutils/nodes.py:
1097   - Added dispatch_visit and dispatch_departure methods to
1098     NodeVisitor; useful as a hook for Visitors.
1099   - Changed structure of ``line_block``; added ``line``.
1100   - Added ``compound`` node class.
1101   - Added a mechanism for Visitors to transitionally ignore new node
1102     classes.
1104 * docutils/utils.py:
1106   - Moved ``escape2null`` and ``unescape`` functions from
1107     docutils/parsers/rst/states.py.
1109 * docutils/parsers/rst/roles.py:
1111   - Added "raw" role.
1112   - Changed role function API: the "text" parameter now takes
1113     null-escaped interpreted text content.
1115 * docutils/parsers/rst/states.py:
1117   - Fixed bug where a "role" directive in a nested parse would crash
1118     the parser; the state machine's "language" attribute was not being
1119     copied over.
1120   - Added support for line block syntax.
1121   - Fixed directive parsing bug: argument-less directives didn't
1122     notice that arguments were present.
1123   - Removed error checking for transitions.
1124   - Added support for multiple classifiers in definition list items.
1125   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1126   - Changed role function API: the "text" parameter now takes
1127     null-escaped interpreted text content.
1128   - Empty sections and documents are allowed now.
1130 * docutils/parsers/rst/directives/__init__.py:
1132   - Added ``encoding`` directive option conversion function.
1133   - Allow multiple class names in class_option conversion function.
1135 * docutils/parsers/rst/directives/body.py:
1137   - Converted the line-block directive to use the new structure.
1138   - Extracted the old line-block functionality to the ``block``
1139     function (still used).
1140   - Added ``compound`` directive (thanks to Lea Wiemann).
1142 * docutils/parsers/rst/directives/misc.py:
1144   - Added "encoding" option to "include" and "raw" directives.
1145   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1146   - Allow multiple class names in the "class" directive.
1148 * docutils/parsers/rst/directives/parts.py:
1150   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1151     options.  Thanks to Lele Gaifax.
1153 * docutils/parsers/rst/directives/tables.py:
1155   - Added "encoding" directive to "csv-table" directive.
1156   - Added workaround for lack of Unicode support in csv.py, for
1157     non-ASCII CSV input.
1159 * docutils/transforms/misc.py:
1161   - Fixed bug when multiple "class" directives are applied to a single
1162     element.
1163   - Enabled multiple format names for "raw" directive.
1165 * docutils/transforms/references.py:
1167   - Added support for trimming whitespace from beside substitution
1168     references.
1170 * docutils/transforms/universal.py:
1172   - FinalChecks now checks for illegal transitions and moves
1173     transitions between sections.
1175 * docutils/writers/html4css1.py:
1177   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1178   - "stylesheet" and "stylesheet_path" settings are now mutually
1179     exclusive.
1180   - Added support for the new line_block/line structure.
1181   - --footnote-references now overrides
1182     --trim-footnote-reference-space, if applicable.
1183   - Added support for ``compound`` elements.
1184   - Enabled multiple format names for "raw" directive.
1185   - ``<p>`` tags of a paragraph which is the only visible child of the
1186     document node are no longer stripped.
1187   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1188     new method ``should_be_compact_paragraph()``.
1189   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1190     elements.
1191   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1192     the output if they have their ``class`` attribute set.
1193   - The whole document is now surrounded by a ``<div
1194     class="document">`` element.
1195   - Body-level images are now wrapped by their own ``<div>`` elements,
1196     with image classes copied to the wrapper, and for images which
1197     have the ``:align:`` option set, the surrounding ``<div>`` now
1198     receives a class attribute (like ``class="align-left"``).
1200 * docutils/writers/latex2e.py:
1202   - no newline after depart_term.
1203   - Added translations for some Unicode quotes.
1204   - Added option "font-encoding", made package AE the default.
1205   - "stylesheet" and "stylesheet_path" settings are now mutually
1206     exclusive.
1207   - --footnote-references now overrides
1208     --trim-footnote-reference-space, if applicable.
1209   - The footnote label style now matches the footnote reference style
1210     ("brackets" or "superscript").
1211   - Added support for ``compound`` elements.
1212   - Enabled multiple format names for "raw" directive.
1214 * docs/ref/docutils.dtd:
1216   - Changed structure of the ``line_block`` element; added ``line``.
1217   - Added ``compound`` element.
1218   - Added "ltrim" and "rtrim" attributes to
1219     ``substitution_definition`` element.
1220   - Enabled multiple format names for ``raw`` element.
1221   - Enabled multiple classifiers in ``definition_list_item`` elements.
1223 * docs/ref/rst/directives.txt
1225   - Marked "line-block" as deprecated.
1226   - "Class" directive now allows multiple class names.
1227   - Added "Rationale for Class Attribute Value Conversion".
1228   - Added warning about "raw" overuse/abuse.
1230 * docs/ref/rst/restructuredtext.txt:
1232   - Added syntax for line blocks.
1233   - Definition list items may have multiple classifiers.
1235 * docs/ref/rst/roles.txt:
1237   - Added "raw" role.
1239 * tools/stylesheets/default.css:
1241   - Added support for the new line_block structure.
1242   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1245 Release 0.3.5 (2004-07-29)
1246 ==========================
1248 General:
1250 * _`Documentation cleanup/reorganization`.
1252   - Created new subdirectories of docs/:
1254     * ``docs/user/``: introductory/tutorial material for end-users
1255     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1256     * ``docs/api/``: API reference material for client-developers
1257     * ``docs/ref/``: reference material for all groups
1258     * ``docs/howto/``: for component-developers and core-developers
1259     * ``docs/peps/``: Python Enhancement Proposals
1261   - Moved ``docs/*`` to ``docs/user/``.
1262   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1263     ``spec/`` to ``docs/dev``.
1264   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1265     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1266   - Moved ``alternatives.txt``, and ``problems.txt`` from
1267     ``spec/rst/`` to ``docs/dev/rst/``.
1268   - Moved ``reStructuredText.txt``, ``directives.txt``,
1269     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1270     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1271     ``roles.txt``, ``reStructuredText.txt`` to
1272     ``restructuredtext.txt``.
1273   - Moved ``spec/howto/`` to ``docs/howto``.
1275   In order to keep the CVS history of moved files, we supplied
1276   SourceForge with a `script for modifying the Docutils CVS
1277   repository`__.
1279   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1281   After running the cleanup script:
1283   - Added ``docs/index.txt``.
1284   - Added a ``.htaccess`` file to the ``web`` module, containing
1285     redirects for all old paths to new paths.  They'll preserve
1286     fragments (the "#name" part of a URL), and won't clutter up the
1287     file system, and will correct the URL in the user's browser.
1288   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1289     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1290     the "To Do" list itself in ``docs/dev/todo.txt``.
1291   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1292     section of ``docs/dev/todo.txt``.
1293   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1294   - Added "How To Report Bugs" to ``BUGS.txt``.
1295   - Went through all the sources and docs (including under web/) and
1296     updated links.  Mostly done by Lea Wiemann; thanks Lea!
1297     (Still need to update links in the sandboxes.)
1299 Specific:
1301 * BUGS.txt: Added to project.
1303 * THANKS.txt: Added to project.
1305 * docutils/__init__.py:
1307   - 0.3.4: Post-release.
1309 * docutils/core.py:
1311   - Added special error handling & advice for UnicodeEncodeError.
1312   - Refactored Publisher.publish (simplified exception handling &
1313     extracted debug dumps).
1314   - Renamed "enable_exit" parameter of convenience functions to
1315     "enable_exit_status".
1316   - Enabled traceback (exception propagation) by default in
1317     programmatic convenience functions.
1318   - Now publish_file and publish_cmdline convenience functions return
1319     the encoded string results in addition to their regular I/O.
1320   - Extracted common code from publish_file, publish_string, and
1321     publish_parts, into new publish_programmatically.  Extracted
1322     settings code to ``Publisher.process_programmatic_settings``.
1323   - In Publisher.publish, disabled ``settings_overrides`` when
1324     ``settings`` is supplied; redundant.
1326 * docutils/frontend.py:
1328   - Added help text for "--output-encoding-error-handler" and
1329     "--error-encoding-error-handler".
1330   - Renamed "--exit" to "--exit-status".
1331   - Simplified default-setting code.
1333 * docutils/parsers/rst/__init__.py:
1335   - Added "--pep-base-url" and "--rfc-base-url" options.
1337 * docutils/parsers/rst/states.py:
1339   - Made URI recognition more aggressive and intelligent.
1341 * docutils/parsers/rst/directives/__init__.py:
1343   - Added several directive option conversion functions.
1345 * docutils/parsers/rst/directives/body.py:
1347   - Moved "table" directive to tables.py.
1349 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1350   added to project.
1352 * docutils/writers/latex2e.py:
1354   - Added "--table-style=(standard|booktabs|nolines)"
1355   - figures get "here" option (LaTeX per default puts them at bottom),
1356     and figure content is centered.
1357   - Rowspan support for tables.
1358   - Fix: admonition titles before first section.
1359   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1360   - Replave ``_`` in literal by an underlined blank, because it has the correct
1361     width.
1362   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1363   - A few unicode replacements, if output_encoding != utf
1364   - Add "--graphicx-option".
1365   - Indent literal-blocks.
1366   - Fix: omit ``\maketitle`` when there is no document title.
1368 * docs/index.txt: "Docutils Project Documentation Overview", added to
1369   project.
1371 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1372   Tool", added to project.
1374 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1376 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1378 * docs/dev/policies.txt: Added to project (extracted from
1379   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1381 * docs/dev/release.txt: Added to project (extracted from
1382   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1384 * docs/dev/testing.txt: Added to project.
1386 * docs/dev/website.txt: Added to project (extracted from
1387   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1389 * docs/ref/rst/directives.txt:
1391   - Added directives: "table", "csv-table".
1393 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1394   added to project.  1 page for syntax, and a 1 page reference for
1395   directives and roles.  Source text to be used as-is; not meant to be
1396   converted to HTML.
1398 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1399   with a change of title.
1401 * test/functional/, contents, and test/test_functional.py: Added to
1402   project.
1404 * tools/buildhtml.py: Fixed bug with config file handling.
1406 * tools/html.py: Removed from project (duplicate of rst2html.py).
1408 * tools/pep2html.py: Removed from project (duplicate of Python's
1409   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1410   Docutils-related PEPs in docs/peps/).
1412 * tools/rst2pseudoxml.py: Renamed from publish.py.
1414 * tools/rst2xml.py: Renamed from docutils-xml.py.
1416 * tools/test.txt: Removed from project; moved to
1417   docs/user/rst/demo.txt.
1419 * setup.py: Now also installs ``rst2latex.py``.
1422 Release 0.3.3 (2004-05-09)
1423 ==========================
1425 * docutils/__init__.py:
1427   - 0.3.1: Reorganized config file format (multiple sections); see
1428     docs/config.txt.
1429   - Added unknown_reference_resolvers attribute to TransformSpec.
1430   - 0.3.2: Interpreted text reorganization.
1431   - 0.3.3: Released.
1433 * docutils/core.py:
1435   - Catch system messages to stop tracebacks from parsing errors.
1436   - Catch exceptions during processing report & exit without
1437     tracebacks, except when "--traceback" used.
1438   - Reordered components for OptionParser; application comes last.
1439   - Added "config_section" parameter to several methods and functions,
1440     allowing front ends to easily specify their config file sections.
1441   - Added publish_parts convenience function to allow access to individual
1442     parts of a document.
1444 * docutils/examples.py: Added to project; practical examples of
1445   Docutils client code, to be used as-is or as models for variations.
1447 * docutils/frontend.py:
1449   - Added "--traceback" & "--no-traceback" options ("traceback"
1450     setting).
1451   - Implemented support for config file reorganization:
1452     ``standard_config_files`` moved from ``ConfigParser`` to
1453     ``OptionParser``; added
1454     ``OptionParser.get_config_file_settings()`` and
1455     ``.get_standard_config_settings()``; support for old "[options]"
1456     section (with deprecation warning) and mapping from old to new
1457     settings.
1458   - Reimplemented setting validation.
1459   - Enabled flexible boolean values: yes/no, true/false, on/off.
1460   - Added ``Values``, a subclass of ``optparse.Values``, with support
1461     for list setting attributes.
1462   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1463     thanks to Beni Cherniavsky.
1464   - Added "--no-section-numbering" option.
1466 * docutils/io.py:
1468   - Catch IOErrors when opening source & destination files, report &
1469     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1470     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1472 * docutils/nodes.py:
1474   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1475     method definitions (via ``exec``) to dynamic assignments (via
1476     ``setattr``); thanks to Roman Suzi.
1477   - Encapsulated visitor dynamic assignments in a function; thanks to
1478     Ian Bicking.
1479   - Added indirect_reference_name attribute to the Targetable
1480     class. This attribute holds the whitespace_normalized_name
1481     (contains mixed case) of a target.
1483 * docutils/statemachine.py:
1485   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1486   - Added ``StringList.get_2D_block``.
1488 * docutils/utils.py:
1490   - Added "level" attribute to SystemMessage exceptions.
1492 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1493   Jannie Hofmeyr.
1495 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1496   Blaha.
1498 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1499   Marcelo Huerta San Martin.
1501 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1502   mappings by Lalo Martins.
1504 * docutils/languages/ru.py: Added to project; Russian mappings by
1505   Roman Suzi.
1507 * docutils/parsers/rst/roles.py: Added to project.  Contains
1508   interpreted text role functions, a registry for interpreted text
1509   roles, and an API for adding to and retrieving from the registry.
1510   Contributed by Edward Loper.
1512 * docutils/parsers/rst/states.py:
1514   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1515   - Allowed true em-dash character and "---" as block quote
1516     attribution marker.
1517   - Added support for <angle-bracketed> complex option arguments
1518     (option lists).
1519   - Fixed handling of backslashes in substitution definitions.
1520   - Fixed off-by-1 error with extra whitespace after substitution
1521     definition directive.
1522   - Added inline markup parsing to field lists' field names.
1523   - Added support for quoted (and unindented) literal blocks.
1524     Driven in part by a bribe from Frank Siebenlist (thanks!).
1525   - Parser now handles escapes in URIs correctly.
1526   - Made embedded-URIs' reference text omittable.  Idea from Beni
1527     Cherniavsky.
1528   - Refactored explicit target processing code.
1529   - Added name attribute to references containing the reference name only
1530     through whitespace_normalize_name (no case changes).
1531   - parse_target no longer returns the refname after going through
1532     normalize_name. This is now handled in make_target.
1533   - Fixed bug relating to role-less interpreted text in non-English
1534     contexts.
1535   - Reorganized interpreted text processing; moved code into the new
1536     roles.py module.  Contributed by Edward Loper.
1537   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1538     ``parse_directive_block``.
1540 * docutils/parsers/rst/tableparser.py:
1542   - Reworked for ``StringList``, to support "include" directives in
1543     table cells.
1545 * docutils/parsers/rst/directives/__init__.py:
1547   - Renamed ``unchanged()`` directive option conversion function to
1548     ``unchanged_required``, and added a new ``unchanged``.
1549   - Catch unicode value too high error; fixes bug 781766.
1550   - Beefed up directive error reporting.
1552 * docutils/parsers/rst/directives/body.py:
1554   - Added basic "table" directive.
1556 * docutils/parsers/rst/directives/images.py:
1558   - Added "target" option to "image" directive.
1559   - Added name attribute to references containing the reference name only
1560     through whitespace_normalize_name (no case changes).
1562 * docutils/parsers/rst/directives/misc.py:
1564   - Isolated the import of the ``urllib2`` module; was causing
1565     problems on SourceForge (``libssl.so.2`` unavailable?).
1566   - Added the "role" directive for declaring custom interpreted text
1567     roles.
1569 * docutils/parsers/rst/directives/parts.py:
1571   - The "contents" directive does more work up-front, creating the
1572     "topic" and "title", and leaving the "pending" node for the
1573     transform.  Allows earlier reference resolution; fixes subtle bug.
1575 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1576   mappings by Jannie Hofmeyr.
1578 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1579   mappings by Marek Blaha.
1581 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1582   mappings by Marcelo Huerta San Martin.
1584 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1585   Portuguese mappings by Lalo Martins.
1587 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1588   mappings by Roman Suzi.
1590 * docutils/transforms/parts.py:
1592   - The "contents" directive does more work up-front, creating the
1593     "topic" and "title", and leaving the "pending" node for the
1594     transform.  Allows earlier reference resolution; fixes subtle bug.
1595   - Added support for disabling of section numbering.
1597 * docutils/transforms/references.py:
1599   - Verifying that external targets are truly targets and not indirect
1600     references. This is because we are now adding a "name" attribute to
1601     references in addition to targets. Note sure if this is correct!
1602   - Added code to hook into the unknown_reference_resolvers list for a
1603     transformer in resolve_indirect_target. This allows the
1604     unknown_reference_resolvers to keep around indirect targets which
1605     docutils doesn't know about.
1606   - Added specific error message for duplicate targets.
1608 * docutils/transforms/universal.py:
1610   - Added FilterMessages transform (removes system messages below the
1611     verbosity threshold).
1612   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1613     to FinalCheckVisitor for application-specific handling of
1614     unresolvable references.
1615   - Added specific error message for duplicate targets.
1617 * docutils/writers/__init__.py:
1619   - Added assemble_parts method to the Writer class to allow for
1620     access to a documents individual parts.
1621   - Documented & set default for ``Writer.output`` attribute.
1623 * docutils/writers/html4css1.py:
1625   - Fixed unicode handling of attribute values (bug 760673).
1626   - Prevent duplication of "class" attribute values (bug report from
1627     Kirill Lapshin).
1628   - Improved table grid/border handling (prompted by report from Bob
1629     Marshall).
1630   - Added support for table titles.
1631   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1632     to Darek Suchojad.
1633   - Added functionality to keep track of individual parts of a document
1634     and store them in a dictionary as the "parts" attribute of the writer.
1635     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1636   - Added proper support for the "scale" attribute of the "image"
1637     element.  Contributed by Brent Cook.
1638   - Added ``--initial-header-level`` option.
1639   - Fixed bug: the body_pre_docinfo segment depended on there being a
1640     docinfo; if no docinfo, the document title was incorporated into
1641     the body segment.  Adversely affected the publish_parts interface.
1643 * docutils/writers/latex2e.py:
1645   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1646     about a missing file.
1647   - Added options and support: ``--compound-enumerators``,
1648     ``--section-prefix-for-enumerators``, and
1649     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1650     934322).
1651   - Added option ``--use-verbatim-when-possible``, to avoid
1652     problematic characters (eg, '~' in italian) in literal blocks.
1653   - It's now possible to use four section levels in the `book` and
1654     `report` LaTeX classes.  The default `article` class still has
1655     three levels limit.
1657 * docs/config.txt: "Docutils Configuration Files", added to project.
1658   Moved config file entry descriptions from tools.txt.
1660 * docs/tools.txt:
1662   - Moved config file entry descriptions to config.txt.
1664 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
1665   Development".
1667 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1668   Text Roles", added to project.
1670 * spec/rst/reStructuredText.txt:
1672   - Added description of support for <angle-bracketed> complex option
1673     arguments to option lists.
1674   - Added subsections for indented and quoted literal blocks.
1676 * test: Continually adding & updating tests.
1678   - Added test/test_settings.py & test/data/config_*.txt support
1679     files.
1680   - Added test/test_writers/test_htmlfragment.py.
1682 * test/DocutilsTestSupport.py:
1684   - Refactored LaTeX publisher test suite/case class names to make
1685     testing other writers easier.
1686   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1687     to test the processing of HTML fragments which use the new
1688     publish_parts convenience function.
1690 * tools/buildhtml.py:
1692   - Added support for the "--prune" option.
1693   - Removed dependency on pep2html.py; plaintext PEPs no longer
1694     supported.
1696 * tools/docutils.conf:
1698   - Updated for configuration file reorganization.
1700 * tools/rst2html.py:
1702   - copied from tools/html.py
1704 * setup.py:
1706   - added a 'scripts' section to configuration
1707   - added 'tools/rst2html.py' to the scripts section
1710 Release 0.3 (2003-06-24)
1711 ========================
1713 General:
1715 * Renamed "attribute" to "option" for directives/extensions.
1717 * Renamed transform method "transform" to "apply".
1719 * Renamed "options" to "settings" for runtime settings (as set by
1720   command-line options).  Sometimes "option" (singular) became
1721   "settings" (plural).  Some variations below:
1723   - document.options -> document.settings (stored in other objects as
1724     well)
1725   - option_spec -> settings_spec (not directives though)
1726   - OptionSpec -> SettingsSpec
1727   - cmdline_options -> settings_spec
1728   - relative_path_options -> relative_path_settings
1729   - option_default_overrides -> settings_default_overrides
1730   - Publisher.set_options -> Publisher.get_settings
1732 Specific:
1734 * COPYING.txt: Added "Public Domain Dedication".
1736 * FAQ.txt: Frequently asked questions, added to project.
1738 * setup.py:
1740   - Updated with PyPI Trove classifiers.
1741   - Conditional installation of third-party modules.
1743 * docutils/__init__.py:
1745   - Bumped version to 0.2.1 to reflect changes to I/O classes.
1746   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1747   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1748   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1749     option and its effect on the PEP template & writer.
1750   - Bumped version to 0.2.4 due to changes to the PEP template &
1751     stylesheet.
1752   - Bumped version to 0.2.5 to reflect changes to Reporter output.
1753   - Added ``TransformSpec`` class for new transform system.
1754   - Bumped version to 0.2.6 for API changes (renaming).
1755   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1756     convenience functions.
1757   - Added ``Component.component_type`` attribute.
1758   - Bumped version to 0.2.8 because of the internal parser switch from
1759     plain lists to the docutils.statemachine.StringList objects.
1760   - Bumped version to 0.2.9 because of the frontend.py API changes.
1761   - Bumped version to 0.2.10 due to changes to the project layout
1762     (third-party modules removed from the "docutils" package), and
1763     signature changes in ``io.Input``/``io.Output``.
1764   - Changed version to 0.3.0 for release.
1766 * docutils/core.py:
1768   - Made ``publish()`` a bit more convenient.
1769   - Generalized ``Publisher.set_io``.
1770   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1771     parameters; improved its docstring.
1772   - Added ``publish_file()`` and ``publish_string()``.
1773   - Factored ``Publisher.set_source()`` and ``.set_destination()``
1774     out of ``.set_io``.
1775   - Added support for "--dump-pseudo-xml", "--dump-settings", and
1776     "--dump-transforms" hidden options.
1777   - Added ``Publisher.apply_transforms()`` method.
1778   - Added ``Publisher.set_components()`` method; support for
1779     ``publish_*()`` conveninece functions.
1780   - Moved config file processing to docutils/frontend.py.
1781   - Added support for exit status ("exit_level" setting &
1782     ``enable_exit`` parameter for Publisher.publish() and convenience
1783     functions).
1785 * docutils/frontend.py:
1787   - Check for & exit on identical source & destination paths.
1788   - Fixed bug with absolute paths & "--config".
1789   - Set non-command-line defaults in ``OptionParser.__init__()``:
1790     ``_source`` & ``_destination``.
1791   - Distributed ``relative_path_settings`` to components; updated
1792     ``OptionParser.populate_from_components()`` to combine it all.
1793   - Require list of keys in ``make_paths_absolute`` (was implicit in
1794     global ``relative_path_settings``).
1795   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1796     "--dump-settings", and "--dump-transforms" hidden options.
1797   - Removed nasty internals-fiddling ``ConfigParser.get_section``
1798     code, replaced with correct code.
1799   - Added validation functionality for config files.
1800   - Added "--error-encoding" option/setting, "_disable_config"
1801     internal setting.
1802   - Added encoding validation; updated "--input-encoding" and
1803     "--output-encoding"; added "--error-encoding-error-handler" and
1804     "--output-encoding-error-handler".
1805   - Moved config file processing from docutils/core.py.
1806   - Updated ``OptionParser.populate_from_components`` to handle new
1807     ``SettingsSpec.settings_defaults`` dict.
1808   - Added support for "-" => stdin/stdout.
1809   - Added "exit_level" setting ("--exit" option).
1811 * docutils/io.py:
1813   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1814   - Added automatic closing to ``FileInput`` and ``FileOutput``.
1815   - Delayed opening of ``FileOutput`` file until ``write()`` called.
1816   - ``FileOutput.write()`` now returns the encoded output string.
1817   - Try to get path/stream name automatically in ``FileInput`` &
1818     ``FileOutput``.
1819   - Added defaults for source & destination paths.
1820   - Allow for Unicode I/O with an explicit "unicode" encoding.
1821   - Added ``Output.encode()``.
1822   - Removed dependency on runtime settings; pass encoding directly.
1823   - Recognize Unicode strings in ``Input.decode()``.
1824   - Added support for output encoding error handlers.
1826 * docutils/nodes.py:
1828   - Added "Invisible" element category class.
1829   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1830     modification during a traversal.
1831   - Added element classes: ``line_block``, ``generated``, ``address``,
1832     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1833     ``superscript``, ``subscript``, ``inline``
1834   - Added support for lists of nodes to ``Element.insert()``.
1835   - Fixed parent linking in ``Element.replace()``.
1836   - Added new abstract superclass ``FixedTextElement``; adds
1837     "xml:space" attribute.
1838   - Added support for "line" attribute of ``system_message`` nodes.
1839   - Added support for the observer pattern from ``utils.Reporter``.
1840     Added ``parse_messages`` and ``transform_messages`` attributes to
1841     ``document``, removed ``messages``.  Added ``note_parse_message``
1842     and ``note_transform_message`` methods.
1843   - Added support for improved diagnostics:
1845     - Added "document", "source", and "line" internal attributes to
1846       ``Node``, set by ``Node.setup_child()``.
1847     - Converted variations on ``node.parent = self`` to
1848       ``self.setup_child(node)``.
1849     - Added ``document.current_source`` & ``.current_line``
1850       attributes, and ``.note_source`` observer method.
1851     - Changed "system_message" output to GNU-Tools format.
1853   - Added a "rawsource" attribute to the ``Text`` class, for text
1854     before backslash-escape resolution.
1855   - Support for new transform system.
1856   - Reworked ``pending`` element.
1857   - Fixed XML DOM bug (SF #660611).
1858   - Removed the ``interpeted`` element class and added
1859     ``title_reference``, ``abbreviation``, ``acronym``.
1860   - Made substitutions case-sensitive-but-forgiving; moved some code
1861     from the parser.
1862   - Fixed Unicode bug on element attributes (report: William Dode).
1864 * docutils/optik.py: Removed from project; replaced with
1865   extras/optparse.py and extras/textwrap.py.  These will be installed
1866   only if they're not already present in the Python installation.
1868 * docutils/roman.py: Moved to extras/roman.py; this will be installed
1869   only if it's not already present in the Python installation.
1871 * docutils/statemachine.py:
1873   - Factored out ``State.add_initial_transitions()`` so it can be
1874     extended.
1875   - Converted whitespace-specific "blank" and "indent" transitions
1876     from special-case code to ordinary transitions: removed
1877     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
1878     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
1879     ``ws_initial_transitions`` attributes.
1880   - Removed ``State.match_transition()`` after merging it into
1881     ``.check_line()``.
1882   - Added ``StateCorrection`` exception.
1883   - Added support for ``StateCorrection`` in ``StateMachine.run()``
1884     (moved ``TransitionCorrection`` support there too.)
1885   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
1886     ``EOFError`` instead of ``IndexError``.
1887   - Added ``State.no_match`` method.
1888   - Added support for the Observer pattern, triggered by input line
1889     changes.
1890   - Added ``strip_top`` parameter to
1891     ``StateMachineWS.get_first_known_indented``.
1892   - Made ``context`` a parameter to ``StateMachine.run()``.
1893   - Added ``ViewList`` & ``StringList`` classes;
1894     ``extract_indented()`` becomes ``StringList.get_indented()``.
1895   - Added ``StateMachine.insert_input()``.
1896   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
1897     thanks to) Fred Drake.
1899 * docutils/utils.py:
1901   - Added a ``source`` attribute to Reporter instances and
1902     ``system_message`` elements.
1903   - Added an observer pattern to ``utils.Reporter`` to keep track of
1904     system messages.
1905   - Fixed bugs in ``relative_path()``.
1906   - Added support for improved diagnostics.
1907   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
1908   - Added support for encoding Reporter stderr output, and encoding
1909     error handlers.
1910   - Reporter keeps track of the highest level system message yet
1911     generated.
1913 * docutils/languages: Fixed bibliographic field language lookups.
1915 * docutils/languages/es.py: Added to project; Spanish mappings by
1916   Marcelo Huerta San Martin.
1918 * docutils/languages/fr.py: Added to project; French mappings by
1919   Stefane Fermigier.
1921 * docutils/languages/it.py: Added to project; Italian mappings by
1922   Nicola Larosa.
1924 * docutils/languages/sk.py: Added to project; Slovak mappings by
1925   Miroslav Vasko.
1927 * docutils/parser/__init__.py:
1929   - Added ``Parser.finish_parse()`` method.
1931 * docutils/parser/rst/__init__.py:
1933   - Added options: "--pep-references", "--rfc-references",
1934     "--tab-width", "--trim-footnote-reference-space".
1936 * docutils/parsers/rst/states.py:
1938   - Changed "title under/overline too short" system messages from INFO
1939     to WARNING, and fixed its insertion location.
1940   - Fixed enumerated list item parsing to allow paragraphs & section
1941     titles to begin with enumerators.
1942   - Converted system messages to use the new "line" attribute.
1943   - Fixed a substitution reference edge case.
1944   - Added support for "--pep-references" and "--rfc-references"
1945     options; reworked ``Inliner`` code to make customization easier.
1946   - Removed field argument parsing.
1947   - Added support for short section title over/underlines.
1948   - Fixed "simple reference name" regexp to ignore text like
1949     "object.__method__"; not an anonymous reference.
1950   - Added support for improved diagnostics.
1951   - Reworked directive API, based on Dethe Elza's contribution.  Added
1952     ``Body.parse_directive()``, ``.parse_directive_options()``,
1953     ``.parse_directive_arguments()`` methods.
1954   - Added ``ExtensionOptions`` class, to parse directive options
1955     without parsing field bodies.  Factored
1956     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
1957     ``ExtensionOptions``.
1958   - Improved definition list term/classifier parsing.
1959   - Added warnings for unknown directives.
1960   - Renamed ``Stuff`` to ``Struct``.
1961   - Now flagged as errors: transitions at the beginning or end of
1962     sections, empty sections (except title), and empty documents.
1963   - Updated for ``statemachine.StringList``.
1964   - Enabled recognition of schemeless email addresses in targets.
1965   - Added support for embedded URIs in hyperlink references.
1966   - Added backslash-escapes to inline markup end-string suffix.
1967   - Added support for correct interpreted text processing.
1968   - Fixed nested title parsing (topic, sidebar directives).
1969   - Added special processing of backslash-escaped whitespace (idea
1970     from David Abrahams).
1971   - Made substitutions case-sensitive-but-forgiving; moved some code
1972     to ``docutils.nodes``.
1973   - Added support for block quote attributions.
1974   - Added a kludge to work-around a conflict between the bubble-up
1975     parser strategy and short titles (<= 3 char-long over- &
1976     underlines).  Fixes SF bug #738803 "infinite loop with multiple
1977     titles" submitted by Jason Diamond.
1978   - Added explicit interpreted text roles for standard inline markup:
1979     "emphasis", "strong", "literal".
1980   - Implemented "superscript" and "subscript" interpreted text roles.
1981   - Added initial support for "abbreviation" and "acronym" roles;
1982     incomplete.
1983   - Added support for "--trim-footnote-reference-space" option.
1984   - Optional space before colons in directives & hyperlink targets.
1986 * docutils/parsers/rst/tableparser.py:
1988   - Fixed a bug that was producing unwanted empty rows in "simple"
1989     tables.
1990   - Detect bad column spans in "simple" tables.
1992 * docutils/parsers/rst/directives: Updated all directive functions to
1993   new API.
1995 * docutils/parsers/rst/directives/__init__.py:
1997   - Added ``flag()``, ``unchanged()``, ``path()``,
1998     ``nonnegative_int()``, ``choice()``, and ``class_option()``
1999     directive option helper functions.
2000   - Added warnings for unknown directives.
2001   - Return ``None`` for missing directives.
2002   - Added ``register_directive()``, thanks to William Dode and Paul
2003     Moore.
2005 * docutils/parsers/rst/directives/admonitions.py:
2007   - Added "admonition" directive.
2009 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
2010   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2011   "parsed-literal", "rubric", "epigraph", "highlights" and
2012   "pull-quote" directives.
2014 * docutils/parsers/rst/directives/images.py:
2016   - Added an "align" attribute to the "image" & "figure" directives
2017     (by Adam Chodorowski).
2018   - Added "class" option to "image", and "figclass" to "figure".
2020 * docutils/parsers/rst/directives/misc.py:
2022   - Added "include", "raw", and "replace" directives, courtesy of
2023     Dethe Elza.
2024   - Added "unicode" and "class" directives.
2026 * docutils/parsers/rst/directives/parts.py:
2028   - Added the "sectnum" directive; by Dmitry Jemerov.
2029   - Added "class" option to "contents" directive.
2031 * docutils/parsers/rst/directives/references.py: Added to project.
2032   Contains the "target-notes" directive.
2034 * docutils/parsers/rst/languages/__init__.py:
2036   - Return ``None`` from get_language() for missing language modules.
2038 * docutils/parsers/rst/languages/de.py: Added to project; German
2039   mappings by Engelbert Gruber.
2041 * docutils/parsers/rst/languages/en.py:
2043   - Added interpreted text roles mapping.
2045 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2046   mappings by Marcelo Huerta San Martin.
2048 * docutils/parsers/rst/languages/fr.py: Added to project; French
2049   mappings by William Dode.
2051 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2052   mappings by Nicola Larosa.
2054 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2055   mappings by Miroslav Vasko.
2057 * docutils/readers/__init__.py:
2059   - Added support for the observer pattern from ``utils.Reporter``, in
2060     ``Reader.parse`` and ``Reader.transform``.
2061   - Removed ``Reader.transform()`` method.
2062   - Added default parameter values to ``Reader.__init__()`` to make
2063     instantiation easier.
2064   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2066 * docutils/readers/pep.py:
2068   - Added the ``peps.TargetNotes`` transform to the Reader.
2069   - Removed PEP & RFC reference detection code; moved to
2070     parsers/rst/states.py as options (enabled here by default).
2071   - Added support for pre-acceptance PEPs (no PEP number yet).
2072   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2073     easy subclassing.
2075 * docutils/readers/python: Python Source Reader subpackage added to
2076   project, including preliminary versions of:
2078   - __init__.py
2079   - moduleparser.py: Parser for Python modules.
2081 * docutils/transforms/__init__.py:
2083   - Added ``Transformer`` class and completed transform reform.
2084   - Added unknown_reference_resolvers list for each transformer. This list holds
2085     the list of functions provided by each component of the transformer that
2086     help resolve references.
2088 * docutils/transforms/frontmatter.py:
2090   - Improved support for generic fields.
2091   - Fixed bibliographic field language lookups.
2093 * docutils/transforms/misc.py: Added to project.  Miscellaneous
2094   transforms.
2096 * docutils/transforms/parts.py:
2098   - Moved the "id" attribute from TOC list items to the references
2099     (``Contents.build_contents()``).
2100   - Added the ``SectNum`` transform; by Dmitry Jemerov.
2101   - Added "class" attribute support to ``Contents``.
2103 * docutils/transforms/peps.py:
2105   - Added ``mask_email()`` function, updating to pep2html.py's
2106     functionality.
2107   - Linked "Content-Type: text/x-rst" to PEP 12.
2108   - Added the ``TargetNotes`` PEP-specific transform.
2109   - Added ``TargetNotes.cleanup_callback``.
2110   - Added title check to ``Headers``.
2112 * docutils/transforms/references.py:
2114   - Added the ``TargetNotes`` generic transform.
2115   - Split ``Hyperlinks`` into multiple transforms.
2116   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2117   - Added check for circular indirect references.
2118   - Made substitutions case-sensitive-but-forgiving.
2120 * docutils/transforms/universal.py:
2122   - Added support for the "--expose-internal-attributes" option.
2123   - Removed ``Pending`` transform classes & data.
2125 * docutils/writers/__init__.py:
2127   - Removed ``Writer.transform()`` method.
2129 * docutils/writers/docutils-xml.py:
2131   - Added XML and doctype declarations.
2132   - Added "--no-doctype" and "--no-xml-declaration" options.
2134 * docutils/writers/html4css1.py:
2136   - "name" attributes only on these tags: a, applet, form, frame,
2137     iframe, img, map.
2138   - Added "name" attribute to <a> in section titles for Netscape 4
2139     support (bug report: Pearu Peterson).
2140   - Fixed targets (names) on footnote, citation, topic title,
2141     problematic, and system_message nodes (for Netscape 4).
2142   - Changed field names from "<td>" to "<th>".
2143   - Added "@" to "&#64;" encoding to thwart address harvesters.
2144   - Improved the vertical whitespace optimization; ignore "invisible"
2145     nodes (targets, comments, etc.).
2146   - Improved inline literals with ``<span class="pre">`` around chunks
2147     of text and ``&nbsp;`` for runs of spaces.
2148   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2149     ``self.docinfo`` segments.
2150   - Added support for "line_block", "address" elements.
2151   - Improved backlinks (footnotes & system_messages).
2152   - Improved system_message output.
2153   - Redefined "--stylesheet" as containing an invariant URL, used
2154     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2155     working directory.
2156   - Added "--footnote-references" option (superscript or brackets).
2157   - Added "--compact-lists" and "--no-compact-lists" options.
2158   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2159     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2160   - Improved field list rendering.
2161   - Added Docutils version to "generator" meta tag.
2162   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2163   - Improved layout of <pre> HTML source.
2164   - Fixed attribute typo on <colspec>.
2165   - Refined XML prologue.
2166   - Support for no stylesheet.
2167   - Removed "interpreted" element support.
2168   - Added support for "title_reference", "sidebar", "attribution",
2169     "rubric", and generic "admonition" elements.
2170   - Added "--attribution" option.
2171   - Added support for "inline", "subscript", "superscript" elements.
2172   - Added initial support for "abbreviation" and "acronym";
2173     incomplete.
2175 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2176   (from the sandbox).
2178   - Added french.
2179   - Double quotes in literal blocks (special treatment for de/ngerman).
2180   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2181   - Added  "--attribution" option.
2182   - Right align attributions.
2184 * docutils/writers/pep_html.py:
2186   - Parameterized output encoding in PEP template.
2187   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2188   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2189     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2190     working directory.
2191   - Added an override on the "--footnote-references" option.
2192   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2193   - Added Docutils version to "generator" meta tag.
2194   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2196 * docs/tools.txt:
2198   - Added a "silent" setting for ``buildhtml.py``.
2199   - Added a "Getting Help" section.
2200   - Rearranged the structure.
2201   - Kept up to date, with new settings, command-line options etc.
2202   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2203   - Converted settings table into a definition list.
2205 * docs/rst/quickstart.txt:
2207   - Added a table of contents.
2208   - Added feedback information.
2209   - Added mention of minimum section title underline lengths.
2210   - Removed the 4-character minimum for section title underlines.
2212 * docs/rst/quickref.html:
2214   - Added a "Getting Help" section.
2215   - Added a style to make section title backlinks more subtle.
2216   - Added mention of minimum section title underline lengths.
2217   - Removed the 4-character minimum for section title underlines.
2219 * extras: Directory added to project; contains third-party modules
2220   that Docutils depends on (optparse, textwrap, roman).  These are
2221   only installed if they're not already present.
2223 * licenses: Directory added to project; contains copies of license
2224   files for non-public-domain files.
2226 * spec/doctree.txt:
2228   - Changed the focus.  It's about DTD elements:  structural
2229     relationships, semantics, and external (public) attributes.  Not
2230     about the element class library.
2231   - Moved some implementation-specific stuff into ``docutils.nodes``
2232     docstrings.
2233   - Wrote descriptions of all common attributes and parameter
2234     entities.  Filled in introductory material.
2235   - Working through the element descriptions: 55 down, 37 to go.
2236   - Removed "Representation of Horizontal Rules" to
2237     spec/rst/alternatives.txt.
2239 * spec/docutils.dtd:
2241   - Added "generated" inline element.
2242   - Added "line_block" body element.
2243   - Added "auto" attribute to "title".
2244   - Changed content models of "literal_block" and "doctest_block" to
2245     ``%text.model``.
2246   - Added ``%number;`` attribute type parameter entity.
2247   - Changed ``%structural.elements;`` to ``%section.elements``.
2248   - Updated attribute types; made more specific.
2249   - Added "address" bibliographic element.
2250   - Added "line" attribute to ``system_message`` element.
2251   - Removed "field_argument" element; "field_name" may contain
2252     multiple words and whitespace.
2253   - Changed public identifier to docutils.sf.net.
2254   - Removed "interpreted" element; added "title_reference",
2255     "abbreviation", "acronym".
2256   - Removed "refuri" attribute from "footnote_reference" and
2257     "citation_reference".
2258   - Added "sidebar", "rubric", "attribution", "admonition",
2259     "superscript", "subscript", and "inline" elements.
2261 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2263 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2265 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2267 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2268   Dallas Mahrt.
2270 * spec/transforms.txt: Added to project.
2272 * spec/howto: Added subdirectory, for developer how-to docs.
2274 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2275   Elza, edited & extended by David Goodger.
2277 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
2278   project.
2280 * spec/rst/alternatives.txt:
2282   - Added "Doctree Representation of Transitions" from
2283     spec/doctree.txt.
2284   - Updated "Inline External Targets" & closed the debate.
2285   - Added ideas for interpreted text syntax extensions.
2286   - Added "Nested Inline Markup" section.
2288 * spec/rst/directives.txt:
2290   - Added directives: "topic", "sectnum", "target-notes",
2291     "line-block", "parsed-literal", "include", "replace", "sidebar",
2292     "admonition", "rubric", "epigraph", "highlights", "unicode" and
2293     "class".
2294   - Formalized descriptions of directive details.
2295   - Added an "align" attribute to the "image" & "figure" directives
2296     (by Adam Chodorowski).
2297   - Added "class" options to "topic", "sidebar", "line-block",
2298     "parsed-literal", "contents", and "image"; and "figclass" to
2299     "figure".
2301 * spec/rst/interpreted.txt: Added to project.  Descriptions of
2302   interpreted text roles.
2304 * spec/rst/introduction.txt:
2306   - Added pointers to material for new users.
2308 * spec/rst/reStructuredText.txt:
2310   - Disambiguated comments (just add a newline after the "::").
2311   - Updated enumerated list description; added a discussion of the
2312     second-line validity checking.
2313   - Updated directive description.
2314   - Added a note redirecting newbies to the user docs.
2315   - Expanded description of inline markup start-strings in non-markup
2316     contexts.
2317   - Removed field arguments and made field lists a generic construct.
2318   - Removed the 4-character minimum for section title underlines.
2319   - Clarified term/classifier delimiter & inline markup ambiguity
2320     (definition lists).
2321   - Added "Embedded URIs".
2322   - Updated "Interpreted Text" section.
2323   - Added "Character-Level Inline Markup" section.
2325 * test: Continually adding & updating tests.
2327   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2328   - Moved test/test_pep/ to test/test_readers/test_pep/.
2329   - Added test/test_readers/test_python/.
2330   - Added test/test_writers/ (Engelbert Gruber).
2332 * tools:
2334   - Made the ``locale.setlocale()`` calls in front ends
2335     fault-tolerant.
2337 * tools/buildhtml.py:
2339   - Added "--silent" option.
2340   - Fixed bug with absolute paths & "--config".
2341   - Updated for new I/O classes.
2342   - Added some exception handling.
2343   - Separated publishers' setting defaults; prevents interference.
2344   - Updated for new ``publish_file()`` convenience function.
2346 * tools/pep-html-template:
2348   - Allow for "--embed-stylesheet".
2349   - Added Docutils version to "generator" meta tag.
2350   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2351   - Conform to XHTML spec.
2353 * tools/pep2html.py:
2355   - Made ``argv`` a parameter to ``main()``.
2356   - Added support for "Content-Type:" header & arbitrary PEP formats.
2357   - Linked "Content-Type: text/plain" to PEP 9.
2358   - Files skipped (due to an error) are not pushed onto the server.
2359   - Updated for new I/O classes.
2360   - Added ``check_requirements()`` & ``pep_type_error()``.
2361   - Added some exception handling.
2362   - Updated for new ``publish_string()`` convenience function.
2363   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2365 * tools/quicktest.py:
2367   - Added "-V"/"--version" option.
2369 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2371 * tools/unicode2rstsubs.py: Added to project.  Produces character
2372   entity files (reSructuredText substitutions) from the MathML master
2373   unicode.xml file.
2375 * tools/editors: Support code for editors, added to project.  Contains
2376   ``emacs/restructuredtext.el``.
2378 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2380   - Added style for chunks of inline literals.
2381   - Removed margin for first child of table cells.
2382   - Right-aligned field list names.
2383   - Support for auto-numbered section titles in TOCs.
2384   - Increased the size of inline literals (<tt>) in titles.
2385   - Restored the light gray background for inline literals.
2386   - Added support for "line_block" elements.
2387   - Added style for "address" elements.
2388   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2389   - Improved field list rendering.
2390   - Vertical whitespace improvements.
2391   - Removed "a.target" style.
2393 * tools/stylesheets/pep.css:
2395   - Fixed nested section margins.
2396   - Other changes parallel those of ``../default.css``.
2399 Release 0.2 (2002-07-31)
2400 ========================
2402 General:
2404 - The word "component" was being used ambiguously.  From now on,
2405   "component" will be used to mean "Docutils component", as in Reader,
2406   Writer, Parser, or Transform.  Portions of documents (Table of
2407   Contents, sections, etc.)  will be called "document parts".
2408 - Did a grand renaming: a lot of ``verylongnames`` became
2409   ``very_long_names``.
2410 - Cleaned up imports: no more relative package imports or
2411   comma-separated lists of top-level modules.
2412 - Added support for an option values object which carries default
2413   settings and overrides (from command-line options and library use).
2414 - Added internal Unicode support, and support for both input and
2415   output encodings.
2416 - Added support for the ``docutils.io.IO`` class & subclasses.
2418 Specific:
2420 * docutils/__init__.py:
2422   - Added ``ApplicationError`` and ``DataError``, for use throughout
2423     the package.
2424   - Added ``Component`` base class for Docutils components; implements
2425     the ``supports`` method.
2426   - Added ``__version__`` (thus, ``docutils.__version__``).
2428 * docutils/core.py:
2430   - Removed many keyword parameters to ``Publisher.__init__()`` and
2431     ``publish()``; bundled into an option values object.  Added
2432     "argv", "usage", "description", and "option_spec" parameters for
2433     command-line support.
2434   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2435     methods.
2436   - Reworked I/O model for ``docutils.io`` wrappers.
2437   - Updated ``Publisher.set_options()``; now returns option values
2438     object.
2439   - Added support for configuration files (/etc/docutils.conf,
2440     ./docutils.conf, ~/.docutils).
2441   - Added ``Publisher.setup_option_parser()``.
2442   - Added default usage message and description.
2444 * docutils/frontend.py: Added to project; support for front-end
2445   (command-line) scripts.  Option specifications may be augmented by
2446   components.  Requires Optik (http://optik.sf.net/) for option
2447   processing (installed locally as docutils/optik.py).
2449 * docutils/io.py: Added to project; uniform API for a variety of input
2450   output mechanisms.
2452 * docutils/nodes.py:
2454   - Added ``TreeCopyVisitor`` class.
2455   - Added a ``copy`` method to ``Node`` and subclasses.
2456   - Added a ``SkipDeparture`` exception for visitors.
2457   - Renamed ``TreePruningException`` from ``VisitorException``.
2458   - Added docstrings to ``TreePruningException``, subclasses, and
2459     ``Nodes.walk()``.
2460   - Improved docstrings.
2461   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2462   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2463     imports.
2464   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2465     ``PreDecorative`` mixin.
2466   - Reworked the name/id bookkeeping; to ``document``, removed
2467     ``explicit_targets`` and ``implicit_targets`` attributes, added
2468     ``nametypes`` attribute and ``set_name_id_map`` method.
2469   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2470     traversals.
2471   - Added ``document.has_name()`` method.
2472   - Fixed DOM generation for list-attributes.
2473   - Added category class ``Labeled`` (used by footnotes & citations).
2474   - Added ``Element.set_class()`` method (sets "class" attribute).
2476 * docutils/optik.py: Added to project.  Combined from the Optik
2477   package, with added option groups and other modifications.  The use
2478   of this module is probably only temporary.
2480 * docutils/statemachine.py:
2482   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2483   - Added underscores to improve many awkward names.
2484   - In ``string2lines()``, changed whitespace normalizing translation
2485     table to regexp; restores Python 2.0 compatibility with Unicode.
2487 * docutils/urischemes.py:
2489   - Filled in some descriptions.
2490   - Added "shttp" scheme.
2492 * docutils/utils.py:
2494   - Added ``clean_rcs_keywords`` function (moved from
2495     docutils/transforms/frontmatter.py
2496     ``DocInfo.filter_rcs_keywords``).
2497   - Added underscores to improve many awkward names.
2498   - Changed names of Reporter's thresholds:
2499     warning_level -> report_level; error_level -> halt_level.
2500   - Moved ``utils.id()`` to ``nodes.make_id()``.
2501   - Added ``relative_path(source, target)``.
2503 * docutils/languages/de.py: German mappings; added to project.  Thanks
2504   to Gunnar Schwant for the translations.
2506 * docutils/languages/en.py: Added "Dedication" bibliographic field
2507   mappings.
2509 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2510   Chodorowski.
2512 * docutils/parsers/rst/states.py:
2514   - Added underscores to improve many awkward names.
2515   - Added RFC-2822 header support.
2516   - Extracted the inline parsing code from ``RSTState`` to a separate
2517     class, ``Inliner``, which will allow easy subclassing.
2518   - Made local bindings for ``memo`` container & often-used contents
2519     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2520   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2521   - Added ``MarkupMismatch`` exception; for late corrections.
2522   - Added ``-/:`` characters to inline markup's start string prefix,
2523     ``/`` to end string suffix.
2524   - Fixed a footnote bug.
2525   - Fixed a bug with literal blocks.
2526   - Applied patch from Simon Budig: simplified regexps with symbolic
2527     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2528   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2529   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2530   - Allowed non-ASCII in "simple names" (directive names, field names,
2531     references, etc.).
2532   - Converted ``Inliner.patterns.initial`` to be dynamically built
2533     from parts with ``build_regexp()`` function.
2534   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2535   - Updated docstrings.
2536   - Changed "table" to "grid_table"; added "simple_table" support.
2538 * docutils/parsers/rst/tableparser.py:
2540   - Changed ``TableParser`` to ``GridTableParser``.
2541   - Added ``SimpleTableParser``.
2542   - Refactored naming.
2544 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2545   a fallback language for directive names.
2547 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2548   directive to use a ``pending`` element, used only by HTML writers.
2550 * docutils/parsers/rst/directives/parts.py: Renamed from
2551   components.py.
2553   - Added "backlinks" attribute to "contents" directive.
2555 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2556   project by Adam Chodorowski.
2558 * docutils/readers/__init__.py: Gave Readers more control over
2559   choosing and instantiating Parsers.
2561 * docutils/readers/pep.py: Added to project; for PEP processing.
2563 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2564   requires a ``component`` parameter.
2566 * docutils/transforms/components.py: Added to project; transforms
2567   related to Docutils components.
2569 * docutils/transforms/frontmatter.py:
2571   - In ``DocInfo.extract_authors``, check for a single "author" in an
2572     "authors" group, and convert it to a single "author" element.
2573   - Added support for "Dedication" and generic bibliographic fields.
2575 * docutils/transforms/peps.py: Added to project; PEP-specific.
2577 * docutils/transforms/parts.py: Renamed from old components.py.
2579   - Added filter for `Contents`, to use alt-text for inline images,
2580     and to remove inline markup that doesn't make sense in the ToC.
2581   - Added "name" attribute to TOC topic depending on its title.
2582   - Added support for optional TOC backlinks.
2584 * docutils/transforms/references.py: Fixed indirect target resolution
2585   in ``Hyperlinks`` transform.
2587 * docutils/transforms/universal.py:
2589   - Changed ``Messages`` transform to properly filter out system
2590     messages below the warning threshold.
2591   - Added ``Decorations`` transform (support for ``--generator``,
2592     ``--date``, ``--time``, ``--source-link`` options).
2594 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2595   Engelbert Gruber's PDF writer.
2597 * docutils/writers/html4css1.py:
2599   - Made XHTML-compatible (switched to lowercase element & attribute
2600     names; empty tag format).
2601   - Escape double-dashes in comment text.
2602   - Improved boilerplate & modularity of output.
2603   - Exposed modular output in Writer class.
2604   - Added a "generator" meta tag to <head>.
2605   - Added support for the ``--stylesheet`` option.
2606   - Added support for ``decoration``, ``header``, and ``footer``
2607     elements.
2608   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2609     translation table to regexp; restores Python 2.0 compatibility
2610     with Unicode.
2611   - Added the translator class as instance variable to the Writer, to
2612     make it easily subclassable.
2613   - Improved option list spacing (thanks to Richard Jones).
2614   - Modified field list output.
2615   - Added backlinks to footnotes & citations.
2616   - Added percentage widths to "<col>" tags (from colspec).
2617   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2618     "<span>" changed to "<var>".
2619   - Inline literals: "<code>" changed to "<tt>".
2620   - Many changes to optimize vertical space: compact simple lists etc.
2621   - Add a command-line options & directive attributes to control TOC
2622     and footnote/citation backlinks.
2623   - Added support for optional footnote/citation backlinks.
2624   - Added support for generic bibliographic fields.
2625   - Identify backrefs.
2626   - Relative URLs for stylesheet links.
2628 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2629   PEPs (subclass of ``html4css1.Writer``).
2631 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2633 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2634   of the Docutils internal doctree in XML.
2636 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2638 * spec/doctree.txt:
2640   - Changed the title to "The Docutils Document Tree".
2641   - Added "Hyperlink Bookkeeping" section.
2643 * spec/docutils.dtd:
2645   - Added ``decoration``, ``header``, and ``footer`` elements.
2646   - Brought ``interpreted`` element in line with the parser: changed
2647     attribute "type" to "role", added "position".
2648   - Added support for generic bibliographic fields.
2650 * spec/notes.txt: Continual updates.  Added "Project Policies".
2652 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2653   section.
2655 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2657 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
2658   mailing list discussions.
2660 * spec/pep-0287.txt:
2662   - Renamed to "reStructuredText Docstring Format".
2663   - Minor edits.
2664   - Reworked Q&A as an enumerated list.
2665   - Converted to reStructuredText format.
2667 * spec/pysource.dtd:
2669   - Reworked structural elements, incorporating ideas from Tony Ibbs.
2671 * spec/pysource.txt: Removed from project.  Moved much of its contents
2672   to pep-0258.txt.
2674 * spec/rst/alternatives.txt:
2676   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2677   - Added "Inline External Targets" section.
2679 * spec/rst/directives.txt:
2681   - Added "backlinks" attribute to "contents" directive.
2683 * spec/rst/problems.txt:
2685   - Updated the Enumerated List Markup discussion.
2686   - Added new alternative table markup syntaxes.
2688 * spec/rst/reStructuredText.txt:
2690   - Clarified field list usage.
2691   - Updated enumerated list description.
2692   - Clarified purpose of directives.
2693   - Added ``-/:`` characters to inline markup's start string prefix,
2694     ``/`` to end string suffix.
2695   - Updated "Authors" bibliographic field behavior.
2696   - Changed "inline hyperlink targets" to "inline internal targets".
2697   - Added "simple table" syntax to supplement the existing but
2698     newly-renamed "grid tables".
2699   - Added cautions for anonymous hyperlink use.
2700   - Added "Dedication" and generic bibliographic fields.
2702 * test: Made test modules standalone (subdirectories became packages).
2704 * test/DocutilsTestSupport.py:
2706   - Added support for PEP extensions to reStructuredText.
2707   - Added support for simple tables.
2708   - Refactored naming.
2710 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2712   - Now supports true packages containing test modules
2713     (``__init__.py`` files required); fixes duplicate module name bug.
2715 * test/test_pep/: Subpackage added to project; PEP testing.
2717 * test/test_rst/test_SimpleTableParser.py: Added to project.
2719 * tools:
2721   - Updated html.py and publish.py front-end tools to use the new
2722     command-line processing facilities of ``docutils.frontend``
2723     (exposed in ``docutils.core.Publisher``), reducing each to just a
2724     few lines of code.
2725   - Added ``locale.setlocale()`` calls to front-end tools.
2727 * tools/buildhtml.py: Added to project; batch-generates .html from all
2728   the .txt files in directories and subdirectories.
2730 * tools/default.css:
2732   - Added support for ``header`` and ``footer`` elements.
2733   - Added styles for "Dedication" topics (biblio fields).
2735 * tools/docutils.conf: A configuration file; added to project.
2737 * tools/docutils-xml.py: Added to project.
2739 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2741 * tools/pep-html-template: Added to project.
2743 * tools/pep2html.py: Added to project from Python (nondist/peps).
2744   Added support for Docutils (reStructuredText PEPs).
2746 * tools/quicktest.py:
2748   - Added the ``--attributes`` option, hacked a bit.
2749   - Added a second command-line argument (output file); cleaned up.
2751 * tools/stylesheets/: Subdirectory added to project.
2753 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2756 Release 0.1 (2002-04-20)
2757 ========================
2759 This is the first release of Docutils, merged from the now inactive
2760 reStructuredText__ and `Docstring Processing System`__ projects.  For
2761 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2762 `DPS HISTORY`__ files.
2764 __ http://structuredtext.sourceforge.net/
2765 __ http://docstring.sourceforge.net/
2766 __ http://structuredtext.sourceforge.net/HISTORY.html
2767 __ http://docstring.sourceforge.net/HISTORY.html
2769 General changes: renamed 'dps' package to 'docutils'; renamed
2770 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2771 the test suites (reStructuredText's test/test_states renamed to
2772 test/test_rst); and all modifications required to make it all work.
2774 * docutils/parsers/rst/states.py:
2776   - Improved diagnostic system messages for missing blank lines.
2777   - Fixed substitution_reference bug.
2781    Local Variables:
2782    mode: indented-text
2783    indent-tabs-mode: nil
2784    sentence-end-double-space: t
2785    fill-column: 70
2786    End: