summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bftw: Make bftw_flags more similar to fts() options.Tavian Barnes2016-11-214-25/+30
|
* Support -perm +MODE for symbolic modes.Tavian Barnes2016-11-213-5/+1
| | | | Only things like -perm +777 are disallowed by GNU find.
* Fix -execdir for /Tavian Barnes2016-11-215-6/+30
|
* Fix -execdir for root paths with no slashes.Tavian Barnes2016-11-212-2/+6
|
* tests: Don't rely on the system 'find' for the expected output.Tavian Barnes2016-11-2188-142/+1011
|
* Check for readdir() errors everywhere.Tavian Barnes2016-11-144-18/+34
|
* Don't try to -delete the current directory.Tavian Barnes2016-11-132-1/+11
|
* bftw: Keep trailing slashes on the root in BFTW_DEPTH mode.Tavian Barnes2016-11-132-7/+21
|
* Redirect stdin from /dev/null for -ok and -okdir.Tavian Barnes2016-11-136-34/+113
|
* parse: Don't print warnings if standard in is not a terminal.Tavian Barnes2016-11-131-1/+1
|
* bftw: Don't fail just because we couldn't open/read a directory.Tavian Barnes2016-11-031-3/+3
| | | | | | | With BFTW_RECOVER set, we're not supposed to fail just because a single measly directory couldn't be handled. But using state.error as scratch space made us fail in this case. The end result is that #7 resurfaced, so fix it again.
* Bump the version to 0.840.84Tavian Barnes2016-10-293-2/+18
|
* Implement -perm.Tavian Barnes2016-10-294-13/+366
|
* parse: Use free_expr(expr), not free(expr).Tavian Barnes2016-10-241-7/+7
|
* tests.sh: Give some feedback while running.Tavian Barnes2016-10-241-1/+15
|
* tests: Be more careful not to invoke remove-siblings.sh $scratch.Tavian Barnes2016-10-241-1/+1
|
* Implement -ignore_readdir_race.Tavian Barnes2016-10-246-31/+82
|
* Check for POSIX timers before using them.Tavian Barnes2016-10-242-7/+48
|
* Account for non-standard struct stat on macOS.Tavian Barnes2016-10-221-0/+7
|
* main: IN is read, OUT is write.Tavian Barnes2016-10-181-3/+3
| | | | Oops :/
* main: Make sure that STD{IN,OUT,ERR}_FILENO are open.Tavian Barnes2016-10-161-0/+59
| | | | | Otherwise invocations like bfs >&- may do weird things like try to write to directory descriptors.
* Check for errors in -print and friends.Tavian Barnes2016-10-163-29/+81
|
* bftw: Add support for some exotic file types, where available.Tavian Barnes2016-10-025-2/+96
|
* parse: Ignore -- on the command line.Tavian Barnes2016-10-022-6/+32
| | | | | | | | | | | | | | | | | | find uses -- to indicate the end of the flags. That is, $ find -L -- -type f is allowed, but $ find -- -L -type f results in an error about an unknown predicate `-L`. This behaviour doesn't seem particularly useful -- in particular, unlike most other tools, it doesn't help you if you want to specify a filename beginning with a -. So to ensure bfs is compatible with all GNU find command lines, we just ignore -- whenever it appears.
* bftw: Handle errors from readdir().Tavian Barnes2016-10-021-25/+66
|
* bftw: Fix do/to typo in a comment.Tavian Barnes2016-09-101-1/+1
|
* Give case a little bit of weight in the typo metric.Tavian Barnes2016-09-091-110/+108
|
* Give suggestions for operators too.Tavian Barnes2016-09-061-19/+47
|
* Use the two-star list augmenting method.Tavian Barnes2016-09-051-8/+4
|
* Bump the version to 0.82.0.82Tavian Barnes2016-09-043-4/+4
|
* Require -{min,max}depth argument to be positive.Tavian Barnes2016-09-041-1/+1
|
* Implement typo detection for literals.Tavian Barnes2016-09-044-2/+212
|
* Use a table-driven parser for literals.Tavian Barnes2016-09-041-291/+281
|
* bftw: Initialize typeflag to BFTW_UNKNOWN.Tavian Barnes2016-08-241-2/+1
| | | | It was totally broken on filesystems that spit out DT_UNKNOWN.
* Implement -f PATH from BSD find.Tavian Barnes2016-07-132-1/+29
|
* Use a linked list to store the root paths.Tavian Barnes2016-07-133-29/+52
|
* Implement -D rates.Tavian Barnes2016-06-284-16/+93
|
* Use underscores.Tavian Barnes2016-06-193-44/+44
|
* RELEASES.md: Be less verbose about optimization levels.Tavian Barnes2016-06-111-34/+7
|
* Re-work optimization levels.Tavian Barnes2016-06-093-21/+55
| | | | | | -O3 is the new default, for the future cost-based optimizer. -O4 enables the surprising/aggressive optimizations that used to be under -O3. -Ofast is a synonym for -O4.
* Allow flags like -L before ',' or ')' as pathnames.Tavian Barnes2016-06-092-18/+50
|
* Add release notes.Tavian Barnes2016-06-091-0/+85
|
* Implement -fprint and -fprint0.Tavian Barnes2016-06-084-9/+123
|
* Optimize ( ! x , y ) <==> ( x , y )Tavian Barnes2016-06-081-2/+14
|
* Treat '-', ')', and ',' as paths when possible.Tavian Barnes2016-06-082-37/+102
|
* Remove redundant pure expressions from the top level.Tavian Barnes2016-06-071-5/+28
|
* Optimize using De Morgan's laws.Tavian Barnes2016-06-071-0/+61
|
* Warn on things like "-not -maxdepth 1".Tavian Barnes2016-06-071-0/+6
|
* Move purity optimizations to -O2.Tavian Barnes2016-06-071-10/+12
|
* Implement -D opt.Tavian Barnes2016-06-073-29/+88
|