50 Commits

Author SHA256 Message Date
e081cad649 Accepting request 1333271 from X11:common:Factory
OBS-URL: https://build.opensuse.org/request/show/1333271
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxmlb?expand=0&rev=21
2026-02-17 15:36:08 +00:00
5afc472e62 - Update to version 0.3.25:
+ Correctly decompress heavily compressed zstd streams

OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=48
2026-02-16 07:58:07 +00:00
f699dcf0a3 Accepting request 1305531 from X11:common:Factory
OBS-URL: https://build.opensuse.org/request/show/1305531
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxmlb?expand=0&rev=20
2025-09-24 13:22:15 +00:00
6c04aaed4c Accepting request 1305354 from GNOME:Next
Update to 49.0

OBS-URL: https://build.opensuse.org/request/show/1305354
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=46
2025-09-17 15:56:43 +00:00
0416208a98 Accepting request 1302548 from X11:common:Factory
OBS-URL: https://build.opensuse.org/request/show/1302548
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxmlb?expand=0&rev=19
2025-09-05 19:42:05 +00:00
b9827fb789 Accepting request 1302490 from GNOME:Next
- Update to version 0.3.23:
  * Bugfixes: Do not reallocate the final silo blob when compiling
    to reduce peak RSS by about ~6%.

OBS-URL: https://build.opensuse.org/request/show/1302490
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=44
2025-09-03 08:11:24 +00:00
90238acc32 Accepting request 1265507 from X11:common:Factory
- update to 0.3.22:
  * Add support for COLLAPSE_EMPTY when exporting an
    XbBuilderNode (Richard Hughes)
  * Store the expected file size in the header to detect
    truncation (Richard Hughes)
  * Check the strtab has a trailing NUL byte
  * Fix an issue when exporting a silo using COLLAPSE_EMPTY
  * Fix calling text() on an empty element

OBS-URL: https://build.opensuse.org/request/show/1265507
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxmlb?expand=0&rev=18
2025-04-02 15:05:13 +00:00
6cf1ee70cf - update to 0.3.22:
* Add support for COLLAPSE_EMPTY when exporting an
    XbBuilderNode (Richard Hughes)
  * Store the expected file size in the header to detect
    truncation (Richard Hughes)
  * Check the strtab has a trailing NUL byte
  * Fix an issue when exporting a silo using COLLAPSE_EMPTY
  * Fix calling text() on an empty element

OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=42
2025-03-30 10:45:46 +00:00
4fa3f631b3 Accepting request 1248110 from X11:common:Factory
OBS-URL: https://build.opensuse.org/request/show/1248110
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxmlb?expand=0&rev=17
2025-02-25 15:39:42 +00:00
bd4e362b19 Accepting request 1248106 from home:krop:branches:X11:common:Factory
Update to 0.3.21

OBS-URL: https://build.opensuse.org/request/show/1248106
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=40
2025-02-24 11:36:20 +00:00
61fd2fc905 Accepting request 1194552 from X11:common:Factory
- update to 0.3.19:
  * Add xb_version_string() to get the runtime ABI version
  * - Add the runtime version as the default XMLb invalidation
    GUID

OBS-URL: https://build.opensuse.org/request/show/1194552
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxmlb?expand=0&rev=16
2024-08-20 14:12:23 +00:00
c2e2ee5e04 - update to 0.3.19:
* Add xb_version_string() to get the runtime ABI version
  * - Add the runtime version as the default XMLb invalidation
    GUID

OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=38
2024-08-18 13:01:45 +00:00
e902791c12 Accepting request 1168793 from X11:common:Factory
OBS-URL: https://build.opensuse.org/request/show/1168793
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxmlb?expand=0&rev=15
2024-04-18 20:08:05 +00:00
d407403d84 Accepting request 1168786 from home:krop:branches:X11:common:Factory
Update to 0.3.18

OBS-URL: https://build.opensuse.org/request/show/1168786
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=36
2024-04-18 09:26:14 +00:00
59b2e16d24 Accepting request 1137237 from X11:common:Factory
- update to 0.3.15:
  * Sprinkle __attribute__((nonnull)) to give a little more
    compile-time safety
  * Accept text/xml as an alternative to application/xml
  * Do not inline shared code
  * Fix compiling with Visual Studio
  * Fix the exported api test on Windows
  * Generate and use .def file for clang-cl builds
    Fan)
  * Release source file handles early

    - Rebuild the XbMachine parser to support 'and' and 'or'

