summaryrefslogtreecommitdiffstats
path: root/parse.c
Commit message (Collapse)AuthorAgeFilesLines
* Optimize ( ! x , y ) <==> ( x , y )Tavian Barnes2016-06-081-2/+14
|
* Treat '-', ')', and ',' as paths when possible.Tavian Barnes2016-06-081-34/+62
|
* 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-071-27/+81
|
* At -O3, replace command lines with no actions by -false.Tavian Barnes2016-06-071-0/+5
|
* Use complete sentences in error messages consistently.Tavian Barnes2016-05-221-3/+3
|
* Use argc/argv naming consistently.Tavian Barnes2016-05-221-71/+71
|
* Implement -{exec,ok}{,dir}.Tavian Barnes2016-05-221-5/+51
|
* Implement -size.Tavian Barnes2016-03-121-14/+108
|
* Implement -used.Tavian Barnes2016-03-051-0/+2
| | | | | | 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 Barnes2016-02-271-1/+1
|
* Implement (most of) -newerXY.Tavian Barnes2016-02-271-0/+81
|
* Fix -daystart to not round 0 upwards.Tavian Barnes2016-02-271-3/+6
|
* Implement -O.Tavian Barnes2016-02-231-49/+79
|
* Implement -D tree.Tavian Barnes2016-02-231-206/+352
|
* Implement -D stat.Tavian Barnes2016-02-221-0/+40
|
* Simplify double-negation.Tavian Barnes2016-02-211-0/+5
|
* Make optimizations based on the purity of predicates.Tavian Barnes2016-02-211-42/+36
| | | | | | | | This allows something like $ ./bfs -empty -false to avoid evaluating -empty, just like find.
* -follow is a positional option.Tavian Barnes2016-02-181-4/+4
|
* Initialize expr.cmp for -user and -group.Tavian Barnes2016-02-171-0/+2
|
* Add missing "error:" tag to error messages.Tavian Barnes2016-02-161-2/+2
|
* Implement -user and -group.Tavian Barnes2016-02-141-0/+83
|
* Refactor color handling.Tavian Barnes2016-02-141-47/+62
| | | | The main benefit is colored warnings/errors during parsing.
* Implement -lname and -ilname.Tavian Barnes2016-02-141-1/+13
|
* "Implement" -noleaf.Tavian Barnes2016-02-141-0/+15
|
* Implement -mount/-xdev.Tavian Barnes2016-02-141-1/+7
|
* Add brief -help and -version support.Tavian Barnes2016-02-141-2/+59
|
* Implement -iname and -ipath.Tavian Barnes2016-02-131-4/+45
|
* Implement -xtype.Tavian Barnes2016-02-131-5/+10
|
* More s/cl/cmdline/.Tavian Barnes2016-02-131-45/+45
|
* Implement -samefile.Tavian Barnes2016-02-101-7/+41
|
* Implement -L/-follow.Tavian Barnes2016-02-091-2/+13
|
* Implement -P and -H.Tavian Barnes2016-02-041-1/+19
|
* Drive the literal parsing with a switch.Tavian Barnes2016-02-041-82/+157
|
* Implement -links.Tavian Barnes2016-02-041-0/+2
|
* Implement -inum.Tavian Barnes2016-02-041-0/+2
|
* Implement -[ac]?newer.Tavian Barnes2016-02-041-0/+43
|
* Implements -daystart.Tavian Barnes2016-02-041-5/+41
|
* Refactor how -[acm]{min,time} are handled.Tavian Barnes2016-02-041-6/+18
|
* Leave some struct expr fields uninitialized.Tavian Barnes2016-02-041-7/+0
|
* Don't use typedefs to avoid struct/enum tags.Tavian Barnes2016-02-041-79/+79
|
* Add -gid and -uid support.Tavian Barnes2016-02-021-0/+4
|
* Add -[acm]{min,time} support.Tavian Barnes2016-02-021-14/+78
|
* Implement -empty.Tavian Barnes2016-01-301-0/+2
|
* Split out parsing code.Tavian Barnes2015-11-291-0/+662