summaryrefslogtreecommitdiff
path: root/docutils/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* moved ``escape2null`` and ``unescape`` functions from ↵goodger2004-11-061-0/+25
| | | | | | docutils/parsers/rst/states.py git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2815 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* setting footnote_references to "superscript" or "brackets" now causeswiemann2004-09-301-0/+15
| | | | | | | footnote-reference-space to be trimmed or not, resp. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2681 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* improved DependencyList.__repr__; whitespacegoodger2004-09-301-8/+9
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2672 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added close() method for DependencyListwiemann2004-09-291-0/+10
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2670 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added get_stylesheet_reference(); added documentation for DependencyList;wiemann2004-09-281-1/+38
| | | | | | | made DependencyList.set_output() clear the list of already added dependencies git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2663 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added DependencyList classwiemann2004-09-251-0/+29
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2644 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* make warning_stream workwiemann2004-06-201-4/+10
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2322 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* support for CSV directive implementationgoodger2004-06-171-0/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2299 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* docstringsgoodger2004-06-171-0/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2291 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* docstringsgoodger2004-06-171-0/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2290 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updatedgoodger2004-04-271-1/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2002 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* - allow RCS/CVS $keywords$ to be handled even if there is other text in thefdrake2004-03-301-1/+1
| | | | | | | | | | | relevant docinfo fields (closes SF bug #926198) - make the tests of the RCS/CVS $keyword$ handling less fragile in the face of non-default -k options (closes SF bug #921085) git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@1898 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* add "level" attribute to SystemMessage exceptiongoodger2003-06-291-2/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@1525 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updatedgoodger2003-06-161-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@1484 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Reporter keeps track of the highest level system message yet generated.goodger2003-06-161-0/+4
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@1478 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updatedgoodger2003-06-081-6/+5
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@1401 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added support for encoding Reporter stderr output, and encoding error handlers.goodger2003-06-031-5/+17
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@1371 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* beginnings of substitution case-sensitizinggoodger2003-03-271-4/+0
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@1235 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* real fixgoodger2003-01-101-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@1094 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fixed bug in ``relative_path()``.goodger2003-01-101-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@1077 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added docstringgoodger2002-11-211-0/+9
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@971 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updatedgoodger2002-11-081-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@917 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fixed a bug in ``relative_path()``; updated.goodger2002-10-181-14/+16
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@822 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Improved Reporter diagnostics (line numbers on almost all system messages). ↵goodger2002-10-081-21/+37
| | | | | | Changed Reporter method API slightly. Added ``get_source_line()`` function. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@772 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added support for improved diagnostics.goodger2002-09-241-7/+6
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@712 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updatedgoodger2002-09-111-4/+4
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@665 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* - Added an observer pattern to ``utils.Reporter`` to keep track ofgoodger2002-09-051-1/+31
| | | | | | | | system messages. - Fixed a bug in ``relative_path()``. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@628 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Finished changing "attribute" (or "attr") to "option" for directives/extensions.goodger2002-08-281-11/+11
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@600 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Changed "attribute" to "option" for directives/extensions.goodger2002-08-271-36/+36
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@597 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Renamed ``relative_uri`` to ``relative_path``, & fixed logic (thanks to ↵goodger2002-08-231-3/+3
| | | | | | Kenichi Sato). git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@575 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added a ``source`` attribute to Reporter instances and ``system_message`` ↵goodger2002-08-211-4/+10
| | | | | | elements. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@568 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* bugfixgoodger2002-07-311-1/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@422 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added ``relative_uri(source, target)``.goodger2002-07-281-0/+23
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@396 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Changed format of directive attribute error.goodger2002-07-241-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@359 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* - Added support for input and output encodings and for internal Unicode support.goodger2002-06-281-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@220 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* docstringgoodger2002-06-011-1/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@172 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed 2.2ismgoodger2002-05-301-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@162 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* - Moved ``utils.id()`` to ``nodes.make_id()``.goodger2002-05-301-52/+16
| | | | | | | | | | - Added support for an option values object which carries default settings and overrides (from command-line options and library use). - Cleaned up imports: no more relative package imports or comma-separated lists of top-level modules. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@152 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* - Changed names of Reporter's thresholds: warning_level -> report_level; ↵goodger2002-05-241-35/+36
| | | | | | error_level -> halt_level. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@143 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* refactored; improved compound namesgoodger2002-05-051-28/+38
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@86 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Initial revisiongoodger2002-04-201-0/+373
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@18 929543f6-e4f2-0310-98a6-ba3bd3dd1d04