OBS-URL: https://build.opensuse.org/request/show/1137237
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxmlb?expand=0&rev=14
2024-01-07 20:39:01 +00:00
1356ddf33f - update to 0.3.15:
* Sprinkle __attribute__((nonnull)) to give a little more
    compile-time safety
  * Accept text/xml as an alternative to application/xml
  * Do not inline shared code
  * Fix compiling with Visual Studio
  * Fix the exported api test on Windows
  * Generate and use .def file for clang-cl builds
    Fan)
  * Release source file handles early
    - Rebuild the XbMachine parser to support 'and' and 'or'

OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=34
2024-01-06 13:03:18 +00:00
2ac664c016 Accepting request 1116625 from X11:common:Factory
OBS-URL: https://build.opensuse.org/request/show/1116625
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxmlb?expand=0&rev=13
2023-10-11 21:53:56 +00:00
f5228d0fa8 Accepting request 1116615 from home:dimstar:Factory
- baselibs.conf: don't build libxmlb2-32bit; baselibs.conf was
  added for the x86-64-v3 flavor; the -32bit was an unintended side
  effect.

With the new libstemmer dep, this became apparent that we now lack some deps there. And we don't want to add them.
As a solution: only build the x86-64-vX as actually intended

OBS-URL: https://build.opensuse.org/request/show/1116615
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=32
2023-10-10 08:51:28 +00:00
53c61f1d4e Tweak .changes entry from last xin, make it more verbose.
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=31
2023-10-05 19:16:52 +00:00
f830e1c127 Accepting request 1115076 from home:krop:branches:X11:common:Factory
Update to 0.3.14

OBS-URL: https://build.opensuse.org/request/show/1115076
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=30
2023-10-05 19:14:09 +00:00
8910d0ee54 Accepting request 1104782 from X11:common:Factory
OBS-URL: https://build.opensuse.org/request/show/1104782
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxmlb?expand=0&rev=12
2023-08-21 09:42:46 +00:00
e2148ca7c5 Accepting request 1104777 from home:iDesmI:kf6
- Update to 0.3.13:
  * Use indexes when binding value
  * Correctly tokenize when using a bound text value
  * Ensure tokens are all NULL when using xb_opcode_init()
  * Avoid building errors and debug strings when possible to make
    XbQuery faster
  * Fix content type detection on macOS
  * Inline a number of machine internals to make queries faster
  * Make zstd support optional
  * Setup various release build options

OBS-URL: https://build.opensuse.org/request/show/1104777
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=28
2023-08-19 15:24:37 +00:00
9520d54b9a Accepting request 1083359 from X11:common:Factory
- update to 0.3.11:
  * Add limited support for XPath 1.0 'in' (Richard Hughes)
  * Add support for zstd (Richard Hughes)
  * Do not assert() when decompressing invalid LZMA (Richard
    Hughes)

OBS-URL: https://build.opensuse.org/request/show/1083359
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxmlb?expand=0&rev=11
2023-04-29 15:27:42 +00:00
6a5799f461 - update to 0.3.11:
* Add limited support for XPath 1.0 'in' (Richard Hughes)
  * Add support for zstd (Richard Hughes)
  * Do not assert() when decompressing invalid LZMA (Richard
    Hughes)

OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=26
2023-04-27 22:25:09 +00:00
3f58d2c98e Accepting request 1059626 from X11:common:Factory
OBS-URL: https://build.opensuse.org/request/show/1059626
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxmlb?expand=0&rev=10
2023-01-21 18:10:00 +00:00
03e21be8a2 Accepting request 1059624 from home:dirkmueller:branches:openSUSE:Factory:Rings:1-MinimalX
- build hwcaps optimized libraries

OBS-URL: https://build.opensuse.org/request/show/1059624
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=24
2023-01-19 15:31:37 +00:00
63a96debd9 Accepting request 1009287 from X11:common:Factory
OBS-URL: https://build.opensuse.org/request/show/1009287
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxmlb?expand=0&rev=9
2022-10-12 16:23:24 +00:00
7cbe603e6b Accepting request 1007417 from home:dirkmueller:Factory
- update to 0.3.10:
  * Fix dumping and exporting multiple files from the CLI (Richard Hughes)
  * Watch files before loading them into the builder (Philip Withnall)
  * Fix potential double free when filtering by language (Sergio Costas Rodriguez)

