Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Account for non-standard struct stat on macOS. | Tavian Barnes | 2016-10-22 | 1 | -0/+7 |
| | |||||
* | main: IN is read, OUT is write. | Tavian Barnes | 2016-10-18 | 1 | -3/+3 |
| | | | | Oops :/ | ||||
* | main: Make sure that STD{IN,OUT,ERR}_FILENO are open. | Tavian Barnes | 2016-10-16 | 1 | -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 Barnes | 2016-10-16 | 3 | -29/+81 |
| | |||||
* | bftw: Add support for some exotic file types, where available. | Tavian Barnes | 2016-10-02 | 5 | -2/+96 |
| | |||||
* | parse: Ignore -- on the command line. | Tavian Barnes | 2016-10-02 | 2 | -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 Barnes | 2016-10-02 | 1 | -25/+66 |
| | |||||
* | bftw: Fix do/to typo in a comment. | Tavian Barnes | 2016-09-10 | 1 | -1/+1 |
| | |||||
* | Give case a little bit of weight in the typo metric. | Tavian Barnes | 2016-09-09 | 1 | -110/+108 |
| | |||||
* | Give suggestions for operators too. | Tavian Barnes | 2016-09-06 | 1 | -19/+47 |
| | |||||
* | Use the two-star list augmenting method. | Tavian Barnes | 2016-09-05 | 1 | -8/+4 |
| | |||||
* | Bump the version to 0.82.0.82 | Tavian Barnes | 2016-09-04 | 3 | -4/+4 |
| | |||||
* | Require -{min,max}depth argument to be positive. | Tavian Barnes | 2016-09-04 | 1 | -1/+1 |
| | |||||
* | Implement typo detection for literals. | Tavian Barnes | 2016-09-04 | 4 | -2/+212 |
| | |||||
* | Use a table-driven parser for literals. | Tavian Barnes | 2016-09-04 | 1 | -291/+281 |
| | |||||
* | bftw: Initialize typeflag to BFTW_UNKNOWN. | Tavian Barnes | 2016-08-24 | 1 | -2/+1 |
| | | | | It was totally broken on filesystems that spit out DT_UNKNOWN. | ||||
* | Implement -f PATH from BSD find. | Tavian Barnes | 2016-07-13 | 2 | -1/+29 |
| | |||||
* | Use a linked list to store the root paths. | Tavian Barnes | 2016-07-13 | 3 | -29/+52 |
| | |||||
* | Implement -D rates. | Tavian Barnes | 2016-06-28 | 4 | -16/+93 |
| | |||||
* | Use underscores. | Tavian Barnes | 2016-06-19 | 3 | -44/+44 |
| | |||||
* | RELEASES.md: Be less verbose about optimization levels. | Tavian Barnes | 2016-06-11 | 1 | -34/+7 |
| | |||||
* | Re-work optimization levels. | Tavian Barnes | 2016-06-09 | 3 | -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 Barnes | 2016-06-09 | 2 | -18/+50 |
| | |||||
* | Add release notes. | Tavian Barnes | 2016-06-09 | 1 | -0/+85 |
| | |||||
* | Implement -fprint and -fprint0. | Tavian Barnes | 2016-06-08 | 4 | -9/+123 |
| | |||||
* | Optimize ( ! x , y ) <==> ( x , y ) | Tavian Barnes | 2016-06-08 | 1 | -2/+14 |
| | |||||
* | Treat '-', ')', and ',' as paths when possible. | Tavian Barnes | 2016-06-08 | 2 | -37/+102 |
| | |||||
* | Remove redundant pure expressions from the top level. | Tavian Barnes | 2016-06-07 | 1 | -5/+28 |
| | |||||
* | Optimize using De Morgan's laws. | Tavian Barnes | 2016-06-07 | 1 | -0/+61 |
| | |||||
* | Warn on things like "-not -maxdepth 1". | Tavian Barnes | 2016-06-07 | 1 | -0/+6 |
| | |||||
* | Move purity optimizations to -O2. | Tavian Barnes | 2016-06-07 | 1 | -10/+12 |
| | |||||
* | Implement -D opt. | Tavian Barnes | 2016-06-07 | 3 | -29/+88 |
| | |||||
* | At -O3, replace command lines with no actions by -false. | Tavian Barnes | 2016-06-07 | 1 | -0/+5 |
| | |||||
* | eval: Clean up open fd counting code. | Tavian Barnes | 2016-06-03 | 1 | -5/+9 |
| | |||||
* | color: Ignore colors that are all zeros. | Tavian Barnes | 2016-06-03 | 1 | -1/+6 |
| | | | | | This keeps multi_hard from overriding extension colors if LS_COLORS says mh=00:, matching the behavior of ls. | ||||
* | color: Add multi-hard link coloring support. | Tavian Barnes | 2016-06-02 | 1 | -1/+14 |
| | |||||
* | Fix hypothetical leak if waitpid() fails. | Tavian Barnes | 2016-06-02 | 1 | -1/+1 |
| | |||||
* | Bump to 0.79.0.79 | Tavian Barnes | 2016-05-22 | 2 | -2/+2 |
| | |||||
* | Use complete sentences in error messages consistently. | Tavian Barnes | 2016-05-22 | 1 | -3/+3 |
| | |||||
* | Use argc/argv naming consistently. | Tavian Barnes | 2016-05-22 | 3 | -84/+84 |
| | |||||
* | Implement -{exec,ok}{,dir}. | Tavian Barnes | 2016-05-22 | 4 | -8/+297 |
| | |||||
* | dstring: Clean up the API a bit. | Tavian Barnes | 2016-05-22 | 3 | -15/+21 |
| | |||||
* | bftw: Use realloc() to grow the dirqueue. | Tavian Barnes | 2016-05-17 | 1 | -13/+11 |
| | |||||
* | bftw: Remove some debugging counters that were left in accidentally. | Tavian Barnes | 2016-05-17 | 1 | -10/+0 |
| | |||||
* | dstring: Split out the dynamic string logic. | Tavian Barnes | 2016-04-13 | 4 | -69/+213 |
| | |||||
* | Remove an errant debugging printf(). | Tavian Barnes | 2016-04-10 | 1 | -1/+0 |
| | |||||
* | Bump the version to 0.74.0.74 | Tavian Barnes | 2016-03-12 | 2 | -2/+2 |
| | |||||
* | Implement -size. | Tavian Barnes | 2016-03-12 | 4 | -17/+172 |
| | |||||
* | Implement -used. | Tavian Barnes | 2016-03-05 | 3 | -0/+18 |
| | | | | | | This doesn't agree with find's output, but I think find is buggy here. For example, find -used +0 is returning fewer results than find -used 1, which makes no sense given that 1 is greater than 0. | ||||
* | Fix a typo that caused a segfault with missing arguments. | Tavian Barnes | 2016-02-27 | 1 | -1/+1 |
| |