summaryrefslogtreecommitdiff
path: root/src/slideshow.c
AgeCommit message (Collapse)AuthorLines
2014-05-06Fix dead code found by LLVM's scan-build utilityDaniel Friesel-1/+1
2014-04-10re-randomize after list is throughRoland Angerer-1/+7
2013-05-31fix some clang warningsDaniel Friesel-22/+22
2013-05-09fix feh_printf buffer overflowsDaniel Friesel-24/+24
2013-05-06Add %L format code (temporary copy of filelist)David Gowers-0/+13
2013-01-30Add option and keybinding to keep zoom and viewport settings.Daniel Friesel-3/+47
Patch by sdaau on IRC. Thanks!
2012-12-06work around last image deletion bug with --cycle-once (closes #107)Daniel Friesel-0/+8
2012-11-13Add %V format specifier (returns feh PID) - patch by 0ion9, closse #109Daniel Friesel-0/+4
2012-09-12print imlib2 error strings when save failedDaniel Friesel-1/+1
2012-09-12Proper workaround for broken gib_imlib_save_image_with_error_returnDaniel Friesel-7/+1
2012-08-12Add %o, %r and %z format specifiers (see #95)Daniel Friesel-33/+52
2012-07-18slideshow: -D and -R need not be mutually exclusiveDaniel Friesel-1/+1
2012-03-13slideshow_change_image: do not jump to current image on random jump (closes #85)Daniel Friesel-2/+5
2012-03-13Experimental code to limit imagemagick convert runtime (see #82)Daniel Friesel-2/+0
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)
2012-03-01quiet/verbose adjustmentsDaniel Friesel-1/+1
2012-02-26feh_printf: Fix/Add %S/%P for human-readable sizes, use them in --listDaniel Friesel-6/+19
2012-01-15Add %F and %N printf sequences for escaped file name (closes #77)Daniel Friesel-0/+31
2011-10-09slideshow.c: Warn about unknown format specifiers, fix handling of trailing ↵Daniel Friesel-4/+8
% and \
2011-09-29feh_printf: Add %S (size in kB)Daniel Friesel-0/+7
2011-09-29feh_printf: Check feh_file_info_load return statusDaniel Friesel-15/+5
2011-09-07feh_reload_image: Fix regression of old caching issue (closes #63)Daniel Friesel-5/+13
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-02Fix memory leak in cb_reload_timer (--reload for directories) (closes #62)Daniel Friesel-2/+6
Patch by livibetter
2011-09-01feh_reload_image: Try to reload unloadable (still existing) images ad infinitumDaniel Friesel-4/+5
This commit removes the feh_file_remove_from_list call from feh_reload_image. We can safely do this because if the file itself was removed, cb_reload_timer will take care of updating the filelist, and in all other cases it is intended to leave the image in the filelist and retry. A warning will be displayed in the image if the reload failed.
2011-09-01Revert "feh_reload_image: Always die if reload failed"Daniel Friesel-6/+16
This reverts commit 8b79bc33f37db12cbb672bdb47dcfeb0f2030bce.
2011-08-31feh_reload_image: Always die if reload failedDaniel Friesel-16/+6
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-08-15Convert C++ style comments to /* */Daniel Friesel-5/+6
2011-08-15slideshow.c: Make --reload properly handle --geometry/--fullscreen (closes #57)Daniel Friesel-1/+1
2011-08-13Add reload functionality for directories (derf#14)Yu-Jie Lin-0/+43
2011-08-11Show correct file number after deleting imageDaniel Friesel-4/+6
In the image_remove function, slideshow_change_image needs to be called before removing the image from the filelist. Because of this, the "x of y" displayed by --draw-filename is wrong (y is 1 too high). This commit introduces a new 'render' argument to slideshow_chingae_image. The image_remove function calls it with render=0, edits the filelist and then runs by winwidget_render_image itself. Patch by Yu-Jie Lin.
2011-08-10Remove unused variablesDaniel Friesel-2/+0
2011-08-10slideshow.c: save_image: Fix handling of capital file endings (closes #51)Daniel Friesel-1/+8
gib_imlib_save_image_with_error_return was used, but it tries to set the Imlib image format by examining the filename to save to. However, it only supports lowercase file endings (as in .jpg) and breaks with others (like .JPG). Since giblib is unmaintained, for now the fix is only used here.
2011-04-30Initial support for in-image warning display (closes #43)Daniel Friesel-3/+3
2011-04-16feh_reload_image: Work around broken Imlib2 caching (closes #39)Daniel Friesel-15/+13
2011-03-21Add method to forcefully disable antialiasing (closes GH-17)Daniel Friesel-2/+2
2011-03-12Fix segfault upon unloadable image with --title %h/%w/... (closes GH-35)Daniel Friesel-4/+5
2011-01-17Copyright FooDaniel Friesel-0/+1
2010-11-30slideshow.c: Fix segfault after encountering multiple invalid images in a rowDaniel Friesel-1/+5
2010-07-17--debug-level → --debugDaniel Friesel-1/+1
2010-06-10Remove D_ENTER/D_RETURN, use gdb tracepoints + readelf/awk magic insteadDaniel Friesel-26/+12
2010-06-09Use SIGUSR1/SIGUSR2 in slideshow mode to change imagesDaniel Friesel-0/+4
2010-06-07Allow specifying slideshow-delay while starting the slideshow in paused modeDaniel Friesel-2/+2
Set --slideshow-delay to a negative value to achieve that. In that case, the actual slideshow-delay will be <value> * (-1), so -D-5 sets slideshow-delay 5 seconds but starts paused. Closes: GH-4 <http://github.com/derf/feh/issues#issue/4>
2010-05-03Make --start-at work with filenames instead of list positionsDaniel Friesel-7/+12
2010-03-26Patch by muennich: Correctly set [Paused] window titleDaniel Friesel-9/+2
2010-03-25Actually detect an empty filelistDaniel Friesel-16/+7
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).
2010-03-24Fix segfault related to the random slideshow jump featureDaniel Friesel-1/+3
2010-03-23Implement random slideshow jump ('z')Decklin Foster-0/+3
2010-02-13Print an error if 's' button (slidehsow_save_image) failsDaniel Friesel-1/+5
2010-02-13Change source code indentation (indent -kr -i8 -hnl, mainly)Daniel Friesel-521/+453
2010-02-07slideshow.c: Update comment (again)Daniel Friesel-7/+8
2010-02-07Update "No more slides in show" commentDaniel Friesel-2/+8