added warking on --strip-* options
[docutils.git] / HISTORY.txt
bloba205c4088e721dd463a21a4931d901be1545ec24
1 .. -*- coding: utf-8 -*-
3 ==================
4  Docutils History
5 ==================
7 :Author: David Goodger; open to all Docutils developers
8 :Contact: goodger@python.org
9 :Date: $Date$
10 :Revision: $Revision$
11 :Web site: http://docutils.sourceforge.net/
12 :Copyright: This document has been placed in the public domain.
14 .. contents::
17 Changes Since 0.4
18 =================
20 * docutils/languages/he.py: Added to project: Hebrew mappings by
21   Meir Kriheli.
23 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew 
24   mappings by Meir Kriheli.
26 * docutils/frontend.py:
28   - Configuration files are now assumed and required to be
29     UTF-8-encoded.
30   - Paths of applied configuration files are now recorded in the
31     runtime setting ``_config_files`` (accessible via
32     ``--dump-settings``).
33   - Added ``--strip-elements-with-class`` and ``--strip-class``
34     options (``strip_elements_with_classes`` and ``strip_classes``
35     settings).
37 * docutils/io.py:
39   - Added code to determine the input encoding from data: encoding
40     declarations or the presence of byte order marks (UTF-8 & UTF-16).
41   - Added support for IronPython 1.0.
43 * docutils/nodes.py:
45   - Added ``document.__getstate__`` method, for pickling.
47 * docutils/parsers/rst/states.py:
49   - Unquoted targets beginning with an underscore (``.. __target:
50     URI``) are no longer accepted.
51   - Added support for multiple attributions in a physical block quote
52     (indented text block), dividing it into multiple logical block
53     quotes.
54   - Added support for unicode bullets in bullet lists: "•", "‣", and
55     "⁃".
56   - Added support for new object-oriented directive interface,
57     retaining compatibility to the old functional interface.
58   - Added support for throwing ``DirectiveError``'s from within
59     directive code.
61 * docutils/parsers/rst/__init__.py:
63   - Added ``Directive`` base class.
64   - Added ``DirectiveError`` base class.
65   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
66     definitions.
68 * docutils/parsers/directives/:
70   - Refactored all reStructuredText directives to use the new
71     object-oriented directive interface.  Errors are now (mostly)
72     thrown using the new ``DirectiveError`` class.
74 * docutils/parsers/directives/misc.py:
76   - Added ``start-after`` and ``end-before`` options to ``include``
77     directive; thanks to Stefan Rank.
79 * docutils/transforms/universal.py:
81   - Added ``StripClassesAndElements`` transform to remove from the
82     document tree all elements with classes in
83     ``settings.strip_elements_with_classes`` and all "classes"
84     attribute values in ``self.document.settings.strip_classes``.
86 * docutils/transforms/writer_aux.py:
88   - Added ``Admonitions`` transform to transform specific admonitions
89     (like ``note``, ``warning``, etc.) into generic admonitions with a
90     localized title.
92 * docutils/writers/html4css1/__init__.py:
94   - Moved template functionality from the PEP/HTML writer here.
95   - Expanded the fragments available in the ``parts`` attribute.
96   - Moved ``id`` attributes from titles to surrounding ``div``
97     elements.
98   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
99     universally supported now).
100   - ``template.txt`` is now opened in text mode instead of binary mode
101     (to ensure Windows compatibility).
102   - ``a`` elements now have an "internal" or "external" class,
103     depending on reference type.
105 * docutils/writers/html4css1/template.txt: Added to project.
107 * docutils/writers/pep_html/:
109   - Moved template functionality to the HTML writer.
111 * docutils/writers/s5_html/__init__.py:
113   - Added ``view_mode`` & ``hidden_controls`` settings
114     (``--view-mode`` & ``--hidden-controls/--visible-controls``
115     options).
117 * docutils/writers/latex2e/__init__.py:
119   - Move usepackage hyperref after stylesheet inclusion.
120   - Fix: scrartcl does not have chapter but scrreprt.
121   - Add newline after ``\end{verbatim}``.
122   - Merge smaller differences from latex2e_adaptive_preamble.
123   - Add ``use-part-section``.
124   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
125   - Using leavemode optoin_list no longer needs to check if parent
126     is a definition list.
127   - Append ``\leavemode`` to definition list terms.
128   - No longer write visit\_/depart_definition_list_item comments to
129     output.
130   - Table column width with 3 decimal places.
131   - Add table stubs support (boldfont).
132   - Add assemble_parts to writer.
133   - Add simply support for nested tables.
134   - Fix verbatim in tables if use-verbatim-when-possible.
135   - Use section commands down to subparagraph.
136   - Put ensuremath around some latin1 chars.
137   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
138   - New option ``--use-bibtex=style,db1,db2``.
139   - New option ``--reference-label`` to allow usage of LaTeX ref for 
140     labels in section references.
141   - Add a label after every section to support sectionnumbers as reference
142     labels.
143   - Fix: bug# 1605376 rst2latex: bad options group list
144   - Remove inactive code for use_optionlist_for_option_list.
145   - Remove latex comments from option_list output.
146   - Fix: bug# 1612270 double qoutes in italian literal.
147   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target. 
148   - Add option --use-latex-abstract.
149   - Image width unit ``px`` is translated to ``pt``.
150   - Add image height support.
151   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
152     bug #1457388
153   - Fix: Do not escape underscores in citation reference labels if
154     use-latex-citations is set.
155   - Use centering instead of center for figure contents, to avoid vertical
156     space.
157   - Recognize table class: borderless, nolines, booktabs, standard.
158   - Fix: Renaming contents section does not work with latex writer; SF
159     bug #1487405.
160   - Applied patch for custom roles with classes from Edward Loper.
161   - Fixed bug that caused crashes with more than 256 lists.
163 * docutils/writers/pep_html/__init__.py:
165   - Changed to support new python.org website structure and
166     pep2pyramid.py.
168 * docs/howto/security.txt: "Deploying Docutils Securely", added to
169   project.
171 * tools/buildhtml.py:
173   -- Added ``ignore`` setting to exclude a list of shell patterns
174      (default: ``.svn:CVS``).
176 * tools/editors/emacs/rst.el:
178   - Changed license to "GPL".
179   - Added ``rst-straighten-decorations`` function.
180   - The ``compile`` module is now always loaded.
181   - Added ``rst-toggle-line-block`` function.
182   - Headings consisting only of non-ASCII characters are now
183     recognized by ``rst-toc`` and ``rst-adjust``.
184   - Added font-lock support for multi-line comments where the first
185     comment line is empty.
186   - Added ``(require 'font-lock)``.
188 * setup.py:
190   - Provide descriptive error message if distutils is missing.
193 Release 0.4 (2006-01-09)
194 ========================
196 * General:
198   - Updated the project policies for trunk/branch development &
199     version numbering.
201 * docutils/__init__.py:
203   - Added ``__version_details__`` attribute to describe code source
204     (repository/snapshot/release).
205   - Replaced ``default_transforms`` attribute of TransformSpec with
206     ``get_transforms()`` method.
208 * docutils/core.py:
210   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
211     functions, for document tree extraction and reprocessing.
213 * docutils/io.py:
215   - Added ``DocTreeInput`` class, for reprocessing existing documents.
216   - Added support for non-Unicode (e.g. binary) writer output.
218 * docutils/nodes.py:
220   - Re-introduced ``Targetable.indirect_reference_name``, for
221     MoinMoin/reST compatibility (removed in r3124/r3129).
222   - Added ``serial_escape`` function; escapes string values that are
223     elements of a list, for serialization.  Modified Docutils-XML
224     writing (``Element._dom_node``) and pseudo-XML writing
225     (``Element.starttag``) to use ``serial_escape``.
226   - Added ``Node.deepcopy()`` method.
227   - Removed the internal lists ``document.substitution_refs``,
228     ``document.anonymous_refs``, and ``document.anonymous_targets``.
229   - Added a "container" element.
230   - Fixed bug where values of list-valued attributes of elements
231     originating from custom interpreted text roles (i.e., with custom
232     classes) were being shared between element instances.  Reported by
233     Shmuel Zeigerman.
235 * docutils/statemachine.py:
237   - Added trailing whitespace stripping to ``string2lines()``.
238   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
239     Asian double-width character support.
241 * docutils/utils.py:
243   - Added ``east_asian_column_width()`` for double-width character
244     support.
246 * docutils/languages/ja.py: Added to project: Japanese mappings by
247   Hisashi Morita.
249 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
250   mappings by Panjunyong.
252 * docutils/parsers/null.py: Added to project; a do-nothing parser.
254 * docutils/parsers/rst/__init__.py:
256   - Added validator to tab_width setting, with test.  Closes SF bug
257     #1212515, report from Wu Wei.
259 * docutils/parsers/rst/states.py:
261   - Fixed bug with escaped colons indicating a literal block.
262   - Fixed bug with enumerated lists (SF#1254145).
263   - Backslash-escaped colons inside of field names are now allowed.
264   - Targets (implicit and explicit), anonymous hyperlink references
265     and auto-numbered footnote references inside of substitution
266     definitions are now disallowed.
267   - Fixed bug: list items with blank first lines.
268   - Fixed bug: block quote attributions with indented second lines.
269   - Added East Asian double-width character support (Python 2.4 only).
271 * docutils/parsers/rst/tableparser.py:
273   - Added East Asian double-width character support (Python 2.4 only).
275 * docutils/parsers/rst/directives/body.py:
277   - Added the "container" directive.
279 * docutils/parsers/rst/directives/misc.py:
281   - Added the "default-role", "title", and "date" directives.
282   - Added standard data file syntax to the "include" directive.
283   - Added support for "class" directive content.
285 * docutils/parsers/rst/directives/images.py:
287   - Added ``indirect_reference_name`` support for images with a target
288     option.
289   - Added support for image width and height units.
290   - Fixed bug with image "target" options.
292 * docutils/parsers/rst/directives/references.py:
294   - Added "class" attribute to "target-notes" directive, for
295     footnote_reference classes.
297 * docutils/parsers/rst/include/: Directory added to project; contains
298   standard data files for the "include" directive.  Initial contents:
299   character entity substitution definition sets, and a set of
300   definitions for S5/HTML presentations.
302 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
303   mappings by David Goodger.
304   
305 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
306   Simplified Chinese mappings by Panjunyong.
308 * docutils/readers/__init__.py:
310   - Added universal.Decorations and universal.ExposeInternals
311     transforms as default transforms for all readers.
312   - Added ``ReReader`` base class for readers that reread an existing
313     document tree.
315 * docutils/readers/doctree.py: Added to project; a reader for existing
316   document trees.
318 * docutils/transforms/frontmatter.py:
320   - Fixed the DocInfo transform to handle SVN-style expansion of the
321     "Date" keyword.
322   - In ``DocInfo.extract_authors``, treat the contents of "authors"
323     fields uniformly.
325 * docutils/transforms/misc.py:
327   - Added misc.Transitions transform, extracted from
328     universal.FinalChecks.
330 * docutils/transforms/references.py:
332   - Added references.DanglingReferences transform, extracted from
333     universal.FinalChecks.
334   - Fixed bug with doubly-indirect substitutions.
335   - Added footnote_reference classes attribute to "TargetNotes".
336   - Fixed bug with circular substitution definitions that put Docutils
337     into an infinite loop.
339 * docutils/transforms/universal.py:
341   - Added universal.ExposeInternals transform, extracted from
342     universal.FinalChecks.
343   - Removed universal.FinalChecks transform (logic has been moved to
344     several new transforms).
345   - Fixed bug with the "expose_internals" setting and Text nodes
346     (exposed by the "rawsource" internal attribute).
347   - Added the universal.StripComments transform, implementation of the
348     "strip_comments" setting.
350 * docutils/transforms/writer_aux.py: Added to project; auxiliary
351   transforms for writers.
353   - Added ``Compound`` transform, which flattens compound paragraphs.
355 * docutils/writers/: Several writer modules (html4css1.py) were
356   converted into packages.  Support modules and data files have been
357   moved into the packages.  The stylesheets for the HTML writers are
358   now installed along with the code, the code knows where to find
359   them, and the default is to use them (actually, to embed them).
360   Some adjustments to configuration files may be necessary.  The
361   easiest way to obtain the new default behavior is to remove all
362   settings whose name includes "stylesheet".
364 * docutils/writers/__init__.py:
366   - Added universal.Messages and universal.FilterMessages transforms
367     as default transforms for all writers.
368   - Added ``UnfilteredWriter`` base class for writers that pass the
369     document tree on unchanged.
371 * docutils/writers/docutils_xml.py:
373   - Made ``xmlcharrefreplace`` the default output encoding error
374     handler.
376 * docutils/writers/html4css1/: 
378   - Added support for image width and height units.
379   - Made ``xmlcharrefreplace`` the default output encoding error
380     handler.
381   - Made ``--embed-stylesheet`` the default rather than
382     ``--link-stylesheet``.
383   - Moved "id" attribute from container (section etc.) to title's <a>
384     tag, to be on the same tag as "name".
385     (!!! To be reverted in Docutils 0.5.)
386   - Added vertical space between fields of field lists.
387   - Added ``--compact-field-lists`` option to remove vertical space in
388     simple field lists.
389   - Made cloaking of email addresses with ``--cloak-email-addresses``
390     less obtrusive.
391   - Fixed support for centered images.
392   - Added support for class="compact" & class="open" lists.
394 * docutils/writers/latex2e/:
396   - Underscores in citekeys are no longer escaped.
398 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
399   mapping of Unicode characters to LaTeX equivalents.
401 * docutils/writers/s5_html/: Package added to project; writer for
402   S5/HTML slide shows.
404 * docs/dev/distributing.txt: Added to project; guide for distributors
405   (package maintainers).
407 * docs/dev/hacking.txt: Added to project; guide for developers.
409 * docs/ref/doctree.txt:
411   - Updated for plural attributes "classes", "ids", "names",
412     "dupnames".
413   - Added the "container" element.
415 * docs/ref/docutils.dtd:
417   - Updated for plural attributes "classes", "ids", "names",
418     "dupnames".
420 * docs/user/emacs.txt: Added to project; a document about Emacs
421   support for reStructuredText and Docutils.
423 * docs/user/links.txt: Added to project; lists of Docutils-related
424   links.
426 * docs/user/mailing-lists.txt: Added to project; information about
427   Docutils-related mailing lists and how to access them.
429 * docs/user/slide-shows.txt: Added to project; example of and docs for
430   the S5/HTML writer (``rst2s5.py`` front end).
432 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
433   Files", added to project.
435 * test/coverage.sh: Added to project; test coverage script.
437 * test/DocutilsTestSupport.py:
439   - Added support for specifying runtime settings at the suite level.
441 * test/test_functional.py:
443   - Added the ``clear_output_directory`` function.
444   - Added support for ``_test_more`` functions in functional test
445     config files.
447 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
449 * tools/rstpep2html.py: Renamed from pep.py.
451 * tools/dev/create_unimap.py: Added to project; script to create the
452   docutils/writers/unimap_latex.py mapping file.
454 * tools/dev/profile_docutils.py: Added to project; profiler script.
456 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
458 * tools/editors/emacs/restructuredtext.el,
459   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
460   Removed from project; the functionality is now contained in rst.el.
462 * tools/editors/emacs/rst.el: Added to project.  Added many features
463   and fixed many bugs.  See docs/user/emacs.txt for details.
465 * tools/stylesheets: Removed from project.  Stylesheets have been
466   renamed and moved into writer packages.
469 Release 0.3.9 (2005-05-26)
470 ==========================
472 * General:
474   - Eliminated and replaced all uses of the old string attributes
475     ``id``, ``name``, ``dupname`` and ``class`` with references to the
476     new list attributes ``ids``, ``names``, ``dupnames`` and
477     ``classes`` throughout the whole source tree.
479 * docutils/core.py:
481   - Enabled ``--dump-*`` options when ``--traceback`` specified,
482     allowing for easier debugging.
483   - In ``Publisher.publish()``, expanded the generic top-level
484     exception catching.
486 * docutils/examples.py:
488   - Added ``internals`` function for exploration.
490 * docutils/io.py:
492   - Fixed ``Input.decode`` method to apply heuristics only if no
493     encoding is explicitly given, and to provide better reporting of
494     decoding errors.
495   - The ``Input.decode`` method now removes byte order marks (BOMs)
496     from input streams.
498 * docutils/nodes.py:
500   - ``image`` element class changed to subclass of Element, not
501     TextElement (it's an empty element, and cannot contain text).
502   - Added ``attr_defaults`` dictionary for default attribute values.
503   - Added empty list as default value for the following attributes:
504     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
505   - Added ``document.decoration`` attribute,
506     ``document.get_decoration`` method, and ``decoration.get_header``
507     & ``.get_footer`` methods.
508   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
509     methods.
511 * docutils/utils.py:
513   - Removed ``docutils.utils.Reporter.categories``,
514     ``docutils.utils.ConditionSet``, and all references to them, to
515     simplify error reporting.
517 * docutils/languages/nl.py: Added to project; Dutch mappings by
518   Martijn Pieters.
520 * docutils/parsers/rst/__init__.py:
522   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
524 * docutils/parsers/rst/states.py:
526   - Added check for escaped at-mark to prevent email address recognition.
527   - Fixed option lists to allow spaces inside ``<angle-bracketed option
528     arguments>``.
529   - Allowed whitespace in paths and URLs.
530   - Added auto-enumerated list items.
531   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
532     followed by text.
533   - Added support for table stub columns.
535 * docutils/parsers/rst/directives/__init__.py:
537   - Allowed whitespace in paths (``path`` function).
538   - Added ``uri`` directive option conversion function.
540 * docutils/parsers/rst/directives/body.py:
542   - Fixed illegal context bug with "topic" directive (allowed within
543     sidebars; not within body elements).
545 * docutils/parsers/rst/directives/images.py:
547   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
548   - Added support for the ``file_insertion_enabled`` setting in the
549     "figure" directive (disables "figwidth" option).
550   - "image" directive: added checks for valid values of "align" option,
551     depending on context.  "figure" directive: added specialized
552     "align" option and attribute on "figure" element.
553   - Made ":figwidth: image" option of "figure" directive work again.
554   - Fixed bug with reference names containing uppercase letters
555     (e.g. ``Name_``) in "target" option of "image" directive.
557 * docutils/parsers/rst/directives/misc.py:
559   - Fixed "include" and "raw" directives to catch text decoding
560     errors.
561   - Allowed whitespace in "include" & "raw" directive paths.
562   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
563     settings in "include" & "raw" directives.
565 * docutils/parsers/rst/directives/parts.py:
567   - Added "header" & "footer" directives.
568   - Fixed illegal context bug with "contents" directive (topics
569     allowed within sidebars; not within body elements).
571 * docutils/parsers/rst/directives/tables.py:
573   - Added "list-table" directive.
574   - Caught empty CSV table bug.
575   - Added support for the ``file_insertion_enabled`` setting in the
576     "csv-table" directive.
577   - Added ``stub-columns`` option to "csv-table" and "list-table"
578     directives.
580 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
581   mappings by Martijn Pieters.
583 * docutils/readers/standalone.py:
585   - Added ``--section-subtitles`` and ``--no-section-subtitles``
586     options to activate or deactivate the SectSubTitle transform.
588 * docutils/transforms/frontmatter.py:
590   - Added SectSubTitle transform to promote titles of lone
591     subsections to subtitles.
593 * docutils/transforms/references.py:
595   - Fixed mislocated internal targets bug, by propagating internal
596     targets to the next node, making use of the newly added support
597     for multiple names and IDs.
598   - Fixed duplicate footnote label bug.
599   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
600     transform.
602 * docutils/writers/html4css1.py:
604   - Fixed unencoded stylesheet reference bug (characters like "&" in
605     stylesheet references).
606   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
607     tags).
608   - Added support for multiple IDs per node by creating empty ``span``
609     tags.
610   - Added the ``field_name_limit`` & ``option_limit`` settings &
611     support.
612   - Added support for table stub columns.
613   - Added support for the ``align`` attribute on ``figure`` elements.
614   - Added the ``cloak_email_addresses`` setting & support.
615   - Added ``html_prolog``, ``html_head``, ``html_body``,
616     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
617     ``docutils.core.publish_parts``.
618   - Added support for section subtitles.
620 * docutils/writers/latex2e.py:
622   - Fixed tables starting with more than one multirow cell.
623   - Improved --use-latex-docinfo so that organization/contact/address
624     fields are lumped with the last author field and appear on the
625     titlepage.
626   - Made sure the titlepage is always shown with --use-latex-docinfo,
627     even if the document has no title.
628   - Made sure that latex doesn't fill in today's date if no date field
629     was given.
630   - Added support for section subtitles.
632 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
633   (under development).
635 * docutils/writers/null.py: Added to project; a do-nothing Writer.
637 * docs/api/publisher.txt:
639   - Added "``publish_parts`` Details" section.
641 * docutils/dev/repository.txt: Added to project; information about the
642   Docutils Subversion repository.
644 * docs/ref/docutils.dtd:
646   - Added a ``stub`` attribute to the ``colspec`` element via the
647     ``tbl.colspec.att`` parameter entity.
648   - Allowed topic elements within sidebars
649   - Added an ``align`` attribute to the ``figure`` element.
651 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
652   writer.
655 Release 0.3.7 (2004-12-24)
656 ==========================
658 * docutils/frontend.py:
660   - Added options: --input-encoding-error-handler,
661     --record-dependencies, --leave-footnote-reference-space,
662     --strict-visitor.
663   - Added command-line and config file support for "overrides" setting
664     parameter.
666 * docutils/io.py:
668   - Added support for input encoding error handler.
670 * docutils/nodes.py:
672   - Added dispatch_visit and dispatch_departure methods to
673     NodeVisitor; useful as a hook for Visitors.
674   - Changed structure of ``line_block``; added ``line``.
675   - Added ``compound`` node class.
676   - Added a mechanism for Visitors to transitionally ignore new node
677     classes.
679 * docutils/utils.py:
681   - Moved ``escape2null`` and ``unescape`` functions from
682     docutils/parsers/rst/states.py.
684 * docutils/parsers/rst/roles.py:
686   - Added "raw" role.
687   - Changed role function API: the "text" parameter now takes
688     null-escaped interpreted text content.
690 * docutils/parsers/rst/states.py:
692   - Fixed bug where a "role" directive in a nested parse would crash
693     the parser; the state machine's "language" attribute was not being
694     copied over.
695   - Added support for line block syntax.
696   - Fixed directive parsing bug: argument-less directives didn't
697     notice that arguments were present.
698   - Removed error checking for transitions.
699   - Added support for multiple classifiers in definition list items.
700   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
701   - Changed role function API: the "text" parameter now takes
702     null-escaped interpreted text content.
703   - Empty sections and documents are allowed now.
705 * docutils/parsers/rst/directives/__init__.py:
707   - Added ``encoding`` directive option conversion function.
708   - Allow multiple class names in class_option conversion function.
710 * docutils/parsers/rst/directives/body.py:
712   - Converted the line-block directive to use the new structure.
713   - Extracted the old line-block functionality to the ``block``
714     function (still used).
715   - Added ``compound`` directive (thanks to Lea Wiemann).
717 * docutils/parsers/rst/directives/misc.py:
719   - Added "encoding" option to "include" and "raw" directives.
720   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
721   - Allow multiple class names in the "class" directive.
723 * docutils/parsers/rst/directives/parts.py:
725   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
726     options.  Thanks to Lele Gaifax.
728 * docutils/parsers/rst/directives/tables.py:
730   - Added "encoding" directive to "csv-table" directive.
731   - Added workaround for lack of Unicode support in csv.py, for
732     non-ASCII CSV input.
734 * docutils/transforms/misc.py:
736   - Fixed bug when multiple "class" directives are applied to a single
737     element.
738   - Enabled multiple format names for "raw" directive.
740 * docutils/transforms/references.py:
742   - Added support for trimming whitespace from beside substitution
743     references.
745 * docutils/transforms/universal.py:
747   - FinalChecks now checks for illegal transitions and moves
748     transitions between sections.
750 * docutils/writers/html4css1.py:
752   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
753   - "stylesheet" and "stylesheet_path" settings are now mutually
754     exclusive.
755   - Added support for the new line_block/line structure.
756   - --footnote-references now overrides
757     --trim-footnote-reference-space, if applicable.
758   - Added support for ``compound`` elements.
759   - Enabled multiple format names for "raw" directive.
760   - ``<p>`` tags of a paragraph which is the only visible child of the
761     document node are no longer stripped.
762   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
763     new method ``should_be_compact_paragraph()``.
764   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
765     elements.
766   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
767     the output if they have their ``class`` attribute set.
768   - The whole document is now surrounded by a ``<div
769     class="document">`` element.
770   - Body-level images are now wrapped by their own ``<div>`` elements,
771     with image classes copied to the wrapper, and for images which
772     have the ``:align:`` option set, the surrounding ``<div>`` now
773     receives a class attribute (like ``class="align-left"``).
775 * docutils/writers/latex2e.py:
777   - no newline after depart_term.
778   - Added translations for some Unicode quotes.
779   - Added option "font-encoding", made package AE the default.
780   - "stylesheet" and "stylesheet_path" settings are now mutually
781     exclusive.
782   - --footnote-references now overrides
783     --trim-footnote-reference-space, if applicable.
784   - The footnote label style now matches the footnote reference style
785     ("brackets" or "superscript").
786   - Added support for ``compound`` elements.
787   - Enabled multiple format names for "raw" directive.
789 * docs/ref/docutils.dtd:
791   - Changed structure of the ``line_block`` element; added ``line``.
792   - Added ``compound`` element.
793   - Added "ltrim" and "rtrim" attributes to
794     ``substitution_definition`` element.
795   - Enabled multiple format names for ``raw`` element.
796   - Enabled multiple classifiers in ``definition_list_item`` elements.
798 * docs/ref/rst/directives.txt
800   - Marked "line-block" as deprecated.
801   - "Class" directive now allows multiple class names.
802   - Added "Rationale for Class Attribute Value Conversion".
803   - Added warning about "raw" overuse/abuse.
805 * docs/ref/rst/restructuredtext.txt:
807   - Added syntax for line blocks.
808   - Definition list items may have multiple classifiers.
810 * docs/ref/rst/roles.txt:
812   - Added "raw" role.
814 * tools/stylesheets/default.css:
816   - Added support for the new line_block structure.
817   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
820 Release 0.3.5 (2004-07-29)
821 ==========================
823 General:
825 * _`Documentation cleanup/reorganization`.
827   - Created new subdirectories of docs/:
829     * ``docs/user/``: introductory/tutorial material for end-users
830     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
831     * ``docs/api/``: API reference material for client-developers
832     * ``docs/ref/``: reference material for all groups
833     * ``docs/howto/``: for component-developers and core-developers
834     * ``docs/peps/``: Python Enhancement Proposals
836   - Moved ``docs/*`` to ``docs/user/``.
837   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
838     ``spec/`` to ``docs/dev``.
839   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
840     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
841   - Moved ``alternatives.txt``, and ``problems.txt`` from
842     ``spec/rst/`` to ``docs/dev/rst/``.
843   - Moved ``reStructuredText.txt``, ``directives.txt``,
844     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
845     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
846     ``roles.txt``, ``reStructuredText.txt`` to
847     ``restructuredtext.txt``.
848   - Moved ``spec/howto/`` to ``docs/howto``.
850   In order to keep the CVS history of moved files, we supplied
851   SourceForge with a `script for modifying the Docutils CVS
852   repository`__.
854   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
856   After running the cleanup script:
858   - Added ``docs/index.txt``.
859   - Added a ``.htaccess`` file to the ``web`` module, containing
860     redirects for all old paths to new paths.  They'll preserve
861     fragments (the "#name" part of a URL), and won't clutter up the
862     file system, and will correct the URL in the user's browser.
863   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
864     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
865     the "To Do" list itself in ``docs/dev/todo.txt``.
866   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
867     section of ``docs/dev/todo.txt``.
868   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
869   - Added "How To Report Bugs" to ``BUGS.txt``.
870   - Went through all the sources and docs (including under web/) and
871     updated links.  Mostly done by Lea Wiemann; thanks Lea!
872     (Still need to update links in the sandboxes.)
874 Specific:
876 * BUGS.txt: Added to project.
878 * THANKS.txt: Added to project.
880 * docutils/__init__.py:
882   - 0.3.4: Post-release.
884 * docutils/core.py:
886   - Added special error handling & advice for UnicodeEncodeError.
887   - Refactored Publisher.publish (simplified exception handling &
888     extracted debug dumps).
889   - Renamed "enable_exit" parameter of convenience functions to
890     "enable_exit_status".
891   - Enabled traceback (exception propagation) by default in
892     programmatic convenience functions.
893   - Now publish_file and publish_cmdline convenience functions return
894     the encoded string results in addition to their regular I/O.
895   - Extracted common code from publish_file, publish_string, and
896     publish_parts, into new publish_programmatically.  Extracted
897     settings code to ``Publisher.process_programmatic_settings``.
898   - In Publisher.publish, disabled ``settings_overrides`` when
899     ``settings`` is supplied; redundant.
901 * docutils/frontend.py:
903   - Added help text for "--output-encoding-error-handler" and
904     "--error-encoding-error-handler".
905   - Renamed "--exit" to "--exit-status".
906   - Simplified default-setting code.
908 * docutils/parsers/rst/__init__.py:
910   - Added "--pep-base-url" and "--rfc-base-url" options.
912 * docutils/parsers/rst/states.py:
914   - Made URI recognition more aggressive and intelligent.
916 * docutils/parsers/rst/directives/__init__.py:
918   - Added several directive option conversion functions.
920 * docutils/parsers/rst/directives/body.py:
922   - Moved "table" directive to tables.py.
924 * docutils/parsers/rst/directives/tables.py: Table-related directives,
925   added to project.
927 * docutils/writers/latex2e.py:
929   - Added "--table-style=(standard|booktabs|nolines)"
930   - figures get "here" option (LaTeX per default puts them at bottom),
931     and figure content is centered.
932   - Rowspan support for tables.
933   - Fix: admonition titles before first section.
934   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
935   - Replave ``_`` in literal by an underlined blank, because it has the correct
936     width.
937   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
938   - A few unicode replacements, if output_encoding != utf
939   - Add "--graphicx-option".
940   - Indent literal-blocks.
941   - Fix: omit ``\maketitle`` when there is no document title.
943 * docs/index.txt: "Docutils Project Documentation Overview", added to
944   project.
946 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
947   Tool", added to project.
949 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
951 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
953 * docs/dev/policies.txt: Added to project (extracted from
954   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
956 * docs/dev/release.txt: Added to project (extracted from
957   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
959 * docs/dev/testing.txt: Added to project.
961 * docs/dev/website.txt: Added to project (extracted from
962   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
964 * docs/ref/rst/directives.txt:
966   - Added directives: "table", "csv-table".
968 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
969   added to project.  1 page for syntax, and a 1 page reference for
970   directives and roles.  Source text to be used as-is; not meant to be
971   converted to HTML.
973 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
974   with a change of title.
976 * test/functional/, contents, and test/test_functional.py: Added to
977   project.
979 * tools/buildhtml.py: Fixed bug with config file handling.
981 * tools/html.py: Removed from project (duplicate of rst2html.py).
983 * tools/pep2html.py: Removed from project (duplicate of Python's
984   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
985   Docutils-related PEPs in docs/peps/).
987 * tools/rst2pseudoxml.py: Renamed from publish.py.
989 * tools/rst2xml.py: Renamed from docutils-xml.py.
991 * tools/test.txt: Removed from project; moved to
992   docs/user/rst/demo.txt.
994 * setup.py: Now also installs ``rst2latex.py``.
997 Release 0.3.3 (2004-05-09)
998 ==========================
1000 * docutils/__init__.py:
1002   - 0.3.1: Reorganized config file format (multiple sections); see
1003     docs/config.txt.
1004   - Added unknown_reference_resolvers attribute to TransformSpec.
1005   - 0.3.2: Interpreted text reorganization.
1006   - 0.3.3: Released.
1008 * docutils/core.py:
1010   - Catch system messages to stop tracebacks from parsing errors.
1011   - Catch exceptions during processing report & exit without
1012     tracebacks, except when "--traceback" used.
1013   - Reordered components for OptionParser; application comes last.
1014   - Added "config_section" parameter to several methods and functions,
1015     allowing front ends to easily specify their config file sections.
1016   - Added publish_parts convenience function to allow access to individual
1017     parts of a document.
1019 * docutils/examples.py: Added to project; practical examples of
1020   Docutils client code, to be used as-is or as models for variations.
1022 * docutils/frontend.py:
1024   - Added "--traceback" & "--no-traceback" options ("traceback"
1025     setting).
1026   - Implemented support for config file reorganization:
1027     ``standard_config_files`` moved from ``ConfigParser`` to
1028     ``OptionParser``; added
1029     ``OptionParser.get_config_file_settings()`` and
1030     ``.get_standard_config_settings()``; support for old "[options]"
1031     section (with deprecation warning) and mapping from old to new
1032     settings.
1033   - Reimplemented setting validation.
1034   - Enabled flexible boolean values: yes/no, true/false, on/off.
1035   - Added ``Values``, a subclass of ``optparse.Values``, with support
1036     for list setting attributes.
1037   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1038     thanks to Beni Cherniavsky.
1039   - Added "--no-section-numbering" option.
1041 * docutils/io.py:
1043   - Catch IOErrors when opening source & destination files, report &
1044     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1045     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1047 * docutils/nodes.py:
1049   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1050     method definitions (via ``exec``) to dynamic assignments (via
1051     ``setattr``); thanks to Roman Suzi.
1052   - Encapsulated visitor dynamic assignments in a function; thanks to
1053     Ian Bicking.
1054   - Added indirect_reference_name attribute to the Targetable
1055     class. This attribute holds the whitespace_normalized_name
1056     (contains mixed case) of a target.
1058 * docutils/statemachine.py:
1060   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1061   - Added ``StringList.get_2D_block``.
1063 * docutils/utils.py:
1065   - Added "level" attribute to SystemMessage exceptions.
1067 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1068   Jannie Hofmeyr.
1070 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1071   Blaha.
1073 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1074   Marcelo Huerta San Martin.
1076 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1077   mappings by Lalo Martins.
1079 * docutils/languages/ru.py: Added to project; Russian mappings by
1080   Roman Suzi.
1082 * docutils/parsers/rst/roles.py: Added to project.  Contains
1083   interpreted text role functions, a registry for interpreted text
1084   roles, and an API for adding to and retrieving from the registry.
1085   Contributed by Edward Loper.
1087 * docutils/parsers/rst/states.py:
1089   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1090   - Allowed true em-dash character and "---" as block quote
1091     attribution marker.
1092   - Added support for <angle-bracketed> complex option arguments
1093     (option lists).
1094   - Fixed handling of backslashes in substitution definitions.
1095   - Fixed off-by-1 error with extra whitespace after substitution
1096     definition directive.
1097   - Added inline markup parsing to field lists' field names.
1098   - Added support for quoted (and unindented) literal blocks.
1099     Driven in part by a bribe from Frank Siebenlist (thanks!).
1100   - Parser now handles escapes in URIs correctly.
1101   - Made embedded-URIs' reference text omittable.  Idea from Beni
1102     Cherniavsky.
1103   - Refactored explicit target processing code.
1104   - Added name attribute to references containing the reference name only
1105     through whitespace_normalize_name (no case changes).
1106   - parse_target no longer returns the refname after going through
1107     normalize_name. This is now handled in make_target.
1108   - Fixed bug relating to role-less interpreted text in non-English
1109     contexts.
1110   - Reorganized interpreted text processing; moved code into the new
1111     roles.py module.  Contributed by Edward Loper.
1112   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1113     ``parse_directive_block``.
1115 * docutils/parsers/rst/tableparser.py:
1117   - Reworked for ``StringList``, to support "include" directives in
1118     table cells.
1120 * docutils/parsers/rst/directives/__init__.py:
1122   - Renamed ``unchanged()`` directive option conversion function to
1123     ``unchanged_required``, and added a new ``unchanged``.
1124   - Catch unicode value too high error; fixes bug 781766.
1125   - Beefed up directive error reporting.
1127 * docutils/parsers/rst/directives/body.py:
1129   - Added basic "table" directive.
1131 * docutils/parsers/rst/directives/images.py:
1133   - Added "target" option to "image" directive.
1134   - Added name attribute to references containing the reference name only
1135     through whitespace_normalize_name (no case changes).
1137 * docutils/parsers/rst/directives/misc.py:
1139   - Isolated the import of the ``urllib2`` module; was causing
1140     problems on SourceForge (``libssl.so.2`` unavailable?).
1141   - Added the "role" directive for declaring custom interpreted text
1142     roles.
1144 * docutils/parsers/rst/directives/parts.py:
1146   - The "contents" directive does more work up-front, creating the
1147     "topic" and "title", and leaving the "pending" node for the
1148     transform.  Allows earlier reference resolution; fixes subtle bug.
1150 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1151   mappings by Jannie Hofmeyr.
1153 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1154   mappings by Marek Blaha.
1156 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1157   mappings by Marcelo Huerta San Martin.
1159 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1160   Portuguese mappings by Lalo Martins.
1162 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1163   mappings by Roman Suzi.
1165 * docutils/transforms/parts.py:
1167   - The "contents" directive does more work up-front, creating the
1168     "topic" and "title", and leaving the "pending" node for the
1169     transform.  Allows earlier reference resolution; fixes subtle bug.
1170   - Added support for disabling of section numbering.
1172 * docutils/transforms/references.py:
1174   - Verifying that external targets are truly targets and not indirect
1175     references. This is because we are now adding a "name" attribute to
1176     references in addition to targets. Note sure if this is correct!
1177   - Added code to hook into the unknown_reference_resolvers list for a
1178     transformer in resolve_indirect_target. This allows the
1179     unknown_reference_resolvers to keep around indirect targets which
1180     docutils doesn't know about.
1181   - Added specific error message for duplicate targets.
1183 * docutils/transforms/universal.py:
1185   - Added FilterMessages transform (removes system messages below the
1186     verbosity threshold).
1187   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1188     to FinalCheckVisitor for application-specific handling of
1189     unresolvable references.
1190   - Added specific error message for duplicate targets.
1192 * docutils/writers/__init__.py:
1194   - Added assemble_parts method to the Writer class to allow for
1195     access to a documents individual parts.
1196   - Documented & set default for ``Writer.output`` attribute.
1198 * docutils/writers/html4css1.py:
1200   - Fixed unicode handling of attribute values (bug 760673).
1201   - Prevent duplication of "class" attribute values (bug report from
1202     Kirill Lapshin).
1203   - Improved table grid/border handling (prompted by report from Bob
1204     Marshall).
1205   - Added support for table titles.
1206   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1207     to Darek Suchojad.
1208   - Added functionality to keep track of individual parts of a document
1209     and store them in a dictionary as the "parts" attribute of the writer.
1210     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1211   - Added proper support for the "scale" attribute of the "image"
1212     element.  Contributed by Brent Cook.
1213   - Added ``--initial-header-level`` option.
1214   - Fixed bug: the body_pre_docinfo segment depended on there being a
1215     docinfo; if no docinfo, the document title was incorporated into
1216     the body segment.  Adversely affected the publish_parts interface.
1218 * docutils/writers/latex2e.py:
1220   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1221     about a missing file.
1222   - Added options and support: ``--compound-enumerators``,
1223     ``--section-prefix-for-enumerators``, and
1224     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1225     934322).
1226   - Added option ``--use-verbatim-when-possible``, to avoid
1227     problematic characters (eg, '~' in italian) in literal blocks.
1228   - It's now possible to use four section levels in the `book` and
1229     `report` LaTeX classes.  The default `article` class still has
1230     three levels limit.
1232 * docs/config.txt: "Docutils Configuration Files", added to project.
1233   Moved config file entry descriptions from tools.txt.
1235 * docs/tools.txt:
1237   - Moved config file entry descriptions to config.txt.
1239 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
1240   Development".
1242 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1243   Text Roles", added to project.
1245 * spec/rst/reStructuredText.txt:
1247   - Added description of support for <angle-bracketed> complex option
1248     arguments to option lists.
1249   - Added subsections for indented and quoted literal blocks.
1251 * test: Continually adding & updating tests.
1253   - Added test/test_settings.py & test/data/config_*.txt support
1254     files.
1255   - Added test/test_writers/test_htmlfragment.py.
1257 * test/DocutilsTestSupport.py:
1259   - Refactored LaTeX publisher test suite/case class names to make
1260     testing other writers easier.
1261   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1262     to test the processing of HTML fragments which use the new
1263     publish_parts convenience function.
1265 * tools/buildhtml.py:
1267   - Added support for the "--prune" option.
1268   - Removed dependency on pep2html.py; plaintext PEPs no longer
1269     supported.
1271 * tools/docutils.conf:
1273   - Updated for configuration file reorganization.
1275 * tools/rst2html.py:
1277   - copied from tools/html.py
1279 * setup.py:
1281   - added a 'scripts' section to configuration
1282   - added 'tools/rst2html.py' to the scripts section
1285 Release 0.3 (2003-06-24)
1286 ========================
1288 General:
1290 * Renamed "attribute" to "option" for directives/extensions.
1292 * Renamed transform method "transform" to "apply".
1294 * Renamed "options" to "settings" for runtime settings (as set by
1295   command-line options).  Sometimes "option" (singular) became
1296   "settings" (plural).  Some variations below:
1298   - document.options -> document.settings (stored in other objects as
1299     well)
1300   - option_spec -> settings_spec (not directives though)
1301   - OptionSpec -> SettingsSpec
1302   - cmdline_options -> settings_spec
1303   - relative_path_options -> relative_path_settings
1304   - option_default_overrides -> settings_default_overrides
1305   - Publisher.set_options -> Publisher.get_settings
1307 Specific:
1309 * COPYING.txt: Added "Public Domain Dedication".
1311 * FAQ.txt: Frequently asked questions, added to project.
1313 * setup.py:
1315   - Updated with PyPI Trove classifiers.
1316   - Conditional installation of third-party modules.
1318 * docutils/__init__.py:
1320   - Bumped version to 0.2.1 to reflect changes to I/O classes.
1321   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1322   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1323   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1324     option and its effect on the PEP template & writer.
1325   - Bumped version to 0.2.4 due to changes to the PEP template &
1326     stylesheet.
1327   - Bumped version to 0.2.5 to reflect changes to Reporter output.
1328   - Added ``TransformSpec`` class for new transform system.
1329   - Bumped version to 0.2.6 for API changes (renaming).
1330   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1331     convenience functions.
1332   - Added ``Component.component_type`` attribute.
1333   - Bumped version to 0.2.8 because of the internal parser switch from
1334     plain lists to the docutils.statemachine.StringList objects.
1335   - Bumped version to 0.2.9 because of the frontend.py API changes.
1336   - Bumped version to 0.2.10 due to changes to the project layout
1337     (third-party modules removed from the "docutils" package), and
1338     signature changes in ``io.Input``/``io.Output``.
1339   - Changed version to 0.3.0 for release.
1341 * docutils/core.py:
1343   - Made ``publish()`` a bit more convenient.
1344   - Generalized ``Publisher.set_io``.
1345   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1346     parameters; improved its docstring.
1347   - Added ``publish_file()`` and ``publish_string()``.
1348   - Factored ``Publisher.set_source()`` and ``.set_destination()``
1349     out of ``.set_io``.
1350   - Added support for "--dump-pseudo-xml", "--dump-settings", and
1351     "--dump-transforms" hidden options.
1352   - Added ``Publisher.apply_transforms()`` method.
1353   - Added ``Publisher.set_components()`` method; support for
1354     ``publish_*()`` conveninece functions.
1355   - Moved config file processing to docutils/frontend.py.
1356   - Added support for exit status ("exit_level" setting &
1357     ``enable_exit`` parameter for Publisher.publish() and convenience
1358     functions).
1360 * docutils/frontend.py:
1362   - Check for & exit on identical source & destination paths.
1363   - Fixed bug with absolute paths & "--config".
1364   - Set non-command-line defaults in ``OptionParser.__init__()``:
1365     ``_source`` & ``_destination``.
1366   - Distributed ``relative_path_settings`` to components; updated
1367     ``OptionParser.populate_from_components()`` to combine it all.
1368   - Require list of keys in ``make_paths_absolute`` (was implicit in
1369     global ``relative_path_settings``).
1370   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1371     "--dump-settings", and "--dump-transforms" hidden options.
1372   - Removed nasty internals-fiddling ``ConfigParser.get_section``
1373     code, replaced with correct code.
1374   - Added validation functionality for config files.
1375   - Added "--error-encoding" option/setting, "_disable_config"
1376     internal setting.
1377   - Added encoding validation; updated "--input-encoding" and
1378     "--output-encoding"; added "--error-encoding-error-handler" and
1379     "--output-encoding-error-handler".
1380   - Moved config file processing from docutils/core.py.
1381   - Updated ``OptionParser.populate_from_components`` to handle new
1382     ``SettingsSpec.settings_defaults`` dict.
1383   - Added support for "-" => stdin/stdout.
1384   - Added "exit_level" setting ("--exit" option).
1386 * docutils/io.py:
1388   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1389   - Added automatic closing to ``FileInput`` and ``FileOutput``.
1390   - Delayed opening of ``FileOutput`` file until ``write()`` called.
1391   - ``FileOutput.write()`` now returns the encoded output string.
1392   - Try to get path/stream name automatically in ``FileInput`` &
1393     ``FileOutput``.
1394   - Added defaults for source & destination paths.
1395   - Allow for Unicode I/O with an explicit "unicode" encoding.
1396   - Added ``Output.encode()``.
1397   - Removed dependency on runtime settings; pass encoding directly.
1398   - Recognize Unicode strings in ``Input.decode()``.
1399   - Added support for output encoding error handlers.
1401 * docutils/nodes.py:
1403   - Added "Invisible" element category class.
1404   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1405     modification during a traversal.
1406   - Added element classes: ``line_block``, ``generated``, ``address``,
1407     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1408     ``superscript``, ``subscript``, ``inline``
1409   - Added support for lists of nodes to ``Element.insert()``.
1410   - Fixed parent linking in ``Element.replace()``.
1411   - Added new abstract superclass ``FixedTextElement``; adds
1412     "xml:space" attribute.
1413   - Added support for "line" attribute of ``system_message`` nodes.
1414   - Added support for the observer pattern from ``utils.Reporter``.
1415     Added ``parse_messages`` and ``transform_messages`` attributes to
1416     ``document``, removed ``messages``.  Added ``note_parse_message``
1417     and ``note_transform_message`` methods.
1418   - Added support for improved diagnostics:
1420     - Added "document", "source", and "line" internal attributes to
1421       ``Node``, set by ``Node.setup_child()``.
1422     - Converted variations on ``node.parent = self`` to
1423       ``self.setup_child(node)``.
1424     - Added ``document.current_source`` & ``.current_line``
1425       attributes, and ``.note_source`` observer method.
1426     - Changed "system_message" output to GNU-Tools format.
1428   - Added a "rawsource" attribute to the ``Text`` class, for text
1429     before backslash-escape resolution.
1430   - Support for new transform system.
1431   - Reworked ``pending`` element.
1432   - Fixed XML DOM bug (SF #660611).
1433   - Removed the ``interpeted`` element class and added
1434     ``title_reference``, ``abbreviation``, ``acronym``.
1435   - Made substitutions case-sensitive-but-forgiving; moved some code
1436     from the parser.
1437   - Fixed Unicode bug on element attributes (report: William Dode).
1439 * docutils/optik.py: Removed from project; replaced with
1440   extras/optparse.py and extras/textwrap.py.  These will be installed
1441   only if they're not already present in the Python installation.
1443 * docutils/roman.py: Moved to extras/roman.py; this will be installed
1444   only if it's not already present in the Python installation.
1446 * docutils/statemachine.py:
1448   - Factored out ``State.add_initial_transitions()`` so it can be
1449     extended.
1450   - Converted whitespace-specific "blank" and "indent" transitions
1451     from special-case code to ordinary transitions: removed
1452     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
1453     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
1454     ``ws_initial_transitions`` attributes.
1455   - Removed ``State.match_transition()`` after merging it into
1456     ``.check_line()``.
1457   - Added ``StateCorrection`` exception.
1458   - Added support for ``StateCorrection`` in ``StateMachine.run()``
1459     (moved ``TransitionCorrection`` support there too.)
1460   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
1461     ``EOFError`` instead of ``IndexError``.
1462   - Added ``State.no_match`` method.
1463   - Added support for the Observer pattern, triggered by input line
1464     changes.
1465   - Added ``strip_top`` parameter to
1466     ``StateMachineWS.get_first_known_indented``.
1467   - Made ``context`` a parameter to ``StateMachine.run()``.
1468   - Added ``ViewList`` & ``StringList`` classes;
1469     ``extract_indented()`` becomes ``StringList.get_indented()``.
1470   - Added ``StateMachine.insert_input()``.
1471   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
1472     thanks to) Fred Drake.
1474 * docutils/utils.py:
1476   - Added a ``source`` attribute to Reporter instances and
1477     ``system_message`` elements.
1478   - Added an observer pattern to ``utils.Reporter`` to keep track of
1479     system messages.
1480   - Fixed bugs in ``relative_path()``.
1481   - Added support for improved diagnostics.
1482   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
1483   - Added support for encoding Reporter stderr output, and encoding
1484     error handlers.
1485   - Reporter keeps track of the highest level system message yet
1486     generated.
1488 * docutils/languages: Fixed bibliographic field language lookups.
1490 * docutils/languages/es.py: Added to project; Spanish mappings by
1491   Marcelo Huerta San Martin.
1493 * docutils/languages/fr.py: Added to project; French mappings by
1494   Stefane Fermigier.
1496 * docutils/languages/it.py: Added to project; Italian mappings by
1497   Nicola Larosa.
1499 * docutils/languages/sk.py: Added to project; Slovak mappings by
1500   Miroslav Vasko.
1502 * docutils/parser/__init__.py:
1504   - Added ``Parser.finish_parse()`` method.
1506 * docutils/parser/rst/__init__.py:
1508   - Added options: "--pep-references", "--rfc-references",
1509     "--tab-width", "--trim-footnote-reference-space".
1511 * docutils/parsers/rst/states.py:
1513   - Changed "title under/overline too short" system messages from INFO
1514     to WARNING, and fixed its insertion location.
1515   - Fixed enumerated list item parsing to allow paragraphs & section
1516     titles to begin with enumerators.
1517   - Converted system messages to use the new "line" attribute.
1518   - Fixed a substitution reference edge case.
1519   - Added support for "--pep-references" and "--rfc-references"
1520     options; reworked ``Inliner`` code to make customization easier.
1521   - Removed field argument parsing.
1522   - Added support for short section title over/underlines.
1523   - Fixed "simple reference name" regexp to ignore text like
1524     "object.__method__"; not an anonymous reference.
1525   - Added support for improved diagnostics.
1526   - Reworked directive API, based on Dethe Elza's contribution.  Added
1527     ``Body.parse_directive()``, ``.parse_directive_options()``,
1528     ``.parse_directive_arguments()`` methods.
1529   - Added ``ExtensionOptions`` class, to parse directive options
1530     without parsing field bodies.  Factored
1531     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
1532     ``ExtensionOptions``.
1533   - Improved definition list term/classifier parsing.
1534   - Added warnings for unknown directives.
1535   - Renamed ``Stuff`` to ``Struct``.
1536   - Now flagged as errors: transitions at the beginning or end of
1537     sections, empty sections (except title), and empty documents.
1538   - Updated for ``statemachine.StringList``.
1539   - Enabled recognition of schemeless email addresses in targets.
1540   - Added support for embedded URIs in hyperlink references.
1541   - Added backslash-escapes to inline markup end-string suffix.
1542   - Added support for correct interpreted text processing.
1543   - Fixed nested title parsing (topic, sidebar directives).
1544   - Added special processing of backslash-escaped whitespace (idea
1545     from David Abrahams).
1546   - Made substitutions case-sensitive-but-forgiving; moved some code
1547     to ``docutils.nodes``.
1548   - Added support for block quote attributions.
1549   - Added a kludge to work-around a conflict between the bubble-up
1550     parser strategy and short titles (<= 3 char-long over- &
1551     underlines).  Fixes SF bug #738803 "infinite loop with multiple
1552     titles" submitted by Jason Diamond.
1553   - Added explicit interpreted text roles for standard inline markup:
1554     "emphasis", "strong", "literal".
1555   - Implemented "superscript" and "subscript" interpreted text roles.
1556   - Added initial support for "abbreviation" and "acronym" roles;
1557     incomplete.
1558   - Added support for "--trim-footnote-reference-space" option.
1559   - Optional space before colons in directives & hyperlink targets.
1561 * docutils/parsers/rst/tableparser.py:
1563   - Fixed a bug that was producing unwanted empty rows in "simple"
1564     tables.
1565   - Detect bad column spans in "simple" tables.
1567 * docutils/parsers/rst/directives: Updated all directive functions to
1568   new API.
1570 * docutils/parsers/rst/directives/__init__.py:
1572   - Added ``flag()``, ``unchanged()``, ``path()``,
1573     ``nonnegative_int()``, ``choice()``, and ``class_option()``
1574     directive option helper functions.
1575   - Added warnings for unknown directives.
1576   - Return ``None`` for missing directives.
1577   - Added ``register_directive()``, thanks to William Dode and Paul
1578     Moore.
1580 * docutils/parsers/rst/directives/admonitions.py:
1582   - Added "admonition" directive.
1584 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
1585   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
1586   "parsed-literal", "rubric", "epigraph", "highlights" and
1587   "pull-quote" directives.
1589 * docutils/parsers/rst/directives/images.py:
1591   - Added an "align" attribute to the "image" & "figure" directives
1592     (by Adam Chodorowski).
1593   - Added "class" option to "image", and "figclass" to "figure".
1595 * docutils/parsers/rst/directives/misc.py:
1597   - Added "include", "raw", and "replace" directives, courtesy of
1598     Dethe Elza.
1599   - Added "unicode" and "class" directives.
1601 * docutils/parsers/rst/directives/parts.py:
1603   - Added the "sectnum" directive; by Dmitry Jemerov.
1604   - Added "class" option to "contents" directive.
1606 * docutils/parsers/rst/directives/references.py: Added to project.
1607   Contains the "target-notes" directive.
1609 * docutils/parsers/rst/languages/__init__.py:
1611   - Return ``None`` from get_language() for missing language modules.
1613 * docutils/parsers/rst/languages/de.py: Added to project; German
1614   mappings by Engelbert Gruber.
1616 * docutils/parsers/rst/languages/en.py:
1618   - Added interpreted text roles mapping.
1620 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
1621   mappings by Marcelo Huerta San Martin.
1623 * docutils/parsers/rst/languages/fr.py: Added to project; French
1624   mappings by William Dode.
1626 * docutils/parsers/rst/languages/it.py: Added to project; Italian
1627   mappings by Nicola Larosa.
1629 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
1630   mappings by Miroslav Vasko.
1632 * docutils/readers/__init__.py:
1634   - Added support for the observer pattern from ``utils.Reporter``, in
1635     ``Reader.parse`` and ``Reader.transform``.
1636   - Removed ``Reader.transform()`` method.
1637   - Added default parameter values to ``Reader.__init__()`` to make
1638     instantiation easier.
1639   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
1641 * docutils/readers/pep.py:
1643   - Added the ``peps.TargetNotes`` transform to the Reader.
1644   - Removed PEP & RFC reference detection code; moved to
1645     parsers/rst/states.py as options (enabled here by default).
1646   - Added support for pre-acceptance PEPs (no PEP number yet).
1647   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
1648     easy subclassing.
1650 * docutils/readers/python: Python Source Reader subpackage added to
1651   project, including preliminary versions of:
1653   - __init__.py
1654   - moduleparser.py: Parser for Python modules.
1656 * docutils/transforms/__init__.py:
1658   - Added ``Transformer`` class and completed transform reform.
1659   - Added unknown_reference_resolvers list for each transformer. This list holds
1660     the list of functions provided by each component of the transformer that
1661     help resolve references.
1663 * docutils/transforms/frontmatter.py:
1665   - Improved support for generic fields.
1666   - Fixed bibliographic field language lookups.
1668 * docutils/transforms/misc.py: Added to project.  Miscellaneous
1669   transforms.
1671 * docutils/transforms/parts.py:
1673   - Moved the "id" attribute from TOC list items to the references
1674     (``Contents.build_contents()``).
1675   - Added the ``SectNum`` transform; by Dmitry Jemerov.
1676   - Added "class" attribute support to ``Contents``.
1678 * docutils/transforms/peps.py:
1680   - Added ``mask_email()`` function, updating to pep2html.py's
1681     functionality.
1682   - Linked "Content-Type: text/x-rst" to PEP 12.
1683   - Added the ``TargetNotes`` PEP-specific transform.
1684   - Added ``TargetNotes.cleanup_callback``.
1685   - Added title check to ``Headers``.
1687 * docutils/transforms/references.py:
1689   - Added the ``TargetNotes`` generic transform.
1690   - Split ``Hyperlinks`` into multiple transforms.
1691   - Fixed bug with multiply-indirect references (report: Bruce Smith).
1692   - Added check for circular indirect references.
1693   - Made substitutions case-sensitive-but-forgiving.
1695 * docutils/transforms/universal.py:
1697   - Added support for the "--expose-internal-attributes" option.
1698   - Removed ``Pending`` transform classes & data.
1700 * docutils/writers/__init__.py:
1702   - Removed ``Writer.transform()`` method.
1704 * docutils/writers/docutils-xml.py:
1706   - Added XML and doctype declarations.
1707   - Added "--no-doctype" and "--no-xml-declaration" options.
1709 * docutils/writers/html4css1.py:
1711   - "name" attributes only on these tags: a, applet, form, frame,
1712     iframe, img, map.
1713   - Added "name" attribute to <a> in section titles for Netscape 4
1714     support (bug report: Pearu Peterson).
1715   - Fixed targets (names) on footnote, citation, topic title,
1716     problematic, and system_message nodes (for Netscape 4).
1717   - Changed field names from "<td>" to "<th>".
1718   - Added "@" to "&#64;" encoding to thwart address harvesters.
1719   - Improved the vertical whitespace optimization; ignore "invisible"
1720     nodes (targets, comments, etc.).
1721   - Improved inline literals with ``<span class="pre">`` around chunks
1722     of text and ``&nbsp;`` for runs of spaces.
1723   - Improved modularity of output; added ``self.body_pre_docinfo`` and
1724     ``self.docinfo`` segments.
1725   - Added support for "line_block", "address" elements.
1726   - Improved backlinks (footnotes & system_messages).
1727   - Improved system_message output.
1728   - Redefined "--stylesheet" as containing an invariant URL, used
1729     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
1730     working directory.
1731   - Added "--footnote-references" option (superscript or brackets).
1732   - Added "--compact-lists" and "--no-compact-lists" options.
1733   - Added "--embed-stylesheet" and "--link-stylesheet" options;
1734     factored out ``HTMLTranslator.get_stylesheet_reference()``.
1735   - Improved field list rendering.
1736   - Added Docutils version to "generator" meta tag.
1737   - Fixed a bug with images; they must be inline, so wrapped in <p>.
1738   - Improved layout of <pre> HTML source.
1739   - Fixed attribute typo on <colspec>.
1740   - Refined XML prologue.
1741   - Support for no stylesheet.
1742   - Removed "interpreted" element support.
1743   - Added support for "title_reference", "sidebar", "attribution",
1744     "rubric", and generic "admonition" elements.
1745   - Added "--attribution" option.
1746   - Added support for "inline", "subscript", "superscript" elements.
1747   - Added initial support for "abbreviation" and "acronym";
1748     incomplete.
1750 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
1751   (from the sandbox).
1753   - Added french.
1754   - Double quotes in literal blocks (special treatment for de/ngerman).
1755   - Added '--hyperlink-color' option ('0' turns off coloring of links).
1756   - Added  "--attribution" option.
1757   - Right align attributions.
1759 * docutils/writers/pep_html.py:
1761   - Parameterized output encoding in PEP template.
1762   - Reworked substitutions from ``locals()`` into ``subs`` dict.
1763   - Redefined "--pep-stylesheet" as containing an invariant URL, used
1764     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
1765     working directory.
1766   - Added an override on the "--footnote-references" option.
1767   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
1768   - Added Docutils version to "generator" meta tag.
1769   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
1771 * docs/tools.txt:
1773   - Added a "silent" setting for ``buildhtml.py``.
1774   - Added a "Getting Help" section.
1775   - Rearranged the structure.
1776   - Kept up to date, with new settings, command-line options etc.
1777   - Added section for ``rst2latex.py`` (Engelbert Gruber).
1778   - Converted settings table into a definition list.
1780 * docs/rst/quickstart.txt:
1782   - Added a table of contents.
1783   - Added feedback information.
1784   - Added mention of minimum section title underline lengths.
1785   - Removed the 4-character minimum for section title underlines.
1787 * docs/rst/quickref.html:
1789   - Added a "Getting Help" section.
1790   - Added a style to make section title backlinks more subtle.
1791   - Added mention of minimum section title underline lengths.
1792   - Removed the 4-character minimum for section title underlines.
1794 * extras: Directory added to project; contains third-party modules
1795   that Docutils depends on (optparse, textwrap, roman).  These are
1796   only installed if they're not already present.
1798 * licenses: Directory added to project; contains copies of license
1799   files for non-public-domain files.
1801 * spec/doctree.txt:
1803   - Changed the focus.  It's about DTD elements:  structural
1804     relationships, semantics, and external (public) attributes.  Not
1805     about the element class library.
1806   - Moved some implementation-specific stuff into ``docutils.nodes``
1807     docstrings.
1808   - Wrote descriptions of all common attributes and parameter
1809     entities.  Filled in introductory material.
1810   - Working through the element descriptions: 55 down, 37 to go.
1811   - Removed "Representation of Horizontal Rules" to
1812     spec/rst/alternatives.txt.
1814 * spec/docutils.dtd:
1816   - Added "generated" inline element.
1817   - Added "line_block" body element.
1818   - Added "auto" attribute to "title".
1819   - Changed content models of "literal_block" and "doctest_block" to
1820     ``%text.model``.
1821   - Added ``%number;`` attribute type parameter entity.
1822   - Changed ``%structural.elements;`` to ``%section.elements``.
1823   - Updated attribute types; made more specific.
1824   - Added "address" bibliographic element.
1825   - Added "line" attribute to ``system_message`` element.
1826   - Removed "field_argument" element; "field_name" may contain
1827     multiple words and whitespace.
1828   - Changed public identifier to docutils.sf.net.
1829   - Removed "interpreted" element; added "title_reference",
1830     "abbreviation", "acronym".
1831   - Removed "refuri" attribute from "footnote_reference" and
1832     "citation_reference".
1833   - Added "sidebar", "rubric", "attribution", "admonition",
1834     "superscript", "subscript", and "inline" elements.
1836 * spec/pep-0256.txt: Converted to reStructuredText & updated.
1838 * spec/pep-0257.txt: Converted to reStructuredText & updated.
1840 * spec/pep-0258.txt: Converted to reStructuredText & updated.
1842 * spec/semantics.txt: Updated with text from a Doc-SIG response to
1843   Dallas Mahrt.
1845 * spec/transforms.txt: Added to project.
1847 * spec/howto: Added subdirectory, for developer how-to docs.
1849 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
1850   Elza, edited & extended by David Goodger.
1852 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
1853   project.
1855 * spec/rst/alternatives.txt:
1857   - Added "Doctree Representation of Transitions" from
1858     spec/doctree.txt.
1859   - Updated "Inline External Targets" & closed the debate.
1860   - Added ideas for interpreted text syntax extensions.
1861   - Added "Nested Inline Markup" section.
1863 * spec/rst/directives.txt:
1865   - Added directives: "topic", "sectnum", "target-notes",
1866     "line-block", "parsed-literal", "include", "replace", "sidebar",
1867     "admonition", "rubric", "epigraph", "highlights", "unicode" and
1868     "class".
1869   - Formalized descriptions of directive details.
1870   - Added an "align" attribute to the "image" & "figure" directives
1871     (by Adam Chodorowski).
1872   - Added "class" options to "topic", "sidebar", "line-block",
1873     "parsed-literal", "contents", and "image"; and "figclass" to
1874     "figure".
1876 * spec/rst/interpreted.txt: Added to project.  Descriptions of
1877   interpreted text roles.
1879 * spec/rst/introduction.txt:
1881   - Added pointers to material for new users.
1883 * spec/rst/reStructuredText.txt:
1885   - Disambiguated comments (just add a newline after the "::").
1886   - Updated enumerated list description; added a discussion of the
1887     second-line validity checking.
1888   - Updated directive description.
1889   - Added a note redirecting newbies to the user docs.
1890   - Expanded description of inline markup start-strings in non-markup
1891     contexts.
1892   - Removed field arguments and made field lists a generic construct.
1893   - Removed the 4-character minimum for section title underlines.
1894   - Clarified term/classifier delimiter & inline markup ambiguity
1895     (definition lists).
1896   - Added "Embedded URIs".
1897   - Updated "Interpreted Text" section.
1898   - Added "Character-Level Inline Markup" section.
1900 * test: Continually adding & updating tests.
1902   - Moved test/test_rst/ to test/test_parsers/test_rst/.
1903   - Moved test/test_pep/ to test/test_readers/test_pep/.
1904   - Added test/test_readers/test_python/.
1905   - Added test/test_writers/ (Engelbert Gruber).
1907 * tools:
1909   - Made the ``locale.setlocale()`` calls in front ends
1910     fault-tolerant.
1912 * tools/buildhtml.py:
1914   - Added "--silent" option.
1915   - Fixed bug with absolute paths & "--config".
1916   - Updated for new I/O classes.
1917   - Added some exception handling.
1918   - Separated publishers' setting defaults; prevents interference.
1919   - Updated for new ``publish_file()`` convenience function.
1921 * tools/pep-html-template:
1923   - Allow for "--embed-stylesheet".
1924   - Added Docutils version to "generator" meta tag.
1925   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
1926   - Conform to XHTML spec.
1928 * tools/pep2html.py:
1930   - Made ``argv`` a parameter to ``main()``.
1931   - Added support for "Content-Type:" header & arbitrary PEP formats.
1932   - Linked "Content-Type: text/plain" to PEP 9.
1933   - Files skipped (due to an error) are not pushed onto the server.
1934   - Updated for new I/O classes.
1935   - Added ``check_requirements()`` & ``pep_type_error()``.
1936   - Added some exception handling.
1937   - Updated for new ``publish_string()`` convenience function.
1938   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
1940 * tools/quicktest.py:
1942   - Added "-V"/"--version" option.
1944 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
1946 * tools/unicode2rstsubs.py: Added to project.  Produces character
1947   entity files (reSructuredText substitutions) from the MathML master
1948   unicode.xml file.
1950 * tools/editors: Support code for editors, added to project.  Contains
1951   ``emacs/restructuredtext.el``.
1953 * tools/stylesheets/default.css: Moved into the stylesheets directory.
1955   - Added style for chunks of inline literals.
1956   - Removed margin for first child of table cells.
1957   - Right-aligned field list names.
1958   - Support for auto-numbered section titles in TOCs.
1959   - Increased the size of inline literals (<tt>) in titles.
1960   - Restored the light gray background for inline literals.
1961   - Added support for "line_block" elements.
1962   - Added style for "address" elements.
1963   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
1964   - Improved field list rendering.
1965   - Vertical whitespace improvements.
1966   - Removed "a.target" style.
1968 * tools/stylesheets/pep.css:
1970   - Fixed nested section margins.
1971   - Other changes parallel those of ``../default.css``.
1974 Release 0.2 (2002-07-31)
1975 ========================
1977 General:
1979 - The word "component" was being used ambiguously.  From now on,
1980   "component" will be used to mean "Docutils component", as in Reader,
1981   Writer, Parser, or Transform.  Portions of documents (Table of
1982   Contents, sections, etc.)  will be called "document parts".
1983 - Did a grand renaming: a lot of ``verylongnames`` became
1984   ``very_long_names``.
1985 - Cleaned up imports: no more relative package imports or
1986   comma-separated lists of top-level modules.
1987 - Added support for an option values object which carries default
1988   settings and overrides (from command-line options and library use).
1989 - Added internal Unicode support, and support for both input and
1990   output encodings.
1991 - Added support for the ``docutils.io.IO`` class & subclasses.
1993 Specific:
1995 * docutils/__init__.py:
1997   - Added ``ApplicationError`` and ``DataError``, for use throughout
1998     the package.
1999   - Added ``Component`` base class for Docutils components; implements
2000     the ``supports`` method.
2001   - Added ``__version__`` (thus, ``docutils.__version__``).
2003 * docutils/core.py:
2005   - Removed many keyword parameters to ``Publisher.__init__()`` and
2006     ``publish()``; bundled into an option values object.  Added
2007     "argv", "usage", "description", and "option_spec" parameters for
2008     command-line support.
2009   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2010     methods.
2011   - Reworked I/O model for ``docutils.io`` wrappers.
2012   - Updated ``Publisher.set_options()``; now returns option values
2013     object.
2014   - Added support for configuration files (/etc/docutils.conf,
2015     ./docutils.conf, ~/.docutils).
2016   - Added ``Publisher.setup_option_parser()``.
2017   - Added default usage message and description.
2019 * docutils/frontend.py: Added to project; support for front-end
2020   (command-line) scripts.  Option specifications may be augmented by
2021   components.  Requires Optik (http://optik.sf.net/) for option
2022   processing (installed locally as docutils/optik.py).
2024 * docutils/io.py: Added to project; uniform API for a variety of input
2025   output mechanisms.
2027 * docutils/nodes.py:
2029   - Added ``TreeCopyVisitor`` class.
2030   - Added a ``copy`` method to ``Node`` and subclasses.
2031   - Added a ``SkipDeparture`` exception for visitors.
2032   - Renamed ``TreePruningException`` from ``VisitorException``.
2033   - Added docstrings to ``TreePruningException``, subclasses, and
2034     ``Nodes.walk()``.
2035   - Improved docstrings.
2036   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2037   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2038     imports.
2039   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2040     ``PreDecorative`` mixin.
2041   - Reworked the name/id bookkeeping; to ``document``, removed
2042     ``explicit_targets`` and ``implicit_targets`` attributes, added
2043     ``nametypes`` attribute and ``set_name_id_map`` method.
2044   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2045     traversals.
2046   - Added ``document.has_name()`` method.
2047   - Fixed DOM generation for list-attributes.
2048   - Added category class ``Labeled`` (used by footnotes & citations).
2049   - Added ``Element.set_class()`` method (sets "class" attribute).
2051 * docutils/optik.py: Added to project.  Combined from the Optik
2052   package, with added option groups and other modifications.  The use
2053   of this module is probably only temporary.
2055 * docutils/statemachine.py:
2057   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2058   - Added underscores to improve many awkward names.
2059   - In ``string2lines()``, changed whitespace normalizing translation
2060     table to regexp; restores Python 2.0 compatibility with Unicode.
2062 * docutils/urischemes.py:
2064   - Filled in some descriptions.
2065   - Added "shttp" scheme.
2067 * docutils/utils.py:
2069   - Added ``clean_rcs_keywords`` function (moved from
2070     docutils/transforms/frontmatter.py
2071     ``DocInfo.filter_rcs_keywords``).
2072   - Added underscores to improve many awkward names.
2073   - Changed names of Reporter's thresholds:
2074     warning_level -> report_level; error_level -> halt_level.
2075   - Moved ``utils.id()`` to ``nodes.make_id()``.
2076   - Added ``relative_path(source, target)``.
2078 * docutils/languages/de.py: German mappings; added to project.  Thanks
2079   to Gunnar Schwant for the translations.
2081 * docutils/languages/en.py: Added "Dedication" bibliographic field
2082   mappings.
2084 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2085   Chodorowski.
2087 * docutils/parsers/rst/states.py:
2089   - Added underscores to improve many awkward names.
2090   - Added RFC-2822 header support.
2091   - Extracted the inline parsing code from ``RSTState`` to a separate
2092     class, ``Inliner``, which will allow easy subclassing.
2093   - Made local bindings for ``memo`` container & often-used contents
2094     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2095   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2096   - Added ``MarkupMismatch`` exception; for late corrections.
2097   - Added ``-/:`` characters to inline markup's start string prefix,
2098     ``/`` to end string suffix.
2099   - Fixed a footnote bug.
2100   - Fixed a bug with literal blocks.
2101   - Applied patch from Simon Budig: simplified regexps with symbolic
2102     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2103   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2104   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2105   - Allowed non-ASCII in "simple names" (directive names, field names,
2106     references, etc.).
2107   - Converted ``Inliner.patterns.initial`` to be dynamically built
2108     from parts with ``build_regexp()`` function.
2109   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2110   - Updated docstrings.
2111   - Changed "table" to "grid_table"; added "simple_table" support.
2113 * docutils/parsers/rst/tableparser.py:
2115   - Changed ``TableParser`` to ``GridTableParser``.
2116   - Added ``SimpleTableParser``.
2117   - Refactored naming.
2119 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2120   a fallback language for directive names.
2122 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2123   directive to use a ``pending`` element, used only by HTML writers.
2125 * docutils/parsers/rst/directives/parts.py: Renamed from
2126   components.py.
2128   - Added "backlinks" attribute to "contents" directive.
2130 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2131   project by Adam Chodorowski.
2133 * docutils/readers/__init__.py: Gave Readers more control over
2134   choosing and instantiating Parsers.
2136 * docutils/readers/pep.py: Added to project; for PEP processing.
2138 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2139   requires a ``component`` parameter.
2141 * docutils/transforms/components.py: Added to project; transforms
2142   related to Docutils components.
2144 * docutils/transforms/frontmatter.py:
2146   - In ``DocInfo.extract_authors``, check for a single "author" in an
2147     "authors" group, and convert it to a single "author" element.
2148   - Added support for "Dedication" and generic bibliographic fields.
2150 * docutils/transforms/peps.py: Added to project; PEP-specific.
2152 * docutils/transforms/parts.py: Renamed from old components.py.
2154   - Added filter for `Contents`, to use alt-text for inline images,
2155     and to remove inline markup that doesn't make sense in the ToC.
2156   - Added "name" attribute to TOC topic depending on its title.
2157   - Added support for optional TOC backlinks.
2159 * docutils/transforms/references.py: Fixed indirect target resolution
2160   in ``Hyperlinks`` transform.
2162 * docutils/transforms/universal.py:
2164   - Changed ``Messages`` transform to properly filter out system
2165     messages below the warning threshold.
2166   - Added ``Decorations`` transform (support for ``--generator``,
2167     ``--date``, ``--time``, ``--source-link`` options).
2169 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2170   Engelbert Gruber's PDF writer.
2172 * docutils/writers/html4css1.py:
2174   - Made XHTML-compatible (switched to lowercase element & attribute
2175     names; empty tag format).
2176   - Escape double-dashes in comment text.
2177   - Improved boilerplate & modularity of output.
2178   - Exposed modular output in Writer class.
2179   - Added a "generator" meta tag to <head>.
2180   - Added support for the ``--stylesheet`` option.
2181   - Added support for ``decoration``, ``header``, and ``footer``
2182     elements.
2183   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2184     translation table to regexp; restores Python 2.0 compatibility
2185     with Unicode.
2186   - Added the translator class as instance variable to the Writer, to
2187     make it easily subclassable.
2188   - Improved option list spacing (thanks to Richard Jones).
2189   - Modified field list output.
2190   - Added backlinks to footnotes & citations.
2191   - Added percentage widths to "<col>" tags (from colspec).
2192   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2193     "<span>" changed to "<var>".
2194   - Inline literals: "<code>" changed to "<tt>".
2195   - Many changes to optimize vertical space: compact simple lists etc.
2196   - Add a command-line options & directive attributes to control TOC
2197     and footnote/citation backlinks.
2198   - Added support for optional footnote/citation backlinks.
2199   - Added support for generic bibliographic fields.
2200   - Identify backrefs.
2201   - Relative URLs for stylesheet links.
2203 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2204   PEPs (subclass of ``html4css1.Writer``).
2206 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2208 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2209   of the Docutils internal doctree in XML.
2211 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2213 * spec/doctree.txt:
2215   - Changed the title to "The Docutils Document Tree".
2216   - Added "Hyperlink Bookkeeping" section.
2218 * spec/docutils.dtd:
2220   - Added ``decoration``, ``header``, and ``footer`` elements.
2221   - Brought ``interpreted`` element in line with the parser: changed
2222     attribute "type" to "role", added "position".
2223   - Added support for generic bibliographic fields.
2225 * spec/notes.txt: Continual updates.  Added "Project Policies".
2227 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2228   section.
2230 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2232 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
2233   mailing list discussions.
2235 * spec/pep-0287.txt:
2237   - Renamed to "reStructuredText Docstring Format".
2238   - Minor edits.
2239   - Reworked Q&A as an enumerated list.
2240   - Converted to reStructuredText format.
2242 * spec/pysource.dtd:
2244   - Reworked structural elements, incorporating ideas from Tony Ibbs.
2246 * spec/pysource.txt: Removed from project.  Moved much of its contents
2247   to pep-0258.txt.
2249 * spec/rst/alternatives.txt:
2251   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2252   - Added "Inline External Targets" section.
2254 * spec/rst/directives.txt:
2256   - Added "backlinks" attribute to "contents" directive.
2258 * spec/rst/problems.txt:
2260   - Updated the Enumerated List Markup discussion.
2261   - Added new alternative table markup syntaxes.
2263 * spec/rst/reStructuredText.txt:
2265   - Clarified field list usage.
2266   - Updated enumerated list description.
2267   - Clarified purpose of directives.
2268   - Added ``-/:`` characters to inline markup's start string prefix,
2269     ``/`` to end string suffix.
2270   - Updated "Authors" bibliographic field behavior.
2271   - Changed "inline hyperlink targets" to "inline internal targets".
2272   - Added "simple table" syntax to supplement the existing but
2273     newly-renamed "grid tables".
2274   - Added cautions for anonymous hyperlink use.
2275   - Added "Dedication" and generic bibliographic fields.
2277 * test: Made test modules standalone (subdirectories became packages).
2279 * test/DocutilsTestSupport.py:
2281   - Added support for PEP extensions to reStructuredText.
2282   - Added support for simple tables.
2283   - Refactored naming.
2285 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2287   - Now supports true packages containing test modules
2288     (``__init__.py`` files required); fixes duplicate module name bug.
2290 * test/test_pep/: Subpackage added to project; PEP testing.
2292 * test/test_rst/test_SimpleTableParser.py: Added to project.
2294 * tools:
2296   - Updated html.py and publish.py front-end tools to use the new
2297     command-line processing facilities of ``docutils.frontend``
2298     (exposed in ``docutils.core.Publisher``), reducing each to just a
2299     few lines of code.
2300   - Added ``locale.setlocale()`` calls to front-end tools.
2302 * tools/buildhtml.py: Added to project; batch-generates .html from all
2303   the .txt files in directories and subdirectories.
2305 * tools/default.css:
2307   - Added support for ``header`` and ``footer`` elements.
2308   - Added styles for "Dedication" topics (biblio fields).
2310 * tools/docutils.conf: A configuration file; added to project.
2312 * tools/docutils-xml.py: Added to project.
2314 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2316 * tools/pep-html-template: Added to project.
2318 * tools/pep2html.py: Added to project from Python (nondist/peps).
2319   Added support for Docutils (reStructuredText PEPs).
2321 * tools/quicktest.py:
2323   - Added the ``--attributes`` option, hacked a bit.
2324   - Added a second command-line argument (output file); cleaned up.
2326 * tools/stylesheets/: Subdirectory added to project.
2328 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2331 Release 0.1 (2002-04-20)
2332 ========================
2334 This is the first release of Docutils, merged from the now inactive
2335 reStructuredText__ and `Docstring Processing System`__ projects.  For
2336 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2337 `DPS HISTORY`__ files.
2339 __ http://structuredtext.sourceforge.net/
2340 __ http://docstring.sourceforge.net/
2341 __ http://structuredtext.sourceforge.net/HISTORY.html
2342 __ http://docstring.sourceforge.net/HISTORY.html
2344 General changes: renamed 'dps' package to 'docutils'; renamed
2345 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2346 the test suites (reStructuredText's test/test_states renamed to
2347 test/test_rst); and all modifications required to make it all work.
2349 * docutils/parsers/rst/states.py:
2351   - Improved diagnostic system messages for missing blank lines.
2352   - Fixed substitution_reference bug.
2356    Local Variables:
2357    mode: indented-text
2358    indent-tabs-mode: nil
2359    sentence-end-double-space: t
2360    fill-column: 70
2361    End: