Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Implement -delete. | Tavian Barnes | 2015-09-08 | 3 | -6/+29 |
| | | | | Related to #5. | ||||
* | Perform some boolean simplification on the expression tree. | Tavian Barnes | 2015-09-08 | 1 | -52/+133 |
| | | | | And plug some leaks while I'm at it. | ||||
* | Add -depth support. | Tavian Barnes | 2015-09-08 | 3 | -41/+191 |
| | | | | | | | The resulting order is fairly weird, as files are still returned in breadth-first order, but directories are returned in a backwards order based on when their reference counts drop to zero. But it's good enough for -delete support. | ||||
* | Factor some code out of bftw(). | Tavian Barnes | 2015-09-06 | 1 | -77/+172 |
| | |||||
* | Print the root file/directory too. | Tavian Barnes | 2015-09-02 | 5 | -100/+142 |
| | |||||
* | Add -print0 support. | Tavian Barnes | 2015-09-01 | 1 | -10/+43 |
| | |||||
* | Add -mindepth and -maxdepth support. | Tavian Barnes | 2015-08-31 | 1 | -3/+62 |
| | |||||
* | Fix parsing around ")". | Tavian Barnes | 2015-08-31 | 1 | -1/+3 |
| | |||||
* | Fix -o/-or and comma operator. | Tavian Barnes | 2015-08-31 | 1 | -0/+4 |
| | |||||
* | Add -name support. | Tavian Barnes | 2015-08-31 | 1 | -22/+97 |
| | |||||
* | Free the colors. | Tavian Barnes | 2015-08-31 | 1 | -0/+1 |
| | |||||
* | bftw: Store the paths with a trailing slash. | Tavian Barnes | 2015-08-31 | 1 | -32/+37 |
| | |||||
* | bftw: Fix path size of /. | Tavian Barnes | 2015-08-31 | 1 | -2/+6 |
| | |||||
* | Don't forget to initialize cl->expr. | Tavian Barnes | 2015-08-31 | 1 | -0/+1 |
| | |||||
* | Simplify evaluation function signatures. | Tavian Barnes | 2015-08-31 | 1 | -36/+48 |
| | |||||
* | Add support for -true and -false. | Tavian Barnes | 2015-08-30 | 1 | -11/+22 |
| | |||||
* | Fix -nohidden return value. | Tavian Barnes | 2015-08-30 | 1 | -2/+6 |
| | |||||
* | Add -type support. | Tavian Barnes | 2015-08-30 | 3 | -16/+103 |
| | | | | Fixes #2. | ||||
* | Parse command line expressions properly. | Tavian Barnes | 2015-08-30 | 1 | -61/+492 |
| | |||||
* | Infer the right value for nopenfd, and recover from EMFILE. | Tavian Barnes | 2015-07-27 | 2 | -3/+34 |
| | |||||
* | Recover from errors in diropen(). | Tavian Barnes | 2015-07-25 | 5 | -90/+183 |
| | | | | Fixes #4. | ||||
* | Disable asserts in release build. | Tavian Barnes | 2015-07-23 | 1 | -1/+1 |
| | |||||
* | bftw: New struct BFTW type to hold file attributes. | Tavian Barnes | 2015-07-23 | 3 | -31/+47 |
| | | | | | Like nftw()'s struct FTW. level is needed to implement -mindepth/ -maxdepth. | ||||
* | Makefile: Add a 'release' target. | Tavian Barnes | 2015-07-19 | 1 | -1/+4 |
| | |||||
* | Makefile: Don't pass -Og, which doesn't exist in clang. | Tavian Barnes | 2015-07-19 | 1 | -3/+3 |
| | | | | Fixes #1. |