Bert Münnich
38ecea3b4d
Polished info script execution
12 years ago
Bert Münnich
30802cec0f
Spawn info script & update bar contents only when needed
12 years ago
Bert Münnich
f3298400e6
Spawn and read from info script without blocking
12 years ago
Bert Münnich
bf41012493
Merge remote-tracking branch '4z3/set-user-specified-sizehints' into sizehints
...
Conflicts:
window.c
12 years ago
Bert Münnich
08ae25da22
Refactored function definitions to use dangling brace
12 years ago
Bert Münnich
6d3bbc6d5e
Updated/corrected license header
12 years ago
tv
3f25b907bd
When using -g hint the WM that we've got user specified geometry
...
Without this some window managers (e.g. fvwm) will ignore the initial
window position and place it according to it's own rules.
12 years ago
muennich
d6a475e4b1
Simplified status bar, filled by user script
12 years ago
Bert Münnich
cd929eabfe
Fixed issue #73
12 years ago
muennich
5106472d8b
Fixed issue #72
12 years ago
Bert Münnich
0155223a1a
Merge branch 'newdraw'
12 years ago
Bert Münnich
1ae06ffd09
Next try to fix issue #71
12 years ago
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
12 years ago
Bert Münnich
fd519ffc40
Disregard obsolete events, fixed issue #64
12 years ago
Bert Münnich
f2a3d73212
New command: i_alternate, go to last image, issue #65
12 years ago
Bert Münnich
d7ff54bb6e
Optimized redraw timeout after window resize for tiling window managers; related to issue #44
13 years ago
Bert Münnich
751ebb3b29
Fixed issue #39 : missing include of <sys/select.h>
13 years ago
Bert Münnich
ed2c9f7caa
Display full name in info bar, if there is enough space
13 years ago
Bert Münnich
a329615c68
Show info message in bar while loading thumbnails
13 years ago
Bert Münnich
d407dd65d5
Already in the year 2012
13 years ago
Bert Münnich
b752d5c594
Added symbol BAR_SEPARATOR
13 years ago
Bert Münnich
b8458271fb
Added text bar on bottom of window
13 years ago
Bert Münnich
8fc7cb73b3
Nicer window title
13 years ago
Bert Münnich
c3c95ab218
Removed slideshow support
13 years ago
Bert Münnich
71a7940d74
Better fix for issue #25
13 years ago
Bert Münnich
1cdbeb972a
Added screen-wise scrolling for thumbnail mode
13 years ago
Bert Münnich
867940ea85
Pan by pixel count, if number prefix given
13 years ago
Bert Münnich
dc727b8dce
Added support for number prefix for commands
13 years ago
Bert Münnich
36177fb180
Updated contact information
13 years ago
Bert Münnich
4383a651c7
Strictly adhere to ANSI-C standard
13 years ago
Bert Münnich
a09b20c5e6
Use void for empty argument lists
13 years ago
Bert Münnich
8dcf682de9
Made all conditionals more precise
13 years ago
Bert Münnich
22d4e991d5
Transformed function macros in util.h to inline functions
13 years ago
Bert Münnich
d08408e942
Make use of EXIT_* macros (2)
13 years ago
rck
3a81af41ac
make use of EXIT_ macros
13 years ago
Bert Münnich
515e410451
Use win_t member in img_t & tns_t instead of parameters
13 years ago
Bert
b2a2a62b7b
Added own bool type
13 years ago
Bert
510512714d
Added slideshow support
13 years ago
Bert
6e575b0f72
Strict conformance to IEEE Std 1003.1-2001
13 years ago
Bert
8f34b7e95c
Load as much of a corrupted gif file as possible
13 years ago
Bert
711494ad36
Avoid conflicting macros
13 years ago
Bert
2bbdd2f5b9
Fixed title-update in thumb mode
13 years ago
Bert
d585b86354
Reformated license header
13 years ago
Bert
c2320a2f49
Fixed remove_file()
13 years ago
Bert
a7a849761f
Simplified cursor resetting
13 years ago
Bert
abb5feeb78
Corrected timeout handling
13 years ago
Bert
dcd04e526d
Corrected thumbnail loading and timeout handling
13 years ago
Bert
1e84773276
Data driven timeout handling
13 years ago
Bert
bb577d274d
Added command to toggle gif animations
13 years ago
Bert
8b3ae5027e
Added support for gif animation
13 years ago
Bert
79bd86defb
Refactored img_load_gif()
...
- Corrected handling of transparency settings for individual frames
- Corrected handling of different frame dimensions & offsets
13 years ago
Bert
86a6f00112
Added support for multi-frame images
13 years ago
Bert
1d749382f0
Put event handling back into main.c; events -> commands
13 years ago
Bert
1d7849efc1
Added force parameter to tns_load() to disregard cache
13 years ago
Bert
421f012022
Renamed application modes
13 years ago
Bert
8763f6930f
Corrected FSF address in license headers
13 years ago
Bert
ff013dd009
Revised handling of file names & paths
13 years ago
Bert
b8ff1677b1
Major code refactoring
...
- Configurable key and mouse mappings in config.h
- Put event handling code from main.c into events.[ch]
13 years ago
Bert
a271e16744
Reduced usage of preprocessor macros
13 years ago
Bert
dde2d9d023
Support XK_KP_{Add,Subtract} for zooming
13 years ago
Bert
bd87ae9346
All timeouts in milliseconds
13 years ago
Bert
f52603b31a
Small refactoring
13 years ago
Bert
a6100373c1
New mappings: ctrl-[hjkl], pan image one window width/height
14 years ago
Bert
ea23115af4
Use getline instead of readline
14 years ago
Bert
2252a0148d
New option: -n, start at given picture
14 years ago
Bert
00e6cd2bd1
Show image dimension in window title
14 years ago
Bert
485e6c863a
H/J/K/L mappings to pan to edges
14 years ago
Bert
d54e64faae
Fixed background color for non-EWMH-compliant WMs
14 years ago
Bert
ba293b09df
Center zoomed area
14 years ago
Bert
548b383f0b
Fixed mouse cursor
14 years ago
Bert
c58307ba38
Merged commands.h into config.h
14 years ago
Bert
5f8201110e
Slightly changed introductory text
14 years ago
Bert
d15264ea32
Remove invalid images when loading them; refactorings
14 years ago
Bert
5cb6d12a94
Refactored main.c
14 years ago
Bert
bac610ddc4
Merge branch 'tcache'
...
Conflicts:
main.c
14 years ago
Bert
dc54981a68
New option: -C, clean thumbnail cache
14 years ago
Bert
a90bd1c833
Refactored recursive directory util functions
14 years ago
Bert
e9996882cb
Moved read_dir_rec into util.c
14 years ago
Bert
b2f1b997ed
Disable support for external commands by default
14 years ago
Bert
d7c1f0a85d
Removed escape key mapping
14 years ago
Bert
fa81707540
New key mapping: D, remove image from file list
14 years ago
Bert
facd7e3b42
New option: -a, do not filter out unsupported files
14 years ago
Bert
426edfb349
Readded file-type check at startup
14 years ago
Bert
8d4e3a57ab
Do not check file-type at startup
14 years ago
Bert
87a9828417
Filename cosmetics
14 years ago
Bert
3672c0bc63
Toggle image transparency with A-key
14 years ago
Bert
a82c45431b
Use ctrl for ext cmds, disable them in config.h
14 years ago
Bert
00d4b0f7cf
Use "/bin/sh -c" for external commands
14 years ago
Bert
c05fd44bdd
Support for external commands like mogrify & jpegtran
14 years ago
Bert
955c39a5c5
Shorter typedefs
14 years ago
Bert
9b24f82404
Small refactorings, removed over-ambitious todo
14 years ago
Bert
7334bdfa51
Revert "Save rotated png-files with S-key"
...
This reverts commit 090ee5405b
.
14 years ago
Bert
090ee5405b
Save rotated png-files with S-key
14 years ago
Bert
c5f6b2c0d5
Sort directory entries when using -r
14 years ago
Bert
dafe7eac74
Refactored imlib context handling
14 years ago
Bert
4cfb8a204a
Correct timeout handling, more complex
14 years ago
Bert
88b5c5f2e4
Fixed cursor hiding after switching to thumb mode
14 years ago
Bert
fde9f5bf85
Hide cursor on redraw or after 1.5s mouse inactivity
14 years ago
Bert
ea80c73520
Fixed title for thumbnail mode
14 years ago
Bert
f2b8a75f6c
Always support thumbs; start thumb-mode with single -t
14 years ago
Bert
72e8baf13e
Mode-guard in on_motionnotify
14 years ago
Bert
f0f6644fae
Replaced -T flag with -tt; default thumbnail size
14 years ago
Bert
a30901210c
Mouse-wheel scrolling in thumb mode
14 years ago
Bert
4cc6ca939c
g/G key mappings in thumbnail mode
14 years ago
Bert
a345c963f8
Double click thumb to open
14 years ago
Bert
26bb005458
Merge branch 'master' into thumbs
...
Conflicts:
main.c
14 years ago
Bert
09335fdc14
Fixed offsets in resize win to image
14 years ago
Bert
a152f82ce6
Sync thumb selection & fileidx; check thumb view
14 years ago
Bert
a367d35ba0
Update title when moving selection
14 years ago
Bert
76cca4ecb6
Activate thumb-mode with Return key
14 years ago
Bert
f235b62741
Fixed cursor when opening thumb
14 years ago
Bert
e2ef9b8323
Variable timeout (2)
14 years ago
Bert
fbfec45b33
Variable timeout
14 years ago
Bert
6adbb3831d
Use Button1 to open thumbnail
14 years ago
Bert
f08c24bbb3
Select and open thumbnails
14 years ago
Bert
095217b26f
Linked thumbnails to files
14 years ago
Bert
f554cdf60e
Made key mappings mode-dependent
14 years ago
Bert
e09a6b5e3f
Appropriate title for thumbnail mode
14 years ago
Bert
1c072cc0d0
Fill window before loading thumbs
14 years ago
Bert
b828b55419
Immediately respond to events while loading thumbs
14 years ago
Bert
15041f6100
Merge branch 'master' into thumbs
...
Conflicts:
Makefile
14 years ago
Bert
caf982d175
Higher timeout, faster window resizing
14 years ago
Bert
783213c0bb
Use watch-cursor while loading thumbnails
14 years ago
Bert
bcc70bd7cb
Who needs threads to load thumbnails?
14 years ago
Bert
e0d0892065
Use pthread to load thumbnails
14 years ago
Bert
26c2179be7
Refactored thumbs, new files thumbs.[ch]
14 years ago
Bert
8919204a2e
Render thumbnails
14 years ago
Bert
89ec18385b
Added app-mode
14 years ago
Bert
7e2c85b04c
Fixed thumbnail creation
14 years ago
Bert
7b49740613
First things for thumbnail mode
14 years ago
Bert
e8ed491ba9
Fixed empty lines in readline()
14 years ago
Bert
cfed65d36f
More appropriate buffer sizes
14 years ago
Bert
f71ea095bc
Fixed indentation
14 years ago
Bert
26cc5aff69
Read filenames from stdin
14 years ago
Bert
8e5835d1fd
Handle image remove/rename while running
14 years ago
Bert
d731741f04
Handle WM_DELETE_WINDOW messages correctly, thanks to fungt
14 years ago
Bert
603e664f7c
Nicer fit window to image
14 years ago
Bert
8339bb7ee7
New key mapping: W, resize window to fit image
14 years ago
Bert
096c0ed935
Removed some warnings
14 years ago
Bert
414fa567ce
Split img_fit into internal/external function
14 years ago
Bert
c6556f8cc7
New key mappings: 0/w, zoom to 100%/to fit window
14 years ago
Bert
bad9a70a48
Display filesize in window title
14 years ago
Bert
12a94cc40e
Manual event handling in main.c
14 years ago
Bert
8f4af658ae
Refactored, new files util.[ch], C89
14 years ago
Bert
f5c125b3ee
Fixed stupid memory leak in read_dir_rec
14 years ago
Bert
bbd7b7d595
New option: -r, open all images in directories
14 years ago
Bert
2afb989cc4
Skeleton for -r
14 years ago
Bert
5a682426b1
New key command: r, reload image
14 years ago
Bert
802c344879
Check file timestamps before loading from cache
14 years ago
Bert
f7a66469e6
Nicer key handling, does not fix problems
14 years ago
Bert
03bfe1015e
Explicitly enable printing of warnings
14 years ago
Bert
c52c4fa69e
Mouse-panning while pressing button2
14 years ago
Bert
019e2274a8
Map arrow keys to h/j/k/l
14 years ago
Bert
f47092cda2
Complete mouse support
14 years ago
Bert
0497a7f69d
Merge remote branch 'falconindy/mouse'
14 years ago
Bert
7834dee6e7
Added a key-mapping for toggle anti-aliasing
14 years ago
Bert
64a5366508
Added <,> mappings to rotate image
14 years ago
Bert
d3da0eb71e
Added man page
14 years ago
Bert
2b1c0885fe
Implemented fullscreen mode
14 years ago
Dave Reisner
9a35f40224
main.c: add zooming on mousewheel events
...
Signed-off-by: Dave Reisner <d@falconindy.com>
14 years ago
Bert
6fed8db854
Added [,] mappings for go 10 images back/forward
14 years ago
Bert
2f7bd169ea
Added g/G mappings for goto first/last image
14 years ago
Bert
0f714bccda
Handle window resize events properly
14 years ago
Bert
b92ebf67ee
Implemented panning
14 years ago
Bert
c7860b690b
Stricter object encapsulation
14 years ago
Bert
629d37376d
Merged img_display() into img_render()
14 years ago
Bert
b900105a4e
Removed debug output
14 years ago
Bert
2d5247af4a
More robust key handling
14 years ago
Bert
bb12b8c0fb
First try on zooming
14 years ago
Bert
029e1208b9
No more expose handling
14 years ago
Bert
08018427c6
Put some useful information in the window title
14 years ago
Bert
a732e75d8a
Check all given files before open the first
14 years ago
Bert
004f297ebb
Go to next/previous image
14 years ago
Bert
00f32120a6
Handle expose events
14 years ago
Bert
8b3b28300f
Made parse_options void
14 years ago
Bert
a7e30bb081
Option handling, merged app.c & events.c into main.c
14 years ago
Bert
544fd83718
Reordered function definitions
14 years ago
Bert
b9cd06df95
Basic main skeleton
14 years ago
Bert
e7bc3bb71b
Non-working skeleton
14 years ago