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