muennich
d6a475e4b1
Simplified status bar, filled by user script
2013-01-12 23:40:16 +01:00
Bert Münnich
cd929eabfe
Fixed issue #73
2012-12-27 16:34:51 +01:00
muennich
5106472d8b
Fixed issue #72
2012-12-20 09:57:36 +01:00
Bert Münnich
0155223a1a
Merge branch 'newdraw'
2012-12-01 18:50:10 +01:00
Bert Münnich
1ae06ffd09
Next try to fix issue #71
2012-10-31 23:24:21 +01:00
Bert Münnich
4a5d5d26aa
Overhauled window drawing
...
- Draw onto pixmap as before, but use the same size for the pixmap as
for the window, allocate new pixmap after configure requests
- Use XCopyArea() instead of XSetWindowBackgroundPixmap(), which now
requires handling of Expose events
2012-10-29 18:36:48 +01:00
Bert Münnich
fd519ffc40
Disregard obsolete events, fixed issue #64
2012-08-17 16:54:29 +02:00
Bert Münnich
f2a3d73212
New command: i_alternate, go to last image, issue #65
2012-08-16 13:40:04 +02:00
Bert Münnich
d7ff54bb6e
Optimized redraw timeout after window resize for tiling window managers; related to issue #44
2012-03-13 21:58:48 +01:00
Bert Münnich
751ebb3b29
Fixed issue #39 : missing include of <sys/select.h>
2012-02-27 19:22:05 +01:00
Bert Münnich
ed2c9f7caa
Display full name in info bar, if there is enough space
2012-02-21 12:49:29 +01:00
Bert Münnich
a329615c68
Show info message in bar while loading thumbnails
2012-02-15 19:29:56 +01:00
Bert Münnich
d407dd65d5
Already in the year 2012
2012-02-15 19:16:24 +01:00
Bert Münnich
b752d5c594
Added symbol BAR_SEPARATOR
2012-02-15 18:25:45 +01:00
Bert Münnich
b8458271fb
Added text bar on bottom of window
2012-02-12 19:00:41 +01:00
Bert Münnich
8fc7cb73b3
Nicer window title
2012-02-11 03:36:15 +01:00
Bert Münnich
c3c95ab218
Removed slideshow support
2012-02-11 02:34:18 +01:00
Bert Münnich
71a7940d74
Better fix for issue #25
2011-11-01 08:36:20 +01:00
Bert Münnich
1cdbeb972a
Added screen-wise scrolling for thumbnail mode
2011-10-27 16:21:01 +02:00
Bert Münnich
867940ea85
Pan by pixel count, if number prefix given
2011-10-16 17:39:22 +02:00
Bert Münnich
dc727b8dce
Added support for number prefix for commands
2011-10-16 16:08:55 +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
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
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