summaryrefslogtreecommitdiff
path: root/test/test_transforms
Commit message (Collapse)AuthorAgeFilesLines
* added writer_aux.Admonitions transform;wiemann2006-08-161-0/+33
| | | | | | | | use it in html4css1 and newlatex2e; changed priority of writer_aux.Compound transform from 810 to 910; added (basic) admonition support to newlatex2e writer git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4687 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* merged directives branch to trunk (r4375:4666);wiemann2006-07-121-2/+8
| | | | | | | | assert that block quote directives have content; improved test for block quote directives (test_block_quotes); deleted test_epigraphs_etc (replaced by test_block_quotes) git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4667 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* use $Id$ instead of $Date$ and $Revision$;wiemann2006-05-2117-68/+34
| | | | | | | | collapsed Author and Contact fields; use canonical email addresses for David and Felix; (I have reviewed the diff) git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4564 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fixed bug with circular substitution definitions that put Docutils into an ↵goodger2005-12-281-0/+84
| | | | | | infinite loop. Circular substitution definitions are now detected & reported. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4233 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added the universal.StripComments transform, the "strip_comments" setting, ↵goodger2005-12-121-0/+49
| | | | | | and the --strip-comments/--leave-comments options. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4183 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* keep "Authors" field name, no matter how many authors listedgoodger2005-12-111-4/+6
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4173 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* merged branches/s5 changes r4011:4155 into trunk/docutilsgoodger2005-12-081-0/+84
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4156 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* corrected order of importsgoodger2005-12-034-3/+4
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4132 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* fixed Subversion Date keyword parsingwiemann2005-11-111-0/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4044 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* simplified testwiemann2005-11-111-16/+6
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4043 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed more internal state (`document.anonymous_refs` andwiemann2005-10-111-0/+30
| | | | | | | `document.anonymous_targets`) git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3939 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* disallow anonymous hyperlink references and auto-numbered footnoteswiemann2005-10-111-4/+7
| | | | | | inside of substitution definitions git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3937 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added Node.deepcopy(); fixed bug with doubly-indirect substitutionswiemann2005-10-111-45/+43
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3935 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* disallow targets inside substitution definitionswiemann2005-10-111-0/+24
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3933 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added ``serial_escape`` function; escapes string values that are elements of ↵goodger2005-10-028-80/+80
| | | | | | a list, for serialization. Modified Docutils-XML writing (``Element._dom_node``) and pseudo-XML writing (``Element.starttag``) to use ``serial_escape``. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3915 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added support for "class" directive content.goodger2005-09-291-0/+24
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3912 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added support for specifying runtime settings at the suite levelgoodger2005-09-151-5/+6
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3879 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added writer_aux module containing Compound transform,wiemann2005-09-111-0/+57
| | | | | | which flattens the compound paragraph structure git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3872 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* replaced node.parent.replace(node, new) constructs with node.substitute(new)wiemann2005-09-112-4/+4
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3870 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* fixed image target test in test_transforms/test_hyperlinks.pywiemann2005-08-241-3/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3831 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* restored a bug (removed in r3807) which lingers; added a commented-out test ↵goodger2005-08-151-0/+45
| | | | | | case for said bug; removed a bogus bug git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3809 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed bug with indirect substitutions; seems to be fixedwiemann2005-08-141-0/+25
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3807 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* renamed universal.FinalChecks to references.DanglingReferences;wiemann2005-07-052-81/+48
| | | | | | changed priority to 680 git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3659 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* moved expose_internals logic out of FinalChecks into awiemann2005-07-052-1/+42
| | | | | | separate transform, universal.ExposeInternals git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3658 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* moved transition transform logic from universal.FinalChecks towiemann2005-07-052-282/+308
| | | | | | a separate transform, misc.Transitions git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3657 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed document.internal_targets and document.external_targets;wiemann2005-06-291-0/+18
| | | | | | fixed bug (not sure yet if the code is clean -- needs refactoring) git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3637 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* move metadata title into document['title']wiemann2005-06-291-9/+11
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3621 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added assert to make sure the kwargs get passed to apply()wiemann2005-06-271-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3613 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* moved & renamed to remove overlap between file & directory/packagegoodger2005-06-271-0/+42
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3610 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* fixed false assumption about pathgoodger2005-06-171-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3509 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added "local" class to local TOCswiemann2005-06-061-3/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3439 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* renamed command-line options for SectSubTitle transform (plural reads ↵goodger2005-05-191-2/+2
| | | | | | better); tweaked test text git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3353 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added SectSubTitle transformwiemann2005-05-181-2/+35
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3351 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* allow topics within sidebars; no topics within body elementsgoodger2005-04-091-0/+51
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3199 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed non-deterministic behavior; thanks, David!wiemann2005-03-301-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3149 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* merged rev. 3094:3101 and 3102:HEAD from branches/multiple-ids to trunkwiemann2005-03-2611-342/+459
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3129 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* set executable bits on test fileswiemann2005-03-223-0/+0
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3085 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* fixed bug with chained targets in front of a sectionwiemann2005-03-051-0/+24
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3022 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* made relocated targets before sections zero-lengthwiemann2005-03-051-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3021 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* do not add a TOC-backlink if title contains a referencewiemann2005-03-051-9/+15
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3014 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* reverted accidentally committed filewiemann2005-03-051-4/+4
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3011 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* reverted test_nodes.py from 1.14 to 1.13; the nested scopes arewiemann2005-03-051-4/+4
| | | | | | | | | | | | | necessary because of the lambda expression in line 146:: self.assertEquals(getlist(e, cond=lambda x: x not in e[0:2]), [e[0][0], e[0][1], e[0][1][0], e[2]]) otherwise it doesn't work with Python 2.1 because we can't reference the local e variable. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3010 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* relocate internal targets only in front of sections, doctitles and subtitleswiemann2005-03-051-47/+50
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3008 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* when relocating a target, it now acquires the children of its new parent;wiemann2005-02-271-34/+34
| | | | | | | fixed bug in recording internal targets so that anonymous targets are relocated as well git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2996 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed unnecessary importgoodger2005-02-261-1/+0
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2990 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fixed duplicate footnote label bug.goodger2005-02-262-0/+57
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2989 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed unused linesgoodger2005-02-251-15/+0
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2985 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fixed mislocated internal targets bug, by relocating targets into the next ↵goodger2005-02-251-9/+33
| | | | | | text element. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2984 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Allow multiple class names in the "class" directive.goodger2004-11-061-0/+10
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2808 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added support for trimming whitespace from beside substitution references.goodger2004-11-021-0/+23
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2796 929543f6-e4f2-0310-98a6-ba3bd3dd1d04