Commit Graph

178 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 4864f04455 Regard gif disposal method; fix bug #18 2011-10-11 20:28:58 +02:00
Bert Münnich 71e61b13b2 Made zoomdiff an inline function 2011-09-29 13:12:40 +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 d369f10aa5 Fix layering of small gif frames 2011-09-28 12:53:44 +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
Daniel 82df0b34e9 270/90 = 3 2011-09-14 19:28:44 +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 e2d4b9c791 Added dirty flag to img struct 2011-09-11 01:13:45 +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 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 b96c106337 Overhauled building
- config.h -> config.def.h
- Create config.h during make, if it does not exist
- Nice make output
- Use XFLAGS and XLIBS to include additional compile-time features,
  which depend on third-party libraries
2011-09-08 15:41:18 +02:00
Bert 8f34b7e95c Load as much of a corrupted gif file as possible 2011-09-06 11:55:31 +02:00
Bert 14d1daf280 Removed useless zl_cnt variable 2011-09-06 11:04:47 +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 391e6e7079 Mention origin of img_load_gif() in comment 2011-08-20 13:07:36 +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 a4b90aee20 Added HAVE_GIFLIB macro for optional dependency on giflib 2011-08-19 15:12:30 +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 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 2b7192b1ac Renamed scroll() to pan_screen() 2011-08-05 10:17:36 +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 a6100373c1 New mappings: ctrl-[hjkl], pan image one window width/height 2011-06-03 23:39:22 +02:00
Bert 485e6c863a H/J/K/L mappings to pan to edges 2011-05-16 15:54:09 +02:00
Bert ba293b09df Center zoomed area 2011-04-19 13:27:20 +02:00
Bert d15264ea32 Remove invalid images when loading them; refactorings 2011-04-11 16:58:38 +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 3672c0bc63 Toggle image transparency with A-key 2011-03-10 11:41:40 +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 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 5a35484e71 Align big images on top-left corner 2011-02-26 13:16:14 +01:00
Bert dafe7eac74 Refactored imlib context handling 2011-02-25 12:08:12 +01:00
Bert 1ac3302923 Nicer icon for broken images 2011-02-17 15:40:36 +01:00
Bert ea65610747 Load warning icon only once 2011-02-09 17:05:09 +01:00
Bert 8e5835d1fd Handle image remove/rename while running 2011-02-09 16:32:40 +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 8f4af658ae Refactored, new files util.[ch], C89 2011-02-03 10:15:01 +01:00
Bert 1576eb4e17 Refactored img_open and img_check 2011-02-01 16:10:08 +01:00
Bert 802c344879 Check file timestamps before loading from cache 2011-01-31 15:51:26 +01:00
Bert 229830ad18 Replace -w with well-known geometry option 2011-01-30 22:00:58 +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 8123d63c5b Added plenty lots of options 2011-01-28 13:34:16 +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
Bert 0f714bccda Handle window resize events properly 2011-01-22 23:27:29 +01:00
Bert b92ebf67ee Implemented panning 2011-01-21 13:48:02 +01:00
Bert c7860b690b Stricter object encapsulation 2011-01-21 12:57:35 +01:00
Bert 629d37376d Merged img_display() into img_render() 2011-01-21 12:13:52 +01:00
Bert 9dc46c1d81 Nicer zooming 2011-01-21 10:29:31 +01:00
Bert bb12b8c0fb First try on zooming 2011-01-20 23:22:00 +01:00
Bert 029e1208b9 No more expose handling 2011-01-20 21:44:34 +01:00
Bert a732e75d8a Check all given files before open the first 2011-01-20 16:24:48 +01:00
Bert 00f32120a6 Handle expose events 2011-01-20 15:39:08 +01:00
Bert 6851d5c4e5 Removed im member from img struct 2011-01-19 18:03:32 +01:00
Bert a7e30bb081 Option handling, merged app.c & events.c into main.c 2011-01-19 14:07:45 +01:00
Bert 79c7e6178e Render image on window 2011-01-18 20:11:28 +01:00
Bert bb4edc756c Renamed FATAL to DIE 2011-01-18 17:21:59 +01:00
Bert 2a2f0307c1 Basic image loading 2011-01-18 17:20:41 +01:00
Bert 7121e7b468 Initialize imlib2 2011-01-18 16:40:37 +01:00
Bert e7bc3bb71b Non-working skeleton 2011-01-17 14:57:59 +01:00