aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-06-13Add imv_logHarry Jeffery
2019-06-12svg: Fix flipped colorsHarry Jeffery
Fixes #157
2019-06-12Add support for hidpi renderingHarry Jeffery
This fixes #148 but only when used with a version of SDL that includes this patch: https://bugzilla.libsdl.org/show_bug.cgi?id=4521
2019-06-12imv:handle_event small tidy upHarry Jeffery
2019-06-12rsvg: Determine if svg from first 4096 bytesHarry Jeffery
The previous value of 128 isn't sufficient because some hand-crafted SVGs have comments at the start. Going for a whole page of memory seemed like the right amount of data without becoming too slow.
2019-05-30Merge pull request #154 from 7415963987456321/add-version-flagHarry Jeffery
Add version flag with -v
2019-05-26Expand relative paths (fixes #149)vglfr
2019-05-10Add version flag with -v7415963987456321
2019-03-01binds: Make Double-Escape the key sequence abortHarry Jeffery
By using escape to abort all key input sequences, it became unbindable despite being documented as so. Make the sequence double-escape to fix this. The downside here is now double-escape is unbindable, but that's unlikely to be an issue. Fixes #147
2019-02-27Fix copy-paste error in resizing mode parsingHarry Jeffery
2019-02-23Makefile: Don't use $(wildcard)Harry Jeffery
2019-02-16navigator: Simplify file pollingHarry Jeffery
We don't need to know when all paths were last touched, just when we switched to the current path, and the last time that the file changed. This also fixes a bug where imv would double-load images as it refreshed its internal mtime.
2019-02-16Add customisable image resizing behaviourHarry Jeffery
Two new flags: -w and -W enable resizing and recentering, respectively. Also add an 'autoresize' config variable to control this behaviour. Fixes #122
2019-02-16Fix truncated path list from stdinHarry Jeffery
It turns out, the paths from stdin weren't being truncated. The issue was with the use of the SDL event queue for passing the paths back to imv's main thread. The events were being pushed correctly, but due to a workaround for a bug in SDL, instead of flushing the contents of the event queue, we now ignore window events until all events already in the queue have been handled. This fixes #141
2019-02-15png: Don't use non-portable allocaHarry Jeffery
2019-02-10imv: Add lots of comments to struct imvHarry Jeffery
2019-02-10imv: Use calloc for lazy initialisationHarry Jeffery
2019-02-10imv: Fix uninit background_typeHarry Jeffery
2019-02-10Tweak allocation sizeof operator usageHarry Jeffery
2019-02-04image: Small tidy upHarry Jeffery
2019-02-04Run sources in background threadsHarry Jeffery
2019-02-04Make sources thread-safeHarry Jeffery
2019-02-02rsvg: Add open_memory supportHarry Jeffery
2019-02-02Add libtiff backendHarry Jeffery
2019-02-02jpeg: Fix mmap error handlerHarry Jeffery
2019-01-31jpeg: Add open_memory supportHarry Jeffery
2019-01-31Tweak comments on backend accessor functionsHarry Jeffery
2019-01-31Add libjpeg-turbo backendHarry Jeffery
2019-01-31imv: Close unsupported images more rapidlyHarry Jeffery
2019-01-31Fix some compiler warningsHarry Jeffery
2019-01-30rsvg: Fix missing stdlib includeHarry Jeffery
2019-01-29loader: Delete legacy loaderHarry Jeffery
2019-01-29FreeImage: Add open_memory supportHarry Jeffery
2019-01-29imv: Use open_memory for stdinHarry Jeffery
2019-01-29backend: Add open_memory functionHarry Jeffery
2019-01-29imv: Improve failed load error handlingHarry Jeffery
2019-01-29imv: Tweak whitespace styleHarry Jeffery
2019-01-29rsvg: Fix uninitialised pointerHarry Jeffery
2019-01-29png: Fix loading of PNGs missing an alpha channelHarry Jeffery
2019-01-29Make backends self-describingHarry Jeffery
2019-01-29Make backends optionalHarry Jeffery
2019-01-29Add rsvg backendHarry Jeffery
2019-01-29Support multiple backendsHarry Jeffery
2019-01-29Use FreeImage under FIPL instead of GPLHarry Jeffery
2019-01-29Add libpng backendHarry Jeffery
2019-01-29bitmap: Support multiple pixel formatsHarry Jeffery
2019-01-29source: Remove obsolete fieldsHarry Jeffery
2019-01-29imv_source: Handle gifsHarry Jeffery
2019-01-29imv_source: Use callbacks, not SDL to return async resultsHarry Jeffery
2019-01-29Switch from loader to freeimage backendHarry Jeffery