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