summaryrefslogtreecommitdiffstats
path: root/commands.c
AgeCommit message (Collapse)Author
2021-09-21add -0 for outputting null-terminated list (#68)N-R-K
* add -0 for outputting null-terminated list this doesn't add much, if any, additional complexity to the codebase and can be quite handy for scripting purposes. Closes: https://github.com/nsxiv/nsxiv/issues/67 * Fix typo Co-authored-by: Berke Kocaoğlu <berke.kocaoglu@metu.edu.tr>
2021-09-16Rename, Update Docs and Prepare for Release (#9)Berke Kocaoğlu
Co-authored-by: Guilherme Rugai Freire <41879254+GRFreire@users.noreply.github.com> Co-authored-by: N-R-K <79544946+N-R-K@users.noreply.github.com> Co-authored-by: NRK <nrk@disroot.org> Co-authored-by: Arthur Williams <taaparthur@gmail.com> Co-authored-by: eylles <ed.ylles1997@gmail.com>
2018-06-10Simplify cg_mark_range furtherBert Münnich
2018-06-09Set global markidx whenever a single img is (un)markedBert Münnich
This also sets *markidx* when using the right mouse button in thumbnail mode.
2018-06-09(Un)mark single image through generic functionBert Münnich
2018-06-09Simplify cg_mark_rangeBert Münnich
2018-06-09Rename variable toggledidx to markidxBert Münnich
2018-06-09Remove unnecessary special cases in cg_mark_rangeBert Münnich
2018-06-09Add mark range functionDaniel Lublin
Sets the marked state of all images ranging from the latest marked/unmarked image to the current image, to the state of that latest toggled image.
2018-02-18Close image-info explicitlyBert Münnich
2018-01-22Use argument to select between two drag methodsphi
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