Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Makefile: Put the main .o files under build/src | Tavian Barnes | 2022-04-21 | 2 | -36/+32 | |
| | ||||||
* | Makefile: Generate build/FLAGS.new with its own target | Tavian Barnes | 2022-04-21 | 1 | -4/+7 | |
| | ||||||
* | Makefile: Replace flags.sh with a two-line recipe | Tavian Barnes | 2022-04-19 | 2 | -15/+2 | |
| | ||||||
* | Makefile: Move .flags to build/FLAGS | Tavian Barnes | 2022-04-19 | 3 | -12/+14 | |
| | ||||||
* | Makefile: Quiet errors from git describe | Tavian Barnes | 2022-04-19 | 1 | -3/+5 | |
| | | | | | | | | | | | | | | | | With new git versions, it is an error to invoke git inside a repository owned by someone else. This manifested as $ sudo make install fatal: unsafe repository ('/home/tavianator/code/bfs' is owned by someone else) To add an exception for this directory, call: git config --global --add safe.directory /home/tavianator/code/bfs Work around it with `2>/dev/null`. This should also help if git is not installed, but .git/ still exists. Link: https://github.blog/2022-04-12-git-security-vulnerability-announced/ | |||||
* | RELEASES.md: 20222 is too far away | Tavian Barnes | 2022-04-19 | 1 | -1/+1 | |
| | ||||||
* | ci/codecov: Look for gcov files under build | Tavian Barnes | 2022-04-18 | 1 | -1/+1 | |
| | ||||||
* | Makefile: Spread out the .PHONY targets | Tavian Barnes | 2022-04-18 | 1 | -2/+9 | |
| | ||||||
* | Makefile: Use a recipe to update .flags rather than $(shell) | Tavian Barnes | 2022-04-18 | 1 | -8/+4 | |
| | | | | | | | | | This means we don't need to generate .flags unless we're actually building a target that needs it, which is important for thing like $ sudo make install that used to inconveniently create a root-owned .flags file. | |||||
* | tests: Also put build outputs under build/ | Tavian Barnes | 2022-04-16 | 3 | -19/+14 | |
| | ||||||
* | Keep Build Files In `build` (#89) | トトも | 2022-04-16 | 1 | -29/+32 | |
| | ||||||
* | Source / Include Folder (#88) | トトも | 2022-04-16 | 54 | -5/+8 | |
| | | | Moved Source Files Into `src` Folder | |||||
* | style: Use &array[i] rather than array + i | Tavian Barnes | 2022-04-16 | 3 | -8/+8 | |
| | ||||||
* | color: Support a separate $BFS_COLORS environment variable | Tavian Barnes | 2022-04-15 | 5 | -70/+84 | |
| | ||||||
* | color: Use three-letter codes for warnings and errors | Tavian Barnes | 2022-04-15 | 3 | -11/+11 | |
| | | | | No reason to potentially conflict with the two-letter codes GNU ls uses. | |||||
* | tests: Quiet errors from chflags | Tavian Barnes | 2022-04-15 | 1 | -1/+1 | |
| | ||||||
* | eval: Use BFTW_BUFFER when deleting files on FreeBSD | Tavian Barnes | 2022-04-15 | 1 | -0/+35 | |
| | | | | Works around #67. | |||||
* | bftw: New BFTW_BUFFER flag | Tavian Barnes | 2022-04-15 | 2 | -2/+4 | |
| | ||||||
* | bfs.1: Fix a confusing comma in the -size docs | Tavian Barnes | 2022-04-01 | 1 | -2/+2 | |
| | ||||||
* | opt: Use floats consistently for probabilities and costs | Tavian Barnes | 2022-03-27 | 2 | -5/+5 | |
| | ||||||
* | Release 2.52.5 | Tavian Barnes | 2022-03-27 | 3 | -2/+29 | |
| | ||||||
* | README: Add a blurb about fancy errors/warnings | Tavian Barnes | 2022-03-27 | 1 | -0/+22 | |
| | ||||||
* | parse.c: Use state->last_arg as the location for the expected ) | Tavian Barnes | 2022-03-27 | 1 | -16/+4 | |
| | | | | This lets us remove the special case for *argv == NULL. | |||||
* | diag: Avoid printing trailing spaces | Tavian Barnes | 2022-03-27 | 1 | -3/+5 | |
| | ||||||
* | opt: Add some more warnings | Tavian Barnes | 2022-03-27 | 1 | -0/+6 | |
| | ||||||
* | parse: Highlight command line errors | Tavian Barnes | 2022-03-27 | 4 | -191/+380 | |
| | ||||||
* | diag: New functions for highlighting command line arguments | Tavian Barnes | 2022-03-27 | 5 | -75/+185 | |
| | ||||||
* | util: New xstrwidth() function | Tavian Barnes | 2022-03-26 | 2 | -0/+46 | |
| | ||||||
* | opt: Warn about expressions we remove while optimizing | Tavian Barnes | 2022-03-26 | 3 | -28/+115 | |
| | ||||||
* | parse: Stop warning for options after tests/actions | Tavian Barnes | 2022-03-26 | 1 | -44/+7 | |
| | | | | | | | | | | | 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? | |||||
* | expr: Store auxilliary data in a union | Tavian Barnes | 2022-03-25 | 9 | -777/+815 | |
| | | | | And rename struct expr to bfs_expr. | |||||
* | Update from C99 to C11 | Tavian Barnes | 2022-03-25 | 2 | -2/+2 | |
| | | | | This is necessary for standard anonymous structs/unions. | |||||
* | printf: Switch from a linked list to an array | Tavian Barnes | 2022-03-25 | 1 | -129/+123 | |
| | ||||||
* | main: Fix comment alignment | Tavian Barnes | 2022-03-25 | 1 | -2/+2 | |
| | ||||||
* | tests: Use bfs_diff in more cases | Tavian Barnes | 2022-03-15 | 2 | -22/+5 | |
| | ||||||
* | tests: Shell style fixes | Tavian Barnes | 2022-03-14 | 2 | -58/+57 | |
| | | | | We now support `./tests.sh --bfs="path/with\ spaces/bfs"` | |||||
* | exec: Check for errors when printing the -ok prompt | Tavian Barnes | 2022-03-13 | 1 | -2/+6 | |
| | ||||||
* | exec: Don't flush if the user says no to -ok | Tavian Barnes | 2022-03-13 | 1 | -3/+3 | |
| | ||||||
* | ctx: Factor out exec flushing behaviour into bfs_ctx_flush() | Tavian Barnes | 2022-03-13 | 3 | -14/+27 | |
| | ||||||
* | tests: Use -print0 instead of -printf '%p ' for exec flush tests | Tavian Barnes | 2022-03-13 | 3 | -4/+4 | |
| | ||||||
* | tests: Use plain sort, not bfs_sort | Tavian Barnes | 2022-03-13 | 113 | -548/+533 | |
| | | | | | bfs_sort existed to keep the test outputs nicely in breadth-first order. Unfortunately the implementation using awk didn't support NUL bytes. | |||||
* | tests: Use skip_if for more tests | Tavian Barnes | 2022-03-13 | 1 | -15/+11 | |
| | ||||||
* | Rename the include guards for the recently renamed headers | Tavian Barnes | 2022-03-13 | 4 | -12/+12 | |
| | ||||||
* | Don't shadow standard headers | Tavian Barnes | 2022-03-12 | 15 | -21/+21 | |
| | | | | | | | | | | | | | @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 | |||||
* | CONTRIBUTING: Add a contribution guide | Tavian Barnes | 2022-03-11 | 1 | -0/+167 | |
| | ||||||
* | README: Clarify some dependencies | Tavian Barnes | 2022-03-11 | 1 | -5/+5 | |
| | ||||||
* | Makefile: Disable onig-config for the 32-bit distcheck build | Tavian Barnes | 2022-03-11 | 1 | -2/+2 | |
| | | | | | | | | | | | 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. | |||||
* | Makefile: Enable time64 | Tavian Barnes | 2022-03-11 | 1 | -0/+1 | |
| | ||||||
* | ctx: Don't include std{out,err} in the open file count | Tavian Barnes | 2022-03-09 | 1 | -1/+5 | |
| | ||||||
* | bftw: Fix open FD accounting | Tavian Barnes | 2022-03-09 | 1 | -3/+2 | |
| | | | | | Due to the introduction of bfs_dir, we don't need to reserve an extra file descriptor for the currently open directory. |