OBS-URL: https://build.opensuse.org/request/show/1007417
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=22
2022-10-10 07:51:31 +00:00
c35d49477e Accepting request 991056 from X11:common:Factory
OBS-URL: https://build.opensuse.org/request/show/991056
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxmlb?expand=0&rev=8
2022-07-26 17:42:26 +00:00
7111a2e9d1 Accepting request 990733 from home:dirkmueller:Factory
- update to 0.3.9:
  * Fix the crash for when the root tree has no children (Richard Hughes)
  * Fix the crash when getting the element for the [empty] root (Richard Hughes)
  * Install xb-tool into bindir (Richard Hughes)
  * Ensure reproducible results when importing a node (Richard Hughes)
  * Ignore all hidden files when using _WATCH_DIRECTORY (Richard Hughes)
  * Show the value bindings when using XB_SILO_PROFILE_FLAG_XPATH (Richard Hughes)
  * Use the correct lookup method for the python3 script interpreter (Eli Schwartz)

OBS-URL: https://build.opensuse.org/request/show/990733
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=20
2022-07-25 14:32:31 +00:00
cf19369b47 Accepting request 942315 from X11:common:Factory
- Update to version 0.3.6:
  - Add support for LZMA decompression
  - Add locking for file monitors
  - Modernise property declaration
  - Add iterator for XbNode attributes and children
  - Put tail after the node when exporting XbBuilderNode
  - Ensure _IS_TOKENIZED is set if tokens are added manually
  - Ensure we never add too many tokens to the silo
  - Remove the G_ALIGNOF checks to fix compile with old GLib
    versions
  - Use the correct pkgconfig export package name in the GIR file
- Add pkgconfig(liblzma) BuildRequires: new dependency.

OBS-URL: https://build.opensuse.org/request/show/942315
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxmlb?expand=0&rev=7
2021-12-25 19:16:34 +00:00
b3c35da3ac - Add pkgconfig(liblzma) BuildRequires: new dependency.
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=19
2021-12-24 08:33:43 +00:00
22b0552aee Accepting request 942101 from home:gmbr3:Active
- Update to version 0.3.6:
  - Add support for LZMA decompression
  - Add locking for file monitors
  - Modernise property declaration
  - Add iterator for XbNode attributes and children
  - Put tail after the node when exporting XbBuilderNode
  - Ensure _IS_TOKENIZED is set if tokens are added manually
  - Ensure we never add too many tokens to the silo
  - Remove the G_ALIGNOF checks to fix compile with old GLib
    versions
  - Use the correct pkgconfig export package name in the GIR file

OBS-URL: https://build.opensuse.org/request/show/942101
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=18
2021-12-24 08:32:30 +00:00
c9175db74f Accepting request 844081 from X11:common:Factory
OBS-URL: https://build.opensuse.org/request/show/844081
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxmlb?expand=0&rev=6
2020-10-29 08:21:56 +00:00
bc3bcc96a6 Accepting request 839317 from home:dirkmueller:branches:X11:common:Factory
- update to 0.2.1:
 - Do not assume g_content_type_guess() always returns valid results (Richard Hughes)
 - Make the build reproducible (Richard Hughes)
 - Revert "Do not show a critical warning for invalid XML" (Richard Hughes)
 - Update the header location to reflect the new API (Richard Hughes)
 - This release breaks API and ABI and bumps the version of libxmlb.so and so
   packages that depend on this library (e.g. fwupd or gnome-software) will need
   to be rebuilt at the same time.
 - Add the missing TEXT:INTE XPath support (Richard Hughes)
 - Add variant of xb_silo_query_with_root() avoiding XbNode creation (Philip Withnall)
 - Add XB_BUILDER_SOURCE_FLAG_WATCH_DIRECTORY flag (Philip Withnall)
 - Allow specifying the node cache behaviour for the query (Richard Hughes)
 - Avoid recursion when setting flags if possible (Philip Withnall)
 - Avoid using weak pointers when building the silo (Philip Withnall)
 - Change the default value for the node cache (Richard Hughes)
 - Do not allocate opcodes individually (Philip Withnall)
 - Do not show a critical warning for invalid XML (Richard Hughes)
 - Do not unconditionally create GTimer objects (Philip Withnall)
 - Do not use the node cache when building indexes (Richard Hughes)
 - Lazy load more arrays to reduce RSS usage (Philip Withnall)
 - Report silo versions when versions mismatch (Robert Ancell)

OBS-URL: https://build.opensuse.org/request/show/839317
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=16
2020-10-26 12:38:51 +00:00
e299a44366 Accepting request 820048 from X11:common:Factory
New stable release

OBS-URL: https://build.opensuse.org/request/show/820048
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxmlb?expand=0&rev=5
2020-07-14 05:43:53 +00:00
d642639c1c Move tests
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=14
2020-07-10 19:42:57 +00:00
0ef4cb7839 Accepting request 820043 from home:iznogood:branches:X11:common:Factory
New stable release

OBS-URL: https://build.opensuse.org/request/show/820043
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=13
2020-07-10 19:32:14 +00:00
16eb4efae4 Accepting request 749155 from X11:common:Factory
- Update to version 0.1.13:
  + New Features:
    - Export xb_silo_query_full()
  + Bugfixes:
    - Show the XPath that was used in the query in the error
      message
- Changes from version 0.1.12:
  + New Features:
    - Add helper functions to get the first and last child
      XbBuilerNode
    - Add xb_node_transmogrify to allow changing XML format
    - Support 'tail' XML data in the stored silo
  + Bugfixes:
    - Do not escape a single quote with '
    - Don't invalidate the silo for a GIO temp file
    - Fix up two memory leaks if using libxmlb from an introspected
      binding

OBS-URL: https://build.opensuse.org/request/show/749155
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxmlb?expand=0&rev=4
2019-11-20 12:43:51 +00:00
db77a0843f Redownload tarball
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=11
2019-11-18 00:14:59 +00:00
a81d787a28 Accepting request 748512 from home:gary_lin:branches:X11:common:Factory
Update to version 0.1.13:

OBS-URL: https://build.opensuse.org/request/show/748512
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=10
2019-11-17 14:03:55 +00:00
40a60d2dba Accepting request 732908 from X11:common:Factory
New upstream release

OBS-URL: https://build.opensuse.org/request/show/732908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxmlb?expand=0&rev=3
2019-09-30 13:51:34 +00:00
dd7b06e063 Accepting request 732907 from home:iznogood:branches:X11:common:Factory
Tweaks

OBS-URL: https://build.opensuse.org/request/show/732907
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=8
2019-09-24 10:28:32 +00:00
91aeb666c6 Accepting request 732887 from home:ecsos
Update changes again.
but i think it is clearly what BuildRequires mean.

OBS-URL: https://build.opensuse.org/request/show/732887
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=7
2019-09-24 10:22:23 +00:00
93bafabd50 Accepting request 694852 from X11:common:Factory
- Update to version 0.1.8:
  + New Features: Add some installed tests.
  + Bugfixes: Always add all children when importing parent-less
    XML data.
- Changes from version 0.1.7:
  + New Features:
    - Add XB_BUILDER_COMPILE_FLAG_IGNORE_GUID.
    - Allow nesting XbBuilderSource content type handlers.
  + Bugfixes:
    - Correct return type for xb_builder_compile().
    - Increase the amount of time for the inotify event to happen.
    - Only run the speed tests when using '-m perf'.

OBS-URL: https://build.opensuse.org/request/show/694852
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxmlb?expand=0&rev=2
2019-04-18 07:55:52 +00:00
c5e2923476 New stable release
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=5
2019-04-16 17:14:39 +00:00
2d97cfac37 Accepting request 666142 from X11:common:Factory
- Initial packaging for openSUSE, version 0.1.6.
Needed for future versions of fwupd

OBS-URL: https://build.opensuse.org/request/show/666142
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxmlb?expand=0&rev=1
2019-01-21 09:55:06 +00:00
6b6488d166 OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=3 2019-01-15 08:32:41 +00:00
a15665db00 OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=2 2019-01-15 08:32:25 +00:00
ebf4a3f0c1 Accepting request 665017 from home:iznogood:branches:Base:System
Needed for future version of fwupd

Library for querying compressed XML metadata 
https://github.com/hughsie/libxmlb

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.

OBS-URL: https://build.opensuse.org/request/show/665017
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=1
2019-01-15 08:14:23 +00:00