Leonardo Taccari
9707ca9b8f
Fix autoreload-nop accidentally selecting on stdin
When sxiv is built with AUTORELOAD=nop if something is feed via stdin it
will start to infinitely call select() leading to a 100% CPU usage.
Thanks to @sdx23 for helping in analyzing that problem!
Fixes issue #297 .
il y a 7 ans
Bert Münnich
148026007c
One header file for type definitions and function declarations
il y a 7 ans
Bert Münnich
52c57f5d61
Adapt inotify_nop to API changes
il y a 7 ans
Bert Münnich
3724d3fc17
Revised autoreload interface
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.
il y a 7 ans
Max Voit
edb117e3bd
Add autoreload support by inotify (and dummy backend nop)
il y a 8 ans
Bert Münnich
5dc7993478
Simplified command arguments
il y a 10 ans
Bert Münnich
06164c29b7
Revised command structure and key and mouse button mappings
il y a 10 ans
Bert Münnich
e685859a30
Use a checkerboard background for alpha layer; fixes issue #138
il y a 10 ans
Bert Münnich
524d9de877
Removed fit-win-to-img command
il y a 11 ans
Bert Münnich
e82397db15
Fixed handling of overloaded key mappings
Issue described here:
https://bbs.archlinux.org/viewtopic.php?pid=1117294#p1117294
il y a 11 ans
Bert Münnich
6a0fa2507c
Slideshow mode is back, in a simplified version
il y a 11 ans
Bert Münnich
f2e0c492bd
Moved external shell commands into exec/key-handler script
Gets called on all unset key mappings. Arguments are: key combo and
current file. Thanks to Francesco Orsenigo (xarvh) for the idea.
il y a 11 ans
Bert Münnich
b2eae528ed
Proper support for Ctrl/Shift/Alt modifiers in key & mouse mappings
il y a 11 ans
Bastien Dejean
562197577b
Add command to reverse marked images
il y a 11 ans
András Mohari
0353e6eea2
Add support for changing the gamma value
il y a 11 ans
Bert Münnich
7d878bd16d
Added file marks; fixes issue #94
- 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
il y a 11 ans
Bert Münnich
6d3bbc6d5e
Updated/corrected license header
il y a 12 ans
hut
3a0a1ae889
Removed old definitions from commands.h
il y a 12 ans
Bert Münnich
f2a3d73212
New command: i_alternate, go to last image, issue #65
il y a 12 ans
Bert Münnich
d1a1e0142b
Simplified & sped up reloading of all thumbnails
il y a 12 ans
baskerville
de4e9fc83e
Added a command to refresh the thumbnails
il y a 12 ans
baskerville
ba0a5b89fa
Added horizontal and vertical flip commands
il y a 12 ans
Bert Münnich
c666d30eea
Added it_toggle_bar command; default mapping: XK_b
il y a 13 ans
Bert Münnich
d407dd65d5
Already in the year 2012
il y a 13 ans
Bert Münnich
1cdbeb972a
Added screen-wise scrolling for thumbnail mode
il y a 13 ans
Bert Münnich
4e8dabd6ac
Added i_reset_slideshow: set slideshow delay to number prefix
il y a 13 ans
Bert Münnich
4f5ce2e828
Added i_set_zoom command: set zoom to number prefix
il y a 13 ans
Bert Münnich
dc727b8dce
Added support for number prefix for commands
il y a 13 ans
Bert Münnich
36177fb180
Updated contact information
il y a 13 ans
Bert
b2a2a62b7b
Added own bool type
il y a 13 ans
Bert
510512714d
Added slideshow support
il y a 13 ans
Bert
26eae8be96
Made i(t)_toggle_alpha command work in thumbnail mode too
il y a 13 ans
Bert
d585b86354
Reformated license header
il y a 13 ans
Bert
bb577d274d
Added command to toggle gif animations
il y a 13 ans
Bert
86a6f00112
Added support for multi-frame images
il y a 13 ans
Bert
1d749382f0
Put event handling back into main.c; events -> commands
il y a 13 ans
Bert
1c68a34463
Renamed key/mouse commands to indicate supported modes
il y a 13 ans
Bert
8763f6930f
Corrected FSF address in license headers
il y a 13 ans
Bert
d86c95d795
Made run_command() a normal key/button handler
il y a 13 ans
Bert
75e36939a1
Much better drag()
No more need to pass XEvent* to handler functions
il y a 13 ans
Bert
2b7192b1ac
Renamed scroll() to pan_screen()
il y a 13 ans
Bert
b8ff1677b1
Major code refactoring
- Configurable key and mouse mappings in config.h
- Put event handling code from main.c into events.[ch]
il y a 13 ans
Bert
a7e30bb081
Option handling, merged app.c & events.c into main.c
il y a 14 ans
Bert
8c240341f1
Added event handlers
il y a 14 ans
Bert
e7bc3bb71b
Non-working skeleton
il y a 14 ans