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