Commit Graph

119 Commits

Author SHA1 Message Date
Bert Münnich
ac4eb53029 Fixed issue #28 (again) 2011-11-13 15:53:09 +01:00
Bert Münnich
5034792948 Thumbnails only get scaled down, fixed issue #27 2011-11-05 13:11:50 +01:00
Bert Münnich
1cdbeb972a Added screen-wise scrolling for thumbnail mode 2011-10-27 16:21:01 +02:00
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
d721d8453e Added STREQ macro 2011-09-26 21:53:52 +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
dad06c7561 Much nicer handling of compile-time features
- *_SUPPORT enabled in config.h
- XLIBS helper app prints lib flags needed for current settings
2011-09-12 19:28:02 +02:00
Bert
b2a2a62b7b Added own bool type 2011-09-11 21:01:24 +02:00
Bert
6e575b0f72 Strict conformance to IEEE Std 1003.1-2001 2011-09-08 20:54:24 +02:00
Bert
03b8e85a4f Fixed exif-only typo in tns_load() 2011-09-08 16:19:30 +02:00
Bert
fdbc5cf76b Added EXIF_SUPPORT macro for optional dependency on libexif 2011-09-08 15:58:30 +02:00
Bert
bfab4dc328 Added EXIF auto-orientation 2011-09-08 15:57:44 +02:00
Bert
26eae8be96 Made i(t)_toggle_alpha command work in thumbnail mode too 2011-09-04 13:29:17 +02:00
Bert
d585b86354 Reformated license header 2011-09-03 23:11:45 +02:00
Bert
de6b58a315 Unified feature test macro requirements 2011-09-03 14:22:06 +02:00
Bert
1d7849efc1 Added force parameter to tns_load() to disregard cache 2011-08-19 13:26:58 +02:00
Bert
535c18afda Uniform thumbnail selection border size
- Consistent handling of thumbnails
- Makes it easier to select very small thumbnails with mouse
2011-08-19 12:20:00 +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
2bad53c33d Simpler thumbnail selection border 2011-07-27 00:20:27 +02:00
Bert
3e4f63e3e2 Nicer thumbnail selection border; new default colors 2011-07-26 23:58:31 +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
5f780fc3e7 Made selection border in thumb mode 3px wide 2011-07-17 22:18:09 +02:00
Bert
2e1d752777 Fix compile error on NetBSD 2011-06-28 15:48:17 +02:00
Bert
b563a0adb2 Fixed mtime cache check on filesystems supporting nsec resolution 2011-06-06 15:58:59 +02:00
Bert
d15264ea32 Remove invalid images when loading them; refactorings 2011-04-11 16:58:38 +02:00
Bert
dd9e5dabb1 Removed debug output 2011-04-08 19:43:27 +02:00
Bert
dc54981a68 New option: -C, clean thumbnail cache 2011-04-08 14:44:00 +02:00
Bert
eee921efe0 Refactored thumbs.c 2011-04-08 10:24:10 +02:00
Bert
7d40faeba6 Do not create cache files for cache files 2011-04-07 18:00:01 +02:00
Bert
92709b2b2f Use directory structure in cache dir 2011-04-07 17:29:59 +02:00
Bert
f52a99db6c Refactored thumbnail cache_dir 2011-04-07 17:23:47 +02:00
Bert
f93f4d887c Write cache file for thumbnail directly after creating it 2011-04-07 16:17:10 +02:00
Bert
1d0f51f95a Load thumbnails from cache 2011-04-07 15:05:17 +02:00
Bert
c21a3e3f28 Write thumbnail cache files on exit 2011-04-07 14:33:57 +02:00
Bert
83bdf67d51 First things for thumbnail caching 2011-04-07 01:26:08 +02:00
Bert
9fcf2c8f34 Small refactoring in tns_load() 2011-04-07 00:26:45 +02:00
Bert
8d4e3a57ab Do not check file-type at startup 2011-04-04 20:35:10 +02:00
Bert
55659ffcc3 Use imlib-handles in thumbs.c instead of pixmaps 2011-03-15 13:55:52 +01:00
Bert
d982b06eed White background for images with alpha 2011-03-09 11:37:49 +01:00
Bert
c05fd44bdd Support for external commands like mogrify & jpegtran 2011-03-01 18:49:02 +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
dafe7eac74 Refactored imlib context handling 2011-02-25 12:08:12 +01:00
Bert
f2b8a75f6c Always support thumbs; start thumb-mode with single -t 2011-02-21 14:59:29 +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
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
c6726ed331 Nicer tns_move_selection 2011-02-18 15:33:52 +01:00
Bert
62f4ab037a Fixed moving of selection while loading thumbnails 2011-02-18 15:21:13 +01:00
Bert
637be49075 Nicer tns_translate 2011-02-18 15:02:49 +01:00
Bert
73a9279598 Center humbnails in window 2011-02-18 14:57:24 +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
ef24ded6af Highlight selected thumbnail 2011-02-17 16:22:54 +01:00
Bert
095217b26f Linked thumbnails to files 2011-02-17 15:58:11 +01:00
Bert
ac747c3f91 Removed debug output 2011-02-17 14:58:15 +01:00
Bert
e09a6b5e3f Appropriate title for thumbnail mode 2011-02-17 14:45:54 +01:00
Bert
b828b55419 Immediately respond to events while loading thumbs 2011-02-17 14:13:18 +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