aboutsummaryrefslogtreecommitdiffstats
path: root/thumbs.c
AgeCommit message (Collapse)Author
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
2012-07-15Made remote changes adhere to code styleBert Münnich
2012-07-15handle count prefix in thumbnail movementsbaskerville
2012-05-13Fixed mem-leak in tns_init/tns_freeBert Münnich
2012-03-16Fixed it_scroll_move(DIR_DOWN) in thumb mode for last lineBert Münnich
2012-03-02Fixed issue #41, added WIN_FS_COLOR to config.hBert Münnich
2012-02-15Already in the year 2012Bert Münnich
2012-02-15Added own exif tag handling in files exif.[ch]Bert Münnich
2012-02-14Fix recreation of thumbnail cache file after manual reloadBert Münnich
2012-02-12Added text bar on bottom of windowBert Münnich
2012-02-11Removed exif support; made gif support non-optionalBert Münnich
2011-11-13Fixed issue #28 (again)Bert Münnich
2011-11-05Thumbnails only get scaled down, fixed issue #27Bert Münnich
2011-10-27Added screen-wise scrolling for thumbnail modeBert Münnich
2011-10-14Updated contact informationBert Münnich
2011-10-13Strictly adhere to ANSI-C standardBert Münnich
2011-10-12Use void for empty argument listsBert Münnich
2011-09-29Made all conditionals more preciseBert Münnich
2011-09-29Transformed function macros in util.h to inline functionsBert Münnich
2011-09-26Added STREQ macroBert Münnich
2011-09-17Use win_t member in img_t & tns_t instead of parametersBert Münnich