summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* sanity: Add wrappers for sanitizer interfacesTavian Barnes2023-05-257-36/+110
|
* list: Allow popping from an empty listTavian Barnes2023-05-242-17/+6
|
* list: Return the removed item from SLIST_POP()Tavian Barnes2023-05-203-12/+19
|
* tests/bfstd: Use bfs_verify() over explicit abort()Tavian Barnes2023-05-191-14/+5
|
* Switch from assert() to bfs_assert()/bfs_verify()Tavian Barnes2023-05-1815-152/+140
|
* diag: New bfs_verify() and bfs_assert() macrosTavian Barnes2023-05-181-0/+22
|
* build: Error on implicit function declarationsTavian Barnes2023-05-181-0/+1
|
* Use bfs_bug("...") over assert(!"...")Tavian Barnes2023-05-187-14/+15
|
* diag: New bfs_abort() and bfs_bug() macrosTavian Barnes2023-05-182-1/+33
|
* config: Include <stdnoreturn.h>Tavian Barnes2023-05-181-0/+1
|
* bar: Use USHRT_WIDTHTavian Barnes2023-05-181-2/+2
|
* trie: Use SIZE_WIDTHTavian Barnes2023-05-181-6/+6
|
* bit: Rename int.h to bit.hTavian Barnes2023-05-184-6/+6
|
* Use SYS_* instead of __NR_*Tavian Barnes2023-05-162-3/+3
|
* ci: Fix 32-bit Linux dependenciesTavian Barnes2023-05-161-0/+1
|
* build: Fix test utility compilationTavian Barnes2023-05-161-2/+4
|
* config: Align after saturating in flex_sizeof()Tavian Barnes2023-05-162-3/+11
| | | | | This ensures that it's legal to call aligned_alloc() with the result, which requires a multiple of the alignment.
* trie: Use standard bit utilitiesTavian Barnes2023-05-161-44/+15
|
* int: Backport C23's bit utilitiesTavian Barnes2023-05-162-0/+244
|
* trie: Use ENDIAN_* and bswap()Tavian Barnes2023-05-161-7/+3
|
* int: Backport C23's endian utilitiesTavian Barnes2023-05-162-0/+78
|
* trie: Use the _WIDTH macrosTavian Barnes2023-05-161-5/+6
|
* int: Backport C23's _WIDTH macrosTavian Barnes2023-05-163-1/+155
|
* build: Make the tests a little less repetitiveTavian Barnes2023-05-161-18/+16
|
* trie: Use bfs_static_assert()Tavian Barnes2023-05-161-1/+2
|
* diag: New bfs_static_assert() macroTavian Barnes2023-05-161-1/+11
|
* config: Saturate on overflow in flex_sizeof()Tavian Barnes2023-05-112-1/+12
|
* config: Properly align flex_sizeof()Tavian Barnes2023-05-112-10/+34
|
* config: Provide <stdalign.h> and <stdbool.h>Tavian Barnes2023-05-1127-28/+15
| | | | In anticipation of C23, since those headers won't be necessary any more.
* config: s/BFS_FALLTHROUGH/fallthru/Tavian Barnes2023-05-105-16/+16
|
* config: s/BFS_UNINIT/uninit/Tavian Barnes2023-05-102-6/+6
|
* config: s/BFS_FLEX_SIZEOF/flex_sizeof/Tavian Barnes2023-05-104-6/+6
|
* config: s/BFS_COUNTOF/countof/Tavian Barnes2023-05-104-11/+11
|
* config: Group attribute wrappers togetherTavian Barnes2023-05-101-21/+23
|
* config: Hoist the assignment outside of BFS_UNINIT()Tavian Barnes2023-05-082-6/+6
|
* bftw: Use separate dir/file queuesTavian Barnes2023-05-051-218/+176
|
* style: Don't use tabs to indent preprocessor directivesTavian Barnes2023-05-0314-143/+143
|
* Let musl builds use getdents64()Tavian Barnes2023-05-031-1/+2
| | | | | | Glibc exposes a different struct dirent and dirent64, while on musl they are the same. But musl needs _LARGEFILE64_SOURCE to expose the *64() aliases.
* build: Fix tsanTavian Barnes2023-04-122-38/+45
|
* list: New SLIST_INSERT() macroTavian Barnes2023-04-121-30/+41
|
* list: s/link/node/Tavian Barnes2023-04-121-40/+40
|
* bftw: Merge bftw_closedir() into bftw_gc()Tavian Barnes2023-04-121-59/+47
|
* bfstd: Fix declaration order to match the right standard headersTavian Barnes2023-04-072-116/+116
|
* dir: Allow overriding BFS_GETDENTSTavian Barnes2023-04-071-18/+23
|
* list: Fix SLIST_REMOVE() on the tailTavian Barnes2023-04-011-8/+8
|
* list: Fix a typo in SLIST_REMOVE()Tavian Barnes2023-04-011-1/+1
|
* list: Implement SLIST_REMOVE()Tavian Barnes2023-04-011-7/+23
|
* list: Simplify some macrosTavian Barnes2023-04-011-12/+12
|
* list: Use macros instead of type-erased listsTavian Barnes2023-03-3110-399/+403
|
* list: New helper macros for converting entries to itemsTavian Barnes2023-03-292-16/+65
|