libgumbo¶ ↑
This is an internal fork of the libgumbo library, which was copied and later modified under the terms of the Apache 2.0 license. See lua-gumbo commit {0a04728} for details of the original import.
Since importing the code, the following notable fixes and improvements have been made:
-
91cef89: Re-implementadjust_foreign_attributes()with a gperf hash -
b11abe7: PassTagSetarrays into functions by reference instead of value -
b73dc03: Simplifymaybe_replace_codepoint()function -
d5d0bb3: Remove special handling of<menuitem>tag -
7bd5162: Remove special handling of<isindex>tag -
a5c1b0e: Userealloc(3)instead ofmalloc(3)inenlarge_vector_if_full() -
dcbebd7: Userealloc(3)instead ofmalloc(3)inmaybe_resize_string_buffer() -
df15262: Makedestroy_node()function non-recursive -
2df37f5: Fix signedness of some format specifiers -
176553e: Add maximum element nesting limit -
bed0f4a: Annotategumbo_debug()withPRINTFmacro and fix warnings -
7ffc218: Annotateprint_message()withPRINTFmacro and fix warnings -
1bd8ab5,9136507,53a1f9a: Deduplicate some identicalTagSetarrays -
a7a9065: Add some GCC/Clang function attributes -
8d3d4e4: Remove custom allocator support -
8d3b006: Fix recording of source positions for</form>end tags -
1a8d763: Replace linear search inmaybe_replace_codepoint()with a lookup table -
6dca79e: Replacestrcasecmp()andstrncasecmp()with ascii-only equivalents -
17ab1d2: FixTAGSET_INCLUDESmacro to work properly with multiple bit flags -
7e56d45: Re-implementgumbo_normalize_svg_tagname()with a gperf hash -
a518d35: Replace linear array search inadjust_svg_attributes()with a gperf hash -
a4a7433: Fix duplicateTagSetinitializer being ignored inis_special_node() -
8137fcd: Add support for<dialog>tag -
4b35471: Add missingstaticqualifiers to hide symbols that shouldn’t be extern -
df57c59,03101f3,ea62330: Replace use of locale-dependantctype.hfunctions with custom, ASCII-only equivalents