Commit Graph

101 Commits

Author SHA1 Message Date
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
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