Add attribution and align to the right.
[docutils.git] / HISTORY.txt
blobe24a0ff7e22e51b21773f07d4b12c2cd40959c29
1 ==================
2  Docutils History
3 ==================
5 :Author: David Goodger
6 :Contact: goodger@users.sourceforge.net
7 :Date: $Date$
8 :Web site: http://docutils.sourceforge.net/
10 .. contents::
12 Acknowledgements
13 ================
15 I would like to acknowledge the people who have made a direct impact
16 on the Docutils project, knowingly or not, in terms of encouragement,
17 suggestions, criticism, bug reports, code contributions, tasty treats,
18 and related projects:
20     Aahz, David Abrahams, David Ascher, Eric Bellot, Ian Bicking,
21     Martin Blais, Fred Bremmer, Simon Budig, Bill Bumgarner, Brett
22     Cannon, Adam Chodorowski, Jason Diamond, William Dode, Fred Drake,
23     Dethe Elza, Marcus Ertl, Benja Fallenstein, fantasai, Stefane
24     Fermigier, Jim Fulton, Peter Funk, Jorge Gonzalez, Engelbert
25     Gruber, Simon Hefti, Doug Hellmann, Juergen Hermann, Michael
26     Hudson, Marcelo Huerta San Martin, Jeremy Hylton, Tony Ibbs, Alan
27     Jaffray, Dmitry Jemerov, Richard Jones, Andreas Jung, Garth Kidd,
28     Nicola Larosa, Daniel Larsson, Marc-Andre Lemburg, Julien
29     Letessier, Wolfgang Lipp, Edward Loper, Dallas Mahrt, Ken
30     Manheimer, Vasko Miroslav, Skip Montanaro, Paul Moore, Nigel
31     W. Moriarty, Mark Nodine, Patrick K. O'Brien, Michel Pelletier,
32     Sam Penrose, Tim Peters, Pearu Peterson, Mark Pilgrim, Brett g
33     Porter, David Priest, Andy Robinson, Tavis Rudd, Oliver
34     Rutherfurd, Kenichi Sato, Ueli Schlaepfer, Gunnar Schwant, Bruce
35     Smith, tav, Bob Tolbert, Paul Tremblay, Laurence Tratt, Guido van
36     Rossum, Martin von Loewis, Greg Ward, Barry Warsaw, Edward
37     Welbourne, Ka-Ping Yee, Moshe Zadka
39 Thank you!
41 (I'm still waiting for contributions of computer equipment and cold
42 hard cash :-).)  Hopefully I haven't forgotten anyone or misspelled
43 any names; apologies (and please let me know!) if I have.
46 Changes Since 0.2
47 ========================
49 General:
51 * Renamed "attribute" to "option" for directives/extensions.
53 * Renamed transform method "transform" to "apply".
55 * Renamed "options" to "settings" for runtime settings (as set by
56   command-line options).  Sometimes "option" (singular) became
57   "settings" (plural).  Some variations below:
59   - document.options -> document.settings (stored in other objects as
60     well)
61   - option_spec -> settings_spec (not directives though)
62   - OptionSpec -> SettingsSpec
63   - cmdline_options -> settings_spec
64   - relative_path_options -> relative_path_settings
65   - option_default_overrides -> settings_default_overrides
66   - Publisher.set_options -> Publisher.get_settings
68 Specific:
70 * FAQ.txt: Frequently asked questions, added to project.
72 * docutils/__init__.py:
74   - Bumped version to 0.2.1 to reflect changes to I/O classes.
75   - Bumped version to 0.2.2 to reflect changes to stylesheet options.
76   - Factored ``SettingsSpec`` out of ``Component``; separately useful.
77   - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
78     option and its effect on the PEP template & writer.
79   - Bumped version to 0.2.4 due to changes to the PEP template &
80     stylesheet.
81   - Bumped version to 0.2.5 to reflect changes to Reporter output.
82   - Added ``TransformSpec`` class for new transform system.
83   - Bumped version to 0.2.6 for API changes (renaming).
84   - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
85     convenience functions.
86   - Added ``Component.component_type`` attribute.
87   - Bumped version to 0.2.8 because of the internal parser switch from
88     plain lists to the docutils.statemachine.StringList objects.
90 * docutils/core.py:
92   - Made ``publish()`` a bit more convenient.
93   - Generalized ``Publisher.set_io``.
94   - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
95     parameters; improved its docstring.
96   - Added ``publish_file()`` and ``publish_string()``.
97   - Factored ``Publisher.set_source()`` and ``.set_destination()``
98     out of ``.set_io``.
99   - Added support for "--dump-pseudo-xml", "--dump-settings", and
100     "--dump-transforms" hidden options.
101   - Added ``Publisher.apply_transforms()`` method.
102   - Added ``Publisher.set_components()`` method; support for
103     ``publish_*()`` conveninece functions.
105 * docutils/frontend.py:
107   - Check for & exit on identical source & destination paths.
108   - Fixed bug with absolute paths & "--config".
109   - Set non-command-line defaults in ``OptionParser.__init__()``:
110     ``_source`` & ``_destination``.
111   - Distributed ``relative_path_settings`` to components; updated
112     ``OptionParser.populate_from_components()`` to combine it all.
113   - Require list of keys in ``make_paths_absolute`` (was implicit in
114     global ``relative_path_settings``).
115   - Added "--expose-internal-attribute", "--dump-pseudo-xml",
116     "--dump-settings", and "--dump-transforms" hidden options.
117   - Removed nasty internals-fiddling ``ConfigParser.get_section``
118     code, replaced with correct code.
120 * docutils/io.py:
122   - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
123   - Added automatic closing to ``FileInput`` and ``FileOutput``.
124   - Delayed opening of ``FileOutput`` file until ``write()`` called.
125   - ``FileOutput.write()`` now returns the encoded output string.
126   - Try to get path/stream name automatically in ``FileInput`` &
127     ``FileOutput``.
128   - Added defaults for source & destination paths.
129   - Allow for Unicode I/O with an explicit "unicode" encoding.
130   - Added ``Output.encode()``.
131   - Deprecated reliance on runtime settings; pass encoding directly.
132   - Recognize Unicode strings in ``Input.decode()``.
134 * docutils/nodes.py:
136   - Added "Invisible" element category class.
137   - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
138     modification during a traversal.
139   - Added element classes: ``line_block``, ``generated``, ``address``,
140     ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
141     ``superscript``, ``subscript``, ``inline``
142   - Added support for lists of nodes to ``Element.insert()``.
143   - Fixed parent linking in ``Element.replace()``.
144   - Added new abstract superclass ``FixedTextElement``; adds
145     "xml:space" attribute.
146   - Added support for "line" attribute of ``system_message`` nodes.
147   - Added support for the observer pattern from ``utils.Reporter``.
148     Added ``parse_messages`` and ``transform_messages`` attributes to
149     ``document``, removed ``messages``.  Added ``note_parse_message``
150     and ``note_transform_message`` methods.
151   - Added support for improved diagnostics:
153     - Added "document", "source", and "line" internal attributes to
154       ``Node``, set by ``Node.setup_child()``.
155     - Converted variations on ``node.parent = self`` to
156       ``self.setup_child(node)``.
157     - Added ``document.current_source`` & ``.current_line``
158       attributes, and ``.note_source`` observer method.
159     - Changed "system_message" output to GNU-Tools format.
161   - Added a "rawsource" attribute to the ``Text`` class, for text
162     before backslash-escape resolution.
163   - Support for new transform system.
164   - Reworked ``pending`` element.
165   - Fixed XML DOM bug (SF #660611).
166   - Removed the ``interpeted`` element class and added
167     ``title_reference``, ``abbreviation``, ``acronym``.
168   - Made substitutions case-sensitive-but-forgiving; moved some code
169     from the parser.
170   - Fixed Unicode bug on element attributes (report: William Dode).
172 * docutils/statemachine.py:
174   - Factored out ``State.add_initial_transitions()`` so it can be
175     extended.
176   - Converted whitespace-specific "blank" and "indent" transitions
177     from special-case code to ordinary transitions: removed
178     ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
179     ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
180     ``ws_initial_transitions`` attributes.
181   - Removed ``State.match_transition()`` after merging it into
182     ``.check_line()``.
183   - Added ``StateCorrection`` exception.
184   - Added support for ``StateCorrection`` in ``StateMachine.run()``
185     (moved ``TransitionCorrection`` support there too.)
186   - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
187     ``EOFError`` instead of ``IndexError``.
188   - Added ``State.no_match`` method.
189   - Added support for the Observer pattern, triggered by input line
190     changes.
191   - Added ``strip_top`` parameter to
192     ``StateMachineWS.get_first_known_indented``.
193   - Made ``context`` a parameter to ``StateMachine.run()``.
194   - Added ``ViewList`` & ``StringList`` classes;
195     ``extract_indented()`` becomes ``StringList.get_indented()``.
196   - Added ``StateMachine.insert_input()``.
197   - Fixed ViewList slice handling for Python 2.3.  Patch from (and
198     thanks to) Fred Drake.
200 * docutils/utils.py:
202   - Added a ``source`` attribute to Reporter instances and
203     ``system_message`` elements.
204   - Added an observer pattern to ``utils.Reporter`` to keep track of
205     system messages.
206   - Fixed bugs in ``relative_path()``.
207   - Added support for improved diagnostics.
208   - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
210 * docutils/languages: Fixed bibliographic field language lookups.
212 * docutils/languages/es.py: Added to project; Spanish mappings by
213   Marcelo Huerta San Martin.
215 * docutils/languages/fr.py: Added to project; French mappings by
216   Stefane Fermigier.
218 * docutils/languages/it.py: Added to project; Italian mappings by
219   Nicola Larosa.
221 * docutils/languages/sk.py: Added to project; Slovak mappings by
222   Miroslav Vasko.
224 * docutils/parser/__init__.py:
226   - Added ``Parser.finish_parse()`` method.
228 * docutils/parser/rst/__init__.py:
230   - Added options: "--pep-references", "--rfc-references",
231     "--tab-width".
233 * docutils/parsers/rst/states.py:
235   - Changed "title under/overline too short" system messages from INFO
236     to WARNING, and fixed its insertion location.
237   - Fixed enumerated list item parsing to allow paragraphs & section
238     titles to begin with enumerators.
239   - Converted system messages to use the new "line" attribute.
240   - Fixed a substitution reference edge case.
241   - Added support for "--pep-references" and "--rfc-references"
242     options; reworked ``Inliner`` code to make customization easier.
243   - Removed field argument parsing.
244   - Added support for short section title over/underlines.
245   - Fixed "simple reference name" regexp to ignore text like
246     "object.__method__"; not an anonymous reference.
247   - Added support for improved diagnostics.
248   - Reworked directive API, based on Dethe Elza's contribution.  Added
249     ``Body.parse_directive()``, ``.parse_directive_options()``,
250     ``.parse_directive_arguments()`` methods.
251   - Added ``ExtensionOptions`` class, to parse directive options
252     without parsing field bodies.  Factored
253     ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
254     ``ExtensionOptions``.
255   - Improved definition list term/classifier parsing.
256   - Added warnings for unknown directives.
257   - Renamed ``Stuff`` to ``Struct``.
258   - Now flagged as errors: transitions at the beginning or end of
259     sections, empty sections (except title), and empty documents.
260   - Updated for ``statemachine.StringList``.
261   - Enabled recognition of schemeless email addresses in targets.
262   - Added support for embedded URIs in hyperlink references.
263   - Added backslash-escapes to inline markup end-string suffix.
264   - Added support for correct interpreted text processing.
265   - Fixed nested title parsing (topic, sidebar directives).
266   - Added special processing of backslash-escaped whitespace (idea
267     from David Abrahams).
268   - Made substitutions case-sensitive-but-forgiving; moved some code
269     to ``docutils.nodes``.
270   - Added support for block quote attributions.
271   - Added a kludge to work-around a conflict between the bubble-up
272     parser strategy and short titles (<= 3 char-long over- &
273     underlines).  Fixes SF bug #738803 "infinite loop with multiple
274     titles" submitted by Jason Diamond.
276 * docutils/parsers/rst/tableparser.py:
278   - Fixed a bug that was producing unwanted empty rows in "simple"
279     tables.
280   - Detect bad column spans in "simple" tables.
282 * docutils/parsers/rst/directives: Updated all directive functions to
283   new API.
285 * docutils/parsers/rst/directives/__init__.py:
287   - Added ``flag()``, ``unchanged()``, ``path()``,
288     ``nonnegative_int()``, ``choice()``, and ``class_option()``
289     directive option helper functions.
290   - Added warnings for unknown directives.
291   - Return ``None`` for missing directives.
292   - Added ``register_directive()``, thanks to William Dode and Paul
293     Moore.
295 * docutils/parsers/rst/directives/admonitions.py:
297   - Added "admonition" directive.
299 * docutils/parsers/rst/directives/body.py: Added to project.  Contains
300   the "topic", "sidebar" (from Patrick O'Brien), "line-block",
301   "parsed-literal", "rubric", "epigraph", and "highlights" directives.
303 * docutils/parsers/rst/directives/images.py:
305   - Added an "align" attribute to the "image" & "figure" directives
306     (by Adam Chodorowski).
307   - Added "class" option to "image", and "figclass" to "figure".
309 * docutils/parsers/rst/directives/misc.py:
311   - Added "include", "raw", and "replace" directives, courtesy of
312     Dethe Elza.
313   - Added "unicode" and "class" directives.
315 * docutils/parsers/rst/directives/parts.py:
317   - Added the "sectnum" directive; by Dmitry Jemerov.
318   - Added "class" option to "contents" directive.
320 * docutils/parsers/rst/directives/references.py: Added to project.
321   Contains the "target-notes" directive.
323 * docutils/parsers/rst/languages/__init__.py:
325   - Return ``None`` from get_language() for missing language modules.
327 * docutils/parsers/rst/languages/de.py: Added to project; German
328   mappings by Engelbert Gruber.
330 * docutils/parsers/rst/languages/en.py:
332   - Added interpreted text roles mapping.
334 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
335   mappings by Marcelo Huerta San Martin.
337 * docutils/parsers/rst/languages/fr.py: Added to project; French
338   mappings by William Dode.
340 * docutils/parsers/rst/languages/it.py: Added to project; Italian
341   mappings by Nicola Larosa.
343 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
344   mappings by Miroslav Vasko.
346 * docutils/readers/__init__.py:
348   - Added support for the observer pattern from ``utils.Reporter``, in
349     ``Reader.parse`` and ``Reader.transform``.
350   - Removed ``Reader.transform()`` method.
351   - Added default parameter values to ``Reader.__init__()`` to make
352     instantiation easier.
353   - Removed bogus aliases: "restructuredtext" is *not* a Reader.
355 * docutils/readers/pep.py:
357   - Added the ``peps.TargetNotes`` transform to the Reader.
358   - Removed PEP & RFC reference detection code; moved to
359     parsers/rst/states.py as options (enabled here by default).
360   - Added support for pre-acceptance PEPs (no PEP number yet).
361   - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
362     easy subclassing.
364 * docutils/readers/python: Python Source Reader subpackage added to
365   project, including preliminary versions of:
367   - __init__.py
368   - moduleparser.py: Parser for Python modules.
370 * docutils/transforms/__init__.py:
372   - Added ``Transformer`` class and completed transform reform.
374 * docutils/transforms/frontmatter.py:
376   - Improved support for generic fields.
377   - Fixed bibliographic field language lookups.
379 * docutils/transforms/misc.py:
381   - Added ``ClassAttribute`` to support the "class" directive.
383 * docutils/transforms/parts.py: Added to project.  Miscellaneous
384   transforms.
386 * docutils/transforms/parts.py:
388   - Moved the "id" attribute from TOC list items to the references
389     (``Contents.build_contents()``).
390   - Added the ``SectNum`` transform; by Dmitry Jemerov.
391   - Added "class" attribute support to ``Contents``.
393 * docutils/transforms/peps.py:
395   - Added ``mask_email()`` function, updating to pep2html.py's
396     functionality.
397   - Linked "Content-Type: text/x-rst" to PEP 12.
398   - Added the ``TargetNotes`` PEP-specific transform.
399   - Added ``TargetNotes.cleanup_callback``.
400   - Added title check to ``Headers``.
401   
402 * docutils/transforms/references.py:
404   - Added the ``TargetNotes`` generic transform.
405   - Split ``Hyperlinks`` into multiple transforms.
406   - Fixed bug with multiply-indirect references (report: Bruce Smith).
407   - Added check for circular indirect references.
408   - Made substitutions case-sensitive-but-forgiving.
410 * docutils/transforms/universal.py:
412   - Added support for the "--expose-internal-attributes" option.
413   - Removed ``Pending`` transform classes & data.
415 * docutils/writers/__init__.py:
417   - Removed ``Writer.transform()`` method.
419 * docutils/writers/docutils-xml.py:
421   - Added XML and doctype declarations.
422   - Added "--no-doctype" and "--no-xml-declaration" options.
424 * docutils/writers/html4css1.py:
426   - "name" attributes only on these tags: a, applet, form, frame,
427     iframe, img, map.
428   - Added "name" attribute to <a> in section titles for Netscape 4
429     support (bug report: Pearu Peterson).
430   - Fixed targets (names) on footnote, citation, topic title,
431     problematic, and system_message nodes (for Netscape 4).
432   - Changed field names from "<td>" to "<th>".
433   - Added "@" to "&#64;" encoding to thwart address harvesters.
434   - Improved the vertical whitespace optimization; ignore "invisible"
435     nodes (targets, comments, etc.).
436   - Improved inline literals with ``<span class="pre">`` around chunks
437     of text and ``&nbsp;`` for runs of spaces.
438   - Improved modularity of output; added ``self.body_pre_docinfo`` and
439     ``self.docinfo`` segments.
440   - Added support for "line_block", "address" elements.
441   - Improved backlinks (footnotes & system_messages).
442   - Improved system_message output.
443   - Redefined "--stylesheet" as containing an invariant URL, used
444     verbatim.  Added "--stylesheet-path", interpreted w.r.t. the
445     working directory.
446   - Added "--footnote-references" option (superscript or brackets).
447   - Added "--compact-lists" and "--no-compact-lists" options.
448   - Added "--embed-stylesheet" and "--link-stylesheet" options;
449     factored out ``HTMLTranslator.get_stylesheet_reference()``.
450   - Improved field list rendering.
451   - Added Docutils version to "generator" meta tag.
452   - Fixed a bug with images; they must be inline, so wrapped in <p>.
453   - Improved layout of <pre> HTML source.
454   - Fixed attribute typo on <colspec>.
455   - Refined XML prologue.
456   - Support for no stylesheet.
457   - Removed "interpreted" element support.
458   - Added support for "title_reference", "sidebar", "attribution",
459     "rubric", and generic "admonition" elements.
460   - Added "--attribution" option.
462 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
463   (from the sandbox).
465   - Added french.
466   - Double quotes in literal blocks (special treatment for de/ngerman).
467   - Added '--hyperlink-color' option ('0' turns off coloring of links).
468   - Added  "--attribution" option.
469   - Right align attributions. 
471 * docutils/writers/pep_html.py:
473   - Parameterized output encoding in PEP template.
474   - Reworked substitutions from ``locals()`` into ``subs`` dict.
475   - Redefined "--pep-stylesheet" as containing an invariant URL, used
476     verbatim.  Added "--pep-stylesheet-path", interpreted w.r.t. the
477     working directory.
478   - Added an override on the "--footnote-references" option.
479   - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
480   - Added Docutils version to "generator" meta tag.
481   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
483 * docs/tools.txt:
485   - Added a "silent" setting for ``buildhtml.py``.
486   - Added a "Getting Help" section.
487   - Rearranged the structure.
488   - Kept up to date, with new settings, command-line options etc.
489   - Added section for ``rst2latex.py`` (Engelbert Gruber).
491 * docs/rst/quickstart.txt:
493   - Added a table of contents.
494   - Added feedback information.
495   - Added mention of minimum section title underline lengths.
496   - Removed the 4-character minimum for section title underlines.
498 * docs/rst/quickref.html:
500   - Added a "Getting Help" section.
501   - Added a style to make section title backlinks more subtle.
502   - Added mention of minimum section title underline lengths.
503   - Removed the 4-character minimum for section title underlines.
505 * spec/doctree.txt:
507   - Changed the focus.  It's about DTD elements:  structural
508     relationships, semantics, and external (public) attributes.  Not
509     about the element class library.
510   - Moved some implementation-specific stuff into ``docutils.nodes``
511     docstrings.
512   - Wrote descriptions of all common attributes and parameter
513     entities.  Filled in introductory material.
514   - Working through the element descriptions: 55 down, 37 to go.
515   - Removed "Representation of Horizontal Rules" to
516     spec/rst/alternatives.txt.
518 * spec/docutils.dtd:
520   - Added "generated" inline element.
521   - Added "line_block" body element.
522   - Added "auto" attribute to "title".
523   - Changed content models of "literal_block" and "doctest_block" to
524     ``%text.model``.
525   - Added ``%number;`` attribute type parameter entity.
526   - Changed ``%structural.elements;`` to ``%section.elements``.
527   - Updated attribute types; made more specific.
528   - Added "address" bibliographic element.
529   - Added "line" attribute to ``system_message`` element.
530   - Removed "field_argument" element; "field_name" may contain
531     multiple words and whitespace.
532   - Changed public identifier to docutils.sf.net.
533   - Removed "interpreted" element; added "title_reference",
534     "abbreviation", "acronym".
535   - Removed "refuri" attribute from "footnote_reference" and
536     "citation_reference".
537   - Added "sidebar", "rubric", "attribution", "admonition",
538     "superscript", "subscript", and "inline" elements.
540 * spec/pep-0256.txt: Converted to reStructuredText & updated.
542 * spec/pep-0257.txt: Converted to reStructuredText & updated.
544 * spec/pep-0258.txt: Converted to reStructuredText & updated.
546 * spec/semantics.txt: Updated with text from a Doc-SIG response to
547   Dallas Mahrt.
549 * spec/transforms.txt: Added to project.
551 * spec/howto: Added subdirectory, for developer how-to docs.
553 * spec/howto/rst-directives.txt: Added to project.  Original by Dethe
554   Elza, edited & extended by David Goodger.
556 * spec/howto/i18n.txt: Docutils Internationalization.  Added to
557   project.
559 * spec/rst/alternatives.txt:
561   - Added "Doctree Representation of Transitions" from
562     spec/doctree.txt.
563   - Updated "Inline External Targets" & closed the debate.
564   - Added ideas for interpreted text syntax extensions.
566 * spec/rst/directives.txt:
568   - Added directives: "topic", "sectnum", "target-notes",
569     "line-block", "parsed-literal", "include", "replace", "sidebar",
570     "admonition", "rubric", "epigraph", "highlights", "unicode" and
571     "class".
572   - Formalized descriptions of directive details.
573   - Added an "align" attribute to the "image" & "figure" directives
574     (by Adam Chodorowski).
575   - Added "class" options to "topic", "sidebar", "line-block",
576     "parsed-literal", "contents", and "image"; and "figclass" to
577     "figure".
579 * spec/rst/interpreted.txt: Added to project.  Descriptions of
580   interpreted text roles.
582 * spec/rst/introduction.txt:
584   - Added pointers to material for new users.
586 * spec/rst/reStructuredText.txt:
588   - Disambiguated comments (just add a newline after the "::").
589   - Updated enumerated list description; added a discussion of the
590     second-line validity checking.
591   - Updated directive description.
592   - Added a note redirecting newbies to the user docs.
593   - Expanded description of inline markup start-strings in non-markup
594     contexts.
595   - Removed field arguments and made field lists a generic construct.
596   - Removed the 4-character minimum for section title underlines.
597   - Clarified term/classifier delimiter & inline markup ambiguity
598     (definition lists).
599   - Added "Embedded URIs".
600   - Updated "Interpreted Text" section.
601   - Added "Character-Level Inline Markup" section.
603 * test: Continually adding & updating tests.
605   - Moved test/test_rst/ to test/test_parsers/test_rst/.
606   - Moved test/test_pep/ to test/test_readers/test_pep/.
607   - Added test/test_readers/test_python/.
608   - Added test/test_writers/ (Engelbert Gruber).
610 * tools:
612   - Made the ``locale.setlocale()`` calls in front ends
613     fault-tolerant.
615 * tools/buildhtml.py:
617   - Added "--silent" option.
618   - Fixed bug with absolute paths & "--config".
619   - Updated for new I/O classes.
620   - Added some exception handling.
621   - Separated publishers' setting defaults; prevents interference.
622   - Updated for new ``publish_file()`` convenience function.
624 * tools/pep-html-template:
626   - Allow for "--embed-stylesheet".
627   - Added Docutils version to "generator" meta tag.
628   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
629   - Conform to XHTML spec.
631 * tools/pep2html.py:
633   - Made ``argv`` a parameter to ``main()``.
634   - Added support for "Content-Type:" header & arbitrary PEP formats.
635   - Linked "Content-Type: text/plain" to PEP 9.
636   - Files skipped (due to an error) are not pushed onto the server.
637   - Updated for new I/O classes.
638   - Added ``check_requirements()`` & ``pep_type_error()``.
639   - Added some exception handling.
640   - Updated for new ``publish_string()`` convenience function.
641   - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
643 * tools/quicktest.py:
645   - Added "-V"/"--version" option.
647 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
649 * tools/editors: Support code for editors, added to project.  Contains
650   ``emacs/restructuredtext.el``.
652 * tools/stylesheets/default.css: Moved into the stylesheets directory.
654   - Added style for chunks of inline literals.
655   - Removed margin for first child of table cells.
656   - Right-aligned field list names.
657   - Support for auto-numbered section titles in TOCs.
658   - Increased the size of inline literals (<tt>) in titles.
659   - Restored the light gray background for inline literals.
660   - Added support for "line_block" elements.
661   - Added style for "address" elements.
662   - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
663   - Improved field list rendering.
664   - Vertical whitespace improvements.
665   - Removed "a.target" style.
667 * tools/stylesheets/pep.css:
669   - Fixed nested section margins.
670   - Other changes parallel those of ``../default.css``.
673 Release 0.2 (2002-07-31)
674 ========================
676 General:
678 - The word "component" was being used ambiguously.  From now on,
679   "component" will be used to mean "Docutils component", as in Reader,
680   Writer, Parser, or Transform.  Portions of documents (Table of
681   Contents, sections, etc.)  will be called "document parts".
682 - Did a grand renaming: a lot of ``verylongnames`` became
683   ``very_long_names``.
684 - Cleaned up imports: no more relative package imports or
685   comma-separated lists of top-level modules.
686 - Added support for an option values object which carries default
687   settings and overrides (from command-line options and library use).
688 - Added internal Unicode support, and support for both input and
689   output encodings.
690 - Added support for the ``docutils.io.IO`` class & subclasses.
692 Specific:
694 * docutils/__init__.py:
696   - Added ``ApplicationError`` and ``DataError``, for use throughout
697     the package.
698   - Added ``Component`` base class for Docutils components; implements
699     the ``supports`` method.
700   - Added ``__version__`` (thus, ``docutils.__version__``).
702 * docutils/core.py:
704   - Removed many keyword parameters to ``Publisher.__init__()`` and
705     ``publish()``; bundled into an option values object.  Added
706     "argv", "usage", "description", and "option_spec" parameters for
707     command-line support.
708   - Added ``Publisher.process_command_line()`` and ``.set_options()``
709     methods.
710   - Reworked I/O model for ``docutils.io`` wrappers.
711   - Updated ``Publisher.set_options()``; now returns option values
712     object.
713   - Added support for configuration files (/etc/docutils.conf,
714     ./docutils.conf, ~/.docutils).
715   - Added ``Publisher.setup_option_parser()``.
716   - Added default usage message and description.
718 * docutils/frontend.py: Added to project; support for front-end
719   (command-line) scripts.  Option specifications may be augmented by
720   components.  Requires Optik (http://optik.sf.net/) for option
721   processing (installed locally as docutils/optik.py).
723 * docutils/io.py: Added to project; uniform API for a variety of input
724   output mechanisms.
726 * docutils/nodes.py:
728   - Added ``TreeCopyVisitor`` class.
729   - Added a ``copy`` method to ``Node`` and subclasses.
730   - Added a ``SkipDeparture`` exception for visitors.
731   - Renamed ``TreePruningException`` from ``VisitorException``.
732   - Added docstrings to ``TreePruningException``, subclasses, and
733     ``Nodes.walk()``.
734   - Improved docstrings.
735   - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
736   - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
737     imports.
738   - Added ``decoration``, ``header``, and ``footer`` node classes, and
739     ``PreDecorative`` mixin.
740   - Reworked the name/id bookkeeping; to ``document``, removed
741     ``explicit_targets`` and ``implicit_targets`` attributes, added
742     ``nametypes`` attribute and ``set_name_id_map`` method.
743   - Added ``NodeFound`` exception, for use with ``NodeVisitor``
744     traversals.
745   - Added ``document.has_name()`` method.
746   - Fixed DOM generation for list-attributes.
747   - Added category class ``Labeled`` (used by footnotes & citations).
748   - Added ``Element.set_class()`` method (sets "class" attribute).
750 * docutils/optik.py: Added to project.  Combined from the Optik
751   package, with added option groups and other modifications.  The use
752   of this module is probably only temporary.
754 * docutils/statemachine.py:
756   - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
757   - Added underscores to improve many awkward names.
758   - In ``string2lines()``, changed whitespace normalizing translation
759     table to regexp; restores Python 2.0 compatibility with Unicode.
761 * docutils/urischemes.py:
763   - Filled in some descriptions.
764   - Added "shttp" scheme.
766 * docutils/utils.py:
768   - Added ``clean_rcs_keywords`` function (moved from
769     docutils/transforms/frontmatter.py
770     ``DocInfo.filter_rcs_keywords``).
771   - Added underscores to improve many awkward names.
772   - Changed names of Reporter's thresholds:
773     warning_level -> report_level; error_level -> halt_level.
774   - Moved ``utils.id()`` to ``nodes.make_id()``.
775   - Added ``relative_path(source, target)``.
777 * docutils/languages/de.py: German mappings; added to project.  Thanks
778   to Gunnar Schwant for the translations.
780 * docutils/languages/en.py: Added "Dedication" bibliographic field
781   mappings.
783 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
784   Chodorowski.
786 * docutils/parsers/rst/states.py:
788   - Added underscores to improve many awkward names.
789   - Added RFC-2822 header support.
790   - Extracted the inline parsing code from ``RSTState`` to a separate
791     class, ``Inliner``, which will allow easy subclassing.
792   - Made local bindings for ``memo`` container & often-used contents
793     (reduces code complexity a lot).  See ``RSTState.runtime_init()``.
794   - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
795   - Added ``MarkupMismatch`` exception; for late corrections.
796   - Added ``-/:`` characters to inline markup's start string prefix,
797     ``/`` to end string suffix.
798   - Fixed a footnote bug.
799   - Fixed a bug with literal blocks.
800   - Applied patch from Simon Budig: simplified regexps with symbolic
801     names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
802   - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
803   - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
804   - Allowed non-ASCII in "simple names" (directive names, field names,
805     references, etc.).
806   - Converted ``Inliner.patterns.initial`` to be dynamically built
807     from parts with ``build_regexp()`` function.
808   - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
809   - Updated docstrings.
810   - Changed "table" to "grid_table"; added "simple_table" support.
812 * docutils/parsers/rst/tableparser.py:
814   - Changed ``TableParser`` to ``GridTableParser``.
815   - Added ``SimpleTableParser``.
816   - Refactored naming.
818 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
819   a fallback language for directive names.
821 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
822   directive to use a ``pending`` element, used only by HTML writers.
824 * docutils/parsers/rst/directives/parts.py: Renamed from
825   components.py.
827   - Added "backlinks" attribute to "contents" directive.
829 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
830   project by Adam Chodorowski.
832 * docutils/readers/__init__.py: Gave Readers more control over
833   choosing and instantiating Parsers.
835 * docutils/readers/pep.py: Added to project; for PEP processing.
837 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
838   requires a ``component`` parameter.
840 * docutils/transforms/components.py: Added to project; transforms
841   related to Docutils components.
843 * docutils/transforms/frontmatter.py:
845   - In ``DocInfo.extract_authors``, check for a single "author" in an
846     "authors" group, and convert it to a single "author" element.
847   - Added support for "Dedication" and generic bibliographic fields.
849 * docutils/transforms/peps.py: Added to project; PEP-specific.
851 * docutils/transforms/parts.py: Renamed from old components.py.
853   - Added filter for `Contents`, to use alt-text for inline images,
854     and to remove inline markup that doesn't make sense in the ToC.
855   - Added "name" attribute to TOC topic depending on its title.
856   - Added support for optional TOC backlinks.
858 * docutils/transforms/references.py: Fixed indirect target resolution
859   in ``Hyperlinks`` transform.
861 * docutils/transforms/universal.py:
863   - Changed ``Messages`` transform to properly filter out system
864     messages below the warning threshold.
865   - Added ``Decorations`` transform (support for ``--generator``,
866     ``--date``, ``--time``, ``--source-link`` options).
868 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
869   Engelbert Gruber's PDF writer.
871 * docutils/writers/html4css1.py:
873   - Made XHTML-compatible (switched to lowercase element & attribute
874     names; empty tag format).
875   - Escape double-dashes in comment text.
876   - Improved boilerplate & modularity of output.
877   - Exposed modular output in Writer class.
878   - Added a "generator" meta tag to <head>.
879   - Added support for the ``--stylesheet`` option.
880   - Added support for ``decoration``, ``header``, and ``footer``
881     elements.
882   - In ``HTMLTranslator.attval()``, changed whitespace normalizing
883     translation table to regexp; restores Python 2.0 compatibility
884     with Unicode.
885   - Added the translator class as instance variable to the Writer, to
886     make it easily subclassable.
887   - Improved option list spacing (thanks to Richard Jones).
888   - Modified field list output.
889   - Added backlinks to footnotes & citations.
890   - Added percentage widths to "<col>" tags (from colspec).
891   - Option lists: "<code>" changed to "<kbd>", ``option_argument``
892     "<span>" changed to "<var>".
893   - Inline literals: "<code>" changed to "<tt>".
894   - Many changes to optimize vertical space: compact simple lists etc.
895   - Add a command-line options & directive attributes to control TOC
896     and footnote/citation backlinks.
897   - Added support for optional footnote/citation backlinks.
898   - Added support for generic bibliographic fields.
899   - Identify backrefs.
900   - Relative URLs for stylesheet links.
902 * docutils/writers/pep_html.py: Added to project; HTML Writer for
903   PEPs (subclass of ``html4css1.Writer``).
905 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
907 * docutils/writers/docutils_xml.py: Added to project; trivial writer
908   of the Docutils internal doctree in XML.
910 * docs/tools.txt: "Docutils Front-End Tools", added to project.
912 * spec/doctree.txt:
914   - Changed the title to "The Docutils Document Tree".
915   - Added "Hyperlink Bookkeeping" section.
917 * spec/docutils.dtd:
919   - Added ``decoration``, ``header``, and ``footer`` elements.
920   - Brought ``interpreted`` element in line with the parser: changed
921     attribute "type" to "role", added "position".
922   - Added support for generic bibliographic fields.
924 * spec/notes.txt: Continual updates.  Added "Project Policies".
926 * spec/pep-0256.txt:  Updated.  Added "Roadmap to the Doctring PEPs"
927   section.
929 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
931 * spec/pep-0258.txt: Updated.  Added text from pysource.txt and
932   mailing list discussions.
934 * spec/pep-0287.txt:
936   - Renamed to "reStructuredText Docstring Format".
937   - Minor edits.
938   - Reworked Q&A as an enumerated list.
939   - Converted to reStructuredText format.
941 * spec/pysource.dtd:
943   - Reworked structural elements, incorporating ideas from Tony Ibbs.
945 * spec/pysource.txt: Removed from project.  Moved much of its contents
946   to pep-0258.txt.
948 * spec/rst/alternatives.txt:
950   - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
951   - Added "Inline External Targets" section.
953 * spec/rst/directives.txt:
955   - Added "backlinks" attribute to "contents" directive.
957 * spec/rst/problems.txt:
959   - Updated the Enumerated List Markup discussion.
960   - Added new alternative table markup syntaxes.
962 * spec/rst/reStructuredText.txt:
964   - Clarified field list usage.
965   - Updated enumerated list description.
966   - Clarified purpose of directives.
967   - Added ``-/:`` characters to inline markup's start string prefix,
968     ``/`` to end string suffix.
969   - Updated "Authors" bibliographic field behavior.
970   - Changed "inline hyperlink targets" to "inline internal targets".
971   - Added "simple table" syntax to supplement the existing but
972     newly-renamed "grid tables".
973   - Added cautions for anonymous hyperlink use.
974   - Added "Dedication" and generic bibliographic fields.
976 * test: Made test modules standalone (subdirectories became packages).
978 * test/DocutilsTestSupport.py:
980   - Added support for PEP extensions to reStructuredText.
981   - Added support for simple tables.
982   - Refactored naming.
984 * test/package_unittest.py: Renamed from UnitTestFolder.py.
986   - Now supports true packages containing test modules
987     (``__init__.py`` files required); fixes duplicate module name bug.
989 * test/test_pep/: Subpackage added to project; PEP testing.
991 * test/test_rst/test_SimpleTableParser.py: Added to project.
993 * tools:
995   - Updated html.py and publish.py front-end tools to use the new
996     command-line processing facilities of ``docutils.frontend``
997     (exposed in ``docutils.core.Publisher``), reducing each to just a
998     few lines of code.
999   - Added ``locale.setlocale()`` calls to front-end tools.
1001 * tools/buildhtml.py: Added to project; batch-generates .html from all
1002   the .txt files in directories and subdirectories.
1004 * tools/default.css:
1006   - Added support for ``header`` and ``footer`` elements.
1007   - Added styles for "Dedication" topics (biblio fields).
1009 * tools/docutils.conf: A configuration file; added to project.
1011 * tools/docutils-xml.py: Added to project.
1013 * tools/pep.py: Added to project; PEP to HTML front-end tool.
1015 * tools/pep-html-template: Added to project.
1017 * tools/pep2html.py: Added to project from Python (nondist/peps).
1018   Added support for Docutils (reStructuredText PEPs).
1020 * tools/quicktest.py:
1022   - Added the ``--attributes`` option, hacked a bit.
1023   - Added a second command-line argument (output file); cleaned up.
1025 * tools/stylesheets/: Subdirectory added to project.
1027 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
1030 Release 0.1 (2002-04-20)
1031 ========================
1033 This is the first release of Docutils, merged from the now inactive
1034 reStructuredText__ and `Docstring Processing System`__ projects.  For
1035 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
1036 `DPS HISTORY`__ files.
1038 __ http://structuredtext.sourceforge.net/
1039 __ http://docstring.sourceforge.net/
1040 __ http://structuredtext.sourceforge.net/HISTORY.html
1041 __ http://docstring.sourceforge.net/HISTORY.html
1043 General changes: renamed 'dps' package to 'docutils'; renamed
1044 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
1045 the test suites (reStructuredText's test/test_states renamed to
1046 test/test_rst); and all modifications required to make it all work.
1048 * docutils/parsers/rst/states.py:
1050   - Improved diagnostic system messages for missing blank lines.
1051   - Fixed substitution_reference bug.
1055    Local Variables:
1056    mode: indented-text
1057    indent-tabs-mode: nil
1058    sentence-end-double-space: t
1059    fill-column: 70
1060    End: