summaryrefslogtreecommitdiff
path: root/src/lxml/cssselect.py
Commit message (Collapse)AuthorAgeFilesLines
* Replace outdated URL in error message.Stefan Behnel2022-12-221-1/+1
|
* Simplify code.Stefan Behnel2022-12-221-2/+2
|
* Call super() from CSSSelector constructor to help with used side inheritance.Stefan Behnel2022-12-221-1/+1
|
* clean up imports in lxml.cssselectStefan Behnel2015-09-041-8/+7
|
* cssselect doc fixesStefan Behnel2012-07-021-1/+1
|
* fix indentationStefan Behnel2012-07-021-1/+1
|
* Fix lxml.cssselect for cssselect 0.7Simon Sapin2012-07-021-3/+9
| | | | | | lxml use an undocumented API that changed in 0.7: `arguments` on functional pseudo-classes objects is now a list on tokens instead of a single string.
* Change to a single 'translator' param that accepts some string values.Simon Sapin2012-04-201-6/+7
|
* Update for cssselect 0.3Simon Sapin2012-04-171-16/+23
|
* Use the external cssselectSimon Sapin2012-04-161-998/+44
| | | | Includes ugly hack to support Python 2.4
* cssselect: sequences of whitespace are handled by the tokeniser, not the parserStefan Behnel2012-04-051-2/+2
|
* Ignore whitespace after a CSS group separator.Laurence Rowe2012-04-051-0/+3
|
* Optimize css attribute selectors to test for existence of attribute before ↵Laurence Rowe2012-03-311-9/+10
| | | | string operations.
* Optimize css class selector to test for existence of class attribute before ↵Laurence Rowe2012-03-311-2/+2
| | | | string normalization.
* Add support for the :root pseudo-class in cssselect.Simon Sapin2011-12-141-2/+2
|
* "E :pseudo" should parse the same as "E *:pseudo", not "E:pseudo"Simon Sapin2011-12-121-1/+3
|
* add licensing information to lxml.html and lxml.cssselectStefan Behnel2011-12-011-0/+31
|
* Ignore optional whitespace after combinators when parsing CSS selectors.Simon Sapin2011-11-041-0/+3
| | | | | For example, "div> .foo" was incorrectly parsed the same as "div>* .foo" while it should be "div>.foo"
* another fix for the 'descendant' problem in cssselect to undo a serious ↵Stefan Behnel2011-11-031-1/+1
| | | | | | | performance regression in 2.3.1 --HG-- extra : rebase_source : 2c4c89423870a16cc9aedc19532032d2a10bae5e
* In lxml.cssselect, use the xpath 'A//B' (short forLaurence Rowe2011-03-231-1/+1
| | | | | | | 'A/descendant-or-self::node()/B') instead of 'A/descendant::B' for the css descendant selector ('A B'). This makes a few edge cases to be consistent with the selector behavior in WebKit and Firefox, and makes more css expressions valid location paths (for use in xsl:template match).
* [svn r4400] r5565@lenny: sbehnel | 2010-04-11 19:34:52 +0200scoder2010-04-111-2/+16
| | | | | | | ticket #560381: allow passing prefix-to-namespace mapping into CSSSelector() --HG-- branch : trunk
* [svn r4346] r5469@lenny: sbehnel | 2010-02-08 14:20:44 +0100scoder2010-02-281-6/+6
| | | | | | | cleanup --HG-- branch : trunk
* [svn r4345] r5463@lenny: sbehnel | 2010-02-08 11:59:46 +0100scoder2010-02-081-4/+4
| | | | | | | fix typos in exception messages and docs --HG-- branch : trunk
* [svn r4268] r5328@delle: sbehnel | 2009-11-13 14:07:16 +0100scoder2009-11-241-1/+1
| | | | | | | fix ticket 481641: support treating CSS attribute selectors independent of element selectors --HG-- branch : trunk
* [svn r4209] r5239@delle: sbehnel | 2009-09-10 06:45:11 +0200scoder2009-09-101-9/+17
| | | | | | | cssselect: fix error reporting and infinite loop on syntax error --HG-- branch : trunk
* [svn r4208] r5237@delle: sbehnel | 2009-09-06 14:50:11 +0200scoder2009-09-061-36/+70
| | | | | | | fix several unicode and character escape issues in lxml.cssselect --HG-- branch : trunk
* [svn r4005] r4861@delle: sbehnel | 2008-11-14 10:52:38 +0100scoder2008-11-161-0/+2
| | | | | | | fixed missing imports and name errors --HG-- branch : trunk
* [svn r3852] r4545@delle: sbehnel | 2008-06-22 10:55:55 +0200scoder2008-06-221-7/+7
| | | | | | | fix: cssselect parser skipped remaining expression after parsing function with parameters --HG-- branch : trunk
* [svn r3835] r4520@delle: sbehnel | 2008-06-20 09:48:39 +0200scoder2008-06-201-0/+7
| | | | | | | CSS selector parser accidentally merged non-adjacent classes --HG-- branch : trunk
* [svn r3756] r4372@delle: sbehnel | 2008-05-26 10:49:32 +0200scoder2008-05-261-2/+2
| | | | | | | Py3 encoding fixes --HG-- branch : trunk
* [svn r3740] r4335@delle: sbehnel | 2008-05-24 09:55:10 +0200scoder2008-05-241-1/+6
| | | | | | | Py3 fix --HG-- branch : trunk
* [svn r3717] r4275@delle: sbehnel | 2008-05-21 20:06:26 +0200scoder2008-05-211-2/+7
| | | | | | | lots pf Py3 fixes and work-arounds --HG-- branch : trunk
* [svn r3699] r4257@delle: sbehnel | 2008-05-21 00:08:43 +0200scoder2008-05-211-5/+13
| | | | | | | Py3 fixes and work-arounds --HG-- branch : trunk
* [svn r3285] r3470@delle: sbehnel | 2008-02-13 20:12:19 +0100scoder2008-02-131-2/+17
| | | | | | | loads of docstrings --HG-- branch : trunk
* [svn r2744] copied lxml.cssselect from html branchscoder2007-08-181-0/+905
--HG-- branch : trunk