Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-03-16 | Color link targets for -ls | Tavian Barnes | |
Fixes #18. | |||
2017-03-16 | Give struct expr a CFILE* instead of just a FILE* | Tavian Barnes | |
This unifies the behaviour of -print and -fprint /dev/stdout. | |||
2017-03-11 | Release 0.960.96 | Tavian Barnes | |
2017-03-11 | Implement -ls and -fls | Tavian Barnes | |
2017-03-11 | tests: Run everything in UTC | Tavian Barnes | |
2017-03-11 | Add a test for colored output | Tavian Barnes | |
2017-03-11 | Make a printf()-style API for colored messages | Tavian Barnes | |
2017-03-11 | Implement -printf %Ak, %Ck, and %Tk | Tavian Barnes | |
2017-02-11 | tests: Print the count of passing and failing tests | Tavian Barnes | |
2017-02-11 | Add some tests for the operators themselves | Tavian Barnes | |
2017-02-11 | Allow short-circuiting optimizations with non-pure operands | Tavian Barnes | |
2017-02-10 | Add tests for bfs's flexible command line parsing | Tavian Barnes | |
2017-02-10 | tests: Don't require bash associative arrays | Tavian Barnes | |
That's a bash 4 feature, while macOS is stuck on bash 3. | |||
2017-02-09 | bftw: Make the nameoff of "///" point to "/" | Tavian Barnes | |
This simplifies a few things such as -name handling for ///. | |||
2017-02-09 | Give the test cases human-readable names | Tavian Barnes | |
2017-02-09 | Don't close stdin for -ok or -okdir | Tavian Barnes | |
Turns out it violates POSIX, even though GNU find does it. | |||
2017-02-09 | parse: Factor out all "looks like icmp" checks | Tavian Barnes | |
2017-02-09 | bftw: Add the DIR* to bftw_state | Tavian Barnes | |
Can't forget to close it that way. | |||
2017-02-08 | Add support for -x?type with multiple types | Tavian Barnes | |
This functionality is already part of GNU findutils git. | |||
2017-02-07 | bftw: Add mising closedir() to error path | Tavian Barnes | |
2017-02-07 | Bail out if parse_root() fails | Tavian Barnes | |
Previously, skip_paths() did not distinguish between end-of-arguments and parse_root() failing, returning NULL in both cases. If parse_root() failed, parsing would attempt to continue, in an unexpected state. | |||
2017-02-07 | Add some missing perror() calls | Tavian Barnes | |
2017-02-06 | bftw: Plug a leak if dirqueue_push() fails | Tavian Barnes | |
If bftw_add() succeeds but dirqueue_push() fails, we need to clean up the just-added dircache_entry. Otherwise it will leak, and we'll also fail the cache->size == 0 assertion. Fix it by extracting the dircache-related parts of bftw_pop() into a new helper function bftw_gc(), and call it from bftw_pop() as well as the bftw_push() failure path. | |||
2017-02-06 | Fix a memory leak parsing -printf | Tavian Barnes | |
2017-02-06 | tests.sh: Set the umask before creating the test trees | Tavian Barnes | |
2017-02-05 | Make -quit happen immediately, not at the end of the current expression | Tavian Barnes | |
2017-02-05 | bftw: Compute nameoff correctly for the root in BFTW_DEPTH mode | Tavian Barnes | |
2017-02-05 | Implement -printf/-fprintf | Tavian Barnes | |
Based on a patch by Fangrui Song <i@maskray.me>. Closes #16. | |||
2017-02-04 | Implement -nouser and -nogroup | Tavian Barnes | |
2017-01-31 | Don't trust st_size when reading symlinks | Tavian Barnes | |
Linux /proc, for example, reports a st_size of 0 for everything. It's nice to be able to use -lname on them anyway. | |||
2017-01-14 | Simplify exec_chdir() | Tavian Barnes | |
The previous code recomputed the name offset for no reason, and had an embarrassing typo that was hypothetically a bug (`} if` instead of `} else if`). | |||
2017-01-06 | Don't set _POSIX_C_SOURCE | Tavian Barnes | |
The BSD behaviour is to hide all BSD extensions if standard-conformance feature test macros are present. We don't want strict POSIX, we want all available extensions, so ask for that. | |||
2017-01-03 | tests: Add a test for -inum | Tavian Barnes | |
2017-01-02 | tests: Add tests for -quit | Tavian Barnes | |
2017-01-02 | eval: Check that O_DIRECTORY is defined before using it | Tavian Barnes | |
2016-12-21 | travis: Do 32-bit builds too | Tavian Barnes | |
2016-12-21 | Set _FILE_OFFSET_BITS to 64 | Tavian Barnes | |
With the new support for -size n[TP], this is needed to avoid overflow on 32-bit platforms. | |||
2016-12-20 | Bump the version to 0.880.88 | Tavian Barnes | |
2016-12-20 | Add some text to the -help output | Tavian Barnes | |
2016-12-20 | Implement -mnewer | Tavian Barnes | |
2016-12-20 | Add tera and peta suffices for -size | Tavian Barnes | |
2016-12-20 | Implement -sparse from FreeBSD find | Tavian Barnes | |
2016-12-20 | Support -[gu]id NAME like BSD find | Tavian Barnes | |
2016-12-20 | Don't check errno after get{gr,pw}nam() | Tavian Barnes | |
Turns out it doesn't always keep errno 0, even if the only problem is a failed lookup. This was observed on a machine with Kerberos auth. | |||
2016-12-18 | Implement BSD find's -depth N | Tavian Barnes | |
2016-12-18 | tests: Allow limiting the testsuite to POSIX, BSD, GNU, and bfs-specific ↵ | Tavian Barnes | |
features | |||
2016-12-18 | tests.sh: Let the bfs binary be specified on the command line | Tavian Barnes | |
2016-12-18 | Add support for -x (same as -mount/-xdev, from BSD) | Tavian Barnes | |
2016-12-18 | Implement -regex, -iregex, and -regextype/-E | Tavian Barnes | |
2016-12-17 | bftw: Clean up the dirqueue implementation a bit | Tavian Barnes | |