1. 20 Sep, 2020 1 commit
    • Rosen Penev's avatar
      net: Fix wrong printf format under 32-bit · 8ad058f7
      Rosen Penev authored
      Found with -Wformat :
      In file included from ../src/grilo.h:31,
                       from ../libs/net/grl-net-wc.c:52:
      ../libs/net/grl-net-wc.c: In function 'get_url':
      ../libs/net/grl-net-wc.c:770:16: warning: format '%lu' expects argument
      of type 'long unsigned int', but argument 5 has type 'gint64' {aka
      'long long int'} [-Wformat=]
        770 |     GRL_DEBUG ("delaying web request by %lu seconds",
            |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        771 |                priv->last_request - now);
            |                ~~~~~~~~~~~~~~~~~~~~~~~~
            |                                   |
            |                                   gint64 {aka long long int}
  2. 08 Sep, 2020 1 commit
  3. 03 Sep, 2020 1 commit
  4. 02 Sep, 2020 2 commits
  5. 30 Aug, 2020 1 commit
  6. 26 Aug, 2020 2 commits
    • Bastien Nocera's avatar
      grilo-test-ui: Fix tool not working in Flatpak · eff42ea8
      Bastien Nocera authored
      Since commit adc11e54, it's
      impossible to use grilo-test-ui in the Flatpak for another
      application, as it tries to request a D-Bus name that it cannot own.
      Instead of using our own app-id/D-Bus name, try to own a variant of the
      real app's name.
    • Bastien Nocera's avatar
      grilo-test-ui: Fix crash if app couldn't get on the bus · 3d30f160
      Bastien Nocera authored
      If the application couldn't own a name on the session bus, then it would
      never setup its UI, and view would be a NULL pointer which we'd
      dereference, and crash.
      Exit early from cleanup function if the view was never setup.
  7. 24 Aug, 2020 1 commit
  8. 21 Aug, 2020 1 commit
    • Victor Toso's avatar
      ci: use stable fedora to fix ci · 5dfaa6cf
      Victor Toso authored
      Rawhide is breaking the introspecting build with a permission to read
          ldd: error: you do not have read permission for `/builds/victortoso/grilo/_build/tmp-introspectba6itfp6/Grl-0.3'
      That is a temporary folder created by meson (0.55.0-2) but I think the
      issue is in the new python 3.9. I could not reproduce locally but for
      now, let's fix CI for grilo and grilo-plugins (due subprojects)
  9. 28 Jul, 2020 1 commit
  10. 23 Jul, 2020 1 commit
    • Victor Toso's avatar
      registry: do not load .so* files or folders · 9b61d87f
      Victor Toso authored
      Latest meson is creating a .so.p temporary folder to lua-factory plugin
      and current code in grl-registry would try to load all .so* files. This
      patch makes sure that it only tries to load files with .so suffix
      (actually, G_MODULE_SUFFIX that could be different in other platforms)
      	Bail out! Grilo-FATAL-WARNING: [registry]
      	  ../subprojects/grilo/src/grl-registry.c:1210: Failed to open module:
      	  /builds/victortoso/grilo-plugins/_build/src/lua-factory/libgrlluafactory.so.p: cannot read file data: Is a directory
  11. 22 Jul, 2020 2 commits
    • Jean Felder's avatar
      core: Add grl_related_keys_set_for_id() · 8de41d7c
      Jean Felder authored
      It is the counterpart of grl_data_set_for_id() for GrlRelatedKeys (see
      commit b30608ab).
      grl_related_keys_set_for_id() allows keys that aren't registered,
      to be registered and set it's value. It simply sets the value
      for registered keys.
      grl_registry_register_metadata_key_for_type() and
      grl_registry_register_or_lookup_metadata_key() need to be updated to
      add a new bind_key parameter. For related keys, bind_key parameters is
      used to create a relation between the key and bind_key.
    • Jean Felder's avatar
      core: Factor out register or lookup key logic from GrlData · cd875d01
      Jean Felder authored
      grl_data_set_for_id() and grl_data_new_for_id() share some code to
      register or lookup a key by its name.
      This shared code is put in a new private function named
      grl_registry_register_or_lookup_metadata_key() will be used in the
      commit by the new grl_related_keys_set_for_id() function.
  12. 14 May, 2020 2 commits
  13. 02 May, 2020 1 commit
  14. 16 Mar, 2020 1 commit
  15. 21 Feb, 2020 6 commits
  16. 17 Feb, 2020 1 commit
  17. 14 Feb, 2020 2 commits
  18. 11 Feb, 2020 1 commit
  19. 30 Jan, 2020 1 commit
  20. 27 Jan, 2020 2 commits
  21. 08 Jan, 2020 3 commits
  22. 12 Nov, 2019 1 commit
  23. 30 Sep, 2019 1 commit
  24. 29 Sep, 2019 1 commit
    • Sam Thursfield's avatar
      build: Avoid using meson.source_root() · b88735d1
      Sam Thursfield authored
      The value of meson.source_root() can't be trusted because if we are
      embedded via subproject() into a larger project, the source root will
      be that of the parent project.
      Instead, use a variable to keep track of the toplevel source directory.
  25. 12 Sep, 2019 3 commits
    • Victor Toso's avatar
      Post-release version bump to 0.3.11 · 5875d561
      Victor Toso authored
    • Victor Toso's avatar
      Release 0.3.10 · ec6a37b7
      Victor Toso authored
    • Jan Tojnar's avatar
      build: Use variables in pc files · 1b91ebe3
      Jan Tojnar authored
      Recently, we started prefixing the values of all variables defined in pc files
      with `prefix` meson variable. While this works even when `datadir` option is
      absolute (supported by some meson forks), it leads to inflexible pc files even
      when prefixing is not strictly necessary.
      In this commit, we are constructing variables for pkg-config files separately
      from paths used for installation, obtaining nice .pc files in the common case,
      while still supporting unusual platforms like Nix.