Commit Graph

38 Commits

Author SHA256 Message Date
Ana Guerrero
4c9cabdcac 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
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
Dominique Leuenberger
08ee042655 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
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
Ana Guerrero
a51de46a8e 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
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
Ana Guerrero
4a97b42a77 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
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
Dominique Leuenberger
3870e5912b 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
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
Dominique Leuenberger
867f6e133f 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
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
Dominique Leuenberger
9ad70c1b1a 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
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
Richard Brown
9449b43ef5 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
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
Dominique Leuenberger
c847966847 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
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
Dominique Leuenberger
1eca08b0e0 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
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
Dominique Leuenberger
b086b95b72 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
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
Dominique Leuenberger
c315bee21e 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
d08d2b4711 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
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
Dominique Leuenberger
48eafaea40 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
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
Dominique Leuenberger
8fa086e5ae 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
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
Dominique Leuenberger
edd83e9e30 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
6b489e4c57 OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=3 2019-01-15 08:32:41 +00:00
1e6830e987 OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/libxmlb?expand=0&rev=2 2019-01-15 08:32:25 +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