summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* build: Allow ./configure CFLAGS=... to override auto-detected flagsHEADmainTavian Barnes2025-08-316-56/+93
|
* build: Remove unused PKGS variableTavian Barnes2025-08-311-1/+0
|
* Merge pull request #161 from ↵Tavian Barnes2025-08-121-3/+3
|\ | | | | | | | | tavianator/dependabot/github_actions/cross-platform-actions/action-0.29.0 build(deps): bump cross-platform-actions/action from 0.28.0 to 0.29.0
| * build(deps): bump cross-platform-actions/action from 0.28.0 to 0.29.0dependabot[bot]2025-08-121-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [cross-platform-actions/action](https://github.com/cross-platform-actions/action) from 0.28.0 to 0.29.0. - [Release notes](https://github.com/cross-platform-actions/action/releases) - [Changelog](https://github.com/cross-platform-actions/action/blob/master/changelog.md) - [Commits](https://github.com/cross-platform-actions/action/compare/v0.28.0...v0.29.0) --- updated-dependencies: - dependency-name: cross-platform-actions/action dependency-version: 0.29.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* | Merge pull request #160 from ↵Tavian Barnes2025-08-123-10/+10
|\ \ | | | | | | | | | | | | tavianator/dependabot/github_actions/actions/checkout-5 build(deps): bump actions/checkout from 4 to 5
| * | build(deps): bump actions/checkout from 4 to 5dependabot[bot]2025-08-123-10/+10
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
* / Release 4.14.1Tavian Barnes2025-08-113-2/+20
|/
* Simplify some more macros with C23 syntaxTavian Barnes2025-07-263-19/+16
|
* list: Simplify macros with C23 featuresTavian Barnes2025-07-262-171/+68
| | | | | We can avoid the MACRO_((list), __VA_ARGS__, ) dance since the comma is no longer required. typeof() also comes in handy.
* prelude: Expose typeof() and typeof_unqual() in C17 modeTavian Barnes2025-07-261-0/+5
|
* bfs.h: New container_of macroTavian Barnes2025-07-261-3/+13
|
* diag: Simplify macros with __VA_OPT__Tavian Barnes2025-07-262-69/+32
|
* bfs.h: New BFS_VA_IF(A)(B)(C) macroTavian Barnes2025-07-261-0/+19
|
* Use C23 [[attribute]] syntaxTavian Barnes2025-07-2624-177/+174
|
* build: Use C23 if possibleTavian Barnes2025-07-265-10/+23
| | | | | | For broader compiler support, we try both -std=c23 and -std=c2x. If neither is supported, we fall back to -std=c17, but we will start requiring some C23 features as extensions in this mode.
* ci/dragonfly: Use Clang 18Tavian Barnes2025-07-261-1/+2
|
* build/flags-if: Handle -std=* speciallyTavian Barnes2025-07-261-5/+17
|
* build/flags-if: Support multiple flag groupsTavian Barnes2025-07-093-31/+65
|
* prelude: Move countof() here from bfs.hTavian Barnes2025-07-092-5/+9
| | | | | | | countof() will likely be in the C2Y standard. Link: https://www.open-std.org/JTC1/SC22/WG14/www/docs/n3469.htm Link: https://thephd.dev/c2y-hitting-the-ground-running
* color: Match the BSD $LSCOLORS behaviour more closelyTavian Barnes2025-07-044-51/+74
| | | | | | | | | BSD/macOS ls(1) don't reject overlong or odd-length $LSCOLORS values (although they can warn, which we don't). They also don't use the "intense" background colors for capital letters; instead, that enables underline on FreeBSD, or (foreground) bold on macOS. We copy FreeBSD here.
* color: Add support for dataless filesTavian Barnes2025-07-042-17/+49
| | | | Link: https://developer.apple.com/documentation/technotes/tn3150-getting-ready-for-data-less-files
* color: Set fields directly, not by name, in parse_bsd_ls_colors()Tavian Barnes2025-07-041-27/+49
|
* build: Add support for TySanTavian Barnes2025-07-044-7/+16
| | | | There are some false positives, so it's not added to distcheck yet.
* diag: Fix bfs_eabort() macroTavian Barnes2025-07-041-2/+2
|
* Merge pull request #157 from vinxcls/freebsd-coloringTavian Barnes2025-07-035-5/+107
|\ | | | | Support for FreeBSD-style ls Coloring
| * Support for FreeBSD-style ls ColoringVinX2025-07-035-5/+107
|/ | | | | | | | If LSCOLORS is undefined or partially defined (missing some of the eleven expected value pairs), the patch will automatically fill in those missing values with default colors. However, if the LS_COLORS environment variable is already defined, the application prefer the LS_COLORS approach, maintaining current working flow of the program.
* tests/posix/group_o_group: Fix copy pasta4.0.8Tavian Barnes2025-06-201-1/+1
|
* Release 4.0.8Tavian Barnes2025-06-203-2/+21
|
* opt: "Not me" doesn't imply "nobody"Tavian Barnes2025-06-205-7/+56
| | | | | | | | | | | | | We were making `-user <existing>` imply `! -nouser`, which is valid, but we were also makeing `! -user <existing>` imply `-nouser`, which isn't. Fix it by only constraining the `-nouser`/`-nogroup` predicates in the true case. While I'm here, fix a similar latent bug that would have triggered if we ever merged `-readable -and -writable` into one `R_OK | W_OK` test. Fixes: https://github.com/tavianator/bfs/issues/155 Fixes: 305ee902 ("opt: Track data flow information about predicates")
* xspawn: Fix a -Wshadow warning on macOSTavian Barnes2025-06-161-2/+2
|
* Release 4.0.74.0.7Tavian Barnes2025-06-153-2/+27
|
* xspawn: Work around a macOS posix_spawn() bugTavian Barnes2025-06-151-0/+11
| | | | | The XNU posix_spawn() implementation apparently can't handle fchdir() to a directory opened by the file actions themselves.
* xspawn: Work around a NetBSD posix_spawn() bugTavian Barnes2025-06-152-13/+29
| | | | | | | NetBSD's posix_spawn() surprisingly has the same bug as its posix_spawnp(): the executable is resolved before the file actions. Detect this case and work around it by falling back to fork()/exec() if we need to.
* *.sh: Don't shadow the global nprocTavian Barnes2025-06-153-11/+9
| | | | | This avoids the need for the bash 3 workaround of running command nproc in a subshell.
* parse: Allow relative $PATH entries with explicit executable pathsTavian Barnes2025-06-153-21/+68
| | | | | | $ bfs -execdir /bin/exe {} \; is perfectly safe regardless of what's in $PATH.
* xspawn: Don't check xfaccess(..., X_OK) before fchdir()Tavian Barnes2025-06-153-16/+50
| | | | Fixes: 8c130ca ("xspawn: Check X_OK even without $PATH resolution")
* tests/util: Wrap wait EINTR loop into a helperTavian Barnes2025-05-303-6/+16
|
* tests/posix/exec_sigmask: Use -exec bash instead of shTavian Barnes2025-05-301-1/+1
| | | | On macOS, sh takes upwards of 20 seconds for some reason.
* tests: Try harder to guess a good parallelism levelTavian Barnes2025-05-302-5/+13
|
* build: Use $^ instead of ${.ALLSRC}Tavian Barnes2025-05-266-13/+11
|
* build/config: Simplify top-level rule with .ALLSRCTavian Barnes2025-05-261-10/+4
|
* bench: New --sorted benchmarkTavian Barnes2025-05-261-1/+40
|
* bench/ioq: Track latency percentilesTavian Barnes2025-05-261-36/+171
|
* bench/ioq: Don't track the latency of failed requestsTavian Barnes2025-05-261-9/+6
| | | | This fixes a hang observed with low queue depths like -d32.
* Add support for __attribute__((counted_by(...)))Tavian Barnes2025-05-267-8/+17
|
* tests/posix: Add a test for POSIX bug 1859Tavian Barnes2025-05-263-1/+12
| | | | ... which requires we process root paths strictly in-order.
* Merge pull request #154 from ↵Tavian Barnes2025-05-261-12/+21
|\ | | | | | | | | tavianator/dependabot/github_actions/cross-platform-actions/action-0.28.0 build(deps): bump cross-platform-actions/action from 0.27.0 to 0.28.0
| * ci: Don't run duplicate jobs on PRsTavian Barnes2025-05-261-8/+17
| | | | | | | | Link: https://wildwolf.name/github-actions-how-to-avoid-running-the-same-workflow-multiple-times/
| * ci: Update OpenBSD to 7.7Tavian Barnes2025-05-261-1/+1
| |
| * build(deps): bump cross-platform-actions/action from 0.27.0 to 0.28.0dependabot[bot]2025-05-191-3/+3
|/ | | | | | | | | | | | | | | | Bumps [cross-platform-actions/action](https://github.com/cross-platform-actions/action) from 0.27.0 to 0.28.0. - [Release notes](https://github.com/cross-platform-actions/action/releases) - [Changelog](https://github.com/cross-platform-actions/action/blob/master/changelog.md) - [Commits](https://github.com/cross-platform-actions/action/compare/v0.27.0...v0.28.0) --- updated-dependencies: - dependency-name: cross-platform-actions/action dependency-version: 0.28.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>