summaryrefslogtreecommitdiff
path: root/src/slideshow.c
AgeCommit message (Collapse)Author
2012-02-26feh_printf: Fix/Add %S/%P for human-readable sizes, use them in --listDaniel Friesel
2012-01-15Add %F and %N printf sequences for escaped file name (closes #77)Daniel Friesel
2011-10-09slideshow.c: Warn about unknown format specifiers, fix handling of trailing ↵Daniel Friesel
% and \
2011-09-29feh_printf: Add %S (size in kB)Daniel Friesel
2011-09-29feh_printf: Check feh_file_info_load return statusDaniel Friesel
2011-09-07feh_reload_image: Fix regression of old caching issue (closes #63)Daniel Friesel
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
Patch by livibetter
2011-09-01feh_reload_image: Try to reload unloadable (still existing) images ad infinitumDaniel Friesel
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
This reverts commit 8b79bc33f37db12cbb672bdb47dcfeb0f2030bce.
2011-08-31feh_reload_image: Always die if reload failedDaniel Friesel
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
2011-08-15slideshow.c: Make --reload properly handle --geometry/--fullscreen (closes #57)Daniel Friesel
2011-08-13Add reload functionality for directories (derf#14)Yu-Jie Lin
2011-08-11Show correct file number after deleting imageDaniel Friesel
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
2011-08-10slideshow.c: save_image: Fix handling of capital file endings (closes #51)Daniel Friesel
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
2011-04-16feh_reload_image: Work around broken Imlib2 caching (closes #39)Daniel Friesel
2011-03-21Add method to forcefully disable antialiasing (closes GH-17)Daniel Friesel
2011-03-12Fix segfault upon unloadable image with --title %h/%w/... (closes GH-35)Daniel Friesel
2011-01-17Copyright FooDaniel Friesel
2010-11-30slideshow.c: Fix segfault after encountering multiple invalid images in a rowDaniel Friesel
2010-07-17--debug-level → --debugDaniel Friesel
2010-06-10Remove D_ENTER/D_RETURN, use gdb tracepoints + readelf/awk magic insteadDaniel Friesel
2010-06-09Use SIGUSR1/SIGUSR2 in slideshow mode to change imagesDaniel Friesel
2010-06-07Allow specifying slideshow-delay while starting the slideshow in paused modeDaniel Friesel
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
2010-03-26Patch by muennich: Correctly set [Paused] window titleDaniel Friesel
2010-03-25Actually detect an empty filelistDaniel Friesel
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
2010-03-23Implement random slideshow jump ('z')Decklin Foster
2010-02-13Print an error if 's' button (slidehsow_save_image) failsDaniel Friesel
2010-02-13Change source code indentation (indent -kr -i8 -hnl, mainly)Daniel Friesel
2010-02-07slideshow.c: Update comment (again)Daniel Friesel
2010-02-07Update "No more slides in show" commentDaniel Friesel
2010-02-07Don't die after three unloadable images. We'l see if this actually breaks ↵Daniel Friesel
something.
2010-02-05Apply 02_changeset_r53_slideshow_fix.patch from DebianDaniel Friesel
2010-02-05Apply 02_changeset_r46_compilation_fixes.patch from DebianDaniel Friesel
2010-02-05Initial commit (upstream 1.3.4)Daniel Friesel