Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix option -q; commit d3a70a2 completely broke it; fixes issue #223 | Bert Münnich | 2015-12-28 | 1 | -0/+3 |
| | |||||
* | Simplified r_mkdir() | Bert Münnich | 2015-10-28 | 1 | -29/+15 |
| | |||||
* | Revised error handling | Bert Münnich | 2015-10-28 | 1 | -34/+21 |
| | | | | | | | - 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) | ||||
* | Prefix safe allocation functions with 'e' instead of 's_' | Bert Münnich | 2015-10-28 | 1 | -15/+14 |
| | |||||
* | Removed unnecessary buffer size constants | Bert Münnich | 2015-10-28 | 1 | -7/+1 |
| | |||||
* | Use XSI realpath(3) | Bert Münnich | 2015-10-28 | 1 | -68/+0 |
| | |||||
* | Use POSIX.1-2008 getline(3) | Bert Münnich | 2015-10-28 | 1 | -30/+0 |
| | |||||
* | Removed feature test macro definitions from source files | Bert Münnich | 2015-10-28 | 1 | -2/+0 |
| | |||||
* | Removed overcautious parameter checks | Bert Münnich | 2015-10-28 | 1 | -12/+3 |
| | |||||
* | Bug #165: Deletion of unnecessary null pointer checks | Markus Elfring | 2014-08-22 | 1 | -11/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> | ||||
* | Made argument of s_strdup const | lucas8 | 2014-08-01 | 1 | -1/+1 |
| | |||||
* | Create thumbnail cache dir automatically | Bert Münnich | 2014-06-10 | 1 | -9/+2 |
| | |||||
* | Ignore dotfiles for -r | Bert Münnich | 2013-02-11 | 1 | -1/+1 |
| | |||||
* | Refactored function definitions to use dangling brace | Bert Münnich | 2013-02-08 | 1 | -12/+24 |
| | |||||
* | Updated/corrected license header | Bert Münnich | 2013-02-08 | 1 | -13/+13 |
| | |||||
* | Already in the year 2012 | Bert Münnich | 2012-02-15 | 1 | -1/+1 |
| | |||||
* | Removed slideshow support | Bert Münnich | 2012-02-11 | 1 | -9/+0 |
| | |||||
* | 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 | -45/+47 |
| | |||||
* | 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 |
| | |||||
* | make use of EXIT_ macros | rck | 2011-09-26 | 1 | -1/+1 |
| | |||||
* | Added slideshow support | Bert | 2011-09-10 | 1 | -2/+11 |
| | |||||
* | Strict conformance to IEEE Std 1003.1-2001 | Bert | 2011-09-08 | 1 | -6/+38 |
| | |||||
* | Avoid conflicting macros | Bert | 2011-09-06 | 1 | -2/+2 |
| | |||||
* | Reformated license header | Bert | 2011-09-03 | 1 | -11/+11 |
| | |||||
* | Data driven timeout handling | Bert | 2011-09-02 | 1 | -13/+0 |
| | |||||
* | Added support for gif animation | Bert | 2011-08-19 | 1 | -0/+13 |
| | |||||
* | Corrected FSF address in license headers | Bert | 2011-08-18 | 1 | -7/+7 |
| | |||||
* | Revised handling of file names & paths | Bert | 2011-08-18 | 1 | -0/+11 |
| | |||||
* | Major code refactoring | Bert | 2011-07-26 | 1 | -3/+5 |
| | | | | | - Configurable key and mouse mappings in config.h - Put event handling code from main.c into events.[ch] | ||||
* | Use getline instead of readline | Bert | 2011-05-29 | 1 | -37/+1 |
| | |||||
* | Refactored recursive directory util functions | Bert | 2011-04-08 | 1 | -79/+99 |
| | |||||
* | Moved read_dir_rec into util.c | Bert | 2011-04-07 | 1 | -0/+79 |
| | |||||
* | Use directory structure in cache dir | Bert | 2011-04-07 | 1 | -0/+43 |
| | |||||
* | Write cache file for thumbnail directly after creating it | Bert | 2011-04-07 | 1 | -1/+1 |
| | |||||
* | Write thumbnail cache files on exit | Bert | 2011-04-07 | 1 | -1/+79 |
| | |||||
* | Fixed empty lines in readline() | Bert | 2011-02-15 | 1 | -3/+3 |
| | |||||
* | More appropriate buffer sizes | Bert | 2011-02-14 | 1 | -1/+1 |
| | |||||
* | Read filenames from stdin | Bert | 2011-02-14 | 1 | -1/+39 |
| | |||||
* | Display filesize in window title | Bert | 2011-02-03 | 1 | -0/+9 |
| | |||||
* | Fixed die/warn in util.c | Bert | 2011-02-03 | 1 | -2/+2 |
| | |||||
* | Refactored, new files util.[ch], C89 | Bert | 2011-02-03 | 1 | -0/+68 |