aboutsummaryrefslogtreecommitdiff
path: root/src/imv.c
AgeCommit message (Collapse)Author
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-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-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-05-10Add version flag with -v7415963987456321
2019-02-27Fix copy-paste error in resizing mode parsingHarry Jeffery
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-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-04Run sources in background threadsHarry Jeffery
2019-01-31imv: Close unsupported images more rapidlyHarry Jeffery
2019-01-29imv: Use open_memory for stdinHarry Jeffery
2019-01-29imv: Improve failed load error handlingHarry Jeffery
2019-01-29imv: Tweak whitespace styleHarry Jeffery
2019-01-29Make backends self-describingHarry Jeffery
2019-01-29Support multiple backendsHarry Jeffery
2019-01-29Use FreeImage under FIPL instead of GPLHarry 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
2019-01-28Changed &pointer[0] to pointer, fixed partial bind issue for long commands.Jeinzi
2019-01-14Provide backup PATH_MAX value for HurdHarry Jeffery
2018-11-26Specify multiple binds on a single lineHarry Jeffery
2018-09-27Implemented imv_command_exec_list().Jeinzi
2018-09-01Fixed several memory leaks.Jeinzi
2018-09-01Added support for multiple commands per bind.Jeinzi
2018-05-08Handle being passed an empty directory properlyHarry Jeffery
2018-05-05Correctly handle out-of-paths caseHarry Jeffery
imv_navigator_selection doesn't return NULL anymore, so we should check it for being empty
2018-05-05Update config search pathsHarry Jeffery
As per XDG spec, if $XDG_CONFIG isn't set, we should fall back to $HOME/.config Fixes #124
2017-12-07Dual-License and improve creditingHarry Jeffery
imv is now dual-licensed under the MIT, and GPL V2 (or later). inih deserves credit for its authors' work, so credit it.
2017-12-07Make viepwort interface opaqueHarry Jeffery
2017-12-02Add options for window width and heightHarry Jeffery
Fixes #120
2017-11-30Add an open commandHarry Jeffery
2017-11-30Remove overlay font command line argHarry Jeffery
Made irrelevant by the config option, why waste 'e' on it.
2017-11-30Fix comment alignmentHarry Jeffery
2017-11-30Add error messages for invalid command line flagsHarry Jeffery
2017-11-30Make -u argument take an argumentHarry Jeffery
2017-11-30Merge a,s,S flags to -s <mode>Harry Jeffery
2017-11-29Clean up old commentHarry Jeffery
2017-11-29Make title+overlay configurableHarry Jeffery
Fixes #110
2017-11-29Factor out setting of environment variablesHarry Jeffery