- 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
- 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
- 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
- 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
- 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
- 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
- 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
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