summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* i18n: Add missing initializationHEADmasterGaël Bonithon2022-03-173-1/+12
|
* Fix missing mutex unlock in group schedulerGaël Bonithon2022-03-171-1/+1
| | | | | | | | Tumbler could get stuck if a previous request was cancelled because of this. An obsolete assert is also removed which may prevent an error signal from being sent. Fixes #56.
* I18n: Update translation da (100%).Anonymous2022-03-141-4/+4
| | | | | | 25 translated messages. Transifex (https://www.transifex.com/xfce/public/).
* I18n: Update translation ru (100%).Anonymous2022-03-121-3/+4
| | | | | | 25 translated messages. Transifex (https://www.transifex.com/xfce/public/).
* I18n: Update translation eu (100%).Anonymous2022-02-131-3/+4
| | | | | | 25 translated messages. Transifex (https://www.transifex.com/xfce/public/).
* I18n: Update translation uk (100%).Yarema aka Knedlyk2022-02-051-4/+4
| | | | | | 25 translated messages. Transifex (https://www.transifex.com/xfce/public/).
* Rename service files according to the chosen service name prefixGaël Bonithon2022-01-092-3/+14
| | | | Completes previous commit, related to !21.
* Allow to choose an alternative service name prefixGaël Bonithon2022-01-0915-41/+62
| | | | | | | | | This is primarily for Flatpak packaging, where a "private service" is desirable, although one could imagine using it in other contexts. The prefix must be specified via the environment variable `TUMBLER_SERVICE_NAME_PREFIX`. Related to xfconf#27, see !21 for more details.
* I18n: Update translation sr (100%).Саша Петровић2022-01-091-14/+14
| | | | | | 25 translated messages. Transifex (https://www.transifex.com/xfce/public/).
* Build: Check for best possible grep, egrep, sedGaël Bonithon2022-01-093-5/+9
| | | | | In particular, $EGREP was introduced in d82e509551db98ff70e47d1990f759948ee7fecd whithout check.
* I18n: Update translation ro (100%).Anonymous2022-01-061-3/+4
| | | | | | 25 translated messages. Transifex (https://www.transifex.com/xfce/public/).
* I18n: Update translation pt_BR (100%).Wellington Almeida2022-01-041-3/+4
| | | | | | 25 translated messages. Transifex (https://www.transifex.com/xfce/public/).
* I18n: Update translation sl (100%).Martin Srebotnjak2022-01-021-3/+4
| | | | | | 25 translated messages. Transifex (https://www.transifex.com/xfce/public/).
* Updates for releasetumbler-4.17.0Gaël Bonithon2022-01-013-44/+120
|
* Update the list of authorsGaël Bonithon2022-01-011-0/+2
|
* Bump required gdk-pixbuf to 2.36.2Gaël Bonithon2022-01-011-12/+12
| | | | | | | | | | To include the fix that obsoletes 984e67ce5247a2543f0fd547b42201043c69e9b2, reverted in 283c7045d669941f3820f3963b9de6ea3baa96ea. See also: https://bugzilla.xfce.org/show_bug.cgi?id=13360 https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/57
* I18n: Update translation he (100%).Omer I.S2022-01-011-3/+4
| | | | | | 25 translated messages. Transifex (https://www.transifex.com/xfce/public/).
* Fix wrong parameters in error signalGaël Bonithon2021-12-291-1/+1
| | | | An oversight in 49ffba98d7cf9626a1470bc49a53596300fe3550.
* Debug: Display data side-by-side when appropriateGaël Bonithon2021-12-295-9/+45
|
* Debug: Write on stderr if possibleGaël Bonithon2021-12-291-0/+8
|
* Add support for thumbnail size x-large and xx-largeGaël Bonithon2021-12-294-0/+28
| | | | Closes #51.
* desktop-thumbnailer: Allow to override configuration in desktop filesGaël Bonithon2021-12-298-99/+182
| | | | | | | The "X-Tumbler Settings" group is searched in each desktop file with the same keys as in `tumbler.rc`, where the default configuration is now. Closes #52.
* desktop-thumbnailer: Allow for thumbnailer overrideGaël Bonithon2021-12-292-9/+18
| | | | | | | By the usual rule: for a given thumbnailer name, the one placed in the highest priority directory overrides the others of the same name. Closes #53.
* Cleanup: Avoid code duplicationGaël Bonithon2021-12-295-96/+57
|
* Try all available thumbnailers before declaring failureGaël Bonithon2021-12-299-70/+134
| | | | | | | | | | | | | The request thumbnailer array no longer contains one thumbnailer per URI, but the list of available thumbnailers for this URI (after applying the filters of the configuration file), sorted by priority. For a given URI, we browse the thumbnailer list until we succeed in generating a thumbnail. An error signal is only issued if the last thumbnailer has failed. Intermediate errors are only displayed if debug logging is enabled. Closes #50.
* gepub-thumbnailer: Add missing sanity checkGaël Bonithon2021-12-291-3/+2
|
* Use GLib structured loggingGaël Bonithon2021-12-291-0/+1
| | | | | | | The move to GLib 2.56 in b014aabd2d78472a18a9b863e51dd6f1631d78cb allows to use structured logging in GLib logging macros. This makes it more suitable for viewing via tools such as `journalctl`, and adds some message location information.
* I18n: Update translation oc (100%).Anonymous2021-12-291-3/+3
| | | | | | 25 translated messages. Transifex (https://www.transifex.com/xfce/public/).
* I18n: Update translation nb (100%).heskjestad2021-12-281-3/+4
| | | | | | 25 translated messages. Transifex (https://www.transifex.com/xfce/public/).
* Add a corresponding systemd user service for the D-Bus session servicesSimon McVittie2021-12-275-0/+19
| | | | | | | | | | | | | | When running under a systemd user session, this results in tumblerd being placed in in its own cgroup, whereas previously it would be a child of dbus-daemon in the dbus.service cgroup. It also avoids races between up to three separate instances of the same executable being started for its three names, which could result in spurious activation failures if they are used in quick succession, similar to <https://bugs.freedesktop.org/show_bug.cgi?id=53220> in telepathy-mission-control. Closes #14.
* Reserve some third-party API messages to debug loggingGaël Bonithon2021-12-275-4/+56
| | | | | | | | FFmpegthumbnailer is known to be really verbose, and we don't have a priori control on the messages that can be displayed by external thumbnailers (it can be in particular FFmpegthumbnailer). Fixes #10, related to #29.
* Debug: Add some config-file-related messagesGaël Bonithon2021-12-262-5/+17
| | | | Closes #23.
* Update generated doc and related filesGaël Bonithon2021-12-264-11/+37
|
* Error handling: Fit to the spec and complete message if neededGaël Bonithon2021-12-2621-59/+116
| | | | | | | | | | | | | A parameter is added to Tumbler's internal error signals to account for the error domain, and the error code `TUMBLER_ERROR_OTHER_ERROR_DOMAIN` is added to indicate that the error originated from a third-party API. When sending the error signal via D-Bus, cancelling errors are filtered out, and when the error originates from a third-party API, the error message is prefixed with the domain and code of that error, in a possibly parsable format. Fixes #49.
* Debug: Add or adjust some traces and dumpsGaël Bonithon2021-12-2629-42/+158
|
* Debug: Convert dump functions to `GString, g_debug()`Gaël Bonithon2021-12-262-13/+27
|
* Debug: Prefer runtime to compile-time check for loggingGaël Bonithon2021-12-2619-134/+92
| | | | | | | This is more convenient for both the developer and the user, especially when it comes to providing logs in a bug report. As for the loss in terms of performance, it is minimal, and this is normally not an issue where these functions are used.
* Cleanup: Use `g_file_peek_path()` when appropriateGaël Bonithon2021-12-2611-126/+55
| | | | | This simplifies the code, fixes leaks in `g_debug()` calls, and GLib 2.56 will be required when moving to Xfce 4.18.
* Cleanup: Remove deprecated GNOME build and TODO fileGaël Bonithon2021-12-266-410/+11
|
* I18n: Update translation tr (100%).Demiray Muhterem2021-12-251-3/+4
| | | | | | 25 translated messages. Transifex (https://www.transifex.com/xfce/public/).
* I18n: Update translation it (100%).Emanuele Petriglia2021-12-251-3/+4
| | | | | | 25 translated messages. Transifex (https://www.transifex.com/xfce/public/).
* Set the priority of external thumbnailers to 0Gaël Bonithon2021-12-231-7/+16
| | | | | | | If their priority is equal to that of another plugin, there is no way to know in advance which one will be prioritized in case of a mime type match (more precisely, it depends on the order in which `g_dir_read_name()` goes through the plugin directory).
* Revert "Set Max file sizes."Gaël Bonithon2021-12-231-10/+10
| | | | | | | | | | | | | This reverts commit 8f0234a4a14bfec9f0a1ef5c1c8b94fb523f5d41. There was no particular justification for this change, and since then there have been several interventions in bug reports or on the forum from users wondering why Tumbler does not generate thumbnails for certain files, especially video. There should not be a default size limitation, or only for a particular plugin, with a justification in the comments, and only if the problem cannot be fixed in the code.
* xdg-cache: Add missing sanity checkGaël Bonithon2021-12-231-1/+1
|
* xdg-cache: Remove temporary file when saving failedGaël Bonithon2021-12-231-0/+1
|
* I18n: Update translation sv (100%).Luna Jernberg2021-12-231-3/+4
| | | | | | 25 translated messages. Transifex (https://www.transifex.com/xfce/public/).
* xdg-cache: Set thumbnail permissions to 600Gaël Bonithon2021-12-221-2/+1
| | | | See https://specifications.freedesktop.org/thumbnail-spec/thumbnail-spec-latest.html#THUMBSAVE
* Fix mistake in previous commitGaël Bonithon2021-12-223-7/+10
| | | | I took the exception for the rule: let's hope this time it's good.
* Fix typo in previous commitGaël Bonithon2021-12-2213-26/+26
|
* Refactoring: Avoid code duplicationGaël Bonithon2021-12-2213-466/+106
|