Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Corrected & refactored handling of window bar content... | Bert Münnich | 2014-10-01 | 1 | -27/+39 |
| | | | | Old snprintf calls could have overflowed the buffers. | ||||
* | Fixed segfault on image removal with uninitialized thumbnails; fixes issue #177 | Bert Münnich | 2014-10-01 | 1 | -5/+6 |
| | |||||
* | Unified file count variable for image & thumbnail mode | Bert Münnich | 2014-09-30 | 1 | -10/+7 |
| | |||||
* | Changed image mark in thumbnail view to small rectangle | Bert Münnich | 2014-09-27 | 1 | -1/+1 |
| | |||||
* | Refactored main loop; properly fixes startup issue | Bert Münnich | 2014-09-26 | 1 | -32/+27 |
| | |||||
* | Fixed startup in thumbnail mode with floating window | Bert Münnich | 2014-09-26 | 1 | -3/+5 |
| | |||||
* | Revised thumbnail loading... | Bert Münnich | 2014-09-26 | 1 | -20/+13 |
| | | | | | | | - Only load the thumbnails that are currently visible in the window - Unload thumbnails that are leaving the visible area - Much less memory needed, but scrolling is now slower - This also unintentionally fixes issue #86 | ||||
* | Fixed segfault caused by image removal in thumbnail mode | Bert Münnich | 2014-09-11 | 1 | -1/+1 |
| | |||||
* | Simplified img_frame_animate | Bert Münnich | 2014-09-01 | 1 | -1/+1 |
| | |||||
* | Corrected i_alternate, fixes issue #171 | Bert Münnich | 2014-08-29 | 1 | -3/+5 |
| | |||||
* | Bug #165: Deletion of unnecessary null pointer checks | Markus Elfring | 2014-08-22 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The function "free" performs input parameter validation. http://pubs.opengroup.org/onlinepubs/9699919799/functions/free.html It is therefore not needed to check a passed pointer before this function call. A corresponding update suggestion was generated by the software "Coccinelle" from the following semantic patch approach. http://coccinelle.lip6.fr/ @Remove_unnecessary_pointer_checks1@ expression x; @@ -if (x != \(0 \| NULL\)) free(x); @Remove_unnecessary_pointer_checks2@ expression x; @@ -if (x != \(0 \| NULL\)) { free(x); x = \(0 \| NULL\); -} @Remove_unnecessary_pointer_checks3@ expression a, b; @@ -if (a != \(0 \| NULL\) && b != \(0 \| NULL\)) +if (a) free(b); @Remove_unnecessary_pointer_checks4@ expression a, b; @@ -if (a != \(0 \| NULL\) && b != \(0 \| NULL\)) { +if (a) { free(b); b = \(0 \| NULL\); } Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> | ||||
* | Further simplified thumbnail marks | Bert Münnich | 2014-08-18 | 1 | -1/+1 |
| | |||||
* | Full redraw when removing files during thumbnail reloading; fixes issue #164 | Bert Münnich | 2014-08-17 | 1 | -0/+2 |
| | |||||
* | Fixed wrong thumbnail-to-file mappings caused by file deletions | Bert Münnich | 2014-08-16 | 1 | -4/+4 |
| | |||||
* | Pass marked files to external key handler in thumbnail mode; fixes issue #135 | Bert Münnich | 2014-08-16 | 1 | -32/+49 |
| | |||||
* | Count number of marked files | Bert Münnich | 2014-08-16 | 1 | -0/+4 |
| | |||||
* | Unified file index variable for image & thumbnail mode | Bert Münnich | 2014-08-16 | 1 | -26/+22 |
| | |||||
* | Generalized thumbnail loading, allows easier reloading of thumbnails later on | Bert Münnich | 2014-08-16 | 1 | -8/+11 |
| | |||||
* | Overhauled window drawing, yet again; fixes issue #155 | Bert Münnich | 2014-07-28 | 1 | -7/+5 |
| | | | | | | | | - Buffer for window content is bigger than the window, minimizes artifacts when window is resized - Back to using XSetWindowBackgroundPixmap() instead of XCopyArea(), no need to handle exposure events; X server can show gray background directly after resize event before sxiv redraws the window contents | ||||
* | Added support for multiple commands per key/button mapping; elegant fix for ↵ | Bert Münnich | 2014-07-23 | 1 | -4/+8 |
| | | | | issue #150 | ||||
* | Revised command structure and key and mouse button mappings | Bert Münnich | 2014-07-23 | 1 | -12/+6 |
| | |||||
* | Show key handler status in bar while it is running | Bert Münnich | 2014-06-15 | 1 | -7/+17 |
| | |||||
* | Timeout initial redraw | Miroslav Koskar | 2014-05-24 | 1 | -1/+1 |
| | |||||
* | Use real path of all files internally, requires _XOPEN_SOURCE>=500, fixes ↵ | Bert Münnich | 2014-03-17 | 1 | -3/+15 |
| | | | | issue #137 | ||||
* | Warn once when external key combo is used and key-handler not installed | Bert Münnich | 2014-02-18 | 1 | -4/+14 |
| | |||||
* | Unified X atom initialization | Bert Münnich | 2014-02-02 | 1 | -1/+1 |
| |