Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor color handling. | Tavian Barnes | 2016-02-14 | 5 | -65/+122 |
| | | | | The main benefit is colored warnings/errors during parsing. | ||||
* | Don't modify the result of getenv(). | Tavian Barnes | 2016-02-14 | 2 | -4/+11 |
| | |||||
* | Implement -lname and -ilname. | Tavian Barnes | 2016-02-14 | 4 | -2/+67 |
| | |||||
* | "Implement" -noleaf. | Tavian Barnes | 2016-02-14 | 1 | -0/+15 |
| | |||||
* | Implement -mount/-xdev. | Tavian Barnes | 2016-02-14 | 3 | -3/+20 |
| | |||||
* | Add brief -help and -version support. | Tavian Barnes | 2016-02-14 | 3 | -2/+66 |
| | |||||
* | Don't stop early just because deleting failed. | Tavian Barnes | 2016-02-14 | 1 | -1/+1 |
| | |||||
* | Implement -iname and -ipath. | Tavian Barnes | 2016-02-13 | 4 | -10/+59 |
| | |||||
* | Fix -name handling when the root has trailing slashes. | Tavian Barnes | 2016-02-13 | 3 | -4/+60 |
| | |||||
* | Implement -xtype. | Tavian Barnes | 2016-02-13 | 4 | -6/+76 |
| | |||||
* | Follow links if appropriate in predicates. | Tavian Barnes | 2016-02-13 | 3 | -7/+7 |
| | |||||
* | More s/cl/cmdline/. | Tavian Barnes | 2016-02-13 | 2 | -49/+49 |
| | |||||
* | tests.sh: Don't re-create the same directory structures needlessly. | Tavian Barnes | 2016-02-13 | 1 | -69/+56 |
| | |||||
* | Check the number of open FDs at the start. | Tavian Barnes | 2016-02-12 | 1 | -22/+42 |
| | | | | | | This fixes the issues with things like $ bfs -empty 3</dev/null | ||||
* | Consolidate some error reporting logic. | Tavian Barnes | 2016-02-12 | 1 | -7/+12 |
| | |||||
* | Use 'cmdline' instead of 'cl'. | Tavian Barnes | 2016-02-12 | 2 | -19/+19 |
| | |||||
* | Report failures that happen inside predicates. | Tavian Barnes | 2016-02-12 | 2 | -7/+30 |
| | |||||
* | Keep one fd free for the predicates themselves. | Tavian Barnes | 2016-02-11 | 1 | -3/+3 |
| | | | | | | | | | | | | Otherwise -empty may start failing once the dircache grows. It's still possible to cause failures with $ bfs some/big/dir -empty 3</dev/null because one more fd than expected will be allocated, but that's not a common case. It could be worked around by reading /proc/self/fd/ at startup. | ||||
* | Implement -samefile. | Tavian Barnes | 2016-02-10 | 4 | -8/+66 |
| | |||||
* | Add a README. | Tavian Barnes | 2016-02-10 | 1 | -0/+93 |
| | |||||
* | Implement -L/-follow. | Tavian Barnes | 2016-02-09 | 4 | -34/+110 |
| | |||||
* | bftw: Don't give up when following a broken symlink. | Tavian Barnes | 2016-02-06 | 2 | -2/+16 |
| | |||||
* | Implement -P and -H. | Tavian Barnes | 2016-02-04 | 4 | -9/+57 |
| | |||||
* | Drive the literal parsing with a switch. | Tavian Barnes | 2016-02-04 | 1 | -82/+157 |
| | |||||
* | Implement -links. | Tavian Barnes | 2016-02-04 | 4 | -1/+32 |
| | |||||
* | Implement -inum. | Tavian Barnes | 2016-02-04 | 3 | -0/+15 |
| | |||||
* | Implement -[ac]?newer. | Tavian Barnes | 2016-02-04 | 5 | -2/+93 |
| | |||||
* | Implements -daystart. | Tavian Barnes | 2016-02-04 | 3 | -9/+48 |
| | |||||
* | Refactor how -[acm]{min,time} are handled. | Tavian Barnes | 2016-02-04 | 3 | -92/+68 |
| | |||||
* | Leave some struct expr fields uninitialized. | Tavian Barnes | 2016-02-04 | 1 | -7/+0 |
| | |||||
* | Don't use typedefs to avoid struct/enum tags. | Tavian Barnes | 2016-02-04 | 8 | -259/+254 |
| | |||||
* | Add -gid and -uid support. | Tavian Barnes | 2016-02-02 | 4 | -1/+46 |
| | |||||
* | Add -[acm]{min,time} support. | Tavian Barnes | 2016-02-02 | 3 | -30/+242 |
| | |||||
* | bftw: Add missing #include. | Tavian Barnes | 2016-01-30 | 1 | -0/+1 |
| | |||||
* | Implement -empty. | Tavian Barnes | 2016-01-30 | 4 | -1/+53 |
| | |||||
* | bftw: Fix fd leak if fdopendir() fails. | Tavian Barnes | 2016-01-30 | 1 | -1/+5 |
| | |||||
* | Split out parsing code. | Tavian Barnes | 2015-11-29 | 5 | -350/+412 |
| | |||||
* | Implement -executable, -readable, and -writable. | Tavian Barnes | 2015-11-28 | 2 | -1/+40 |
| | |||||
* | Implement warnings for misplaced options. | Tavian Barnes | 2015-11-27 | 1 | -47/+77 |
| | |||||
* | Implement -path. | Tavian Barnes | 2015-11-27 | 2 | -21/+44 |
| | |||||
* | Support -d as an alias for -depth. | Tavian Barnes | 2015-11-26 | 1 | -1/+1 |
| | |||||
* | Implement -quit. | Tavian Barnes | 2015-11-26 | 1 | -0/+10 |
| | |||||
* | Don't call fstatat() unless actually necessary in fill_statbuf(). | Tavian Barnes | 2015-11-26 | 1 | -2/+6 |
| | |||||
* | Optimize -maxdepth in -depth mode. | Tavian Barnes | 2015-09-26 | 4 | -17/+36 |
| | |||||
* | Don't call stat() until absolutely necessary. | Tavian Barnes | 2015-09-26 | 2 | -7/+25 |
| | | | | | This way we only call stat() if we're actually pretty-printing the path, potentially saving lots of calls on paths that don't get printed. | ||||
* | bftw() interface improvements: | Tavian Barnes | 2015-09-26 | 5 | -137/+141 |
| | | | | | | - 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 | ||||
* | Use -O3 for release builds. | Tavian Barnes | 2015-09-16 | 1 | -1/+1 |
| | |||||
* | tests.sh: Use a more portable mktemp form. | Tavian Barnes | 2015-09-15 | 1 | -1/+1 |
| | |||||
* | Fix -maxdepth handling when -depth is set. | Tavian Barnes | 2015-09-15 | 2 | -3/+15 |
| | | | | Lost some data due to this bug :(. | ||||
* | Add a basic test suite. | Tavian Barnes | 2015-09-15 | 2 | -1/+64 |
| |