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