I don't know of any image viewer which isn't at least two of (a)
slow, (b) shareware, (c) possessed of various UI annoyances, or (d)
no longer conveniently available. (Debian 3.1's placing of eeyes
into category (d) was the main trigger for this realisation.) But
image libraries are easy to get hold of and make a simple image
viewer an astonishingly small project, so here's a first cut at
writing my own. I doubt it will ever do much, but what it does do it
will do fast and without fuss.

Currently it only works with GTK 1.2 and gdk-imlib1. The imlib end
is abstracted away from the main code, so I hope to be able to port
it to use the incompatible Imlib2 and hence update it to GTK 2.

Working title is `v', but I don't anticipate that that will last
long if it ever acquires users other than me.


git-svn-id: svn://svn.tartarus.org/sgt@5954 cda61777-01e9-0310-a592-d414129be87e
Various development. Added bumf.c containing help, usage, licence
etc. Added a command-line option `-m' which causes the window size
to be set at the maximum of all the images loaded. Fiddled with an
ignore property.


git-svn-id: svn://svn.tartarus.org/sgt@5955 cda61777-01e9-0310-a592-d414129be87e
Aha, my abstraction layer has rapidly borne fruit! Here's an
alternative back end for Imlib2, which means I can now build v as a
GTK 2 application. (Imlib2 should also work with GTK 1.2, as far as
I'm aware. Imlib1 _only_ works with 1.2.)


git-svn-id: svn://svn.tartarus.org/sgt@5956 cda61777-01e9-0310-a592-d414129be87e
Support for reading a filename list from stdin.


git-svn-id: svn://svn.tartarus.org/sgt@5958 cda61777-01e9-0310-a592-d414129be87e
Two small bug fixes.


git-svn-id: svn://svn.tartarus.org/sgt@5959 cda61777-01e9-0310-a592-d414129be87e
Convenient option to set an image on the root window. (My work
machine turns out to lack xpmroot, and I thought it'd be handy to
have a root-setting program derived from v because then it would
automatically handle any image format I happened to want to use.)


git-svn-id: svn://svn.tartarus.org/sgt@6139 cda61777-01e9-0310-a592-d414129be87e
Accumulated tweaks: more robust keyboard event processing, and avoid
loading all the images into core at the same time.


git-svn-id: svn://svn.tartarus.org/sgt@6915 cda61777-01e9-0310-a592-d414129be87e
About half the necessary code to auto-detect the proper window size
to just fit on the screen. Still missing automatic detection of
window frame extents, because my WM doesn't currently appear to
support it so I can't be bothered to implement it.


git-svn-id: svn://svn.tartarus.org/sgt@6920 cda61777-01e9-0310-a592-d414129be87e
Oops. Remove rogue diagnostic.

git-svn-id: svn://svn.tartarus.org/sgt@6921 cda61777-01e9-0310-a592-d414129be87e
Introduce always-scale and never-scale options (-a and -n), and move
the setup_maxw_maxh() call to _before_ the image list is loaded
(which is when it's first needed to avoid problems with -m).


git-svn-id: svn://svn.tartarus.org/sgt@6922 cda61777-01e9-0310-a592-d414129be87e
A few times I've caught myself expecting Shift-N to have the
opposite effect to bare n, presumably because my reflexes thought
they were driving `less'. So let's experiment with that keybinding
for a bit.


git-svn-id: svn://svn.tartarus.org/sgt@7128 cda61777-01e9-0310-a592-d414129be87e
Put a sensible background behind alpha-blended images, and make its
colour configurable.


git-svn-id: svn://svn.tartarus.org/sgt@7129 cda61777-01e9-0310-a592-d414129be87e
Full screen mode.


git-svn-id: svn://svn.tartarus.org/sgt@7402 cda61777-01e9-0310-a592-d414129be87e
Further various fixes: get maxw and maxh right whether we're in
full-screen mode _or not_, and add PgUp/PgDn support.


git-svn-id: svn://svn.tartarus.org/sgt@7456 cda61777-01e9-0310-a592-d414129be87e
Update TODO.


git-svn-id: svn://svn.tartarus.org/sgt@7464 cda61777-01e9-0310-a592-d414129be87e
Restore compilability on GTK 1, which lacks the full screen feature.


git-svn-id: svn://svn.tartarus.org/sgt@7479 cda61777-01e9-0310-a592-d414129be87e
Updates to full-screen mode.


git-svn-id: svn://svn.tartarus.org/sgt@7613 cda61777-01e9-0310-a592-d414129be87e
'R' key to reload an image if it changes under v's feet.


git-svn-id: svn://svn.tartarus.org/sgt@8137 cda61777-01e9-0310-a592-d414129be87e
Ubuntu 12.04's gcc points out that I never actually made the '--'
argument work!


git-svn-id: svn://svn.tartarus.org/sgt@9496 cda61777-01e9-0310-a592-d414129be87e
Put the libraries at the end of the link command line, not at the
start. Ubuntu 12.04 is picky about that.


git-svn-id: svn://svn.tartarus.org/sgt@9497 cda61777-01e9-0310-a592-d414129be87e