Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Merge lxml-4.4 branch into master. | Stefan Behnel | 2019-12-27 | 2 | -2/+13 | |
|\ | ||||||
| * | LP#1844674: Include tail text of comments and PIs in itertext() results ↵ | Stefan Behnel | 2019-12-27 | 2 | -2/+13 | |
| | | | | | | | | (regression in lxml 4.4). | |||||
* | | Simplify iterator usage in ElementTextIterator. | Stefan Behnel | 2019-12-27 | 1 | -3/+3 | |
| | | ||||||
* | | Clean up imports in tests. | Stefan Behnel | 2019-12-27 | 23 | -135/+93 | |
| | | ||||||
* | | Use the available utility function instead of verbose NULL checks. | Stefan Behnel | 2019-11-27 | 1 | -10/+10 | |
| | | ||||||
* | | Fix some typos in comments (found by codespell) (GH-292) | Stefan Weil | 2019-11-13 | 3 | -4/+4 | |
| | | | | | | Signed-off-by: Stefan Weil <sw@weilnetz.de> | |||||
* | | Extend HTML tests a little to include tag matching. | Stefan Behnel | 2019-09-28 | 1 | -3/+19 | |
| | | ||||||
* | | Merge lxml-4.4 branch into master. | Stefan Behnel | 2019-09-18 | 1 | -0/+2 | |
|\ \ | |/ | ||||||
| * | Disable profiling and tracing for a critical function to fix crashes in test ↵ | Stefan Behnel | 2019-09-18 | 1 | -0/+2 | |
| | | | | | | | | cases. | |||||
* | | Merge lxml-4.4 branch into master. | Stefan Behnel | 2019-09-18 | 1 | -0/+4 | |
|\ \ | |/ | ||||||
| * | Also disable profiling for critical functions to fix crashes in test cases. | Stefan Behnel | 2019-09-18 | 1 | -0/+4 | |
| | | ||||||
* | | Merge branch lxml-4.4 into master. | Stefan Behnel | 2019-08-24 | 1 | -2/+15 | |
|\ \ | |/ | ||||||
| * | Add docstrings to Cleaner.allow_element() and Cleaner.allow_embedded_url(). | Stefan Behnel | 2019-08-24 | 1 | -2/+15 | |
| | | ||||||
| * | Fix false detection of recursive include (GH-286) | RainerHausdorf | 2019-08-18 | 2 | -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) | RainerHausdorf | 2019-08-18 | 2 | -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 Behnel | 2019-08-17 | 1 | -2/+4 | |
| | | ||||||
* | | Avoid generating unused indentation strings in indent(). | Stefan Behnel | 2019-08-17 | 1 | -11/+9 | |
| | | ||||||
* | | Validate "level" argument in indent() function. | Stefan Behnel | 2019-08-15 | 2 | -0/+13 | |
| | | ||||||
* | | LP#1840234: Move package version from version.txt to "lxml.__version__". | Stefan Behnel | 2019-08-15 | 1 | -0/+3 | |
| | | ||||||
* | | Implement indent() function for in-place pretty-printing of XML trees. | Stefan Behnel | 2019-08-13 | 3 | -0/+181 | |
|/ | ||||||
* | LP#1838252: Keep the order provided by an OrderedDict that gets passed as ↵ | Stefan Behnel | 2019-07-29 | 2 | -24/+32 | |
| | | | | attrib mapping during element creation. This was broken in 4.4.0. | |||||
* | Modernise some code. | Stefan Behnel | 2019-07-27 | 1 | -6/+4 | |
| | ||||||
* | Update TreeBuilder tests from CPython's test suite. | Stefan Behnel | 2019-07-27 | 1 | -0/+114 | |
| | ||||||
* | Make 'data' argument optional for TreeBuilder.pi(), as in ElementTree. | Stefan Behnel | 2019-07-27 | 1 | -2/+2 | |
| | ||||||
* | Fix typos (GH-282) | Min ho Kim | 2019-06-24 | 2 | -3/+3 | |
| | ||||||
* | Prevent the default namespace from being picked up when searching for ↵ | Stefan Behnel | 2019-05-08 | 2 | -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 Behnel | 2019-05-06 | 2 | -15/+17 | |
| | ||||||
* | Support parsing from file paths in canonicalize(), not just file-like objects. | Stefan Behnel | 2019-04-29 | 2 | -20/+20 | |
| | ||||||
* | Change canonicalize() interface to return its result as a text string by ↵ | Stefan Behnel | 2019-04-29 | 2 | -15/+21 | |
| | | | | default. | |||||
* | Extend tests. | Stefan Behnel | 2019-04-29 | 1 | -0/+20 | |
| | ||||||
* | Implement C14N 2.0 exclusion of tags and attributes. | Stefan Behnel | 2019-04-28 | 2 | -2/+82 | |
| | ||||||
* | Increase test coverage by copying some tests from CPython. | Stefan Behnel | 2019-04-28 | 2 | -0/+48 | |
| | ||||||
* | Do something useful with the result of target.close() in _tree_to_target(), ↵ | Stefan Behnel | 2019-04-27 | 1 | -1/+1 | |
| | | | | for cases where the target actually returns something. | |||||
* | Fix last minute change. | Stefan Behnel | 2019-04-27 | 1 | -1/+1 | |
| | ||||||
* | Correctly serialise text content in ET.write() and ET.tostring() with C14N 2.0. | Stefan Behnel | 2019-04-27 | 4 | -23/+104 | |
| | ||||||
* | Implement "c14n2" serialisation method via iterwalk(). | Stefan Behnel | 2019-04-27 | 3 | -11/+211 | |
| | ||||||
* | Make iterwalk() correctly handle comments and PIs via events (instead of ↵ | Stefan Behnel | 2019-04-27 | 1 | -14/+48 | |
| | | | | reporting them as "start" events). | |||||
* | Reduce overhead in C14N serialisation for empty namespace and/or attribute ↵ | Stefan Behnel | 2019-04-26 | 1 | -10/+16 | |
| | | | | lists. | |||||
* | Avoid redundant list of list creation. | Stefan Behnel | 2019-04-26 | 1 | -1/+1 | |
| | ||||||
* | Add C14N 2.0 implementation. | Stefan Behnel | 2019-04-26 | 57 | -1/+794 | |
| | ||||||
* | Make a test optional that uses ctypes. | Stefan Behnel | 2019-04-24 | 1 | -3/+6 | |
| | ||||||
* | Prevent invalid field access if parser target is None and clarify a callback ↵ | Stefan Behnel | 2019-04-22 | 1 | -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 Behnel | 2019-04-22 | 1 | -1/+1 | |
| | | | | tests. | |||||
* | Make bit enums in sax parser more obvious. | Stefan Behnel | 2019-04-22 | 1 | -14/+14 | |
| | ||||||
* | Tighten conditions under which we need to overwrite the parser start/end ↵ | Stefan Behnel | 2019-04-22 | 1 | -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 Behnel | 2019-04-22 | 2 | -8/+54 | |
| | ||||||
* | Leave constant tuple packing to Cython. | Stefan Behnel | 2019-04-22 | 1 | -4/+1 | |
| | ||||||
* | Repair handling of "end_ns" target callbacks when "start" events are not ↵ | Stefan Behnel | 2019-04-22 | 2 | -41/+121 | |
| | | | | requested. | |||||
* | Disable a compatibility test in Py3.8 < alpha4 where it fails in ElementTree. | Stefan Behnel | 2019-04-21 | 1 | -2/+2 | |
| | ||||||
* | Disable a compatibility test in Py3.5 where it fails in ElementTree. (It ↵ | Stefan Behnel | 2019-04-21 | 1 | -0/+1 | |
| | | | | would work in Py2.7, but who cares, really.) |