Commit Graph

201 Commits

Author SHA1 Message Date
Bert
b2f1b997ed Disable support for external commands by default 2011-04-07 10:17:27 +02:00
Bert
d7c1f0a85d Removed escape key mapping 2011-04-07 00:21:28 +02:00
Bert
fa81707540 New key mapping: D, remove image from file list 2011-04-06 23:33:23 +02:00
Bert
facd7e3b42 New option: -a, do not filter out unsupported files 2011-04-06 19:30:06 +02:00
Bert
426edfb349 Readded file-type check at startup 2011-04-05 00:37:37 +02:00
Bert
8d4e3a57ab Do not check file-type at startup 2011-04-04 20:35:10 +02:00
Bert
87a9828417 Filename cosmetics 2011-03-17 23:39:17 +01:00
Bert
3672c0bc63 Toggle image transparency with A-key 2011-03-10 11:41:40 +01:00
Bert
a82c45431b Use ctrl for ext cmds, disable them in config.h 2011-03-09 10:08:43 +01:00
Bert
00d4b0f7cf Use "/bin/sh -c" for external commands 2011-03-03 10:52:16 +01:00
Bert
c05fd44bdd Support for external commands like mogrify & jpegtran 2011-03-01 18:49:02 +01:00
Bert
955c39a5c5 Shorter typedefs 2011-03-01 14:23:09 +01:00
Bert
9b24f82404 Small refactorings, removed over-ambitious todo 2011-02-27 13:29:24 +01:00
Bert
7334bdfa51 Revert "Save rotated png-files with S-key"
This reverts commit 090ee5405b.
2011-02-27 13:03:16 +01:00
Bert
090ee5405b Save rotated png-files with S-key 2011-02-27 01:48:00 +01:00
Bert
c5f6b2c0d5 Sort directory entries when using -r 2011-02-26 16:57:21 +01:00
Bert
dafe7eac74 Refactored imlib context handling 2011-02-25 12:08:12 +01:00
Bert
4cfb8a204a Correct timeout handling, more complex 2011-02-21 22:05:30 +01:00
Bert
88b5c5f2e4 Fixed cursor hiding after switching to thumb mode 2011-02-21 18:37:24 +01:00
Bert
fde9f5bf85 Hide cursor on redraw or after 1.5s mouse inactivity 2011-02-21 18:26:21 +01:00
Bert
ea80c73520 Fixed title for thumbnail mode 2011-02-21 16:49:34 +01:00
Bert
f2b8a75f6c Always support thumbs; start thumb-mode with single -t 2011-02-21 14:59:29 +01:00
Bert
72e8baf13e Mode-guard in on_motionnotify 2011-02-20 01:41:44 +01:00
Bert
f0f6644fae Replaced -T flag with -tt; default thumbnail size 2011-02-20 00:28:28 +01:00
Bert
a30901210c Mouse-wheel scrolling in thumb mode 2011-02-20 00:08:17 +01:00
Bert
4cc6ca939c g/G key mappings in thumbnail mode 2011-02-19 23:16:01 +01:00
Bert
a345c963f8 Double click thumb to open 2011-02-19 23:07:10 +01:00
Bert
26bb005458 Merge branch 'master' into thumbs
Conflicts:
	main.c
2011-02-19 22:55:40 +01:00
Bert
09335fdc14 Fixed offsets in resize win to image 2011-02-19 22:53:22 +01:00
Bert
a152f82ce6 Sync thumb selection & fileidx; check thumb view 2011-02-19 22:12:08 +01:00
Bert
a367d35ba0 Update title when moving selection 2011-02-19 09:47:53 +01:00
Bert
76cca4ecb6 Activate thumb-mode with Return key 2011-02-17 18:00:02 +01:00
Bert
f235b62741 Fixed cursor when opening thumb 2011-02-17 17:38:48 +01:00
Bert
e2ef9b8323 Variable timeout (2) 2011-02-17 17:32:29 +01:00
Bert
fbfec45b33 Variable timeout 2011-02-17 17:30:38 +01:00
Bert
6adbb3831d Use Button1 to open thumbnail 2011-02-17 17:28:13 +01:00
Bert
f08c24bbb3 Select and open thumbnails 2011-02-17 16:57:55 +01:00
Bert
095217b26f Linked thumbnails to files 2011-02-17 15:58:11 +01:00
Bert
f554cdf60e Made key mappings mode-dependent 2011-02-17 15:08:58 +01:00
Bert
e09a6b5e3f Appropriate title for thumbnail mode 2011-02-17 14:45:54 +01:00
Bert
1c072cc0d0 Fill window before loading thumbs 2011-02-17 14:20:42 +01:00
Bert
b828b55419 Immediately respond to events while loading thumbs 2011-02-17 14:13:18 +01:00
Bert
15041f6100 Merge branch 'master' into thumbs
Conflicts:
	Makefile
