Commit graph

247 commits

Author SHA1 Message Date
Harry Jeffery 090a0ceb7c imv_source: Handle gifs 2019-01-29 22:25:05 +00:00
Harry Jeffery f4305c11aa imv_source: Use callbacks, not SDL to return async results 2019-01-29 22:25:05 +00:00
Harry Jeffery 32bfa1535a Switch from loader to freeimage backend 2019-01-29 22:25:04 +00:00
Harry Jeffery f42aa1b57f Start implementing a freeimage backend 2019-01-29 22:25:04 +00:00
Harry Jeffery 68435c2aa8 Define sources & backends 2019-01-29 22:25:04 +00:00
Jeinzi 7ad157e230 Changed &pointer[0] to pointer, fixed partial bind issue for long commands. 2019-01-28 01:18:15 +01:00
Harry Jeffery e1669f881e Provide backup PATH_MAX value for Hurd 2019-01-14 19:54:26 +00:00
Harry Jeffery c0a7723905 Specify multiple binds on a single line 2018-11-26 21:32:27 +00:00
Harry Jeffery 2fa568c628 binds: Add imv_binds_clear_key 2018-11-26 21:27:29 +00:00
Jeinzi 51837d9357 Implemented imv_command_exec_list(). 2018-09-27 00:53:17 +02:00
Jeinzi a8fc50025e Fixed name conflicts. 2018-09-01 04:14:04 +02:00
Jeinzi 3974eaebe6 Fixed several memory leaks. 2018-09-01 03:33:33 +02:00
Jeinzi 88d6dc2ef7 Added support for multiple commands per bind. 2018-09-01 00:34:50 +02:00
Harry Jeffery 716ee2a8f4 Handle being passed an empty directory properly 2018-05-08 21:02:54 +01:00
Harry Jeffery a7c1fb4e17 Correctly handle out-of-paths case
imv_navigator_selection doesn't return NULL anymore, so we should
check it for being empty
2018-05-05 12:28:14 +01:00
Harry Jeffery 9b1968821d Update config search paths
As per XDG spec, if $XDG_CONFIG isn't set, we should fall back to
$HOME/.config

Fixes #124
2018-05-05 12:07:20 +01:00
Harry Jeffery a65b30b5da Never return null from imv_navigator_selection
This fixes a crash where a null pointer would be used to set an
environment variable.

Fixes #123
2018-01-07 19:57:39 +00:00
Harry Jeffery 68b78734bb Dual-License and improve crediting
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-07 21:31:31 +00:00
Harry Jeffery 45bf3b3099 Make viepwort interface opaque 2017-12-07 21:11:47 +00:00
Harry Jeffery 8f3d69f3e8 Add options for window width and height
Fixes #120
2017-12-02 15:55:20 +00:00
Harry Jeffery 703f186705 Fix key name handling bug 2017-11-30 23:14:43 +00:00
Harry Jeffery 6af2d4ec15 Add an open command 2017-11-30 22:42:53 +00:00
Harry Jeffery 5ffe450e06 Remove overlay font command line arg
Made irrelevant by the config option, why waste 'e' on it.
2017-11-30 21:57:01 +00:00
Harry Jeffery 59c3ecd9c2 Fix comment alignment 2017-11-30 21:42:44 +00:00
Harry Jeffery e8ec492616 Add error messages for invalid command line flags 2017-11-30 21:16:15 +00:00
Harry Jeffery 11919464cf Make -u argument take an argument 2017-11-30 21:16:15 +00:00
Harry Jeffery 8a2094efa4 Merge a,s,S flags to -s <mode> 2017-11-30 21:53:48 +00:00
Harry Jeffery 724b201cd8 Clean up old comment 2017-11-29 21:17:01 +00:00
Harry Jeffery 4e3dfb80f3 Make title+overlay configurable
Fixes #110
2017-11-29 21:13:56 +00:00
Harry Jeffery 957a3efd3e Factor out setting of environment variables 2017-11-29 20:32:04 +00:00
Harry Jeffery e2d87223f4 Pull title/overlay text generation into their own functions 2017-11-29 20:31:50 +00:00
Harry Jeffery ad63ab512c Allow config path to be specified with $imv_config 2017-11-29 19:53:02 +00:00
Harry Jeffery 87b6502143 Rename 'remove' command -> 'close' 2017-11-29 19:43:11 +00:00
Harry Jeffery 38ae2f1511 Fix bug when filtering invalid events 2017-11-28 22:50:19 +00:00
Harry Jeffery d9d1a7c603 Add stay_fullscreen_on_focus_loss option
Fixes #103
2017-11-28 22:45:28 +00:00
Harry Jeffery d990a01c21 Fix hardcoded default binds 2017-11-28 22:21:51 +00:00
Harry Jeffery 299ba91038 Rename cycle_input -> loop_input 2017-11-28 22:12:42 +00:00
Harry Jeffery f47edf8c1b Rename list_at_exit -> list_files_at_exit 2017-11-28 22:09:11 +00:00
Harry Jeffery e9ad72508c Tweak environment variable name for current path 2017-11-28 22:07:18 +00:00
Harry Jeffery f4bf8bc6f6 Allow aliases to be configured 2017-11-28 22:06:55 +00:00
Harry Jeffery 11e52cb5d8 Tweak config option names & capitalisation 2017-11-28 21:59:16 +00:00
Harry Jeffery 86b7b1bf49 Simplify and refactor ini usage
Switch imv to use a more mature ini implementation, and also simplify
the ini syntax in the config files.
2017-11-28 21:39:07 +00:00
Harry Jeffery 7d310e4897 Use imv_bitmap for bitmaps intead of FIBITMAP 2017-11-26 13:43:18 +00:00
Harry Jeffery 2c51ecf4ee Fix image.h header guard 2017-11-26 13:17:22 +00:00
Harry Jeffery a8eec46b5c Make imv_image interface opaque 2017-11-26 12:13:28 +00:00
Harry Jeffery 3ceb0eac65 Rename imv_texture -> imv_image 2017-11-26 12:07:23 +00:00
Harry Jeffery 92ddfe0bce Don't duplicate license text in all source files
If moving to dual-licensing, this text will be confusing. It's also
a lot of noise.
2017-11-25 12:17:57 +00:00
Harry Jeffery 8bad694c2a Remove unused variable 2017-11-24 18:18:05 +00:00
Harry Jeffery 5f8aa0e5cb Use a background thread to load paths from stdin 2017-11-24 17:55:46 +00:00
Harry Jeffery 764f2d30a4 Make the navigator interface opaque 2017-11-24 17:19:22 +00:00