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