Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | color: Add an intermediate buffer | Tavian Barnes | 2020-11-28 | 1 | -0/+2 |
| | | | | | | | cfprintf() on an unbuffered file like stderr was causing a lot of write() calls since every format specifier resulted in a separate fwrite(). This led to inefficiency and bad interleaving. Add our own dstring buffer to smooth it out. | ||||
* | Include what I use | Tavian Barnes | 2020-11-12 | 1 | -1/+0 |
| | | | | Thanks to https://github.com/include-what-you-use/include-what-you-use | ||||
* | diag: Unify debug printing | Tavian Barnes | 2020-06-02 | 1 | -1/+3 |
| | |||||
* | bftw: Pass a const struct BFTW * to the callback | Tavian Barnes | 2019-05-05 | 1 | -2/+2 |
| | |||||
* | bftw: Add a caching stat() API to struct BFTW | Tavian Barnes | 2019-05-04 | 1 | -2/+2 |
| | |||||
* | Add some documentation comments | Tavian Barnes | 2019-02-09 | 1 | -0/+4 |
| | |||||
* | color: Check format strings + args for cfprintf() | Tavian Barnes | 2019-01-02 | 1 | -4/+7 |
| | | | | | | %{cc} is now ${cc} to avoid warnings about an unrecognized format specifier, and %P and %L are now %pP and %pL to make them look more like standard format strings. | ||||
* | diag: Unify diagnostic formatting | Tavian Barnes | 2019-01-02 | 1 | -0/+6 |
| | | | | | | This adds a bfs: prefix to error/warning messages for consistency with other command line tools, and leaves only the "error:"/"warning:" part colored like GCC. It also uniformly adds full stops after messages. | ||||
* | Update copyright dates | Tavian Barnes | 2018-09-24 | 1 | -1/+1 |
| | |||||
* | color: Fix a doc comment typo | Tavian Barnes | 2018-08-16 | 1 | -1/+1 |
| | |||||
* | color: Implement %m for cfprintf() | Tavian Barnes | 2017-11-13 | 1 | -0/+1 |
| | |||||
* | Implement cost-based optimization | Tavian Barnes | 2017-08-27 | 1 | -0/+2 |
| | |||||
* | Re-license under the BSD Zero Clause License | Tavian Barnes | 2017-07-27 | 1 | -10/+15 |
| | |||||
* | Add colors to -D tree | Tavian Barnes | 2017-05-15 | 1 | -0/+1 |
| | |||||
* | Release 1.01.0 | Tavian Barnes | 2017-04-24 | 1 | -1/+1 |
| | |||||
* | Color link targets for -ls | Tavian Barnes | 2017-03-16 | 1 | -0/+1 |
| | | | | Fixes #18. | ||||
* | Give struct expr a CFILE* instead of just a FILE* | Tavian Barnes | 2017-03-16 | 1 | -0/+14 |
| | | | | This unifies the behaviour of -print and -fprint /dev/stdout. | ||||
* | Make a printf()-style API for colored messages | Tavian Barnes | 2017-03-11 | 1 | -31/+36 |
| | |||||
* | Update some copyright dates. | Tavian Barnes | 2016-11-24 | 1 | -1/+1 |
| | |||||
* | Check for errors in -print and friends. | Tavian Barnes | 2016-10-16 | 1 | -3/+6 |
| | |||||
* | s/color_table/colors/. | Tavian Barnes | 2016-02-14 | 1 | -6/+6 |
| | |||||
* | Refactor color handling. | Tavian Barnes | 2016-02-14 | 1 | -6/+24 |
| | | | | The main benefit is colored warnings/errors during parsing. | ||||
* | Don't modify the result of getenv(). | Tavian Barnes | 2016-02-14 | 1 | -1/+1 |
| | |||||
* | Don't use typedefs to avoid struct/enum tags. | Tavian Barnes | 2016-02-04 | 1 | -5/+5 |
| | |||||
* | bftw() interface improvements: | Tavian Barnes | 2015-09-26 | 1 | -6/+4 |
| | | | | | | - Use enums instead of ints where it makes sense - Move the file path inside struct BFTW - Expose a fd and relative path for *at() calls | ||||
* | Implement -delete. | Tavian Barnes | 2015-09-08 | 1 | -3/+3 |
| | | | | Related to #5. | ||||
* | Print the root file/directory too. | Tavian Barnes | 2015-09-02 | 1 | -4/+3 |
| | |||||
* | Recover from errors in diropen(). | Tavian Barnes | 2015-07-25 | 1 | -0/+18 |
| | | | | Fixes #4. | ||||
* | Add initial support for colorized output. | Tavian Barnes | 2015-06-20 | 1 | -0/+46 |