summaryrefslogtreecommitdiff
path: root/src/lxml
Commit message (Collapse)AuthorAgeFilesLines
* repair test after reverting XSLT error log changelxml-3.7Stefan Behnel2017-03-261-2/+10
|
* LP#1551797: revert fix as it breaks multi-threaded XSLT processingStefan Behnel2017-03-251-10/+0
|
* improve type check and commentStefan Behnel2017-03-181-4/+4
|
* Perform full-document detection on decoded bytes.Koert van der Veer2017-03-162-1/+14
| | | | Closes #1673355
* Skip TempPathXmlFileTestCase for the incremental XML APIPaul "TBBle" Hampson2017-02-121-0/+1
| | | | | | | | | On "Windows NT or later", you cannot reopen a file created by `tempfile.NamedTemporaryFile` while the file-like object is still active. See https://docs.python.org/3/library/tempfile.html#tempfile.NamedTemporaryFile
* Support class decorators in Python 2.6 @skipIf fallbackPaul "TBBle" Hampson2017-02-131-4/+8
| | | | | Python 2.6 introduced support for class decorators, but returning 'None' causes the Python 2.6 unittest module to fail an assertion.
* clean up test importsStefan Behnel2017-01-221-4/+2
|
* repair xmlfile serialisation: comparing bytes to str always fails in Py3Stefan Behnel2017-01-221-3/+4
|
* repair xmlfile test in Py3: requires unicode escape resolving in test stringStefan Behnel2017-01-221-3/+4
|
* fix typos in error handling codeStefan Behnel2017-01-081-2/+2
|
* fix UTF-8 error handling in _write_attr_string()Stefan Behnel2017-01-083-5/+20
|
* support exception raising from _write_attr_string()Stefan Behnel2017-01-081-1/+1
|
* avoid redundant casting and Python conversions in attribute serialisation codeStefan Behnel2017-01-081-16/+16
|
* remove some trailing semicolons that were left over from copied C code but ↵Stefan Behnel2017-01-081-43/+46
| | | | are useless in Cython
* port libxml2's xmlBufAttrSerializeTxtContent as _write_attr_stringBurak Arslan2017-01-061-1/+195
|
* try to use the new functionBurak Arslan2016-12-272-2/+2
|
* import xmlBufAttrSerializeTxtContent from libxmlBurak Arslan2016-12-271-0/+2
|
* add test for attribute quotingBurak Arslan2016-12-271-0/+7
|
* fix <script> text content serialization in incremental html modeBurak Arslan2016-12-232-1/+22
|
* whitespaceStefan Behnel2016-12-101-1/+2
|
* enable the collect_ids option also for HTML and add a simple test for itStefan Behnel2016-12-102-3/+19
|
* Merge pull request #216 from plq/arskomscoder2016-12-101-4/+6
|\ | | | | expose collect_ids for HTMLParser as well
| * expose collect_ids for HTMLParserBurak Arslan2016-12-081-4/+6
| |
* | make test Py2.6 compatibleStefan Behnel2016-12-061-1/+1
| |
* | Make XMLSyntaxError have normal SyntaxError metadataPhilipp A2016-12-043-6/+37
| |
* | minor code cleanupsStefan Behnel2016-12-041-12/+7
| |
* | docstring updateBurak Arslan2016-12-041-1/+4
|/
* add xml mode test for .element() callsBurak Arslan2016-11-291-0/+17
|
* add test for temporary output method override in incremental writerBurak Arslan2016-11-291-0/+21
|
* Make it possible to temporarily override output method when calling ↵Burak Arslan2016-11-291-3/+10
| | | | _IncrementalWriter.write
* do not override non-empty error messages that start with a newlineStefan Behnel2016-10-011-1/+3
|
* Fix xslt error parsing so filename and line numbers show.Marcus Brinkmann2016-09-151-3/+3
|
* replace IS_PYTHON3 C macro with IS_PYTHON2 before it starts looking funny in ↵Stefan Behnel2016-09-039-29/+33
| | | | Python 4.x :)
* use PyUnicode_FromFormat() also in Py2.x (but not in PyPy which doesn't have it)Stefan Behnel2016-09-031-2/+2
|
* fix compilation with libxml2 < 2.7.8Stefan Behnel2016-09-031-0/+3
|
* Merge pull request #205 from dufferzafar/test-default-doctypescoder2016-08-201-0/+8
|\ | | | | Add tests for the default_doctype option
| * Add tests for the default_doctype optionShadab Zafar2016-08-201-0/+8
| |
* | Revert "Revert "Revert "Merge pull request #184 from Pelleplutt/master"""Stefan Behnel2016-08-203-44/+12
| | | | | | | | This reverts commit 8c19b669360bb66726571e80884f7f5ca5e30b9a.
* | Revert "Revert "Merge pull request #184 from Pelleplutt/master""Stefan Behnel2016-08-203-12/+44
| | | | | | | | This reverts commit 6ea2dab5d5d5b35225a3342faeb705f6197766a5.
* | Revert "Merge pull request #184 from Pelleplutt/master"Stefan Behnel2016-08-203-44/+12
| | | | | | | | | | This reverts commit d71219b77e0a76c312741dfa410ddf07c2f20903, reversing changes made to 714b95c49e81a7770ff407989daa3b38f0ec44c4.
* | Merge pull request #184 from Pelleplutt/masterscoder2016-08-203-12/+44
|\ \ | | | | | | Do not blindly copy all of the namespaces when tostring():ing a subtree.
| * | Adapt the testcases to the new c14n output.Per Lejontand2016-01-221-2/+2
| | |
| * | Use keyword arguments to get rid of the silly one digit bools all over.Per Lejontand2016-01-222-3/+5
| | |
| * | Rename apply_ns->should_copy. Better namePer Lejontand2016-01-221-4/+4
| | |
| * | Default used_only to True as per suggestion by scoder.Per Lejontand2016-01-221-2/+2
| | |
| * | Rename applied_ns_only->used_only.Per Lejontand2016-01-221-6/+6
| | |
| * | Limit the impact of the sparse namespace copy to c14n.Per Lejontand2015-12-152-29/+31
| | | | | | | | | | | | | | | | | | | | | Add control ability of the sleek ns copying to _copyParentNamespaces() so we can turn it off or on depending on the context. This as this is not always desired behavior. Leave it active only on c14n serialization for now.
| * | Limit the use of the GIL to be held more locally.Per Lejontand2015-12-152-4/+4
| | |
| * | Use a more intuitive looping form.Per Lejontand2015-12-151-6/+6
| | |
| * | Do not blindly copy all of the namespaces.Per Lejontand2015-12-142-5/+33
| | | | | | | | | | | | | | | | | | | | | When using a subtree of a document do not simply copy all of the namespaces from all of the parents down. Only copy those that we actually use within the subtree. This as copying all namespaces will bloat the subtree with information it should not have.