Commit Graph

785 Commits

Author SHA1 Message Date
Bastien Dejean 4780ec5463 Close info file descriptor after reading 2013-11-17 12:54:55 +01:00
Bert Münnich cc479ca5ac Fixed segfault when removing first image from file list, fixes issue #112 2013-11-16 20:19:55 +01:00
Bert Münnich 091aacb462 Merge remote-tracking branch 'baskerville/reverse-marks' 2013-11-14 17:57:45 +01:00
Bert Münnich ac2a6ff040 Correct out-of-range gamma values given on command line 2013-11-14 17:12:55 +01:00
Bert Münnich 50f9ad14de Refactored remote changes 2013-11-14 17:06:20 +01:00
Bert Münnich 2737fc8b81 Merge remote-tracking branch 'ariand/gamma' 2013-11-14 14:47:36 +01:00
Bastien Dejean 562197577b Add command to reverse marked images 2013-11-14 14:45:27 +01:00
Bert Münnich 38bc23405d Highlight edges of marked images in thumbnail mode 2013-11-14 14:37:08 +01:00
András Mohari 0353e6eea2 Add support for changing the gamma value 2013-11-13 20:54:09 +01:00
Bert Münnich 450c1ed9b5 Fixed inconsistencies in navigation when removing invalid files 2013-10-21 21:57:21 +02:00
Bert Münnich 1b089bc2fa Seek over EXIF APP0 frame instead of reading and discarding it 2013-10-05 17:37:00 +02:00
Jacek Naglak 5dea695c71 Fixed image orientation if a JFIF APP0 segment is present in a JPEG header. 2013-09-24 22:14:47 +02:00
Bert Münnich 745eacbcf5 Updated unstable version number 2013-09-07 17:59:58 +02:00
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.
2013-09-07 17:10:59 +02:00
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
2013-08-22 12:59:05 +02:00
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.
2013-08-22 09:44:14 +02:00
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
2013-08-10 21:18:53 +02:00
Bert Münnich 84d77b1732 Updated unstable version number 2013-08-10 15:59:45 +02:00
Bert Münnich c6bc6069d6 Changed key bindings for flipping to bar & underscore 2013-08-10 15:58:16 +02:00
Bert Münnich 56142bd3ba Refactored merged rotation code 2013-08-10 15:55:18 +02:00
Bastien Dejean 7e51c35801 Handle 180 degrees image rotation 2013-08-10 15:33:14 +02:00
Bert Münnich 68ff9d71f1 Fixed typo in README.md 2013-06-02 12:31:27 +02:00
Bert Münnich b4346a9397 Stable version 1.1.1 2013-06-02 12:04:40 +02:00
Bert Münnich b1a24cb018 Fixed build for giflib version >= 5.0; fixed issue #90 2013-04-21 13:55:08 +02:00
Bert Münnich 593da23cf3 Use bgcol as window background pixel; fixed issue #89 2013-04-14 19:50:47 +02:00
Bert Münnich 16a598ca12 Updated source tarball URLs in README.md 2013-04-06 14:23:58 +02:00
Bert Münnich aac28cce7a Fixed non-ASCII characters in window bar, issue #88 2013-04-06 14:04:46 +02:00
Bert Münnich 264a345a98 Updated .gitignore 2013-04-02 22:48:13 +02:00
Bert Münnich 7ea8a4ed2f Updated source tarball URLs in README.md 2013-04-02 19:43:55 +02:00
Bert Münnich 98972e98f9 Fixed segfault caused by FD_ISSET() on negative fd
Reported by Kris Siwiec
2013-04-02 19:32:59 +02:00
Bert Münnich af69b2a7bb Stable version 1.1 2013-03-30 13:14:10 +01:00
Bert Münnich 6f05e77728 New options: -[io], read/write files from/to stdin/out
Fixes issue #84
2013-03-19 21:14:58 +01:00
Bert Münnich 447bc1c784 Merge branch 'asyncinfo' 2013-03-19 21:14:58 +01:00
Bert Münnich 825c52c33f Made bar fields more distinguishable 2013-03-19 21:14:58 +01:00
Bert Münnich 38ecea3b4d Polished info script execution 2013-03-19 21:14:56 +01:00
Bert Münnich 30802cec0f Spawn info script & update bar contents only when needed 2013-03-19 21:14:32 +01:00
Bert Münnich f3298400e6 Spawn and read from info script without blocking 2013-03-19 21:13:44 +01:00
Bert Münnich 9ee34477f8 Applied code style on merged changes 2013-03-04 19:23:07 +01:00
Bert Münnich ce8460108a Merge pointer warping in i_drag from Rob Pilling 2013-03-04 19:18:58 +01:00
Rob Pilling c8fcc3d354 Wrap the pointer when the edge of the window is reached 2013-03-03 22:33:55 +00:00
Bert Münnich 408b75a0b4 Ignore dotfiles for -r 2013-02-11 21:39:41 +01:00
Bert Münnich c6bfac1566 Merge branch 'sizehints', fixed issue #78 2013-02-09 19:07:29 +01:00
Bert Münnich 1e2ddc44d8 No checks on window size, use whatever the user has specified 2013-02-09 17:24:41 +01:00
Bert Münnich a527025314 Correctly set window height after i_fit_to_img() 2013-02-09 01:39:18 +01:00
Bert Münnich cef8d51153 Refined US{Position,Size} & WinGravity handling 2013-02-09 01:36:10 +01:00
Bert Münnich bf41012493 Merge remote-tracking branch '4z3/set-user-specified-sizehints' into sizehints
Conflicts:
	window.c
2013-02-09 01:21:57 +01:00
Bert Münnich f7301cf4f9 Correctly updated window pixmap after i_fit_to_img() 2013-02-08 23:26:06 +01:00
Bert Münnich e810072d71 Use bool from stdbool.h after switching to C99 2013-02-08 23:20:11 +01:00
Bert Münnich b3f3bc29a1 Be honest about using C99 2013-02-08 22:07:48 +01:00
Bert Münnich 08ae25da22 Refactored function definitions to use dangling brace 2013-02-08 22:05:31 +01:00