Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Merge branch 'autoreload' | Bert Münnich | 2017-05-17 | 5 | -3/+219 | |
|\ | | | | | | | | | | | Pull request #278. Fixes issue #29 and issue #199. | |||||
| * | Detect all file overwrites in autoreload_inotify | Bert Münnich | 2017-05-17 | 3 | -72/+51 | |
| | | | | | | | | | | | | | | | | | | | | | | | | mv(1) inside the same filesystem was not detected. Supporting this case made it necessary to always watch the directory. Turns out the logic and state keeping between arl_setup() and arl_handle() is easier, when using different watch descriptors for the file and the directory and not using a oneshot descriptor for the file. Requiring an absolute canonical path for arl_setup() simplifies dir and base name splitting. No need for dirname(3) and basename(3) anymore. | |||||
| * | Compiler independent buffer alignment | Bert Münnich | 2017-05-17 | 1 | -3/+7 | |
| | | ||||||
| * | Read all available inotify events | Bert Münnich | 2017-05-17 | 1 | -27/+32 | |
| | | | | | | | | Loop reading from inotify fd in arl_handle(); requires non-blocking inotify fd. | |||||
| * | Simplify inotify cleanup | Bert Münnich | 2017-05-17 | 1 | -2/+2 | |
| | | ||||||
| * | Revised error reporting in autoreload_inotify | Bert Münnich | 2017-05-17 | 1 | -20/+11 | |
| | | | | | | | | | | No repeated error messages after failed initialization. No error messages on failed inotify_rm_watch(). | |||||
| * | Fix code-style in autoreload_inotify.c | Bert Münnich | 2017-05-17 | 1 | -38/+23 | |
| | | ||||||
| * | Simplify autoreload backend selection in Makefile | Bert Münnich | 2017-05-17 | 1 | -8/+5 | |
| | | ||||||
| * | Revised autoreload interface | Bert Münnich | 2017-05-17 | 4 | -91/+100 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Make the header only contain the public interface and nothing from the implementation. All functions get a handle to their self object, like the img_ and tns_ and win_ functions. All necessary data (file path) is also passed as an argument, so that no extern redeclarations are needed. Make arl_setup_dir() private, it's not called outside the module. Make arl_handle() return true if the file has changed, so that the reloading of the file can be done by the caller. | |||||
| * | Add autoreload support by inotify (and dummy backend nop) | Max Voit | 2017-05-17 | 5 | -1/+247 | |
|/ | ||||||
* | Properly quit when window gets closed; fixes issue #27 | Bert Münnich | 2017-05-17 | 1 | -1/+1 | |
| | ||||||
* | State the purpose of CLEANUP macro | Bert Münnich | 2017-05-17 | 2 | -1/+5 | |
| | ||||||
* | Merge branch 'diogocp/patch-1' | Bert Münnich | 2017-02-15 | 1 | -1/+1 | |
|\ | ||||||
| * | Add Netpbm, TGA and XPM MIME types to sxiv.desktop | Diogo Pereira | 2017-01-27 | 1 | -1/+1 | |
| | | | | | | These formats are also supported by imlib2. | |||||
* | | Fix typo | Jakub Wilk | 2017-02-15 | 1 | -1/+1 | |
| | | ||||||
* | | Fix missing quote in key-handler from commit 5c607ad | Bert Münnich | 2017-02-13 | 2 | -2/+2 | |
|/ | ||||||
* | Pass given file names to key-handler instead of real paths | Bert Münnich | 2017-01-07 | 3 | -3/+3 | |
| | | | | | | | Misbehaving command lines in the key-handler that rewrite the given files and thus replace symbolic links instead of their targets shall call realpath(1). Fixes issue #205 and reverts commit 92e3b578. | |||||
* | Fix unused-variable warnings in conditionally compiled code | Bert Münnich | 2016-12-28 | 2 | -4/+3 | |
| | ||||||
* | Merge vaygr/opt-dep | Bert Münnich | 2016-12-28 | 1 | -1/+4 | |
|\ | ||||||
| * | Add build options for optional dependencies | Vlad Glagolev | 2016-12-26 | 1 | -1/+4 | |
|/ | ||||||
* | Merge djhejna/floatdelay | Bert Münnich | 2016-12-01 | 6 | -9/+17 | |
|\ | ||||||
| * | Support for DELAY as a floating point number including less than 1 | Don Hejna | 2016-11-27 | 6 | -11/+12 | |
| | | | | | | | | | | second while maintaining backward compatibiitiy with integer arguments. | |||||
* | | Ignore button and key events while key-handler is running | Bert Münnich | 2016-11-30 | 2 | -1/+10 | |
| | | | | | | | | Related to issue #253, which originally asked for a non-blocking key-handler. | |||||
* | | Merge dwminer/framerate | Bert Münnich | 2016-11-28 | 6 | -4/+22 | |
|\ \ | |/ |/| | ||||||
| * | Document -A option | dwminer | 2016-11-27 | 1 | -0/+5 | |
| | | ||||||
| * | Add -A option to force framerate on animated images | dwminer | 2016-11-27 | 4 | -2/+14 | |
|/ | ||||||
* | Document new -e flag | Bert Münnich | 2016-10-30 | 1 | -0/+6 | |
| | ||||||
* | Use -e for X window embedding | Bert Münnich | 2016-10-30 | 4 | -16/+13 | |
| | ||||||
* | added support for XEMBED into other windows (ie tabbed) with -w | shuall | 2016-10-28 | 4 | -3/+16 | |
| | ||||||
* | Only open regular files; fixes issue #252 | Bert Münnich | 2016-10-20 | 3 | -8/+15 | |
| | ||||||
* | Silence error messages in image-info script | Bert Münnich | 2016-10-17 | 1 | -0/+2 | |
| | ||||||
* | Allow opening directories non-recursively | Paride Legovini | 2016-09-28 | 5 | -10/+8 | |
| | ||||||
* | Update unstable version number | Bert Münnich | 2016-08-10 | 1 | -1/+1 | |
| | ||||||
* | Add TODO list | Bert Münnich | 2016-08-08 | 1 | -0/+5 | |
| | ||||||
* | Use Xft for font loading and text drawing | Bert Münnich | 2016-08-06 | 8 | -98/+56 | |
| | ||||||
* | Provide image width and height to image-info script; fixes issue #159 | Bert Münnich | 2016-08-06 | 3 | -5/+12 | |
| | ||||||
* | Removed usage information from README, refer to man page | Bert Münnich | 2016-02-12 | 1 | -88/+1 | |
| | ||||||
* | Refined grouping of key/mouse mappings in man page | Bert Münnich | 2016-02-12 | 1 | -13/+24 | |
| | ||||||
* | Fix option -q; commit d3a70a2 completely broke it; fixes issue #223 | Bert Münnich | 2015-12-28 | 2 | -1/+4 | |
| | ||||||
* | Make navigate_frame command respect a count prefix | Bert Münnich | 2015-12-26 | 3 | -3/+9 | |
| | ||||||
* | Fix 32-bit unsigned integer shift | Bert Münnich | 2015-12-26 | 2 | -2/+2 | |
| | ||||||
* | Make image-info script more steady to special symbols in file names | Sudo Nice | 2015-12-25 | 2 | -7/+5 | |
| | ||||||
* | Stable version 1.3.2 | Bert Münnich | 2015-12-20 | 2 | -1/+8 | |
| | ||||||
* | Build-time option for default thumbnail size; fixes issue #207 | Bert Münnich | 2015-12-20 | 3 | -3/+6 | |
| | ||||||
* | Simplified r_mkdir() | Bert Münnich | 2015-10-28 | 3 | -31/+18 | |
| | ||||||
* | Revised error handling | Bert Münnich | 2015-10-28 | 12 | -138/+108 | |
| | | | | | | | - Functions warn() and die() replaced by GNU-like error(3) function - Register cleanup() with atexit(3) - Functions called by cleanup() are marked with CLEANUP and are not allowed to call exit(3) | |||||
* | Prefix safe allocation functions with 'e' instead of 's_' | Bert Münnich | 2015-10-28 | 6 | -35/+34 | |
| | ||||||
* | Removed unnecessary buffer size constants | Bert Münnich | 2015-10-28 | 2 | -14/+3 | |
| | ||||||
* | Use XSI realpath(3) | Bert Münnich | 2015-10-28 | 3 | -85/+0 | |
| | ||||||
* | Use POSIX.1-2008 getline(3) | Bert Münnich | 2015-10-28 | 4 | -37/+6 | |
| |