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