Bert Münnich
33b5dbfa82
Mention GNU make requirement in Makefile
7 years ago
Bert Münnich
171633de32
Get rid of SRCDIR macro, VPATH on make cmd line suffices
7 years ago
Bert Münnich
8081cbebf3
Improve mouse support
...
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.
7 years ago
Bert Münnich
b8fd923e74
Simplify cursor handling
7 years ago
Bert Münnich
e310136e02
Mouse drag translates pointer position to image area
...
This makes mouse panning more direct and faster.
7 years ago
Bert Münnich
9b6acc781e
Fix linker command line
7 years ago
Bert Münnich
5b5dc74195
Only use targets in build messages
7 years ago
Bert Münnich
20009c240b
Move special targets to bottom of Makefile
7 years ago
Bert Münnich
a1b2fd2774
Non-verbose build
...
Verbose when build with `V=1'.
7 years ago
Bert Münnich
a46006f527
Support out-of-source builds
...
Fixes issue #167 . Long after closing this issue (kind of wontfix) we have switched to
GNU make and can thus use its features like VPATH.
7 years ago
Bert Münnich
e46b1fa609
Simplify config.mk
7 years ago
Bert Münnich
ad9955a9cf
Move configuration parts from Makefile into config.mk
7 years ago
Bert Münnich
8aaa5c9398
Simplify autoreload backend selection in Makefile
7 years ago
Max Voit
edb117e3bd
Add autoreload support by inotify (and dummy backend nop)
7 years ago
Bert Münnich
e98266b148
State the purpose of CLEANUP macro
7 years ago
Bert Münnich
ba4b84a8b1
Fix missing quote in key-handler from commit 5c607ad
8 years ago
Bert Münnich
5c607ad495
Pass given file names to key-handler instead of real paths
...
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
.
8 years ago
Bert Münnich
1c260e701b
Fix unused-variable warnings in conditionally compiled code
8 years ago
Bert Münnich
5fb5d44cff
Merge vaygr/opt-dep
8 years ago
Vlad Glagolev
22436f747d
Add build options for optional dependencies
8 years ago
Bert Münnich
ff2ce99bf7
Merge djhejna/floatdelay
8 years ago
Bert Münnich
9a85dd41d8
Ignore button and key events while key-handler is running
...
Related to issue #253 , which originally asked for a non-blocking key-handler.
8 years ago
Bert Münnich
c1ba841783
Merge dwminer/framerate
8 years ago
Bert Münnich
c772d3c3f3
Use -e for X window embedding
8 years ago
Bert Münnich
878d97068c
Only open regular files; fixes issue #252
8 years ago
Paride Legovini
86dc6860f9
Allow opening directories non-recursively
8 years ago
Bert Münnich
d69f39e3aa
Update unstable version number
8 years ago
Bert Münnich
c280129cef
Use Xft for font loading and text drawing
8 years ago
Bert Münnich
53a72c7b65
Fix option -q; commit d3a70a2
completely broke it; fixes issue #223
9 years ago
Bert Münnich
4db3029bc6
Fix 32-bit unsigned integer shift
9 years ago
Sudo Nice
b32aefce3a
Make image-info script more steady to special symbols in file names
9 years ago
Bert Münnich
93e2d03c73
Stable version 1.3.2
9 years ago
Bert Münnich
de4649fc28
Build-time option for default thumbnail size; fixes issue #207
9 years ago
Bert Münnich
66c3c55759
Use POSIX.1-2008 getline(3)
9 years ago
Bert Münnich
e0e96977b3
Removed overcautious parameter checks
9 years ago
Bert Münnich
a3838c1984
Always run image-info script after key-handler in image mode; fixes issue #213
9 years ago
Bert Münnich
d8114e841c
Thumbnail cache file format depending on existance of alpha layer
...
Use PNG if image has alpha layer, JPG if not. Fixes issue #209
9 years ago
Bert Münnich
9264a65c19
Clarified comments in key-handler, fixes issue #206
10 years ago
Bert Münnich
01ed483b50
Round integer cast of image offset during rendering; fixes issue #197
10 years ago
Bert Münnich
92e3b57816
Pass real paths to key handler instead of the paths provided by the user
...
Programs called by the key handler might replace symlinks instead of their
targets.
10 years ago
Bert Münnich
5dc7993478
Simplified command arguments
10 years ago
Bert Münnich
808a10ed04
Updated documentation regarding gamma correction
10 years ago
Valentin Hăloiu
197945f287
The Icon key should not contain extension
...
According to the official [Icon Theme Spec](http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html#icon_lookup ) the Icon key in the desktop entry file should not contain the file extension.
10 years ago
Bert Münnich
47e6cd0669
Apply gamma value on thumbnails too; fixes issue #193
10 years ago
Bert Münnich
9b9294bae6
Use bit-field for boolean flags in fileinfo struct
10 years ago
Bert Münnich
0cb1d11305
Removed obsolete ss_delays array, fixes issue #191
10 years ago
Bert Münnich
e228594391
Grouped optional dependencies in Makefile
10 years ago
Bert Münnich
6216bf6c2d
Ignore SIGPIPE, caused by key handler exiting before all files got printed, fixes issue #188
10 years ago
Bert Münnich
728a2d931f
Limit thumbnail selection border width to 4px
10 years ago
Bert Münnich
1439b84544
Stable version 1.3.1
10 years ago
Bert Münnich
54af451b4a
Added -MP dependency generation option to compile flags
10 years ago
Bert Münnich
f55d9f4283
Use and depend on GNU make...
...
- Use non-POSIX :=,?=,+= macro assignments, fixes issue #97
- No optimization level set in CFLAGS, expected to be set in environment
- Automatic header dependency tracking with one .d file per compilation unit
- Better fix for issue #181
10 years ago
Bert Münnich
6cee58117a
Updated unstable version number
10 years ago
Bert Münnich
f5f49e7a9d
Fixed leakage of resources allocated by EXIF library
10 years ago
Bert Münnich
25077ac764
Fixed segfault when run with -c
10 years ago
Tim Harder
33b8148614
Fix Makefile depend file usage
...
Creating the .depend file requires the config.h file to exist and
suppress make's complaints if the .depend file doesn't exist when
initially parsing the makefile.
10 years ago
Bert Münnich
c038283286
Stable version 1.3
10 years ago
Bert Münnich
e15dabde74
Use depend file for header build dependencies
10 years ago
Bert Münnich
8db3191f04
Fixed segfault on image removal with uninitialized thumbnails; fixes issue #177
10 years ago
Bert Münnich
ddd028eb3e
Unified file count variable for image & thumbnail mode
10 years ago
Bert Münnich
8fa7247f69
Refactored thumbnail size dependent calculations
10 years ago
Bert Münnich
c3c70a6c3e
Removed obsolete thumbnail dimension configuration setting
10 years ago
Bert Münnich
b2dbd2fed3
Changed image mark in thumbnail view to small rectangle
10 years ago
Bert Münnich
eaa269b6cb
Revised thumbnail loading...
...
- 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
10 years ago
Bert Münnich
52e56c8924
Fixed segfault caused by image removal in thumbnail mode
10 years ago
Bert Münnich
95a7496edc
Fixed segfault in ci_toggle_animation, fixes issue #173
10 years ago
Bert Münnich
f478385d59
Corrected i_alternate, fixes issue #171
10 years ago
Bert Münnich
eaf55e9af9
Added actions for tag addition & removal to key-handler
10 years ago
Bert Münnich
fe3a1e326f
Further simplified thumbnail marks
10 years ago
Bert Münnich
50652f63d9
Full redraw when removing files during thumbnail reloading; fixes issue #164
10 years ago
Bert Münnich
61f61cae5f
Generalized thumbnail loading, allows easier reloading of thumbnails later on
10 years ago
lucas8
3b8a79fb8b
Made argument of s_strdup const
10 years ago
Bert Münnich
bb6721549b
Overhauled window drawing, yet again; fixes issue #155
...
- Buffer for window content is bigger than the window, minimizes artifacts
when window is resized
- Back to using XSetWindowBackgroundPixmap() instead of XCopyArea(),
no need to handle exposure events; X server can show gray background directly
after resize event before sxiv redraws the window contents
10 years ago
Bert Münnich
5e481912ec
Revised handling of GIF animations
...
- New option `-a`: Play animations at startup
- Ctrl-Space toggles animation for all GIF files
- Infinite loop for all animations
10 years ago
Bert Münnich
06164c29b7
Revised command structure and key and mouse button mappings
10 years ago
Bert Münnich
5d0679b855
Show key handler status in bar while it is running
10 years ago
Bert Münnich
cd02f2dd86
Small fix for thumbnail cropping
10 years ago
Bert Münnich
d26f39914e
Use thumbnails in EXIF tags; requirement for libexif is back
10 years ago
Bert Münnich
7a74fae56a
Use integers for mouse mappings and buttons 6+7 for horizontal scrolling
...
Fixes issue #143
10 years ago
Artem Bezsmertnyi
5ca20ad3e8
Add a section about key-handler to the man page.
11 years ago
Bert Münnich
1560d2b4fb
Stable version 1.2
11 years ago
Bert Münnich
0b83386bff
Do not center window on screen, workaround for issue #9
11 years ago
Bert Münnich
e685859a30
Use a checkerboard background for alpha layer; fixes issue #138
11 years ago
Bert Münnich
6d7acac3d1
Use real path of all files internally, requires _XOPEN_SOURCE>=500, fixes issue #137
11 years ago
Bert Münnich
653a6ee83b
Warn once when external key combo is used and key-handler not installed
11 years ago
Bert Münnich
d049391916
Check for background image allocation failure
11 years ago
Bert Münnich
4fde8c8cbc
Use separate background image for alpha layer; fixes issue #132
11 years ago
Bert Münnich
72f1b1ca6f
Removed command line option -F
11 years ago
Bert Münnich
eb82519a80
Preserve panning when switching images; fixes issue #131
11 years ago
Bert Münnich
e2fa49ecfe
Unified X atom initialization
11 years ago
Bert Münnich
f6510b0a04
Merged pull request #129
11 years ago
Bert Münnich
03b1d7cf7a
Fixed -z option argument parsing; fixes issue #127
11 years ago
Bert Münnich
304fd382db
Adhere to XDG Base Directory Specification; fixes issue #124
11 years ago
Bert Münnich
002c7e550b
Second take at rotating & flipping multi-frame images; fixes issue #121
11 years ago
Bert Münnich
cd34aa2a6b
Fixed slideshow delay corruption after GIF animation
11 years ago
Bert Münnich
6a0fa2507c
Slideshow mode is back, in a simplified version
11 years ago
Bert Münnich
0e818020cc
Simplified EXIF tag extraction in exec/image-info
11 years ago
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.
11 years ago
Bert Münnich
b2eae528ed
Proper support for Ctrl/Shift/Alt modifiers in key & mouse mappings
11 years ago
Bert Münnich
ab28c9a8b9
Refactored remote changes
11 years ago