summaryrefslogtreecommitdiff
path: root/docutils/transforms/universal.py
Commit message (Collapse)AuthorAgeFilesLines
* some more subdoc pruningwiemann2007-08-241-6/+5
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/subdocs@5426 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added ``--strip-elements-with-class`` and ``--strip-class`` options ↵goodger2007-02-121-2/+36
| | | | | | (``strip_elements_with_classes`` and ``strip_classes`` settings) and ``StripClassesAndElements`` transform. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4913 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* use $Id$ instead of $Date$ and $Revision$;wiemann2006-05-211-4/+2
| | | | | | | | 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
* Added the universal.StripComments transform, the "strip_comments" setting, ↵goodger2005-12-121-0/+15
| | | | | | 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
* fixed bug with expose_internals setting and Text nodes (exposed by the ↵goodger2005-09-151-1/+4
| | | | | | "rawsource" internal attribute) git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3877 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* simplified FilterMessages transformwiemann2005-07-071-12/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3665 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* sorted transform declarations by prioritywiemann2005-07-061-17/+17
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3661 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* fixed TestMessages priority to conform to docswiemann2005-07-061-1/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3660 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* renamed universal.FinalChecks to references.DanglingReferences;wiemann2005-07-051-76/+0
| | | | | | 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-051-7/+18
| | | | | | 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-051-81/+5
| | | | | | a separate transform, misc.Transitions git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3657 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* improved cloaking mechanismwiemann2005-07-011-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3644 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* fixed bugs: don't access a node's children attribute directly\!goodger2005-04-071-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3186 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added "header" & "footer" directives, tests, docs, support, and some tweaksgoodger2005-04-071-16/+11
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3184 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* merged reporter-categories branch into trunk: removed ↵goodger2005-04-051-2/+2
| | | | | | docutils.utils.Reporter.categories, docutils.utils.ConditionSet, and all references to them, to simplify error reporting git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3171 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* merged rev. 3094:3101 and 3102:HEAD from branches/multiple-ids to trunkwiemann2005-03-261-2/+17
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3129 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* moved transition transformation code to universal.FinalCheckVisitorwiemann2004-10-301-1/+68
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2781 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added specific error message for duplicate targets.goodger2004-05-041-3/+8
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2022 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* simplified codegoodger2004-04-021-6/+5
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@1905 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added unknown_reference_resolvers list for each transformer. This list holdsmmgilbe2004-03-251-7/+2
| | | | | | | | | | the list of functions provided by each component of the transformer that help resolve references. Removed all refernces to the origuri code, which was broken. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@1894 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added hook (via docutils.TransformSpec.unknown_reference_resolvers)mmgilbe2004-03-221-10/+27
| | | | | | | | to FinalCheckVisitor for application-specific handling of unresolvable references. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@1855 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added FilterMessages transform (removes system messages below the verbosity ↵goodger2004-01-231-0/+23
| | | | | | threshold) git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@1811 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Don't use len(L) > 0 to test for non-emptiness of L; lists are true iffdrake2003-04-101-1/+1
| | | | | | | non-empty and false if empty. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@1274 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Completed transform reform; removed ``Pending`` transform classes & data; ↵goodger2002-10-241-61/+8
| | | | | | updated. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@852 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Refactored names (options -> settings; .transform() -> .apply(); etc.); updated.goodger2002-10-181-19/+20
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@825 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added support for the ``--expose-internal-attributes`` option.goodger2002-10-081-8/+24
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@771 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updatedgoodger2002-09-051-10/+11
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@631 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updatedgoodger2002-08-231-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@585 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updatedgoodger2002-07-311-3/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@425 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* bugfixgoodger2002-07-281-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@403 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* bugfixgoodger2002-07-281-2/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@402 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Changed "Decorations" transform to produce relative source links.goodger2002-07-281-2/+7
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@400 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Rearranged footer.goodger2002-07-041-8/+8
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@242 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* fiddlinggoodger2002-06-271-8/+7
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@210 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* - Added ``Decorations`` transform (support for "--generator",goodger2002-06-011-1/+57
| | | | | | | "--date", "--time", "--source-link" options). git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@169 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Cleaned up importsgoodger2002-05-301-1/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@160 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* - Changed names of Reporter's thresholds: warning_level -> report_level; ↵goodger2002-05-241-1/+1
| | | | | | error_level -> halt_level. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@143 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updatedgoodger2002-05-221-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@138 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* name improvementsgoodger2002-05-071-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@109 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Changed ``Messages`` transform to properly filter out system messages below ↵goodger2002-05-051-27/+36
| | | | | | the warning threshold. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@83 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Initial revisiongoodger2002-04-201-0/+149
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@18 929543f6-e4f2-0310-98a6-ba3bd3dd1d04