aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-11-29Make title+overlay configurableHarry Jeffery
Fixes #110
2017-11-29Factor out setting of environment variablesHarry Jeffery
2017-11-29Pull title/overlay text generation into their own functionsHarry Jeffery
2017-11-29Allow config path to be specified with $imv_configHarry Jeffery
2017-11-29Rename 'remove' command -> 'close'Harry Jeffery
2017-11-28Fix bug when filtering invalid eventsHarry Jeffery
2017-11-28Add stay_fullscreen_on_focus_loss optionHarry Jeffery
Fixes #103
2017-11-28Fix hardcoded default bindsHarry Jeffery
2017-11-28Rename cycle_input -> loop_inputHarry Jeffery
2017-11-28Rename list_at_exit -> list_files_at_exitHarry Jeffery
2017-11-28Tweak environment variable name for current pathHarry Jeffery
2017-11-28Allow aliases to be configuredHarry Jeffery
2017-11-28Tweak config option names & capitalisationHarry Jeffery
2017-11-28Simplify and refactor ini usageHarry Jeffery
Switch imv to use a more mature ini implementation, and also simplify the ini syntax in the config files.
2017-11-26Use imv_bitmap for bitmaps intead of FIBITMAPHarry Jeffery
2017-11-26Fix image.h header guardHarry Jeffery
2017-11-26Make imv_image interface opaqueHarry Jeffery
2017-11-26Rename imv_texture -> imv_imageHarry Jeffery
2017-11-25Don't duplicate license text in all source filesHarry Jeffery
If moving to dual-licensing, this text will be confusing. It's also a lot of noise.
2017-11-24Remove unused variableHarry Jeffery
2017-11-24Use a background thread to load paths from stdinHarry Jeffery
2017-11-24Make the navigator interface opaqueHarry Jeffery
2017-11-24Make the loader interface opaqueHarry Jeffery
2017-11-24loader: Use event to pass image loading error to main threadHarry Jeffery
2017-11-24Sleep for longer when displaying still imagesHarry Jeffery
2017-11-24loader: Use SDL event queue to return imagesHarry Jeffery
2017-11-24Fix clang compile errorHarry Jeffery
2017-11-23Require <> around all keys in a bindHarry Jeffery
This is partly for consistency, party to resolve a bug where binding [ in the config file would trick the ini parser into thinking it was reading a section header, leading to the bind not being applied.
2017-11-23Fall back on global config, if user has noneHarry Jeffery
2017-11-23Add default_binds option to prevent conflictsHarry Jeffery
2017-11-23Move remaining actions to bindable commandsHarry Jeffery
2017-11-23Move some hardcoded key bindings into new bind systemHarry Jeffery
2017-11-23Implement key binding logicHarry Jeffery
This code is *heavily* based on work I previously did for aerc. Since I'm the author of that code, and therefore the copyright holder, I'm able to heavily re-use logic. Of course, because of the differences between termbox and SDL's event logic and key naming features, there's some significant differences in how binds are handled, and how keys are named.
2017-11-23Add list_find functionHarry Jeffery
2017-11-23Remove imv_ prefix from struct imv_listHarry Jeffery
It's just bloat. No value.
2017-11-23Set $PATH for exec commandHarry Jeffery
2017-11-23Give commands the full arg string tooHarry Jeffery
2017-11-23Add exec commandHarry Jeffery
2017-11-23Add support for a basic config fileHarry Jeffery
2017-08-23Workaround bug where events are received incorrectlyHarry Jeffery
For some reason SDL passes events to us that occurred before we gained focus, and passes them *after* the focus gained event. Due to behavioural quirks from such events, whenever we gain focus we have to clear the event queue. It's hacky, but works without any visible side effects.
2017-08-22Remove year from copyright noticesHarry Jeffery
It was falling out of date, and has no legal bearing to my knowledge.
2017-08-22Reimplement -n flagHarry Jeffery
2017-08-22Fix imv -h opening a windowHarry Jeffery
2017-08-20Implement documented -l flagHarry Jeffery
2017-08-06Merge pull request #112 from SirCmpwn/limit_scrollingHarry Jeffery
Prevent scrolling images indefinitely off-screen
2017-08-06Fix failing build on gcc 4.8.4Harry Jeffery
2017-08-06Prevent scrolling images indefinitely off-screenDrew DeVault
With this change, if you scroll the image well beyond the viewport, scrolling any amount in the other direction will immediately bring it back on screen.
2017-06-18Support loading image data from stdinHarry Jeffery
2017-06-06Tweak default scaling modeHarry Jeffery
2017-06-06check_stdin_for_paths shouldn't be publicHarry Jeffery