An open API service providing commit metadata for open source projects.

GitHub / html5lib/html5lib-python / commits

Standards-compliant library for parsing and serializing HTML documents and fragments in Python

SHA Message Author Date Stats
36517ca5 Initial elementtree support (not yet unit-tested), and changes to parse.py to... James Graham <j****s@h****k> over 19 years ago
ecf2ab0c fix in frameset a bit more and change parseError() Anne van Kesteren <a****k@a****l> over 19 years ago
2538d8d4 fix a bug in the in frameset phase and add some better error messages there; ... Anne van Kesteren <a****k@a****l> over 19 years ago
be631552 Emit a parse error if no DOCTYPE was seen (when going from initial to the roo... Anne van Kesteren <a****k@a****l> over 19 years ago
29930175 Beware. Lots of testcases will fail from now on because in addition to requir... Anne van Kesteren <a****k@a****l> over 19 years ago
930e1453 add an easy way to count parse errors in parser.py; use that in parse.py; str... Anne van Kesteren <a****k@a****l> over 19 years ago
0da2aa1d move away from emitCurrentToken; part 1 / ... Anne van Kesteren <a****k@a****l> over 19 years ago
1c93118d add a testcase for / in the tagname; make a start with saying what the ParseE... Anne van Kesteren <a****k@a****l> over 19 years ago
6cfa40bd in the numeric entity algorithm it's a parse error if the number can't be con... Anne van Kesteren <a****k@a****l> over 19 years ago
143c4025 initial phase probably can't be merged with the root element phase because DO... Anne van Kesteren <a****k@a****l> over 19 years ago
6c68e52d add a comment on where we differ from the current spec Anne van Kesteren <a****k@a****l> over 19 years ago
0e8388bc Removed __name__ == '__main__' section from inputstream on the 0.1 branch as ... lantis63 <l****3@g****m> over 19 years ago
94de3bd4 reorder some methods to match the scheme set up in Phase and add a comment ab... Anne van Kesteren <a****k@a****l> over 19 years ago
da9201f9 change the way DOCTYPEs are tokenized to deal with <!DOCTYPE> Anne van Kesteren <a****k@a****l> over 19 years ago
8e72ade6 fix comments; split a function so we can have separate parse error messages f... Anne van Kesteren <a****k@a****l> over 19 years ago
716a116e fix parse.py to handle strings again Anne van Kesteren <a****k@a****l> over 19 years ago
106d3a10 --HG-- James Graham <j****s@h****k> over 19 years ago
8c8eb7e2 Changes to parser.py to make the command line interface more sane, type parse... James Graham <j****s@h****k> over 19 years ago
f34b5003 Untested, unfinished first cut at generating an elementtree. Will not work yet. James Graham <j****s@h****k> over 19 years ago
b5240b21 fix a stupid bug with entitiesWindows1252 thanks to testcases from Thomas Broyer Anne van Kesteren <a****k@a****l> over 19 years ago
dd50ab61 fix two tests, try fixing test_tokenizer a bit Anne van Kesteren <a****k@a****l> over 19 years ago
8179a78b temporary fix to make treebuilders work, see also some comments on IRC (whatb... Anne van Kesteren <a****k@a****l> over 19 years ago
a1876809 minor cleanup Anne van Kesteren <a****k@a****l> over 19 years ago
6d7e57c6 Big patch to refactor out all the treebuilding operations into their own clas... James Graham <j****s@h****k> over 19 years ago
dbf7190f oops Anne van Kesteren <a****k@a****l> over 19 years ago
b2ea41d6 use timeit instead Anne van Kesteren <a****k@a****l> over 19 years ago
c8e4289a use timeit instead Anne van Kesteren <a****k@a****l> over 19 years ago
4b07a27d minor cleanup Anne van Kesteren <a****k@a****l> over 19 years ago
6603b378 remove check in startTagHtml because it's wrong. Leave it as an open issue fo... Anne van Kesteren <a****k@a****l> over 19 years ago
8f812436 optimize InCellPhase a little; saves about 665 * 2 invocations for web-apps.htm Anne van Kesteren <a****k@a****l> over 19 years ago
26cc94d5 add some trailing end testcases; put all phases into HTMLParser.phases; intro... Anne van Kesteren <a****k@a****l> over 19 years ago
d02156e5 intermediate checkin: everything is Phase; InsertionMode is gone; testcases s... Anne van Kesteren <a****k@a****l> over 19 years ago
8b07cb69 move processing of <html> to the various insertion modes; step 1 in nuking th... Anne van Kesteren <a****k@a****l> over 19 years ago
acbaf7b1 no need for implied argument values here; also makes things more consistent Anne van Kesteren <a****k@a****l> over 19 years ago
b0a342b5 add a comment on possibly removing the mainphase class; ideas welcome! Anne van Kesteren <a****k@a****l> over 19 years ago
abe4facf move attributes from Node to Element; reformat some things; s/self.parser.pro... Anne van Kesteren <a****k@a****l> over 19 years ago
76e97ec5 Move tag handlers into __init__ methods for insertion modes James Graham <j****s@h****k> over 19 years ago
551445d7 screw what I said on the wiki, more processStartTagHandlers help Anne van Kesteren <a****k@a****l> over 19 years ago
f9bf9375 create insertion modes only once Anne van Kesteren <a****k@a****l> over 19 years ago
f5247f5a introduce SpaceCharacters Anne van Kesteren <a****k@a****l> over 19 years ago
5f404da9 make performance improvement to elementInScope and a possible improvement to ... Anne van Kesteren <a****k@a****l> over 19 years ago
6536d1d0 make tagNameState internally more consistent Anne van Kesteren <a****k@a****l> over 19 years ago
6c980d68 add a string concatenation performance test Anne van Kesteren <a****k@a****l> over 19 years ago
80f280ad fix endTagSelect in InSelect and add a testcase for it Anne van Kesteren <a****k@a****l> over 19 years ago
9312fa96 data += -> data + Anne van Kesteren <a****k@a****l> over 19 years ago
1214e5dc remove the inconsistent use of 'assert' in the tokenizer and improve the stru... Anne van Kesteren <a****k@a****l> over 19 years ago
11a7ac0a clean up the data state Anne van Kesteren <a****k@a****l> over 19 years ago
f9a46459 consume spaceCharacters when we can Anne van Kesteren <a****k@a****l> over 19 years ago
97384268 no more token classes; dicts rule tokenizer.py now Anne van Kesteren <a****k@a****l> over 19 years ago
1c35bfa9 fix up some comments and revert the change to utils.py because it made it two... Anne van Kesteren <a****k@a****l> over 19 years ago
5e5309d9 Small speed up in MethodDispatch lantis63 <l****3@g****m> over 19 years ago
ab201934 Changed an assertTrue in the tokenizer unittest to assertEquals because asser... lantis63 <l****3@g****m> over 19 years ago
679f808d Change to built in set type where avaliable James Graham <j****s@h****k> over 19 years ago
f0ae1bcc nuke changeState in tokenizer.py to save us over 200.000 method invocations i... Anne van Kesteren <a****k@a****l> over 19 years ago
2660421b simplify test_parser() in test_parser.py; now the new lines are no longer needed Anne van Kesteren <a****k@a****l> over 19 years ago
7588d9d6 fix parse.py to work with multiline input; do the same for test_parser.py; re... Anne van Kesteren <a****k@a****l> over 19 years ago
9831cc6f processCharacter => processCharacters Sam Ruby <r****s@i****t> over 19 years ago
0c30e332 tagname -> name Anne van Kesteren <a****k@a****l> over 19 years ago
b398747c invoke self.phase.process* instead of self.process* when the tokenizer yields... Anne van Kesteren <a****k@a****l> over 19 years ago
e6f295fb create the MethodDispatchers for process{Start|End}Tag in InBody in an __init... Anne van Kesteren <a****k@a****l> over 19 years ago
66c5790b fix <isindex> parsing Anne van Kesteren <a****k@a****l> over 19 years ago
c97c27ea change 'comment dash state' and add three regression testcases for it Anne van Kesteren <a****k@a****l> over 19 years ago
fbe190b8 Character > Characters; add comments on why 'data in spaceCharacters' remains... Anne van Kesteren <a****k@a****l> over 19 years ago
9f3adeb2 improve bogusCommentState Anne van Kesteren <a****k@a****l> over 19 years ago
97eac4cb reorganize attributeNameState Anne van Kesteren <a****k@a****l> over 19 years ago
a07489fd document parse.py Anne van Kesteren <a****k@a****l> over 19 years ago
a6b73046 add some test files Anne van Kesteren <a****k@a****l> over 19 years ago
e6055c7a dangerous change to the tokenizer; please review Anne van Kesteren <a****k@a****l> over 19 years ago
f33a16aa make unquotedattributevalue state faster Anne van Kesteren <a****k@a****l> over 19 years ago
0edb7983 make unquotedattributevalue state faster Anne van Kesteren <a****k@a****l> over 19 years ago
6a067936 <input> needs to be handled as well Anne van Kesteren <a****k@a****l> over 19 years ago
d92397c2 make test_parser use open() instead of file() and use a set instead of frozen... Anne van Kesteren <a****k@a****l> over 19 years ago
b3b72776 simplify convertTreeDump in test_parser.py as well Anne van Kesteren <a****k@a****l> over 19 years ago
06c70b66 fix it up some more Anne van Kesteren <a****k@a****l> over 19 years ago
f02cd8b3 fix parse.py by moving convertTreeDump inline Anne van Kesteren <a****k@a****l> over 19 years ago
8aaf2948 move parse.py Anne van Kesteren <a****k@a****l> over 19 years ago
0a3b5f81 Stage 1 in hacky move of trunk changes onto branch James Graham <j****s@h****k> over 19 years ago
18996923 make several classes use processCharacter directly Anne van Kesteren <a****k@a****l> over 19 years ago
d1dace3d Couple performance tweaks. Removed emitToken since it was a 1 liner and just ... lantis63 <l****3@g****m> over 19 years ago
82ee0dbb change how InSelect works a bit and add some testcases to test InSelect handling Anne van Kesteren <a****k@a****l> over 19 years ago
a6d74b30 fix two bugs in InCaption and add a regression testcase Anne van Kesteren <a****k@a****l> over 19 years ago
63b257c9 remove functions that are already covered by a superclass and fix processChar... Anne van Kesteren <a****k@a****l> over 19 years ago
1afbdabf fix a bug in the root element phase and add a regression testcase Anne van Kesteren <a****k@a****l> over 19 years ago
502aa9e2 implement processNonSpaceCharacter in 'after body', trim whitespace and add a... Anne van Kesteren <a****k@a****l> over 19 years ago
58a31ba7 improve charsUntil and put it to use Anne van Kesteren <a****k@a****l> over 19 years ago
6c5e5f93 add two more entity tests and make a trivial comment change in the tokenizer Anne van Kesteren <a****k@a****l> over 19 years ago
80783301 move consumeCharsUntil to HTMLInputStream as well; seems to make things sligh... Anne van Kesteren <a****k@a****l> over 19 years ago
99039448 simplify the tokenizer by moving the characterQueue to HTMLInputStream and by... Anne van Kesteren <a****k@a****l> over 19 years ago
a5cf93f0 First cut at a setup.py file. Not quite perfect; creates an unnecessary build... James Graham <j****s@h****k> over 19 years ago
812be4ce now move stuff from simple_parser.py to parse.py and be done with it... Anne van Kesteren <a****k@a****l> over 19 years ago
a8237770 add simple_parser.py back... (sorry for messing things up) Anne van Kesteren <a****k@a****l> over 19 years ago
be2106ef nuke setDefaultValue() in favor of a default attribute Anne van Kesteren <a****k@a****l> over 19 years ago
2e502cd6 fix Anne van Kesteren <a****k@a****l> over 19 years ago
0438ba1e improve simple_parser.py Anne van Kesteren <a****k@a****l> over 19 years ago
0debd40f update README Anne van Kesteren <a****k@a****l> over 19 years ago
a4e913d4 remove an import that isn't necessary Anne van Kesteren <a****k@a****l> over 19 years ago
a66ea968 fix the testcase we didn't pass; reported spec bug to implementors@whatwg.org Anne van Kesteren <a****k@a****l> over 19 years ago
bd0af345 some elements didn't check if <p> was in scope before invoking endTagP and ch... Anne van Kesteren <a****k@a****l> over 19 years ago
3e6a5376 rewrite of def reconstructActiveFormattingElements to match the specification... Anne van Kesteren <a****k@a****l> over 19 years ago
02b767bb handlePEndTag -> endTagP and add some regression testcases while I'm at it Anne van Kesteren <a****k@a****l> over 19 years ago

← Back to repository