Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | code-style: fix consistency issues all over the codebase (#94) | Berke Kocaoğlu | 2021-10-11 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | * remove duplicate comment * remove empty tabs and blank lines * move macros and globals ontop * comment to seprate function implementation * fix alignment * switch to *argv[] similar to other suckless code * kill all empty last lines * append comment to endif * reuse existing ARRLEN macro * comment fall through * use while (true) everywhere Co-authored-by: NRK <nrk@disroot.org> | ||||
* | Rename, Update Docs and Prepare for Release (#9) | Berke Kocaoğlu | 2021-09-16 | 1 | -5/+5 |
| | | | | | | | Co-authored-by: Guilherme Rugai Freire <41879254+GRFreire@users.noreply.github.com> Co-authored-by: N-R-K <79544946+N-R-K@users.noreply.github.com> Co-authored-by: NRK <nrk@disroot.org> Co-authored-by: Arthur Williams <taaparthur@gmail.com> Co-authored-by: eylles <ed.ylles1997@gmail.com> | ||||
* | Don't skip dot files when cleaning cache | Kacper Gutowski | 2018-07-30 | 1 | -3/+9 |
| | |||||
* | Replace utf8codepoint with Chris Wellons' utf8_decode | Bert Münnich | 2017-12-07 | 1 | -28/+0 |
| | | | | | | Code under a different license should be kept in a separate file. This implemention is a single header file with ~65 lines, so it better fits this requirement. | ||||
* | Try to match a fallback font if needed | Squibby | 2017-12-06 | 1 | -0/+29 |
| | | | | | | | | | | | | | | Fixes #276 Instead of rendering the entire filename at once, Xft will let us do it character by character. This will allow sxiv to query fontconfig for a font that can provide any missing codepoints, if needed. A known issue of this patch is that the "..." dots rendering will not work properly for very long multibyte filenames. That is because we cannot easily predict the final width of the rendered filename before drawing it. I couldn't figure out a clean way to deal with this, so I ended up just truncating the offending filenames. | ||||
* | One header file for type definitions and function declarations | Bert Münnich | 2017-10-16 | 1 | -3/+2 |
| | |||||
* | Allow opening directories non-recursively | Paride Legovini | 2016-09-28 | 1 | -2/+3 |
| | |||||
* | 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 |
| |