Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-01-02 | Release 1.31.3 | Tavian Barnes | |
2019-01-02 | posix1e: Split out ACL and capability handling from util | Tavian Barnes | |
2019-01-02 | color: Fix more incompatibilities with GNU ls | Tavian Barnes | |
2019-01-02 | color: Check format strings + args for cfprintf() | Tavian Barnes | |
%{cc} is now ${cc} to avoid warnings about an unrecognized format specifier, and %P and %L are now %pP and %pL to make them look more like standard format strings. | |||
2019-01-02 | diag: Unify diagnostic formatting | Tavian Barnes | |
This adds a bfs: prefix to error/warning messages for consistency with other command line tools, and leaves only the "error:"/"warning:" part colored like GCC. It also uniformly adds full stops after messages. | |||
2018-12-30 | README.md: Fix broken macOS find man page link | Tavian Barnes | |
2018-12-30 | Hide unsupported options from -help | Tavian Barnes | |
2018-12-30 | RELEASES.md: Update for the next release | Tavian Barnes | |
2018-12-28 | tests: Fix test_exit() to not depend on breadth-first ordering | Tavian Barnes | |
2018-12-28 | color: Don't bail out on colors that exist but are NULL | Tavian Barnes | |
2018-12-28 | parse: Handle argc == 0 | Tavian Barnes | |
Linux allows you to exec() with no argument list at all. Default to "bfs" in that case. | |||
2018-12-25 | stat: Provide a helper for getting human-readable field names | Tavian Barnes | |
And fix -newerXY if the Y time doesn't exist. | |||
2018-12-20 | stat: Unify bfs_stat_time() implementations | Tavian Barnes | |
2018-12-19 | stat: Handle statx() not returning some times | Tavian Barnes | |
/sys/fs/cgroup, for example, doesn't return access times from statx(). That shouldn't matter unless we actually need them, so make it not an error. | |||
2018-12-19 | parse: Fix probabilities when -types are duplicated | Tavian Barnes | |
-type f,f does not have more than a 100% probability of success. | |||
2018-12-19 | parse: Add cost info for -acl and -capable | Tavian Barnes | |
And set ephemeral_fds correctly too. | |||
2018-12-19 | util: Don't leak an acl_t on non-POSIX.1e platforms | Tavian Barnes | |
2018-12-18 | util: Support systems that don't define the POSIX.1e ACL tag values | Tavian Barnes | |
2018-12-18 | travis: Install the POSIX.1e headers | Tavian Barnes | |
2018-12-17 | Implement -acl test | Tavian Barnes | |
2018-12-17 | Add new -capable test | Tavian Barnes | |
2018-12-17 | color: Support coloring files with capabilities | Tavian Barnes | |
2018-12-17 | Makefile: Link with -lrt on Linux | Tavian Barnes | |
Fixes #29. | |||
2018-12-17 | tests.sh: Add a --help with usage information | Tavian Barnes | |
2018-12-17 | bftw: Move bftw_typeflag conversion out of util | Tavian Barnes | |
Turns out incomplete enum types are a GNU C extension. | |||
2018-12-17 | color: Make extension detection case-insensitive | Tavian Barnes | |
It's what GNU ls does. | |||
2018-12-17 | color: Don't print the leading directory color if there's no leading directory | Tavian Barnes | |
2018-12-03 | bfs(1): Fix some double spaces after exclamation marks | Tavian Barnes | |
2018-11-14 | exec: Reject -exec \; without a command | Tavian Barnes | |
Prior to this, we'd fork and then segfault on every file as NULL was passed to execvpe(). Found while looking through old FreeBSD find bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=36521 bfs still supports the (dubious, possibly unintentional?) GNU find extension to POSIX that allows $ bfs -exec {} \; | |||
2018-11-14 | tests: Don't assume BSD find has the "implicit ." | Tavian Barnes | |
Also, FreeBSD find rejects -L -delete, so don't test it under --bsd. | |||
2018-11-14 | tests: Don't assume find continues after filesystem loops | Tavian Barnes | |
POSIX says > When it detects an infinite loop, find shall write a diagnostic > message to standard error and shall either recover its position in the > hierarchy or terminate. So make the 'links' folder not have any loops, and add a new 'loops' folder for testing the GNU/bfs behaviour. | |||
2018-11-08 | Check for <sys/param.h> before including it | Tavian Barnes | |
Fixes #38. | |||
2018-11-02 | util: Provide fallback implementations of makedev()/major()/minor() | Tavian Barnes | |
2018-11-02 | parse: Use a better reference point for incomplete expression errors | Tavian Barnes | |
This makes `bfs -not type d` complain about nothing following the `-not` rather than the `d`. | |||
2018-11-02 | parse: Add support for -D all to enable all debug flags | Tavian Barnes | |
2018-11-02 | parse: Improve -D diagnostics | Tavian Barnes | |
2018-11-01 | util: Wrap __has_include() | Tavian Barnes | |
2018-11-01 | Print device major/minor numbers for -ls | Tavian Barnes | |
2018-11-01 | tests: Make the weird names tests POSIX-compliant | Tavian Barnes | |
2018-11-01 | tests: Add testcases for -prune | Tavian Barnes | |
2018-11-01 | Remove man page on make uninstall | Tavian Barnes | |
2018-09-27 | tests: Sort test lists | Tavian Barnes | |
2018-09-27 | tests: Move test for -H -newer out of POSIX | Tavian Barnes | |
The POSIX spec implies that -newer is actually not supposed to respect -H/-L. But all implementations I know about do anyway. | |||
2018-09-26 | tests: Remove non-POSIX features from POSIX tests | Tavian Barnes | |
Credit to http://core.suckless.org/sbase/ for identifying these. | |||
2018-09-26 | Update some more copyright dates | Tavian Barnes | |
2018-09-24 | Merge branch 'release-1.2.4' | Tavian Barnes | |
2018-09-24 | Release 1.2.41.2.4 | Tavian Barnes | |
2018-09-24 | Update copyright dates | Tavian Barnes | |
2018-09-19 | spawn: Add some docs | Tavian Barnes | |
2018-09-19 | spawn: Implement execvpe() on platforms that lack it | Tavian Barnes | |
Credit to https://github.com/nim-lang/Nim/issues/3138 for the idea to just overwrite environ and call execvp() instead of duplicating the path searching logic. |