summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Release 0.11: set version number to 0.12grubert2013-07-2212-12/+12
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7699 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Consistently use "utf-8" (not "utf8") in magic comment giving source encoding.milde2013-06-047-7/+7
| | | | | | | Fixes problems with Docutils installed in "virtualenv" https://sourceforge.net/p/docutils/patches/105/ git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7668 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Error string change backborted to 2.7.4 and 3.2.4.milde2013-05-171-1/+2
| | | | | | Thanks to Jakub Wilk for reporting. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7664 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix [ 235 ] Python 2.3.3 uses repr when printing unknown url type in urlopen.milde2013-05-161-4/+8
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7663 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix [ 210 ] Python 3.3 checks CVS syntax only if "strict" is True.milde2013-05-161-5/+9
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7662 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Remove TODO comment: writer import with python >= 2.7 is solvedmilde2013-05-071-1/+0
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7660 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Writer comment with (currently ignored) figure alignment to the LaTeX source.milde2013-05-062-4/+4
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7658 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* More test for inline markup recognition (no change to the rules).milde2013-04-281-5/+18
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7656 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix [ 157 ] Line block parsing does not like system message.milde2013-03-221-0/+23
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7638 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Bugfix: do not make "stylesheet-path"s absolute.milde2013-03-152-3/+13
| | | | | | | | The --stylesheet-path arguments are searched in the --stylesheet-dirs, therefore must not be made absolute before. Thanks to Martin Gignac for tracking down the bug. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7630 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Treat embedded standalone hyperlinks as URI, even if ending in underscore.milde2013-03-111-1/+40
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7629 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix [3607063] handle lines starting with a period.grubert2013-03-082-2/+5
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7626 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix [ 3607029 ] traceback with embedded alias pointing to missing target.milde2013-03-071-0/+22
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7624 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* New default for `math-output` setting: "HTML math.css".milde2013-03-043-10/+22
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7623 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix test under Py3k.milde2013-03-041-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7622 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix [ 3606028 ] ``assert`` is skipped with ``python -O``.milde2013-03-041-0/+16
| | | | | | | Also, raise ValueError with list of valid units if length_or_percentage_or_unitless() fails. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7621 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Test case for io.Input.decode with "unicode" data. Cf. bug [ 3606659 ].milde2013-03-041-1/+9
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7620 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Small fixes to math-output=HTML.milde2013-03-022-7/+9
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7619 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* New setting `stylesheet_dirs`.milde2013-03-022-15/+78
| | | | | | | | | | | | | | | | Comma-separated list of directories where stylesheets are found. Used by `stylesheet_path` when expanding relative path arguments. Now, it is easy to add a custom stylesheet to Docutils default stylesheet with, e.g., --stylesheet_path="html4css1.css, mystyle.css" Changed behaviour of the default settings: if there is a file "html4css1.css" in the working directory of the process at launch, it is used instead of the one provided by Docutils in the writer source directory. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7618 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* FIX [ docutils-Bugs-3594442 ] complex table formatting errorgrubert2013-02-211-2/+4
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7617 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* docutils-Bugs-3594442 : complex table formatting errorgrubert2013-02-212-0/+54
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7616 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* regression test for sphinx admonitiongrubert2013-02-211-0/+23
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7613 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Support embedded aliases within hyperlink references.milde2013-02-182-0/+121
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7610 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix functional manpage testgrubert2013-02-181-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7609 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* always include macro defgrubert2013-02-161-4/+8
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7607 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* move comment "Man page generated from reStructuredText." to first line (always)grubert2013-02-161-9/+9
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7605 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* fix manpage test grubert2013-02-161-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7604 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Apply [ 2714873 ] Fix for the overwritting of document attributes.milde2013-01-212-1/+146
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7595 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix [ 3601607 ] node.__repr__() must return `str` instance.milde2013-01-211-4/+45
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7592 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* remove trailing whitespacemilde2013-01-201-3/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7591 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix literal use of babel shorthands (straight quote, tilde, ...).milde2013-01-1711-47/+160
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7589 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* latex2e: Drop the simple algorithm replacing straight double quotes.milde2013-01-056-167/+130
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7586 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* smartquotes: Skip emtpy text tokens without updating the last character.milde2013-01-041-2/+14
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7585 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Unify/simplify type testing in "validate_*_list".milde2013-01-011-4/+9
| | | | | | | Circumvent the problem that the value may be "unicode" or "str" by testing for "not a list". git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7584 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix: 3598893 --stylesheet and --stylesheet-path options broken, patch ↵grubert2012-12-311-1/+1
| | | | | | partially applied git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7583 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add tests for frontend.validate_comma_separated_list and ↵grubert2012-12-311-0/+25
| | | | | | frontend.validate_colon_separated_string_list git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7581 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Release 0.10: set version number to 0.11grubert2012-12-1612-12/+12
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7569 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* SmartQuotes transform: language-depended quote characters.milde2012-11-261-6/+77
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7540 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Use True/False for booleans. frontend.validate_ternary() returns True/False ↵milde2012-11-265-14/+14
| | | | | | or value. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7539 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* normalize_language_tag() now returns `BCP 47`_ conformant tagsmilde2012-11-231-4/+7
| | | | | | Subtags separated by ``-``, not ``_``. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7538 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Smartquotes: correct "educating" of quotes around inline markup.milde2012-11-181-2/+81
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7537 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Code cleanup and test html math output options.milde2012-10-252-7/+72
| | | | | | | | Based on patch by Dmitry Shachnev. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7534 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Customizable MathJax URL (based on patch by Dmitry Shachnev).milde2012-10-184-98/+49
| | | | | | Also: No line break after opening inline math tag. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7532 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add SmartQuotes transform for typographic quotes and dashes.milde2012-10-161-0/+51
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7530 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* New setting validators, code cleanup.milde2012-10-121-4/+5
| | | | | | (validate_comma_separated_string_list, validate_ternary) git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7526 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix Py3k error writing to stdout with encoding differing from default.milde2012-10-111-14/+16
| | | | | | Cleanup of the workarounds for Py3k encoding problems. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7525 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Change default of "syntax highlight" option to "long", milde2012-09-148-84/+80
| | | | | | Add basic syntax highlight styles for LaTeX and HTML. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7514 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Use ``<code>`` tag for inline "code", do not drop nested inline nodes ↵milde2012-09-121-2/+2
| | | | | | (syntax highlight tokens). git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7511 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* FIX : forgott tests to __import__ patchgrubert2012-08-275-0/+259
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7504 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix [3559988] and [3560841] __import__ local writer, reader, languages and ↵grubert2012-08-261-0/+5
| | | | | | parsers for Python 2.7 up. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7503 929543f6-e4f2-0310-98a6-ba3bd3dd1d04