summaryrefslogtreecommitdiffstats
path: root/src
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
|
* Switch from assert() to bfs_assert()/bfs_verify()Tavian Barnes2023-05-1812-66/+57
|
* diag: New bfs_verify() and bfs_assert() macrosTavian Barnes2023-05-181-0/+22
|
* 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-182-4/+4
|
* Use SYS_* instead of __NR_*Tavian Barnes2023-05-162-3/+3
|
* config: Align after saturating in flex_sizeof()Tavian Barnes2023-05-161-2/+9
| | | | | 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-161-0/+187
|
* trie: Use ENDIAN_* and bswap()Tavian Barnes2023-05-161-7/+3
|
* int: Backport C23's endian utilitiesTavian Barnes2023-05-161-0/+68
|
* trie: Use the _WIDTH macrosTavian Barnes2023-05-161-5/+6
|
* int: Backport C23's _WIDTH macrosTavian Barnes2023-05-161-0/+100
|
* 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-111-1/+11
|
* config: Properly align flex_sizeof()Tavian Barnes2023-05-111-10/+21
|
* config: Provide <stdalign.h> and <stdbool.h>Tavian Barnes2023-05-1125-26/+13
| | | | 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-103-10/+10
|
* 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
|
* 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-318-398/+401
|
* list: New helper macros for converting entries to itemsTavian Barnes2023-03-292-16/+65
|
* xspawn: Use list.h for the action listTavian Barnes2023-03-292-21/+19
|
* trie: Use list.h for the list of leavesTavian Barnes2023-03-292-45/+14
|
* bftw: Use list.h for the queue and LRU listsTavian Barnes2023-03-291-218/+93
|
* list: New generic linked list APITavian Barnes2023-03-293-0/+350
|
* bftw: Refactor bftw_queueTavian Barnes2023-03-281-88/+55
|
* dir: s/d_fileno/d_ino/Tavian Barnes2023-03-271-1/+1
|
* dir: Explicitly align struct bfs_dir for the trailing dirent bufferTavian Barnes2023-03-271-1/+3
|