Remove debugging test for importing ElementTree.
[docutils.git] / HISTORY.txt
blob14a0f3d2dc15ef81d9414dae2cb652424ad85187
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.5
18 =================
20 * General:
22   - Docutils is now compatible with Python versions from 2.3 up to 3.0 (or
23     even 3.1?)
25     + Node.__nonzero__ returns True instead of 1.
26     + use os.walk instead os.path.walk.
27     + minimize "types" module where possible.
28     + Backwards-compatible changes to remove python2.6 -3 deprecation warnings
29     + Text nodes now subclass unicode rather than UserString
30       (which is gone in python 3.0)
31     + 3.0 compatibility module docutils._compat
33     + drop 2.2 compatibility workarounds
35   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
37   - Apply [ 1719345 ] Galician translation
38   - Apply [ 1905741 ] polish-translation
39   - Apply [ 1878977 ] make_id(): deaccent characters.
41 * reStructuredText:
43   - Documented Unicode characters allowed as inline markup openers,
44     closers, and delimiters.
45   - Allow units for all length specifications.
46   - Allow percent sign in "scale" argument of "figure" and "image" directives.
47   - Bugfix: The "figalign" argument of a figure now works as intended
48     (aligning the figure, not its contents).
49   - Align images with class "align-[right|center|left]"
50     (allows setting the alignment of an image in a figure).
52 * docutils/nodes.py:
54   - Added ``Element.__contains__`` method, for the in-operator.
56 * docutils/parsers/rst/states.py:
58   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
59   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
60     " " (non-breaking space), and "¡ ¿" openers.
62 * docutils/utils.py:
64   - Added ``get_stylesheet_list`` function.
66 * docutils/writers/html4css1/__init__.py:
68   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
69     separated list of stylesheets.
71 * docutils/writers/newlatex2e/__init__.py:
73   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
75 * docutils/writers/latex2e/__init__.py (see also
76   `<docs/user/docutils-05-compat.sty.html>`__) :
78   - Add option ``--use-titlepage-env``.
79   - Add option ``--embed-stylesheet``.
80   - Apply [ 1474017 ] image vertical alignment is reversed.
81   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
82   - Change: has_key for dictionaries (not Nodes) to in-operator.
83   - Merge adjacent citations into one latex cite command.
84   - Failsave implementation of custom roles. LaTeX compilation now ignores
85     unknown classes instead of aborting with an error.
86   - Support custom roles based on standard roles.
87   - LaTeX packages can be used as ``--stylesheet`` arguments without
88     restriction. (A style sheet is now referenced with the ``\usepackage``
89     command, if it ends with ``.sty`` or has no extension.)
90   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
91   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
92   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
93     2005-02-04 as a configurable length unit).
94   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
95     if font-encoding is set to ''. LaTeX defaults to OT1 then.
96   - Set sub- and superscript role argument in text mode not as math.
97     Use a custom role based on sub-/superscript if you want italic shape.
98   - Shorter preamble and less dependencies: Load packages and define macros
99     only if required in the document.
100   - Use the name prefix ``DU`` for all Docutils specific LaTeX objects.
101   - New custom macros and environments.
102   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
103   - Better conformance to Docutils specifications with "use_latex_toc".
104   - Use default font in admonitions and sidebar.
105   - Align of image in a figure defaults to 'center'.
106   - Bugfix: Newlines around targets and references prevent run-together
107     paragraphs.
108   - Fix internal hyperlinks.
109   - Default type area defined in the document class (not by 'typearea').
110   - Float placement made configurable and changed to "here definitely".
113 Release 0.5 (2008-06-25)
114 ========================
116 * docutils/languages/he.py: Added to project: Hebrew mappings by
117   Meir Kriheli.
119 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
120   mappings by Meir Kriheli.
122 * docutils/frontend.py:
124   - Configuration files are now assumed and required to be
125     UTF-8-encoded.
126   - Paths of applied configuration files are now recorded in the
127     runtime setting ``_config_files`` (accessible via
128     ``--dump-settings``).
129   - Added ``--strip-elements-with-class`` and ``--strip-class``
130     options (``strip_elements_with_classes`` and ``strip_classes``
131     settings).
133 * docutils/io.py:
135   - Added code to determine the input encoding from data: encoding
136     declarations or the presence of byte order marks (UTF-8 & UTF-16).
137   - Added support for IronPython 1.0.
139 * docutils/nodes.py:
141   - Added ``document.__getstate__`` method, for pickling.
143 * docutils/parsers/rst/states.py:
145   - Allow ``+`` and ``:`` in reference names.
146   - Unquoted targets beginning with an underscore (``.. __target:
147     URI``) are no longer accepted.
148   - Added support for multiple attributions in a physical block quote
149     (indented text block), dividing it into multiple logical block
150     quotes.
151   - Added support for unicode bullets in bullet lists: "•", "‣", and
152     "⁃".
153   - Added support for new object-oriented directive interface,
154     retaining compatibility to the old functional interface.
155   - Added support for throwing ``DirectiveError``'s from within
156     directive code.
158 * docutils/parsers/rst/__init__.py:
160   - Added ``Directive`` base class.
161   - Added ``DirectiveError`` base class.
162   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
163     definitions.
165 * docutils/parsers/directives/:
167   - Refactored all reStructuredText directives to use the new
168     object-oriented directive interface.  Errors are now (mostly)
169     thrown using the new ``DirectiveError`` class.
171 * docutils/parsers/directives/misc.py:
173   - Added ``start-after`` and ``end-before`` options to ``include``
174     directive; thanks to Stefan Rank.
176 * docutils/transforms/universal.py:
178   - Added ``StripClassesAndElements`` transform to remove from the
179     document tree all elements with classes in
180     ``settings.strip_elements_with_classes`` and all "classes"
181     attribute values in ``self.document.settings.strip_classes``.
183 * docutils/transforms/writer_aux.py:
185   - Added ``Admonitions`` transform to transform specific admonitions
186     (like ``note``, ``warning``, etc.) into generic admonitions with a
187     localized title.
189 * docutils/writers/html4css1/__init__.py:
191   - Moved template functionality from the PEP/HTML writer here.
192   - Expanded the fragments available in the ``parts`` attribute.
193   - Moved ``id`` attributes from titles to surrounding ``div``
194     elements.
195   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
196     universally supported now).
197   - ``template.txt`` is now opened in text mode instead of binary mode
198     (to ensure Windows compatibility).
199   - ``a`` elements now have an "internal" or "external" class,
200     depending on reference type.
202 * docutils/writers/html4css1/template.txt: Added to project.
204 * docutils/writers/pep_html/:
206   - Moved template functionality to the HTML writer.
208 * docutils/writers/s5_html/__init__.py:
210   - Added ``view_mode`` & ``hidden_controls`` settings
211     (``--view-mode`` & ``--hidden-controls/--visible-controls``
212     options).
214 * docutils/writers/latex2e/__init__.py:
216   - Add ``--literal-block-env``
217   - Fix: escaping ``%`` in href urls.
218   - Move usepackage hyperref after stylesheet inclusion.
219   - Fix: scrartcl does not have chapter but scrreprt.
220   - Add newline after ``\end{verbatim}``.
221   - Merge smaller differences from latex2e_adaptive_preamble.
222   - Add ``use-part-section``.
223   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
224   - Using leavemode option_list no longer needs to check if parent
225     is a definition list.
226   - Append ``\leavemode`` to definition list terms.
227   - No longer write visit\_/depart_definition_list_item comments to
228     output.
229   - Table column width with 3 decimal places.
230   - Add table stubs support (boldfont).
231   - Add assemble_parts to writer.
232   - Add simply support for nested tables.
233   - Fix verbatim in tables if use-verbatim-when-possible.
234   - Use section commands down to subparagraph.
235   - Put ensuremath around some latin1 chars.
236   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
237   - New option ``--use-bibtex=style,db1,db2``.
238   - New option ``--reference-label`` to allow usage of LaTeX ref for
239     labels in section references.
240   - Add a label after every section to support sectionnumbers as reference
241     labels.
242   - Fix: bug# 1605376 rst2latex: bad options group list
243   - Remove inactive code for use_optionlist_for_option_list.
244   - Remove latex comments from option_list output.
245   - Fix: bug# 1612270 double qoutes in italian literal.
246   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
247   - Add option --use-latex-abstract.
248   - Image width unit ``px`` is translated to ``pt``.
249   - Add image height support.
250   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
251     bug #1457388
252   - Fix: Do not escape underscores in citation reference labels if
253     use-latex-citations is set.
254   - Use centering instead of center for figure contents, to avoid vertical
255     space.
256   - Recognize table class: borderless, nolines, booktabs, standard.
257   - Fix: Renaming contents section does not work with latex writer; SF
258     bug #1487405.
259   - Applied patch for custom roles with classes from Edward Loper.
260   - Fixed bug that caused crashes with more than 256 lists.
262 * docutils/writers/pep_html/__init__.py:
264   - Changed to support new python.org website structure and
265     pep2pyramid.py.
267 * docs/howto/security.txt: "Deploying Docutils Securely", added to
268   project.
270 * tools/buildhtml.py:
272   -- Added ``ignore`` setting to exclude a list of shell patterns
273      (default: ``.svn:CVS``).
275 * tools/editors/emacs/rst.el:
277   - Changed license to "GPL".
278   - Added ``rst-straighten-decorations`` function.
279   - The ``compile`` module is now always loaded.
280   - Added ``rst-toggle-line-block`` function.
281   - Headings consisting only of non-ASCII characters are now
282     recognized by ``rst-toc`` and ``rst-adjust``.
283   - Added font-lock support for multi-line comments where the first
284     comment line is empty.
285   - Added ``(require 'font-lock)``.
287 * setup.py:
289   - Provide descriptive error message if distutils is missing.
292 Release 0.4 (2006-01-09)
293 ========================
295 * General:
297   - Updated the project policies for trunk/branch development &
298     version numbering.
300 * docutils/__init__.py:
302   - Added ``__version_details__`` attribute to describe code source
303     (repository/snapshot/release).
304   - Replaced ``default_transforms`` attribute of TransformSpec with
305     ``get_transforms()`` method.
307 * docutils/core.py:
309   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
310     functions, for document tree extraction and reprocessing.
312 * docutils/io.py:
314   - Added ``DocTreeInput`` class, for reprocessing existing documents.
315   - Added support for non-Unicode (e.g. binary) writer output.
317 * docutils/nodes.py:
319   - Re-introduced ``Targetable.indirect_reference_name``, for
320     MoinMoin/reST compatibility (removed in r3124/r3129).
321   - Added ``serial_escape`` function; escapes string values that are
322     elements of a list, for serialization.  Modified Docutils-XML
323     writing (``Element._dom_node``) and pseudo-XML writing
324     (``Element.starttag``) to use ``serial_escape``.
325   - Added ``Node.deepcopy()`` method.
326   - Removed the internal lists ``document.substitution_refs``,
327     ``document.anonymous_refs``, and ``document.anonymous_targets``.
328   - Added a "container" element.
329   - Fixed bug where values of list-valued attributes of elements
330     originating from custom interpreted text roles (i.e., with custom
331     classes) were being shared between element instances.  Reported by
332     Shmuel Zeigerman.
334 * docutils/statemachine.py:
336   - Added trailing whitespace stripping to ``string2lines()``.
337   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
338     Asian double-width character support.
340 * docutils/utils.py:
342   - Added ``east_asian_column_width()`` for double-width character
343     support.
345 * docutils/languages/ja.py: Added to project: Japanese mappings by
346   Hisashi Morita.
348 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
349   mappings by Panjunyong.
351 * docutils/parsers/null.py: Added to project; a do-nothing parser.
353 * docutils/parsers/rst/__init__.py:
355   - Added validator to tab_width setting, with test.  Closes SF bug
356     #1212515, report from Wu Wei.
358 * docutils/parsers/rst/states.py:
360   - Fixed bug with escaped colons indicating a literal block.
361   - Fixed bug with enumerated lists (SF#1254145).
362   - Backslash-escaped colons inside of field names are now allowed.
363   - Targets (implicit and explicit), anonymous hyperlink references
364     and auto-numbered footnote references inside of substitution
365     definitions are now disallowed.
366   - Fixed bug: list items with blank first lines.
367   - Fixed bug: block quote attributions with indented second lines.
368   - Added East Asian double-width character support (Python 2.4 only).
370 * docutils/parsers/rst/tableparser.py:
372   - Added East Asian double-width character support (Python 2.4 only).
374 * docutils/parsers/rst/directives/body.py:
376   - Added the "container" directive.
378 * docutils/parsers/rst/directives/misc.py:
380   - Added the "default-role", "title", and "date" directives.
381   - Added standard data file syntax to the "include" directive.
382   - Added support for "class" directive content.
384 * docutils/parsers/rst/directives/images.py:
386   - Added ``indirect_reference_name`` support for images with a target
387     option.
388   - Added support for image width and height units.
389   - Fixed bug with image "target" options.
391 * docutils/parsers/rst/directives/references.py:
393   - Added "class" attribute to "target-notes" directive, for
394     footnote_reference classes.
396 * docutils/parsers/rst/include/: Directory added to project; contains
397   standard data files for the "include" directive.  Initial contents:
398   character entity substitution definition sets, and a set of
399   definitions for S5/HTML presentations.
401 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
402   mappings by David Goodger.
404 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
405   Simplified Chinese mappings by Panjunyong.
407 * docutils/readers/__init__.py:
409   - Added universal.Decorations and universal.ExposeInternals
410     transforms as default transforms for all readers.
411   - Added ``ReReader`` base class for readers that reread an existing
412     document tree.
414 * docutils/readers/doctree.py: Added to project; a reader for existing
415   document trees.
417 * docutils/transforms/frontmatter.py:
419   - Fixed the DocInfo transform to handle SVN-style expansion of the
420     "Date" keyword.
421   - In ``DocInfo.extract_authors``, treat the contents of "authors"
422     fields uniformly.
424 * docutils/transforms/misc.py:
426   - Added misc.Transitions transform, extracted from
427     universal.FinalChecks.
429 * docutils/transforms/references.py:
431   - Added references.DanglingReferences transform, extracted from
432     universal.FinalChecks.
433   - Fixed bug with doubly-indirect substitutions.
434   - Added footnote_reference classes attribute to "TargetNotes".
435   - Fixed bug with circular substitution definitions that put Docutils
436     into an infinite loop.
438 * docutils/transforms/universal.py:
440   - Added universal.ExposeInternals transform, extracted from
441     universal.FinalChecks.
442   - Removed universal.FinalChecks transform (logic has been moved to
443     several new transforms).
444   - Fixed bug with the "expose_internals" setting and Text nodes
445     (exposed by the "rawsource" internal attribute).
446   - Added the universal.StripComments transform, implementation of the
447     "strip_comments" setting.
449 * docutils/transforms/writer_aux.py: Added to project; auxiliary
450   transforms for writers.
452   - Added ``Compound`` transform, which flattens compound paragraphs.
454 * docutils/writers/: Several writer modules (html4css1.py) were
455   converted into packages.  Support modules and data files have been
456   moved into the packages.  The stylesheets for the HTML writers are
457   now installed along with the code, the code knows where to find
458   them, and the default is to use them (actually, to embed them).
459   Some adjustments to configuration files may be necessary.  The
460   easiest way to obtain the new default behavior is to remove all
461   settings whose name includes "stylesheet".
463 * docutils/writers/__init__.py:
465   - Added universal.Messages and universal.FilterMessages transforms
466     as default transforms for all writers.
467   - Added ``UnfilteredWriter`` base class for writers that pass the
468     document tree on unchanged.
470 * docutils/writers/docutils_xml.py:
472   - Made ``xmlcharrefreplace`` the default output encoding error
473     handler.
475 * docutils/writers/html4css1/:
477   - Added support for image width and height units.
478   - Made ``xmlcharrefreplace`` the default output encoding error
479     handler.
480   - Made ``--embed-stylesheet`` the default rather than
481     ``--link-stylesheet``.
482   - Moved "id" attribute from container (section etc.) to title's <a>
483     tag, to be on the same tag as "name".
484     (!!! To be reverted in Docutils 0.5.)
485   - Added vertical space between fields of field lists.
486   - Added ``--compact-field-lists`` option to remove vertical space in
487     simple field lists.
488   - Made cloaking of email addresses with ``--cloak-email-addresses``
489     less obtrusive.
490   - Fixed support for centered images.
491   - Added support for class="compact" & class="open" lists.
493 * docutils/writers/latex2e/:
495   - Underscores in citekeys are no longer escaped.
497 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
498   mapping of Unicode characters to LaTeX equivalents.
500 * docutils/writers/s5_html/: Package added to project; writer for
501   S5/HTML slide shows.
503 * docs/dev/distributing.txt: Added to project; guide for distributors
504   (package maintainers).
506 * docs/dev/hacking.txt: Added to project; guide for developers.
508 * docs/ref/doctree.txt:
510   - Updated for plural attributes "classes", "ids", "names",
511     "dupnames".
512   - Added the "container" element.
514 * docs/ref/docutils.dtd:
516   - Updated for plural attributes "classes", "ids", "names",
517     "dupnames".
519 * docs/user/emacs.txt: Added to project; a document about Emacs
520   support for reStructuredText and Docutils.
522 * docs/user/links.txt: Added to project; lists of Docutils-related
523   links.
525 * docs/user/mailing-lists.txt: Added to project; information about
526   Docutils-related mailing lists and how to access them.
528 * docs/user/slide-shows.txt: Added to project; example of and docs for
529   the S5/HTML writer (``rst2s5.py`` front end).
531 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
532   Files", added to project.
534 * test/coverage.sh: Added to project; test coverage script.
536 * test/DocutilsTestSupport.py:
538   - Added support for specifying runtime settings at the suite level.
540 * test/test_functional.py:
542   - Added the ``clear_output_directory`` function.
543   - Added support for ``_test_more`` functions in functional test
544     config files.
546 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
548 * tools/rstpep2html.py: Renamed from pep.py.
550 * tools/dev/create_unimap.py: Added to project; script to create the
551   docutils/writers/unimap_latex.py mapping file.
553 * tools/dev/profile_docutils.py: Added to project; profiler script.
555 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
557 * tools/editors/emacs/restructuredtext.el,
558   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
559   Removed from project; the functionality is now contained in rst.el.
561 * tools/editors/emacs/rst.el: Added to project.  Added many features
562   and fixed many bugs.  See docs/user/emacs.txt for details.
564 * tools/stylesheets: Removed from project.  Stylesheets have been
565   renamed and moved into writer packages.
568 Release 0.3.9 (2005-05-26)
569 ==========================
571 * General:
573   - Eliminated and replaced all uses of the old string attributes
574     ``id``, ``name``, ``dupname`` and ``class`` with references to the
575     new list attributes ``ids``, ``names``, ``dupnames`` and
576     ``classes`` throughout the whole source tree.
578 * docutils/core.py:
580   - Enabled ``--dump-*`` options when ``--traceback`` specified,
581     allowing for easier debugging.
582   - In ``Publisher.publish()``, expanded the generic top-level
583     exception catching.
585 * docutils/examples.py:
587   - Added ``internals`` function for exploration.
589 * docutils/io.py:
591   - Fixed ``Input.decode`` method to apply heuristics only if no
592     encoding is explicitly given, and to provide better reporting of
593     decoding errors.
594   - The ``Input.decode`` method now removes byte order marks (BOMs)
595     from input streams.
597 * docutils/nodes.py:
599   - ``image`` element class changed to subclass of Element, not
600     TextElement (it's an empty element, and cannot contain text).
601   - Added ``attr_defaults`` dictionary for default attribute values.
602   - Added empty list as default value for the following attributes:
603     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
604   - Added ``document.decoration`` attribute,
605     ``document.get_decoration`` method, and ``decoration.get_header``
606     & ``.get_footer`` methods.
607   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
608     methods.
610 * docutils/utils.py:
612   - Removed ``docutils.utils.Reporter.categories``,
613     ``docutils.utils.ConditionSet``, and all references to them, to
614     simplify error reporting.
616 * docutils/languages/nl.py: Added to project; Dutch mappings by
617   Martijn Pieters.
619 * docutils/parsers/rst/__init__.py:
621   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
623 * docutils/parsers/rst/states.py:
625   - Added check for escaped at-mark to prevent email address recognition.
626   - Fixed option lists to allow spaces inside ``<angle-bracketed option
627     arguments>``.
628   - Allowed whitespace in paths and URLs.
629   - Added auto-enumerated list items.
630   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
631     followed by text.
632   - Added support for table stub columns.
634 * docutils/parsers/rst/directives/__init__.py:
636   - Allowed whitespace in paths (``path`` function).
637   - Added ``uri`` directive option conversion function.
639 * docutils/parsers/rst/directives/body.py:
641   - Fixed illegal context bug with "topic" directive (allowed within
642     sidebars; not within body elements).
644 * docutils/parsers/rst/directives/images.py:
646   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
647   - Added support for the ``file_insertion_enabled`` setting in the
648     "figure" directive (disables "figwidth" option).
649   - "image" directive: added checks for valid values of "align" option,
650     depending on context.  "figure" directive: added specialized
651     "align" option and attribute on "figure" element.
652   - Made ":figwidth: image" option of "figure" directive work again.
653   - Fixed bug with reference names containing uppercase letters
654     (e.g. ``Name_``) in "target" option of "image" directive.
656 * docutils/parsers/rst/directives/misc.py:
658   - Fixed "include" and "raw" directives to catch text decoding
659     errors.
660   - Allowed whitespace in "include" & "raw" directive paths.
661   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
662     settings in "include" & "raw" directives.
664 * docutils/parsers/rst/directives/parts.py:
666   - Added "header" & "footer" directives.
667   - Fixed illegal context bug with "contents" directive (topics
668     allowed within sidebars; not within body elements).
670 * docutils/parsers/rst/directives/tables.py:
672   - Added "list-table" directive.
673   - Caught empty CSV table bug.
674   - Added support for the ``file_insertion_enabled`` setting in the
675     "csv-table" directive.
676   - Added ``stub-columns`` option to "csv-table" and "list-table"
677     directives.
679 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
680   mappings by Martijn Pieters.
682 * docutils/readers/standalone.py:
684   - Added ``--section-subtitles`` and ``--no-section-subtitles``
685     options to activate or deactivate the SectSubTitle transform.
687 * docutils/transforms/frontmatter.py:
689   - Added SectSubTitle transform to promote titles of lone
690     subsections to subtitles.
692 * docutils/transforms/references.py:
694   - Fixed mislocated internal targets bug, by propagating internal
695     targets to the next node, making use of the newly added support
696     for multiple names and IDs.
697   - Fixed duplicate footnote label bug.
698   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
699     transform.
701 * docutils/writers/html4css1.py:
703   - Fixed unencoded stylesheet reference bug (characters like "&" in
704     stylesheet references).
705   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
706     tags).
707   - Added support for multiple IDs per node by creating empty ``span``
708     tags.
709   - Added the ``field_name_limit`` & ``option_limit`` settings &
710     support.
711   - Added support for table stub columns.
712   - Added support for the ``align`` attribute on ``figure`` elements.
713   - Added the ``cloak_email_addresses`` setting & support.
714   - Added ``html_prolog``, ``html_head``, ``html_body``,
715     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
716     ``docutils.core.publish_parts``.
717   - Added support for section subtitles.
719 * docutils/writers/latex2e.py:
721   - Fixed tables starting with more than one multirow cell.
722   - Improved --use-latex-docinfo so that organization/contact/address
723     fields are lumped with the last author field and appear on the
724     titlepage.
725   - Made sure the titlepage is always shown with --use-latex-docinfo,
726     even if the document has no title.
727   - Made sure that latex doesn't fill in today's date if no date field
728     was given.
729   - Added support for section subtitles.
731 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
732   (under development).
734 * docutils/writers/null.py: Added to project; a do-nothing Writer.
736 * docs/api/publisher.txt:
738   - Added "``publish_parts`` Details" section.
740 * docutils/dev/repository.txt: Added to project; information about the
741   Docutils Subversion repository.
743 * docs/ref/docutils.dtd:
745   - Added a ``stub`` attribute to the ``colspec`` element via the
746     ``tbl.colspec.att`` parameter entity.
747   - Allowed topic elements within sidebars
748   - Added an ``align`` attribute to the ``figure`` element.
750 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
751   writer.
754 Release 0.3.7 (2004-12-24)
755 ==========================
757 * docutils/frontend.py:
759   - Added options: --input-encoding-error-handler,
760     --record-dependencies, --leave-footnote-reference-space,
761     --strict-visitor.
762   - Added command-line and config file support for "overrides" setting
763     parameter.
765 * docutils/io.py:
767   - Added support for input encoding error handler.
769 * docutils/nodes.py:
771   - Added dispatch_visit and dispatch_departure methods to
772     NodeVisitor; useful as a hook for Visitors.
773   - Changed structure of ``line_block``; added ``line``.
774   - Added ``compound`` node class.
775   - Added a mechanism for Visitors to transitionally ignore new node
776     classes.
778 * docutils/utils.py:
780   - Moved ``escape2null`` and ``unescape`` functions from
781     docutils/parsers/rst/states.py.
783 * docutils/parsers/rst/roles.py:
785   - Added "raw" role.
786   - Changed role function API: the "text" parameter now takes
787     null-escaped interpreted text content.
789 * docutils/parsers/rst/states.py:
791   - Fixed bug where a "role" directive in a nested parse would crash
792     the parser; the state machine's "language" attribute was not being
793     copied over.
794   - Added support for line block syntax.
795   - Fixed directive parsing bug: argument-less directives didn't
796     notice that arguments were present.
797   - Removed error checking for transitions.
798   - Added support for multiple classifiers in definition list items.
799   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
800   - Changed role function API: the "text" parameter now takes
801     null-escaped interpreted text content.
802   - Empty sections and documents are allowed now.
804 * docutils/parsers/rst/directives/__init__.py:
806   - Added ``encoding`` directive option conversion function.
807   - Allow multiple class names in class_option conversion function.
809 * docutils/parsers/rst/directives/body.py:
811   - Converted the line-block directive to use the new structure.
812   - Extracted the old line-block functionality to the ``block``
813     function (still used).
814   - Added ``compound`` directive (thanks to Lea Wiemann).
816 * docutils/parsers/rst/directives/misc.py:
818   - Added "encoding" option to "include" and "raw" directives.
819   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
820   - Allow multiple class names in the "class" directive.
822 * docutils/parsers/rst/directives/parts.py:
824   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
825     options.  Thanks to Lele Gaifax.
827 * docutils/parsers/rst/directives/tables.py:
829   - Added "encoding" directive to "csv-table" directive.
830   - Added workaround for lack of Unicode support in csv.py, for
831     non-ASCII CSV input.
833 * docutils/transforms/misc.py:
835   - Fixed bug when multiple "class" directives are applied to a single
836     element.
837   - Enabled multiple format names for "raw" directive.
839 * docutils/transforms/references.py:
841   - Added support for trimming whitespace from beside substitution
842     references.
844 * docutils/transforms/universal.py:
846   - FinalChecks now checks for illegal transitions and moves
847     transitions between sections.
849 * docutils/writers/html4css1.py:
851   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
852   - "stylesheet" and "stylesheet_path" settings are now mutually
853     exclusive.
854   - Added support for the new line_block/line structure.
855   - --footnote-references now overrides
856     --trim-footnote-reference-space, if applicable.
857   - Added support for ``compound`` elements.
858   - Enabled multiple format names for "raw" directive.
859   - ``<p>`` tags of a paragraph which is the only visible child of the
860     document node are no longer stripped.
861   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
862     new method ``should_be_compact_paragraph()``.
863   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
864     elements.
865   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
866     the output if they have their ``class`` attribute set.
867   - The whole document is now surrounded by a ``<div
868     class="document">`` element.
869   - Body-level images are now wrapped by their own ``<div>`` elements,
870     with image classes copied to the wrapper, and for images which
871     have the ``:align:`` option set, the surrounding ``<div>`` now
872     receives a class attribute (like ``class="align-left"``).
874 * docutils/writers/latex2e.py:
876   - no newline after depart_term.
877   - Added translations for some Unicode quotes.
878   - Added option "font-encoding", made package AE the default.
879   - "stylesheet" and "stylesheet_path" settings are now mutually
880     exclusive.
881   - --footnote-references now overrides
882     --trim-footnote-reference-space, if applicable.
883   - The footnote label style now matches the footnote reference style
884     ("brackets" or "superscript").
885   - Added support for ``compound`` elements.
886   - Enabled multiple format names for "raw" directive.
888 * docs/ref/docutils.dtd:
890   - Changed structure of the ``line_block`` element; added ``line``.
891   - Added ``compound`` element.
892   - Added "ltrim" and "rtrim" attributes to
893     ``substitution_definition`` element.
894   - Enabled multiple format names for ``raw`` element.
895   - Enabled multiple classifiers in ``definition_list_item`` elements.
897 * docs/ref/rst/directives.txt
899   - Marked "line-block" as deprecated.
900   - "Class" directive now allows multiple class names.
901   - Added "Rationale for Class Attribute Value Conversion".
902   - Added warning about "raw" overuse/abuse.
904 * docs/ref/rst/restructuredtext.txt:
906   - Added syntax for line blocks.
907   - Definition list items may have multiple classifiers.
909 * docs/ref/rst/roles.txt:
911   - Added "raw" role.
913 * tools/stylesheets/default.css:
915   - Added support for the new line_block structure.
916   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
919 Release 0.3.5 (2004-07-29)
920 ==========================
922 General:
924 * _`Documentation cleanup/reorganization`.
926   - Created new subdirectories of docs/:
928     * ``docs/user/``: introductory/tutorial material for end-users
929     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
930     * ``docs/api/``: API reference material for client-developers
931     * ``docs/ref/``: reference material for all groups
932     * ``docs/howto/``: for component-developers and core-developers
933     * ``docs/peps/``: Python Enhancement Proposals
935   - Moved ``docs/*`` to ``docs/user/``.
936   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
937     ``spec/`` to ``docs/dev``.
938   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
939     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
940   - Moved ``alternatives.txt``, and ``problems.txt`` from
941     ``spec/rst/`` to ``docs/dev/rst/``.
942   - Moved ``reStructuredText.txt``, ``directives.txt``,
943     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
944     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
945     ``roles.txt``, ``reStructuredText.txt`` to
946     ``restructuredtext.txt``.
947   - Moved ``spec/howto/`` to ``docs/howto``.
949   In order to keep the CVS history of moved files, we supplied
950   SourceForge with a `script for modifying the Docutils CVS
951   repository`__.
953   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
955   After running the cleanup script:
957   - Added ``docs/index.txt``.
958   - Added a ``.htaccess`` file to the ``web`` module, containing
959     redirects for all old paths to new paths.  They'll preserve
960     fragments (the "#name" part of a URL), and won't clutter up the
961     file system, and will correct the URL in the user's browser.
962   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
963     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
964     the "To Do" list itself in ``docs/dev/todo.txt``.
965   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
966     section of ``docs/dev/todo.txt``.
967   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
968   - Added "How To Report Bugs" to ``BUGS.txt``.
969   - Went through all the sources and docs (including under web/) and
970     updated links.  Mostly done by Lea Wiemann; thanks Lea!
971     (Still need to update links in the sandboxes.)
973 Specific:
975 * BUGS.txt: Added to project.
977 * THANKS.txt: Added to project.
979 * docutils/__init__.py:
981   - 0.3.4: Post-release.
983 * docutils/core.py:
985   - Added special error handling & advice for UnicodeEncodeError.
986   - Refactored Publisher.publish (simplified exception handling &
987     extracted debug dumps).
988   - Renamed "enable_exit" parameter of convenience functions to
989     "enable_exit_status".
990   - Enabled traceback (exception propagation) by default in
991     programmatic convenience functions.
992   - Now publish_file and publish_cmdline convenience functions return
993     the encoded string results in addition to their regular I/O.
994   - Extracted common code from publish_file, publish_string, and
995     publish_parts, into new publish_programmatically.  Extracted
996     settings code to ``Publisher.process_programmatic_settings``.
997   - In Publisher.publish, disabled ``settings_overrides`` when
998     ``settings`` is supplied; redundant.
1000 * docutils/frontend.py:
1002   - Added help text for "--output-encoding-error-handler" and
1003     "--error-encoding-error-handler".
1004   - Renamed "--exit" to "--exit-status".
1005   - Simplified default-setting code.
1007 * docutils/parsers/rst/__init__.py:
1009   - Added "--pep-base-url" and "--rfc-base-url" options.
1011 * docutils/parsers/rst/states.py:
1013   - Made URI recognition more aggressive and intelligent.
1015 * docutils/parsers/rst/directives/__init__.py:
1017   - Added several directive option conversion functions.
1019 * docutils/parsers/rst/directives/body.py:
1021   - Moved "table" directive to tables.py.
1023 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1024   added to project.
1026 * docutils/writers/latex2e.py:
1028   - Added "--table-style=(standard|booktabs|nolines)"
1029   - figures get "here" option (LaTeX per default puts them at bottom),
1030     and figure content is centered.
1031   - Rowspan support for tables.
1032   - Fix: admonition titles before first section.
1033   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1034   - Replave ``_`` in literal by an underlined blank, because it has the correct
1035     width.
1036   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1037   - A few unicode replacements, if output_encoding != utf
1038   - Add "--graphicx-option".
1039   - Indent literal-blocks.
1040   - Fix: omit ``\maketitle`` when there is no document title.
1042 * docs/index.txt: "Docutils Project Documentation Overview", added to
1043   project.
1045 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1046   Tool", added to project.
1048 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1050 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1052 * docs/dev/policies.txt: Added to project (extracted from
1053   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1055 * docs/dev/release.txt: Added to project (extracted from
1056   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1058 * docs/dev/testing.txt: Added to project.
1060 * docs/dev/website.txt: Added to project (extracted from
1061   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1063 * docs/ref/rst/directives.txt:
1065   - Added directives: "table", "csv-table".
1067 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1068   added to project.  1 page for syntax, and a 1 page reference for
1069   directives and roles.  Source text to be used as-is; not meant to be
1070   converted to HTML.
1072 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1073   with a change of title.
1075 * test/functional/, contents, and test/test_functional.py: Added to
1076   project.
1078 * tools/buildhtml.py: Fixed bug with config file handling.
1080 * tools/html.py: Removed from project (duplicate of rst2html.py).
1082 * tools/pep2html.py: Removed from project (duplicate of Python's
1083   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1084   Docutils-related PEPs in docs/peps/).
1086 * tools/rst2pseudoxml.py: Renamed from publish.py.
1088 * tools/rst2xml.py: Renamed from docutils-xml.py.
1090 * tools/test.txt: Removed from project; moved to
1091   docs/user/rst/demo.txt.
1093 * setup.py: Now also installs ``rst2latex.py``.
1096 Release 0.3.3 (2004-05-09)
1097 ==========================
1099 * docutils/__init__.py:
1101   - 0.3.1: Reorganized config file format (multiple sections); see
1102     docs/config.txt.
1103   - Added unknown_reference_resolvers attribute to TransformSpec.
1104   - 0.3.2: Interpreted text reorganization.
1105   - 0.3.3: Released.
1107 * docutils/core.py:
1109   - Catch system messages to stop tracebacks from parsing errors.
1110   - Catch exceptions during processing report & exit without
1111     tracebacks, except when "--traceback" used.
1112   - Reordered components for OptionParser; application comes last.
1113   - Added "config_section" parameter to several methods and functions,
1114     allowing front ends to easily specify their config file sections.
1115   - Added publish_parts convenience function to allow access to individual
1116     parts of a document.
1118 * docutils/examples.py: Added to project; practical examples of
1119   Docutils client code, to be used as-is or as models for variations.
1121 * docutils/frontend.py:
1123   - Added "--traceback" & "--no-traceback" options ("traceback"
1124     setting).
1125   - Implemented support for config file reorganization:
1126     ``standard_config_files`` moved from ``ConfigParser`` to
1127     ``OptionParser``; added
1128     ``OptionParser.get_config_file_settings()`` and
1129     ``.get_standard_config_settings()``; support for old "[options]"
1130     section (with deprecation warning) and mapping from old to new
1131     settings.
1132   - Reimplemented setting validation.
1133   - Enabled flexible boolean values: yes/no, true/false, on/off.
1134   - Added ``Values``, a subclass of ``optparse.Values``, with support
1135     for list setting attributes.
1136   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1137     thanks to Beni Cherniavsky.
1138   - Added "--no-section-numbering" option.
1140 * docutils/io.py:
1142   - Catch IOErrors when opening source & destination files, report &
1143     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1144     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1146 * docutils/nodes.py:
1148   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1149     method definitions (via ``exec``) to dynamic assignments (via
1150     ``setattr``); thanks to Roman Suzi.
1151   - Encapsulated visitor dynamic assignments in a function; thanks to
1152     Ian Bicking.
1153   - Added indirect_reference_name attribute to the Targetable
1154     class. This attribute holds the whitespace_normalized_name
1155     (contains mixed case) of a target.
1157 * docutils/statemachine.py:
1159   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1160   - Added ``StringList.get_2D_block``.
1162 * docutils/utils.py:
1164   - Added "level" attribute to SystemMessage exceptions.
1166 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1167   Jannie Hofmeyr.
1169 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1170   Blaha.
1172 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1173   Marcelo Huerta San Martin.
1175 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1176   mappings by Lalo Martins.
1178 * docutils/languages/ru.py: Added to project; Russian mappings by
1179   Roman Suzi.
1181 * docutils/parsers/rst/roles.py: Added to project.  Contains
1182   interpreted text role functions, a registry for interpreted text
1183   roles, and an API for adding to and retrieving from the registry.
1184   Contributed by Edward Loper.
1186 * docutils/parsers/rst/states.py:
1188   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1189   - Allowed true em-dash character and "---" as block quote
1190     attribution marker.
1191   - Added support for <angle-bracketed> complex option arguments
1192     (option lists).
1193   - Fixed handling of backslashes in substitution definitions.
1194   - Fixed off-by-1 error with extra whitespace after substitution
1195     definition directive.
1196   - Added inline markup parsing to field lists' field names.
1197   - Added support for quoted (and unindented) literal blocks.
1198     Driven in part by a bribe from Frank Siebenlist (thanks!).
1199   - Parser now handles escapes in URIs correctly.
1200   - Made embedded-URIs' reference text omittable.  Idea from Beni
1201     Cherniavsky.
1202   - Refactored explicit target processing code.
1203   - Added name attribute to references containing the reference name only
1204     through whitespace_normalize_name (no case changes).
1205   - parse_target no longer returns the refname after going through
1206     normalize_name. This is now handled in make_target.
1207   - Fixed bug relating to role-less interpreted text in non-English
1208     contexts.
1209   - Reorganized interpreted text processing; moved code into the new
1210     roles.py module.  Contributed by Edward Loper.
1211   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1212     ``parse_directive_block``.
1214 * docutils/parsers/rst/tableparser.py:
1216   - Reworked for ``StringList``, to support "include" directives in
1217     table cells.
1219 * docutils/parsers/rst/directives/__init__.py:
1221   - Renamed ``unchanged()`` directive option conversion function to
1222     ``unchanged_required``, and added a new ``unchanged``.
1223   - Catch unicode value too high error; fixes bug 781766.
1224   - Beefed up directive error reporting.
1226 * docutils/parsers/rst/directives/body.py:
1228   - Added basic "table" directive.
1230 * docutils/parsers/rst/directives/images.py:
1232   - Added "target" option to "image" directive.
1233   - Added name attribute to references containing the reference name only
1234     through whitespace_normalize_name (no case changes).
1236 * docutils/parsers/rst/directives/misc.py:
1238   - Isolated the import of the ``urllib2`` module; was causing
1239     problems on SourceForge (``libssl.so.2`` unavailable?).
1240   - Added the "role" directive for declaring custom interpreted text
1241     roles.
1243 * docutils/parsers/rst/directives/parts.py:
1245   - The "contents" directive does more work up-front, creating the
1246     "topic" and "title", and leaving the "pending" node for the
1247     transform.  Allows earlier reference resolution; fixes subtle bug.
1249 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1250   mappings by Jannie Hofmeyr.
1252 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1253   mappings by Marek Blaha.
1255 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1256   mappings by Marcelo Huerta San Martin.
1258 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1259   Portuguese mappings by Lalo Martins.
1261 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1262   mappings by Roman Suzi.
1264 * docutils/transforms/parts.py:
1266   - The "contents" directive does more work up-front, creating the
1267     "topic" and "title", and leaving the "pending" node for the
1268     transform.  Allows earlier reference resolution; fixes subtle bug.
1269   - Added support for disabling of section numbering.
1271 * docutils/transforms/references.py:
1273   - Verifying that external targets are truly targets and not indirect
1274     references. This is because we are now adding a "name" attribute to
1275     references in addition to targets. Note sure if this is correct!
1276   - Added code to hook into the unknown_reference_resolvers list for a
1277     transformer in resolve_indirect_target. This allows the
1278     unknown_reference_resolvers to keep around indirect targets which
1279     docutils doesn't know about.
1280   - Added specific error message for duplicate targets.
1282 * docutils/transforms/universal.py:
1284   - Added FilterMessages transform (removes system messages below the
1285     verbosity threshold).
1286   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1287     to FinalCheckVisitor for application-specific handling of
1288     unresolvable references.
1289   - Added specific error message for duplicate targets.
1291 * docutils/writers/__init__.py:
1293   - Added assemble_parts method to the Writer class to allow for
1294     access to a documents individual parts.
1295   - Documented & set default for ``Writer.output`` attribute.
1297 * docutils/writers/html4css1.py:
1299   - Fixed unicode handling of attribute values (bug 760673).
1300   - Prevent duplication of "class" attribute values (bug report from
1301     Kirill Lapshin).
1302   - Improved table grid/border handling (prompted by report from Bob
1303     Marshall).
1304   - Added support for table titles.
1305   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1306     to Darek Suchojad.
1307   - Added functionality to keep track of individual parts of a document
1308     and store them in a dictionary as the "parts" attribute of the writer.
1309     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1310   - Added proper support for the "scale" attribute of the "image"
1311     element.  Contributed by Brent Cook.
1312   - Added ``--initial-header-level`` option.
1313   - Fixed bug: the body_pre_docinfo segment depended on there being a
1314     docinfo; if no docinfo, the document title was incorporated into
1315     the body segment.  Adversely affected the publish_parts interface.
1317 * docutils/writers/latex2e.py:
1319   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1320     about a missing file.
1321   - Added options and support: ``--compound-enumerators``,
1322     ``--section-prefix-for-enumerators``, and
1323     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1324     934322).
1325   - Added option ``--use-verbatim-when-possible``, to avoid
1326     problematic characters (eg, '~' in italian) in literal blocks.
1327   - It's now possible to use four section levels in the `book` and
1328     `report` LaTeX classes.  The default `article` class still has
1329     three levels limit.
1331 * docs/config.txt: "Docutils Configuration Files", added to project.
1332   Moved config file entry descriptions from tools.txt.
1334 * docs/tools.txt:
1336   - Moved config file entry descriptions to config.txt.
1338 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
1339   Development".
1341 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1342   Text Roles", added to project.
1344 * spec/rst/reStructuredText.txt:
1346   - Added description of support for <angle-bracketed> complex option
1347     arguments to option lists.
1348   - Added subsections for indented and quoted literal blocks.
1350 * test: Continually adding & updating tests.
1352   - Added test/test_settings.py & test/data/config_*.txt support
1353     files.
1354   - Added test/test_writers/test_htmlfragment.py.
1356 * test/DocutilsTestSupport.py:
1358   - Refactored LaTeX publisher test suite/case class names to make
1359     testing other writers easier.
1360   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1361     to test the processing of HTML fragments which use the new
1362     publish_parts convenience function.
1364 * tools/buildhtml.py:
1366   - Added support for the "--prune" option.
1367   - Removed dependency on pep2html.py; plaintext PEPs no longer
1368     supported.
1370 * tools/docutils.conf:
1372   - Updated for configuration file reorganization.
1374 * tools/rst2html.py:
1376   - copied from tools/html.py
1378 * setup.py:
1380   - added a 'scripts' section to configuration
1381   - added 'tools/rst2html.py' to the scripts section
1384 Release 0.3 (2003-06-24)
1385 ========================
1387 General:
1389 * Renamed "attribute" to "option" for directives/extensions.
1391 * Renamed transform method "transform" to "apply".
1393 * Renamed "options" to "settings" for runtime settings (as set by
1394   command-line options).  Sometimes "option" (singular) became
1395   "settings" (plural).  Some variations below:
1397   - document.options -> document.settings (stored in other objects as
1398     well)
1399   - option_spec -> settings_spec (not directives though)
1400   - OptionSpec -> SettingsSpec
1401   - cmdline_options -> settings_spec
1402   - relative_path_options -> relative_path_settings
1403   - option_default_overrides -> settings_default_overrides
1404   - Publisher.set_options -> Publisher.get_settings
1406 Specific:
1408 * COPYING.txt: Added "Public Domain Dedication".
1410 * FAQ.txt: Frequently asked questions, added to project.
1412 * setup.py:
1414   - Updated with PyPI Trove classifiers.
1415   - Conditional installation of third-party modules.
1417 * docutils/__init__.py:
1419   - Bumped version to 0.2.1 to reflect changes to I/O classes.
1420   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1421   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1422   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1423     option and its effect on the PEP template & writer.
1424   - Bumped version to 0.2.4 due to changes to the PEP template &
1425     stylesheet.
1426   - Bumped version to 0.2.5 to reflect changes to Reporter output.
1427   - Added ``TransformSpec`` class for new transform system.
1428   - Bumped version to 0.2.6 for API changes (renaming).
1429   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1430     convenience functions.
1431   - Added ``Component.component_type`` attribute.
1432   - Bumped version to 0.2.8 because of the internal parser switch from
1433     plain lists to the docutils.statemachine.StringList objects.
1434   - Bumped version to 0.2.9 because of the frontend.py API changes.
1435   - Bumped version to 0.2.10 due to changes to the project layout
1436     (third-party modules removed from the "docutils" package), and
1437     signature changes in ``io.Input``/``io.Output``.
1438   - Changed version to 0.3.0 for release.
1440 * docutils/core.py:
1442   - Made ``publish()`` a bit more convenient.
1443   - Generalized ``Publisher.set_io``.
1444   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1445     parameters; improved its docstring.
1446   - Added ``publish_file()`` and ``publish_string()``.
1447   - Factored ``Publisher.set_source()`` and ``.set_destination()``
1448     out of ``.set_io``.
1449   - Added support for "--dump-pseudo-xml", "--dump-settings", and
1450     "--dump-transforms" hidden options.
1451   - Added ``Publisher.apply_transforms()`` method.
1452   - Added ``Publisher.set_components()`` method; support for
1453     ``publish_*()`` conveninece functions.
1454   - Moved config file processing to docutils/frontend.py.
1455   - Added support for exit status ("exit_level" setting &
1456     ``enable_exit`` parameter for Publisher.publish() and convenience
1457     functions).
1459 * docutils/frontend.py:
1461   - Check for & exit on identical source & destination paths.
1462   - Fixed bug with absolute paths & "--config".
1463   - Set non-command-line defaults in ``OptionParser.__init__()``:
1464     ``_source`` & ``_destination``.
1465   - Distributed ``relative_path_settings`` to components; updated
1466     ``OptionParser.populate_from_components()`` to combine it all.
1467   - Require list of keys in ``make_paths_absolute`` (was implicit in
1468     global ``relative_path_settings``).
1469   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1470     "--dump-settings", and "--dump-transforms" hidden options.
1471   - Removed nasty internals-fiddling ``ConfigParser.get_section``
1472     code, replaced with correct code.
1473   - Added validation functionality for config files.
1474   - Added "--error-encoding" option/setting, "_disable_config"
1475     internal setting.
1476   - Added encoding validation; updated "--input-encoding" and
1477     "--output-encoding"; added "--error-encoding-error-handler" and
1478     "--output-encoding-error-handler".
1479   - Moved config file processing from docutils/core.py.
1480   - Updated ``OptionParser.populate_from_components`` to handle new
1481     ``SettingsSpec.settings_defaults`` dict.
1482   - Added support for "-" => stdin/stdout.
1483   - Added "exit_level" setting ("--exit" option).
1485 * docutils/io.py:
1487   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1488   - Added automatic closing to ``FileInput`` and ``FileOutput``.
1489   - Delayed opening of ``FileOutput`` file until ``write()`` called.
1490   - ``FileOutput.write()`` now returns the encoded output string.
1491   - Try to get path/stream name automatically in ``FileInput`` &
1492     ``FileOutput``.
1493   - Added defaults for source & destination paths.
1494   - Allow for Unicode I/O with an explicit "unicode" encoding.
1495   - Added ``Output.encode()``.
1496   - Removed dependency on runtime settings; pass encoding directly.
1497   - Recognize Unicode strings in ``Input.decode()``.
1498   - Added support for output encoding error handlers.
1500 * docutils/nodes.py:
1502   - Added "Invisible" element category class.
1503   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1504     modification during a traversal.
1505   - Added element classes: ``line_block``, ``generated``, ``address``,
1506     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1507     ``superscript``, ``subscript``, ``inline``
1508   - Added support for lists of nodes to ``Element.insert()``.
1509   - Fixed parent linking in ``Element.replace()``.
1510   - Added new abstract superclass ``FixedTextElement``; adds
1511     "xml:space" attribute.
1512   - Added support for "line" attribute of ``system_message`` nodes.
1513   - Added support for the observer pattern from ``utils.Reporter``.
1514     Added ``parse_messages`` and ``transform_messages`` attributes to
1515     ``document``, removed ``messages``.  Added ``note_parse_message``
1516     and ``note_transform_message`` methods.
1517   - Added support for improved diagnostics:
1519     - Added "document", "source", and "line" internal attributes to
1520       ``Node``, set by ``Node.setup_child()``.
1521     - Converted variations on ``node.parent = self`` to
1522       ``self.setup_child(node)``.
1523     - Added ``document.current_source`` & ``.current_line``
1524       attributes, and ``.note_source`` observer method.
1525     - Changed "system_message" output to GNU-Tools format.
1527   - Added a "rawsource" attribute to the ``Text`` class, for text
1528     before backslash-escape resolution.
1529   - Support for new transform system.
1530   - Reworked ``pending`` element.
1531   - Fixed XML DOM bug (SF #660611).
1532   - Removed the ``interpeted`` element class and added
1533     ``title_reference``, ``abbreviation``, ``acronym``.
1534   - Made substitutions case-sensitive-but-forgiving; moved some code
1535     from the parser.
1536   - Fixed Unicode bug on element attributes (report: William Dode).
1538 * docutils/optik.py: Removed from project; replaced with
1539   extras/optparse.py and extras/textwrap.py.  These will be installed
1540   only if they're not already present in the Python installation.
1542 * docutils/roman.py: Moved to extras/roman.py; this will be installed
1543   only if it's not already present in the Python installation.
1545 * docutils/statemachine.py:
1547   - Factored out ``State.add_initial_transitions()`` so it can be
1548     extended.
1549   - Converted whitespace-specific "blank" and "indent" transitions
1550     from special-case code to ordinary transitions: removed
1551     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
1552     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
1553     ``ws_initial_transitions`` attributes.
1554   - Removed ``State.match_transition()`` after merging it into
1555     ``.check_line()``.
1556   - Added ``StateCorrection`` exception.
1557   - Added support for ``StateCorrection`` in ``StateMachine.run()``
1558     (moved ``TransitionCorrection`` support there too.)
1559   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
1560     ``EOFError`` instead of ``IndexError``.
1561   - Added ``State.no_match`` method.
1562   - Added support for the Observer pattern, triggered by input line
1563     changes.
1564   - Added ``strip_top`` parameter to
1565     ``StateMachineWS.get_first_known_indented``.
1566   - Made ``context`` a parameter to ``StateMachine.run()``.
1567   - Added ``ViewList`` & ``StringList`` classes;
1568     ``extract_indented()`` becomes ``StringList.get_indented()``.
1569   - Added ``StateMachine.insert_input()``.
1570   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
1571     thanks to) Fred Drake.
1573 * docutils/utils.py:
1575   - Added a ``source`` attribute to Reporter instances and
1576     ``system_message`` elements.
1577   - Added an observer pattern to ``utils.Reporter`` to keep track of
1578     system messages.
1579   - Fixed bugs in ``relative_path()``.
1580   - Added support for improved diagnostics.
1581   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
1582   - Added support for encoding Reporter stderr output, and encoding
1583     error handlers.
1584   - Reporter keeps track of the highest level system message yet
1585     generated.
1587 * docutils/languages: Fixed bibliographic field language lookups.
1589 * docutils/languages/es.py: Added to project; Spanish mappings by
1590   Marcelo Huerta San Martin.
1592 * docutils/languages/fr.py: Added to project; French mappings by
1593   Stefane Fermigier.
1595 * docutils/languages/it.py: Added to project; Italian mappings by
1596   Nicola Larosa.
1598 * docutils/languages/sk.py: Added to project; Slovak mappings by
1599   Miroslav Vasko.
1601 * docutils/parser/__init__.py:
1603   - Added ``Parser.finish_parse()`` method.
1605 * docutils/parser/rst/__init__.py:
1607   - Added options: "--pep-references", "--rfc-references",
1608     "--tab-width", "--trim-footnote-reference-space".
1610 * docutils/parsers/rst/states.py:
1612   - Changed "title under/overline too short" system messages from INFO
1613     to WARNING, and fixed its insertion location.
1614   - Fixed enumerated list item parsing to allow paragraphs & section
1615     titles to begin with enumerators.
1616   - Converted system messages to use the new "line" attribute.
1617   - Fixed a substitution reference edge case.
1618   - Added support for "--pep-references" and "--rfc-references"
1619     options; reworked ``Inliner`` code to make customization easier.
1620   - Removed field argument parsing.
1621   - Added support for short section title over/underlines.
1622   - Fixed "simple reference name" regexp to ignore text like
1623     "object.__method__"; not an anonymous reference.
1624   - Added support for improved diagnostics.
1625   - Reworked directive API, based on Dethe Elza's contribution.  Added
1626     ``Body.parse_directive()``, ``.parse_directive_options()``,
1627     ``.parse_directive_arguments()`` methods.
1628   - Added ``ExtensionOptions`` class, to parse directive options
1629     without parsing field bodies.  Factored
1630     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
1631     ``ExtensionOptions``.
1632   - Improved definition list term/classifier parsing.
1633   - Added warnings for unknown directives.
1634   - Renamed ``Stuff`` to ``Struct``.
1635   - Now flagged as errors: transitions at the beginning or end of
1636     sections, empty sections (except title), and empty documents.
1637   - Updated for ``statemachine.StringList``.
1638   - Enabled recognition of schemeless email addresses in targets.
1639   - Added support for embedded URIs in hyperlink references.
1640   - Added backslash-escapes to inline markup end-string suffix.
1641   - Added support for correct interpreted text processing.
1642   - Fixed nested title parsing (topic, sidebar directives).
1643   - Added special processing of backslash-escaped whitespace (idea
1644     from David Abrahams).
1645   - Made substitutions case-sensitive-but-forgiving; moved some code
1646     to ``docutils.nodes``.
1647   - Added support for block quote attributions.
1648   - Added a kludge to work-around a conflict between the bubble-up
1649     parser strategy and short titles (<= 3 char-long over- &
1650     underlines).  Fixes SF bug #738803 "infinite loop with multiple
1651     titles" submitted by Jason Diamond.
1652   - Added explicit interpreted text roles for standard inline markup:
1653     "emphasis", "strong", "literal".
1654   - Implemented "superscript" and "subscript" interpreted text roles.
1655   - Added initial support for "abbreviation" and "acronym" roles;
1656     incomplete.
1657   - Added support for "--trim-footnote-reference-space" option.
1658   - Optional space before colons in directives & hyperlink targets.
1660 * docutils/parsers/rst/tableparser.py:
1662   - Fixed a bug that was producing unwanted empty rows in "simple"
1663     tables.
1664   - Detect bad column spans in "simple" tables.
1666 * docutils/parsers/rst/directives: Updated all directive functions to
1667   new API.
1669 * docutils/parsers/rst/directives/__init__.py:
1671   - Added ``flag()``, ``unchanged()``, ``path()``,
1672     ``nonnegative_int()``, ``choice()``, and ``class_option()``
1673     directive option helper functions.
1674   - Added warnings for unknown directives.
1675   - Return ``None`` for missing directives.
1676   - Added ``register_directive()``, thanks to William Dode and Paul
1677     Moore.
1679 * docutils/parsers/rst/directives/admonitions.py:
1681   - Added "admonition" directive.
1683 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
1684   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
1685   "parsed-literal", "rubric", "epigraph", "highlights" and
1686   "pull-quote" directives.
1688 * docutils/parsers/rst/directives/images.py:
1690   - Added an "align" attribute to the "image" & "figure" directives
1691     (by Adam Chodorowski).
1692   - Added "class" option to "image", and "figclass" to "figure".
1694 * docutils/parsers/rst/directives/misc.py:
1696   - Added "include", "raw", and "replace" directives, courtesy of
1697     Dethe Elza.
1698   - Added "unicode" and "class" directives.
1700 * docutils/parsers/rst/directives/parts.py:
1702   - Added the "sectnum" directive; by Dmitry Jemerov.
1703   - Added "class" option to "contents" directive.
1705 * docutils/parsers/rst/directives/references.py: Added to project.
1706   Contains the "target-notes" directive.
1708 * docutils/parsers/rst/languages/__init__.py:
1710   - Return ``None`` from get_language() for missing language modules.
1712 * docutils/parsers/rst/languages/de.py: Added to project; German
1713   mappings by Engelbert Gruber.
1715 * docutils/parsers/rst/languages/en.py:
1717   - Added interpreted text roles mapping.
1719 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
1720   mappings by Marcelo Huerta San Martin.
1722 * docutils/parsers/rst/languages/fr.py: Added to project; French
1723   mappings by William Dode.
1725 * docutils/parsers/rst/languages/it.py: Added to project; Italian
1726   mappings by Nicola Larosa.
1728 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
1729   mappings by Miroslav Vasko.
1731 * docutils/readers/__init__.py:
1733   - Added support for the observer pattern from ``utils.Reporter``, in
1734     ``Reader.parse`` and ``Reader.transform``.
1735   - Removed ``Reader.transform()`` method.
1736   - Added default parameter values to ``Reader.__init__()`` to make
1737     instantiation easier.
1738   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
1740 * docutils/readers/pep.py:
1742   - Added the ``peps.TargetNotes`` transform to the Reader.
1743   - Removed PEP & RFC reference detection code; moved to
1744     parsers/rst/states.py as options (enabled here by default).
1745   - Added support for pre-acceptance PEPs (no PEP number yet).
1746   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
1747     easy subclassing.
1749 * docutils/readers/python: Python Source Reader subpackage added to
1750   project, including preliminary versions of:
1752   - __init__.py
1753   - moduleparser.py: Parser for Python modules.
1755 * docutils/transforms/__init__.py:
1757   - Added ``Transformer`` class and completed transform reform.
1758   - Added unknown_reference_resolvers list for each transformer. This list holds
1759     the list of functions provided by each component of the transformer that
1760     help resolve references.
1762 * docutils/transforms/frontmatter.py:
1764   - Improved support for generic fields.
1765   - Fixed bibliographic field language lookups.
1767 * docutils/transforms/misc.py: Added to project.  Miscellaneous
1768   transforms.
1770 * docutils/transforms/parts.py:
1772   - Moved the "id" attribute from TOC list items to the references
1773     (``Contents.build_contents()``).
1774   - Added the ``SectNum`` transform; by Dmitry Jemerov.
1775   - Added "class" attribute support to ``Contents``.
1777 * docutils/transforms/peps.py:
1779   - Added ``mask_email()`` function, updating to pep2html.py's
1780     functionality.
1781   - Linked "Content-Type: text/x-rst" to PEP 12.
1782   - Added the ``TargetNotes`` PEP-specific transform.
1783   - Added ``TargetNotes.cleanup_callback``.
1784   - Added title check to ``Headers``.
1786 * docutils/transforms/references.py:
1788   - Added the ``TargetNotes`` generic transform.
1789   - Split ``Hyperlinks`` into multiple transforms.
1790   - Fixed bug with multiply-indirect references (report: Bruce Smith).
1791   - Added check for circular indirect references.
1792   - Made substitutions case-sensitive-but-forgiving.
1794 * docutils/transforms/universal.py:
1796   - Added support for the "--expose-internal-attributes" option.
1797   - Removed ``Pending`` transform classes & data.
1799 * docutils/writers/__init__.py:
1801   - Removed ``Writer.transform()`` method.
1803 * docutils/writers/docutils-xml.py:
1805   - Added XML and doctype declarations.
1806   - Added "--no-doctype" and "--no-xml-declaration" options.
1808 * docutils/writers/html4css1.py:
1810   - "name" attributes only on these tags: a, applet, form, frame,
1811     iframe, img, map.
1812   - Added "name" attribute to <a> in section titles for Netscape 4
1813     support (bug report: Pearu Peterson).
1814   - Fixed targets (names) on footnote, citation, topic title,
1815     problematic, and system_message nodes (for Netscape 4).
1816   - Changed field names from "<td>" to "<th>".
1817   - Added "@" to "&#64;" encoding to thwart address harvesters.
1818   - Improved the vertical whitespace optimization; ignore "invisible"
1819     nodes (targets, comments, etc.).
1820   - Improved inline literals with ``<span class="pre">`` around chunks
1821     of text and ``&nbsp;`` for runs of spaces.
1822   - Improved modularity of output; added ``self.body_pre_docinfo`` and
1823     ``self.docinfo`` segments.
1824   - Added support for "line_block", "address" elements.
1825   - Improved backlinks (footnotes & system_messages).
1826   - Improved system_message output.
1827   - Redefined "--stylesheet" as containing an invariant URL, used
1828     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
1829     working directory.
1830   - Added "--footnote-references" option (superscript or brackets).
1831   - Added "--compact-lists" and "--no-compact-lists" options.
1832   - Added "--embed-stylesheet" and "--link-stylesheet" options;
1833     factored out ``HTMLTranslator.get_stylesheet_reference()``.
1834   - Improved field list rendering.
1835   - Added Docutils version to "generator" meta tag.
1836   - Fixed a bug with images; they must be inline, so wrapped in <p>.
1837   - Improved layout of <pre> HTML source.
1838   - Fixed attribute typo on <colspec>.
1839   - Refined XML prologue.
1840   - Support for no stylesheet.
1841   - Removed "interpreted" element support.
1842   - Added support for "title_reference", "sidebar", "attribution",
1843     "rubric", and generic "admonition" elements.
1844   - Added "--attribution" option.
1845   - Added support for "inline", "subscript", "superscript" elements.
1846   - Added initial support for "abbreviation" and "acronym";
1847     incomplete.
1849 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
1850   (from the sandbox).
1852   - Added french.
1853   - Double quotes in literal blocks (special treatment for de/ngerman).
1854   - Added '--hyperlink-color' option ('0' turns off coloring of links).
1855   - Added  "--attribution" option.
1856   - Right align attributions.
1858 * docutils/writers/pep_html.py:
1860   - Parameterized output encoding in PEP template.
1861   - Reworked substitutions from ``locals()`` into ``subs`` dict.
1862   - Redefined "--pep-stylesheet" as containing an invariant URL, used
1863     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
1864     working directory.
1865   - Added an override on the "--footnote-references" option.
1866   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
1867   - Added Docutils version to "generator" meta tag.
1868   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
1870 * docs/tools.txt:
1872   - Added a "silent" setting for ``buildhtml.py``.
1873   - Added a "Getting Help" section.
1874   - Rearranged the structure.
1875   - Kept up to date, with new settings, command-line options etc.
1876   - Added section for ``rst2latex.py`` (Engelbert Gruber).
1877   - Converted settings table into a definition list.
1879 * docs/rst/quickstart.txt:
1881   - Added a table of contents.
1882   - Added feedback information.
1883   - Added mention of minimum section title underline lengths.
1884   - Removed the 4-character minimum for section title underlines.
1886 * docs/rst/quickref.html:
1888   - Added a "Getting Help" section.
1889   - Added a style to make section title backlinks more subtle.
1890   - Added mention of minimum section title underline lengths.
1891   - Removed the 4-character minimum for section title underlines.
1893 * extras: Directory added to project; contains third-party modules
1894   that Docutils depends on (optparse, textwrap, roman).  These are
1895   only installed if they're not already present.
1897 * licenses: Directory added to project; contains copies of license
1898   files for non-public-domain files.
1900 * spec/doctree.txt:
1902   - Changed the focus.  It's about DTD elements:  structural
1903     relationships, semantics, and external (public) attributes.  Not
1904     about the element class library.
1905   - Moved some implementation-specific stuff into ``docutils.nodes``
1906     docstrings.
1907   - Wrote descriptions of all common attributes and parameter
1908     entities.  Filled in introductory material.
1909   - Working through the element descriptions: 55 down, 37 to go.
1910   - Removed "Representation of Horizontal Rules" to
1911     spec/rst/alternatives.txt.
1913 * spec/docutils.dtd:
1915   - Added "generated" inline element.
1916   - Added "line_block" body element.
1917   - Added "auto" attribute to "title".
1918   - Changed content models of "literal_block" and "doctest_block" to
1919     ``%text.model``.
1920   - Added ``%number;`` attribute type parameter entity.
1921   - Changed ``%structural.elements;`` to ``%section.elements``.
1922   - Updated attribute types; made more specific.
1923   - Added "address" bibliographic element.
1924   - Added "line" attribute to ``system_message`` element.
1925   - Removed "field_argument" element; "field_name" may contain
1926     multiple words and whitespace.
1927   - Changed public identifier to docutils.sf.net.
1928   - Removed "interpreted" element; added "title_reference",
1929     "abbreviation", "acronym".
1930   - Removed "refuri" attribute from "footnote_reference" and
1931     "citation_reference".
1932   - Added "sidebar", "rubric", "attribution", "admonition",
1933     "superscript", "subscript", and "inline" elements.
1935 * spec/pep-0256.txt: Converted to reStructuredText & updated.
1937 * spec/pep-0257.txt: Converted to reStructuredText & updated.
1939 * spec/pep-0258.txt: Converted to reStructuredText & updated.
1941 * spec/semantics.txt: Updated with text from a Doc-SIG response to
1942   Dallas Mahrt.
1944 * spec/transforms.txt: Added to project.
1946 * spec/howto: Added subdirectory, for developer how-to docs.
1948 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
1949   Elza, edited & extended by David Goodger.
1951 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
1952   project.
1954 * spec/rst/alternatives.txt:
1956   - Added "Doctree Representation of Transitions" from
1957     spec/doctree.txt.
1958   - Updated "Inline External Targets" & closed the debate.
1959   - Added ideas for interpreted text syntax extensions.
1960   - Added "Nested Inline Markup" section.
1962 * spec/rst/directives.txt:
1964   - Added directives: "topic", "sectnum", "target-notes",
1965     "line-block", "parsed-literal", "include", "replace", "sidebar",
1966     "admonition", "rubric", "epigraph", "highlights", "unicode" and
1967     "class".
1968   - Formalized descriptions of directive details.
1969   - Added an "align" attribute to the "image" & "figure" directives
1970     (by Adam Chodorowski).
1971   - Added "class" options to "topic", "sidebar", "line-block",
1972     "parsed-literal", "contents", and "image"; and "figclass" to
1973     "figure".
1975 * spec/rst/interpreted.txt: Added to project.  Descriptions of
1976   interpreted text roles.
1978 * spec/rst/introduction.txt:
1980   - Added pointers to material for new users.
1982 * spec/rst/reStructuredText.txt:
1984   - Disambiguated comments (just add a newline after the "::").
1985   - Updated enumerated list description; added a discussion of the
1986     second-line validity checking.
1987   - Updated directive description.
1988   - Added a note redirecting newbies to the user docs.
1989   - Expanded description of inline markup start-strings in non-markup
1990     contexts.
1991   - Removed field arguments and made field lists a generic construct.
1992   - Removed the 4-character minimum for section title underlines.
1993   - Clarified term/classifier delimiter & inline markup ambiguity
1994     (definition lists).
1995   - Added "Embedded URIs".
1996   - Updated "Interpreted Text" section.
1997   - Added "Character-Level Inline Markup" section.
1999 * test: Continually adding & updating tests.
2001   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2002   - Moved test/test_pep/ to test/test_readers/test_pep/.
2003   - Added test/test_readers/test_python/.
2004   - Added test/test_writers/ (Engelbert Gruber).
2006 * tools:
2008   - Made the ``locale.setlocale()`` calls in front ends
2009     fault-tolerant.
2011 * tools/buildhtml.py:
2013   - Added "--silent" option.
2014   - Fixed bug with absolute paths & "--config".
2015   - Updated for new I/O classes.
2016   - Added some exception handling.
2017   - Separated publishers' setting defaults; prevents interference.
2018   - Updated for new ``publish_file()`` convenience function.
2020 * tools/pep-html-template:
2022   - Allow for "--embed-stylesheet".
2023   - Added Docutils version to "generator" meta tag.
2024   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2025   - Conform to XHTML spec.
2027 * tools/pep2html.py:
2029   - Made ``argv`` a parameter to ``main()``.
2030   - Added support for "Content-Type:" header & arbitrary PEP formats.
2031   - Linked "Content-Type: text/plain" to PEP 9.
2032   - Files skipped (due to an error) are not pushed onto the server.
2033   - Updated for new I/O classes.
2034   - Added ``check_requirements()`` & ``pep_type_error()``.
2035   - Added some exception handling.
2036   - Updated for new ``publish_string()`` convenience function.
2037   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2039 * tools/quicktest.py:
2041   - Added "-V"/"--version" option.
2043 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2045 * tools/unicode2rstsubs.py: Added to project.  Produces character
2046   entity files (reSructuredText substitutions) from the MathML master
2047   unicode.xml file.
2049 * tools/editors: Support code for editors, added to project.  Contains
2050   ``emacs/restructuredtext.el``.
2052 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2054   - Added style for chunks of inline literals.
2055   - Removed margin for first child of table cells.
2056   - Right-aligned field list names.
2057   - Support for auto-numbered section titles in TOCs.
2058   - Increased the size of inline literals (<tt>) in titles.
2059   - Restored the light gray background for inline literals.
2060   - Added support for "line_block" elements.
2061   - Added style for "address" elements.
2062   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2063   - Improved field list rendering.
2064   - Vertical whitespace improvements.
2065   - Removed "a.target" style.
2067 * tools/stylesheets/pep.css:
2069   - Fixed nested section margins.
2070   - Other changes parallel those of ``../default.css``.
2073 Release 0.2 (2002-07-31)
2074 ========================
2076 General:
2078 - The word "component" was being used ambiguously.  From now on,
2079   "component" will be used to mean "Docutils component", as in Reader,
2080   Writer, Parser, or Transform.  Portions of documents (Table of
2081   Contents, sections, etc.)  will be called "document parts".
2082 - Did a grand renaming: a lot of ``verylongnames`` became
2083   ``very_long_names``.
2084 - Cleaned up imports: no more relative package imports or
2085   comma-separated lists of top-level modules.
2086 - Added support for an option values object which carries default
2087   settings and overrides (from command-line options and library use).
2088 - Added internal Unicode support, and support for both input and
2089   output encodings.
2090 - Added support for the ``docutils.io.IO`` class & subclasses.
2092 Specific:
2094 * docutils/__init__.py:
2096   - Added ``ApplicationError`` and ``DataError``, for use throughout
2097     the package.
2098   - Added ``Component`` base class for Docutils components; implements
2099     the ``supports`` method.
2100   - Added ``__version__`` (thus, ``docutils.__version__``).
2102 * docutils/core.py:
2104   - Removed many keyword parameters to ``Publisher.__init__()`` and
2105     ``publish()``; bundled into an option values object.  Added
2106     "argv", "usage", "description", and "option_spec" parameters for
2107     command-line support.
2108   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2109     methods.
2110   - Reworked I/O model for ``docutils.io`` wrappers.
2111   - Updated ``Publisher.set_options()``; now returns option values
2112     object.
2113   - Added support for configuration files (/etc/docutils.conf,
2114     ./docutils.conf, ~/.docutils).
2115   - Added ``Publisher.setup_option_parser()``.
2116   - Added default usage message and description.
2118 * docutils/frontend.py: Added to project; support for front-end
2119   (command-line) scripts.  Option specifications may be augmented by
2120   components.  Requires Optik (http://optik.sf.net/) for option
2121   processing (installed locally as docutils/optik.py).
2123 * docutils/io.py: Added to project; uniform API for a variety of input
2124   output mechanisms.
2126 * docutils/nodes.py:
2128   - Added ``TreeCopyVisitor`` class.
2129   - Added a ``copy`` method to ``Node`` and subclasses.
2130   - Added a ``SkipDeparture`` exception for visitors.
2131   - Renamed ``TreePruningException`` from ``VisitorException``.
2132   - Added docstrings to ``TreePruningException``, subclasses, and
2133     ``Nodes.walk()``.
2134   - Improved docstrings.
2135   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2136   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2137     imports.
2138   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2139     ``PreDecorative`` mixin.
2140   - Reworked the name/id bookkeeping; to ``document``, removed
2141     ``explicit_targets`` and ``implicit_targets`` attributes, added
2142     ``nametypes`` attribute and ``set_name_id_map`` method.
2143   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2144     traversals.
2145   - Added ``document.has_name()`` method.
2146   - Fixed DOM generation for list-attributes.
2147   - Added category class ``Labeled`` (used by footnotes & citations).
2148   - Added ``Element.set_class()`` method (sets "class" attribute).
2150 * docutils/optik.py: Added to project.  Combined from the Optik
2151   package, with added option groups and other modifications.  The use
2152   of this module is probably only temporary.
2154 * docutils/statemachine.py:
2156   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2157   - Added underscores to improve many awkward names.
2158   - In ``string2lines()``, changed whitespace normalizing translation
2159     table to regexp; restores Python 2.0 compatibility with Unicode.
2161 * docutils/urischemes.py:
2163   - Filled in some descriptions.
2164   - Added "shttp" scheme.
2166 * docutils/utils.py:
2168   - Added ``clean_rcs_keywords`` function (moved from
2169     docutils/transforms/frontmatter.py
2170     ``DocInfo.filter_rcs_keywords``).
2171   - Added underscores to improve many awkward names.
2172   - Changed names of Reporter's thresholds:
2173     warning_level -> report_level; error_level -> halt_level.
2174   - Moved ``utils.id()`` to ``nodes.make_id()``.
2175   - Added ``relative_path(source, target)``.
2177 * docutils/languages/de.py: German mappings; added to project.  Thanks
2178   to Gunnar Schwant for the translations.
2180 * docutils/languages/en.py: Added "Dedication" bibliographic field
2181   mappings.
2183 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2184   Chodorowski.
2186 * docutils/parsers/rst/states.py:
2188   - Added underscores to improve many awkward names.
2189   - Added RFC-2822 header support.
2190   - Extracted the inline parsing code from ``RSTState`` to a separate
2191     class, ``Inliner``, which will allow easy subclassing.
2192   - Made local bindings for ``memo`` container & often-used contents
2193     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2194   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2195   - Added ``MarkupMismatch`` exception; for late corrections.
2196   - Added ``-/:`` characters to inline markup's start string prefix,
2197     ``/`` to end string suffix.
2198   - Fixed a footnote bug.
2199   - Fixed a bug with literal blocks.
2200   - Applied patch from Simon Budig: simplified regexps with symbolic
2201     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2202   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2203   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2204   - Allowed non-ASCII in "simple names" (directive names, field names,
2205     references, etc.).
2206   - Converted ``Inliner.patterns.initial`` to be dynamically built
2207     from parts with ``build_regexp()`` function.
2208   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2209   - Updated docstrings.
2210   - Changed "table" to "grid_table"; added "simple_table" support.
2212 * docutils/parsers/rst/tableparser.py:
2214   - Changed ``TableParser`` to ``GridTableParser``.
2215   - Added ``SimpleTableParser``.
2216   - Refactored naming.
2218 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2219   a fallback language for directive names.
2221 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2222   directive to use a ``pending`` element, used only by HTML writers.
2224 * docutils/parsers/rst/directives/parts.py: Renamed from
2225   components.py.
2227   - Added "backlinks" attribute to "contents" directive.
2229 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2230   project by Adam Chodorowski.
2232 * docutils/readers/__init__.py: Gave Readers more control over
2233   choosing and instantiating Parsers.
2235 * docutils/readers/pep.py: Added to project; for PEP processing.
2237 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2238   requires a ``component`` parameter.
2240 * docutils/transforms/components.py: Added to project; transforms
2241   related to Docutils components.
2243 * docutils/transforms/frontmatter.py:
2245   - In ``DocInfo.extract_authors``, check for a single "author" in an
2246     "authors" group, and convert it to a single "author" element.
2247   - Added support for "Dedication" and generic bibliographic fields.
2249 * docutils/transforms/peps.py: Added to project; PEP-specific.
2251 * docutils/transforms/parts.py: Renamed from old components.py.
2253   - Added filter for `Contents`, to use alt-text for inline images,
2254     and to remove inline markup that doesn't make sense in the ToC.
2255   - Added "name" attribute to TOC topic depending on its title.
2256   - Added support for optional TOC backlinks.
2258 * docutils/transforms/references.py: Fixed indirect target resolution
2259   in ``Hyperlinks`` transform.
2261 * docutils/transforms/universal.py:
2263   - Changed ``Messages`` transform to properly filter out system
2264     messages below the warning threshold.
2265   - Added ``Decorations`` transform (support for ``--generator``,
2266     ``--date``, ``--time``, ``--source-link`` options).
2268 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2269   Engelbert Gruber's PDF writer.
2271 * docutils/writers/html4css1.py:
2273   - Made XHTML-compatible (switched to lowercase element & attribute
2274     names; empty tag format).
2275   - Escape double-dashes in comment text.
2276   - Improved boilerplate & modularity of output.
2277   - Exposed modular output in Writer class.
2278   - Added a "generator" meta tag to <head>.
2279   - Added support for the ``--stylesheet`` option.
2280   - Added support for ``decoration``, ``header``, and ``footer``
2281     elements.
2282   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2283     translation table to regexp; restores Python 2.0 compatibility
2284     with Unicode.
2285   - Added the translator class as instance variable to the Writer, to
2286     make it easily subclassable.
2287   - Improved option list spacing (thanks to Richard Jones).
2288   - Modified field list output.
2289   - Added backlinks to footnotes & citations.
2290   - Added percentage widths to "<col>" tags (from colspec).
2291   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2292     "<span>" changed to "<var>".
2293   - Inline literals: "<code>" changed to "<tt>".
2294   - Many changes to optimize vertical space: compact simple lists etc.
2295   - Add a command-line options & directive attributes to control TOC
2296     and footnote/citation backlinks.
2297   - Added support for optional footnote/citation backlinks.
2298   - Added support for generic bibliographic fields.
2299   - Identify backrefs.
2300   - Relative URLs for stylesheet links.
2302 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2303   PEPs (subclass of ``html4css1.Writer``).
2305 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2307 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2308   of the Docutils internal doctree in XML.
2310 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2312 * spec/doctree.txt:
2314   - Changed the title to "The Docutils Document Tree".
2315   - Added "Hyperlink Bookkeeping" section.
2317 * spec/docutils.dtd:
2319   - Added ``decoration``, ``header``, and ``footer`` elements.
2320   - Brought ``interpreted`` element in line with the parser: changed
2321     attribute "type" to "role", added "position".
2322   - Added support for generic bibliographic fields.
2324 * spec/notes.txt: Continual updates.  Added "Project Policies".
2326 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2327   section.
2329 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2331 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
2332   mailing list discussions.
2334 * spec/pep-0287.txt:
2336   - Renamed to "reStructuredText Docstring Format".
2337   - Minor edits.
2338   - Reworked Q&A as an enumerated list.
2339   - Converted to reStructuredText format.
2341 * spec/pysource.dtd:
2343   - Reworked structural elements, incorporating ideas from Tony Ibbs.
2345 * spec/pysource.txt: Removed from project.  Moved much of its contents
2346   to pep-0258.txt.
2348 * spec/rst/alternatives.txt:
2350   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2351   - Added "Inline External Targets" section.
2353 * spec/rst/directives.txt:
2355   - Added "backlinks" attribute to "contents" directive.
2357 * spec/rst/problems.txt:
2359   - Updated the Enumerated List Markup discussion.
2360   - Added new alternative table markup syntaxes.
2362 * spec/rst/reStructuredText.txt:
2364   - Clarified field list usage.
2365   - Updated enumerated list description.
2366   - Clarified purpose of directives.
2367   - Added ``-/:`` characters to inline markup's start string prefix,
2368     ``/`` to end string suffix.
2369   - Updated "Authors" bibliographic field behavior.
2370   - Changed "inline hyperlink targets" to "inline internal targets".
2371   - Added "simple table" syntax to supplement the existing but
2372     newly-renamed "grid tables".
2373   - Added cautions for anonymous hyperlink use.
2374   - Added "Dedication" and generic bibliographic fields.
2376 * test: Made test modules standalone (subdirectories became packages).
2378 * test/DocutilsTestSupport.py:
2380   - Added support for PEP extensions to reStructuredText.
2381   - Added support for simple tables.
2382   - Refactored naming.
2384 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2386   - Now supports true packages containing test modules
2387     (``__init__.py`` files required); fixes duplicate module name bug.
2389 * test/test_pep/: Subpackage added to project; PEP testing.
2391 * test/test_rst/test_SimpleTableParser.py: Added to project.
2393 * tools:
2395   - Updated html.py and publish.py front-end tools to use the new
2396     command-line processing facilities of ``docutils.frontend``
2397     (exposed in ``docutils.core.Publisher``), reducing each to just a
2398     few lines of code.
2399   - Added ``locale.setlocale()`` calls to front-end tools.
2401 * tools/buildhtml.py: Added to project; batch-generates .html from all
2402   the .txt files in directories and subdirectories.
2404 * tools/default.css:
2406   - Added support for ``header`` and ``footer`` elements.
2407   - Added styles for "Dedication" topics (biblio fields).
2409 * tools/docutils.conf: A configuration file; added to project.
2411 * tools/docutils-xml.py: Added to project.
2413 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2415 * tools/pep-html-template: Added to project.
2417 * tools/pep2html.py: Added to project from Python (nondist/peps).
2418   Added support for Docutils (reStructuredText PEPs).
2420 * tools/quicktest.py:
2422   - Added the ``--attributes`` option, hacked a bit.
2423   - Added a second command-line argument (output file); cleaned up.
2425 * tools/stylesheets/: Subdirectory added to project.
2427 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2430 Release 0.1 (2002-04-20)
2431 ========================
2433 This is the first release of Docutils, merged from the now inactive
2434 reStructuredText__ and `Docstring Processing System`__ projects.  For
2435 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2436 `DPS HISTORY`__ files.
2438 __ http://structuredtext.sourceforge.net/
2439 __ http://docstring.sourceforge.net/
2440 __ http://structuredtext.sourceforge.net/HISTORY.html
2441 __ http://docstring.sourceforge.net/HISTORY.html
2443 General changes: renamed 'dps' package to 'docutils'; renamed
2444 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2445 the test suites (reStructuredText's test/test_states renamed to
2446 test/test_rst); and all modifications required to make it all work.
2448 * docutils/parsers/rst/states.py:
2450   - Improved diagnostic system messages for missing blank lines.
2451   - Fixed substitution_reference bug.
2455    Local Variables:
2456    mode: indented-text
2457    indent-tabs-mode: nil
2458    sentence-end-double-space: t
2459    fill-column: 70
2460    End: