Commit Graph

201 Commits

Author SHA1 Message Date
Bert Münnich
36177fb180 Updated contact information 2011-10-14 10:40:49 +02:00
Bert Münnich
4383a651c7 Strictly adhere to ANSI-C standard 2011-10-13 16:50:06 +02:00
Bert Münnich
a09b20c5e6 Use void for empty argument lists 2011-10-12 18:38:29 +02:00
Bert Münnich
8dcf682de9 Made all conditionals more precise 2011-09-29 12:43:36 +02:00
Bert Münnich
22d4e991d5 Transformed function macros in util.h to inline functions 2011-09-29 10:16:13 +02:00
Bert Münnich
d08408e942 Make use of EXIT_* macros (2) 2011-09-26 21:28:27 +02:00
rck
3a81af41ac make use of EXIT_ macros 2011-09-26 15:40:07 +02:00
Bert Münnich
515e410451 Use win_t member in img_t & tns_t instead of parameters 2011-09-17 17:23:51 +02:00
Bert
b2a2a62b7b Added own bool type 2011-09-11 21:01:24 +02:00
Bert
510512714d Added slideshow support 2011-09-10 18:41:20 +02:00
Bert
6e575b0f72 Strict conformance to IEEE Std 1003.1-2001 2011-09-08 20:54:24 +02:00
Bert
8f34b7e95c Load as much of a corrupted gif file as possible 2011-09-06 11:55:31 +02:00
Bert
711494ad36 Avoid conflicting macros 2011-09-06 09:11:03 +02:00
Bert
2bbdd2f5b9 Fixed title-update in thumb mode 2011-09-04 20:14:38 +02:00
Bert
d585b86354 Reformated license header 2011-09-03 23:11:45 +02:00
Bert
c2320a2f49 Fixed remove_file() 2011-09-03 19:08:49 +02:00
Bert
a7a849761f Simplified cursor resetting 2011-09-03 17:01:39 +02:00
Bert
abb5feeb78 Corrected timeout handling 2011-09-02 18:54:41 +02:00
Bert
dcd04e526d Corrected thumbnail loading and timeout handling 2011-09-02 15:56:03 +02:00
Bert
1e84773276 Data driven timeout handling 2011-09-02 04:33:44 +02:00
Bert
bb577d274d Added command to toggle gif animations 2011-08-19 18:46:17 +02:00
Bert
8b3ae5027e Added support for gif animation 2011-08-19 15:22:16 +02:00
Bert
79bd86defb Refactored img_load_gif()
- Corrected handling of transparency settings for individual frames
- Corrected handling of different frame dimensions & offsets
2011-08-19 15:12:30 +02:00
Bert
86a6f00112 Added support for multi-frame images 2011-08-19 15:12:30 +02:00
Bert
1d749382f0 Put event handling back into main.c; events -> commands 2011-08-19 15:02:10 +02:00
Bert
1d7849efc1 Added force parameter to tns_load() to disregard cache 2011-08-19 13:26:58 +02:00
Bert
421f012022 Renamed application modes 2011-08-19 13:09:22 +02:00
Bert
8763f6930f Corrected FSF address in license headers 2011-08-18 01:18:26 +02:00
Bert
ff013dd009 Revised handling of file names & paths 2011-08-18 00:38:55 +02:00
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
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