Allow running test_buildhtml.py from anywhere, also with Python 3.
[docutils.git] / HISTORY.txt
blob7995c4ddb5155463d12c765f1ce1e7b51d4ec7c8
1 .. -*- coding: utf-8 -*-
3 ==================
4  Docutils History
5 ==================
7 :Author: David Goodger; open to all Docutils developers
8 :Contact: goodger@python.org
9 :Date: $Date$
10 :Revision: $Revision$
11 :Web site: http://docutils.sourceforge.net/
12 :Copyright: This document has been placed in the public domain.
14 .. contents::
16 Changes Since 0.9.1
17 ===================
19 * General
20   
21   - Dropped support for Python 2.3.
22   - ``docutils/math``, ``docutils/error_reporting.py``, and
23     ``docutils/urischemes.py`` moved to the utils package.
24   - Fix [3541369] Relative __import__ also with Python 3.3.
25   - Fix [3559988] and [3560841] __import__ local writer, reader, languages 
26     and parsers for Python 2.7 up.
28 * docutils/io.py
30   - FileInput/FileOutput: no system-exit on IOError.  The `handle_io_errors`
31     option is ignored and will be removed in a future release.
33 * docutils/parsers/rst/directives/misc.py
35   - Fix [ 3546533 ] Unicode error with `date` directive.
37 * docutils/tools/test/test_buildhtml.py
39   - Fix [ 3521167 ] allow running in any directory.
40   - Fix [ 3521168 ] allow running with Python 3.
42 * docutils/writers/manpage.py
44   - Apply [ 3527401 ] addmonition's don't preserve indentation
45   - Apply [ 3527397 ] Add indentation to literal blocks in manpage writer.
47 * docutils/writers/latex2e/__init__.py, docutils/writers/xetex/__init__.py
49   - Apply [ 3555160 ] ensure order of "otherlanguages".
51 * docutils/writers/s5_html/__init__.py
53   - Fix [ 3556388 ] Mathjax does not work with rst2s5.
55 * docutils/writers/s5_html/docutils_xml.py
57   - Fix [ 3552403 ] Prevent broken PyXML replacing stdlibs xml module.
60 Release 0.9.1 (2012-06-17)
61 ==========================
63 * docutils/setup.py
65   - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
66     installed in the PYTHONPATH. Converted tests are now
67     stored in ``test3/``, tools no longer need conversion.
69     If you installed one of Docutils versions 0.7 ... 0.9 with
70     ``setup.py install`` under Python 3, remove the spurious
71     ``test/`` and ``tools/`` directories in the site library root.
73 * docutils/test/
75   - Make tests independent from the location of the ``test/`` directory.
76   - Use converted sources (from the ``build/`` directory) for tests under
77     Python 3.
79 * docutils/tools/
81   - Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
83 * docutils/io.py
85   - Fix writing binary data to sys.stdout under Python 3 (allows
86     ``rst2odt.py`` to be used with output redirection).
88 * docutils/parsers/rst/directives/misc.py
90   - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
91     ``locale == C`` and 8-bit char in path argument of `include` directive.
93 * docutils/test/alltests.py
95   - class `Tee`: catch UnicodeError when writing to "ascii" stream or
96     file under Python 3.
98 Release 0.9 (2012-05-02)
99 ========================
101 * General:
103   - New reStructuredText "code" role and directive and "code" option
104     of the "include" directive with syntax highlighting by Pygments_.
105   - Fix parse_option_marker for option arguments containing ``=``.
106   - Fix [ 2993756 ]: import Python Imaging Library's Image module
107     via ``import PIL`` as starting with PIL 1.2,
108     "PIL lives in the PIL namespace only" (announcement__).
110 .. _Pygments: http://pygments.org/
111 __ http://mail.python.org/pipermail/image-sig/2011-January/006650.html
113 * setup.py
115   - Fix [ 2971827 ] and [ 3442827 ]
116     extras/roman.py moved to docutils/utils/roman.py
118 * docutils/frontend.py
120   - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().
122 * docutils/io.py
124   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
125   - `mode` argument for FileOutput avoids code replication in
126     BinaryFileOutput.
127   - New exceptions InputError and OutputError for IO errors in
128     FileInput/FileOutput.
130 * docutils/core.py:
132   - No "hard" system exit on file IO errors: catch and report them in
133     `Publisher.reportException` instead. Allows handling by a calling
134     application if the configuration setting `traceback` is True.
136 * docutils/utils.py -> docutils/utils/__init__.py
138   - docutils.utils is now a package (providing a place for sub-modules)
140   .. note:: docutils/math, docutils/error_reporting.py, and
141      docutils/urischemes.py will move to the utils package in the next
142      release, too. See RELEASE-NOTES__
144      __ RELEASE-NOTES.html
146   - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
147     errors recording non-ASCII filenames (fixes [ 3434355 ]).
149   - Fix relative_path() with source=None and `unicode` target.
151 * docutils/parsers/rst/states.py
153   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
154     characters and "international" quotes around inline markup.
155   - Use `field_marker` pattern to look for start of a
156     directive option block (fixes [ 3484857 ]).
158 * docutils/parsers/rst/tableparser.py
160   - Fix [ 2926161 ] for simple tables.
161     (Combining chars in grid tables still contribute to cell width.)
163 * docutils/writers/latex2e/__init__.py
165   - Support the `abbreviation` and `acronym` standard roles.
166   - Record only files required to generate the LaTeX source as dependencies.
167   - Fix handling of missing stylesheets.
168   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
169     when suppressing LaTeX section numbering.
170   - Use ``\DUtitle`` for unsupported section levels
171   - Apply [ 3512791 ] do not compare string literals with "is"
173 * docutils/writers/xetex/__init__.py
175   - Avoid code duplication with latex2e writer (solves [ 3512728 ]).
177 * docutils/writers/html4css1/__init__.py
179   - Change default for `math-output` setting to MathJax.
180   - Fix handling of missing stylesheets.
182 * docutils/writers/docutils_xml.py
184   - Use the visitor pattern with default_visit()/default_depart() methods
185     instead of minidom to facilitate special handling of selected nodes.
186   - Support raw XML (inserted as-is inside a <raw></raw> node).
188 * docutils/writers/manpage.py
190   - Do not emit comment line with trailing blank. Problematic for VCS.
192 Release 0.8.1 (2011-08-30)
193 ==========================
195 * General:
197   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
198     and [ 3395920 ] (correct copyright info for rst.el).
200 * docutils/test/
202   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under Py3k.
204 * docutils/writers/latex2e/__init__.py
206   - Clean up Babel language setting. Restores Sphinx compatibility.
208 Release 0.8 (2011-07-07)
209 ========================
211 * General:
213   - Handle language codes according to `BCP 47`_.
214   - If the specified language is not supported by Docutils,
215     warn and fall back to English.
216   - Math support: reStructuredText "math" role and directive,
217     ``math`` and ``math_block`` doctree elements.
218   - Decode command line arguments with the locale's preferred encoding
219     (to allow, e.g., ``--title=Dornröschen``).
220   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
221   - New sub-module `error_reporting`: handle encoding/decoding errors
222     when reporting exceptions.
223   - Some additions to the Docutils core are released under the 2-Clause BSD
224     license, see COPYING_ for details.
226   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
227   .. _COPYING: COPYING.html
229 * reStructuredText:
231   - Most directives now support a "name" option that attaches a
232     reference name.
234   - Directive content may start on the first line also when the directive
235     type accepts options.
237 * docs/dev/policies.txt:
239   - Recommend the 2-Clause BSD license
240     (http://www.spdx.org/licenses/BSD-2-Clause)
241     for code that is kept under the author's copyright.
243 * tools/buildhtml.py:
245   - Fix ``--local`` switch.
247 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
249 * docutils/writers/html4css1/__init__.py
251   - Set "lang" argument for objects with class argument
252     "language-<language tag>".
253   - New setting "math-output" with support for HTML, MathML, and LaTeX.
255 * docutils/writers/latex2e/__init__.py
257   - Fix [ 3043986 ] AttributeError using :local: with table of content.
258   - Place title data in the document preamble.
259   - Load `babel` package only if required.
260   - Update list of supported languages.
261   - New config setting "hyperref-options".
262     No hard-coded "unicode" hyperref option (clash with xetex).
263   - Set language for custom roles, paragraphs, block-quotes, and
264     line-quotes with class argument "language-<language tag>".
265   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
266   - Convert image URI to a local file path.
267   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
268     has more than one paragraph (Wolfgang Scherer).
269   - \leavevmode before longtable only when needed (prevents spurious vspace)
270   - do not advance table counter for tables without caption
272 * docutils/writers/xetex/__init__.py
274   - New writer generating LaTeX code for compiling with ``xelatex``.
276     A separate writer (inheriting from latex2e) instead of a ``--xetex``
277     option allows separate config options for XeTeX vs. LaTeX2e.
279 * docutils/writers/manpage.py
281   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
282   - Fix: vertical space cleaning for option group ``.``.
284 * tools/editors/emacs/rst.el:
286   - Fix [ 3001100 ] does not handle spaces in filenames
287     (thanks to Jakub Wilk)
289 * docutils/utils.py:
291   - strip whitespace from stylesheet arguments
292   - exclude combining chars from column_width()
293     (partial fix for [ 2926161 ])
295 * docutils/parsers/rst/directives/misc.py:
297   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
298     nested_parse
300 * docutils/io.py:
302   - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
303     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
305 Release 0.7 (2010-07-07)
306 ========================
308 * General:
310   - Fix [ 2881769 ] setup configuration.
311   - Fix [ 2788716 ] reporting problems in included files.
313 * docutils/io.py
315   - FileInput opens files as text files with universal newline support
316     (mode "rU", configurable with the new optional argument "mode").
318 * docutils/nodes.py
320   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
322 * docutils/utils.py
324   - Fix [ 2923723 ] let decode_path() tolerate path == None
326 * docutils/writers/html4css1/__init__.py
328   - Support SVG and SWF images (thanks to Stefan Rank).
329   - Generate valid XHTML for centered images with targets.
330     Use CSS classes instead of "align" tags for image alignment.
332 * docutils/writers/latex2e/__init__.py
334   - Use `transforms.writer_aux.Admonitions` to "normalize" special
335     admonitions.
336   - Use the ``\url`` command for URLs (breaks long URLs instead of
337     writing into the margin).
338   - Preserve runs of spaces in `inline literals`__.
339   - Deprecate ``figure_footnotes`` setting.
340   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
341   - New ``latex_preamble`` setting.
342   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
343   - Fix hyperlink targets (labels) for images, figures, and tables.
344   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
345   - Apply [ 2961991 ] Call hyperref with unicode option.
346   - Drop the special `output_encoding`__ default ("latin-1").
347     The Docutils wide default (usually "UTF-8") is used instead.
348   - Render inline markup in document title and subtitle.
349   - Fix numbering depth with LaTeX section numbering.
350   - Update Unicode -> LaTeX translations.
351   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
353 __ docs/ref/restructuredtext.html#inline-literals
354 __ docs/user/config.html#docutils-footnotes
355 __ docs/user/config.html#output_encoding
357 * docutils/writers/manpage.py
359   - Fix: supported attribute (thanks to peter2108).
360   - Remove trailing blanks in code (keep in sync with mercurial version).
361   - Titles level 1, that is ``.SH``, always uppercase.
362   - Apply patch from mg: literal text should be bold in man-pages.
364 * docutils/nodes.py
366   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
367     turkish locale.
369 * setup.py:
371   - Python 3 support: copy test/ and tools/ to the build-dir
372     and convert Python sources with 2to3.
375 Release 0.6 (2009-10-11)
376 ========================
378 * General:
380   - Docutils is now compatible with Python versions from 2.3 up to 2.6
381     and convertible to 3.1 code.
383     + Node.__nonzero__ returns True instead of 1.
384     + use os.walk instead os.path.walk.
385     + minimize "types" module where possible.
386     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
387     + Text nodes now subclass unicode rather than UserString
388       (which is gone in python 3.0).
389     + 3.0 compatibility module docutils._compat
391     + Drop 2.2 compatibility workarounds.
392     + Drop extras/optparse.py and extras/textwrap.py
393       (stdlib modules since 2.3).
395   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
396   - Unix man page export: manpage writer moved from sandbox to Doctutils
397     core.
399   - Apply [ 1719345 ] Galician translation
400   - Apply [ 1905741 ] Polish translation
401   - Apply [ 1878977 ] make_id(): deaccent characters.
402   - Apply [ 2029251 ] return nonzero when tests fail.
403   - Fix [ 1692788 ] allow UTF-8 in style sheets.
404   - Fix [ 2781629 ] support non-ASCII chars in file names.
405   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
406   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
407   - Fix [ 2821266 ] --strict option works now like --halt=info.
408   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
409   - Fix [ 1627229 ] hyperlink references in substitutions.
411   - The "newlatex" writer is orphaned.
413 * reStructuredText:
415   - Documented Unicode characters allowed as inline markup openers,
416     closers, and delimiters.
417   - Allow units for all length specifications.
418   - Allow percent sign in "scale" argument of "figure" and "image" directives.
419   - Bugfix: The "figalign" argument of a figure now works as intended
420     (aligning the figure, not its contents).
421   - Align images with class "align-[right|center|left]"
422     (allows setting the alignment of an image in a figure).
424 * docutils/nodes.py:
426   - Added ``Element.__contains__`` method, for the in-operator.
428 * docutils/parsers/rst/states.py:
430   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
431   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
432     " " (non-breaking space), and "¡ ¿" openers.
434 * docutils/parsers/directives/misc.py:
436   - Added ``start-line`` and ``end-line`` options to "include"
437     directive to select a range of lines.
438   - Hard tabs in literal inclusions are replaced by spaces. This is
439     configurable via the new ``tab-width`` option of the "include" directive
440     (a negative tab-width prevents tab expansion).
442 * docutils/utils.py:
444   - Add ``get_stylesheet_list`` function.
445   - Apply [ 2834836 ] print info at halt
447 * docutils/transforms/universal.py:
449   - Raise default priority of StripClasses to exclude stripped classes from
450     the ToC.
452 * docutils/writers/html4css1/__init__.py:
454   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
455     separated list of stylesheets.
456   - Address [ 1938891 ] Inline literal text creates "pre" span only when
457     needed to prevent inter-word line wraps.
458   - Use `translate` method instead of repeated `replace` calls.
459   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
460     classes to allow CSS styling that does not interfere with other
461     table-using constructs (field lists, citations, ...).
463 * docutils/writers/newlatex2e/__init__.py:
465   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
467 * docutils/writers/latex2e/__init__.py (see also
468   `<docs/user/docutils-05-compat.sty.html>`__) :
470   - Add ``--embed-stylesheet`` option.
471   - Apply [ 1474017 ] image vertical alignment is reversed.
472   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
473   - Change: has_key for dictionaries (not Nodes) to in-operator.
474   - Merge adjacent citations into one latex cite command.
475   - Failsave implementation of custom roles. LaTeX compilation now ignores
476     unknown classes instead of aborting with an error.
477   - Support custom roles based on standard roles.
478   - LaTeX packages can be used as ``--stylesheet`` arguments without
479     restriction. (A style sheet is now referenced with the ``\usepackage``
480     command, if it ends with ``.sty`` or has no extension.)
481   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
482   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
483   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
484     2005-02-04 as a configurable length unit).
485   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
486     if font-encoding is set to ''. LaTeX defaults to OT1 then.
487   - Set sub- and superscript role argument in text mode not as math.
488     Use a custom role based on sub-/superscript if you want italic shape.
489   - Shorter preamble and less dependencies: Load packages and define macros
490     only if required in the document.
491   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
492   - New custom environments and commands with optional "classes" argument.
493   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
494   - Better conformance to Docutils specifications with ``--use-latex-toc``.
495     Support for LaTeX generated ToC also with unnumbered sections.
496   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
497     section numbering by LaTeX.
498   - Use default font in admonitions and sidebar.
499   - Align of image in a figure defaults to 'center'.
500   - Bugfix: Newlines around targets and references prevent run-together
501     paragraphs.
502   - Fix internal hyperlinks.
503   - Use class defaults for page margins ('typearea' now optional).
504   - Float placement made configurable, default changed to "here definitely".
505   - Typeset generic topic as "quote block with title".
506   - Use template (file and configuration option).
507   - In the default template, load cmap.sty (fix text extraction in PDF) and
508     fixltx2e.sty (LaTeX patches, \textsubscript).
509   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
510   - Use `translate` instead of repeated `replace` calls for text encoding.
511   - Hyperlinked footnotes and support for symbol footnotes and
512     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
513   - Complete pairs of binary options
514     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
515     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
516   - New defaults:
517     - font-encoding: "T1" (formerly implicitely set by 'ae').
518     - use-latex-toc: true (ToC with page numbers).
519     - use-latex-footnotes: true (no mixup with figures).
521 * docutils/writers/manpage.py
523   - Do not print version at document end, this is done by the viewer.
524   - Do not print date at document end, this is done by the viewer.
525   - Fix storage of docinfo fields for none standard fields.
527 * docutils/tools/rst2man.py
529 Release 0.5 (2008-06-25)
530 ========================
532 * docutils/languages/he.py: Added to project: Hebrew mappings by
533   Meir Kriheli.
535 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
536   mappings by Meir Kriheli.
538 * docutils/frontend.py:
540   - Configuration files are now assumed and required to be
541     UTF-8-encoded.
542   - Paths of applied configuration files are now recorded in the
543     runtime setting ``_config_files`` (accessible via
544     ``--dump-settings``).
545   - Added ``--strip-elements-with-class`` and ``--strip-class``
546     options (``strip_elements_with_classes`` and ``strip_classes``
547     settings).
549 * docutils/io.py:
551   - Added code to determine the input encoding from data: encoding
552     declarations or the presence of byte order marks (UTF-8 & UTF-16).
553   - Added support for IronPython 1.0.
555 * docutils/nodes.py:
557   - Added ``document.__getstate__`` method, for pickling.
559 * docutils/parsers/rst/states.py:
561   - Allow ``+`` and ``:`` in reference names.
562   - Unquoted targets beginning with an underscore (``.. __target:
563     URI``) are no longer accepted.
564   - Added support for multiple attributions in a physical block quote
565     (indented text block), dividing it into multiple logical block
566     quotes.
567   - Added support for unicode bullets in bullet lists: "•", "‣", and
568     "⁃".
569   - Added support for new object-oriented directive interface,
570     retaining compatibility to the old functional interface.
571   - Added support for throwing ``DirectiveError``'s from within
572     directive code.
574 * docutils/parsers/rst/__init__.py:
576   - Added ``Directive`` base class.
577   - Added ``DirectiveError`` base class.
578   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
579     definitions.
581 * docutils/parsers/directives/:
583   - Refactored all reStructuredText directives to use the new
584     object-oriented directive interface.  Errors are now (mostly)
585     thrown using the new ``DirectiveError`` class.
587 * docutils/parsers/directives/misc.py:
589   - Added ``start-after`` and ``end-before`` options to ``include``
590     directive; thanks to Stefan Rank.
592 * docutils/transforms/universal.py:
594   - Added ``StripClassesAndElements`` transform to remove from the
595     document tree all elements with classes in
596     ``settings.strip_elements_with_classes`` and all "classes"
597     attribute values in ``self.document.settings.strip_classes``.
599 * docutils/transforms/writer_aux.py:
601   - Added ``Admonitions`` transform to transform specific admonitions
602     (like ``note``, ``warning``, etc.) into generic admonitions with a
603     localized title.
605 * docutils/writers/html4css1/__init__.py:
607   - Moved template functionality from the PEP/HTML writer here.
608   - Expanded the fragments available in the ``parts`` attribute.
609   - Moved ``id`` attributes from titles to surrounding ``div``
610     elements.
611   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
612     universally supported now).
613   - ``template.txt`` is now opened in text mode instead of binary mode
614     (to ensure Windows compatibility).
615   - ``a`` elements now have an "internal" or "external" class,
616     depending on reference type.
618 * docutils/writers/html4css1/template.txt: Added to project.
620 * docutils/writers/pep_html/:
622   - Moved template functionality to the HTML writer.
624 * docutils/writers/s5_html/__init__.py:
626   - Added ``view_mode`` & ``hidden_controls`` settings
627     (``--view-mode`` & ``--hidden-controls/--visible-controls``
628     options).
630 * docutils/writers/latex2e/__init__.py:
632   - Add ``--literal-block-env``
633   - Fix: escaping ``%`` in href urls.
634   - Move usepackage hyperref after stylesheet inclusion.
635   - Fix: scrartcl does not have chapter but scrreprt.
636   - Add newline after ``\end{verbatim}``.
637   - Merge smaller differences from latex2e_adaptive_preamble.
638   - Add ``use-part-section``.
639   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
640   - Using leavemode option_list no longer needs to check if parent
641     is a definition list.
642   - Append ``\leavemode`` to definition list terms.
643   - No longer write visit\_/depart_definition_list_item comments to
644     output.
645   - Table column width with 3 decimal places.
646   - Add table stubs support (boldfont).
647   - Add assemble_parts to writer.
648   - Add simply support for nested tables.
649   - Fix verbatim in tables if use-verbatim-when-possible.
650   - Use section commands down to subparagraph.
651   - Put ensuremath around some latin1 chars.
652   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
653   - New option ``--use-bibtex=style,db1,db2``.
654   - New option ``--reference-label`` to allow usage of LaTeX ref for
655     labels in section references.
656   - Add a label after every section to support sectionnumbers as reference
657     labels.
658   - Fix: bug# 1605376 rst2latex: bad options group list
659   - Remove inactive code for use_optionlist_for_option_list.
660   - Remove latex comments from option_list output.
661   - Fix: bug# 1612270 double qoutes in italian literal.
662   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
663   - Add option --use-latex-abstract.
664   - Image width unit ``px`` is translated to ``pt``.
665   - Add image height support.
666   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
667     bug #1457388
668   - Fix: Do not escape underscores in citation reference labels if
669     use-latex-citations is set.
670   - Use centering instead of center for figure contents, to avoid vertical
671     space.
672   - Recognize table class: borderless, nolines, booktabs, standard.
673   - Fix: Renaming contents section does not work with latex writer; SF
674     bug #1487405.
675   - Applied patch for custom roles with classes from Edward Loper.
676   - Fixed bug that caused crashes with more than 256 lists.
678 * docutils/writers/pep_html/__init__.py:
680   - Changed to support new python.org website structure and
681     pep2pyramid.py.
683 * docs/howto/security.txt: "Deploying Docutils Securely", added to
684   project.
686 * tools/buildhtml.py:
688   -- Added ``ignore`` setting to exclude a list of shell patterns
689      (default: ``.svn:CVS``).
691 * tools/editors/emacs/rst.el:
693   - Changed license to "GPL".
694   - Added ``rst-straighten-decorations`` function.
695   - The ``compile`` module is now always loaded.
696   - Added ``rst-toggle-line-block`` function.
697   - Headings consisting only of non-ASCII characters are now
698     recognized by ``rst-toc`` and ``rst-adjust``.
699   - Added font-lock support for multi-line comments where the first
700     comment line is empty.
701   - Added ``(require 'font-lock)``.
703 * setup.py:
705   - Provide descriptive error message if distutils is missing.
708 Release 0.4 (2006-01-09)
709 ========================
711 * General:
713   - Updated the project policies for trunk/branch development &
714     version numbering.
716 * docutils/__init__.py:
718   - Added ``__version_details__`` attribute to describe code source
719     (repository/snapshot/release).
720   - Replaced ``default_transforms`` attribute of TransformSpec with
721     ``get_transforms()`` method.
723 * docutils/core.py:
725   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
726     functions, for document tree extraction and reprocessing.
728 * docutils/io.py:
730   - Added ``DocTreeInput`` class, for reprocessing existing documents.
731   - Added support for non-Unicode (e.g. binary) writer output.
733 * docutils/nodes.py:
735   - Re-introduced ``Targetable.indirect_reference_name``, for
736     MoinMoin/reST compatibility (removed in r3124/r3129).
737   - Added ``serial_escape`` function; escapes string values that are
738     elements of a list, for serialization.  Modified Docutils-XML
739     writing (``Element._dom_node``) and pseudo-XML writing
740     (``Element.starttag``) to use ``serial_escape``.
741   - Added ``Node.deepcopy()`` method.
742   - Removed the internal lists ``document.substitution_refs``,
743     ``document.anonymous_refs``, and ``document.anonymous_targets``.
744   - Added a "container" element.
745   - Fixed bug where values of list-valued attributes of elements
746     originating from custom interpreted text roles (i.e., with custom
747     classes) were being shared between element instances.  Reported by
748     Shmuel Zeigerman.
750 * docutils/statemachine.py:
752   - Added trailing whitespace stripping to ``string2lines()``.
753   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
754     Asian double-width character support.
756 * docutils/utils.py:
758   - Added ``east_asian_column_width()`` for double-width character
759     support.
761 * docutils/languages/ja.py: Added to project: Japanese mappings by
762   Hisashi Morita.
764 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
765   mappings by Panjunyong.
767 * docutils/parsers/null.py: Added to project; a do-nothing parser.
769 * docutils/parsers/rst/__init__.py:
771   - Added validator to tab_width setting, with test.  Closes SF bug
772     #1212515, report from Wu Wei.
774 * docutils/parsers/rst/states.py:
776   - Fixed bug with escaped colons indicating a literal block.
777   - Fixed bug with enumerated lists (SF#1254145).
778   - Backslash-escaped colons inside of field names are now allowed.
779   - Targets (implicit and explicit), anonymous hyperlink references
780     and auto-numbered footnote references inside of substitution
781     definitions are now disallowed.
782   - Fixed bug: list items with blank first lines.
783   - Fixed bug: block quote attributions with indented second lines.
784   - Added East Asian double-width character support (Python 2.4 only).
786 * docutils/parsers/rst/tableparser.py:
788   - Added East Asian double-width character support (Python 2.4 only).
790 * docutils/parsers/rst/directives/body.py:
792   - Added the "container" directive.
794 * docutils/parsers/rst/directives/misc.py:
796   - Added the "default-role", "title", and "date" directives.
797   - Added standard data file syntax to the "include" directive.
798   - Added support for "class" directive content.
800 * docutils/parsers/rst/directives/images.py:
802   - Added ``indirect_reference_name`` support for images with a target
803     option.
804   - Added support for image width and height units.
805   - Fixed bug with image "target" options.
807 * docutils/parsers/rst/directives/references.py:
809   - Added "class" attribute to "target-notes" directive, for
810     footnote_reference classes.
812 * docutils/parsers/rst/include/: Directory added to project; contains
813   standard data files for the "include" directive.  Initial contents:
814   character entity substitution definition sets, and a set of
815   definitions for S5/HTML presentations.
817 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
818   mappings by David Goodger.
820 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
821   Simplified Chinese mappings by Panjunyong.
823 * docutils/readers/__init__.py:
825   - Added universal.Decorations and universal.ExposeInternals
826     transforms as default transforms for all readers.
827   - Added ``ReReader`` base class for readers that reread an existing
828     document tree.
830 * docutils/readers/doctree.py: Added to project; a reader for existing
831   document trees.
833 * docutils/transforms/frontmatter.py:
835   - Fixed the DocInfo transform to handle SVN-style expansion of the
836     "Date" keyword.
837   - In ``DocInfo.extract_authors``, treat the contents of "authors"
838     fields uniformly.
840 * docutils/transforms/misc.py:
842   - Added misc.Transitions transform, extracted from
843     universal.FinalChecks.
845 * docutils/transforms/references.py:
847   - Added references.DanglingReferences transform, extracted from
848     universal.FinalChecks.
849   - Fixed bug with doubly-indirect substitutions.
850   - Added footnote_reference classes attribute to "TargetNotes".
851   - Fixed bug with circular substitution definitions that put Docutils
852     into an infinite loop.
854 * docutils/transforms/universal.py:
856   - Added universal.ExposeInternals transform, extracted from
857     universal.FinalChecks.
858   - Removed universal.FinalChecks transform (logic has been moved to
859     several new transforms).
860   - Fixed bug with the "expose_internals" setting and Text nodes
861     (exposed by the "rawsource" internal attribute).
862   - Added the universal.StripComments transform, implementation of the
863     "strip_comments" setting.
865 * docutils/transforms/writer_aux.py: Added to project; auxiliary
866   transforms for writers.
868   - Added ``Compound`` transform, which flattens compound paragraphs.
870 * docutils/writers/: Several writer modules (html4css1.py) were
871   converted into packages.  Support modules and data files have been
872   moved into the packages.  The stylesheets for the HTML writers are
873   now installed along with the code, the code knows where to find
874   them, and the default is to use them (actually, to embed them).
875   Some adjustments to configuration files may be necessary.  The
876   easiest way to obtain the new default behavior is to remove all
877   settings whose name includes "stylesheet".
879 * docutils/writers/__init__.py:
881   - Added universal.Messages and universal.FilterMessages transforms
882     as default transforms for all writers.
883   - Added ``UnfilteredWriter`` base class for writers that pass the
884     document tree on unchanged.
886 * docutils/writers/docutils_xml.py:
888   - Made ``xmlcharrefreplace`` the default output encoding error
889     handler.
891 * docutils/writers/html4css1/:
893   - Added support for image width and height units.
894   - Made ``xmlcharrefreplace`` the default output encoding error
895     handler.
896   - Made ``--embed-stylesheet`` the default rather than
897     ``--link-stylesheet``.
898   - Moved "id" attribute from container (section etc.) to title's <a>
899     tag, to be on the same tag as "name".
900     (!!! To be reverted in Docutils 0.5.)
901   - Added vertical space between fields of field lists.
902   - Added ``--compact-field-lists`` option to remove vertical space in
903     simple field lists.
904   - Made cloaking of email addresses with ``--cloak-email-addresses``
905     less obtrusive.
906   - Fixed support for centered images.
907   - Added support for class="compact" & class="open" lists.
909 * docutils/writers/latex2e/:
911   - Underscores in citekeys are no longer escaped.
913 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
914   mapping of Unicode characters to LaTeX equivalents.
916 * docutils/writers/s5_html/: Package added to project; writer for
917   S5/HTML slide shows.
919 * docs/dev/distributing.txt: Added to project; guide for distributors
920   (package maintainers).
922 * docs/dev/hacking.txt: Added to project; guide for developers.
924 * docs/ref/doctree.txt:
926   - Updated for plural attributes "classes", "ids", "names",
927     "dupnames".
928   - Added the "container" element.
930 * docs/ref/docutils.dtd:
932   - Updated for plural attributes "classes", "ids", "names",
933     "dupnames".
935 * docs/user/emacs.txt: Added to project; a document about Emacs
936   support for reStructuredText and Docutils.
938 * docs/user/links.txt: Added to project; lists of Docutils-related
939   links.
941 * docs/user/mailing-lists.txt: Added to project; information about
942   Docutils-related mailing lists and how to access them.
944 * docs/user/slide-shows.txt: Added to project; example of and docs for
945   the S5/HTML writer (``rst2s5.py`` front end).
947 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
948   Files", added to project.
950 * test/coverage.sh: Added to project; test coverage script.
952 * test/DocutilsTestSupport.py:
954   - Added support for specifying runtime settings at the suite level.
956 * test/test_functional.py:
958   - Added the ``clear_output_directory`` function.
959   - Added support for ``_test_more`` functions in functional test
960     config files.
962 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
964 * tools/rstpep2html.py: Renamed from pep.py.
966 * tools/dev/create_unimap.py: Added to project; script to create the
967   docutils/writers/unimap_latex.py mapping file.
969 * tools/dev/profile_docutils.py: Added to project; profiler script.
971 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
973 * tools/editors/emacs/restructuredtext.el,
974   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
975   Removed from project; the functionality is now contained in rst.el.
977 * tools/editors/emacs/rst.el: Added to project.  Added many features
978   and fixed many bugs.  See docs/user/emacs.txt for details.
980 * tools/stylesheets: Removed from project.  Stylesheets have been
981   renamed and moved into writer packages.
984 Release 0.3.9 (2005-05-26)
985 ==========================
987 * General:
989   - Eliminated and replaced all uses of the old string attributes
990     ``id``, ``name``, ``dupname`` and ``class`` with references to the
991     new list attributes ``ids``, ``names``, ``dupnames`` and
992     ``classes`` throughout the whole source tree.
994 * docutils/core.py:
996   - Enabled ``--dump-*`` options when ``--traceback`` specified,
997     allowing for easier debugging.
998   - In ``Publisher.publish()``, expanded the generic top-level
999     exception catching.
1001 * docutils/examples.py:
1003   - Added ``internals`` function for exploration.
1005 * docutils/io.py:
1007   - Fixed ``Input.decode`` method to apply heuristics only if no
1008     encoding is explicitly given, and to provide better reporting of
1009     decoding errors.
1010   - The ``Input.decode`` method now removes byte order marks (BOMs)
1011     from input streams.
1013 * docutils/nodes.py:
1015   - ``image`` element class changed to subclass of Element, not
1016     TextElement (it's an empty element, and cannot contain text).
1017   - Added ``attr_defaults`` dictionary for default attribute values.
1018   - Added empty list as default value for the following attributes:
1019     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
1020   - Added ``document.decoration`` attribute,
1021     ``document.get_decoration`` method, and ``decoration.get_header``
1022     & ``.get_footer`` methods.
1023   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
1024     methods.
1026 * docutils/utils.py:
1028   - Removed ``docutils.utils.Reporter.categories``,
1029     ``docutils.utils.ConditionSet``, and all references to them, to
1030     simplify error reporting.
1032 * docutils/languages/nl.py: Added to project; Dutch mappings by
1033   Martijn Pieters.
1035 * docutils/parsers/rst/__init__.py:
1037   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
1039 * docutils/parsers/rst/states.py:
1041   - Added check for escaped at-mark to prevent email address recognition.
1042   - Fixed option lists to allow spaces inside ``<angle-bracketed option
1043     arguments>``.
1044   - Allowed whitespace in paths and URLs.
1045   - Added auto-enumerated list items.
1046   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
1047     followed by text.
1048   - Added support for table stub columns.
1050 * docutils/parsers/rst/directives/__init__.py:
1052   - Allowed whitespace in paths (``path`` function).
1053   - Added ``uri`` directive option conversion function.
1055 * docutils/parsers/rst/directives/body.py:
1057   - Fixed illegal context bug with "topic" directive (allowed within
1058     sidebars; not within body elements).
1060 * docutils/parsers/rst/directives/images.py:
1062   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
1063   - Added support for the ``file_insertion_enabled`` setting in the
1064     "figure" directive (disables "figwidth" option).
1065   - "image" directive: added checks for valid values of "align" option,
1066     depending on context.  "figure" directive: added specialized
1067     "align" option and attribute on "figure" element.
1068   - Made ":figwidth: image" option of "figure" directive work again.
1069   - Fixed bug with reference names containing uppercase letters
1070     (e.g. ``Name_``) in "target" option of "image" directive.
1072 * docutils/parsers/rst/directives/misc.py:
1074   - Fixed "include" and "raw" directives to catch text decoding
1075     errors.
1076   - Allowed whitespace in "include" & "raw" directive paths.
1077   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
1078     settings in "include" & "raw" directives.
1080 * docutils/parsers/rst/directives/parts.py:
1082   - Added "header" & "footer" directives.
1083   - Fixed illegal context bug with "contents" directive (topics
1084     allowed within sidebars; not within body elements).
1086 * docutils/parsers/rst/directives/tables.py:
1088   - Added "list-table" directive.
1089   - Caught empty CSV table bug.
1090   - Added support for the ``file_insertion_enabled`` setting in the
1091     "csv-table" directive.
1092   - Added ``stub-columns`` option to "csv-table" and "list-table"
1093     directives.
1095 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1096   mappings by Martijn Pieters.
1098 * docutils/readers/standalone.py:
1100   - Added ``--section-subtitles`` and ``--no-section-subtitles``
1101     options to activate or deactivate the SectSubTitle transform.
1103 * docutils/transforms/frontmatter.py:
1105   - Added SectSubTitle transform to promote titles of lone
1106     subsections to subtitles.
1108 * docutils/transforms/references.py:
1110   - Fixed mislocated internal targets bug, by propagating internal
1111     targets to the next node, making use of the newly added support
1112     for multiple names and IDs.
1113   - Fixed duplicate footnote label bug.
1114   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1115     transform.
1117 * docutils/writers/html4css1.py:
1119   - Fixed unencoded stylesheet reference bug (characters like "&" in
1120     stylesheet references).
1121   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1122     tags).
1123   - Added support for multiple IDs per node by creating empty ``span``
1124     tags.
1125   - Added the ``field_name_limit`` & ``option_limit`` settings &
1126     support.
1127   - Added support for table stub columns.
1128   - Added support for the ``align`` attribute on ``figure`` elements.
1129   - Added the ``cloak_email_addresses`` setting & support.
1130   - Added ``html_prolog``, ``html_head``, ``html_body``,
1131     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1132     ``docutils.core.publish_parts``.
1133   - Added support for section subtitles.
1135 * docutils/writers/latex2e.py:
1137   - Fixed tables starting with more than one multirow cell.
1138   - Improved --use-latex-docinfo so that organization/contact/address
1139     fields are lumped with the last author field and appear on the
1140     titlepage.
1141   - Made sure the titlepage is always shown with --use-latex-docinfo,
1142     even if the document has no title.
1143   - Made sure that latex doesn't fill in today's date if no date field
1144     was given.
1145   - Added support for section subtitles.
1147 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1148   (under development).
1150 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1152 * docs/api/publisher.txt:
1154   - Added "``publish_parts`` Details" section.
1156 * docutils/dev/repository.txt: Added to project; information about the
1157   Docutils Subversion repository.
1159 * docs/ref/docutils.dtd:
1161   - Added a ``stub`` attribute to the ``colspec`` element via the
1162     ``tbl.colspec.att`` parameter entity.
1163   - Allowed topic elements within sidebars
1164   - Added an ``align`` attribute to the ``figure`` element.
1166 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1167   writer.
1170 Release 0.3.7 (2004-12-24)
1171 ==========================
1173 * docutils/frontend.py:
1175   - Added options: --input-encoding-error-handler,
1176     --record-dependencies, --leave-footnote-reference-space,
1177     --strict-visitor.
1178   - Added command-line and config file support for "overrides" setting
1179     parameter.
1181 * docutils/io.py:
1183   - Added support for input encoding error handler.
1185 * docutils/nodes.py:
1187   - Added dispatch_visit and dispatch_departure methods to
1188     NodeVisitor; useful as a hook for Visitors.
1189   - Changed structure of ``line_block``; added ``line``.
1190   - Added ``compound`` node class.
1191   - Added a mechanism for Visitors to transitionally ignore new node
1192     classes.
1194 * docutils/utils.py:
1196   - Moved ``escape2null`` and ``unescape`` functions from
1197     docutils/parsers/rst/states.py.
1199 * docutils/parsers/rst/roles.py:
1201   - Added "raw" role.
1202   - Changed role function API: the "text" parameter now takes
1203     null-escaped interpreted text content.
1205 * docutils/parsers/rst/states.py:
1207   - Fixed bug where a "role" directive in a nested parse would crash
1208     the parser; the state machine's "language" attribute was not being
1209     copied over.
1210   - Added support for line block syntax.
1211   - Fixed directive parsing bug: argument-less directives didn't
1212     notice that arguments were present.
1213   - Removed error checking for transitions.
1214   - Added support for multiple classifiers in definition list items.
1215   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1216   - Changed role function API: the "text" parameter now takes
1217     null-escaped interpreted text content.
1218   - Empty sections and documents are allowed now.
1220 * docutils/parsers/rst/directives/__init__.py:
1222   - Added ``encoding`` directive option conversion function.
1223   - Allow multiple class names in class_option conversion function.
1225 * docutils/parsers/rst/directives/body.py:
1227   - Converted the line-block directive to use the new structure.
1228   - Extracted the old line-block functionality to the ``block``
1229     function (still used).
1230   - Added ``compound`` directive (thanks to Lea Wiemann).
1232 * docutils/parsers/rst/directives/misc.py:
1234   - Added "encoding" option to "include" and "raw" directives.
1235   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1236   - Allow multiple class names in the "class" directive.
1238 * docutils/parsers/rst/directives/parts.py:
1240   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1241     options.  Thanks to Lele Gaifax.
1243 * docutils/parsers/rst/directives/tables.py:
1245   - Added "encoding" directive to "csv-table" directive.
1246   - Added workaround for lack of Unicode support in csv.py, for
1247     non-ASCII CSV input.
1249 * docutils/transforms/misc.py:
1251   - Fixed bug when multiple "class" directives are applied to a single
1252     element.
1253   - Enabled multiple format names for "raw" directive.
1255 * docutils/transforms/references.py:
1257   - Added support for trimming whitespace from beside substitution
1258     references.
1260 * docutils/transforms/universal.py:
1262   - FinalChecks now checks for illegal transitions and moves
1263     transitions between sections.
1265 * docutils/writers/html4css1.py:
1267   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1268   - "stylesheet" and "stylesheet_path" settings are now mutually
1269     exclusive.
1270   - Added support for the new line_block/line structure.
1271   - --footnote-references now overrides
1272     --trim-footnote-reference-space, if applicable.
1273   - Added support for ``compound`` elements.
1274   - Enabled multiple format names for "raw" directive.
1275   - ``<p>`` tags of a paragraph which is the only visible child of the
1276     document node are no longer stripped.
1277   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1278     new method ``should_be_compact_paragraph()``.
1279   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1280     elements.
1281   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1282     the output if they have their ``class`` attribute set.
1283   - The whole document is now surrounded by a ``<div
1284     class="document">`` element.
1285   - Body-level images are now wrapped by their own ``<div>`` elements,
1286     with image classes copied to the wrapper, and for images which
1287     have the ``:align:`` option set, the surrounding ``<div>`` now
1288     receives a class attribute (like ``class="align-left"``).
1290 * docutils/writers/latex2e.py:
1292   - no newline after depart_term.
1293   - Added translations for some Unicode quotes.
1294   - Added option "font-encoding", made package AE the default.
1295   - "stylesheet" and "stylesheet_path" settings are now mutually
1296     exclusive.
1297   - --footnote-references now overrides
1298     --trim-footnote-reference-space, if applicable.
1299   - The footnote label style now matches the footnote reference style
1300     ("brackets" or "superscript").
1301   - Added support for ``compound`` elements.
1302   - Enabled multiple format names for "raw" directive.
1304 * docs/ref/docutils.dtd:
1306   - Changed structure of the ``line_block`` element; added ``line``.
1307   - Added ``compound`` element.
1308   - Added "ltrim" and "rtrim" attributes to
1309     ``substitution_definition`` element.
1310   - Enabled multiple format names for ``raw`` element.
1311   - Enabled multiple classifiers in ``definition_list_item`` elements.
1313 * docs/ref/rst/directives.txt
1315   - Marked "line-block" as deprecated.
1316   - "Class" directive now allows multiple class names.
1317   - Added "Rationale for Class Attribute Value Conversion".
1318   - Added warning about "raw" overuse/abuse.
1320 * docs/ref/rst/restructuredtext.txt:
1322   - Added syntax for line blocks.
1323   - Definition list items may have multiple classifiers.
1325 * docs/ref/rst/roles.txt:
1327   - Added "raw" role.
1329 * tools/stylesheets/default.css:
1331   - Added support for the new line_block structure.
1332   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1335 Release 0.3.5 (2004-07-29)
1336 ==========================
1338 General:
1340 * _`Documentation cleanup/reorganization`.
1342   - Created new subdirectories of docs/:
1344     * ``docs/user/``: introductory/tutorial material for end-users
1345     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1346     * ``docs/api/``: API reference material for client-developers
1347     * ``docs/ref/``: reference material for all groups
1348     * ``docs/howto/``: for component-developers and core-developers
1349     * ``docs/peps/``: Python Enhancement Proposals
1351   - Moved ``docs/*`` to ``docs/user/``.
1352   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1353     ``spec/`` to ``docs/dev``.
1354   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1355     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1356   - Moved ``alternatives.txt``, and ``problems.txt`` from
1357     ``spec/rst/`` to ``docs/dev/rst/``.
1358   - Moved ``reStructuredText.txt``, ``directives.txt``,
1359     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1360     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1361     ``roles.txt``, ``reStructuredText.txt`` to
1362     ``restructuredtext.txt``.
1363   - Moved ``spec/howto/`` to ``docs/howto``.
1365   In order to keep the CVS history of moved files, we supplied
1366   SourceForge with a `script for modifying the Docutils CVS
1367   repository`__.
1369   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1371   After running the cleanup script:
1373   - Added ``docs/index.txt``.
1374   - Added a ``.htaccess`` file to the ``web`` module, containing
1375     redirects for all old paths to new paths.  They'll preserve
1376     fragments (the "#name" part of a URL), and won't clutter up the
1377     file system, and will correct the URL in the user's browser.
1378   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1379     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1380     the "To Do" list itself in ``docs/dev/todo.txt``.
1381   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1382     section of ``docs/dev/todo.txt``.
1383   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1384   - Added "How To Report Bugs" to ``BUGS.txt``.
1385   - Went through all the sources and docs (including under web/) and
1386     updated links.  Mostly done by Lea Wiemann; thanks Lea!
1387     (Still need to update links in the sandboxes.)
1389 Specific:
1391 * BUGS.txt: Added to project.
1393 * THANKS.txt: Added to project.
1395 * docutils/__init__.py:
1397   - 0.3.4: Post-release.
1399 * docutils/core.py:
1401   - Added special error handling & advice for UnicodeEncodeError.
1402   - Refactored Publisher.publish (simplified exception handling &
1403     extracted debug dumps).
1404   - Renamed "enable_exit" parameter of convenience functions to
1405     "enable_exit_status".
1406   - Enabled traceback (exception propagation) by default in
1407     programmatic convenience functions.
1408   - Now publish_file and publish_cmdline convenience functions return
1409     the encoded string results in addition to their regular I/O.
1410   - Extracted common code from publish_file, publish_string, and
1411     publish_parts, into new publish_programmatically.  Extracted
1412     settings code to ``Publisher.process_programmatic_settings``.
1413   - In Publisher.publish, disabled ``settings_overrides`` when
1414     ``settings`` is supplied; redundant.
1416 * docutils/frontend.py:
1418   - Added help text for "--output-encoding-error-handler" and
1419     "--error-encoding-error-handler".
1420   - Renamed "--exit" to "--exit-status".
1421   - Simplified default-setting code.
1423 * docutils/parsers/rst/__init__.py:
1425   - Added "--pep-base-url" and "--rfc-base-url" options.
1427 * docutils/parsers/rst/states.py:
1429   - Made URI recognition more aggressive and intelligent.
1431 * docutils/parsers/rst/directives/__init__.py:
1433   - Added several directive option conversion functions.
1435 * docutils/parsers/rst/directives/body.py:
1437   - Moved "table" directive to tables.py.
1439 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1440   added to project.
1442 * docutils/writers/latex2e.py:
1444   - Added "--table-style=(standard|booktabs|nolines)"
1445   - figures get "here" option (LaTeX per default puts them at bottom),
1446     and figure content is centered.
1447   - Rowspan support for tables.
1448   - Fix: admonition titles before first section.
1449   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1450   - Replave ``_`` in literal by an underlined blank, because it has the correct
1451     width.
1452   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1453   - A few unicode replacements, if output_encoding != utf
1454   - Add "--graphicx-option".
1455   - Indent literal-blocks.
1456   - Fix: omit ``\maketitle`` when there is no document title.
1458 * docs/index.txt: "Docutils Project Documentation Overview", added to
1459   project.
1461 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1462   Tool", added to project.
1464 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1466 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1468 * docs/dev/policies.txt: Added to project (extracted from
1469   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1471 * docs/dev/release.txt: Added to project (extracted from
1472   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1474 * docs/dev/testing.txt: Added to project.
1476 * docs/dev/website.txt: Added to project (extracted from
1477   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1479 * docs/ref/rst/directives.txt:
1481   - Added directives: "table", "csv-table".
1483 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1484   added to project.  1 page for syntax, and a 1 page reference for
1485   directives and roles.  Source text to be used as-is; not meant to be
1486   converted to HTML.
1488 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1489   with a change of title.
1491 * test/functional/, contents, and test/test_functional.py: Added to
1492   project.
1494 * tools/buildhtml.py: Fixed bug with config file handling.
1496 * tools/html.py: Removed from project (duplicate of rst2html.py).
1498 * tools/pep2html.py: Removed from project (duplicate of Python's
1499   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1500   Docutils-related PEPs in docs/peps/).
1502 * tools/rst2pseudoxml.py: Renamed from publish.py.
1504 * tools/rst2xml.py: Renamed from docutils-xml.py.
1506 * tools/test.txt: Removed from project; moved to
1507   docs/user/rst/demo.txt.
1509 * setup.py: Now also installs ``rst2latex.py``.
1512 Release 0.3.3 (2004-05-09)
1513 ==========================
1515 * docutils/__init__.py:
1517   - 0.3.1: Reorganized config file format (multiple sections); see
1518     docs/config.txt.
1519   - Added unknown_reference_resolvers attribute to TransformSpec.
1520   - 0.3.2: Interpreted text reorganization.
1521   - 0.3.3: Released.
1523 * docutils/core.py:
1525   - Catch system messages to stop tracebacks from parsing errors.
1526   - Catch exceptions during processing report & exit without
1527     tracebacks, except when "--traceback" used.
1528   - Reordered components for OptionParser; application comes last.
1529   - Added "config_section" parameter to several methods and functions,
1530     allowing front ends to easily specify their config file sections.
1531   - Added publish_parts convenience function to allow access to individual
1532     parts of a document.
1534 * docutils/examples.py: Added to project; practical examples of
1535   Docutils client code, to be used as-is or as models for variations.
1537 * docutils/frontend.py:
1539   - Added "--traceback" & "--no-traceback" options ("traceback"
1540     setting).
1541   - Implemented support for config file reorganization:
1542     ``standard_config_files`` moved from ``ConfigParser`` to
1543     ``OptionParser``; added
1544     ``OptionParser.get_config_file_settings()`` and
1545     ``.get_standard_config_settings()``; support for old "[options]"
1546     section (with deprecation warning) and mapping from old to new
1547     settings.
1548   - Reimplemented setting validation.
1549   - Enabled flexible boolean values: yes/no, true/false, on/off.
1550   - Added ``Values``, a subclass of ``optparse.Values``, with support
1551     for list setting attributes.
1552   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1553     thanks to Beni Cherniavsky.
1554   - Added "--no-section-numbering" option.
1556 * docutils/io.py:
1558   - Catch IOErrors when opening source & destination files, report &
1559     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1560     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1562 * docutils/nodes.py:
1564   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1565     method definitions (via ``exec``) to dynamic assignments (via
1566     ``setattr``); thanks to Roman Suzi.
1567   - Encapsulated visitor dynamic assignments in a function; thanks to
1568     Ian Bicking.
1569   - Added indirect_reference_name attribute to the Targetable
1570     class. This attribute holds the whitespace_normalized_name
1571     (contains mixed case) of a target.
1573 * docutils/statemachine.py:
1575   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1576   - Added ``StringList.get_2D_block``.
1578 * docutils/utils.py:
1580   - Added "level" attribute to SystemMessage exceptions.
1582 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1583   Jannie Hofmeyr.
1585 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1586   Blaha.
1588 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1589   Marcelo Huerta San Martin.
1591 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1592   mappings by Lalo Martins.
1594 * docutils/languages/ru.py: Added to project; Russian mappings by
1595   Roman Suzi.
1597 * docutils/parsers/rst/roles.py: Added to project.  Contains
1598   interpreted text role functions, a registry for interpreted text
1599   roles, and an API for adding to and retrieving from the registry.
1600   Contributed by Edward Loper.
1602 * docutils/parsers/rst/states.py:
1604   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1605   - Allowed true em-dash character and "---" as block quote
1606     attribution marker.
1607   - Added support for <angle-bracketed> complex option arguments
1608     (option lists).
1609   - Fixed handling of backslashes in substitution definitions.
1610   - Fixed off-by-1 error with extra whitespace after substitution
1611     definition directive.
1612   - Added inline markup parsing to field lists' field names.
1613   - Added support for quoted (and unindented) literal blocks.
1614     Driven in part by a bribe from Frank Siebenlist (thanks!).
1615   - Parser now handles escapes in URIs correctly.
1616   - Made embedded-URIs' reference text omittable.  Idea from Beni
1617     Cherniavsky.
1618   - Refactored explicit target processing code.
1619   - Added name attribute to references containing the reference name only
1620     through whitespace_normalize_name (no case changes).
1621   - parse_target no longer returns the refname after going through
1622     normalize_name. This is now handled in make_target.
1623   - Fixed bug relating to role-less interpreted text in non-English
1624     contexts.
1625   - Reorganized interpreted text processing; moved code into the new
1626     roles.py module.  Contributed by Edward Loper.
1627   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1628     ``parse_directive_block``.
1630 * docutils/parsers/rst/tableparser.py:
1632   - Reworked for ``StringList``, to support "include" directives in
1633     table cells.
1635 * docutils/parsers/rst/directives/__init__.py:
1637   - Renamed ``unchanged()`` directive option conversion function to
1638     ``unchanged_required``, and added a new ``unchanged``.
1639   - Catch unicode value too high error; fixes bug 781766.
1640   - Beefed up directive error reporting.
1642 * docutils/parsers/rst/directives/body.py:
1644   - Added basic "table" directive.
1646 * docutils/parsers/rst/directives/images.py:
1648   - Added "target" option to "image" directive.
1649   - Added name attribute to references containing the reference name only
1650     through whitespace_normalize_name (no case changes).
1652 * docutils/parsers/rst/directives/misc.py:
1654   - Isolated the import of the ``urllib2`` module; was causing
1655     problems on SourceForge (``libssl.so.2`` unavailable?).
1656   - Added the "role" directive for declaring custom interpreted text
1657     roles.
1659 * docutils/parsers/rst/directives/parts.py:
1661   - The "contents" directive does more work up-front, creating the
1662     "topic" and "title", and leaving the "pending" node for the
1663     transform.  Allows earlier reference resolution; fixes subtle bug.
1665 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1666   mappings by Jannie Hofmeyr.
1668 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1669   mappings by Marek Blaha.
1671 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1672   mappings by Marcelo Huerta San Martin.
1674 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1675   Portuguese mappings by Lalo Martins.
1677 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1678   mappings by Roman Suzi.
1680 * docutils/transforms/parts.py:
1682   - The "contents" directive does more work up-front, creating the
1683     "topic" and "title", and leaving the "pending" node for the
1684     transform.  Allows earlier reference resolution; fixes subtle bug.
1685   - Added support for disabling of section numbering.
1687 * docutils/transforms/references.py:
1689   - Verifying that external targets are truly targets and not indirect
1690     references. This is because we are now adding a "name" attribute to
1691     references in addition to targets. Note sure if this is correct!
1692   - Added code to hook into the unknown_reference_resolvers list for a
1693     transformer in resolve_indirect_target. This allows the
1694     unknown_reference_resolvers to keep around indirect targets which
1695     docutils doesn't know about.
1696   - Added specific error message for duplicate targets.
1698 * docutils/transforms/universal.py:
1700   - Added FilterMessages transform (removes system messages below the
1701     verbosity threshold).
1702   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1703     to FinalCheckVisitor for application-specific handling of
1704     unresolvable references.
1705   - Added specific error message for duplicate targets.
1707 * docutils/writers/__init__.py:
1709   - Added assemble_parts method to the Writer class to allow for
1710     access to a documents individual parts.
1711   - Documented & set default for ``Writer.output`` attribute.
1713 * docutils/writers/html4css1.py:
1715   - Fixed unicode handling of attribute values (bug 760673).
1716   - Prevent duplication of "class" attribute values (bug report from
1717     Kirill Lapshin).
1718   - Improved table grid/border handling (prompted by report from Bob
1719     Marshall).
1720   - Added support for table titles.
1721   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1722     to Darek Suchojad.
1723   - Added functionality to keep track of individual parts of a document
1724     and store them in a dictionary as the "parts" attribute of the writer.
1725     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1726   - Added proper support for the "scale" attribute of the "image"
1727     element.  Contributed by Brent Cook.
1728   - Added ``--initial-header-level`` option.
1729   - Fixed bug: the body_pre_docinfo segment depended on there being a
1730     docinfo; if no docinfo, the document title was incorporated into
1731     the body segment.  Adversely affected the publish_parts interface.
1733 * docutils/writers/latex2e.py:
1735   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1736     about a missing file.
1737   - Added options and support: ``--compound-enumerators``,
1738     ``--section-prefix-for-enumerators``, and
1739     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1740     934322).
1741   - Added option ``--use-verbatim-when-possible``, to avoid
1742     problematic characters (eg, '~' in italian) in literal blocks.
1743   - It's now possible to use four section levels in the `book` and
1744     `report` LaTeX classes.  The default `article` class still has
1745     three levels limit.
1747 * docs/config.txt: "Docutils Configuration Files", added to project.
1748   Moved config file entry descriptions from tools.txt.
1750 * docs/tools.txt:
1752   - Moved config file entry descriptions to config.txt.
1754 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
1755   Development".
1757 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1758   Text Roles", added to project.
1760 * spec/rst/reStructuredText.txt:
1762   - Added description of support for <angle-bracketed> complex option
1763     arguments to option lists.
1764   - Added subsections for indented and quoted literal blocks.
1766 * test: Continually adding & updating tests.
1768   - Added test/test_settings.py & test/data/config_*.txt support
1769     files.
1770   - Added test/test_writers/test_htmlfragment.py.
1772 * test/DocutilsTestSupport.py:
1774   - Refactored LaTeX publisher test suite/case class names to make
1775     testing other writers easier.
1776   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1777     to test the processing of HTML fragments which use the new
1778     publish_parts convenience function.
1780 * tools/buildhtml.py:
1782   - Added support for the "--prune" option.
1783   - Removed dependency on pep2html.py; plaintext PEPs no longer
1784     supported.
1786 * tools/docutils.conf:
1788   - Updated for configuration file reorganization.
1790 * tools/rst2html.py:
1792   - copied from tools/html.py
1794 * setup.py:
1796   - added a 'scripts' section to configuration
1797   - added 'tools/rst2html.py' to the scripts section
1800 Release 0.3 (2003-06-24)
1801 ========================
1803 General:
1805 * Renamed "attribute" to "option" for directives/extensions.
1807 * Renamed transform method "transform" to "apply".
1809 * Renamed "options" to "settings" for runtime settings (as set by
1810   command-line options).  Sometimes "option" (singular) became
1811   "settings" (plural).  Some variations below:
1813   - document.options -> document.settings (stored in other objects as
1814     well)
1815   - option_spec -> settings_spec (not directives though)
1816   - OptionSpec -> SettingsSpec
1817   - cmdline_options -> settings_spec
1818   - relative_path_options -> relative_path_settings
1819   - option_default_overrides -> settings_default_overrides
1820   - Publisher.set_options -> Publisher.get_settings
1822 Specific:
1824 * COPYING.txt: Added "Public Domain Dedication".
1826 * FAQ.txt: Frequently asked questions, added to project.
1828 * setup.py:
1830   - Updated with PyPI Trove classifiers.
1831   - Conditional installation of third-party modules.
1833 * docutils/__init__.py:
1835   - Bumped version to 0.2.1 to reflect changes to I/O classes.
1836   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1837   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1838   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1839     option and its effect on the PEP template & writer.
1840   - Bumped version to 0.2.4 due to changes to the PEP template &
1841     stylesheet.
1842   - Bumped version to 0.2.5 to reflect changes to Reporter output.
1843   - Added ``TransformSpec`` class for new transform system.
1844   - Bumped version to 0.2.6 for API changes (renaming).
1845   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1846     convenience functions.
1847   - Added ``Component.component_type`` attribute.
1848   - Bumped version to 0.2.8 because of the internal parser switch from
1849     plain lists to the docutils.statemachine.StringList objects.
1850   - Bumped version to 0.2.9 because of the frontend.py API changes.
1851   - Bumped version to 0.2.10 due to changes to the project layout
1852     (third-party modules removed from the "docutils" package), and
1853     signature changes in ``io.Input``/``io.Output``.
1854   - Changed version to 0.3.0 for release.
1856 * docutils/core.py:
1858   - Made ``publish()`` a bit more convenient.
1859   - Generalized ``Publisher.set_io``.
1860   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1861     parameters; improved its docstring.
1862   - Added ``publish_file()`` and ``publish_string()``.
1863   - Factored ``Publisher.set_source()`` and ``.set_destination()``
1864     out of ``.set_io``.
1865   - Added support for "--dump-pseudo-xml", "--dump-settings", and
1866     "--dump-transforms" hidden options.
1867   - Added ``Publisher.apply_transforms()`` method.
1868   - Added ``Publisher.set_components()`` method; support for
1869     ``publish_*()`` conveninece functions.
1870   - Moved config file processing to docutils/frontend.py.
1871   - Added support for exit status ("exit_level" setting &
1872     ``enable_exit`` parameter for Publisher.publish() and convenience
1873     functions).
1875 * docutils/frontend.py:
1877   - Check for & exit on identical source & destination paths.
1878   - Fixed bug with absolute paths & "--config".
1879   - Set non-command-line defaults in ``OptionParser.__init__()``:
1880     ``_source`` & ``_destination``.
1881   - Distributed ``relative_path_settings`` to components; updated
1882     ``OptionParser.populate_from_components()`` to combine it all.
1883   - Require list of keys in ``make_paths_absolute`` (was implicit in
1884     global ``relative_path_settings``).
1885   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1886     "--dump-settings", and "--dump-transforms" hidden options.
1887   - Removed nasty internals-fiddling ``ConfigParser.get_section``
1888     code, replaced with correct code.
1889   - Added validation functionality for config files.
1890   - Added "--error-encoding" option/setting, "_disable_config"
1891     internal setting.
1892   - Added encoding validation; updated "--input-encoding" and
1893     "--output-encoding"; added "--error-encoding-error-handler" and
1894     "--output-encoding-error-handler".
1895   - Moved config file processing from docutils/core.py.
1896   - Updated ``OptionParser.populate_from_components`` to handle new
1897     ``SettingsSpec.settings_defaults`` dict.
1898   - Added support for "-" => stdin/stdout.
1899   - Added "exit_level" setting ("--exit" option).
1901 * docutils/io.py:
1903   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1904   - Added automatic closing to ``FileInput`` and ``FileOutput``.
1905   - Delayed opening of ``FileOutput`` file until ``write()`` called.
1906   - ``FileOutput.write()`` now returns the encoded output string.
1907   - Try to get path/stream name automatically in ``FileInput`` &
1908     ``FileOutput``.
1909   - Added defaults for source & destination paths.
1910   - Allow for Unicode I/O with an explicit "unicode" encoding.
1911   - Added ``Output.encode()``.
1912   - Removed dependency on runtime settings; pass encoding directly.
1913   - Recognize Unicode strings in ``Input.decode()``.
1914   - Added support for output encoding error handlers.
1916 * docutils/nodes.py:
1918   - Added "Invisible" element category class.
1919   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1920     modification during a traversal.
1921   - Added element classes: ``line_block``, ``generated``, ``address``,
1922     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1923     ``superscript``, ``subscript``, ``inline``
1924   - Added support for lists of nodes to ``Element.insert()``.
1925   - Fixed parent linking in ``Element.replace()``.
1926   - Added new abstract superclass ``FixedTextElement``; adds
1927     "xml:space" attribute.
1928   - Added support for "line" attribute of ``system_message`` nodes.
1929   - Added support for the observer pattern from ``utils.Reporter``.
1930     Added ``parse_messages`` and ``transform_messages`` attributes to
1931     ``document``, removed ``messages``.  Added ``note_parse_message``
1932     and ``note_transform_message`` methods.
1933   - Added support for improved diagnostics:
1935     - Added "document", "source", and "line" internal attributes to
1936       ``Node``, set by ``Node.setup_child()``.
1937     - Converted variations on ``node.parent = self`` to
1938       ``self.setup_child(node)``.
1939     - Added ``document.current_source`` & ``.current_line``
1940       attributes, and ``.note_source`` observer method.
1941     - Changed "system_message" output to GNU-Tools format.
1943   - Added a "rawsource" attribute to the ``Text`` class, for text
1944     before backslash-escape resolution.
1945   - Support for new transform system.
1946   - Reworked ``pending`` element.
1947   - Fixed XML DOM bug (SF #660611).
1948   - Removed the ``interpeted`` element class and added
1949     ``title_reference``, ``abbreviation``, ``acronym``.
1950   - Made substitutions case-sensitive-but-forgiving; moved some code
1951     from the parser.
1952   - Fixed Unicode bug on element attributes (report: William Dode).
1954 * docutils/optik.py: Removed from project; replaced with
1955   extras/optparse.py and extras/textwrap.py.  These will be installed
1956   only if they're not already present in the Python installation.
1958 * docutils/roman.py: Moved to extras/roman.py; this will be installed
1959   only if it's not already present in the Python installation.
1961 * docutils/statemachine.py:
1963   - Factored out ``State.add_initial_transitions()`` so it can be
1964     extended.
1965   - Converted whitespace-specific "blank" and "indent" transitions
1966     from special-case code to ordinary transitions: removed
1967     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
1968     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
1969     ``ws_initial_transitions`` attributes.
1970   - Removed ``State.match_transition()`` after merging it into
1971     ``.check_line()``.
1972   - Added ``StateCorrection`` exception.
1973   - Added support for ``StateCorrection`` in ``StateMachine.run()``
1974     (moved ``TransitionCorrection`` support there too.)
1975   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
1976     ``EOFError`` instead of ``IndexError``.
1977   - Added ``State.no_match`` method.
1978   - Added support for the Observer pattern, triggered by input line
1979     changes.
1980   - Added ``strip_top`` parameter to
1981     ``StateMachineWS.get_first_known_indented``.
1982   - Made ``context`` a parameter to ``StateMachine.run()``.
1983   - Added ``ViewList`` & ``StringList`` classes;
1984     ``extract_indented()`` becomes ``StringList.get_indented()``.
1985   - Added ``StateMachine.insert_input()``.
1986   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
1987     thanks to) Fred Drake.
1989 * docutils/utils.py:
1991   - Added a ``source`` attribute to Reporter instances and
1992     ``system_message`` elements.
1993   - Added an observer pattern to ``utils.Reporter`` to keep track of
1994     system messages.
1995   - Fixed bugs in ``relative_path()``.
1996   - Added support for improved diagnostics.
1997   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
1998   - Added support for encoding Reporter stderr output, and encoding
1999     error handlers.
2000   - Reporter keeps track of the highest level system message yet
2001     generated.
2003 * docutils/languages: Fixed bibliographic field language lookups.
2005 * docutils/languages/es.py: Added to project; Spanish mappings by
2006   Marcelo Huerta San Martin.
2008 * docutils/languages/fr.py: Added to project; French mappings by
2009   Stefane Fermigier.
2011 * docutils/languages/it.py: Added to project; Italian mappings by
2012   Nicola Larosa.
2014 * docutils/languages/sk.py: Added to project; Slovak mappings by
2015   Miroslav Vasko.
2017 * docutils/parser/__init__.py:
2019   - Added ``Parser.finish_parse()`` method.
2021 * docutils/parser/rst/__init__.py:
2023   - Added options: "--pep-references", "--rfc-references",
2024     "--tab-width", "--trim-footnote-reference-space".
2026 * docutils/parsers/rst/states.py:
2028   - Changed "title under/overline too short" system messages from INFO
2029     to WARNING, and fixed its insertion location.
2030   - Fixed enumerated list item parsing to allow paragraphs & section
2031     titles to begin with enumerators.
2032   - Converted system messages to use the new "line" attribute.
2033   - Fixed a substitution reference edge case.
2034   - Added support for "--pep-references" and "--rfc-references"
2035     options; reworked ``Inliner`` code to make customization easier.
2036   - Removed field argument parsing.
2037   - Added support for short section title over/underlines.
2038   - Fixed "simple reference name" regexp to ignore text like
2039     "object.__method__"; not an anonymous reference.
2040   - Added support for improved diagnostics.
2041   - Reworked directive API, based on Dethe Elza's contribution.  Added
2042     ``Body.parse_directive()``, ``.parse_directive_options()``,
2043     ``.parse_directive_arguments()`` methods.
2044   - Added ``ExtensionOptions`` class, to parse directive options
2045     without parsing field bodies.  Factored
2046     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
2047     ``ExtensionOptions``.
2048   - Improved definition list term/classifier parsing.
2049   - Added warnings for unknown directives.
2050   - Renamed ``Stuff`` to ``Struct``.
2051   - Now flagged as errors: transitions at the beginning or end of
2052     sections, empty sections (except title), and empty documents.
2053   - Updated for ``statemachine.StringList``.
2054   - Enabled recognition of schemeless email addresses in targets.
2055   - Added support for embedded URIs in hyperlink references.
2056   - Added backslash-escapes to inline markup end-string suffix.
2057   - Added support for correct interpreted text processing.
2058   - Fixed nested title parsing (topic, sidebar directives).
2059   - Added special processing of backslash-escaped whitespace (idea
2060     from David Abrahams).
2061   - Made substitutions case-sensitive-but-forgiving; moved some code
2062     to ``docutils.nodes``.
2063   - Added support for block quote attributions.
2064   - Added a kludge to work-around a conflict between the bubble-up
2065     parser strategy and short titles (<= 3 char-long over- &
2066     underlines).  Fixes SF bug #738803 "infinite loop with multiple
2067     titles" submitted by Jason Diamond.
2068   - Added explicit interpreted text roles for standard inline markup:
2069     "emphasis", "strong", "literal".
2070   - Implemented "superscript" and "subscript" interpreted text roles.
2071   - Added initial support for "abbreviation" and "acronym" roles;
2072     incomplete.
2073   - Added support for "--trim-footnote-reference-space" option.
2074   - Optional space before colons in directives & hyperlink targets.
2076 * docutils/parsers/rst/tableparser.py:
2078   - Fixed a bug that was producing unwanted empty rows in "simple"
2079     tables.
2080   - Detect bad column spans in "simple" tables.
2082 * docutils/parsers/rst/directives: Updated all directive functions to
2083   new API.
2085 * docutils/parsers/rst/directives/__init__.py:
2087   - Added ``flag()``, ``unchanged()``, ``path()``,
2088     ``nonnegative_int()``, ``choice()``, and ``class_option()``
2089     directive option helper functions.
2090   - Added warnings for unknown directives.
2091   - Return ``None`` for missing directives.
2092   - Added ``register_directive()``, thanks to William Dode and Paul
2093     Moore.
2095 * docutils/parsers/rst/directives/admonitions.py:
2097   - Added "admonition" directive.
2099 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
2100   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2101   "parsed-literal", "rubric", "epigraph", "highlights" and
2102   "pull-quote" directives.
2104 * docutils/parsers/rst/directives/images.py:
2106   - Added an "align" attribute to the "image" & "figure" directives
2107     (by Adam Chodorowski).
2108   - Added "class" option to "image", and "figclass" to "figure".
2110 * docutils/parsers/rst/directives/misc.py:
2112   - Added "include", "raw", and "replace" directives, courtesy of
2113     Dethe Elza.
2114   - Added "unicode" and "class" directives.
2116 * docutils/parsers/rst/directives/parts.py:
2118   - Added the "sectnum" directive; by Dmitry Jemerov.
2119   - Added "class" option to "contents" directive.
2121 * docutils/parsers/rst/directives/references.py: Added to project.
2122   Contains the "target-notes" directive.
2124 * docutils/parsers/rst/languages/__init__.py:
2126   - Return ``None`` from get_language() for missing language modules.
2128 * docutils/parsers/rst/languages/de.py: Added to project; German
2129   mappings by Engelbert Gruber.
2131 * docutils/parsers/rst/languages/en.py:
2133   - Added interpreted text roles mapping.
2135 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2136   mappings by Marcelo Huerta San Martin.
2138 * docutils/parsers/rst/languages/fr.py: Added to project; French
2139   mappings by William Dode.
2141 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2142   mappings by Nicola Larosa.
2144 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2145   mappings by Miroslav Vasko.
2147 * docutils/readers/__init__.py:
2149   - Added support for the observer pattern from ``utils.Reporter``, in
2150     ``Reader.parse`` and ``Reader.transform``.
2151   - Removed ``Reader.transform()`` method.
2152   - Added default parameter values to ``Reader.__init__()`` to make
2153     instantiation easier.
2154   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2156 * docutils/readers/pep.py:
2158   - Added the ``peps.TargetNotes`` transform to the Reader.
2159   - Removed PEP & RFC reference detection code; moved to
2160     parsers/rst/states.py as options (enabled here by default).
2161   - Added support for pre-acceptance PEPs (no PEP number yet).
2162   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2163     easy subclassing.
2165 * docutils/readers/python: Python Source Reader subpackage added to
2166   project, including preliminary versions of:
2168   - __init__.py
2169   - moduleparser.py: Parser for Python modules.
2171 * docutils/transforms/__init__.py:
2173   - Added ``Transformer`` class and completed transform reform.
2174   - Added unknown_reference_resolvers list for each transformer. This list holds
2175     the list of functions provided by each component of the transformer that
2176     help resolve references.
2178 * docutils/transforms/frontmatter.py:
2180   - Improved support for generic fields.
2181   - Fixed bibliographic field language lookups.
2183 * docutils/transforms/misc.py: Added to project.  Miscellaneous
2184   transforms.
2186 * docutils/transforms/parts.py:
2188   - Moved the "id" attribute from TOC list items to the references
2189     (``Contents.build_contents()``).
2190   - Added the ``SectNum`` transform; by Dmitry Jemerov.
2191   - Added "class" attribute support to ``Contents``.
2193 * docutils/transforms/peps.py:
2195   - Added ``mask_email()`` function, updating to pep2html.py's
2196     functionality.
2197   - Linked "Content-Type: text/x-rst" to PEP 12.
2198   - Added the ``TargetNotes`` PEP-specific transform.
2199   - Added ``TargetNotes.cleanup_callback``.
2200   - Added title check to ``Headers``.
2202 * docutils/transforms/references.py:
2204   - Added the ``TargetNotes`` generic transform.
2205   - Split ``Hyperlinks`` into multiple transforms.
2206   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2207   - Added check for circular indirect references.
2208   - Made substitutions case-sensitive-but-forgiving.
2210 * docutils/transforms/universal.py:
2212   - Added support for the "--expose-internal-attributes" option.
2213   - Removed ``Pending`` transform classes & data.
2215 * docutils/writers/__init__.py:
2217   - Removed ``Writer.transform()`` method.
2219 * docutils/writers/docutils-xml.py:
2221   - Added XML and doctype declarations.
2222   - Added "--no-doctype" and "--no-xml-declaration" options.
2224 * docutils/writers/html4css1.py:
2226   - "name" attributes only on these tags: a, applet, form, frame,
2227     iframe, img, map.
2228   - Added "name" attribute to <a> in section titles for Netscape 4
2229     support (bug report: Pearu Peterson).
2230   - Fixed targets (names) on footnote, citation, topic title,
2231     problematic, and system_message nodes (for Netscape 4).
2232   - Changed field names from "<td>" to "<th>".
2233   - Added "@" to "&#64;" encoding to thwart address harvesters.
2234   - Improved the vertical whitespace optimization; ignore "invisible"
2235     nodes (targets, comments, etc.).
2236   - Improved inline literals with ``<span class="pre">`` around chunks
2237     of text and ``&nbsp;`` for runs of spaces.
2238   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2239     ``self.docinfo`` segments.
2240   - Added support for "line_block", "address" elements.
2241   - Improved backlinks (footnotes & system_messages).
2242   - Improved system_message output.
2243   - Redefined "--stylesheet" as containing an invariant URL, used
2244     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2245     working directory.
2246   - Added "--footnote-references" option (superscript or brackets).
2247   - Added "--compact-lists" and "--no-compact-lists" options.
2248   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2249     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2250   - Improved field list rendering.
2251   - Added Docutils version to "generator" meta tag.
2252   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2253   - Improved layout of <pre> HTML source.
2254   - Fixed attribute typo on <colspec>.
2255   - Refined XML prologue.
2256   - Support for no stylesheet.
2257   - Removed "interpreted" element support.
2258   - Added support for "title_reference", "sidebar", "attribution",
2259     "rubric", and generic "admonition" elements.
2260   - Added "--attribution" option.
2261   - Added support for "inline", "subscript", "superscript" elements.
2262   - Added initial support for "abbreviation" and "acronym";
2263     incomplete.
2265 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2266   (from the sandbox).
2268   - Added french.
2269   - Double quotes in literal blocks (special treatment for de/ngerman).
2270   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2271   - Added  "--attribution" option.
2272   - Right align attributions.
2274 * docutils/writers/pep_html.py:
2276   - Parameterized output encoding in PEP template.
2277   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2278   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2279     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2280     working directory.
2281   - Added an override on the "--footnote-references" option.
2282   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2283   - Added Docutils version to "generator" meta tag.
2284   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2286 * docs/tools.txt:
2288   - Added a "silent" setting for ``buildhtml.py``.
2289   - Added a "Getting Help" section.
2290   - Rearranged the structure.
2291   - Kept up to date, with new settings, command-line options etc.
2292   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2293   - Converted settings table into a definition list.
2295 * docs/rst/quickstart.txt:
2297   - Added a table of contents.
2298   - Added feedback information.
2299   - Added mention of minimum section title underline lengths.
2300   - Removed the 4-character minimum for section title underlines.
2302 * docs/rst/quickref.html:
2304   - Added a "Getting Help" section.
2305   - Added a style to make section title backlinks more subtle.
2306   - Added mention of minimum section title underline lengths.
2307   - Removed the 4-character minimum for section title underlines.
2309 * extras: Directory added to project; contains third-party modules
2310   that Docutils depends on (optparse, textwrap, roman).  These are
2311   only installed if they're not already present.
2313 * licenses: Directory added to project; contains copies of license
2314   files for non-public-domain files.
2316 * spec/doctree.txt:
2318   - Changed the focus.  It's about DTD elements:  structural
2319     relationships, semantics, and external (public) attributes.  Not
2320     about the element class library.
2321   - Moved some implementation-specific stuff into ``docutils.nodes``
2322     docstrings.
2323   - Wrote descriptions of all common attributes and parameter
2324     entities.  Filled in introductory material.
2325   - Working through the element descriptions: 55 down, 37 to go.
2326   - Removed "Representation of Horizontal Rules" to
2327     spec/rst/alternatives.txt.
2329 * spec/docutils.dtd:
2331   - Added "generated" inline element.
2332   - Added "line_block" body element.
2333   - Added "auto" attribute to "title".
2334   - Changed content models of "literal_block" and "doctest_block" to
2335     ``%text.model``.
2336   - Added ``%number;`` attribute type parameter entity.
2337   - Changed ``%structural.elements;`` to ``%section.elements``.
2338   - Updated attribute types; made more specific.
2339   - Added "address" bibliographic element.
2340   - Added "line" attribute to ``system_message`` element.
2341   - Removed "field_argument" element; "field_name" may contain
2342     multiple words and whitespace.
2343   - Changed public identifier to docutils.sf.net.
2344   - Removed "interpreted" element; added "title_reference",
2345     "abbreviation", "acronym".
2346   - Removed "refuri" attribute from "footnote_reference" and
2347     "citation_reference".
2348   - Added "sidebar", "rubric", "attribution", "admonition",
2349     "superscript", "subscript", and "inline" elements.
2351 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2353 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2355 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2357 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2358   Dallas Mahrt.
2360 * spec/transforms.txt: Added to project.
2362 * spec/howto: Added subdirectory, for developer how-to docs.
2364 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2365   Elza, edited & extended by David Goodger.
2367 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
2368   project.
2370 * spec/rst/alternatives.txt:
2372   - Added "Doctree Representation of Transitions" from
2373     spec/doctree.txt.
2374   - Updated "Inline External Targets" & closed the debate.
2375   - Added ideas for interpreted text syntax extensions.
2376   - Added "Nested Inline Markup" section.
2378 * spec/rst/directives.txt:
2380   - Added directives: "topic", "sectnum", "target-notes",
2381     "line-block", "parsed-literal", "include", "replace", "sidebar",
2382     "admonition", "rubric", "epigraph", "highlights", "unicode" and
2383     "class".
2384   - Formalized descriptions of directive details.
2385   - Added an "align" attribute to the "image" & "figure" directives
2386     (by Adam Chodorowski).
2387   - Added "class" options to "topic", "sidebar", "line-block",
2388     "parsed-literal", "contents", and "image"; and "figclass" to
2389     "figure".
2391 * spec/rst/interpreted.txt: Added to project.  Descriptions of
2392   interpreted text roles.
2394 * spec/rst/introduction.txt:
2396   - Added pointers to material for new users.
2398 * spec/rst/reStructuredText.txt:
2400   - Disambiguated comments (just add a newline after the "::").
2401   - Updated enumerated list description; added a discussion of the
2402     second-line validity checking.
2403   - Updated directive description.
2404   - Added a note redirecting newbies to the user docs.
2405   - Expanded description of inline markup start-strings in non-markup
2406     contexts.
2407   - Removed field arguments and made field lists a generic construct.
2408   - Removed the 4-character minimum for section title underlines.
2409   - Clarified term/classifier delimiter & inline markup ambiguity
2410     (definition lists).
2411   - Added "Embedded URIs".
2412   - Updated "Interpreted Text" section.
2413   - Added "Character-Level Inline Markup" section.
2415 * test: Continually adding & updating tests.
2417   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2418   - Moved test/test_pep/ to test/test_readers/test_pep/.
2419   - Added test/test_readers/test_python/.
2420   - Added test/test_writers/ (Engelbert Gruber).
2422 * tools:
2424   - Made the ``locale.setlocale()`` calls in front ends
2425     fault-tolerant.
2427 * tools/buildhtml.py:
2429   - Added "--silent" option.
2430   - Fixed bug with absolute paths & "--config".
2431   - Updated for new I/O classes.
2432   - Added some exception handling.
2433   - Separated publishers' setting defaults; prevents interference.
2434   - Updated for new ``publish_file()`` convenience function.
2436 * tools/pep-html-template:
2438   - Allow for "--embed-stylesheet".
2439   - Added Docutils version to "generator" meta tag.
2440   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2441   - Conform to XHTML spec.
2443 * tools/pep2html.py:
2445   - Made ``argv`` a parameter to ``main()``.
2446   - Added support for "Content-Type:" header & arbitrary PEP formats.
2447   - Linked "Content-Type: text/plain" to PEP 9.
2448   - Files skipped (due to an error) are not pushed onto the server.
2449   - Updated for new I/O classes.
2450   - Added ``check_requirements()`` & ``pep_type_error()``.
2451   - Added some exception handling.
2452   - Updated for new ``publish_string()`` convenience function.
2453   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2455 * tools/quicktest.py:
2457   - Added "-V"/"--version" option.
2459 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2461 * tools/unicode2rstsubs.py: Added to project.  Produces character
2462   entity files (reSructuredText substitutions) from the MathML master
2463   unicode.xml file.
2465 * tools/editors: Support code for editors, added to project.  Contains
2466   ``emacs/restructuredtext.el``.
2468 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2470   - Added style for chunks of inline literals.
2471   - Removed margin for first child of table cells.
2472   - Right-aligned field list names.
2473   - Support for auto-numbered section titles in TOCs.
2474   - Increased the size of inline literals (<tt>) in titles.
2475   - Restored the light gray background for inline literals.
2476   - Added support for "line_block" elements.
2477   - Added style for "address" elements.
2478   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2479   - Improved field list rendering.
2480   - Vertical whitespace improvements.
2481   - Removed "a.target" style.
2483 * tools/stylesheets/pep.css:
2485   - Fixed nested section margins.
2486   - Other changes parallel those of ``../default.css``.
2489 Release 0.2 (2002-07-31)
2490 ========================
2492 General:
2494 - The word "component" was being used ambiguously.  From now on,
2495   "component" will be used to mean "Docutils component", as in Reader,
2496   Writer, Parser, or Transform.  Portions of documents (Table of
2497   Contents, sections, etc.)  will be called "document parts".
2498 - Did a grand renaming: a lot of ``verylongnames`` became
2499   ``very_long_names``.
2500 - Cleaned up imports: no more relative package imports or
2501   comma-separated lists of top-level modules.
2502 - Added support for an option values object which carries default
2503   settings and overrides (from command-line options and library use).
2504 - Added internal Unicode support, and support for both input and
2505   output encodings.
2506 - Added support for the ``docutils.io.IO`` class & subclasses.
2508 Specific:
2510 * docutils/__init__.py:
2512   - Added ``ApplicationError`` and ``DataError``, for use throughout
2513     the package.
2514   - Added ``Component`` base class for Docutils components; implements
2515     the ``supports`` method.
2516   - Added ``__version__`` (thus, ``docutils.__version__``).
2518 * docutils/core.py:
2520   - Removed many keyword parameters to ``Publisher.__init__()`` and
2521     ``publish()``; bundled into an option values object.  Added
2522     "argv", "usage", "description", and "option_spec" parameters for
2523     command-line support.
2524   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2525     methods.
2526   - Reworked I/O model for ``docutils.io`` wrappers.
2527   - Updated ``Publisher.set_options()``; now returns option values
2528     object.
2529   - Added support for configuration files (/etc/docutils.conf,
2530     ./docutils.conf, ~/.docutils).
2531   - Added ``Publisher.setup_option_parser()``.
2532   - Added default usage message and description.
2534 * docutils/frontend.py: Added to project; support for front-end
2535   (command-line) scripts.  Option specifications may be augmented by
2536   components.  Requires Optik (http://optik.sf.net/) for option
2537   processing (installed locally as docutils/optik.py).
2539 * docutils/io.py: Added to project; uniform API for a variety of input
2540   output mechanisms.
2542 * docutils/nodes.py:
2544   - Added ``TreeCopyVisitor`` class.
2545   - Added a ``copy`` method to ``Node`` and subclasses.
2546   - Added a ``SkipDeparture`` exception for visitors.
2547   - Renamed ``TreePruningException`` from ``VisitorException``.
2548   - Added docstrings to ``TreePruningException``, subclasses, and
2549     ``Nodes.walk()``.
2550   - Improved docstrings.
2551   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2552   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2553     imports.
2554   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2555     ``PreDecorative`` mixin.
2556   - Reworked the name/id bookkeeping; to ``document``, removed
2557     ``explicit_targets`` and ``implicit_targets`` attributes, added
2558     ``nametypes`` attribute and ``set_name_id_map`` method.
2559   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2560     traversals.
2561   - Added ``document.has_name()`` method.
2562   - Fixed DOM generation for list-attributes.
2563   - Added category class ``Labeled`` (used by footnotes & citations).
2564   - Added ``Element.set_class()`` method (sets "class" attribute).
2566 * docutils/optik.py: Added to project.  Combined from the Optik
2567   package, with added option groups and other modifications.  The use
2568   of this module is probably only temporary.
2570 * docutils/statemachine.py:
2572   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2573   - Added underscores to improve many awkward names.
2574   - In ``string2lines()``, changed whitespace normalizing translation
2575     table to regexp; restores Python 2.0 compatibility with Unicode.
2577 * docutils/urischemes.py:
2579   - Filled in some descriptions.
2580   - Added "shttp" scheme.
2582 * docutils/utils.py:
2584   - Added ``clean_rcs_keywords`` function (moved from
2585     docutils/transforms/frontmatter.py
2586     ``DocInfo.filter_rcs_keywords``).
2587   - Added underscores to improve many awkward names.
2588   - Changed names of Reporter's thresholds:
2589     warning_level -> report_level; error_level -> halt_level.
2590   - Moved ``utils.id()`` to ``nodes.make_id()``.
2591   - Added ``relative_path(source, target)``.
2593 * docutils/languages/de.py: German mappings; added to project.  Thanks
2594   to Gunnar Schwant for the translations.
2596 * docutils/languages/en.py: Added "Dedication" bibliographic field
2597   mappings.
2599 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2600   Chodorowski.
2602 * docutils/parsers/rst/states.py:
2604   - Added underscores to improve many awkward names.
2605   - Added RFC-2822 header support.
2606   - Extracted the inline parsing code from ``RSTState`` to a separate
2607     class, ``Inliner``, which will allow easy subclassing.
2608   - Made local bindings for ``memo`` container & often-used contents
2609     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2610   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2611   - Added ``MarkupMismatch`` exception; for late corrections.
2612   - Added ``-/:`` characters to inline markup's start string prefix,
2613     ``/`` to end string suffix.
2614   - Fixed a footnote bug.
2615   - Fixed a bug with literal blocks.
2616   - Applied patch from Simon Budig: simplified regexps with symbolic
2617     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2618   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2619   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2620   - Allowed non-ASCII in "simple names" (directive names, field names,
2621     references, etc.).
2622   - Converted ``Inliner.patterns.initial`` to be dynamically built
2623     from parts with ``build_regexp()`` function.
2624   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2625   - Updated docstrings.
2626   - Changed "table" to "grid_table"; added "simple_table" support.
2628 * docutils/parsers/rst/tableparser.py:
2630   - Changed ``TableParser`` to ``GridTableParser``.
2631   - Added ``SimpleTableParser``.
2632   - Refactored naming.
2634 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2635   a fallback language for directive names.
2637 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2638   directive to use a ``pending`` element, used only by HTML writers.
2640 * docutils/parsers/rst/directives/parts.py: Renamed from
2641   components.py.
2643   - Added "backlinks" attribute to "contents" directive.
2645 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2646   project by Adam Chodorowski.
2648 * docutils/readers/__init__.py: Gave Readers more control over
2649   choosing and instantiating Parsers.
2651 * docutils/readers/pep.py: Added to project; for PEP processing.
2653 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2654   requires a ``component`` parameter.
2656 * docutils/transforms/components.py: Added to project; transforms
2657   related to Docutils components.
2659 * docutils/transforms/frontmatter.py:
2661   - In ``DocInfo.extract_authors``, check for a single "author" in an
2662     "authors" group, and convert it to a single "author" element.
2663   - Added support for "Dedication" and generic bibliographic fields.
2665 * docutils/transforms/peps.py: Added to project; PEP-specific.
2667 * docutils/transforms/parts.py: Renamed from old components.py.
2669   - Added filter for `Contents`, to use alt-text for inline images,
2670     and to remove inline markup that doesn't make sense in the ToC.
2671   - Added "name" attribute to TOC topic depending on its title.
2672   - Added support for optional TOC backlinks.
2674 * docutils/transforms/references.py: Fixed indirect target resolution
2675   in ``Hyperlinks`` transform.
2677 * docutils/transforms/universal.py:
2679   - Changed ``Messages`` transform to properly filter out system
2680     messages below the warning threshold.
2681   - Added ``Decorations`` transform (support for ``--generator``,
2682     ``--date``, ``--time``, ``--source-link`` options).
2684 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2685   Engelbert Gruber's PDF writer.
2687 * docutils/writers/html4css1.py:
2689   - Made XHTML-compatible (switched to lowercase element & attribute
2690     names; empty tag format).
2691   - Escape double-dashes in comment text.
2692   - Improved boilerplate & modularity of output.
2693   - Exposed modular output in Writer class.
2694   - Added a "generator" meta tag to <head>.
2695   - Added support for the ``--stylesheet`` option.
2696   - Added support for ``decoration``, ``header``, and ``footer``
2697     elements.
2698   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2699     translation table to regexp; restores Python 2.0 compatibility
2700     with Unicode.
2701   - Added the translator class as instance variable to the Writer, to
2702     make it easily subclassable.
2703   - Improved option list spacing (thanks to Richard Jones).
2704   - Modified field list output.
2705   - Added backlinks to footnotes & citations.
2706   - Added percentage widths to "<col>" tags (from colspec).
2707   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2708     "<span>" changed to "<var>".
2709   - Inline literals: "<code>" changed to "<tt>".
2710   - Many changes to optimize vertical space: compact simple lists etc.
2711   - Add a command-line options & directive attributes to control TOC
2712     and footnote/citation backlinks.
2713   - Added support for optional footnote/citation backlinks.
2714   - Added support for generic bibliographic fields.
2715   - Identify backrefs.
2716   - Relative URLs for stylesheet links.
2718 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2719   PEPs (subclass of ``html4css1.Writer``).
2721 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2723 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2724   of the Docutils internal doctree in XML.
2726 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2728 * spec/doctree.txt:
2730   - Changed the title to "The Docutils Document Tree".
2731   - Added "Hyperlink Bookkeeping" section.
2733 * spec/docutils.dtd:
2735   - Added ``decoration``, ``header``, and ``footer`` elements.
2736   - Brought ``interpreted`` element in line with the parser: changed
2737     attribute "type" to "role", added "position".
2738   - Added support for generic bibliographic fields.
2740 * spec/notes.txt: Continual updates.  Added "Project Policies".
2742 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2743   section.
2745 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2747 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
2748   mailing list discussions.
2750 * spec/pep-0287.txt:
2752   - Renamed to "reStructuredText Docstring Format".
2753   - Minor edits.
2754   - Reworked Q&A as an enumerated list.
2755   - Converted to reStructuredText format.
2757 * spec/pysource.dtd:
2759   - Reworked structural elements, incorporating ideas from Tony Ibbs.
2761 * spec/pysource.txt: Removed from project.  Moved much of its contents
2762   to pep-0258.txt.
2764 * spec/rst/alternatives.txt:
2766   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2767   - Added "Inline External Targets" section.
2769 * spec/rst/directives.txt:
2771   - Added "backlinks" attribute to "contents" directive.
2773 * spec/rst/problems.txt:
2775   - Updated the Enumerated List Markup discussion.
2776   - Added new alternative table markup syntaxes.
2778 * spec/rst/reStructuredText.txt:
2780   - Clarified field list usage.
2781   - Updated enumerated list description.
2782   - Clarified purpose of directives.
2783   - Added ``-/:`` characters to inline markup's start string prefix,
2784     ``/`` to end string suffix.
2785   - Updated "Authors" bibliographic field behavior.
2786   - Changed "inline hyperlink targets" to "inline internal targets".
2787   - Added "simple table" syntax to supplement the existing but
2788     newly-renamed "grid tables".
2789   - Added cautions for anonymous hyperlink use.
2790   - Added "Dedication" and generic bibliographic fields.
2792 * test: Made test modules standalone (subdirectories became packages).
2794 * test/DocutilsTestSupport.py:
2796   - Added support for PEP extensions to reStructuredText.
2797   - Added support for simple tables.
2798   - Refactored naming.
2800 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2802   - Now supports true packages containing test modules
2803     (``__init__.py`` files required); fixes duplicate module name bug.
2805 * test/test_pep/: Subpackage added to project; PEP testing.
2807 * test/test_rst/test_SimpleTableParser.py: Added to project.
2809 * tools:
2811   - Updated html.py and publish.py front-end tools to use the new
2812     command-line processing facilities of ``docutils.frontend``
2813     (exposed in ``docutils.core.Publisher``), reducing each to just a
2814     few lines of code.
2815   - Added ``locale.setlocale()`` calls to front-end tools.
2817 * tools/buildhtml.py: Added to project; batch-generates .html from all
2818   the .txt files in directories and subdirectories.
2820 * tools/default.css:
2822   - Added support for ``header`` and ``footer`` elements.
2823   - Added styles for "Dedication" topics (biblio fields).
2825 * tools/docutils.conf: A configuration file; added to project.
2827 * tools/docutils-xml.py: Added to project.
2829 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2831 * tools/pep-html-template: Added to project.
2833 * tools/pep2html.py: Added to project from Python (nondist/peps).
2834   Added support for Docutils (reStructuredText PEPs).
2836 * tools/quicktest.py:
2838   - Added the ``--attributes`` option, hacked a bit.
2839   - Added a second command-line argument (output file); cleaned up.
2841 * tools/stylesheets/: Subdirectory added to project.
2843 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2846 Release 0.1 (2002-04-20)
2847 ========================
2849 This is the first release of Docutils, merged from the now inactive
2850 reStructuredText__ and `Docstring Processing System`__ projects.  For
2851 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2852 `DPS HISTORY`__ files.
2854 __ http://structuredtext.sourceforge.net/
2855 __ http://docstring.sourceforge.net/
2856 __ http://structuredtext.sourceforge.net/HISTORY.html
2857 __ http://docstring.sourceforge.net/HISTORY.html
2859 General changes: renamed 'dps' package to 'docutils'; renamed
2860 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2861 the test suites (reStructuredText's test/test_states renamed to
2862 test/test_rst); and all modifications required to make it all work.
2864 * docutils/parsers/rst/states.py:
2866   - Improved diagnostic system messages for missing blank lines.
2867   - Fixed substitution_reference bug.
2871    Local Variables:
2872    mode: indented-text
2873    indent-tabs-mode: nil
2874    sentence-end-double-space: t
2875    fill-column: 70
2876    End: