summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge lxml-4.4 branch into master.Stefan Behnel2019-12-272-2/+13
|\
| * LP#1844674: Include tail text of comments and PIs in itertext() results ↵Stefan Behnel2019-12-272-2/+13
| | | | | | | | (regression in lxml 4.4).
* | Simplify iterator usage in ElementTextIterator.Stefan Behnel2019-12-271-3/+3
| |
* | Clean up imports in tests.Stefan Behnel2019-12-2723-135/+93
| |
* | Use the available utility function instead of verbose NULL checks.Stefan Behnel2019-11-271-10/+10
| |
* | Fix some typos in comments (found by codespell) (GH-292)Stefan Weil2019-11-133-4/+4
| | | | | | Signed-off-by: Stefan Weil <sw@weilnetz.de>
* | Extend HTML tests a little to include tag matching.Stefan Behnel2019-09-281-3/+19
| |
* | Merge lxml-4.4 branch into master.Stefan Behnel2019-09-181-0/+2
|\ \ | |/
| * Disable profiling and tracing for a critical function to fix crashes in test ↵Stefan Behnel2019-09-181-0/+2
| | | | | | | | cases.
* | Merge lxml-4.4 branch into master.Stefan Behnel2019-09-181-0/+4
|\ \ | |/
| * Also disable profiling for critical functions to fix crashes in test cases.Stefan Behnel2019-09-181-0/+4
| |
* | Merge branch lxml-4.4 into master.Stefan Behnel2019-08-241-2/+15
|\ \ | |/
| * Add docstrings to Cleaner.allow_element() and Cleaner.allow_embedded_url().Stefan Behnel2019-08-241-2/+15
| |
| * Fix false detection of recursive include (GH-286)RainerHausdorf2019-08-182-2/+55
| | | | | | | | | | | | | | | | | | | | Fix false detection of recursive include. In some cases ElementInclude does raise FatalIncludeError because of recursive include detection. This is the case if the same file gets included multiple times, but not recursive. This is a fix for https://bugs.launchpad.net/lxml/+bug/1835708
* | Fix false detection of recursive include (GH-286)RainerHausdorf2019-08-182-2/+55
| | | | | | | | | | | | | | | | | | Fix false detection of recursive include. In some cases ElementInclude does raise FatalIncludeError because of recursive include detection. This is the case if the same file gets included multiple times, but not recursive. This is a fix for https://bugs.launchpad.net/lxml/+bug/1835708
* | Clarify signature of indent() function.Stefan Behnel2019-08-171-2/+4
| |
* | Avoid generating unused indentation strings in indent().Stefan Behnel2019-08-171-11/+9
| |
* | Validate "level" argument in indent() function.Stefan Behnel2019-08-152-0/+13
| |
* | LP#1840234: Move package version from version.txt to "lxml.__version__".Stefan Behnel2019-08-151-0/+3
| |
* | Implement indent() function for in-place pretty-printing of XML trees.Stefan Behnel2019-08-133-0/+181
|/
* LP#1838252: Keep the order provided by an OrderedDict that gets passed as ↵Stefan Behnel2019-07-292-24/+32
| | | | attrib mapping during element creation. This was broken in 4.4.0.
* Modernise some code.Stefan Behnel2019-07-271-6/+4
|
* Update TreeBuilder tests from CPython's test suite.Stefan Behnel2019-07-271-0/+114
|
* Make 'data' argument optional for TreeBuilder.pi(), as in ElementTree.Stefan Behnel2019-07-271-2/+2
|
* Fix typos (GH-282)Min ho Kim2019-06-242-3/+3
|
* Prevent the default namespace from being picked up when searching for ↵Stefan Behnel2019-05-082-4/+66
| | | | | | unprefixed attribute names. Fix copied from https://github.com/python/cpython/pull/13201
* LP#1827833: Fix .rnc parsing support with recent versions of rnc2rng.Stefan Behnel2019-05-062-15/+17
|
* Support parsing from file paths in canonicalize(), not just file-like objects.Stefan Behnel2019-04-292-20/+20
|
* Change canonicalize() interface to return its result as a text string by ↵Stefan Behnel2019-04-292-15/+21
| | | | default.
* Extend tests.Stefan Behnel2019-04-291-0/+20
|
* Implement C14N 2.0 exclusion of tags and attributes.Stefan Behnel2019-04-282-2/+82
|
* Increase test coverage by copying some tests from CPython.Stefan Behnel2019-04-282-0/+48
|
* Do something useful with the result of target.close() in _tree_to_target(), ↵Stefan Behnel2019-04-271-1/+1
| | | | for cases where the target actually returns something.
* Fix last minute change.Stefan Behnel2019-04-271-1/+1
|
* Correctly serialise text content in ET.write() and ET.tostring() with C14N 2.0.Stefan Behnel2019-04-274-23/+104
|
* Implement "c14n2" serialisation method via iterwalk().Stefan Behnel2019-04-273-11/+211
|
* Make iterwalk() correctly handle comments and PIs via events (instead of ↵Stefan Behnel2019-04-271-14/+48
| | | | reporting them as "start" events).
* Reduce overhead in C14N serialisation for empty namespace and/or attribute ↵Stefan Behnel2019-04-261-10/+16
| | | | lists.
* Avoid redundant list of list creation.Stefan Behnel2019-04-261-1/+1
|
* Add C14N 2.0 implementation.Stefan Behnel2019-04-2657-1/+794
|
* Make a test optional that uses ctypes.Stefan Behnel2019-04-241-3/+6
|
* Prevent invalid field access if parser target is None and clarify a callback ↵Stefan Behnel2019-04-221-4/+8
| | | | function name that relies on the target.
* Rename test to make it run later since it's more complex than other related ↵Stefan Behnel2019-04-221-1/+1
| | | | tests.
* Make bit enums in sax parser more obvious.Stefan Behnel2019-04-221-14/+14
|
* Tighten conditions under which we need to overwrite the parser start/end ↵Stefan Behnel2019-04-221-7/+17
| | | | even callbacks: no namespace parsing => no namespace callbacks.
* Fix end-ns reporting in pull parser when start-ns events are not requested.Stefan Behnel2019-04-222-8/+54
|
* Leave constant tuple packing to Cython.Stefan Behnel2019-04-221-4/+1
|
* Repair handling of "end_ns" target callbacks when "start" events are not ↵Stefan Behnel2019-04-222-41/+121
| | | | requested.
* Disable a compatibility test in Py3.8 < alpha4 where it fails in ElementTree.Stefan Behnel2019-04-211-2/+2
|
* Disable a compatibility test in Py3.5 where it fails in ElementTree. (It ↵Stefan Behnel2019-04-211-0/+1
| | | | would work in Py2.7, but who cares, really.)