summaryrefslogtreecommitdiff
path: root/src/thumbnail.c
AgeCommit message (Collapse)AuthorLines
2018-01-24Simplify window title generationulteq-32/+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
2011-03-21Add method to forcefully disable antialiasing (closes GH-17)Daniel Friesel-2/+2
2011-01-23Show correct image dimensions in thumbnail mode (closes GH-29)Daniel Friesel-11/+38
Ugly workaround, gotta make it nicer some time
2011-01-17Copyright FooDaniel Friesel-0/+1
2010-07-17--debug-level → --debugDaniel Friesel-8/+8
2010-06-16Make --font set the global default fontDaniel Friesel-1/+5
2010-06-10Remove D_ENTER/D_RETURN, use gdb tracepoints + readelf/awk magic insteadDaniel Friesel-27/+12
2010-05-31major --thumbnails speed impromevents, new --thumb-redraw optionDaniel Friesel-1/+10
See ChangeLog / man/feh.1 "--thumb-redraw" for more
2010-05-31Support caching of thumbnails up to 256x256 pixels (.thumbnails/large)Daniel Friesel-9/+27
Depending on --thumb-width/--thumb-height, either .thumbnails/normal or .thumbnails/large is used. For higher dimensions, thumbnail caching is still silently disabled, this should also be what the standard indicates.
2010-05-30Make --cache-thumbnails adhere more to the standardDaniel Friesel-1/+1
2010-05-30Center images in index/thumbnail modeDaniel Friesel-8/+6
Centering didn't work if the text below the thumbnail was wider than the thumbnail itself. Fixed.
2010-05-03Fix remaining compiler warnings (I probably won't implement these options ↵Daniel Friesel-2/+2
anyways)
2010-03-25Actually detect an empty filelistDaniel Friesel-1/+0
This fixes imlib2 warnings (and occasional X errors/segfaults), which used to occur when all files in feh's filelist were suddenly deleted by an external application. Now, feh simply quits with "No more slides in show" (which makes more sense, IMHO).