Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix <script> text content serialization in incremental html mode | Burak Arslan | 2016-12-23 | 2 | -1/+22 |
| | |||||
* | whitespace | Stefan Behnel | 2016-12-10 | 1 | -1/+2 |
| | |||||
* | enable the collect_ids option also for HTML and add a simple test for it | Stefan Behnel | 2016-12-10 | 2 | -3/+19 |
| | |||||
* | Merge pull request #216 from plq/arskom | scoder | 2016-12-10 | 1 | -4/+6 |
|\ | | | | | expose collect_ids for HTMLParser as well | ||||
| * | expose collect_ids for HTMLParser | Burak Arslan | 2016-12-08 | 1 | -4/+6 |
| | | |||||
* | | make test Py2.6 compatible | Stefan Behnel | 2016-12-06 | 1 | -1/+1 |
| | | |||||
* | | Make XMLSyntaxError have normal SyntaxError metadata | Philipp A | 2016-12-04 | 3 | -6/+37 |
| | | |||||
* | | minor code cleanups | Stefan Behnel | 2016-12-04 | 1 | -12/+7 |
| | | |||||
* | | docstring update | Burak Arslan | 2016-12-04 | 1 | -1/+4 |
|/ | |||||
* | add xml mode test for .element() calls | Burak Arslan | 2016-11-29 | 1 | -0/+17 |
| | |||||
* | add test for temporary output method override in incremental writer | Burak Arslan | 2016-11-29 | 1 | -0/+21 |
| | |||||
* | Make it possible to temporarily override output method when calling ↵ | Burak Arslan | 2016-11-29 | 1 | -3/+10 |
| | | | | _IncrementalWriter.write | ||||
* | do not override non-empty error messages that start with a newline | Stefan Behnel | 2016-10-01 | 1 | -1/+3 |
| | |||||
* | Fix xslt error parsing so filename and line numbers show. | Marcus Brinkmann | 2016-09-15 | 1 | -3/+3 |
| | |||||
* | replace IS_PYTHON3 C macro with IS_PYTHON2 before it starts looking funny in ↵ | Stefan Behnel | 2016-09-03 | 9 | -29/+33 |
| | | | | Python 4.x :) | ||||
* | use PyUnicode_FromFormat() also in Py2.x (but not in PyPy which doesn't have it) | Stefan Behnel | 2016-09-03 | 1 | -2/+2 |
| | |||||
* | fix compilation with libxml2 < 2.7.8 | Stefan Behnel | 2016-09-03 | 1 | -0/+3 |
| | |||||
* | Merge pull request #205 from dufferzafar/test-default-doctype | scoder | 2016-08-20 | 1 | -0/+8 |
|\ | | | | | Add tests for the default_doctype option | ||||
| * | Add tests for the default_doctype option | Shadab Zafar | 2016-08-20 | 1 | -0/+8 |
| | | |||||
* | | Revert "Revert "Revert "Merge pull request #184 from Pelleplutt/master""" | Stefan Behnel | 2016-08-20 | 3 | -44/+12 |
| | | | | | | | | This reverts commit 8c19b669360bb66726571e80884f7f5ca5e30b9a. | ||||
* | | Revert "Revert "Merge pull request #184 from Pelleplutt/master"" | Stefan Behnel | 2016-08-20 | 3 | -12/+44 |
| | | | | | | | | This reverts commit 6ea2dab5d5d5b35225a3342faeb705f6197766a5. | ||||
* | | Revert "Merge pull request #184 from Pelleplutt/master" | Stefan Behnel | 2016-08-20 | 3 | -44/+12 |
| | | | | | | | | | | This reverts commit d71219b77e0a76c312741dfa410ddf07c2f20903, reversing changes made to 714b95c49e81a7770ff407989daa3b38f0ec44c4. | ||||
* | | Merge pull request #184 from Pelleplutt/master | scoder | 2016-08-20 | 3 | -12/+44 |
|\ \ | | | | | | | Do not blindly copy all of the namespaces when tostring():ing a subtree. | ||||
| * | | Adapt the testcases to the new c14n output. | Per Lejontand | 2016-01-22 | 1 | -2/+2 |
| | | | |||||
| * | | Use keyword arguments to get rid of the silly one digit bools all over. | Per Lejontand | 2016-01-22 | 2 | -3/+5 |
| | | | |||||
| * | | Rename apply_ns->should_copy. Better name | Per Lejontand | 2016-01-22 | 1 | -4/+4 |
| | | | |||||
| * | | Default used_only to True as per suggestion by scoder. | Per Lejontand | 2016-01-22 | 1 | -2/+2 |
| | | | |||||
| * | | Rename applied_ns_only->used_only. | Per Lejontand | 2016-01-22 | 1 | -6/+6 |
| | | | |||||
| * | | Limit the impact of the sparse namespace copy to c14n. | Per Lejontand | 2015-12-15 | 2 | -29/+31 |
| | | | | | | | | | | | | | | | | | | | | | Add control ability of the sleek ns copying to _copyParentNamespaces() so we can turn it off or on depending on the context. This as this is not always desired behavior. Leave it active only on c14n serialization for now. | ||||
| * | | Limit the use of the GIL to be held more locally. | Per Lejontand | 2015-12-15 | 2 | -4/+4 |
| | | | |||||
| * | | Use a more intuitive looping form. | Per Lejontand | 2015-12-15 | 1 | -6/+6 |
| | | | |||||
| * | | Do not blindly copy all of the namespaces. | Per Lejontand | 2015-12-14 | 2 | -5/+33 |
| | | | | | | | | | | | | | | | | | | | | | When using a subtree of a document do not simply copy all of the namespaces from all of the parents down. Only copy those that we actually use within the subtree. This as copying all namespaces will bloat the subtree with information it should not have. | ||||
* | | | Merge pull request #197 from creitiv/ignore-disabled-inputs | scoder | 2016-08-20 | 2 | -2/+4 |
|\ \ \ | | | | | | | | | Ignore disabled form inputs | ||||
| * | | | ignore disabled form inputs | Kristian Klemon | 2016-07-26 | 2 | -2/+4 |
| | | | | |||||
* | | | | Add option to prevent default doctypes | Shadab Zafar | 2016-08-19 | 1 | -1/+4 |
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | Reason why this was added: https://github.com/mitmproxy/mitmproxy/issues/845 See post on mailing list: https://mailman-mail5.webfaction.com/pipermail/lxml/2016-August/007738.html | ||||
* | | | adapt docs to actual behaviour | Stefan Behnel | 2016-08-13 | 1 | -7/+6 |
| | | | |||||
* | | | allow el.set("attr") in HTML trees without having to specify an explicit ↵ | Stefan Behnel | 2016-07-29 | 2 | -5/+18 |
| | | | | | | | | | | | | None value | ||||
* | | | allow None as attribute value only for HTML trees | Stefan Behnel | 2016-07-29 | 2 | -8/+5 |
| | | | |||||
* | | | Merge pull request #201 from dholth/master | scoder | 2016-07-29 | 3 | -6/+34 |
|\ \ \ | | | | | | | | | allow None as an attribute value, for HTML boolean attributes | ||||
| * | | | docs, additional tests for boolean attributes | Daniel Holth | 2016-07-29 | 1 | -0/+12 |
| | | | | |||||
| * | | | allow None as an attribute value, for HTML boolean attributes | Daniel Holth | 2016-07-28 | 3 | -6/+22 |
| | | | | |||||
* | | | | disallow anything but plain strings as message and filename in log entries ↵ | Stefan Behnel | 2016-07-29 | 1 | -2/+2 |
|/ / / | | | | | | | | | | (prevents reference cycles) | ||||
* | | | remove pre-Py2.6 fallback code | Stefan Behnel | 2016-07-27 | 1 | -6/+1 |
|/ / | |||||
* | | make the "inline_style" option in Cleaner default to (but independent of) ↵ | Stefan Behnel | 2016-07-24 | 1 | -5/+9 |
| | | | | | | | | the "style" option | ||||
* | | Merge pull request #180 from chripede/patch-2 | scoder | 2016-07-24 | 2 | -3/+27 |
|\ \ | | | | | | | Add inline_style option | ||||
| * | | Fix tests for inline_style | Christian Pedersen | 2015-11-20 | 1 | -2/+21 |
| | | | |||||
| * | | Add inline_style option | Christian Pedersen | 2015-11-19 | 1 | -1/+6 |
| | | | | | | | | | | | | Currently the style option will remove both style tags and attributes. This change makes each an option, just like scripts and javascript. | ||||
* | | | Merge pull request #199 from tdivis/exclude-file-from-form-values | scoder | 2016-07-21 | 2 | -1/+3 |
|\ \ \ | | | | | | | | | Exclude `file` field `value` from `FormElement.form_values`. | ||||
| * | | | Exclude `file` field `value` from `FormElement.form_values`. | Tomas Divis | 2016-07-20 | 2 | -1/+3 |
| | | | | | | | | | | | | | | | | Similar to `submit`, `image` and `reset`, browsers don't send `file` field values in the POST when form is submitted. `FormElement.form_values` method already correctly excluded `submit`, `image` and `reset` fields, now it also excludes the `file` fields. | ||||
* | | | | GH#198: fix file path encoding and error handling in resolver code | Stefan Behnel | 2016-07-18 | 1 | -2/+11 |
| | | | |