aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Detect all file overwrites in autoreload_inotifyBert Münnich2017-05-173-72/+51
| | | | | | | | | | | | 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.
* Compiler independent buffer alignmentBert Münnich2017-05-171-3/+7
|
* Read all available inotify eventsBert Münnich2017-05-171-27/+32
| | | | Loop reading from inotify fd in arl_handle(); requires non-blocking inotify fd.
* Simplify inotify cleanupBert Münnich2017-05-171-2/+2
|
* Revised error reporting in autoreload_inotifyBert Münnich2017-05-171-20/+11
| | | | | No repeated error messages after failed initialization. No error messages on failed inotify_rm_watch().
* Fix code-style in autoreload_inotify.cBert Münnich2017-05-171-38/+23
|
* Simplify autoreload backend selection in MakefileBert Münnich2017-05-171-8/+5
|
* Revised autoreload interfaceBert Münnich2017-05-174-91/+100
| | | | | | | | | | | | 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.
* Add autoreload support by inotify (and dummy backend nop)Max Voit2017-05-175-1/+247
|
* Properly quit when window gets closed; fixes issue #27Bert Münnich2017-05-171-1/+1
|
* State the purpose of CLEANUP macroBert Münnich2017-05-172-1/+5
|
* Merge branch 'diogocp/patch-1'Bert Münnich2017-02-151-1/+1
|\
| * Add Netpbm, TGA and XPM MIME types to sxiv.desktopDiogo Pereira2017-01-271-1/+1
| | | | | | These formats are also supported by imlib2.
* | Fix typoJakub Wilk2017-02-151-1/+1
| |
* | Fix missing quote in key-handler from commit 5c607adBert Münnich2017-02-132-2/+2
|/
* Pass given file names to key-handler instead of real pathsBert Münnich2017-01-073-3/+3
| | | | | | | 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.
* Fix unused-variable warnings in conditionally compiled codeBert Münnich2016-12-282-4/+3
|
* Merge vaygr/opt-depBert Münnich2016-12-281-1/+4
|\
| * Add build options for optional dependenciesVlad Glagolev2016-12-261-1/+4
|/
* Merge djhejna/floatdelayBert Münnich2016-12-016-9/+17
|\
| * Support for DELAY as a floating point number including less than 1Don Hejna2016-11-276-11/+12
| | | | | | | | | | second while maintaining backward compatibiitiy with integer arguments.
* | Ignore button and key events while key-handler is runningBert Münnich2016-11-302-1/+10
| | | | | | | | Related to issue #253, which originally asked for a non-blocking key-handler.
* | Merge dwminer/framerateBert Münnich2016-11-286-4/+22
|\ \ | |/ |/|
| * Document -A optiondwminer2016-11-271-0/+5
| |
| * Add -A option to force framerate on animated imagesdwminer2016-11-274-2/+14
|/
* Document new -e flagBert Münnich2016-10-301-0/+6
|
* Use -e for X window embeddingBert Münnich2016-10-304-16/+13
|
* added support for XEMBED into other windows (ie tabbed) with -wshuall2016-10-284-3/+16
|
* Only open regular files; fixes issue #252Bert Münnich2016-10-203-8/+15
|
* Silence error messages in image-info scriptBert Münnich2016-10-171-0/+2
|
* Allow opening directories non-recursivelyParide Legovini2016-09-285-10/+8
|
* Update unstable version numberBert Münnich2016-08-101-1/+1
|
* Add TODO listBert Münnich2016-08-081-0/+5
|
* Use Xft for font loading and text drawingBert Münnich2016-08-068-98/+56
|
* Provide image width and height to image-info script; fixes issue #159Bert Münnich2016-08-063-5/+12
|
* Removed usage information from README, refer to man pageBert Münnich2016-02-121-88/+1
|
* Refined grouping of key/mouse mappings in man pageBert Münnich2016-02-121-13/+24
|
* Fix option -q; commit d3a70a2 completely broke it; fixes issue #223Bert Münnich2015-12-282-1/+4
|
* Make navigate_frame command respect a count prefixBert Münnich2015-12-263-3/+9
|
* Fix 32-bit unsigned integer shiftBert Münnich2015-12-262-2/+2
|
* Make image-info script more steady to special symbols in file namesSudo Nice2015-12-252-7/+5
|
* Stable version 1.3.2Bert Münnich2015-12-202-1/+8
|
* Build-time option for default thumbnail size; fixes issue #207Bert Münnich2015-12-203-3/+6
|
* Simplified r_mkdir()Bert Münnich2015-10-283-31/+18
|
* Revised error handlingBert Münnich2015-10-2812-138/+108
| | | | | | | - 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)
* Prefix safe allocation functions with 'e' instead of 's_'Bert Münnich2015-10-286-35/+34
|
* Removed unnecessary buffer size constantsBert Münnich2015-10-282-14/+3
|
* Use XSI realpath(3)Bert Münnich2015-10-283-85/+0
|
* Use POSIX.1-2008 getline(3)Bert Münnich2015-10-284-37/+6
|
* Removed feature test macro definitions from source filesBert Münnich2015-10-287-21/+13
|