summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* quick fix for compilation in old libxml2 versions - to be revisitedStefan Behnel2012-06-091-0/+5
|
* code formatStefan Behnel2012-06-091-1/+2
|
* use _MultiTagMatcher in iterwalk()Stefan Behnel2012-04-241-28/+13
|
* simplify interface for passing multiple tag selectors into element iteration ↵Stefan Behnel2012-04-242-58/+114
| | | | methods
* minor import cleanupStefan Behnel2012-04-242-1/+2
|
* minor code cleanupStefan Behnel2012-04-241-4/+3
|
* reimplement optimistic optimisation in _MultiTagMatcher when the doc's dict ↵Stefan Behnel2012-04-242-0/+8
| | | | really did not change
* fix incorrect assumption in _MultiTagMatcher that dicts do not grow when ↵Stefan Behnel2012-04-231-4/+0
| | | | docs do not change
* rewrite of node matcher to remove code duplication and make it PyPy compatibleStefan Behnel2012-04-214-209/+152
|
* close some more files in test (avoids warnings in Py3 debug builds)Stefan Behnel2012-04-211-2/+8
|
* close files in test (avoids warnings in Py3 debug builds)Stefan Behnel2012-04-211-13/+26
|
* Fixes so that unit tests run under python 3.1Jeff Dairiki2012-04-011-8/+18
| | | | | | | | | | | | | Note however that while there is a python3 version of html5lib, it appears to be unmaintained, so the worth of all this is questionable. References: http://code.google.com/p/html5lib/issues/detail?id=144 http://code.google.com/p/html5lib/source/browse/#hg%2Fpython3 --HG-- extra : rebase_source : a4ce702ad841c25d63f4a6a56ea106bcd986bd47
* Unit tests for lxml.html.html5parserJeff Dairiki2012-03-311-0/+358
| | | | | --HG-- extra : rebase_source : fc5d3b785f1eb962b54077611438af2667e1f2e8
* avoid dependency on external cssselect package in the test suiteStefan Behnel2012-04-211-1/+8
|
* Merge pull request #46 from SimonSapin/external-cssselectscoder2012-04-217-1502/+107
|\ | | | | External cssselect
| * Fix the test suite for _Element.cssselect removal.Simon Sapin2012-04-201-18/+10
| |
| * Revert "Add a cssselect method to all elements, not just HtmlElement"Simon Sapin2012-04-202-16/+1
| | | | | | | | | | | | | | This is an addition to the API that should be considered separatly from using the new cssselect. This reverts commit 7820b8db8aa892d0ea7e1566174e8a505d994af1.
| * Docstring fix.Simon Sapin2012-04-201-2/+2
| |
| * Shrink the css testsSimon Sapin2012-04-204-282/+48
| | | | | | | | | | No need to duplicate the tests that are now in cssselect. Now test_css.py only tests what is specific to lxml.
| * Add a cssselect method to all elements, not just HtmlElementSimon Sapin2012-04-202-1/+16
| | | | | | | | translator defaults to 'xml' in _Element and 'html' in HtmlElement
| * Change to a single 'translator' param that accepts some string values.Simon Sapin2012-04-202-8/+9
| |
| * Update for cssselect 0.3Simon Sapin2012-04-173-20/+25
| |
| * Make the cssselect dependency optional.Simon Sapin2012-04-161-11/+12
| |
| * Use the external cssselectSimon Sapin2012-04-164-1212/+52
| | | | | | | | Includes ugly hack to support Python 2.4
* | merged 2.3 branch into masterStefan Behnel2012-04-203-6/+109
|\ \ | |/ |/|
| * fix crash in sax parser when finding invalid DOCTYPEStefan Behnel2012-04-203-6/+109
| |
* | code cleanup: replace call to PyErr_NoMemory() by explicit exceptionStefan Behnel2012-04-0712-48/+43
| |
* | minor code cleanupStefan Behnel2012-04-071-3/+1
| |
* | fix some compiler warningsStefan Behnel2012-04-079-29/+20
| |
* | avoid redefinition of legacy C-API functions in older CPython versionsStefan Behnel2012-04-071-0/+3
| |
* | declared some more internal methods 'final'Stefan Behnel2012-04-073-0/+18
| |
* | minor cleanupsStefan Behnel2012-04-071-1/+3
| |
* | use 'with' statement for some more error log connectionsStefan Behnel2012-04-072-7/+5
| |
* | refactored error log connection into a context manager, added support for ↵Stefan Behnel2012-04-075-54/+74
| | | | | | | | recursive usage of different logs
* | instead of a global setup, use execution local error callbacks for RelaxNG ↵Stefan Behnel2012-04-052-6/+13
| | | | | | | | processing
* | instead of a global setup, use execution local error callbacks for ↵Stefan Behnel2012-04-051-2/+4
| | | | | | | | Schematron processing
* | minor code cleanupStefan Behnel2012-04-051-2/+2
| |
* | instead of a global setup, use execution local error callbacks for XPath ↵Stefan Behnel2012-04-055-32/+93
| | | | | | | | processing
* | minor code cleanupStefan Behnel2012-04-051-1/+1
| |
* | minor code cleanupStefan Behnel2012-04-051-3/+3
| |
* | prevent race conditions with error logging during DTD validationStefan Behnel2012-04-051-6/+3
| |
* | instead of a global setup, use execution local error callbacks for XMLSchema ↵Stefan Behnel2012-04-056-29/+69
| | | | | | | | and parsing
* | safety fixesStefan Behnel2012-04-051-5/+5
| |
* | merged DTD attributes branchStefan Behnel2012-04-054-0/+449
|\ \ | | | | | | | | | | | | --HG-- rename : src/lxml/tree.pxd => src/lxml/include/tree.pxd
| * | Rename various DTD attributes for PEP 8 compatibility and consistency.Walter Doerwald2012-02-162-8/+8
| | | | | | | | | | | | | | | | | | externalID -> external_id systemID -> system_url defaultValue -> default_value
| * | Update comments.Walter Doerwald2012-01-291-2/+3
| | |
| * | Add tests for the DTD attributes name, systemID and externalID.Walter Doerwald2012-01-291-0/+24
| | |
| * | Add tests for DTD attributes.Walter Doerwald2012-01-282-0/+28
| | |
| * | Expose entities to Python. Rename iterdeclarations() to iterelements().Walter Doerwald2011-12-122-3/+71
| | |
| * | Cahnge _DTDAttributeDecl.tree into a method and rename it to itervalues().Walter Doerwald2011-12-081-7/+9
| | | | | | | | | | | | Add a method values() that materializes the list.