head 1.3; access; symbols pkgsrc-2026Q2:1.3.0.4 pkgsrc-2026Q2-base:1.3 pkgsrc-2026Q1:1.3.0.2 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.2.0.2 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.1.0.16 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.14 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.12 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.10 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.8 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.6 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.4 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.2 pkgsrc-2023Q4-base:1.1; locks; strict; comment @# @; 1.3 date 2026.01.17.21.33.08; author wiz; state Exp; branches; next 1.2; commitid seGvnE5M6t7RaNqG; 1.2 date 2025.11.30.14.02.20; author wiz; state Exp; branches; next 1.1; commitid vmlqH9H2aL6XdAkG; 1.1 date 2023.10.15.07.50.09; author wiz; state Exp; branches; next ; commitid 8OS3yA75urHL8HIE; desc @@ 1.3 log @libxmlb: make gtk-doc optional Keep default on, bump PKGREVISION just to be on the safe side. @ text @@@comment $NetBSD$ bin/xb-tool include/libxmlb-2/libxmlb/xb-builder-fixup.h include/libxmlb-2/libxmlb/xb-builder-node.h include/libxmlb-2/libxmlb/xb-builder-source-ctx.h include/libxmlb-2/libxmlb/xb-builder-source.h include/libxmlb-2/libxmlb/xb-builder.h include/libxmlb-2/libxmlb/xb-compile.h include/libxmlb-2/libxmlb/xb-machine.h include/libxmlb-2/libxmlb/xb-node-query.h include/libxmlb-2/libxmlb/xb-node-silo.h include/libxmlb-2/libxmlb/xb-node.h include/libxmlb-2/libxmlb/xb-opcode.h include/libxmlb-2/libxmlb/xb-query-context.h include/libxmlb-2/libxmlb/xb-query.h include/libxmlb-2/libxmlb/xb-silo-export.h include/libxmlb-2/libxmlb/xb-silo-query.h include/libxmlb-2/libxmlb/xb-silo.h include/libxmlb-2/libxmlb/xb-stack.h include/libxmlb-2/libxmlb/xb-string.h include/libxmlb-2/libxmlb/xb-value-bindings.h include/libxmlb-2/libxmlb/xb-version.h include/libxmlb-2/xmlb.h lib/girepository-1.0/Xmlb-2.0.typelib lib/libxmlb.so lib/libxmlb.so.2 lib/libxmlb.so.2.0.0 lib/pkgconfig/xmlb.pc libexec/installed-tests/libxmlb/test.desktop libexec/installed-tests/libxmlb/test.quirk libexec/installed-tests/libxmlb/test.xml libexec/installed-tests/libxmlb/test.xml.gz.gz.gz libexec/installed-tests/libxmlb/test.xml.xz libexec/installed-tests/libxmlb/test.xml.zst libexec/installed-tests/libxmlb/xb-self-test man/man1/xb-tool.1 share/gir-1.0/Xmlb-2.0.gir ${PLIST.doc}share/gtk-doc/html/libxmlb/annotation-glossary.html ${PLIST.doc}share/gtk-doc/html/libxmlb/api-index-full.html ${PLIST.doc}share/gtk-doc/html/libxmlb/deprecated-api-index.html ${PLIST.doc}share/gtk-doc/html/libxmlb/home.png ${PLIST.doc}share/gtk-doc/html/libxmlb/index.html ${PLIST.doc}share/gtk-doc/html/libxmlb/intro.html ${PLIST.doc}share/gtk-doc/html/libxmlb/left-insensitive.png ${PLIST.doc}share/gtk-doc/html/libxmlb/left.png ${PLIST.doc}share/gtk-doc/html/libxmlb/libxmlb-XbBuilder.html ${PLIST.doc}share/gtk-doc/html/libxmlb/libxmlb-XbBuilderFixup.html ${PLIST.doc}share/gtk-doc/html/libxmlb/libxmlb-XbBuilderNode.html ${PLIST.doc}share/gtk-doc/html/libxmlb/libxmlb-XbBuilderSource.html ${PLIST.doc}share/gtk-doc/html/libxmlb/libxmlb-XbBuilderSourceCtx.html ${PLIST.doc}share/gtk-doc/html/libxmlb/libxmlb-XbMachine.html ${PLIST.doc}share/gtk-doc/html/libxmlb/libxmlb-XbNode.html ${PLIST.doc}share/gtk-doc/html/libxmlb/libxmlb-XbQuery.html ${PLIST.doc}share/gtk-doc/html/libxmlb/libxmlb-XbSilo.html ${PLIST.doc}share/gtk-doc/html/libxmlb/libxmlb-xb-node-query.html ${PLIST.doc}share/gtk-doc/html/libxmlb/libxmlb-xb-opcode.html ${PLIST.doc}share/gtk-doc/html/libxmlb/libxmlb-xb-query-context.html ${PLIST.doc}share/gtk-doc/html/libxmlb/libxmlb-xb-silo-export.html ${PLIST.doc}share/gtk-doc/html/libxmlb/libxmlb-xb-silo-query.html ${PLIST.doc}share/gtk-doc/html/libxmlb/libxmlb-xb-stack.html ${PLIST.doc}share/gtk-doc/html/libxmlb/libxmlb-xb-string.html ${PLIST.doc}share/gtk-doc/html/libxmlb/libxmlb-xb-value-bindings.html ${PLIST.doc}share/gtk-doc/html/libxmlb/libxmlb.devhelp2 ${PLIST.doc}share/gtk-doc/html/libxmlb/libxmlb.html ${PLIST.doc}share/gtk-doc/html/libxmlb/right-insensitive.png ${PLIST.doc}share/gtk-doc/html/libxmlb/right.png ${PLIST.doc}share/gtk-doc/html/libxmlb/style.css ${PLIST.doc}share/gtk-doc/html/libxmlb/up-insensitive.png ${PLIST.doc}share/gtk-doc/html/libxmlb/up.png share/installed-tests/libxmlb/libxmlb.test @ 1.2 log @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) @ text @d38 32 a69 32 share/gtk-doc/html/libxmlb/annotation-glossary.html share/gtk-doc/html/libxmlb/api-index-full.html share/gtk-doc/html/libxmlb/deprecated-api-index.html share/gtk-doc/html/libxmlb/home.png share/gtk-doc/html/libxmlb/index.html share/gtk-doc/html/libxmlb/intro.html share/gtk-doc/html/libxmlb/left-insensitive.png share/gtk-doc/html/libxmlb/left.png share/gtk-doc/html/libxmlb/libxmlb-XbBuilder.html share/gtk-doc/html/libxmlb/libxmlb-XbBuilderFixup.html share/gtk-doc/html/libxmlb/libxmlb-XbBuilderNode.html share/gtk-doc/html/libxmlb/libxmlb-XbBuilderSource.html share/gtk-doc/html/libxmlb/libxmlb-XbBuilderSourceCtx.html share/gtk-doc/html/libxmlb/libxmlb-XbMachine.html share/gtk-doc/html/libxmlb/libxmlb-XbNode.html share/gtk-doc/html/libxmlb/libxmlb-XbQuery.html share/gtk-doc/html/libxmlb/libxmlb-XbSilo.html share/gtk-doc/html/libxmlb/libxmlb-xb-node-query.html share/gtk-doc/html/libxmlb/libxmlb-xb-opcode.html share/gtk-doc/html/libxmlb/libxmlb-xb-query-context.html share/gtk-doc/html/libxmlb/libxmlb-xb-silo-export.html share/gtk-doc/html/libxmlb/libxmlb-xb-silo-query.html share/gtk-doc/html/libxmlb/libxmlb-xb-stack.html share/gtk-doc/html/libxmlb/libxmlb-xb-string.html share/gtk-doc/html/libxmlb/libxmlb-xb-value-bindings.html share/gtk-doc/html/libxmlb/libxmlb.devhelp2 share/gtk-doc/html/libxmlb/libxmlb.html share/gtk-doc/html/libxmlb/right-insensitive.png share/gtk-doc/html/libxmlb/right.png share/gtk-doc/html/libxmlb/style.css share/gtk-doc/html/libxmlb/up-insensitive.png share/gtk-doc/html/libxmlb/up.png @ 1.1 log @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. @ text @d8 1 d34 1 a34 1 libexec/installed-tests/libxmlb/test.xml.zstd @