Commit Graph

20 Commits

Author SHA256 Message Date
1d282013cd 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
1d37a727fb - 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
b1e8726342 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
22a7b3384c 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
d5f23a09dd 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
0cdd60fee4 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
350f99f8a1 - 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
56bea19a39 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
ceed6a654f 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
9dfd6583fc 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
1f973c966c - 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
85faeb1892 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
76c95311cd 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
fe7ce8b13e 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
2d5d254a9c 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
ed1d393e55 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
02f3300f5b 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
5d1b193adf 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
f97b7dcf6f 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
cab80b5919 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