summaryrefslogtreecommitdiff
path: root/src/signals.c
AgeCommit message (Collapse)AuthorLines
2023-01-22src: Fix build with clang 16orbea-1/+1
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
2020-04-11update copyrightDaniel Friesel-1/+1
2019-03-26Make SIGUSR1 / SIGUSR2 relaod the current image in single-file slideshowsDaniel Friesel-4/+9
2018-12-04Declare sig_exit as volatileDaniel Friesel-1/+1
sig_exit may be changed by a signal handler, so its value should always be read from RAM.
2018-07-17signals.c: Globally initialize sig_exit; return immediately after SIGTERM etcDaniel Friesel-2/+2
2018-07-07Update signals.cgiladogit-0/+1
2018-07-06Update signals.cgiladogit-1/+2
See issue #405
2018-05-11Update copyright noticeDaniel Friesel-1/+1
2017-08-29Handle detaching the controlling tty from a feh processDaniel Friesel-2/+8
2012-03-14Terminate convert when receiving SIG{INT,TERM,QUIT}Daniel Friesel-6/+20
2012-03-13Experimental code to limit imagemagick convert runtime (see #82)Daniel Friesel-6/+14
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-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-08-11Show correct file number after deleting imageDaniel Friesel-2/+2
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-04-16feh_reload_image: Work around broken Imlib2 caching (closes #39)Daniel Friesel-1/+0
2011-04-12multiwindow mode: reload all images with USR1/USR2 (not perfect yet)Daniel Friesel-0/+6
2010-06-16signals.c: Initialise sa_flags, just to be safeDaniel Friesel-1/+2
2010-06-10Remove D_ENTER/D_RETURN, use gdb tracepoints + readelf/awk magic insteadDaniel Friesel-7/+4
2010-06-09error checking in signals.c + Add signals to documentationDaniel Friesel-5/+16
2010-06-09Use SIGUSR1/SIGUSR2 in slideshow mode to change imagesDaniel Friesel-0/+63