summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-04-15bftw: New BFTW_BUFFER flagTavian Barnes
2022-04-01bfs.1: Fix a confusing comma in the -size docsTavian Barnes
2022-03-27opt: Use floats consistently for probabilities and costsTavian Barnes
2022-03-27Release 2.52.5Tavian Barnes
2022-03-27README: Add a blurb about fancy errors/warningsTavian Barnes
2022-03-27parse.c: Use state->last_arg as the location for the expected )Tavian Barnes
This lets us remove the special case for *argv == NULL.
2022-03-27diag: Avoid printing trailing spacesTavian Barnes
2022-03-27opt: Add some more warningsTavian Barnes
2022-03-27parse: Highlight command line errorsTavian Barnes
2022-03-27diag: New functions for highlighting command line argumentsTavian Barnes
2022-03-26util: New xstrwidth() functionTavian Barnes
2022-03-26opt: Warn about expressions we remove while optimizingTavian Barnes
2022-03-26parse: Stop warning for options after tests/actionsTavian Barnes
Part of the bfs design philosophy is to care less about the order of arguments. As such, there's no good reason to be warning-compatible with GNU find in this case. I don't even think things like this are confusing: bfs -print -color so why warn about it?
2022-03-25expr: Store auxilliary data in a unionTavian Barnes
And rename struct expr to bfs_expr.
2022-03-25Update from C99 to C11Tavian Barnes
This is necessary for standard anonymous structs/unions.
2022-03-25printf: Switch from a linked list to an arrayTavian Barnes
2022-03-25main: Fix comment alignmentTavian Barnes
2022-03-15tests: Use bfs_diff in more casesTavian Barnes
2022-03-14tests: Shell style fixesTavian Barnes
We now support `./tests.sh --bfs="path/with\ spaces/bfs"`
2022-03-13exec: Check for errors when printing the -ok promptTavian Barnes
2022-03-13exec: Don't flush if the user says no to -okTavian Barnes
2022-03-13ctx: Factor out exec flushing behaviour into bfs_ctx_flush()Tavian Barnes
2022-03-13tests: Use -print0 instead of -printf '%p ' for exec flush testsTavian Barnes
2022-03-13tests: Use plain sort, not bfs_sortTavian Barnes
bfs_sort existed to keep the test outputs nicely in breadth-first order. Unfortunately the implementation using awk didn't support NUL bytes.
2022-03-13tests: Use skip_if for more testsTavian Barnes
2022-03-13Rename the include guards for the recently renamed headersTavian Barnes
2022-03-12Don't shadow standard headersTavian Barnes
@italic on the AUR stated that bfs from the AUR fails to build on Manjaro. From the build log, it seems like <time.h> doesn't get included properly. I assume it's picking up ./time.h instead. I couldn't reproduce the build issue in the default configuration, but it does fail with EXTRA_CFLAGS="-I." which isn't good. So rename everything with an x prefix to stop clashing. Link: https://aur.archlinux.org/packages/bfs#comment-856102 Link: https://paste.rs/eqR
2022-03-11CONTRIBUTING: Add a contribution guideTavian Barnes
2022-03-11README: Clarify some dependenciesTavian Barnes
2022-03-11Makefile: Disable onig-config for the 32-bit distcheck buildTavian Barnes
onig-config can redundantly add -L/usr/lib to LDLIBS, which results in a few warnings like /usr/bin/ld: skipping incompatible /usr/lib/libonig.so when searching for -lonig While I'm at it, explicitly restrict the -m32 build to Linux, since it doesn't work on FreeBSD and was only skipped because uname -m is amd64, not x86_64.
2022-03-11Makefile: Enable time64Tavian Barnes
2022-03-09ctx: Don't include std{out,err} in the open file countTavian Barnes
2022-03-09bftw: Fix open FD accountingTavian Barnes
Due to the introduction of bfs_dir, we don't need to reserve an extra file descriptor for the currently open directory.
2022-03-09bftw: Keep root paths at the head of the LRU listTavian Barnes
With a low ulimit -n, this brings performance back in line with the old heap based implementation.
2022-03-09Revert "darray: New DARRAY_POP() macro"Tavian Barnes
This reverts commit 6ac4deb451ccd4ed11fb0d022b83710b5b0522fe.
2022-03-09bftw: Bring back the LRU listTavian Barnes
2022-03-09Makefile: Add lsan and tsan flag targetsTavian Barnes
2022-03-07Merge pull request #84 from chapmanjacobd/patch-1Tavian Barnes
docs: readme: add fedora deps
2022-03-08add fedora depsJacob Chapman
2022-03-01README: Fix typoTavian Barnes
2022-02-28Makefile: Make separate variables for Oniguruma flagsTavian Barnes
This allows customizing the necessary flags if onig-config isn't available or is undesirable (e.g. when linking against a non-system build of libonig).
2022-02-28parse: Check for globs with unescaped trailing backslashesTavian Barnes
Both macOS and musl fail to fail on an unescaped backslash, so check for it ourselves. Link: https://pubs.opengroup.org/onlinepubs/9699919799/functions/fnmatch.html Link: https://github.com/void-linux/void-packages/pull/35836 Link: https://www.openwall.com/lists/musl/2022/02/25/2 Link: https://www.austingroupbugs.net/view.php?id=806
2022-02-24Release 2.4.12.4.1Tavian Barnes
2022-02-24README: Fix CI status badgesTavian Barnes
2022-02-24regex: Rework error handlingTavian Barnes
2022-02-24regex: Use the encoding from the current localeTavian Barnes
2022-02-24regex: Test if the string is valid before matchingTavian Barnes
2022-02-24ci: Unify multiple workflows into one with separate jobsTavian Barnes
2022-02-24ci/freebsd: Fix missing trailing single quoteTavian Barnes
2022-02-24Makefile: Automatically discover the right flags to build with OnigurumaTavian Barnes
Fixes #82.