Commit Graph

122 Commits

Author SHA1 Message Date
Bert b8ff1677b1 Major code refactoring
- Configurable key and mouse mappings in config.h
- Put event handling code from main.c into events.[ch]
2011-07-26 18:01:29 +02:00
Bert a271e16744 Reduced usage of preprocessor macros 2011-07-22 14:49:06 +02:00
Bert dde2d9d023 Support XK_KP_{Add,Subtract} for zooming 2011-06-28 15:47:48 +02:00
Bert bd87ae9346 All timeouts in milliseconds 2011-06-28 13:45:57 +02:00
Bert f52603b31a Small refactoring 2011-06-24 13:28:25 +02:00
Bert a6100373c1 New mappings: ctrl-[hjkl], pan image one window width/height 2011-06-03 23:39:22 +02:00
Bert ea23115af4 Use getline instead of readline 2011-05-29 11:45:58 +02:00
Bert 2252a0148d New option: -n, start at given picture 2011-05-25 09:23:23 +02:00
Bert 00e6cd2bd1 Show image dimension in window title 2011-05-22 19:42:33 +02:00
Bert 485e6c863a H/J/K/L mappings to pan to edges 2011-05-16 15:54:09 +02:00
Bert d54e64faae Fixed background color for non-EWMH-compliant WMs 2011-04-19 14:25:43 +02:00
Bert ba293b09df Center zoomed area 2011-04-19 13:27:20 +02:00
Bert 548b383f0b Fixed mouse cursor 2011-04-15 11:23:58 +02:00
Bert c58307ba38 Merged commands.h into config.h 2011-04-14 12:00:35 +02:00
Bert 5f8201110e Slightly changed introductory text 2011-04-11 20:42:08 +02:00
Bert d15264ea32 Remove invalid images when loading them; refactorings 2011-04-11 16:58:38 +02:00
Bert 5cb6d12a94 Refactored main.c 2011-04-11 11:53:00 +02:00
Bert bac610ddc4 Merge branch 'tcache'
Conflicts:
	main.c
2011-04-11 08:52:07 +02:00
Bert dc54981a68 New option: -C, clean thumbnail cache 2011-04-08 14:44:00 +02:00
Bert a90bd1c833 Refactored recursive directory util functions 2011-04-08 10:23:42 +02:00
Bert e9996882cb Moved read_dir_rec into util.c 2011-04-07 19:15:00 +02:00
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