summaryrefslogtreecommitdiff
path: root/src/thumbnail.c
AgeCommit message (Collapse)AuthorLines
2023-01-22src: Fix build with clang 16orbea-3/+3
These are no longer supported in upcoming clang versions. warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] Reference: https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
2022-01-03Fix spellinga1346054-2/+2
2021-01-24free opt.start_list_at before NULLing itDaniel Friesel-0/+1
2021-01-09distinguish between "missing magic bytes" and "no Imlib 2 loader" errorsDaniel Friesel-1/+1
2020-04-11update copyrightDaniel Friesel-1/+1
2019-04-12Handle no-longer-valid files in inotify-based auto-reloadDaniel Friesel-1/+1
2018-09-13Merge branch 'master' of github.com:derf/fehSven Willner-37/+27
2018-09-13Inotify: watch parent directory instead of just fileSven Willner-1/+1
2018-07-20Blame Imlib2 when failing to create > 32000x32000 px imageDaniel Friesel-3/+10
2018-05-11Update copyright noticeDaniel Friesel-1/+1
2018-05-11Show correct filelist position in windows opened from thumbnail modeDaniel Friesel-3/+12
Addresses part of issue #75
2018-01-24Simplify window title generationulteq-32/+6
2017-09-01fixed inotify for thumbnail modeSven Willner-0/+6
2017-08-19Make feh abort immediately if an index image could not be created (#306)Daniel Friesel-3/+5
2017-04-16Thumbnail generation: Handle HOME-less users (and some other edge cases)Daniel Friesel-2/+12
2017-04-06Fix indentation.Olof-Joachim Frahm-6/+6
2017-04-05Use temporary file to create thumbnail.Olof-Joachim Frahm-2/+14
2017-04-05`sizeof(char)` is defined to be 1.Olof-Joachim Frahm-1/+1
2017-04-05Use XDG_CACHE_HOME for thumbnails.Olof-Joachim Frahm-22/+45
2017-04-02Always terminate strncpy results with '\0'.Tobias Stoeckmann-2/+4
The strncpy function does not guarantee to end the resulting character sequence with a terminating nul character if not enough space is available. This could be triggered by supplying a sufficiently long output_file option. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
2017-02-26Also update window title for thumbnail windows (closes #280)Daniel Friesel-0/+13
2016-10-24thumbnail mode: Add a debug printf for thumbnail image sizeDaniel Friesel-0/+1
2015-04-07fix gib_imlib_save_image_with_error_return in imported giblib codeDaniel Friesel-1/+1
2014-08-03make all opt.verbose messages print to stderrNoah Birnel-3/+3
manually changed in collage, imlib, filelist, thumbnail, slideshow, index feh_display_status also changed
2014-04-14Use new path_is_url helper instead of repeated strncmp chainsDaniel Friesel-3/+1
2013-05-31fix some clang warningsDaniel Friesel-2/+2
2012-12-24Fix list_jump in thumbnail mode + thumbnail mode selection rollover (closes ↵Daniel Friesel-15/+26
#115)
2012-12-23respect --start-at in thumbnail mode (closes #116)Daniel Friesel-0/+10
2012-09-12print imlib2 error strings when save failedDaniel Friesel-1/+1
2012-09-12show error message if -o / -O failed to save imageDaniel Friesel-2/+6
2012-09-01Fix bug in thumbnail generation when used with 'feh .'Daniel Friesel-0/+3
It used to save the thumbnail for /path/to/./pmage.png, now it is always /path/to/image.png
2012-08-12Add %o, %r and %z format specifiers (see #95)Daniel Friesel-2/+2
2012-03-13Experimental code to limit imagemagick convert runtime (see #82)Daniel Friesel-0/+1
Problems so far: * leaks zombie processes * does not work when terminating feh with a signal (since the convert process is no longer in feh's process group)
2011-10-10Code cleanupDaniel Friesel-20/+10
2011-10-09index.c, thumnail.c: Remove size restriction messageDaniel Friesel-13/+1
It's all documented in the manpage anyways.
2011-10-03Refactor --limit-width / --limit-height codeDaniel Friesel-89/+15
2011-10-02Merge remote-tracking branches 'derf/master' and 'origin/master'Olof-Joachim Frahm-140/+40
2011-10-01index.c, thumbnail.c: Fix alignment issuesDaniel Friesel-0/+4
2011-09-30Fix memory leaksDaniel Friesel-0/+3
2011-09-30Apply changes to thumbnail modeDaniel Friesel-140/+33
2011-09-29Thumbnail view now allows to execute actions.Olof-Joachim Frahm-0/+7
Only if a previously selected item (mouse over, keyboard) is available though.
2011-09-25--title-font: Re-render image after drawing titleDaniel Friesel-0/+3
2011-09-25index.c, thumbnail.c: Fix --title-font fallback to default (closes #65)Daniel Friesel-0/+3
2011-09-07feh_reload_image: Fix regression of old caching issue (closes #63)Daniel Friesel-1/+1
This was broken by the changes allowing --reload to retry ad infinitum. Now force_new is used to decide whether or not to work around the Imlib2 caching issue. Because of this, a few feh_reload_image calls needed to be changed.
2011-09-01Revert "feh_reload_image: Always die if reload failed"Daniel Friesel-1/+1
This reverts commit 8b79bc33f37db12cbb672bdb47dcfeb0f2030bce.
2011-08-31feh_reload_image: Always die if reload failedDaniel Friesel-1/+1
This fixes a segfault in --reload when the image becomes unloadable while feh is running. Note that this does not affect --reload with more than one file: If the current image is removed, feh will simply jump to the next image. feh will only quit if the file still exists, but can no longer be loaded.
2011-05-02Use next/prev/render keys to select images in thumbnail mode (closes #26)Daniel Friesel-1/+39
2011-05-02Move last selected thumbnail from events.c to thumbmode_data (thumbnail.c)Daniel Friesel-19/+28
2011-05-01Move thumbnail code from events.c to thumbnail.cDaniel Friesel-0/+51
2011-04-30Replace some printf calls by fputs/putcDaniel Friesel-7/+7