summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Revert "ci: use stable fedora to fix ci"barthalion/ci-rawhideBartłomiej Piotrowski2020-12-111-1/+1
| | | | | | | GNOME CI runners have been updated to the latest libseccomp so the problem should no longer happen. This reverts commit 5dfaa6cf0751f66fb3053d2705e9e03d18175e29.
* net: Fix wrong printf format under 32-bitRosen Penev2020-09-201-1/+1
| | | | | | | | | | | | | | | | | 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}
* Update Portuguese translationJuliano Camargo2020-09-081-75/+82
|
* Post-release version bump to 0.3.14Victor Toso2020-09-031-1/+1
|
* Release 0.3.13grilo-0.3.13Victor Toso2020-09-023-0/+27
|
* grilo-test-ui: Exit early when looping over sourcesBastien Nocera2020-09-021-16/+16
| | | | | | That would allow us to add more early exits when debugging, without making the code more complicated. Also tidy up to not have a "source" variable that's actually a GList element.
* Update Turkish translationEmin Tufan Çetin2020-08-301-43/+32
|
* grilo-test-ui: Fix tool not working in FlatpakBastien Nocera2020-08-261-1/+26
| | | | | | | | Since commit adc11e54537aff804c6dcd8d26ade0114632157b, 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.
* grilo-test-ui: Fix crash if app couldn't get on the busBastien Nocera2020-08-261-0/+2
| | | | | | | | 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.
* Update Chinese (China) translationBoyuan Yang2020-08-241-57/+56
|
* ci: use stable fedora to fix ciVictor Toso2020-08-211-1/+1
| | | | | | | | | | | Rawhide is breaking the introspecting build with a permission to read error. 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)
* registry: Fix crash when using get_plugins() from bindingsBastien Nocera2020-07-281-1/+1
| | | | | | | | | grl_registry_get_plugins() is supposed to return a GList of GrlPlugin but sent back a GList of strings when one asked for all the plugins, as it returned the keys instead of the values from the plugins hashtable. Closes: #141
* registry: do not load .so* files or foldersVictor Toso2020-07-231-1/+1
| | | | | | | | | | | | 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) Fixes: 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
* core: Add grl_related_keys_set_for_id()Jean Felder2020-07-226-9/+74
| | | | | | | | | | | | | | It is the counterpart of grl_data_set_for_id() for GrlRelatedKeys (see commit b30608abacd37a4e39d5c5465efc82c566756631). 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.
* core: Factor out register or lookup key logic from GrlDataJean Felder2020-07-223-69/+69
| | | | | | | | | | | 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(). grl_registry_register_or_lookup_metadata_key() will be used in the commit by the new grl_related_keys_set_for_id() function.
* grilo-test-ui: Do not use gtk_show_uri on newer gtkJean Felder2020-05-141-0/+7
| | | | | | | On 3.22.0, gtk_show_uri has been deprecated in favor of gtk_show_uri_on_window. Add a GTK_CHECK_VERSION to prevent depending on a GTK version too recent. It can be removed after bumping GTK to >= 3.22.0
* grilo-test-ui: Do not use deprecated gdk_cursor_newJean Felder2020-05-141-1/+1
| | | | | It has been deprecated since GTK 3.16. Use gdk_cursor_new_for_display instead.
* Update Chinese (Taiwan) translationCheng-Chia Tseng2020-05-021-34/+34
|
* Update Ukrainian translationDaniel Korostil2020-03-161-73/+82
|
* core: remove GTimeVal from grl_date_time_from_iso8601()Victor Toso2020-02-211-11/+10
| | | | | | | | This patch makes usage of g_date_time_new_from_iso8601() from GLib 2.56 that returns GDateTime* from ISO 8601 formatted string. Note that this API supported a little bit more than GLib's as a helper while developing new plugins thus it makes sense to keep it around.
* pls: fix extra token on ifndef TOTEM_PL_IS_PARSERVictor Toso2020-02-211-1/+1
| | | | | | | | Removes the following warning: > ../libs/pls/grl-pls.c:50:27: warning: extra tokens at end of #ifndef > directive > 50 | #ifndef TOTEM_PL_IS_PARSER(x) > | ^
* pls: don't use GTimeVal on newer glibVictor Toso2020-02-211-1/+9
| | | | | | On 2.62.0 we can use new API and avoid GTimeVal usage in grl-pls.c. As 2.62 is a bit new, wrap the old code to avoid warnings on new builds. It can be removed after bumping glib to >= 2.62.0
* net: Drop usage of deprecated GTimeValVictor Toso2020-02-211-9/+9
| | | | | We can easily replace it with timestamp in seconds for the throttling feature.
* test-ui: Drop usage of deprecated GTimeValVictor Toso2020-02-211-4/+1
|
* build: bump glib 2.44 -> 2.58Victor Toso2020-02-211-1/+1
| | | | | | | | | | | Bumping to make it easier in keeping compatibility with recent APIs without breaking stable distro releases. Fedora 31 (last stable): 2.62 Debian 10 (last stable): 2.58 Considering that we just released Grilo 0.3.12, next release can still be kept under current last stable distros releases.
* Update Japanese translationsicklylife2020-02-171-15/+15
|
* Post-release version bump to 0.3.13Victor Toso2020-02-141-1/+1
|
* Release 0.3.12grilo-0.3.12Victor Toso2020-02-141-0/+11
|
* Update British English translationZander Brown2020-02-111-72/+82
|
* grl-source: Fix GrlSourceStoreCb annotationJean Felder2020-01-301-1/+1
| | | | | | This fixes a reference counting bug in the bindings. Closes: #107
* Update Japanese translationsicklylife2020-01-271-43/+32
|
* Update Japanese translationsicklylife2020-01-271-69/+94
|
* Post-release version bump to 0.3.12Jordan Petridis2020-01-081-1/+1
|
* Release 0.3.11grilo-0.3.11Jordan Petridis2020-01-081-0/+10
| | | | Close #138
* Add Malay translationUmarzuki Bin Mochlis Moktar2020-01-082-0/+192
|
* pls: Support totem-pl-parser 3.26.4Bastien Nocera2019-11-121-1/+5
|
* build: Add a Meson dependency variable for libgrlplsSam Thursfield2019-09-301-0/+6
| | | | | | | This enables the library to be used when Grilo is embedded as a Meson subproject. See: https://gitlab.gnome.org/GNOME/grilo-plugins/merge_requests/68
* build: Avoid using meson.source_root()Sam Thursfield2019-09-293-8/+10
| | | | | | | | 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.
* Post-release version bump to 0.3.11Victor Toso2019-09-121-1/+1
|
* Release 0.3.10grilo-0.3.10Victor Toso2019-09-121-0/+13
|
* build: Use variables in pc filesJan Tojnar2019-09-124-11/+18
| | | | | | | | | | | 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.
* Use only one primary header for styleRoger2019-09-121-10/+13
|
* build: generate .pc filesworldofpeace2019-09-1210-126/+58
| | | | | | | The generated .pc have been kept essentially identical to the original ones with the same variables. To squash warnings the meson_version was also bumped
* build: Fix path handling in pkgconfigJan Tojnar2019-09-123-13/+25
| | | | | | On Nix, headers, introspection files and vapi files are installed to different prefix than the library. This makes sure that the correct paths are used, thus making the build more portable.
* data: Fix grl_data_add_related_keys annotationJean Felder2019-08-251-1/+1
|
* data: Remove trailing whitespacesJean Felder2019-08-251-2/+2
|
* Post-release version bump to 0.3.10Victor Toso2019-07-171-1/+1
|
* Release 0.3.9grilo-0.3.9Victor Toso2019-07-171-0/+9
| | | | Small release to fix break of gobject-introspection.
* grl-metadata-key: fix introspectionVictor Toso2019-07-171-2/+1
| | | | | | | | | | | | | | | | | The following commit has break gobject-introspection of Grilo after a comment with a line break was added to deprecate a constant: 608eba2 "core: deprecate mb-album-id metadata-key and related API" in 2019-07-15 by Victor Toso <me@victortoso.com> The issue is being tracked at [0] but a simple workaround is to remove the line break. [0] https://gitlab.gnome.org/GNOME/gobject-introspection/issues/294 Before this patch, grl-metadata-keys with value from 53 to 62 were lost in introspection, that is, from GRL_METADATA_KEY_MB_TRACK_ID till the recent GRL_METADATA_KEY_MB_RELEASE_GROUP_ID
* grl-inspect: Fix core keys extractionBastien Nocera2019-07-161-4/+20
| | | | | | | | | | | | | | This fixes incorrectly duplicated keys in grl-core-keys.h which affected the output of metadata in grl-inspect by removing the C comments prior to processing the file. Before: $ sort grl-core-keys.h | uniq --repeated "GRL_METADATA_KEY_MB_RELEASE_GROUP_ID", After: $ sort grl-core-keys.h | uniq --repeated $