Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
2023-10-02 | move signal-unsafe functions out of signal handlers | Birte Kristina Friesel | -0/+34 | |
A signal interrupts the blocking function calls in the main iteration, so there is really no need to do (unsafe) heavy lifting in the signal handler. Closes #705 | ||||
2023-07-12 | update copyright | Birte Kristina Friesel | -1/+1 | |
2022-02-10 | Run init_magic before init_parse_options | Daniel Friesel | -4/+5 | |
init_parse_options calls feh_prepare_filelist, which in turn calls feh_file_info_preload if opt.preload is set. This function will load all images in the filelist to determine their attributes, so we need to initialize libmagic before calling init_parse_options. | ||||
2022-02-08 | global initialization for libmagic | Christian Hesse | -0/+8 | |
Add a global `magic_t magic` and initialize it just once. Also `feh_is_image()` now calls itself to check compressed files, saving some duplicate code. | ||||
2022-01-03 | Trim trailing whitespace | a1346054 | -1/+1 | |
2021-09-21 | Fix crash when X11 is connected via FD 0. | Daniel Friesel | -3/+9 | |
If stdin is not connected, the X11 connection may use FD 0, which is traditionally used for STDIN. Do not attempt reads from fd 0 unless it _really_ is connected to a terminal on stdin. Reported by https://github.com/pvanstam, thanks a lot! Closes #631 Closes #632 | ||||
2021-09-21 | Do not hardcode STDIN_FILENO == 0 | Daniel Friesel | -2/+2 | |
2020-04-11 | update copyright | Daniel Friesel | -1/+1 | |
2019-07-08 | Fix lockup when receiving a signal and inotify is enabled | Daniel Friesel | -2/+2 | |
That part slipped through while reviewing the PR... | ||||
2019-04-18 | Gracefully handle inotify failures | Daniel Friesel | -1/+2 | |
2019-04-18 | print error string if an inotify operation fails | Daniel Friesel | -1/+1 | |
2019-04-01 | Merge remote-tracking branch 'original/master' | Sven Willner | -5/+2 | |
2018-12-23 | There is no need to test ft against null | Pavel Shlyak | -1/+1 | |
ft is already checked on line 153 so this condition is useless. Check https://github.com/derf/feh/issues/440 for more details | ||||
2018-11-05 | Remove deprecated option --menu-bg | Daniel Friesel | -1/+0 | |
2018-11-04 | Merge branch 'remove-collage-mode' of https://github.com/Ferada/feh into ↵ | Daniel Friesel | -2/+0 | |
Ferada-remove-collage-mode | ||||
2018-10-17 | Use random() instead of rand() to increase portability | Daniel Friesel | -1/+1 | |
Quoting glibc rand(3): The versions of rand() and srand() in the Linux C Library use the same random number generator as random(3) and srandom(3), so the lower-order bits should be as random as the higher-order bits. However, on older rand() implementations, and on current implementations on different systems, the lower-order bits are much less random than the higher-order bits. Do not use this function in applications intended to be portable when good randomness is needed. (Use random(3) instead.) | ||||
2018-10-02 | Actually remove collage mode after ~7 years. | Olof-Joachim Frahm | -2/+0 | |
2018-09-13 | Merge branch 'master' of github.com:derf/feh | Sven Willner | -28/+35 | |
2018-07-17 | feh_main_iteration: Properly check select() return value | Daniel Friesel | -2/+2 | |
Trying to handle stdin when select() in fact returned an error due to being interrupted by a signal is a rather bad idea. | ||||
2018-07-06 | Update main.c | giladogit | -4/+4 | |
See issue #405 | ||||
2018-05-11 | Update copyright notice | Daniel Friesel | -1/+1 | |
2018-03-10 | Only set random seed once | Daniel Friesel | -0/+2 | |
Fixes non-random behaviour when randomizing file lists several times per second. Closes #349 | ||||
2017-10-02 | Fix segfault when running slideshow mode with !opt.display | Daniel Friesel | -1/+4 | |
Happens e.g. when using -O without enabling thumbnail/index mode Closes #335 | ||||
2017-09-13 | Improve handling of lost terminals | Daniel Friesel | -18/+2 | |
When feh loses its controlling terminal at runtime, e.g. due to backgrounding / disowning, it will no longer issue a warning on each terminal keystroke. | ||||
2017-09-13 | Only restore terminal settings if stdin still belongs to us (closes #324) | Daniel Friesel | -1/+9 | |
2017-09-01 | changed option from inotify to auto-reload | Sven Willner | -4/+4 | |
2017-08-29 | Handle detaching the controlling tty from a feh process | Daniel Friesel | -1/+1 | |
2017-08-27 | Do not accept control from stdin when running in the background | Daniel Friesel | -1/+11 | |
2017-08-25 | Disable stdin control in multiwindow mode | Daniel Friesel | -1/+1 | |
As there's no "default" window, it doesn't make much sense here... Plus, it's buggy as hell in this mode | ||||
2017-08-24 | added inotify support | Sven Willner | -0/+34 | |
2017-08-23 | Add terminal-input support for space and return | Daniel Friesel | -2/+1 | |
2017-08-23 | Put terminal into (mostly) raw mode when reading commands from stdin | Daniel Friesel | -4/+17 | |
Also, restore the previous terminal mode on exit | ||||
2017-08-22 | Add experimental support for (remote) control via stdin | Daniel Friesel | -0/+17 | |
2016-05-05 | src/main.c: switch spaces to tabs to clobber GCC warning | Daniel Lockyer | -2/+2 | |
2016-05-02 | src/main.c: rebase master and fix segfault issue | Daniel Lockyer | -0/+3 | |
2016-05-01 | src/main.c: free the malloc'ed sections of the options | Daniel Lockyer | -0/+3 | |
2012-03-25 | set up signal handlers early enough (needed for filelist preloading, for ↵ | Daniel Friesel | -1/+1 | |
example) | ||||
2012-03-15 | --(un|)loadable: indicate results in exit code | Daniel Friesel | -1/+1 | |
2012-03-13 | Experimental code to limit imagemagick convert runtime (see #82) | Daniel Friesel | -0/+2 | |
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-28 | Use buttons config instead of button options | Daniel Friesel | -0/+1 | |
2011-09-26 | Add support for multiple files in --bg-options (closes #64) | Daniel Friesel | -1/+1 | |
Squashed commit of the following: commit 55e66e15af898f4c01d7d265013124fefce795e4 Author: Daniel Friesel <derf@finalrewind.org> Date: Mon Sep 26 19:59:46 2011 +0200 Save all filenames in ~/.fehbg commit afc2774f315fc379aa96de58decf8370772036af Author: Daniel Friesel <derf@finalrewind.org> Date: Mon Sep 26 19:24:38 2011 +0200 Update test/bg --bg-fill images (off-by-one due to changed implementation) commit bd4210cff2e895414df12868f6cab7f193c5adf5 Author: Daniel Friesel <derf@finalrewind.org> Date: Mon Sep 26 14:47:00 2011 +0200 Fix feh_wm_set_bg_maxed commit d9ada9dc2a74aef6ae0924e9c0ff296b94ee25bc Author: Daniel Friesel <derf@finalrewind.org> Date: Mon Sep 26 14:39:11 2011 +0200 Fix for non-xinerama setups commit be2cf0f1f8c00b737e7141a372d3cbc9db4c949f Author: Daniel Friesel <derf@finalrewind.org> Date: Mon Sep 26 14:24:44 2011 +0200 Move wallpaper calculation code into separate functions commit 4e07c1f9734569fdd778a813c5a85c63b51b3175 Author: Daniel Friesel <derf@finalrewind.org> Date: Mon Sep 26 13:01:46 2011 +0200 Remove unnecessary temporary variable commit 23d1d733b21d1560e1fbcadddc34cae3d666b21d Author: Daniel Friesel <derf@finalrewind.org> Date: Mon Sep 26 12:46:25 2011 +0200 Initial conversion, works with --bg-scale | ||||
2011-09-03 | Rename support.c to wallpaper.c | Daniel Friesel | -1/+1 | |
2011-01-17 | Copyright Foo | Daniel Friesel | -0/+1 | |
2011-01-13 | First step towards configurable key bindings | Daniel Friesel | -1/+3 | |
2010-07-17 | --debug-level → --debug | Daniel Friesel | -7/+7 | |
2010-06-11 | debug.h: call_level is no longer relevant, pretty debug message format | Daniel Friesel | -1/+0 | |
2010-06-10 | Remove D_ENTER/D_RETURN, use gdb tracepoints + readelf/awk magic instead | Daniel Friesel | -11/+7 | |
2010-02-14 | Remove fmmode relicts | Daniel Friesel | -7/+0 | |
2010-02-13 | Change source code indentation (indent -kr -i8 -hnl, mainly) | Daniel Friesel | -163/+147 | |
2010-02-08 | Make -O work without X as well. Closes bugs.debian.org #373209 | Daniel Friesel | -1/+3 | |