aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fixed segfault caused by image removal in thumbnail modeBert Münnich2014-09-112-2/+2
|
* Simplified img_frame_animateBert Münnich2014-09-014-13/+8
|
* Fixed segfault in ci_toggle_animation, fixes issue #173Bert Münnich2014-09-012-8/+9
|
* Corrected i_alternate, fixes issue #171Bert Münnich2014-08-292-4/+6
|
* Bug #165: Deletion of unnecessary null pointer checksMarkus Elfring2014-08-223-19/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Refactored rotation in key-handlerBert Münnich2014-08-201-11/+12
|
* Added actions for tag addition & removal to key-handlerBert Münnich2014-08-202-1/+20
|
* Unified rotate actions in key-handler; use lossless operation based on file typeBert Münnich2014-08-181-18/+13
|
* Beautified thumbnail marks and selection borderBert Münnich2014-08-181-14/+12
|
* Further simplified thumbnail marksBert Münnich2014-08-183-7/+5
|
* Simplified thumbnail selection and marksBert Münnich2014-08-173-19/+15
|
* Increased contrast in default color setBert Münnich2014-08-171-2/+2
|
* Added command to remove all image marks, bound to Ctrl-m; fixes issue #163Bert Münnich2014-08-175-0/+18
|
* Full redraw when removing files during thumbnail reloading; fixes issue #164Bert Münnich2014-08-172-1/+3
|
* Fixed wrong thumbnail-to-file mappings caused by file deletionsBert Münnich2014-08-164-22/+24
|
* Pass marked files to external key handler in thumbnail mode; fixes issue #135Bert Münnich2014-08-166-56/+76
|
* Count number of marked filesBert Münnich2014-08-162-3/+11
|
* Unified file index variable for image & thumbnail modeBert Münnich2014-08-164-78/+65
|
* Generalized thumbnail loading, allows easier reloading of thumbnails later onBert Münnich2014-08-164-10/+16
|
* Made argument of s_strdup constlucas82014-08-013-3/+3
|
* Overhauled window drawing, yet again; fixes issue #155Bert Münnich2014-07-286-75/+54
| | | | | | | | - 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
* Revised handling of GIF animationsBert Münnich2014-07-259-49/+36
| | | | | | - New option `-a`: Play animations at startup - Ctrl-Space toggles animation for all GIF files - Infinite loop for all animations
* Added support for multiple commands per key/button mapping; elegant fix for ↵Bert Münnich2014-07-234-22/+22
| | | | issue #150
* Revised command structure and key and mouse button mappingsBert Münnich2014-07-238-380/+324
|
* Show key handler status in bar while it is runningBert Münnich2014-06-153-8/+20
|
* Create thumbnail cache dir automaticallyBert Münnich2014-06-103-91/+61
|
* Small fix for thumbnail croppingBert Münnich2014-06-102-2/+2
|
* Use thumbnails in EXIF tags; requirement for libexif is backBert Münnich2014-06-096-221/+107
|
* Merge branch 'barthalion/master'Bert Münnich2014-05-311-0/+4
|\
| * Fix build with giflib >= 5.1.0.Bartłomiej Piotrowski2014-05-271-0/+4
| |
* | Use integers for mouse mappings and buttons 6+7 for horizontal scrollingBert Münnich2014-05-312-10/+12
|/ | | | Fixes issue #143
* Timeout initial redrawMiroslav Koskar2014-05-241-1/+1
|
* Add a section about key-handler to the man page.Artem Bezsmertnyi2014-05-242-1/+17
|
* Stable version 1.2Bert Münnich2014-04-242-1/+12
|
* Do not center window on screen, workaround for issue #9Bert Münnich2014-04-212-3/+3
|
* Use a checkerboard background for alpha layer; fixes issue #138Bert Münnich2014-04-0611-46/+45
|
* Use real path of all files internally, requires _XOPEN_SOURCE>=500, fixes ↵Bert Münnich2014-03-172-9/+22
| | | | issue #137
* Warn once when external key combo is used and key-handler not installedBert Münnich2014-02-182-5/+15
|
* Check for background image allocation failureBert Münnich2014-02-072-2/+3
|
* Use separate background image for alpha layer; fixes issue #132Bert Münnich2014-02-062-9/+31
|
* Removed command line option -FBert Münnich2014-02-057-52/+21
|
* Set scale mode at startup via argument to -s optionBert Münnich2014-02-043-12/+20
|
* Revised scale mode and zoom level handlingBert Münnich2014-02-045-33/+21
| | | | | | | - Scale mode is not reset to default value upon image loading anymore - New default key binding to change mode to scale-down - Removed scale mode setting from config.h - Removed -d command line option, as this is now the default at startup
* Removed fit-win-to-img commandBert Münnich2014-02-047-65/+5
|
* Preserve panning when switching images; fixes issue #131Bert Münnich2014-02-044-57/+29
|
* Check if window manager supports fullscreen; related to issue #128Bert Münnich2014-02-022-0/+44
|
* Unified X atom initializationBert Münnich2014-02-024-15/+30
|
* Merged pull request #129Bert Münnich2014-01-318-16/+33
|\
| * Fix tabs and wordingAndrás Mohari2014-01-311-3/+3
| |
| * Use a prefix key to execute the key handlerAndrás Mohari2014-01-314-5/+25
|/ | | | | | 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.