Harry Jeffery
6d000e5101
Add exec command
2017-11-23 21:34:11 +00:00
Harry Jeffery
4579df9114
Add support for a basic config file
2017-11-23 21:34:11 +00:00
Harry Jeffery
c51dff6a4e
Workaround bug where events are received incorrectly
...
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-23 21:16:30 +01:00
Harry Jeffery
c3f233e971
Remove year from copyright notices
...
It was falling out of date, and has no legal bearing to my knowledge.
2017-08-22 22:29:07 +01:00
Harry Jeffery
9587c93fd5
Reimplement -n flag
2017-08-22 21:48:40 +01:00
Harry Jeffery
39509816cf
Tweak wording in man page
2017-08-22 21:35:27 +01:00
Harry Jeffery
4cf843f728
Fix imv -h opening a window
2017-08-22 21:11:46 +01:00
Harry Jeffery
dd8c529370
Implement documented -l flag
2017-08-20 17:59:04 +01:00
Harry Jeffery
167f1280ce
Merge pull request #112 from SirCmpwn/limit_scrolling
...
Prevent scrolling images indefinitely off-screen
2017-08-06 20:15:05 +01:00
Harry Jeffery
cf0baaa977
Merge pull request #113 from eXeC64/fix-ci-failure
...
Fix failing build on gcc 4.8.4
2017-08-06 20:07:52 +01:00
Harry Jeffery
92eb3a9b9a
Fix failing build on gcc 4.8.4
2017-08-06 20:04:50 +01:00
Drew DeVault
69cc94ef23
Prevent scrolling images indefinitely off-screen
...
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-08-06 14:53:29 -04:00
Harry Jeffery
2ffd6edea1
Merge v3 changes into master
2017-08-06 19:45:15 +01:00
Harry Jeffery
12450f3875
Support loading image data from stdin
2017-06-18 16:23:19 +01:00
Harry Jeffery
29888f9f04
Tweak default scaling mode
2017-06-06 20:46:05 +01:00
Harry Jeffery
eb0b93b8e2
check_stdin_for_paths shouldn't be public
2017-06-06 20:35:43 +01:00
Harry Jeffery
eff4ee3fb3
Switch to new implementation
2017-06-06 20:31:33 +01:00
Harry Jeffery
508e634471
Load paths from command line args
2017-06-06 20:14:59 +01:00
Harry Jeffery
973fe152b5
Fix animated gif / slideshow support
2017-06-06 20:08:46 +01:00
Harry Jeffery
2fbe6678c2
Don't mix ints and bools
2017-06-06 20:02:14 +01:00
Harry Jeffery
9dc4908ea4
Fix redraw on viewport update
2017-06-06 20:00:42 +01:00
Harry Jeffery
6c7e4b9c03
Load paths from stdin
2017-06-06 19:53:08 +01:00
Harry Jeffery
625a1c14db
Add basic commands to refactor
2017-04-18 18:04:52 +01:00
Harry Jeffery
06b1620c1a
Rough initial implementation of imv_run
2017-04-18 17:54:06 +01:00
Harry Jeffery
2df9da145a
Implement imv_add_path
2017-04-18 17:53:20 +01:00
Harry Jeffery
202a2c8c8a
Fix font_name crash
2017-04-18 17:53:12 +01:00
Harry Jeffery
c67d1b529c
Fix crash in imv_loader_free
2017-04-18 17:36:43 +01:00
Harry Jeffery
8d5166d69f
Add window set-up logic
2017-04-18 17:24:08 +01:00
Harry Jeffery
f16141f184
Start work on refactored imv
2017-04-18 17:08:30 +01:00
Harry Jeffery
0357d51086
Fix compiler warning
2017-04-15 16:40:53 +01:00
Harry Jeffery
a6bb8ad100
Let commands take an arbitrary pointer
2017-04-15 10:58:31 +01:00
Harry Jeffery
ec0923e5cf
Fix command text input
2017-04-14 23:49:43 +01:00
Harry Jeffery
b2fc7c3978
Minor clean up of main.c
2017-04-14 23:38:08 +01:00
Harry Jeffery
3900415f5b
Move parse_args to end of main.c
2017-04-14 22:58:36 +01:00
Harry Jeffery
a461d4f26f
Move some globals back to locals
2017-04-14 22:55:54 +01:00
Harry Jeffery
c5c4091524
Move rendering into its own function
2017-04-14 22:44:57 +01:00
Harry Jeffery
f085f13f42
Refactor navigator poll rate limiting
2017-04-14 22:34:36 +01:00
Harry Jeffery
cccb00ec0f
Move event handling into its own function
2017-04-14 22:12:33 +01:00
Harry Jeffery
4fde6ea289
Refactor navigator to new style
2017-04-14 17:10:23 +01:00
Harry Jeffery
e352474df0
Refactor viewport to new style
2017-04-14 17:02:28 +01:00
Harry Jeffery
b9dd2cbc01
Refactor texture to new style
2017-04-14 16:56:06 +01:00
Harry Jeffery
5a8932cb21
Refactor loader to new style
2017-04-14 16:49:17 +01:00
Harry Jeffery
50759fb279
Let's not have imv_commands use hidden globals
2017-04-14 16:44:07 +01:00
Harry Jeffery
93f68f6b4c
Add some aliases
2017-04-14 16:23:58 +01:00
Harry Jeffery
b46385618e
Add basic alias support
2017-04-14 16:23:50 +01:00
Harry Jeffery
83959687ad
Add a rough command mode
2017-04-14 16:17:21 +01:00
Harry Jeffery
66e6f2edc4
Move basic functionality into commands
2017-04-12 23:10:58 +01:00
Harry Jeffery
ad33be42c0
Add basic command system
2017-04-12 23:10:58 +01:00
Harry Jeffery
1ce11b6307
Add generic list container
2017-04-12 23:09:13 +01:00
Harry Jeffery
cee36733b5
Merge pull request #104 from alkino/master
...
Add command 'X' to remove image from disk too
2017-03-08 21:16:30 +00:00