summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Some kind of recovery from not supporting an auto-detected charset. We fall ↵John Mark Bell2009-01-062-2/+33
| | | | | | | | | | | back to Windows-1252 and hope for the best. Note that this only occurs when autodetecting. If the client has specified a charset, they get told about it immediately and get to decide what to do about it. If a meta charset is encountered after a successful autodetection, the client is informed in the usual way. As this requires the client to throw out the parser and start afresh, specifying the meta charset as the one to use, there's no problem as, again, the client will be informed immediately in that case. All of this ensures that charset autodetection is pretty well transparent as far as the client application is concerned. svn path=/trunk/hubbub/; revision=5970
* Here, have an incomplete binding example.John Mark Bell2009-01-061-0/+875
| | | | svn path=/trunk/hubbub/; revision=5968
* Fix potential read beyond available input data when processing \r in some ↵John Mark Bell2009-01-061-5/+5
| | | | | | | | | | states. What happened was that, given \rabc, we would advance past the \r, then read at current_offset + len (len == 1). I.E. read 'b' instead of 'a'. If the data in the inputstream's internal buffer happened to end immediately after the \r, then we'd read past the end of the buffer thanks to a bug in lpu_inputstream_peek which was fixed in r5965. In any case, we'd still be looking at the wrong character when looking for CRLF pairs. All regression tests now pass again. svn path=/trunk/hubbub/; revision=5967
* Port to changed lpu API.John Mark Bell2009-01-064-461/+639
| | | | | | | Drop HUBBUB_OOD and just use HUBBUB_NEEDDATA, instead. Currently aborts in bogus comment handling if it encounters a \r at the end of the inputstream's utf-8 buffer. svn path=/trunk/hubbub/; revision=5966
* Sync with reality.John Mark Bell2009-01-051-41/+14
| | | | svn path=/trunk/hubbub/; revision=5960
* Fix build breakageJohn Mark Bell2008-11-301-1/+3
| | | | svn path=/trunk/hubbub/; revision=5851
* lotsa C89, please check.François Revel2008-11-301-48/+91
| | | | svn path=/trunk/hubbub/; revision=5846
* Fix wrong prototype.François Revel2008-11-301-1/+1
| | | | svn path=/trunk/hubbub/; revision=5845
* C89François Revel2008-11-301-2/+5
| | | | svn path=/trunk/hubbub/; revision=5844
* C89François Revel2008-11-307-46/+58
| | | | svn path=/trunk/hubbub/; revision=5843
* Fix commentaryJohn Mark Bell2008-11-091-2/+3
| | | | svn path=/trunk/hubbub/; revision=5668
* Convert PARSERUTILS_BADENCODING into HUBBUB_BADENCODINGJohn Mark Bell2008-11-093-1/+7
| | | | svn path=/trunk/hubbub/; revision=5667
* Return errors from parser constructor/destructor. This changes the public API.John Mark Bell2008-11-096-38/+46
| | | | svn path=/trunk/hubbub/; revision=5666
* Return errors from treebuilder constructor/destructorJohn Mark Bell2008-11-093-22/+32
| | | | svn path=/trunk/hubbub/; revision=5665
* Return errors from tokeniser constructor/destructorJohn Mark Bell2008-11-096-25/+36
| | | | svn path=/trunk/hubbub/; revision=5664
* Return errors from dictionary constructor/destructor.John Mark Bell2008-11-095-24/+33
| | | | | | Fix commentary copied from libcss svn path=/trunk/hubbub/; revision=5663
* Port hubbub to new lpu APIJohn Mark Bell2008-11-085-14/+13
| | | | svn path=/trunk/hubbub/; revision=5656
* Fixup dubious charsetsJohn Mark Bell2008-10-149-8/+32
| | | | svn path=/trunk/hubbub/; revision=5575
* GCCSDK 4 build compatibility (not finished yet)John Tytgat2008-09-282-7/+11
| | | | svn path=/trunk/hubbub/; revision=5458
* Purge redundant APIJohn Mark Bell2008-09-251-4/+0
| | | | svn path=/trunk/hubbub/; revision=5432
* Report errors from libparserutils better.Andrew Sidwell2008-09-244-3/+51
| | | | svn path=/trunk/hubbub/; revision=5431
* Ensure we unref collect node if it still exists when we come to destroy the ↵John Mark Bell2008-09-181-0/+6
| | | | | | | | | treebuilder (this can occur if EOF is encountered when in generic_rcdata/script_collect modes). Note that the spec has since changed here, so we'll need to resync, anyway. This is simply to ensure the testsuite passes once more. svn path=/trunk/hubbub/; revision=5374
* Add configuration Makefile fragment.John Mark Bell2008-09-182-0/+7
| | | | svn path=/trunk/hubbub/; revision=5373
* Make install target work with DESTDIR again. bah.John Mark Bell2008-09-181-3/+3
| | | | svn path=/trunk/hubbub/; revision=5372
* OS X friendly install invocationJohn Mark Bell2008-09-101-3/+3
| | | | svn path=/trunk/hubbub/; revision=5301
* Make install/uninstall non-silentJohn Mark Bell2008-09-091-6/+6
| | | | svn path=/trunk/hubbub/; revision=5296
* Make install/uninstall consider DESTDIRJohn Mark Bell2008-09-091-8/+8
| | | | svn path=/trunk/hubbub/; revision=5293
* Lose redundant todosJohn Mark Bell2008-09-082-5/+0
| | | | svn path=/trunk/hubbub/; revision=5290
* Squash memory leakJohn Mark Bell2008-09-081-0/+2
| | | | svn path=/trunk/hubbub/; revision=5285
* Entity test, using chunks from log fileJohn Mark Bell2008-09-072-0/+45
| | | | svn path=/trunk/hubbub/; revision=5280
* Fix LDFLAGSJohn Mark Bell2008-09-071-1/+1
| | | | svn path=/trunk/hubbub/; revision=5279
* Only include the .d files for testcases if we're building the test target.John Mark Bell2008-09-071-2/+2
| | | | svn path=/trunk/hubbub/; revision=5278
* Fix build failures. Quite how these were missed before, I don't know.John Mark Bell2008-09-073-0/+11
| | | | svn path=/trunk/hubbub/; revision=5277
* Only look for json if we're building the test targetJohn Mark Bell2008-09-071-0/+2
| | | | svn path=/trunk/hubbub/; revision=5276
* Native RO buildsystem. Beware of the NOP.John Mark Bell2008-09-074-6/+69
| | | | svn path=/trunk/hubbub/; revision=5275
* Revert accidental commenting out of tree tester.Michael Drake2008-09-071-1/+1
| | | | svn path=/trunk/hubbub/; revision=5269
* Test case for attributes on first COL when COLGROUP is only implied.Michael Drake2008-09-072-1/+20
| | | | svn path=/trunk/hubbub/; revision=5268
* Fixes for handling of CR followed immediately by multibyte sequences.John Mark Bell2008-09-063-59/+115
| | | | | | | Pedantic whitespace changes. More paranoia surrounding entity handling. svn path=/trunk/hubbub/; revision=5266
* Untested regression test case for attribute on first tr in table with no tbody.Michael Drake2008-09-061-0/+17
| | | | svn path=/trunk/hubbub/; revision=5265
* Fix for spurious attributes on implied tbody and colgroup by takkaria.Michael Drake2008-09-061-1/+5
| | | | svn path=/trunk/hubbub/; revision=5262
* Fix testutils line reader.John Mark Bell2008-09-051-1/+1
| | | | svn path=/trunk/hubbub/; revision=5253
* Make export target usefulJohn Mark Bell2008-09-051-4/+3
| | | | svn path=/trunk/hubbub/; revision=5252
* Fix test driverJohn Mark Bell2008-08-231-5/+8
| | | | svn path=/trunk/hubbub/; revision=5182
* Play with CHUNK_SIZE to attempt to tickle bugs. Causes tree tests to fail ↵Daniel Silverstone2008-08-222-15/+37
| | | | | | with a double-free svn path=/trunk/hubbub/; revision=5172
* Test driver for pre-specified chunk size testsJohn Mark Bell2008-08-185-1/+878
| | | | svn path=/trunk/hubbub/; revision=5151
* Fix segfault caused by trampling the length of the current character when ↵John Mark Bell2008-08-182-3/+9
| | | | | | | | testing whether the 4 most recently read characters in the data state are <!--. Add a couple of assertions for paranoia. svn path=/trunk/hubbub/; revision=5146
* Refactor the generic rcdata mode so it's more like the script collection ↵Andrew Sidwell2008-08-154-39/+32
| | | | | | mode, and then remove an unused variable in the treebuilder state. svn path=/trunk/hubbub/; revision=5132
* Add another crasher page.Andrew Sidwell2008-08-152-1/+680
| | | | svn path=/trunk/hubbub/; revision=5126
* Get make test running again.Andrew Sidwell2008-08-151-1/+2
| | | | svn path=/trunk/hubbub/; revision=5125
* Add www.directline.com front page HTML to test dataRob Kendrick2008-08-152-0/+1313
| | | | svn path=/trunk/hubbub/; revision=5123