summaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Makefile: New gcov targetTavian Barnes2020-11-101-1/+7
|
* Enable -Wsign-compare to catch bugs like 726d7801Tavian Barnes2020-11-041-1/+1
|
* Makefile: Fail early on sanitizer errorsTavian Barnes2020-11-031-0/+8
|
* bar: Implement terminal status barsTavian Barnes2020-11-031-0/+1
|
* Release 2.02.0Tavian Barnes2020-10-141-1/+1
|
* Rename struct cmdline to bfs_ctxTavian Barnes2020-09-271-0/+1
| | | | | The API remains similar, with some added accessor functions for lazy initialization of the pwcache and mtab.
* Implement exponential deepening searchTavian Barnes2020-06-161-1/+1
|
* tests/trie: New acceptance test for triesTavian Barnes2020-06-091-4/+10
|
* tests: New acceptance test for xtimegm()Tavian Barnes2020-06-091-3/+9
|
* Makefile: Pass -fsanitize-memory-track-origins for msan buildsTavian Barnes2020-05-221-1/+1
|
* Release 1.71.7Tavian Barnes2020-04-221-1/+1
|
* pwcache: Rename from passwd.[ch]Tavian Barnes2020-04-221-1/+1
|
* Makefile: Don't use target-specific variables for configuration targetsTavian Barnes2020-03-241-17/+28
| | | | | | | | | | | | | | | | | | | 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.
* Makefile: Add asan, msan, ubsan targetsTavian Barnes2020-03-231-3/+12
|
* Makefile: Use --sudo for every distcheck testTavian Barnes2020-03-231-11/+10
|
* passwd: Cache the user/group tablesTavian Barnes2020-02-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | 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'
* Release 1.61.6Tavian Barnes2020-02-251-1/+1
|
* time: Split out time-related functions from utilTavian Barnes2020-02-131-0/+1
|
* Release 1.5.21.5.2Tavian Barnes2020-01-091-2/+2
|
* Release 1.5.11.5.1Tavian Barnes2019-09-141-1/+1
|
* Makefile: Test different search strategies in parallelTavian Barnes2019-09-131-4/+4
|
* Makefile: Include -fsanitize=* in the sanitizer flag variablesTavian Barnes2019-09-131-3/+7
|
* darray: New dynamic array libraryTavian Barnes2019-08-291-0/+1
|
* Makefile: Use $(CURDIR)/bfs instead of $(realpath bfs)Tavian Barnes2019-07-041-6/+6
| | | | | $(realpath bfs) gives the empty string if bfs doesn't exist when it's evaluated.
* distcheck: Run --sudo tests with all search strategiesTavian Barnes2019-07-041-1/+3
|
* Makefile: Allow MANDIR to be overriddenTavian Barnes2019-06-281-3/+4
| | | | | This should eliminate the need for things like this OpenBSD patch: https://github.com/openbsd/ports/blob/a3201446fc3b7c21d65855a4163576dd12206c97/sysutils/bfs/patches/patch-Makefile
* Release 1.51.5Tavian Barnes2019-06-271-1/+1
|
* parse: Use -S {bfs,dfs,ids} rather than -{bfs,dfs,ids}Tavian Barnes2019-06-041-2/+2
|
* Implement an iterative deepening mode (-ids)Tavian Barnes2019-05-291-0/+1
|
* Implement a depth-first mode (-dfs)Tavian Barnes2019-05-281-1/+2
|
* Makefile: Make the all target really build allTavian Barnes2019-05-271-2/+4
|
* fsade: Fix ACL detection on macOSTavian Barnes2019-05-241-1/+1
|
* Implement -xattr predicateTavian Barnes2019-05-241-3/+3
|
* fsade: Refactor the POSIX.1e abstractionsTavian Barnes2019-05-241-1/+1
| | | | | | | 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.
* Release 1.4.11.4.1Tavian Barnes2019-05-051-1/+1
|
* tests: Add some tests that require sudoTavian Barnes2019-04-241-0/+3
|
* Release 1.41.4Tavian Barnes2019-04-151-1/+1
|
* trie: Implement a QP trieTavian Barnes2019-03-011-0/+1
|
* Release 1.3.31.3.3Tavian Barnes2019-02-101-1/+1
|
* Turn on -Wstrict-prototypesTavian Barnes2019-02-061-1/+1
|
* tests: New utility for making and testing socket filesTavian Barnes2019-02-011-2/+2
|
* Makefile: New distcheck targetTavian Barnes2019-02-011-4/+16
| | | | | | To catch more errors automatically, this new target runs the tests in multiple configurations, including various sanitizers and with/without optimization.
* Release 1.3.21.3.2Tavian Barnes2019-01-111-1/+1
|
* Release 1.3.11.3.1Tavian Barnes2019-01-031-2/+2
|
* Release 1.31.3Tavian Barnes2019-01-021-1/+1
|
* posix1e: Split out ACL and capability handling from utilTavian Barnes2019-01-021-1/+17
|
* diag: Unify diagnostic formattingTavian Barnes2019-01-021-1/+1
| | | | | | 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.
* Implement -acl testTavian Barnes2018-12-171-1/+1
|
* color: Support coloring files with capabilitiesTavian Barnes2018-12-171-1/+1
|
* Makefile: Link with -lrt on LinuxTavian Barnes2018-12-171-2/+14
| | | | Fixes #29.