summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* fix <script> text content serialization in incremental html modeBurak Arslan2016-12-232-1/+22
|
* whitespaceStefan Behnel2016-12-101-1/+2
|
* enable the collect_ids option also for HTML and add a simple test for itStefan Behnel2016-12-102-3/+19
|
* Merge pull request #216 from plq/arskomscoder2016-12-101-4/+6
|\ | | | | expose collect_ids for HTMLParser as well
| * expose collect_ids for HTMLParserBurak Arslan2016-12-081-4/+6
| |
* | make test Py2.6 compatibleStefan Behnel2016-12-061-1/+1
| |
* | Make XMLSyntaxError have normal SyntaxError metadataPhilipp A2016-12-043-6/+37
| |
* | minor code cleanupsStefan Behnel2016-12-041-12/+7
| |
* | docstring updateBurak Arslan2016-12-041-1/+4
|/
* add xml mode test for .element() callsBurak Arslan2016-11-291-0/+17
|
* add test for temporary output method override in incremental writerBurak Arslan2016-11-291-0/+21
|
* Make it possible to temporarily override output method when calling ↵Burak Arslan2016-11-291-3/+10
| | | | _IncrementalWriter.write
* do not override non-empty error messages that start with a newlineStefan Behnel2016-10-011-1/+3
|
* Fix xslt error parsing so filename and line numbers show.Marcus Brinkmann2016-09-151-3/+3
|
* replace IS_PYTHON3 C macro with IS_PYTHON2 before it starts looking funny in ↵Stefan Behnel2016-09-039-29/+33
| | | | Python 4.x :)
* use PyUnicode_FromFormat() also in Py2.x (but not in PyPy which doesn't have it)Stefan Behnel2016-09-031-2/+2
|
* fix compilation with libxml2 < 2.7.8Stefan Behnel2016-09-031-0/+3
|
* Merge pull request #205 from dufferzafar/test-default-doctypescoder2016-08-201-0/+8
|\ | | | | Add tests for the default_doctype option
| * Add tests for the default_doctype optionShadab Zafar2016-08-201-0/+8
| |
* | Revert "Revert "Revert "Merge pull request #184 from Pelleplutt/master"""Stefan Behnel2016-08-203-44/+12
| | | | | | | | This reverts commit 8c19b669360bb66726571e80884f7f5ca5e30b9a.
* | Revert "Revert "Merge pull request #184 from Pelleplutt/master""Stefan Behnel2016-08-203-12/+44
| | | | | | | | This reverts commit 6ea2dab5d5d5b35225a3342faeb705f6197766a5.
* | Revert "Merge pull request #184 from Pelleplutt/master"Stefan Behnel2016-08-203-44/+12
| | | | | | | | | | This reverts commit d71219b77e0a76c312741dfa410ddf07c2f20903, reversing changes made to 714b95c49e81a7770ff407989daa3b38f0ec44c4.
* | Merge pull request #184 from Pelleplutt/masterscoder2016-08-203-12/+44
|\ \ | | | | | | Do not blindly copy all of the namespaces when tostring():ing a subtree.
| * | Adapt the testcases to the new c14n output.Per Lejontand2016-01-221-2/+2
| | |
| * | Use keyword arguments to get rid of the silly one digit bools all over.Per Lejontand2016-01-222-3/+5
| | |
| * | Rename apply_ns->should_copy. Better namePer Lejontand2016-01-221-4/+4
| | |
| * | Default used_only to True as per suggestion by scoder.Per Lejontand2016-01-221-2/+2
| | |
| * | Rename applied_ns_only->used_only.Per Lejontand2016-01-221-6/+6
| | |
| * | Limit the impact of the sparse namespace copy to c14n.Per Lejontand2015-12-152-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 Lejontand2015-12-152-4/+4
| | |
| * | Use a more intuitive looping form.Per Lejontand2015-12-151-6/+6
| | |
| * | Do not blindly copy all of the namespaces.Per Lejontand2015-12-142-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-inputsscoder2016-08-202-2/+4
|\ \ \ | | | | | | | | Ignore disabled form inputs
| * | | ignore disabled form inputsKristian Klemon2016-07-262-2/+4
| | | |
* | | | Add option to prevent default doctypesShadab Zafar2016-08-191-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 behaviourStefan Behnel2016-08-131-7/+6
| | |
* | | allow el.set("attr") in HTML trees without having to specify an explicit ↵Stefan Behnel2016-07-292-5/+18
| | | | | | | | | | | | None value
* | | allow None as attribute value only for HTML treesStefan Behnel2016-07-292-8/+5
| | |
* | | Merge pull request #201 from dholth/masterscoder2016-07-293-6/+34
|\ \ \ | | | | | | | | allow None as an attribute value, for HTML boolean attributes
| * | | docs, additional tests for boolean attributesDaniel Holth2016-07-291-0/+12
| | | |
| * | | allow None as an attribute value, for HTML boolean attributesDaniel Holth2016-07-283-6/+22
| | | |
* | | | disallow anything but plain strings as message and filename in log entries ↵Stefan Behnel2016-07-291-2/+2
|/ / / | | | | | | | | | (prevents reference cycles)
* | | remove pre-Py2.6 fallback codeStefan Behnel2016-07-271-6/+1
|/ /
* | make the "inline_style" option in Cleaner default to (but independent of) ↵Stefan Behnel2016-07-241-5/+9
| | | | | | | | the "style" option
* | Merge pull request #180 from chripede/patch-2scoder2016-07-242-3/+27
|\ \ | | | | | | Add inline_style option
| * | Fix tests for inline_styleChristian Pedersen2015-11-201-2/+21
| | |
| * | Add inline_style optionChristian Pedersen2015-11-191-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-valuesscoder2016-07-212-1/+3
|\ \ \ | | | | | | | | Exclude `file` field `value` from `FormElement.form_values`.
| * | | Exclude `file` field `value` from `FormElement.form_values`.Tomas Divis2016-07-202-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 codeStefan Behnel2016-07-181-2/+11
| | | |