2011-02-17 13:10:55 +01:00
Bert
caf982d175 Higher timeout, faster window resizing 2011-02-17 13:09:38 +01:00
Bert
783213c0bb Use watch-cursor while loading thumbnails 2011-02-17 11:08:25 +01:00
Bert
bcc70bd7cb Who needs threads to load thumbnails? 2011-02-17 11:04:58 +01:00
Bert
e0d0892065 Use pthread to load thumbnails 2011-02-16 23:03:42 +01:00
Bert
26c2179be7 Refactored thumbs, new files thumbs.[ch] 2011-02-16 21:40:20 +01:00
Bert
8919204a2e Render thumbnails 2011-02-16 18:16:00 +01:00
Bert
89ec18385b Added app-mode 2011-02-16 17:09:46 +01:00
Bert
7e2c85b04c Fixed thumbnail creation 2011-02-16 16:53:35 +01:00
Bert
7b49740613 First things for thumbnail mode 2011-02-16 16:47:12 +01:00
Bert
e8ed491ba9 Fixed empty lines in readline() 2011-02-15 15:30:37 +01:00
Bert
cfed65d36f More appropriate buffer sizes 2011-02-14 19:22:02 +01:00
Bert
f71ea095bc Fixed indentation 2011-02-14 17:53:46 +01:00
Bert
26cc5aff69 Read filenames from stdin 2011-02-14 17:51:04 +01:00
Bert
8e5835d1fd Handle image remove/rename while running 2011-02-09 16:32:40 +01:00
Bert
d731741f04 Handle WM_DELETE_WINDOW messages correctly, thanks to fungt 2011-02-09 10:01:49 +01:00
Bert
603e664f7c Nicer fit window to image 2011-02-06 17:40:48 +01:00
Bert
8339bb7ee7 New key mapping: W, resize window to fit image 2011-02-04 00:25:57 +01:00
Bert
096c0ed935 Removed some warnings 2011-02-03 22:05:13 +01:00
Bert
414fa567ce Split img_fit into internal/external function 2011-02-03 16:55:24 +01:00
Bert
c6556f8cc7 New key mappings: 0/w, zoom to 100%/to fit window 2011-02-03 16:14:49 +01:00
Bert
bad9a70a48 Display filesize in window title 2011-02-03 14:32:02 +01:00
Bert
12a94cc40e Manual event handling in main.c 2011-02-03 10:55:23 +01:00
Bert
8f4af658ae Refactored, new files util.[ch], C89 2011-02-03 10:15:01 +01:00
Bert
f5c125b3ee Fixed stupid memory leak in read_dir_rec 2011-02-02 20:46:56 +01:00
Bert
bbd7b7d595 New option: -r, open all images in directories 2011-02-02 10:34:14 +01:00
Bert
2afb989cc4 Skeleton for -r 2011-02-02 09:01:05 +01:00
Bert
5a682426b1 New key command: r, reload image 2011-01-31 16:06:40 +01:00
Bert
802c344879 Check file timestamps before loading from cache 2011-01-31 15:51:26 +01:00
Bert
f7a66469e6 Nicer key handling, does not fix problems 2011-01-30 20:46:48 +01:00
Bert
03bfe1015e Explicitly enable printing of warnings 2011-01-30 16:39:16 +01:00
Bert
c52c4fa69e Mouse-panning while pressing button2 2011-01-29 22:37:40 +01:00
Bert
019e2274a8 Map arrow keys to h/j/k/l 2011-01-28 13:42:39 +01:00
Bert
f47092cda2 Complete mouse support 2011-01-26 18:38:54 +01:00
Bert
0497a7f69d Merge remote branch 'falconindy/mouse' 2011-01-26 17:48:11 +01:00
Bert
7834dee6e7 Added a key-mapping for toggle anti-aliasing 2011-01-26 14:59:32 +01:00
Bert
64a5366508 Added <,> mappings to rotate image 2011-01-26 14:42:10 +01:00
Bert
d3da0eb71e Added man page 2011-01-23 18:20:08 +01:00
Bert
2b1c0885fe Implemented fullscreen mode 2011-01-23 16:14:41 +01:00
Dave Reisner
9a35f40224 main.c: add zooming on mousewheel events
Signed-off-by: Dave Reisner <d@falconindy.com>
2011-01-23 09:46:25 -05:00
Bert
6fed8db854 Added [,] mappings for go 10 images back/forward 2011-01-23 12:36:27 +01:00
Bert
2f7bd169ea Added g/G mappings for goto first/last image 2011-01-22 23:37:13 +01:00
Bert
0f714bccda Handle window resize events properly 2011-01-22 23:27:29 +01:00
Bert
b92ebf67ee Implemented panning 2011-01-21 13:48:02 +01:00
Bert
c7860b690b Stricter object encapsulation 2011-01-21 12:57:35 +01:00
Bert
629d37376d Merged img_display() into img_render() 2011-01-21 12:13:52 +01:00
Bert
b900105a4e Removed debug output 2011-01-21 10:41:50 +01:00
Bert
2d5247af4a More robust key handling 2011-01-21 10:30:10 +01:00
Bert
bb12b8c0fb First try on zooming 2011-01-20 23:22:00 +01:00
Bert
029e1208b9 No more expose handling 2011-01-20 21:44:34 +01:00
Bert
08018427c6 Put some useful information in the window title 2011-01-20 17:00:59 +01:00
Bert
a732e75d8a Check all given files before open the first 2011-01-20 16:24:48 +01:00
Bert
004f297ebb Go to next/previous image 2011-01-20 16:04:34 +01:00
Bert
00f32120a6 Handle expose events 2011-01-20 15:39:08 +01:00
Bert
8b3b28300f Made parse_options void 2011-01-19 18:16:44 +01:00
Bert
a7e30bb081 Option handling, merged app.c & events.c into main.c 2011-01-19 14:07:45 +01:00
Bert
544fd83718 Reordered function definitions 2011-01-18 15:33:25 +01:00
Bert
b9cd06df95 Basic main skeleton 2011-01-17 16:41:50 +01:00
Bert
e7bc3bb71b Non-working skeleton 2011-01-17 14:57:59 +01:00