Commit Graph

83 Commits (4db3029bc609043f4aa029b36f9d1e9dfcc5e8e2)

Author SHA1 Message Date
Bert Münnich d3a70a285d Revised error handling
- 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)
9 years ago
Bert Münnich e574a6d0dd Removed feature test macro definitions from source files 9 years ago
Bert Münnich 5dc7993478 Simplified command arguments 10 years ago
Bert Münnich 47e6cd0669 Apply gamma value on thumbnails too; fixes issue #193 10 years ago
Bert Münnich 47af0dd7b5 Cache out of view thumbnails in the background 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 ddd028eb3e Unified file count variable for image & thumbnail mode 10 years ago
Bert Münnich 7b91e10f22 Added thumbnail zooming...
- Key mappings +/- are now general commands
- Use JPG as thumbnail cache file format instead of PNG
- Fixes issue #161
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 2fbc21a205 Simplified img_frame_animate 10 years ago
Bert Münnich 95a7496edc Fixed segfault in ci_toggle_animation, fixes issue #173 10 years ago
Bert Münnich 1094def183 Added command to remove all image marks, bound to Ctrl-m; fixes issue #163 10 years ago
Bert Münnich e49d38d6f9 Fixed wrong thumbnail-to-file mappings caused by file deletions 10 years ago
Bert Münnich e267dc7793 Pass marked files to external key handler in thumbnail mode; fixes issue #135 10 years ago
Bert Münnich 284be74927 Count number of marked files 10 years ago
Bert Münnich 5b01c15176 Unified file index variable for image & thumbnail mode 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 e685859a30 Use a checkerboard background for alpha layer; fixes issue #138 10 years ago
Bert Münnich 524d9de877 Removed fit-win-to-img command 11 years ago
Bert Münnich eb82519a80 Preserve panning when switching images; fixes issue #131 11 years ago
Bert Münnich f6510b0a04 Merged pull request #129 11 years ago
Bert Münnich e82397db15 Fixed handling of overloaded key mappings
Issue described here:
https://bbs.archlinux.org/viewtopic.php?pid=1117294#p1117294
11 years ago
Bert Münnich 6a0fa2507c Slideshow mode is back, in a simplified version 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 091aacb462 Merge remote-tracking branch 'baskerville/reverse-marks' 11 years ago
Bert Münnich 50f9ad14de Refactored remote changes 11 years ago
Bert Münnich 2737fc8b81 Merge remote-tracking branch 'ariand/gamma' 11 years ago
Bastien Dejean 562197577b Add command to reverse marked images 11 years ago
Bert Münnich 38bc23405d Highlight edges of marked images in thumbnail mode 11 years ago
András Mohari 0353e6eea2 Add support for changing the gamma value 11 years ago
Peter Hofmann b98a48576e Warp pointer on first/last pixel
Previously, the pointer would get warped when it had left the window.
This doesn't work when sxiv is run in fullscreen mode (or similar -- see
dwm's monocle mode): The pointer can never leave the window in such
situations.

To fix this, warp the pointer when it's on the first/last pixel. To
avoid an endless warping loop, the new position must be at least one
pixel away from the next warp position.
11 years ago
Bert Münnich 26a624a543 Added options for anti-alias & alpha layer coloring to config.def.h
Also removed now obsolete -p command line option; fixes issue #98
11 years ago
Bert Münnich fb6e4bdd98 Only print marked files when -o is given
Fallback to print all files, if no images are marked, was kind of
irritating.
11 years ago
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
11 years ago
Bert Münnich 56142bd3ba Refactored merged rotation code 11 years ago
Bastien Dejean 7e51c35801 Handle 180 degrees image rotation 11 years ago
Bert Münnich 6f05e77728 New options: -[io], read/write files from/to stdin/out
Fixes issue #84
11 years ago
Bert Münnich 30802cec0f Spawn info script & update bar contents only when needed 11 years ago
Bert Münnich 9ee34477f8 Applied code style on merged changes 11 years ago
Rob Pilling c8fcc3d354 Wrap the pointer when the edge of the window is reached 11 years ago
Bert Münnich 08ae25da22 Refactored function definitions to use dangling brace 12 years ago
Bert Münnich 6d3bbc6d5e Updated/corrected license header 12 years ago
Bert Münnich f2a3d73212 New command: i_alternate, go to last image, issue #65 12 years ago
baskerville b56989f8fb New commands: fit to the window's height/width 12 years ago
baskerville c330b55de4 handle count prefix in thumbnail movements 12 years ago
Bert Münnich 9d74a57447 Fixed issue #51, no more bar artifact when switching to fullscreen 12 years ago
Bert Münnich d1a1e0142b Simplified & sped up reloading of all thumbnails 12 years ago
baskerville de4e9fc83e Added a command to refresh the thumbnails 12 years ago