Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Don't skip dot files when cleaning cache | Kacper Gutowski | 2018-07-30 | 1 | -1/+1 | |
| | ||||||
* | Set global markidx whenever a single img is (un)marked | Bert Münnich | 2018-06-09 | 1 | -0/+1 | |
| | | | | This also sets *markidx* when using the right mouse button in thumbnail mode. | |||||
* | (Un)mark thumbnails while holding Button3 down | Bert Münnich | 2018-06-09 | 1 | -4/+13 | |
| | ||||||
* | (Un)mark single image through generic function | Bert Münnich | 2018-06-09 | 1 | -0/+12 | |
| | ||||||
* | Rename variable toggledidx to markidx | Bert Münnich | 2018-06-09 | 1 | -3/+3 | |
| | ||||||
* | Fix cg_mark_range after removing images from file list | Bert Münnich | 2018-06-09 | 1 | -0/+2 | |
| | ||||||
* | Remove unnecessary special cases in cg_mark_range | Bert Münnich | 2018-06-09 | 1 | -1/+1 | |
| | ||||||
* | Add mark range function | Daniel Lublin | 2018-06-09 | 1 | -0/+1 | |
| | | | | | Sets the marked state of all images ranging from the latest marked/unmarked image to the current image, to the state of that latest toggled image. | |||||
* | Revise waiting for child processes | Bert Münnich | 2018-02-18 | 1 | -6/+20 | |
| | ||||||
* | Close image-info explicitly | Bert Münnich | 2018-02-18 | 1 | -18/+18 | |
| | ||||||
* | Skip imlib cache when reloading due to inotify event | Bert Münnich | 2018-02-18 | 1 | -0/+1 | |
| | ||||||
* | Refactoring | Bert Münnich | 2018-01-09 | 1 | -9/+7 | |
| | ||||||
* | Fix a potential uninitialized variable | Hyleus | 2018-01-09 | 1 | -2/+5 | |
| | ||||||
* | Separate bar fields only by spaces | Bert Münnich | 2017-12-07 | 1 | -5/+7 | |
| | ||||||
* | Remove obsolete files[].base | Bert Münnich | 2017-12-07 | 1 | -5/+0 | |
| | ||||||
* | Left bar shows file name as given by user | Bert Münnich | 2017-12-07 | 1 | -19/+5 | |
| | ||||||
* | Try to match a fallback font if needed | Squibby | 2017-12-06 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | Fixes #276 Instead of rendering the entire filename at once, Xft will let us do it character by character. This will allow sxiv to query fontconfig for a font that can provide any missing codepoints, if needed. A known issue of this patch is that the "..." dots rendering will not work properly for very long multibyte filenames. That is because we cannot easily predict the final width of the rendered filename before drawing it. I couldn't figure out a clean way to deal with this, so I ended up just truncating the offending filenames. | |||||
* | Fix navigating from last to previous image over invalid files | Bert Münnich | 2017-10-26 | 1 | -3/+4 | |
| | ||||||
* | Set LC_COLLATE for -r file list sorting | Bert Münnich | 2017-10-24 | 1 | -0/+3 | |
| | | | | Fixes issue #293. | |||||
* | One header file for type definitions and function declarations | Bert Münnich | 2017-10-16 | 1 | -15/+4 | |
| | ||||||
* | Improve mouse support | Bert Münnich | 2017-10-06 | 1 | -3/+27 | |
| | | | | | | | | | | | | None of the mouse mappings uses a keyboard modifier, making it possible to access the most basic features by only using the mouse. Next/previous image with left button depending on cursor position, middle button for dragging, right button for switching to thumnail mode and wheel for zooming. Users can keep the old behaviour by simply not adapting the changes to the buttons array in config.def.h to their config.h file. | |||||
* | Simplify cursor reset in image mode | Bert Münnich | 2017-10-05 | 1 | -2/+2 | |
| | | | | | No need to give cursor name. reset_cursor() is now the only place to decide what cursor to fall back to. | |||||
* | Mouse drag translates pointer position to image area | Bert Münnich | 2017-10-04 | 1 | -0/+1 | |
| | | | | This makes mouse panning more direct and faster. | |||||
* | Detect all file overwrites in autoreload_inotify | Bert Münnich | 2017-05-17 | 1 | -1/+1 | |
| | | | | | | | | | | | | 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. | |||||
* | Revised autoreload interface | Bert Münnich | 2017-05-17 | 1 | -11/+20 | |
| | | | | | | | | | | | | 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 | 1 | -1/+12 | |
| | ||||||
* | Properly quit when window gets closed; fixes issue #27 | Bert Münnich | 2017-05-17 | 1 | -1/+1 | |
| | ||||||
* | Fix typo | Jakub Wilk | 2017-02-15 | 1 | -1/+1 | |
| | ||||||
* | Pass given file names to key-handler instead of real paths | Bert Münnich | 2017-01-07 | 1 | -1/+1 | |
| | | | | | | | 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. | |||||
* | Merge djhejna/floatdelay | Bert Münnich | 2016-12-01 | 1 | -3/+7 | |
|\ | ||||||
| * | Support for DELAY as a floating point number including less than 1 | Don Hejna | 2016-11-27 | 1 | -1/+1 | |
| | | | | | | | | | | second while maintaining backward compatibiitiy with integer arguments. | |||||
* | | Ignore button and key events while key-handler is running | Bert Münnich | 2016-11-30 | 1 | -0/+9 | |
|/ | | | | Related to issue #253, which originally asked for a non-blocking key-handler. | |||||
* | Allow opening directories non-recursively | Paride Legovini | 2016-09-28 | 1 | -5/+1 | |
| | ||||||
* | Use Xft for font loading and text drawing | Bert Münnich | 2016-08-06 | 1 | -2/+2 | |
| | ||||||
* | Provide image width and height to image-info script; fixes issue #159 | Bert Münnich | 2016-08-06 | 1 | -1/+4 | |
| | ||||||
* | Revised error handling | Bert Münnich | 2015-10-28 | 1 | -57/+44 | |
| | | | | | | | - 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 | 1 | -5/+5 | |
| | ||||||
* | Removed unnecessary buffer size constants | Bert Münnich | 2015-10-28 | 1 | -7/+2 | |
| | ||||||
* | Use XSI realpath(3) | Bert Münnich | 2015-10-28 | 1 | -15/+0 | |
| | ||||||
* | Use POSIX.1-2008 getline(3) | Bert Münnich | 2015-10-28 | 1 | -4/+5 | |
| | ||||||
* | Removed feature test macro definitions from source files | Bert Münnich | 2015-10-28 | 1 | -3/+2 | |
| | ||||||
* | Removed overcautious parameter checks | Bert Münnich | 2015-10-28 | 1 | -8/+3 | |
| | ||||||
* | Always run image-info script after key-handler in image mode; fixes issue #213 | Bert Münnich | 2015-08-19 | 1 | -3/+3 | |
| | ||||||
* | Pass real paths to key handler instead of the paths provided by the user | Bert Münnich | 2015-01-18 | 1 | -1/+1 | |
| | | | | | Programs called by the key handler might replace symlinks instead of their targets. | |||||
* | Cache out of view thumbnails in the background | Bert Münnich | 2015-01-04 | 1 | -9/+15 | |
| | ||||||
* | Use bit-field for boolean flags in fileinfo struct | Bert Münnich | 2015-01-04 | 1 | -11/+14 | |
| | ||||||
* | Ignore SIGPIPE, caused by key handler exiting before all files got printed, ↵ | Bert Münnich | 2014-12-01 | 1 | -0/+2 | |
| | | | | fixes issue #188 | |||||
* | Pass file paths to key handler via stdin; fixes issue #187 | Bert Münnich | 2014-11-27 | 1 | -37/+48 | |
| | ||||||
* | Fixed leakage of pipe descriptors in case of failing fork | Bert Münnich | 2014-11-27 | 1 | -8/+10 | |
| | ||||||
* | Do not print could-not-open-warnings for files found by directory traversal | Bert Münnich | 2014-10-24 | 1 | -7/+8 | |
| |