summaryrefslogtreecommitdiff
path: root/sandbox/rstdiff/rstdiff.py
Commit message (Collapse)AuthorAgeFilesLines
* `generated` nodes are replaced by `inline` nodes so changed sectionsmerten2011-04-091-0/+14
| | | | | | | numbers are marked up correctly. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7004 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Debugging.smerten2011-04-041-13/+20
| | | | | | | | Introduced `--dump-rstdiff` since normal `--debug` fails to often with non-ASCII input documents. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7001 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Renamed option `--compare-sections-by-id` tosmerten2011-04-041-8/+13
| | | | | | | | `--compare-sections-by-name` and comparison is done by name. This works for duplicated section titles, too. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7000 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* New default option `--compare-sections-by-id` compares sections bysmerten2011-04-021-28/+60
| | | | | | | | | | their ids. New option `--compare-sections-normally` uses the old behavior. Changed documentation format to reStructuredText. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@6999 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Using new options `--new`, `--old` and `--both` you may give optionssmerten2011-03-261-0/+115
| | | | | | | | | | | | | | applying only to a certain input file. This can be used to compute difference with different `--strip-elements-with-class` options. Changing number of columns in tables are processed correctly. Adapted tests to latest Docutils snapshot. Added test `table` in `simpleNoSource` for yet unsolved problem. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@6995 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Parent classes are considered for up propagating candidates.smerten2010-11-141-7/+10
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@6482 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Some elements which may not be doubled by a replacement because theysmerten2010-11-131-35/+75
| | | | | | | | | | | | | | | | must be single by definition propagate a replacement up if their siblings also could propagate a replacement up. This way for instance sections which are complete replacements are recognized and marked up properly. Added README and man page `rstdiff.pod`. Upgraded tests to filterunit V0.7.1. Adapted expected test output to Docutils 0.8. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@6481 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Once only elements no longer propagate their changes up. Though thissmerten2010-08-081-28/+87
| | | | | | | | is correct this leads to sections not being replaced as a whole any more. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@6384 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added many tests and todos. One test doesn't run yet.smerten2010-08-011-2/+165
| | | | | | | | | | | | Empty inlines are not generated. Necessary attributes are considered. Elements which may contain only #PCDATA propagate their inner changes up to the element itself. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@6382 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Standard transformations are done. Tests added. HTML output works.smerten2010-07-101-12/+14
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@6374 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Minor improvement.smerten2010-07-031-3/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@6353 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* All unit tests run.smerten2010-07-031-9/+17
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@6352 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Text and blocks are handled. All unit tests but the section test aresmerten2010-07-031-24/+109
| | | | | | | green. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@6350 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* First children are merged.smerten2010-06-201-114/+263
| | | | | | | | | Refactoring: `Text` is split into `Word` and `White`. Some unit tests green. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@6347 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Minimal diff document is built and output is written. First unit testsmerten2010-06-051-21/+224
| | | | | | | green. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@6338 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added basic script including some infrastructure.smerten2010-05-241-0/+265
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@6329 929543f6-e4f2-0310-98a6-ba3bd3dd1d04