Up to [cvs.NetBSD.org] / pkgsrc / textproc / libxmlb
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
libxmlb: update to 0.3.30. Version 0.3.30 ~~~~~~~~~~~~~~ Released: 2026-11-10 New Features: - Add support for the XPath normalize-space() function (Richard Hughes) - Increase the maximum number of node attributes and tokens (Richard Hughes) - Record in the silo if the node was added as external info (Richard Hughes) Bugfixes: - Convert xml:lang tags to POSIX form when required (Richard Hughes) - Fix OR branches still being evaluated after the limit is reached (Richard Hughes) - Fix XbLzmaDecompressor reset leaving the stream unusable (Richard Hughes) - Fix a bound value losing its level inside a tuple (Richard Hughes) - Fix a crash when a query value was never bound (Richard Hughes) - Fix a crash when searching one silo from several threads (car12o) - Fix comma-separated function arguments being parsed in reverse (Richard Hughes) - Fix escaped tab and newline not decoding in query parsing (Richard Hughes) - Fix literal backslashes not surviving the query escape round-trip (Richard Hughes) - Fix mixed-type comparisons swapping their operands (Richard Hughes) - Fix parser depth leaking from one failed source to the next (Richard Hughes) - Fix unbound query variables silently comparing against zero (Richard Hughes) - Fix unfinished predicates being ignored at the start of a section (Richard Hughes) - Fix xb_query_context_copy() silently dropping bindings after a gap (Richard Hughes) - Fix xb_silo_stem() returning the unstemmed string on equal length (Richard Hughes) - Fix xb_value_bindings_copy() aborting when a slot is unbound (Richard Hughes)
libxmlb: update to 0.3.29. Version 0.3.29 ~~~~~~~~~~~~~~ Released: 2026-07-27 New Features: Bugfixes: - Avoid stale query indexes when reloading the silo (Richard Hughes) - Clear the query cache when reloading the silo (Richard Hughes) - Correctly mark the silo as invalid when re-loading malformed data (Richard Hughes) - Fix building the silo when shared-mime-info is installed (Richard Hughes)
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: update to 0.3.27. Version 0.3.27 ~~~~~~~~~~~~~~ Released: 2026-05-18 New Features: - Bump the required version of GLib to 2.68 (Richard Hughes) Bugfixes: - Do not construct an invalid silo when processing more than 30 attrs (Richard Hughes) - Fix NULL pointer dereference when searching with NULL needle (Richard Hughes) - Fix potential use-after-free when building the in() haystack (Richard Hughes) - Fix stem() type-checking the wrong stack position (Richard Hughes) - Handle NULL string opcodes in more functions (Richard Hughes) - Limit operator recursion depth in xb_machine_parse_section (Richard Hughes) - Limit the number of predicates and OR branches in each section (Richard Hughes) - Prevent an infinite loop when parsing a corrupt silo (Richard Hughes) - Reject XML with more than 65535 unique element names (Richard Hughes)
libxmlb: update to 0.3.26. Version 0.3.26 ~~~~~~~~~~~~~~ Released: 2026-04-14 New Features: - Parse CDATA as text (Milan Crha) Bugfixes: - Add bounds check to prevent OOB read in token index lookup (Richard Hughes) - Do not write an invalid silo when more than 63 attrs on one node (Richard Hughes) - No inotify for illumos and Solaris (Marcel Telka) - Prevent stack overflow from unbounded recursion in export (Richard Hughes)
libxmlb: update to 0.3.25. Version 0.3.25 ~~~~~~~~~~~~~~ Released: 2026-02-03 Bugfixes: - Correctly decompress heavily compressed zstd streams (Richard Hughes)
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.