Commit Graph

299 Commits

Author SHA1 Message Date
Bert Münnich 4864f04455 Regard gif disposal method; fix bug #18 2011-10-11 20:28:58 +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 d08408e942 Make use of EXIT_* macros (2) 2011-09-26 21:28:27 +02:00
Bert Münnich 8e1d8a97d3 Simplified config.c 2011-09-23 00:18:51 +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 81cfbf171d Renamed XLIBS to config, added -D/-l options 2011-09-13 10:08:35 +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 8f99adbbbd Made XFLAGS & XLIBS macros only 2011-09-12 12:16:10 +02:00
Bert e2d4b9c791 Added dirty flag to img struct 2011-09-11 01:13:45 +02:00
Bert 79d780a701 List additional features in usage message (-v) 2011-09-10 12:29:54 +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 711494ad36 Avoid conflicting macros 2011-09-06 09:11:03 +02:00
Bert 26eae8be96 Made i(t)_toggle_alpha command work in thumbnail mode too 2011-09-04 13:29:17 +02:00
Bert a7a849761f Simplified cursor resetting 2011-09-03 17:01:39 +02:00
Bert 1e84773276 Data driven timeout handling 2011-09-02 04:33:44 +02:00
Bert a4b90aee20 Added HAVE_GIFLIB macro for optional dependency on giflib 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 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 ff013dd009 Revised handling of file names & paths 2011-08-18 00:38:55 +02:00
Bert 6d624f6cc2 Stable version 0.9 2011-08-17 00:57:48 +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 6b2a098289 Added -O2 flag to CFLAGS 2011-08-05 10:17:07 +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 0a171a9c8b Fixed dependency on Makefile & config.h 2011-07-17 22:16:46 +02:00
Bert c4b48e7766 Stable version 0.8.2 2011-06-29 16:07:12 +02:00
Bert fe281548fc Fixed Makefile 2011-06-28 19:18:05 +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 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
Petr Sabata f3cd56e3d3 Support DESTDIR
GNU coding standard recommends supporting DESTDIR in projects Makefiles. This
is already expected by many GNU/Linux distributions. This patch adds DESTDIR
support to sxiv Makefile.

Signed-off-by: Petr Sabata <psabata@redhat.com>
2011-05-10 09:31:43 +02:00
Bert fdafbf72b7 Stable version 0.8.1 2011-05-08 17:47:29 +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 75c79bef6f Stable version 0.8 2011-04-14 11:17:24 +02:00
Bert 5cb6d12a94 Refactored main.c 2011-04-11 11:53:00 +02:00
Bert a90bd1c833 Refactored recursive directory util functions 2011-04-08 10:23:42 +02:00
Bert 72ced4b869 Refactored key/mouse mappings in README 2011-04-07 00:04:01 +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 55659ffcc3 Use imlib-handles in thumbs.c instead of pixmaps 2011-03-15 13:55:52 +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 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 dc68127ae5 Stable version 0.7 2011-02-26 22:28:06 +01:00
Bert 5a35484e71 Align big images on top-left corner 2011-02-26 13:16:14 +01:00
Bert 62fb69b328 Todo: save rotated images 2011-02-25 09:29:37 +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 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 73a9279598 Center humbnails in window 2011-02-18 14:57:24 +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 e8ed491ba9 Fixed empty lines in readline() 2011-02-15 15:30:37 +01:00
Bert 26cc5aff69 Read filenames from stdin 2011-02-14 17:51:04 +01:00
Bert a5335e8ddd Slightly refactored fungts utf-8 title commit 2011-02-09 09:45:35 +01:00
Bert 7bef1de9c2 Stable release 0.5 2011-02-08 15:02:05 +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 8f4af658ae Refactored, new files util.[ch], C89 2011-02-03 10:15:01 +01:00
Bert 2afb989cc4 Skeleton for -r 2011-02-02 09:01:05 +01:00
Bert e510eda5f1 Stable release 0.4 2011-02-01 18:27:00 +01:00
Bert 8fb3110ebb Bug fix: handle negative offsets in -g arg correctly 2011-02-01 16:21:58 +01:00
Bert 802c344879 Check file timestamps before loading from cache 2011-01-31 15:51:26 +01:00
Bert c937570bbe Unstable version number 2011-01-30 20:57:31 +01:00
Bert 7f15becf01 Stable release 0.3.1 2011-01-30 15:02:27 +01:00
Bert 56cd150b9d Fixed setuid and typo in Makefile, damn copy&paste 2011-01-30 14:47:25 +01:00
Bert c52c4fa69e Mouse-panning while pressing button2 2011-01-29 22:37:40 +01:00
Bert 9b09a578d4 Stable version 0.3 2011-01-29 00:16:57 +01:00
Bert 8123d63c5b Added plenty lots of options 2011-01-28 13:34:16 +01:00
Bert e8a503bcbb Updated section AUTHORS of man page 2011-01-27 10:18:23 +01:00
Bert 64a5366508 Added <,> mappings to rotate image 2011-01-26 14:42:10 +01:00
Bert f2ec0c838a Stable version 0.2 2011-01-23 18:26:06 +01:00
Bert 1b0528c7a2 Fixed Makefile 2011-01-23 18:24:48 +01:00
Bert d3da0eb71e Added man page 2011-01-23 18:20:08 +01:00
Bert bce599038c Moved VERSION macro into Makefile 2011-01-23 17:27:44 +01:00
Bert 822ef72657 Rebuild all object files after changing config.h 2011-01-20 15:37:06 +01:00
Bert 7121e7b468 Initialize imlib2 2011-01-18 16:40:37 +01:00
Bert 1f6af53f37 Fixed Makefile 2011-01-17 16:18:47 +01:00
Bert e7bc3bb71b Non-working skeleton 2011-01-17 14:57:59 +01:00