aboutsummaryrefslogtreecommitdiff
path: root/image.c
Commit message (Collapse)AuthorAgeFilesLines
* Reject text files resembling TGA imagesBert Münnich2017-11-231-9/+23
| | | | | | | | | | | | | | | | | | | Fixes issue #295 The imlib2 TGA loader returns an imlib image handle without any actual data when given a text file like this: T Content-Type: application/javascript Content-Length: 3836 Last-Modified: Wed, 23 Sep 2015 12:25:47 GMT Etag: "56029a4b-efc" Expires: Sat, 20 Aug 2016 15:14:33 GMT Cache-Control: max-age=604800, public Accept-Ranges: bytes Fortunately, `imlib_image_get_data()` returns NULL in this case, so that we can use it as an additional check when opening files.
* One header file for type definitions and function declarationsBert Münnich2017-10-161-7/+4
|
* Zoom into mouse cursor positionBert Münnich2017-10-161-2/+9
|
* Mouse drag translates pointer position to image areaBert Münnich2017-10-041-3/+8
| | | | This makes mouse panning more direct and faster.
* Make pan fraction configurablejcalve2017-09-061-3/+3
|
* Merge djhejna/floatdelayBert Münnich2016-12-011-1/+1
|\
| * Support for DELAY as a floating point number including less than 1Don Hejna2016-11-271-2/+2
| | | | | | | | | | second while maintaining backward compatibiitiy with integer arguments.
* | Add -A option to force framerate on animated imagesdwminer2016-11-271-0/+2
|/
* Only open regular files; fixes issue #252Bert Münnich2016-10-201-1/+4
|
* Use Xft for font loading and text drawingBert Münnich2016-08-061-1/+1
|
* Fix 32-bit unsigned integer shiftBert Münnich2015-12-261-1/+1
|
* Revised error handlingBert Münnich2015-10-281-5/+6
| | | | | | | - Functions warn() and die() replaced by GNU-like error(3) function - Register cleanup() with atexit(3) - Functions called by cleanup() are marked with CLEANUP and are not allowed to call exit(3)
* Prefix safe allocation functions with 'e' instead of 's_'Bert Münnich2015-10-281-6/+6
|
* Removed feature test macro definitions from source filesBert Münnich2015-10-281-3/+2
|
* Removed overcautious parameter checksBert Münnich2015-10-281-52/+3
|
* Round integer cast of image offset during rendering; fixes issue #197Bert Münnich2015-02-061-2/+2
|
* Apply gamma value on thumbnails too; fixes issue #193Bert Münnich2015-01-051-30/+11
|
* Use bit-field for boolean flags in fileinfo structBert Münnich2015-01-041-2/+2
|
* Do not print could-not-open-warnings for files found by directory traversalBert Münnich2014-10-241-2/+3
|
* Simplified img_frame_animateBert Münnich2014-09-011-10/+5
|
* Overhauled window drawing, yet again; fixes issue #155Bert Münnich2014-07-281-1/+1
| | | | | | | | - Buffer for window content is bigger than the window, minimizes artifacts when window is resized - Back to using XSetWindowBackgroundPixmap() instead of XCopyArea(), no need to handle exposure events; X server can show gray background directly after resize event before sxiv redraws the window contents
* Revised handling of GIF animationsBert Münnich2014-07-251-30/+13
| | | | | | - New option `-a`: Play animations at startup - Ctrl-Space toggles animation for all GIF files - Infinite loop for all animations
* Added support for multiple commands per key/button mapping; elegant fix for ↵Bert Münnich2014-07-231-14/+8
| | | | issue #150
* Use thumbnails in EXIF tags; requirement for libexif is backBert Münnich2014-06-091-16/+32
|
* Fix build with giflib >= 5.1.0.Bartłomiej Piotrowski2014-05-271-0/+4
|
* Use a checkerboard background for alpha layer; fixes issue #138Bert Münnich2014-04-061-9/+21
|
* Check for background image allocation failureBert Münnich2014-02-071-1/+2
|
* Use separate background image for alpha layer; fixes issue #132Bert Münnich2014-02-061-8/+30
|
* Revised scale mode and zoom level handlingBert Münnich2014-02-041-1/+1
| | | | | | | - Scale mode is not reset to default value upon image loading anymore - New default key binding to change mode to scale-down - Removed scale mode setting from config.h - Removed -d command line option, as this is now the default at startup
* Preserve panning when switching images; fixes issue #131Bert Münnich2014-02-041-49/+24
|
* Second take at rotating & flipping multi-frame images; fixes issue #121Bert Münnich2014-01-091-14/+23
|
* Revert "Apply flip & rotation on all frames of a multi-frame image; fixes ↵Bert Münnich2014-01-091-23/+9
| | | | | | issue #121" This reverts commit f795273b650a4df39dca693f30c3650ec1d3393f.
* Apply flip & rotation on all frames of a multi-frame image; fixes issue #121Bert Münnich2014-01-091-9/+23
|
* Slideshow mode is back, in a simplified versionBert Münnich2014-01-041-4/+7
|
* Refactored remote changesBert Münnich2013-12-311-20/+11
|
* Read GIF's repeat information from file.Aleksander Nitecki2013-12-301-2/+23
|
* Fixed Imlib file handle type, issue #117Bert Münnich2013-12-131-1/+1
|
* Correct out-of-range gamma values given on command lineBert Münnich2013-11-141-1/+1
|
* Refactored remote changesBert Münnich2013-11-141-18/+40
|
* Add support for changing the gamma valueAndrás Mohari2013-11-131-0/+30
|
* Added options for anti-alias & alpha layer coloring to config.def.hBert Münnich2013-08-221-2/+3
| | | | Also removed now obsolete -p command line option; fixes issue #98
* Refactored merged rotation codeBert Münnich2013-08-101-10/+7
|
* Handle 180 degrees image rotationBastien Dejean2013-08-101-16/+9
|
* Fixed build for giflib version >= 5.0; fixed issue #90Bert Münnich2013-04-211-0/+4
|
* Refactored function definitions to use dangling braceBert Münnich2013-02-081-25/+50
|
* Updated/corrected license headerBert Münnich2013-02-081-13/+13
|
* Fixed compilation with giflib version 4.2.1Bert Münnich2013-01-041-5/+5
|
* Fixed issue #74, conditional compilation of gif supportBert Münnich2012-12-271-1/+7
|
* Smaller minimum gif delay, fixed issue #71Bert Münnich2012-10-291-1/+1
|
* Simplified zoomdiff functionBert Münnich2012-08-161-7/+1
|