Commit graph

158 commits

Author SHA1 Message Date
Harry Jeffery 53fd3b8f3a Add an overlay option '-d'.
TODO: The font needs to be configurable with an option.

Refs #35
2015-11-17 17:14:57 +00:00
Harry Jeffery a5597a9587 Support upper-case hex
Fixes #32
2015-11-16 10:23:42 +00:00
Harry Jeffery 450c3daa4a Add irc channel to readme 2015-11-15 09:59:18 +00:00
Harry Jeffery 4d1a6d581b Release v1.1.0 2015-11-14 23:30:01 +00:00
Harry Jeffery 8e316dba37 Add a CHANGELOG 2015-11-14 23:22:26 +00:00
Harry Jeffery c14df765d8 Fix memory leak 2015-11-14 23:13:18 +00:00
Harry Jeffery 0a734c28df Fix non-animated gifs 2015-11-14 23:13:11 +00:00
Harry Jeffery 847c58a46b Rework zooming 2015-11-14 23:02:03 +00:00
Harry Jeffery add98346bb Don't use FreeImage_AllocateEx 2015-11-14 22:39:55 +00:00
Harry Jeffery d3e7f724f0 Add -u option for nearest neighbour resampling 2015-11-14 20:17:40 +00:00
Harry Jeffery 5abc07fd2e Don't use FreeImage_EnlargeCanvas
It's a relatively new feature in FreeImage and easily avoided. Not using
it will fix the build on Fedora 22.

Fixes #9
2015-11-14 18:35:25 +00:00
Harry Jeffery 98ac48de35 Add -b option to set background 2015-11-14 17:05:55 +00:00
Harry Jeffery 84f325bc63 Add support for chequered/colored backgrounds 2015-11-14 16:33:56 +00:00
Harry Jeffery f4b81bd693 Fix PNG transparency 2015-11-14 12:13:35 +00:00
Harry Jeffery a8fe29c813 Remove obsolete 's' hotkey 2015-11-13 22:56:30 +00:00
Harry Jeffery 99806d3e07 Merge pull request #29 from autrimpo/manpage
add -n to manpage
2015-11-13 22:55:45 +00:00
Michal Koutenský b966768258 add -n to manpage 2015-11-13 23:01:06 +01:00
Harry Jeffery 85d2d03e59 Just show new frame for unhandled cases
I finally came across a gif that uses the previous-background disposal
method. Using the default method worked for it, so for now let's just do
that.
2015-11-13 21:49:29 +00:00
Harry Jeffery 906e2dde01 Merge pull request #28 from autrimpo/start-at
sxiv-like 'start at' option
2015-11-13 21:46:05 +00:00
Michal Koutenský 3151dca2ee imv_navigator_set_path 2015-11-13 21:45:01 +00:00
Michal Koutenský 0b2be425c3 sxiv-like 'start at' option 2015-11-13 21:45:01 +00:00
Michal Koutenský a9a1ccf022 imv_navigator_set_path 2015-11-13 22:35:25 +01:00
Michal Koutenský 4b328da1f9 sxiv-like 'start at' option 2015-11-13 21:54:38 +01:00
Harry Jeffery 33d2d45e4e Fix out of date usage synopsis 2015-11-13 20:42:31 +00:00
Harry Jeffery a22c50fc80 Merge pull request #23 from autrimpo/master
parse options using getopt
2015-11-13 20:40:17 +00:00
Harry Jeffery 8593ac9ab4 Fix gif playback speed for some gifs
Some gifs don't provide a frametime at all, so we have to guess one for
ourselves.

Fixes #4
2015-11-13 20:35:19 +00:00
Harry Jeffery 6914c912ad Add a CONTRIBUTING file
Fixes #18
2015-11-13 20:28:04 +00:00
Harry Jeffery 5714a2cbd9 Fix crash 0 when max texture dimensions = 0
In software rendering mode SDL sets the maximum dimensions to 0. In this
case, switch back to 4096 pixel maximum chunk sizes as a reasonable
default.
2015-11-12 23:15:03 +00:00
Michal Koutenský 68668c3d74 position independend - 2015-11-12 20:58:33 +01:00
Michal Koutenský 82e684b810 parse options using getopt 2015-11-12 20:43:08 +01:00
Harry Jeffery ba6d0c7867 Fix typo in README 2015-11-12 18:50:00 +00:00
Harry Jeffery 7e3236cd0f Add more usage examples to README 2015-11-12 18:49:11 +00:00
Harry Jeffery 2615a3f2ba Relicence imv to GPLv2+ 2015-11-12 17:49:23 +00:00
Harry Jeffery f14f099682 Use just '-' to signify stdin file list
Fixes #7
2015-11-12 13:20:32 +00:00
Harry Jeffery 9cd0c1bd65 Print current image path to stdout
Fixes #10
2015-11-12 13:12:44 +00:00
Harry Jeffery 0f7b7cfda8 Add GPL information for the FreeImage library
Fixes #14
2015-11-12 13:08:49 +00:00
Harry Jeffery a4ada94bbb Merge pull request #16 from guiniol/master
Add a imv.desktop file
2015-11-12 12:28:14 +00:00
Guillaume Brogi 9e858fd698 Change IMV to lowercase imv 2015-11-12 13:24:48 +01:00
Guillaume Brogi ef861fe433 Add a imv.desktop file 2015-11-12 12:33:48 +01:00
Harry Jeffery f2ce793d62 Release version v1.0.0 2015-11-11 21:07:29 +00:00
Harry Jeffery a225d45614 Fix makefile 2015-11-11 21:07:29 +00:00
Harry Jeffery 04cc0097f9 Remove out of date warning. 2015-11-11 20:47:05 +00:00
Harry Jeffery 894d38730f Print version information in help 2015-11-11 20:40:59 +00:00
Harry Jeffery 6adc823b4e Tweak scaling 2015-11-11 19:44:30 +00:00
Harry Jeffery 2df8dcd7b1 Improve zooming behaviour 2015-11-11 18:12:05 +00:00
Jose Diez 12f6a47b9e Zoom into things 2015-11-11 18:12:05 +00:00
Jose Diez c05412208d Center into image when the mouse is outside bounds 2015-11-11 18:12:05 +00:00
Jose Diez 79281774a6 Improved zoom behaviour 2015-11-11 18:12:05 +00:00
Harry Jeffery 8be90edcaa Move SDL_RenderClear and SDL_RenderPresent back to main 2015-11-11 17:40:55 +00:00
Harry Jeffery 2e5fd4864d Update manpage 2015-11-11 16:48:12 +00:00