| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This simplifies the code, fixes leaks in `g_debug()` calls, and
GLib 2.56 will be required when moving to Xfce 4.18.
|
| |
|
| |
|
|
|
|
| |
Completes afb365a2e8cc57be895f4dc2d78d5f56d21700f9, related to #37.
|
|
|
|
| |
Fixes #37.
|
|
|
|
| |
Completes d6aeb7d65acf6e41738c78b9d137fab3502d1c58.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
These warnings appear only under certain conditions and/or for certain
versions of the compilers. For example with GCC 11.1 when building with
`--disable-debug` and with Clang 13.0.
They had been left out in !16 with doubts about their validity, but they
are actually understandable in view of `setjmp()` calls, and can be
fixed easily.
|
| |
|
|
|
|
|
|
| |
If tvtj_exif_extract_thumbnail fails to load a thumbnail, use what it
has found as an orientation to generate a correctly oriented thumbnail
image. This commit Fixes #28.
|
|
|
|
|
| |
Use separated structs instead of union to avoid garbled values
when a file (apparently) contains both types of metadata.
|
|
|
|
| |
Signed-off-by: Ali Abdallah <aliovx@gmail.com>
|
| |
|
|
|
|
| |
Rotate the embedded thumbnails retreived from the exif data.
|
| |
|
| |
|
|
|
|
|
|
| |
libjpeg only support scaling up to 1/16 of the origional. Quite
often this is still too big for the thumbnail size, so resize the
pixbuf before returning it to tumbler.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
The check for sched.h and linux/sched.h is not enough. We also need to
check for sched_getparam() and sched_setscheduler(), as on OpenBSD has
no implementation of these functions.
|
| |
|
| |
|
|
This basically is a copy of the JPEG thumbnailer Benedikt Meurer wrote
for ThunarVFS. It might be a little rough around the edges but I
verified that it works as it did in ThunarVFS. I'm aware of a few bugs
related to rotation and stuff though that were reported against
ThunarVFS.
|