| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
* Preserve the directory order in $XDG_DATA_DIRS and the priority of
$XDG_DATA_HOME over $XDG_DATA_DIRS for desktop thumbnailers.
* Fix some logical errors in `tumbler_registry_compare()`.
* Keep the priority of the pixbuf thumbnailer plugin higher than that of
the desktop thumbnailer plugin by default in `tumbler.rc` (it was
lowered in 6935184665902097511db1708eaaf78015ff61ac).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows to fully use the capabilities of the specific pixbuf loader
for the considered mime type according to the installed optional
libraries. This is especially necessary to load some SVG or HEIF
thumbnails.
On the other hand, if this specific loader doesn't work properly, it may
be even more noticeable. This is the case for libopenraw, for which a
dedicated plugin using another API has fortunately been implemented. So
we just have to prioritize it in `tumbler.rc`.
Fixes #20, #32, #36, see !18 for more details.
Co-authored-by: @Krifa75 (Gitlab ID)
|
| |
|
| |
|
|
|
|
|
|
|
| |
Related:
https://gitlab.xfce.org/xfce/libxfce4util/-/merge_requests/18
https://gitlab.xfce.org/xfce/thunar/-/merge_requests/126
https://gitlab.xfce.org/xfce/thunar/-/issues/262
|
|
|
|
|
|
| |
Convert the callback into a real GSourceFunc.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
|
|
|
| |
Current glib minimum is 2.50.0
|
|\ |
|
| | |
|
|/ |
|
|\ |
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
|
| |
As the D-Bus data type "u" indicates 32 bit unsigned integer, explicily
use guint32 instead of guint.
See Bug #16833 for more details.
|
| |
|
| |
|
|
|
|
|
| |
Any path found in a plugin Excludes will be ignored,
code contributed by Markus Kolb xfce@tower-net.de Bug #16130.
|
| |
|
| |
|
|
|
|
| |
2 Gb for video files and 200 Mb for photo/pdf files.
|
|
|
|
| |
Move the sparse video files check to ffmpeg and gstreamer plugins.
|
|
|
|
| |
This commit fixes #14693 to allow thumbnailing of folders.
|
|
|
|
| |
Signed-off-by: Ali Abdallah <ali@xfce.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sparse files, especially sparse video files, cause high cpu and memory
load when trying to get a thumbnail image out of them, using gst or ffmpeg
plugins.
For non sparse files, usually ((double)S_BLKSIZE * sb.st_blocks / sb.st_size) = 1.0,
but this is not always true, for example on file systems that support
compression, the ratio can be lower (ex. on ZFS), but not by too much for
already compressed video and image files.
We assume video files with ratio lower than 0.8 to be sparse and we avoid
them. Video files with ratio higher than 0.8 usually have enough valid
video frames, so getting a thumbnail out of them always succeeds. This
commit should fix bug #12259.
|
| |
|
|
|
|
| |
be consumed by the gdbus signal emission.
|
|
|
|
|
|
|
|
|
| |
(ex. '/usr/share' twice). This causes tumbler to load a
specilized thumbnailer twice causing an assertion failure
in tumbler_manager_load_thumbnailer.
Use GHashTable to record already loaded path to avoid
the issue, fix #13618.
|
| |
|
|
|
|
| |
Signed-off-by: Ali Abdallah <aliovx@gmail.com>
|
|
|
|
| |
with g_return_if_fail in functions returing boolean.
|
|
|
|
| |
data.
|
|
|
|
| |
Indentation prob also is fixed.
|
|
|
|
|
|
| |
Getting rid of all dbus-glib api
Tumbler is now dbus-glib free!
|
| |
|
|
|
|
|
| |
Also get rid of some dbus low level code
in favor of their gdbus equivalents.
|
|
|
|
|
|
|
|
| |
TumblerManager object which exports the interface
'org.freedesktop.thumbnails.Manager1' is almost dbus-glib free now.
There is still only a dbus-glib legacy_connection used for
the TumblerSpecializedThumbnailer, which will go away one that object
is ported.
|
|
|
|
|
|
| |
The reply was send when the operation was queued, but this does
not allow applications to properly handle new thumbs after a
copy/move operation.
|
|
|
|
| |
This reverts commit 472f842d2661ba506fd831d8b6fafa7474164989.
|
| |
|
| |
|
|
|
|
| |
Maybe safer since there are some strange segfaults in this region.
|
|
|
|
| |
Instead check the object.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Settings that allow to change the plugin priority, max file
size to act on, white-listed locations or completely disable
them.
|
| |
|
| |
|
|
|
|
| |
Makes debugging a bit hard, criticals is enough.
|