| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Use "noexcept" modifiers for callback functions and fix some exception value ↵ | Stefan Behnel | 2022-12-23 | 3 | -19/+19 |
| | | | | | declaration bugs found by Cython 3.0. | ||||
| * | Use generic 'nogil' block markers in pxd declarations where possible, except ↵ | Stefan Behnel | 2022-12-15 | 12 | -297/+297 |
| | | | | | for a few callback declarations that may be used for regular GIL functions. | ||||
| * | Work around libxml2 bug in affected versions that failed to reset the ↵ | Stefan Behnel | 2022-07-19 | 1 | -0/+1 |
| | | | | | | | namespace count in the parser context. See https://gitlab.gnome.org/GNOME/libxml2/-/issues/378 | ||||
| * | #undefine "PyUnicode_IS_READY" and friends in Py3.12 since CPython still ↵ | Stefan Behnel | 2022-05-17 | 1 | -7/+0 |
| | | | | | defines them as dummies. | ||||
| * | Add new error constant from libxml2 2.9.14. | Stefan Behnel | 2022-05-17 | 1 | -0/+1 |
| | | |||||
| * | Allow Path-like objects for file arguments (GH-337) | Henning Janssen | 2022-02-12 | 1 | -0/+6 |
| | | | | Use "PyOS_FSPath()" if available (Py3.6+). Otherwise, manually check for "__fspath__", in case an object defines it. | ||||
| * | Remove support for CPython 3.4. | Stefan Behnel | 2019-04-21 | 1 | -2/+2 |
| | | |||||
| * | Simplify Element.clear() and reduce overhead in the attribute clearing code. | Stefan Behnel | 2019-03-01 | 1 | -0/+1 |
| | | |||||
| * | LP#1814522: Fix a crash when appending a child subtree that contains ↵ | Stefan Behnel | 2019-02-05 | 1 | -0/+2 |
| | | | | | | | | unsubstituted entity references. This is a work-around for a (supposed) bug in libxml2 (https://gitlab.gnome.org/GNOME/libxml2/issues/42), which crashes by running into an infinite recursive loop while traversing the child nodes of the entity reference. A lucky side effect is that the previously duplicated cleanup traversal to a) update the .doc pointers in libxml2 and b) update the dict names in lxml is now replaced by a single traversal, which should speed things up for large subtrees. | ||||
| * | Remove redundant code for Python <= 2.6 | Hugo | 2018-08-25 | 1 | -7/+2 |
| | | |||||
| * | Suppress C compiler warning in Py2.6. | Stefan Behnel | 2017-11-27 | 1 | -1/+1 |
| | | |||||
| * | Fix some C compiler warnings. | Stefan Behnel | 2017-08-31 | 1 | -1/+1 |
| | | |||||
| * | Add a ``.write_result()`` method to XSLT result objects to simplify writing ↵ | Stefan Behnel | 2017-08-17 | 2 | -1/+14 |
| | | | | | the expected output into a file. | ||||
| * | Properly integrate the compilation of _elementpath.py and some lxml.html ↵ | Stefan Behnel | 2017-08-11 | 2 | -1/+1 |
| | | | | | | | modules into the build process and exclude it in PyPy. Also finally rename lxml.etree.pyx and lxml.objectify.pyx to their correct module names and provide some legacy integration aid by keeping the original API header file names. | ||||
| * | capture location of node with error if available | Bob Kline | 2017-04-23 | 1 | -0/+1 |
| | | |||||
| * | adding adoptExternalDocument to the public header | Al | 2017-04-22 | 1 | -4/+3 |
| | | |||||
| * | add documentFactory to public header | Al | 2017-04-14 | 1 | -0/+4 |
| | | |||||
| * | fix spelling mistakes originally found by scop in GH#230 | Stefan Behnel | 2017-03-18 | 1 | -2/+2 |
| | | |||||
| * | Add type checking for the capsule | Kovid Goyal | 2017-02-19 | 1 | -0/+6 |
| | | | | | adopt_external_document() should type check its argument | ||||
| * | Implement new API function "adopt_external_document()" that accepts a ↵ | Stefan Behnel | 2017-02-18 | 1 | -0/+37 |
| | | | | | PyCapsule with a libxml2 document pointer and wraps it in an lxml ElementTree | ||||
| * | fix UTF-8 error handling in _write_attr_string() | Stefan Behnel | 2017-01-08 | 1 | -0/+1 |
| | | |||||
| * | try to use the new function | Burak Arslan | 2016-12-27 | 1 | -1/+1 |
| | | |||||
| * | import xmlBufAttrSerializeTxtContent from libxml | Burak Arslan | 2016-12-27 | 1 | -0/+2 |
| | | |||||
| * | replace IS_PYTHON3 C macro with IS_PYTHON2 before it starts looking funny in ↵ | Stefan Behnel | 2016-09-03 | 1 | -8/+10 |
| | | | | | Python 4.x :) | ||||
| * | fix compilation with libxml2 < 2.7.8 | Stefan Behnel | 2016-09-03 | 1 | -0/+3 |
| | | |||||
| * | Fix setting the base url for etree.Resolver.resolve_string | Michael van Tellingen | 2016-07-18 | 1 | -0/+1 |
| | | | | | | | | | See https://github.com/GNOME/libxml2/blob/master/parserInternals.c#L1549 We seem to get away with only setting the _filename so that relative url's are resolved based on the value. Fixes https://bugs.launchpad.net/lxml/+bug/1568167 | ||||
| * | repair last patch by saving and restoring the correct XSLT error ↵ | Stefan Behnel | 2016-03-18 | 1 | -1/+5 |
| | | | | | function+context combination | ||||
| * | propagate SAX exceptions immediately in HTML parser (used to continue parsing) | Stefan Behnel | 2015-09-23 | 1 | -0/+22 |
| | | |||||
| * | tighten type check in pypy3 work-around to match what Cython expects | Stefan Behnel | 2015-04-10 | 1 | -1/+1 |
| | | |||||
| * | work around missing PyBytes_FromFormat in pypy3 | Stefan Behnel | 2015-04-10 | 1 | -2/+35 |
| | | |||||
| * | fix several C compiler warnings in pypy | Stefan Behnel | 2015-04-10 | 1 | -9/+11 |
| | | |||||
| * | include internal/external DTD subsets in thread-dict cleanup | Stefan Behnel | 2015-04-04 | 1 | -0/+1 |
| | | |||||
| * | for better symmetry, use lxml_malloc()/lxml_free() instead of ↵ | Stefan Behnel | 2015-03-01 | 1 | -0/+2 |
| | | | | | lxml_malloc()/PyMem_Free() | ||||
| * | use safer macros for memory allocation (adapted from PyMem_New() and ↵ | Stefan Behnel | 2015-03-01 | 1 | -0/+8 |
| | | | | | PyMem_Resize()) | ||||
| * | make Cython aware of "const_xmlChar" constness | Stefan Behnel | 2015-03-01 | 1 | -1/+1 |
| | | |||||
| * | Update name validation. | Olli Pottonen | 2015-02-21 | 1 | -0/+1 |
| | | | | | | Validate names accordingy to XML 1.0 standard fifth edition, instead of the outdated fourth edition. (See also Namespaces in XML 1.0 third edition.) | ||||
| * | Enable modifying document type declarations. | Olli Pottonen | 2015-02-16 | 1 | -0/+2 |
| | | | | | See https://bugs.launchpad.net/lxml/+bug/1421512. | ||||
| * | Properly serialize all HTML doctype declarations. | Olli Pottonen | 2015-02-16 | 1 | -0/+1 |
| | | | | | See https://bugs.launchpad.net/lxml/+bug/659367. | ||||
| * | use per-document hash tables for XML IDs and allow disabling them completely ↵ | Stefan Behnel | 2014-05-28 | 2 | -4/+17 |
| | | | | | with collect_ids=False | ||||
| * | remove legacy code for now unsupported libxml2/libxslt versions | Stefan Behnel | 2014-03-22 | 1 | -39/+10 |
| | | | | | | --HG-- extra : amend_source : 5f766bb41c74b8ea7bba7f71905fb18cb90a19f2 | ||||
| * | remove some unused imports in .pxd files | Stefan Behnel | 2014-03-20 | 3 | -5/+3 |
| | | |||||
| * | add new libxml2 HTML parser flags to declarations | Stefan Behnel | 2014-03-20 | 1 | -0/+6 |
| | | |||||
| * | use XML_PARSE_BIG_LINES parser option if available (libxml2 2.9.0+) | Stefan Behnel | 2014-03-18 | 1 | -0/+4 |
| | | |||||
| * | add parse options added in recent libxml2 versions | Stefan Behnel | 2014-03-18 | 1 | -0/+6 |
| | | |||||
| * | use slightly better _isString() subtype check in Py2 | Stefan Behnel | 2014-03-15 | 1 | -1/+3 |
| | | |||||
| * | use safer way to pass parser context into XInclude engine in libxml2 2.7.4 ↵ | Stefan Behnel | 2014-03-15 | 2 | -0/+5 |
| | | | | | | | | and later --HG-- extra : amend_source : 5e5f9f4de27a119ab64f722fd7a23ceeae98de46 | ||||
| * | PyPy fix | Stefan Behnel | 2014-03-10 | 1 | -0/+2 |
| | | |||||
| * | remove some legacy code | Stefan Behnel | 2014-03-10 | 1 | -18/+4 |
| | | |||||
| * | make C build fail for old Python versions | Stefan Behnel | 2014-03-10 | 1 | -0/+4 |
| | | |||||
| * | fix LP#910014: work around libxml2 bug #724903 that swallows a DTD ↵ | Stefan Behnel | 2014-02-21 | 1 | -1/+7 |
| | | | | | validation error | ||||
