BSD Ports

www/gumbo-parser 0.14.0 NetBSD

HTML5 parsing library in pure C99

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
9a2875fcee
License
apache-2.0
Categories
www
Package size
99.1 KiB, 800.4 KiB installed

Description

Gumbo is an implementation of the HTML5 parsing algorithm implemented as a pure C99 library with no outside dependencies. It's designed to serve as a building block for other tools and libraries such as linters, validators, templating languages, and refactoring and analysis tools.

Install

Binary package:

pkgin install gumbo-parser

From pkgsrc:

cd /usr/pkgsrc/www/gumbo-parser && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.14.0
NetBSD 10.1 aarch640.13.2
SmartOS / illumos x86_640.14.1
macOS 15 arm640.14.1

Dependencies

Commit history 2

DateCommitCreditsLog message
9a2875fcee ktnb gumbo-parser: update to 0.14.1 - Update template parsing to match HTML spec changes (WPT conformance) - Guard </selectedcontent> against empty stack (crash fix) - Skip option clone when it's inside selectedcontent (use-after-free fix) - Skip selectedcontent clone while descendant is open/active (use-after-free fix) - Default quirks mode to GUMBO_DOCTYPE_NO_QUIRKS (use of uninitialized value fix) - Avoid -Wvoid-pointer-to-enum-cast warnings in src/error.c and src/parser.c
b6a89408c7 ktnb gumbo-parser: update to 0.14.0
* Add gumbo_tag_is_void() public API function * Add support for <selectedcontent> tag * Add support for processing instructions * Comply with spec changes to <select> parsing logic * Fix compliance to adoption agency algorithm, step 4.3 * Fix foster parented text not being merged into preceding text node * Fix memory leak of ignored doctype token in "in head noscript" insertion mode * Delete dependency on Ragel * Adapt to migration of tree construction tests suite from html5lib-tests to WPT