summaryrefslogtreecommitdiffstats
path: root/commands.c
AgeCommit message (Collapse)Author
2017-10-16One header file for type definitions and function declarationsBert Münnich
2017-10-06Improve mouse supportBert Münnich
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.
2017-10-05Simplify cursor reset in image modeBert Münnich
No need to give cursor name. reset_cursor() is now the only place to decide what cursor to fall back to.
2017-10-05Own win method for mouse cursor locationBert Münnich
2017-10-04Mouse drag translates pointer position to image areaBert Münnich
This makes mouse panning more direct and faster.
2016-12-01Merge djhejna/floatdelayBert Münnich
2015-12-26Make navigate_frame command respect a count prefixBert Münnich
2015-10-28Revised error handlingBert Münnich
- 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)
2015-10-28Removed feature test macro definitions from source filesBert Münnich
2015-01-11Simplified command argumentsBert Münnich
2015-01-05Apply gamma value on thumbnails too; fixes issue #193Bert Münnich
2015-01-04Cache out of view thumbnails in the backgroundBert Münnich
2015-01-04Use bit-field for boolean flags in fileinfo structBert Münnich
2014-12-22Removed obsolete ss_delays array, fixes issue #191Bert Münnich
2014-09-30Unified file count variable for image & thumbnail modeBert Münnich
2014-09-28Added thumbnail zooming...Bert Münnich
- Key mappings +/- are now general commands - Use JPG as thumbnail cache file format instead of PNG - Fixes issue #161
2014-09-26Revised thumbnail loading...Bert Münnich
- 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
2014-09-01Simplified img_frame_animateBert Münnich
2014-09-01Fixed segfault in ci_toggle_animation, fixes issue #173Bert Münnich
2014-08-17Added command to remove all image marks, bound to Ctrl-m; fixes issue #163Bert Münnich
2014-08-16Fixed wrong thumbnail-to-file mappings caused by file deletionsBert Münnich
2014-08-16Pass marked files to external key handler in thumbnail mode; fixes issue #135Bert Münnich
2014-08-16Count number of marked filesBert Münnich
2014-08-16Unified file index variable for image & thumbnail modeBert Münnich
2014-07-25Revised handling of GIF animationsBert Münnich
- New option `-a`: Play animations at startup - Ctrl-Space toggles animation for all GIF files - Infinite loop for all animations
2014-07-23Revised command structure and key and mouse button mappingsBert Münnich
2014-04-06Use a checkerboard background for alpha layer; fixes issue #138Bert Münnich
2014-02-04Removed fit-win-to-img commandBert Münnich
2014-02-04Preserve panning when switching images; fixes issue #131Bert Münnich
2014-01-31Merged pull request #129Bert Münnich
2014-01-08Fixed handling of overloaded key mappingsBert Münnich
Issue described here: https://bbs.archlinux.org/viewtopic.php?pid=1117294#p1117294
2014-01-04Slideshow mode is back, in a simplified versionBert Münnich
2014-01-02Moved external shell commands into exec/key-handler scriptBert Münnich
Gets called on all unset key mappings. Arguments are: key combo and current file. Thanks to Francesco Orsenigo (xarvh) for the idea.
2013-11-14Merge remote-tracking branch 'baskerville/reverse-marks'Bert Münnich
2013-11-14Refactored remote changesBert Münnich
2013-11-14Merge remote-tracking branch 'ariand/gamma'Bert Münnich
2013-11-14Add command to reverse marked imagesBastien Dejean
2013-11-14Highlight edges of marked images in thumbnail modeBert Münnich
2013-11-13Add support for changing the gamma valueAndrás Mohari
2013-09-07Warp pointer on first/last pixelPeter Hofmann
Previously, the pointer would get warped when it had left the window. This doesn't work when sxiv is run in fullscreen mode (or similar -- see dwm's monocle mode): The pointer can never leave the window in such situations. To fix this, warp the pointer when it's on the first/last pixel. To avoid an endless warping loop, the new position must be at least one pixel away from the next warp position.
2013-08-22Added options for anti-alias & alpha layer coloring to config.def.hBert Münnich
Also removed now obsolete -p command line option; fixes issue #98
2013-08-22Only print marked files when -o is givenBert Münnich
Fallback to print all files, if no images are marked, was kind of irritating.
2013-08-10Added file marks; fixes issue #94Bert Münnich
- 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
2013-08-10Refactored merged rotation codeBert Münnich
2013-08-10Handle 180 degrees image rotationBastien Dejean
2013-03-19New options: -[io], read/write files from/to stdin/outBert Münnich
Fixes issue #84
2013-03-19Spawn info script & update bar contents only when neededBert Münnich
2013-03-04Applied code style on merged changesBert Münnich
2013-03-03Wrap the pointer when the edge of the window is reachedRob Pilling
2013-02-08Refactored function definitions to use dangling braceBert Münnich