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 hashb11abe7
: PassTagSet
arrays into functions by reference instead of valueb73dc03
: Simplifymaybe_replace_codepoint()
functiond5d0bb3
: Remove special handling of<menuitem>
tag7bd5162
: Remove special handling of<isindex>
taga5c1b0e
: Userealloc(3)
instead ofmalloc(3)
inenlarge_vector_if_full()
dcbebd7
: Userealloc(3)
instead ofmalloc(3)
inmaybe_resize_string_buffer()
df15262
: Makedestroy_node()
function non-recursive2df37f5
: Fix signedness of some format specifiers176553e
: Add maximum element nesting limitbed0f4a
: Annotategumbo_debug()
withPRINTF
macro and fix warnings7ffc218
: Annotateprint_message()
withPRINTF
macro and fix warnings1bd8ab5
,9136507
,53a1f9a
: Deduplicate some identicalTagSet
arraysa7a9065
: Add some GCC/Clang function attributes8d3d4e4
: Remove custom allocator support8d3b006
: Fix recording of source positions for</form>
end tags1a8d763
: Replace linear search inmaybe_replace_codepoint()
with a lookup table6dca79e
: Replacestrcasecmp()
andstrncasecmp()
with ascii-only equivalents17ab1d2
: FixTAGSET_INCLUDES
macro to work properly with multiple bit flags7e56d45
: Re-implementgumbo_normalize_svg_tagname()
with a gperf hasha518d35
: Replace linear array search inadjust_svg_attributes()
with a gperf hasha4a7433
: Fix duplicateTagSet
initializer being ignored inis_special_node()
8137fcd
: Add support for<dialog>
tag4b35471
: Add missingstatic
qualifiers to hide symbols that shouldn't be externdf57c59
,03101f3
,ea62330
: Replace use of locale-dependantctype.h
functions with custom, ASCII-only equivalents