Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Revised thumbnail loading... | Bert Münnich | 2014-09-26 | 1 | -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 checks | Markus Elfring | 2014-08-22 | 1 | -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 border | Bert Münnich | 2014-08-18 | 1 | -14/+12 | |
| | ||||||
* | Further simplified thumbnail marks | Bert Münnich | 2014-08-18 | 1 | -5/+3 | |
| | ||||||
* | Simplified thumbnail selection and marks | Bert Münnich | 2014-08-17 | 1 | -12/+9 | |
| | ||||||
* | Fixed wrong thumbnail-to-file mappings caused by file deletions | Bert Münnich | 2014-08-16 | 1 | -12/+14 | |
| | ||||||
* | Pass marked files to external key handler in thumbnail mode; fixes issue #135 | Bert Münnich | 2014-08-16 | 1 | -4/+2 | |
| | ||||||
* | Unified file index variable for image & thumbnail mode | Bert Münnich | 2014-08-16 | 1 | -22/+23 | |
| | ||||||
* | Generalized thumbnail loading, allows easier reloading of thumbnails later on | Bert Münnich | 2014-08-16 | 1 | -1/+2 | |
| | ||||||
* | Overhauled window drawing, yet again; fixes issue #155 | Bert Münnich | 2014-07-28 | 1 | -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 automatically | Bert Münnich | 2014-06-10 | 1 | -70/+55 | |
| | ||||||
* | Small fix for thumbnail cropping | Bert Münnich | 2014-06-10 | 1 | -1/+1 | |
| | ||||||
* | Use thumbnails in EXIF tags; requirement for libexif is back | Bert Münnich | 2014-06-09 | 1 | -13/+66 | |
| | ||||||
* | Use a checkerboard background for alpha layer; fixes issue #138 | Bert Münnich | 2014-04-06 | 1 | -6/+0 | |
| | ||||||
* | Adhere to XDG Base Directory Specification; fixes issue #124 | Bert Münnich | 2014-01-11 | 1 | -5/+8 | |
| | ||||||
* | Fixed Imlib file handle type, issue #117 | Bert Münnich | 2013-12-13 | 1 | -3/+3 | |
| | ||||||
* | Highlight edges of marked images in thumbnail mode | Bert Münnich | 2013-11-14 | 1 | -11/+38 | |
| | ||||||
* | Added options for anti-alias & alpha layer coloring to config.def.h | Bert Münnich | 2013-08-22 | 1 | -1/+2 | |
| | | | | Also removed now obsolete -p command line option; fixes issue #98 | |||||
* | Refactored function definitions to use dangling brace | Bert Münnich | 2013-02-08 | 1 | -13/+26 | |
| | ||||||
* | Updated/corrected license header | Bert Münnich | 2013-02-08 | 1 | -13/+13 | |
| | ||||||
* | Moved thumbnail cache to ~/.sxiv/cache/ | Bert Münnich | 2013-01-12 | 1 | -5/+7 | |
| | ||||||
* | Made remote changes adhere to code style | Bert Münnich | 2012-07-15 | 1 | -7/+9 | |
| | ||||||
* | handle count prefix in thumbnail movements | baskerville | 2012-07-15 | 1 | -11/+6 | |
| | ||||||
* | Fixed mem-leak in tns_init/tns_free | Bert Münnich | 2012-05-13 | 1 | -1/+1 | |
| | ||||||
* | Fixed it_scroll_move(DIR_DOWN) in thumb mode for last line | Bert Münnich | 2012-03-16 | 1 | -8/+10 | |
| | ||||||
* | Fixed issue #41, added WIN_FS_COLOR to config.h | Bert Münnich | 2012-03-02 | 1 | -1/+1 | |
| | ||||||
* | Already in the year 2012 | Bert Münnich | 2012-02-15 | 1 | -1/+1 | |
| | ||||||
* | Added own exif tag handling in files exif.[ch] | Bert Münnich | 2012-02-15 | 1 | -0/+3 | |
| | ||||||
* | Fix recreation of thumbnail cache file after manual reload | Bert Münnich | 2012-02-14 | 1 | -1/+1 | |
| | ||||||
* | Added text bar on bottom of window | Bert Münnich | 2012-02-12 | 1 | -1/+0 | |
| | ||||||
* | Removed exif support; made gif support non-optional | Bert Münnich | 2012-02-11 | 1 | -10/+1 | |
| | ||||||
* | Fixed issue #28 (again) | Bert Münnich | 2011-11-13 | 1 | -4/+6 | |
| | ||||||
* | Thumbnails only get scaled down, fixed issue #27 | Bert Münnich | 2011-11-05 | 1 | -0/+1 | |
| | ||||||
* | Added screen-wise scrolling for thumbnail mode | Bert Münnich | 2011-10-27 | 1 | -8/+13 | |
| | ||||||
* | Updated contact information | Bert Münnich | 2011-10-14 | 1 | -1/+1 | |
| | ||||||
* | Strictly adhere to ANSI-C standard | Bert Münnich | 2011-10-13 | 1 | -1/+1 | |
| | ||||||
* | Use void for empty argument lists | Bert Münnich | 2011-10-12 | 1 | -1/+1 | |
| | ||||||
* | Made all conditionals more precise | Bert Münnich | 2011-09-29 | 1 | -62/+61 | |
| | ||||||
* | Transformed function macros in util.h to inline functions | Bert Münnich | 2011-09-29 | 1 | -1/+1 | |
| | ||||||
* | Added STREQ macro | Bert Münnich | 2011-09-26 | 1 | -1/+1 | |
| | ||||||
* | Use win_t member in img_t & tns_t instead of parameters | Bert Münnich | 2011-09-17 | 1 | -13/+18 | |
| | ||||||
* | Much nicer handling of compile-time features | Bert | 2011-09-12 | 1 | -2/+3 | |
| | | | | | - *_SUPPORT enabled in config.h - XLIBS helper app prints lib flags needed for current settings | |||||
* | Added own bool type | Bert | 2011-09-11 | 1 | -39/+40 | |
| | ||||||
* | Strict conformance to IEEE Std 1003.1-2001 | Bert | 2011-09-08 | 1 | -19/+9 | |
| | ||||||
* | Fixed exif-only typo in tns_load() | Bert | 2011-09-08 | 1 | -1/+1 | |
| | ||||||
* | Added EXIF_SUPPORT macro for optional dependency on libexif | Bert | 2011-09-08 | 1 | -5/+10 | |
| | ||||||
* | Added EXIF auto-orientation | Bert | 2011-09-08 | 1 | -0/+9 | |
| | ||||||
* | Made i(t)_toggle_alpha command work in thumbnail mode too | Bert | 2011-09-04 | 1 | -0/+5 | |
| | ||||||
* | Reformated license header | Bert | 2011-09-03 | 1 | -11/+11 | |
| | ||||||
* | Unified feature test macro requirements | Bert | 2011-09-03 | 1 | -2/+2 | |
| |