aboutsummaryrefslogtreecommitdiff
path: root/thumbs.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Changed image mark in thumbnail view to small rectangleBert Münnich2014-09-271-4/+3
|
* Revised thumbnail loading...Bert Münnich2014-09-261-20/+52
| | | | | | | - 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
* Bug #165: Deletion of unnecessary null pointer checksMarkus Elfring2014-08-221-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Beautified thumbnail marks and selection borderBert Münnich2014-08-181-14/+12
|
* Further simplified thumbnail marksBert Münnich2014-08-181-5/+3
|
* Simplified thumbnail selection and marksBert Münnich2014-08-171-12/+9
|
* Fixed wrong thumbnail-to-file mappings caused by file deletionsBert Münnich2014-08-161-12/+14
|
* Pass marked files to external key handler in thumbnail mode; fixes issue #135Bert Münnich2014-08-161-4/+2
|
* Unified file index variable for image & thumbnail modeBert Münnich2014-08-161-22/+23
|
* Generalized thumbnail loading, allows easier reloading of thumbnails later onBert Münnich2014-08-161-1/+2
|
* Overhauled window drawing, yet again; fixes issue #155Bert Münnich2014-07-281-10/+10
| | | | | | | | - 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
* Create thumbnail cache dir automaticallyBert Münnich2014-06-101-70/+55
|
* Small fix for thumbnail croppingBert Münnich2014-06-101-1/+1
|
* Use thumbnails in EXIF tags; requirement for libexif is backBert Münnich2014-06-091-13/+66
|
* Use a checkerboard background for alpha layer; fixes issue #138Bert Münnich2014-04-061-6/+0
|
* Adhere to XDG Base Directory Specification; fixes issue #124Bert Münnich2014-01-111-5/+8
|
* Fixed Imlib file handle type, issue #117Bert Münnich2013-12-131-3/+3
|
* Highlight edges of marked images in thumbnail modeBert Münnich2013-11-141-11/+38
|
* Added options for anti-alias & alpha layer coloring to config.def.hBert Münnich2013-08-221-1/+2
| | | | Also removed now obsolete -p command line option; fixes issue #98
* Refactored function definitions to use dangling braceBert Münnich2013-02-081-13/+26
|
* Updated/corrected license headerBert Münnich2013-02-081-13/+13
|
* Moved thumbnail cache to ~/.sxiv/cache/Bert Münnich2013-01-121-5/+7
|
* Made remote changes adhere to code styleBert Münnich2012-07-151-7/+9
|
* handle count prefix in thumbnail movementsbaskerville2012-07-151-11/+6
|
* Fixed mem-leak in tns_init/tns_freeBert Münnich2012-05-131-1/+1
|
* Fixed it_scroll_move(DIR_DOWN) in thumb mode for last lineBert Münnich2012-03-161-8/+10
|
* Fixed issue #41, added WIN_FS_COLOR to config.hBert Münnich2012-03-021-1/+1
|
* Already in the year 2012Bert Münnich2012-02-151-1/+1
|
* Added own exif tag handling in files exif.[ch]Bert Münnich2012-02-151-0/+3
|
* Fix recreation of thumbnail cache file after manual reloadBert Münnich2012-02-141-1/+1
|
* Added text bar on bottom of windowBert Münnich2012-02-121-1/+0
|
* Removed exif support; made gif support non-optionalBert Münnich2012-02-111-10/+1
|
* Fixed issue #28 (again)Bert Münnich2011-11-131-4/+6
|
* Thumbnails only get scaled down, fixed issue #27Bert Münnich2011-11-051-0/+1
|
* Added screen-wise scrolling for thumbnail modeBert Münnich2011-10-271-8/+13
|
* Updated contact informationBert Münnich2011-10-141-1/+1
|
* Strictly adhere to ANSI-C standardBert Münnich2011-10-131-1/+1
|
* Use void for empty argument listsBert Münnich2011-10-121-1/+1
|
* Made all conditionals more preciseBert Münnich2011-09-291-62/+61
|
* Transformed function macros in util.h to inline functionsBert Münnich2011-09-291-1/+1
|
* Added STREQ macroBert Münnich2011-09-261-1/+1
|
* Use win_t member in img_t & tns_t instead of parametersBert Münnich2011-09-171-13/+18
|
* Much nicer handling of compile-time featuresBert2011-09-121-2/+3
| | | | | - *_SUPPORT enabled in config.h - XLIBS helper app prints lib flags needed for current settings
* Added own bool typeBert2011-09-111-39/+40
|
* Strict conformance to IEEE Std 1003.1-2001Bert2011-09-081-19/+9
|
* Fixed exif-only typo in tns_load()Bert2011-09-081-1/+1
|
* Added EXIF_SUPPORT macro for optional dependency on libexifBert2011-09-081-5/+10
|
* Added EXIF auto-orientationBert2011-09-081-0/+9
|
* Made i(t)_toggle_alpha command work in thumbnail mode tooBert2011-09-041-0/+5
|
* Reformated license headerBert2011-09-031-11/+11
|