prepare release
[docutils.git] / HISTORY.txt
blob82dd9112ca15d951900dc8860dd9209e112b5408
1 .. -*- coding: utf-8 -*-
3 ==================
4  Docutils History
5 ==================
7 :Author: David Goodger; open to all Docutils developers
8 :Contact: docutils-develop@lists.sourceforge.net
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.10
17 ==================
19 * General
21   - Apply [ 2714873 ] Fix for the overwritting of document attributes.
22   - Support embedded aliases within hyperlink references.
23   - Fix [ 228 ] try local import of docutils components (reader, writer, parser,
24     language module) before global search.
26 * docutils/nodes.py
28   - Fix [ 3601607 ] node.__repr__() must return `str` instance.
30 * docutils/parsers/rst/directives/__init__.py
32   - Fix [ 3606028 ] ``assert`` is skipped with ``python -O``.
34 * docutils/parsers/rst/directives/images.py
36   - Apply [ 3599485 ] node source/line information for sphinx translation.
38 * docutils/parsers/rst/directives/tables.py
40   - Fix [ 210 ] Python 3.3 checks CVS syntax only if "strict" is True.
42 * docutils/parsers/rst/states.py
44   - Fix [ 157 ] Line block parsing doesn't like system message.
45   - Always import our local copy of roman.py (report Larry Hastings).
47 * docutils/transforms/references.py
49   - Fix [ 3607029 ] traceback with embedded alias pointing to missing target.
51 * docutils/utils/__init__.py
53   - Fix [ 3596884 ] exception importing ``docutils.io``.
55 * docutils/writers/html4css1/__init__.py
57   - Fix [ 3600051 ] for tables in a list, table cells are not compacted.
58   - New setting `stylesheet_dirs`: Comma-separated list of directories
59     where stylesheets are found. Used by `stylesheet_path` when expanding
60     relative path arguments.
61   - New default for math-output_: ``HTML math.css``.
62   - Avoid repeated class declarations in html4css1 writer
63     (modified version of patch [ 104 ]).
65 .. _math-output: docs/user/config.html#math-output
67 * docutils/writers/latex2e/__init__.py
69   - Drop the simple algorithm replacing straight double quotes with
70     English typographic ones.
71     Activate the SmartQuotes_ transform if you want this feature.
72   - Fix literal use of babel shorthands (straight quote, tilde, ...).
73   - Fix [ 3603246 ] Bug in option "--graphicx-option=auto".
74   - New setting `stylesheet_dirs`.
76 .. _SmartQuotes: docs/user/config.html#smart-quotes
78 * docutils/writers/manpage.py
80   - Fix [3607063] handle lines starting with a period.
81   - Fix option separating comma was bold (thanks to Bill Morris).
83 Release 0.10 (2012-12-16)
84 =========================
86 * General
88   - Dropped support for Python 2.3.
89   - ``docutils/math``, ``docutils/error_reporting.py``, and
90     ``docutils/urischemes.py`` moved to the utils package.
91   - Fix [3541369] Relative __import__ also with Python 3.3.
92   - Fix [3559988] and [3560841] __import__ local writer, reader, languages
93     and parsers for Python 2.7 up.
94   - Fix import of PIL.Image.
95   - Change default of "syntax highlight" option to "long",
96     basic syntax highlight styles for LaTeX and HTML.
98 * docutils/io.py
100   - FileInput/FileOutput: no system-exit on IOError.  The `handle_io_errors`
101     option is ignored and will be removed in a future release.
102   - Fix Py3k error writing to stdout with encoding differing from default.
103   - Fix opening binary files under Py3k (thanks to Dominic Fitzpatrick).
105 * docutils/parsers/rst/directives/misc.py
107   - Fix [ 3546533 ] Unicode error with `date` directive.
109 * docutils/transforms/universal.py
111   - SmartQuotes transform for typographic quotes and dashes.
113 * docutils/utils/__init__.py
115   - normalize_language_tag() now returns `BCP 47`_ conformant tags
116     with subtags separated by ``-``.
118 * docutils/writers/html4css1/__init__.py
120   - Use ``<code>`` tag for inline "code",
121     do not drop nested inline nodes (syntax highlight tokens).
122   - Customizable MathJax URL (based on patch by Dmitry Shachnev).
123   - No line break after opening inline math tag.
125 * docutils/writers/manpage.py
127   - Apply [ 3527401 ] addmonition's don't preserve indentation
128   - Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.
130 , docutils/writers/xetex/__init__.py
132   - Apply [ 3555160 ] ensure order of "otherlanguages".
133   - Fix section numbering by LaTeX.
135 * docutils/writers/s5_html/__init__.py
137   - Fix [ 3556388 ] Mathjax does not work with rst2s5.
139 * docutils/writers/s5_html/docutils_xml.py
141   - Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.
143 * setup.py
145   - Tag ``math.css`` stylesheet as data file (patch by Dmitry Shachnev).
147 * tools/test/test_buildhtml.py
149   - Fix [ 3521167 ] allow running in any directory.
150   - Fix [ 3521168 ] allow running with Python 3.
153 Release 0.9.1 (2012-06-17)
154 ==========================
156 * setup.py
158   - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
159     installed in the PYTHONPATH. Converted tests are now
160     stored in ``test3/``, tools no longer need conversion.
162     If you installed one of Docutils versions 0.7 ... 0.9 with
163     ``setup.py install`` under Python 3, remove the spurious
164     ``test/`` and ``tools/`` directories in the site library root.
166 * test/
168   - Make tests independent from the location of the ``test/`` directory.
169   - Use converted sources (from the ``build/`` directory) for tests under
170     Python 3.
172 * tools/
174   - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
176 * docutils/io.py
178   - Fix writing binary data to sys.stdout under Python 3 (allows
179     ``rst2odt.py`` to be used with output redirection).
181 * docutils/parsers/rst/directives/misc.py
183   - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
184     ``locale == C`` and 8-bit char in path argument of `include` directive.
186 * test/alltests.py
188   - class `Tee`: catch UnicodeError when writing to "ascii" stream or
189     file under Python 3.
191 Release 0.9 (2012-05-02)
192 ========================
194 * General:
196   - New reStructuredText "code" role and directive and "code" option
197     of the "include" directive with syntax highlighting by Pygments_.
198   - Fix parse_option_marker for option arguments containing ``=``.
199   - Fix [ 2993756 ]: import Python Imaging Library's Image module
200     via ``import PIL`` as starting with PIL 1.2,
201     "PIL lives in the PIL namespace only" (announcement__).
203 .. _Pygments: http://pygments.org/
204 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
206 * setup.py
208   - Fix [ 2971827 ] and [ 3442827 ]
209     extras/roman.py moved to docutils/utils/roman.py
211 * docutils/frontend.py
213   - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
215 * docutils/io.py
217   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
218   - `mode` argument for FileOutput avoids code replication in
219     BinaryFileOutput.
220   - New exceptions InputError and OutputError for IO errors in
221     FileInput/FileOutput.
223 * docutils/core.py:
225   - No "hard" system exit on file IO errors: catch and report them in
226     `Publisher.reportException` instead. Allows handling by a calling
227     application if the configuration setting `traceback` is True.
229 * docutils/utils.py -> docutils/utils/__init__.py
231   - docutils.utils is now a package (providing a place for sub-modules)
233   .. note:: docutils/math, docutils/error_reporting.py, and
234      docutils/urischemes.py will move to the utils package in the next
235      release, too. See RELEASE-NOTES__
237      __ RELEASE-NOTES.html
239   - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
240     errors recording non-ASCII filenames (fixes [ 3434355 ]).
242   - Fix relative_path() with source=None and `unicode` target.
244 * docutils/parsers/rst/states.py
246   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
247     characters and "international" quotes around inline markup.
248   - Use `field_marker` pattern to look for start of a
249     directive option block (fixes [ 3484857 ]).
251 * docutils/parsers/rst/tableparser.py
253   - Fix [ 2926161 ] for simple tables.
254     (Combining chars in grid tables still contribute to cell width.)
256 * docutils/writers/latex2e/__init__.py
258   - Support the `abbreviation` and `acronym` standard roles.
259   - Record only files required to generate the LaTeX source as dependencies.
260   - Fix handling of missing stylesheets.
261   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
262     when suppressing LaTeX section numbering.
263   - Use ``\DUtitle`` for unsupported section levels
264   - Apply [ 3512791 ] do not compare string literals with "is"
266 * docutils/writers/xetex/__init__.py
268   - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
270 * docutils/writers/html4css1/__init__.py
272   - Change default for `math-output` setting to MathJax.
273   - Fix handling of missing stylesheets.
275 * docutils/writers/docutils_xml.py
277   - Use the visitor pattern with default_visit()/default_depart() methods
278     instead of minidom to facilitate special handling of selected nodes.
279   - Support raw XML (inserted as-is inside a <raw></raw> node).
281 * docutils/writers/manpage.py
283   - Do not emit comment line with trailing blank. Problematic for VCS.
285 Release 0.8.1 (2011-08-30)
286 ==========================
288 * General:
290   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
291     and [ 3395920 ] (correct copyright info for rst.el).
293 * test/
295   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
297 * docutils/writers/latex2e/__init__.py
299   - Clean up Babel language setting. Restores Sphinx compatibility.
301 Release 0.8 (2011-07-07)
302 ========================
304 * General:
306   - Handle language codes according to `BCP 47`_.
307   - If the specified language is not supported by Docutils,
308     warn and fall back to English.
309   - Math support: reStructuredText "math" role and directive,
310     ``math`` and ``math_block`` doctree elements.
311   - Decode command line arguments with the locale's preferred encoding
312     (to allow, e.g., ``--title=Dornröschen``).
313   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
314   - New sub-module `error_reporting`: handle encoding/decoding errors
315     when reporting exceptions.
316   - Some additions to the Docutils core are released under the 2-Clause BSD
317     license, see COPYING_ for details.
319   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
320   .. _COPYING: COPYING.html
322 * reStructuredText:
324   - Most directives now support a "name" option that attaches a
325     reference name.
327   - Directive content may start on the first line also when the directive
328     type accepts options.
330 * docs/dev/policies.txt:
332   - Recommend the 2-Clause BSD license
333     (http://www.spdx.org/licenses/BSD-2-Clause)
334     for code that is kept under the author's copyright.
336 * tools/buildhtml.py:
338   - Fix ``--local`` switch.
340 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
342 * docutils/writers/html4css1/__init__.py
344   - Set "lang" argument for objects with class argument
345     "language-<language tag>".
346   - New setting "math-output" with support for HTML, MathML, and LaTeX.
348 * docutils/writers/latex2e/__init__.py
350   - Fix [ 3043986 ] AttributeError using :local: with table of content.
351   - Place title data in the document preamble.
352   - Load `babel` package only if required.
353   - Update list of supported languages.
354   - New config setting "hyperref-options".
355     No hard-coded "unicode" hyperref option (clash with xetex).
356   - Set language for custom roles, paragraphs, block-quotes, and
357     line-quotes with class argument "language-<language tag>".
358   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
359   - Convert image URI to a local file path.
360   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
361     has more than one paragraph (Wolfgang Scherer).
362   - \leavevmode before longtable only when needed (prevents spurious vspace)
363   - do not advance table counter for tables without caption
365 * docutils/writers/xetex/__init__.py
367   - New writer generating LaTeX code for compiling with ``xelatex``.
369     A separate writer (inheriting from latex2e) instead of a ``--xetex``
370     option allows separate config options for XeTeX vs. LaTeX2e.
372 * docutils/writers/manpage.py
374   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
375   - Fix: vertical space cleaning for option group ``.``.
377 * tools/editors/emacs/rst.el:
379   - Fix [ 3001100 ] does not handle spaces in filenames
380     (thanks to Jakub Wilk)
382 * docutils/utils.py:
384   - strip whitespace from stylesheet arguments
385   - exclude combining chars from column_width()
386     (partial fix for [ 2926161 ])
388 * docutils/parsers/rst/directives/misc.py:
390   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
391     nested_parse
393 * docutils/io.py:
395   - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
396     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
398 Release 0.7 (2010-07-07)
399 ========================
401 * General:
403   - Fix [ 2881769 ] setup configuration.
404   - Fix [ 2788716 ] reporting problems in included files.
406 * docutils/io.py
408   - FileInput opens files as text files with universal newline support
409     (mode "rU", configurable with the new optional argument "mode").
411 * docutils/nodes.py
413   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
415 * docutils/utils.py
417   - Fix [ 2923723 ] let decode_path() tolerate path == None
419 * docutils/writers/html4css1/__init__.py
421   - Support SVG and SWF images (thanks to Stefan Rank).
422   - Generate valid XHTML for centered images with targets.
423     Use CSS classes instead of "align" tags for image alignment.
425 * docutils/writers/latex2e/__init__.py
427   - Use `transforms.writer_aux.Admonitions` to "normalize" special
428     admonitions.
429   - Use the ``\url`` command for URLs (breaks long URLs instead of
430     writing into the margin).
431   - Preserve runs of spaces in `inline literals`__.
432   - Deprecate ``figure_footnotes`` setting.
433   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
434   - New ``latex_preamble`` setting.
435   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
436   - Fix hyperlink targets (labels) for images, figures, and tables.
437   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
438   - Apply [ 2961991 ] Call hyperref with unicode option.
439   - Drop the special `output_encoding`__ default ("latin-1").
440     The Docutils wide default (usually "UTF-8") is used instead.
441   - Render inline markup in document title and subtitle.
442   - Fix numbering depth with LaTeX section numbering.
443   - Update Unicode -> LaTeX translations.
444   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
446 __ docs/ref/restructuredtext.html#inline-literals
447 __ docs/user/config.html#docutils-footnotes
448 __ docs/user/config.html#output_encoding
450 * docutils/writers/manpage.py
452   - Fix: supported attribute (thanks to peter2108).
453   - Remove trailing blanks in code (keep in sync with mercurial version).
454   - Titles level 1, that is ``.SH``, always uppercase.
455   - Apply patch from mg: literal text should be bold in man-pages.
457 * docutils/nodes.py
459   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
460     turkish locale.
462 * setup.py:
464   - Python 3 support: copy test/ and tools/ to the build-dir
465     and convert Python sources with 2to3.
468 Release 0.6 (2009-10-11)
469 ========================
471 * General:
473   - Docutils is now compatible with Python versions from 2.3 up to 2.6
474     and convertible to 3.1 code.
476     + Node.__nonzero__ returns True instead of 1.
477     + use os.walk instead os.path.walk.
478     + minimize "types" module where possible.
479     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
480     + Text nodes now subclass unicode rather than UserString
481       (which is gone in python 3.0).
482     + 3.0 compatibility module docutils._compat
484     + Drop 2.2 compatibility workarounds.
485     + Drop extras/optparse.py and extras/textwrap.py
486       (stdlib modules since 2.3).
488   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
489   - Unix man page export: manpage writer moved from sandbox to Doctutils
490     core.
492   - Apply [ 1719345 ] Galician translation
493   - Apply [ 1905741 ] Polish translation
494   - Apply [ 1878977 ] make_id(): deaccent characters.
495   - Apply [ 2029251 ] return nonzero when tests fail.
496   - Fix [ 1692788 ] allow UTF-8 in style sheets.
497   - Fix [ 2781629 ] support non-ASCII chars in file names.
498   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
499   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
500   - Fix [ 2821266 ] --strict option works now like --halt=info.
501   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
502   - Fix [ 1627229 ] hyperlink references in substitutions.
504   - The "newlatex" writer is orphaned.
506 * reStructuredText:
508   - Documented Unicode characters allowed as inline markup openers,
509     closers, and delimiters.
510   - Allow units for all length specifications.
511   - Allow percent sign in "scale" argument of "figure" and "image" directives.
512   - Bugfix: The "figalign" argument of a figure now works as intended
513     (aligning the figure, not its contents).
514   - Align images with class "align-[right|center|left]"
515     (allows setting the alignment of an image in a figure).
517 * docutils/nodes.py:
519   - Added ``Element.__contains__`` method, for the in-operator.
521 * docutils/parsers/rst/states.py:
523   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
524   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
525     " " (non-breaking space), and "¡ ¿" openers.
527 * docutils/parsers/directives/misc.py:
529   - Added ``start-line`` and ``end-line`` options to "include"
530     directive to select a range of lines.
531   - Hard tabs in literal inclusions are replaced by spaces. This is
532     configurable via the new ``tab-width`` option of the "include" directive
533     (a negative tab-width prevents tab expansion).
535 * docutils/utils.py:
537   - Add ``get_stylesheet_list`` function.
538   - Apply [ 2834836 ] print info at halt
540 * docutils/transforms/universal.py:
542   - Raise default priority of StripClasses to exclude stripped classes from
543     the ToC.
545 * docutils/writers/html4css1/__init__.py:
547   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
548     separated list of stylesheets.
549   - Address [ 1938891 ] Inline literal text creates "pre" span only when
550     needed to prevent inter-word line wraps.
551   - Use `translate` method instead of repeated `replace` calls.
552   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
553     classes to allow CSS styling that does not interfere with other
554     table-using constructs (field lists, citations, ...).
556 * docutils/writers/newlatex2e/__init__.py:
558   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
560 * docutils/writers/latex2e/__init__.py (see also
561   `<docs/user/docutils-05-compat.sty.html>`__) :
563   - Add ``--embed-stylesheet`` option.
564   - Apply [ 1474017 ] image vertical alignment is reversed.
565   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
566   - Change: has_key for dictionaries (not Nodes) to in-operator.
567   - Merge adjacent citations into one latex cite command.
568   - Failsave implementation of custom roles. LaTeX compilation now ignores
569     unknown classes instead of aborting with an error.
570   - Support custom roles based on standard roles.
571   - LaTeX packages can be used as ``--stylesheet`` arguments without
572     restriction. (A style sheet is now referenced with the ``\usepackage``
573     command, if it ends with ``.sty`` or has no extension.)
574   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
575   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
576   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
577     2005-02-04 as a configurable length unit).
578   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
579     if font-encoding is set to ''. LaTeX defaults to OT1 then.
580   - Set sub- and superscript role argument in text mode not as math.
581     Use a custom role based on sub-/superscript if you want italic shape.
582   - Shorter preamble and less dependencies: Load packages and define macros
583     only if required in the document.
584   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
585   - New custom environments and commands with optional "classes" argument.
586   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
587   - Better conformance to Docutils specifications with ``--use-latex-toc``.
588     Support for LaTeX generated ToC also with unnumbered sections.
589   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
590     section numbering by LaTeX.
591   - Use default font in admonitions and sidebar.
592   - Align of image in a figure defaults to 'center'.
593   - Bugfix: Newlines around targets and references prevent run-together
594     paragraphs.
595   - Fix internal hyperlinks.
596   - Use class defaults for page margins ('typearea' now optional).
597   - Float placement made configurable, default changed to "here definitely".
598   - Typeset generic topic as "quote block with title".
599   - Use template (file and configuration option).
600   - In the default template, load cmap.sty (fix text extraction in PDF) and
601     fixltx2e.sty (LaTeX patches, \textsubscript).
602   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
603   - Use `translate` instead of repeated `replace` calls for text encoding.
604   - Hyperlinked footnotes and support for symbol footnotes and
605     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
606   - Complete pairs of binary options
607     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
608     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
609   - New defaults:
610     - font-encoding: "T1" (formerly implicitely set by 'ae').
611     - use-latex-toc: true (ToC with page numbers).
612     - use-latex-footnotes: true (no mixup with figures).
614 * docutils/writers/manpage.py
616   - Do not print version at document end, this is done by the viewer.
617   - Do not print date at document end, this is done by the viewer.
618   - Fix storage of docinfo fields for none standard fields.
620 * docutils/tools/rst2man.py
622 Release 0.5 (2008-06-25)
623 ========================
625 * docutils/languages/he.py: Added to project: Hebrew mappings by
626   Meir Kriheli.
628 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
629   mappings by Meir Kriheli.
631 * docutils/frontend.py:
633   - Configuration files are now assumed and required to be
634     UTF-8-encoded.
635   - Paths of applied configuration files are now recorded in the
636     runtime setting ``_config_files`` (accessible via
637     ``--dump-settings``).
638   - Added ``--strip-elements-with-class`` and ``--strip-class``
639     options (``strip_elements_with_classes`` and ``strip_classes``
640     settings).
642 * docutils/io.py:
644   - Added code to determine the input encoding from data: encoding
645     declarations or the presence of byte order marks (UTF-8 & UTF-16).
646   - Added support for IronPython 1.0.
648 * docutils/nodes.py:
650   - Added ``document.__getstate__`` method, for pickling.
652 * docutils/parsers/rst/states.py:
654   - Allow ``+`` and ``:`` in reference names.
655   - Unquoted targets beginning with an underscore (``.. __target:
656     URI``) are no longer accepted.
657   - Added support for multiple attributions in a physical block quote
658     (indented text block), dividing it into multiple logical block
659     quotes.
660   - Added support for unicode bullets in bullet lists: "•", "‣", and
661     "⁃".
662   - Added support for new object-oriented directive interface,
663     retaining compatibility to the old functional interface.
664   - Added support for throwing ``DirectiveError``'s from within
665     directive code.
667 * docutils/parsers/rst/__init__.py:
669   - Added ``Directive`` base class.
670   - Added ``DirectiveError`` base class.
671   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
672     definitions.
674 * docutils/parsers/directives/:
676   - Refactored all reStructuredText directives to use the new
677     object-oriented directive interface.  Errors are now (mostly)
678     thrown using the new ``DirectiveError`` class.
680 * docutils/parsers/directives/misc.py:
682   - Added ``start-after`` and ``end-before`` options to ``include``
683     directive; thanks to Stefan Rank.
685 * docutils/transforms/universal.py:
687   - Added ``StripClassesAndElements`` transform to remove from the
688     document tree all elements with classes in
689     ``settings.strip_elements_with_classes`` and all "classes"
690     attribute values in ``self.document.settings.strip_classes``.
692 * docutils/transforms/writer_aux.py:
694   - Added ``Admonitions`` transform to transform specific admonitions
695     (like ``note``, ``warning``, etc.) into generic admonitions with a
696     localized title.
698 * docutils/writers/html4css1/__init__.py:
700   - Moved template functionality from the PEP/HTML writer here.
701   - Expanded the fragments available in the ``parts`` attribute.
702   - Moved ``id`` attributes from titles to surrounding ``div``
703     elements.
704   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
705     universally supported now).
706   - ``template.txt`` is now opened in text mode instead of binary mode
707     (to ensure Windows compatibility).
708   - ``a`` elements now have an "internal" or "external" class,
709     depending on reference type.
711 * docutils/writers/html4css1/template.txt: Added to project.
713 * docutils/writers/pep_html/:
715   - Moved template functionality to the HTML writer.
717 * docutils/writers/s5_html/__init__.py:
719   - Added ``view_mode`` & ``hidden_controls`` settings
720     (``--view-mode`` & ``--hidden-controls/--visible-controls``
721     options).
723 * docutils/writers/latex2e/__init__.py:
725   - Add ``--literal-block-env``
726   - Fix: escaping ``%`` in href urls.
727   - Move usepackage hyperref after stylesheet inclusion.
728   - Fix: scrartcl does not have chapter but scrreprt.
729   - Add newline after ``\end{verbatim}``.
730   - Merge smaller differences from latex2e_adaptive_preamble.
731   - Add ``use-part-section``.
732   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
733   - Using leavemode option_list no longer needs to check if parent
734     is a definition list.
735   - Append ``\leavemode`` to definition list terms.
736   - No longer write visit\_/depart_definition_list_item comments to
737     output.
738   - Table column width with 3 decimal places.
739   - Add table stubs support (boldfont).
740   - Add assemble_parts to writer.
741   - Add simply support for nested tables.
742   - Fix verbatim in tables if use-verbatim-when-possible.
743   - Use section commands down to subparagraph.
744   - Put ensuremath around some latin1 chars.
745   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
746   - New option ``--use-bibtex=style,db1,db2``.
747   - New option ``--reference-label`` to allow usage of LaTeX ref for
748     labels in section references.
749   - Add a label after every section to support sectionnumbers as reference
750     labels.
751   - Fix: bug# 1605376 rst2latex: bad options group list
752   - Remove inactive code for use_optionlist_for_option_list.
753   - Remove latex comments from option_list output.
754   - Fix: bug# 1612270 double qoutes in italian literal.
755   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
756   - Add option --use-latex-abstract.
757   - Image width unit ``px`` is translated to ``pt``.
758   - Add image height support.
759   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
760     bug #1457388
761   - Fix: Do not escape underscores in citation reference labels if
762     use-latex-citations is set.
763   - Use centering instead of center for figure contents, to avoid vertical
764     space.
765   - Recognize table class: borderless, nolines, booktabs, standard.
766   - Fix: Renaming contents section does not work with latex writer; SF
767     bug #1487405.
768   - Applied patch for custom roles with classes from Edward Loper.
769   - Fixed bug that caused crashes with more than 256 lists.
771 * docutils/writers/pep_html/__init__.py:
773   - Changed to support new python.org website structure and
774     pep2pyramid.py.
776 * docs/howto/security.txt: "Deploying Docutils Securely", added to
777   project.
779 * tools/buildhtml.py:
781   -- Added ``ignore`` setting to exclude a list of shell patterns
782      (default: ``.svn:CVS``).
784 * tools/editors/emacs/rst.el:
786   - Changed license to "GPL".
787   - Added ``rst-straighten-decorations`` function.
788   - The ``compile`` module is now always loaded.
789   - Added ``rst-toggle-line-block`` function.
790   - Headings consisting only of non-ASCII characters are now
791     recognized by ``rst-toc`` and ``rst-adjust``.
792   - Added font-lock support for multi-line comments where the first
793     comment line is empty.
794   - Added ``(require 'font-lock)``.
796 * setup.py:
798   - Provide descriptive error message if distutils is missing.
801 Release 0.4 (2006-01-09)
802 ========================
804 * General:
806   - Updated the project policies for trunk/branch development &
807     version numbering.
809 * docutils/__init__.py:
811   - Added ``__version_details__`` attribute to describe code source
812     (repository/snapshot/release).
813   - Replaced ``default_transforms`` attribute of TransformSpec with
814     ``get_transforms()`` method.
816 * docutils/core.py:
818   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
819     functions, for document tree extraction and reprocessing.
821 * docutils/io.py:
823   - Added ``DocTreeInput`` class, for reprocessing existing documents.
824   - Added support for non-Unicode (e.g. binary) writer output.
826 * docutils/nodes.py:
828   - Re-introduced ``Targetable.indirect_reference_name``, for
829     MoinMoin/reST compatibility (removed in r3124/r3129).
830   - Added ``serial_escape`` function; escapes string values that are
831     elements of a list, for serialization.  Modified Docutils-XML
832     writing (``Element._dom_node``) and pseudo-XML writing
833     (``Element.starttag``) to use ``serial_escape``.
834   - Added ``Node.deepcopy()`` method.
835   - Removed the internal lists ``document.substitution_refs``,
836     ``document.anonymous_refs``, and ``document.anonymous_targets``.
837   - Added a "container" element.
838   - Fixed bug where values of list-valued attributes of elements
839     originating from custom interpreted text roles (i.e., with custom
840     classes) were being shared between element instances.  Reported by
841     Shmuel Zeigerman.
843 * docutils/statemachine.py:
845   - Added trailing whitespace stripping to ``string2lines()``.
846   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
847     Asian double-width character support.
849 * docutils/utils.py:
851   - Added ``east_asian_column_width()`` for double-width character
852     support.
854 * docutils/languages/ja.py: Added to project: Japanese mappings by
855   Hisashi Morita.
857 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
858   mappings by Panjunyong.
860 * docutils/parsers/null.py: Added to project; a do-nothing parser.
862 * docutils/parsers/rst/__init__.py:
864   - Added validator to tab_width setting, with test.  Closes SF bug
865     #1212515, report from Wu Wei.
867 * docutils/parsers/rst/states.py:
869   - Fixed bug with escaped colons indicating a literal block.
870   - Fixed bug with enumerated lists (SF#1254145).
871   - Backslash-escaped colons inside of field names are now allowed.
872   - Targets (implicit and explicit), anonymous hyperlink references
873     and auto-numbered footnote references inside of substitution
874     definitions are now disallowed.
875   - Fixed bug: list items with blank first lines.
876   - Fixed bug: block quote attributions with indented second lines.
877   - Added East Asian double-width character support (Python 2.4 only).
879 * docutils/parsers/rst/tableparser.py:
881   - Added East Asian double-width character support (Python 2.4 only).
883 * docutils/parsers/rst/directives/body.py:
885   - Added the "container" directive.
887 * docutils/parsers/rst/directives/misc.py:
889   - Added the "default-role", "title", and "date" directives.
890   - Added standard data file syntax to the "include" directive.
891   - Added support for "class" directive content.
893 * docutils/parsers/rst/directives/images.py:
895   - Added ``indirect_reference_name`` support for images with a target
896     option.
897   - Added support for image width and height units.
898   - Fixed bug with image "target" options.
900 * docutils/parsers/rst/directives/references.py:
902   - Added "class" attribute to "target-notes" directive, for
903     footnote_reference classes.
905 * docutils/parsers/rst/include/: Directory added to project; contains
906   standard data files for the "include" directive.  Initial contents:
907   character entity substitution definition sets, and a set of
908   definitions for S5/HTML presentations.
910 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
911   mappings by David Goodger.
913 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
914   Simplified Chinese mappings by Panjunyong.
916 * docutils/readers/__init__.py:
918   - Added universal.Decorations and universal.ExposeInternals
919     transforms as default transforms for all readers.
920   - Added ``ReReader`` base class for readers that reread an existing
921     document tree.
923 * docutils/readers/doctree.py: Added to project; a reader for existing
924   document trees.
926 * docutils/transforms/frontmatter.py:
928   - Fixed the DocInfo transform to handle SVN-style expansion of the
929     "Date" keyword.
930   - In ``DocInfo.extract_authors``, treat the contents of "authors"
931     fields uniformly.
933 * docutils/transforms/misc.py:
935   - Added misc.Transitions transform, extracted from
936     universal.FinalChecks.
938 * docutils/transforms/references.py:
940   - Added references.DanglingReferences transform, extracted from
941     universal.FinalChecks.
942   - Fixed bug with doubly-indirect substitutions.
943   - Added footnote_reference classes attribute to "TargetNotes".
944   - Fixed bug with circular substitution definitions that put Docutils
945     into an infinite loop.
947 * docutils/transforms/universal.py:
949   - Added universal.ExposeInternals transform, extracted from
950     universal.FinalChecks.
951   - Removed universal.FinalChecks transform (logic has been moved to
952     several new transforms).
953   - Fixed bug with the "expose_internals" setting and Text nodes
954     (exposed by the "rawsource" internal attribute).
955   - Added the universal.StripComments transform, implementation of the
956     "strip_comments" setting.
958 * docutils/transforms/writer_aux.py: Added to project; auxiliary
959   transforms for writers.
961   - Added ``Compound`` transform, which flattens compound paragraphs.
963 * docutils/writers/: Several writer modules (html4css1.py) were
964   converted into packages.  Support modules and data files have been
965   moved into the packages.  The stylesheets for the HTML writers are
966   now installed along with the code, the code knows where to find
967   them, and the default is to use them (actually, to embed them).
968   Some adjustments to configuration files may be necessary.  The
969   easiest way to obtain the new default behavior is to remove all
970   settings whose name includes "stylesheet".
972 * docutils/writers/__init__.py:
974   - Added universal.Messages and universal.FilterMessages transforms
975     as default transforms for all writers.
976   - Added ``UnfilteredWriter`` base class for writers that pass the
977     document tree on unchanged.
979 * docutils/writers/docutils_xml.py:
981   - Made ``xmlcharrefreplace`` the default output encoding error
982     handler.
984 * docutils/writers/html4css1/:
986   - Added support for image width and height units.
987   - Made ``xmlcharrefreplace`` the default output encoding error
988     handler.
989   - Made ``--embed-stylesheet`` the default rather than
990     ``--link-stylesheet``.
991   - Moved "id" attribute from container (section etc.) to title's <a>
992     tag, to be on the same tag as "name".
993     (!!! To be reverted in Docutils 0.5.)
994   - Added vertical space between fields of field lists.
995   - Added ``--compact-field-lists`` option to remove vertical space in
996     simple field lists.
997   - Made cloaking of email addresses with ``--cloak-email-addresses``
998     less obtrusive.
999   - Fixed support for centered images.
1000   - Added support for class="compact" & class="open" lists.
1002 * docutils/writers/latex2e/:
1004   - Underscores in citekeys are no longer escaped.
1006 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
1007   mapping of Unicode characters to LaTeX equivalents.
1009 * docutils/writers/s5_html/: Package added to project; writer for
1010   S5/HTML slide shows.
1012 * docs/dev/distributing.txt: Added to project; guide for distributors
1013   (package maintainers).
1015 * docs/dev/hacking.txt: Added to project; guide for developers.
1017 * docs/ref/doctree.txt:
1019   - Updated for plural attributes "classes", "ids", "names",
1020     "dupnames".
1021   - Added the "container" element.
1023 * docs/ref/docutils.dtd:
1025   - Updated for plural attributes "classes", "ids", "names",
1026     "dupnames".
1028 * docs/user/emacs.txt: Added to project; a document about Emacs
1029   support for reStructuredText and Docutils.
1031 * docs/user/links.txt: Added to project; lists of Docutils-related
1032   links.
1034 * docs/user/mailing-lists.txt: Added to project; information about
1035   Docutils-related mailing lists and how to access them.
1037 * docs/user/slide-shows.txt: Added to project; example of and docs for
1038   the S5/HTML writer (``rst2s5.py`` front end).
1040 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
1041   Files", added to project.
1043 * test/coverage.sh: Added to project; test coverage script.
1045 * test/DocutilsTestSupport.py:
1047   - Added support for specifying runtime settings at the suite level.
1049 * test/test_functional.py:
1051   - Added the ``clear_output_directory`` function.
1052   - Added support for ``_test_more`` functions in functional test
1053     config files.
1055 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
1057 * tools/rstpep2html.py: Renamed from pep.py.
1059 * tools/dev/create_unimap.py: Added to project; script to create the
1060   docutils/writers/unimap_latex.py mapping file.
1062 * tools/dev/profile_docutils.py: Added to project; profiler script.
1064 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
1066 * tools/editors/emacs/restructuredtext.el,
1067   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
1068   Removed from project; the functionality is now contained in rst.el.
1070 * tools/editors/emacs/rst.el: Added to project.  Added many features
1071   and fixed many bugs.  See docs/user/emacs.txt for details.
1073 * tools/stylesheets: Removed from project.  Stylesheets have been
1074   renamed and moved into writer packages.
1077 Release 0.3.9 (2005-05-26)
1078 ==========================
1080 * General:
1082   - Eliminated and replaced all uses of the old string attributes
1083     ``id``, ``name``, ``dupname`` and ``class`` with references to the
1084     new list attributes ``ids``, ``names``, ``dupnames`` and
1085     ``classes`` throughout the whole source tree.
1087 * docutils/core.py:
1089   - Enabled ``--dump-*`` options when ``--traceback`` specified,
1090     allowing for easier debugging.
1091   - In ``Publisher.publish()``, expanded the generic top-level
1092     exception catching.
1094 * docutils/examples.py:
1096   - Added ``internals`` function for exploration.
1098 * docutils/io.py:
1100   - Fixed ``Input.decode`` method to apply heuristics only if no
1101     encoding is explicitly given, and to provide better reporting of
1102     decoding errors.
1103   - The ``Input.decode`` method now removes byte order marks (BOMs)
1104     from input streams.
1106 * docutils/nodes.py:
1108   - ``image`` element class changed to subclass of Element, not
1109     TextElement (it's an empty element, and cannot contain text).
1110   - Added ``attr_defaults`` dictionary for default attribute values.
1111   - Added empty list as default value for the following attributes:
1112     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
1113   - Added ``document.decoration`` attribute,
1114     ``document.get_decoration`` method, and ``decoration.get_header``
1115     & ``.get_footer`` methods.
1116   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
1117     methods.
1119 * docutils/utils.py:
1121   - Removed ``docutils.utils.Reporter.categories``,
1122     ``docutils.utils.ConditionSet``, and all references to them, to
1123     simplify error reporting.
1125 * docutils/languages/nl.py: Added to project; Dutch mappings by
1126   Martijn Pieters.
1128 * docutils/parsers/rst/__init__.py:
1130   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
1132 * docutils/parsers/rst/states.py:
1134   - Added check for escaped at-mark to prevent email address recognition.
1135   - Fixed option lists to allow spaces inside ``<angle-bracketed option
1136     arguments>``.
1137   - Allowed whitespace in paths and URLs.
1138   - Added auto-enumerated list items.
1139   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
1140     followed by text.
1141   - Added support for table stub columns.
1143 * docutils/parsers/rst/directives/__init__.py:
1145   - Allowed whitespace in paths (``path`` function).
1146   - Added ``uri`` directive option conversion function.
1148 * docutils/parsers/rst/directives/body.py:
1150   - Fixed illegal context bug with "topic" directive (allowed within
1151     sidebars; not within body elements).
1153 * docutils/parsers/rst/directives/images.py:
1155   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1156   - Added support for the ``file_insertion_enabled`` setting in the
1157     "figure" directive (disables "figwidth" option).
1158   - "image" directive: added checks for valid values of "align" option,
1159     depending on context.  "figure" directive: added specialized
1160     "align" option and attribute on "figure" element.
1161   - Made ":figwidth: image" option of "figure" directive work again.
1162   - Fixed bug with reference names containing uppercase letters
1163     (e.g. ``Name_``) in "target" option of "image" directive.
1165 * docutils/parsers/rst/directives/misc.py:
1167   - Fixed "include" and "raw" directives to catch text decoding
1168     errors.
1169   - Allowed whitespace in "include" & "raw" directive paths.
1170   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1171     settings in "include" & "raw" directives.
1173 * docutils/parsers/rst/directives/parts.py:
1175   - Added "header" & "footer" directives.
1176   - Fixed illegal context bug with "contents" directive (topics
1177     allowed within sidebars; not within body elements).
1179 * docutils/parsers/rst/directives/tables.py:
1181   - Added "list-table" directive.
1182   - Caught empty CSV table bug.
1183   - Added support for the ``file_insertion_enabled`` setting in the
1184     "csv-table" directive.
1185   - Added ``stub-columns`` option to "csv-table" and "list-table"
1186     directives.
1188 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1189   mappings by Martijn Pieters.
1191 * docutils/readers/standalone.py:
1193   - Added ``--section-subtitles`` and ``--no-section-subtitles``
1194     options to activate or deactivate the SectSubTitle transform.
1196 * docutils/transforms/frontmatter.py:
1198   - Added SectSubTitle transform to promote titles of lone
1199     subsections to subtitles.
1201 * docutils/transforms/references.py:
1203   - Fixed mislocated internal targets bug, by propagating internal
1204     targets to the next node, making use of the newly added support
1205     for multiple names and IDs.
1206   - Fixed duplicate footnote label bug.
1207   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1208     transform.
1210 * docutils/writers/html4css1.py:
1212   - Fixed unencoded stylesheet reference bug (characters like "&" in
1213     stylesheet references).
1214   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1215     tags).
1216   - Added support for multiple IDs per node by creating empty ``span``
1217     tags.
1218   - Added the ``field_name_limit`` & ``option_limit`` settings &
1219     support.
1220   - Added support for table stub columns.
1221   - Added support for the ``align`` attribute on ``figure`` elements.
1222   - Added the ``cloak_email_addresses`` setting & support.
1223   - Added ``html_prolog``, ``html_head``, ``html_body``,
1224     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1225     ``docutils.core.publish_parts``.
1226   - Added support for section subtitles.
1228 * docutils/writers/latex2e.py:
1230   - Fixed tables starting with more than one multirow cell.
1231   - Improved --use-latex-docinfo so that organization/contact/address
1232     fields are lumped with the last author field and appear on the
1233     titlepage.
1234   - Made sure the titlepage is always shown with --use-latex-docinfo,
1235     even if the document has no title.
1236   - Made sure that latex doesn't fill in today's date if no date field
1237     was given.
1238   - Added support for section subtitles.
1240 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1241   (under development).
1243 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1245 * docs/api/publisher.txt:
1247   - Added "``publish_parts`` Details" section.
1249 * docutils/dev/repository.txt: Added to project; information about the
1250   Docutils Subversion repository.
1252 * docs/ref/docutils.dtd:
1254   - Added a ``stub`` attribute to the ``colspec`` element via the
1255     ``tbl.colspec.att`` parameter entity.
1256   - Allowed topic elements within sidebars
1257   - Added an ``align`` attribute to the ``figure`` element.
1259 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1260   writer.
1263 Release 0.3.7 (2004-12-24)
1264 ==========================
1266 * docutils/frontend.py:
1268   - Added options: --input-encoding-error-handler,
1269     --record-dependencies, --leave-footnote-reference-space,
1270     --strict-visitor.
1271   - Added command-line and config file support for "overrides" setting
1272     parameter.
1274 * docutils/io.py:
1276   - Added support for input encoding error handler.
1278 * docutils/nodes.py:
1280   - Added dispatch_visit and dispatch_departure methods to
1281     NodeVisitor; useful as a hook for Visitors.
1282   - Changed structure of ``line_block``; added ``line``.
1283   - Added ``compound`` node class.
1284   - Added a mechanism for Visitors to transitionally ignore new node
1285     classes.
1287 * docutils/utils.py:
1289   - Moved ``escape2null`` and ``unescape`` functions from
1290     docutils/parsers/rst/states.py.
1292 * docutils/parsers/rst/roles.py:
1294   - Added "raw" role.
1295   - Changed role function API: the "text" parameter now takes
1296     null-escaped interpreted text content.
1298 * docutils/parsers/rst/states.py:
1300   - Fixed bug where a "role" directive in a nested parse would crash
1301     the parser; the state machine's "language" attribute was not being
1302     copied over.
1303   - Added support for line block syntax.
1304   - Fixed directive parsing bug: argument-less directives didn't
1305     notice that arguments were present.
1306   - Removed error checking for transitions.
1307   - Added support for multiple classifiers in definition list items.
1308   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1309   - Changed role function API: the "text" parameter now takes
1310     null-escaped interpreted text content.
1311   - Empty sections and documents are allowed now.
1313 * docutils/parsers/rst/directives/__init__.py:
1315   - Added ``encoding`` directive option conversion function.
1316   - Allow multiple class names in class_option conversion function.
1318 * docutils/parsers/rst/directives/body.py:
1320   - Converted the line-block directive to use the new structure.
1321   - Extracted the old line-block functionality to the ``block``
1322     function (still used).
1323   - Added ``compound`` directive (thanks to Lea Wiemann).
1325 * docutils/parsers/rst/directives/misc.py:
1327   - Added "encoding" option to "include" and "raw" directives.
1328   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1329   - Allow multiple class names in the "class" directive.
1331 * docutils/parsers/rst/directives/parts.py:
1333   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1334     options.  Thanks to Lele Gaifax.
1336 * docutils/parsers/rst/directives/tables.py:
1338   - Added "encoding" directive to "csv-table" directive.
1339   - Added workaround for lack of Unicode support in csv.py, for
1340     non-ASCII CSV input.
1342 * docutils/transforms/misc.py:
1344   - Fixed bug when multiple "class" directives are applied to a single
1345     element.
1346   - Enabled multiple format names for "raw" directive.
1348 * docutils/transforms/references.py:
1350   - Added support for trimming whitespace from beside substitution
1351     references.
1353 * docutils/transforms/universal.py:
1355   - FinalChecks now checks for illegal transitions and moves
1356     transitions between sections.
1358 * docutils/writers/html4css1.py:
1360   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1361   - "stylesheet" and "stylesheet_path" settings are now mutually
1362     exclusive.
1363   - Added support for the new line_block/line structure.
1364   - --footnote-references now overrides
1365     --trim-footnote-reference-space, if applicable.
1366   - Added support for ``compound`` elements.
1367   - Enabled multiple format names for "raw" directive.
1368   - ``<p>`` tags of a paragraph which is the only visible child of the
1369     document node are no longer stripped.
1370   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1371     new method ``should_be_compact_paragraph()``.
1372   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1373     elements.
1374   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1375     the output if they have their ``class`` attribute set.
1376   - The whole document is now surrounded by a ``<div
1377     class="document">`` element.
1378   - Body-level images are now wrapped by their own ``<div>`` elements,
1379     with image classes copied to the wrapper, and for images which
1380     have the ``:align:`` option set, the surrounding ``<div>`` now
1381     receives a class attribute (like ``class="align-left"``).
1383 * docutils/writers/latex2e.py:
1385   - no newline after depart_term.
1386   - Added translations for some Unicode quotes.
1387   - Added option "font-encoding", made package AE the default.
1388   - "stylesheet" and "stylesheet_path" settings are now mutually
1389     exclusive.
1390   - --footnote-references now overrides
1391     --trim-footnote-reference-space, if applicable.
1392   - The footnote label style now matches the footnote reference style
1393     ("brackets" or "superscript").
1394   - Added support for ``compound`` elements.
1395   - Enabled multiple format names for "raw" directive.
1397 * docs/ref/docutils.dtd:
1399   - Changed structure of the ``line_block`` element; added ``line``.
1400   - Added ``compound`` element.
1401   - Added "ltrim" and "rtrim" attributes to
1402     ``substitution_definition`` element.
1403   - Enabled multiple format names for ``raw`` element.
1404   - Enabled multiple classifiers in ``definition_list_item`` elements.
1406 * docs/ref/rst/directives.txt
1408   - Marked "line-block" as deprecated.
1409   - "Class" directive now allows multiple class names.
1410   - Added "Rationale for Class Attribute Value Conversion".
1411   - Added warning about "raw" overuse/abuse.
1413 * docs/ref/rst/restructuredtext.txt:
1415   - Added syntax for line blocks.
1416   - Definition list items may have multiple classifiers.
1418 * docs/ref/rst/roles.txt:
1420   - Added "raw" role.
1422 * tools/stylesheets/default.css:
1424   - Added support for the new line_block structure.
1425   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1428 Release 0.3.5 (2004-07-29)
1429 ==========================
1431 General:
1433 * _`Documentation cleanup/reorganization`.
1435   - Created new subdirectories of docs/:
1437     * ``docs/user/``: introductory/tutorial material for end-users
1438     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1439     * ``docs/api/``: API reference material for client-developers
1440     * ``docs/ref/``: reference material for all groups
1441     * ``docs/howto/``: for component-developers and core-developers
1442     * ``docs/peps/``: Python Enhancement Proposals
1444   - Moved ``docs/*`` to ``docs/user/``.
1445   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1446     ``spec/`` to ``docs/dev``.
1447   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1448     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1449   - Moved ``alternatives.txt``, and ``problems.txt`` from
1450     ``spec/rst/`` to ``docs/dev/rst/``.
1451   - Moved ``reStructuredText.txt``, ``directives.txt``,
1452     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1453     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1454     ``roles.txt``, ``reStructuredText.txt`` to
1455     ``restructuredtext.txt``.
1456   - Moved ``spec/howto/`` to ``docs/howto``.
1458   In order to keep the CVS history of moved files, we supplied
1459   SourceForge with a `script for modifying the Docutils CVS
1460   repository`__.
1462   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1464   After running the cleanup script:
1466   - Added ``docs/index.txt``.
1467   - Added a ``.htaccess`` file to the ``web`` module, containing
1468     redirects for all old paths to new paths.  They'll preserve
1469     fragments (the "#name" part of a URL), and won't clutter up the
1470     file system, and will correct the URL in the user's browser.
1471   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1472     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1473     the "To Do" list itself in ``docs/dev/todo.txt``.
1474   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1475     section of ``docs/dev/todo.txt``.
1476   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1477   - Added "How To Report Bugs" to ``BUGS.txt``.
1478   - Went through all the sources and docs (including under web/) and
1479     updated links.  Mostly done by Lea Wiemann; thanks Lea!
1480     (Still need to update links in the sandboxes.)
1482 Specific:
1484 * BUGS.txt: Added to project.
1486 * THANKS.txt: Added to project.
1488 * docutils/__init__.py:
1490   - 0.3.4: Post-release.
1492 * docutils/core.py:
1494   - Added special error handling & advice for UnicodeEncodeError.
1495   - Refactored Publisher.publish (simplified exception handling &
1496     extracted debug dumps).
1497   - Renamed "enable_exit" parameter of convenience functions to
1498     "enable_exit_status".
1499   - Enabled traceback (exception propagation) by default in
1500     programmatic convenience functions.
1501   - Now publish_file and publish_cmdline convenience functions return
1502     the encoded string results in addition to their regular I/O.
1503   - Extracted common code from publish_file, publish_string, and
1504     publish_parts, into new publish_programmatically.  Extracted
1505     settings code to ``Publisher.process_programmatic_settings``.
1506   - In Publisher.publish, disabled ``settings_overrides`` when
1507     ``settings`` is supplied; redundant.
1509 * docutils/frontend.py:
1511   - Added help text for "--output-encoding-error-handler" and
1512     "--error-encoding-error-handler".
1513   - Renamed "--exit" to "--exit-status".
1514   - Simplified default-setting code.
1516 * docutils/parsers/rst/__init__.py:
1518   - Added "--pep-base-url" and "--rfc-base-url" options.
1520 * docutils/parsers/rst/states.py:
1522   - Made URI recognition more aggressive and intelligent.
1524 * docutils/parsers/rst/directives/__init__.py:
1526   - Added several directive option conversion functions.
1528 * docutils/parsers/rst/directives/body.py:
1530   - Moved "table" directive to tables.py.
1532 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1533   added to project.
1535 * docutils/writers/latex2e.py:
1537   - Added "--table-style=(standard|booktabs|nolines)"
1538   - figures get "here" option (LaTeX per default puts them at bottom),
1539     and figure content is centered.
1540   - Rowspan support for tables.
1541   - Fix: admonition titles before first section.
1542   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1543   - Replave ``_`` in literal by an underlined blank, because it has the correct
1544     width.
1545   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1546   - A few unicode replacements, if output_encoding != utf
1547   - Add "--graphicx-option".
1548   - Indent literal-blocks.
1549   - Fix: omit ``\maketitle`` when there is no document title.
1551 * docs/index.txt: "Docutils Project Documentation Overview", added to
1552   project.
1554 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1555   Tool", added to project.
1557 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1559 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1561 * docs/dev/policies.txt: Added to project (extracted from
1562   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1564 * docs/dev/release.txt: Added to project (extracted from
1565   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1567 * docs/dev/testing.txt: Added to project.
1569 * docs/dev/website.txt: Added to project (extracted from
1570   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1572 * docs/ref/rst/directives.txt:
1574   - Added directives: "table", "csv-table".
1576 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1577   added to project.  1 page for syntax, and a 1 page reference for
1578   directives and roles.  Source text to be used as-is; not meant to be
1579   converted to HTML.
1581 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1582   with a change of title.
1584 * test/functional/, contents, and test/test_functional.py: Added to
1585   project.
1587 * tools/buildhtml.py: Fixed bug with config file handling.
1589 * tools/html.py: Removed from project (duplicate of rst2html.py).
1591 * tools/pep2html.py: Removed from project (duplicate of Python's
1592   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1593   Docutils-related PEPs in docs/peps/).
1595 * tools/rst2pseudoxml.py: Renamed from publish.py.
1597 * tools/rst2xml.py: Renamed from docutils-xml.py.
1599 * tools/test.txt: Removed from project; moved to
1600   docs/user/rst/demo.txt.
1602 * setup.py: Now also installs ``rst2latex.py``.
1605 Release 0.3.3 (2004-05-09)
1606 ==========================
1608 * docutils/__init__.py:
1610   - 0.3.1: Reorganized config file format (multiple sections); see
1611     docs/config.txt.
1612   - Added unknown_reference_resolvers attribute to TransformSpec.
1613   - 0.3.2: Interpreted text reorganization.
1614   - 0.3.3: Released.
1616 * docutils/core.py:
1618   - Catch system messages to stop tracebacks from parsing errors.
1619   - Catch exceptions during processing report & exit without
1620     tracebacks, except when "--traceback" used.
1621   - Reordered components for OptionParser; application comes last.
1622   - Added "config_section" parameter to several methods and functions,
1623     allowing front ends to easily specify their config file sections.
1624   - Added publish_parts convenience function to allow access to individual
1625     parts of a document.
1627 * docutils/examples.py: Added to project; practical examples of
1628   Docutils client code, to be used as-is or as models for variations.
1630 * docutils/frontend.py:
1632   - Added "--traceback" & "--no-traceback" options ("traceback"
1633     setting).
1634   - Implemented support for config file reorganization:
1635     ``standard_config_files`` moved from ``ConfigParser`` to
1636     ``OptionParser``; added
1637     ``OptionParser.get_config_file_settings()`` and
1638     ``.get_standard_config_settings()``; support for old "[options]"
1639     section (with deprecation warning) and mapping from old to new
1640     settings.
1641   - Reimplemented setting validation.
1642   - Enabled flexible boolean values: yes/no, true/false, on/off.
1643   - Added ``Values``, a subclass of ``optparse.Values``, with support
1644     for list setting attributes.
1645   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1646     thanks to Beni Cherniavsky.
1647   - Added "--no-section-numbering" option.
1649 * docutils/io.py:
1651   - Catch IOErrors when opening source & destination files, report &
1652     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1653     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1655 * docutils/nodes.py:
1657   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1658     method definitions (via ``exec``) to dynamic assignments (via
1659     ``setattr``); thanks to Roman Suzi.
1660   - Encapsulated visitor dynamic assignments in a function; thanks to
1661     Ian Bicking.
1662   - Added indirect_reference_name attribute to the Targetable
1663     class. This attribute holds the whitespace_normalized_name
1664     (contains mixed case) of a target.
1666 * docutils/statemachine.py:
1668   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1669   - Added ``StringList.get_2D_block``.
1671 * docutils/utils.py:
1673   - Added "level" attribute to SystemMessage exceptions.
1675 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1676   Jannie Hofmeyr.
1678 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1679   Blaha.
1681 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1682   Marcelo Huerta San Martin.
1684 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1685   mappings by Lalo Martins.
1687 * docutils/languages/ru.py: Added to project; Russian mappings by
1688   Roman Suzi.
1690 * docutils/parsers/rst/roles.py: Added to project.  Contains
1691   interpreted text role functions, a registry for interpreted text
1692   roles, and an API for adding to and retrieving from the registry.
1693   Contributed by Edward Loper.
1695 * docutils/parsers/rst/states.py:
1697   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1698   - Allowed true em-dash character and "---" as block quote
1699     attribution marker.
1700   - Added support for <angle-bracketed> complex option arguments
1701     (option lists).
1702   - Fixed handling of backslashes in substitution definitions.
1703   - Fixed off-by-1 error with extra whitespace after substitution
1704     definition directive.
1705   - Added inline markup parsing to field lists' field names.
1706   - Added support for quoted (and unindented) literal blocks.
1707     Driven in part by a bribe from Frank Siebenlist (thanks!).
1708   - Parser now handles escapes in URIs correctly.
1709   - Made embedded-URIs' reference text omittable.  Idea from Beni
1710     Cherniavsky.
1711   - Refactored explicit target processing code.
1712   - Added name attribute to references containing the reference name only
1713     through whitespace_normalize_name (no case changes).
1714   - parse_target no longer returns the refname after going through
1715     normalize_name. This is now handled in make_target.
1716   - Fixed bug relating to role-less interpreted text in non-English
1717     contexts.
1718   - Reorganized interpreted text processing; moved code into the new
1719     roles.py module.  Contributed by Edward Loper.
1720   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1721     ``parse_directive_block``.
1723 * docutils/parsers/rst/tableparser.py:
1725   - Reworked for ``StringList``, to support "include" directives in
1726     table cells.
1728 * docutils/parsers/rst/directives/__init__.py:
1730   - Renamed ``unchanged()`` directive option conversion function to
1731     ``unchanged_required``, and added a new ``unchanged``.
1732   - Catch unicode value too high error; fixes bug 781766.
1733   - Beefed up directive error reporting.
1735 * docutils/parsers/rst/directives/body.py:
1737   - Added basic "table" directive.
1739 * docutils/parsers/rst/directives/images.py:
1741   - Added "target" option to "image" directive.
1742   - Added name attribute to references containing the reference name only
1743     through whitespace_normalize_name (no case changes).
1745 * docutils/parsers/rst/directives/misc.py:
1747   - Isolated the import of the ``urllib2`` module; was causing
1748     problems on SourceForge (``libssl.so.2`` unavailable?).
1749   - Added the "role" directive for declaring custom interpreted text
1750     roles.
1752 * docutils/parsers/rst/directives/parts.py:
1754   - The "contents" directive does more work up-front, creating the
1755     "topic" and "title", and leaving the "pending" node for the
1756     transform.  Allows earlier reference resolution; fixes subtle bug.
1758 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1759   mappings by Jannie Hofmeyr.
1761 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1762   mappings by Marek Blaha.
1764 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1765   mappings by Marcelo Huerta San Martin.
1767 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1768   Portuguese mappings by Lalo Martins.
1770 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1771   mappings by Roman Suzi.
1773 * docutils/transforms/parts.py:
1775   - The "contents" directive does more work up-front, creating the
1776     "topic" and "title", and leaving the "pending" node for the
1777     transform.  Allows earlier reference resolution; fixes subtle bug.
1778   - Added support for disabling of section numbering.
1780 * docutils/transforms/references.py:
1782   - Verifying that external targets are truly targets and not indirect
1783     references. This is because we are now adding a "name" attribute to
1784     references in addition to targets. Note sure if this is correct!
1785   - Added code to hook into the unknown_reference_resolvers list for a
1786     transformer in resolve_indirect_target. This allows the
1787     unknown_reference_resolvers to keep around indirect targets which
1788     docutils doesn't know about.
1789   - Added specific error message for duplicate targets.
1791 * docutils/transforms/universal.py:
1793   - Added FilterMessages transform (removes system messages below the
1794     verbosity threshold).
1795   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1796     to FinalCheckVisitor for application-specific handling of
1797     unresolvable references.
1798   - Added specific error message for duplicate targets.
1800 * docutils/writers/__init__.py:
1802   - Added assemble_parts method to the Writer class to allow for
1803     access to a documents individual parts.
1804   - Documented & set default for ``Writer.output`` attribute.
1806 * docutils/writers/html4css1.py:
1808   - Fixed unicode handling of attribute values (bug 760673).
1809   - Prevent duplication of "class" attribute values (bug report from
1810     Kirill Lapshin).
1811   - Improved table grid/border handling (prompted by report from Bob
1812     Marshall).
1813   - Added support for table titles.
1814   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1815     to Darek Suchojad.
1816   - Added functionality to keep track of individual parts of a document
1817     and store them in a dictionary as the "parts" attribute of the writer.
1818     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1819   - Added proper support for the "scale" attribute of the "image"
1820     element.  Contributed by Brent Cook.
1821   - Added ``--initial-header-level`` option.
1822   - Fixed bug: the body_pre_docinfo segment depended on there being a
1823     docinfo; if no docinfo, the document title was incorporated into
1824     the body segment.  Adversely affected the publish_parts interface.
1826 * docutils/writers/latex2e.py:
1828   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1829     about a missing file.
1830   - Added options and support: ``--compound-enumerators``,
1831     ``--section-prefix-for-enumerators``, and
1832     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1833     934322).
1834   - Added option ``--use-verbatim-when-possible``, to avoid
1835     problematic characters (eg, '~' in italian) in literal blocks.
1836   - It's now possible to use four section levels in the `book` and
1837     `report` LaTeX classes.  The default `article` class still has
1838     three levels limit.
1840 * docs/config.txt: "Docutils Configuration Files", added to project.
1841   Moved config file entry descriptions from tools.txt.
1843 * docs/tools.txt:
1845   - Moved config file entry descriptions to config.txt.
1847 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
1848   Development".
1850 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1851   Text Roles", added to project.
1853 * spec/rst/reStructuredText.txt:
1855   - Added description of support for <angle-bracketed> complex option
1856     arguments to option lists.
1857   - Added subsections for indented and quoted literal blocks.
1859 * test: Continually adding & updating tests.
1861   - Added test/test_settings.py & test/data/config_*.txt support
1862     files.
1863   - Added test/test_writers/test_htmlfragment.py.
1865 * test/DocutilsTestSupport.py:
1867   - Refactored LaTeX publisher test suite/case class names to make
1868     testing other writers easier.
1869   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1870     to test the processing of HTML fragments which use the new
1871     publish_parts convenience function.
1873 * tools/buildhtml.py:
1875   - Added support for the "--prune" option.
1876   - Removed dependency on pep2html.py; plaintext PEPs no longer
1877     supported.
1879 * tools/docutils.conf:
1881   - Updated for configuration file reorganization.
1883 * tools/rst2html.py:
1885   - copied from tools/html.py
1887 * setup.py:
1889   - added a 'scripts' section to configuration
1890   - added 'tools/rst2html.py' to the scripts section
1893 Release 0.3 (2003-06-24)
1894 ========================
1896 General:
1898 * Renamed "attribute" to "option" for directives/extensions.
1900 * Renamed transform method "transform" to "apply".
1902 * Renamed "options" to "settings" for runtime settings (as set by
1903   command-line options).  Sometimes "option" (singular) became
1904   "settings" (plural).  Some variations below:
1906   - document.options -> document.settings (stored in other objects as
1907     well)
1908   - option_spec -> settings_spec (not directives though)
1909   - OptionSpec -> SettingsSpec
1910   - cmdline_options -> settings_spec
1911   - relative_path_options -> relative_path_settings
1912   - option_default_overrides -> settings_default_overrides
1913   - Publisher.set_options -> Publisher.get_settings
1915 Specific:
1917 * COPYING.txt: Added "Public Domain Dedication".
1919 * FAQ.txt: Frequently asked questions, added to project.
1921 * setup.py:
1923   - Updated with PyPI Trove classifiers.
1924   - Conditional installation of third-party modules.
1926 * docutils/__init__.py:
1928   - Bumped version to 0.2.1 to reflect changes to I/O classes.
1929   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1930   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1931   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1932     option and its effect on the PEP template & writer.
1933   - Bumped version to 0.2.4 due to changes to the PEP template &
1934     stylesheet.
1935   - Bumped version to 0.2.5 to reflect changes to Reporter output.
1936   - Added ``TransformSpec`` class for new transform system.
1937   - Bumped version to 0.2.6 for API changes (renaming).
1938   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1939     convenience functions.
1940   - Added ``Component.component_type`` attribute.
1941   - Bumped version to 0.2.8 because of the internal parser switch from
1942     plain lists to the docutils.statemachine.StringList objects.
1943   - Bumped version to 0.2.9 because of the frontend.py API changes.
1944   - Bumped version to 0.2.10 due to changes to the project layout
1945     (third-party modules removed from the "docutils" package), and
1946     signature changes in ``io.Input``/``io.Output``.
1947   - Changed version to 0.3.0 for release.
1949 * docutils/core.py:
1951   - Made ``publish()`` a bit more convenient.
1952   - Generalized ``Publisher.set_io``.
1953   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1954     parameters; improved its docstring.
1955   - Added ``publish_file()`` and ``publish_string()``.
1956   - Factored ``Publisher.set_source()`` and ``.set_destination()``
1957     out of ``.set_io``.
1958   - Added support for "--dump-pseudo-xml", "--dump-settings", and
1959     "--dump-transforms" hidden options.
1960   - Added ``Publisher.apply_transforms()`` method.
1961   - Added ``Publisher.set_components()`` method; support for
1962     ``publish_*()`` conveninece functions.
1963   - Moved config file processing to docutils/frontend.py.
1964   - Added support for exit status ("exit_level" setting &
1965     ``enable_exit`` parameter for Publisher.publish() and convenience
1966     functions).
1968 * docutils/frontend.py:
1970   - Check for & exit on identical source & destination paths.
1971   - Fixed bug with absolute paths & "--config".
1972   - Set non-command-line defaults in ``OptionParser.__init__()``:
1973     ``_source`` & ``_destination``.
1974   - Distributed ``relative_path_settings`` to components; updated
1975     ``OptionParser.populate_from_components()`` to combine it all.
1976   - Require list of keys in ``make_paths_absolute`` (was implicit in
1977     global ``relative_path_settings``).
1978   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1979     "--dump-settings", and "--dump-transforms" hidden options.
1980   - Removed nasty internals-fiddling ``ConfigParser.get_section``
1981     code, replaced with correct code.
1982   - Added validation functionality for config files.
1983   - Added "--error-encoding" option/setting, "_disable_config"
1984     internal setting.
1985   - Added encoding validation; updated "--input-encoding" and
1986     "--output-encoding"; added "--error-encoding-error-handler" and
1987     "--output-encoding-error-handler".
1988   - Moved config file processing from docutils/core.py.
1989   - Updated ``OptionParser.populate_from_components`` to handle new
1990     ``SettingsSpec.settings_defaults`` dict.
1991   - Added support for "-" => stdin/stdout.
1992   - Added "exit_level" setting ("--exit" option).
1994 * docutils/io.py:
1996   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1997   - Added automatic closing to ``FileInput`` and ``FileOutput``.
1998   - Delayed opening of ``FileOutput`` file until ``write()`` called.
1999   - ``FileOutput.write()`` now returns the encoded output string.
2000   - Try to get path/stream name automatically in ``FileInput`` &
2001     ``FileOutput``.
2002   - Added defaults for source & destination paths.
2003   - Allow for Unicode I/O with an explicit "unicode" encoding.
2004   - Added ``Output.encode()``.
2005   - Removed dependency on runtime settings; pass encoding directly.
2006   - Recognize Unicode strings in ``Input.decode()``.
2007   - Added support for output encoding error handlers.
2009 * docutils/nodes.py:
2011   - Added "Invisible" element category class.
2012   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
2013     modification during a traversal.
2014   - Added element classes: ``line_block``, ``generated``, ``address``,
2015     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
2016     ``superscript``, ``subscript``, ``inline``
2017   - Added support for lists of nodes to ``Element.insert()``.
2018   - Fixed parent linking in ``Element.replace()``.
2019   - Added new abstract superclass ``FixedTextElement``; adds
2020     "xml:space" attribute.
2021   - Added support for "line" attribute of ``system_message`` nodes.
2022   - Added support for the observer pattern from ``utils.Reporter``.
2023     Added ``parse_messages`` and ``transform_messages`` attributes to
2024     ``document``, removed ``messages``.  Added ``note_parse_message``
2025     and ``note_transform_message`` methods.
2026   - Added support for improved diagnostics:
2028     - Added "document", "source", and "line" internal attributes to
2029       ``Node``, set by ``Node.setup_child()``.
2030     - Converted variations on ``node.parent = self`` to
2031       ``self.setup_child(node)``.
2032     - Added ``document.current_source`` & ``.current_line``
2033       attributes, and ``.note_source`` observer method.
2034     - Changed "system_message" output to GNU-Tools format.
2036   - Added a "rawsource" attribute to the ``Text`` class, for text
2037     before backslash-escape resolution.
2038   - Support for new transform system.
2039   - Reworked ``pending`` element.
2040   - Fixed XML DOM bug (SF #660611).
2041   - Removed the ``interpeted`` element class and added
2042     ``title_reference``, ``abbreviation``, ``acronym``.
2043   - Made substitutions case-sensitive-but-forgiving; moved some code
2044     from the parser.
2045   - Fixed Unicode bug on element attributes (report: William Dode).
2047 * docutils/optik.py: Removed from project; replaced with
2048   extras/optparse.py and extras/textwrap.py.  These will be installed
2049   only if they're not already present in the Python installation.
2051 * docutils/roman.py: Moved to extras/roman.py; this will be installed
2052   only if it's not already present in the Python installation.
2054 * docutils/statemachine.py:
2056   - Factored out ``State.add_initial_transitions()`` so it can be
2057     extended.
2058   - Converted whitespace-specific "blank" and "indent" transitions
2059     from special-case code to ordinary transitions: removed
2060     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
2061     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
2062     ``ws_initial_transitions`` attributes.
2063   - Removed ``State.match_transition()`` after merging it into
2064     ``.check_line()``.
2065   - Added ``StateCorrection`` exception.
2066   - Added support for ``StateCorrection`` in ``StateMachine.run()``
2067     (moved ``TransitionCorrection`` support there too.)
2068   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
2069     ``EOFError`` instead of ``IndexError``.
2070   - Added ``State.no_match`` method.
2071   - Added support for the Observer pattern, triggered by input line
2072     changes.
2073   - Added ``strip_top`` parameter to
2074     ``StateMachineWS.get_first_known_indented``.
2075   - Made ``context`` a parameter to ``StateMachine.run()``.
2076   - Added ``ViewList`` & ``StringList`` classes;
2077     ``extract_indented()`` becomes ``StringList.get_indented()``.
2078   - Added ``StateMachine.insert_input()``.
2079   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
2080     thanks to) Fred Drake.
2082 * docutils/utils.py:
2084   - Added a ``source`` attribute to Reporter instances and
2085     ``system_message`` elements.
2086   - Added an observer pattern to ``utils.Reporter`` to keep track of
2087     system messages.
2088   - Fixed bugs in ``relative_path()``.
2089   - Added support for improved diagnostics.
2090   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
2091   - Added support for encoding Reporter stderr output, and encoding
2092     error handlers.
2093   - Reporter keeps track of the highest level system message yet
2094     generated.
2096 * docutils/languages: Fixed bibliographic field language lookups.
2098 * docutils/languages/es.py: Added to project; Spanish mappings by
2099   Marcelo Huerta San Martin.
2101 * docutils/languages/fr.py: Added to project; French mappings by
2102   Stefane Fermigier.
2104 * docutils/languages/it.py: Added to project; Italian mappings by
2105   Nicola Larosa.
2107 * docutils/languages/sk.py: Added to project; Slovak mappings by
2108   Miroslav Vasko.
2110 * docutils/parser/__init__.py:
2112   - Added ``Parser.finish_parse()`` method.
2114 * docutils/parser/rst/__init__.py:
2116   - Added options: "--pep-references", "--rfc-references",
2117     "--tab-width", "--trim-footnote-reference-space".
2119 * docutils/parsers/rst/states.py:
2121   - Changed "title under/overline too short" system messages from INFO
2122     to WARNING, and fixed its insertion location.
2123   - Fixed enumerated list item parsing to allow paragraphs & section
2124     titles to begin with enumerators.
2125   - Converted system messages to use the new "line" attribute.
2126   - Fixed a substitution reference edge case.
2127   - Added support for "--pep-references" and "--rfc-references"
2128     options; reworked ``Inliner`` code to make customization easier.
2129   - Removed field argument parsing.
2130   - Added support for short section title over/underlines.
2131   - Fixed "simple reference name" regexp to ignore text like
2132     "object.__method__"; not an anonymous reference.
2133   - Added support for improved diagnostics.
2134   - Reworked directive API, based on Dethe Elza's contribution.  Added
2135     ``Body.parse_directive()``, ``.parse_directive_options()``,
2136     ``.parse_directive_arguments()`` methods.
2137   - Added ``ExtensionOptions`` class, to parse directive options
2138     without parsing field bodies.  Factored
2139     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
2140     ``ExtensionOptions``.
2141   - Improved definition list term/classifier parsing.
2142   - Added warnings for unknown directives.
2143   - Renamed ``Stuff`` to ``Struct``.
2144   - Now flagged as errors: transitions at the beginning or end of
2145     sections, empty sections (except title), and empty documents.
2146   - Updated for ``statemachine.StringList``.
2147   - Enabled recognition of schemeless email addresses in targets.
2148   - Added support for embedded URIs in hyperlink references.
2149   - Added backslash-escapes to inline markup end-string suffix.
2150   - Added support for correct interpreted text processing.
2151   - Fixed nested title parsing (topic, sidebar directives).
2152   - Added special processing of backslash-escaped whitespace (idea
2153     from David Abrahams).
2154   - Made substitutions case-sensitive-but-forgiving; moved some code
2155     to ``docutils.nodes``.
2156   - Added support for block quote attributions.
2157   - Added a kludge to work-around a conflict between the bubble-up
2158     parser strategy and short titles (<= 3 char-long over- &
2159     underlines).  Fixes SF bug #738803 "infinite loop with multiple
2160     titles" submitted by Jason Diamond.
2161   - Added explicit interpreted text roles for standard inline markup:
2162     "emphasis", "strong", "literal".
2163   - Implemented "superscript" and "subscript" interpreted text roles.
2164   - Added initial support for "abbreviation" and "acronym" roles;
2165     incomplete.
2166   - Added support for "--trim-footnote-reference-space" option.
2167   - Optional space before colons in directives & hyperlink targets.
2169 * docutils/parsers/rst/tableparser.py:
2171   - Fixed a bug that was producing unwanted empty rows in "simple"
2172     tables.
2173   - Detect bad column spans in "simple" tables.
2175 * docutils/parsers/rst/directives: Updated all directive functions to
2176   new API.
2178 * docutils/parsers/rst/directives/__init__.py:
2180   - Added ``flag()``, ``unchanged()``, ``path()``,
2181     ``nonnegative_int()``, ``choice()``, and ``class_option()``
2182     directive option helper functions.
2183   - Added warnings for unknown directives.
2184   - Return ``None`` for missing directives.
2185   - Added ``register_directive()``, thanks to William Dode and Paul
2186     Moore.
2188 * docutils/parsers/rst/directives/admonitions.py:
2190   - Added "admonition" directive.
2192 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
2193   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2194   "parsed-literal", "rubric", "epigraph", "highlights" and
2195   "pull-quote" directives.
2197 * docutils/parsers/rst/directives/images.py:
2199   - Added an "align" attribute to the "image" & "figure" directives
2200     (by Adam Chodorowski).
2201   - Added "class" option to "image", and "figclass" to "figure".
2203 * docutils/parsers/rst/directives/misc.py:
2205   - Added "include", "raw", and "replace" directives, courtesy of
2206     Dethe Elza.
2207   - Added "unicode" and "class" directives.
2209 * docutils/parsers/rst/directives/parts.py:
2211   - Added the "sectnum" directive; by Dmitry Jemerov.
2212   - Added "class" option to "contents" directive.
2214 * docutils/parsers/rst/directives/references.py: Added to project.
2215   Contains the "target-notes" directive.
2217 * docutils/parsers/rst/languages/__init__.py:
2219   - Return ``None`` from get_language() for missing language modules.
2221 * docutils/parsers/rst/languages/de.py: Added to project; German
2222   mappings by Engelbert Gruber.
2224 * docutils/parsers/rst/languages/en.py:
2226   - Added interpreted text roles mapping.
2228 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2229   mappings by Marcelo Huerta San Martin.
2231 * docutils/parsers/rst/languages/fr.py: Added to project; French
2232   mappings by William Dode.
2234 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2235   mappings by Nicola Larosa.
2237 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2238   mappings by Miroslav Vasko.
2240 * docutils/readers/__init__.py:
2242   - Added support for the observer pattern from ``utils.Reporter``, in
2243     ``Reader.parse`` and ``Reader.transform``.
2244   - Removed ``Reader.transform()`` method.
2245   - Added default parameter values to ``Reader.__init__()`` to make
2246     instantiation easier.
2247   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2249 * docutils/readers/pep.py:
2251   - Added the ``peps.TargetNotes`` transform to the Reader.
2252   - Removed PEP & RFC reference detection code; moved to
2253     parsers/rst/states.py as options (enabled here by default).
2254   - Added support for pre-acceptance PEPs (no PEP number yet).
2255   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2256     easy subclassing.
2258 * docutils/readers/python: Python Source Reader subpackage added to
2259   project, including preliminary versions of:
2261   - __init__.py
2262   - moduleparser.py: Parser for Python modules.
2264 * docutils/transforms/__init__.py:
2266   - Added ``Transformer`` class and completed transform reform.
2267   - Added unknown_reference_resolvers list for each transformer. This list holds
2268     the list of functions provided by each component of the transformer that
2269     help resolve references.
2271 * docutils/transforms/frontmatter.py:
2273   - Improved support for generic fields.
2274   - Fixed bibliographic field language lookups.
2276 * docutils/transforms/misc.py: Added to project.  Miscellaneous
2277   transforms.
2279 * docutils/transforms/parts.py:
2281   - Moved the "id" attribute from TOC list items to the references
2282     (``Contents.build_contents()``).
2283   - Added the ``SectNum`` transform; by Dmitry Jemerov.
2284   - Added "class" attribute support to ``Contents``.
2286 * docutils/transforms/peps.py:
2288   - Added ``mask_email()`` function, updating to pep2html.py's
2289     functionality.
2290   - Linked "Content-Type: text/x-rst" to PEP 12.
2291   - Added the ``TargetNotes`` PEP-specific transform.
2292   - Added ``TargetNotes.cleanup_callback``.
2293   - Added title check to ``Headers``.
2295 * docutils/transforms/references.py:
2297   - Added the ``TargetNotes`` generic transform.
2298   - Split ``Hyperlinks`` into multiple transforms.
2299   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2300   - Added check for circular indirect references.
2301   - Made substitutions case-sensitive-but-forgiving.
2303 * docutils/transforms/universal.py:
2305   - Added support for the "--expose-internal-attributes" option.
2306   - Removed ``Pending`` transform classes & data.
2308 * docutils/writers/__init__.py:
2310   - Removed ``Writer.transform()`` method.
2312 * docutils/writers/docutils-xml.py:
2314   - Added XML and doctype declarations.
2315   - Added "--no-doctype" and "--no-xml-declaration" options.
2317 * docutils/writers/html4css1.py:
2319   - "name" attributes only on these tags: a, applet, form, frame,
2320     iframe, img, map.
2321   - Added "name" attribute to <a> in section titles for Netscape 4
2322     support (bug report: Pearu Peterson).
2323   - Fixed targets (names) on footnote, citation, topic title,
2324     problematic, and system_message nodes (for Netscape 4).
2325   - Changed field names from "<td>" to "<th>".
2326   - Added "@" to "&#64;" encoding to thwart address harvesters.
2327   - Improved the vertical whitespace optimization; ignore "invisible"
2328     nodes (targets, comments, etc.).
2329   - Improved inline literals with ``<span class="pre">`` around chunks
2330     of text and ``&nbsp;`` for runs of spaces.
2331   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2332     ``self.docinfo`` segments.
2333   - Added support for "line_block", "address" elements.
2334   - Improved backlinks (footnotes & system_messages).
2335   - Improved system_message output.
2336   - Redefined "--stylesheet" as containing an invariant URL, used
2337     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2338     working directory.
2339   - Added "--footnote-references" option (superscript or brackets).
2340   - Added "--compact-lists" and "--no-compact-lists" options.
2341   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2342     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2343   - Improved field list rendering.
2344   - Added Docutils version to "generator" meta tag.
2345   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2346   - Improved layout of <pre> HTML source.
2347   - Fixed attribute typo on <colspec>.
2348   - Refined XML prologue.
2349   - Support for no stylesheet.
2350   - Removed "interpreted" element support.
2351   - Added support for "title_reference", "sidebar", "attribution",
2352     "rubric", and generic "admonition" elements.
2353   - Added "--attribution" option.
2354   - Added support for "inline", "subscript", "superscript" elements.
2355   - Added initial support for "abbreviation" and "acronym";
2356     incomplete.
2358 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2359   (from the sandbox).
2361   - Added french.
2362   - Double quotes in literal blocks (special treatment for de/ngerman).
2363   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2364   - Added  "--attribution" option.
2365   - Right align attributions.
2367 * docutils/writers/pep_html.py:
2369   - Parameterized output encoding in PEP template.
2370   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2371   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2372     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2373     working directory.
2374   - Added an override on the "--footnote-references" option.
2375   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2376   - Added Docutils version to "generator" meta tag.
2377   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2379 * docs/tools.txt:
2381   - Added a "silent" setting for ``buildhtml.py``.
2382   - Added a "Getting Help" section.
2383   - Rearranged the structure.
2384   - Kept up to date, with new settings, command-line options etc.
2385   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2386   - Converted settings table into a definition list.
2388 * docs/rst/quickstart.txt:
2390   - Added a table of contents.
2391   - Added feedback information.
2392   - Added mention of minimum section title underline lengths.
2393   - Removed the 4-character minimum for section title underlines.
2395 * docs/rst/quickref.html:
2397   - Added a "Getting Help" section.
2398   - Added a style to make section title backlinks more subtle.
2399   - Added mention of minimum section title underline lengths.
2400   - Removed the 4-character minimum for section title underlines.
2402 * extras: Directory added to project; contains third-party modules
2403   that Docutils depends on (optparse, textwrap, roman).  These are
2404   only installed if they're not already present.
2406 * licenses: Directory added to project; contains copies of license
2407   files for non-public-domain files.
2409 * spec/doctree.txt:
2411   - Changed the focus.  It's about DTD elements:  structural
2412     relationships, semantics, and external (public) attributes.  Not
2413     about the element class library.
2414   - Moved some implementation-specific stuff into ``docutils.nodes``
2415     docstrings.
2416   - Wrote descriptions of all common attributes and parameter
2417     entities.  Filled in introductory material.
2418   - Working through the element descriptions: 55 down, 37 to go.
2419   - Removed "Representation of Horizontal Rules" to
2420     spec/rst/alternatives.txt.
2422 * spec/docutils.dtd:
2424   - Added "generated" inline element.
2425   - Added "line_block" body element.
2426   - Added "auto" attribute to "title".
2427   - Changed content models of "literal_block" and "doctest_block" to
2428     ``%text.model``.
2429   - Added ``%number;`` attribute type parameter entity.
2430   - Changed ``%structural.elements;`` to ``%section.elements``.
2431   - Updated attribute types; made more specific.
2432   - Added "address" bibliographic element.
2433   - Added "line" attribute to ``system_message`` element.
2434   - Removed "field_argument" element; "field_name" may contain
2435     multiple words and whitespace.
2436   - Changed public identifier to docutils.sf.net.
2437   - Removed "interpreted" element; added "title_reference",
2438     "abbreviation", "acronym".
2439   - Removed "refuri" attribute from "footnote_reference" and
2440     "citation_reference".
2441   - Added "sidebar", "rubric", "attribution", "admonition",
2442     "superscript", "subscript", and "inline" elements.
2444 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2446 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2448 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2450 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2451   Dallas Mahrt.
2453 * spec/transforms.txt: Added to project.
2455 * spec/howto: Added subdirectory, for developer how-to docs.
2457 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2458   Elza, edited & extended by David Goodger.
2460 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
2461   project.
2463 * spec/rst/alternatives.txt:
2465   - Added "Doctree Representation of Transitions" from
2466     spec/doctree.txt.
2467   - Updated "Inline External Targets" & closed the debate.
2468   - Added ideas for interpreted text syntax extensions.
2469   - Added "Nested Inline Markup" section.
2471 * spec/rst/directives.txt:
2473   - Added directives: "topic", "sectnum", "target-notes",
2474     "line-block", "parsed-literal", "include", "replace", "sidebar",
2475     "admonition", "rubric", "epigraph", "highlights", "unicode" and
2476     "class".
2477   - Formalized descriptions of directive details.
2478   - Added an "align" attribute to the "image" & "figure" directives
2479     (by Adam Chodorowski).
2480   - Added "class" options to "topic", "sidebar", "line-block",
2481     "parsed-literal", "contents", and "image"; and "figclass" to
2482     "figure".
2484 * spec/rst/interpreted.txt: Added to project.  Descriptions of
2485   interpreted text roles.
2487 * spec/rst/introduction.txt:
2489   - Added pointers to material for new users.
2491 * spec/rst/reStructuredText.txt:
2493   - Disambiguated comments (just add a newline after the "::").
2494   - Updated enumerated list description; added a discussion of the
2495     second-line validity checking.
2496   - Updated directive description.
2497   - Added a note redirecting newbies to the user docs.
2498   - Expanded description of inline markup start-strings in non-markup
2499     contexts.
2500   - Removed field arguments and made field lists a generic construct.
2501   - Removed the 4-character minimum for section title underlines.
2502   - Clarified term/classifier delimiter & inline markup ambiguity
2503     (definition lists).
2504   - Added "Embedded URIs".
2505   - Updated "Interpreted Text" section.
2506   - Added "Character-Level Inline Markup" section.
2508 * test: Continually adding & updating tests.
2510   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2511   - Moved test/test_pep/ to test/test_readers/test_pep/.
2512   - Added test/test_readers/test_python/.
2513   - Added test/test_writers/ (Engelbert Gruber).
2515 * tools:
2517   - Made the ``locale.setlocale()`` calls in front ends
2518     fault-tolerant.
2520 * tools/buildhtml.py:
2522   - Added "--silent" option.
2523   - Fixed bug with absolute paths & "--config".
2524   - Updated for new I/O classes.
2525   - Added some exception handling.
2526   - Separated publishers' setting defaults; prevents interference.
2527   - Updated for new ``publish_file()`` convenience function.
2529 * tools/pep-html-template:
2531   - Allow for "--embed-stylesheet".
2532   - Added Docutils version to "generator" meta tag.
2533   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2534   - Conform to XHTML spec.
2536 * tools/pep2html.py:
2538   - Made ``argv`` a parameter to ``main()``.
2539   - Added support for "Content-Type:" header & arbitrary PEP formats.
2540   - Linked "Content-Type: text/plain" to PEP 9.
2541   - Files skipped (due to an error) are not pushed onto the server.
2542   - Updated for new I/O classes.
2543   - Added ``check_requirements()`` & ``pep_type_error()``.
2544   - Added some exception handling.
2545   - Updated for new ``publish_string()`` convenience function.
2546   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2548 * tools/quicktest.py:
2550   - Added "-V"/"--version" option.
2552 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2554 * tools/unicode2rstsubs.py: Added to project.  Produces character
2555   entity files (reSructuredText substitutions) from the MathML master
2556   unicode.xml file.
2558 * tools/editors: Support code for editors, added to project.  Contains
2559   ``emacs/restructuredtext.el``.
2561 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2563   - Added style for chunks of inline literals.
2564   - Removed margin for first child of table cells.
2565   - Right-aligned field list names.
2566   - Support for auto-numbered section titles in TOCs.
2567   - Increased the size of inline literals (<tt>) in titles.
2568   - Restored the light gray background for inline literals.
2569   - Added support for "line_block" elements.
2570   - Added style for "address" elements.
2571   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2572   - Improved field list rendering.
2573   - Vertical whitespace improvements.
2574   - Removed "a.target" style.
2576 * tools/stylesheets/pep.css:
2578   - Fixed nested section margins.
2579   - Other changes parallel those of ``../default.css``.
2582 Release 0.2 (2002-07-31)
2583 ========================
2585 General:
2587 - The word "component" was being used ambiguously.  From now on,
2588   "component" will be used to mean "Docutils component", as in Reader,
2589   Writer, Parser, or Transform.  Portions of documents (Table of
2590   Contents, sections, etc.)  will be called "document parts".
2591 - Did a grand renaming: a lot of ``verylongnames`` became
2592   ``very_long_names``.
2593 - Cleaned up imports: no more relative package imports or
2594   comma-separated lists of top-level modules.
2595 - Added support for an option values object which carries default
2596   settings and overrides (from command-line options and library use).
2597 - Added internal Unicode support, and support for both input and
2598   output encodings.
2599 - Added support for the ``docutils.io.IO`` class & subclasses.
2601 Specific:
2603 * docutils/__init__.py:
2605   - Added ``ApplicationError`` and ``DataError``, for use throughout
2606     the package.
2607   - Added ``Component`` base class for Docutils components; implements
2608     the ``supports`` method.
2609   - Added ``__version__`` (thus, ``docutils.__version__``).
2611 * docutils/core.py:
2613   - Removed many keyword parameters to ``Publisher.__init__()`` and
2614     ``publish()``; bundled into an option values object.  Added
2615     "argv", "usage", "description", and "option_spec" parameters for
2616     command-line support.
2617   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2618     methods.
2619   - Reworked I/O model for ``docutils.io`` wrappers.
2620   - Updated ``Publisher.set_options()``; now returns option values
2621     object.
2622   - Added support for configuration files (/etc/docutils.conf,
2623     ./docutils.conf, ~/.docutils).
2624   - Added ``Publisher.setup_option_parser()``.
2625   - Added default usage message and description.
2627 * docutils/frontend.py: Added to project; support for front-end
2628   (command-line) scripts.  Option specifications may be augmented by
2629   components.  Requires Optik (http://optik.sf.net/) for option
2630   processing (installed locally as docutils/optik.py).
2632 * docutils/io.py: Added to project; uniform API for a variety of input
2633   output mechanisms.
2635 * docutils/nodes.py:
2637   - Added ``TreeCopyVisitor`` class.
2638   - Added a ``copy`` method to ``Node`` and subclasses.
2639   - Added a ``SkipDeparture`` exception for visitors.
2640   - Renamed ``TreePruningException`` from ``VisitorException``.
2641   - Added docstrings to ``TreePruningException``, subclasses, and
2642     ``Nodes.walk()``.
2643   - Improved docstrings.
2644   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2645   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2646     imports.
2647   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2648     ``PreDecorative`` mixin.
2649   - Reworked the name/id bookkeeping; to ``document``, removed
2650     ``explicit_targets`` and ``implicit_targets`` attributes, added
2651     ``nametypes`` attribute and ``set_name_id_map`` method.
2652   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2653     traversals.
2654   - Added ``document.has_name()`` method.
2655   - Fixed DOM generation for list-attributes.
2656   - Added category class ``Labeled`` (used by footnotes & citations).
2657   - Added ``Element.set_class()`` method (sets "class" attribute).
2659 * docutils/optik.py: Added to project.  Combined from the Optik
2660   package, with added option groups and other modifications.  The use
2661   of this module is probably only temporary.
2663 * docutils/statemachine.py:
2665   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2666   - Added underscores to improve many awkward names.
2667   - In ``string2lines()``, changed whitespace normalizing translation
2668     table to regexp; restores Python 2.0 compatibility with Unicode.
2670 * docutils/urischemes.py:
2672   - Filled in some descriptions.
2673   - Added "shttp" scheme.
2675 * docutils/utils.py:
2677   - Added ``clean_rcs_keywords`` function (moved from
2678     docutils/transforms/frontmatter.py
2679     ``DocInfo.filter_rcs_keywords``).
2680   - Added underscores to improve many awkward names.
2681   - Changed names of Reporter's thresholds:
2682     warning_level -> report_level; error_level -> halt_level.
2683   - Moved ``utils.id()`` to ``nodes.make_id()``.
2684   - Added ``relative_path(source, target)``.
2686 * docutils/languages/de.py: German mappings; added to project.  Thanks
2687   to Gunnar Schwant for the translations.
2689 * docutils/languages/en.py: Added "Dedication" bibliographic field
2690   mappings.
2692 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2693   Chodorowski.
2695 * docutils/parsers/rst/states.py:
2697   - Added underscores to improve many awkward names.
2698   - Added RFC-2822 header support.
2699   - Extracted the inline parsing code from ``RSTState`` to a separate
2700     class, ``Inliner``, which will allow easy subclassing.
2701   - Made local bindings for ``memo`` container & often-used contents
2702     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2703   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2704   - Added ``MarkupMismatch`` exception; for late corrections.
2705   - Added ``-/:`` characters to inline markup's start string prefix,
2706     ``/`` to end string suffix.
2707   - Fixed a footnote bug.
2708   - Fixed a bug with literal blocks.
2709   - Applied patch from Simon Budig: simplified regexps with symbolic
2710     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2711   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2712   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2713   - Allowed non-ASCII in "simple names" (directive names, field names,
2714     references, etc.).
2715   - Converted ``Inliner.patterns.initial`` to be dynamically built
2716     from parts with ``build_regexp()`` function.
2717   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2718   - Updated docstrings.
2719   - Changed "table" to "grid_table"; added "simple_table" support.
2721 * docutils/parsers/rst/tableparser.py:
2723   - Changed ``TableParser`` to ``GridTableParser``.
2724   - Added ``SimpleTableParser``.
2725   - Refactored naming.
2727 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2728   a fallback language for directive names.
2730 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2731   directive to use a ``pending`` element, used only by HTML writers.
2733 * docutils/parsers/rst/directives/parts.py: Renamed from
2734   components.py.
2736   - Added "backlinks" attribute to "contents" directive.
2738 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2739   project by Adam Chodorowski.
2741 * docutils/readers/__init__.py: Gave Readers more control over
2742   choosing and instantiating Parsers.
2744 * docutils/readers/pep.py: Added to project; for PEP processing.
2746 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2747   requires a ``component`` parameter.
2749 * docutils/transforms/components.py: Added to project; transforms
2750   related to Docutils components.
2752 * docutils/transforms/frontmatter.py:
2754   - In ``DocInfo.extract_authors``, check for a single "author" in an
2755     "authors" group, and convert it to a single "author" element.
2756   - Added support for "Dedication" and generic bibliographic fields.
2758 * docutils/transforms/peps.py: Added to project; PEP-specific.
2760 * docutils/transforms/parts.py: Renamed from old components.py.
2762   - Added filter for `Contents`, to use alt-text for inline images,
2763     and to remove inline markup that doesn't make sense in the ToC.
2764   - Added "name" attribute to TOC topic depending on its title.
2765   - Added support for optional TOC backlinks.
2767 * docutils/transforms/references.py: Fixed indirect target resolution
2768   in ``Hyperlinks`` transform.
2770 * docutils/transforms/universal.py:
2772   - Changed ``Messages`` transform to properly filter out system
2773     messages below the warning threshold.
2774   - Added ``Decorations`` transform (support for ``--generator``,
2775     ``--date``, ``--time``, ``--source-link`` options).
2777 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2778   Engelbert Gruber's PDF writer.
2780 * docutils/writers/html4css1.py:
2782   - Made XHTML-compatible (switched to lowercase element & attribute
2783     names; empty tag format).
2784   - Escape double-dashes in comment text.
2785   - Improved boilerplate & modularity of output.
2786   - Exposed modular output in Writer class.
2787   - Added a "generator" meta tag to <head>.
2788   - Added support for the ``--stylesheet`` option.
2789   - Added support for ``decoration``, ``header``, and ``footer``
2790     elements.
2791   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2792     translation table to regexp; restores Python 2.0 compatibility
2793     with Unicode.
2794   - Added the translator class as instance variable to the Writer, to
2795     make it easily subclassable.
2796   - Improved option list spacing (thanks to Richard Jones).
2797   - Modified field list output.
2798   - Added backlinks to footnotes & citations.
2799   - Added percentage widths to "<col>" tags (from colspec).
2800   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2801     "<span>" changed to "<var>".
2802   - Inline literals: "<code>" changed to "<tt>".
2803   - Many changes to optimize vertical space: compact simple lists etc.
2804   - Add a command-line options & directive attributes to control TOC
2805     and footnote/citation backlinks.
2806   - Added support for optional footnote/citation backlinks.
2807   - Added support for generic bibliographic fields.
2808   - Identify backrefs.
2809   - Relative URLs for stylesheet links.
2811 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2812   PEPs (subclass of ``html4css1.Writer``).
2814 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2816 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2817   of the Docutils internal doctree in XML.
2819 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2821 * spec/doctree.txt:
2823   - Changed the title to "The Docutils Document Tree".
2824   - Added "Hyperlink Bookkeeping" section.
2826 * spec/docutils.dtd:
2828   - Added ``decoration``, ``header``, and ``footer`` elements.
2829   - Brought ``interpreted`` element in line with the parser: changed
2830     attribute "type" to "role", added "position".
2831   - Added support for generic bibliographic fields.
2833 * spec/notes.txt: Continual updates.  Added "Project Policies".
2835 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2836   section.
2838 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2840 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
2841   mailing list discussions.
2843 * spec/pep-0287.txt:
2845   - Renamed to "reStructuredText Docstring Format".
2846   - Minor edits.
2847   - Reworked Q&A as an enumerated list.
2848   - Converted to reStructuredText format.
2850 * spec/pysource.dtd:
2852   - Reworked structural elements, incorporating ideas from Tony Ibbs.
2854 * spec/pysource.txt: Removed from project.  Moved much of its contents
2855   to pep-0258.txt.
2857 * spec/rst/alternatives.txt:
2859   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2860   - Added "Inline External Targets" section.
2862 * spec/rst/directives.txt:
2864   - Added "backlinks" attribute to "contents" directive.
2866 * spec/rst/problems.txt:
2868   - Updated the Enumerated List Markup discussion.
2869   - Added new alternative table markup syntaxes.
2871 * spec/rst/reStructuredText.txt:
2873   - Clarified field list usage.
2874   - Updated enumerated list description.
2875   - Clarified purpose of directives.
2876   - Added ``-/:`` characters to inline markup's start string prefix,
2877     ``/`` to end string suffix.
2878   - Updated "Authors" bibliographic field behavior.
2879   - Changed "inline hyperlink targets" to "inline internal targets".
2880   - Added "simple table" syntax to supplement the existing but
2881     newly-renamed "grid tables".
2882   - Added cautions for anonymous hyperlink use.
2883   - Added "Dedication" and generic bibliographic fields.
2885 * test: Made test modules standalone (subdirectories became packages).
2887 * test/DocutilsTestSupport.py:
2889   - Added support for PEP extensions to reStructuredText.
2890   - Added support for simple tables.
2891   - Refactored naming.
2893 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2895   - Now supports true packages containing test modules
2896     (``__init__.py`` files required); fixes duplicate module name bug.
2898 * test/test_pep/: Subpackage added to project; PEP testing.
2900 * test/test_rst/test_SimpleTableParser.py: Added to project.
2902 * tools:
2904   - Updated html.py and publish.py front-end tools to use the new
2905     command-line processing facilities of ``docutils.frontend``
2906     (exposed in ``docutils.core.Publisher``), reducing each to just a
2907     few lines of code.
2908   - Added ``locale.setlocale()`` calls to front-end tools.
2910 * tools/buildhtml.py: Added to project; batch-generates .html from all
2911   the .txt files in directories and subdirectories.
2913 * tools/default.css:
2915   - Added support for ``header`` and ``footer`` elements.
2916   - Added styles for "Dedication" topics (biblio fields).
2918 * tools/docutils.conf: A configuration file; added to project.
2920 * tools/docutils-xml.py: Added to project.
2922 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2924 * tools/pep-html-template: Added to project.
2926 * tools/pep2html.py: Added to project from Python (nondist/peps).
2927   Added support for Docutils (reStructuredText PEPs).
2929 * tools/quicktest.py:
2931   - Added the ``--attributes`` option, hacked a bit.
2932   - Added a second command-line argument (output file); cleaned up.
2934 * tools/stylesheets/: Subdirectory added to project.
2936 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2939 Release 0.1 (2002-04-20)
2940 ========================
2942 This is the first release of Docutils, merged from the now inactive
2943 reStructuredText__ and `Docstring Processing System`__ projects.  For
2944 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2945 `DPS HISTORY`__ files.
2947 __ http://structuredtext.sourceforge.net/
2948 __ http://docstring.sourceforge.net/
2949 __ http://structuredtext.sourceforge.net/HISTORY.html
2950 __ http://docstring.sourceforge.net/HISTORY.html
2952 General changes: renamed 'dps' package to 'docutils'; renamed
2953 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2954 the test suites (reStructuredText's test/test_states renamed to
2955 test/test_rst); and all modifications required to make it all work.
2957 * docutils/parsers/rst/states.py:
2959   - Improved diagnostic system messages for missing blank lines.
2960   - Fixed substitution_reference bug.
2964    Local Variables:
2965    mode: indented-text
2966    indent-tabs-mode: nil
2967    sentence-end-double-space: t
2968    fill-column: 70
2969    End: