Commit Graph

50 Commits

Author SHA1 Message Date
Bert Münnich
d3a70a285d Revised error handling
- Functions warn() and die() replaced by GNU-like error(3) function
- Register cleanup() with atexit(3)
- Functions called by cleanup() are marked with CLEANUP and are not allowed to
  call exit(3)
2015-10-28 23:03:37 +01:00
Bert Münnich
47af0dd7b5 Cache out of view thumbnails in the background 2015-01-04 21:24:43 +01:00
Bert Münnich
ddd028eb3e Unified file count variable for image & thumbnail mode 2014-09-30 21:54:17 +02:00
Bert Münnich
0e4db69ff5 Scale thumbnail selection border width with thumbnail size 2014-09-29 09:36:43 +02:00
Bert Münnich
8fa7247f69 Refactored thumbnail size dependent calculations 2014-09-29 08:47:01 +02:00
Bert Münnich
7b91e10f22 Added thumbnail zooming...
- Key mappings +/- are now general commands
- Use JPG as thumbnail cache file format instead of PNG
- Fixes issue #161
2014-09-28 00:28:50 +02:00
Bert Münnich
eaa269b6cb Revised thumbnail loading...
- Only load the thumbnails that are currently visible in the window
- Unload thumbnails that are leaving the visible area
- Much less memory needed, but scrolling is now slower
- This also unintentionally fixes issue #86
2014-09-26 10:31:03 +02:00
Bert Münnich
e49d38d6f9 Fixed wrong thumbnail-to-file mappings caused by file deletions 2014-08-16 22:21:51 +02:00
Bert Münnich
e267dc7793 Pass marked files to external key handler in thumbnail mode; fixes issue #135 2014-08-16 21:49:46 +02:00
Bert Münnich
5b01c15176 Unified file index variable for image & thumbnail mode 2014-08-16 21:49:45 +02:00
Bert Münnich
61f61cae5f Generalized thumbnail loading, allows easier reloading of thumbnails later on 2014-08-16 21:48:52 +02:00
Bert Münnich
e685859a30 Use a checkerboard background for alpha layer; fixes issue #138 2014-04-06 22:47:42 +02:00
Bert Münnich
99dfd14919 Fixed Imlib file handle type, issue #117 2013-12-13 13:04:45 +01:00
Bert Münnich
38bc23405d Highlight edges of marked images in thumbnail mode 2013-11-14 14:37:08 +01:00
Bert Münnich
6d3bbc6d5e Updated/corrected license header 2013-02-08 21:52:41 +01:00
baskerville
c330b55de4 handle count prefix in thumbnail movements 2012-07-15 10:30:58 +02:00
Bert Münnich
d407dd65d5 Already in the year 2012 2012-02-15 19:16:24 +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
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
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
a85707ef63 Fixed include in thumbs.h 2011-08-19 15:02:35 +02:00
Bert
1d7849efc1 Added force parameter to tns_load() to disregard cache 2011-08-19 13:26:58 +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
a271e16744 Reduced usage of preprocessor macros 2011-07-22 14:49:06 +02:00
Bert
d15264ea32 Remove invalid images when loading them; refactorings 2011-04-11 16:58:38 +02:00
Bert
dc54981a68 New option: -C, clean thumbnail cache 2011-04-08 14:44:00 +02:00
Bert
83bdf67d51 First things for thumbnail caching 2011-04-07 01:26:08 +02:00
Bert
55659ffcc3 Use imlib-handles in thumbs.c instead of pixmaps 2011-03-15 13:55:52 +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
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
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
e09a6b5e3f Appropriate title for thumbnail mode 2011-02-17 14:45:54 +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