summaryrefslogtreecommitdiff
path: root/plugins/jpeg-thumbnailer
Commit message (Collapse)AuthorAgeFilesLines
* Error handling: Fit to the spec and complete message if neededGaël Bonithon2021-12-261-1/+2
| | | | | | | | | | | | | 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-262-0/+5
|
* Debug: Prefer runtime to compile-time check for loggingGaël Bonithon2021-12-261-6/+2
| | | | | | | 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-261-6/+1
| | | | | This simplifies the code, fixes leaks in `g_debug()` calls, and GLib 2.56 will be required when moving to Xfce 4.18.
* Fix typo in previous commitGaël Bonithon2021-12-221-1/+1
|
* Refactoring: Avoid code duplicationGaël Bonithon2021-12-221-39/+1
|
* jpeg-thumbnailer: Add missing sanity checkGaël Bonithon2021-12-211-1/+1
| | | | Completes afb365a2e8cc57be895f4dc2d78d5f56d21700f9, related to #37.
* jpeg-thumbnailer: Do not use low quality embedded thumbnailGaël Bonithon2021-12-191-5/+14
| | | | Fixes #37.
* Do not translate warning messagesGaël Bonithon2021-12-181-1/+1
| | | | Completes d6aeb7d65acf6e41738c78b9d137fab3502d1c58.
* Define error messages in `tumbler/tumbler-error.h`Gaël Bonithon2021-12-171-4/+3
|
* Fix warnings from scan-build (Clang 13.0)Gaël Bonithon2021-12-111-1/+1
|
* Fix `-Wclobbered` compilation warningsGaël Bonithon2021-12-111-0/+1
| | | | | | | | | | 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.
* Fix compilation warningsGaël Bonithon2021-11-102-4/+15
|
* Use exif jpeg orientation hintAli Abdallah2020-08-061-7/+28
| | | | | | 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.
* Fix thumbnail orientation (Bug #15011)Andre Miranda2019-10-281-36/+34
| | | | | Use separated structs instead of union to avoid garbled values when a file (apparently) contains both types of metadata.
* Fix typo in exif tag for image heightJustin Gassner2017-05-291-1/+1
| | | | Signed-off-by: Ali Abdallah <aliovx@gmail.com>
* Drop translations of debug message.Nick Schermer2012-12-271-2/+2
|
* Rotate jpeg thumbnails (bug #6730).Nick Schermer2012-12-081-8/+89
| | | | Rotate the embedded thumbnails retreived from the exif data.
* Link all plugins that use rint() against libm (-lm).Jannis Pohlmann2012-02-241-2/+3
|
* Make sure to include PLATFORM flags everywhere.Jannis Pohlmann2011-12-271-0/+1
|
* Avoid huge thumbnails from libjpeg (bug #8020).Nick Schermer2011-10-271-0/+41
| | | | | | 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.
* Drop some unused variables.Nick Schermer2011-04-221-3/+0
|
* Fix possible segmentation fault in the JPEG thumbnailer.Jannis Pohlmann2011-01-101-1/+1
|
* Fix init/shutdown debug message in the JPEG thumbnailer plugin.Jannis Pohlmann2010-11-131-2/+2
|
* Fix sched_getparam/sched_setscheduler code on OpenBSD (bug #6061).Jannis Pohlmann2010-11-071-0/+3
| | | | | | 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.
* Link plugins against libtumbler-1. Should fix builds with --as-needed.Jannis Pohlmann2010-08-291-1/+5
|
* Remove unused function, fix noreturn compiler error.Jannis Pohlmann2010-01-071-11/+1
|
* Add a fast JPEG thumbnailer with EXIF thumbnail support.Jannis Pohlmann2009-12-086-0/+1191
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.