Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tests/tokenizer[23]: fix handling of CHARACTER tokens | John-Mark Bell | 2023-09-16 | 2 | -4/+4 |
| | | | | | | | | | | Where a CHARACTER token is emitted but the expected data is shorter than the data in the token, we want to consume the expected data and then process the remaining token data as if it were emitted separately. Sadly this didn't happen as we never initialised the replacement token correctly. Make this so, and also tell the compiler that the recursive call is actually a tail call so it can optimise it appropriately. | ||||
* | Tests: Squash comparison of signed vs unsigned warnings. | Michael Drake | 2021-05-15 | 2 | -8/+8 |
| | |||||
* | Tests: libjson-c does not provide is_error any more. | Michael Drake | 2021-05-15 | 2 | -2/+2 |
| | |||||
* | Tests: Squash leaked chunks allocations. | Michael Drake | 2018-07-28 | 1 | -0/+1 |
| | |||||
* | Tests: Squash leak of hubbub parser. | Michael Drake | 2018-07-28 | 1 | -2/+12 |
| | | | | Found by address sanitizer. | ||||
* | Tests: Fix passing NULL to qsort. | Michael Drake | 2018-07-28 | 1 | -3/+6 |
| | | | | test/tree2.c:882:3: runtime error: null pointer passed as argument 1, which is declared to never be null | ||||
* | Tests: Squash json object leak in tests. | Michael Drake | 2018-07-28 | 1 | -0/+2 |
| | |||||
* | Tests: Squash implicit fallthrough error. | Michael Drake | 2018-07-28 | 1 | -0/+1 |
| | | | | test/tree2.c:239:10: error: this statement may fall through [-Werror=implicit-fallthrough=] | ||||
* | Remove client allocation function and update for new lpu API. | Michael Drake | 2013-12-14 | 7 | -88/+10 |
| | |||||
* | Correct various warnings in the test suite | Craig Barnes | 2013-05-04 | 6 | -14/+14 |
| | |||||
* | Don't use the nonportable alloca() during tests. | Anthony J. Bentley | 2013-04-27 | 4 | -4/+12 |
| | |||||
* | Fix up for json-c 0.10 | John-Mark Bell | 2012-08-29 | 1 | -14/+14 |
| | |||||
* | Sprinkle some const correctness around | John-Mark Bell | 2012-08-29 | 1 | -9/+9 |
| | |||||
* | update for json-c 0.10 API | Vincent Sanders | 2012-08-28 | 1 | -7/+6 |
| | |||||
* | Fix testsuite | John-Mark Bell | 2012-07-05 | 3 | -0/+28 |
| | |||||
* | Update to new NSBUILD infrastructure | Daniel Silverstone | 2012-06-29 | 1 | -1/+1 |
| | | | | svn path=/trunk/hubbub/; revision=14006 | ||||
* | Fix handling of xmlns attributes on foreign content root elements | John Mark Bell | 2011-10-27 | 1 | -0/+10 |
| | | | | svn path=/trunk/hubbub/; revision=13083 | ||||
* | Remove Aliases file from test harnesses | John Mark Bell | 2010-12-04 | 9 | -333/+30 |
| | | | | svn path=/trunk/hubbub/; revision=10978 | ||||
* | Remove init/final and embed entity trie at build time. r=vince | Daniel Silverstone | 2010-12-04 | 13 | -143/+3 |
| | | | | svn path=/trunk/hubbub/; revision=10976 | ||||
* | A load of c89 compatibility fixes. | John Mark Bell | 2009-04-16 | 6 | -39/+66 |
| | | | | | | GCC 2.95 doesn't understand -Wno-unused-parameter svn path=/trunk/hubbub/; revision=7103 | ||||
* | Manually merge r7070 into trunk | John Mark Bell | 2009-04-15 | 3 | -148/+159 |
| | | | | svn path=/trunk/hubbub/; revision=7082 | ||||
* | Move hubbub_error_from_string into testutils.h and remove it from the library. | John Mark Bell | 2009-04-04 | 1 | -0/+27 |
| | | | | svn path=/trunk/hubbub/; revision=7041 | ||||
* | Purge testrunner | John Mark Bell | 2009-03-26 | 1 | -257/+0 |
| | | | | svn path=/trunk/hubbub/; revision=6893 | ||||
* | Make testcases compile in release mode | John Mark Bell | 2009-03-25 | 3 | -1/+56 |
| | | | | svn path=/trunk/hubbub/; revision=6878 | ||||
* | Port to new test scheme. | John Mark Bell | 2009-03-25 | 3 | -4/+6 |
| | | | | | | Avoid strict-aliasing warnings. svn path=/trunk/hubbub/; revision=6870 | ||||
* | Fix determination of whether json is required | John Mark Bell | 2009-03-24 | 1 | -8/+0 |
| | | | | svn path=/trunk/hubbub/; revision=6846 | ||||
* | Flag argc as unused | John Mark Bell | 2009-03-24 | 1 | -0/+2 |
| | | | | svn path=/trunk/hubbub/; revision=6842 | ||||
* | First cut at porting hubbub's buildsystem to the core tools | John Mark Bell | 2009-03-24 | 1 | -114/+4 |
| | | | | svn path=/trunk/hubbub/; revision=6837 | ||||
* | Update test data to reflect spec changes | John Mark Bell | 2009-03-10 | 3 | -5/+10 |
| | | | | svn path=/trunk/hubbub/; revision=6763 | ||||
* | Sync treebuilder tests with html5lib | John Mark Bell | 2009-03-10 | 8 | -284/+344 |
| | | | | svn path=/trunk/hubbub/; revision=6757 | ||||
* | Lose svn:executable property | John Mark Bell | 2009-03-10 | 1 | -0/+0 |
| | | | | svn path=/trunk/hubbub/; revision=6756 | ||||
* | Sync tokeniser tests with html5lib. | John Mark Bell | 2009-03-10 | 9 | -281/+8579 |
| | | | | | | | | Sync tokeniser implementation with the spec. Fix handling of \0 in the tag open state. The unicodeCharacters test is disabled, as json-c doesn't like it. svn path=/trunk/hubbub/; revision=6755 | ||||
* | Fix bug 2673645 | John Mark Bell | 2009-03-09 | 1 | -1/+1 |
| | | | | | | <form><option>foo</option></form> => abort. svn path=/trunk/hubbub/; revision=6746 | ||||
* | Test data for bug 2673645 | John Mark Bell | 2009-03-09 | 2 | -1/+1823 |
| | | | | svn path=/trunk/hubbub/; revision=6745 | ||||
* | Allow TESTTYPE=release to be specified to build the tests with the release ↵ | Daniel Silverstone | 2009-02-14 | 6 | -59/+49 |
| | | | | | | | | | | CFLAGS. Add TARGET to the build paths. You should 'make distclean' before updating to this. Add BUILD_SHARED=yes support to the *nix build svn path=/trunk/hubbub/; revision=6478 | ||||
* | Rework testrunner to avoid deadlocks. Hopefully, this is the last time I ↵ | John Mark Bell | 2009-01-23 | 1 | -18/+103 |
| | | | | | | have to do this. svn path=/trunk/hubbub/; revision=6179 | ||||
* | Return errors from parser constructor/destructor. This changes the public API. | John Mark Bell | 2008-11-09 | 4 | -8/+8 |
| | | | | svn path=/trunk/hubbub/; revision=5666 | ||||
* | Return errors from tokeniser constructor/destructor | John Mark Bell | 2008-11-09 | 3 | -6/+6 |
| | | | | svn path=/trunk/hubbub/; revision=5664 | ||||
* | Return errors from dictionary constructor/destructor. | John Mark Bell | 2008-11-09 | 1 | -2/+1 |
| | | | | | | Fix commentary copied from libcss svn path=/trunk/hubbub/; revision=5663 | ||||
* | Port hubbub to new lpu API | John Mark Bell | 2008-11-08 | 3 | -9/+6 |
| | | | | svn path=/trunk/hubbub/; revision=5656 | ||||
* | Fixup dubious charsets | John Mark Bell | 2008-10-14 | 4 | -4/+4 |
| | | | | svn path=/trunk/hubbub/; revision=5575 | ||||
* | Entity test, using chunks from log file | John Mark Bell | 2008-09-07 | 2 | -0/+45 |
| | | | | svn path=/trunk/hubbub/; revision=5280 | ||||
* | Only include the .d files for testcases if we're building the test target. | John Mark Bell | 2008-09-07 | 1 | -2/+2 |
| | | | | svn path=/trunk/hubbub/; revision=5278 | ||||
* | Only look for json if we're building the test target | John Mark Bell | 2008-09-07 | 1 | -0/+2 |
| | | | | svn path=/trunk/hubbub/; revision=5276 | ||||
* | Native RO buildsystem. Beware of the NOP. | John Mark Bell | 2008-09-07 | 1 | -2/+8 |
| | | | | svn path=/trunk/hubbub/; revision=5275 | ||||
* | Revert accidental commenting out of tree tester. | Michael Drake | 2008-09-07 | 1 | -1/+1 |
| | | | | svn path=/trunk/hubbub/; revision=5269 | ||||
* | Test case for attributes on first COL when COLGROUP is only implied. | Michael Drake | 2008-09-07 | 2 | -1/+20 |
| | | | | svn path=/trunk/hubbub/; revision=5268 | ||||
* | Fixes for handling of CR followed immediately by multibyte sequences. | John Mark Bell | 2008-09-06 | 2 | -0/+21 |
| | | | | | | | 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 Drake | 2008-09-06 | 1 | -0/+17 |
| | | | | svn path=/trunk/hubbub/; revision=5265 | ||||
* | Fix testutils line reader. | John Mark Bell | 2008-09-05 | 1 | -1/+1 |
| | | | | svn path=/trunk/hubbub/; revision=5253 |