Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | opt: Track data flow information about predicates | Tavian Barnes | 2020-05-22 | 1 | -12/+28 |
| | | | | | | | | | | This allows us to optimize things like -sparse -o -not -sparse <==> -true and -sparse -a -not -sparse <==> -false | ||||
* | Implement -s flag from FreeBSD find to sort results | Tavian Barnes | 2020-03-21 | 1 | -0/+40 |
| | |||||
* | parse: Prettify some of the option-specific help | Tavian Barnes | 2020-03-20 | 1 | -1/+6 |
| | |||||
* | tests: Add a test for -printf %u/%g with a low ulimit | Tavian Barnes | 2020-03-01 | 1 | -0/+7 |
| | |||||
* | eval: Irregular files aren't empty | Tavian Barnes | 2020-02-14 | 1 | -1/+5 |
| | | | | | GNU find's -empty returns false for devices, sockets, etc., even though their st_size is 0. Match that behaviour. | ||||
* | parse: Handle 1969-12-31T23:59:59Z | Tavian Barnes | 2020-02-13 | 1 | -0/+6 |
| | | | | | mktime() returns -1 on error, but also for one second before the epoch. Compare the input against localtime(-1) to distinguish those cases. | ||||
* | Implement -{a,B,c,m,}since | Tavian Barnes | 2020-02-12 | 1 | -0/+13 |
| | |||||
* | Implement explicit reference times (-newerXt) | Tavian Barnes | 2020-02-11 | 1 | -0/+6 |
| | |||||
* | tests: Make test_xattr a sudo test in exactly the right cases | Tavian Barnes | 2020-01-14 | 1 | -11/+14 |
| | | | | This was broken on GNU Hurd, for example. | ||||
* | fsade: Support checking for xattrs (extattrs) on FreeBSD | Tavian Barnes | 2020-01-08 | 1 | -23/+33 |
| | |||||
* | tests: Fix setting ACLs on Linux | Tavian Barnes | 2020-01-08 | 1 | -14/+15 |
| | |||||
* | Update copyright dates | Tavian Barnes | 2020-01-07 | 1 | -1/+1 |
| | |||||
* | fsade: Support NFSv4 ACLs on FreeBSD | Tavian Barnes | 2020-01-07 | 1 | -14/+20 |
| | |||||
* | tests.sh: Bail out if setup fails | Tavian Barnes | 2019-11-01 | 1 | -0/+2 |
| | |||||
* | tests: Fix some comments | Tavian Barnes | 2019-09-19 | 1 | -3/+3 |
| | |||||
* | tests: Don't redirect to /dev/null when unnecessary | Tavian Barnes | 2019-09-13 | 1 | -4/+4 |
| | |||||
* | tests.sh: Use an array for the enabled tests | Tavian Barnes | 2019-09-11 | 1 | -15/+11 |
| | | | | | The separate $run_test_* variables were sensitive to the environment that ran the script. | ||||
* | tests: Add -mount/-xdev tests with -L | Tavian Barnes | 2019-09-11 | 1 | -0/+32 |
| | |||||
* | tests: Test more cases in test_color_ls | Tavian Barnes | 2019-09-05 | 1 | -1/+3 |
| | |||||
* | color: Actually resolve symlinks against their parent directory | Tavian Barnes | 2019-09-04 | 1 | -0/+1 |
| | |||||
* | color: Fix directory coloring when resolving symlinks at the root | Tavian Barnes | 2019-09-03 | 1 | -0/+25 |
| | |||||
* | tests: Bail out of ACL tests if we can't set ACLs | Tavian Barnes | 2019-08-23 | 1 | -10/+6 |
| | | | | Hopefully fixes #52. | ||||
* | tests: Relax test_execdir_ulimit so that GNU find passes | Tavian Barnes | 2019-06-28 | 1 | -3/+3 |
| | |||||
* | color: Fix a crash if LS_COLORS ends in * | Tavian Barnes | 2019-06-27 | 1 | -0/+6 |
| | |||||
* | bftw: Queue individual files in depth-first mode | Tavian Barnes | 2019-06-25 | 1 | -1/+15 |
| | | | | This makes the order be truly depth-first. | ||||
* | tests: Qualify the path to $TMP/scratch | Tavian Barnes | 2019-06-25 | 1 | -1/+3 |
| | |||||
* | tests.sh: Try a bit harder to clean up scratch | Tavian Barnes | 2019-06-17 | 1 | -4/+3 |
| | | | | | This matters if some directories aren't readable/searchable and we get ^C'd, for example. | ||||
* | fsade: Fix ACL detection on macOS | Tavian Barnes | 2019-05-24 | 1 | -10/+56 |
| | |||||
* | Add documentation for -xattr | Tavian Barnes | 2019-05-24 | 1 | -0/+6 |
| | |||||
* | Implement -xattr predicate | Tavian Barnes | 2019-05-24 | 1 | -0/+27 |
| | |||||
* | fsade: Refactor the POSIX.1e abstractions | Tavian Barnes | 2019-05-24 | 1 | -0/+52 |
| | | | | | | | Since we're going to want to abstract more things that aren't part of POSIX.1e (like xattrs) in a similar way, let's give this a more generic name. And while we're at it, give it some more precise error reporting, and add some tests. | ||||
* | tests: Fix a typo | Tavian Barnes | 2019-05-23 | 1 | -1/+1 |
| | |||||
* | tests: Work around Bash 4 not updating $COLUMNS | Tavian Barnes | 2019-05-09 | 1 | -0/+7 |
| | |||||
* | tests: Add some more --sudo tests | Tavian Barnes | 2019-05-09 | 1 | -5/+49 |
| | | | | | | https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912180#17 pointed out that d_ino is not trustworthy on mount points either. Make sure we don't use it. | ||||
* | color: Don't stat() if we don't need to | Tavian Barnes | 2019-05-05 | 1 | -0/+10 |
| | |||||
* | bftw: Add a caching stat() API to struct BFTW | Tavian Barnes | 2019-05-04 | 1 | -0/+10 |
| | |||||
* | tests: Fix test_xtype_reorder | Tavian Barnes | 2019-04-28 | 1 | -2/+2 |
| | |||||
* | tests: Add some tests that require sudo | Tavian Barnes | 2019-04-24 | 1 | -13/+77 |
| | |||||
* | tests: Redirect stdin from /dev/null | Tavian Barnes | 2019-04-24 | 1 | -0/+3 |
| | |||||
* | tests: Use more colors | Tavian Barnes | 2019-04-24 | 1 | -32/+39 |
| | |||||
* | parse: Allow things like -uid ++10 | Tavian Barnes | 2019-04-21 | 1 | -0/+20 |
| | | | | GNU find does too. | ||||
* | tests: Fix --bfs=path | Tavian Barnes | 2019-04-21 | 1 | -10/+10 |
| | |||||
* | tests: Don't test symlink permissions | Tavian Barnes | 2019-04-20 | 1 | -1/+1 |
| | | | | They're different between platforms. | ||||
* | tests: Add a test with -printf %H and multiple roots | Tavian Barnes | 2019-04-20 | 1 | -0/+5 |
| | | | | To make sure we're keeping track of different root paths correctly | ||||
* | tests: Refuse to run as root | Tavian Barnes | 2019-04-18 | 1 | -256/+267 |
| | | | | | Suggested by Chris Lamb here: https://salsa.debian.org/lamby/pkg-bfs/commit/b173efb35da126adb39b0984219d6a2fd9ff428f#note_74877 | ||||
* | tests: Fix color NUL byte test on platforms where sort expects text | Tavian Barnes | 2019-03-28 | 1 | -1/+17 |
| | |||||
* | color: Implement ln=target | Tavian Barnes | 2019-03-28 | 1 | -0/+5 |
| | | | | | With ln=target in LS_COLORS, links should be colored according to their target's stat() info, not their own. | ||||
* | color: Implement escape sequence parsing | Tavian Barnes | 2019-03-28 | 1 | -0/+10 |
| | | | | | GNU ls allows custom escape sequences inside color values, including control characters and embedded NULs. | ||||
* | opt: Optimize redundant comma expressions | Tavian Barnes | 2019-03-21 | 1 | -2/+14 |
| | |||||
* | tests: Respond to terminal resizes | Tavian Barnes | 2019-03-21 | 1 | -3/+9 |
| |