Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | build: Move feature test macros to prelude.h | Tavian Barnes | 2024-08-28 | 1 | -2/+0 |
| | | | | | | This replaces the explicit CPPFLAGS list in flags.mk with just `-include src/prelude.h`, shortening our compiler command lines and allowing them to be easily documented. | ||||
* | prelude: Split bfs-specific utilities into new bfs.h header | Tavian Barnes | 2024-08-28 | 1 | -0/+3 |
| | |||||
* | diag: Get rid of bfs_static_assert() | Tavian Barnes | 2024-08-28 | 1 | -10/+0 |
| | | | | | In most cases, it's not too annoying to specify a message. For tests/bit.c, we can manually polyfill the 1-argument version. | ||||
* | prelude: Simplify attributes | Tavian Barnes | 2024-07-28 | 1 | -17/+25 |
| | |||||
* | Stop using %m | Tavian Barnes | 2024-05-20 | 1 | -8/+4 |
| | |||||
* | diag: New helpers to include xstrerror(errno) automatically | Tavian Barnes | 2024-05-17 | 1 | -1/+42 |
| | |||||
* | Rename config.h to prelude.h | Tavian Barnes | 2024-04-19 | 1 | -1/+1 |
| | |||||
* | diag: New bfs_diag() macro | Tavian Barnes | 2024-02-29 | 1 | -0/+13 |
| | |||||
* | config: s/attr_format/attr_printf/ | Tavian Barnes | 2023-12-18 | 1 | -7/+7 |
| | |||||
* | config: New variadic attr(...) macro | Tavian Barnes | 2023-12-18 | 1 | -22/+15 |
| | |||||
* | config: Add constants for C standard versions | Tavian Barnes | 2023-11-10 | 1 | -2/+2 |
| | |||||
* | config: New attr_noinline and attr_cold macros | Tavian Barnes | 2023-11-09 | 1 | -0/+15 |
| | |||||
* | config: s/BFS_FORMATTER/attr_format/ | Tavian Barnes | 2023-11-09 | 1 | -7/+7 |
| | |||||
* | diag: Move enum debug_flags out of ctx.h | Tavian Barnes | 2023-10-12 | 1 | -1/+28 |
| | |||||
* | Formatting fixes | Tavian Barnes | 2023-09-27 | 1 | -1/+1 |
| | |||||
* | bfstd: Support wordesc() without allocating | Tavian Barnes | 2023-07-13 | 1 | -2/+2 |
| | |||||
* | Unify macro naming conventions | Tavian Barnes | 2023-06-24 | 1 | -4/+2 |
| | | | | | In particular, macros that decide whether to use a particular API/ dependency should be spelled BFS_USE_*, and should be configurable. | ||||
* | diag: New bfs_loc type for source locations | Tavian Barnes | 2023-06-22 | 1 | -13/+31 |
| | |||||
* | diag: New bfs_verify() and bfs_assert() macros | Tavian Barnes | 2023-05-18 | 1 | -0/+22 |
| | |||||
* | diag: New bfs_abort() and bfs_bug() macros | Tavian Barnes | 2023-05-18 | 1 | -0/+24 |
| | |||||
* | diag: New bfs_static_assert() macro | Tavian Barnes | 2023-05-16 | 1 | -1/+11 |
| | |||||
* | config: Provide <stdalign.h> and <stdbool.h> | Tavian Barnes | 2023-05-11 | 1 | -1/+0 |
| | | | | In anticipation of C23, since those headers won't be necessary any more. | ||||
* | Replace license boilerplate with SPDX tags | Tavian Barnes | 2023-01-25 | 1 | -15/+2 |
| | | | | | | | And while I'm at it, remove years from copyright declarations. Link: https://spdx.dev/about/ Link: https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/ | ||||
* | Add BFS_FORMATTER() to vprintf()-type functions too | Tavian Barnes | 2022-12-08 | 1 | -0/+3 |
| | |||||
* | bfstd: Rename from util and reorganize it | Tavian Barnes | 2022-11-06 | 1 | -1/+1 |
| | |||||
* | Source / Include Folder (#88) | トトも | 2022-04-16 | 1 | -0/+108 |
Moved Source Files Into `src` Folder |