Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update component version for releaserelease/0.3.8 | Vincent Sanders | 2023-12-27 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | treebuilder: Fix debug build variant with new element_type_to_name(). | Michael Drake | 2021-05-27 | 3 | -19/+27 |
| | | | | This uses the gperf-generated wordlist. | ||||
* | treebuilder: Add global table option to allow reuse of wordlist. | Michael Drake | 2021-05-27 | 1 | -0/+1 |
| | |||||
* | treebuilder: Return to running gperf at build time. | Michael Drake | 2021-05-27 | 5 | -728/+45 |
| | | | | Now we include the generated C file directly, in a new C file. | ||||
* | treebuilder: Include generated element type lookup source. | Michael Drake | 2021-05-24 | 2 | -7/+706 |
| | | | | | | | | | Previously this source was generated at build time, however there was variance in the versions of gperf on all the platforms that we support. The comment at the top of the generated source file contains a command that can be used to regenerate it manually. | ||||
* | tokeniser: Constify token through hubbub_tokeniser_emit_token(). | Michael Drake | 2021-05-24 | 1 | -2/+2 |
| | |||||
* | Treebuilder: Allow element_type_from_name to be inlined. | Michael Drake | 2021-05-15 | 3 | -26/+26 |
| | | | | | | | | Now it is mostly a wrapper for the gperf-generated hubbub_element_type_lookup. This reduces total instruction fetch cost from 4,523,112,517 to 4,511,919,445. | ||||
* | Treebuilder: Massively optimise element type from name with gperf. | Michael Drake | 2021-05-15 | 5 | -161/+194 |
| | | | | | | | | | | Loading the html5 single page spec: * We were spending 10.81% of total runtime in element_type_from_name. Now it takes 0.66% of total runtime. * Total instruction fetch cost is reduced from 5,660,475,511 to 4,523,112,517. | ||||
* | Perf tester: Optimise tree node data structure with last child pointer. | Michael Drake | 2021-05-15 | 1 | -37/+49 |
| | | | | | | | | | | | | For loading the html5 single page spec: * This reduces append_child callback self time from 21% to 0.6% of total runtime. * Total instruction fetch cost is reduced from 7,085,287,214 to 5,652,755,136. This makes it more useful for observing where hubbub itself is slow, rather than the tester's simple treebuilder implementation. | ||||
* | 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 |
| | |||||
* | Perf tester: Add sample build commands and clean target. | Michael Drake | 2021-05-13 | 1 | -0/+12 |
| | |||||
* | Perf tester: Hubbub doesn't support client allocation callback now. | Michael Drake | 2021-05-13 | 1 | -9/+1 |
| | |||||
* | Perf tester: Remove bogus library initialisation/finalisation calls. | Michael Drake | 2021-05-13 | 1 | -9/+4 |
| | |||||
* | Perf tester: Add change_encoding stub to tree callbacks. | Michael Drake | 2021-05-13 | 1 | -0/+10 |
| | |||||
* | Perf tester: Tree handler callbacks return hubbub_error, not int. | Michael Drake | 2021-05-13 | 1 | -51/+51 |
| | |||||
* | Perf tester: Squash duplicate const qualifier warning. | Michael Drake | 2021-05-13 | 1 | -1/+1 |
| | |||||
* | Example: Add sample build instructions. | Michael Drake | 2021-05-13 | 1 | -0/+6 |
| | |||||
* | Example: Add debugXML.h for xmlDebugDumpDocument(). | Michael Drake | 2021-05-13 | 1 | -0/+1 |
| | |||||
* | Move makefiles that break main build on case-insensitive filesystems. | Michael Drake | 2021-05-12 | 2 | -0/+0 |
| | |||||
* | Update component version to 0.3.7 for releaserelease/0.3.7 | Vincent Sanders | 2020-05-24 | 1 | -2/+2 |
| | | | | Signed-off-by: Vincent Sanders <vince@kyllikki.org> | ||||
* | Treebuilder: Add some new element names. | Michael Drake | 2020-05-22 | 3 | -15/+28 |
| | |||||
* | Treebuilder: Reorganise name_type_map[] src to be easier to change. | Michael Drake | 2020-05-22 | 1 | -48/+96 |
| | |||||
* | treebuilder: Add some asserts to hopefully quieten scan-build | Daniel Silverstone | 2020-02-21 | 1 | -4/+10 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Update Component version for releaserelease/0.3.6 | Vincent Sanders | 2019-06-26 | 1 | -1/+1 |
| | |||||
* | Consume insert_buf when resuming a parse | Daniel Silverstone | 2019-05-06 | 1 | -0/+18 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Update component version for releaserelease/0.3.5 | Vincent Sanders | 2018-08-22 | 1 | -1/+1 |
| | |||||
* | 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=] | ||||
* | Update component version for releaserelease/0.3.4 | Vincent Sanders | 2017-10-13 | 1 | -1/+1 |
| | |||||
* | Support falling back to space separated charset | Daniel Silverstone | 2017-09-09 | 1 | -2/+17 |
| | | | | | | | | | | | | | | | | In some cases, for example, Apple Mail, programs generate HTML with apallingly bad meta tags such as: <meta content="text/html charset=utf-8"> This is bad because *a* no http-equiv="Content-Type" and *b* because the content type and charset do not have a separating semi-colon. Sadly, Chrome et-al support this, so we need to in Hubbub. This change adjusts the content="" parser to retry if it cannot find a semicolon, and work forwards to first whitespace instead. Fixes: #2549 | ||||
* | Update component version for releaserelease/0.3.3 | Vincent Sanders | 2016-02-16 | 1 | -1/+1 |
| | |||||
* | make unused variable macro more portable | Vincent Sanders | 2016-02-06 | 1 | -1/+1 |
| | |||||
* | Update Component version for releaserelease/0.3.2 | Vincent Sanders | 2015-12-18 | 1 | -2/+2 |
| | |||||
* | Fix doxygen warnings | Vincent Sanders | 2015-09-01 | 5 | -8/+7 |
| | |||||
* | Update doxygen config ready for automatic document generation | Vincent Sanders | 2015-06-24 | 3 | -1859/+1065 |
| | |||||
* | Update CFLAGS to avoid deprication warning for glibc 2.21 and later. | Vincent Sanders | 2015-03-22 | 1 | -2/+10 |
| | |||||
* | The json library used for tests has changed name. | Anthony J. Bentley | 2015-03-21 | 1 | -4/+4 |
| | | | | Closes #2191 | ||||
* | Fix include dirs for Haiku. | Adrien Destugues | 2015-03-21 | 2 | -2/+2 |
| | |||||
* | Update the component version for releaserelease/0.3.1 | Vincent Sanders | 2015-03-08 | 1 | -1/+1 |
| | |||||
* | Fix up for new buildsystem. Remove unused compat hacks. | John-Mark Bell | 2014-11-16 | 2 | -15/+2 |
| | |||||
* | strncasecmp definition is in strings.h which was not being included | Vincent Sanders | 2014-09-04 | 2 | -0/+2 |
| | |||||
* | Update component version for releaserelease/0.3.0 | Vincent Sanders | 2014-04-18 | 1 | -1/+1 |
| | |||||
* | add support for multilib | David Tardon | 2014-01-13 | 2 | -3/+3 |
| | | | | Signed-off-by: John-Mark Bell <jmb@netsurf-browser.org> | ||||
* | Remove client allocation function and update for new lpu API. | Michael Drake | 2013-12-14 | 17 | -207/+59 |
| | |||||
* | Correct various warnings in the test suite | Craig Barnes | 2013-05-04 | 6 | -14/+14 |
| |