summaryrefslogtreecommitdiff
path: root/src/slideshow.c
AgeCommit message (Collapse)AuthorLines
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
2010-02-07Don't die after three unloadable images. We'l see if this actually breaks ↵Daniel Friesel-1/+1
something.
2010-02-05Apply 02_changeset_r53_slideshow_fix.patch from DebianDaniel Friesel-1/+1
2010-02-05Apply 02_changeset_r46_compilation_fixes.patch from DebianDaniel Friesel-1/+1
2010-02-05Initial commit (upstream 1.3.4)Daniel Friesel-0/+582