Up to [cvs.NetBSD.org] / pkgsrc / textproc / libxmlb
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
libxmlb: update to 0.3.28. Version 0.3.28 ~~~~~~~~~~~~~~ Released: 2026-06-30 New Features: - Automatically add system locales when using native-langs (Richard Hughes) - Lower the Meson and GLib deps for RHEL-8 (Richard Hughes) Bugfixes: - Lazy clear opcode tokens for a ~2% speedup (Richard Hughes) - Speed up negative queries by 11% by defer creating the results objects (Richard Hughes) - Speed up predicates with no bindings by 9% (Richard Hughes) - Speed up the no-results query by 2.5% by using a constant error (Richard Hughes)
libxmlb: make gtk-doc optional Keep default on, bump PKGREVISION just to be on the safe side.
libxmlb: update to 0.3.24. Version 0.3.24 ~~~~~~~~~~~~~~ Released: 2025-09-10 Bugfixes: - Allow calling xb_silo_query_build_index() with no text set (Richard Hughes) - Do not reverse the order of attrs when using xb_node_attr_iter_next() (Richard Hughes) Version 0.3.23 ~~~~~~~~~~~~~~ Released: 2025-08-07 Bugfixes: - Do not reallocate the final silo blob when compiling to reduce peak RSS by about ~6% Version 0.3.22 ~~~~~~~~~~~~~~ Released: 2025-03-12 New Features: - Add support for COLLAPSE_EMPTY when exporting an XbBuilderNode (Richard Hughes) - Store the expected file size in the header to detect truncation (Richard Hughes) Bugfixes: - Check the strtab has a trailing NUL byte (Richard Hughes) - Fix an issue when exporting a silo using COLLAPSE_EMPTY (Richard Hughes) - Fix calling text() on an empty element (Richard Hughes) Version 0.3.21 ~~~~~~~~~~~~~~ Released: 2024-10-15 Bugfixes: - Check for corrupt XbSiloNode values in a smarter way (Richard Hughes) Version 0.3.20 ~~~~~~~~~~~~~~ Released: 2024-10-14 Bugfixes: - Do not always strip literal text (Richard Hughes) - Do not assume .txt files are application/xml (Richard Hughes) - Fix a crash when loading a corrupt XMLb store (Richard Hughes) - Fix writing files on Windows (Richard Hughes) Version 0.3.19 ~~~~~~~~~~~~~~ Released: 2024-04-22 New Features: - Add xb_version_string() to get the runtime ABI version (Richard Hughes) Bugfixes: - Add the runtime version as the default XMLb invalidation GUID (Richard Hughes) Version 0.3.18 ~~~~~~~~~~~~~~ Released: 2024-04-09 Bugfixes: - Fix decompressing large zstd files, harder (Richard Hughes) - Include the pkgconfig variables in the subproject declared dependency (Richard Hughes) Version 0.3.17 ~~~~~~~~~~~~~~ Released: 2024-04-05 Bugfixes: - Create SECURITY.md for the OpenSSF scorecard (Richard Hughes) - Fix decompressing large zstd files (Richard Hughes) - Use zst as the file extension for zstd (Richard Hughes) Version 0.3.16 ~~~~~~~~~~~~~~ Released: 2024-04-03 New Features: - Add the lzma and zstd support to the pkgconfig file (Richard Hughes) Bugfixes: - Make the LZMA support optional (Richard Hughes) Version 0.3.15 ~~~~~~~~~~~~~~ Released: 2024-01-02 New Features: - Sprinkle __attribute__((nonnull)) to give a little more compile-time safety (Richard Hughes) Bugfixes: - Accept text/xml as an alternative to application/xml (peigongdsd) - Do not inline shared code (Chun-wei Fan) - Fix compiling with Visual Studio (Chun-wei Fan) - Fix the exported api test on Windows (Chun-wei Fan) - Generate and use .def file for clang-cl builds (Chun-wei Fan) - Release source file handles early (Milan Crha)
textproc/libxmlb: import libxmlb-0.3.14 XML is slow to parse and strings inside the document cannot be memory mapped as they do not have a trailing NUL char. The libxmlb library takes XML source, and converts it to a structured binary representation with a deduplicated string table -- where the strings have the NULs included. This allows an application to mmap the binary XML file, do an XPath query and return some strings without actually parsing the entire document. This is all done using (almost) zero allocations and no actual copying of the binary data. As each node in the binary XML file encodes the 'next' node at the same level it makes skipping whole subtrees trivial. A 10Mb binary XML file can be loaded from disk *and* queried in less than a few milliseconds.