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