Release 0.6: tagging released revision
[docutils.git] / HISTORY.txt
blob4a2608668c232758102666866c20dcb477ac8a40
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 Release 0.6 (2009-10-11)
18 ========================
20 * General:
22   - Docutils is now compatible with Python versions from 2.3 up to 2.6
23     and convertible to 3.1 code.
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.
34     + Drop extras/optparse.py and extras/textwrap.py
35       (stdlib modules since 2.3).
37   - OpenOffice export: ODT writer moved from sandbox to Doctutils core.
38   - Unix man page export: manpage writer moved from sandbox to Doctutils
39     core.
41   - Apply [ 1719345 ] Galician translation
42   - Apply [ 1905741 ] Polish translation
43   - Apply [ 1878977 ] make_id(): deaccent characters.
44   - Apply [ 2029251 ] return nonzero when tests fail.
45   - Fix [ 1692788 ] allow UTF-8 in style sheets.
46   - Fix [ 2781629 ] support non-ASCII chars in file names.
47   - Apply [ 2845002 ] let ``--no-raw`` disable raw *roles* too.
48   - Fix [ 2831643 ] by renaming DirectiveError.message to DirectiveError.msg
49   - Fix [ 2821266 ] --strict option works now like --halt=info.
50   - Fix [ 2788716 ] DirectiveError now correctly reports source and line.
51   - Fix [ 1627229 ] hyperlink references in substitutions.
53   - The "newlatex" writer is orphaned.
55 * reStructuredText:
57   - Documented Unicode characters allowed as inline markup openers,
58     closers, and delimiters.
59   - Allow units for all length specifications.
60   - Allow percent sign in "scale" argument of "figure" and "image" directives.
61   - Bugfix: The "figalign" argument of a figure now works as intended
62     (aligning the figure, not its contents).
63   - Align images with class "align-[right|center|left]"
64     (allows setting the alignment of an image in a figure).
66 * docutils/nodes.py:
68   - Added ``Element.__contains__`` method, for the in-operator.
70 * docutils/parsers/rst/states.py:
72   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
73   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
74     " " (non-breaking space), and "¡ ¿" openers.
76 * docutils/parsers/directives/misc.py:
78   - Added ``start-line`` and ``end-line`` options to "include"
79     directive to select a range of lines.
80   - Hard tabs in literal inclusions are replaced by spaces. This is
81     configurable via the new ``tab-width`` option of the "include" directive
82     (a negative tab-width prevents tab expansion).
84 * docutils/utils.py:
86   - Add ``get_stylesheet_list`` function.
87   - Apply [ 2834836 ] print info at halt
89 * docutils/transforms/universal.py:
91   - Raise default priority of StripClasses to exclude stripped classes from
92     the ToC.
94 * docutils/writers/html4css1/__init__.py:
96   - ``--stylesheet`` and ``--stylesheet-path`` options support a comma
97     separated list of stylesheets.
98   - Address [ 1938891 ] Inline literal text creates "pre" span only when
99     needed to prevent inter-word line wraps.
100   - Use `translate` method instead of repeated `replace` calls.
101   - Fix [ 1757105 ] New ``table-style`` option. Added to standard table
102     classes to allow CSS styling that does not interfere with other
103     table-using constructs (field lists, citations, ...).
105 * docutils/writers/newlatex2e/__init__.py:
107   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
109 * docutils/writers/latex2e/__init__.py (see also
110   `<docs/user/docutils-05-compat.sty.html>`__) :
112   - Add ``--embed-stylesheet`` option.
113   - Apply [ 1474017 ] image vertical alignment is reversed.
114   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
115   - Change: has_key for dictionaries (not Nodes) to in-operator.
116   - Merge adjacent citations into one latex cite command.
117   - Failsave implementation of custom roles. LaTeX compilation now ignores
118     unknown classes instead of aborting with an error.
119   - Support custom roles based on standard roles.
120   - LaTeX packages can be used as ``--stylesheet`` arguments without
121     restriction. (A style sheet is now referenced with the ``\usepackage``
122     command, if it ends with ``.sty`` or has no extension.)
123   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
124   - Correctly write length unit ``pt`` as ``bp`` in LaTeX.
125   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
126     2005-02-04 as a configurable length unit).
127   - Do not use fontenc, nor the obsolete 'ae' and 'aeguill' packages
128     if font-encoding is set to ''. LaTeX defaults to OT1 then.
129   - Set sub- and superscript role argument in text mode not as math.
130     Use a custom role based on sub-/superscript if you want italic shape.
131   - Shorter preamble and less dependencies: Load packages and define macros
132     only if required in the document.
133   - Use the name prefix ``DU`` for all Docutils specific LaTeX macros.
134   - New custom environments and commands with optional "classes" argument.
135   - Simpler LaTeX encoding, e.g. "\%" instead of "{\%}".
136   - Better conformance to Docutils specifications with ``--use-latex-toc``.
137     Support for LaTeX generated ToC also with unnumbered sections.
138   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
139     section numbering by LaTeX.
140   - Use default font in admonitions and sidebar.
141   - Align of image in a figure defaults to 'center'.
142   - Bugfix: Newlines around targets and references prevent run-together
143     paragraphs.
144   - Fix internal hyperlinks.
145   - Use class defaults for page margins ('typearea' now optional).
146   - Float placement made configurable, default changed to "here definitely".
147   - Typeset generic topic as "quote block with title".
148   - Use template (file and configuration option).
149   - In the default template, load cmap.sty (fix text extraction in PDF) and
150     fixltx2e.sty (LaTeX patches, \textsubscript).
151   - Render doctest blocks as literal blocks (fixes [ 1586058 ]).
152   - Use `translate` instead of repeated `replace` calls for text encoding.
153   - Hyperlinked footnotes and support for symbol footnotes and
154     ``--footnote-references=brackets`` with ``--use-latex-footnotes``.
155   - Complete pairs of binary options
156     (``--figure-footnotes, --figure-citations, --link-stylesheet``,
157     ``--use-docutils-toc, --use-docutils-docinfo, --topic-abstract``)
158   - New defaults:
159     - font-encoding: "T1" (formerly implicitely set by 'ae').
160     - use-latex-toc: true (ToC with page numbers).
161     - use-latex-footnotes: true (no mixup with figures).
163 * docutils/writers/manpage.py
165   - Do not print version at document end, this is done by the viewer.
166   - Do not print date at document end, this is done by the viewer.
167   - Fix storage of docinfo fields for none standard fields.
169 * docutils/tools/rst2man.py
171 Release 0.5 (2008-06-25)
172 ========================
174 * docutils/languages/he.py: Added to project: Hebrew mappings by
175   Meir Kriheli.
177 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew
178   mappings by Meir Kriheli.
180 * docutils/frontend.py:
182   - Configuration files are now assumed and required to be
183     UTF-8-encoded.
184   - Paths of applied configuration files are now recorded in the
185     runtime setting ``_config_files`` (accessible via
186     ``--dump-settings``).
187   - Added ``--strip-elements-with-class`` and ``--strip-class``
188     options (``strip_elements_with_classes`` and ``strip_classes``
189     settings).
191 * docutils/io.py:
193   - Added code to determine the input encoding from data: encoding
194     declarations or the presence of byte order marks (UTF-8 & UTF-16).
195   - Added support for IronPython 1.0.
197 * docutils/nodes.py:
199   - Added ``document.__getstate__`` method, for pickling.
201 * docutils/parsers/rst/states.py:
203   - Allow ``+`` and ``:`` in reference names.
204   - Unquoted targets beginning with an underscore (``.. __target:
205     URI``) are no longer accepted.
206   - Added support for multiple attributions in a physical block quote
207     (indented text block), dividing it into multiple logical block
208     quotes.
209   - Added support for unicode bullets in bullet lists: "•", "‣", and
210     "⁃".
211   - Added support for new object-oriented directive interface,
212     retaining compatibility to the old functional interface.
213   - Added support for throwing ``DirectiveError``'s from within
214     directive code.
216 * docutils/parsers/rst/__init__.py:
218   - Added ``Directive`` base class.
219   - Added ``DirectiveError`` base class.
220   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
221     definitions.
223 * docutils/parsers/directives/:
225   - Refactored all reStructuredText directives to use the new
226     object-oriented directive interface.  Errors are now (mostly)
227     thrown using the new ``DirectiveError`` class.
229 * docutils/parsers/directives/misc.py:
231   - Added ``start-after`` and ``end-before`` options to ``include``
232     directive; thanks to Stefan Rank.
234 * docutils/transforms/universal.py:
236   - Added ``StripClassesAndElements`` transform to remove from the
237     document tree all elements with classes in
238     ``settings.strip_elements_with_classes`` and all "classes"
239     attribute values in ``self.document.settings.strip_classes``.
241 * docutils/transforms/writer_aux.py:
243   - Added ``Admonitions`` transform to transform specific admonitions
244     (like ``note``, ``warning``, etc.) into generic admonitions with a
245     localized title.
247 * docutils/writers/html4css1/__init__.py:
249   - Moved template functionality from the PEP/HTML writer here.
250   - Expanded the fragments available in the ``parts`` attribute.
251   - Moved ``id`` attributes from titles to surrounding ``div``
252     elements.
253   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
254     universally supported now).
255   - ``template.txt`` is now opened in text mode instead of binary mode
256     (to ensure Windows compatibility).
257   - ``a`` elements now have an "internal" or "external" class,
258     depending on reference type.
260 * docutils/writers/html4css1/template.txt: Added to project.
262 * docutils/writers/pep_html/:
264   - Moved template functionality to the HTML writer.
266 * docutils/writers/s5_html/__init__.py:
268   - Added ``view_mode`` & ``hidden_controls`` settings
269     (``--view-mode`` & ``--hidden-controls/--visible-controls``
270     options).
272 * docutils/writers/latex2e/__init__.py:
274   - Add ``--literal-block-env``
275   - Fix: escaping ``%`` in href urls.
276   - Move usepackage hyperref after stylesheet inclusion.
277   - Fix: scrartcl does not have chapter but scrreprt.
278   - Add newline after ``\end{verbatim}``.
279   - Merge smaller differences from latex2e_adaptive_preamble.
280   - Add ``use-part-section``.
281   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
282   - Using leavemode option_list no longer needs to check if parent
283     is a definition list.
284   - Append ``\leavemode`` to definition list terms.
285   - No longer write visit\_/depart_definition_list_item comments to
286     output.
287   - Table column width with 3 decimal places.
288   - Add table stubs support (boldfont).
289   - Add assemble_parts to writer.
290   - Add simply support for nested tables.
291   - Fix verbatim in tables if use-verbatim-when-possible.
292   - Use section commands down to subparagraph.
293   - Put ensuremath around some latin1 chars.
294   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
295   - New option ``--use-bibtex=style,db1,db2``.
296   - New option ``--reference-label`` to allow usage of LaTeX ref for
297     labels in section references.
298   - Add a label after every section to support sectionnumbers as reference
299     labels.
300   - Fix: bug# 1605376 rst2latex: bad options group list
301   - Remove inactive code for use_optionlist_for_option_list.
302   - Remove latex comments from option_list output.
303   - Fix: bug# 1612270 double qoutes in italian literal.
304   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
305   - Add option --use-latex-abstract.
306   - Image width unit ``px`` is translated to ``pt``.
307   - Add image height support.
308   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
309     bug #1457388
310   - Fix: Do not escape underscores in citation reference labels if
311     use-latex-citations is set.
312   - Use centering instead of center for figure contents, to avoid vertical
313     space.
314   - Recognize table class: borderless, nolines, booktabs, standard.
315   - Fix: Renaming contents section does not work with latex writer; SF
316     bug #1487405.
317   - Applied patch for custom roles with classes from Edward Loper.
318   - Fixed bug that caused crashes with more than 256 lists.
320 * docutils/writers/pep_html/__init__.py:
322   - Changed to support new python.org website structure and
323     pep2pyramid.py.
325 * docs/howto/security.txt: "Deploying Docutils Securely", added to
326   project.
328 * tools/buildhtml.py:
330   -- Added ``ignore`` setting to exclude a list of shell patterns
331      (default: ``.svn:CVS``).
333 * tools/editors/emacs/rst.el:
335   - Changed license to "GPL".
336   - Added ``rst-straighten-decorations`` function.
337   - The ``compile`` module is now always loaded.
338   - Added ``rst-toggle-line-block`` function.
339   - Headings consisting only of non-ASCII characters are now
340     recognized by ``rst-toc`` and ``rst-adjust``.
341   - Added font-lock support for multi-line comments where the first
342     comment line is empty.
343   - Added ``(require 'font-lock)``.
345 * setup.py:
347   - Provide descriptive error message if distutils is missing.
350 Release 0.4 (2006-01-09)
351 ========================
353 * General:
355   - Updated the project policies for trunk/branch development &
356     version numbering.
358 * docutils/__init__.py:
360   - Added ``__version_details__`` attribute to describe code source
361     (repository/snapshot/release).
362   - Replaced ``default_transforms`` attribute of TransformSpec with
363     ``get_transforms()`` method.
365 * docutils/core.py:
367   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
368     functions, for document tree extraction and reprocessing.
370 * docutils/io.py:
372   - Added ``DocTreeInput`` class, for reprocessing existing documents.
373   - Added support for non-Unicode (e.g. binary) writer output.
375 * docutils/nodes.py:
377   - Re-introduced ``Targetable.indirect_reference_name``, for
378     MoinMoin/reST compatibility (removed in r3124/r3129).
379   - Added ``serial_escape`` function; escapes string values that are
380     elements of a list, for serialization.  Modified Docutils-XML
381     writing (``Element._dom_node``) and pseudo-XML writing
382     (``Element.starttag``) to use ``serial_escape``.
383   - Added ``Node.deepcopy()`` method.
384   - Removed the internal lists ``document.substitution_refs``,
385     ``document.anonymous_refs``, and ``document.anonymous_targets``.
386   - Added a "container" element.
387   - Fixed bug where values of list-valued attributes of elements
388     originating from custom interpreted text roles (i.e., with custom
389     classes) were being shared between element instances.  Reported by
390     Shmuel Zeigerman.
392 * docutils/statemachine.py:
394   - Added trailing whitespace stripping to ``string2lines()``.
395   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
396     Asian double-width character support.
398 * docutils/utils.py:
400   - Added ``east_asian_column_width()`` for double-width character
401     support.
403 * docutils/languages/ja.py: Added to project: Japanese mappings by
404   Hisashi Morita.
406 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
407   mappings by Panjunyong.
409 * docutils/parsers/null.py: Added to project; a do-nothing parser.
411 * docutils/parsers/rst/__init__.py:
413   - Added validator to tab_width setting, with test.  Closes SF bug
414     #1212515, report from Wu Wei.
416 * docutils/parsers/rst/states.py:
418   - Fixed bug with escaped colons indicating a literal block.
419   - Fixed bug with enumerated lists (SF#1254145).
420   - Backslash-escaped colons inside of field names are now allowed.
421   - Targets (implicit and explicit), anonymous hyperlink references
422     and auto-numbered footnote references inside of substitution
423     definitions are now disallowed.
424   - Fixed bug: list items with blank first lines.
425   - Fixed bug: block quote attributions with indented second lines.
426   - Added East Asian double-width character support (Python 2.4 only).
428 * docutils/parsers/rst/tableparser.py:
430   - Added East Asian double-width character support (Python 2.4 only).
432 * docutils/parsers/rst/directives/body.py:
434   - Added the "container" directive.
436 * docutils/parsers/rst/directives/misc.py:
438   - Added the "default-role", "title", and "date" directives.
439   - Added standard data file syntax to the "include" directive.
440   - Added support for "class" directive content.
442 * docutils/parsers/rst/directives/images.py:
444   - Added ``indirect_reference_name`` support for images with a target
445     option.
446   - Added support for image width and height units.
447   - Fixed bug with image "target" options.
449 * docutils/parsers/rst/directives/references.py:
451   - Added "class" attribute to "target-notes" directive, for
452     footnote_reference classes.
454 * docutils/parsers/rst/include/: Directory added to project; contains
455   standard data files for the "include" directive.  Initial contents:
456   character entity substitution definition sets, and a set of
457   definitions for S5/HTML presentations.
459 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
460   mappings by David Goodger.
462 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
463   Simplified Chinese mappings by Panjunyong.
465 * docutils/readers/__init__.py:
467   - Added universal.Decorations and universal.ExposeInternals
468     transforms as default transforms for all readers.
469   - Added ``ReReader`` base class for readers that reread an existing
470     document tree.
472 * docutils/readers/doctree.py: Added to project; a reader for existing
473   document trees.
475 * docutils/transforms/frontmatter.py:
477   - Fixed the DocInfo transform to handle SVN-style expansion of the
478     "Date" keyword.
479   - In ``DocInfo.extract_authors``, treat the contents of "authors"
480     fields uniformly.
482 * docutils/transforms/misc.py:
484   - Added misc.Transitions transform, extracted from
485     universal.FinalChecks.
487 * docutils/transforms/references.py:
489   - Added references.DanglingReferences transform, extracted from
490     universal.FinalChecks.
491   - Fixed bug with doubly-indirect substitutions.
492   - Added footnote_reference classes attribute to "TargetNotes".
493   - Fixed bug with circular substitution definitions that put Docutils
494     into an infinite loop.
496 * docutils/transforms/universal.py:
498   - Added universal.ExposeInternals transform, extracted from
499     universal.FinalChecks.
500   - Removed universal.FinalChecks transform (logic has been moved to
501     several new transforms).
502   - Fixed bug with the "expose_internals" setting and Text nodes
503     (exposed by the "rawsource" internal attribute).
504   - Added the universal.StripComments transform, implementation of the
505     "strip_comments" setting.
507 * docutils/transforms/writer_aux.py: Added to project; auxiliary
508   transforms for writers.
510   - Added ``Compound`` transform, which flattens compound paragraphs.
512 * docutils/writers/: Several writer modules (html4css1.py) were
513   converted into packages.  Support modules and data files have been
514   moved into the packages.  The stylesheets for the HTML writers are
515   now installed along with the code, the code knows where to find
516   them, and the default is to use them (actually, to embed them).
517   Some adjustments to configuration files may be necessary.  The
518   easiest way to obtain the new default behavior is to remove all
519   settings whose name includes "stylesheet".
521 * docutils/writers/__init__.py:
523   - Added universal.Messages and universal.FilterMessages transforms
524     as default transforms for all writers.
525   - Added ``UnfilteredWriter`` base class for writers that pass the
526     document tree on unchanged.
528 * docutils/writers/docutils_xml.py:
530   - Made ``xmlcharrefreplace`` the default output encoding error
531     handler.
533 * docutils/writers/html4css1/:
535   - Added support for image width and height units.
536   - Made ``xmlcharrefreplace`` the default output encoding error
537     handler.
538   - Made ``--embed-stylesheet`` the default rather than
539     ``--link-stylesheet``.
540   - Moved "id" attribute from container (section etc.) to title's <a>
541     tag, to be on the same tag as "name".
542     (!!! To be reverted in Docutils 0.5.)
543   - Added vertical space between fields of field lists.
544   - Added ``--compact-field-lists`` option to remove vertical space in
545     simple field lists.
546   - Made cloaking of email addresses with ``--cloak-email-addresses``
547     less obtrusive.
548   - Fixed support for centered images.
549   - Added support for class="compact" & class="open" lists.
551 * docutils/writers/latex2e/:
553   - Underscores in citekeys are no longer escaped.
555 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
556   mapping of Unicode characters to LaTeX equivalents.
558 * docutils/writers/s5_html/: Package added to project; writer for
559   S5/HTML slide shows.
561 * docs/dev/distributing.txt: Added to project; guide for distributors
562   (package maintainers).
564 * docs/dev/hacking.txt: Added to project; guide for developers.
566 * docs/ref/doctree.txt:
568   - Updated for plural attributes "classes", "ids", "names",
569     "dupnames".
570   - Added the "container" element.
572 * docs/ref/docutils.dtd:
574   - Updated for plural attributes "classes", "ids", "names",
575     "dupnames".
577 * docs/user/emacs.txt: Added to project; a document about Emacs
578   support for reStructuredText and Docutils.
580 * docs/user/links.txt: Added to project; lists of Docutils-related
581   links.
583 * docs/user/mailing-lists.txt: Added to project; information about
584   Docutils-related mailing lists and how to access them.
586 * docs/user/slide-shows.txt: Added to project; example of and docs for
587   the S5/HTML writer (``rst2s5.py`` front end).
589 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
590   Files", added to project.
592 * test/coverage.sh: Added to project; test coverage script.
594 * test/DocutilsTestSupport.py:
596   - Added support for specifying runtime settings at the suite level.
598 * test/test_functional.py:
600   - Added the ``clear_output_directory`` function.
601   - Added support for ``_test_more`` functions in functional test
602     config files.
604 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
606 * tools/rstpep2html.py: Renamed from pep.py.
608 * tools/dev/create_unimap.py: Added to project; script to create the
609   docutils/writers/unimap_latex.py mapping file.
611 * tools/dev/profile_docutils.py: Added to project; profiler script.
613 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
615 * tools/editors/emacs/restructuredtext.el,
616   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
617   Removed from project; the functionality is now contained in rst.el.
619 * tools/editors/emacs/rst.el: Added to project.  Added many features
620   and fixed many bugs.  See docs/user/emacs.txt for details.
622 * tools/stylesheets: Removed from project.  Stylesheets have been
623   renamed and moved into writer packages.
626 Release 0.3.9 (2005-05-26)
627 ==========================
629 * General:
631   - Eliminated and replaced all uses of the old string attributes
632     ``id``, ``name``, ``dupname`` and ``class`` with references to the
633     new list attributes ``ids``, ``names``, ``dupnames`` and
634     ``classes`` throughout the whole source tree.
636 * docutils/core.py:
638   - Enabled ``--dump-*`` options when ``--traceback`` specified,
639     allowing for easier debugging.
640   - In ``Publisher.publish()``, expanded the generic top-level
641     exception catching.
643 * docutils/examples.py:
645   - Added ``internals`` function for exploration.
647 * docutils/io.py:
649   - Fixed ``Input.decode`` method to apply heuristics only if no
650     encoding is explicitly given, and to provide better reporting of
651     decoding errors.
652   - The ``Input.decode`` method now removes byte order marks (BOMs)
653     from input streams.
655 * docutils/nodes.py:
657   - ``image`` element class changed to subclass of Element, not
658     TextElement (it's an empty element, and cannot contain text).
659   - Added ``attr_defaults`` dictionary for default attribute values.
660   - Added empty list as default value for the following attributes:
661     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
662   - Added ``document.decoration`` attribute,
663     ``document.get_decoration`` method, and ``decoration.get_header``
664     & ``.get_footer`` methods.
665   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
666     methods.
668 * docutils/utils.py:
670   - Removed ``docutils.utils.Reporter.categories``,
671     ``docutils.utils.ConditionSet``, and all references to them, to
672     simplify error reporting.
674 * docutils/languages/nl.py: Added to project; Dutch mappings by
675   Martijn Pieters.
677 * docutils/parsers/rst/__init__.py:
679   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
681 * docutils/parsers/rst/states.py:
683   - Added check for escaped at-mark to prevent email address recognition.
684   - Fixed option lists to allow spaces inside ``<angle-bracketed option
685     arguments>``.
686   - Allowed whitespace in paths and URLs.
687   - Added auto-enumerated list items.
688   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
689     followed by text.
690   - Added support for table stub columns.
692 * docutils/parsers/rst/directives/__init__.py:
694   - Allowed whitespace in paths (``path`` function).
695   - Added ``uri`` directive option conversion function.
697 * docutils/parsers/rst/directives/body.py:
699   - Fixed illegal context bug with "topic" directive (allowed within
700     sidebars; not within body elements).
702 * docutils/parsers/rst/directives/images.py:
704   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
705   - Added support for the ``file_insertion_enabled`` setting in the
706     "figure" directive (disables "figwidth" option).
707   - "image" directive: added checks for valid values of "align" option,
708     depending on context.  "figure" directive: added specialized
709     "align" option and attribute on "figure" element.
710   - Made ":figwidth: image" option of "figure" directive work again.
711   - Fixed bug with reference names containing uppercase letters
712     (e.g. ``Name_``) in "target" option of "image" directive.
714 * docutils/parsers/rst/directives/misc.py:
716   - Fixed "include" and "raw" directives to catch text decoding
717     errors.
718   - Allowed whitespace in "include" & "raw" directive paths.
719   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
720     settings in "include" & "raw" directives.
722 * docutils/parsers/rst/directives/parts.py:
724   - Added "header" & "footer" directives.
725   - Fixed illegal context bug with "contents" directive (topics
726     allowed within sidebars; not within body elements).
728 * docutils/parsers/rst/directives/tables.py:
730   - Added "list-table" directive.
731   - Caught empty CSV table bug.
732   - Added support for the ``file_insertion_enabled`` setting in the
733     "csv-table" directive.
734   - Added ``stub-columns`` option to "csv-table" and "list-table"
735     directives.
737 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
738   mappings by Martijn Pieters.
740 * docutils/readers/standalone.py:
742   - Added ``--section-subtitles`` and ``--no-section-subtitles``
743     options to activate or deactivate the SectSubTitle transform.
745 * docutils/transforms/frontmatter.py:
747   - Added SectSubTitle transform to promote titles of lone
748     subsections to subtitles.
750 * docutils/transforms/references.py:
752   - Fixed mislocated internal targets bug, by propagating internal
753     targets to the next node, making use of the newly added support
754     for multiple names and IDs.
755   - Fixed duplicate footnote label bug.
756   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
757     transform.
759 * docutils/writers/html4css1.py:
761   - Fixed unencoded stylesheet reference bug (characters like "&" in
762     stylesheet references).
763   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
764     tags).
765   - Added support for multiple IDs per node by creating empty ``span``
766     tags.
767   - Added the ``field_name_limit`` & ``option_limit`` settings &
768     support.
769   - Added support for table stub columns.
770   - Added support for the ``align`` attribute on ``figure`` elements.
771   - Added the ``cloak_email_addresses`` setting & support.
772   - Added ``html_prolog``, ``html_head``, ``html_body``,
773     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
774     ``docutils.core.publish_parts``.
775   - Added support for section subtitles.
777 * docutils/writers/latex2e.py:
779   - Fixed tables starting with more than one multirow cell.
780   - Improved --use-latex-docinfo so that organization/contact/address
781     fields are lumped with the last author field and appear on the
782     titlepage.
783   - Made sure the titlepage is always shown with --use-latex-docinfo,
784     even if the document has no title.
785   - Made sure that latex doesn't fill in today's date if no date field
786     was given.
787   - Added support for section subtitles.
789 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
790   (under development).
792 * docutils/writers/null.py: Added to project; a do-nothing Writer.
794 * docs/api/publisher.txt:
796   - Added "``publish_parts`` Details" section.
798 * docutils/dev/repository.txt: Added to project; information about the
799   Docutils Subversion repository.
801 * docs/ref/docutils.dtd:
803   - Added a ``stub`` attribute to the ``colspec`` element via the
804     ``tbl.colspec.att`` parameter entity.
805   - Allowed topic elements within sidebars
806   - Added an ``align`` attribute to the ``figure`` element.
808 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
809   writer.
812 Release 0.3.7 (2004-12-24)
813 ==========================
815 * docutils/frontend.py:
817   - Added options: --input-encoding-error-handler,
818     --record-dependencies, --leave-footnote-reference-space,
819     --strict-visitor.
820   - Added command-line and config file support for "overrides" setting
821     parameter.
823 * docutils/io.py:
825   - Added support for input encoding error handler.
827 * docutils/nodes.py:
829   - Added dispatch_visit and dispatch_departure methods to
830     NodeVisitor; useful as a hook for Visitors.
831   - Changed structure of ``line_block``; added ``line``.
832   - Added ``compound`` node class.
833   - Added a mechanism for Visitors to transitionally ignore new node
834     classes.
836 * docutils/utils.py:
838   - Moved ``escape2null`` and ``unescape`` functions from
839     docutils/parsers/rst/states.py.
841 * docutils/parsers/rst/roles.py:
843   - Added "raw" role.
844   - Changed role function API: the "text" parameter now takes
845     null-escaped interpreted text content.
847 * docutils/parsers/rst/states.py:
849   - Fixed bug where a "role" directive in a nested parse would crash
850     the parser; the state machine's "language" attribute was not being
851     copied over.
852   - Added support for line block syntax.
853   - Fixed directive parsing bug: argument-less directives didn't
854     notice that arguments were present.
855   - Removed error checking for transitions.
856   - Added support for multiple classifiers in definition list items.
857   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
858   - Changed role function API: the "text" parameter now takes
859     null-escaped interpreted text content.
860   - Empty sections and documents are allowed now.
862 * docutils/parsers/rst/directives/__init__.py:
864   - Added ``encoding`` directive option conversion function.
865   - Allow multiple class names in class_option conversion function.
867 * docutils/parsers/rst/directives/body.py:
869   - Converted the line-block directive to use the new structure.
870   - Extracted the old line-block functionality to the ``block``
871     function (still used).
872   - Added ``compound`` directive (thanks to Lea Wiemann).
874 * docutils/parsers/rst/directives/misc.py:
876   - Added "encoding" option to "include" and "raw" directives.
877   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
878   - Allow multiple class names in the "class" directive.
880 * docutils/parsers/rst/directives/parts.py:
882   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
883     options.  Thanks to Lele Gaifax.
885 * docutils/parsers/rst/directives/tables.py:
887   - Added "encoding" directive to "csv-table" directive.
888   - Added workaround for lack of Unicode support in csv.py, for
889     non-ASCII CSV input.
891 * docutils/transforms/misc.py:
893   - Fixed bug when multiple "class" directives are applied to a single
894     element.
895   - Enabled multiple format names for "raw" directive.
897 * docutils/transforms/references.py:
899   - Added support for trimming whitespace from beside substitution
900     references.
902 * docutils/transforms/universal.py:
904   - FinalChecks now checks for illegal transitions and moves
905     transitions between sections.
907 * docutils/writers/html4css1.py:
909   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
910   - "stylesheet" and "stylesheet_path" settings are now mutually
911     exclusive.
912   - Added support for the new line_block/line structure.
913   - --footnote-references now overrides
914     --trim-footnote-reference-space, if applicable.
915   - Added support for ``compound`` elements.
916   - Enabled multiple format names for "raw" directive.
917   - ``<p>`` tags of a paragraph which is the only visible child of the
918     document node are no longer stripped.
919   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
920     new method ``should_be_compact_paragraph()``.
921   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
922     elements.
923   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
924     the output if they have their ``class`` attribute set.
925   - The whole document is now surrounded by a ``<div
926     class="document">`` element.
927   - Body-level images are now wrapped by their own ``<div>`` elements,
928     with image classes copied to the wrapper, and for images which
929     have the ``:align:`` option set, the surrounding ``<div>`` now
930     receives a class attribute (like ``class="align-left"``).
932 * docutils/writers/latex2e.py:
934   - no newline after depart_term.
935   - Added translations for some Unicode quotes.
936   - Added option "font-encoding", made package AE the default.
937   - "stylesheet" and "stylesheet_path" settings are now mutually
938     exclusive.
939   - --footnote-references now overrides
940     --trim-footnote-reference-space, if applicable.
941   - The footnote label style now matches the footnote reference style
942     ("brackets" or "superscript").
943   - Added support for ``compound`` elements.
944   - Enabled multiple format names for "raw" directive.
946 * docs/ref/docutils.dtd:
948   - Changed structure of the ``line_block`` element; added ``line``.
949   - Added ``compound`` element.
950   - Added "ltrim" and "rtrim" attributes to
951     ``substitution_definition`` element.
952   - Enabled multiple format names for ``raw`` element.
953   - Enabled multiple classifiers in ``definition_list_item`` elements.
955 * docs/ref/rst/directives.txt
957   - Marked "line-block" as deprecated.
958   - "Class" directive now allows multiple class names.
959   - Added "Rationale for Class Attribute Value Conversion".
960   - Added warning about "raw" overuse/abuse.
962 * docs/ref/rst/restructuredtext.txt:
964   - Added syntax for line blocks.
965   - Definition list items may have multiple classifiers.
967 * docs/ref/rst/roles.txt:
969   - Added "raw" role.
971 * tools/stylesheets/default.css:
973   - Added support for the new line_block structure.
974   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
977 Release 0.3.5 (2004-07-29)
978 ==========================
980 General:
982 * _`Documentation cleanup/reorganization`.
984   - Created new subdirectories of docs/:
986     * ``docs/user/``: introductory/tutorial material for end-users
987     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
988     * ``docs/api/``: API reference material for client-developers
989     * ``docs/ref/``: reference material for all groups
990     * ``docs/howto/``: for component-developers and core-developers
991     * ``docs/peps/``: Python Enhancement Proposals
993   - Moved ``docs/*`` to ``docs/user/``.
994   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
995     ``spec/`` to ``docs/dev``.
996   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
997     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
998   - Moved ``alternatives.txt``, and ``problems.txt`` from
999     ``spec/rst/`` to ``docs/dev/rst/``.
1000   - Moved ``reStructuredText.txt``, ``directives.txt``,
1001     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
1002     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
1003     ``roles.txt``, ``reStructuredText.txt`` to
1004     ``restructuredtext.txt``.
1005   - Moved ``spec/howto/`` to ``docs/howto``.
1007   In order to keep the CVS history of moved files, we supplied
1008   SourceForge with a `script for modifying the Docutils CVS
1009   repository`__.
1011   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
1013   After running the cleanup script:
1015   - Added ``docs/index.txt``.
1016   - Added a ``.htaccess`` file to the ``web`` module, containing
1017     redirects for all old paths to new paths.  They'll preserve
1018     fragments (the "#name" part of a URL), and won't clutter up the
1019     file system, and will correct the URL in the user's browser.
1020   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
1021     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
1022     the "To Do" list itself in ``docs/dev/todo.txt``.
1023   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
1024     section of ``docs/dev/todo.txt``.
1025   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
1026   - Added "How To Report Bugs" to ``BUGS.txt``.
1027   - Went through all the sources and docs (including under web/) and
1028     updated links.  Mostly done by Lea Wiemann; thanks Lea!
1029     (Still need to update links in the sandboxes.)
1031 Specific:
1033 * BUGS.txt: Added to project.
1035 * THANKS.txt: Added to project.
1037 * docutils/__init__.py:
1039   - 0.3.4: Post-release.
1041 * docutils/core.py:
1043   - Added special error handling & advice for UnicodeEncodeError.
1044   - Refactored Publisher.publish (simplified exception handling &
1045     extracted debug dumps).
1046   - Renamed "enable_exit" parameter of convenience functions to
1047     "enable_exit_status".
1048   - Enabled traceback (exception propagation) by default in
1049     programmatic convenience functions.
1050   - Now publish_file and publish_cmdline convenience functions return
1051     the encoded string results in addition to their regular I/O.
1052   - Extracted common code from publish_file, publish_string, and
1053     publish_parts, into new publish_programmatically.  Extracted
1054     settings code to ``Publisher.process_programmatic_settings``.
1055   - In Publisher.publish, disabled ``settings_overrides`` when
1056     ``settings`` is supplied; redundant.
1058 * docutils/frontend.py:
1060   - Added help text for "--output-encoding-error-handler" and
1061     "--error-encoding-error-handler".
1062   - Renamed "--exit" to "--exit-status".
1063   - Simplified default-setting code.
1065 * docutils/parsers/rst/__init__.py:
1067   - Added "--pep-base-url" and "--rfc-base-url" options.
1069 * docutils/parsers/rst/states.py:
1071   - Made URI recognition more aggressive and intelligent.
1073 * docutils/parsers/rst/directives/__init__.py:
1075   - Added several directive option conversion functions.
1077 * docutils/parsers/rst/directives/body.py:
1079   - Moved "table" directive to tables.py.
1081 * docutils/parsers/rst/directives/tables.py: Table-related directives,
1082   added to project.
1084 * docutils/writers/latex2e.py:
1086   - Added "--table-style=(standard|booktabs|nolines)"
1087   - figures get "here" option (LaTeX per default puts them at bottom),
1088     and figure content is centered.
1089   - Rowspan support for tables.
1090   - Fix: admonition titles before first section.
1091   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
1092   - Replave ``_`` in literal by an underlined blank, because it has the correct
1093     width.
1094   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
1095   - A few unicode replacements, if output_encoding != utf
1096   - Add "--graphicx-option".
1097   - Indent literal-blocks.
1098   - Fix: omit ``\maketitle`` when there is no document title.
1100 * docs/index.txt: "Docutils Project Documentation Overview", added to
1101   project.
1103 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
1104   Tool", added to project.
1106 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
1108 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
1110 * docs/dev/policies.txt: Added to project (extracted from
1111   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1113 * docs/dev/release.txt: Added to project (extracted from
1114   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1116 * docs/dev/testing.txt: Added to project.
1118 * docs/dev/website.txt: Added to project (extracted from
1119   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1121 * docs/ref/rst/directives.txt:
1123   - Added directives: "table", "csv-table".
1125 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1126   added to project.  1 page for syntax, and a 1 page reference for
1127   directives and roles.  Source text to be used as-is; not meant to be
1128   converted to HTML.
1130 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1131   with a change of title.
1133 * test/functional/, contents, and test/test_functional.py: Added to
1134   project.
1136 * tools/buildhtml.py: Fixed bug with config file handling.
1138 * tools/html.py: Removed from project (duplicate of rst2html.py).
1140 * tools/pep2html.py: Removed from project (duplicate of Python's
1141   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1142   Docutils-related PEPs in docs/peps/).
1144 * tools/rst2pseudoxml.py: Renamed from publish.py.
1146 * tools/rst2xml.py: Renamed from docutils-xml.py.
1148 * tools/test.txt: Removed from project; moved to
1149   docs/user/rst/demo.txt.
1151 * setup.py: Now also installs ``rst2latex.py``.
1154 Release 0.3.3 (2004-05-09)
1155 ==========================
1157 * docutils/__init__.py:
1159   - 0.3.1: Reorganized config file format (multiple sections); see
1160     docs/config.txt.
1161   - Added unknown_reference_resolvers attribute to TransformSpec.
1162   - 0.3.2: Interpreted text reorganization.
1163   - 0.3.3: Released.
1165 * docutils/core.py:
1167   - Catch system messages to stop tracebacks from parsing errors.
1168   - Catch exceptions during processing report & exit without
1169     tracebacks, except when "--traceback" used.
1170   - Reordered components for OptionParser; application comes last.
1171   - Added "config_section" parameter to several methods and functions,
1172     allowing front ends to easily specify their config file sections.
1173   - Added publish_parts convenience function to allow access to individual
1174     parts of a document.
1176 * docutils/examples.py: Added to project; practical examples of
1177   Docutils client code, to be used as-is or as models for variations.
1179 * docutils/frontend.py:
1181   - Added "--traceback" & "--no-traceback" options ("traceback"
1182     setting).
1183   - Implemented support for config file reorganization:
1184     ``standard_config_files`` moved from ``ConfigParser`` to
1185     ``OptionParser``; added
1186     ``OptionParser.get_config_file_settings()`` and
1187     ``.get_standard_config_settings()``; support for old "[options]"
1188     section (with deprecation warning) and mapping from old to new
1189     settings.
1190   - Reimplemented setting validation.
1191   - Enabled flexible boolean values: yes/no, true/false, on/off.
1192   - Added ``Values``, a subclass of ``optparse.Values``, with support
1193     for list setting attributes.
1194   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1195     thanks to Beni Cherniavsky.
1196   - Added "--no-section-numbering" option.
1198 * docutils/io.py:
1200   - Catch IOErrors when opening source & destination files, report &
1201     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1202     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1204 * docutils/nodes.py:
1206   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1207     method definitions (via ``exec``) to dynamic assignments (via
1208     ``setattr``); thanks to Roman Suzi.
1209   - Encapsulated visitor dynamic assignments in a function; thanks to
1210     Ian Bicking.
1211   - Added indirect_reference_name attribute to the Targetable
1212     class. This attribute holds the whitespace_normalized_name
1213     (contains mixed case) of a target.
1215 * docutils/statemachine.py:
1217   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1218   - Added ``StringList.get_2D_block``.
1220 * docutils/utils.py:
1222   - Added "level" attribute to SystemMessage exceptions.
1224 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1225   Jannie Hofmeyr.
1227 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1228   Blaha.
1230 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1231   Marcelo Huerta San Martin.
1233 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1234   mappings by Lalo Martins.
1236 * docutils/languages/ru.py: Added to project; Russian mappings by
1237   Roman Suzi.
1239 * docutils/parsers/rst/roles.py: Added to project.  Contains
1240   interpreted text role functions, a registry for interpreted text
1241   roles, and an API for adding to and retrieving from the registry.
1242   Contributed by Edward Loper.
1244 * docutils/parsers/rst/states.py:
1246   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1247   - Allowed true em-dash character and "---" as block quote
1248     attribution marker.
1249   - Added support for <angle-bracketed> complex option arguments
1250     (option lists).
1251   - Fixed handling of backslashes in substitution definitions.
1252   - Fixed off-by-1 error with extra whitespace after substitution
1253     definition directive.
1254   - Added inline markup parsing to field lists' field names.
1255   - Added support for quoted (and unindented) literal blocks.
1256     Driven in part by a bribe from Frank Siebenlist (thanks!).
1257   - Parser now handles escapes in URIs correctly.
1258   - Made embedded-URIs' reference text omittable.  Idea from Beni
1259     Cherniavsky.
1260   - Refactored explicit target processing code.
1261   - Added name attribute to references containing the reference name only
1262     through whitespace_normalize_name (no case changes).
1263   - parse_target no longer returns the refname after going through
1264     normalize_name. This is now handled in make_target.
1265   - Fixed bug relating to role-less interpreted text in non-English
1266     contexts.
1267   - Reorganized interpreted text processing; moved code into the new
1268     roles.py module.  Contributed by Edward Loper.
1269   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1270     ``parse_directive_block``.
1272 * docutils/parsers/rst/tableparser.py:
1274   - Reworked for ``StringList``, to support "include" directives in
1275     table cells.
1277 * docutils/parsers/rst/directives/__init__.py:
1279   - Renamed ``unchanged()`` directive option conversion function to
1280     ``unchanged_required``, and added a new ``unchanged``.
1281   - Catch unicode value too high error; fixes bug 781766.
1282   - Beefed up directive error reporting.
1284 * docutils/parsers/rst/directives/body.py:
1286   - Added basic "table" directive.
1288 * docutils/parsers/rst/directives/images.py:
1290   - Added "target" option to "image" directive.
1291   - Added name attribute to references containing the reference name only
1292     through whitespace_normalize_name (no case changes).
1294 * docutils/parsers/rst/directives/misc.py:
1296   - Isolated the import of the ``urllib2`` module; was causing
1297     problems on SourceForge (``libssl.so.2`` unavailable?).
1298   - Added the "role" directive for declaring custom interpreted text
1299     roles.
1301 * docutils/parsers/rst/directives/parts.py:
1303   - The "contents" directive does more work up-front, creating the
1304     "topic" and "title", and leaving the "pending" node for the
1305     transform.  Allows earlier reference resolution; fixes subtle bug.
1307 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1308   mappings by Jannie Hofmeyr.
1310 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1311   mappings by Marek Blaha.
1313 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1314   mappings by Marcelo Huerta San Martin.
1316 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1317   Portuguese mappings by Lalo Martins.
1319 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1320   mappings by Roman Suzi.
1322 * docutils/transforms/parts.py:
1324   - The "contents" directive does more work up-front, creating the
1325     "topic" and "title", and leaving the "pending" node for the
1326     transform.  Allows earlier reference resolution; fixes subtle bug.
1327   - Added support for disabling of section numbering.
1329 * docutils/transforms/references.py:
1331   - Verifying that external targets are truly targets and not indirect
1332     references. This is because we are now adding a "name" attribute to
1333     references in addition to targets. Note sure if this is correct!
1334   - Added code to hook into the unknown_reference_resolvers list for a
1335     transformer in resolve_indirect_target. This allows the
1336     unknown_reference_resolvers to keep around indirect targets which
1337     docutils doesn't know about.
1338   - Added specific error message for duplicate targets.
1340 * docutils/transforms/universal.py:
1342   - Added FilterMessages transform (removes system messages below the
1343     verbosity threshold).
1344   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1345     to FinalCheckVisitor for application-specific handling of
1346     unresolvable references.
1347   - Added specific error message for duplicate targets.
1349 * docutils/writers/__init__.py:
1351   - Added assemble_parts method to the Writer class to allow for
1352     access to a documents individual parts.
1353   - Documented & set default for ``Writer.output`` attribute.
1355 * docutils/writers/html4css1.py:
1357   - Fixed unicode handling of attribute values (bug 760673).
1358   - Prevent duplication of "class" attribute values (bug report from
1359     Kirill Lapshin).
1360   - Improved table grid/border handling (prompted by report from Bob
1361     Marshall).
1362   - Added support for table titles.
1363   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1364     to Darek Suchojad.
1365   - Added functionality to keep track of individual parts of a document
1366     and store them in a dictionary as the "parts" attribute of the writer.
1367     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1368   - Added proper support for the "scale" attribute of the "image"
1369     element.  Contributed by Brent Cook.
1370   - Added ``--initial-header-level`` option.
1371   - Fixed bug: the body_pre_docinfo segment depended on there being a
1372     docinfo; if no docinfo, the document title was incorporated into
1373     the body segment.  Adversely affected the publish_parts interface.
1375 * docutils/writers/latex2e.py:
1377   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1378     about a missing file.
1379   - Added options and support: ``--compound-enumerators``,
1380     ``--section-prefix-for-enumerators``, and
1381     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1382     934322).
1383   - Added option ``--use-verbatim-when-possible``, to avoid
1384     problematic characters (eg, '~' in italian) in literal blocks.
1385   - It's now possible to use four section levels in the `book` and
1386     `report` LaTeX classes.  The default `article` class still has
1387     three levels limit.
1389 * docs/config.txt: "Docutils Configuration Files", added to project.
1390   Moved config file entry descriptions from tools.txt.
1392 * docs/tools.txt:
1394   - Moved config file entry descriptions to config.txt.
1396 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
1397   Development".
1399 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1400   Text Roles", added to project.
1402 * spec/rst/reStructuredText.txt:
1404   - Added description of support for <angle-bracketed> complex option
1405     arguments to option lists.
1406   - Added subsections for indented and quoted literal blocks.
1408 * test: Continually adding & updating tests.
1410   - Added test/test_settings.py & test/data/config_*.txt support
1411     files.
1412   - Added test/test_writers/test_htmlfragment.py.
1414 * test/DocutilsTestSupport.py:
1416   - Refactored LaTeX publisher test suite/case class names to make
1417     testing other writers easier.
1418   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1419     to test the processing of HTML fragments which use the new
1420     publish_parts convenience function.
1422 * tools/buildhtml.py:
1424   - Added support for the "--prune" option.
1425   - Removed dependency on pep2html.py; plaintext PEPs no longer
1426     supported.
1428 * tools/docutils.conf:
1430   - Updated for configuration file reorganization.
1432 * tools/rst2html.py:
1434   - copied from tools/html.py
1436 * setup.py:
1438   - added a 'scripts' section to configuration
1439   - added 'tools/rst2html.py' to the scripts section
1442 Release 0.3 (2003-06-24)
1443 ========================
1445 General:
1447 * Renamed "attribute" to "option" for directives/extensions.
1449 * Renamed transform method "transform" to "apply".
1451 * Renamed "options" to "settings" for runtime settings (as set by
1452   command-line options).  Sometimes "option" (singular) became
1453   "settings" (plural).  Some variations below:
1455   - document.options -> document.settings (stored in other objects as
1456     well)
1457   - option_spec -> settings_spec (not directives though)
1458   - OptionSpec -> SettingsSpec
1459   - cmdline_options -> settings_spec
1460   - relative_path_options -> relative_path_settings
1461   - option_default_overrides -> settings_default_overrides
1462   - Publisher.set_options -> Publisher.get_settings
1464 Specific:
1466 * COPYING.txt: Added "Public Domain Dedication".
1468 * FAQ.txt: Frequently asked questions, added to project.
1470 * setup.py:
1472   - Updated with PyPI Trove classifiers.
1473   - Conditional installation of third-party modules.
1475 * docutils/__init__.py:
1477   - Bumped version to 0.2.1 to reflect changes to I/O classes.
1478   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1479   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1480   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1481     option and its effect on the PEP template & writer.
1482   - Bumped version to 0.2.4 due to changes to the PEP template &
1483     stylesheet.
1484   - Bumped version to 0.2.5 to reflect changes to Reporter output.
1485   - Added ``TransformSpec`` class for new transform system.
1486   - Bumped version to 0.2.6 for API changes (renaming).
1487   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1488     convenience functions.
1489   - Added ``Component.component_type`` attribute.
1490   - Bumped version to 0.2.8 because of the internal parser switch from
1491     plain lists to the docutils.statemachine.StringList objects.
1492   - Bumped version to 0.2.9 because of the frontend.py API changes.
1493   - Bumped version to 0.2.10 due to changes to the project layout
1494     (third-party modules removed from the "docutils" package), and
1495     signature changes in ``io.Input``/``io.Output``.
1496   - Changed version to 0.3.0 for release.
1498 * docutils/core.py:
1500   - Made ``publish()`` a bit more convenient.
1501   - Generalized ``Publisher.set_io``.
1502   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1503     parameters; improved its docstring.
1504   - Added ``publish_file()`` and ``publish_string()``.
1505   - Factored ``Publisher.set_source()`` and ``.set_destination()``
1506     out of ``.set_io``.
1507   - Added support for "--dump-pseudo-xml", "--dump-settings", and
1508     "--dump-transforms" hidden options.
1509   - Added ``Publisher.apply_transforms()`` method.
1510   - Added ``Publisher.set_components()`` method; support for
1511     ``publish_*()`` conveninece functions.
1512   - Moved config file processing to docutils/frontend.py.
1513   - Added support for exit status ("exit_level" setting &
1514     ``enable_exit`` parameter for Publisher.publish() and convenience
1515     functions).
1517 * docutils/frontend.py:
1519   - Check for & exit on identical source & destination paths.
1520   - Fixed bug with absolute paths & "--config".
1521   - Set non-command-line defaults in ``OptionParser.__init__()``:
1522     ``_source`` & ``_destination``.
1523   - Distributed ``relative_path_settings`` to components; updated
1524     ``OptionParser.populate_from_components()`` to combine it all.
1525   - Require list of keys in ``make_paths_absolute`` (was implicit in
1526     global ``relative_path_settings``).
1527   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1528     "--dump-settings", and "--dump-transforms" hidden options.
1529   - Removed nasty internals-fiddling ``ConfigParser.get_section``
1530     code, replaced with correct code.
1531   - Added validation functionality for config files.
1532   - Added "--error-encoding" option/setting, "_disable_config"
1533     internal setting.
1534   - Added encoding validation; updated "--input-encoding" and
1535     "--output-encoding"; added "--error-encoding-error-handler" and
1536     "--output-encoding-error-handler".
1537   - Moved config file processing from docutils/core.py.
1538   - Updated ``OptionParser.populate_from_components`` to handle new
1539     ``SettingsSpec.settings_defaults`` dict.
1540   - Added support for "-" => stdin/stdout.
1541   - Added "exit_level" setting ("--exit" option).
1543 * docutils/io.py:
1545   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1546   - Added automatic closing to ``FileInput`` and ``FileOutput``.
1547   - Delayed opening of ``FileOutput`` file until ``write()`` called.
1548   - ``FileOutput.write()`` now returns the encoded output string.
1549   - Try to get path/stream name automatically in ``FileInput`` &
1550     ``FileOutput``.
1551   - Added defaults for source & destination paths.
1552   - Allow for Unicode I/O with an explicit "unicode" encoding.
1553   - Added ``Output.encode()``.
1554   - Removed dependency on runtime settings; pass encoding directly.
1555   - Recognize Unicode strings in ``Input.decode()``.
1556   - Added support for output encoding error handlers.
1558 * docutils/nodes.py:
1560   - Added "Invisible" element category class.
1561   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1562     modification during a traversal.
1563   - Added element classes: ``line_block``, ``generated``, ``address``,
1564     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1565     ``superscript``, ``subscript``, ``inline``
1566   - Added support for lists of nodes to ``Element.insert()``.
1567   - Fixed parent linking in ``Element.replace()``.
1568   - Added new abstract superclass ``FixedTextElement``; adds
1569     "xml:space" attribute.
1570   - Added support for "line" attribute of ``system_message`` nodes.
1571   - Added support for the observer pattern from ``utils.Reporter``.
1572     Added ``parse_messages`` and ``transform_messages`` attributes to
1573     ``document``, removed ``messages``.  Added ``note_parse_message``
1574     and ``note_transform_message`` methods.
1575   - Added support for improved diagnostics:
1577     - Added "document", "source", and "line" internal attributes to
1578       ``Node``, set by ``Node.setup_child()``.
1579     - Converted variations on ``node.parent = self`` to
1580       ``self.setup_child(node)``.
1581     - Added ``document.current_source`` & ``.current_line``
1582       attributes, and ``.note_source`` observer method.
1583     - Changed "system_message" output to GNU-Tools format.
1585   - Added a "rawsource" attribute to the ``Text`` class, for text
1586     before backslash-escape resolution.
1587   - Support for new transform system.
1588   - Reworked ``pending`` element.
1589   - Fixed XML DOM bug (SF #660611).
1590   - Removed the ``interpeted`` element class and added
1591     ``title_reference``, ``abbreviation``, ``acronym``.
1592   - Made substitutions case-sensitive-but-forgiving; moved some code
1593     from the parser.
1594   - Fixed Unicode bug on element attributes (report: William Dode).
1596 * docutils/optik.py: Removed from project; replaced with
1597   extras/optparse.py and extras/textwrap.py.  These will be installed
1598   only if they're not already present in the Python installation.
1600 * docutils/roman.py: Moved to extras/roman.py; this will be installed
1601   only if it's not already present in the Python installation.
1603 * docutils/statemachine.py:
1605   - Factored out ``State.add_initial_transitions()`` so it can be
1606     extended.
1607   - Converted whitespace-specific "blank" and "indent" transitions
1608     from special-case code to ordinary transitions: removed
1609     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
1610     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
1611     ``ws_initial_transitions`` attributes.
1612   - Removed ``State.match_transition()`` after merging it into
1613     ``.check_line()``.
1614   - Added ``StateCorrection`` exception.
1615   - Added support for ``StateCorrection`` in ``StateMachine.run()``
1616     (moved ``TransitionCorrection`` support there too.)
1617   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
1618     ``EOFError`` instead of ``IndexError``.
1619   - Added ``State.no_match`` method.
1620   - Added support for the Observer pattern, triggered by input line
1621     changes.
1622   - Added ``strip_top`` parameter to
1623     ``StateMachineWS.get_first_known_indented``.
1624   - Made ``context`` a parameter to ``StateMachine.run()``.
1625   - Added ``ViewList`` & ``StringList`` classes;
1626     ``extract_indented()`` becomes ``StringList.get_indented()``.
1627   - Added ``StateMachine.insert_input()``.
1628   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
1629     thanks to) Fred Drake.
1631 * docutils/utils.py:
1633   - Added a ``source`` attribute to Reporter instances and
1634     ``system_message`` elements.
1635   - Added an observer pattern to ``utils.Reporter`` to keep track of
1636     system messages.
1637   - Fixed bugs in ``relative_path()``.
1638   - Added support for improved diagnostics.
1639   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
1640   - Added support for encoding Reporter stderr output, and encoding
1641     error handlers.
1642   - Reporter keeps track of the highest level system message yet
1643     generated.
1645 * docutils/languages: Fixed bibliographic field language lookups.
1647 * docutils/languages/es.py: Added to project; Spanish mappings by
1648   Marcelo Huerta San Martin.
1650 * docutils/languages/fr.py: Added to project; French mappings by
1651   Stefane Fermigier.
1653 * docutils/languages/it.py: Added to project; Italian mappings by
1654   Nicola Larosa.
1656 * docutils/languages/sk.py: Added to project; Slovak mappings by
1657   Miroslav Vasko.
1659 * docutils/parser/__init__.py:
1661   - Added ``Parser.finish_parse()`` method.
1663 * docutils/parser/rst/__init__.py:
1665   - Added options: "--pep-references", "--rfc-references",
1666     "--tab-width", "--trim-footnote-reference-space".
1668 * docutils/parsers/rst/states.py:
1670   - Changed "title under/overline too short" system messages from INFO
1671     to WARNING, and fixed its insertion location.
1672   - Fixed enumerated list item parsing to allow paragraphs & section
1673     titles to begin with enumerators.
1674   - Converted system messages to use the new "line" attribute.
1675   - Fixed a substitution reference edge case.
1676   - Added support for "--pep-references" and "--rfc-references"
1677     options; reworked ``Inliner`` code to make customization easier.
1678   - Removed field argument parsing.
1679   - Added support for short section title over/underlines.
1680   - Fixed "simple reference name" regexp to ignore text like
1681     "object.__method__"; not an anonymous reference.
1682   - Added support for improved diagnostics.
1683   - Reworked directive API, based on Dethe Elza's contribution.  Added
1684     ``Body.parse_directive()``, ``.parse_directive_options()``,
1685     ``.parse_directive_arguments()`` methods.
1686   - Added ``ExtensionOptions`` class, to parse directive options
1687     without parsing field bodies.  Factored
1688     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
1689     ``ExtensionOptions``.
1690   - Improved definition list term/classifier parsing.
1691   - Added warnings for unknown directives.
1692   - Renamed ``Stuff`` to ``Struct``.
1693   - Now flagged as errors: transitions at the beginning or end of
1694     sections, empty sections (except title), and empty documents.
1695   - Updated for ``statemachine.StringList``.
1696   - Enabled recognition of schemeless email addresses in targets.
1697   - Added support for embedded URIs in hyperlink references.
1698   - Added backslash-escapes to inline markup end-string suffix.
1699   - Added support for correct interpreted text processing.
1700   - Fixed nested title parsing (topic, sidebar directives).
1701   - Added special processing of backslash-escaped whitespace (idea
1702     from David Abrahams).
1703   - Made substitutions case-sensitive-but-forgiving; moved some code
1704     to ``docutils.nodes``.
1705   - Added support for block quote attributions.
1706   - Added a kludge to work-around a conflict between the bubble-up
1707     parser strategy and short titles (<= 3 char-long over- &
1708     underlines).  Fixes SF bug #738803 "infinite loop with multiple
1709     titles" submitted by Jason Diamond.
1710   - Added explicit interpreted text roles for standard inline markup:
1711     "emphasis", "strong", "literal".
1712   - Implemented "superscript" and "subscript" interpreted text roles.
1713   - Added initial support for "abbreviation" and "acronym" roles;
1714     incomplete.
1715   - Added support for "--trim-footnote-reference-space" option.
1716   - Optional space before colons in directives & hyperlink targets.
1718 * docutils/parsers/rst/tableparser.py:
1720   - Fixed a bug that was producing unwanted empty rows in "simple"
1721     tables.
1722   - Detect bad column spans in "simple" tables.
1724 * docutils/parsers/rst/directives: Updated all directive functions to
1725   new API.
1727 * docutils/parsers/rst/directives/__init__.py:
1729   - Added ``flag()``, ``unchanged()``, ``path()``,
1730     ``nonnegative_int()``, ``choice()``, and ``class_option()``
1731     directive option helper functions.
1732   - Added warnings for unknown directives.
1733   - Return ``None`` for missing directives.
1734   - Added ``register_directive()``, thanks to William Dode and Paul
1735     Moore.
1737 * docutils/parsers/rst/directives/admonitions.py:
1739   - Added "admonition" directive.
1741 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
1742   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
1743   "parsed-literal", "rubric", "epigraph", "highlights" and
1744   "pull-quote" directives.
1746 * docutils/parsers/rst/directives/images.py:
1748   - Added an "align" attribute to the "image" & "figure" directives
1749     (by Adam Chodorowski).
1750   - Added "class" option to "image", and "figclass" to "figure".
1752 * docutils/parsers/rst/directives/misc.py:
1754   - Added "include", "raw", and "replace" directives, courtesy of
1755     Dethe Elza.
1756   - Added "unicode" and "class" directives.
1758 * docutils/parsers/rst/directives/parts.py:
1760   - Added the "sectnum" directive; by Dmitry Jemerov.
1761   - Added "class" option to "contents" directive.
1763 * docutils/parsers/rst/directives/references.py: Added to project.
1764   Contains the "target-notes" directive.
1766 * docutils/parsers/rst/languages/__init__.py:
1768   - Return ``None`` from get_language() for missing language modules.
1770 * docutils/parsers/rst/languages/de.py: Added to project; German
1771   mappings by Engelbert Gruber.
1773 * docutils/parsers/rst/languages/en.py:
1775   - Added interpreted text roles mapping.
1777 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
1778   mappings by Marcelo Huerta San Martin.
1780 * docutils/parsers/rst/languages/fr.py: Added to project; French
1781   mappings by William Dode.
1783 * docutils/parsers/rst/languages/it.py: Added to project; Italian
1784   mappings by Nicola Larosa.
1786 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
1787   mappings by Miroslav Vasko.
1789 * docutils/readers/__init__.py:
1791   - Added support for the observer pattern from ``utils.Reporter``, in
1792     ``Reader.parse`` and ``Reader.transform``.
1793   - Removed ``Reader.transform()`` method.
1794   - Added default parameter values to ``Reader.__init__()`` to make
1795     instantiation easier.
1796   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
1798 * docutils/readers/pep.py:
1800   - Added the ``peps.TargetNotes`` transform to the Reader.
1801   - Removed PEP & RFC reference detection code; moved to
1802     parsers/rst/states.py as options (enabled here by default).
1803   - Added support for pre-acceptance PEPs (no PEP number yet).
1804   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
1805     easy subclassing.
1807 * docutils/readers/python: Python Source Reader subpackage added to
1808   project, including preliminary versions of:
1810   - __init__.py
1811   - moduleparser.py: Parser for Python modules.
1813 * docutils/transforms/__init__.py:
1815   - Added ``Transformer`` class and completed transform reform.
1816   - Added unknown_reference_resolvers list for each transformer. This list holds
1817     the list of functions provided by each component of the transformer that
1818     help resolve references.
1820 * docutils/transforms/frontmatter.py:
1822   - Improved support for generic fields.
1823   - Fixed bibliographic field language lookups.
1825 * docutils/transforms/misc.py: Added to project.  Miscellaneous
1826   transforms.
1828 * docutils/transforms/parts.py:
1830   - Moved the "id" attribute from TOC list items to the references
1831     (``Contents.build_contents()``).
1832   - Added the ``SectNum`` transform; by Dmitry Jemerov.
1833   - Added "class" attribute support to ``Contents``.
1835 * docutils/transforms/peps.py:
1837   - Added ``mask_email()`` function, updating to pep2html.py's
1838     functionality.
1839   - Linked "Content-Type: text/x-rst" to PEP 12.
1840   - Added the ``TargetNotes`` PEP-specific transform.
1841   - Added ``TargetNotes.cleanup_callback``.
1842   - Added title check to ``Headers``.
1844 * docutils/transforms/references.py:
1846   - Added the ``TargetNotes`` generic transform.
1847   - Split ``Hyperlinks`` into multiple transforms.
1848   - Fixed bug with multiply-indirect references (report: Bruce Smith).
1849   - Added check for circular indirect references.
1850   - Made substitutions case-sensitive-but-forgiving.
1852 * docutils/transforms/universal.py:
1854   - Added support for the "--expose-internal-attributes" option.
1855   - Removed ``Pending`` transform classes & data.
1857 * docutils/writers/__init__.py:
1859   - Removed ``Writer.transform()`` method.
1861 * docutils/writers/docutils-xml.py:
1863   - Added XML and doctype declarations.
1864   - Added "--no-doctype" and "--no-xml-declaration" options.
1866 * docutils/writers/html4css1.py:
1868   - "name" attributes only on these tags: a, applet, form, frame,
1869     iframe, img, map.
1870   - Added "name" attribute to <a> in section titles for Netscape 4
1871     support (bug report: Pearu Peterson).
1872   - Fixed targets (names) on footnote, citation, topic title,
1873     problematic, and system_message nodes (for Netscape 4).
1874   - Changed field names from "<td>" to "<th>".
1875   - Added "@" to "&#64;" encoding to thwart address harvesters.
1876   - Improved the vertical whitespace optimization; ignore "invisible"
1877     nodes (targets, comments, etc.).
1878   - Improved inline literals with ``<span class="pre">`` around chunks
1879     of text and ``&nbsp;`` for runs of spaces.
1880   - Improved modularity of output; added ``self.body_pre_docinfo`` and
1881     ``self.docinfo`` segments.
1882   - Added support for "line_block", "address" elements.
1883   - Improved backlinks (footnotes & system_messages).
1884   - Improved system_message output.
1885   - Redefined "--stylesheet" as containing an invariant URL, used
1886     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
1887     working directory.
1888   - Added "--footnote-references" option (superscript or brackets).
1889   - Added "--compact-lists" and "--no-compact-lists" options.
1890   - Added "--embed-stylesheet" and "--link-stylesheet" options;
1891     factored out ``HTMLTranslator.get_stylesheet_reference()``.
1892   - Improved field list rendering.
1893   - Added Docutils version to "generator" meta tag.
1894   - Fixed a bug with images; they must be inline, so wrapped in <p>.
1895   - Improved layout of <pre> HTML source.
1896   - Fixed attribute typo on <colspec>.
1897   - Refined XML prologue.
1898   - Support for no stylesheet.
1899   - Removed "interpreted" element support.
1900   - Added support for "title_reference", "sidebar", "attribution",
1901     "rubric", and generic "admonition" elements.
1902   - Added "--attribution" option.
1903   - Added support for "inline", "subscript", "superscript" elements.
1904   - Added initial support for "abbreviation" and "acronym";
1905     incomplete.
1907 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
1908   (from the sandbox).
1910   - Added french.
1911   - Double quotes in literal blocks (special treatment for de/ngerman).
1912   - Added '--hyperlink-color' option ('0' turns off coloring of links).
1913   - Added  "--attribution" option.
1914   - Right align attributions.
1916 * docutils/writers/pep_html.py:
1918   - Parameterized output encoding in PEP template.
1919   - Reworked substitutions from ``locals()`` into ``subs`` dict.
1920   - Redefined "--pep-stylesheet" as containing an invariant URL, used
1921     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
1922     working directory.
1923   - Added an override on the "--footnote-references" option.
1924   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
1925   - Added Docutils version to "generator" meta tag.
1926   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
1928 * docs/tools.txt:
1930   - Added a "silent" setting for ``buildhtml.py``.
1931   - Added a "Getting Help" section.
1932   - Rearranged the structure.
1933   - Kept up to date, with new settings, command-line options etc.
1934   - Added section for ``rst2latex.py`` (Engelbert Gruber).
1935   - Converted settings table into a definition list.
1937 * docs/rst/quickstart.txt:
1939   - Added a table of contents.
1940   - Added feedback information.
1941   - Added mention of minimum section title underline lengths.
1942   - Removed the 4-character minimum for section title underlines.
1944 * docs/rst/quickref.html:
1946   - Added a "Getting Help" section.
1947   - Added a style to make section title backlinks more subtle.
1948   - Added mention of minimum section title underline lengths.
1949   - Removed the 4-character minimum for section title underlines.
1951 * extras: Directory added to project; contains third-party modules
1952   that Docutils depends on (optparse, textwrap, roman).  These are
1953   only installed if they're not already present.
1955 * licenses: Directory added to project; contains copies of license
1956   files for non-public-domain files.
1958 * spec/doctree.txt:
1960   - Changed the focus.  It's about DTD elements:  structural
1961     relationships, semantics, and external (public) attributes.  Not
1962     about the element class library.
1963   - Moved some implementation-specific stuff into ``docutils.nodes``
1964     docstrings.
1965   - Wrote descriptions of all common attributes and parameter
1966     entities.  Filled in introductory material.
1967   - Working through the element descriptions: 55 down, 37 to go.
1968   - Removed "Representation of Horizontal Rules" to
1969     spec/rst/alternatives.txt.
1971 * spec/docutils.dtd:
1973   - Added "generated" inline element.
1974   - Added "line_block" body element.
1975   - Added "auto" attribute to "title".
1976   - Changed content models of "literal_block" and "doctest_block" to
1977     ``%text.model``.
1978   - Added ``%number;`` attribute type parameter entity.
1979   - Changed ``%structural.elements;`` to ``%section.elements``.
1980   - Updated attribute types; made more specific.
1981   - Added "address" bibliographic element.
1982   - Added "line" attribute to ``system_message`` element.
1983   - Removed "field_argument" element; "field_name" may contain
1984     multiple words and whitespace.
1985   - Changed public identifier to docutils.sf.net.
1986   - Removed "interpreted" element; added "title_reference",
1987     "abbreviation", "acronym".
1988   - Removed "refuri" attribute from "footnote_reference" and
1989     "citation_reference".
1990   - Added "sidebar", "rubric", "attribution", "admonition",
1991     "superscript", "subscript", and "inline" elements.
1993 * spec/pep-0256.txt: Converted to reStructuredText & updated.
1995 * spec/pep-0257.txt: Converted to reStructuredText & updated.
1997 * spec/pep-0258.txt: Converted to reStructuredText & updated.
1999 * spec/semantics.txt: Updated with text from a Doc-SIG response to
2000   Dallas Mahrt.
2002 * spec/transforms.txt: Added to project.
2004 * spec/howto: Added subdirectory, for developer how-to docs.
2006 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
2007   Elza, edited & extended by David Goodger.
2009 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
2010   project.
2012 * spec/rst/alternatives.txt:
2014   - Added "Doctree Representation of Transitions" from
2015     spec/doctree.txt.
2016   - Updated "Inline External Targets" & closed the debate.
2017   - Added ideas for interpreted text syntax extensions.
2018   - Added "Nested Inline Markup" section.
2020 * spec/rst/directives.txt:
2022   - Added directives: "topic", "sectnum", "target-notes",
2023     "line-block", "parsed-literal", "include", "replace", "sidebar",
2024     "admonition", "rubric", "epigraph", "highlights", "unicode" and
2025     "class".
2026   - Formalized descriptions of directive details.
2027   - Added an "align" attribute to the "image" & "figure" directives
2028     (by Adam Chodorowski).
2029   - Added "class" options to "topic", "sidebar", "line-block",
2030     "parsed-literal", "contents", and "image"; and "figclass" to
2031     "figure".
2033 * spec/rst/interpreted.txt: Added to project.  Descriptions of
2034   interpreted text roles.
2036 * spec/rst/introduction.txt:
2038   - Added pointers to material for new users.
2040 * spec/rst/reStructuredText.txt:
2042   - Disambiguated comments (just add a newline after the "::").
2043   - Updated enumerated list description; added a discussion of the
2044     second-line validity checking.
2045   - Updated directive description.
2046   - Added a note redirecting newbies to the user docs.
2047   - Expanded description of inline markup start-strings in non-markup
2048     contexts.
2049   - Removed field arguments and made field lists a generic construct.
2050   - Removed the 4-character minimum for section title underlines.
2051   - Clarified term/classifier delimiter & inline markup ambiguity
2052     (definition lists).
2053   - Added "Embedded URIs".
2054   - Updated "Interpreted Text" section.
2055   - Added "Character-Level Inline Markup" section.
2057 * test: Continually adding & updating tests.
2059   - Moved test/test_rst/ to test/test_parsers/test_rst/.
2060   - Moved test/test_pep/ to test/test_readers/test_pep/.
2061   - Added test/test_readers/test_python/.
2062   - Added test/test_writers/ (Engelbert Gruber).
2064 * tools:
2066   - Made the ``locale.setlocale()`` calls in front ends
2067     fault-tolerant.
2069 * tools/buildhtml.py:
2071   - Added "--silent" option.
2072   - Fixed bug with absolute paths & "--config".
2073   - Updated for new I/O classes.
2074   - Added some exception handling.
2075   - Separated publishers' setting defaults; prevents interference.
2076   - Updated for new ``publish_file()`` convenience function.
2078 * tools/pep-html-template:
2080   - Allow for "--embed-stylesheet".
2081   - Added Docutils version to "generator" meta tag.
2082   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2083   - Conform to XHTML spec.
2085 * tools/pep2html.py:
2087   - Made ``argv`` a parameter to ``main()``.
2088   - Added support for "Content-Type:" header & arbitrary PEP formats.
2089   - Linked "Content-Type: text/plain" to PEP 9.
2090   - Files skipped (due to an error) are not pushed onto the server.
2091   - Updated for new I/O classes.
2092   - Added ``check_requirements()`` & ``pep_type_error()``.
2093   - Added some exception handling.
2094   - Updated for new ``publish_string()`` convenience function.
2095   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
2097 * tools/quicktest.py:
2099   - Added "-V"/"--version" option.
2101 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
2103 * tools/unicode2rstsubs.py: Added to project.  Produces character
2104   entity files (reSructuredText substitutions) from the MathML master
2105   unicode.xml file.
2107 * tools/editors: Support code for editors, added to project.  Contains
2108   ``emacs/restructuredtext.el``.
2110 * tools/stylesheets/default.css: Moved into the stylesheets directory.
2112   - Added style for chunks of inline literals.
2113   - Removed margin for first child of table cells.
2114   - Right-aligned field list names.
2115   - Support for auto-numbered section titles in TOCs.
2116   - Increased the size of inline literals (<tt>) in titles.
2117   - Restored the light gray background for inline literals.
2118   - Added support for "line_block" elements.
2119   - Added style for "address" elements.
2120   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2121   - Improved field list rendering.
2122   - Vertical whitespace improvements.
2123   - Removed "a.target" style.
2125 * tools/stylesheets/pep.css:
2127   - Fixed nested section margins.
2128   - Other changes parallel those of ``../default.css``.
2131 Release 0.2 (2002-07-31)
2132 ========================
2134 General:
2136 - The word "component" was being used ambiguously.  From now on,
2137   "component" will be used to mean "Docutils component", as in Reader,
2138   Writer, Parser, or Transform.  Portions of documents (Table of
2139   Contents, sections, etc.)  will be called "document parts".
2140 - Did a grand renaming: a lot of ``verylongnames`` became
2141   ``very_long_names``.
2142 - Cleaned up imports: no more relative package imports or
2143   comma-separated lists of top-level modules.
2144 - Added support for an option values object which carries default
2145   settings and overrides (from command-line options and library use).
2146 - Added internal Unicode support, and support for both input and
2147   output encodings.
2148 - Added support for the ``docutils.io.IO`` class & subclasses.
2150 Specific:
2152 * docutils/__init__.py:
2154   - Added ``ApplicationError`` and ``DataError``, for use throughout
2155     the package.
2156   - Added ``Component`` base class for Docutils components; implements
2157     the ``supports`` method.
2158   - Added ``__version__`` (thus, ``docutils.__version__``).
2160 * docutils/core.py:
2162   - Removed many keyword parameters to ``Publisher.__init__()`` and
2163     ``publish()``; bundled into an option values object.  Added
2164     "argv", "usage", "description", and "option_spec" parameters for
2165     command-line support.
2166   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2167     methods.
2168   - Reworked I/O model for ``docutils.io`` wrappers.
2169   - Updated ``Publisher.set_options()``; now returns option values
2170     object.
2171   - Added support for configuration files (/etc/docutils.conf,
2172     ./docutils.conf, ~/.docutils).
2173   - Added ``Publisher.setup_option_parser()``.
2174   - Added default usage message and description.
2176 * docutils/frontend.py: Added to project; support for front-end
2177   (command-line) scripts.  Option specifications may be augmented by
2178   components.  Requires Optik (http://optik.sf.net/) for option
2179   processing (installed locally as docutils/optik.py).
2181 * docutils/io.py: Added to project; uniform API for a variety of input
2182   output mechanisms.
2184 * docutils/nodes.py:
2186   - Added ``TreeCopyVisitor`` class.
2187   - Added a ``copy`` method to ``Node`` and subclasses.
2188   - Added a ``SkipDeparture`` exception for visitors.
2189   - Renamed ``TreePruningException`` from ``VisitorException``.
2190   - Added docstrings to ``TreePruningException``, subclasses, and
2191     ``Nodes.walk()``.
2192   - Improved docstrings.
2193   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2194   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2195     imports.
2196   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2197     ``PreDecorative`` mixin.
2198   - Reworked the name/id bookkeeping; to ``document``, removed
2199     ``explicit_targets`` and ``implicit_targets`` attributes, added
2200     ``nametypes`` attribute and ``set_name_id_map`` method.
2201   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2202     traversals.
2203   - Added ``document.has_name()`` method.
2204   - Fixed DOM generation for list-attributes.
2205   - Added category class ``Labeled`` (used by footnotes & citations).
2206   - Added ``Element.set_class()`` method (sets "class" attribute).
2208 * docutils/optik.py: Added to project.  Combined from the Optik
2209   package, with added option groups and other modifications.  The use
2210   of this module is probably only temporary.
2212 * docutils/statemachine.py:
2214   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2215   - Added underscores to improve many awkward names.
2216   - In ``string2lines()``, changed whitespace normalizing translation
2217     table to regexp; restores Python 2.0 compatibility with Unicode.
2219 * docutils/urischemes.py:
2221   - Filled in some descriptions.
2222   - Added "shttp" scheme.
2224 * docutils/utils.py:
2226   - Added ``clean_rcs_keywords`` function (moved from
2227     docutils/transforms/frontmatter.py
2228     ``DocInfo.filter_rcs_keywords``).
2229   - Added underscores to improve many awkward names.
2230   - Changed names of Reporter's thresholds:
2231     warning_level -> report_level; error_level -> halt_level.
2232   - Moved ``utils.id()`` to ``nodes.make_id()``.
2233   - Added ``relative_path(source, target)``.
2235 * docutils/languages/de.py: German mappings; added to project.  Thanks
2236   to Gunnar Schwant for the translations.
2238 * docutils/languages/en.py: Added "Dedication" bibliographic field
2239   mappings.
2241 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2242   Chodorowski.
2244 * docutils/parsers/rst/states.py:
2246   - Added underscores to improve many awkward names.
2247   - Added RFC-2822 header support.
2248   - Extracted the inline parsing code from ``RSTState`` to a separate
2249     class, ``Inliner``, which will allow easy subclassing.
2250   - Made local bindings for ``memo`` container & often-used contents
2251     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2252   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2253   - Added ``MarkupMismatch`` exception; for late corrections.
2254   - Added ``-/:`` characters to inline markup's start string prefix,
2255     ``/`` to end string suffix.
2256   - Fixed a footnote bug.
2257   - Fixed a bug with literal blocks.
2258   - Applied patch from Simon Budig: simplified regexps with symbolic
2259     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2260   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2261   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2262   - Allowed non-ASCII in "simple names" (directive names, field names,
2263     references, etc.).
2264   - Converted ``Inliner.patterns.initial`` to be dynamically built
2265     from parts with ``build_regexp()`` function.
2266   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2267   - Updated docstrings.
2268   - Changed "table" to "grid_table"; added "simple_table" support.
2270 * docutils/parsers/rst/tableparser.py:
2272   - Changed ``TableParser`` to ``GridTableParser``.
2273   - Added ``SimpleTableParser``.
2274   - Refactored naming.
2276 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2277   a fallback language for directive names.
2279 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2280   directive to use a ``pending`` element, used only by HTML writers.
2282 * docutils/parsers/rst/directives/parts.py: Renamed from
2283   components.py.
2285   - Added "backlinks" attribute to "contents" directive.
2287 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2288   project by Adam Chodorowski.
2290 * docutils/readers/__init__.py: Gave Readers more control over
2291   choosing and instantiating Parsers.
2293 * docutils/readers/pep.py: Added to project; for PEP processing.
2295 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2296   requires a ``component`` parameter.
2298 * docutils/transforms/components.py: Added to project; transforms
2299   related to Docutils components.
2301 * docutils/transforms/frontmatter.py:
2303   - In ``DocInfo.extract_authors``, check for a single "author" in an
2304     "authors" group, and convert it to a single "author" element.
2305   - Added support for "Dedication" and generic bibliographic fields.
2307 * docutils/transforms/peps.py: Added to project; PEP-specific.
2309 * docutils/transforms/parts.py: Renamed from old components.py.
2311   - Added filter for `Contents`, to use alt-text for inline images,
2312     and to remove inline markup that doesn't make sense in the ToC.
2313   - Added "name" attribute to TOC topic depending on its title.
2314   - Added support for optional TOC backlinks.
2316 * docutils/transforms/references.py: Fixed indirect target resolution
2317   in ``Hyperlinks`` transform.
2319 * docutils/transforms/universal.py:
2321   - Changed ``Messages`` transform to properly filter out system
2322     messages below the warning threshold.
2323   - Added ``Decorations`` transform (support for ``--generator``,
2324     ``--date``, ``--time``, ``--source-link`` options).
2326 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2327   Engelbert Gruber's PDF writer.
2329 * docutils/writers/html4css1.py:
2331   - Made XHTML-compatible (switched to lowercase element & attribute
2332     names; empty tag format).
2333   - Escape double-dashes in comment text.
2334   - Improved boilerplate & modularity of output.
2335   - Exposed modular output in Writer class.
2336   - Added a "generator" meta tag to <head>.
2337   - Added support for the ``--stylesheet`` option.
2338   - Added support for ``decoration``, ``header``, and ``footer``
2339     elements.
2340   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2341     translation table to regexp; restores Python 2.0 compatibility
2342     with Unicode.
2343   - Added the translator class as instance variable to the Writer, to
2344     make it easily subclassable.
2345   - Improved option list spacing (thanks to Richard Jones).
2346   - Modified field list output.
2347   - Added backlinks to footnotes & citations.
2348   - Added percentage widths to "<col>" tags (from colspec).
2349   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2350     "<span>" changed to "<var>".
2351   - Inline literals: "<code>" changed to "<tt>".
2352   - Many changes to optimize vertical space: compact simple lists etc.
2353   - Add a command-line options & directive attributes to control TOC
2354     and footnote/citation backlinks.
2355   - Added support for optional footnote/citation backlinks.
2356   - Added support for generic bibliographic fields.
2357   - Identify backrefs.
2358   - Relative URLs for stylesheet links.
2360 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2361   PEPs (subclass of ``html4css1.Writer``).
2363 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2365 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2366   of the Docutils internal doctree in XML.
2368 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2370 * spec/doctree.txt:
2372   - Changed the title to "The Docutils Document Tree".
2373   - Added "Hyperlink Bookkeeping" section.
2375 * spec/docutils.dtd:
2377   - Added ``decoration``, ``header``, and ``footer`` elements.
2378   - Brought ``interpreted`` element in line with the parser: changed
2379     attribute "type" to "role", added "position".
2380   - Added support for generic bibliographic fields.
2382 * spec/notes.txt: Continual updates.  Added "Project Policies".
2384 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2385   section.
2387 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2389 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
2390   mailing list discussions.
2392 * spec/pep-0287.txt:
2394   - Renamed to "reStructuredText Docstring Format".
2395   - Minor edits.
2396   - Reworked Q&A as an enumerated list.
2397   - Converted to reStructuredText format.
2399 * spec/pysource.dtd:
2401   - Reworked structural elements, incorporating ideas from Tony Ibbs.
2403 * spec/pysource.txt: Removed from project.  Moved much of its contents
2404   to pep-0258.txt.
2406 * spec/rst/alternatives.txt:
2408   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2409   - Added "Inline External Targets" section.
2411 * spec/rst/directives.txt:
2413   - Added "backlinks" attribute to "contents" directive.
2415 * spec/rst/problems.txt:
2417   - Updated the Enumerated List Markup discussion.
2418   - Added new alternative table markup syntaxes.
2420 * spec/rst/reStructuredText.txt:
2422   - Clarified field list usage.
2423   - Updated enumerated list description.
2424   - Clarified purpose of directives.
2425   - Added ``-/:`` characters to inline markup's start string prefix,
2426     ``/`` to end string suffix.
2427   - Updated "Authors" bibliographic field behavior.
2428   - Changed "inline hyperlink targets" to "inline internal targets".
2429   - Added "simple table" syntax to supplement the existing but
2430     newly-renamed "grid tables".
2431   - Added cautions for anonymous hyperlink use.
2432   - Added "Dedication" and generic bibliographic fields.
2434 * test: Made test modules standalone (subdirectories became packages).
2436 * test/DocutilsTestSupport.py:
2438   - Added support for PEP extensions to reStructuredText.
2439   - Added support for simple tables.
2440   - Refactored naming.
2442 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2444   - Now supports true packages containing test modules
2445     (``__init__.py`` files required); fixes duplicate module name bug.
2447 * test/test_pep/: Subpackage added to project; PEP testing.
2449 * test/test_rst/test_SimpleTableParser.py: Added to project.
2451 * tools:
2453   - Updated html.py and publish.py front-end tools to use the new
2454     command-line processing facilities of ``docutils.frontend``
2455     (exposed in ``docutils.core.Publisher``), reducing each to just a
2456     few lines of code.
2457   - Added ``locale.setlocale()`` calls to front-end tools.
2459 * tools/buildhtml.py: Added to project; batch-generates .html from all
2460   the .txt files in directories and subdirectories.
2462 * tools/default.css:
2464   - Added support for ``header`` and ``footer`` elements.
2465   - Added styles for "Dedication" topics (biblio fields).
2467 * tools/docutils.conf: A configuration file; added to project.
2469 * tools/docutils-xml.py: Added to project.
2471 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2473 * tools/pep-html-template: Added to project.
2475 * tools/pep2html.py: Added to project from Python (nondist/peps).
2476   Added support for Docutils (reStructuredText PEPs).
2478 * tools/quicktest.py:
2480   - Added the ``--attributes`` option, hacked a bit.
2481   - Added a second command-line argument (output file); cleaned up.
2483 * tools/stylesheets/: Subdirectory added to project.
2485 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2488 Release 0.1 (2002-04-20)
2489 ========================
2491 This is the first release of Docutils, merged from the now inactive
2492 reStructuredText__ and `Docstring Processing System`__ projects.  For
2493 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2494 `DPS HISTORY`__ files.
2496 __ http://structuredtext.sourceforge.net/
2497 __ http://docstring.sourceforge.net/
2498 __ http://structuredtext.sourceforge.net/HISTORY.html
2499 __ http://docstring.sourceforge.net/HISTORY.html
2501 General changes: renamed 'dps' package to 'docutils'; renamed
2502 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2503 the test suites (reStructuredText's test/test_states renamed to
2504 test/test_rst); and all modifications required to make it all work.
2506 * docutils/parsers/rst/states.py:
2508   - Improved diagnostic system messages for missing blank lines.
2509   - Fixed substitution_reference bug.
2513    Local Variables:
2514    mode: indented-text
2515    indent-tabs-mode: nil
2516    sentence-end-double-space: t
2517    fill-column: 70
2518    End: