Work around encoding problems in Py3k. Fixes [ 3395948 ]
[docutils.git] / HISTORY.txt
blob0c2432d12a49e10dc283ce2509dac0e37b9da7ce
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::
17 Changes Since 0.8.1
18 ===================
20 * General:
22   - reStructuredText "code" role and directive with syntax highlighting
23     by Pygments_.
24   - "code" option of the "include" directive.
25   - Fix parse_option_marker for option arguments containing ``=``.
27 .. _Pygments: http://pygments.org/
29 * docutils/io.py
31   - Fix [ 3395948 ] (Work around encoding problems in Py3k).
33 * docutils/writers/latex2e/__init__.py
35   - Support the `abbreviation` and `acronym` standard roles.
37 Release 0.8.1 (2011-08-30)
38 ==========================
40 * General:
42   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
43     and [ 3395920 ] (correct copyright info for rst.el). 
44   
45 * docutils/test/
47   -  Apply [ 3303733 ] and [ 3365041 ] to fix tests under py3k. 
49 * docutils/writers/latex2e/__init__.py
51   - Clean up Babel language setting. Restores Sphinx compatibility.
53 Release 0.8 (2011-07-07)
54 ========================
56 * General:
58   - Handle language codes according to `BCP 47`_.
59   - If the specified language is not supported by Docutils,
60     warn and fall back to English.
61   - Math support: reStructuredText "math" role and directive,
62     ``math`` and ``math_block`` doctree elements.
63   - Decode command line arguments with the locale's preferred encoding
64     (to allow, e.g., ``--title=Dornröschen``).
65   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
66   - New sub-module `error_reporting`: handle encoding/decoding errors
67     when reporting exceptions.
68   - Some additions to the Docutils core are released under the 2-Clause BSD
69     license, see COPYING_ for details.
71   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
72   .. _COPYING: COPYING.html
74 * reStructuredText:
76   - Most directives now support a "name" option that attaches a
77     reference name.
78     
79   - Directive content may start on the first line also when the directive
80     type accepts options.
82 * docs/dev/policies.txt:
84   - Recommend the 2-Clause BSD license
85     (http://www.spdx.org/licenses/BSD-2-Clause)
86     for code that is kept under the author's copyright.
88 * tools/buildhtml.py:
90   - Fix ``--local`` switch.
92 * Fix [ 3018371 ] Added Lithuanian mappings by Dalius Dobravolskas.
94 * docutils/writers/html4css1/__init__.py
96   - Set "lang" argument for objects with class argument
97     "language-<language tag>".
98   - New setting "math-output" with support for HTML, MathML, and LaTeX.
100 * docutils/writers/latex2e/__init__.py
102   - Fix [ 3043986 ] AttributeError using :local: with table of content.
103   - Place title data in the document preamble.
104   - Load `babel` package only if required.
105   - Update list of supported languages.
106   - New config setting "hyperref-options".
107     No hard-coded "unicode" hyperref option (clash with xetex).
108   - Set language for custom roles, paragraphs, block-quotes, and
109     line-quotes with class argument "language-<language tag>".
110   - Fix [ 3095603 ] wrong quotes output for russian and other languages.
111   - Convert image URI to a local file path.
112   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
113     has more than one paragraph (Wolfgang Scherer).
114   - \leavevmode before longtable only when needed (prevents spurious vspace)
115   - do not advance table counter for tables without caption
117 * docutils/writers/xetex/__init__.py
119   - New writer generating LaTeX code for compiling with ``xelatex``.
121     A separate writer (inheriting from latex2e) instead of a ``--xetex``
122     option allows separate config options for XeTeX vs. LaTeX2e.
124 * docutils/writers/manpage.py
126   - Fix: BUG#3219183 - vertical space in definition lists containing markup.
127   - Fix: vertical space cleaning for option group ``.``.
129 * tools/editors/emacs/rst.el:
131   - Fix [ 3001100 ] does not handle spaces in filenames
132     (thanks to Jakub Wilk)
134 * docutils/utils.py:
136   - strip whitespace from stylesheet arguments
137   - exclude combining chars from column_width
138     (partial fix for [ 2926161 ])
140 * docutils/parsers/rst/directives/misc.py:
142   - Fix [ 1830389 ] Replace not breaking on getting system_messages from
143     nested_parse
145 * docutils/io.py:
147   - Do not close() sys.stdin, sys.stdout, or sys.stderr. Prevents
148     ``Exception ValueError: 'I/O operation on closed file.'`` with Python 3.
150 Release 0.7 (2010-07-07)
151 ========================
153 * General:
155   - Fix [ 2881769 ] setup configuration.
156   - Fix [ 2788716 ] reporting problems in included files.
158 * docutils/io.py
160   - FileInput opens files as text files with universal newline support
161     (mode "rU", configurable with the new optional argument "mode").
163 * docutils/nodes.py
165   - Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
167 * docutils/utils.py
169   - Fix [ 2923723 ] let decode_path() tolerate path == None
171 * docutils/writers/html4css1/__init__.py
173   - Support SVG and SWF images (thanks to Stefan Rank).
174   - Generate valid XHTML for centered images with targets.
175     Use CSS classes instead of "align" tags for image alignment.
177 * docutils/writers/latex2e/__init__.py
179   - Use `transforms.writer_aux.Admonitions` to "normalize" special
180     admonitions.
181   - Use the ``\url`` command for URLs (breaks long URLs instead of
182     writing into the margin).
183   - Preserve runs of spaces in `inline literals`__.
184   - Deprecate ``figure_footnotes`` setting.
185   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
186   - New ``latex_preamble`` setting.
187   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
188   - Fix hyperlink targets (labels) for images, figures, and tables.
189   - Apply [ 2961988 ] Load babel after inputenc and fontenc.
190   - Apply [ 2961991 ] Call hyperref with unicode option.
191   - Drop the special `output_encoding`__ default ("latin-1").
192     The Docutils wide default (usually "UTF-8") is used instead.
193   - Render inline markup in document title and subtitle.
194   - Fix numbering depth with LaTeX section numbering.
195   - Update Unicode -> LaTeX translations.
196   - Fix bug with topic directive (thanks to Alan G Isaac for reporting).
198 __ docs/ref/restructuredtext.html#inline-literals
199 __ docs/user/config.html#docutils-footnotes
200 __ docs/user/config.html#output_encoding
202 * docutils/writers/manpage.py
204   - Fix: supported attribute (thanks to peter2108).
205   - Remove trailing blanks in code (keep in sync with mercurial version).
206   - Titles level 1, that is ``.SH``, always uppercase.
207   - Apply patch from mg: literal text should be bold in man-pages.
209 * docutils/nodes.py
211   - Fix: encoding ``'ascii'`` must be lowercase to prevent problems for
212     turkish locale.
214 * setup.py:
216   - Python 3 support: copy test/ and tools/ to the build-dir
217     and convert Python sources with 2to3.
220 Release 0.6 (2009-10-11)
221 ========================
223 * General:
225   - Docutils is now compatible with Python versions from 2.3 up to 2.6
226     and convertible to 3.1 code.
228     + Node.__nonzero__ returns True instead of 1.
229     + use os.walk instead os.path.walk.
230     + minimize "types" module where possible.
231     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
232     + Text nodes now subclass unicode rather than UserString
233       (which is gone in python 3.0).
234     + 3.0 compatibility module docutils._compat
236     + Drop 2.2 compatibility workarounds.
237     + Drop extras/optparse.py and extras/textwrap.py
238       (stdlib modules since 2.3).
240   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
241   - Unix man page export: manpage writer moved from sandbox to Doctutils
242     core.
244   - Apply [ 1719345 ] Galician translation
245   - Apply [ 1905741 ] Polish translation
246   - Apply [ 1878977 ] make_id(): deaccent characters.
247   - Apply [ 2029251 ] return nonzero when tests fail.
248   - Fix [ 1692788 ] allow UTF-8 in style sheets.
249   - Fix [ 2781629 ] support non-ASCII chars in file names.
250   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
251   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
252   - Fix [ 2821266 ] --strict option works now like --halt=info.
253   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
254   - Fix [ 1627229 ] hyperlink references in substitutions.
256   - The "newlatex" writer is orphaned.
258 * reStructuredText:
260   - Documented Unicode characters allowed as inline markup openers,
261     closers, and delimiters.
262   - Allow units for all length specifications.
263   - Allow percent sign in "scale" argument of "figure" and "image" directives.
264   - Bugfix: The "figalign" argument of a figure now works as intended
265     (aligning the figure, not its contents).
266   - Align images with class "align-[right|center|left]"
267     (allows setting the alignment of an image in a figure).
269 * docutils/nodes.py:
271   - Added ``Element.__contains__`` method, for the in-operator.
273 * docutils/parsers/rst/states.py:
275   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
276   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
277     " " (non-breaking space), and "¡ ¿" openers.
279 * docutils/parsers/directives/misc.py:
281   - Added ``start-line`` and ``end-line`` options to "include"
282     directive to select a range of lines.
283   - Hard tabs in literal inclusions are replaced by spaces. This is
284     configurable via the new ``tab-width`` option of the "include" directive
285     (a negative tab-width prevents tab expansion).
287 * docutils/utils.py:
289   - Add ``get_stylesheet_list`` function.
290   - Apply [ 2834836 ] print info at halt
292 * docutils/transforms/universal.py:
294   - Raise default priority of StripClasses to exclude stripped classes from
295     the ToC.
297 * docutils/writers/html4css1/__init__.py:
299   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
300     separated list of stylesheets.
301   - Address [ 1938891 ] Inline literal text creates "pre" span only when
302     needed to prevent inter-word line wraps.
303   - Use `translate` method instead of repeated `replace` calls.
304   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
305     classes to allow CSS styling that does not interfere with other
306     table-using constructs (field lists, citations, ...).
308 * docutils/writers/newlatex2e/__init__.py:
310   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
312 * docutils/writers/latex2e/__init__.py (see also
313   `<docs/user/docutils-05-compat.sty.html>`__) :
315   - Add ``--embed-stylesheet`` option.
316   - Apply [ 1474017 ] image vertical alignment is reversed.
317   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
318   - Change: has_key for dictionaries (not Nodes) to in-operator.
319   - Merge adjacent citations into one latex cite command.
320   - Failsave implementation of custom roles. LaTeX compilation now ignores
321     unknown classes instead of aborting with an error.
322   - Support custom roles based on standard roles.
323   - LaTeX packages can be used as ``--stylesheet`` arguments without
324     restriction. (A style sheet is now referenced with the ``\usepackage``
325     command, if it ends with ``.sty`` or has no extension.)
326   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
327   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
328   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
329     2005-02-04 as a configurable length unit).
330   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
331     if font-encoding is set to ''. LaTeX defaults to OT1 then.
332   - Set sub- and superscript role argument in text mode not as math.
333     Use a custom role based on sub-/superscript if you want italic shape.
334   - Shorter preamble and less dependencies: Load packages and define macros
335     only if required in the document.
336   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
337   - New custom environments and commands with optional "classes" argument.
338   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
339   - Better conformance to Docutils specifications with ``--use-latex-toc``.
340     Support for LaTeX generated ToC also with unnumbered sections.
341   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
342     section numbering by LaTeX.
343   - Use default font in admonitions and sidebar.
344   - Align of image in a figure defaults to 'center'.
345   - Bugfix: Newlines around targets and references prevent run-together
346     paragraphs.
347   - Fix internal hyperlinks.
348   - Use class defaults for page margins ('typearea' now optional).
349   - Float placement made configurable, default changed to "here definitely".
350   - Typeset generic topic as "quote block with title".
351   - Use template (file and configuration option).
352   - In the default template, load cmap.sty (fix text extraction in PDF) and
353     fixltx2e.sty (LaTeX patches, \textsubscript).
354   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
355   - Use `translate` instead of repeated `replace` calls for text encoding.
356   - Hyperlinked footnotes and support for symbol footnotes and
357     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
358   - Complete pairs of binary options
359     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
360     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
361   - New defaults:
362     - font-encoding: "T1" (formerly implicitely set by 'ae').
363     - use-latex-toc: true (ToC with page numbers).
364     - use-latex-footnotes: true (no mixup with figures).
366 * docutils/writers/manpage.py
368   - Do not print version at document end, this is done by the viewer.
369   - Do not print date at document end, this is done by the viewer.
370   - Fix storage of docinfo fields for none standard fields.
372 * docutils/tools/rst2man.py
374 Release 0.5 (2008-06-25)
375 ========================
377 * docutils/languages/he.py: Added to project: Hebrew mappings by
378   Meir Kriheli.
380 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
381   mappings by Meir Kriheli.
383 * docutils/frontend.py:
385   - Configuration files are now assumed and required to be
386     UTF-8-encoded.
387   - Paths of applied configuration files are now recorded in the
388     runtime setting ``_config_files`` (accessible via
389     ``--dump-settings``).
390   - Added ``--strip-elements-with-class`` and ``--strip-class``
391     options (``strip_elements_with_classes`` and ``strip_classes``
392     settings).
394 * docutils/io.py:
396   - Added code to determine the input encoding from data: encoding
397     declarations or the presence of byte order marks (UTF-8 & UTF-16).
398   - Added support for IronPython 1.0.
400 * docutils/nodes.py:
402   - Added ``document.__getstate__`` method, for pickling.
404 * docutils/parsers/rst/states.py:
406   - Allow ``+`` and ``:`` in reference names.
407   - Unquoted targets beginning with an underscore (``.. __target:
408     URI``) are no longer accepted.
409   - Added support for multiple attributions in a physical block quote
410     (indented text block), dividing it into multiple logical block
411     quotes.
412   - Added support for unicode bullets in bullet lists: "•", "‣", and
413     "⁃".
414   - Added support for new object-oriented directive interface,
415     retaining compatibility to the old functional interface.
416   - Added support for throwing ``DirectiveError``'s from within
417     directive code.
419 * docutils/parsers/rst/__init__.py:
421   - Added ``Directive`` base class.
422   - Added ``DirectiveError`` base class.
423   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
424     definitions.
426 * docutils/parsers/directives/:
428   - Refactored all reStructuredText directives to use the new
429     object-oriented directive interface.  Errors are now (mostly)
430     thrown using the new ``DirectiveError`` class.
432 * docutils/parsers/directives/misc.py:
434   - Added ``start-after`` and ``end-before`` options to ``include``
435     directive; thanks to Stefan Rank.
437 * docutils/transforms/universal.py:
439   - Added ``StripClassesAndElements`` transform to remove from the
440     document tree all elements with classes in
441     ``settings.strip_elements_with_classes`` and all "classes"
442     attribute values in ``self.document.settings.strip_classes``.
444 * docutils/transforms/writer_aux.py:
446   - Added ``Admonitions`` transform to transform specific admonitions
447     (like ``note``, ``warning``, etc.) into generic admonitions with a
448     localized title.
450 * docutils/writers/html4css1/__init__.py:
452   - Moved template functionality from the PEP/HTML writer here.
453   - Expanded the fragments available in the ``parts`` attribute.
454   - Moved ``id`` attributes from titles to surrounding ``div``
455     elements.
456   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
457     universally supported now).
458   - ``template.txt`` is now opened in text mode instead of binary mode
459     (to ensure Windows compatibility).
460   - ``a`` elements now have an "internal" or "external" class,
461     depending on reference type.
463 * docutils/writers/html4css1/template.txt: Added to project.
465 * docutils/writers/pep_html/:
467   - Moved template functionality to the HTML writer.
469 * docutils/writers/s5_html/__init__.py:
471   - Added ``view_mode`` & ``hidden_controls`` settings
472     (``--view-mode`` & ``--hidden-controls/--visible-controls``
473     options).
475 * docutils/writers/latex2e/__init__.py:
477   - Add ``--literal-block-env``
478   - Fix: escaping ``%`` in href urls.
479   - Move usepackage hyperref after stylesheet inclusion.
480   - Fix: scrartcl does not have chapter but scrreprt.
481   - Add newline after ``\end{verbatim}``.
482   - Merge smaller differences from latex2e_adaptive_preamble.
483   - Add ``use-part-section``.
484   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
485   - Using leavemode option_list no longer needs to check if parent
486     is a definition list.
487   - Append ``\leavemode`` to definition list terms.
488   - No longer write visit\_/depart_definition_list_item comments to
489     output.
490   - Table column width with 3 decimal places.
491   - Add table stubs support (boldfont).
492   - Add assemble_parts to writer.
493   - Add simply support for nested tables.
494   - Fix verbatim in tables if use-verbatim-when-possible.
495   - Use section commands down to subparagraph.
496   - Put ensuremath around some latin1 chars.
497   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
498   - New option ``--use-bibtex=style,db1,db2``.
499   - New option ``--reference-label`` to allow usage of LaTeX ref for
500     labels in section references.
501   - Add a label after every section to support sectionnumbers as reference
502     labels.
503   - Fix: bug# 1605376 rst2latex: bad options group list
504   - Remove inactive code for use_optionlist_for_option_list.
505   - Remove latex comments from option_list output.
506   - Fix: bug# 1612270 double qoutes in italian literal.
507   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
508   - Add option --use-latex-abstract.
509   - Image width unit ``px`` is translated to ``pt``.
510   - Add image height support.
511   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
512     bug #1457388
513   - Fix: Do not escape underscores in citation reference labels if
514     use-latex-citations is set.
515   - Use centering instead of center for figure contents, to avoid vertical
516     space.
517   - Recognize table class: borderless, nolines, booktabs, standard.
518   - Fix: Renaming contents section does not work with latex writer; SF
519     bug #1487405.
520   - Applied patch for custom roles with classes from Edward Loper.
521   - Fixed bug that caused crashes with more than 256 lists.
523 * docutils/writers/pep_html/__init__.py:
525   - Changed to support new python.org website structure and
526     pep2pyramid.py.
528 * docs/howto/security.txt: "Deploying Docutils Securely", added to
529   project.
531 * tools/buildhtml.py:
533   -- Added ``ignore`` setting to exclude a list of shell patterns
534      (default: ``.svn:CVS``).
536 * tools/editors/emacs/rst.el:
538   - Changed license to "GPL".
539   - Added ``rst-straighten-decorations`` function.
540   - The ``compile`` module is now always loaded.
541   - Added ``rst-toggle-line-block`` function.
542   - Headings consisting only of non-ASCII characters are now
543     recognized by ``rst-toc`` and ``rst-adjust``.
544   - Added font-lock support for multi-line comments where the first
545     comment line is empty.
546   - Added ``(require 'font-lock)``.
548 * setup.py:
550   - Provide descriptive error message if distutils is missing.
553 Release 0.4 (2006-01-09)
554 ========================
556 * General:
558   - Updated the project policies for trunk/branch development &
559     version numbering.
561 * docutils/__init__.py:
563   - Added ``__version_details__`` attribute to describe code source
564     (repository/snapshot/release).
565   - Replaced ``default_transforms`` attribute of TransformSpec with
566     ``get_transforms()`` method.
568 * docutils/core.py:
570   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
571     functions, for document tree extraction and reprocessing.
573 * docutils/io.py:
575   - Added ``DocTreeInput`` class, for reprocessing existing documents.
576   - Added support for non-Unicode (e.g. binary) writer output.
578 * docutils/nodes.py:
580   - Re-introduced ``Targetable.indirect_reference_name``, for
581     MoinMoin/reST compatibility (removed in r3124/r3129).
582   - Added ``serial_escape`` function; escapes string values that are
583     elements of a list, for serialization.  Modified Docutils-XML
584     writing (``Element._dom_node``) and pseudo-XML writing
585     (``Element.starttag``) to use ``serial_escape``.
586   - Added ``Node.deepcopy()`` method.
587   - Removed the internal lists ``document.substitution_refs``,
588     ``document.anonymous_refs``, and ``document.anonymous_targets``.
589   - Added a "container" element.
590   - Fixed bug where values of list-valued attributes of elements
591     originating from custom interpreted text roles (i.e., with custom
592     classes) were being shared between element instances.  Reported by
593     Shmuel Zeigerman.
595 * docutils/statemachine.py:
597   - Added trailing whitespace stripping to ``string2lines()``.
598   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
599     Asian double-width character support.
601 * docutils/utils.py:
603   - Added ``east_asian_column_width()`` for double-width character
604     support.
606 * docutils/languages/ja.py: Added to project: Japanese mappings by
607   Hisashi Morita.
609 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
610   mappings by Panjunyong.
612 * docutils/parsers/null.py: Added to project; a do-nothing parser.
614 * docutils/parsers/rst/__init__.py:
616   - Added validator to tab_width setting, with test.  Closes SF bug
617     #1212515, report from Wu Wei.
619 * docutils/parsers/rst/states.py:
621   - Fixed bug with escaped colons indicating a literal block.
622   - Fixed bug with enumerated lists (SF#1254145).
623   - Backslash-escaped colons inside of field names are now allowed.
624   - Targets (implicit and explicit), anonymous hyperlink references
625     and auto-numbered footnote references inside of substitution
626     definitions are now disallowed.
627   - Fixed bug: list items with blank first lines.
628   - Fixed bug: block quote attributions with indented second lines.
629   - Added East Asian double-width character support (Python 2.4 only).
631 * docutils/parsers/rst/tableparser.py:
633   - Added East Asian double-width character support (Python 2.4 only).
635 * docutils/parsers/rst/directives/body.py:
637   - Added the "container" directive.
639 * docutils/parsers/rst/directives/misc.py:
641   - Added the "default-role", "title", and "date" directives.
642   - Added standard data file syntax to the "include" directive.
643   - Added support for "class" directive content.
645 * docutils/parsers/rst/directives/images.py:
647   - Added ``indirect_reference_name`` support for images with a target
648     option.
649   - Added support for image width and height units.
650   - Fixed bug with image "target" options.
652 * docutils/parsers/rst/directives/references.py:
654   - Added "class" attribute to "target-notes" directive, for
655     footnote_reference classes.
657 * docutils/parsers/rst/include/: Directory added to project; contains
658   standard data files for the "include" directive.  Initial contents:
659   character entity substitution definition sets, and a set of
660   definitions for S5/HTML presentations.
662 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
663   mappings by David Goodger.
665 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
666   Simplified Chinese mappings by Panjunyong.
668 * docutils/readers/__init__.py:
670   - Added universal.Decorations and universal.ExposeInternals
671     transforms as default transforms for all readers.
672   - Added ``ReReader`` base class for readers that reread an existing
673     document tree.
675 * docutils/readers/doctree.py: Added to project; a reader for existing
676   document trees.
678 * docutils/transforms/frontmatter.py:
680   - Fixed the DocInfo transform to handle SVN-style expansion of the
681     "Date" keyword.
682   - In ``DocInfo.extract_authors``, treat the contents of "authors"
683     fields uniformly.
685 * docutils/transforms/misc.py:
687   - Added misc.Transitions transform, extracted from
688     universal.FinalChecks.
690 * docutils/transforms/references.py:
692   - Added references.DanglingReferences transform, extracted from
693     universal.FinalChecks.
694   - Fixed bug with doubly-indirect substitutions.
695   - Added footnote_reference classes attribute to "TargetNotes".
696   - Fixed bug with circular substitution definitions that put Docutils
697     into an infinite loop.
699 * docutils/transforms/universal.py:
701   - Added universal.ExposeInternals transform, extracted from
702     universal.FinalChecks.
703   - Removed universal.FinalChecks transform (logic has been moved to
704     several new transforms).
705   - Fixed bug with the "expose_internals" setting and Text nodes
706     (exposed by the "rawsource" internal attribute).
707   - Added the universal.StripComments transform, implementation of the
708     "strip_comments" setting.
710 * docutils/transforms/writer_aux.py: Added to project; auxiliary
711   transforms for writers.
713   - Added ``Compound`` transform, which flattens compound paragraphs.
715 * docutils/writers/: Several writer modules (html4css1.py) were
716   converted into packages.  Support modules and data files have been
717   moved into the packages.  The stylesheets for the HTML writers are
718   now installed along with the code, the code knows where to find
719   them, and the default is to use them (actually, to embed them).
720   Some adjustments to configuration files may be necessary.  The
721   easiest way to obtain the new default behavior is to remove all
722   settings whose name includes "stylesheet".
724 * docutils/writers/__init__.py:
726   - Added universal.Messages and universal.FilterMessages transforms
727     as default transforms for all writers.
728   - Added ``UnfilteredWriter`` base class for writers that pass the
729     document tree on unchanged.
731 * docutils/writers/docutils_xml.py:
733   - Made ``xmlcharrefreplace`` the default output encoding error
734     handler.
736 * docutils/writers/html4css1/:
738   - Added support for image width and height units.
739   - Made ``xmlcharrefreplace`` the default output encoding error
740     handler.
741   - Made ``--embed-stylesheet`` the default rather than
742     ``--link-stylesheet``.
743   - Moved "id" attribute from container (section etc.) to title's <a>
744     tag, to be on the same tag as "name".
745     (!!! To be reverted in Docutils 0.5.)
746   - Added vertical space between fields of field lists.
747   - Added ``--compact-field-lists`` option to remove vertical space in
748     simple field lists.
749   - Made cloaking of email addresses with ``--cloak-email-addresses``
750     less obtrusive.
751   - Fixed support for centered images.
752   - Added support for class="compact" & class="open" lists.
754 * docutils/writers/latex2e/:
756   - Underscores in citekeys are no longer escaped.
758 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
759   mapping of Unicode characters to LaTeX equivalents.
761 * docutils/writers/s5_html/: Package added to project; writer for
762   S5/HTML slide shows.
764 * docs/dev/distributing.txt: Added to project; guide for distributors
765   (package maintainers).
767 * docs/dev/hacking.txt: Added to project; guide for developers.
769 * docs/ref/doctree.txt:
771   - Updated for plural attributes "classes", "ids", "names",
772     "dupnames".
773   - Added the "container" element.
775 * docs/ref/docutils.dtd:
777   - Updated for plural attributes "classes", "ids", "names",
778     "dupnames".
780 * docs/user/emacs.txt: Added to project; a document about Emacs
781   support for reStructuredText and Docutils.
783 * docs/user/links.txt: Added to project; lists of Docutils-related
784   links.
786 * docs/user/mailing-lists.txt: Added to project; information about
787   Docutils-related mailing lists and how to access them.
789 * docs/user/slide-shows.txt: Added to project; example of and docs for
790   the S5/HTML writer (``rst2s5.py`` front end).
792 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
793   Files", added to project.
795 * test/coverage.sh: Added to project; test coverage script.
797 * test/DocutilsTestSupport.py:
799   - Added support for specifying runtime settings at the suite level.
801 * test/test_functional.py:
803   - Added the ``clear_output_directory`` function.
804   - Added support for ``_test_more`` functions in functional test
805     config files.
807 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
809 * tools/rstpep2html.py: Renamed from pep.py.
811 * tools/dev/create_unimap.py: Added to project; script to create the
812   docutils/writers/unimap_latex.py mapping file.
814 * tools/dev/profile_docutils.py: Added to project; profiler script.
816 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
818 * tools/editors/emacs/restructuredtext.el,
819   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
820   Removed from project; the functionality is now contained in rst.el.
822 * tools/editors/emacs/rst.el: Added to project.  Added many features
823   and fixed many bugs.  See docs/user/emacs.txt for details.
825 * tools/stylesheets: Removed from project.  Stylesheets have been
826   renamed and moved into writer packages.
829 Release 0.3.9 (2005-05-26)
830 ==========================
832 * General:
834   - Eliminated and replaced all uses of the old string attributes
835     ``id``, ``name``, ``dupname`` and ``class`` with references to the
836     new list attributes ``ids``, ``names``, ``dupnames`` and
837     ``classes`` throughout the whole source tree.
839 * docutils/core.py:
841   - Enabled ``--dump-*`` options when ``--traceback`` specified,
842     allowing for easier debugging.
843   - In ``Publisher.publish()``, expanded the generic top-level
844     exception catching.
846 * docutils/examples.py:
848   - Added ``internals`` function for exploration.
850 * docutils/io.py:
852   - Fixed ``Input.decode`` method to apply heuristics only if no
853     encoding is explicitly given, and to provide better reporting of
854     decoding errors.
855   - The ``Input.decode`` method now removes byte order marks (BOMs)
856     from input streams.
858 * docutils/nodes.py:
860   - ``image`` element class changed to subclass of Element, not
861     TextElement (it's an empty element, and cannot contain text).
862   - Added ``attr_defaults`` dictionary for default attribute values.
863   - Added empty list as default value for the following attributes:
864     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
865   - Added ``document.decoration`` attribute,
866     ``document.get_decoration`` method, and ``decoration.get_header``
867     & ``.get_footer`` methods.
868   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
869     methods.
871 * docutils/utils.py:
873   - Removed ``docutils.utils.Reporter.categories``,
874     ``docutils.utils.ConditionSet``, and all references to them, to
875     simplify error reporting.
877 * docutils/languages/nl.py: Added to project; Dutch mappings by
878   Martijn Pieters.
880 * docutils/parsers/rst/__init__.py:
882   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
884 * docutils/parsers/rst/states.py:
886   - Added check for escaped at-mark to prevent email address recognition.
887   - Fixed option lists to allow spaces inside ``<angle-bracketed option
888     arguments>``.
889   - Allowed whitespace in paths and URLs.
890   - Added auto-enumerated list items.
891   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
892     followed by text.
893   - Added support for table stub columns.
895 * docutils/parsers/rst/directives/__init__.py:
897   - Allowed whitespace in paths (``path`` function).
898   - Added ``uri`` directive option conversion function.
900 * docutils/parsers/rst/directives/body.py:
902   - Fixed illegal context bug with "topic" directive (allowed within
903     sidebars; not within body elements).
905 * docutils/parsers/rst/directives/images.py:
907   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
908   - Added support for the ``file_insertion_enabled`` setting in the
909     "figure" directive (disables "figwidth" option).
910   - "image" directive: added checks for valid values of "align" option,
911     depending on context.  "figure" directive: added specialized
912     "align" option and attribute on "figure" element.
913   - Made ":figwidth: image" option of "figure" directive work again.
914   - Fixed bug with reference names containing uppercase letters
915     (e.g. ``Name_``) in "target" option of "image" directive.
917 * docutils/parsers/rst/directives/misc.py:
919   - Fixed "include" and "raw" directives to catch text decoding
920     errors.
921   - Allowed whitespace in "include" & "raw" directive paths.
922   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
923     settings in "include" & "raw" directives.
925 * docutils/parsers/rst/directives/parts.py:
927   - Added "header" & "footer" directives.
928   - Fixed illegal context bug with "contents" directive (topics
929     allowed within sidebars; not within body elements).
931 * docutils/parsers/rst/directives/tables.py:
933   - Added "list-table" directive.
934   - Caught empty CSV table bug.
935   - Added support for the ``file_insertion_enabled`` setting in the
936     "csv-table" directive.
937   - Added ``stub-columns`` option to "csv-table" and "list-table"
938     directives.
940 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
941   mappings by Martijn Pieters.
943 * docutils/readers/standalone.py:
945   - Added ``--section-subtitles`` and ``--no-section-subtitles``
946     options to activate or deactivate the SectSubTitle transform.
948 * docutils/transforms/frontmatter.py:
950   - Added SectSubTitle transform to promote titles of lone
951     subsections to subtitles.
953 * docutils/transforms/references.py:
955   - Fixed mislocated internal targets bug, by propagating internal
956     targets to the next node, making use of the newly added support
957     for multiple names and IDs.
958   - Fixed duplicate footnote label bug.
959   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
960     transform.
962 * docutils/writers/html4css1.py:
964   - Fixed unencoded stylesheet reference bug (characters like "&" in
965     stylesheet references).
966   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
967     tags).
968   - Added support for multiple IDs per node by creating empty ``span``
969     tags.
970   - Added the ``field_name_limit`` & ``option_limit`` settings &
971     support.
972   - Added support for table stub columns.
973   - Added support for the ``align`` attribute on ``figure`` elements.
974   - Added the ``cloak_email_addresses`` setting & support.
975   - Added ``html_prolog``, ``html_head``, ``html_body``,
976     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
977     ``docutils.core.publish_parts``.
978   - Added support for section subtitles.
980 * docutils/writers/latex2e.py:
982   - Fixed tables starting with more than one multirow cell.
983   - Improved --use-latex-docinfo so that organization/contact/address
984     fields are lumped with the last author field and appear on the
985     titlepage.
986   - Made sure the titlepage is always shown with --use-latex-docinfo,
987     even if the document has no title.
988   - Made sure that latex doesn't fill in today's date if no date field
989     was given.
990   - Added support for section subtitles.
992 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
993   (under development).
995 * docutils/writers/null.py: Added to project; a do-nothing Writer.
997 * docs/api/publisher.txt:
999   - Added "``publish_parts`` Details" section.
1001 * docutils/dev/repository.txt: Added to project; information about the
1002   Docutils Subversion repository.
1004 * docs/ref/docutils.dtd:
1006   - Added a ``stub`` attribute to the ``colspec`` element via the
1007     ``tbl.colspec.att`` parameter entity.
1008   - Allowed topic elements within sidebars
1009   - Added an ``align`` attribute to the ``figure`` element.
1011 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
1012   writer.
1015 Release 0.3.7 (2004-12-24)
1016 ==========================
1018 * docutils/frontend.py:
1020   - Added options: --input-encoding-error-handler,
1021     --record-dependencies, --leave-footnote-reference-space,
1022     --strict-visitor.
1023   - Added command-line and config file support for "overrides" setting
1024     parameter.
1026 * docutils/io.py:
1028   - Added support for input encoding error handler.
1030 * docutils/nodes.py:
1032   - Added dispatch_visit and dispatch_departure methods to
1033     NodeVisitor; useful as a hook for Visitors.
1034   - Changed structure of ``line_block``; added ``line``.
1035   - Added ``compound`` node class.
1036   - Added a mechanism for Visitors to transitionally ignore new node
1037     classes.
1039 * docutils/utils.py:
1041   - Moved ``escape2null`` and ``unescape`` functions from
1042     docutils/parsers/rst/states.py.
1044 * docutils/parsers/rst/roles.py:
1046   - Added "raw" role.
1047   - Changed role function API: the "text" parameter now takes
1048     null-escaped interpreted text content.
1050 * docutils/parsers/rst/states.py:
1052   - Fixed bug where a "role" directive in a nested parse would crash
1053     the parser; the state machine's "language" attribute was not being
1054     copied over.
1055   - Added support for line block syntax.
1056   - Fixed directive parsing bug: argument-less directives didn't
1057     notice that arguments were present.
1058   - Removed error checking for transitions.
1059   - Added support for multiple classifiers in definition list items.
1060   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
1061   - Changed role function API: the "text" parameter now takes
1062     null-escaped interpreted text content.
1063   - Empty sections and documents are allowed now.
1065 * docutils/parsers/rst/directives/__init__.py:
1067   - Added ``encoding`` directive option conversion function.
1068   - Allow multiple class names in class_option conversion function.
1070 * docutils/parsers/rst/directives/body.py:
1072   - Converted the line-block directive to use the new structure.
1073   - Extracted the old line-block functionality to the ``block``
1074     function (still used).
1075   - Added ``compound`` directive (thanks to Lea Wiemann).
1077 * docutils/parsers/rst/directives/misc.py:
1079   - Added "encoding" option to "include" and "raw" directives.
1080   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
1081   - Allow multiple class names in the "class" directive.
1083 * docutils/parsers/rst/directives/parts.py:
1085   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
1086     options.  Thanks to Lele Gaifax.
1088 * docutils/parsers/rst/directives/tables.py:
1090   - Added "encoding" directive to "csv-table" directive.
1091   - Added workaround for lack of Unicode support in csv.py, for
1092     non-ASCII CSV input.
1094 * docutils/transforms/misc.py:
1096   - Fixed bug when multiple "class" directives are applied to a single
1097     element.
1098   - Enabled multiple format names for "raw" directive.
1100 * docutils/transforms/references.py:
1102   - Added support for trimming whitespace from beside substitution
1103     references.
1105 * docutils/transforms/universal.py:
1107   - FinalChecks now checks for illegal transitions and moves
1108     transitions between sections.
1110 * docutils/writers/html4css1.py:
1112   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
1113   - "stylesheet" and "stylesheet_path" settings are now mutually
1114     exclusive.
1115   - Added support for the new line_block/line structure.
1116   - --footnote-references now overrides
1117     --trim-footnote-reference-space, if applicable.
1118   - Added support for ``compound`` elements.
1119   - Enabled multiple format names for "raw" directive.
1120   - ``<p>`` tags of a paragraph which is the only visible child of the
1121     document node are no longer stripped.
1122   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
1123     new method ``should_be_compact_paragraph()``.
1124   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
1125     elements.
1126   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
1127     the output if they have their ``class`` attribute set.
1128   - The whole document is now surrounded by a ``<div
1129     class="document">`` element.
1130   - Body-level images are now wrapped by their own ``<div>`` elements,
1131     with image classes copied to the wrapper, and for images which
1132     have the ``:align:`` option set, the surrounding ``<div>`` now
1133     receives a class attribute (like ``class="align-left"``).
1135 * docutils/writers/latex2e.py:
1137   - no newline after depart_term.
1138   - Added translations for some Unicode quotes.
1139   - Added option "font-encoding", made package AE the default.
1140   - "stylesheet" and "stylesheet_path" settings are now mutually
1141     exclusive.
1142   - --footnote-references now overrides
1143     --trim-footnote-reference-space, if applicable.
1144   - The footnote label style now matches the footnote reference style
1145     ("brackets" or "superscript").
1146   - Added support for ``compound`` elements.
1147   - Enabled multiple format names for "raw" directive.
1149 * docs/ref/docutils.dtd:
1151   - Changed structure of the ``line_block`` element; added ``line``.
1152   - Added ``compound`` element.
1153   - Added "ltrim" and "rtrim" attributes to
1154     ``substitution_definition`` element.
1155   - Enabled multiple format names for ``raw`` element.
1156   - Enabled multiple classifiers in ``definition_list_item`` elements.
1158 * docs/ref/rst/directives.txt
1160   - Marked "line-block" as deprecated.
1161   - "Class" directive now allows multiple class names.
1162   - Added "Rationale for Class Attribute Value Conversion".
1163   - Added warning about "raw" overuse/abuse.
1165 * docs/ref/rst/restructuredtext.txt:
1167   - Added syntax for line blocks.
1168   - Definition list items may have multiple classifiers.
1170 * docs/ref/rst/roles.txt:
1172   - Added "raw" role.
1174 * tools/stylesheets/default.css:
1176   - Added support for the new line_block structure.
1177   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
1180 Release 0.3.5 (2004-07-29)
1181 ==========================
1183 General:
1185 * _`Documentation cleanup/reorganization`.
1187   - Created new subdirectories of docs/:
1189     * ``docs/user/``: introductory/tutorial material for end-users
1190     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
1191     * ``docs/api/``: API reference material for client-developers
1192     * ``docs/ref/``: reference material for all groups
1193     * ``docs/howto/``: for component-developers and core-developers
1194     * ``docs/peps/``: Python Enhancement Proposals
1196   - Moved ``docs/*`` to ``docs/user/``.
1197   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
1198     ``spec/`` to ``docs/dev``.
1199   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
1200     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
1201   - Moved ``alternatives.txt``, and ``problems.txt`` from
1202     ``spec/rst/`` to ``docs/dev/rst/``.
1203   - Moved ``reStructuredText.txt``, ``directives.txt``,
1204     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1205     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1206     ``roles.txt``, ``reStructuredText.txt`` to
1207     ``restructuredtext.txt``.
1208   - Moved ``spec/howto/`` to ``docs/howto``.
1210   In order to keep the CVS history of moved files, we supplied
1211   SourceForge with a `script for modifying the Docutils CVS
1212   repository`__.
1214   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1216   After running the cleanup script:
1218   - Added ``docs/index.txt``.
1219   - Added a ``.htaccess`` file to the ``web`` module, containing
1220     redirects for all old paths to new paths.  They'll preserve
1221     fragments (the "#name" part of a URL), and won't clutter up the
1222     file system, and will correct the URL in the user's browser.
1223   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1224     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1225     the "To Do" list itself in ``docs/dev/todo.txt``.
1226   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1227     section of ``docs/dev/todo.txt``.
1228   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1229   - Added "How To Report Bugs" to ``BUGS.txt``.
1230   - Went through all the sources and docs (including under web/) and
1231     updated links.  Mostly done by Lea Wiemann; thanks Lea!
1232     (Still need to update links in the sandboxes.)
1234 Specific:
1236 * BUGS.txt: Added to project.
1238 * THANKS.txt: Added to project.
1240 * docutils/__init__.py:
1242   - 0.3.4: Post-release.
1244 * docutils/core.py:
1246   - Added special error handling & advice for UnicodeEncodeError.
1247   - Refactored Publisher.publish (simplified exception handling &
1248     extracted debug dumps).
1249   - Renamed "enable_exit" parameter of convenience functions to
1250     "enable_exit_status".
1251   - Enabled traceback (exception propagation) by default in
1252     programmatic convenience functions.
1253   - Now publish_file and publish_cmdline convenience functions return
1254     the encoded string results in addition to their regular I/O.
1255   - Extracted common code from publish_file, publish_string, and
1256     publish_parts, into new publish_programmatically.  Extracted
1257     settings code to ``Publisher.process_programmatic_settings``.
1258   - In Publisher.publish, disabled ``settings_overrides`` when
1259     ``settings`` is supplied; redundant.
1261 * docutils/frontend.py:
1263   - Added help text for "--output-encoding-error-handler" and
1264     "--error-encoding-error-handler".
1265   - Renamed "--exit" to "--exit-status".
1266   - Simplified default-setting code.
1268 * docutils/parsers/rst/__init__.py:
1270   - Added "--pep-base-url" and "--rfc-base-url" options.
1272 * docutils/parsers/rst/states.py:
1274   - Made URI recognition more aggressive and intelligent.
1276 * docutils/parsers/rst/directives/__init__.py:
1278   - Added several directive option conversion functions.
1280 * docutils/parsers/rst/directives/body.py:
1282   - Moved "table" directive to tables.py.
1284 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1285   added to project.
1287 * docutils/writers/latex2e.py:
1289   - Added "--table-style=(standard|booktabs|nolines)"
1290   - figures get "here" option (LaTeX per default puts them at bottom),
1291     and figure content is centered.
1292   - Rowspan support for tables.
1293   - Fix: admonition titles before first section.
1294   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1295   - Replave ``_`` in literal by an underlined blank, because it has the correct
1296     width.
1297   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1298   - A few unicode replacements, if output_encoding != utf
1299   - Add "--graphicx-option".
1300   - Indent literal-blocks.
1301   - Fix: omit ``\maketitle`` when there is no document title.
1303 * docs/index.txt: "Docutils Project Documentation Overview", added to
1304   project.
1306 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1307   Tool", added to project.
1309 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1311 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1313 * docs/dev/policies.txt: Added to project (extracted from
1314   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1316 * docs/dev/release.txt: Added to project (extracted from
1317   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1319 * docs/dev/testing.txt: Added to project.
1321 * docs/dev/website.txt: Added to project (extracted from
1322   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1324 * docs/ref/rst/directives.txt:
1326   - Added directives: "table", "csv-table".
1328 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1329   added to project.  1 page for syntax, and a 1 page reference for
1330   directives and roles.  Source text to be used as-is; not meant to be
1331   converted to HTML.
1333 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1334   with a change of title.
1336 * test/functional/, contents, and test/test_functional.py: Added to
1337   project.
1339 * tools/buildhtml.py: Fixed bug with config file handling.
1341 * tools/html.py: Removed from project (duplicate of rst2html.py).
1343 * tools/pep2html.py: Removed from project (duplicate of Python's
1344   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1345   Docutils-related PEPs in docs/peps/).
1347 * tools/rst2pseudoxml.py: Renamed from publish.py.
1349 * tools/rst2xml.py: Renamed from docutils-xml.py.
1351 * tools/test.txt: Removed from project; moved to
1352   docs/user/rst/demo.txt.
1354 * setup.py: Now also installs ``rst2latex.py``.
1357 Release 0.3.3 (2004-05-09)
1358 ==========================
1360 * docutils/__init__.py:
1362   - 0.3.1: Reorganized config file format (multiple sections); see
1363     docs/config.txt.
1364   - Added unknown_reference_resolvers attribute to TransformSpec.
1365   - 0.3.2: Interpreted text reorganization.
1366   - 0.3.3: Released.
1368 * docutils/core.py:
1370   - Catch system messages to stop tracebacks from parsing errors.
1371   - Catch exceptions during processing report & exit without
1372     tracebacks, except when "--traceback" used.
1373   - Reordered components for OptionParser; application comes last.
1374   - Added "config_section" parameter to several methods and functions,
1375     allowing front ends to easily specify their config file sections.
1376   - Added publish_parts convenience function to allow access to individual
1377     parts of a document.
1379 * docutils/examples.py: Added to project; practical examples of
1380   Docutils client code, to be used as-is or as models for variations.
1382 * docutils/frontend.py:
1384   - Added "--traceback" & "--no-traceback" options ("traceback"
1385     setting).
1386   - Implemented support for config file reorganization:
1387     ``standard_config_files`` moved from ``ConfigParser`` to
1388     ``OptionParser``; added
1389     ``OptionParser.get_config_file_settings()`` and
1390     ``.get_standard_config_settings()``; support for old "[options]"
1391     section (with deprecation warning) and mapping from old to new
1392     settings.
1393   - Reimplemented setting validation.
1394   - Enabled flexible boolean values: yes/no, true/false, on/off.
1395   - Added ``Values``, a subclass of ``optparse.Values``, with support
1396     for list setting attributes.
1397   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1398     thanks to Beni Cherniavsky.
1399   - Added "--no-section-numbering" option.
1401 * docutils/io.py:
1403   - Catch IOErrors when opening source & destination files, report &
1404     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1405     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1407 * docutils/nodes.py:
1409   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1410     method definitions (via ``exec``) to dynamic assignments (via
1411     ``setattr``); thanks to Roman Suzi.
1412   - Encapsulated visitor dynamic assignments in a function; thanks to
1413     Ian Bicking.
1414   - Added indirect_reference_name attribute to the Targetable
1415     class. This attribute holds the whitespace_normalized_name
1416     (contains mixed case) of a target.
1418 * docutils/statemachine.py:
1420   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1421   - Added ``StringList.get_2D_block``.
1423 * docutils/utils.py:
1425   - Added "level" attribute to SystemMessage exceptions.
1427 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1428   Jannie Hofmeyr.
1430 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1431   Blaha.
1433 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1434   Marcelo Huerta San Martin.
1436 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1437   mappings by Lalo Martins.
1439 * docutils/languages/ru.py: Added to project; Russian mappings by
1440   Roman Suzi.
1442 * docutils/parsers/rst/roles.py: Added to project.  Contains
1443   interpreted text role functions, a registry for interpreted text
1444   roles, and an API for adding to and retrieving from the registry.
1445   Contributed by Edward Loper.
1447 * docutils/parsers/rst/states.py:
1449   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1450   - Allowed true em-dash character and "---" as block quote
1451     attribution marker.
1452   - Added support for <angle-bracketed> complex option arguments
1453     (option lists).
1454   - Fixed handling of backslashes in substitution definitions.
1455   - Fixed off-by-1 error with extra whitespace after substitution
1456     definition directive.
1457   - Added inline markup parsing to field lists' field names.
1458   - Added support for quoted (and unindented) literal blocks.
1459     Driven in part by a bribe from Frank Siebenlist (thanks!).
1460   - Parser now handles escapes in URIs correctly.
1461   - Made embedded-URIs' reference text omittable.  Idea from Beni
1462     Cherniavsky.
1463   - Refactored explicit target processing code.
1464   - Added name attribute to references containing the reference name only
1465     through whitespace_normalize_name (no case changes).
1466   - parse_target no longer returns the refname after going through
1467     normalize_name. This is now handled in make_target.
1468   - Fixed bug relating to role-less interpreted text in non-English
1469     contexts.
1470   - Reorganized interpreted text processing; moved code into the new
1471     roles.py module.  Contributed by Edward Loper.
1472   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1473     ``parse_directive_block``.
1475 * docutils/parsers/rst/tableparser.py:
1477   - Reworked for ``StringList``, to support "include" directives in
1478     table cells.
1480 * docutils/parsers/rst/directives/__init__.py:
1482   - Renamed ``unchanged()`` directive option conversion function to
1483     ``unchanged_required``, and added a new ``unchanged``.
1484   - Catch unicode value too high error; fixes bug 781766.
1485   - Beefed up directive error reporting.
1487 * docutils/parsers/rst/directives/body.py:
1489   - Added basic "table" directive.
1491 * docutils/parsers/rst/directives/images.py:
1493   - Added "target" option to "image" directive.
1494   - Added name attribute to references containing the reference name only
1495     through whitespace_normalize_name (no case changes).
1497 * docutils/parsers/rst/directives/misc.py:
1499   - Isolated the import of the ``urllib2`` module; was causing
1500     problems on SourceForge (``libssl.so.2`` unavailable?).
1501   - Added the "role" directive for declaring custom interpreted text
1502     roles.
1504 * docutils/parsers/rst/directives/parts.py:
1506   - The "contents" directive does more work up-front, creating the
1507     "topic" and "title", and leaving the "pending" node for the
1508     transform.  Allows earlier reference resolution; fixes subtle bug.
1510 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1511   mappings by Jannie Hofmeyr.
1513 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1514   mappings by Marek Blaha.
1516 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1517   mappings by Marcelo Huerta San Martin.
1519 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1520   Portuguese mappings by Lalo Martins.
1522 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1523   mappings by Roman Suzi.
1525 * docutils/transforms/parts.py:
1527   - The "contents" directive does more work up-front, creating the
1528     "topic" and "title", and leaving the "pending" node for the
1529     transform.  Allows earlier reference resolution; fixes subtle bug.
1530   - Added support for disabling of section numbering.
1532 * docutils/transforms/references.py:
1534   - Verifying that external targets are truly targets and not indirect
1535     references. This is because we are now adding a "name" attribute to
1536     references in addition to targets. Note sure if this is correct!
1537   - Added code to hook into the unknown_reference_resolvers list for a
1538     transformer in resolve_indirect_target. This allows the
1539     unknown_reference_resolvers to keep around indirect targets which
1540     docutils doesn't know about.
1541   - Added specific error message for duplicate targets.
1543 * docutils/transforms/universal.py:
1545   - Added FilterMessages transform (removes system messages below the
1546     verbosity threshold).
1547   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1548     to FinalCheckVisitor for application-specific handling of
1549     unresolvable references.
1550   - Added specific error message for duplicate targets.
1552 * docutils/writers/__init__.py:
1554   - Added assemble_parts method to the Writer class to allow for
1555     access to a documents individual parts.
1556   - Documented & set default for ``Writer.output`` attribute.
1558 * docutils/writers/html4css1.py:
1560   - Fixed unicode handling of attribute values (bug 760673).
1561   - Prevent duplication of "class" attribute values (bug report from
1562     Kirill Lapshin).
1563   - Improved table grid/border handling (prompted by report from Bob
1564     Marshall).
1565   - Added support for table titles.
1566   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1567     to Darek Suchojad.
1568   - Added functionality to keep track of individual parts of a document
1569     and store them in a dictionary as the "parts" attribute of the writer.
1570     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1571   - Added proper support for the "scale" attribute of the "image"
1572     element.  Contributed by Brent Cook.
1573   - Added ``--initial-header-level`` option.
1574   - Fixed bug: the body_pre_docinfo segment depended on there being a
1575     docinfo; if no docinfo, the document title was incorporated into
1576     the body segment.  Adversely affected the publish_parts interface.
1578 * docutils/writers/latex2e.py:
1580   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1581     about a missing file.
1582   - Added options and support: ``--compound-enumerators``,
1583     ``--section-prefix-for-enumerators``, and
1584     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1585     934322).
1586   - Added option ``--use-verbatim-when-possible``, to avoid
1587     problematic characters (eg, '~' in italian) in literal blocks.
1588   - It's now possible to use four section levels in the `book` and
1589     `report` LaTeX classes.  The default `article` class still has
1590     three levels limit.
1592 * docs/config.txt: "Docutils Configuration Files", added to project.
1593   Moved config file entry descriptions from tools.txt.
1595 * docs/tools.txt:
1597   - Moved config file entry descriptions to config.txt.
1599 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
1600   Development".
1602 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1603   Text Roles", added to project.
1605 * spec/rst/reStructuredText.txt:
1607   - Added description of support for <angle-bracketed> complex option
1608     arguments to option lists.
1609   - Added subsections for indented and quoted literal blocks.
1611 * test: Continually adding & updating tests.
1613   - Added test/test_settings.py & test/data/config_*.txt support
1614     files.
1615   - Added test/test_writers/test_htmlfragment.py.
1617 * test/DocutilsTestSupport.py:
1619   - Refactored LaTeX publisher test suite/case class names to make
1620     testing other writers easier.
1621   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1622     to test the processing of HTML fragments which use the new
1623     publish_parts convenience function.
1625 * tools/buildhtml.py:
1627   - Added support for the "--prune" option.
1628   - Removed dependency on pep2html.py; plaintext PEPs no longer
1629     supported.
1631 * tools/docutils.conf:
1633   - Updated for configuration file reorganization.
1635 * tools/rst2html.py:
1637   - copied from tools/html.py
1639 * setup.py:
1641   - added a 'scripts' section to configuration
1642   - added 'tools/rst2html.py' to the scripts section
1645 Release 0.3 (2003-06-24)
1646 ========================
1648 General:
1650 * Renamed "attribute" to "option" for directives/extensions.
1652 * Renamed transform method "transform" to "apply".
1654 * Renamed "options" to "settings" for runtime settings (as set by
1655   command-line options).  Sometimes "option" (singular) became
1656   "settings" (plural).  Some variations below:
1658   - document.options -> document.settings (stored in other objects as
1659     well)
1660   - option_spec -> settings_spec (not directives though)
1661   - OptionSpec -> SettingsSpec
1662   - cmdline_options -> settings_spec
1663   - relative_path_options -> relative_path_settings
1664   - option_default_overrides -> settings_default_overrides
1665   - Publisher.set_options -> Publisher.get_settings
1667 Specific:
1669 * COPYING.txt: Added "Public Domain Dedication".
1671 * FAQ.txt: Frequently asked questions, added to project.
1673 * setup.py:
1675   - Updated with PyPI Trove classifiers.
1676   - Conditional installation of third-party modules.
1678 * docutils/__init__.py:
1680   - Bumped version to 0.2.1 to reflect changes to I/O classes.
1681   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1682   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1683   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1684     option and its effect on the PEP template & writer.
1685   - Bumped version to 0.2.4 due to changes to the PEP template &
1686     stylesheet.
1687   - Bumped version to 0.2.5 to reflect changes to Reporter output.
1688   - Added ``TransformSpec`` class for new transform system.
1689   - Bumped version to 0.2.6 for API changes (renaming).
1690   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1691     convenience functions.
1692   - Added ``Component.component_type`` attribute.
1693   - Bumped version to 0.2.8 because of the internal parser switch from
1694     plain lists to the docutils.statemachine.StringList objects.
1695   - Bumped version to 0.2.9 because of the frontend.py API changes.
1696   - Bumped version to 0.2.10 due to changes to the project layout
1697     (third-party modules removed from the "docutils" package), and
1698     signature changes in ``io.Input``/``io.Output``.
1699   - Changed version to 0.3.0 for release.
1701 * docutils/core.py:
1703   - Made ``publish()`` a bit more convenient.
1704   - Generalized ``Publisher.set_io``.
1705   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1706     parameters; improved its docstring.
1707   - Added ``publish_file()`` and ``publish_string()``.
1708   - Factored ``Publisher.set_source()`` and ``.set_destination()``
1709     out of ``.set_io``.
1710   - Added support for "--dump-pseudo-xml", "--dump-settings", and
1711     "--dump-transforms" hidden options.
1712   - Added ``Publisher.apply_transforms()`` method.
1713   - Added ``Publisher.set_components()`` method; support for
1714     ``publish_*()`` conveninece functions.
1715   - Moved config file processing to docutils/frontend.py.
1716   - Added support for exit status ("exit_level" setting &
1717     ``enable_exit`` parameter for Publisher.publish() and convenience
1718     functions).
1720 * docutils/frontend.py:
1722   - Check for & exit on identical source & destination paths.
1723   - Fixed bug with absolute paths & "--config".
1724   - Set non-command-line defaults in ``OptionParser.__init__()``:
1725     ``_source`` & ``_destination``.
1726   - Distributed ``relative_path_settings`` to components; updated
1727     ``OptionParser.populate_from_components()`` to combine it all.
1728   - Require list of keys in ``make_paths_absolute`` (was implicit in
1729     global ``relative_path_settings``).
1730   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1731     "--dump-settings", and "--dump-transforms" hidden options.
1732   - Removed nasty internals-fiddling ``ConfigParser.get_section``
1733     code, replaced with correct code.
1734   - Added validation functionality for config files.
1735   - Added "--error-encoding" option/setting, "_disable_config"
1736     internal setting.
1737   - Added encoding validation; updated "--input-encoding" and
1738     "--output-encoding"; added "--error-encoding-error-handler" and
1739     "--output-encoding-error-handler".
1740   - Moved config file processing from docutils/core.py.
1741   - Updated ``OptionParser.populate_from_components`` to handle new
1742     ``SettingsSpec.settings_defaults`` dict.
1743   - Added support for "-" => stdin/stdout.
1744   - Added "exit_level" setting ("--exit" option).
1746 * docutils/io.py:
1748   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1749   - Added automatic closing to ``FileInput`` and ``FileOutput``.
1750   - Delayed opening of ``FileOutput`` file until ``write()`` called.
1751   - ``FileOutput.write()`` now returns the encoded output string.
1752   - Try to get path/stream name automatically in ``FileInput`` &
1753     ``FileOutput``.
1754   - Added defaults for source & destination paths.
1755   - Allow for Unicode I/O with an explicit "unicode" encoding.
1756   - Added ``Output.encode()``.
1757   - Removed dependency on runtime settings; pass encoding directly.
1758   - Recognize Unicode strings in ``Input.decode()``.
1759   - Added support for output encoding error handlers.
1761 * docutils/nodes.py:
1763   - Added "Invisible" element category class.
1764   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1765     modification during a traversal.
1766   - Added element classes: ``line_block``, ``generated``, ``address``,
1767     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1768     ``superscript``, ``subscript``, ``inline``
1769   - Added support for lists of nodes to ``Element.insert()``.
1770   - Fixed parent linking in ``Element.replace()``.
1771   - Added new abstract superclass ``FixedTextElement``; adds
1772     "xml:space" attribute.
1773   - Added support for "line" attribute of ``system_message`` nodes.
1774   - Added support for the observer pattern from ``utils.Reporter``.
1775     Added ``parse_messages`` and ``transform_messages`` attributes to
1776     ``document``, removed ``messages``.  Added ``note_parse_message``
1777     and ``note_transform_message`` methods.
1778   - Added support for improved diagnostics:
1780     - Added "document", "source", and "line" internal attributes to
1781       ``Node``, set by ``Node.setup_child()``.
1782     - Converted variations on ``node.parent = self`` to
1783       ``self.setup_child(node)``.
1784     - Added ``document.current_source`` & ``.current_line``
1785       attributes, and ``.note_source`` observer method.
1786     - Changed "system_message" output to GNU-Tools format.
1788   - Added a "rawsource" attribute to the ``Text`` class, for text
1789     before backslash-escape resolution.
1790   - Support for new transform system.
1791   - Reworked ``pending`` element.
1792   - Fixed XML DOM bug (SF #660611).
1793   - Removed the ``interpeted`` element class and added
1794     ``title_reference``, ``abbreviation``, ``acronym``.
1795   - Made substitutions case-sensitive-but-forgiving; moved some code
1796     from the parser.
1797   - Fixed Unicode bug on element attributes (report: William Dode).
1799 * docutils/optik.py: Removed from project; replaced with
1800   extras/optparse.py and extras/textwrap.py.  These will be installed
1801   only if they're not already present in the Python installation.
1803 * docutils/roman.py: Moved to extras/roman.py; this will be installed
1804   only if it's not already present in the Python installation.
1806 * docutils/statemachine.py:
1808   - Factored out ``State.add_initial_transitions()`` so it can be
1809     extended.
1810   - Converted whitespace-specific "blank" and "indent" transitions
1811     from special-case code to ordinary transitions: removed
1812     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
1813     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
1814     ``ws_initial_transitions`` attributes.
1815   - Removed ``State.match_transition()`` after merging it into
1816     ``.check_line()``.
1817   - Added ``StateCorrection`` exception.
1818   - Added support for ``StateCorrection`` in ``StateMachine.run()``
1819     (moved ``TransitionCorrection`` support there too.)
1820   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
1821     ``EOFError`` instead of ``IndexError``.
1822   - Added ``State.no_match`` method.
1823   - Added support for the Observer pattern, triggered by input line
1824     changes.
1825   - Added ``strip_top`` parameter to
1826     ``StateMachineWS.get_first_known_indented``.
1827   - Made ``context`` a parameter to ``StateMachine.run()``.
1828   - Added ``ViewList`` & ``StringList`` classes;
1829     ``extract_indented()`` becomes ``StringList.get_indented()``.
1830   - Added ``StateMachine.insert_input()``.
1831   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
1832     thanks to) Fred Drake.
1834 * docutils/utils.py:
1836   - Added a ``source`` attribute to Reporter instances and
1837     ``system_message`` elements.
1838   - Added an observer pattern to ``utils.Reporter`` to keep track of
1839     system messages.
1840   - Fixed bugs in ``relative_path()``.
1841   - Added support for improved diagnostics.
1842   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
1843   - Added support for encoding Reporter stderr output, and encoding
1844     error handlers.
1845   - Reporter keeps track of the highest level system message yet
1846     generated.
1848 * docutils/languages: Fixed bibliographic field language lookups.
1850 * docutils/languages/es.py: Added to project; Spanish mappings by
1851   Marcelo Huerta San Martin.
1853 * docutils/languages/fr.py: Added to project; French mappings by
1854   Stefane Fermigier.
1856 * docutils/languages/it.py: Added to project; Italian mappings by
1857   Nicola Larosa.
1859 * docutils/languages/sk.py: Added to project; Slovak mappings by
1860   Miroslav Vasko.
1862 * docutils/parser/__init__.py:
1864   - Added ``Parser.finish_parse()`` method.
1866 * docutils/parser/rst/__init__.py:
1868   - Added options: "--pep-references", "--rfc-references",
1869     "--tab-width", "--trim-footnote-reference-space".
1871 * docutils/parsers/rst/states.py:
1873   - Changed "title under/overline too short" system messages from INFO
1874     to WARNING, and fixed its insertion location.
1875   - Fixed enumerated list item parsing to allow paragraphs & section
1876     titles to begin with enumerators.
1877   - Converted system messages to use the new "line" attribute.
1878   - Fixed a substitution reference edge case.
1879   - Added support for "--pep-references" and "--rfc-references"
1880     options; reworked ``Inliner`` code to make customization easier.
1881   - Removed field argument parsing.
1882   - Added support for short section title over/underlines.
1883   - Fixed "simple reference name" regexp to ignore text like
1884     "object.__method__"; not an anonymous reference.
1885   - Added support for improved diagnostics.
1886   - Reworked directive API, based on Dethe Elza's contribution.  Added
1887     ``Body.parse_directive()``, ``.parse_directive_options()``,
1888     ``.parse_directive_arguments()`` methods.
1889   - Added ``ExtensionOptions`` class, to parse directive options
1890     without parsing field bodies.  Factored
1891     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
1892     ``ExtensionOptions``.
1893   - Improved definition list term/classifier parsing.
1894   - Added warnings for unknown directives.
1895   - Renamed ``Stuff`` to ``Struct``.
1896   - Now flagged as errors: transitions at the beginning or end of
1897     sections, empty sections (except title), and empty documents.
1898   - Updated for ``statemachine.StringList``.
1899   - Enabled recognition of schemeless email addresses in targets.
1900   - Added support for embedded URIs in hyperlink references.
1901   - Added backslash-escapes to inline markup end-string suffix.
1902   - Added support for correct interpreted text processing.
1903   - Fixed nested title parsing (topic, sidebar directives).
1904   - Added special processing of backslash-escaped whitespace (idea
1905     from David Abrahams).
1906   - Made substitutions case-sensitive-but-forgiving; moved some code
1907     to ``docutils.nodes``.
1908   - Added support for block quote attributions.
1909   - Added a kludge to work-around a conflict between the bubble-up
1910     parser strategy and short titles (<= 3 char-long over- &
1911     underlines).  Fixes SF bug #738803 "infinite loop with multiple
1912     titles" submitted by Jason Diamond.
1913   - Added explicit interpreted text roles for standard inline markup:
1914     "emphasis", "strong", "literal".
1915   - Implemented "superscript" and "subscript" interpreted text roles.
1916   - Added initial support for "abbreviation" and "acronym" roles;
1917     incomplete.
1918   - Added support for "--trim-footnote-reference-space" option.
1919   - Optional space before colons in directives & hyperlink targets.
1921 * docutils/parsers/rst/tableparser.py:
1923   - Fixed a bug that was producing unwanted empty rows in "simple"
1924     tables.
1925   - Detect bad column spans in "simple" tables.
1927 * docutils/parsers/rst/directives: Updated all directive functions to
1928   new API.
1930 * docutils/parsers/rst/directives/__init__.py:
1932   - Added ``flag()``, ``unchanged()``, ``path()``,
1933     ``nonnegative_int()``, ``choice()``, and ``class_option()``
1934     directive option helper functions.
1935   - Added warnings for unknown directives.
1936   - Return ``None`` for missing directives.
1937   - Added ``register_directive()``, thanks to William Dode and Paul
1938     Moore.
1940 * docutils/parsers/rst/directives/admonitions.py:
1942   - Added "admonition" directive.
1944 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
1945   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
1946   "parsed-literal", "rubric", "epigraph", "highlights" and
1947   "pull-quote" directives.
1949 * docutils/parsers/rst/directives/images.py:
1951   - Added an "align" attribute to the "image" & "figure" directives
1952     (by Adam Chodorowski).
1953   - Added "class" option to "image", and "figclass" to "figure".
1955 * docutils/parsers/rst/directives/misc.py:
1957   - Added "include", "raw", and "replace" directives, courtesy of
1958     Dethe Elza.
1959   - Added "unicode" and "class" directives.
1961 * docutils/parsers/rst/directives/parts.py:
1963   - Added the "sectnum" directive; by Dmitry Jemerov.
1964   - Added "class" option to "contents" directive.
1966 * docutils/parsers/rst/directives/references.py: Added to project.
1967   Contains the "target-notes" directive.
1969 * docutils/parsers/rst/languages/__init__.py:
1971   - Return ``None`` from get_language() for missing language modules.
1973 * docutils/parsers/rst/languages/de.py: Added to project; German
1974   mappings by Engelbert Gruber.
1976 * docutils/parsers/rst/languages/en.py:
1978   - Added interpreted text roles mapping.
1980 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
1981   mappings by Marcelo Huerta San Martin.
1983 * docutils/parsers/rst/languages/fr.py: Added to project; French
1984   mappings by William Dode.
1986 * docutils/parsers/rst/languages/it.py: Added to project; Italian
1987   mappings by Nicola Larosa.
1989 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
1990   mappings by Miroslav Vasko.
1992 * docutils/readers/__init__.py:
1994   - Added support for the observer pattern from ``utils.Reporter``, in
1995     ``Reader.parse`` and ``Reader.transform``.
1996   - Removed ``Reader.transform()`` method.
1997   - Added default parameter values to ``Reader.__init__()`` to make
1998     instantiation easier.
1999   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
2001 * docutils/readers/pep.py:
2003   - Added the ``peps.TargetNotes`` transform to the Reader.
2004   - Removed PEP & RFC reference detection code; moved to
2005     parsers/rst/states.py as options (enabled here by default).
2006   - Added support for pre-acceptance PEPs (no PEP number yet).
2007   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
2008     easy subclassing.
2010 * docutils/readers/python: Python Source Reader subpackage added to
2011   project, including preliminary versions of:
2013   - __init__.py
2014   - moduleparser.py: Parser for Python modules.
2016 * docutils/transforms/__init__.py:
2018   - Added ``Transformer`` class and completed transform reform.
2019   - Added unknown_reference_resolvers list for each transformer. This list holds
2020     the list of functions provided by each component of the transformer that
2021     help resolve references.
2023 * docutils/transforms/frontmatter.py:
2025   - Improved support for generic fields.
2026   - Fixed bibliographic field language lookups.
2028 * docutils/transforms/misc.py: Added to project.  Miscellaneous
2029   transforms.
2031 * docutils/transforms/parts.py:
2033   - Moved the "id" attribute from TOC list items to the references
2034     (``Contents.build_contents()``).
2035   - Added the ``SectNum`` transform; by Dmitry Jemerov.
2036   - Added "class" attribute support to ``Contents``.
2038 * docutils/transforms/peps.py:
2040   - Added ``mask_email()`` function, updating to pep2html.py's
2041     functionality.
2042   - Linked "Content-Type: text/x-rst" to PEP 12.
2043   - Added the ``TargetNotes`` PEP-specific transform.
2044   - Added ``TargetNotes.cleanup_callback``.
2045   - Added title check to ``Headers``.
2047 * docutils/transforms/references.py:
2049   - Added the ``TargetNotes`` generic transform.
2050   - Split ``Hyperlinks`` into multiple transforms.
2051   - Fixed bug with multiply-indirect references (report: Bruce Smith).
2052   - Added check for circular indirect references.
2053   - Made substitutions case-sensitive-but-forgiving.
2055 * docutils/transforms/universal.py:
2057   - Added support for the "--expose-internal-attributes" option.
2058   - Removed ``Pending`` transform classes & data.
2060 * docutils/writers/__init__.py:
2062   - Removed ``Writer.transform()`` method.
2064 * docutils/writers/docutils-xml.py:
2066   - Added XML and doctype declarations.
2067   - Added "--no-doctype" and "--no-xml-declaration" options.
2069 * docutils/writers/html4css1.py:
2071   - "name" attributes only on these tags: a, applet, form, frame,
2072     iframe, img, map.
2073   - Added "name" attribute to <a> in section titles for Netscape 4
2074     support (bug report: Pearu Peterson).
2075   - Fixed targets (names) on footnote, citation, topic title,
2076     problematic, and system_message nodes (for Netscape 4).
2077   - Changed field names from "<td>" to "<th>".
2078   - Added "@" to "&#64;" encoding to thwart address harvesters.
2079   - Improved the vertical whitespace optimization; ignore "invisible"
2080     nodes (targets, comments, etc.).
2081   - Improved inline literals with ``<span class="pre">`` around chunks
2082     of text and ``&nbsp;`` for runs of spaces.
2083   - Improved modularity of output; added ``self.body_pre_docinfo`` and
2084     ``self.docinfo`` segments.
2085   - Added support for "line_block", "address" elements.
2086   - Improved backlinks (footnotes & system_messages).
2087   - Improved system_message output.
2088   - Redefined "--stylesheet" as containing an invariant URL, used
2089     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
2090     working directory.
2091   - Added "--footnote-references" option (superscript or brackets).
2092   - Added "--compact-lists" and "--no-compact-lists" options.
2093   - Added "--embed-stylesheet" and "--link-stylesheet" options;
2094     factored out ``HTMLTranslator.get_stylesheet_reference()``.
2095   - Improved field list rendering.
2096   - Added Docutils version to "generator" meta tag.
2097   - Fixed a bug with images; they must be inline, so wrapped in <p>.
2098   - Improved layout of <pre> HTML source.
2099   - Fixed attribute typo on <colspec>.
2100   - Refined XML prologue.
2101   - Support for no stylesheet.
2102   - Removed "interpreted" element support.
2103   - Added support for "title_reference", "sidebar", "attribution",
2104     "rubric", and generic "admonition" elements.
2105   - Added "--attribution" option.
2106   - Added support for "inline", "subscript", "superscript" elements.
2107   - Added initial support for "abbreviation" and "acronym";
2108     incomplete.
2110 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
2111   (from the sandbox).
2113   - Added french.
2114   - Double quotes in literal blocks (special treatment for de/ngerman).
2115   - Added '--hyperlink-color' option ('0' turns off coloring of links).
2116   - Added  "--attribution" option.
2117   - Right align attributions.
2119 * docutils/writers/pep_html.py:
2121   - Parameterized output encoding in PEP template.
2122   - Reworked substitutions from ``locals()`` into ``subs`` dict.
2123   - Redefined "--pep-stylesheet" as containing an invariant URL, used
2124     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
2125     working directory.
2126   - Added an override on the "--footnote-references" option.
2127   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
2128   - Added Docutils version to "generator" meta tag.
2129   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2131 * docs/tools.txt:
2133   - Added a "silent" setting for ``buildhtml.py``.
2134   - Added a "Getting Help" section.
2135   - Rearranged the structure.
2136   - Kept up to date, with new settings, command-line options etc.
2137   - Added section for ``rst2latex.py`` (Engelbert Gruber).
2138   - Converted settings table into a definition list.
2140 * docs/rst/quickstart.txt:
2142   - Added a table of contents.
2143   - Added feedback information.
2144   - Added mention of minimum section title underline lengths.
2145   - Removed the 4-character minimum for section title underlines.
2147 * docs/rst/quickref.html:
2149   - Added a "Getting Help" section.
2150   - Added a style to make section title backlinks more subtle.
2151   - Added mention of minimum section title underline lengths.
2152   - Removed the 4-character minimum for section title underlines.
2154 * extras: Directory added to project; contains third-party modules
2155   that Docutils depends on (optparse, textwrap, roman).  These are
2156   only installed if they're not already present.
2158 * licenses: Directory added to project; contains copies of license
2159   files for non-public-domain files.
2161 * spec/doctree.txt:
2163   - Changed the focus.  It's about DTD elements:  structural
2164     relationships, semantics, and external (public) attributes.  Not
2165     about the element class library.
2166   - Moved some implementation-specific stuff into ``docutils.nodes``
2167     docstrings.
2168   - Wrote descriptions of all common attributes and parameter
2169     entities.  Filled in introductory material.
2170   - Working through the element descriptions: 55 down, 37 to go.
2171   - Removed "Representation of Horizontal Rules" to
2172     spec/rst/alternatives.txt.
2174 * spec/docutils.dtd:
2176   - Added "generated" inline element.
2177   - Added "line_block" body element.
2178   - Added "auto" attribute to "title".
2179   - Changed content models of "literal_block" and "doctest_block" to
2180     ``%text.model``.
2181   - Added ``%number;`` attribute type parameter entity.
2182   - Changed ``%structural.elements;`` to ``%section.elements``.
2183   - Updated attribute types; made more specific.
2184   - Added "address" bibliographic element.
2185   - Added "line" attribute to ``system_message`` element.
2186   - Removed "field_argument" element; "field_name" may contain
2187     multiple words and whitespace.
2188   - Changed public identifier to docutils.sf.net.
2189   - Removed "interpreted" element; added "title_reference",
2190     "abbreviation", "acronym".
2191   - Removed "refuri" attribute from "footnote_reference" and
2192     "citation_reference".
2193   - Added "sidebar", "rubric", "attribution", "admonition",
2194     "superscript", "subscript", and "inline" elements.
2196 * spec/pep-0256.txt: Converted to reStructuredText & updated.
2198 * spec/pep-0257.txt: Converted to reStructuredText & updated.
2200 * spec/pep-0258.txt: Converted to reStructuredText & updated.
2202 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2203   Dallas Mahrt.
2205 * spec/transforms.txt: Added to project.
2207 * spec/howto: Added subdirectory, for developer how-to docs.
2209 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2210   Elza, edited & extended by David Goodger.
2212 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
2213   project.
2215 * spec/rst/alternatives.txt:
2217   - Added "Doctree Representation of Transitions" from
2218     spec/doctree.txt.
2219   - Updated "Inline External Targets" & closed the debate.
2220   - Added ideas for interpreted text syntax extensions.
2221   - Added "Nested Inline Markup" section.
2223 * spec/rst/directives.txt:
2225   - Added directives: "topic", "sectnum", "target-notes",
2226     "line-block", "parsed-literal", "include", "replace", "sidebar",
2227     "admonition", "rubric", "epigraph", "highlights", "unicode" and
2228     "class".
2229   - Formalized descriptions of directive details.
2230   - Added an "align" attribute to the "image" & "figure" directives
2231     (by Adam Chodorowski).
2232   - Added "class" options to "topic", "sidebar", "line-block",
2233     "parsed-literal", "contents", and "image"; and "figclass" to
2234     "figure".
2236 * spec/rst/interpreted.txt: Added to project.  Descriptions of
2237   interpreted text roles.
2239 * spec/rst/introduction.txt:
2241   - Added pointers to material for new users.
2243 * spec/rst/reStructuredText.txt:
2245   - Disambiguated comments (just add a newline after the "::").
2246   - Updated enumerated list description; added a discussion of the
2247     second-line validity checking.
2248   - Updated directive description.
2249   - Added a note redirecting newbies to the user docs.
2250   - Expanded description of inline markup start-strings in non-markup
2251     contexts.
2252   - Removed field arguments and made field lists a generic construct.
2253   - Removed the 4-character minimum for section title underlines.
2254   - Clarified term/classifier delimiter & inline markup ambiguity
2255     (definition lists).
2256   - Added "Embedded URIs".
2257   - Updated "Interpreted Text" section.
2258   - Added "Character-Level Inline Markup" section.
2260 * test: Continually adding & updating tests.
2262   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2263   - Moved test/test_pep/ to test/test_readers/test_pep/.
2264   - Added test/test_readers/test_python/.
2265   - Added test/test_writers/ (Engelbert Gruber).
2267 * tools:
2269   - Made the ``locale.setlocale()`` calls in front ends
2270     fault-tolerant.
2272 * tools/buildhtml.py:
2274   - Added "--silent" option.
2275   - Fixed bug with absolute paths & "--config".
2276   - Updated for new I/O classes.
2277   - Added some exception handling.
2278   - Separated publishers' setting defaults; prevents interference.
2279   - Updated for new ``publish_file()`` convenience function.
2281 * tools/pep-html-template:
2283   - Allow for "--embed-stylesheet".
2284   - Added Docutils version to "generator" meta tag.
2285   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2286   - Conform to XHTML spec.
2288 * tools/pep2html.py:
2290   - Made ``argv`` a parameter to ``main()``.
2291   - Added support for "Content-Type:" header & arbitrary PEP formats.
2292   - Linked "Content-Type: text/plain" to PEP 9.
2293   - Files skipped (due to an error) are not pushed onto the server.
2294   - Updated for new I/O classes.
2295   - Added ``check_requirements()`` & ``pep_type_error()``.
2296   - Added some exception handling.
2297   - Updated for new ``publish_string()`` convenience function.
2298   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2300 * tools/quicktest.py:
2302   - Added "-V"/"--version" option.
2304 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2306 * tools/unicode2rstsubs.py: Added to project.  Produces character
2307   entity files (reSructuredText substitutions) from the MathML master
2308   unicode.xml file.
2310 * tools/editors: Support code for editors, added to project.  Contains
2311   ``emacs/restructuredtext.el``.
2313 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2315   - Added style for chunks of inline literals.
2316   - Removed margin for first child of table cells.
2317   - Right-aligned field list names.
2318   - Support for auto-numbered section titles in TOCs.
2319   - Increased the size of inline literals (<tt>) in titles.
2320   - Restored the light gray background for inline literals.
2321   - Added support for "line_block" elements.
2322   - Added style for "address" elements.
2323   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2324   - Improved field list rendering.
2325   - Vertical whitespace improvements.
2326   - Removed "a.target" style.
2328 * tools/stylesheets/pep.css:
2330   - Fixed nested section margins.
2331   - Other changes parallel those of ``../default.css``.
2334 Release 0.2 (2002-07-31)
2335 ========================
2337 General:
2339 - The word "component" was being used ambiguously.  From now on,
2340   "component" will be used to mean "Docutils component", as in Reader,
2341   Writer, Parser, or Transform.  Portions of documents (Table of
2342   Contents, sections, etc.)  will be called "document parts".
2343 - Did a grand renaming: a lot of ``verylongnames`` became
2344   ``very_long_names``.
2345 - Cleaned up imports: no more relative package imports or
2346   comma-separated lists of top-level modules.
2347 - Added support for an option values object which carries default
2348   settings and overrides (from command-line options and library use).
2349 - Added internal Unicode support, and support for both input and
2350   output encodings.
2351 - Added support for the ``docutils.io.IO`` class & subclasses.
2353 Specific:
2355 * docutils/__init__.py:
2357   - Added ``ApplicationError`` and ``DataError``, for use throughout
2358     the package.
2359   - Added ``Component`` base class for Docutils components; implements
2360     the ``supports`` method.
2361   - Added ``__version__`` (thus, ``docutils.__version__``).
2363 * docutils/core.py:
2365   - Removed many keyword parameters to ``Publisher.__init__()`` and
2366     ``publish()``; bundled into an option values object.  Added
2367     "argv", "usage", "description", and "option_spec" parameters for
2368     command-line support.
2369   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2370     methods.
2371   - Reworked I/O model for ``docutils.io`` wrappers.
2372   - Updated ``Publisher.set_options()``; now returns option values
2373     object.
2374   - Added support for configuration files (/etc/docutils.conf,
2375     ./docutils.conf, ~/.docutils).
2376   - Added ``Publisher.setup_option_parser()``.
2377   - Added default usage message and description.
2379 * docutils/frontend.py: Added to project; support for front-end
2380   (command-line) scripts.  Option specifications may be augmented by
2381   components.  Requires Optik (http://optik.sf.net/) for option
2382   processing (installed locally as docutils/optik.py).
2384 * docutils/io.py: Added to project; uniform API for a variety of input
2385   output mechanisms.
2387 * docutils/nodes.py:
2389   - Added ``TreeCopyVisitor`` class.
2390   - Added a ``copy`` method to ``Node`` and subclasses.
2391   - Added a ``SkipDeparture`` exception for visitors.
2392   - Renamed ``TreePruningException`` from ``VisitorException``.
2393   - Added docstrings to ``TreePruningException``, subclasses, and
2394     ``Nodes.walk()``.
2395   - Improved docstrings.
2396   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2397   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2398     imports.
2399   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2400     ``PreDecorative`` mixin.
2401   - Reworked the name/id bookkeeping; to ``document``, removed
2402     ``explicit_targets`` and ``implicit_targets`` attributes, added
2403     ``nametypes`` attribute and ``set_name_id_map`` method.
2404   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2405     traversals.
2406   - Added ``document.has_name()`` method.
2407   - Fixed DOM generation for list-attributes.
2408   - Added category class ``Labeled`` (used by footnotes & citations).
2409   - Added ``Element.set_class()`` method (sets "class" attribute).
2411 * docutils/optik.py: Added to project.  Combined from the Optik
2412   package, with added option groups and other modifications.  The use
2413   of this module is probably only temporary.
2415 * docutils/statemachine.py:
2417   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2418   - Added underscores to improve many awkward names.
2419   - In ``string2lines()``, changed whitespace normalizing translation
2420     table to regexp; restores Python 2.0 compatibility with Unicode.
2422 * docutils/urischemes.py:
2424   - Filled in some descriptions.
2425   - Added "shttp" scheme.
2427 * docutils/utils.py:
2429   - Added ``clean_rcs_keywords`` function (moved from
2430     docutils/transforms/frontmatter.py
2431     ``DocInfo.filter_rcs_keywords``).
2432   - Added underscores to improve many awkward names.
2433   - Changed names of Reporter's thresholds:
2434     warning_level -> report_level; error_level -> halt_level.
2435   - Moved ``utils.id()`` to ``nodes.make_id()``.
2436   - Added ``relative_path(source, target)``.
2438 * docutils/languages/de.py: German mappings; added to project.  Thanks
2439   to Gunnar Schwant for the translations.
2441 * docutils/languages/en.py: Added "Dedication" bibliographic field
2442   mappings.
2444 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2445   Chodorowski.
2447 * docutils/parsers/rst/states.py:
2449   - Added underscores to improve many awkward names.
2450   - Added RFC-2822 header support.
2451   - Extracted the inline parsing code from ``RSTState`` to a separate
2452     class, ``Inliner``, which will allow easy subclassing.
2453   - Made local bindings for ``memo`` container & often-used contents
2454     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2455   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2456   - Added ``MarkupMismatch`` exception; for late corrections.
2457   - Added ``-/:`` characters to inline markup's start string prefix,
2458     ``/`` to end string suffix.
2459   - Fixed a footnote bug.
2460   - Fixed a bug with literal blocks.
2461   - Applied patch from Simon Budig: simplified regexps with symbolic
2462     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2463   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2464   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2465   - Allowed non-ASCII in "simple names" (directive names, field names,
2466     references, etc.).
2467   - Converted ``Inliner.patterns.initial`` to be dynamically built
2468     from parts with ``build_regexp()`` function.
2469   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2470   - Updated docstrings.
2471   - Changed "table" to "grid_table"; added "simple_table" support.
2473 * docutils/parsers/rst/tableparser.py:
2475   - Changed ``TableParser`` to ``GridTableParser``.
2476   - Added ``SimpleTableParser``.
2477   - Refactored naming.
2479 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2480   a fallback language for directive names.
2482 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2483   directive to use a ``pending`` element, used only by HTML writers.
2485 * docutils/parsers/rst/directives/parts.py: Renamed from
2486   components.py.
2488   - Added "backlinks" attribute to "contents" directive.
2490 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2491   project by Adam Chodorowski.
2493 * docutils/readers/__init__.py: Gave Readers more control over
2494   choosing and instantiating Parsers.
2496 * docutils/readers/pep.py: Added to project; for PEP processing.
2498 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2499   requires a ``component`` parameter.
2501 * docutils/transforms/components.py: Added to project; transforms
2502   related to Docutils components.
2504 * docutils/transforms/frontmatter.py:
2506   - In ``DocInfo.extract_authors``, check for a single "author" in an
2507     "authors" group, and convert it to a single "author" element.
2508   - Added support for "Dedication" and generic bibliographic fields.
2510 * docutils/transforms/peps.py: Added to project; PEP-specific.
2512 * docutils/transforms/parts.py: Renamed from old components.py.
2514   - Added filter for `Contents`, to use alt-text for inline images,
2515     and to remove inline markup that doesn't make sense in the ToC.
2516   - Added "name" attribute to TOC topic depending on its title.
2517   - Added support for optional TOC backlinks.
2519 * docutils/transforms/references.py: Fixed indirect target resolution
2520   in ``Hyperlinks`` transform.
2522 * docutils/transforms/universal.py:
2524   - Changed ``Messages`` transform to properly filter out system
2525     messages below the warning threshold.
2526   - Added ``Decorations`` transform (support for ``--generator``,
2527     ``--date``, ``--time``, ``--source-link`` options).
2529 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2530   Engelbert Gruber's PDF writer.
2532 * docutils/writers/html4css1.py:
2534   - Made XHTML-compatible (switched to lowercase element & attribute
2535     names; empty tag format).
2536   - Escape double-dashes in comment text.
2537   - Improved boilerplate & modularity of output.
2538   - Exposed modular output in Writer class.
2539   - Added a "generator" meta tag to <head>.
2540   - Added support for the ``--stylesheet`` option.
2541   - Added support for ``decoration``, ``header``, and ``footer``
2542     elements.
2543   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2544     translation table to regexp; restores Python 2.0 compatibility
2545     with Unicode.
2546   - Added the translator class as instance variable to the Writer, to
2547     make it easily subclassable.
2548   - Improved option list spacing (thanks to Richard Jones).
2549   - Modified field list output.
2550   - Added backlinks to footnotes & citations.
2551   - Added percentage widths to "<col>" tags (from colspec).
2552   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2553     "<span>" changed to "<var>".
2554   - Inline literals: "<code>" changed to "<tt>".
2555   - Many changes to optimize vertical space: compact simple lists etc.
2556   - Add a command-line options & directive attributes to control TOC
2557     and footnote/citation backlinks.
2558   - Added support for optional footnote/citation backlinks.
2559   - Added support for generic bibliographic fields.
2560   - Identify backrefs.
2561   - Relative URLs for stylesheet links.
2563 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2564   PEPs (subclass of ``html4css1.Writer``).
2566 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2568 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2569   of the Docutils internal doctree in XML.
2571 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2573 * spec/doctree.txt:
2575   - Changed the title to "The Docutils Document Tree".
2576   - Added "Hyperlink Bookkeeping" section.
2578 * spec/docutils.dtd:
2580   - Added ``decoration``, ``header``, and ``footer`` elements.
2581   - Brought ``interpreted`` element in line with the parser: changed
2582     attribute "type" to "role", added "position".
2583   - Added support for generic bibliographic fields.
2585 * spec/notes.txt: Continual updates.  Added "Project Policies".
2587 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2588   section.
2590 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2592 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
2593   mailing list discussions.
2595 * spec/pep-0287.txt:
2597   - Renamed to "reStructuredText Docstring Format".
2598   - Minor edits.
2599   - Reworked Q&A as an enumerated list.
2600   - Converted to reStructuredText format.
2602 * spec/pysource.dtd:
2604   - Reworked structural elements, incorporating ideas from Tony Ibbs.
2606 * spec/pysource.txt: Removed from project.  Moved much of its contents
2607   to pep-0258.txt.
2609 * spec/rst/alternatives.txt:
2611   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2612   - Added "Inline External Targets" section.
2614 * spec/rst/directives.txt:
2616   - Added "backlinks" attribute to "contents" directive.
2618 * spec/rst/problems.txt:
2620   - Updated the Enumerated List Markup discussion.
2621   - Added new alternative table markup syntaxes.
2623 * spec/rst/reStructuredText.txt:
2625   - Clarified field list usage.
2626   - Updated enumerated list description.
2627   - Clarified purpose of directives.
2628   - Added ``-/:`` characters to inline markup's start string prefix,
2629     ``/`` to end string suffix.
2630   - Updated "Authors" bibliographic field behavior.
2631   - Changed "inline hyperlink targets" to "inline internal targets".
2632   - Added "simple table" syntax to supplement the existing but
2633     newly-renamed "grid tables".
2634   - Added cautions for anonymous hyperlink use.
2635   - Added "Dedication" and generic bibliographic fields.
2637 * test: Made test modules standalone (subdirectories became packages).
2639 * test/DocutilsTestSupport.py:
2641   - Added support for PEP extensions to reStructuredText.
2642   - Added support for simple tables.
2643   - Refactored naming.
2645 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2647   - Now supports true packages containing test modules
2648     (``__init__.py`` files required); fixes duplicate module name bug.
2650 * test/test_pep/: Subpackage added to project; PEP testing.
2652 * test/test_rst/test_SimpleTableParser.py: Added to project.
2654 * tools:
2656   - Updated html.py and publish.py front-end tools to use the new
2657     command-line processing facilities of ``docutils.frontend``
2658     (exposed in ``docutils.core.Publisher``), reducing each to just a
2659     few lines of code.
2660   - Added ``locale.setlocale()`` calls to front-end tools.
2662 * tools/buildhtml.py: Added to project; batch-generates .html from all
2663   the .txt files in directories and subdirectories.
2665 * tools/default.css:
2667   - Added support for ``header`` and ``footer`` elements.
2668   - Added styles for "Dedication" topics (biblio fields).
2670 * tools/docutils.conf: A configuration file; added to project.
2672 * tools/docutils-xml.py: Added to project.
2674 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2676 * tools/pep-html-template: Added to project.
2678 * tools/pep2html.py: Added to project from Python (nondist/peps).
2679   Added support for Docutils (reStructuredText PEPs).
2681 * tools/quicktest.py:
2683   - Added the ``--attributes`` option, hacked a bit.
2684   - Added a second command-line argument (output file); cleaned up.
2686 * tools/stylesheets/: Subdirectory added to project.
2688 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2691 Release 0.1 (2002-04-20)
2692 ========================
2694 This is the first release of Docutils, merged from the now inactive
2695 reStructuredText__ and `Docstring Processing System`__ projects.  For
2696 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2697 `DPS HISTORY`__ files.
2699 __ http://structuredtext.sourceforge.net/
2700 __ http://docstring.sourceforge.net/
2701 __ http://structuredtext.sourceforge.net/HISTORY.html
2702 __ http://docstring.sourceforge.net/HISTORY.html
2704 General changes: renamed 'dps' package to 'docutils'; renamed
2705 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2706 the test suites (reStructuredText's test/test_states renamed to
2707 test/test_rst); and all modifications required to make it all work.
2709 * docutils/parsers/rst/states.py:
2711   - Improved diagnostic system messages for missing blank lines.
2712   - Fixed substitution_reference bug.
2716    Local Variables:
2717    mode: indented-text
2718    indent-tabs-mode: nil
2719    sentence-end-double-space: t
2720    fill-column: 70
2721    End: