summaryrefslogtreecommitdiffstats
path: root/Makefile
AgeCommit message (Collapse)Author
2020-05-22Makefile: Pass -fsanitize-memory-track-origins for msan buildsTavian Barnes
2020-04-22Release 1.71.7Tavian Barnes
2020-04-22pwcache: Rename from passwd.[ch]Tavian Barnes
2020-03-24Makefile: Don't use target-specific variables for configuration targetsTavian Barnes
In things like release: CFLAGS := ... release: bfs CFLAGS is only set for the dependencies of release, so $ make release check doesn't set CFLAGS for tests/mksock. For the same reason, $ make asan ubsan was broken, because only the asan flags would be set for bfs. Fix it by checking MAKECMDGOALS for those targets manually instead.
2020-03-23Makefile: Add asan, msan, ubsan targetsTavian Barnes
2020-03-23Makefile: Use --sudo for every distcheck testTavian Barnes
2020-02-29passwd: Cache the user/group tablesTavian Barnes
This is a significant optimization for conditions that need these tables: Benchmark #1: ./bfs ~/code/linux -nouser >/dev/null Time (mean ± σ): 232.0 ms ± 2.5 ms [User: 44.3 ms, System: 185.0 ms] Range (min … max): 228.7 ms … 238.7 ms 12 runs Benchmark #2: ./bfs-1.6 ~/code/linux -nouser >/dev/null Time (mean ± σ): 1.050 s ± 0.012 s [User: 544.2 ms, System: 500.0 ms] Range (min … max): 1.025 s … 1.063 s 10 runs Benchmark #3: find ~/code/linux -nouser >/dev/null Time (mean ± σ): 1.040 s ± 0.012 s [User: 533.6 ms, System: 500.6 ms] Range (min … max): 1.017 s … 1.054 s 10 runs Summary './bfs ~/code/linux -nouser >/dev/null' ran 4.48 ± 0.07 times faster than 'find ~/code/linux -nouser >/dev/null' 4.52 ± 0.07 times faster than './bfs-1.6 ~/code/linux -nouser >/dev/null'
2020-02-25Release 1.61.6Tavian Barnes
2020-02-13time: Split out time-related functions from utilTavian Barnes
2020-01-09Release 1.5.21.5.2Tavian Barnes
2019-09-14Release 1.5.11.5.1Tavian Barnes
2019-09-13Makefile: Test different search strategies in parallelTavian Barnes
2019-09-13Makefile: Include -fsanitize=* in the sanitizer flag variablesTavian Barnes
2019-08-29darray: New dynamic array libraryTavian Barnes
2019-07-04Makefile: Use $(CURDIR)/bfs instead of $(realpath bfs)Tavian Barnes
$(realpath bfs) gives the empty string if bfs doesn't exist when it's evaluated.
2019-07-04distcheck: Run --sudo tests with all search strategiesTavian Barnes
2019-06-28Makefile: Allow MANDIR to be overriddenTavian Barnes
This should eliminate the need for things like this OpenBSD patch: https://github.com/openbsd/ports/blob/a3201446fc3b7c21d65855a4163576dd12206c97/sysutils/bfs/patches/patch-Makefile
2019-06-27Release 1.51.5Tavian Barnes
2019-06-04parse: Use -S {bfs,dfs,ids} rather than -{bfs,dfs,ids}Tavian Barnes
2019-05-29Implement an iterative deepening mode (-ids)Tavian Barnes
2019-05-28Implement a depth-first mode (-dfs)Tavian Barnes
2019-05-27Makefile: Make the all target really build allTavian Barnes
2019-05-24fsade: Fix ACL detection on macOSTavian Barnes
2019-05-24Implement -xattr predicateTavian Barnes
2019-05-24fsade: Refactor the POSIX.1e abstractionsTavian Barnes
Since we're going to want to abstract more things that aren't part of POSIX.1e (like xattrs) in a similar way, let's give this a more generic name. And while we're at it, give it some more precise error reporting, and add some tests.
2019-05-05Release 1.4.11.4.1Tavian Barnes
2019-04-24tests: Add some tests that require sudoTavian Barnes
2019-04-15Release 1.41.4Tavian Barnes
2019-03-01trie: Implement a QP trieTavian Barnes
2019-02-10Release 1.3.31.3.3Tavian Barnes
2019-02-06Turn on -Wstrict-prototypesTavian Barnes
2019-02-01tests: New utility for making and testing socket filesTavian Barnes
2019-02-01Makefile: New distcheck targetTavian Barnes
To catch more errors automatically, this new target runs the tests in multiple configurations, including various sanitizers and with/without optimization.
2019-01-11Release 1.3.21.3.2Tavian Barnes
2019-01-03Release 1.3.11.3.1Tavian Barnes
2019-01-02Release 1.31.3Tavian Barnes
2019-01-02posix1e: Split out ACL and capability handling from utilTavian Barnes
2019-01-02diag: Unify diagnostic formattingTavian 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-17Implement -acl testTavian Barnes
2018-12-17color: Support coloring files with capabilitiesTavian Barnes
2018-12-17Makefile: Link with -lrt on LinuxTavian Barnes
Fixes #29.
2018-11-01Remove man page on make uninstallTavian Barnes
2018-09-24Merge branch 'release-1.2.4'Tavian Barnes
2018-09-24Release 1.2.41.2.4Tavian Barnes
2018-09-24Update copyright datesTavian Barnes
2018-09-18spawn: New posix_spawn()-like API for execTavian Barnes
2018-07-15Release 1.2.31.2.3Tavian Barnes
2018-06-23Release 1.2.21.2.2Tavian Barnes
2018-03-18New 'sanitized' make targetTavian Barnes
2018-02-08Release 1.2.11.2.1Tavian Barnes