aboutsummaryrefslogtreecommitdiff
path: root/commands.c
Commit message (Collapse)AuthorAgeFilesLines
* One header file for type definitions and function declarationsBert Münnich2017-10-161-9/+4
|
* Improve mouse supportBert Münnich2017-10-061-0/+6
| | | | | | | | | | | | 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 modeBert Münnich2017-10-051-1/+1
| | | | | No need to give cursor name. reset_cursor() is now the only place to decide what cursor to fall back to.
* Own win method for mouse cursor locationBert Münnich2017-10-051-6/+4
|
* Mouse drag translates pointer position to image areaBert Münnich2017-10-041-54/+23
| | | | This makes mouse panning more direct and faster.
* Merge djhejna/floatdelayBert Münnich2016-12-011-2/+2
|
* Make navigate_frame command respect a count prefixBert Münnich2015-12-261-0/+2
|
* Revised error handlingBert Münnich2015-10-281-2/+0
| | | | | | | - 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)
* Removed feature test macro definitions from source filesBert Münnich2015-10-281-3/+2
|
* Simplified command argumentsBert Münnich2015-01-111-54/+35
|
* Apply gamma value on thumbnails too; fixes issue #193Bert Münnich2015-01-051-5/+11
|
* Cache out of view thumbnails in the backgroundBert Münnich2015-01-041-1/+1
|
* Use bit-field for boolean flags in fileinfo structBert Münnich2015-01-041-8/+8
|
* Removed obsolete ss_delays array, fixes issue #191Bert Münnich2014-12-221-4/+0
|
* Unified file count variable for image & thumbnail modeBert Münnich2014-09-301-14/+9
|
* Added thumbnail zooming...Bert Münnich2014-09-281-12/+14
| | | | | | - Key mappings +/- are now general commands - Use JPG as thumbnail cache file format instead of PNG - Fixes issue #161
* Revised thumbnail loading...Bert Münnich2014-09-261-1/+2
| | | | | | | - 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
* Simplified img_frame_animateBert Münnich2014-09-011-1/+1
|
* Fixed segfault in ci_toggle_animation, fixes issue #173Bert Münnich2014-09-011-7/+8
|
* Added command to remove all image marks, bound to Ctrl-m; fixes issue #163Bert Münnich2014-08-171-0/+12
|
* Fixed wrong thumbnail-to-file mappings caused by file deletionsBert Münnich2014-08-161-3/+3
|
* Pass marked files to external key handler in thumbnail mode; fixes issue #135Bert Münnich2014-08-161-1/+1
|
* Count number of marked filesBert Münnich2014-08-161-3/+7
|
* Unified file index variable for image & thumbnail modeBert Münnich2014-08-161-28/+18
|
* Revised handling of GIF animationsBert Münnich2014-07-251-4/+8
| | | | | | - New option `-a`: Play animations at startup - Ctrl-Space toggles animation for all GIF files - Infinite loop for all animations
* Revised command structure and key and mouse button mappingsBert Münnich2014-07-231-177/+139
|
* Use a checkerboard background for alpha layer; fixes issue #138Bert Münnich2014-04-061-9/+8
|
* Removed fit-win-to-img commandBert Münnich2014-02-041-20/+0
|
* Preserve panning when switching images; fixes issue #131Bert Münnich2014-02-041-6/+4
|
* Merged pull request #129Bert Münnich2014-01-311-0/+7
|
* Fixed handling of overloaded key mappingsBert Münnich2014-01-081-77/+77
| | | | | Issue described here: https://bbs.archlinux.org/viewtopic.php?pid=1117294#p1117294
* Slideshow mode is back, in a simplified versionBert Münnich2014-01-041-4/+28
|
* Moved external shell commands into exec/key-handler scriptBert Münnich2014-01-021-66/+0
| | | | | Gets called on all unset key mappings. Arguments are: key combo and current file. Thanks to Francesco Orsenigo (xarvh) for the idea.
* Merge remote-tracking branch 'baskerville/reverse-marks'Bert Münnich2013-11-141-0/+11
|\
| * Add command to reverse marked imagesBastien Dejean2013-11-141-0/+12
| |
* | Refactored remote changesBert Münnich2013-11-141-8/+1
| |
* | Merge remote-tracking branch 'ariand/gamma'Bert Münnich2013-11-141-0/+16
|\ \
| * | Add support for changing the gamma valueAndrás Mohari2013-11-131-0/+16
| |/
* / Highlight edges of marked images in thumbnail modeBert Münnich2013-11-141-3/+3
|/
* Warp pointer on first/last pixelPeter Hofmann2013-09-071-8/+8
| | | | | | | | | | | 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.
* Added options for anti-alias & alpha layer coloring to config.def.hBert Münnich2013-08-221-1/+3
| | | | Also removed now obsolete -p command line option; fixes issue #98
* Only print marked files when -o is givenBert Münnich2013-08-221-2/+2
| | | | | Fallback to print all files, if no images are marked, was kind of irritating.
* Added file marks; fixes issue #94Bert Münnich2013-08-101-2/+45
| | | | | | | | - 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
* Refactored merged rotation codeBert Münnich2013-08-101-12/+5
|
* Handle 180 degrees image rotationBastien Dejean2013-08-101-5/+8
|
* New options: -[io], read/write files from/to stdin/outBert Münnich2013-03-191-0/+7
| | | | Fixes issue #84
* Spawn info script & update bar contents only when neededBert Münnich2013-03-191-2/+6
|
* Applied code style on merged changesBert Münnich2013-03-041-14/+9
|
* Wrap the pointer when the edge of the window is reachedRob Pilling2013-03-031-3/+22
|
* Refactored function definitions to use dangling braceBert Münnich2013-02-081-28/+56
|