Apply [ 1878977 ] make_id(): deaccent characters.
[docutils.git] / HISTORY.txt
blob9bb4312fa02eab5c32d8f11c4a6533d9e742afe3
1 .. -*- coding: utf-8 -*-
3 ==================
4  Docutils History
5 ==================
7 :Author: David Goodger; open to all Docutils developers
8 :Contact: goodger@python.org
9 :Date: $Date$
10 :Revision: $Revision$
11 :Web site: http://docutils.sourceforge.net/
12 :Copyright: This document has been placed in the public domain.
14 .. contents::
17 Changes Since 0.5
18 =================
20 * General:
22   - Apply [ 1878977 ] make_id(): deaccent characters.
23   - Backwards-compatible changes to remove python2.6 -3 deprecation warnings
24   - Text nodes now subclass unicode rather than UserString
25     (which is gone in python 3.0)
26   - Apply [ 1719345 ] Galician translation 
27   - Apply [ 1905741 ] polish-translation
29 * docutils/nodes.py:
31   - Added ``Element.__contains__`` method, for the in-operator.
33 * docutils/parsers/rst/states.py:
35   - Apply [ 1994493 ] Patch to support all kinds of quotes in inline markup.
36   - Added support for Unicode inline markup delimiters "‐ ‑ ‒ – —" and
37     " " (non-breaking space), and "¡ ¿" openers.
39 * docutils/writers/newlatex2e/__init__.py:
41   - Apply [ 1612821 ] Double quotes in literal text in Italian/German
43 * docutils/writers/latex2e/__init__.py:
45   - Apply [ 1474017 ] image vertical alignment is reversed.
46   - Apply [ 2051599 ] multi-page tables in latex writer (from pabigot).
47   - Fix: for spanish ``~n`` is ``n`` with tilde above, change to ``~{}n``.
48   - Change: has_key for dictionaries (not Nodes) to in-operator.
49   - Merge adjacent citations into one latex cite command.
51 * docs/ref/rst/restructuredtext.txt:
53   - Documented Unicode characters allowed as inline markup openers,
54     closers, and delimiters.
57 Release 0.5 (2008-06-25)
58 ========================
60 * docutils/languages/he.py: Added to project: Hebrew mappings by
61   Meir Kriheli.
63 * docutils/parsers/rst/languages/he.py: Added to project: Hebrew 
64   mappings by Meir Kriheli.
66 * docutils/frontend.py:
68   - Configuration files are now assumed and required to be
69     UTF-8-encoded.
70   - Paths of applied configuration files are now recorded in the
71     runtime setting ``_config_files`` (accessible via
72     ``--dump-settings``).
73   - Added ``--strip-elements-with-class`` and ``--strip-class``
74     options (``strip_elements_with_classes`` and ``strip_classes``
75     settings).
77 * docutils/io.py:
79   - Added code to determine the input encoding from data: encoding
80     declarations or the presence of byte order marks (UTF-8 & UTF-16).
81   - Added support for IronPython 1.0.
83 * docutils/nodes.py:
85   - Added ``document.__getstate__`` method, for pickling.
87 * docutils/parsers/rst/states.py:
89   - Allow ``+`` and ``:`` in reference names.
90   - Unquoted targets beginning with an underscore (``.. __target:
91     URI``) are no longer accepted.
92   - Added support for multiple attributions in a physical block quote
93     (indented text block), dividing it into multiple logical block
94     quotes.
95   - Added support for unicode bullets in bullet lists: "•", "‣", and
96     "⁃".
97   - Added support for new object-oriented directive interface,
98     retaining compatibility to the old functional interface.
99   - Added support for throwing ``DirectiveError``'s from within
100     directive code.
102 * docutils/parsers/rst/__init__.py:
104   - Added ``Directive`` base class.
105   - Added ``DirectiveError`` base class.
106   - Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
107     definitions.
109 * docutils/parsers/directives/:
111   - Refactored all reStructuredText directives to use the new
112     object-oriented directive interface.  Errors are now (mostly)
113     thrown using the new ``DirectiveError`` class.
115 * docutils/parsers/directives/misc.py:
117   - Added ``start-after`` and ``end-before`` options to ``include``
118     directive; thanks to Stefan Rank.
120 * docutils/transforms/universal.py:
122   - Added ``StripClassesAndElements`` transform to remove from the
123     document tree all elements with classes in
124     ``settings.strip_elements_with_classes`` and all "classes"
125     attribute values in ``self.document.settings.strip_classes``.
127 * docutils/transforms/writer_aux.py:
129   - Added ``Admonitions`` transform to transform specific admonitions
130     (like ``note``, ``warning``, etc.) into generic admonitions with a
131     localized title.
133 * docutils/writers/html4css1/__init__.py:
135   - Moved template functionality from the PEP/HTML writer here.
136   - Expanded the fragments available in the ``parts`` attribute.
137   - Moved ``id`` attributes from titles to surrounding ``div``
138     elements.
139   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
140     universally supported now).
141   - ``template.txt`` is now opened in text mode instead of binary mode
142     (to ensure Windows compatibility).
143   - ``a`` elements now have an "internal" or "external" class,
144     depending on reference type.
146 * docutils/writers/html4css1/template.txt: Added to project.
148 * docutils/writers/pep_html/:
150   - Moved template functionality to the HTML writer.
152 * docutils/writers/s5_html/__init__.py:
154   - Added ``view_mode`` & ``hidden_controls`` settings
155     (``--view-mode`` & ``--hidden-controls/--visible-controls``
156     options).
158 * docutils/writers/latex2e/__init__.py:
160   - Add ``--literal-block-env``
161   - Fix: escaping ``%`` in href urls.
162   - Move usepackage hyperref after stylesheet inclusion.
163   - Fix: scrartcl does not have chapter but scrreprt.
164   - Add newline after ``\end{verbatim}``.
165   - Merge smaller differences from latex2e_adaptive_preamble.
166   - Add ``use-part-section``.
167   - Put leavevmode before longtable to avoid having it moved before sub/pargraph.
168   - Using leavemode option_list no longer needs to check if parent
169     is a definition list.
170   - Append ``\leavemode`` to definition list terms.
171   - No longer write visit\_/depart_definition_list_item comments to
172     output.
173   - Table column width with 3 decimal places.
174   - Add table stubs support (boldfont).
175   - Add assemble_parts to writer.
176   - Add simply support for nested tables.
177   - Fix verbatim in tables if use-verbatim-when-possible.
178   - Use section commands down to subparagraph.
179   - Put ensuremath around some latin1 chars.
180   - Set ``usepackage[utf8x]{inputenc}`` for utf-8.
181   - New option ``--use-bibtex=style,db1,db2``.
182   - New option ``--reference-label`` to allow usage of LaTeX ref for 
183     labels in section references.
184   - Add a label after every section to support sectionnumbers as reference
185     labels.
186   - Fix: bug# 1605376 rst2latex: bad options group list
187   - Remove inactive code for use_optionlist_for_option_list.
188   - Remove latex comments from option_list output.
189   - Fix: bug# 1612270 double qoutes in italian literal.
190   - Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target. 
191   - Add option --use-latex-abstract.
192   - Image width unit ``px`` is translated to ``pt``.
193   - Add image height support.
194   - Fix: image width ``70%`` is converted ``0.700\linewidth``.
195     bug #1457388
196   - Fix: Do not escape underscores in citation reference labels if
197     use-latex-citations is set.
198   - Use centering instead of center for figure contents, to avoid vertical
199     space.
200   - Recognize table class: borderless, nolines, booktabs, standard.
201   - Fix: Renaming contents section does not work with latex writer; SF
202     bug #1487405.
203   - Applied patch for custom roles with classes from Edward Loper.
204   - Fixed bug that caused crashes with more than 256 lists.
206 * docutils/writers/pep_html/__init__.py:
208   - Changed to support new python.org website structure and
209     pep2pyramid.py.
211 * docs/howto/security.txt: "Deploying Docutils Securely", added to
212   project.
214 * tools/buildhtml.py:
216   -- Added ``ignore`` setting to exclude a list of shell patterns
217      (default: ``.svn:CVS``).
219 * tools/editors/emacs/rst.el:
221   - Changed license to "GPL".
222   - Added ``rst-straighten-decorations`` function.
223   - The ``compile`` module is now always loaded.
224   - Added ``rst-toggle-line-block`` function.
225   - Headings consisting only of non-ASCII characters are now
226     recognized by ``rst-toc`` and ``rst-adjust``.
227   - Added font-lock support for multi-line comments where the first
228     comment line is empty.
229   - Added ``(require 'font-lock)``.
231 * setup.py:
233   - Provide descriptive error message if distutils is missing.
236 Release 0.4 (2006-01-09)
237 ========================
239 * General:
241   - Updated the project policies for trunk/branch development &
242     version numbering.
244 * docutils/__init__.py:
246   - Added ``__version_details__`` attribute to describe code source
247     (repository/snapshot/release).
248   - Replaced ``default_transforms`` attribute of TransformSpec with
249     ``get_transforms()`` method.
251 * docutils/core.py:
253   - Added ``publish_doctree`` and ``publish_from_doctree`` convenience
254     functions, for document tree extraction and reprocessing.
256 * docutils/io.py:
258   - Added ``DocTreeInput`` class, for reprocessing existing documents.
259   - Added support for non-Unicode (e.g. binary) writer output.
261 * docutils/nodes.py:
263   - Re-introduced ``Targetable.indirect_reference_name``, for
264     MoinMoin/reST compatibility (removed in r3124/r3129).
265   - Added ``serial_escape`` function; escapes string values that are
266     elements of a list, for serialization.  Modified Docutils-XML
267     writing (``Element._dom_node``) and pseudo-XML writing
268     (``Element.starttag``) to use ``serial_escape``.
269   - Added ``Node.deepcopy()`` method.
270   - Removed the internal lists ``document.substitution_refs``,
271     ``document.anonymous_refs``, and ``document.anonymous_targets``.
272   - Added a "container" element.
273   - Fixed bug where values of list-valued attributes of elements
274     originating from custom interpreted text roles (i.e., with custom
275     classes) were being shared between element instances.  Reported by
276     Shmuel Zeigerman.
278 * docutils/statemachine.py:
280   - Added trailing whitespace stripping to ``string2lines()``.
281   - Added ``StringList.pad_double_width()`` & ``.replace()`` for East
282     Asian double-width character support.
284 * docutils/utils.py:
286   - Added ``east_asian_column_width()`` for double-width character
287     support.
289 * docutils/languages/ja.py: Added to project: Japanese mappings by
290   Hisashi Morita.
292 * docutils/languages/zh_cn.py: Added to project: Simplified Chinese
293   mappings by Panjunyong.
295 * docutils/parsers/null.py: Added to project; a do-nothing parser.
297 * docutils/parsers/rst/__init__.py:
299   - Added validator to tab_width setting, with test.  Closes SF bug
300     #1212515, report from Wu Wei.
302 * docutils/parsers/rst/states.py:
304   - Fixed bug with escaped colons indicating a literal block.
305   - Fixed bug with enumerated lists (SF#1254145).
306   - Backslash-escaped colons inside of field names are now allowed.
307   - Targets (implicit and explicit), anonymous hyperlink references
308     and auto-numbered footnote references inside of substitution
309     definitions are now disallowed.
310   - Fixed bug: list items with blank first lines.
311   - Fixed bug: block quote attributions with indented second lines.
312   - Added East Asian double-width character support (Python 2.4 only).
314 * docutils/parsers/rst/tableparser.py:
316   - Added East Asian double-width character support (Python 2.4 only).
318 * docutils/parsers/rst/directives/body.py:
320   - Added the "container" directive.
322 * docutils/parsers/rst/directives/misc.py:
324   - Added the "default-role", "title", and "date" directives.
325   - Added standard data file syntax to the "include" directive.
326   - Added support for "class" directive content.
328 * docutils/parsers/rst/directives/images.py:
330   - Added ``indirect_reference_name`` support for images with a target
331     option.
332   - Added support for image width and height units.
333   - Fixed bug with image "target" options.
335 * docutils/parsers/rst/directives/references.py:
337   - Added "class" attribute to "target-notes" directive, for
338     footnote_reference classes.
340 * docutils/parsers/rst/include/: Directory added to project; contains
341   standard data files for the "include" directive.  Initial contents:
342   character entity substitution definition sets, and a set of
343   definitions for S5/HTML presentations.
345 * docutils/parsers/rst/languages/ja.py: Added to project: Japanese
346   mappings by David Goodger.
347   
348 * docutils/parsers/rst/languages/zh_cn.py: Added to project:
349   Simplified Chinese mappings by Panjunyong.
351 * docutils/readers/__init__.py:
353   - Added universal.Decorations and universal.ExposeInternals
354     transforms as default transforms for all readers.
355   - Added ``ReReader`` base class for readers that reread an existing
356     document tree.
358 * docutils/readers/doctree.py: Added to project; a reader for existing
359   document trees.
361 * docutils/transforms/frontmatter.py:
363   - Fixed the DocInfo transform to handle SVN-style expansion of the
364     "Date" keyword.
365   - In ``DocInfo.extract_authors``, treat the contents of "authors"
366     fields uniformly.
368 * docutils/transforms/misc.py:
370   - Added misc.Transitions transform, extracted from
371     universal.FinalChecks.
373 * docutils/transforms/references.py:
375   - Added references.DanglingReferences transform, extracted from
376     universal.FinalChecks.
377   - Fixed bug with doubly-indirect substitutions.
378   - Added footnote_reference classes attribute to "TargetNotes".
379   - Fixed bug with circular substitution definitions that put Docutils
380     into an infinite loop.
382 * docutils/transforms/universal.py:
384   - Added universal.ExposeInternals transform, extracted from
385     universal.FinalChecks.
386   - Removed universal.FinalChecks transform (logic has been moved to
387     several new transforms).
388   - Fixed bug with the "expose_internals" setting and Text nodes
389     (exposed by the "rawsource" internal attribute).
390   - Added the universal.StripComments transform, implementation of the
391     "strip_comments" setting.
393 * docutils/transforms/writer_aux.py: Added to project; auxiliary
394   transforms for writers.
396   - Added ``Compound`` transform, which flattens compound paragraphs.
398 * docutils/writers/: Several writer modules (html4css1.py) were
399   converted into packages.  Support modules and data files have been
400   moved into the packages.  The stylesheets for the HTML writers are
401   now installed along with the code, the code knows where to find
402   them, and the default is to use them (actually, to embed them).
403   Some adjustments to configuration files may be necessary.  The
404   easiest way to obtain the new default behavior is to remove all
405   settings whose name includes "stylesheet".
407 * docutils/writers/__init__.py:
409   - Added universal.Messages and universal.FilterMessages transforms
410     as default transforms for all writers.
411   - Added ``UnfilteredWriter`` base class for writers that pass the
412     document tree on unchanged.
414 * docutils/writers/docutils_xml.py:
416   - Made ``xmlcharrefreplace`` the default output encoding error
417     handler.
419 * docutils/writers/html4css1/: 
421   - Added support for image width and height units.
422   - Made ``xmlcharrefreplace`` the default output encoding error
423     handler.
424   - Made ``--embed-stylesheet`` the default rather than
425     ``--link-stylesheet``.
426   - Moved "id" attribute from container (section etc.) to title's <a>
427     tag, to be on the same tag as "name".
428     (!!! To be reverted in Docutils 0.5.)
429   - Added vertical space between fields of field lists.
430   - Added ``--compact-field-lists`` option to remove vertical space in
431     simple field lists.
432   - Made cloaking of email addresses with ``--cloak-email-addresses``
433     less obtrusive.
434   - Fixed support for centered images.
435   - Added support for class="compact" & class="open" lists.
437 * docutils/writers/latex2e/:
439   - Underscores in citekeys are no longer escaped.
441 * docutils/writers/newlatex2e/unicode_map.py: Added to project;
442   mapping of Unicode characters to LaTeX equivalents.
444 * docutils/writers/s5_html/: Package added to project; writer for
445   S5/HTML slide shows.
447 * docs/dev/distributing.txt: Added to project; guide for distributors
448   (package maintainers).
450 * docs/dev/hacking.txt: Added to project; guide for developers.
452 * docs/ref/doctree.txt:
454   - Updated for plural attributes "classes", "ids", "names",
455     "dupnames".
456   - Added the "container" element.
458 * docs/ref/docutils.dtd:
460   - Updated for plural attributes "classes", "ids", "names",
461     "dupnames".
463 * docs/user/emacs.txt: Added to project; a document about Emacs
464   support for reStructuredText and Docutils.
466 * docs/user/links.txt: Added to project; lists of Docutils-related
467   links.
469 * docs/user/mailing-lists.txt: Added to project; information about
470   Docutils-related mailing lists and how to access them.
472 * docs/user/slide-shows.txt: Added to project; example of and docs for
473   the S5/HTML writer (``rst2s5.py`` front end).
475 * docs/ref/rst/definitions.txt: "reStructuredText Standard Definition
476   Files", added to project.
478 * test/coverage.sh: Added to project; test coverage script.
480 * test/DocutilsTestSupport.py:
482   - Added support for specifying runtime settings at the suite level.
484 * test/test_functional.py:
486   - Added the ``clear_output_directory`` function.
487   - Added support for ``_test_more`` functions in functional test
488     config files.
490 * tools/rst2s5.py: Added to project; front end for the S5/HTML writer.
492 * tools/rstpep2html.py: Renamed from pep.py.
494 * tools/dev/create_unimap.py: Added to project; script to create the
495   docutils/writers/unimap_latex.py mapping file.
497 * tools/dev/profile_docutils.py: Added to project; profiler script.
499 * tools/dev/unicode2rstsubs.py: Moved from tools/unicode2rstsubs.py.
501 * tools/editors/emacs/restructuredtext.el,
502   tools/editors/emacs/rst-html.el, tools/editors/emacs/rst-mode.el:
503   Removed from project; the functionality is now contained in rst.el.
505 * tools/editors/emacs/rst.el: Added to project.  Added many features
506   and fixed many bugs.  See docs/user/emacs.txt for details.
508 * tools/stylesheets: Removed from project.  Stylesheets have been
509   renamed and moved into writer packages.
512 Release 0.3.9 (2005-05-26)
513 ==========================
515 * General:
517   - Eliminated and replaced all uses of the old string attributes
518     ``id``, ``name``, ``dupname`` and ``class`` with references to the
519     new list attributes ``ids``, ``names``, ``dupnames`` and
520     ``classes`` throughout the whole source tree.
522 * docutils/core.py:
524   - Enabled ``--dump-*`` options when ``--traceback`` specified,
525     allowing for easier debugging.
526   - In ``Publisher.publish()``, expanded the generic top-level
527     exception catching.
529 * docutils/examples.py:
531   - Added ``internals`` function for exploration.
533 * docutils/io.py:
535   - Fixed ``Input.decode`` method to apply heuristics only if no
536     encoding is explicitly given, and to provide better reporting of
537     decoding errors.
538   - The ``Input.decode`` method now removes byte order marks (BOMs)
539     from input streams.
541 * docutils/nodes.py:
543   - ``image`` element class changed to subclass of Element, not
544     TextElement (it's an empty element, and cannot contain text).
545   - Added ``attr_defaults`` dictionary for default attribute values.
546   - Added empty list as default value for the following attributes:
547     ``ids``, ``names``, ``dupnames``, ``classes``, and ``backrefs``.
548   - Added ``document.decoration`` attribute,
549     ``document.get_decoration`` method, and ``decoration.get_header``
550     & ``.get_footer`` methods.
551   - Added ``Element.update_basic_atts()`` and ``Element.substitute()``
552     methods.
554 * docutils/utils.py:
556   - Removed ``docutils.utils.Reporter.categories``,
557     ``docutils.utils.ConditionSet``, and all references to them, to
558     simplify error reporting.
560 * docutils/languages/nl.py: Added to project; Dutch mappings by
561   Martijn Pieters.
563 * docutils/parsers/rst/__init__.py:
565   - Added settings: ``file_insertion_enabled`` & ``raw_enabled``.
567 * docutils/parsers/rst/states.py:
569   - Added check for escaped at-mark to prevent email address recognition.
570   - Fixed option lists to allow spaces inside ``<angle-bracketed option
571     arguments>``.
572   - Allowed whitespace in paths and URLs.
573   - Added auto-enumerated list items.
574   - Fixed bug that assumed ``.. _`` and ``.. |`` were invariably
575     followed by text.
576   - Added support for table stub columns.
578 * docutils/parsers/rst/directives/__init__.py:
580   - Allowed whitespace in paths (``path`` function).
581   - Added ``uri`` directive option conversion function.
583 * docutils/parsers/rst/directives/body.py:
585   - Fixed illegal context bug with "topic" directive (allowed within
586     sidebars; not within body elements).
588 * docutils/parsers/rst/directives/images.py:
590   - Allowed whitespace (stripped) in "image" & "figure" directive URLs.
591   - Added support for the ``file_insertion_enabled`` setting in the
592     "figure" directive (disables "figwidth" option).
593   - "image" directive: added checks for valid values of "align" option,
594     depending on context.  "figure" directive: added specialized
595     "align" option and attribute on "figure" element.
596   - Made ":figwidth: image" option of "figure" directive work again.
597   - Fixed bug with reference names containing uppercase letters
598     (e.g. ``Name_``) in "target" option of "image" directive.
600 * docutils/parsers/rst/directives/misc.py:
602   - Fixed "include" and "raw" directives to catch text decoding
603     errors.
604   - Allowed whitespace in "include" & "raw" directive paths.
605   - Added support for ``file_insertion_enabled`` & ``raw_enabled``
606     settings in "include" & "raw" directives.
608 * docutils/parsers/rst/directives/parts.py:
610   - Added "header" & "footer" directives.
611   - Fixed illegal context bug with "contents" directive (topics
612     allowed within sidebars; not within body elements).
614 * docutils/parsers/rst/directives/tables.py:
616   - Added "list-table" directive.
617   - Caught empty CSV table bug.
618   - Added support for the ``file_insertion_enabled`` setting in the
619     "csv-table" directive.
620   - Added ``stub-columns`` option to "csv-table" and "list-table"
621     directives.
623 * docutils/parsers/rst/languages/nl.py: Added to project; Dutch
624   mappings by Martijn Pieters.
626 * docutils/readers/standalone.py:
628   - Added ``--section-subtitles`` and ``--no-section-subtitles``
629     options to activate or deactivate the SectSubTitle transform.
631 * docutils/transforms/frontmatter.py:
633   - Added SectSubTitle transform to promote titles of lone
634     subsections to subtitles.
636 * docutils/transforms/references.py:
638   - Fixed mislocated internal targets bug, by propagating internal
639     targets to the next node, making use of the newly added support
640     for multiple names and IDs.
641   - Fixed duplicate footnote label bug.
642   - Replaced ``ChainedTargets`` with more generic ``PropagateTargets``
643     transform.
645 * docutils/writers/html4css1.py:
647   - Fixed unencoded stylesheet reference bug (characters like "&" in
648     stylesheet references).
649   - ``target`` nodes now appear as ``span`` tags (instead of ``a``
650     tags).
651   - Added support for multiple IDs per node by creating empty ``span``
652     tags.
653   - Added the ``field_name_limit`` & ``option_limit`` settings &
654     support.
655   - Added support for table stub columns.
656   - Added support for the ``align`` attribute on ``figure`` elements.
657   - Added the ``cloak_email_addresses`` setting & support.
658   - Added ``html_prolog``, ``html_head``, ``html_body``,
659     ``html_title``, & ``html_subtitle`` to parts dictionary exposed by
660     ``docutils.core.publish_parts``.
661   - Added support for section subtitles.
663 * docutils/writers/latex2e.py:
665   - Fixed tables starting with more than one multirow cell.
666   - Improved --use-latex-docinfo so that organization/contact/address
667     fields are lumped with the last author field and appear on the
668     titlepage.
669   - Made sure the titlepage is always shown with --use-latex-docinfo,
670     even if the document has no title.
671   - Made sure that latex doesn't fill in today's date if no date field
672     was given.
673   - Added support for section subtitles.
675 * docutils/writers/newlatex2e.py: Added to project; a new LaTeX writer
676   (under development).
678 * docutils/writers/null.py: Added to project; a do-nothing Writer.
680 * docs/api/publisher.txt:
682   - Added "``publish_parts`` Details" section.
684 * docutils/dev/repository.txt: Added to project; information about the
685   Docutils Subversion repository.
687 * docs/ref/docutils.dtd:
689   - Added a ``stub`` attribute to the ``colspec`` element via the
690     ``tbl.colspec.att`` parameter entity.
691   - Allowed topic elements within sidebars
692   - Added an ``align`` attribute to the ``figure`` element.
694 * tools/rst2newlatex.py: Added to project; front end for the new LaTeX
695   writer.
698 Release 0.3.7 (2004-12-24)
699 ==========================
701 * docutils/frontend.py:
703   - Added options: --input-encoding-error-handler,
704     --record-dependencies, --leave-footnote-reference-space,
705     --strict-visitor.
706   - Added command-line and config file support for "overrides" setting
707     parameter.
709 * docutils/io.py:
711   - Added support for input encoding error handler.
713 * docutils/nodes.py:
715   - Added dispatch_visit and dispatch_departure methods to
716     NodeVisitor; useful as a hook for Visitors.
717   - Changed structure of ``line_block``; added ``line``.
718   - Added ``compound`` node class.
719   - Added a mechanism for Visitors to transitionally ignore new node
720     classes.
722 * docutils/utils.py:
724   - Moved ``escape2null`` and ``unescape`` functions from
725     docutils/parsers/rst/states.py.
727 * docutils/parsers/rst/roles.py:
729   - Added "raw" role.
730   - Changed role function API: the "text" parameter now takes
731     null-escaped interpreted text content.
733 * docutils/parsers/rst/states.py:
735   - Fixed bug where a "role" directive in a nested parse would crash
736     the parser; the state machine's "language" attribute was not being
737     copied over.
738   - Added support for line block syntax.
739   - Fixed directive parsing bug: argument-less directives didn't
740     notice that arguments were present.
741   - Removed error checking for transitions.
742   - Added support for multiple classifiers in definition list items.
743   - Moved ``escape2null`` and ``unescape`` functions to docutils/utils.py.
744   - Changed role function API: the "text" parameter now takes
745     null-escaped interpreted text content.
746   - Empty sections and documents are allowed now.
748 * docutils/parsers/rst/directives/__init__.py:
750   - Added ``encoding`` directive option conversion function.
751   - Allow multiple class names in class_option conversion function.
753 * docutils/parsers/rst/directives/body.py:
755   - Converted the line-block directive to use the new structure.
756   - Extracted the old line-block functionality to the ``block``
757     function (still used).
758   - Added ``compound`` directive (thanks to Lea Wiemann).
760 * docutils/parsers/rst/directives/misc.py:
762   - Added "encoding" option to "include" and "raw" directives.
763   - Added "trim", "ltrim", and "rtrim" options to "unicode" directive.
764   - Allow multiple class names in the "class" directive.
766 * docutils/parsers/rst/directives/parts.py:
768   - Directive "sectnum" now accepts "prefix", "suffix", and "start"
769     options.  Thanks to Lele Gaifax.
771 * docutils/parsers/rst/directives/tables.py:
773   - Added "encoding" directive to "csv-table" directive.
774   - Added workaround for lack of Unicode support in csv.py, for
775     non-ASCII CSV input.
777 * docutils/transforms/misc.py:
779   - Fixed bug when multiple "class" directives are applied to a single
780     element.
781   - Enabled multiple format names for "raw" directive.
783 * docutils/transforms/references.py:
785   - Added support for trimming whitespace from beside substitution
786     references.
788 * docutils/transforms/universal.py:
790   - FinalChecks now checks for illegal transitions and moves
791     transitions between sections.
793 * docutils/writers/html4css1.py:
795   - HTMLTranslator.encode now converts U+00A0 to "&nbsp;".
796   - "stylesheet" and "stylesheet_path" settings are now mutually
797     exclusive.
798   - Added support for the new line_block/line structure.
799   - --footnote-references now overrides
800     --trim-footnote-reference-space, if applicable.
801   - Added support for ``compound`` elements.
802   - Enabled multiple format names for "raw" directive.
803   - ``<p>`` tags of a paragraph which is the only visible child of the
804     document node are no longer stripped.
805   - Moved paragraph-compacting logic (for stripping ``<p>`` tags) to
806     new method ``should_be_compact_paragraph()``.
807   - Added class="docutils" to ``dl``, ``hr``, ``table`` and ``tt``
808     elements.
809   - "raw" elements are now surrounded by ``span`` or ``div`` tags in
810     the output if they have their ``class`` attribute set.
811   - The whole document is now surrounded by a ``<div
812     class="document">`` element.
813   - Body-level images are now wrapped by their own ``<div>`` elements,
814     with image classes copied to the wrapper, and for images which
815     have the ``:align:`` option set, the surrounding ``<div>`` now
816     receives a class attribute (like ``class="align-left"``).
818 * docutils/writers/latex2e.py:
820   - no newline after depart_term.
821   - Added translations for some Unicode quotes.
822   - Added option "font-encoding", made package AE the default.
823   - "stylesheet" and "stylesheet_path" settings are now mutually
824     exclusive.
825   - --footnote-references now overrides
826     --trim-footnote-reference-space, if applicable.
827   - The footnote label style now matches the footnote reference style
828     ("brackets" or "superscript").
829   - Added support for ``compound`` elements.
830   - Enabled multiple format names for "raw" directive.
832 * docs/ref/docutils.dtd:
834   - Changed structure of the ``line_block`` element; added ``line``.
835   - Added ``compound`` element.
836   - Added "ltrim" and "rtrim" attributes to
837     ``substitution_definition`` element.
838   - Enabled multiple format names for ``raw`` element.
839   - Enabled multiple classifiers in ``definition_list_item`` elements.
841 * docs/ref/rst/directives.txt
843   - Marked "line-block" as deprecated.
844   - "Class" directive now allows multiple class names.
845   - Added "Rationale for Class Attribute Value Conversion".
846   - Added warning about "raw" overuse/abuse.
848 * docs/ref/rst/restructuredtext.txt:
850   - Added syntax for line blocks.
851   - Definition list items may have multiple classifiers.
853 * docs/ref/rst/roles.txt:
855   - Added "raw" role.
857 * tools/stylesheets/default.css:
859   - Added support for the new line_block structure.
860   - Added "docutils" class to ``dl``, ``hr``, ``table`` and ``tt``.
863 Release 0.3.5 (2004-07-29)
864 ==========================
866 General:
868 * _`Documentation cleanup/reorganization`.
870   - Created new subdirectories of docs/:
872     * ``docs/user/``: introductory/tutorial material for end-users
873     * ``docs/dev/``: for core-developers (development notes, plans, etc.)
874     * ``docs/api/``: API reference material for client-developers
875     * ``docs/ref/``: reference material for all groups
876     * ``docs/howto/``: for component-developers and core-developers
877     * ``docs/peps/``: Python Enhancement Proposals
879   - Moved ``docs/*`` to ``docs/user/``.
880   - Moved ``pysource.dtd``, ``pysource.txt``, ``semantics.txt`` from
881     ``spec/`` to ``docs/dev``.
882   - Moved ``doctree.txt``, ``docutils.dtd``, ``soextblx.dtd``,
883     ``transforms.txt`` from ``spec/`` to ``docs/ref/``.
884   - Moved ``alternatives.txt``, and ``problems.txt`` from
885     ``spec/rst/`` to ``docs/dev/rst/``.
886   - Moved ``reStructuredText.txt``, ``directives.txt``,
887     ``interpreted.txt``, and ``introduction.txt`` from ``spec/rst/``
888     to ``docs/ref/rst/``.  Renamed ``interpreted.txt`` to
889     ``roles.txt``, ``reStructuredText.txt`` to
890     ``restructuredtext.txt``.
891   - Moved ``spec/howto/`` to ``docs/howto``.
893   In order to keep the CVS history of moved files, we supplied
894   SourceForge with a `script for modifying the Docutils CVS
895   repository`__.
897   __ http://cvs.sourceforge.net/viewcvs.py/*checkout*/docutils/sandbox/davidg/infrastructure/cvs-reorg.sh?content-type=text/plain&rev=1.5
899   After running the cleanup script:
901   - Added ``docs/index.txt``.
902   - Added a ``.htaccess`` file to the ``web`` module, containing
903     redirects for all old paths to new paths.  They'll preserve
904     fragments (the "#name" part of a URL), and won't clutter up the
905     file system, and will correct the URL in the user's browser.
906   - Added ``BUGS.txt``, ``docs/dev/policies.txt``,
907     ``docs/dev/website.txt``, ``docs/dev/release.txt`` from all but
908     the "To Do" list itself in ``docs/dev/todo.txt``.
909   - Moved "Future Plans" from ``HISTORY.txt`` to new "Priorities"
910     section of ``docs/dev/todo.txt``.
911   - Added ``THANKS.txt`` from "Acknowledgements" in ``HISTORY.txt``.
912   - Added "How To Report Bugs" to ``BUGS.txt``.
913   - Went through all the sources and docs (including under web/) and
914     updated links.  Mostly done by Lea Wiemann; thanks Lea!
915     (Still need to update links in the sandboxes.)
917 Specific:
919 * BUGS.txt: Added to project.
921 * THANKS.txt: Added to project.
923 * docutils/__init__.py:
925   - 0.3.4: Post-release.
927 * docutils/core.py:
929   - Added special error handling & advice for UnicodeEncodeError.
930   - Refactored Publisher.publish (simplified exception handling &
931     extracted debug dumps).
932   - Renamed "enable_exit" parameter of convenience functions to
933     "enable_exit_status".
934   - Enabled traceback (exception propagation) by default in
935     programmatic convenience functions.
936   - Now publish_file and publish_cmdline convenience functions return
937     the encoded string results in addition to their regular I/O.
938   - Extracted common code from publish_file, publish_string, and
939     publish_parts, into new publish_programmatically.  Extracted
940     settings code to ``Publisher.process_programmatic_settings``.
941   - In Publisher.publish, disabled ``settings_overrides`` when
942     ``settings`` is supplied; redundant.
944 * docutils/frontend.py:
946   - Added help text for "--output-encoding-error-handler" and
947     "--error-encoding-error-handler".
948   - Renamed "--exit" to "--exit-status".
949   - Simplified default-setting code.
951 * docutils/parsers/rst/__init__.py:
953   - Added "--pep-base-url" and "--rfc-base-url" options.
955 * docutils/parsers/rst/states.py:
957   - Made URI recognition more aggressive and intelligent.
959 * docutils/parsers/rst/directives/__init__.py:
961   - Added several directive option conversion functions.
963 * docutils/parsers/rst/directives/body.py:
965   - Moved "table" directive to tables.py.
967 * docutils/parsers/rst/directives/tables.py: Table-related directives,
968   added to project.
970 * docutils/writers/latex2e.py:
972   - Added "--table-style=(standard|booktabs|nolines)"
973   - figures get "here" option (LaTeX per default puts them at bottom),
974     and figure content is centered.
975   - Rowspan support for tables.
976   - Fix: admonition titles before first section.
977   - Replace ``--`` in literal by ``-{}-`` because fontencoding T1 has endash.
978   - Replave ``_`` in literal by an underlined blank, because it has the correct
979     width.
980   - Fix: encode pdfbookmark titles, ``#`` broke pdflatex.
981   - A few unicode replacements, if output_encoding != utf
982   - Add "--graphicx-option".
983   - Indent literal-blocks.
984   - Fix: omit ``\maketitle`` when there is no document title.
986 * docs/index.txt: "Docutils Project Documentation Overview", added to
987   project.
989 * docs/api/cmdline-tool.txt: "Inside A Docutils Command-Line Front-End
990   Tool", added to project.
992 * docs/api/publisher.txt: "The Docutils Publisher", added to project.
994 * docs/api/runtime-settings.txt: "Docutils Runtime Settings", added to project.
996 * docs/dev/policies.txt: Added to project (extracted from
997   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
999 * docs/dev/release.txt: Added to project (extracted from
1000   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1002 * docs/dev/testing.txt: Added to project.
1004 * docs/dev/website.txt: Added to project (extracted from
1005   ``docs/dev/todo.txt``, formerly ``spec/notes.txt``).
1007 * docs/ref/rst/directives.txt:
1009   - Added directives: "table", "csv-table".
1011 * docs/user/rst/cheatsheet.txt: "The reStructuredText Cheat Sheet"
1012   added to project.  1 page for syntax, and a 1 page reference for
1013   directives and roles.  Source text to be used as-is; not meant to be
1014   converted to HTML.
1016 * docs/user/rst/demo.txt: Added to project; moved from tools/test.txt
1017   with a change of title.
1019 * test/functional/, contents, and test/test_functional.py: Added to
1020   project.
1022 * tools/buildhtml.py: Fixed bug with config file handling.
1024 * tools/html.py: Removed from project (duplicate of rst2html.py).
1026 * tools/pep2html.py: Removed from project (duplicate of Python's
1027   nondist/peps/pep2html.py; Docutils' tools/pep.py can be used for
1028   Docutils-related PEPs in docs/peps/).
1030 * tools/rst2pseudoxml.py: Renamed from publish.py.
1032 * tools/rst2xml.py: Renamed from docutils-xml.py.
1034 * tools/test.txt: Removed from project; moved to
1035   docs/user/rst/demo.txt.
1037 * setup.py: Now also installs ``rst2latex.py``.
1040 Release 0.3.3 (2004-05-09)
1041 ==========================
1043 * docutils/__init__.py:
1045   - 0.3.1: Reorganized config file format (multiple sections); see
1046     docs/config.txt.
1047   - Added unknown_reference_resolvers attribute to TransformSpec.
1048   - 0.3.2: Interpreted text reorganization.
1049   - 0.3.3: Released.
1051 * docutils/core.py:
1053   - Catch system messages to stop tracebacks from parsing errors.
1054   - Catch exceptions during processing report & exit without
1055     tracebacks, except when "--traceback" used.
1056   - Reordered components for OptionParser; application comes last.
1057   - Added "config_section" parameter to several methods and functions,
1058     allowing front ends to easily specify their config file sections.
1059   - Added publish_parts convenience function to allow access to individual
1060     parts of a document.
1062 * docutils/examples.py: Added to project; practical examples of
1063   Docutils client code, to be used as-is or as models for variations.
1065 * docutils/frontend.py:
1067   - Added "--traceback" & "--no-traceback" options ("traceback"
1068     setting).
1069   - Implemented support for config file reorganization:
1070     ``standard_config_files`` moved from ``ConfigParser`` to
1071     ``OptionParser``; added
1072     ``OptionParser.get_config_file_settings()`` and
1073     ``.get_standard_config_settings()``; support for old "[options]"
1074     section (with deprecation warning) and mapping from old to new
1075     settings.
1076   - Reimplemented setting validation.
1077   - Enabled flexible boolean values: yes/no, true/false, on/off.
1078   - Added ``Values``, a subclass of ``optparse.Values``, with support
1079     for list setting attributes.
1080   - Added support for new ``DOCUTILSCONFIG`` environment variable;
1081     thanks to Beni Cherniavsky.
1082   - Added "--no-section-numbering" option.
1084 * docutils/io.py:
1086   - Catch IOErrors when opening source & destination files, report &
1087     exit without tracebacks.  Added ``handle_io_errors`` parameter to
1088     ``FileInput`` & ``FileOutput`` to enable caller error handling.
1090 * docutils/nodes.py:
1092   - Changed ``SparseNodeVisitor`` and ``GenericNodeVisitor`` dynamic
1093     method definitions (via ``exec``) to dynamic assignments (via
1094     ``setattr``); thanks to Roman Suzi.
1095   - Encapsulated visitor dynamic assignments in a function; thanks to
1096     Ian Bicking.
1097   - Added indirect_reference_name attribute to the Targetable
1098     class. This attribute holds the whitespace_normalized_name
1099     (contains mixed case) of a target.
1101 * docutils/statemachine.py:
1103   - Renamed ``StringList.strip_indent`` to ``.trim_left``.
1104   - Added ``StringList.get_2D_block``.
1106 * docutils/utils.py:
1108   - Added "level" attribute to SystemMessage exceptions.
1110 * docutils/languages/af.py: Added to project; Afrikaans mappings by
1111   Jannie Hofmeyr.
1113 * docutils/languages/cs.py: Added to project; Czech mappings by Marek
1114   Blaha.
1116 * docutils/languages/eo.py: Added to project; Esperanto mappings by
1117   Marcelo Huerta San Martin.
1119 * docutils/languages/pt_br.py: Added to project; Brazilian Portuguese
1120   mappings by Lalo Martins.
1122 * docutils/languages/ru.py: Added to project; Russian mappings by
1123   Roman Suzi.
1125 * docutils/parsers/rst/roles.py: Added to project.  Contains
1126   interpreted text role functions, a registry for interpreted text
1127   roles, and an API for adding to and retrieving from the registry.
1128   Contributed by Edward Loper.
1130 * docutils/parsers/rst/states.py:
1132   - Updated ``RSTState.nested_parse`` for "include" in table cells.
1133   - Allowed true em-dash character and "---" as block quote
1134     attribution marker.
1135   - Added support for <angle-bracketed> complex option arguments
1136     (option lists).
1137   - Fixed handling of backslashes in substitution definitions.
1138   - Fixed off-by-1 error with extra whitespace after substitution
1139     definition directive.
1140   - Added inline markup parsing to field lists' field names.
1141   - Added support for quoted (and unindented) literal blocks.
1142     Driven in part by a bribe from Frank Siebenlist (thanks!).
1143   - Parser now handles escapes in URIs correctly.
1144   - Made embedded-URIs' reference text omittable.  Idea from Beni
1145     Cherniavsky.
1146   - Refactored explicit target processing code.
1147   - Added name attribute to references containing the reference name only
1148     through whitespace_normalize_name (no case changes).
1149   - parse_target no longer returns the refname after going through
1150     normalize_name. This is now handled in make_target.
1151   - Fixed bug relating to role-less interpreted text in non-English
1152     contexts.
1153   - Reorganized interpreted text processing; moved code into the new
1154     roles.py module.  Contributed by Edward Loper.
1155   - Refactored ``Body.parse_directive`` into ``run_directive`` and
1156     ``parse_directive_block``.
1158 * docutils/parsers/rst/tableparser.py:
1160   - Reworked for ``StringList``, to support "include" directives in
1161     table cells.
1163 * docutils/parsers/rst/directives/__init__.py:
1165   - Renamed ``unchanged()`` directive option conversion function to
1166     ``unchanged_required``, and added a new ``unchanged``.
1167   - Catch unicode value too high error; fixes bug 781766.
1168   - Beefed up directive error reporting.
1170 * docutils/parsers/rst/directives/body.py:
1172   - Added basic "table" directive.
1174 * docutils/parsers/rst/directives/images.py:
1176   - Added "target" option to "image" directive.
1177   - Added name attribute to references containing the reference name only
1178     through whitespace_normalize_name (no case changes).
1180 * docutils/parsers/rst/directives/misc.py:
1182   - Isolated the import of the ``urllib2`` module; was causing
1183     problems on SourceForge (``libssl.so.2`` unavailable?).
1184   - Added the "role" directive for declaring custom interpreted text
1185     roles.
1187 * docutils/parsers/rst/directives/parts.py:
1189   - The "contents" directive does more work up-front, creating the
1190     "topic" and "title", and leaving the "pending" node for the
1191     transform.  Allows earlier reference resolution; fixes subtle bug.
1193 * docutils/parsers/rst/languages/af.py: Added to project; Afrikaans
1194   mappings by Jannie Hofmeyr.
1196 * docutils/parsers/rst/languages/cs.py: Added to project; Czech
1197   mappings by Marek Blaha.
1199 * docutils/parsers/rst/languages/eo.py: Added to project; Esperanto
1200   mappings by Marcelo Huerta San Martin.
1202 * docutils/parsers/rst/languages/pt_br.py: Added to project; Brazilian
1203   Portuguese mappings by Lalo Martins.
1205 * docutils/parsers/rst/languages/ru.py: Added to project; Russian
1206   mappings by Roman Suzi.
1208 * docutils/transforms/parts.py:
1210   - The "contents" directive does more work up-front, creating the
1211     "topic" and "title", and leaving the "pending" node for the
1212     transform.  Allows earlier reference resolution; fixes subtle bug.
1213   - Added support for disabling of section numbering.
1215 * docutils/transforms/references.py:
1217   - Verifying that external targets are truly targets and not indirect
1218     references. This is because we are now adding a "name" attribute to
1219     references in addition to targets. Note sure if this is correct!
1220   - Added code to hook into the unknown_reference_resolvers list for a
1221     transformer in resolve_indirect_target. This allows the
1222     unknown_reference_resolvers to keep around indirect targets which
1223     docutils doesn't know about.
1224   - Added specific error message for duplicate targets.
1226 * docutils/transforms/universal.py:
1228   - Added FilterMessages transform (removes system messages below the
1229     verbosity threshold).
1230   - Added hook (via docutils.TransformSpec.unknown_reference_resolvers)
1231     to FinalCheckVisitor for application-specific handling of
1232     unresolvable references.
1233   - Added specific error message for duplicate targets.
1235 * docutils/writers/__init__.py:
1237   - Added assemble_parts method to the Writer class to allow for
1238     access to a documents individual parts.
1239   - Documented & set default for ``Writer.output`` attribute.
1241 * docutils/writers/html4css1.py:
1243   - Fixed unicode handling of attribute values (bug 760673).
1244   - Prevent duplication of "class" attribute values (bug report from
1245     Kirill Lapshin).
1246   - Improved table grid/border handling (prompted by report from Bob
1247     Marshall).
1248   - Added support for table titles.
1249   - Added "<title />" for untitled docs, for XHTML conformance; thanks
1250     to Darek Suchojad.
1251   - Added functionality to keep track of individual parts of a document
1252     and store them in a dictionary as the "parts" attribute of the writer.
1253     Contributed by Reggie Dugard at the Docutils sprint at PyCon DC 2004.
1254   - Added proper support for the "scale" attribute of the "image"
1255     element.  Contributed by Brent Cook.
1256   - Added ``--initial-header-level`` option.
1257   - Fixed bug: the body_pre_docinfo segment depended on there being a
1258     docinfo; if no docinfo, the document title was incorporated into
1259     the body segment.  Adversely affected the publish_parts interface.
1261 * docutils/writers/latex2e.py:
1263   - Changed default stylesheet to "no stylesheet" to avoid latex complaining
1264     about a missing file.
1265   - Added options and support: ``--compound-enumerators``,
1266     ``--section-prefix-for-enumerators``, and
1267     ``--section-enumerator-separator``.  By John F Meinel Jr (SF patch
1268     934322).
1269   - Added option ``--use-verbatim-when-possible``, to avoid
1270     problematic characters (eg, '~' in italian) in literal blocks.
1271   - It's now possible to use four section levels in the `book` and
1272     `report` LaTeX classes.  The default `article` class still has
1273     three levels limit.
1275 * docs/config.txt: "Docutils Configuration Files", added to project.
1276   Moved config file entry descriptions from tools.txt.
1278 * docs/tools.txt:
1280   - Moved config file entry descriptions to config.txt.
1282 * spec/notes.txt: Continual updates.  Added "Setting Up For Docutils
1283   Development".
1285 * spec/howto/rst-roles.txt: "Creating reStructuredText Interpreted
1286   Text Roles", added to project.
1288 * spec/rst/reStructuredText.txt:
1290   - Added description of support for <angle-bracketed> complex option
1291     arguments to option lists.
1292   - Added subsections for indented and quoted literal blocks.
1294 * test: Continually adding & updating tests.
1296   - Added test/test_settings.py & test/data/config_*.txt support
1297     files.
1298   - Added test/test_writers/test_htmlfragment.py.
1300 * test/DocutilsTestSupport.py:
1302   - Refactored LaTeX publisher test suite/case class names to make
1303     testing other writers easier.
1304   - Added HtmlWriterPublishTestCase and HtmlFragmentTestSuite classes
1305     to test the processing of HTML fragments which use the new
1306     publish_parts convenience function.
1308 * tools/buildhtml.py:
1310   - Added support for the "--prune" option.
1311   - Removed dependency on pep2html.py; plaintext PEPs no longer
1312     supported.
1314 * tools/docutils.conf:
1316   - Updated for configuration file reorganization.
1318 * tools/rst2html.py:
1320   - copied from tools/html.py
1322 * setup.py:
1324   - added a 'scripts' section to configuration
1325   - added 'tools/rst2html.py' to the scripts section
1328 Release 0.3 (2003-06-24)
1329 ========================
1331 General:
1333 * Renamed "attribute" to "option" for directives/extensions.
1335 * Renamed transform method "transform" to "apply".
1337 * Renamed "options" to "settings" for runtime settings (as set by
1338   command-line options).  Sometimes "option" (singular) became
1339   "settings" (plural).  Some variations below:
1341   - document.options -> document.settings (stored in other objects as
1342     well)
1343   - option_spec -> settings_spec (not directives though)
1344   - OptionSpec -> SettingsSpec
1345   - cmdline_options -> settings_spec
1346   - relative_path_options -> relative_path_settings
1347   - option_default_overrides -> settings_default_overrides
1348   - Publisher.set_options -> Publisher.get_settings
1350 Specific:
1352 * COPYING.txt: Added "Public Domain Dedication".
1354 * FAQ.txt: Frequently asked questions, added to project.
1356 * setup.py:
1358   - Updated with PyPI Trove classifiers.
1359   - Conditional installation of third-party modules.
1361 * docutils/__init__.py:
1363   - Bumped version to 0.2.1 to reflect changes to I/O classes.
1364   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
1365   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
1366   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
1367     option and its effect on the PEP template & writer.
1368   - Bumped version to 0.2.4 due to changes to the PEP template &
1369     stylesheet.
1370   - Bumped version to 0.2.5 to reflect changes to Reporter output.
1371   - Added ``TransformSpec`` class for new transform system.
1372   - Bumped version to 0.2.6 for API changes (renaming).
1373   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
1374     convenience functions.
1375   - Added ``Component.component_type`` attribute.
1376   - Bumped version to 0.2.8 because of the internal parser switch from
1377     plain lists to the docutils.statemachine.StringList objects.
1378   - Bumped version to 0.2.9 because of the frontend.py API changes.
1379   - Bumped version to 0.2.10 due to changes to the project layout
1380     (third-party modules removed from the "docutils" package), and
1381     signature changes in ``io.Input``/``io.Output``.
1382   - Changed version to 0.3.0 for release.
1384 * docutils/core.py:
1386   - Made ``publish()`` a bit more convenient.
1387   - Generalized ``Publisher.set_io``.
1388   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
1389     parameters; improved its docstring.
1390   - Added ``publish_file()`` and ``publish_string()``.
1391   - Factored ``Publisher.set_source()`` and ``.set_destination()``
1392     out of ``.set_io``.
1393   - Added support for "--dump-pseudo-xml", "--dump-settings", and
1394     "--dump-transforms" hidden options.
1395   - Added ``Publisher.apply_transforms()`` method.
1396   - Added ``Publisher.set_components()`` method; support for
1397     ``publish_*()`` conveninece functions.
1398   - Moved config file processing to docutils/frontend.py.
1399   - Added support for exit status ("exit_level" setting &
1400     ``enable_exit`` parameter for Publisher.publish() and convenience
1401     functions).
1403 * docutils/frontend.py:
1405   - Check for & exit on identical source & destination paths.
1406   - Fixed bug with absolute paths & "--config".
1407   - Set non-command-line defaults in ``OptionParser.__init__()``:
1408     ``_source`` & ``_destination``.
1409   - Distributed ``relative_path_settings`` to components; updated
1410     ``OptionParser.populate_from_components()`` to combine it all.
1411   - Require list of keys in ``make_paths_absolute`` (was implicit in
1412     global ``relative_path_settings``).
1413   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
1414     "--dump-settings", and "--dump-transforms" hidden options.
1415   - Removed nasty internals-fiddling ``ConfigParser.get_section``
1416     code, replaced with correct code.
1417   - Added validation functionality for config files.
1418   - Added "--error-encoding" option/setting, "_disable_config"
1419     internal setting.
1420   - Added encoding validation; updated "--input-encoding" and
1421     "--output-encoding"; added "--error-encoding-error-handler" and
1422     "--output-encoding-error-handler".
1423   - Moved config file processing from docutils/core.py.
1424   - Updated ``OptionParser.populate_from_components`` to handle new
1425     ``SettingsSpec.settings_defaults`` dict.
1426   - Added support for "-" => stdin/stdout.
1427   - Added "exit_level" setting ("--exit" option).
1429 * docutils/io.py:
1431   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
1432   - Added automatic closing to ``FileInput`` and ``FileOutput``.
1433   - Delayed opening of ``FileOutput`` file until ``write()`` called.
1434   - ``FileOutput.write()`` now returns the encoded output string.
1435   - Try to get path/stream name automatically in ``FileInput`` &
1436     ``FileOutput``.
1437   - Added defaults for source & destination paths.
1438   - Allow for Unicode I/O with an explicit "unicode" encoding.
1439   - Added ``Output.encode()``.
1440   - Removed dependency on runtime settings; pass encoding directly.
1441   - Recognize Unicode strings in ``Input.decode()``.
1442   - Added support for output encoding error handlers.
1444 * docutils/nodes.py:
1446   - Added "Invisible" element category class.
1447   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
1448     modification during a traversal.
1449   - Added element classes: ``line_block``, ``generated``, ``address``,
1450     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
1451     ``superscript``, ``subscript``, ``inline``
1452   - Added support for lists of nodes to ``Element.insert()``.
1453   - Fixed parent linking in ``Element.replace()``.
1454   - Added new abstract superclass ``FixedTextElement``; adds
1455     "xml:space" attribute.
1456   - Added support for "line" attribute of ``system_message`` nodes.
1457   - Added support for the observer pattern from ``utils.Reporter``.
1458     Added ``parse_messages`` and ``transform_messages`` attributes to
1459     ``document``, removed ``messages``.  Added ``note_parse_message``
1460     and ``note_transform_message`` methods.
1461   - Added support for improved diagnostics:
1463     - Added "document", "source", and "line" internal attributes to
1464       ``Node``, set by ``Node.setup_child()``.
1465     - Converted variations on ``node.parent = self`` to
1466       ``self.setup_child(node)``.
1467     - Added ``document.current_source`` & ``.current_line``
1468       attributes, and ``.note_source`` observer method.
1469     - Changed "system_message" output to GNU-Tools format.
1471   - Added a "rawsource" attribute to the ``Text`` class, for text
1472     before backslash-escape resolution.
1473   - Support for new transform system.
1474   - Reworked ``pending`` element.
1475   - Fixed XML DOM bug (SF #660611).
1476   - Removed the ``interpeted`` element class and added
1477     ``title_reference``, ``abbreviation``, ``acronym``.
1478   - Made substitutions case-sensitive-but-forgiving; moved some code
1479     from the parser.
1480   - Fixed Unicode bug on element attributes (report: William Dode).
1482 * docutils/optik.py: Removed from project; replaced with
1483   extras/optparse.py and extras/textwrap.py.  These will be installed
1484   only if they're not already present in the Python installation.
1486 * docutils/roman.py: Moved to extras/roman.py; this will be installed
1487   only if it's not already present in the Python installation.
1489 * docutils/statemachine.py:
1491   - Factored out ``State.add_initial_transitions()`` so it can be
1492     extended.
1493   - Converted whitespace-specific "blank" and "indent" transitions
1494     from special-case code to ordinary transitions: removed
1495     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
1496     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
1497     ``ws_initial_transitions`` attributes.
1498   - Removed ``State.match_transition()`` after merging it into
1499     ``.check_line()``.
1500   - Added ``StateCorrection`` exception.
1501   - Added support for ``StateCorrection`` in ``StateMachine.run()``
1502     (moved ``TransitionCorrection`` support there too.)
1503   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
1504     ``EOFError`` instead of ``IndexError``.
1505   - Added ``State.no_match`` method.
1506   - Added support for the Observer pattern, triggered by input line
1507     changes.
1508   - Added ``strip_top`` parameter to
1509     ``StateMachineWS.get_first_known_indented``.
1510   - Made ``context`` a parameter to ``StateMachine.run()``.
1511   - Added ``ViewList`` & ``StringList`` classes;
1512     ``extract_indented()`` becomes ``StringList.get_indented()``.
1513   - Added ``StateMachine.insert_input()``.
1514   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
1515     thanks to) Fred Drake.
1517 * docutils/utils.py:
1519   - Added a ``source`` attribute to Reporter instances and
1520     ``system_message`` elements.
1521   - Added an observer pattern to ``utils.Reporter`` to keep track of
1522     system messages.
1523   - Fixed bugs in ``relative_path()``.
1524   - Added support for improved diagnostics.
1525   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
1526   - Added support for encoding Reporter stderr output, and encoding
1527     error handlers.
1528   - Reporter keeps track of the highest level system message yet
1529     generated.
1531 * docutils/languages: Fixed bibliographic field language lookups.
1533 * docutils/languages/es.py: Added to project; Spanish mappings by
1534   Marcelo Huerta San Martin.
1536 * docutils/languages/fr.py: Added to project; French mappings by
1537   Stefane Fermigier.
1539 * docutils/languages/it.py: Added to project; Italian mappings by
1540   Nicola Larosa.
1542 * docutils/languages/sk.py: Added to project; Slovak mappings by
1543   Miroslav Vasko.
1545 * docutils/parser/__init__.py:
1547   - Added ``Parser.finish_parse()`` method.
1549 * docutils/parser/rst/__init__.py:
1551   - Added options: "--pep-references", "--rfc-references",
1552     "--tab-width", "--trim-footnote-reference-space".
1554 * docutils/parsers/rst/states.py:
1556   - Changed "title under/overline too short" system messages from INFO
1557     to WARNING, and fixed its insertion location.
1558   - Fixed enumerated list item parsing to allow paragraphs & section
1559     titles to begin with enumerators.
1560   - Converted system messages to use the new "line" attribute.
1561   - Fixed a substitution reference edge case.
1562   - Added support for "--pep-references" and "--rfc-references"
1563     options; reworked ``Inliner`` code to make customization easier.
1564   - Removed field argument parsing.
1565   - Added support for short section title over/underlines.
1566   - Fixed "simple reference name" regexp to ignore text like
1567     "object.__method__"; not an anonymous reference.
1568   - Added support for improved diagnostics.
1569   - Reworked directive API, based on Dethe Elza's contribution.  Added
1570     ``Body.parse_directive()``, ``.parse_directive_options()``,
1571     ``.parse_directive_arguments()`` methods.
1572   - Added ``ExtensionOptions`` class, to parse directive options
1573     without parsing field bodies.  Factored
1574     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
1575     ``ExtensionOptions``.
1576   - Improved definition list term/classifier parsing.
1577   - Added warnings for unknown directives.
1578   - Renamed ``Stuff`` to ``Struct``.
1579   - Now flagged as errors: transitions at the beginning or end of
1580     sections, empty sections (except title), and empty documents.
1581   - Updated for ``statemachine.StringList``.
1582   - Enabled recognition of schemeless email addresses in targets.
1583   - Added support for embedded URIs in hyperlink references.
1584   - Added backslash-escapes to inline markup end-string suffix.
1585   - Added support for correct interpreted text processing.
1586   - Fixed nested title parsing (topic, sidebar directives).
1587   - Added special processing of backslash-escaped whitespace (idea
1588     from David Abrahams).
1589   - Made substitutions case-sensitive-but-forgiving; moved some code
1590     to ``docutils.nodes``.
1591   - Added support for block quote attributions.
1592   - Added a kludge to work-around a conflict between the bubble-up
1593     parser strategy and short titles (<= 3 char-long over- &
1594     underlines).  Fixes SF bug #738803 "infinite loop with multiple
1595     titles" submitted by Jason Diamond.
1596   - Added explicit interpreted text roles for standard inline markup:
1597     "emphasis", "strong", "literal".
1598   - Implemented "superscript" and "subscript" interpreted text roles.
1599   - Added initial support for "abbreviation" and "acronym" roles;
1600     incomplete.
1601   - Added support for "--trim-footnote-reference-space" option.
1602   - Optional space before colons in directives & hyperlink targets.
1604 * docutils/parsers/rst/tableparser.py:
1606   - Fixed a bug that was producing unwanted empty rows in "simple"
1607     tables.
1608   - Detect bad column spans in "simple" tables.
1610 * docutils/parsers/rst/directives: Updated all directive functions to
1611   new API.
1613 * docutils/parsers/rst/directives/__init__.py:
1615   - Added ``flag()``, ``unchanged()``, ``path()``,
1616     ``nonnegative_int()``, ``choice()``, and ``class_option()``
1617     directive option helper functions.
1618   - Added warnings for unknown directives.
1619   - Return ``None`` for missing directives.
1620   - Added ``register_directive()``, thanks to William Dode and Paul
1621     Moore.
1623 * docutils/parsers/rst/directives/admonitions.py:
1625   - Added "admonition" directive.
1627 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
1628   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
1629   "parsed-literal", "rubric", "epigraph", "highlights" and
1630   "pull-quote" directives.
1632 * docutils/parsers/rst/directives/images.py:
1634   - Added an "align" attribute to the "image" & "figure" directives
1635     (by Adam Chodorowski).
1636   - Added "class" option to "image", and "figclass" to "figure".
1638 * docutils/parsers/rst/directives/misc.py:
1640   - Added "include", "raw", and "replace" directives, courtesy of
1641     Dethe Elza.
1642   - Added "unicode" and "class" directives.
1644 * docutils/parsers/rst/directives/parts.py:
1646   - Added the "sectnum" directive; by Dmitry Jemerov.
1647   - Added "class" option to "contents" directive.
1649 * docutils/parsers/rst/directives/references.py: Added to project.
1650   Contains the "target-notes" directive.
1652 * docutils/parsers/rst/languages/__init__.py:
1654   - Return ``None`` from get_language() for missing language modules.
1656 * docutils/parsers/rst/languages/de.py: Added to project; German
1657   mappings by Engelbert Gruber.
1659 * docutils/parsers/rst/languages/en.py:
1661   - Added interpreted text roles mapping.
1663 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
1664   mappings by Marcelo Huerta San Martin.
1666 * docutils/parsers/rst/languages/fr.py: Added to project; French
1667   mappings by William Dode.
1669 * docutils/parsers/rst/languages/it.py: Added to project; Italian
1670   mappings by Nicola Larosa.
1672 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
1673   mappings by Miroslav Vasko.
1675 * docutils/readers/__init__.py:
1677   - Added support for the observer pattern from ``utils.Reporter``, in
1678     ``Reader.parse`` and ``Reader.transform``.
1679   - Removed ``Reader.transform()`` method.
1680   - Added default parameter values to ``Reader.__init__()`` to make
1681     instantiation easier.
1682   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
1684 * docutils/readers/pep.py:
1686   - Added the ``peps.TargetNotes`` transform to the Reader.
1687   - Removed PEP & RFC reference detection code; moved to
1688     parsers/rst/states.py as options (enabled here by default).
1689   - Added support for pre-acceptance PEPs (no PEP number yet).
1690   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
1691     easy subclassing.
1693 * docutils/readers/python: Python Source Reader subpackage added to
1694   project, including preliminary versions of:
1696   - __init__.py
1697   - moduleparser.py: Parser for Python modules.
1699 * docutils/transforms/__init__.py:
1701   - Added ``Transformer`` class and completed transform reform.
1702   - Added unknown_reference_resolvers list for each transformer. This list holds
1703     the list of functions provided by each component of the transformer that
1704     help resolve references.
1706 * docutils/transforms/frontmatter.py:
1708   - Improved support for generic fields.
1709   - Fixed bibliographic field language lookups.
1711 * docutils/transforms/misc.py: Added to project.  Miscellaneous
1712   transforms.
1714 * docutils/transforms/parts.py:
1716   - Moved the "id" attribute from TOC list items to the references
1717     (``Contents.build_contents()``).
1718   - Added the ``SectNum`` transform; by Dmitry Jemerov.
1719   - Added "class" attribute support to ``Contents``.
1721 * docutils/transforms/peps.py:
1723   - Added ``mask_email()`` function, updating to pep2html.py's
1724     functionality.
1725   - Linked "Content-Type: text/x-rst" to PEP 12.
1726   - Added the ``TargetNotes`` PEP-specific transform.
1727   - Added ``TargetNotes.cleanup_callback``.
1728   - Added title check to ``Headers``.
1730 * docutils/transforms/references.py:
1732   - Added the ``TargetNotes`` generic transform.
1733   - Split ``Hyperlinks`` into multiple transforms.
1734   - Fixed bug with multiply-indirect references (report: Bruce Smith).
1735   - Added check for circular indirect references.
1736   - Made substitutions case-sensitive-but-forgiving.
1738 * docutils/transforms/universal.py:
1740   - Added support for the "--expose-internal-attributes" option.
1741   - Removed ``Pending`` transform classes & data.
1743 * docutils/writers/__init__.py:
1745   - Removed ``Writer.transform()`` method.
1747 * docutils/writers/docutils-xml.py:
1749   - Added XML and doctype declarations.
1750   - Added "--no-doctype" and "--no-xml-declaration" options.
1752 * docutils/writers/html4css1.py:
1754   - "name" attributes only on these tags: a, applet, form, frame,
1755     iframe, img, map.
1756   - Added "name" attribute to <a> in section titles for Netscape 4
1757     support (bug report: Pearu Peterson).
1758   - Fixed targets (names) on footnote, citation, topic title,
1759     problematic, and system_message nodes (for Netscape 4).
1760   - Changed field names from "<td>" to "<th>".
1761   - Added "@" to "&#64;" encoding to thwart address harvesters.
1762   - Improved the vertical whitespace optimization; ignore "invisible"
1763     nodes (targets, comments, etc.).
1764   - Improved inline literals with ``<span class="pre">`` around chunks
1765     of text and ``&nbsp;`` for runs of spaces.
1766   - Improved modularity of output; added ``self.body_pre_docinfo`` and
1767     ``self.docinfo`` segments.
1768   - Added support for "line_block", "address" elements.
1769   - Improved backlinks (footnotes & system_messages).
1770   - Improved system_message output.
1771   - Redefined "--stylesheet" as containing an invariant URL, used
1772     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
1773     working directory.
1774   - Added "--footnote-references" option (superscript or brackets).
1775   - Added "--compact-lists" and "--no-compact-lists" options.
1776   - Added "--embed-stylesheet" and "--link-stylesheet" options;
1777     factored out ``HTMLTranslator.get_stylesheet_reference()``.
1778   - Improved field list rendering.
1779   - Added Docutils version to "generator" meta tag.
1780   - Fixed a bug with images; they must be inline, so wrapped in <p>.
1781   - Improved layout of <pre> HTML source.
1782   - Fixed attribute typo on <colspec>.
1783   - Refined XML prologue.
1784   - Support for no stylesheet.
1785   - Removed "interpreted" element support.
1786   - Added support for "title_reference", "sidebar", "attribution",
1787     "rubric", and generic "admonition" elements.
1788   - Added "--attribution" option.
1789   - Added support for "inline", "subscript", "superscript" elements.
1790   - Added initial support for "abbreviation" and "acronym";
1791     incomplete.
1793 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
1794   (from the sandbox).
1796   - Added french.
1797   - Double quotes in literal blocks (special treatment for de/ngerman).
1798   - Added '--hyperlink-color' option ('0' turns off coloring of links).
1799   - Added  "--attribution" option.
1800   - Right align attributions.
1802 * docutils/writers/pep_html.py:
1804   - Parameterized output encoding in PEP template.
1805   - Reworked substitutions from ``locals()`` into ``subs`` dict.
1806   - Redefined "--pep-stylesheet" as containing an invariant URL, used
1807     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
1808     working directory.
1809   - Added an override on the "--footnote-references" option.
1810   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
1811   - Added Docutils version to "generator" meta tag.
1812   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
1814 * docs/tools.txt:
1816   - Added a "silent" setting for ``buildhtml.py``.
1817   - Added a "Getting Help" section.
1818   - Rearranged the structure.
1819   - Kept up to date, with new settings, command-line options etc.
1820   - Added section for ``rst2latex.py`` (Engelbert Gruber).
1821   - Converted settings table into a definition list.
1823 * docs/rst/quickstart.txt:
1825   - Added a table of contents.
1826   - Added feedback information.
1827   - Added mention of minimum section title underline lengths.
1828   - Removed the 4-character minimum for section title underlines.
1830 * docs/rst/quickref.html:
1832   - Added a "Getting Help" section.
1833   - Added a style to make section title backlinks more subtle.
1834   - Added mention of minimum section title underline lengths.
1835   - Removed the 4-character minimum for section title underlines.
1837 * extras: Directory added to project; contains third-party modules
1838   that Docutils depends on (optparse, textwrap, roman).  These are
1839   only installed if they're not already present.
1841 * licenses: Directory added to project; contains copies of license
1842   files for non-public-domain files.
1844 * spec/doctree.txt:
1846   - Changed the focus.  It's about DTD elements:  structural
1847     relationships, semantics, and external (public) attributes.  Not
1848     about the element class library.
1849   - Moved some implementation-specific stuff into ``docutils.nodes``
1850     docstrings.
1851   - Wrote descriptions of all common attributes and parameter
1852     entities.  Filled in introductory material.
1853   - Working through the element descriptions: 55 down, 37 to go.
1854   - Removed "Representation of Horizontal Rules" to
1855     spec/rst/alternatives.txt.
1857 * spec/docutils.dtd:
1859   - Added "generated" inline element.
1860   - Added "line_block" body element.
1861   - Added "auto" attribute to "title".
1862   - Changed content models of "literal_block" and "doctest_block" to
1863     ``%text.model``.
1864   - Added ``%number;`` attribute type parameter entity.
1865   - Changed ``%structural.elements;`` to ``%section.elements``.
1866   - Updated attribute types; made more specific.
1867   - Added "address" bibliographic element.
1868   - Added "line" attribute to ``system_message`` element.
1869   - Removed "field_argument" element; "field_name" may contain
1870     multiple words and whitespace.
1871   - Changed public identifier to docutils.sf.net.
1872   - Removed "interpreted" element; added "title_reference",
1873     "abbreviation", "acronym".
1874   - Removed "refuri" attribute from "footnote_reference" and
1875     "citation_reference".
1876   - Added "sidebar", "rubric", "attribution", "admonition",
1877     "superscript", "subscript", and "inline" elements.
1879 * spec/pep-0256.txt: Converted to reStructuredText & updated.
1881 * spec/pep-0257.txt: Converted to reStructuredText & updated.
1883 * spec/pep-0258.txt: Converted to reStructuredText & updated.
1885 * spec/semantics.txt: Updated with text from a Doc-SIG response to
1886   Dallas Mahrt.
1888 * spec/transforms.txt: Added to project.
1890 * spec/howto: Added subdirectory, for developer how-to docs.
1892 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
1893   Elza, edited & extended by David Goodger.
1895 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
1896   project.
1898 * spec/rst/alternatives.txt:
1900   - Added "Doctree Representation of Transitions" from
1901     spec/doctree.txt.
1902   - Updated "Inline External Targets" & closed the debate.
1903   - Added ideas for interpreted text syntax extensions.
1904   - Added "Nested Inline Markup" section.
1906 * spec/rst/directives.txt:
1908   - Added directives: "topic", "sectnum", "target-notes",
1909     "line-block", "parsed-literal", "include", "replace", "sidebar",
1910     "admonition", "rubric", "epigraph", "highlights", "unicode" and
1911     "class".
1912   - Formalized descriptions of directive details.
1913   - Added an "align" attribute to the "image" & "figure" directives
1914     (by Adam Chodorowski).
1915   - Added "class" options to "topic", "sidebar", "line-block",
1916     "parsed-literal", "contents", and "image"; and "figclass" to
1917     "figure".
1919 * spec/rst/interpreted.txt: Added to project.  Descriptions of
1920   interpreted text roles.
1922 * spec/rst/introduction.txt:
1924   - Added pointers to material for new users.
1926 * spec/rst/reStructuredText.txt:
1928   - Disambiguated comments (just add a newline after the "::").
1929   - Updated enumerated list description; added a discussion of the
1930     second-line validity checking.
1931   - Updated directive description.
1932   - Added a note redirecting newbies to the user docs.
1933   - Expanded description of inline markup start-strings in non-markup
1934     contexts.
1935   - Removed field arguments and made field lists a generic construct.
1936   - Removed the 4-character minimum for section title underlines.
1937   - Clarified term/classifier delimiter & inline markup ambiguity
1938     (definition lists).
1939   - Added "Embedded URIs".
1940   - Updated "Interpreted Text" section.
1941   - Added "Character-Level Inline Markup" section.
1943 * test: Continually adding & updating tests.
1945   - Moved test/test_rst/ to test/test_parsers/test_rst/.
1946   - Moved test/test_pep/ to test/test_readers/test_pep/.
1947   - Added test/test_readers/test_python/.
1948   - Added test/test_writers/ (Engelbert Gruber).
1950 * tools:
1952   - Made the ``locale.setlocale()`` calls in front ends
1953     fault-tolerant.
1955 * tools/buildhtml.py:
1957   - Added "--silent" option.
1958   - Fixed bug with absolute paths & "--config".
1959   - Updated for new I/O classes.
1960   - Added some exception handling.
1961   - Separated publishers' setting defaults; prevents interference.
1962   - Updated for new ``publish_file()`` convenience function.
1964 * tools/pep-html-template:
1966   - Allow for "--embed-stylesheet".
1967   - Added Docutils version to "generator" meta tag.
1968   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
1969   - Conform to XHTML spec.
1971 * tools/pep2html.py:
1973   - Made ``argv`` a parameter to ``main()``.
1974   - Added support for "Content-Type:" header & arbitrary PEP formats.
1975   - Linked "Content-Type: text/plain" to PEP 9.
1976   - Files skipped (due to an error) are not pushed onto the server.
1977   - Updated for new I/O classes.
1978   - Added ``check_requirements()`` & ``pep_type_error()``.
1979   - Added some exception handling.
1980   - Updated for new ``publish_string()`` convenience function.
1981   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
1983 * tools/quicktest.py:
1985   - Added "-V"/"--version" option.
1987 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
1989 * tools/unicode2rstsubs.py: Added to project.  Produces character
1990   entity files (reSructuredText substitutions) from the MathML master
1991   unicode.xml file.
1993 * tools/editors: Support code for editors, added to project.  Contains
1994   ``emacs/restructuredtext.el``.
1996 * tools/stylesheets/default.css: Moved into the stylesheets directory.
1998   - Added style for chunks of inline literals.
1999   - Removed margin for first child of table cells.
2000   - Right-aligned field list names.
2001   - Support for auto-numbered section titles in TOCs.
2002   - Increased the size of inline literals (<tt>) in titles.
2003   - Restored the light gray background for inline literals.
2004   - Added support for "line_block" elements.
2005   - Added style for "address" elements.
2006   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
2007   - Improved field list rendering.
2008   - Vertical whitespace improvements.
2009   - Removed "a.target" style.
2011 * tools/stylesheets/pep.css:
2013   - Fixed nested section margins.
2014   - Other changes parallel those of ``../default.css``.
2017 Release 0.2 (2002-07-31)
2018 ========================
2020 General:
2022 - The word "component" was being used ambiguously.  From now on,
2023   "component" will be used to mean "Docutils component", as in Reader,
2024   Writer, Parser, or Transform.  Portions of documents (Table of
2025   Contents, sections, etc.)  will be called "document parts".
2026 - Did a grand renaming: a lot of ``verylongnames`` became
2027   ``very_long_names``.
2028 - Cleaned up imports: no more relative package imports or
2029   comma-separated lists of top-level modules.
2030 - Added support for an option values object which carries default
2031   settings and overrides (from command-line options and library use).
2032 - Added internal Unicode support, and support for both input and
2033   output encodings.
2034 - Added support for the ``docutils.io.IO`` class & subclasses.
2036 Specific:
2038 * docutils/__init__.py:
2040   - Added ``ApplicationError`` and ``DataError``, for use throughout
2041     the package.
2042   - Added ``Component`` base class for Docutils components; implements
2043     the ``supports`` method.
2044   - Added ``__version__`` (thus, ``docutils.__version__``).
2046 * docutils/core.py:
2048   - Removed many keyword parameters to ``Publisher.__init__()`` and
2049     ``publish()``; bundled into an option values object.  Added
2050     "argv", "usage", "description", and "option_spec" parameters for
2051     command-line support.
2052   - Added ``Publisher.process_command_line()`` and ``.set_options()``
2053     methods.
2054   - Reworked I/O model for ``docutils.io`` wrappers.
2055   - Updated ``Publisher.set_options()``; now returns option values
2056     object.
2057   - Added support for configuration files (/etc/docutils.conf,
2058     ./docutils.conf, ~/.docutils).
2059   - Added ``Publisher.setup_option_parser()``.
2060   - Added default usage message and description.
2062 * docutils/frontend.py: Added to project; support for front-end
2063   (command-line) scripts.  Option specifications may be augmented by
2064   components.  Requires Optik (http://optik.sf.net/) for option
2065   processing (installed locally as docutils/optik.py).
2067 * docutils/io.py: Added to project; uniform API for a variety of input
2068   output mechanisms.
2070 * docutils/nodes.py:
2072   - Added ``TreeCopyVisitor`` class.
2073   - Added a ``copy`` method to ``Node`` and subclasses.
2074   - Added a ``SkipDeparture`` exception for visitors.
2075   - Renamed ``TreePruningException`` from ``VisitorException``.
2076   - Added docstrings to ``TreePruningException``, subclasses, and
2077     ``Nodes.walk()``.
2078   - Improved docstrings.
2079   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
2080   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
2081     imports.
2082   - Added ``decoration``, ``header``, and ``footer`` node classes, and
2083     ``PreDecorative`` mixin.
2084   - Reworked the name/id bookkeeping; to ``document``, removed
2085     ``explicit_targets`` and ``implicit_targets`` attributes, added
2086     ``nametypes`` attribute and ``set_name_id_map`` method.
2087   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
2088     traversals.
2089   - Added ``document.has_name()`` method.
2090   - Fixed DOM generation for list-attributes.
2091   - Added category class ``Labeled`` (used by footnotes & citations).
2092   - Added ``Element.set_class()`` method (sets "class" attribute).
2094 * docutils/optik.py: Added to project.  Combined from the Optik
2095   package, with added option groups and other modifications.  The use
2096   of this module is probably only temporary.
2098 * docutils/statemachine.py:
2100   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
2101   - Added underscores to improve many awkward names.
2102   - In ``string2lines()``, changed whitespace normalizing translation
2103     table to regexp; restores Python 2.0 compatibility with Unicode.
2105 * docutils/urischemes.py:
2107   - Filled in some descriptions.
2108   - Added "shttp" scheme.
2110 * docutils/utils.py:
2112   - Added ``clean_rcs_keywords`` function (moved from
2113     docutils/transforms/frontmatter.py
2114     ``DocInfo.filter_rcs_keywords``).
2115   - Added underscores to improve many awkward names.
2116   - Changed names of Reporter's thresholds:
2117     warning_level -> report_level; error_level -> halt_level.
2118   - Moved ``utils.id()`` to ``nodes.make_id()``.
2119   - Added ``relative_path(source, target)``.
2121 * docutils/languages/de.py: German mappings; added to project.  Thanks
2122   to Gunnar Schwant for the translations.
2124 * docutils/languages/en.py: Added "Dedication" bibliographic field
2125   mappings.
2127 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
2128   Chodorowski.
2130 * docutils/parsers/rst/states.py:
2132   - Added underscores to improve many awkward names.
2133   - Added RFC-2822 header support.
2134   - Extracted the inline parsing code from ``RSTState`` to a separate
2135     class, ``Inliner``, which will allow easy subclassing.
2136   - Made local bindings for ``memo`` container & often-used contents
2137     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
2138   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
2139   - Added ``MarkupMismatch`` exception; for late corrections.
2140   - Added ``-/:`` characters to inline markup's start string prefix,
2141     ``/`` to end string suffix.
2142   - Fixed a footnote bug.
2143   - Fixed a bug with literal blocks.
2144   - Applied patch from Simon Budig: simplified regexps with symbolic
2145     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
2146   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
2147   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
2148   - Allowed non-ASCII in "simple names" (directive names, field names,
2149     references, etc.).
2150   - Converted ``Inliner.patterns.initial`` to be dynamically built
2151     from parts with ``build_regexp()`` function.
2152   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
2153   - Updated docstrings.
2154   - Changed "table" to "grid_table"; added "simple_table" support.
2156 * docutils/parsers/rst/tableparser.py:
2158   - Changed ``TableParser`` to ``GridTableParser``.
2159   - Added ``SimpleTableParser``.
2160   - Refactored naming.
2162 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
2163   a fallback language for directive names.
2165 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
2166   directive to use a ``pending`` element, used only by HTML writers.
2168 * docutils/parsers/rst/directives/parts.py: Renamed from
2169   components.py.
2171   - Added "backlinks" attribute to "contents" directive.
2173 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
2174   project by Adam Chodorowski.
2176 * docutils/readers/__init__.py: Gave Readers more control over
2177   choosing and instantiating Parsers.
2179 * docutils/readers/pep.py: Added to project; for PEP processing.
2181 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
2182   requires a ``component`` parameter.
2184 * docutils/transforms/components.py: Added to project; transforms
2185   related to Docutils components.
2187 * docutils/transforms/frontmatter.py:
2189   - In ``DocInfo.extract_authors``, check for a single "author" in an
2190     "authors" group, and convert it to a single "author" element.
2191   - Added support for "Dedication" and generic bibliographic fields.
2193 * docutils/transforms/peps.py: Added to project; PEP-specific.
2195 * docutils/transforms/parts.py: Renamed from old components.py.
2197   - Added filter for `Contents`, to use alt-text for inline images,
2198     and to remove inline markup that doesn't make sense in the ToC.
2199   - Added "name" attribute to TOC topic depending on its title.
2200   - Added support for optional TOC backlinks.
2202 * docutils/transforms/references.py: Fixed indirect target resolution
2203   in ``Hyperlinks`` transform.
2205 * docutils/transforms/universal.py:
2207   - Changed ``Messages`` transform to properly filter out system
2208     messages below the warning threshold.
2209   - Added ``Decorations`` transform (support for ``--generator``,
2210     ``--date``, ``--time``, ``--source-link`` options).
2212 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
2213   Engelbert Gruber's PDF writer.
2215 * docutils/writers/html4css1.py:
2217   - Made XHTML-compatible (switched to lowercase element & attribute
2218     names; empty tag format).
2219   - Escape double-dashes in comment text.
2220   - Improved boilerplate & modularity of output.
2221   - Exposed modular output in Writer class.
2222   - Added a "generator" meta tag to <head>.
2223   - Added support for the ``--stylesheet`` option.
2224   - Added support for ``decoration``, ``header``, and ``footer``
2225     elements.
2226   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
2227     translation table to regexp; restores Python 2.0 compatibility
2228     with Unicode.
2229   - Added the translator class as instance variable to the Writer, to
2230     make it easily subclassable.
2231   - Improved option list spacing (thanks to Richard Jones).
2232   - Modified field list output.
2233   - Added backlinks to footnotes & citations.
2234   - Added percentage widths to "<col>" tags (from colspec).
2235   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
2236     "<span>" changed to "<var>".
2237   - Inline literals: "<code>" changed to "<tt>".
2238   - Many changes to optimize vertical space: compact simple lists etc.
2239   - Add a command-line options & directive attributes to control TOC
2240     and footnote/citation backlinks.
2241   - Added support for optional footnote/citation backlinks.
2242   - Added support for generic bibliographic fields.
2243   - Identify backrefs.
2244   - Relative URLs for stylesheet links.
2246 * docutils/writers/pep_html.py: Added to project; HTML Writer for
2247   PEPs (subclass of ``html4css1.Writer``).
2249 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
2251 * docutils/writers/docutils_xml.py: Added to project; trivial writer
2252   of the Docutils internal doctree in XML.
2254 * docs/tools.txt: "Docutils Front-End Tools", added to project.
2256 * spec/doctree.txt:
2258   - Changed the title to "The Docutils Document Tree".
2259   - Added "Hyperlink Bookkeeping" section.
2261 * spec/docutils.dtd:
2263   - Added ``decoration``, ``header``, and ``footer`` elements.
2264   - Brought ``interpreted`` element in line with the parser: changed
2265     attribute "type" to "role", added "position".
2266   - Added support for generic bibliographic fields.
2268 * spec/notes.txt: Continual updates.  Added "Project Policies".
2270 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
2271   section.
2273 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
2275 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
2276   mailing list discussions.
2278 * spec/pep-0287.txt:
2280   - Renamed to "reStructuredText Docstring Format".
2281   - Minor edits.
2282   - Reworked Q&A as an enumerated list.
2283   - Converted to reStructuredText format.
2285 * spec/pysource.dtd:
2287   - Reworked structural elements, incorporating ideas from Tony Ibbs.
2289 * spec/pysource.txt: Removed from project.  Moved much of its contents
2290   to pep-0258.txt.
2292 * spec/rst/alternatives.txt:
2294   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
2295   - Added "Inline External Targets" section.
2297 * spec/rst/directives.txt:
2299   - Added "backlinks" attribute to "contents" directive.
2301 * spec/rst/problems.txt:
2303   - Updated the Enumerated List Markup discussion.
2304   - Added new alternative table markup syntaxes.
2306 * spec/rst/reStructuredText.txt:
2308   - Clarified field list usage.
2309   - Updated enumerated list description.
2310   - Clarified purpose of directives.
2311   - Added ``-/:`` characters to inline markup's start string prefix,
2312     ``/`` to end string suffix.
2313   - Updated "Authors" bibliographic field behavior.
2314   - Changed "inline hyperlink targets" to "inline internal targets".
2315   - Added "simple table" syntax to supplement the existing but
2316     newly-renamed "grid tables".
2317   - Added cautions for anonymous hyperlink use.
2318   - Added "Dedication" and generic bibliographic fields.
2320 * test: Made test modules standalone (subdirectories became packages).
2322 * test/DocutilsTestSupport.py:
2324   - Added support for PEP extensions to reStructuredText.
2325   - Added support for simple tables.
2326   - Refactored naming.
2328 * test/package_unittest.py: Renamed from UnitTestFolder.py.
2330   - Now supports true packages containing test modules
2331     (``__init__.py`` files required); fixes duplicate module name bug.
2333 * test/test_pep/: Subpackage added to project; PEP testing.
2335 * test/test_rst/test_SimpleTableParser.py: Added to project.
2337 * tools:
2339   - Updated html.py and publish.py front-end tools to use the new
2340     command-line processing facilities of ``docutils.frontend``
2341     (exposed in ``docutils.core.Publisher``), reducing each to just a
2342     few lines of code.
2343   - Added ``locale.setlocale()`` calls to front-end tools.
2345 * tools/buildhtml.py: Added to project; batch-generates .html from all
2346   the .txt files in directories and subdirectories.
2348 * tools/default.css:
2350   - Added support for ``header`` and ``footer`` elements.
2351   - Added styles for "Dedication" topics (biblio fields).
2353 * tools/docutils.conf: A configuration file; added to project.
2355 * tools/docutils-xml.py: Added to project.
2357 * tools/pep.py: Added to project; PEP to HTML front-end tool.
2359 * tools/pep-html-template: Added to project.
2361 * tools/pep2html.py: Added to project from Python (nondist/peps).
2362   Added support for Docutils (reStructuredText PEPs).
2364 * tools/quicktest.py:
2366   - Added the ``--attributes`` option, hacked a bit.
2367   - Added a second command-line argument (output file); cleaned up.
2369 * tools/stylesheets/: Subdirectory added to project.
2371 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
2374 Release 0.1 (2002-04-20)
2375 ========================
2377 This is the first release of Docutils, merged from the now inactive
2378 reStructuredText__ and `Docstring Processing System`__ projects.  For
2379 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
2380 `DPS HISTORY`__ files.
2382 __ http://structuredtext.sourceforge.net/
2383 __ http://docstring.sourceforge.net/
2384 __ http://structuredtext.sourceforge.net/HISTORY.html
2385 __ http://docstring.sourceforge.net/HISTORY.html
2387 General changes: renamed 'dps' package to 'docutils'; renamed
2388 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
2389 the test suites (reStructuredText's test/test_states renamed to
2390 test/test_rst); and all modifications required to make it all work.
2392 * docutils/parsers/rst/states.py:
2394   - Improved diagnostic system messages for missing blank lines.
2395   - Fixed substitution_reference bug.
2399    Local Variables:
2400    mode: indented-text
2401    indent-tabs-mode: nil
2402    sentence-end-double-space: t
2403    fill-column: 70
2404    End: