Add simply support for nested tables.
[docutils.git] / HISTORY.txt
bloba011a08ebea52f0efd0b93f5dc9caf8c52fb9414
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   - Add simply support for nested tables.
120   - Fix verbatim in tables if use-verbatim-when-possible.
121   - Use section commands down to subparagraph.
122   - Put ensuremath around some latin1 chars.
123   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
124   - New option ``--use-bibtex=style,db1,db2``.
125   - New option ``--reference-label`` to allow usage of LaTeX ref for 
126     labels in section references.
127   - Add a label after every section to support sectionnumbers as reference
128     labels.
129   - Fix: bug# 1605376 rst2latex: bad options group list
130   - Remove inactive code for use_optionlist_for_option_list.
131   - Remove latex comments from option_list output.
132   - Fix: bug# 1612270 double qoutes in italian literal.
133   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target. 
134   - Add option --use-latex-abstract.
135   - Image width unit ``px`` is translated to ``pt``.
136   - Add image height support.
137   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
138     bug #1457388
139   - Fix: Do not escape underscores in citation reference labels if
140     use-latex-citations is set.
141   - Use centering instead of center for figure contents, to avoid vertical
142     space.
143   - Recognize table class: borderless, nolines, booktabs, standard.
144   - Fix: Renaming contents section does not work with latex writer; SF
145     bug #1487405.
146   - Applied patch for custom roles with classes from Edward Loper.
147   - Fixed bug that caused crashes with more than 256 lists.
149 * docutils/writers/pep_html/__init__.py:
151   - Changed to support new python.org website structure and
152     pep2pyramid.py.
154 * docs/howto/security.txt: "Deploying Docutils Securely", added to
155   project.
157 * tools/buildhtml.py:
159   -- Added ``ignore`` setting to exclude a list of shell patterns
160      (default: ``.svn:CVS``).
162 * tools/editors/emacs/rst.el:
164   - Changed license to "GPL".
165   - Added ``rst-straighten-decorations`` function.
166   - The ``compile`` module is now always loaded.
167   - Added ``rst-toggle-line-block`` function.
168   - Headings consisting only of non-ASCII characters are now
169     recognized by ``rst-toc`` and ``rst-adjust``.
170   - Added font-lock support for multi-line comments where the first
171     comment line is empty.
172   - Added ``(require 'font-lock)``.
174 * setup.py:
176   - Provide descriptive error message if distutils is missing.
179 Release 0.4 (2006-01-09)
180 ========================
182 * General:
184   - Updated the project policies for trunk/branch development &
185     version numbering.
187 * docutils/__init__.py:
189   - Added ``__version_details__`` attribute to describe code source
190     (repository/snapshot/release).
191   - Replaced ``default_transforms`` attribute of TransformSpec with
192     ``get_transforms()`` method.
194 * docutils/core.py:
196   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
197     functions, for document tree extraction and reprocessing.
199 * docutils/io.py:
201   - Added ``DocTreeInput`` class, for reprocessing existing documents.
202   - Added support for non-Unicode (e.g. binary) writer output.
204 * docutils/nodes.py:
206   - Re-introduced ``Targetable.indirect_reference_name``, for
207     MoinMoin/reST compatibility (removed in r3124/r3129).
208   - Added ``serial_escape`` function; escapes string values that are
209     elements of a list, for serialization.  Modified Docutils-XML
210     writing (``Element._dom_node``) and pseudo-XML writing
211     (``Element.starttag``) to use ``serial_escape``.
212   - Added ``Node.deepcopy()`` method.
213   - Removed the internal lists ``document.substitution_refs``,
214     ``document.anonymous_refs``, and ``document.anonymous_targets``.
215   - Added a "container" element.
216   - Fixed bug where values of list-valued attributes of elements
217     originating from custom interpreted text roles (i.e., with custom
218     classes) were being shared between element instances.  Reported by
219     Shmuel Zeigerman.
221 * docutils/statemachine.py:
223   - Added trailing whitespace stripping to ``string2lines()``.
224   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
225     Asian double-width character support.
227 * docutils/utils.py:
229   - Added ``east_asian_column_width()`` for double-width character
230     support.
232 * docutils/languages/ja.py: Added to project: Japanese mappings by
233   Hisashi Morita.
235 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
236   mappings by Panjunyong.
238 * docutils/parsers/null.py: Added to project; a do-nothing parser.
240 * docutils/parsers/rst/__init__.py:
242   - Added validator to tab_width setting, with test.  Closes SF bug
243     #1212515, report from Wu Wei.
245 * docutils/parsers/rst/states.py:
247   - Fixed bug with escaped colons indicating a literal block.
248   - Fixed bug with enumerated lists (SF#1254145).
249   - Backslash-escaped colons inside of field names are now allowed.
250   - Targets (implicit and explicit), anonymous hyperlink references
251     and auto-numbered footnote references inside of substitution
252     definitions are now disallowed.
253   - Fixed bug: list items with blank first lines.
254   - Fixed bug: block quote attributions with indented second lines.
255   - Added East Asian double-width character support (Python 2.4 only).
257 * docutils/parsers/rst/tableparser.py:
259   - Added East Asian double-width character support (Python 2.4 only).
261 * docutils/parsers/rst/directives/body.py:
263   - Added the "container" directive.
265 * docutils/parsers/rst/directives/misc.py:
267   - Added the "default-role", "title", and "date" directives.
268   - Added standard data file syntax to the "include" directive.
269   - Added support for "class" directive content.
271 * docutils/parsers/rst/directives/images.py:
273   - Added ``indirect_reference_name`` support for images with a target
274     option.
275   - Added support for image width and height units.
276   - Fixed bug with image "target" options.
278 * docutils/parsers/rst/directives/references.py:
280   - Added "class" attribute to "target-notes" directive, for
281     footnote_reference classes.
283 * docutils/parsers/rst/include/: Directory added to project; contains
284   standard data files for the "include" directive.  Initial contents:
285   character entity substitution definition sets, and a set of
286   definitions for S5/HTML presentations.
288 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
289   mappings by David Goodger.
290   
291 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
292   Simplified Chinese mappings by Panjunyong.
294 * docutils/readers/__init__.py:
296   - Added universal.Decorations and universal.ExposeInternals
297     transforms as default transforms for all readers.
298   - Added ``ReReader`` base class for readers that reread an existing
299     document tree.
301 * docutils/readers/doctree.py: Added to project; a reader for existing
302   document trees.
304 * docutils/transforms/frontmatter.py:
306   - Fixed the DocInfo transform to handle SVN-style expansion of the
307     "Date" keyword.
308   - In ``DocInfo.extract_authors``, treat the contents of "authors"
309     fields uniformly.
311 * docutils/transforms/misc.py:
313   - Added misc.Transitions transform, extracted from
314     universal.FinalChecks.
316 * docutils/transforms/references.py:
318   - Added references.DanglingReferences transform, extracted from
319     universal.FinalChecks.
320   - Fixed bug with doubly-indirect substitutions.
321   - Added footnote_reference classes attribute to "TargetNotes".
322   - Fixed bug with circular substitution definitions that put Docutils
323     into an infinite loop.
325 * docutils/transforms/universal.py:
327   - Added universal.ExposeInternals transform, extracted from
328     universal.FinalChecks.
329   - Removed universal.FinalChecks transform (logic has been moved to
330     several new transforms).
331   - Fixed bug with the "expose_internals" setting and Text nodes
332     (exposed by the "rawsource" internal attribute).
333   - Added the universal.StripComments transform, implementation of the
334     "strip_comments" setting.
336 * docutils/transforms/writer_aux.py: Added to project; auxiliary
337   transforms for writers.
339   - Added ``Compound`` transform, which flattens compound paragraphs.
341 * docutils/writers/: Several writer modules (html4css1.py) were
342   converted into packages.  Support modules and data files have been
343   moved into the packages.  The stylesheets for the HTML writers are
344   now installed along with the code, the code knows where to find
345   them, and the default is to use them (actually, to embed them).
346   Some adjustments to configuration files may be necessary.  The
347   easiest way to obtain the new default behavior is to remove all
348   settings whose name includes "stylesheet".
350 * docutils/writers/__init__.py:
352   - Added universal.Messages and universal.FilterMessages transforms
353     as default transforms for all writers.
354   - Added ``UnfilteredWriter`` base class for writers that pass the
355     document tree on unchanged.
357 * docutils/writers/docutils_xml.py:
359   - Made ``xmlcharrefreplace`` the default output encoding error
360     handler.
362 * docutils/writers/html4css1/: 
364   - Added support for image width and height units.
365   - Made ``xmlcharrefreplace`` the default output encoding error
366     handler.
367   - Made ``--embed-stylesheet`` the default rather than
368     ``--link-stylesheet``.
369   - Moved "id" attribute from container (section etc.) to title's <a>
370     tag, to be on the same tag as "name".
371     (!!! To be reverted in Docutils 0.5.)
372   - Added vertical space between fields of field lists.
373   - Added ``--compact-field-lists`` option to remove vertical space in
374     simple field lists.
375   - Made cloaking of email addresses with ``--cloak-email-addresses``
376     less obtrusive.
377   - Fixed support for centered images.
378   - Added support for class="compact" & class="open" lists.
380 * docutils/writers/latex2e/:
382   - Underscores in citekeys are no longer escaped.
384 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
385   mapping of Unicode characters to LaTeX equivalents.
387 * docutils/writers/s5_html/: Package added to project; writer for
388   S5/HTML slide shows.
390 * docs/dev/distributing.txt: Added to project; guide for distributors
391   (package maintainers).
393 * docs/dev/hacking.txt: Added to project; guide for developers.
395 * docs/ref/doctree.txt:
397   - Updated for plural attributes "classes", "ids", "names",
398     "dupnames".
399   - Added the "container" element.
401 * docs/ref/docutils.dtd:
403   - Updated for plural attributes "classes", "ids", "names",
404     "dupnames".
406 * docs/user/emacs.txt: Added to project; a document about Emacs
407   support for reStructuredText and Docutils.
409 * docs/user/links.txt: Added to project; lists of Docutils-related
410   links.
412 * docs/user/mailing-lists.txt: Added to project; information about
413   Docutils-related mailing lists and how to access them.
415 * docs/user/slide-shows.txt: Added to project; example of and docs for
416   the S5/HTML writer (``rst2s5.py`` front end).
418 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
419   Files", added to project.
421 * test/coverage.sh: Added to project; test coverage script.
423 * test/DocutilsTestSupport.py:
425   - Added support for specifying runtime settings at the suite level.
427 * test/test_functional.py:
429   - Added the ``clear_output_directory`` function.
430   - Added support for ``_test_more`` functions in functional test
431     config files.
433 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
435 * tools/rstpep2html.py: Renamed from pep.py.
437 * tools/dev/create_unimap.py: Added to project; script to create the
438   docutils/writers/unimap_latex.py mapping file.
440 * tools/dev/profile_docutils.py: Added to project; profiler script.
442 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
444 * tools/editors/emacs/restructuredtext.el,
445   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
446   Removed from project; the functionality is now contained in rst.el.
448 * tools/editors/emacs/rst.el: Added to project.  Added many features
449   and fixed many bugs.  See docs/user/emacs.txt for details.
451 * tools/stylesheets: Removed from project.  Stylesheets have been
452   renamed and moved into writer packages.
455 Release 0.3.9 (2005-05-26)
456 ==========================
458 * General:
460   - Eliminated and replaced all uses of the old string attributes
461     ``id``, ``name``, ``dupname`` and ``class`` with references to the
462     new list attributes ``ids``, ``names``, ``dupnames`` and
463     ``classes`` throughout the whole source tree.
465 * docutils/core.py:
467   - Enabled ``--dump-*`` options when ``--traceback`` specified,
468     allowing for easier debugging.
469   - In ``Publisher.publish()``, expanded the generic top-level
470     exception catching.
472 * docutils/examples.py:
474   - Added ``internals`` function for exploration.
476 * docutils/io.py:
478   - Fixed ``Input.decode`` method to apply heuristics only if no
479     encoding is explicitly given, and to provide better reporting of
480     decoding errors.
481   - The ``Input.decode`` method now removes byte order marks (BOMs)
482     from input streams.
484 * docutils/nodes.py:
486   - ``image`` element class changed to subclass of Element, not
487     TextElement (it's an empty element, and cannot contain text).
488   - Added ``attr_defaults`` dictionary for default attribute values.
489   - Added empty list as default value for the following attributes:
490     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
491   - Added ``document.decoration`` attribute,
492     ``document.get_decoration`` method, and ``decoration.get_header``
493     & ``.get_footer`` methods.
494   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
495     methods.
497 * docutils/utils.py:
499   - Removed ``docutils.utils.Reporter.categories``,
500     ``docutils.utils.ConditionSet``, and all references to them, to
501     simplify error reporting.
503 * docutils/languages/nl.py: Added to project; Dutch mappings by
504   Martijn Pieters.
506 * docutils/parsers/rst/__init__.py:
508   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
510 * docutils/parsers/rst/states.py:
512   - Added check for escaped at-mark to prevent email address recognition.
513   - Fixed option lists to allow spaces inside ``<angle-bracketed option
514     arguments>``.
515   - Allowed whitespace in paths and URLs.
516   - Added auto-enumerated list items.
517   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
518     followed by text.
519   - Added support for table stub columns.
521 * docutils/parsers/rst/directives/__init__.py:
523   - Allowed whitespace in paths (``path`` function).
524   - Added ``uri`` directive option conversion function.
526 * docutils/parsers/rst/directives/body.py:
528   - Fixed illegal context bug with "topic" directive (allowed within
529     sidebars; not within body elements).
531 * docutils/parsers/rst/directives/images.py:
533   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
534   - Added support for the ``file_insertion_enabled`` setting in the
535     "figure" directive (disables "figwidth" option).
536   - "image" directive: added checks for valid values of "align" option,
537     depending on context.  "figure" directive: added specialized
538     "align" option and attribute on "figure" element.
539   - Made ":figwidth: image" option of "figure" directive work again.
540   - Fixed bug with reference names containing uppercase letters
541     (e.g. ``Name_``) in "target" option of "image" directive.
543 * docutils/parsers/rst/directives/misc.py:
545   - Fixed "include" and "raw" directives to catch text decoding
546     errors.
547   - Allowed whitespace in "include" & "raw" directive paths.
548   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
549     settings in "include" & "raw" directives.
551 * docutils/parsers/rst/directives/parts.py:
553   - Added "header" & "footer" directives.
554   - Fixed illegal context bug with "contents" directive (topics
555     allowed within sidebars; not within body elements).
557 * docutils/parsers/rst/directives/tables.py:
559   - Added "list-table" directive.
560   - Caught empty CSV table bug.
561   - Added support for the ``file_insertion_enabled`` setting in the
562     "csv-table" directive.
563   - Added ``stub-columns`` option to "csv-table" and "list-table"
564     directives.
566 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
567   mappings by Martijn Pieters.
569 * docutils/readers/standalone.py:
571   - Added ``--section-subtitles`` and ``--no-section-subtitles``
572     options to activate or deactivate the SectSubTitle transform.
574 * docutils/transforms/frontmatter.py:
576   - Added SectSubTitle transform to promote titles of lone
577     subsections to subtitles.
579 * docutils/transforms/references.py:
581   - Fixed mislocated internal targets bug, by propagating internal
582     targets to the next node, making use of the newly added support
583     for multiple names and IDs.
584   - Fixed duplicate footnote label bug.
585   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
586     transform.
588 * docutils/writers/html4css1.py:
590   - Fixed unencoded stylesheet reference bug (characters like "&" in
591     stylesheet references).
592   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
593     tags).
594   - Added support for multiple IDs per node by creating empty ``span``
595     tags.
596   - Added the ``field_name_limit`` & ``option_limit`` settings &
597     support.
598   - Added support for table stub columns.
599   - Added support for the ``align`` attribute on ``figure`` elements.
600   - Added the ``cloak_email_addresses`` setting & support.
601   - Added ``html_prolog``, ``html_head``, ``html_body``,
602     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
603     ``docutils.core.publish_parts``.
604   - Added support for section subtitles.
606 * docutils/writers/latex2e.py:
608   - Fixed tables starting with more than one multirow cell.
609   - Improved --use-latex-docinfo so that organization/contact/address
610     fields are lumped with the last author field and appear on the
611     titlepage.
612   - Made sure the titlepage is always shown with --use-latex-docinfo,
613     even if the document has no title.
614   - Made sure that latex doesn't fill in today's date if no date field
615     was given.
616   - Added support for section subtitles.
618 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
619   (under development).
621 * docutils/writers/null.py: Added to project; a do-nothing Writer.
623 * docs/api/publisher.txt:
625   - Added "``publish_parts`` Details" section.
627 * docutils/dev/repository.txt: Added to project; information about the
628   Docutils Subversion repository.
630 * docs/ref/docutils.dtd:
632   - Added a ``stub`` attribute to the ``colspec`` element via the
633     ``tbl.colspec.att`` parameter entity.
634   - Allowed topic elements within sidebars
635   - Added an ``align`` attribute to the ``figure`` element.
637 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
638   writer.
641 Release 0.3.7 (2004-12-24)
642 ==========================
644 * docutils/frontend.py:
646   - Added options: --input-encoding-error-handler,
647     --record-dependencies, --leave-footnote-reference-space,
648     --strict-visitor.
649   - Added command-line and config file support for "overrides" setting
650     parameter.
652 * docutils/io.py:
654   - Added support for input encoding error handler.
656 * docutils/nodes.py:
658   - Added dispatch_visit and dispatch_departure methods to
659     NodeVisitor; useful as a hook for Visitors.
660   - Changed structure of ``line_block``; added ``line``.
661   - Added ``compound`` node class.
662   - Added a mechanism for Visitors to transitionally ignore new node
663     classes.
665 * docutils/utils.py:
667   - Moved ``escape2null`` and ``unescape`` functions from
668     docutils/parsers/rst/states.py.
670 * docutils/parsers/rst/roles.py:
672   - Added "raw" role.
673   - Changed role function API: the "text" parameter now takes
674     null-escaped interpreted text content.
676 * docutils/parsers/rst/states.py:
678   - Fixed bug where a "role" directive in a nested parse would crash
679     the parser; the state machine's "language" attribute was not being
680     copied over.
681   - Added support for line block syntax.
682   - Fixed directive parsing bug: argument-less directives didn't
683     notice that arguments were present.
684   - Removed error checking for transitions.
685   - Added support for multiple classifiers in definition list items.
686   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
687   - Changed role function API: the "text" parameter now takes
688     null-escaped interpreted text content.
689   - Empty sections and documents are allowed now.
691 * docutils/parsers/rst/directives/__init__.py:
693   - Added ``encoding`` directive option conversion function.
694   - Allow multiple class names in class_option conversion function.
696 * docutils/parsers/rst/directives/body.py:
698   - Converted the line-block directive to use the new structure.
699   - Extracted the old line-block functionality to the ``block``
700     function (still used).
701   - Added ``compound`` directive (thanks to Felix Wiemann).
703 * docutils/parsers/rst/directives/misc.py:
705   - Added "encoding" option to "include" and "raw" directives.
706   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
707   - Allow multiple class names in the "class" directive.
709 * docutils/parsers/rst/directives/parts.py:
711   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
712     options.  Thanks to Lele Gaifax.
714 * docutils/parsers/rst/directives/tables.py:
716   - Added "encoding" directive to "csv-table" directive.
717   - Added workaround for lack of Unicode support in csv.py, for
718     non-ASCII CSV input.
720 * docutils/transforms/misc.py:
722   - Fixed bug when multiple "class" directives are applied to a single
723     element.
724   - Enabled multiple format names for "raw" directive.
726 * docutils/transforms/references.py:
728   - Added support for trimming whitespace from beside substitution
729     references.
731 * docutils/transforms/universal.py:
733   - FinalChecks now checks for illegal transitions and moves
734     transitions between sections.
736 * docutils/writers/html4css1.py:
738   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
739   - "stylesheet" and "stylesheet_path" settings are now mutually
740     exclusive.
741   - Added support for the new line_block/line structure.
742   - --footnote-references now overrides
743     --trim-footnote-reference-space, if applicable.
744   - Added support for ``compound`` elements.
745   - Enabled multiple format names for "raw" directive.
746   - ``<p>`` tags of a paragraph which is the only visible child of the
747     document node are no longer stripped.
748   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
749     new method ``should_be_compact_paragraph()``.
750   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
751     elements.
752   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
753     the output if they have their ``class`` attribute set.
754   - The whole document is now surrounded by a ``<div
755     class="document">`` element.
756   - Body-level images are now wrapped by their own ``<div>`` elements,
757     with image classes copied to the wrapper, and for images which
758     have the ``:align:`` option set, the surrounding ``<div>`` now
759     receives a class attribute (like ``class="align-left"``).
761 * docutils/writers/latex2e.py:
763   - no newline after depart_term.
764   - Added translations for some Unicode quotes.
765   - Added option "font-encoding", made package AE the default.
766   - "stylesheet" and "stylesheet_path" settings are now mutually
767     exclusive.
768   - --footnote-references now overrides
769     --trim-footnote-reference-space, if applicable.
770   - The footnote label style now matches the footnote reference style
771     ("brackets" or "superscript").
772   - Added support for ``compound`` elements.
773   - Enabled multiple format names for "raw" directive.
775 * docs/ref/docutils.dtd:
777   - Changed structure of the ``line_block`` element; added ``line``.
778   - Added ``compound`` element.
779   - Added "ltrim" and "rtrim" attributes to
780     ``substitution_definition`` element.
781   - Enabled multiple format names for ``raw`` element.
782   - Enabled multiple classifiers in ``definition_list_item`` elements.
784 * docs/ref/rst/directives.txt
786   - Marked "line-block" as deprecated.
787   - "Class" directive now allows multiple class names.
788   - Added "Rationale for Class Attribute Value Conversion".
789   - Added warning about "raw" overuse/abuse.
791 * docs/ref/rst/restructuredtext.txt:
793   - Added syntax for line blocks.
794   - Definition list items may have multiple classifiers.
796 * docs/ref/rst/roles.txt:
798   - Added "raw" role.
800 * tools/stylesheets/default.css:
802   - Added support for the new line_block structure.
803   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
806 Release 0.3.5 (2004-07-29)
807 ==========================
809 General:
811 * _`Documentation cleanup/reorganization`.
813   - Created new subdirectories of docs/:
815     * ``docs/user/``: introductory/tutorial material for end-users
816     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
817     * ``docs/api/``: API reference material for client-developers
818     * ``docs/ref/``: reference material for all groups
819     * ``docs/howto/``: for component-developers and core-developers
820     * ``docs/peps/``: Python Enhancement Proposals
822   - Moved ``docs/*`` to ``docs/user/``.
823   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
824     ``spec/`` to ``docs/dev``.
825   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
826     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
827   - Moved ``alternatives.txt``, and ``problems.txt`` from
828     ``spec/rst/`` to ``docs/dev/rst/``.
829   - Moved ``reStructuredText.txt``, ``directives.txt``,
830     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
831     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
832     ``roles.txt``, ``reStructuredText.txt`` to
833     ``restructuredtext.txt``.
834   - Moved ``spec/howto/`` to ``docs/howto``.
836   In order to keep the CVS history of moved files, we supplied
837   SourceForge with a `script for modifying the Docutils CVS
838   repository`__.
840   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
842   After running the cleanup script:
844   - Added ``docs/index.txt``.
845   - Added a ``.htaccess`` file to the ``web`` module, containing
846     redirects for all old paths to new paths.  They'll preserve
847     fragments (the "#name" part of a URL), and won't clutter up the
848     file system, and will correct the URL in the user's browser.
849   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
850     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
851     the "To Do" list itself in ``docs/dev/todo.txt``.
852   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
853     section of ``docs/dev/todo.txt``.
854   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
855   - Added "How To Report Bugs" to ``BUGS.txt``.
856   - Went through all the sources and docs (including under web/) and
857     updated links.  Mostly done by Felix Wiemann; thanks Felix!
858     (Still need to update links in the sandboxes.)
860 Specific:
862 * BUGS.txt: Added to project.
864 * THANKS.txt: Added to project.
866 * docutils/__init__.py:
868   - 0.3.4: Post-release.
870 * docutils/core.py:
872   - Added special error handling & advice for UnicodeEncodeError.
873   - Refactored Publisher.publish (simplified exception handling &
874     extracted debug dumps).
875   - Renamed "enable_exit" parameter of convenience functions to
876     "enable_exit_status".
877   - Enabled traceback (exception propagation) by default in
878     programmatic convenience functions.
879   - Now publish_file and publish_cmdline convenience functions return
880     the encoded string results in addition to their regular I/O.
881   - Extracted common code from publish_file, publish_string, and
882     publish_parts, into new publish_programmatically.  Extracted
883     settings code to ``Publisher.process_programmatic_settings``.
884   - In Publisher.publish, disabled ``settings_overrides`` when
885     ``settings`` is supplied; redundant.
887 * docutils/frontend.py:
889   - Added help text for "--output-encoding-error-handler" and
890     "--error-encoding-error-handler".
891   - Renamed "--exit" to "--exit-status".
892   - Simplified default-setting code.
894 * docutils/parsers/rst/__init__.py:
896   - Added "--pep-base-url" and "--rfc-base-url" options.
898 * docutils/parsers/rst/states.py:
900   - Made URI recognition more aggressive and intelligent.
902 * docutils/parsers/rst/directives/__init__.py:
904   - Added several directive option conversion functions.
906 * docutils/parsers/rst/directives/body.py:
908   - Moved "table" directive to tables.py.
910 * docutils/parsers/rst/directives/tables.py: Table-related directives,
911   added to project.
913 * docutils/writers/latex2e.py:
915   - Added "--table-style=(standard|booktabs|nolines)"
916   - figures get "here" option (LaTeX per default puts them at bottom),
917     and figure content is centered.
918   - Rowspan support for tables.
919   - Fix: admonition titles before first section.
920   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
921   - Replave ``_`` in literal by an underlined blank, because it has the correct
922     width.
923   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
924   - A few unicode replacements, if output_encoding != utf
925   - Add "--graphicx-option".
926   - Indent literal-blocks.
927   - Fix: omit ``\maketitle`` when there is no document title.
929 * docs/index.txt: "Docutils Project Documentation Overview", added to
930   project.
932 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
933   Tool", added to project.
935 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
937 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
939 * docs/dev/policies.txt: Added to project (extracted from
940   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
942 * docs/dev/release.txt: Added to project (extracted from
943   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
945 * docs/dev/testing.txt: Added to project.
947 * docs/dev/website.txt: Added to project (extracted from
948   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
950 * docs/ref/rst/directives.txt:
952   - Added directives: "table", "csv-table".
954 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
955   added to project.  1 page for syntax, and a 1 page reference for
956   directives and roles.  Source text to be used as-is; not meant to be
957   converted to HTML.
959 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
960   with a change of title.
962 * test/functional/, contents, and test/test_functional.py: Added to
963   project.
965 * tools/buildhtml.py: Fixed bug with config file handling.
967 * tools/html.py: Removed from project (duplicate of rst2html.py).
969 * tools/pep2html.py: Removed from project (duplicate of Python's
970   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
971   Docutils-related PEPs in docs/peps/).
973 * tools/rst2pseudoxml.py: Renamed from publish.py.
975 * tools/rst2xml.py: Renamed from docutils-xml.py.
977 * tools/test.txt: Removed from project; moved to
978   docs/user/rst/demo.txt.
980 * setup.py: Now also installs ``rst2latex.py``.
983 Release 0.3.3 (2004-05-09)
984 ==========================
986 * docutils/__init__.py:
988   - 0.3.1: Reorganized config file format (multiple sections); see
989     docs/config.txt.
990   - Added unknown_reference_resolvers attribute to TransformSpec.
991   - 0.3.2: Interpreted text reorganization.
992   - 0.3.3: Released.
994 * docutils/core.py:
996   - Catch system messages to stop tracebacks from parsing errors.
997   - Catch exceptions during processing report & exit without
998     tracebacks, except when "--traceback" used.
999   - Reordered components for OptionParser; application comes last.
1000   - Added "config_section" parameter to several methods and functions,
1001     allowing front ends to easily specify their config file sections.
1002   - Added publish_parts convenience function to allow access to individual
1003     parts of a document.
1005 * docutils/examples.py: Added to project; practical examples of
1006   Docutils client code, to be used as-is or as models for variations.
1008 * docutils/frontend.py:
1010   - Added "--traceback" & "--no-traceback" options ("traceback"
1011     setting).
1012   - Implemented support for config file reorganization:
1013     ``standard_config_files`` moved from ``ConfigParser`` to
1014     ``OptionParser``; added
1015     ``OptionParser.get_config_file_settings()`` and
1016     ``.get_standard_config_settings()``; support for old "[options]"
1017     section (with deprecation warning) and mapping from old to new
1018     settings.
1019   - Reimplemented setting validation.
1020   - Enabled flexible boolean values: yes/no, true/false, on/off.
1021   - Added ``Values``, a subclass of ``optparse.Values``, with support
1022     for list setting attributes.
1023   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1024     thanks to Beni Cherniavsky.
1025   - Added "--no-section-numbering" option.
1027 * docutils/io.py:
1029   - Catch IOErrors when opening source & destination files, report &
1030     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1031     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1033 * docutils/nodes.py:
1035   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1036     method definitions (via ``exec``) to dynamic assignments (via
1037     ``setattr``); thanks to Roman Suzi.
1038   - Encapsulated visitor dynamic assignments in a function; thanks to
1039     Ian Bicking.
1040   - Added indirect_reference_name attribute to the Targetable
1041     class. This attribute holds the whitespace_normalized_name
1042     (contains mixed case) of a target.
1044 * docutils/statemachine.py:
1046   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1047   - Added ``StringList.get_2D_block``.
1049 * docutils/utils.py:
1051   - Added "level" attribute to SystemMessage exceptions.
1053 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1054   Jannie Hofmeyr.
1056 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1057   Blaha.
1059 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1060   Marcelo Huerta San Martin.
1062 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1063   mappings by Lalo Martins.
1065 * docutils/languages/ru.py: Added to project; Russian mappings by
1066   Roman Suzi.
1068 * docutils/parsers/rst/roles.py: Added to project.  Contains
1069   interpreted text role functions, a registry for interpreted text
1070   roles, and an API for adding to and retrieving from the registry.
1071   Contributed by Edward Loper.
1073 * docutils/parsers/rst/states.py:
1075   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1076   - Allowed true em-dash character and "---" as block quote
1077     attribution marker.
1078   - Added support for <angle-bracketed> complex option arguments
1079     (option lists).
1080   - Fixed handling of backslashes in substitution definitions.
1081   - Fixed off-by-1 error with extra whitespace after substitution
1082     definition directive.
1083   - Added inline markup parsing to field lists' field names.
1084   - Added support for quoted (and unindented) literal blocks.
1085     Driven in part by a bribe from Frank Siebenlist (thanks!).
1086   - Parser now handles escapes in URIs correctly.
1087   - Made embedded-URIs' reference text omittable.  Idea from Beni
1088     Cherniavsky.
1089   - Refactored explicit target processing code.
1090   - Added name attribute to references containing the reference name only
1091     through whitespace_normalize_name (no case changes).
1092   - parse_target no longer returns the refname after going through
1093     normalize_name. This is now handled in make_target.
1094   - Fixed bug relating to role-less interpreted text in non-English
1095     contexts.
1096   - Reorganized interpreted text processing; moved code into the new
1097     roles.py module.  Contributed by Edward Loper.
1098   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1099     ``parse_directive_block``.
1101 * docutils/parsers/rst/tableparser.py:
1103   - Reworked for ``StringList``, to support "include" directives in
1104     table cells.
1106 * docutils/parsers/rst/directives/__init__.py:
1108   - Renamed ``unchanged()`` directive option conversion function to
1109     ``unchanged_required``, and added a new ``unchanged``.
1110   - Catch unicode value too high error; fixes bug 781766.
1111   - Beefed up directive error reporting.
1113 * docutils/parsers/rst/directives/body.py:
1115   - Added basic "table" directive.
1117 * docutils/parsers/rst/directives/images.py:
1119   - Added "target" option to "image" directive.
1120   - Added name attribute to references containing the reference name only
1121     through whitespace_normalize_name (no case changes).
1123 * docutils/parsers/rst/directives/misc.py:
1125   - Isolated the import of the ``urllib2`` module; was causing
1126     problems on SourceForge (``libssl.so.2`` unavailable?).
1127   - Added the "role" directive for declaring custom interpreted text
1128     roles.
1130 * docutils/parsers/rst/directives/parts.py:
1132   - The "contents" directive does more work up-front, creating the
1133     "topic" and "title", and leaving the "pending" node for the
1134     transform.  Allows earlier reference resolution; fixes subtle bug.
1136 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1137   mappings by Jannie Hofmeyr.
1139 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1140   mappings by Marek Blaha.
1142 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1143   mappings by Marcelo Huerta San Martin.
1145 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1146   Portuguese mappings by Lalo Martins.
1148 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1149   mappings by Roman Suzi.
1151 * docutils/transforms/parts.py:
1153   - The "contents" directive does more work up-front, creating the
1154     "topic" and "title", and leaving the "pending" node for the
1155     transform.  Allows earlier reference resolution; fixes subtle bug.
1156   - Added support for disabling of section numbering.
1158 * docutils/transforms/references.py:
1160   - Verifying that external targets are truly targets and not indirect
1161     references. This is because we are now adding a "name" attribute to
1162     references in addition to targets. Note sure if this is correct!
1163   - Added code to hook into the unknown_reference_resolvers list for a
1164     transformer in resolve_indirect_target. This allows the
1165     unknown_reference_resolvers to keep around indirect targets which
1166     docutils doesn't know about.
1167   - Added specific error message for duplicate targets.
1169 * docutils/transforms/universal.py:
1171   - Added FilterMessages transform (removes system messages below the
1172     verbosity threshold).
1173   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1174     to FinalCheckVisitor for application-specific handling of
1175     unresolvable references.
1176   - Added specific error message for duplicate targets.
1178 * docutils/writers/__init__.py:
1180   - Added assemble_parts method to the Writer class to allow for
1181     access to a documents individual parts.
1182   - Documented & set default for ``Writer.output`` attribute.
1184 * docutils/writers/html4css1.py:
1186   - Fixed unicode handling of attribute values (bug 760673).
1187   - Prevent duplication of "class" attribute values (bug report from
1188     Kirill Lapshin).
1189   - Improved table grid/border handling (prompted by report from Bob
1190     Marshall).
1191   - Added support for table titles.
1192   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1193     to Darek Suchojad.
1194   - Added functionality to keep track of individual parts of a document
1195     and store them in a dictionary as the "parts" attribute of the writer.
1196     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1197   - Added proper support for the "scale" attribute of the "image"
1198     element.  Contributed by Brent Cook.
1199   - Added ``--initial-header-level`` option.
1200   - Fixed bug: the body_pre_docinfo segment depended on there being a
1201     docinfo; if no docinfo, the document title was incorporated into
1202     the body segment.  Adversely affected the publish_parts interface.
1204 * docutils/writers/latex2e.py:
1206   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1207     about a missing file.
1208   - Added options and support: ``--compound-enumerators``,
1209     ``--section-prefix-for-enumerators``, and
1210     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1211     934322).
1212   - Added option ``--use-verbatim-when-possible``, to avoid
1213     problematic characters (eg, '~' in italian) in literal blocks.
1214   - It's now possible to use four section levels in the `book` and
1215     `report` LaTeX classes.  The default `article` class still has
1216     three levels limit.
1218 * docs/config.txt: "Docutils Configuration Files", added to project.
1219   Moved config file entry descriptions from tools.txt.
1221 * docs/tools.txt:
1223   - Moved config file entry descriptions to config.txt.
1225 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
1226   Development".
1228 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1229   Text Roles", added to project.
1231 * spec/rst/reStructuredText.txt:
1233   - Added description of support for <angle-bracketed> complex option
1234     arguments to option lists.
1235   - Added subsections for indented and quoted literal blocks.
1237 * test: Continually adding & updating tests.
1239   - Added test/test_settings.py & test/data/config_*.txt support
1240     files.
1241   - Added test/test_writers/test_htmlfragment.py.
1243 * test/DocutilsTestSupport.py:
1245   - Refactored LaTeX publisher test suite/case class names to make
1246     testing other writers easier.
1247   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1248     to test the processing of HTML fragments which use the new
1249     publish_parts convenience function.
1251 * tools/buildhtml.py:
1253   - Added support for the "--prune" option.
1254   - Removed dependency on pep2html.py; plaintext PEPs no longer
1255     supported.
1257 * tools/docutils.conf:
1259   - Updated for configuration file reorganization.
1261 * tools/rst2html.py:
1263   - copied from tools/html.py
1265 * setup.py:
1267   - added a 'scripts' section to configuration
1268   - added 'tools/rst2html.py' to the scripts section
1271 Release 0.3 (2003-06-24)
1272 ========================
1274 General:
1276 * Renamed "attribute" to "option" for directives/extensions.
1278 * Renamed transform method "transform" to "apply".
1280 * Renamed "options" to "settings" for runtime settings (as set by
1281   command-line options).  Sometimes "option" (singular) became
1282   "settings" (plural).  Some variations below:
1284   - document.options -> document.settings (stored in other objects as
1285     well)
1286   - option_spec -> settings_spec (not directives though)
1287   - OptionSpec -> SettingsSpec
1288   - cmdline_options -> settings_spec
1289   - relative_path_options -> relative_path_settings
1290   - option_default_overrides -> settings_default_overrides
1291   - Publisher.set_options -> Publisher.get_settings
1293 Specific:
1295 * COPYING.txt: Added "Public Domain Dedication".
1297 * FAQ.txt: Frequently asked questions, added to project.
1299 * setup.py:
1301   - Updated with PyPI Trove classifiers.
1302   - Conditional installation of third-party modules.
1304 * docutils/__init__.py:
1306   - Bumped version to 0.2.1 to reflect changes to I/O classes.
1307   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1308   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1309   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1310     option and its effect on the PEP template & writer.
1311   - Bumped version to 0.2.4 due to changes to the PEP template &
1312     stylesheet.
1313   - Bumped version to 0.2.5 to reflect changes to Reporter output.
1314   - Added ``TransformSpec`` class for new transform system.
1315   - Bumped version to 0.2.6 for API changes (renaming).
1316   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1317     convenience functions.
1318   - Added ``Component.component_type`` attribute.
1319   - Bumped version to 0.2.8 because of the internal parser switch from
1320     plain lists to the docutils.statemachine.StringList objects.
1321   - Bumped version to 0.2.9 because of the frontend.py API changes.
1322   - Bumped version to 0.2.10 due to changes to the project layout
1323     (third-party modules removed from the "docutils" package), and
1324     signature changes in ``io.Input``/``io.Output``.
1325   - Changed version to 0.3.0 for release.
1327 * docutils/core.py:
1329   - Made ``publish()`` a bit more convenient.
1330   - Generalized ``Publisher.set_io``.
1331   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1332     parameters; improved its docstring.
1333   - Added ``publish_file()`` and ``publish_string()``.
1334   - Factored ``Publisher.set_source()`` and ``.set_destination()``
1335     out of ``.set_io``.
1336   - Added support for "--dump-pseudo-xml", "--dump-settings", and
1337     "--dump-transforms" hidden options.
1338   - Added ``Publisher.apply_transforms()`` method.
1339   - Added ``Publisher.set_components()`` method; support for
1340     ``publish_*()`` conveninece functions.
1341   - Moved config file processing to docutils/frontend.py.
1342   - Added support for exit status ("exit_level" setting &
1343     ``enable_exit`` parameter for Publisher.publish() and convenience
1344     functions).
1346 * docutils/frontend.py:
1348   - Check for & exit on identical source & destination paths.
1349   - Fixed bug with absolute paths & "--config".
1350   - Set non-command-line defaults in ``OptionParser.__init__()``:
1351     ``_source`` & ``_destination``.
1352   - Distributed ``relative_path_settings`` to components; updated
1353     ``OptionParser.populate_from_components()`` to combine it all.
1354   - Require list of keys in ``make_paths_absolute`` (was implicit in
1355     global ``relative_path_settings``).
1356   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1357     "--dump-settings", and "--dump-transforms" hidden options.
1358   - Removed nasty internals-fiddling ``ConfigParser.get_section``
1359     code, replaced with correct code.
1360   - Added validation functionality for config files.
1361   - Added "--error-encoding" option/setting, "_disable_config"
1362     internal setting.
1363   - Added encoding validation; updated "--input-encoding" and
1364     "--output-encoding"; added "--error-encoding-error-handler" and
1365     "--output-encoding-error-handler".
1366   - Moved config file processing from docutils/core.py.
1367   - Updated ``OptionParser.populate_from_components`` to handle new
1368     ``SettingsSpec.settings_defaults`` dict.
1369   - Added support for "-" => stdin/stdout.
1370   - Added "exit_level" setting ("--exit" option).
1372 * docutils/io.py:
1374   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1375   - Added automatic closing to ``FileInput`` and ``FileOutput``.
1376   - Delayed opening of ``FileOutput`` file until ``write()`` called.
1377   - ``FileOutput.write()`` now returns the encoded output string.
1378   - Try to get path/stream name automatically in ``FileInput`` &
1379     ``FileOutput``.
1380   - Added defaults for source & destination paths.
1381   - Allow for Unicode I/O with an explicit "unicode" encoding.
1382   - Added ``Output.encode()``.
1383   - Removed dependency on runtime settings; pass encoding directly.
1384   - Recognize Unicode strings in ``Input.decode()``.
1385   - Added support for output encoding error handlers.
1387 * docutils/nodes.py:
1389   - Added "Invisible" element category class.
1390   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1391     modification during a traversal.
1392   - Added element classes: ``line_block``, ``generated``, ``address``,
1393     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1394     ``superscript``, ``subscript``, ``inline``
1395   - Added support for lists of nodes to ``Element.insert()``.
1396   - Fixed parent linking in ``Element.replace()``.
1397   - Added new abstract superclass ``FixedTextElement``; adds
1398     "xml:space" attribute.
1399   - Added support for "line" attribute of ``system_message`` nodes.
1400   - Added support for the observer pattern from ``utils.Reporter``.
1401     Added ``parse_messages`` and ``transform_messages`` attributes to
1402     ``document``, removed ``messages``.  Added ``note_parse_message``
1403     and ``note_transform_message`` methods.
1404   - Added support for improved diagnostics:
1406     - Added "document", "source", and "line" internal attributes to
1407       ``Node``, set by ``Node.setup_child()``.
1408     - Converted variations on ``node.parent = self`` to
1409       ``self.setup_child(node)``.
1410     - Added ``document.current_source`` & ``.current_line``
1411       attributes, and ``.note_source`` observer method.
1412     - Changed "system_message" output to GNU-Tools format.
1414   - Added a "rawsource" attribute to the ``Text`` class, for text
1415     before backslash-escape resolution.
1416   - Support for new transform system.
1417   - Reworked ``pending`` element.
1418   - Fixed XML DOM bug (SF #660611).
1419   - Removed the ``interpeted`` element class and added
1420     ``title_reference``, ``abbreviation``, ``acronym``.
1421   - Made substitutions case-sensitive-but-forgiving; moved some code
1422     from the parser.
1423   - Fixed Unicode bug on element attributes (report: William Dode).
1425 * docutils/optik.py: Removed from project; replaced with
1426   extras/optparse.py and extras/textwrap.py.  These will be installed
1427   only if they're not already present in the Python installation.
1429 * docutils/roman.py: Moved to extras/roman.py; this will be installed
1430   only if it's not already present in the Python installation.
1432 * docutils/statemachine.py:
1434   - Factored out ``State.add_initial_transitions()`` so it can be
1435     extended.
1436   - Converted whitespace-specific "blank" and "indent" transitions
1437     from special-case code to ordinary transitions: removed
1438     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
1439     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
1440     ``ws_initial_transitions`` attributes.
1441   - Removed ``State.match_transition()`` after merging it into
1442     ``.check_line()``.
1443   - Added ``StateCorrection`` exception.
1444   - Added support for ``StateCorrection`` in ``StateMachine.run()``
1445     (moved ``TransitionCorrection`` support there too.)
1446   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
1447     ``EOFError`` instead of ``IndexError``.
1448   - Added ``State.no_match`` method.
1449   - Added support for the Observer pattern, triggered by input line
1450     changes.
1451   - Added ``strip_top`` parameter to
1452     ``StateMachineWS.get_first_known_indented``.
1453   - Made ``context`` a parameter to ``StateMachine.run()``.
1454   - Added ``ViewList`` & ``StringList`` classes;
1455     ``extract_indented()`` becomes ``StringList.get_indented()``.
1456   - Added ``StateMachine.insert_input()``.
1457   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
1458     thanks to) Fred Drake.
1460 * docutils/utils.py:
1462   - Added a ``source`` attribute to Reporter instances and
1463     ``system_message`` elements.
1464   - Added an observer pattern to ``utils.Reporter`` to keep track of
1465     system messages.
1466   - Fixed bugs in ``relative_path()``.
1467   - Added support for improved diagnostics.
1468   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
1469   - Added support for encoding Reporter stderr output, and encoding
1470     error handlers.
1471   - Reporter keeps track of the highest level system message yet
1472     generated.
1474 * docutils/languages: Fixed bibliographic field language lookups.
1476 * docutils/languages/es.py: Added to project; Spanish mappings by
1477   Marcelo Huerta San Martin.
1479 * docutils/languages/fr.py: Added to project; French mappings by
1480   Stefane Fermigier.
1482 * docutils/languages/it.py: Added to project; Italian mappings by
1483   Nicola Larosa.
1485 * docutils/languages/sk.py: Added to project; Slovak mappings by
1486   Miroslav Vasko.
1488 * docutils/parser/__init__.py:
1490   - Added ``Parser.finish_parse()`` method.
1492 * docutils/parser/rst/__init__.py:
1494   - Added options: "--pep-references", "--rfc-references",
1495     "--tab-width", "--trim-footnote-reference-space".
1497 * docutils/parsers/rst/states.py:
1499   - Changed "title under/overline too short" system messages from INFO
1500     to WARNING, and fixed its insertion location.
1501   - Fixed enumerated list item parsing to allow paragraphs & section
1502     titles to begin with enumerators.
1503   - Converted system messages to use the new "line" attribute.
1504   - Fixed a substitution reference edge case.
1505   - Added support for "--pep-references" and "--rfc-references"
1506     options; reworked ``Inliner`` code to make customization easier.
1507   - Removed field argument parsing.
1508   - Added support for short section title over/underlines.
1509   - Fixed "simple reference name" regexp to ignore text like
1510     "object.__method__"; not an anonymous reference.
1511   - Added support for improved diagnostics.
1512   - Reworked directive API, based on Dethe Elza's contribution.  Added
1513     ``Body.parse_directive()``, ``.parse_directive_options()``,
1514     ``.parse_directive_arguments()`` methods.
1515   - Added ``ExtensionOptions`` class, to parse directive options
1516     without parsing field bodies.  Factored
1517     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
1518     ``ExtensionOptions``.
1519   - Improved definition list term/classifier parsing.
1520   - Added warnings for unknown directives.
1521   - Renamed ``Stuff`` to ``Struct``.
1522   - Now flagged as errors: transitions at the beginning or end of
1523     sections, empty sections (except title), and empty documents.
1524   - Updated for ``statemachine.StringList``.
1525   - Enabled recognition of schemeless email addresses in targets.
1526   - Added support for embedded URIs in hyperlink references.
1527   - Added backslash-escapes to inline markup end-string suffix.
1528   - Added support for correct interpreted text processing.
1529   - Fixed nested title parsing (topic, sidebar directives).
1530   - Added special processing of backslash-escaped whitespace (idea
1531     from David Abrahams).
1532   - Made substitutions case-sensitive-but-forgiving; moved some code
1533     to ``docutils.nodes``.
1534   - Added support for block quote attributions.
1535   - Added a kludge to work-around a conflict between the bubble-up
1536     parser strategy and short titles (<= 3 char-long over- &
1537     underlines).  Fixes SF bug #738803 "infinite loop with multiple
1538     titles" submitted by Jason Diamond.
1539   - Added explicit interpreted text roles for standard inline markup:
1540     "emphasis", "strong", "literal".
1541   - Implemented "superscript" and "subscript" interpreted text roles.
1542   - Added initial support for "abbreviation" and "acronym" roles;
1543     incomplete.
1544   - Added support for "--trim-footnote-reference-space" option.
1545   - Optional space before colons in directives & hyperlink targets.
1547 * docutils/parsers/rst/tableparser.py:
1549   - Fixed a bug that was producing unwanted empty rows in "simple"
1550     tables.
1551   - Detect bad column spans in "simple" tables.
1553 * docutils/parsers/rst/directives: Updated all directive functions to
1554   new API.
1556 * docutils/parsers/rst/directives/__init__.py:
1558   - Added ``flag()``, ``unchanged()``, ``path()``,
1559     ``nonnegative_int()``, ``choice()``, and ``class_option()``
1560     directive option helper functions.
1561   - Added warnings for unknown directives.
1562   - Return ``None`` for missing directives.
1563   - Added ``register_directive()``, thanks to William Dode and Paul
1564     Moore.
1566 * docutils/parsers/rst/directives/admonitions.py:
1568   - Added "admonition" directive.
1570 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
1571   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
1572   "parsed-literal", "rubric", "epigraph", "highlights" and
1573   "pull-quote" directives.
1575 * docutils/parsers/rst/directives/images.py:
1577   - Added an "align" attribute to the "image" & "figure" directives
1578     (by Adam Chodorowski).
1579   - Added "class" option to "image", and "figclass" to "figure".
1581 * docutils/parsers/rst/directives/misc.py:
1583   - Added "include", "raw", and "replace" directives, courtesy of
1584     Dethe Elza.
1585   - Added "unicode" and "class" directives.
1587 * docutils/parsers/rst/directives/parts.py:
1589   - Added the "sectnum" directive; by Dmitry Jemerov.
1590   - Added "class" option to "contents" directive.
1592 * docutils/parsers/rst/directives/references.py: Added to project.
1593   Contains the "target-notes" directive.
1595 * docutils/parsers/rst/languages/__init__.py:
1597   - Return ``None`` from get_language() for missing language modules.
1599 * docutils/parsers/rst/languages/de.py: Added to project; German
1600   mappings by Engelbert Gruber.
1602 * docutils/parsers/rst/languages/en.py:
1604   - Added interpreted text roles mapping.
1606 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
1607   mappings by Marcelo Huerta San Martin.
1609 * docutils/parsers/rst/languages/fr.py: Added to project; French
1610   mappings by William Dode.
1612 * docutils/parsers/rst/languages/it.py: Added to project; Italian
1613   mappings by Nicola Larosa.
1615 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
1616   mappings by Miroslav Vasko.
1618 * docutils/readers/__init__.py:
1620   - Added support for the observer pattern from ``utils.Reporter``, in
1621     ``Reader.parse`` and ``Reader.transform``.
1622   - Removed ``Reader.transform()`` method.
1623   - Added default parameter values to ``Reader.__init__()`` to make
1624     instantiation easier.
1625   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
1627 * docutils/readers/pep.py:
1629   - Added the ``peps.TargetNotes`` transform to the Reader.
1630   - Removed PEP & RFC reference detection code; moved to
1631     parsers/rst/states.py as options (enabled here by default).
1632   - Added support for pre-acceptance PEPs (no PEP number yet).
1633   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
1634     easy subclassing.
1636 * docutils/readers/python: Python Source Reader subpackage added to
1637   project, including preliminary versions of:
1639   - __init__.py
1640   - moduleparser.py: Parser for Python modules.
1642 * docutils/transforms/__init__.py:
1644   - Added ``Transformer`` class and completed transform reform.
1645   - Added unknown_reference_resolvers list for each transformer. This list holds
1646     the list of functions provided by each component of the transformer that
1647     help resolve references.
1649 * docutils/transforms/frontmatter.py:
1651   - Improved support for generic fields.
1652   - Fixed bibliographic field language lookups.
1654 * docutils/transforms/misc.py: Added to project.  Miscellaneous
1655   transforms.
1657 * docutils/transforms/parts.py:
1659   - Moved the "id" attribute from TOC list items to the references
1660     (``Contents.build_contents()``).
1661   - Added the ``SectNum`` transform; by Dmitry Jemerov.
1662   - Added "class" attribute support to ``Contents``.
1664 * docutils/transforms/peps.py:
1666   - Added ``mask_email()`` function, updating to pep2html.py's
1667     functionality.
1668   - Linked "Content-Type: text/x-rst" to PEP 12.
1669   - Added the ``TargetNotes`` PEP-specific transform.
1670   - Added ``TargetNotes.cleanup_callback``.
1671   - Added title check to ``Headers``.
1673 * docutils/transforms/references.py:
1675   - Added the ``TargetNotes`` generic transform.
1676   - Split ``Hyperlinks`` into multiple transforms.
1677   - Fixed bug with multiply-indirect references (report: Bruce Smith).
1678   - Added check for circular indirect references.
1679   - Made substitutions case-sensitive-but-forgiving.
1681 * docutils/transforms/universal.py:
1683   - Added support for the "--expose-internal-attributes" option.
1684   - Removed ``Pending`` transform classes & data.
1686 * docutils/writers/__init__.py:
1688   - Removed ``Writer.transform()`` method.
1690 * docutils/writers/docutils-xml.py:
1692   - Added XML and doctype declarations.
1693   - Added "--no-doctype" and "--no-xml-declaration" options.
1695 * docutils/writers/html4css1.py:
1697   - "name" attributes only on these tags: a, applet, form, frame,
1698     iframe, img, map.
1699   - Added "name" attribute to <a> in section titles for Netscape 4
1700     support (bug report: Pearu Peterson).
1701   - Fixed targets (names) on footnote, citation, topic title,
1702     problematic, and system_message nodes (for Netscape 4).
1703   - Changed field names from "<td>" to "<th>".
1704   - Added "@" to "&#64;" encoding to thwart address harvesters.
1705   - Improved the vertical whitespace optimization; ignore "invisible"
1706     nodes (targets, comments, etc.).
1707   - Improved inline literals with ``<span class="pre">`` around chunks
1708     of text and ``&nbsp;`` for runs of spaces.
1709   - Improved modularity of output; added ``self.body_pre_docinfo`` and
1710     ``self.docinfo`` segments.
1711   - Added support for "line_block", "address" elements.
1712   - Improved backlinks (footnotes & system_messages).
1713   - Improved system_message output.
1714   - Redefined "--stylesheet" as containing an invariant URL, used
1715     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
1716     working directory.
1717   - Added "--footnote-references" option (superscript or brackets).
1718   - Added "--compact-lists" and "--no-compact-lists" options.
1719   - Added "--embed-stylesheet" and "--link-stylesheet" options;
1720     factored out ``HTMLTranslator.get_stylesheet_reference()``.
1721   - Improved field list rendering.
1722   - Added Docutils version to "generator" meta tag.
1723   - Fixed a bug with images; they must be inline, so wrapped in <p>.
1724   - Improved layout of <pre> HTML source.
1725   - Fixed attribute typo on <colspec>.
1726   - Refined XML prologue.
1727   - Support for no stylesheet.
1728   - Removed "interpreted" element support.
1729   - Added support for "title_reference", "sidebar", "attribution",
1730     "rubric", and generic "admonition" elements.
1731   - Added "--attribution" option.
1732   - Added support for "inline", "subscript", "superscript" elements.
1733   - Added initial support for "abbreviation" and "acronym";
1734     incomplete.
1736 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
1737   (from the sandbox).
1739   - Added french.
1740   - Double quotes in literal blocks (special treatment for de/ngerman).
1741   - Added '--hyperlink-color' option ('0' turns off coloring of links).
1742   - Added  "--attribution" option.
1743   - Right align attributions.
1745 * docutils/writers/pep_html.py:
1747   - Parameterized output encoding in PEP template.
1748   - Reworked substitutions from ``locals()`` into ``subs`` dict.
1749   - Redefined "--pep-stylesheet" as containing an invariant URL, used
1750     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
1751     working directory.
1752   - Added an override on the "--footnote-references" option.
1753   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
1754   - Added Docutils version to "generator" meta tag.
1755   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
1757 * docs/tools.txt:
1759   - Added a "silent" setting for ``buildhtml.py``.
1760   - Added a "Getting Help" section.
1761   - Rearranged the structure.
1762   - Kept up to date, with new settings, command-line options etc.
1763   - Added section for ``rst2latex.py`` (Engelbert Gruber).
1764   - Converted settings table into a definition list.
1766 * docs/rst/quickstart.txt:
1768   - Added a table of contents.
1769   - Added feedback information.
1770   - Added mention of minimum section title underline lengths.
1771   - Removed the 4-character minimum for section title underlines.
1773 * docs/rst/quickref.html:
1775   - Added a "Getting Help" section.
1776   - Added a style to make section title backlinks more subtle.
1777   - Added mention of minimum section title underline lengths.
1778   - Removed the 4-character minimum for section title underlines.
1780 * extras: Directory added to project; contains third-party modules
1781   that Docutils depends on (optparse, textwrap, roman).  These are
1782   only installed if they're not already present.
1784 * licenses: Directory added to project; contains copies of license
1785   files for non-public-domain files.
1787 * spec/doctree.txt:
1789   - Changed the focus.  It's about DTD elements:  structural
1790     relationships, semantics, and external (public) attributes.  Not
1791     about the element class library.
1792   - Moved some implementation-specific stuff into ``docutils.nodes``
1793     docstrings.
1794   - Wrote descriptions of all common attributes and parameter
1795     entities.  Filled in introductory material.
1796   - Working through the element descriptions: 55 down, 37 to go.
1797   - Removed "Representation of Horizontal Rules" to
1798     spec/rst/alternatives.txt.
1800 * spec/docutils.dtd:
1802   - Added "generated" inline element.
1803   - Added "line_block" body element.
1804   - Added "auto" attribute to "title".
1805   - Changed content models of "literal_block" and "doctest_block" to
1806     ``%text.model``.
1807   - Added ``%number;`` attribute type parameter entity.
1808   - Changed ``%structural.elements;`` to ``%section.elements``.
1809   - Updated attribute types; made more specific.
1810   - Added "address" bibliographic element.
1811   - Added "line" attribute to ``system_message`` element.
1812   - Removed "field_argument" element; "field_name" may contain
1813     multiple words and whitespace.
1814   - Changed public identifier to docutils.sf.net.
1815   - Removed "interpreted" element; added "title_reference",
1816     "abbreviation", "acronym".
1817   - Removed "refuri" attribute from "footnote_reference" and
1818     "citation_reference".
1819   - Added "sidebar", "rubric", "attribution", "admonition",
1820     "superscript", "subscript", and "inline" elements.
1822 * spec/pep-0256.txt: Converted to reStructuredText & updated.
1824 * spec/pep-0257.txt: Converted to reStructuredText & updated.
1826 * spec/pep-0258.txt: Converted to reStructuredText & updated.
1828 * spec/semantics.txt: Updated with text from a Doc-SIG response to
1829   Dallas Mahrt.
1831 * spec/transforms.txt: Added to project.
1833 * spec/howto: Added subdirectory, for developer how-to docs.
1835 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
1836   Elza, edited & extended by David Goodger.
1838 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
1839   project.
1841 * spec/rst/alternatives.txt:
1843   - Added "Doctree Representation of Transitions" from
1844     spec/doctree.txt.
1845   - Updated "Inline External Targets" & closed the debate.
1846   - Added ideas for interpreted text syntax extensions.
1847   - Added "Nested Inline Markup" section.
1849 * spec/rst/directives.txt:
1851   - Added directives: "topic", "sectnum", "target-notes",
1852     "line-block", "parsed-literal", "include", "replace", "sidebar",
1853     "admonition", "rubric", "epigraph", "highlights", "unicode" and
1854     "class".
1855   - Formalized descriptions of directive details.
1856   - Added an "align" attribute to the "image" & "figure" directives
1857     (by Adam Chodorowski).
1858   - Added "class" options to "topic", "sidebar", "line-block",
1859     "parsed-literal", "contents", and "image"; and "figclass" to
1860     "figure".
1862 * spec/rst/interpreted.txt: Added to project.  Descriptions of
1863   interpreted text roles.
1865 * spec/rst/introduction.txt:
1867   - Added pointers to material for new users.
1869 * spec/rst/reStructuredText.txt:
1871   - Disambiguated comments (just add a newline after the "::").
1872   - Updated enumerated list description; added a discussion of the
1873     second-line validity checking.
1874   - Updated directive description.
1875   - Added a note redirecting newbies to the user docs.
1876   - Expanded description of inline markup start-strings in non-markup
1877     contexts.
1878   - Removed field arguments and made field lists a generic construct.
1879   - Removed the 4-character minimum for section title underlines.
1880   - Clarified term/classifier delimiter & inline markup ambiguity
1881     (definition lists).
1882   - Added "Embedded URIs".
1883   - Updated "Interpreted Text" section.
1884   - Added "Character-Level Inline Markup" section.
1886 * test: Continually adding & updating tests.
1888   - Moved test/test_rst/ to test/test_parsers/test_rst/.
1889   - Moved test/test_pep/ to test/test_readers/test_pep/.
1890   - Added test/test_readers/test_python/.
1891   - Added test/test_writers/ (Engelbert Gruber).
1893 * tools:
1895   - Made the ``locale.setlocale()`` calls in front ends
1896     fault-tolerant.
1898 * tools/buildhtml.py:
1900   - Added "--silent" option.
1901   - Fixed bug with absolute paths & "--config".
1902   - Updated for new I/O classes.
1903   - Added some exception handling.
1904   - Separated publishers' setting defaults; prevents interference.
1905   - Updated for new ``publish_file()`` convenience function.
1907 * tools/pep-html-template:
1909   - Allow for "--embed-stylesheet".
1910   - Added Docutils version to "generator" meta tag.
1911   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
1912   - Conform to XHTML spec.
1914 * tools/pep2html.py:
1916   - Made ``argv`` a parameter to ``main()``.
1917   - Added support for "Content-Type:" header & arbitrary PEP formats.
1918   - Linked "Content-Type: text/plain" to PEP 9.
1919   - Files skipped (due to an error) are not pushed onto the server.
1920   - Updated for new I/O classes.
1921   - Added ``check_requirements()`` & ``pep_type_error()``.
1922   - Added some exception handling.
1923   - Updated for new ``publish_string()`` convenience function.
1924   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
1926 * tools/quicktest.py:
1928   - Added "-V"/"--version" option.
1930 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
1932 * tools/unicode2rstsubs.py: Added to project.  Produces character
1933   entity files (reSructuredText substitutions) from the MathML master
1934   unicode.xml file.
1936 * tools/editors: Support code for editors, added to project.  Contains
1937   ``emacs/restructuredtext.el``.
1939 * tools/stylesheets/default.css: Moved into the stylesheets directory.
1941   - Added style for chunks of inline literals.
1942   - Removed margin for first child of table cells.
1943   - Right-aligned field list names.
1944   - Support for auto-numbered section titles in TOCs.
1945   - Increased the size of inline literals (<tt>) in titles.
1946   - Restored the light gray background for inline literals.
1947   - Added support for "line_block" elements.
1948   - Added style for "address" elements.
1949   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
1950   - Improved field list rendering.
1951   - Vertical whitespace improvements.
1952   - Removed "a.target" style.
1954 * tools/stylesheets/pep.css:
1956   - Fixed nested section margins.
1957   - Other changes parallel those of ``../default.css``.
1960 Release 0.2 (2002-07-31)
1961 ========================
1963 General:
1965 - The word "component" was being used ambiguously.  From now on,
1966   "component" will be used to mean "Docutils component", as in Reader,
1967   Writer, Parser, or Transform.  Portions of documents (Table of
1968   Contents, sections, etc.)  will be called "document parts".
1969 - Did a grand renaming: a lot of ``verylongnames`` became
1970   ``very_long_names``.
1971 - Cleaned up imports: no more relative package imports or
1972   comma-separated lists of top-level modules.
1973 - Added support for an option values object which carries default
1974   settings and overrides (from command-line options and library use).
1975 - Added internal Unicode support, and support for both input and
1976   output encodings.
1977 - Added support for the ``docutils.io.IO`` class & subclasses.
1979 Specific:
1981 * docutils/__init__.py:
1983   - Added ``ApplicationError`` and ``DataError``, for use throughout
1984     the package.
1985   - Added ``Component`` base class for Docutils components; implements
1986     the ``supports`` method.
1987   - Added ``__version__`` (thus, ``docutils.__version__``).
1989 * docutils/core.py:
1991   - Removed many keyword parameters to ``Publisher.__init__()`` and
1992     ``publish()``; bundled into an option values object.  Added
1993     "argv", "usage", "description", and "option_spec" parameters for
1994     command-line support.
1995   - Added ``Publisher.process_command_line()`` and ``.set_options()``
1996     methods.
1997   - Reworked I/O model for ``docutils.io`` wrappers.
1998   - Updated ``Publisher.set_options()``; now returns option values
1999     object.
2000   - Added support for configuration files (/etc/docutils.conf,
2001     ./docutils.conf, ~/.docutils).
2002   - Added ``Publisher.setup_option_parser()``.
2003   - Added default usage message and description.
2005 * docutils/frontend.py: Added to project; support for front-end
2006   (command-line) scripts.  Option specifications may be augmented by
2007   components.  Requires Optik (http://optik.sf.net/) for option
2008   processing (installed locally as docutils/optik.py).
2010 * docutils/io.py: Added to project; uniform API for a variety of input
2011   output mechanisms.
2013 * docutils/nodes.py:
2015   - Added ``TreeCopyVisitor`` class.
2016   - Added a ``copy`` method to ``Node`` and subclasses.
2017   - Added a ``SkipDeparture`` exception for visitors.
2018   - Renamed ``TreePruningException`` from ``VisitorException``.
2019   - Added docstrings to ``TreePruningException``, subclasses, and
2020     ``Nodes.walk()``.
2021   - Improved docstrings.
2022   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2023   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2024     imports.
2025   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2026     ``PreDecorative`` mixin.
2027   - Reworked the name/id bookkeeping; to ``document``, removed
2028     ``explicit_targets`` and ``implicit_targets`` attributes, added
2029     ``nametypes`` attribute and ``set_name_id_map`` method.
2030   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2031     traversals.
2032   - Added ``document.has_name()`` method.
2033   - Fixed DOM generation for list-attributes.
2034   - Added category class ``Labeled`` (used by footnotes & citations).
2035   - Added ``Element.set_class()`` method (sets "class" attribute).
2037 * docutils/optik.py: Added to project.  Combined from the Optik
2038   package, with added option groups and other modifications.  The use
2039   of this module is probably only temporary.
2041 * docutils/statemachine.py:
2043   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2044   - Added underscores to improve many awkward names.
2045   - In ``string2lines()``, changed whitespace normalizing translation
2046     table to regexp; restores Python 2.0 compatibility with Unicode.
2048 * docutils/urischemes.py:
2050   - Filled in some descriptions.
2051   - Added "shttp" scheme.
2053 * docutils/utils.py:
2055   - Added ``clean_rcs_keywords`` function (moved from
2056     docutils/transforms/frontmatter.py
2057     ``DocInfo.filter_rcs_keywords``).
2058   - Added underscores to improve many awkward names.
2059   - Changed names of Reporter's thresholds:
2060     warning_level -> report_level; error_level -> halt_level.
2061   - Moved ``utils.id()`` to ``nodes.make_id()``.
2062   - Added ``relative_path(source, target)``.
2064 * docutils/languages/de.py: German mappings; added to project.  Thanks
2065   to Gunnar Schwant for the translations.
2067 * docutils/languages/en.py: Added "Dedication" bibliographic field
2068   mappings.
2070 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2071   Chodorowski.
2073 * docutils/parsers/rst/states.py:
2075   - Added underscores to improve many awkward names.
2076   - Added RFC-2822 header support.
2077   - Extracted the inline parsing code from ``RSTState`` to a separate
2078     class, ``Inliner``, which will allow easy subclassing.
2079   - Made local bindings for ``memo`` container & often-used contents
2080     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2081   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2082   - Added ``MarkupMismatch`` exception; for late corrections.
2083   - Added ``-/:`` characters to inline markup's start string prefix,
2084     ``/`` to end string suffix.
2085   - Fixed a footnote bug.
2086   - Fixed a bug with literal blocks.
2087   - Applied patch from Simon Budig: simplified regexps with symbolic
2088     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2089   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2090   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2091   - Allowed non-ASCII in "simple names" (directive names, field names,
2092     references, etc.).
2093   - Converted ``Inliner.patterns.initial`` to be dynamically built
2094     from parts with ``build_regexp()`` function.
2095   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2096   - Updated docstrings.
2097   - Changed "table" to "grid_table"; added "simple_table" support.
2099 * docutils/parsers/rst/tableparser.py:
2101   - Changed ``TableParser`` to ``GridTableParser``.
2102   - Added ``SimpleTableParser``.
2103   - Refactored naming.
2105 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2106   a fallback language for directive names.
2108 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2109   directive to use a ``pending`` element, used only by HTML writers.
2111 * docutils/parsers/rst/directives/parts.py: Renamed from
2112   components.py.
2114   - Added "backlinks" attribute to "contents" directive.
2116 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2117   project by Adam Chodorowski.
2119 * docutils/readers/__init__.py: Gave Readers more control over
2120   choosing and instantiating Parsers.
2122 * docutils/readers/pep.py: Added to project; for PEP processing.
2124 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2125   requires a ``component`` parameter.
2127 * docutils/transforms/components.py: Added to project; transforms
2128   related to Docutils components.
2130 * docutils/transforms/frontmatter.py:
2132   - In ``DocInfo.extract_authors``, check for a single "author" in an
2133     "authors" group, and convert it to a single "author" element.
2134   - Added support for "Dedication" and generic bibliographic fields.
2136 * docutils/transforms/peps.py: Added to project; PEP-specific.
2138 * docutils/transforms/parts.py: Renamed from old components.py.
2140   - Added filter for `Contents`, to use alt-text for inline images,
2141     and to remove inline markup that doesn't make sense in the ToC.
2142   - Added "name" attribute to TOC topic depending on its title.
2143   - Added support for optional TOC backlinks.
2145 * docutils/transforms/references.py: Fixed indirect target resolution
2146   in ``Hyperlinks`` transform.
2148 * docutils/transforms/universal.py:
2150   - Changed ``Messages`` transform to properly filter out system
2151     messages below the warning threshold.
2152   - Added ``Decorations`` transform (support for ``--generator``,
2153     ``--date``, ``--time``, ``--source-link`` options).
2155 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2156   Engelbert Gruber's PDF writer.
2158 * docutils/writers/html4css1.py:
2160   - Made XHTML-compatible (switched to lowercase element & attribute
2161     names; empty tag format).
2162   - Escape double-dashes in comment text.
2163   - Improved boilerplate & modularity of output.
2164   - Exposed modular output in Writer class.
2165   - Added a "generator" meta tag to <head>.
2166   - Added support for the ``--stylesheet`` option.
2167   - Added support for ``decoration``, ``header``, and ``footer``
2168     elements.
2169   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2170     translation table to regexp; restores Python 2.0 compatibility
2171     with Unicode.
2172   - Added the translator class as instance variable to the Writer, to
2173     make it easily subclassable.
2174   - Improved option list spacing (thanks to Richard Jones).
2175   - Modified field list output.
2176   - Added backlinks to footnotes & citations.
2177   - Added percentage widths to "<col>" tags (from colspec).
2178   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2179     "<span>" changed to "<var>".
2180   - Inline literals: "<code>" changed to "<tt>".
2181   - Many changes to optimize vertical space: compact simple lists etc.
2182   - Add a command-line options & directive attributes to control TOC
2183     and footnote/citation backlinks.
2184   - Added support for optional footnote/citation backlinks.
2185   - Added support for generic bibliographic fields.
2186   - Identify backrefs.
2187   - Relative URLs for stylesheet links.
2189 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2190   PEPs (subclass of ``html4css1.Writer``).
2192 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2194 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2195   of the Docutils internal doctree in XML.
2197 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2199 * spec/doctree.txt:
2201   - Changed the title to "The Docutils Document Tree".
2202   - Added "Hyperlink Bookkeeping" section.
2204 * spec/docutils.dtd:
2206   - Added ``decoration``, ``header``, and ``footer`` elements.
2207   - Brought ``interpreted`` element in line with the parser: changed
2208     attribute "type" to "role", added "position".
2209   - Added support for generic bibliographic fields.
2211 * spec/notes.txt: Continual updates.  Added "Project Policies".
2213 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2214   section.
2216 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2218 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
2219   mailing list discussions.
2221 * spec/pep-0287.txt:
2223   - Renamed to "reStructuredText Docstring Format".
2224   - Minor edits.
2225   - Reworked Q&A as an enumerated list.
2226   - Converted to reStructuredText format.
2228 * spec/pysource.dtd:
2230   - Reworked structural elements, incorporating ideas from Tony Ibbs.
2232 * spec/pysource.txt: Removed from project.  Moved much of its contents
2233   to pep-0258.txt.
2235 * spec/rst/alternatives.txt:
2237   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2238   - Added "Inline External Targets" section.
2240 * spec/rst/directives.txt:
2242   - Added "backlinks" attribute to "contents" directive.
2244 * spec/rst/problems.txt:
2246   - Updated the Enumerated List Markup discussion.
2247   - Added new alternative table markup syntaxes.
2249 * spec/rst/reStructuredText.txt:
2251   - Clarified field list usage.
2252   - Updated enumerated list description.
2253   - Clarified purpose of directives.
2254   - Added ``-/:`` characters to inline markup's start string prefix,
2255     ``/`` to end string suffix.
2256   - Updated "Authors" bibliographic field behavior.
2257   - Changed "inline hyperlink targets" to "inline internal targets".
2258   - Added "simple table" syntax to supplement the existing but
2259     newly-renamed "grid tables".
2260   - Added cautions for anonymous hyperlink use.
2261   - Added "Dedication" and generic bibliographic fields.
2263 * test: Made test modules standalone (subdirectories became packages).
2265 * test/DocutilsTestSupport.py:
2267   - Added support for PEP extensions to reStructuredText.
2268   - Added support for simple tables.
2269   - Refactored naming.
2271 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2273   - Now supports true packages containing test modules
2274     (``__init__.py`` files required); fixes duplicate module name bug.
2276 * test/test_pep/: Subpackage added to project; PEP testing.
2278 * test/test_rst/test_SimpleTableParser.py: Added to project.
2280 * tools:
2282   - Updated html.py and publish.py front-end tools to use the new
2283     command-line processing facilities of ``docutils.frontend``
2284     (exposed in ``docutils.core.Publisher``), reducing each to just a
2285     few lines of code.
2286   - Added ``locale.setlocale()`` calls to front-end tools.
2288 * tools/buildhtml.py: Added to project; batch-generates .html from all
2289   the .txt files in directories and subdirectories.
2291 * tools/default.css:
2293   - Added support for ``header`` and ``footer`` elements.
2294   - Added styles for "Dedication" topics (biblio fields).
2296 * tools/docutils.conf: A configuration file; added to project.
2298 * tools/docutils-xml.py: Added to project.
2300 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2302 * tools/pep-html-template: Added to project.
2304 * tools/pep2html.py: Added to project from Python (nondist/peps).
2305   Added support for Docutils (reStructuredText PEPs).
2307 * tools/quicktest.py:
2309   - Added the ``--attributes`` option, hacked a bit.
2310   - Added a second command-line argument (output file); cleaned up.
2312 * tools/stylesheets/: Subdirectory added to project.
2314 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2317 Release 0.1 (2002-04-20)
2318 ========================
2320 This is the first release of Docutils, merged from the now inactive
2321 reStructuredText__ and `Docstring Processing System`__ projects.  For
2322 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2323 `DPS HISTORY`__ files.
2325 __ http://structuredtext.sourceforge.net/
2326 __ http://docstring.sourceforge.net/
2327 __ http://structuredtext.sourceforge.net/HISTORY.html
2328 __ http://docstring.sourceforge.net/HISTORY.html
2330 General changes: renamed 'dps' package to 'docutils'; renamed
2331 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2332 the test suites (reStructuredText's test/test_states renamed to
2333 test/test_rst); and all modifications required to make it all work.
2335 * docutils/parsers/rst/states.py:
2337   - Improved diagnostic system messages for missing blank lines.
2338   - Fixed substitution_reference bug.
2342    Local Variables:
2343    mode: indented-text
2344    indent-tabs-mode: nil
2345    sentence-end-double-space: t
2346    fill-column: 70
2347    End: