6 :Contact: goodger@users.sourceforge.net
8 :Web site: http://docutils.sourceforge.net/
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,
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, Jeremy Hylton, Tony Ibbs, Alan Jaffray, Dmitry Jemerov,
27 Richard Jones, Andreas Jung, Garth Kidd, Nicola Larosa, Daniel
28 Larsson, Marc-Andre Lemburg, Julien Letessier, Wolfgang Lipp,
29 Edward Loper, Dallas Mahrt, Ken Manheimer, Vasko Miroslav, Skip
30 Montanaro, Paul Moore, Nigel W. Moriarty, Mark Nodine, Patrick
31 K. O'Brien, Michel Pelletier, Sam Penrose, Tim Peters, Pearu
32 Peterson, Mark Pilgrim, Brett g Porter, David Priest, Tavis Rudd,
33 Oliver Rutherfurd, Kenichi Sato, Ueli Schlaepfer, Gunnar Schwant,
34 Bruce Smith, tav, Bob Tolbert, Laurence Tratt, Guido van Rossum,
35 Martin von Loewis, Greg Ward, Barry Warsaw, Edward Welbourne,
36 Ka-Ping Yee, Moshe Zadka
40 (I'm still waiting for contributions of computer equipment and cold
41 hard cash :-).) Hopefully I haven't forgotten anyone or misspelled
42 any names; apologies (and please let me know!) if I have.
46 ========================
50 * Renamed "attribute" to "option" for directives/extensions.
52 * Renamed transform method "transform" to "apply".
54 * Renamed "options" to "settings" for runtime settings (as set by
55 command-line options). Sometimes "option" (singular) became
56 "settings" (plural). Some variations below:
58 - document.options -> document.settings (stored in other objects as
60 - option_spec -> settings_spec (not directives though)
61 - OptionSpec -> SettingsSpec
62 - cmdline_options -> settings_spec
63 - relative_path_options -> relative_path_settings
64 - option_default_overrides -> settings_default_overrides
65 - Publisher.set_options -> Publisher.get_settings
69 * FAQ.txt: Frequently asked questions, added to project.
71 * docutils/__init__.py:
73 - Bumped version to 0.2.1 to reflect changes to I/O classes.
74 - Bumped version to 0.2.2 to reflect changes to stylesheet options.
75 - Factored ``SettingsSpec`` out of ``Component``; separately useful.
76 - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
77 option and its effect on the PEP template & writer.
78 - Bumped version to 0.2.4 due to changes to the PEP template &
80 - Bumped version to 0.2.5 to reflect changes to Reporter output.
81 - Added ``TransformSpec`` class for new transform system.
82 - Bumped version to 0.2.6 for API changes (renaming).
83 - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
84 convenience functions.
85 - Added ``Component.component_type`` attribute.
86 - Bumped version to 0.2.8 because of the internal parser switch from
87 plain lists to the docutils.statemachine.StringList objects.
91 - Made ``publish()`` a bit more convenient.
92 - Generalized ``Publisher.set_io``.
93 - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
94 parameters; improved its docstring.
95 - Added ``publish_file()`` and ``publish_string()``.
96 - Factored ``Publisher.set_source()`` and ``.set_destination()``
98 - Added support for "--dump-pseudo-xml", "--dump-settings", and
99 "--dump-transforms" hidden options.
100 - Added ``Publisher.apply_transforms()`` method.
101 - Added ``Publisher.set_components()`` method; support for
102 ``publish_*()`` conveninece functions.
104 * docutils/frontend.py:
106 - Check for & exit on identical source & destination paths.
107 - Fixed bug with absolute paths & "--config".
108 - Set non-command-line defaults in ``OptionParser.__init__()``:
109 ``_source`` & ``_destination``.
110 - Distributed ``relative_path_settings`` to components; updated
111 ``OptionParser.populate_from_components()`` to combine it all.
112 - Require list of keys in ``make_paths_absolute`` (was implicit in
113 global ``relative_path_settings``).
114 - Added "--expose-internal-attribute", "--dump-pseudo-xml",
115 "--dump-settings", and "--dump-transforms" hidden options.
116 - Removed nasty internals-fiddling ``ConfigParser.get_section``
117 code, replaced with correct code.
121 - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
122 - Added automatic closing to ``FileInput`` and ``FileOutput``.
123 - Delayed opening of ``FileOutput`` file until ``write()`` called.
124 - ``FileOutput.write()`` now returns the encoded output string.
125 - Try to get path/stream name automatically in ``FileInput`` &
127 - Added defaults for source & destination paths.
128 - Allow for Unicode I/O with an explicit "unicode" encoding.
129 - Added ``Output.encode()``.
130 - Deprecated reliance on runtime settings; pass encoding directly.
131 - Recognize Unicode strings in ``Input.decode()``.
135 - Added "Invisible" element category class.
136 - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
137 modification during a traversal.
138 - Added element classes: ``line_block``, ``generated``, ``address``,
140 - Added support for lists of nodes to ``Element.insert()``.
141 - Fixed parent linking in ``Element.replace()``.
142 - Added new abstract superclass ``FixedTextElement``; adds
143 "xml:space" attribute.
144 - Added support for "line" attribute of ``system_message`` nodes.
145 - Added support for the observer pattern from ``utils.Reporter``.
146 Added ``parse_messages`` and ``transform_messages`` attributes to
147 ``document``, removed ``messages``. Added ``note_parse_message``
148 and ``note_transform_message`` methods.
149 - Added support for improved diagnostics:
151 - Added "document", "source", and "line" internal attributes to
152 ``Node``, set by ``Node.setup_child()``.
153 - Converted variations on ``node.parent = self`` to
154 ``self.setup_child(node)``.
155 - Added ``document.current_source`` & ``.current_line``
156 attributes, and ``.note_source`` observer method.
157 - Changed "system_message" output to GNU-Tools format.
159 - Added a "rawsource" attribute to the ``Text`` class, for text
160 before backslash-escape resolution.
161 - Support for new transform system.
162 - Reworked ``pending`` element.
163 - Fixed XML DOM bug (SF #660611).
164 - Removed the ``interpeted`` element class and added
165 ``title_reference``, ``abbreviation``, ``acronym``.
166 - Made substitutions case-sensitive-but-forgiving; moved some code
168 - Fixed Unicode bug on element attributes (report: William Dode).
170 * docutils/statemachine.py:
172 - Factored out ``State.add_initial_transitions()`` so it can be
174 - Converted whitespace-specific "blank" and "indent" transitions
175 from special-case code to ordinary transitions: removed
176 ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
177 ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
178 ``ws_initial_transitions`` attributes.
179 - Removed ``State.match_transition()`` after merging it into
181 - Added ``StateCorrection`` exception.
182 - Added support for ``StateCorrection`` in ``StateMachine.run()``
183 (moved ``TransitionCorrection`` support there too.)
184 - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
185 ``EOFError`` instead of ``IndexError``.
186 - Added ``State.no_match`` method.
187 - Added support for the Observer pattern, triggered by input line
189 - Added ``strip_top`` parameter to
190 ``StateMachineWS.get_first_known_indented``.
191 - Made ``context`` a parameter to ``StateMachine.run()``.
192 - Added ``ViewList`` & ``StringList`` classes;
193 ``extract_indented()`` becomes ``StringList.get_indented()``.
194 - Added ``StateMachine.insert_input()``.
195 - Fixed ViewList slice handling for Python 2.3. Patch from (and
196 thanks to) Fred Drake.
200 - Added a ``source`` attribute to Reporter instances and
201 ``system_message`` elements.
202 - Added an observer pattern to ``utils.Reporter`` to keep track of
204 - Fixed bugs in ``relative_path()``.
205 - Added support for improved diagnostics.
206 - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
208 * docutils/languages: Fixed bibliographic field language lookups.
210 * docutils/languages/fr.py: Added to project; French mappings by
213 * docutils/languages/it.py: Added to project; Italian mappings by
216 * docutils/languages/sk.py: Added to project; Slovak mappings by
219 * docutils/parser/__init__.py:
221 - Added ``Parser.finish_parse()`` method.
223 * docutils/parser/rst/__init__.py:
225 - Added options: "--pep-references", "--rfc-references",
228 * docutils/parsers/rst/states.py:
230 - Changed "title under/overline too short" system messages from INFO
231 to WARNING, and fixed its insertion location.
232 - Fixed enumerated list item parsing to allow paragraphs & section
233 titles to begin with enumerators.
234 - Converted system messages to use the new "line" attribute.
235 - Fixed a substitution reference edge case.
236 - Added support for "--pep-references" and "--rfc-references"
237 options; reworked ``Inliner`` code to make customization easier.
238 - Removed field argument parsing.
239 - Added support for short section title over/underlines.
240 - Fixed "simple reference name" regexp to ignore text like
241 "object.__method__"; not an anonymous reference.
242 - Added support for improved diagnostics.
243 - Reworked directive API, based on Dethe Elza's contribution. Added
244 ``Body.parse_directive()``, ``.parse_directive_options()``,
245 ``.parse_directive_arguments()`` methods.
246 - Added ``ExtensionOptions`` class, to parse directive options
247 without parsing field bodies. Factored
248 ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
249 ``ExtensionOptions``.
250 - Improved definition list term/classifier parsing.
251 - Added warnings for unknown directives.
252 - Renamed ``Stuff`` to ``Struct``.
253 - Now flagged as errors: transitions at the beginning or end of
254 sections, empty sections (except title), and empty documents.
255 - Updated for ``statemachine.StringList``.
256 - Enabled recognition of schemeless email addresses in targets.
257 - Added support for embedded URIs in hyperlink references.
258 - Added backslash-escapes to inline markup end-string suffix.
259 - Added support for correct interpreted text processing.
260 - Fixed nested title parsing (topic, sidebar directives).
261 - Added special processing of backslash-escaped whitespace (idea
262 from David Abrahams).
263 - Made substitutions case-sensitive-but-forgiving; moved some code
264 to ``docutils.nodes``.
266 * docutils/parsers/rst/tableparser.py:
268 - Fixed a bug that was producing unwanted empty rows in "simple"
270 - Detect bad column spans in "simple" tables.
272 * docutils/parsers/rst/directives: Updated all directive functions to
275 * docutils/parsers/rst/directives/__init__.py:
277 - Added ``flag()``, ``unchanged()``, ``path()``,
278 ``nonnegative_int()``, and ``choice()`` directive option helper
280 - Added warnings for unknown directives.
281 - Return ``None`` for missing directives.
282 - Added ``register_directive()``, thanks to William Dode and Paul
285 * docutils/parsers/rst/directives/body.py: Added to project. Contains
286 the "topic", "sidebar" (from Patrick O'Brien), "line-block", and
287 "parsed-literal" directives.
289 * docutils/parsers/rst/directives/images.py:
291 - Added an "align" attribute to the "image" & "figure" directives
292 (by Adam Chodorowski).
294 * docutils/parsers/rst/directives/misc.py:
296 - Added "include", "raw", and "replace" directives, courtesy of
299 * docutils/parsers/rst/directives/parts.py:
301 - Added the "sectnum" directive; by Dmitry Jemerov.
303 * docutils/parsers/rst/directives/references.py: Added to project.
304 Contains the "target-notes" directive.
306 * docutils/parsers/rst/languages/__init__.py:
308 - Return ``None`` from get_language() for missing language modules.
310 * docutils/parsers/rst/languages/de.py: Added to project; German
311 mappings by Engelbert Gruber.
313 * docutils/parsers/rst/languages/en.py:
315 - Added interpreted text roles mapping.
317 * docutils/parsers/rst/languages/fr.py: Placeholder added to project;
318 awaiting translation.
320 * docutils/parsers/rst/languages/it.py: Added to project; Italian
321 mappings by Nicola Larosa.
323 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
324 mappings by Miroslav Vasko.
326 * docutils/readers/__init__.py:
328 - Added support for the observer pattern from ``utils.Reporter``, in
329 ``Reader.parse`` and ``Reader.transform``.
330 - Removed ``Reader.transform()`` method.
331 - Added default parameter values to ``Reader.__init__()`` to make
332 instantiation easier.
333 - Removed bogus aliases: "restructuredtext" is *not* a Reader.
335 * docutils/readers/pep.py:
337 - Added the ``peps.TargetNotes`` transform to the Reader.
338 - Removed PEP & RFC reference detection code; moved to
339 parsers/rst/states.py as options (enabled here by default).
340 - Added support for pre-acceptance PEPs (no PEP number yet).
341 - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
344 * docutils/readers/python: Python Source Reader subpackage added to
345 project, including preliminary versions of:
348 - moduleparser.py: Parser for Python modules.
350 * docutils/transforms/__init__.py:
352 - Added ``Transformer`` class and completed transform reform.
354 * docutils/transforms/frontmatter.py:
356 - Improved support for generic fields.
357 - Fixed bibliographic field language lookups.
359 * docutils/transforms/parts.py: Added to project. Miscellaneous
362 * docutils/transforms/parts.py:
364 - Moved the "id" attribute from TOC list items to the references
365 (``Contents.build_contents()``).
366 - Added the ``SectNum`` transform; by Dmitry Jemerov.
368 * docutils/transforms/peps.py:
370 - Added ``mask_email()`` function, updating to pep2html.py's
372 - Linked "Content-Type: text/x-rst" to PEP 12.
373 - Added the ``TargetNotes`` PEP-specific transform.
374 - Added ``TargetNotes.cleanup_callback``.
375 - Added title check to ``Headers``.
377 * docutils/transforms/references.py:
379 - Added the ``TargetNotes`` generic transform.
380 - Split ``Hyperlinks`` into multiple transforms.
381 - Fixed bug with multiply-indirect references (report: Bruce Smith).
382 - Added check for circular indirect references.
383 - Made substitutions case-sensitive-but-forgiving.
385 * docutils/transforms/universal.py:
387 - Added support for the "--expose-internal-attributes" option.
388 - Removed ``Pending`` transform classes & data.
390 * docutils/writers/__init__.py:
392 - Removed ``Writer.transform()`` method.
394 * docutils/writers/docutils-xml.py:
396 - Added XML and doctype declarations.
397 - Added "--no-doctype" and "--no-xml-declaration" options.
399 * docutils/writers/html4css1.py:
401 - "name" attributes only on these tags: a, applet, form, frame,
403 - Added "name" attribute to <a> in section titles for Netscape 4
404 support (bug report: Pearu Peterson).
405 - Fixed targets (names) on footnote, citation, topic title,
406 problematic, and system_message nodes (for Netscape 4).
407 - Changed field names from "<td>" to "<th>".
408 - Added "@" to "@" encoding to thwart address harvesters.
409 - Improved the vertical whitespace optimization; ignore "invisible"
410 nodes (targets, comments, etc.).
411 - Improved inline literals with ``<span class="pre">`` around chunks
412 of text and `` `` for runs of spaces.
413 - Improved modularity of output; added ``self.body_pre_docinfo`` and
414 ``self.docinfo`` segments.
415 - Added support for "line_block", "address" elements.
416 - Improved backlinks (footnotes & system_messages).
417 - Improved system_message output.
418 - Redefined "--stylesheet" as containing an invariant URL, used
419 verbatim. Added "--stylesheet-path", interpreted w.r.t. the
421 - Added "--footnote-references" option (superscript or brackets).
422 - Added "--compact-lists" and "--no-compact-lists" options.
423 - Added "--embed-stylesheet" and "--link-stylesheet" options;
424 factored out ``HTMLTranslator.get_stylesheet_reference()``.
425 - Improved field list rendering.
426 - Added Docutils version to "generator" meta tag.
427 - Fixed a bug with images; they must be inline, so wrapped in <p>.
428 - Improved layout of <pre> HTML source.
429 - Fixed attribute typo on <colspec>.
430 - Refined XML prologue.
431 - Support for no stylesheet.
432 - Removed "interpreted" element support.
433 - Added support for "title_reference", "sidebar" elements.
435 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
439 - Double quotes in literal blocks (special treatment for de/ngerman).
440 - Added '--hyperlink-color' option ('0' turns off coloring of links).
442 * docutils/writers/pep_html.py:
444 - Parameterized output encoding in PEP template.
445 - Reworked substitutions from ``locals()`` into ``subs`` dict.
446 - Redefined "--pep-stylesheet" as containing an invariant URL, used
447 verbatim. Added "--pep-stylesheet-path", interpreted w.r.t. the
449 - Added an override on the "--footnote-references" option.
450 - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
451 - Added Docutils version to "generator" meta tag.
452 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
456 - Added a "silent" setting for ``buildhtml.py``.
457 - Added a "Getting Help" section.
458 - Rearranged the structure.
459 - Kept up to date, with new settings, command-line options etc.
460 - Added section for ``rst2latex.py`` (Engelbert Gruber).
462 * docs/rst/quickstart.txt:
464 - Added a table of contents.
465 - Added feedback information.
466 - Added mention of minimum section title underline lengths.
467 - Removed the 4-character minimum for section title underlines.
469 * docs/rst/quickref.html:
471 - Added a "Getting Help" section.
472 - Added a style to make section title backlinks more subtle.
473 - Added mention of minimum section title underline lengths.
474 - Removed the 4-character minimum for section title underlines.
478 - Changed the focus. It's about DTD elements: structural
479 relationships, semantics, and external (public) attributes. Not
480 about the element class library.
481 - Moved some implementation-specific stuff into ``docutils.nodes``
483 - Wrote descriptions of all common attributes and parameter
484 entities. Filled in introductory material.
485 - Working through the element descriptions: 53 down, 32 to go.
486 - Removed "Representation of Horizontal Rules" to
487 spec/rst/alternatives.txt.
491 - Added "generated" inline element.
492 - Added "line_block" body element.
493 - Added "auto" attribute to "title".
494 - Changed content models of "literal_block" and "doctest_block" to
496 - Added ``%number;`` attribute type parameter entity.
497 - Changed ``%structural.elements;`` to ``%section.elements``.
498 - Updated attribute types; made more specific.
499 - Added "address" bibliographic element.
500 - Added "line" attribute to ``system_message`` element.
501 - Removed "field_argument" element; "field_name" may contain
502 multiple words and whitespace.
503 - Changed public identifier to docutils.sf.net.
504 - Removed "interpreted" element; added "title_reference",
505 "abbreviation", "acronym".
506 - Removed "refuri" attribute from "footnote_reference" and
507 "citation_reference".
508 - Added "sidebar" element.
510 * spec/pep-0256.txt: Converted to reStructuredText & updated.
512 * spec/pep-0257.txt: Converted to reStructuredText & updated.
514 * spec/pep-0258.txt: Converted to reStructuredText & updated.
516 * spec/semantics.txt: Updated with text from a Doc-SIG response to
519 * spec/transforms.txt: Added to project.
521 * spec/howto: Added subdirectory, for developer how-to docs.
523 * spec/howto/rst-directives.txt: Added to project. Original by Dethe
524 Elza, edited & extended by David Goodger.
526 * spec/howto/i18n.txt: Docutils Internationalization. Added to
529 * spec/rst/alternatives.txt:
531 - Added "Doctree Representation of Transitions" from
533 - Updated "Inline External Targets" & closed the debate.
534 - Added ideas for interpreted text syntax extensions.
536 * spec/rst/directives.txt:
538 - Added directives: "topic", "sectnum", "target-notes",
539 "line-block", "parsed-literal", "include", "replace", "sidebar".
540 - Formalized descriptions of directive details.
541 - Added an "align" attribute to the "image" & "figure" directives
542 (by Adam Chodorowski).
544 * spec/rst/interpreted.txt: Added to project. Descriptions of
545 interpreted text roles.
547 * spec/rst/introduction.txt:
549 - Added pointers to material for new users.
551 * spec/rst/reStructuredText.txt:
553 - Disambiguated comments (just add a newline after the "::").
554 - Updated enumerated list description; added a discussion of the
555 second-line validity checking.
556 - Updated directive description.
557 - Added a note redirecting newbies to the user docs.
558 - Expanded description of inline markup start-strings in non-markup
560 - Removed field arguments and made field lists a generic construct.
561 - Removed the 4-character minimum for section title underlines.
562 - Clarified term/classifier delimiter & inline markup ambiguity
564 - Added "Embedded URIs".
565 - Updated "Interpreted Text" section.
566 - Added "Character-Level Inline Markup" section.
568 * test: Continually adding & updating tests.
570 - Moved test/test_rst/ to test/test_parsers/test_rst/.
571 - Moved test/test_pep/ to test/test_readers/test_pep/.
572 - Added test/test_readers/test_python/.
573 - Added test/test_writers/ (Engelbert Gruber).
577 - Made the ``locale.setlocale()`` calls in front ends
580 * tools/buildhtml.py:
582 - Added "--silent" option.
583 - Fixed bug with absolute paths & "--config".
584 - Updated for new I/O classes.
585 - Added some exception handling.
586 - Separated publishers' setting defaults; prevents interference.
587 - Updated for new ``publish_file()`` convenience function.
589 * tools/pep-html-template:
591 - Allow for "--embed-stylesheet".
592 - Added Docutils version to "generator" meta tag.
593 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
594 - Conform to XHTML spec.
598 - Made ``argv`` a parameter to ``main()``.
599 - Added support for "Content-Type:" header & arbitrary PEP formats.
600 - Linked "Content-Type: text/plain" to PEP 9.
601 - Files skipped (due to an error) are not pushed onto the server.
602 - Updated for new I/O classes.
603 - Added ``check_requirements()`` & ``pep_type_error()``.
604 - Added some exception handling.
605 - Updated for new ``publish_string()`` convenience function.
606 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
608 * tools/quicktest.py:
610 - Added "-V"/"--version" option.
612 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
614 * tools/editors: Support code for editors, added to project. Contains
615 ``emacs/restructuredtext.el``.
617 * tools/stylesheets/default.css: Moved into the stylesheets directory.
619 - Added style for chunks of inline literals.
620 - Removed margin for first child of table cells.
621 - Right-aligned field list names.
622 - Support for auto-numbered section titles in TOCs.
623 - Increased the size of inline literals (<tt>) in titles.
624 - Restored the light gray background for inline literals.
625 - Added support for "line_block" elements.
626 - Added style for "address" elements.
627 - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
628 - Improved field list rendering.
629 - Vertical whitespace improvements.
630 - Removed "a.target" style.
632 * tools/stylesheets/pep.css:
634 - Fixed nested section margins.
635 - Other changes parallel those of ``../default.css``.
638 Release 0.2 (2002-07-31)
639 ========================
643 - The word "component" was being used ambiguously. From now on,
644 "component" will be used to mean "Docutils component", as in Reader,
645 Writer, Parser, or Transform. Portions of documents (Table of
646 Contents, sections, etc.) will be called "document parts".
647 - Did a grand renaming: a lot of ``verylongnames`` became
649 - Cleaned up imports: no more relative package imports or
650 comma-separated lists of top-level modules.
651 - Added support for an option values object which carries default
652 settings and overrides (from command-line options and library use).
653 - Added internal Unicode support, and support for both input and
655 - Added support for the ``docutils.io.IO`` class & subclasses.
659 * docutils/__init__.py:
661 - Added ``ApplicationError`` and ``DataError``, for use throughout
663 - Added ``Component`` base class for Docutils components; implements
664 the ``supports`` method.
665 - Added ``__version__`` (thus, ``docutils.__version__``).
669 - Removed many keyword parameters to ``Publisher.__init__()`` and
670 ``publish()``; bundled into an option values object. Added
671 "argv", "usage", "description", and "option_spec" parameters for
672 command-line support.
673 - Added ``Publisher.process_command_line()`` and ``.set_options()``
675 - Reworked I/O model for ``docutils.io`` wrappers.
676 - Updated ``Publisher.set_options()``; now returns option values
678 - Added support for configuration files (/etc/docutils.conf,
679 ./docutils.conf, ~/.docutils).
680 - Added ``Publisher.setup_option_parser()``.
681 - Added default usage message and description.
683 * docutils/frontend.py: Added to project; support for front-end
684 (command-line) scripts. Option specifications may be augmented by
685 components. Requires Optik (http://optik.sf.net/) for option
686 processing (installed locally as docutils/optik.py).
688 * docutils/io.py: Added to project; uniform API for a variety of input
693 - Added ``TreeCopyVisitor`` class.
694 - Added a ``copy`` method to ``Node`` and subclasses.
695 - Added a ``SkipDeparture`` exception for visitors.
696 - Renamed ``TreePruningException`` from ``VisitorException``.
697 - Added docstrings to ``TreePruningException``, subclasses, and
699 - Improved docstrings.
700 - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
701 - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
703 - Added ``decoration``, ``header``, and ``footer`` node classes, and
704 ``PreDecorative`` mixin.
705 - Reworked the name/id bookkeeping; to ``document``, removed
706 ``explicit_targets`` and ``implicit_targets`` attributes, added
707 ``nametypes`` attribute and ``set_name_id_map`` method.
708 - Added ``NodeFound`` exception, for use with ``NodeVisitor``
710 - Added ``document.has_name()`` method.
711 - Fixed DOM generation for list-attributes.
712 - Added category class ``Labeled`` (used by footnotes & citations).
713 - Added ``Element.set_class()`` method (sets "class" attribute).
715 * docutils/optik.py: Added to project. Combined from the Optik
716 package, with added option groups and other modifications. The use
717 of this module is probably only temporary.
719 * docutils/statemachine.py:
721 - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
722 - Added underscores to improve many awkward names.
723 - In ``string2lines()``, changed whitespace normalizing translation
724 table to regexp; restores Python 2.0 compatibility with Unicode.
726 * docutils/urischemes.py:
728 - Filled in some descriptions.
729 - Added "shttp" scheme.
733 - Added ``clean_rcs_keywords`` function (moved from
734 docutils/transforms/frontmatter.py
735 ``DocInfo.filter_rcs_keywords``).
736 - Added underscores to improve many awkward names.
737 - Changed names of Reporter's thresholds:
738 warning_level -> report_level; error_level -> halt_level.
739 - Moved ``utils.id()`` to ``nodes.make_id()``.
740 - Added ``relative_path(source, target)``.
742 * docutils/languages/de.py: German mappings; added to project. Thanks
743 to Gunnar Schwant for the translations.
745 * docutils/languages/en.py: Added "Dedication" bibliographic field
748 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
751 * docutils/parsers/rst/states.py:
753 - Added underscores to improve many awkward names.
754 - Added RFC-2822 header support.
755 - Extracted the inline parsing code from ``RSTState`` to a separate
756 class, ``Inliner``, which will allow easy subclassing.
757 - Made local bindings for ``memo`` container & often-used contents
758 (reduces code complexity a lot). See ``RSTState.runtime_init()``.
759 - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
760 - Added ``MarkupMismatch`` exception; for late corrections.
761 - Added ``-/:`` characters to inline markup's start string prefix,
762 ``/`` to end string suffix.
763 - Fixed a footnote bug.
764 - Fixed a bug with literal blocks.
765 - Applied patch from Simon Budig: simplified regexps with symbolic
766 names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
767 - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
768 - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
769 - Allowed non-ASCII in "simple names" (directive names, field names,
771 - Converted ``Inliner.patterns.initial`` to be dynamically built
772 from parts with ``build_regexp()`` function.
773 - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
774 - Updated docstrings.
775 - Changed "table" to "grid_table"; added "simple_table" support.
777 * docutils/parsers/rst/tableparser.py:
779 - Changed ``TableParser`` to ``GridTableParser``.
780 - Added ``SimpleTableParser``.
783 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
784 a fallback language for directive names.
786 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
787 directive to use a ``pending`` element, used only by HTML writers.
789 * docutils/parsers/rst/directives/parts.py: Renamed from
792 - Added "backlinks" attribute to "contents" directive.
794 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
795 project by Adam Chodorowski.
797 * docutils/readers/__init__.py: Gave Readers more control over
798 choosing and instantiating Parsers.
800 * docutils/readers/pep.py: Added to project; for PEP processing.
802 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
803 requires a ``component`` parameter.
805 * docutils/transforms/components.py: Added to project; transforms
806 related to Docutils components.
808 * docutils/transforms/frontmatter.py:
810 - In ``DocInfo.extract_authors``, check for a single "author" in an
811 "authors" group, and convert it to a single "author" element.
812 - Added support for "Dedication" and generic bibliographic fields.
814 * docutils/transforms/peps.py: Added to project; PEP-specific.
816 * docutils/transforms/parts.py: Renamed from old components.py.
818 - Added filter for `Contents`, to use alt-text for inline images,
819 and to remove inline markup that doesn't make sense in the ToC.
820 - Added "name" attribute to TOC topic depending on its title.
821 - Added support for optional TOC backlinks.
823 * docutils/transforms/references.py: Fixed indirect target resolution
824 in ``Hyperlinks`` transform.
826 * docutils/transforms/universal.py:
828 - Changed ``Messages`` transform to properly filter out system
829 messages below the warning threshold.
830 - Added ``Decorations`` transform (support for ``--generator``,
831 ``--date``, ``--time``, ``--source-link`` options).
833 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
834 Engelbert Gruber's PDF writer.
836 * docutils/writers/html4css1.py:
838 - Made XHTML-compatible (switched to lowercase element & attribute
839 names; empty tag format).
840 - Escape double-dashes in comment text.
841 - Improved boilerplate & modularity of output.
842 - Exposed modular output in Writer class.
843 - Added a "generator" meta tag to <head>.
844 - Added support for the ``--stylesheet`` option.
845 - Added support for ``decoration``, ``header``, and ``footer``
847 - In ``HTMLTranslator.attval()``, changed whitespace normalizing
848 translation table to regexp; restores Python 2.0 compatibility
850 - Added the translator class as instance variable to the Writer, to
851 make it easily subclassable.
852 - Improved option list spacing (thanks to Richard Jones).
853 - Modified field list output.
854 - Added backlinks to footnotes & citations.
855 - Added percentage widths to "<col>" tags (from colspec).
856 - Option lists: "<code>" changed to "<kbd>", ``option_argument``
857 "<span>" changed to "<var>".
858 - Inline literals: "<code>" changed to "<tt>".
859 - Many changes to optimize vertical space: compact simple lists etc.
860 - Add a command-line options & directive attributes to control TOC
861 and footnote/citation backlinks.
862 - Added support for optional footnote/citation backlinks.
863 - Added support for generic bibliographic fields.
865 - Relative URLs for stylesheet links.
867 * docutils/writers/pep_html.py: Added to project; HTML Writer for
868 PEPs (subclass of ``html4css1.Writer``).
870 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
872 * docutils/writers/docutils_xml.py: Added to project; trivial writer
873 of the Docutils internal doctree in XML.
875 * docs/tools.txt: "Docutils Front-End Tools", added to project.
879 - Changed the title to "The Docutils Document Tree".
880 - Added "Hyperlink Bookkeeping" section.
884 - Added ``decoration``, ``header``, and ``footer`` elements.
885 - Brought ``interpreted`` element in line with the parser: changed
886 attribute "type" to "role", added "position".
887 - Added support for generic bibliographic fields.
889 * spec/notes.txt: Continual updates. Added "Project Policies".
891 * spec/pep-0256.txt: Updated. Added "Roadmap to the Doctring PEPs"
894 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
896 * spec/pep-0258.txt: Updated. Added text from pysource.txt and
897 mailing list discussions.
901 - Renamed to "reStructuredText Docstring Format".
903 - Reworked Q&A as an enumerated list.
904 - Converted to reStructuredText format.
908 - Reworked structural elements, incorporating ideas from Tony Ibbs.
910 * spec/pysource.txt: Removed from project. Moved much of its contents
913 * spec/rst/alternatives.txt:
915 - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
916 - Added "Inline External Targets" section.
918 * spec/rst/directives.txt:
920 - Added "backlinks" attribute to "contents" directive.
922 * spec/rst/problems.txt:
924 - Updated the Enumerated List Markup discussion.
925 - Added new alternative table markup syntaxes.
927 * spec/rst/reStructuredText.txt:
929 - Clarified field list usage.
930 - Updated enumerated list description.
931 - Clarified purpose of directives.
932 - Added ``-/:`` characters to inline markup's start string prefix,
933 ``/`` to end string suffix.
934 - Updated "Authors" bibliographic field behavior.
935 - Changed "inline hyperlink targets" to "inline internal targets".
936 - Added "simple table" syntax to supplement the existing but
937 newly-renamed "grid tables".
938 - Added cautions for anonymous hyperlink use.
939 - Added "Dedication" and generic bibliographic fields.
941 * test: Made test modules standalone (subdirectories became packages).
943 * test/DocutilsTestSupport.py:
945 - Added support for PEP extensions to reStructuredText.
946 - Added support for simple tables.
949 * test/package_unittest.py: Renamed from UnitTestFolder.py.
951 - Now supports true packages containing test modules
952 (``__init__.py`` files required); fixes duplicate module name bug.
954 * test/test_pep/: Subpackage added to project; PEP testing.
956 * test/test_rst/test_SimpleTableParser.py: Added to project.
960 - Updated html.py and publish.py front-end tools to use the new
961 command-line processing facilities of ``docutils.frontend``
962 (exposed in ``docutils.core.Publisher``), reducing each to just a
964 - Added ``locale.setlocale()`` calls to front-end tools.
966 * tools/buildhtml.py: Added to project; batch-generates .html from all
967 the .txt files in directories and subdirectories.
971 - Added support for ``header`` and ``footer`` elements.
972 - Added styles for "Dedication" topics (biblio fields).
974 * tools/docutils.conf: A configuration file; added to project.
976 * tools/docutils-xml.py: Added to project.
978 * tools/pep.py: Added to project; PEP to HTML front-end tool.
980 * tools/pep-html-template: Added to project.
982 * tools/pep2html.py: Added to project from Python (nondist/peps).
983 Added support for Docutils (reStructuredText PEPs).
985 * tools/quicktest.py:
987 - Added the ``--attributes`` option, hacked a bit.
988 - Added a second command-line argument (output file); cleaned up.
990 * tools/stylesheets/: Subdirectory added to project.
992 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
995 Release 0.1 (2002-04-20)
996 ========================
998 This is the first release of Docutils, merged from the now inactive
999 reStructuredText__ and `Docstring Processing System`__ projects. For
1000 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
1001 `DPS HISTORY`__ files.
1003 __ http://structuredtext.sourceforge.net/
1004 __ http://docstring.sourceforge.net/
1005 __ http://structuredtext.sourceforge.net/HISTORY.html
1006 __ http://docstring.sourceforge.net/HISTORY.html
1008 General changes: renamed 'dps' package to 'docutils'; renamed
1009 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
1010 the test suites (reStructuredText's test/test_states renamed to
1011 test/test_rst); and all modifications required to make it all work.
1013 * docutils/parsers/rst/states.py:
1015 - Improved diagnostic system messages for missing blank lines.
1016 - Fixed substitution_reference bug.
1022 indent-tabs-mode: nil
1023 sentence-end-double-space: t