Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | Merged pull request #129 | Bert Münnich | 2014-01-31 | 1 | -10/+9 | |
|\ | ||||||
| * | Use a prefix key to execute the key handler | András Mohari | 2014-01-31 | 1 | -2/+12 | |
|/ | | | | | | The default prefix key is C-x, and can be changed in config.def.h. The first key pressed after the prefix key will be passed the external key handler, unless the key is Escape, which is used to cancel the prefix. | |||||
* | Double click on thumbnail to open image | Bert Münnich | 2014-01-11 | 1 | -6/+10 | |
| | ||||||
* | Adhere to XDG Base Directory Specification; fixes issue #124 | Bert Münnich | 2014-01-11 | 1 | -28/+26 | |
| | ||||||
* | Allow config.h to use multimedia keys (XF86_XK_*); fixes issue #123 | Bert Münnich | 2014-01-09 | 1 | -0/+1 | |
| | ||||||
* | Fixed handling of overloaded key mappings | Bert Münnich | 2014-01-08 | 1 | -8/+20 | |
| | | | | | Issue described here: https://bbs.archlinux.org/viewtopic.php?pid=1117294#p1117294 | |||||
* | Fixup for 9574150 | Bert Münnich | 2014-01-08 | 1 | -4/+6 | |
| | ||||||
* | Check file modification time after key handler | Bert Münnich | 2014-01-08 | 1 | -0/+10 | |
| | ||||||
* | Fixed slideshow delay corruption after GIF animation | Bert Münnich | 2014-01-08 | 1 | -1/+2 | |
| | ||||||
* | Slideshow mode is back, in a simplified version | Bert Münnich | 2014-01-04 | 1 | -4/+23 | |
| | ||||||
* | Moved external shell commands into exec/key-handler script | Bert Münnich | 2014-01-02 | 1 | -13/+77 | |
| | | | | | Gets called on all unset key mappings. Arguments are: key combo and current file. Thanks to Francesco Orsenigo (xarvh) for the idea. | |||||
* | Proper support for Ctrl/Shift/Alt modifiers in key & mouse mappings | Bert Münnich | 2014-01-02 | 1 | -15/+15 | |
| | ||||||
* | Close info file descriptor after reading | Bastien Dejean | 2013-11-17 | 1 | -0/+1 | |
| | ||||||
* | Fixed segfault when removing first image from file list, fixes issue #112 | Bert Münnich | 2013-11-16 | 1 | -2/+2 | |
| | ||||||
* | Refactored remote changes | Bert Münnich | 2013-11-14 | 1 | -3/+4 | |
| | ||||||
* | Merge remote-tracking branch 'ariand/gamma' | Bert Münnich | 2013-11-14 | 1 | -0/+2 | |
|\ | ||||||
| * | Add support for changing the gamma value | András Mohari | 2013-11-13 | 1 | -0/+2 | |
| | | ||||||
* | | Highlight edges of marked images in thumbnail mode | Bert Münnich | 2013-11-14 | 1 | -1/+7 | |
|/ | ||||||
* | Fixed inconsistencies in navigation when removing invalid files | Bert Münnich | 2013-10-21 | 1 | -2/+7 | |
| | ||||||
* | Added file marks; fixes issue #94 | Bert Münnich | 2013-08-10 | 1 | -2/+5 | |
| | | | | | | | | - Command it_toggle_image_mark (bound to 'm') toggles mark of current image - Command it_navigate_marked (bound to 'N'/'P') can be used to go to the next/previous marked image - When option -o is given, all marked files get printed | |||||
* | Fixed segfault caused by FD_ISSET() on negative fd | Bert Münnich | 2013-04-02 | 1 | -1/+1 | |
| | | | | Reported by Kris Siwiec | |||||
* | New options: -[io], read/write files from/to stdin/out | Bert Münnich | 2013-03-19 | 1 | -25/+24 | |
| | | | | Fixes issue #84 | |||||
* | Made bar fields more distinguishable | Bert Münnich | 2013-03-19 | 1 | -2/+2 | |
| | ||||||
* | Polished info script execution | Bert Münnich | 2013-03-19 | 1 | -1/+2 | |
| | ||||||
* | Spawn info script & update bar contents only when needed | Bert Münnich | 2013-03-19 | 1 | -7/+17 | |
| | ||||||
* | Spawn and read from info script without blocking | Bert Münnich | 2013-03-19 | 1 | -52/+92 | |
| | ||||||
* | Merge remote-tracking branch '4z3/set-user-specified-sizehints' into sizehints | Bert Münnich | 2013-02-09 | 1 | -1/+0 | |
|\ | | | | | | | | | Conflicts: window.c | |||||
| * | When using -g hint the WM that we've got user specified geometry | tv | 2013-01-30 | 1 | -1/+0 | |
| | | | | | | | | | | Without this some window managers (e.g. fvwm) will ignore the initial window position and place it according to it's own rules. |