aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-07-15Kill old debug loggingHarry Jeffery
2019-07-15Fix next frame commandHarry Jeffery
2019-07-15Wayland: Remove linux-only eventfd usageHarry Jeffery
2019-07-13x11_window: Handle most input eventsHarry Jeffery
2019-07-13x11_window: Implement wait_for_eventHarry Jeffery
2019-07-13Create stub X11 window implementationHarry Jeffery
2019-07-13Make window system configurableHarry Jeffery
2019-07-13Remove OpenGL awareness from core logicHarry Jeffery
2019-07-13window: FormattingHarry Jeffery
2019-07-13Implement scroll inputHarry Jeffery
2019-07-13Handle mouse inputHarry Jeffery
2019-07-12Remove resizing, not supported in wayland yetHarry Jeffery
2019-07-12Modernise event loopHarry Jeffery
2019-07-12Fix event loop hangingHarry Jeffery
2019-07-12Fullscreen supportHarry Jeffery
2019-07-12Start replacing glfw with imv_windowHarry Jeffery
2019-07-12Create initial imv_windowHarry Jeffery
2019-07-03Add static keyword to internal functionsHarry Jeffery
2019-07-03Big glfw refactorHarry Jeffery
I did a lot of this in a very ad-hoc fashion with no proper commit history. As such, the kindest thing to do seemed to be to just squash it into this one commit.
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