Backwards-compatible fix for system-exit on IOError.
[docutils/kirr.git] / docutils / HISTORY.txt
blobcc756ffb8880130ca4c37f4cebd92cce6f82b62e
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).
39   - `mode` argument for FileOutput avoids code replication in
40     BinaryFileOutput.
41   - New exceptions InputError and OutputError for IO errors in
42     FileInput/FileOutput.
43     
44 * docutils/core.py:
46   - No "hard" system exit on file IO errors: catch and report them in
47     `Publisher.reportException` instead. Allows handling by a calling
48     application if the configuration setting `traceback` is True. 
50 * docutils/utils.py -> docutils/utils/__init__.py
52   - docutils.utils is now a package (providing a place for sub-modules)
54   .. note:: docutils/math, docutils/error_reporting.py, and
55      docutils/urischemes.py will move to the utils package in the next
56      release, too. See RELEASE-NOTES__
58      __ RELEASE-NOTES.html
60   - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
61     errors recording non-ASCII filenames (fixes [ 3434355 ]).
63   - Fix relative_path() with source=None and `unicode` target.
65 * docutils/parsers/rst/states.py
67   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
68     characters and "international" quotes around inline markup.
69   - Use `field_marker` pattern to look for start of a
70     directive option block (fixes [ 3484857 ]).
72 * docutils/parsers/rst/tableparser.py
74   - Fix [ 2926161 ] for simple tables.
75     (Combining chars in grid tables still contribute to cell width.)
77 * docutils/writers/latex2e/__init__.py
79   - Support the `abbreviation` and `acronym` standard roles.
80   - Record only files required to generate the LaTeX source as dependencies.
81   - Fix handling of missing stylesheets.
82   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
83     when suppressing LaTeX section numbering.
84   - Use ``\DUtitle`` for unsupported section levels
86 * docutils/writers/html4css1/__init__.py
88   - Change default for `math-output` setting to MathJax.
89   - Fix handling of missing stylesheets.
91 * docutils/writers/docutils_xml.py
93   - Use the visitor pattern with default_visit()/default_depart() methods
94     instead of minidom to facilitate special handling of selected nodes.
95   - Support raw XML (inserted as-is inside a <raw></raw> node).
97 * docutils/writers/manpage.py
99   - Do not emit comment line with trailing blank. Problematic for VCS.
101 Release 0.8.1 (2011-08-30)
102 ==========================
104 * General:
106   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
107     and [ 3395920 ] (correct copyright info for rst.el).
109 * docutils/test/
111   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under py3k.
113 * docutils/writers/latex2e/__init__.py
115   - Clean up Babel language setting. Restores Sphinx compatibility.
117 Release 0.8 (2011-07-07)
118 ========================
120 * General:
122   - Handle language codes according to `BCP 47`_.
123   - If the specified language is not supported by Docutils,
124     warn and fall back to English.
125   - Math support: reStructuredText "math" role and directive,
126     ``math`` and ``math_block`` doctree elements.
127   - Decode command line arguments with the locale's preferred encoding
128     (to allow, e.g., ``--title=Dornröschen``).
129   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
130   - New sub-module `error_reporting`: handle encoding/decoding errors
131     when reporting exceptions.
132   - Some additions to the Docutils core are released under the 2-Clause BSD
133     license, see COPYING_ for details.
135   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
136   .. _COPYING: COPYING.html
138 * reStructuredText:
140   - Most directives now support a "name" option that attaches a
141     reference name.
143   - Directive content may start on the first line also when the directive
144     type accepts options.
146 * docs/dev/policies.txt:
148   - Recommend the 2-Clause BSD license
149     (http://www.spdx.org/licenses/BSD-2-Clause)
150     for code that is kept under the author's copyright.
152 * tools/buildhtml.py:
154   - Fix ``--local`` switch.
156 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
158 * docutils/writers/html4css1/__init__.py
160   - Set "lang" argument for objects with class argument
161     "language-<language tag>".
162   - New setting "math-output" with support for HTML, MathML, and LaTeX.
164 * docutils/writers/latex2e/__init__.py
166   - Fix [ 3043986 ] AttributeError using :local: with table of content.
167   - Place title data in the document preamble.
168   - Load `babel` package only if required.
169   - Update list of supported languages.
170   - New config setting "hyperref-options".
171     No hard-coded "unicode" hyperref option (clash with xetex).
172   - Set language for custom roles, paragraphs, block-quotes, and
173     line-quotes with class argument "language-<language tag>".
174   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
175   - Convert image URI to a local file path.
176   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
177     has more than one paragraph (Wolfgang Scherer).
178   - \leavevmode before longtable only when needed (prevents spurious vspace)
179   - do not advance table counter for tables without caption
181 * docutils/writers/xetex/__init__.py
183   - New writer generating LaTeX code for compiling with ``xelatex``.
185     A separate writer (inheriting from latex2e) instead of a ``--xetex``
186     option allows separate config options for XeTeX vs. LaTeX2e.
188 * docutils/writers/manpage.py
190   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
191   - Fix: vertical space cleaning for option group ``.``.
193 * tools/editors/emacs/rst.el:
195   - Fix [ 3001100 ] does not handle spaces in filenames
196     (thanks to Jakub Wilk)
198 * docutils/utils.py:
200   - strip whitespace from stylesheet arguments
201   - exclude combining chars from column_width()
202     (partial fix for [ 2926161 ])
204 * docutils/parsers/rst/directives/misc.py:
206   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
207     nested_parse
209 * docutils/io.py:
211   - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
212     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
214 Release 0.7 (2010-07-07)
215 ========================
217 * General:
219   - Fix [ 2881769 ] setup configuration.
220   - Fix [ 2788716 ] reporting problems in included files.
222 * docutils/io.py
224   - FileInput opens files as text files with universal newline support
225     (mode "rU", configurable with the new optional argument "mode").
227 * docutils/nodes.py
229   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
231 * docutils/utils.py
233   - Fix [ 2923723 ] let decode_path() tolerate path == None
235 * docutils/writers/html4css1/__init__.py
237   - Support SVG and SWF images (thanks to Stefan Rank).
238   - Generate valid XHTML for centered images with targets.
239     Use CSS classes instead of "align" tags for image alignment.
241 * docutils/writers/latex2e/__init__.py
243   - Use `transforms.writer_aux.Admonitions` to "normalize" special
244     admonitions.
245   - Use the ``\url`` command for URLs (breaks long URLs instead of
246     writing into the margin).
247   - Preserve runs of spaces in `inline literals`__.
248   - Deprecate ``figure_footnotes`` setting.
249   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
250   - New ``latex_preamble`` setting.
251   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
252   - Fix hyperlink targets (labels) for images, figures, and tables.
253   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
254   - Apply [ 2961991 ] Call hyperref with unicode option.
255   - Drop the special `output_encoding`__ default ("latin-1").
256     The Docutils wide default (usually "UTF-8") is used instead.
257   - Render inline markup in document title and subtitle.
258   - Fix numbering depth with LaTeX section numbering.
259   - Update Unicode -> LaTeX translations.
260   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
262 __ docs/ref/restructuredtext.html#inline-literals
263 __ docs/user/config.html#docutils-footnotes
264 __ docs/user/config.html#output_encoding
266 * docutils/writers/manpage.py
268   - Fix: supported attribute (thanks to peter2108).
269   - Remove trailing blanks in code (keep in sync with mercurial version).
270   - Titles level 1, that is ``.SH``, always uppercase.
271   - Apply patch from mg: literal text should be bold in man-pages.
273 * docutils/nodes.py
275   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
276     turkish locale.
278 * setup.py:
280   - Python 3 support: copy test/ and tools/ to the build-dir
281     and convert Python sources with 2to3.
284 Release 0.6 (2009-10-11)
285 ========================
287 * General:
289   - Docutils is now compatible with Python versions from 2.3 up to 2.6
290     and convertible to 3.1 code.
292     + Node.__nonzero__ returns True instead of 1.
293     + use os.walk instead os.path.walk.
294     + minimize "types" module where possible.
295     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
296     + Text nodes now subclass unicode rather than UserString
297       (which is gone in python 3.0).
298     + 3.0 compatibility module docutils._compat
300     + Drop 2.2 compatibility workarounds.
301     + Drop extras/optparse.py and extras/textwrap.py
302       (stdlib modules since 2.3).
304   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
305   - Unix man page export: manpage writer moved from sandbox to Doctutils
306     core.
308   - Apply [ 1719345 ] Galician translation
309   - Apply [ 1905741 ] Polish translation
310   - Apply [ 1878977 ] make_id(): deaccent characters.
311   - Apply [ 2029251 ] return nonzero when tests fail.
312   - Fix [ 1692788 ] allow UTF-8 in style sheets.
313   - Fix [ 2781629 ] support non-ASCII chars in file names.
314   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
315   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
316   - Fix [ 2821266 ] --strict option works now like --halt=info.
317   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
318   - Fix [ 1627229 ] hyperlink references in substitutions.
320   - The "newlatex" writer is orphaned.
322 * reStructuredText:
324   - Documented Unicode characters allowed as inline markup openers,
325     closers, and delimiters.
326   - Allow units for all length specifications.
327   - Allow percent sign in "scale" argument of "figure" and "image" directives.
328   - Bugfix: The "figalign" argument of a figure now works as intended
329     (aligning the figure, not its contents).
330   - Align images with class "align-[right|center|left]"
331     (allows setting the alignment of an image in a figure).
333 * docutils/nodes.py:
335   - Added ``Element.__contains__`` method, for the in-operator.
337 * docutils/parsers/rst/states.py:
339   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
340   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
341     " " (non-breaking space), and "¡ ¿" openers.
343 * docutils/parsers/directives/misc.py:
345   - Added ``start-line`` and ``end-line`` options to "include"
346     directive to select a range of lines.
347   - Hard tabs in literal inclusions are replaced by spaces. This is
348     configurable via the new ``tab-width`` option of the "include" directive
349     (a negative tab-width prevents tab expansion).
351 * docutils/utils.py:
353   - Add ``get_stylesheet_list`` function.
354   - Apply [ 2834836 ] print info at halt
356 * docutils/transforms/universal.py:
358   - Raise default priority of StripClasses to exclude stripped classes from
359     the ToC.
361 * docutils/writers/html4css1/__init__.py:
363   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
364     separated list of stylesheets.
365   - Address [ 1938891 ] Inline literal text creates "pre" span only when
366     needed to prevent inter-word line wraps.
367   - Use `translate` method instead of repeated `replace` calls.
368   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
369     classes to allow CSS styling that does not interfere with other
370     table-using constructs (field lists, citations, ...).
372 * docutils/writers/newlatex2e/__init__.py:
374   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
376 * docutils/writers/latex2e/__init__.py (see also
377   `<docs/user/docutils-05-compat.sty.html>`__) :
379   - Add ``--embed-stylesheet`` option.
380   - Apply [ 1474017 ] image vertical alignment is reversed.
381   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
382   - Change: has_key for dictionaries (not Nodes) to in-operator.
383   - Merge adjacent citations into one latex cite command.
384   - Failsave implementation of custom roles. LaTeX compilation now ignores
385     unknown classes instead of aborting with an error.
386   - Support custom roles based on standard roles.
387   - LaTeX packages can be used as ``--stylesheet`` arguments without
388     restriction. (A style sheet is now referenced with the ``\usepackage``
389     command, if it ends with ``.sty`` or has no extension.)
390   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
391   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
392   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
393     2005-02-04 as a configurable length unit).
394   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
395     if font-encoding is set to ''. LaTeX defaults to OT1 then.
396   - Set sub- and superscript role argument in text mode not as math.
397     Use a custom role based on sub-/superscript if you want italic shape.
398   - Shorter preamble and less dependencies: Load packages and define macros
399     only if required in the document.
400   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
401   - New custom environments and commands with optional "classes" argument.
402   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
403   - Better conformance to Docutils specifications with ``--use-latex-toc``.
404     Support for LaTeX generated ToC also with unnumbered sections.
405   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
406     section numbering by LaTeX.
407   - Use default font in admonitions and sidebar.
408   - Align of image in a figure defaults to 'center'.
409   - Bugfix: Newlines around targets and references prevent run-together
410     paragraphs.
411   - Fix internal hyperlinks.
412   - Use class defaults for page margins ('typearea' now optional).
413   - Float placement made configurable, default changed to "here definitely".
414   - Typeset generic topic as "quote block with title".
415   - Use template (file and configuration option).
416   - In the default template, load cmap.sty (fix text extraction in PDF) and
417     fixltx2e.sty (LaTeX patches, \textsubscript).
418   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
419   - Use `translate` instead of repeated `replace` calls for text encoding.
420   - Hyperlinked footnotes and support for symbol footnotes and
421     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
422   - Complete pairs of binary options
423     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
424     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
425   - New defaults:
426     - font-encoding: "T1" (formerly implicitely set by 'ae').
427     - use-latex-toc: true (ToC with page numbers).
428     - use-latex-footnotes: true (no mixup with figures).
430 * docutils/writers/manpage.py
432   - Do not print version at document end, this is done by the viewer.
433   - Do not print date at document end, this is done by the viewer.
434   - Fix storage of docinfo fields for none standard fields.
436 * docutils/tools/rst2man.py
438 Release 0.5 (2008-06-25)
439 ========================
441 * docutils/languages/he.py: Added to project: Hebrew mappings by
442   Meir Kriheli.
444 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
445   mappings by Meir Kriheli.
447 * docutils/frontend.py:
449   - Configuration files are now assumed and required to be
450     UTF-8-encoded.
451   - Paths of applied configuration files are now recorded in the
452     runtime setting ``_config_files`` (accessible via
453     ``--dump-settings``).
454   - Added ``--strip-elements-with-class`` and ``--strip-class``
455     options (``strip_elements_with_classes`` and ``strip_classes``
456     settings).
458 * docutils/io.py:
460   - Added code to determine the input encoding from data: encoding
461     declarations or the presence of byte order marks (UTF-8 & UTF-16).
462   - Added support for IronPython 1.0.
464 * docutils/nodes.py:
466   - Added ``document.__getstate__`` method, for pickling.
468 * docutils/parsers/rst/states.py:
470   - Allow ``+`` and ``:`` in reference names.
471   - Unquoted targets beginning with an underscore (``.. __target:
472     URI``) are no longer accepted.
473   - Added support for multiple attributions in a physical block quote
474     (indented text block), dividing it into multiple logical block
475     quotes.
476   - Added support for unicode bullets in bullet lists: "•", "‣", and
477     "⁃".
478   - Added support for new object-oriented directive interface,
479     retaining compatibility to the old functional interface.
480   - Added support for throwing ``DirectiveError``'s from within
481     directive code.
483 * docutils/parsers/rst/__init__.py:
485   - Added ``Directive`` base class.
486   - Added ``DirectiveError`` base class.
487   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
488     definitions.
490 * docutils/parsers/directives/:
492   - Refactored all reStructuredText directives to use the new
493     object-oriented directive interface.  Errors are now (mostly)
494     thrown using the new ``DirectiveError`` class.
496 * docutils/parsers/directives/misc.py:
498   - Added ``start-after`` and ``end-before`` options to ``include``
499     directive; thanks to Stefan Rank.
501 * docutils/transforms/universal.py:
503   - Added ``StripClassesAndElements`` transform to remove from the
504     document tree all elements with classes in
505     ``settings.strip_elements_with_classes`` and all "classes"
506     attribute values in ``self.document.settings.strip_classes``.
508 * docutils/transforms/writer_aux.py:
510   - Added ``Admonitions`` transform to transform specific admonitions
511     (like ``note``, ``warning``, etc.) into generic admonitions with a
512     localized title.
514 * docutils/writers/html4css1/__init__.py:
516   - Moved template functionality from the PEP/HTML writer here.
517   - Expanded the fragments available in the ``parts`` attribute.
518   - Moved ``id`` attributes from titles to surrounding ``div``
519     elements.
520   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
521     universally supported now).
522   - ``template.txt`` is now opened in text mode instead of binary mode
523     (to ensure Windows compatibility).
524   - ``a`` elements now have an "internal" or "external" class,
525     depending on reference type.
527 * docutils/writers/html4css1/template.txt: Added to project.
529 * docutils/writers/pep_html/:
531   - Moved template functionality to the HTML writer.
533 * docutils/writers/s5_html/__init__.py:
535   - Added ``view_mode`` & ``hidden_controls`` settings
536     (``--view-mode`` & ``--hidden-controls/--visible-controls``
537     options).
539 * docutils/writers/latex2e/__init__.py:
541   - Add ``--literal-block-env``
542   - Fix: escaping ``%`` in href urls.
543   - Move usepackage hyperref after stylesheet inclusion.
544   - Fix: scrartcl does not have chapter but scrreprt.
545   - Add newline after ``\end{verbatim}``.
546   - Merge smaller differences from latex2e_adaptive_preamble.
547   - Add ``use-part-section``.
548   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
549   - Using leavemode option_list no longer needs to check if parent
550     is a definition list.
551   - Append ``\leavemode`` to definition list terms.
552   - No longer write visit\_/depart_definition_list_item comments to
553     output.
554   - Table column width with 3 decimal places.
555   - Add table stubs support (boldfont).
556   - Add assemble_parts to writer.
557   - Add simply support for nested tables.
558   - Fix verbatim in tables if use-verbatim-when-possible.
559   - Use section commands down to subparagraph.
560   - Put ensuremath around some latin1 chars.
561   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
562   - New option ``--use-bibtex=style,db1,db2``.
563   - New option ``--reference-label`` to allow usage of LaTeX ref for
564     labels in section references.
565   - Add a label after every section to support sectionnumbers as reference
566     labels.
567   - Fix: bug# 1605376 rst2latex: bad options group list
568   - Remove inactive code for use_optionlist_for_option_list.
569   - Remove latex comments from option_list output.
570   - Fix: bug# 1612270 double qoutes in italian literal.
571   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
572   - Add option --use-latex-abstract.
573   - Image width unit ``px`` is translated to ``pt``.
574   - Add image height support.
575   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
576     bug #1457388
577   - Fix: Do not escape underscores in citation reference labels if
578     use-latex-citations is set.
579   - Use centering instead of center for figure contents, to avoid vertical
580     space.
581   - Recognize table class: borderless, nolines, booktabs, standard.
582   - Fix: Renaming contents section does not work with latex writer; SF
583     bug #1487405.
584   - Applied patch for custom roles with classes from Edward Loper.
585   - Fixed bug that caused crashes with more than 256 lists.
587 * docutils/writers/pep_html/__init__.py:
589   - Changed to support new python.org website structure and
590     pep2pyramid.py.
592 * docs/howto/security.txt: "Deploying Docutils Securely", added to
593   project.
595 * tools/buildhtml.py:
597   -- Added ``ignore`` setting to exclude a list of shell patterns
598      (default: ``.svn:CVS``).
600 * tools/editors/emacs/rst.el:
602   - Changed license to "GPL".
603   - Added ``rst-straighten-decorations`` function.
604   - The ``compile`` module is now always loaded.
605   - Added ``rst-toggle-line-block`` function.
606   - Headings consisting only of non-ASCII characters are now
607     recognized by ``rst-toc`` and ``rst-adjust``.
608   - Added font-lock support for multi-line comments where the first
609     comment line is empty.
610   - Added ``(require 'font-lock)``.
612 * setup.py:
614   - Provide descriptive error message if distutils is missing.
617 Release 0.4 (2006-01-09)
618 ========================
620 * General:
622   - Updated the project policies for trunk/branch development &
623     version numbering.
625 * docutils/__init__.py:
627   - Added ``__version_details__`` attribute to describe code source
628     (repository/snapshot/release).
629   - Replaced ``default_transforms`` attribute of TransformSpec with
630     ``get_transforms()`` method.
632 * docutils/core.py:
634   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
635     functions, for document tree extraction and reprocessing.
637 * docutils/io.py:
639   - Added ``DocTreeInput`` class, for reprocessing existing documents.
640   - Added support for non-Unicode (e.g. binary) writer output.
642 * docutils/nodes.py:
644   - Re-introduced ``Targetable.indirect_reference_name``, for
645     MoinMoin/reST compatibility (removed in r3124/r3129).
646   - Added ``serial_escape`` function; escapes string values that are
647     elements of a list, for serialization.  Modified Docutils-XML
648     writing (``Element._dom_node``) and pseudo-XML writing
649     (``Element.starttag``) to use ``serial_escape``.
650   - Added ``Node.deepcopy()`` method.
651   - Removed the internal lists ``document.substitution_refs``,
652     ``document.anonymous_refs``, and ``document.anonymous_targets``.
653   - Added a "container" element.
654   - Fixed bug where values of list-valued attributes of elements
655     originating from custom interpreted text roles (i.e., with custom
656     classes) were being shared between element instances.  Reported by
657     Shmuel Zeigerman.
659 * docutils/statemachine.py:
661   - Added trailing whitespace stripping to ``string2lines()``.
662   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
663     Asian double-width character support.
665 * docutils/utils.py:
667   - Added ``east_asian_column_width()`` for double-width character
668     support.
670 * docutils/languages/ja.py: Added to project: Japanese mappings by
671   Hisashi Morita.
673 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
674   mappings by Panjunyong.
676 * docutils/parsers/null.py: Added to project; a do-nothing parser.
678 * docutils/parsers/rst/__init__.py:
680   - Added validator to tab_width setting, with test.  Closes SF bug
681     #1212515, report from Wu Wei.
683 * docutils/parsers/rst/states.py:
685   - Fixed bug with escaped colons indicating a literal block.
686   - Fixed bug with enumerated lists (SF#1254145).
687   - Backslash-escaped colons inside of field names are now allowed.
688   - Targets (implicit and explicit), anonymous hyperlink references
689     and auto-numbered footnote references inside of substitution
690     definitions are now disallowed.
691   - Fixed bug: list items with blank first lines.
692   - Fixed bug: block quote attributions with indented second lines.
693   - Added East Asian double-width character support (Python 2.4 only).
695 * docutils/parsers/rst/tableparser.py:
697   - Added East Asian double-width character support (Python 2.4 only).
699 * docutils/parsers/rst/directives/body.py:
701   - Added the "container" directive.
703 * docutils/parsers/rst/directives/misc.py:
705   - Added the "default-role", "title", and "date" directives.
706   - Added standard data file syntax to the "include" directive.
707   - Added support for "class" directive content.
709 * docutils/parsers/rst/directives/images.py:
711   - Added ``indirect_reference_name`` support for images with a target
712     option.
713   - Added support for image width and height units.
714   - Fixed bug with image "target" options.
716 * docutils/parsers/rst/directives/references.py:
718   - Added "class" attribute to "target-notes" directive, for
719     footnote_reference classes.
721 * docutils/parsers/rst/include/: Directory added to project; contains
722   standard data files for the "include" directive.  Initial contents:
723   character entity substitution definition sets, and a set of
724   definitions for S5/HTML presentations.
726 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
727   mappings by David Goodger.
729 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
730   Simplified Chinese mappings by Panjunyong.
732 * docutils/readers/__init__.py:
734   - Added universal.Decorations and universal.ExposeInternals
735     transforms as default transforms for all readers.
736   - Added ``ReReader`` base class for readers that reread an existing
737     document tree.
739 * docutils/readers/doctree.py: Added to project; a reader for existing
740   document trees.
742 * docutils/transforms/frontmatter.py:
744   - Fixed the DocInfo transform to handle SVN-style expansion of the
745     "Date" keyword.
746   - In ``DocInfo.extract_authors``, treat the contents of "authors"
747     fields uniformly.
749 * docutils/transforms/misc.py:
751   - Added misc.Transitions transform, extracted from
752     universal.FinalChecks.
754 * docutils/transforms/references.py:
756   - Added references.DanglingReferences transform, extracted from
757     universal.FinalChecks.
758   - Fixed bug with doubly-indirect substitutions.
759   - Added footnote_reference classes attribute to "TargetNotes".
760   - Fixed bug with circular substitution definitions that put Docutils
761     into an infinite loop.
763 * docutils/transforms/universal.py:
765   - Added universal.ExposeInternals transform, extracted from
766     universal.FinalChecks.
767   - Removed universal.FinalChecks transform (logic has been moved to
768     several new transforms).
769   - Fixed bug with the "expose_internals" setting and Text nodes
770     (exposed by the "rawsource" internal attribute).
771   - Added the universal.StripComments transform, implementation of the
772     "strip_comments" setting.
774 * docutils/transforms/writer_aux.py: Added to project; auxiliary
775   transforms for writers.
777   - Added ``Compound`` transform, which flattens compound paragraphs.
779 * docutils/writers/: Several writer modules (html4css1.py) were
780   converted into packages.  Support modules and data files have been
781   moved into the packages.  The stylesheets for the HTML writers are
782   now installed along with the code, the code knows where to find
783   them, and the default is to use them (actually, to embed them).
784   Some adjustments to configuration files may be necessary.  The
785   easiest way to obtain the new default behavior is to remove all
786   settings whose name includes "stylesheet".
788 * docutils/writers/__init__.py:
790   - Added universal.Messages and universal.FilterMessages transforms
791     as default transforms for all writers.
792   - Added ``UnfilteredWriter`` base class for writers that pass the
793     document tree on unchanged.
795 * docutils/writers/docutils_xml.py:
797   - Made ``xmlcharrefreplace`` the default output encoding error
798     handler.
800 * docutils/writers/html4css1/:
802   - Added support for image width and height units.
803   - Made ``xmlcharrefreplace`` the default output encoding error
804     handler.
805   - Made ``--embed-stylesheet`` the default rather than
806     ``--link-stylesheet``.
807   - Moved "id" attribute from container (section etc.) to title's <a>
808     tag, to be on the same tag as "name".
809     (!!! To be reverted in Docutils 0.5.)
810   - Added vertical space between fields of field lists.
811   - Added ``--compact-field-lists`` option to remove vertical space in
812     simple field lists.
813   - Made cloaking of email addresses with ``--cloak-email-addresses``
814     less obtrusive.
815   - Fixed support for centered images.
816   - Added support for class="compact" & class="open" lists.
818 * docutils/writers/latex2e/:
820   - Underscores in citekeys are no longer escaped.
822 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
823   mapping of Unicode characters to LaTeX equivalents.
825 * docutils/writers/s5_html/: Package added to project; writer for
826   S5/HTML slide shows.
828 * docs/dev/distributing.txt: Added to project; guide for distributors
829   (package maintainers).
831 * docs/dev/hacking.txt: Added to project; guide for developers.
833 * docs/ref/doctree.txt:
835   - Updated for plural attributes "classes", "ids", "names",
836     "dupnames".
837   - Added the "container" element.
839 * docs/ref/docutils.dtd:
841   - Updated for plural attributes "classes", "ids", "names",
842     "dupnames".
844 * docs/user/emacs.txt: Added to project; a document about Emacs
845   support for reStructuredText and Docutils.
847 * docs/user/links.txt: Added to project; lists of Docutils-related
848   links.
850 * docs/user/mailing-lists.txt: Added to project; information about
851   Docutils-related mailing lists and how to access them.
853 * docs/user/slide-shows.txt: Added to project; example of and docs for
854   the S5/HTML writer (``rst2s5.py`` front end).
856 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
857   Files", added to project.
859 * test/coverage.sh: Added to project; test coverage script.
861 * test/DocutilsTestSupport.py:
863   - Added support for specifying runtime settings at the suite level.
865 * test/test_functional.py:
867   - Added the ``clear_output_directory`` function.
868   - Added support for ``_test_more`` functions in functional test
869     config files.
871 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
873 * tools/rstpep2html.py: Renamed from pep.py.
875 * tools/dev/create_unimap.py: Added to project; script to create the
876   docutils/writers/unimap_latex.py mapping file.
878 * tools/dev/profile_docutils.py: Added to project; profiler script.
880 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
882 * tools/editors/emacs/restructuredtext.el,
883   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
884   Removed from project; the functionality is now contained in rst.el.
886 * tools/editors/emacs/rst.el: Added to project.  Added many features
887   and fixed many bugs.  See docs/user/emacs.txt for details.
889 * tools/stylesheets: Removed from project.  Stylesheets have been
890   renamed and moved into writer packages.
893 Release 0.3.9 (2005-05-26)
894 ==========================
896 * General:
898   - Eliminated and replaced all uses of the old string attributes
899     ``id``, ``name``, ``dupname`` and ``class`` with references to the
900     new list attributes ``ids``, ``names``, ``dupnames`` and
901     ``classes`` throughout the whole source tree.
903 * docutils/core.py:
905   - Enabled ``--dump-*`` options when ``--traceback`` specified,
906     allowing for easier debugging.
907   - In ``Publisher.publish()``, expanded the generic top-level
908     exception catching.
910 * docutils/examples.py:
912   - Added ``internals`` function for exploration.
914 * docutils/io.py:
916   - Fixed ``Input.decode`` method to apply heuristics only if no
917     encoding is explicitly given, and to provide better reporting of
918     decoding errors.
919   - The ``Input.decode`` method now removes byte order marks (BOMs)
920     from input streams.
922 * docutils/nodes.py:
924   - ``image`` element class changed to subclass of Element, not
925     TextElement (it's an empty element, and cannot contain text).
926   - Added ``attr_defaults`` dictionary for default attribute values.
927   - Added empty list as default value for the following attributes:
928     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
929   - Added ``document.decoration`` attribute,
930     ``document.get_decoration`` method, and ``decoration.get_header``
931     & ``.get_footer`` methods.
932   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
933     methods.
935 * docutils/utils.py:
937   - Removed ``docutils.utils.Reporter.categories``,
938     ``docutils.utils.ConditionSet``, and all references to them, to
939     simplify error reporting.
941 * docutils/languages/nl.py: Added to project; Dutch mappings by
942   Martijn Pieters.
944 * docutils/parsers/rst/__init__.py:
946   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
948 * docutils/parsers/rst/states.py:
950   - Added check for escaped at-mark to prevent email address recognition.
951   - Fixed option lists to allow spaces inside ``<angle-bracketed option
952     arguments>``.
953   - Allowed whitespace in paths and URLs.
954   - Added auto-enumerated list items.
955   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
956     followed by text.
957   - Added support for table stub columns.
959 * docutils/parsers/rst/directives/__init__.py:
961   - Allowed whitespace in paths (``path`` function).
962   - Added ``uri`` directive option conversion function.
964 * docutils/parsers/rst/directives/body.py:
966   - Fixed illegal context bug with "topic" directive (allowed within
967     sidebars; not within body elements).
969 * docutils/parsers/rst/directives/images.py:
971   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
972   - Added support for the ``file_insertion_enabled`` setting in the
973     "figure" directive (disables "figwidth" option).
974   - "image" directive: added checks for valid values of "align" option,
975     depending on context.  "figure" directive: added specialized
976     "align" option and attribute on "figure" element.
977   - Made ":figwidth: image" option of "figure" directive work again.
978   - Fixed bug with reference names containing uppercase letters
979     (e.g. ``Name_``) in "target" option of "image" directive.
981 * docutils/parsers/rst/directives/misc.py:
983   - Fixed "include" and "raw" directives to catch text decoding
984     errors.
985   - Allowed whitespace in "include" & "raw" directive paths.
986   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
987     settings in "include" & "raw" directives.
989 * docutils/parsers/rst/directives/parts.py:
991   - Added "header" & "footer" directives.
992   - Fixed illegal context bug with "contents" directive (topics
993     allowed within sidebars; not within body elements).
995 * docutils/parsers/rst/directives/tables.py:
997   - Added "list-table" directive.
998   - Caught empty CSV table bug.
999   - Added support for the ``file_insertion_enabled`` setting in the
1000     "csv-table" directive.
1001   - Added ``stub-columns`` option to "csv-table" and "list-table"
1002     directives.
1004 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
1005   mappings by Martijn Pieters.
1007 * docutils/readers/standalone.py:
1009   - Added ``--section-subtitles`` and ``--no-section-subtitles``
1010     options to activate or deactivate the SectSubTitle transform.
1012 * docutils/transforms/frontmatter.py:
1014   - Added SectSubTitle transform to promote titles of lone
1015     subsections to subtitles.
1017 * docutils/transforms/references.py:
1019   - Fixed mislocated internal targets bug, by propagating internal
1020     targets to the next node, making use of the newly added support
1021     for multiple names and IDs.
1022   - Fixed duplicate footnote label bug.
1023   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
1024     transform.
1026 * docutils/writers/html4css1.py:
1028   - Fixed unencoded stylesheet reference bug (characters like "&" in
1029     stylesheet references).
1030   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
1031     tags).
1032   - Added support for multiple IDs per node by creating empty ``span``
1033     tags.
1034   - Added the ``field_name_limit`` & ``option_limit`` settings &
1035     support.
1036   - Added support for table stub columns.
1037   - Added support for the ``align`` attribute on ``figure`` elements.
1038   - Added the ``cloak_email_addresses`` setting & support.
1039   - Added ``html_prolog``, ``html_head``, ``html_body``,
1040     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
1041     ``docutils.core.publish_parts``.
1042   - Added support for section subtitles.
1044 * docutils/writers/latex2e.py:
1046   - Fixed tables starting with more than one multirow cell.
1047   - Improved --use-latex-docinfo so that organization/contact/address
1048     fields are lumped with the last author field and appear on the
1049     titlepage.
1050   - Made sure the titlepage is always shown with --use-latex-docinfo,
1051     even if the document has no title.
1052   - Made sure that latex doesn't fill in today's date if no date field
1053     was given.
1054   - Added support for section subtitles.
1056 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
1057   (under development).
1059 * docutils/writers/null.py: Added to project; a do-nothing Writer.
1061 * docs/api/publisher.txt:
1063   - Added "``publish_parts`` Details" section.
1065 * docutils/dev/repository.txt: Added to project; information about the
1066   Docutils Subversion repository.
1068 * docs/ref/docutils.dtd:
1070   - Added a ``stub`` attribute to the ``colspec`` element via the
1071     ``tbl.colspec.att`` parameter entity.
1072   - Allowed topic elements within sidebars
1073   - Added an ``align`` attribute to the ``figure`` element.
1075 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1076   writer.
1079 Release 0.3.7 (2004-12-24)
1080 ==========================
1082 * docutils/frontend.py:
1084   - Added options: --input-encoding-error-handler,
1085     --record-dependencies, --leave-footnote-reference-space,
1086     --strict-visitor.
1087   - Added command-line and config file support for "overrides" setting
1088     parameter.
1090 * docutils/io.py:
1092   - Added support for input encoding error handler.
1094 * docutils/nodes.py:
1096   - Added dispatch_visit and dispatch_departure methods to
1097     NodeVisitor; useful as a hook for Visitors.
1098   - Changed structure of ``line_block``; added ``line``.
1099   - Added ``compound`` node class.
1100   - Added a mechanism for Visitors to transitionally ignore new node
1101     classes.
1103 * docutils/utils.py:
1105   - Moved ``escape2null`` and ``unescape`` functions from
1106     docutils/parsers/rst/states.py.
1108 * docutils/parsers/rst/roles.py:
1110   - Added "raw" role.
1111   - Changed role function API: the "text" parameter now takes
1112     null-escaped interpreted text content.
1114 * docutils/parsers/rst/states.py:
1116   - Fixed bug where a "role" directive in a nested parse would crash
1117     the parser; the state machine's "language" attribute was not being
1118     copied over.
1119   - Added support for line block syntax.
1120   - Fixed directive parsing bug: argument-less directives didn't
1121     notice that arguments were present.
1122   - Removed error checking for transitions.
1123   - Added support for multiple classifiers in definition list items.
1124   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1125   - Changed role function API: the "text" parameter now takes
1126     null-escaped interpreted text content.
1127   - Empty sections and documents are allowed now.
1129 * docutils/parsers/rst/directives/__init__.py:
1131   - Added ``encoding`` directive option conversion function.
1132   - Allow multiple class names in class_option conversion function.
1134 * docutils/parsers/rst/directives/body.py:
1136   - Converted the line-block directive to use the new structure.
1137   - Extracted the old line-block functionality to the ``block``
1138     function (still used).
1139   - Added ``compound`` directive (thanks to Lea Wiemann).
1141 * docutils/parsers/rst/directives/misc.py:
1143   - Added "encoding" option to "include" and "raw" directives.
1144   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1145   - Allow multiple class names in the "class" directive.
1147 * docutils/parsers/rst/directives/parts.py:
1149   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1150     options.  Thanks to Lele Gaifax.
1152 * docutils/parsers/rst/directives/tables.py:
1154   - Added "encoding" directive to "csv-table" directive.
1155   - Added workaround for lack of Unicode support in csv.py, for
1156     non-ASCII CSV input.
1158 * docutils/transforms/misc.py:
1160   - Fixed bug when multiple "class" directives are applied to a single
1161     element.
1162   - Enabled multiple format names for "raw" directive.
1164 * docutils/transforms/references.py:
1166   - Added support for trimming whitespace from beside substitution
1167     references.
1169 * docutils/transforms/universal.py:
1171   - FinalChecks now checks for illegal transitions and moves
1172     transitions between sections.
1174 * docutils/writers/html4css1.py:
1176   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1177   - "stylesheet" and "stylesheet_path" settings are now mutually
1178     exclusive.
1179   - Added support for the new line_block/line structure.
1180   - --footnote-references now overrides
1181     --trim-footnote-reference-space, if applicable.
1182   - Added support for ``compound`` elements.
1183   - Enabled multiple format names for "raw" directive.
1184   - ``<p>`` tags of a paragraph which is the only visible child of the
1185     document node are no longer stripped.
1186   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1187     new method ``should_be_compact_paragraph()``.
1188   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1189     elements.
1190   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1191     the output if they have their ``class`` attribute set.
1192   - The whole document is now surrounded by a ``<div
1193     class="document">`` element.
1194   - Body-level images are now wrapped by their own ``<div>`` elements,
1195     with image classes copied to the wrapper, and for images which
1196     have the ``:align:`` option set, the surrounding ``<div>`` now
1197     receives a class attribute (like ``class="align-left"``).
1199 * docutils/writers/latex2e.py:
1201   - no newline after depart_term.
1202   - Added translations for some Unicode quotes.
1203   - Added option "font-encoding", made package AE the default.
1204   - "stylesheet" and "stylesheet_path" settings are now mutually
1205     exclusive.
1206   - --footnote-references now overrides
1207     --trim-footnote-reference-space, if applicable.
1208   - The footnote label style now matches the footnote reference style
1209     ("brackets" or "superscript").
1210   - Added support for ``compound`` elements.
1211   - Enabled multiple format names for "raw" directive.
1213 * docs/ref/docutils.dtd:
1215   - Changed structure of the ``line_block`` element; added ``line``.
1216   - Added ``compound`` element.
1217   - Added "ltrim" and "rtrim" attributes to
1218     ``substitution_definition`` element.
1219   - Enabled multiple format names for ``raw`` element.
1220   - Enabled multiple classifiers in ``definition_list_item`` elements.
1222 * docs/ref/rst/directives.txt
1224   - Marked "line-block" as deprecated.
1225   - "Class" directive now allows multiple class names.
1226   - Added "Rationale for Class Attribute Value Conversion".
1227   - Added warning about "raw" overuse/abuse.
1229 * docs/ref/rst/restructuredtext.txt:
1231   - Added syntax for line blocks.
1232   - Definition list items may have multiple classifiers.
1234 * docs/ref/rst/roles.txt:
1236   - Added "raw" role.
1238 * tools/stylesheets/default.css:
1240   - Added support for the new line_block structure.
1241   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1244 Release 0.3.5 (2004-07-29)
1245 ==========================
1247 General:
1249 * _`Documentation cleanup/reorganization`.
1251   - Created new subdirectories of docs/:
1253     * ``docs/user/``: introductory/tutorial material for end-users
1254     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1255     * ``docs/api/``: API reference material for client-developers
1256     * ``docs/ref/``: reference material for all groups
1257     * ``docs/howto/``: for component-developers and core-developers
1258     * ``docs/peps/``: Python Enhancement Proposals
1260   - Moved ``docs/*`` to ``docs/user/``.
1261   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1262     ``spec/`` to ``docs/dev``.
1263   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1264     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1265   - Moved ``alternatives.txt``, and ``problems.txt`` from
1266     ``spec/rst/`` to ``docs/dev/rst/``.
1267   - Moved ``reStructuredText.txt``, ``directives.txt``,
1268     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1269     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1270     ``roles.txt``, ``reStructuredText.txt`` to
1271     ``restructuredtext.txt``.
1272   - Moved ``spec/howto/`` to ``docs/howto``.
1274   In order to keep the CVS history of moved files, we supplied
1275   SourceForge with a `script for modifying the Docutils CVS
1276   repository`__.
1278   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1280   After running the cleanup script:
1282   - Added ``docs/index.txt``.
1283   - Added a ``.htaccess`` file to the ``web`` module, containing
1284     redirects for all old paths to new paths.  They'll preserve
1285     fragments (the "#name" part of a URL), and won't clutter up the
1286     file system, and will correct the URL in the user's browser.
1287   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1288     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1289     the "To Do" list itself in ``docs/dev/todo.txt``.
1290   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1291     section of ``docs/dev/todo.txt``.
1292   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1293   - Added "How To Report Bugs" to ``BUGS.txt``.
1294   - Went through all the sources and docs (including under web/) and
1295     updated links.  Mostly done by Lea Wiemann; thanks Lea!
1296     (Still need to update links in the sandboxes.)
1298 Specific:
1300 * BUGS.txt: Added to project.
1302 * THANKS.txt: Added to project.
1304 * docutils/__init__.py:
1306   - 0.3.4: Post-release.
1308 * docutils/core.py:
1310   - Added special error handling & advice for UnicodeEncodeError.
1311   - Refactored Publisher.publish (simplified exception handling &
1312     extracted debug dumps).
1313   - Renamed "enable_exit" parameter of convenience functions to
1314     "enable_exit_status".
1315   - Enabled traceback (exception propagation) by default in
1316     programmatic convenience functions.
1317   - Now publish_file and publish_cmdline convenience functions return
1318     the encoded string results in addition to their regular I/O.
1319   - Extracted common code from publish_file, publish_string, and
1320     publish_parts, into new publish_programmatically.  Extracted
1321     settings code to ``Publisher.process_programmatic_settings``.
1322   - In Publisher.publish, disabled ``settings_overrides`` when
1323     ``settings`` is supplied; redundant.
1325 * docutils/frontend.py:
1327   - Added help text for "--output-encoding-error-handler" and
1328     "--error-encoding-error-handler".
1329   - Renamed "--exit" to "--exit-status".
1330   - Simplified default-setting code.
1332 * docutils/parsers/rst/__init__.py:
1334   - Added "--pep-base-url" and "--rfc-base-url" options.
1336 * docutils/parsers/rst/states.py:
1338   - Made URI recognition more aggressive and intelligent.
1340 * docutils/parsers/rst/directives/__init__.py:
1342   - Added several directive option conversion functions.
1344 * docutils/parsers/rst/directives/body.py:
1346   - Moved "table" directive to tables.py.
1348 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1349   added to project.
1351 * docutils/writers/latex2e.py:
1353   - Added "--table-style=(standard|booktabs|nolines)"
1354   - figures get "here" option (LaTeX per default puts them at bottom),
1355     and figure content is centered.
1356   - Rowspan support for tables.
1357   - Fix: admonition titles before first section.
1358   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1359   - Replave ``_`` in literal by an underlined blank, because it has the correct
1360     width.
1361   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1362   - A few unicode replacements, if output_encoding != utf
1363   - Add "--graphicx-option".
1364   - Indent literal-blocks.
1365   - Fix: omit ``\maketitle`` when there is no document title.
1367 * docs/index.txt: "Docutils Project Documentation Overview", added to
1368   project.
1370 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1371   Tool", added to project.
1373 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1375 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1377 * docs/dev/policies.txt: Added to project (extracted from
1378   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1380 * docs/dev/release.txt: Added to project (extracted from
1381   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1383 * docs/dev/testing.txt: Added to project.
1385 * docs/dev/website.txt: Added to project (extracted from
1386   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1388 * docs/ref/rst/directives.txt:
1390   - Added directives: "table", "csv-table".
1392 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1393   added to project.  1 page for syntax, and a 1 page reference for
1394   directives and roles.  Source text to be used as-is; not meant to be
1395   converted to HTML.
1397 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1398   with a change of title.
1400 * test/functional/, contents, and test/test_functional.py: Added to
1401   project.
1403 * tools/buildhtml.py: Fixed bug with config file handling.
1405 * tools/html.py: Removed from project (duplicate of rst2html.py).
1407 * tools/pep2html.py: Removed from project (duplicate of Python's
1408   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1409   Docutils-related PEPs in docs/peps/).
1411 * tools/rst2pseudoxml.py: Renamed from publish.py.
1413 * tools/rst2xml.py: Renamed from docutils-xml.py.
1415 * tools/test.txt: Removed from project; moved to
1416   docs/user/rst/demo.txt.
1418 * setup.py: Now also installs ``rst2latex.py``.
1421 Release 0.3.3 (2004-05-09)
1422 ==========================
1424 * docutils/__init__.py:
1426   - 0.3.1: Reorganized config file format (multiple sections); see
1427     docs/config.txt.
1428   - Added unknown_reference_resolvers attribute to TransformSpec.
1429   - 0.3.2: Interpreted text reorganization.
1430   - 0.3.3: Released.
1432 * docutils/core.py:
1434   - Catch system messages to stop tracebacks from parsing errors.
1435   - Catch exceptions during processing report & exit without
1436     tracebacks, except when "--traceback" used.
1437   - Reordered components for OptionParser; application comes last.
1438   - Added "config_section" parameter to several methods and functions,
1439     allowing front ends to easily specify their config file sections.
1440   - Added publish_parts convenience function to allow access to individual
1441     parts of a document.
1443 * docutils/examples.py: Added to project; practical examples of
1444   Docutils client code, to be used as-is or as models for variations.
1446 * docutils/frontend.py:
1448   - Added "--traceback" & "--no-traceback" options ("traceback"
1449     setting).
1450   - Implemented support for config file reorganization:
1451     ``standard_config_files`` moved from ``ConfigParser`` to
1452     ``OptionParser``; added
1453     ``OptionParser.get_config_file_settings()`` and
1454     ``.get_standard_config_settings()``; support for old "[options]"
1455     section (with deprecation warning) and mapping from old to new
1456     settings.
1457   - Reimplemented setting validation.
1458   - Enabled flexible boolean values: yes/no, true/false, on/off.
1459   - Added ``Values``, a subclass of ``optparse.Values``, with support
1460     for list setting attributes.
1461   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1462     thanks to Beni Cherniavsky.
1463   - Added "--no-section-numbering" option.
1465 * docutils/io.py:
1467   - Catch IOErrors when opening source & destination files, report &
1468     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1469     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1471 * docutils/nodes.py:
1473   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1474     method definitions (via ``exec``) to dynamic assignments (via
1475     ``setattr``); thanks to Roman Suzi.
1476   - Encapsulated visitor dynamic assignments in a function; thanks to
1477     Ian Bicking.
1478   - Added indirect_reference_name attribute to the Targetable
1479     class. This attribute holds the whitespace_normalized_name
1480     (contains mixed case) of a target.
1482 * docutils/statemachine.py:
1484   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1485   - Added ``StringList.get_2D_block``.
1487 * docutils/utils.py:
1489   - Added "level" attribute to SystemMessage exceptions.
1491 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1492   Jannie Hofmeyr.
1494 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1495   Blaha.
1497 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1498   Marcelo Huerta San Martin.
1500 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1501   mappings by Lalo Martins.
1503 * docutils/languages/ru.py: Added to project; Russian mappings by
1504   Roman Suzi.
1506 * docutils/parsers/rst/roles.py: Added to project.  Contains
1507   interpreted text role functions, a registry for interpreted text
1508   roles, and an API for adding to and retrieving from the registry.
1509   Contributed by Edward Loper.
1511 * docutils/parsers/rst/states.py:
1513   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1514   - Allowed true em-dash character and "---" as block quote
1515     attribution marker.
1516   - Added support for <angle-bracketed> complex option arguments
1517     (option lists).
1518   - Fixed handling of backslashes in substitution definitions.
1519   - Fixed off-by-1 error with extra whitespace after substitution
1520     definition directive.
1521   - Added inline markup parsing to field lists' field names.
1522   - Added support for quoted (and unindented) literal blocks.
1523     Driven in part by a bribe from Frank Siebenlist (thanks!).
1524   - Parser now handles escapes in URIs correctly.
1525   - Made embedded-URIs' reference text omittable.  Idea from Beni
1526     Cherniavsky.
1527   - Refactored explicit target processing code.
1528   - Added name attribute to references containing the reference name only
1529     through whitespace_normalize_name (no case changes).
1530   - parse_target no longer returns the refname after going through
1531     normalize_name. This is now handled in make_target.
1532   - Fixed bug relating to role-less interpreted text in non-English
1533     contexts.
1534   - Reorganized interpreted text processing; moved code into the new
1535     roles.py module.  Contributed by Edward Loper.
1536   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1537     ``parse_directive_block``.
1539 * docutils/parsers/rst/tableparser.py:
1541   - Reworked for ``StringList``, to support "include" directives in
1542     table cells.
1544 * docutils/parsers/rst/directives/__init__.py:
1546   - Renamed ``unchanged()`` directive option conversion function to
1547     ``unchanged_required``, and added a new ``unchanged``.
1548   - Catch unicode value too high error; fixes bug 781766.
1549   - Beefed up directive error reporting.
1551 * docutils/parsers/rst/directives/body.py:
1553   - Added basic "table" directive.
1555 * docutils/parsers/rst/directives/images.py:
1557   - Added "target" option to "image" directive.
1558   - Added name attribute to references containing the reference name only
1559     through whitespace_normalize_name (no case changes).
1561 * docutils/parsers/rst/directives/misc.py:
1563   - Isolated the import of the ``urllib2`` module; was causing
1564     problems on SourceForge (``libssl.so.2`` unavailable?).
1565   - Added the "role" directive for declaring custom interpreted text
1566     roles.
1568 * docutils/parsers/rst/directives/parts.py:
1570   - The "contents" directive does more work up-front, creating the
1571     "topic" and "title", and leaving the "pending" node for the
1572     transform.  Allows earlier reference resolution; fixes subtle bug.
1574 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1575   mappings by Jannie Hofmeyr.
1577 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1578   mappings by Marek Blaha.
1580 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1581   mappings by Marcelo Huerta San Martin.
1583 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1584   Portuguese mappings by Lalo Martins.
1586 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1587   mappings by Roman Suzi.
1589 * docutils/transforms/parts.py:
1591   - The "contents" directive does more work up-front, creating the
1592     "topic" and "title", and leaving the "pending" node for the
1593     transform.  Allows earlier reference resolution; fixes subtle bug.
1594   - Added support for disabling of section numbering.
1596 * docutils/transforms/references.py:
1598   - Verifying that external targets are truly targets and not indirect
1599     references. This is because we are now adding a "name" attribute to
1600     references in addition to targets. Note sure if this is correct!
1601   - Added code to hook into the unknown_reference_resolvers list for a
1602     transformer in resolve_indirect_target. This allows the
1603     unknown_reference_resolvers to keep around indirect targets which
1604     docutils doesn't know about.
1605   - Added specific error message for duplicate targets.
1607 * docutils/transforms/universal.py:
1609   - Added FilterMessages transform (removes system messages below the
1610     verbosity threshold).
1611   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1612     to FinalCheckVisitor for application-specific handling of
1613     unresolvable references.
1614   - Added specific error message for duplicate targets.
1616 * docutils/writers/__init__.py:
1618   - Added assemble_parts method to the Writer class to allow for
1619     access to a documents individual parts.
1620   - Documented & set default for ``Writer.output`` attribute.
1622 * docutils/writers/html4css1.py:
1624   - Fixed unicode handling of attribute values (bug 760673).
1625   - Prevent duplication of "class" attribute values (bug report from
1626     Kirill Lapshin).
1627   - Improved table grid/border handling (prompted by report from Bob
1628     Marshall).
1629   - Added support for table titles.
1630   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1631     to Darek Suchojad.
1632   - Added functionality to keep track of individual parts of a document
1633     and store them in a dictionary as the "parts" attribute of the writer.
1634     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1635   - Added proper support for the "scale" attribute of the "image"
1636     element.  Contributed by Brent Cook.
1637   - Added ``--initial-header-level`` option.
1638   - Fixed bug: the body_pre_docinfo segment depended on there being a
1639     docinfo; if no docinfo, the document title was incorporated into
1640     the body segment.  Adversely affected the publish_parts interface.
1642 * docutils/writers/latex2e.py:
1644   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1645     about a missing file.
1646   - Added options and support: ``--compound-enumerators``,
1647     ``--section-prefix-for-enumerators``, and
1648     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1649     934322).
1650   - Added option ``--use-verbatim-when-possible``, to avoid
1651     problematic characters (eg, '~' in italian) in literal blocks.
1652   - It's now possible to use four section levels in the `book` and
1653     `report` LaTeX classes.  The default `article` class still has
1654     three levels limit.
1656 * docs/config.txt: "Docutils Configuration Files", added to project.
1657   Moved config file entry descriptions from tools.txt.
1659 * docs/tools.txt:
1661   - Moved config file entry descriptions to config.txt.
1663 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
1664   Development".
1666 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1667   Text Roles", added to project.
1669 * spec/rst/reStructuredText.txt:
1671   - Added description of support for <angle-bracketed> complex option
1672     arguments to option lists.
1673   - Added subsections for indented and quoted literal blocks.
1675 * test: Continually adding & updating tests.
1677   - Added test/test_settings.py & test/data/config_*.txt support
1678     files.
1679   - Added test/test_writers/test_htmlfragment.py.
1681 * test/DocutilsTestSupport.py:
1683   - Refactored LaTeX publisher test suite/case class names to make
1684     testing other writers easier.
1685   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1686     to test the processing of HTML fragments which use the new
1687     publish_parts convenience function.
1689 * tools/buildhtml.py:
1691   - Added support for the "--prune" option.
1692   - Removed dependency on pep2html.py; plaintext PEPs no longer
1693     supported.
1695 * tools/docutils.conf:
1697   - Updated for configuration file reorganization.
1699 * tools/rst2html.py:
1701   - copied from tools/html.py
1703 * setup.py:
1705   - added a 'scripts' section to configuration
1706   - added 'tools/rst2html.py' to the scripts section
1709 Release 0.3 (2003-06-24)
1710 ========================
1712 General:
1714 * Renamed "attribute" to "option" for directives/extensions.
1716 * Renamed transform method "transform" to "apply".
1718 * Renamed "options" to "settings" for runtime settings (as set by
1719   command-line options).  Sometimes "option" (singular) became
1720   "settings" (plural).  Some variations below:
1722   - document.options -> document.settings (stored in other objects as
1723     well)
1724   - option_spec -> settings_spec (not directives though)
1725   - OptionSpec -> SettingsSpec
1726   - cmdline_options -> settings_spec
1727   - relative_path_options -> relative_path_settings
1728   - option_default_overrides -> settings_default_overrides
1729   - Publisher.set_options -> Publisher.get_settings
1731 Specific:
1733 * COPYING.txt: Added "Public Domain Dedication".
1735 * FAQ.txt: Frequently asked questions, added to project.
1737 * setup.py:
1739   - Updated with PyPI Trove classifiers.
1740   - Conditional installation of third-party modules.
1742 * docutils/__init__.py:
1744   - Bumped version to 0.2.1 to reflect changes to I/O classes.
1745   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1746   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1747   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1748     option and its effect on the PEP template & writer.
1749   - Bumped version to 0.2.4 due to changes to the PEP template &
1750     stylesheet.
1751   - Bumped version to 0.2.5 to reflect changes to Reporter output.
1752   - Added ``TransformSpec`` class for new transform system.
1753   - Bumped version to 0.2.6 for API changes (renaming).
1754   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1755     convenience functions.
1756   - Added ``Component.component_type`` attribute.
1757   - Bumped version to 0.2.8 because of the internal parser switch from
1758     plain lists to the docutils.statemachine.StringList objects.
1759   - Bumped version to 0.2.9 because of the frontend.py API changes.
1760   - Bumped version to 0.2.10 due to changes to the project layout
1761     (third-party modules removed from the "docutils" package), and
1762     signature changes in ``io.Input``/``io.Output``.
1763   - Changed version to 0.3.0 for release.
1765 * docutils/core.py:
1767   - Made ``publish()`` a bit more convenient.
1768   - Generalized ``Publisher.set_io``.
1769   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1770     parameters; improved its docstring.
1771   - Added ``publish_file()`` and ``publish_string()``.
1772   - Factored ``Publisher.set_source()`` and ``.set_destination()``
1773     out of ``.set_io``.
1774   - Added support for "--dump-pseudo-xml", "--dump-settings", and
1775     "--dump-transforms" hidden options.
1776   - Added ``Publisher.apply_transforms()`` method.
1777   - Added ``Publisher.set_components()`` method; support for
1778     ``publish_*()`` conveninece functions.
1779   - Moved config file processing to docutils/frontend.py.
1780   - Added support for exit status ("exit_level" setting &
1781     ``enable_exit`` parameter for Publisher.publish() and convenience
1782     functions).
1784 * docutils/frontend.py:
1786   - Check for & exit on identical source & destination paths.
1787   - Fixed bug with absolute paths & "--config".
1788   - Set non-command-line defaults in ``OptionParser.__init__()``:
1789     ``_source`` & ``_destination``.
1790   - Distributed ``relative_path_settings`` to components; updated
1791     ``OptionParser.populate_from_components()`` to combine it all.
1792   - Require list of keys in ``make_paths_absolute`` (was implicit in
1793     global ``relative_path_settings``).
1794   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1795     "--dump-settings", and "--dump-transforms" hidden options.
1796   - Removed nasty internals-fiddling ``ConfigParser.get_section``
1797     code, replaced with correct code.
1798   - Added validation functionality for config files.
1799   - Added "--error-encoding" option/setting, "_disable_config"
1800     internal setting.
1801   - Added encoding validation; updated "--input-encoding" and
1802     "--output-encoding"; added "--error-encoding-error-handler" and
1803     "--output-encoding-error-handler".
1804   - Moved config file processing from docutils/core.py.
1805   - Updated ``OptionParser.populate_from_components`` to handle new
1806     ``SettingsSpec.settings_defaults`` dict.
1807   - Added support for "-" => stdin/stdout.
1808   - Added "exit_level" setting ("--exit" option).
1810 * docutils/io.py:
1812   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1813   - Added automatic closing to ``FileInput`` and ``FileOutput``.
1814   - Delayed opening of ``FileOutput`` file until ``write()`` called.
1815   - ``FileOutput.write()`` now returns the encoded output string.
1816   - Try to get path/stream name automatically in ``FileInput`` &
1817     ``FileOutput``.
1818   - Added defaults for source & destination paths.
1819   - Allow for Unicode I/O with an explicit "unicode" encoding.
1820   - Added ``Output.encode()``.
1821   - Removed dependency on runtime settings; pass encoding directly.
1822   - Recognize Unicode strings in ``Input.decode()``.
1823   - Added support for output encoding error handlers.
1825 * docutils/nodes.py:
1827   - Added "Invisible" element category class.
1828   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1829     modification during a traversal.
1830   - Added element classes: ``line_block``, ``generated``, ``address``,
1831     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1832     ``superscript``, ``subscript``, ``inline``
1833   - Added support for lists of nodes to ``Element.insert()``.
1834   - Fixed parent linking in ``Element.replace()``.
1835   - Added new abstract superclass ``FixedTextElement``; adds
1836     "xml:space" attribute.
1837   - Added support for "line" attribute of ``system_message`` nodes.
1838   - Added support for the observer pattern from ``utils.Reporter``.
1839     Added ``parse_messages`` and ``transform_messages`` attributes to
1840     ``document``, removed ``messages``.  Added ``note_parse_message``
1841     and ``note_transform_message`` methods.
1842   - Added support for improved diagnostics:
1844     - Added "document", "source", and "line" internal attributes to
1845       ``Node``, set by ``Node.setup_child()``.
1846     - Converted variations on ``node.parent = self`` to
1847       ``self.setup_child(node)``.
1848     - Added ``document.current_source`` & ``.current_line``
1849       attributes, and ``.note_source`` observer method.
1850     - Changed "system_message" output to GNU-Tools format.
1852   - Added a "rawsource" attribute to the ``Text`` class, for text
1853     before backslash-escape resolution.
1854   - Support for new transform system.
1855   - Reworked ``pending`` element.
1856   - Fixed XML DOM bug (SF #660611).
1857   - Removed the ``interpeted`` element class and added
1858     ``title_reference``, ``abbreviation``, ``acronym``.
1859   - Made substitutions case-sensitive-but-forgiving; moved some code
1860     from the parser.
1861   - Fixed Unicode bug on element attributes (report: William Dode).
1863 * docutils/optik.py: Removed from project; replaced with
1864   extras/optparse.py and extras/textwrap.py.  These will be installed
1865   only if they're not already present in the Python installation.
1867 * docutils/roman.py: Moved to extras/roman.py; this will be installed
1868   only if it's not already present in the Python installation.
1870 * docutils/statemachine.py:
1872   - Factored out ``State.add_initial_transitions()`` so it can be
1873     extended.
1874   - Converted whitespace-specific "blank" and "indent" transitions
1875     from special-case code to ordinary transitions: removed
1876     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
1877     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
1878     ``ws_initial_transitions`` attributes.
1879   - Removed ``State.match_transition()`` after merging it into
1880     ``.check_line()``.
1881   - Added ``StateCorrection`` exception.
1882   - Added support for ``StateCorrection`` in ``StateMachine.run()``
1883     (moved ``TransitionCorrection`` support there too.)
1884   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
1885     ``EOFError`` instead of ``IndexError``.
1886   - Added ``State.no_match`` method.
1887   - Added support for the Observer pattern, triggered by input line
1888     changes.
1889   - Added ``strip_top`` parameter to
1890     ``StateMachineWS.get_first_known_indented``.
1891   - Made ``context`` a parameter to ``StateMachine.run()``.
1892   - Added ``ViewList`` & ``StringList`` classes;
1893     ``extract_indented()`` becomes ``StringList.get_indented()``.
1894   - Added ``StateMachine.insert_input()``.
1895   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
1896     thanks to) Fred Drake.
1898 * docutils/utils.py:
1900   - Added a ``source`` attribute to Reporter instances and
1901     ``system_message`` elements.
1902   - Added an observer pattern to ``utils.Reporter`` to keep track of
1903     system messages.
1904   - Fixed bugs in ``relative_path()``.
1905   - Added support for improved diagnostics.
1906   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
1907   - Added support for encoding Reporter stderr output, and encoding
1908     error handlers.
1909   - Reporter keeps track of the highest level system message yet
1910     generated.
1912 * docutils/languages: Fixed bibliographic field language lookups.
1914 * docutils/languages/es.py: Added to project; Spanish mappings by
1915   Marcelo Huerta San Martin.
1917 * docutils/languages/fr.py: Added to project; French mappings by
1918   Stefane Fermigier.
1920 * docutils/languages/it.py: Added to project; Italian mappings by
1921   Nicola Larosa.
1923 * docutils/languages/sk.py: Added to project; Slovak mappings by
1924   Miroslav Vasko.
1926 * docutils/parser/__init__.py:
1928   - Added ``Parser.finish_parse()`` method.
1930 * docutils/parser/rst/__init__.py:
1932   - Added options: "--pep-references", "--rfc-references",
1933     "--tab-width", "--trim-footnote-reference-space".
1935 * docutils/parsers/rst/states.py:
1937   - Changed "title under/overline too short" system messages from INFO
1938     to WARNING, and fixed its insertion location.
1939   - Fixed enumerated list item parsing to allow paragraphs & section
1940     titles to begin with enumerators.
1941   - Converted system messages to use the new "line" attribute.
1942   - Fixed a substitution reference edge case.
1943   - Added support for "--pep-references" and "--rfc-references"
1944     options; reworked ``Inliner`` code to make customization easier.
1945   - Removed field argument parsing.
1946   - Added support for short section title over/underlines.
1947   - Fixed "simple reference name" regexp to ignore text like
1948     "object.__method__"; not an anonymous reference.
1949   - Added support for improved diagnostics.
1950   - Reworked directive API, based on Dethe Elza's contribution.  Added
1951     ``Body.parse_directive()``, ``.parse_directive_options()``,
1952     ``.parse_directive_arguments()`` methods.
1953   - Added ``ExtensionOptions`` class, to parse directive options
1954     without parsing field bodies.  Factored
1955     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
1956     ``ExtensionOptions``.
1957   - Improved definition list term/classifier parsing.
1958   - Added warnings for unknown directives.
1959   - Renamed ``Stuff`` to ``Struct``.
1960   - Now flagged as errors: transitions at the beginning or end of
1961     sections, empty sections (except title), and empty documents.
1962   - Updated for ``statemachine.StringList``.
1963   - Enabled recognition of schemeless email addresses in targets.
1964   - Added support for embedded URIs in hyperlink references.
1965   - Added backslash-escapes to inline markup end-string suffix.
1966   - Added support for correct interpreted text processing.
1967   - Fixed nested title parsing (topic, sidebar directives).
1968   - Added special processing of backslash-escaped whitespace (idea
1969     from David Abrahams).
1970   - Made substitutions case-sensitive-but-forgiving; moved some code
1971     to ``docutils.nodes``.
1972   - Added support for block quote attributions.
1973   - Added a kludge to work-around a conflict between the bubble-up
1974     parser strategy and short titles (<= 3 char-long over- &
1975     underlines).  Fixes SF bug #738803 "infinite loop with multiple
1976     titles" submitted by Jason Diamond.
1977   - Added explicit interpreted text roles for standard inline markup:
1978     "emphasis", "strong", "literal".
1979   - Implemented "superscript" and "subscript" interpreted text roles.
1980   - Added initial support for "abbreviation" and "acronym" roles;
1981     incomplete.
1982   - Added support for "--trim-footnote-reference-space" option.
1983   - Optional space before colons in directives & hyperlink targets.
1985 * docutils/parsers/rst/tableparser.py:
1987   - Fixed a bug that was producing unwanted empty rows in "simple"
1988     tables.
1989   - Detect bad column spans in "simple" tables.
1991 * docutils/parsers/rst/directives: Updated all directive functions to
1992   new API.
1994 * docutils/parsers/rst/directives/__init__.py:
1996   - Added ``flag()``, ``unchanged()``, ``path()``,
1997     ``nonnegative_int()``, ``choice()``, and ``class_option()``
1998     directive option helper functions.
1999   - Added warnings for unknown directives.
2000   - Return ``None`` for missing directives.
2001   - Added ``register_directive()``, thanks to William Dode and Paul
2002     Moore.
2004 * docutils/parsers/rst/directives/admonitions.py:
2006   - Added "admonition" directive.
2008 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
2009   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
2010   "parsed-literal", "rubric", "epigraph", "highlights" and
2011   "pull-quote" directives.
2013 * docutils/parsers/rst/directives/images.py:
2015   - Added an "align" attribute to the "image" & "figure" directives
2016     (by Adam Chodorowski).
2017   - Added "class" option to "image", and "figclass" to "figure".
2019 * docutils/parsers/rst/directives/misc.py:
2021   - Added "include", "raw", and "replace" directives, courtesy of
2022     Dethe Elza.
2023   - Added "unicode" and "class" directives.
2025 * docutils/parsers/rst/directives/parts.py:
2027   - Added the "sectnum" directive; by Dmitry Jemerov.
2028   - Added "class" option to "contents" directive.
2030 * docutils/parsers/rst/directives/references.py: Added to project.
2031   Contains the "target-notes" directive.
2033 * docutils/parsers/rst/languages/__init__.py:
2035   - Return ``None`` from get_language() for missing language modules.
2037 * docutils/parsers/rst/languages/de.py: Added to project; German
2038   mappings by Engelbert Gruber.
2040 * docutils/parsers/rst/languages/en.py:
2042   - Added interpreted text roles mapping.
2044 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
2045   mappings by Marcelo Huerta San Martin.
2047 * docutils/parsers/rst/languages/fr.py: Added to project; French
2048   mappings by William Dode.
2050 * docutils/parsers/rst/languages/it.py: Added to project; Italian
2051   mappings by Nicola Larosa.
2053 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
2054   mappings by Miroslav Vasko.
2056 * docutils/readers/__init__.py:
2058   - Added support for the observer pattern from ``utils.Reporter``, in
2059     ``Reader.parse`` and ``Reader.transform``.
2060   - Removed ``Reader.transform()`` method.
2061   - Added default parameter values to ``Reader.__init__()`` to make
2062     instantiation easier.
2063   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2065 * docutils/readers/pep.py:
2067   - Added the ``peps.TargetNotes`` transform to the Reader.
2068   - Removed PEP & RFC reference detection code; moved to
2069     parsers/rst/states.py as options (enabled here by default).
2070   - Added support for pre-acceptance PEPs (no PEP number yet).
2071   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2072     easy subclassing.
2074 * docutils/readers/python: Python Source Reader subpackage added to
2075   project, including preliminary versions of:
2077   - __init__.py
2078   - moduleparser.py: Parser for Python modules.
2080 * docutils/transforms/__init__.py:
2082   - Added ``Transformer`` class and completed transform reform.
2083   - Added unknown_reference_resolvers list for each transformer. This list holds
2084     the list of functions provided by each component of the transformer that
2085     help resolve references.
2087 * docutils/transforms/frontmatter.py:
2089   - Improved support for generic fields.
2090   - Fixed bibliographic field language lookups.
2092 * docutils/transforms/misc.py: Added to project.  Miscellaneous
2093   transforms.
2095 * docutils/transforms/parts.py:
2097   - Moved the "id" attribute from TOC list items to the references
2098     (``Contents.build_contents()``).
2099   - Added the ``SectNum`` transform; by Dmitry Jemerov.
2100   - Added "class" attribute support to ``Contents``.
2102 * docutils/transforms/peps.py:
2104   - Added ``mask_email()`` function, updating to pep2html.py's
2105     functionality.
2106   - Linked "Content-Type: text/x-rst" to PEP 12.
2107   - Added the ``TargetNotes`` PEP-specific transform.
2108   - Added ``TargetNotes.cleanup_callback``.
2109   - Added title check to ``Headers``.
2111 * docutils/transforms/references.py:
2113   - Added the ``TargetNotes`` generic transform.
2114   - Split ``Hyperlinks`` into multiple transforms.
2115   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2116   - Added check for circular indirect references.
2117   - Made substitutions case-sensitive-but-forgiving.
2119 * docutils/transforms/universal.py:
2121   - Added support for the "--expose-internal-attributes" option.
2122   - Removed ``Pending`` transform classes & data.
2124 * docutils/writers/__init__.py:
2126   - Removed ``Writer.transform()`` method.
2128 * docutils/writers/docutils-xml.py:
2130   - Added XML and doctype declarations.
2131   - Added "--no-doctype" and "--no-xml-declaration" options.
2133 * docutils/writers/html4css1.py:
2135   - "name" attributes only on these tags: a, applet, form, frame,
2136     iframe, img, map.
2137   - Added "name" attribute to <a> in section titles for Netscape 4
2138     support (bug report: Pearu Peterson).
2139   - Fixed targets (names) on footnote, citation, topic title,
2140     problematic, and system_message nodes (for Netscape 4).
2141   - Changed field names from "<td>" to "<th>".
2142   - Added "@" to "&#64;" encoding to thwart address harvesters.
2143   - Improved the vertical whitespace optimization; ignore "invisible"
2144     nodes (targets, comments, etc.).
2145   - Improved inline literals with ``<span class="pre">`` around chunks
2146     of text and ``&nbsp;`` for runs of spaces.
2147   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2148     ``self.docinfo`` segments.
2149   - Added support for "line_block", "address" elements.
2150   - Improved backlinks (footnotes & system_messages).
2151   - Improved system_message output.
2152   - Redefined "--stylesheet" as containing an invariant URL, used
2153     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2154     working directory.
2155   - Added "--footnote-references" option (superscript or brackets).
2156   - Added "--compact-lists" and "--no-compact-lists" options.
2157   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2158     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2159   - Improved field list rendering.
2160   - Added Docutils version to "generator" meta tag.
2161   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2162   - Improved layout of <pre> HTML source.
2163   - Fixed attribute typo on <colspec>.
2164   - Refined XML prologue.
2165   - Support for no stylesheet.
2166   - Removed "interpreted" element support.
2167   - Added support for "title_reference", "sidebar", "attribution",
2168     "rubric", and generic "admonition" elements.
2169   - Added "--attribution" option.
2170   - Added support for "inline", "subscript", "superscript" elements.
2171   - Added initial support for "abbreviation" and "acronym";
2172     incomplete.
2174 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2175   (from the sandbox).
2177   - Added french.
2178   - Double quotes in literal blocks (special treatment for de/ngerman).
2179   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2180   - Added  "--attribution" option.
2181   - Right align attributions.
2183 * docutils/writers/pep_html.py:
2185   - Parameterized output encoding in PEP template.
2186   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2187   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2188     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2189     working directory.
2190   - Added an override on the "--footnote-references" option.
2191   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2192   - Added Docutils version to "generator" meta tag.
2193   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2195 * docs/tools.txt:
2197   - Added a "silent" setting for ``buildhtml.py``.
2198   - Added a "Getting Help" section.
2199   - Rearranged the structure.
2200   - Kept up to date, with new settings, command-line options etc.
2201   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2202   - Converted settings table into a definition list.
2204 * docs/rst/quickstart.txt:
2206   - Added a table of contents.
2207   - Added feedback information.
2208   - Added mention of minimum section title underline lengths.
2209   - Removed the 4-character minimum for section title underlines.
2211 * docs/rst/quickref.html:
2213   - Added a "Getting Help" section.
2214   - Added a style to make section title backlinks more subtle.
2215   - Added mention of minimum section title underline lengths.
2216   - Removed the 4-character minimum for section title underlines.
2218 * extras: Directory added to project; contains third-party modules
2219   that Docutils depends on (optparse, textwrap, roman).  These are
2220   only installed if they're not already present.
2222 * licenses: Directory added to project; contains copies of license
2223   files for non-public-domain files.
2225 * spec/doctree.txt:
2227   - Changed the focus.  It's about DTD elements:  structural
2228     relationships, semantics, and external (public) attributes.  Not
2229     about the element class library.
2230   - Moved some implementation-specific stuff into ``docutils.nodes``
2231     docstrings.
2232   - Wrote descriptions of all common attributes and parameter
2233     entities.  Filled in introductory material.
2234   - Working through the element descriptions: 55 down, 37 to go.
2235   - Removed "Representation of Horizontal Rules" to
2236     spec/rst/alternatives.txt.
2238 * spec/docutils.dtd:
2240   - Added "generated" inline element.
2241   - Added "line_block" body element.
2242   - Added "auto" attribute to "title".
2243   - Changed content models of "literal_block" and "doctest_block" to
2244     ``%text.model``.
2245   - Added ``%number;`` attribute type parameter entity.
2246   - Changed ``%structural.elements;`` to ``%section.elements``.
2247   - Updated attribute types; made more specific.
2248   - Added "address" bibliographic element.
2249   - Added "line" attribute to ``system_message`` element.
2250   - Removed "field_argument" element; "field_name" may contain
2251     multiple words and whitespace.
2252   - Changed public identifier to docutils.sf.net.
2253   - Removed "interpreted" element; added "title_reference",
2254     "abbreviation", "acronym".
2255   - Removed "refuri" attribute from "footnote_reference" and
2256     "citation_reference".
2257   - Added "sidebar", "rubric", "attribution", "admonition",
2258     "superscript", "subscript", and "inline" elements.
2260 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2262 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2264 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2266 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2267   Dallas Mahrt.
2269 * spec/transforms.txt: Added to project.
2271 * spec/howto: Added subdirectory, for developer how-to docs.
2273 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2274   Elza, edited & extended by David Goodger.
2276 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
2277   project.
2279 * spec/rst/alternatives.txt:
2281   - Added "Doctree Representation of Transitions" from
2282     spec/doctree.txt.
2283   - Updated "Inline External Targets" & closed the debate.
2284   - Added ideas for interpreted text syntax extensions.
2285   - Added "Nested Inline Markup" section.
2287 * spec/rst/directives.txt:
2289   - Added directives: "topic", "sectnum", "target-notes",
2290     "line-block", "parsed-literal", "include", "replace", "sidebar",
2291     "admonition", "rubric", "epigraph", "highlights", "unicode" and
2292     "class".
2293   - Formalized descriptions of directive details.
2294   - Added an "align" attribute to the "image" & "figure" directives
2295     (by Adam Chodorowski).
2296   - Added "class" options to "topic", "sidebar", "line-block",
2297     "parsed-literal", "contents", and "image"; and "figclass" to
2298     "figure".
2300 * spec/rst/interpreted.txt: Added to project.  Descriptions of
2301   interpreted text roles.
2303 * spec/rst/introduction.txt:
2305   - Added pointers to material for new users.
2307 * spec/rst/reStructuredText.txt:
2309   - Disambiguated comments (just add a newline after the "::").
2310   - Updated enumerated list description; added a discussion of the
2311     second-line validity checking.
2312   - Updated directive description.
2313   - Added a note redirecting newbies to the user docs.
2314   - Expanded description of inline markup start-strings in non-markup
2315     contexts.
2316   - Removed field arguments and made field lists a generic construct.
2317   - Removed the 4-character minimum for section title underlines.
2318   - Clarified term/classifier delimiter & inline markup ambiguity
2319     (definition lists).
2320   - Added "Embedded URIs".
2321   - Updated "Interpreted Text" section.
2322   - Added "Character-Level Inline Markup" section.
2324 * test: Continually adding & updating tests.
2326   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2327   - Moved test/test_pep/ to test/test_readers/test_pep/.
2328   - Added test/test_readers/test_python/.
2329   - Added test/test_writers/ (Engelbert Gruber).
2331 * tools:
2333   - Made the ``locale.setlocale()`` calls in front ends
2334     fault-tolerant.
2336 * tools/buildhtml.py:
2338   - Added "--silent" option.
2339   - Fixed bug with absolute paths & "--config".
2340   - Updated for new I/O classes.
2341   - Added some exception handling.
2342   - Separated publishers' setting defaults; prevents interference.
2343   - Updated for new ``publish_file()`` convenience function.
2345 * tools/pep-html-template:
2347   - Allow for "--embed-stylesheet".
2348   - Added Docutils version to "generator" meta tag.
2349   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2350   - Conform to XHTML spec.
2352 * tools/pep2html.py:
2354   - Made ``argv`` a parameter to ``main()``.
2355   - Added support for "Content-Type:" header & arbitrary PEP formats.
2356   - Linked "Content-Type: text/plain" to PEP 9.
2357   - Files skipped (due to an error) are not pushed onto the server.
2358   - Updated for new I/O classes.
2359   - Added ``check_requirements()`` & ``pep_type_error()``.
2360   - Added some exception handling.
2361   - Updated for new ``publish_string()`` convenience function.
2362   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2364 * tools/quicktest.py:
2366   - Added "-V"/"--version" option.
2368 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2370 * tools/unicode2rstsubs.py: Added to project.  Produces character
2371   entity files (reSructuredText substitutions) from the MathML master
2372   unicode.xml file.
2374 * tools/editors: Support code for editors, added to project.  Contains
2375   ``emacs/restructuredtext.el``.
2377 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2379   - Added style for chunks of inline literals.
2380   - Removed margin for first child of table cells.
2381   - Right-aligned field list names.
2382   - Support for auto-numbered section titles in TOCs.
2383   - Increased the size of inline literals (<tt>) in titles.
2384   - Restored the light gray background for inline literals.
2385   - Added support for "line_block" elements.
2386   - Added style for "address" elements.
2387   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2388   - Improved field list rendering.
2389   - Vertical whitespace improvements.
2390   - Removed "a.target" style.
2392 * tools/stylesheets/pep.css:
2394   - Fixed nested section margins.
2395   - Other changes parallel those of ``../default.css``.
2398 Release 0.2 (2002-07-31)
2399 ========================
2401 General:
2403 - The word "component" was being used ambiguously.  From now on,
2404   "component" will be used to mean "Docutils component", as in Reader,
2405   Writer, Parser, or Transform.  Portions of documents (Table of
2406   Contents, sections, etc.)  will be called "document parts".
2407 - Did a grand renaming: a lot of ``verylongnames`` became
2408   ``very_long_names``.
2409 - Cleaned up imports: no more relative package imports or
2410   comma-separated lists of top-level modules.
2411 - Added support for an option values object which carries default
2412   settings and overrides (from command-line options and library use).
2413 - Added internal Unicode support, and support for both input and
2414   output encodings.
2415 - Added support for the ``docutils.io.IO`` class & subclasses.
2417 Specific:
2419 * docutils/__init__.py:
2421   - Added ``ApplicationError`` and ``DataError``, for use throughout
2422     the package.
2423   - Added ``Component`` base class for Docutils components; implements
2424     the ``supports`` method.
2425   - Added ``__version__`` (thus, ``docutils.__version__``).
2427 * docutils/core.py:
2429   - Removed many keyword parameters to ``Publisher.__init__()`` and
2430     ``publish()``; bundled into an option values object.  Added
2431     "argv", "usage", "description", and "option_spec" parameters for
2432     command-line support.
2433   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2434     methods.
2435   - Reworked I/O model for ``docutils.io`` wrappers.
2436   - Updated ``Publisher.set_options()``; now returns option values
2437     object.
2438   - Added support for configuration files (/etc/docutils.conf,
2439     ./docutils.conf, ~/.docutils).
2440   - Added ``Publisher.setup_option_parser()``.
2441   - Added default usage message and description.
2443 * docutils/frontend.py: Added to project; support for front-end
2444   (command-line) scripts.  Option specifications may be augmented by
2445   components.  Requires Optik (http://optik.sf.net/) for option
2446   processing (installed locally as docutils/optik.py).
2448 * docutils/io.py: Added to project; uniform API for a variety of input
2449   output mechanisms.
2451 * docutils/nodes.py:
2453   - Added ``TreeCopyVisitor`` class.
2454   - Added a ``copy`` method to ``Node`` and subclasses.
2455   - Added a ``SkipDeparture`` exception for visitors.
2456   - Renamed ``TreePruningException`` from ``VisitorException``.
2457   - Added docstrings to ``TreePruningException``, subclasses, and
2458     ``Nodes.walk()``.
2459   - Improved docstrings.
2460   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2461   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2462     imports.
2463   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2464     ``PreDecorative`` mixin.
2465   - Reworked the name/id bookkeeping; to ``document``, removed
2466     ``explicit_targets`` and ``implicit_targets`` attributes, added
2467     ``nametypes`` attribute and ``set_name_id_map`` method.
2468   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2469     traversals.
2470   - Added ``document.has_name()`` method.
2471   - Fixed DOM generation for list-attributes.
2472   - Added category class ``Labeled`` (used by footnotes & citations).
2473   - Added ``Element.set_class()`` method (sets "class" attribute).
2475 * docutils/optik.py: Added to project.  Combined from the Optik
2476   package, with added option groups and other modifications.  The use
2477   of this module is probably only temporary.
2479 * docutils/statemachine.py:
2481   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2482   - Added underscores to improve many awkward names.
2483   - In ``string2lines()``, changed whitespace normalizing translation
2484     table to regexp; restores Python 2.0 compatibility with Unicode.
2486 * docutils/urischemes.py:
2488   - Filled in some descriptions.
2489   - Added "shttp" scheme.
2491 * docutils/utils.py:
2493   - Added ``clean_rcs_keywords`` function (moved from
2494     docutils/transforms/frontmatter.py
2495     ``DocInfo.filter_rcs_keywords``).
2496   - Added underscores to improve many awkward names.
2497   - Changed names of Reporter's thresholds:
2498     warning_level -> report_level; error_level -> halt_level.
2499   - Moved ``utils.id()`` to ``nodes.make_id()``.
2500   - Added ``relative_path(source, target)``.
2502 * docutils/languages/de.py: German mappings; added to project.  Thanks
2503   to Gunnar Schwant for the translations.
2505 * docutils/languages/en.py: Added "Dedication" bibliographic field
2506   mappings.
2508 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2509   Chodorowski.
2511 * docutils/parsers/rst/states.py:
2513   - Added underscores to improve many awkward names.
2514   - Added RFC-2822 header support.
2515   - Extracted the inline parsing code from ``RSTState`` to a separate
2516     class, ``Inliner``, which will allow easy subclassing.
2517   - Made local bindings for ``memo`` container & often-used contents
2518     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2519   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2520   - Added ``MarkupMismatch`` exception; for late corrections.
2521   - Added ``-/:`` characters to inline markup's start string prefix,
2522     ``/`` to end string suffix.
2523   - Fixed a footnote bug.
2524   - Fixed a bug with literal blocks.
2525   - Applied patch from Simon Budig: simplified regexps with symbolic
2526     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2527   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2528   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2529   - Allowed non-ASCII in "simple names" (directive names, field names,
2530     references, etc.).
2531   - Converted ``Inliner.patterns.initial`` to be dynamically built
2532     from parts with ``build_regexp()`` function.
2533   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2534   - Updated docstrings.
2535   - Changed "table" to "grid_table"; added "simple_table" support.
2537 * docutils/parsers/rst/tableparser.py:
2539   - Changed ``TableParser`` to ``GridTableParser``.
2540   - Added ``SimpleTableParser``.
2541   - Refactored naming.
2543 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2544   a fallback language for directive names.
2546 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2547   directive to use a ``pending`` element, used only by HTML writers.
2549 * docutils/parsers/rst/directives/parts.py: Renamed from
2550   components.py.
2552   - Added "backlinks" attribute to "contents" directive.
2554 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2555   project by Adam Chodorowski.
2557 * docutils/readers/__init__.py: Gave Readers more control over
2558   choosing and instantiating Parsers.
2560 * docutils/readers/pep.py: Added to project; for PEP processing.
2562 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2563   requires a ``component`` parameter.
2565 * docutils/transforms/components.py: Added to project; transforms
2566   related to Docutils components.
2568 * docutils/transforms/frontmatter.py:
2570   - In ``DocInfo.extract_authors``, check for a single "author" in an
2571     "authors" group, and convert it to a single "author" element.
2572   - Added support for "Dedication" and generic bibliographic fields.
2574 * docutils/transforms/peps.py: Added to project; PEP-specific.
2576 * docutils/transforms/parts.py: Renamed from old components.py.
2578   - Added filter for `Contents`, to use alt-text for inline images,
2579     and to remove inline markup that doesn't make sense in the ToC.
2580   - Added "name" attribute to TOC topic depending on its title.
2581   - Added support for optional TOC backlinks.
2583 * docutils/transforms/references.py: Fixed indirect target resolution
2584   in ``Hyperlinks`` transform.
2586 * docutils/transforms/universal.py:
2588   - Changed ``Messages`` transform to properly filter out system
2589     messages below the warning threshold.
2590   - Added ``Decorations`` transform (support for ``--generator``,
2591     ``--date``, ``--time``, ``--source-link`` options).
2593 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2594   Engelbert Gruber's PDF writer.
2596 * docutils/writers/html4css1.py:
2598   - Made XHTML-compatible (switched to lowercase element & attribute
2599     names; empty tag format).
2600   - Escape double-dashes in comment text.
2601   - Improved boilerplate & modularity of output.
2602   - Exposed modular output in Writer class.
2603   - Added a "generator" meta tag to <head>.
2604   - Added support for the ``--stylesheet`` option.
2605   - Added support for ``decoration``, ``header``, and ``footer``
2606     elements.
2607   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2608     translation table to regexp; restores Python 2.0 compatibility
2609     with Unicode.
2610   - Added the translator class as instance variable to the Writer, to
2611     make it easily subclassable.
2612   - Improved option list spacing (thanks to Richard Jones).
2613   - Modified field list output.
2614   - Added backlinks to footnotes & citations.
2615   - Added percentage widths to "<col>" tags (from colspec).
2616   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2617     "<span>" changed to "<var>".
2618   - Inline literals: "<code>" changed to "<tt>".
2619   - Many changes to optimize vertical space: compact simple lists etc.
2620   - Add a command-line options & directive attributes to control TOC
2621     and footnote/citation backlinks.
2622   - Added support for optional footnote/citation backlinks.
2623   - Added support for generic bibliographic fields.
2624   - Identify backrefs.
2625   - Relative URLs for stylesheet links.
2627 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2628   PEPs (subclass of ``html4css1.Writer``).
2630 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2632 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2633   of the Docutils internal doctree in XML.
2635 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2637 * spec/doctree.txt:
2639   - Changed the title to "The Docutils Document Tree".
2640   - Added "Hyperlink Bookkeeping" section.
2642 * spec/docutils.dtd:
2644   - Added ``decoration``, ``header``, and ``footer`` elements.
2645   - Brought ``interpreted`` element in line with the parser: changed
2646     attribute "type" to "role", added "position".
2647   - Added support for generic bibliographic fields.
2649 * spec/notes.txt: Continual updates.  Added "Project Policies".
2651 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2652   section.
2654 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2656 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
2657   mailing list discussions.
2659 * spec/pep-0287.txt:
2661   - Renamed to "reStructuredText Docstring Format".
2662   - Minor edits.
2663   - Reworked Q&A as an enumerated list.
2664   - Converted to reStructuredText format.
2666 * spec/pysource.dtd:
2668   - Reworked structural elements, incorporating ideas from Tony Ibbs.
2670 * spec/pysource.txt: Removed from project.  Moved much of its contents
2671   to pep-0258.txt.
2673 * spec/rst/alternatives.txt:
2675   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2676   - Added "Inline External Targets" section.
2678 * spec/rst/directives.txt:
2680   - Added "backlinks" attribute to "contents" directive.
2682 * spec/rst/problems.txt:
2684   - Updated the Enumerated List Markup discussion.
2685   - Added new alternative table markup syntaxes.
2687 * spec/rst/reStructuredText.txt:
2689   - Clarified field list usage.
2690   - Updated enumerated list description.
2691   - Clarified purpose of directives.
2692   - Added ``-/:`` characters to inline markup's start string prefix,
2693     ``/`` to end string suffix.
2694   - Updated "Authors" bibliographic field behavior.
2695   - Changed "inline hyperlink targets" to "inline internal targets".
2696   - Added "simple table" syntax to supplement the existing but
2697     newly-renamed "grid tables".
2698   - Added cautions for anonymous hyperlink use.
2699   - Added "Dedication" and generic bibliographic fields.
2701 * test: Made test modules standalone (subdirectories became packages).
2703 * test/DocutilsTestSupport.py:
2705   - Added support for PEP extensions to reStructuredText.
2706   - Added support for simple tables.
2707   - Refactored naming.
2709 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2711   - Now supports true packages containing test modules
2712     (``__init__.py`` files required); fixes duplicate module name bug.
2714 * test/test_pep/: Subpackage added to project; PEP testing.
2716 * test/test_rst/test_SimpleTableParser.py: Added to project.
2718 * tools:
2720   - Updated html.py and publish.py front-end tools to use the new
2721     command-line processing facilities of ``docutils.frontend``
2722     (exposed in ``docutils.core.Publisher``), reducing each to just a
2723     few lines of code.
2724   - Added ``locale.setlocale()`` calls to front-end tools.
2726 * tools/buildhtml.py: Added to project; batch-generates .html from all
2727   the .txt files in directories and subdirectories.
2729 * tools/default.css:
2731   - Added support for ``header`` and ``footer`` elements.
2732   - Added styles for "Dedication" topics (biblio fields).
2734 * tools/docutils.conf: A configuration file; added to project.
2736 * tools/docutils-xml.py: Added to project.
2738 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2740 * tools/pep-html-template: Added to project.
2742 * tools/pep2html.py: Added to project from Python (nondist/peps).
2743   Added support for Docutils (reStructuredText PEPs).
2745 * tools/quicktest.py:
2747   - Added the ``--attributes`` option, hacked a bit.
2748   - Added a second command-line argument (output file); cleaned up.
2750 * tools/stylesheets/: Subdirectory added to project.
2752 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2755 Release 0.1 (2002-04-20)
2756 ========================
2758 This is the first release of Docutils, merged from the now inactive
2759 reStructuredText__ and `Docstring Processing System`__ projects.  For
2760 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2761 `DPS HISTORY`__ files.
2763 __ http://structuredtext.sourceforge.net/
2764 __ http://docstring.sourceforge.net/
2765 __ http://structuredtext.sourceforge.net/HISTORY.html
2766 __ http://docstring.sourceforge.net/HISTORY.html
2768 General changes: renamed 'dps' package to 'docutils'; renamed
2769 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2770 the test suites (reStructuredText's test/test_states renamed to
2771 test/test_rst); and all modifications required to make it all work.
2773 * docutils/parsers/rst/states.py:
2775   - Improved diagnostic system messages for missing blank lines.
2776   - Fixed substitution_reference bug.
2780    Local Variables:
2781    mode: indented-text
2782    indent-tabs-mode: nil
2783    sentence-end-double-space: t
2784    fill-column: 70
2785    End: