summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-11-21Fix -execdir for /Tavian Barnes
2016-11-21Fix -execdir for root paths with no slashes.Tavian Barnes
2016-11-21tests: Don't rely on the system 'find' for the expected output.Tavian Barnes
2016-11-14Check for readdir() errors everywhere.Tavian Barnes
2016-11-13Don't try to -delete the current directory.Tavian Barnes
2016-11-13bftw: Keep trailing slashes on the root in BFTW_DEPTH mode.Tavian Barnes
2016-11-13Redirect stdin from /dev/null for -ok and -okdir.Tavian Barnes
2016-11-13parse: Don't print warnings if standard in is not a terminal.Tavian Barnes
2016-11-03bftw: Don't fail just because we couldn't open/read a directory.Tavian Barnes
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.
2016-10-29Bump the version to 0.840.84Tavian Barnes
2016-10-29Implement -perm.Tavian Barnes
2016-10-24parse: Use free_expr(expr), not free(expr).Tavian Barnes
2016-10-24tests.sh: Give some feedback while running.Tavian Barnes
2016-10-24tests: Be more careful not to invoke remove-siblings.sh $scratch.Tavian Barnes
2016-10-24Implement -ignore_readdir_race.Tavian Barnes
2016-10-24Check for POSIX timers before using them.Tavian Barnes
2016-10-22Account for non-standard struct stat on macOS.Tavian Barnes
2016-10-18main: IN is read, OUT is write.Tavian Barnes
Oops :/
2016-10-16main: Make sure that STD{IN,OUT,ERR}_FILENO are open.Tavian Barnes
Otherwise invocations like bfs >&- may do weird things like try to write to directory descriptors.
2016-10-16Check for errors in -print and friends.Tavian Barnes
2016-10-02bftw: Add support for some exotic file types, where available.Tavian Barnes
2016-10-02parse: Ignore -- on the command line.Tavian Barnes
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.
2016-10-02bftw: Handle errors from readdir().Tavian Barnes
2016-09-10bftw: Fix do/to typo in a comment.Tavian Barnes
2016-09-09Give case a little bit of weight in the typo metric.Tavian Barnes
2016-09-06Give suggestions for operators too.Tavian Barnes
2016-09-05Use the two-star list augmenting method.Tavian Barnes
2016-09-04Bump the version to 0.82.0.82Tavian Barnes
2016-09-04Require -{min,max}depth argument to be positive.Tavian Barnes
2016-09-04Implement typo detection for literals.Tavian Barnes
2016-09-04Use a table-driven parser for literals.Tavian Barnes
2016-08-24bftw: Initialize typeflag to BFTW_UNKNOWN.Tavian Barnes
It was totally broken on filesystems that spit out DT_UNKNOWN.
2016-07-13Implement -f PATH from BSD find.Tavian Barnes
2016-07-13Use a linked list to store the root paths.Tavian Barnes
2016-06-28Implement -D rates.Tavian Barnes
2016-06-19Use underscores.Tavian Barnes
2016-06-11RELEASES.md: Be less verbose about optimization levels.Tavian Barnes
2016-06-09Re-work optimization levels.Tavian Barnes
-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.
2016-06-09Allow flags like -L before ',' or ')' as pathnames.Tavian Barnes
2016-06-09Add release notes.Tavian Barnes
2016-06-08Implement -fprint and -fprint0.Tavian Barnes
2016-06-08Optimize ( ! x , y ) <==> ( x , y )Tavian Barnes
2016-06-08Treat '-', ')', and ',' as paths when possible.Tavian Barnes
2016-06-07Remove redundant pure expressions from the top level.Tavian Barnes
2016-06-07Optimize using De Morgan's laws.Tavian Barnes
2016-06-07Warn on things like "-not -maxdepth 1".Tavian Barnes
2016-06-07Move purity optimizations to -O2.Tavian Barnes
2016-06-07Implement -D opt.Tavian Barnes
2016-06-07At -O3, replace command lines with no actions by -false.Tavian Barnes
2016-06-03eval: Clean up open fd counting code.Tavian Barnes