The NetBSD Project

CVS log for pkgsrc/textproc/libxmlb/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / textproc / libxmlb

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Nov 15 19:45:49 2026 UTC (8 hours, 24 minutes ago) by wiz
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -3 lines
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)

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Sep 29 06:07:51 2026 UTC (6 weeks, 5 days ago) by wiz
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
*: recursive bump for pcre2 10.49

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Sep 27 11:38:52 2026 UTC (7 weeks ago) by tnn
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
*: revbump for pcre2 symbol versioning change

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Sep 2 19:04:45 2026 UTC (2 months, 1 week ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -1 lines
*: recursive bump for pcre2 10.48

Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Aug 3 17:21:42 2026 UTC (3 months, 1 week ago) by wiz
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
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)

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Jul 6 06:28:35 2026 UTC (4 months, 1 week ago) by wiz
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
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)

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun May 24 18:09:44 2026 UTC (5 months, 3 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base, pkgsrc-2026Q2
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -2 lines
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)

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri May 15 17:01:04 2026 UTC (6 months ago) by wiz
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -1 lines
*: switch to glib2-introspection

The gobject-introspection package installed _some_ of the introspection
files needed for glib2, but not all - some of them are built from the glib2
sources. glib2-introspection now contains all glib2-related introspection
files.

Add a tool dependency on the new package where needed.

Remove gobject-introspection from buildlink3.mk files - this is usually
a tool and should not be forwarded via buildlink3.

Some cleanups/fixes for -current while here.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Apr 19 14:57:23 2026 UTC (6 months, 4 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -3 lines
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)

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Feb 19 16:56:26 2026 UTC (8 months, 3 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -1 lines
libxmlb: turn off doc option by default

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Feb 8 21:47:57 2026 UTC (9 months ago) by wiz
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -3 lines
libxmlb: update to 0.3.25.

Version 0.3.25
~~~~~~~~~~~~~~
Released: 2026-02-03

Bugfixes:
 - Correctly decompress heavily compressed zstd streams (Richard Hughes)

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Jan 17 21:33:08 2026 UTC (9 months, 4 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -3 lines
libxmlb: make gtk-doc optional

Keep default on, bump PKGREVISION just to be on the safe side.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Nov 30 14:02:20 2025 UTC (11 months, 2 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q4-base, pkgsrc-2025Q4
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -3 lines
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)

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Nov 30 11:01:57 2025 UTC (11 months, 2 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -2 lines
libxmlb: improve MASTER_SITES

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Oct 23 20:39:35 2025 UTC (12 months, 3 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
*: recursive bump for pcre2

Running an old binary against the new pcre doesn't work:
/usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by /usr/pkg/lib/libglib-2.0.so.0 not defined

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Jul 19 05:37:47 2025 UTC (15 months, 4 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q3-base, pkgsrc-2025Q3
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1 lines
*: bump gobject-introspection users for ABI bump

XXX: I'm actually not sure why the ABI was bumped for 1.84, but now that
it is we have to bump PKGREVISIONs, otherwise pkgin is quite unhappy

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Oct 15 07:50:09 2023 UTC (3 years, 1 month ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4
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.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>