summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-09-06Add Max Voit to list of contributorsBert Münnich
2017-09-02Add key-handler action to copy image to clipboardBert Münnich
Thanks ploth for coming up with this: https://github.com/muennich/sxiv/issues/247#issuecomment-321316306 Replaces optional dependency on xsel(1) to xclip(1) as it supports this. Fixes issue #247
2017-05-17Adapt inotify_nop to API changesBert Münnich
2017-05-17Update copyright notice in autoreload_inotify.cBert Münnich
2017-05-17Merge branch 'autoreload'Bert Münnich
Pull request #278. Fixes issue #29 and issue #199.
2017-05-17Detect all file overwrites in autoreload_inotifyBert Münnich
mv(1) inside the same filesystem was not detected. Supporting this case made it necessary to always watch the directory. Turns out the logic and state keeping between arl_setup() and arl_handle() is easier, when using different watch descriptors for the file and the directory and not using a oneshot descriptor for the file. Requiring an absolute canonical path for arl_setup() simplifies dir and base name splitting. No need for dirname(3) and basename(3) anymore.
2017-05-17Compiler independent buffer alignmentBert Münnich
2017-05-17Read all available inotify eventsBert Münnich
Loop reading from inotify fd in arl_handle(); requires non-blocking inotify fd.
2017-05-17Simplify inotify cleanupBert Münnich
2017-05-17Revised error reporting in autoreload_inotifyBert Münnich
No repeated error messages after failed initialization. No error messages on failed inotify_rm_watch().
2017-05-17Fix code-style in autoreload_inotify.cBert Münnich
2017-05-17Simplify autoreload backend selection in MakefileBert Münnich
2017-05-17Revised autoreload interfaceBert Münnich
Make the header only contain the public interface and nothing from the implementation. All functions get a handle to their self object, like the img_ and tns_ and win_ functions. All necessary data (file path) is also passed as an argument, so that no extern redeclarations are needed. Make arl_setup_dir() private, it's not called outside the module. Make arl_handle() return true if the file has changed, so that the reloading of the file can be done by the caller.
2017-05-17Add autoreload support by inotify (and dummy backend nop)Max Voit
2017-05-17Properly quit when window gets closed; fixes issue #27Bert Münnich
2017-05-17State the purpose of CLEANUP macroBert Münnich
2017-02-15Merge branch 'diogocp/patch-1'Bert Münnich
2017-02-15Fix typoJakub Wilk
2017-02-13Fix missing quote in key-handler from commit 5c607adBert Münnich
2017-01-27Add Netpbm, TGA and XPM MIME types to sxiv.desktopDiogo Pereira
These formats are also supported by imlib2.
2017-01-07Pass given file names to key-handler instead of real pathsBert Münnich
Misbehaving command lines in the key-handler that rewrite the given files and thus replace symbolic links instead of their targets shall call realpath(1). Fixes issue #205 and reverts commit 92e3b578.
2016-12-28Fix unused-variable warnings in conditionally compiled codeBert Münnich
2016-12-28Merge vaygr/opt-depBert Münnich
2016-12-27Add build options for optional dependenciesVlad Glagolev
2016-12-01Merge djhejna/floatdelayBert Münnich
2016-11-30Ignore button and key events while key-handler is runningBert Münnich
Related to issue #253, which originally asked for a non-blocking key-handler.
2016-11-28Merge dwminer/framerateBert Münnich
2016-11-28Support for DELAY as a floating point number including less than 1Don Hejna
second while maintaining backward compatibiitiy with integer arguments.
2016-11-27Document -A optiondwminer
2016-11-27Add -A option to force framerate on animated imagesdwminer
2016-10-30Document new -e flagBert Münnich
2016-10-30Use -e for X window embeddingBert Münnich
2016-10-29added support for XEMBED into other windows (ie tabbed) with -wshuall
2016-10-20Only open regular files; fixes issue #252Bert Münnich
2016-10-17Silence error messages in image-info scriptBert Münnich
2016-09-28Allow opening directories non-recursivelyParide Legovini
2016-08-10Update unstable version numberBert Münnich
2016-08-08Add TODO listBert Münnich
2016-08-06Use Xft for font loading and text drawingBert Münnich
2016-08-06Provide image width and height to image-info script; fixes issue #159Bert Münnich
2016-02-12Removed usage information from README, refer to man pageBert Münnich
2016-02-12Refined grouping of key/mouse mappings in man pageBert Münnich
2015-12-28Fix option -q; commit d3a70a2 completely broke it; fixes issue #223Bert Münnich
2015-12-26Make navigate_frame command respect a count prefixBert Münnich
2015-12-26Fix 32-bit unsigned integer shiftBert Münnich
2015-12-25Make image-info script more steady to special symbols in file namesSudo Nice
2015-12-20Stable version 1.3.2v1.3.2Bert Münnich
2015-12-20Build-time option for default thumbnail size; fixes issue #207Bert Münnich
2015-10-28Simplified r_mkdir()Bert 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)