| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | simplify constructor argument | Stefan Behnel | 2015-02-07 | 1 | -3/+2 |
| | | |||||
| * | fix crash when cleaning up XMLSchemas created from non-root elements: ↵ | Stefan Behnel | 2015-02-07 | 2 | -32/+49 |
| | | | | | pointer to fake-root document was actually stored in the schema, which lead to double-free errors | ||||
| * | fix LP#1369362: do not try to remove pseudo-attributes from processing ↵ | Stefan Behnel | 2014-12-14 | 1 | -2/+2 |
| | | | | | | | | instructions in HTML cleaner --HG-- extra : transplant_source : %FA%01c%AF%5E%13%95%25%1E%01%19%ADA%C6%2A%5D%12%C4n%5E | ||||
| * | clarify docs: lxml.html.fragment_fromstring(create_parent=True) allows ↵ | Stefan Behnel | 2014-12-06 | 1 | -4/+6 |
| | | | | | multiple elements as parse result | ||||
| * | clarify docs: ElementTree.iter() does not visit siblings of the root element | Stefan Behnel | 2014-12-06 | 1 | -1/+3 |
| | | |||||
| * | include CDATA sections when serialising tail text of top-level node | Stefan Behnel | 2014-11-23 | 2 | -3/+2 |
| | | |||||
| * | accept CDATA wrapped content for tail text | Stefan Behnel | 2014-11-23 | 2 | -19/+40 |
| | | |||||
| * | do not depend on formatting of "file:" URL in test (differs across libxml2 ↵ | Stefan Behnel | 2014-10-19 | 1 | -1/+4 |
| | | | | | versions) | ||||
| * | fix test | Stefan Behnel | 2014-10-09 | 1 | -2/+2 |
| | | |||||
| * | clean up some test code | Stefan Behnel | 2014-10-09 | 2 | -3/+5 |
| | | |||||
| * | init superclass in ElementTreeContentHandler | Stefan Behnel | 2014-10-09 | 1 | -0/+1 |
| | | |||||
| * | clean up duplicated test methods | Stefan Behnel | 2014-10-09 | 2 | -41/+29 |
| | | | | | | --HG-- extra : transplant_source : 7%08%A1%E2%24u%BE%09%3D%CD%89P%D5h%D9%E8%E4%21%F9W | ||||
| * | do not reject namespaced tags in htmlfile, clean up htmlfile tests a little | Stefan Behnel | 2014-09-25 | 2 | -20/+36 |
| | | |||||
| * | minor docstring cleanup | Stefan Behnel | 2014-09-16 | 1 | -3/+2 |
| | | |||||
| * | dried htmlfile | Burak Arslan | 2014-09-15 | 1 | -31/+8 |
| | | |||||
| * | add testcases for etree.htmlfile | Burak Arslan | 2014-09-15 | 1 | -0/+24 |
| | | |||||
| * | modify write_declaration to fail for every document type except xml | Burak Arslan | 2014-09-15 | 1 | -2/+2 |
| | | |||||
| * | don't write namespaces in html mode | Burak Arslan | 2014-09-15 | 1 | -3/+10 |
| | | |||||
| * | write_declaration now throws an exception for html files. | Burak Arslan | 2014-09-15 | 1 | -0/+3 |
| | | |||||
| * | implement a etree.htmlfile that passes OUTPUT_METHOD_HTML to ↵ | Burak Arslan | 2014-09-15 | 1 | -0/+37 |
| | | | | | _IncrementalFileWriter | ||||
| * | add a method argument to _IncrementalFileWriter | Burak Arslan | 2014-09-15 | 1 | -3/+6 |
| | | |||||
| * | fix tests in Py3 | Stefan Behnel | 2014-09-05 | 1 | -15/+13 |
| | | |||||
| * | allow disabling output buffering in xmlfile() and explicit flushing | Stefan Behnel | 2014-09-05 | 2 | -9/+93 |
| | | |||||
| * | lxml.html.document_fromstring ensure_head_body | jab | 2014-09-04 | 2 | -1/+22 |
| | | | | | | | | | | | | | | | | | | | When using lxml.html.document_fromstring to process html outside your control, you can't be sure it will have a head element or body element. Allowing document_fromstring to accept an ensure_head_body option saves you from having to write code like: doc = document_fromstring(html) try: doc.head except IndexError: doc.insert(0, Element('head')) # now we can safely reference doc.head You can instead just write: doc = document_fromstring(html, ensure_head_body=True) | ||||
| * | merge lxml-3.3 branch into master | Stefan Behnel | 2014-08-28 | 3 | -29/+113 |
| |\ | |||||
| | * | refactor some duplicated code | Stefan Behnel | 2014-08-28 | 1 | -18/+16 |
| | | | |||||
| | * | prevent tree cycle creation when adding siblings | Stefan Behnel | 2014-08-28 | 2 | -14/+56 |
| | | | |||||
| | * | fix crash when deallocating sibling Element proxies that do not have a parent | Stefan Behnel | 2014-08-28 | 2 | -3/+47 |
| | | | |||||
| * | | refactor tag processing code in iterlinks() | Stefan Behnel | 2014-08-23 | 1 | -22/+22 |
| | | | |||||
| * | | include links in meta refresh tags in iterlinks | jab | 2014-08-22 | 2 | -0/+21 |
| | | | |||||
| * | | merge lxml-3.3 branch into master | Stefan Behnel | 2014-08-09 | 2 | -3/+63 |
| |\ \ | |/ | |||||
| | * | fix LP#1354652: crash when traversing internally loaded documents in XSLT ↵ | Stefan Behnel | 2014-08-09 | 2 | -3/+63 |
| | | | | | | | | | extension functions | ||||
| * | | make legacy import absolute (otherwise fails in Py3) | Stefan Behnel | 2014-08-05 | 1 | -1/+1 |
| | | | |||||
| * | | Add CDATA support in ElementBuilder. | Ionel Cristian Mărieș | 2014-06-16 | 2 | -1/+17 |
| | | | |||||
| * | | use per-document hash tables for XML IDs and allow disabling them completely ↵ | Stefan Behnel | 2014-05-28 | 6 | -31/+162 |
| | | | | | | | | | with collect_ids=False | ||||
| * | | minor doc fixes | Stefan Behnel | 2014-05-25 | 1 | -3/+3 |
| | | | |||||
| * | | only apply decoding error change to XML parsing (not HTML for now) | Stefan Behnel | 2014-05-24 | 1 | -1/+1 |
| | | | |||||
| * | | raise a parser error even in recovery mode when encountering undecodable ↵ | Stefan Behnel | 2014-05-24 | 2 | -3/+26 |
| | | | | | | | | | input to avoid having to deal with mixed-encoding trees | ||||
| * | | minor code cleanup | Stefan Behnel | 2014-05-24 | 1 | -2/+3 |
| | | | |||||
| * | | remove unused import | Stefan Behnel | 2014-05-24 | 1 | -2/+4 |
| | | | |||||
| * | | simplify CSS link parsing code in lxml.html | Stefan Behnel | 2014-04-25 | 1 | -6/+5 |
| | | | |||||
| * | | simplify regex usage in lxml.html | Stefan Behnel | 2014-04-25 | 1 | -5/+5 |
| | | | |||||
| * | | merge lxml-3.3 branch into master | Stefan Behnel | 2014-04-17 | 2 | -5/+13 |
| |\ \ | |/ | |||||
| | * | strip control characters before looking for evil text content in Cleaner | Stefan Behnel | 2014-04-17 | 2 | -5/+13 |
| | | | |||||
| | * | add test for high XML line numbers | Stefan Behnel | 2014-03-18 | 1 | -0/+16 |
| | | | | | | | | | | | --HG-- extra : transplant_source : %0EX%40u%B3%C1m%13%B3%82%11L%2C%98X%E7%D1%E1%13%1A | ||||
| | * | use XML_PARSE_BIG_LINES parser option if available (libxml2 2.9.0+) | Stefan Behnel | 2014-03-18 | 2 | -1/+6 |
| | | | | | | | | | | | --HG-- extra : transplant_source : %96%B9%CB%8E%81h%96%1D%F6%F0E%CF%26%AD%17%9FgP%83%C7 | ||||
| | * | add parse options added in recent libxml2 versions | Stefan Behnel | 2014-03-18 | 1 | -0/+6 |
| | | | | | | | | | | | --HG-- extra : transplant_source : %28%B1%7E%87%D1%E4%98%85%94xao%06%929%A6%C0%5E%1B%A1 | ||||
| | * | fix HTML wrapping for bytes strings in Py3 | Stefan Behnel | 2014-03-16 | 1 | -1/+3 |
| | | | | | | | | | | | --HG-- extra : transplant_source : %FA%A2p%CD%F9b%DD%AC%01%5E%CAt1%14%9C%97%C12b%5E | ||||
| | * | PyPy fix | Stefan Behnel | 2014-03-10 | 1 | -1/+2 |
| | | | |||||
| * | | add a method tree.getelementpath(element) that generates a structural ↵ | Stefan Behnel | 2014-04-06 | 2 | -1/+135 |
| | | | | | | | | | ElementPath expression for an Element | ||||
