Commit Graph
100 Commits
Author SHA1 Message Date
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 78f48fe68d Updated doc 2011-09-13 10:08:55 +02:00
Bert 81cfbf171d Renamed XLIBS to config, added -D/-l options 2011-09-13 10:08:35 +02:00
Bert 255dd5bbcd Updated screenshot to reflect new title bar 2011-09-12 19:35:37 +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 32a65201bb Shortened additional features section 2011-09-12 15:12:55 +02:00
Bert da829a63b2 Removed Makefile.netbsd 2011-09-12 12:16:21 +02:00
Bert 8f99adbbbd Made XFLAGS & XLIBS macros only 2011-09-12 12:16:10 +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 79d780a701 List additional features in usage message (-v) 2011-09-10 12:29:54 +02:00
Bert 6e575b0f72 Strict conformance to IEEE Std 1003.1-2001 2011-09-08 20:54:24 +02:00
Bert 3a4f3862a7 Added screenshots to README.md 2011-09-08 17:31:37 +02:00
Bert 0f91d28f40 Added feature overview to README.md 2011-09-08 16:48:55 +02:00
Bert 70d37c583c Updated doc 2011-09-08 16:19:39 +02:00
Bert 03b8e85a4f Fixed exif-only typo in tns_load() 2011-09-08 16:19:30 +02:00
Bert 348707a366 Added section "Additional features" to README.md 2011-09-08 16:02:46 +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 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 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 a23636d95e Fixed pointer-to-int-cast warnings on x86_64 2011-09-03 23:07:14 +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 9fa0bbca17 Simplified it_shell_cmd() using SXIV_IMG env-variable 2011-09-03 15:58:58 +02:00
Bert de6b58a315 Unified feature test macro requirements 2011-09-03 14:22:06 +02:00
Bert e2ea759444 Updated docs 2011-09-02 18:54:52 +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 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 a85707ef63 Fixed include in thumbs.h 2011-08-19 15:02:35 +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 1c68a34463 Renamed key/mouse commands to indicate supported modes 2011-08-19 13:06:19 +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 27591b5a52 Small refactorings 2011-08-18 12:05:38 +02:00
Bert 5c77e1aa22 Fixed hyphen-used-as-minus-sign issues in man page 2011-08-18 01:19:59 +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 2a3a9657d3 Fixed keyboard mappings 2011-08-17 01:11:47 +02:00
Bert 6d624f6cc2 Stable version 0.9 2011-08-17 00:57:48 +02:00
Bert 49c580c84e No more need for CLEANMASK macro 2011-08-12 17:14:28 +02:00
Bert d86c95d795 Made run_command() a normal key/button handler 2011-08-12 17:14:14 +02:00
Bert 75e36939a1 Much better drag()
No more need to pass XEvent* to handler functions
2011-08-12 12:27:07 +02:00
Bert 2b7192b1ac Renamed scroll() to pan_screen() 2011-08-05 10:17:36 +02:00
Bert 6b2a098289 Added -O2 flag to CFLAGS 2011-08-05 10:17:07 +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 0a171a9c8b Fixed dependency on Makefile & config.h 2011-07-17 22:16:46 +02:00
Bert 272ebff865 Lighter selection color 2011-07-17 20:20:34 +02:00
Bert bff3e84b0c Mention the vi key bindings in the README 2011-07-07 13:34:21 +02:00
Bert c4b48e7766 Stable version 0.8.2 2011-06-29 16:07:12 +02:00
Bert 1c05ef49e4 Fixed Makefile.netbsd 2011-06-29 16:06:23 +02:00
Bert 8a420ff4a6 Added Makefile for NetBSD 2011-06-28 19:19:02 +02:00
Bert fe281548fc Fixed Makefile 2011-06-28 19:18:05 +02:00
Bert 2e1d752777 Fix compile error on NetBSD 2011-06-28 15:48:17 +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 03009f59fc Made Makefile POSIX compliant 2011-06-08 20:10:28 +02:00
Bert b563a0adb2 Fixed mtime cache check on filesystems supporting nsec resolution 2011-06-06 15:58:59 +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 65a2c8625d Updated doc 2011-05-16 15:58:19 +02:00
Bert 485e6c863a H/J/K/L mappings to pan to edges 2011-05-16 15:54:09 +02:00
Bert 1763e9f253 Unstable version number in Makefile 2011-05-10 09:47:24 +02:00
Bert fdafbf72b7 Stable version 0.8.1 2011-05-08 17:47:29 +02:00
Bert d227b17d96 Made fullscreen work under buggy window managers 2011-04-19 14:44:26 +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 0b91328181 Fix fullscreen mode 2011-04-14 20:01:11 +02:00
Bert 8056ddbfd7 Slightly changed config.h 2011-04-14 12:19:20 +02:00
Bert c58307ba38 Merged commands.h into config.h 2011-04-14 12:00:35 +02:00
Bert 75c79bef6f Stable version 0.8 2011-04-14 11:17:24 +02:00
Bert ecd5e7108c Renamed option -C -> -c 2011-04-11 21:27:20 +02:00
Bert 5f8201110e Slightly changed introductory text 2011-04-11 20:42:08 +02:00
Bert c6ca88ea3f Removed invalid icon 2011-04-11 17:02:59 +02:00
Bert f4b9bc9a1d Removed option -a 2011-04-11 17:01:33 +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