| Add baidu benchmark which has been left out of the git repository all this time. | 11 years ago |
| Recognize templates in serialize and prettyprint | 11 years ago |
| Update gen_tags.py to exempt generated files from clang-format, and regen the tag lists. | 11 years ago |
| Fix error mesage use of return value form vnsprintf | 10 years ago |
| Added a test for fragments with multiple nodes. | 11 years ago |
| Integrate gumbo_parser with gtest. This adds the support to build with gtest submodule through gyp+ninja. To generate the new ninja files, run: $ gyp --depth=. gumbo_parser.gyp To build use the following command line: $ ninja -C out/Default gumbo_parser_unittests To run use this command line: $ out/Default/gump_parser_unittests Signed-off-by: Thiago Farina <tfarina@chromium.org> | 12 years ago |
| Update strings.h inline keyword is not available in C(virsual studio),replace __inline | 11 years ago |
| Move html5lib-tests submodule ref up to include the ruby fix. | 11 years ago |
| Reformat the source code with clang-format, and add a config file for formatting preferences. | 11 years ago |
| Add .dylib files to gitignore. | 11 years ago |
| Pull the html5lib tests in as a submodule (for real; before they were in .gitmodules but the index was missing the commit that actually brings them in). | 11 years ago |
| Add a line to the TravisCI config to make sure one of the example programs can build against the installed library. | 11 years ago |
| Markdownify CHANGELOG.md | 10 years ago |
| Update to CONTRIBUTING file with code hygiene guidelines. | 11 years ago |
| Initial commit. | 13 years ago |
| Additional debugging instructions. | 11 years ago |
| Update version number and changelist for 0.9.2 release. | 11 years ago |
| tags: Use a gperf-based hash table The original perfect hash table implementation was generated using `mph`, a lesser known hash table generator, which was manually modified by me to generate output that suits better the use case in Gumbo Parser. The hash function, although simple, had several issues. As @nostrademons pointed out, having the tag generator sitting in a random repository makes it hard for other developers to build the tag sets. Furthermore, the hash function itself was not particularly efficient, as it hashed the whole string and performed several lookups from two separate tables. This commit changes the hash table implementation to use GNU gperf, widely available in all Linux distributions and Mac OS X. The issue with gperf, however, is that the generated hash tables make very inefficient use of memory, by duplicating the whole string key pool (another concern of @nostrademons when the issue of perfect hashing was initially raised) Because of this, an accompanying script, `genperf.py` has been added to the repository. This script turns the output of gperf (tested with all 2.x and 3.x versions) into an optimal representation of a tagset that compiles direcly in the library with no further modification. The generated hash table is 400% smaller than the previous implementation and up to 40% faster, and can be regenerated trivially in all platforms just by having gperf as a depedency. The script simply converts the string array generated by gperf into an array of GumboTag elements, that fit in a byte each (hence the significant reduction in memory usage). Conflicts: src/tag.c | 11 years ago |
| Update README to mention other projects | 9 months ago |
| Update THANKS file with additional contributors. | 11 years ago |
| Add AppVeyor configuration. Closes #320. | 11 years ago |
| Test for both glibtoolize and libtoolize on Mac; the downloaded version of autotools only includes libtoolize. | 11 years ago |
| Bump version number. Because the version-number commit for v0.9.4 came after the last commit in v0.10.0, GitHub thinks the former is the most recent release and highlights it on the webpage instead. This is a no-op commit just to make the 0.10 series show up higher. | 11 years ago |
| tags: Use a gperf-based hash table The original perfect hash table implementation was generated using `mph`, a lesser known hash table generator, which was manually modified by me to generate output that suits better the use case in Gumbo Parser. The hash function, although simple, had several issues. As @nostrademons pointed out, having the tag generator sitting in a random repository makes it hard for other developers to build the tag sets. Furthermore, the hash function itself was not particularly efficient, as it hashed the whole string and performed several lookups from two separate tables. This commit changes the hash table implementation to use GNU gperf, widely available in all Linux distributions and Mac OS X. The issue with gperf, however, is that the generated hash tables make very inefficient use of memory, by duplicating the whole string key pool (another concern of @nostrademons when the issue of perfect hashing was initially raised) Because of this, an accompanying script, `genperf.py` has been added to the repository. This script turns the output of gperf (tested with all 2.x and 3.x versions) into an optimal representation of a tagset that compiles direcly in the library with no further modification. The generated hash table is 400% smaller than the previous implementation and up to 40% faster, and can be regenerated trivially in all platforms just by having gperf as a depedency. The script simply converts the string array generated by gperf into an array of GumboTag elements, that fit in a byte each (hence the significant reduction in memory usage). Conflicts: src/tag.c | 11 years ago |
| Update gen_tags.py to exempt generated files from clang-format, and regen the tag lists. | 11 years ago |
| Integrate gumbo_parser with gtest. This adds the support to build with gtest submodule through gyp+ninja. To generate the new ninja files, run: $ gyp --depth=. gumbo_parser.gyp To build use the following command line: $ ninja -C out/Default gumbo_parser_unittests To run use this command line: $ out/Default/gump_parser_unittests Signed-off-by: Thiago Farina <tfarina@chromium.org> | 12 years ago |
| Initial commit. | 13 years ago |
| Add proper cflags for building via gyp | 12 years ago |
| Update README in preparation for archiving the project. | 3 years ago |
| Bump version number. Because the version-number commit for v0.9.4 came after the last commit in v0.10.0, GitHub thinks the former is the most recent release and highlights it on the webpage instead. This is a no-op commit just to make the 0.10 series show up higher. | 11 years ago |