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
9f970660 Remove utils directory James Graham <j****s@h****k> over 19 years ago
dd4d4b11 Rearrange source tree for easier packaging James Graham <j****s@h****k> over 19 years ago
8645e307 add a couple of simple entity testcases; simplify a structure in tokenizer.py Anne van Kesteren <a****k@a****l> over 19 years ago
b2d04d4c fix an EOF bug in the tokenizer and add a testcase to make sure we don't regr... Anne van Kesteren <a****k@a****l> over 19 years ago
4d7de250 remove debug code; patch by rubys Anne van Kesteren <a****k@a****l> over 19 years ago
12c0bacd simplify some code in the tokenizer Anne van Kesteren <a****k@a****l> over 19 years ago
97d4aed2 change and remove some comments to reflect the implementation better Anne van Kesteren <a****k@a****l> over 19 years ago
03474d2d </B> didn't became </b> and therefore things broke. we're now passing all tes... Anne van Kesteren <a****k@a****l> over 19 years ago
003bc470 fix a bug and add a testcase to make sure we don't regress it in the future Anne van Kesteren <a****k@a****l> over 19 years ago
6e175c07 Style cleanup in inputstream lantis63 <l****3@g****m> over 19 years ago
46754d7f Hybrid solution for dataState. It gets all the characters it can at once but ... lantis63 <l****3@g****m> over 19 years ago
c84591bc Removed a couple of the changes made yesterday which caused a couple regressi... lantis63 <l****3@g****m> over 19 years ago
59ff0026 fix a comment and add another one Anne van Kesteren <a****k@a****l> over 19 years ago
1babf9da remove whitespace (again!); please don't add it back; also fix some comments Anne van Kesteren <a****k@a****l> over 19 years ago
0e2f5a82 Speed improvements in inputstream and tokenizer. On ~400kb test file time tak... lantis63 <l****3@g****m> over 19 years ago
1b60c964 Tokenizer is now iterable. Updated test/mock parsers and the real parsers to ... lantis63 <l****3@g****m> over 19 years ago
bb525505 Fix up reconstruct active formatting elements to deal with the InTable case. James Graham <j****s@h****k> over 19 years ago
6f79c10d Implement new version of InTable misnested element handling. Doesn't deal wit... James Graham <j****s@h****k> over 19 years ago
841052df New, improved HMTLInputStream. Now fast enough that you won't even notice it'... lantis63 <l****3@g****m> over 19 years ago
e83e8bc2 fix a comment in the tokenizer Anne van Kesteren <a****k@a****l> over 19 years ago
80f52e76 fix EOF problem in closeTagOpenState Anne van Kesteren <a****k@a****l> over 19 years ago
923981a0 give AfterBody a processComment because that's needed and clean up endTagBody... Anne van Kesteren <a****k@a****l> over 19 years ago
280ab9cc insertBefore should concenate text nodes as well Anne van Kesteren <a****k@a****l> over 19 years ago
9a83a1cd oops, processEndTag->processStartTag; makes us pass two more testcases Anne van Kesteren <a****k@a****l> over 19 years ago
4f5aceed if self.parser.innerHTML -> if not self.parser.innerHTML; if a 'fake' start o... Anne van Kesteren <a****k@a****l> over 19 years ago
ff3cb9cc fix some bugs in the table modes (not all) Anne van Kesteren <a****k@a****l> over 19 years ago
9b6b1d70 make tableInsertModeElements consistent with the rest of sets of elements Anne van Kesteren <a****k@a****l> over 19 years ago
710f096b Remove erroneously left in code that was causing us to duplicate nodes James Graham <j****s@h****k> over 19 years ago
1c2ac9bb Check in missing def for table insert mode elements James Graham <j****s@h****k> over 19 years ago
56acf161 simplify and correct some things in parser.py Anne van Kesteren <a****k@a****l> over 19 years ago
6c46e4d3 add some version of tableInsertModeElements because all the testcases fail wi... Anne van Kesteren <a****k@a****l> over 19 years ago
52d9f585 Slight improvement to the misnested table element case. Still duplicating ele... James Graham <j****s@h****k> over 19 years ago
9a57b959 First cut at implementing the anything else section of InTable. Seems to be s... James Graham <j****s@h****k> over 19 years ago
a6f814a6 minor fix to startTagNoframes Anne van Kesteren <a****k@a****l> over 19 years ago
19e4cfc9 Reverted tokenizer back to before I made changes lantis63 <l****3@g****m> over 19 years ago
ac35ef12 fix step 10 in the adoption agency algorithm to cope with <font><p><b>X</font> Anne van Kesteren <a****k@a****l> over 19 years ago
af995484 add a testcase <script></x which the tokenizer borks on... Anne van Kesteren <a****k@a****l> over 19 years ago
1fe38fc6 Some clean up in inputstream and tokenizer and set tokenizer to use inputstre... lantis63 <l****3@g****m> over 19 years ago
261179bc oops Anne van Kesteren <a****k@a****l> over 19 years ago
3d2e54c3 not formatting nor phrasing is equivalent to special or scoping... Anne van Kesteren <a****k@a****l> over 19 years ago
e55165f3 change "and" to "or" which should make this work... Anne van Kesteren <a****k@a****l> over 19 years ago
9308489b 'simplify' the tokenizer (no tests regressed, fwiw) Anne van Kesteren <a****k@a****l> over 19 years ago
bfb048d9 fix simple_parser Anne van Kesteren <a****k@a****l> over 19 years ago
4cd794e3 Add ability to run all tests. Patch by Sam Ruby James Graham <j****s@h****k> over 19 years ago
8785316d centre->center; fix endTagBlock, endTagOther in InBody; other smal fix Anne van Kesteren <a****k@a****l> over 19 years ago
5f9a5b2e Change tests to use unittest. Mostly from Sam Ruby James Graham <j****s@h****k> over 19 years ago
0a49177c simplify insertElement Anne van Kesteren <a****k@a****l> over 19 years ago
d6378ee8 don't break to soon in startTagListItem Anne van Kesteren <a****k@a****l> over 19 years ago
ad007367 reformat some comments and remove self.activeFormattingElements (the old comm... Anne van Kesteren <a****k@a****l> over 19 years ago
7a85010e make sure we close title, style or script first before going further Anne van Kesteren <a****k@a****l> over 19 years ago
eb85b157 change EOF handling so we pass way more tests Anne van Kesteren <a****k@a****l> over 19 years ago
caebd411 always insert an <li> element Anne van Kesteren <a****k@a****l> over 19 years ago
b7490e50 remove the last bits about collecting characters Anne van Kesteren <a****k@a****l> over 19 years ago
32b5b0ce start documenting reconstructActiveFormattingElements Anne van Kesteren <a****k@a****l> over 19 years ago
c884e782 A few fixups to the adoption agency James Graham <j****s@h****k> over 19 years ago
52483754 we never reach a step in activeFormattingElements ... Anne van Kesteren <a****k@a****l> over 19 years ago
841c37be Use stdout rather than stderr due to cygwin/windows/something oddness James Graham <j****s@h****k> over 19 years ago
9133fe4d Minor bugfix and some comment cleanup James Graham <j****s@h****k> over 19 years ago
21458997 Slight changes to output format James Graham <j****s@h****k> over 19 years ago
e551d1a2 self.openElements->self.parser.openElements; add a comment about another bug Anne van Kesteren <a****k@a****l> over 19 years ago
355fc5a3 create a tmpNode for step 7.1 and move everything after step 7 out of the loo... Anne van Kesteren <a****k@a****l> over 19 years ago
8933ab88 revert the change j made to closeCell. the name argument given by endTagImply... Anne van Kesteren <a****k@a****l> over 19 years ago
39459866 First cut at implementing the full adoption agency algorithm. Currently conta... James Graham <j****s@h****k> over 19 years ago
31b2e3a3 add processNonSpaceCharacter to the frameset states Anne van Kesteren <a****k@a****l> over 19 years ago
71d35ffc minor tweaks Anne van Kesteren <a****k@a****l> over 19 years ago
d72c26b7 in _table_ scope... Anne van Kesteren <a****k@a****l> over 19 years ago
0a595494 Theres no need to convert a string into a list before making a frozenset from... lantis63 <l****3@g****m> over 19 years ago
cb480735 reprocess </table> token InTableBody Anne van Kesteren <a****k@a****l> over 19 years ago
a3a60343 change some method names and add a comment, InTable Anne van Kesteren <a****k@a****l> over 19 years ago
3b8b759d fix some table parsing issues Anne van Kesteren <a****k@a****l> over 19 years ago
ee1c01e5 reveal an annoything bug Anne van Kesteren <a****k@a****l> over 19 years ago
314930f3 fix endTagTableCell; yay! Anne van Kesteren <a****k@a****l> over 19 years ago
f16e6e55 the fix that doesn't work Anne van Kesteren <a****k@a****l> over 19 years ago
1dd0edc9 fix the tokenizer to make <textarea> and several other cdata like elements work Anne van Kesteren <a****k@a****l> over 19 years ago
9ee75980 Kill infinite loop in generateImpliedEndTags James Graham <j****s@h****k> over 19 years ago
95eb15fa make <script> in <body> work... Anne van Kesteren <a****k@a****l> over 19 years ago
656aee21 fix a nasty bug Anne van Kesteren <a****k@a****l> over 19 years ago
1dfd628c add something simple to test against Anne van Kesteren <a****k@a****l> over 19 years ago
7b8c7e38 remove some comments that are no longer needed now that j fixed stuff Anne van Kesteren <a****k@a****l> over 19 years ago
7824bffa nuke the character collector and fix endTagTitleStyleScript Anne van Kesteren <a****k@a****l> over 19 years ago
48978dcd One more test and a typo James Graham <j****s@h****k> over 19 years ago
931070aa Fix a couple of typos that were causing exceptions James Graham <j****s@h****k> over 19 years ago
8d4b8a34 Revert EOF marker to None James Graham <j****s@h****k> over 19 years ago
f1588086 Create sets with string constants in so we can go back to using None as an EO... James Graham <j****s@h****k> over 19 years ago
48e2583c this fixes a bug in the way we handle characters in <head>... need more testc... Anne van Kesteren <a****k@a****l> over 19 years ago
9e288763 remove the need for collecting characters. makes us pass two more testcases (... Anne van Kesteren <a****k@a****l> over 19 years ago
2729b42f add a note to printTree about attributes and implement a new active formattin... Anne van Kesteren <a****k@a****l> over 19 years ago
2d8fea92 missed a , and add some comments to reconstructActiveFormattingElements + dec... Anne van Kesteren <a****k@a****l> over 19 years ago
0fbd5ddc EOF has to be a string; fix some small parser bugs Anne van Kesteren <a****k@a****l> over 19 years ago
861607e9 try to fix some more minor bugs Anne van Kesteren <a****k@a****l> over 19 years ago
198b6bcf fix a couple of bugs and change a few other things Anne van Kesteren <a****k@a****l> over 19 years ago
1a2a527d make endTagTableCell a bit more clear Anne van Kesteren <a****k@a****l> over 19 years ago
fd104a86 minor whitespace cleanup Anne van Kesteren <a****k@a****l> over 19 years ago
6df12ccf fix another bug; end tags set the content model flag to PCDATA Anne van Kesteren <a****k@a****l> over 19 years ago
cafd8c42 fix the tokenizer Anne van Kesteren <a****k@a****l> over 19 years ago
51c29c08 fix a few table related parsing bugs Anne van Kesteren <a****k@a****l> over 19 years ago
d0633e2d Don't fail on exception James Graham <j****s@h****k> over 19 years ago
8bba3576 Fix bug in adoption agency James Graham <j****s@h****k> over 19 years ago
2daa4c97 add a remark from hixie Anne van Kesteren <a****k@a****l> over 19 years ago
6c06da35 utils needs frozenset too Anne van Kesteren <a****k@a****l> over 19 years ago

← Back to repository