Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-04-16 | Source / Include Folder (#88) | トトも | |
Moved Source Files Into `src` Folder | |||
2022-01-18 | dstring: Set a minimum capacity to avoid reallocating for small strings | Tavian Barnes | |
2020-12-02 | Give messages to unconditional assertion failures | Tavian Barnes | |
2020-11-28 | dstring: New dstrdcat(), dstrcatf(), dstrvcatf() functions | Tavian Barnes | |
2020-11-03 | dstring: New dstrvprintf() function | Tavian Barnes | |
2020-10-13 | util: New BFS_FLEX_SIZEOF() macro for more precise flexible array allocations | Tavian Barnes | |
See http://www.open-std.org/jtc1/sc22/wg14/www/docs/dr_282.htm for all the fun behind this. | |||
2020-10-01 | dstring: Try to avoid calling vsnprintf() twice in dstrprintf() | Tavian Barnes | |
2019-09-03 | dstring: New dstrndup() function | Tavian Barnes | |
2019-05-23 | dstring: Add a printf()-style creation API | Tavian Barnes | |
2019-03-27 | dstring: Add a dstrdup() function | Tavian Barnes | |
2019-02-09 | Add some documentation comments | Tavian Barnes | |
2019-01-31 | dstring: Initialize freshly-allocated strings | Tavian Barnes | |
Previously, a string allocated with dstralloc() had length 0 but no terminating NUL byte there. This was problematic if such a string was used without being modified. In particular, this was reproducible with bfs -ok by not typing any response to the prompt. In that case, uninitialized memory was being tested for a y/n response, with unpredictable results. | |||
2017-07-27 | Re-license under the BSD Zero Clause License | Tavian Barnes | |
2017-06-10 | printf: Fix embedded nul bytes | Tavian Barnes | |
Fixes #26. | |||
2016-05-22 | dstring: Clean up the API a bit. | Tavian Barnes | |
2016-04-13 | dstring: Split out the dynamic string logic. | Tavian Barnes | |