aboutsummaryrefslogtreecommitdiffstats
path: root/image.c
AgeCommit message (Collapse)Author
2021-09-16Custom bar colors (#10)Guilherme Freire
* set bar and text colors independently * change xresources to Program.class.resource * rename color variables to win/bar_bg/fg * change default bar colors to match window colors
2021-09-16Fix in tabbed with alpha patch (#3)Berke Kocaoğlu
* Fix in tabbed with alpha patch Co-authored-by: Jared Forrest <jared_forrest@mailbox.org>
2021-09-16Implement fill scale modeBerke Kocaoğlu
2019-07-16Use normal win colors in fullscreen modeBert Münnich
Fixes issues #361 and #367
2019-01-23Align compile-time color options with X resource colorsBert Münnich
Two colors are more than enough!
2018-01-22Do not limit fit-to-win to smallest zoom levelBert Münnich
Related to issue #303
2018-01-22Make zoomdiff compare impact on image dimensionsBert Münnich
Before that zoomdiff was a merely heuristic. Related to issue #303
2018-01-22Use float for ox/oy compare valuesBert Münnich
Fixes issue #302
2017-11-23Reject text files resembling TGA imagesBert Münnich
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.
2017-10-16One header file for type definitions and function declarationsBert Münnich
2017-10-16Zoom into mouse cursor positionBert Münnich
2017-10-04Mouse drag translates pointer position to image areaBert Münnich
This makes mouse panning more direct and faster.
2017-09-06Make pan fraction configurablejcalve
2016-12-01Merge djhejna/floatdelayBert Münnich
2016-11-28Support for DELAY as a floating point number including less than 1Don Hejna
second while maintaining backward compatibiitiy with integer arguments.
2016-11-27Add -A option to force framerate on animated imagesdwminer
2016-10-20Only open regular files; fixes issue #252Bert Münnich
2016-08-06Use Xft for font loading and text drawingBert Münnich
2015-12-26Fix 32-bit unsigned integer shiftBert Münnich
2015-10-28Revised error handlingBert Münnich
- 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)
2015-10-28Prefix safe allocation functions with 'e' instead of 's_'Bert Münnich
2015-10-28Removed feature test macro definitions from source filesBert Münnich
2015-10-28Removed overcautious parameter checksBert Münnich
2015-02-06Round integer cast of image offset during rendering; fixes issue #197Bert Münnich
2015-01-05Apply gamma value on thumbnails too; fixes issue #193Bert Münnich
2015-01-04Use bit-field for boolean flags in fileinfo structBert Münnich
2014-10-24Do not print could-not-open-warnings for files found by directory traversalBert Münnich
2014-09-01Simplified img_frame_animateBert Münnich
2014-07-28Overhauled window drawing, yet again; fixes issue #155Bert Münnich
- 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
2014-07-25Revised handling of GIF animationsBert Münnich
- New option `-a`: Play animations at startup - Ctrl-Space toggles animation for all GIF files - Infinite loop for all animations
2014-07-23Added support for multiple commands per key/button mapping; elegant fix for ↵Bert Münnich
issue #150
2014-06-09Use thumbnails in EXIF tags; requirement for libexif is backBert Münnich
2014-05-27Fix build with giflib >= 5.1.0.Bartłomiej Piotrowski
2014-04-06Use a checkerboard background for alpha layer; fixes issue #138Bert Münnich
2014-02-07Check for background image allocation failureBert Münnich
2014-02-06Use separate background image for alpha layer; fixes issue #132Bert Münnich
2014-02-04Revised scale mode and zoom level handlingBert Münnich
- 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
2014-02-04Preserve panning when switching images; fixes issue #131Bert Münnich
2014-01-09Second take at rotating & flipping multi-frame images; fixes issue #121Bert Münnich
2014-01-09Revert "Apply flip & rotation on all frames of a multi-frame image; fixes ↵Bert Münnich
issue #121" This reverts commit f795273b650a4df39dca693f30c3650ec1d3393f.
2014-01-09Apply flip & rotation on all frames of a multi-frame image; fixes issue #121Bert Münnich
2014-01-04Slideshow mode is back, in a simplified versionBert Münnich
2013-12-31Refactored remote changesBert Münnich
2013-12-30Read GIF's repeat information from file.Aleksander Nitecki
2013-12-13Fixed Imlib file handle type, issue #117Bert Münnich
2013-11-14Correct out-of-range gamma values given on command lineBert Münnich
2013-11-14Refactored remote changesBert Münnich
2013-11-13Add support for changing the gamma valueAndrás Mohari
2013-08-22Added options for anti-alias & alpha layer coloring to config.def.hBert Münnich
Also removed now obsolete -p command line option; fixes issue #98
2013-08-10Refactored merged rotation codeBert Münnich