summaryrefslogtreecommitdiffstats
path: root/thumbs.c
AgeCommit message (Collapse)Author
2017-09-08Add -p flag to disable writing of cache and temporary filesAntti Korpi
Closes #285.
2016-12-28Fix unused-variable warnings in conditionally compiled codeBert Münnich
2016-10-20Only open regular files; fixes issue #252Bert Münnich
2016-09-28Allow opening directories non-recursivelyParide Legovini
2016-08-06Use Xft for font loading and text drawingBert Münnich
2015-12-20Build-time option for default thumbnail size; fixes issue #207Bert Münnich
2015-10-28Simplified r_mkdir()Bert 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-07-22Thumbnail cache file format depending on existance of alpha layerBert Münnich
Use PNG if image has alpha layer, JPG if not. Fixes issue #209
2015-01-04Cache out of view thumbnails in the backgroundBert Münnich
2015-01-04Use bit-field for boolean flags in fileinfo structBert Münnich
2014-11-27Enforced thumbnail reloading after key handlerBert Münnich
2014-11-27Limit thumbnail selection border width to 4pxBert Münnich
2014-10-31Do not cache thumbnails, which are smaller than the maximum sizeBert Münnich
2014-10-31Discard cached & EXIF thumbnails, which are smaller than the configured ↵Bert Münnich
maximum size
2014-10-31Fixed leakage of resources allocated by EXIF libraryBert Münnich
2014-10-29Fixed segfault when run with -cBert Münnich
2014-10-24Do not print could-not-open-warnings for files found by directory traversalBert Münnich
2014-09-30Unified file count variable for image & thumbnail modeBert Münnich
2014-09-29Set JPEG quality for thumbnail cache filesBert Münnich
2014-09-29Fixed thumbnail creation for files with big aspect ratio factor; fixes issue ↵Bert Münnich
#175
2014-09-29Scale thumbnail selection border width with thumbnail sizeBert Münnich
2014-09-29Moved thumbnail sizes array to config.def.hBert Münnich
2014-09-29Refactored thumbnail size dependent calculationsBert Münnich
2014-09-28Added thumbnail zooming...Bert Münnich
- Key mappings +/- are now general commands - Use JPG as thumbnail cache file format instead of PNG - Fixes issue #161
2014-09-27Changed image mark in thumbnail view to small rectangleBert Münnich
2014-09-26Revised thumbnail loading...Bert Münnich
- Only load the thumbnails that are currently visible in the window - Unload thumbnails that are leaving the visible area - Much less memory needed, but scrolling is now slower - This also unintentionally fixes issue #86
2014-08-22Bug #165: Deletion of unnecessary null pointer checksMarkus Elfring
The function "free" performs input parameter validation. http://pubs.opengroup.org/onlinepubs/9699919799/functions/free.html It is therefore not needed to check a passed pointer before this function call. A corresponding update suggestion was generated by the software "Coccinelle" from the following semantic patch approach. http://coccinelle.lip6.fr/ @Remove_unnecessary_pointer_checks1@ expression x; @@ -if (x != \(0 \| NULL\)) free(x); @Remove_unnecessary_pointer_checks2@ expression x; @@ -if (x != \(0 \| NULL\)) { free(x); x = \(0 \| NULL\); -} @Remove_unnecessary_pointer_checks3@ expression a, b; @@ -if (a != \(0 \| NULL\) && b != \(0 \| NULL\)) +if (a) free(b); @Remove_unnecessary_pointer_checks4@ expression a, b; @@ -if (a != \(0 \| NULL\) && b != \(0 \| NULL\)) { +if (a) { free(b); b = \(0 \| NULL\); } Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
2014-08-18Beautified thumbnail marks and selection borderBert Münnich
2014-08-18Further simplified thumbnail marksBert Münnich
2014-08-17Simplified thumbnail selection and marksBert Münnich
2014-08-16Fixed wrong thumbnail-to-file mappings caused by file deletionsBert Münnich
2014-08-16Pass marked files to external key handler in thumbnail mode; fixes issue #135Bert Münnich
2014-08-16Unified file index variable for image & thumbnail modeBert Münnich
2014-08-16Generalized thumbnail loading, allows easier reloading of thumbnails later onBert 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-06-10Create thumbnail cache dir automaticallyBert Münnich
2014-06-10Small fix for thumbnail croppingBert Münnich
2014-06-09Use thumbnails in EXIF tags; requirement for libexif is backBert Münnich
2014-04-06Use a checkerboard background for alpha layer; fixes issue #138Bert Münnich
2014-01-11Adhere to XDG Base Directory Specification; fixes issue #124Bert Münnich
2013-12-13Fixed Imlib file handle type, issue #117Bert Münnich
2013-11-14Highlight edges of marked images in thumbnail modeBert Münnich
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-02-08Refactored function definitions to use dangling braceBert Münnich
2013-02-08Updated/corrected license headerBert Münnich
2013-01-12Moved thumbnail cache to ~/.sxiv/cache/Bert Münnich