Commit Graph

257 Commits

Author SHA1 Message Date
8862cdf2e0 io: implement pre- and post-order directory traversal for windows 2025-02-12 22:11:18 +00:00
bdbae88e87 core: add more status codes 2025-02-12 22:10:57 +00:00
3fe2fa7d60 io: implement path manipulation on windows 2025-02-10 21:17:01 +00:00
4c3cc27d08 object: string: add front, back, and pop_back functions 2025-02-10 21:15:48 +00:00
4f9ea02126 meta: add module for disk I/O functionality 2025-02-10 13:59:20 +00:00
9add587ddd object: unify stringstream functionality 2025-02-10 13:59:06 +00:00
5c0df60dab core: fix const-correctness of queue functions 2025-02-10 13:58:28 +00:00
243c6651b0 cmd: improve API for accessing multi-arg options 2025-02-04 12:59:44 +00:00
7452491427 meta: move endian functions from object to core 2024-12-10 22:26:52 +00:00
96308b2965 cmd: implement b_arglist_get_* functions 2024-12-10 22:26:12 +00:00
87b42f299d core: add support for compiling bitops on 32-bit platforms 2024-12-06 15:10:41 +00:00
b07b7a86c4 cmd: fix arglist count not including multiple occurrences of the same non-arg options 2024-12-05 21:07:32 +00:00
625789d0ea cmd: fix arglist iterator not finding all relevant opts/args in certain cases 2024-11-27 12:57:06 +00:00
fda266af2f cmd: fix int->pointer widening cast warning on MSVC 2024-11-24 20:47:41 +00:00
960eddded2 term: fix int->HANDLE cast warnings 2024-11-24 20:47:16 +00:00
d88b42f50e term: update module to work on linux and darwin 2024-11-22 22:29:40 +00:00
753d3ea9d3 core: add enum name to b_status 2024-11-22 22:29:05 +00:00
033e44f83f cmd: switch to new tty interface 2024-11-20 22:12:50 +00:00
dafa74b1b9 term: extend tty interface with more features 2024-11-20 22:12:36 +00:00
7e440f213c cmd: clean up execute_command help message handling 2024-11-19 15:21:10 +00:00
726649189b cmd: arglist: fix iterator not picking up options without parameters 2024-11-19 15:20:11 +00:00
dfa817cb9a object: string: add b_string_replace_all() 2024-11-18 09:55:46 +00:00
2531f00b81 object: string: fix b_string_steal resetting capacity to wrong value 2024-11-17 09:22:39 +00:00
e37d6bb3b3 term: fix missing ansi colour code for blue fg/bg text 2024-11-16 23:06:34 +00:00
582261d743 core: add missing includes 2024-11-14 23:12:09 +00:00
8a78d9c94a term: implement bright background colour; linux/darwin support for format codes 2024-11-14 23:11:55 +00:00
64a246e6f7 cmd: use term formatting codes for command help text 2024-11-14 22:03:39 +00:00
b2c9c7cab9 object: b_strlen and b_string_get_size can now ignore term's formatting codes 2024-11-14 22:03:09 +00:00
9ac204e84e term: implement platform-independent console text colour/formatting 2024-11-14 22:02:18 +00:00
b260159fae object: fix struct zero-initialisation on MSVC 2024-11-14 22:01:09 +00:00
93bc140bf8 core: handle btree test cases where two nodes have the same value 2024-11-14 22:00:01 +00:00
1bab373547 core: implement string hashing using FNV-1a 2024-11-14 21:59:40 +00:00
6c1ae190d3 core: don't use declspec(dllexport) when compiling/linking to static library
this is required due to function names being decorated differently by MSVC when building a .dll file
2024-11-14 21:59:14 +00:00
46076203f2 cmake: remove intermediate object libraries
this is so static and shared code can be compiled separately by MSVC
2024-11-14 21:58:21 +00:00
95e7bc3b4f cmake: define BLUELIB_STATIC when linking to static libraries
msvc requires this because functions exported from .lib files have a different name when the implementation is in a .dll file.
2024-11-14 21:57:40 +00:00
71908495f2 cmake: store all build artifacts in top-level bin/ and lib/ directories 2024-11-14 18:33:51 +00:00
46d3ded0f6 core: add bitop implementations for darwin and linux 2024-11-14 18:32:58 +00:00
d614e110df add win32 (msvc) support 2024-11-14 16:56:18 +00:00
c14c2e5500 cmake: FindBluelib now specifies inter-module dependencies for module interface targets 2024-10-31 19:35:18 +00:00
635327bce9 cmd: add support for showing placeholder commands/opts/args in command usage strings 2024-10-31 19:33:48 +00:00
87d8767d11 fix memory leaks 2024-10-27 19:43:05 +00:00
a86291ca75 fix linux-specific compilation errors 2024-10-27 15:36:14 +00:00
e77c3908eb add cmake module for finding Bluelib modules 2024-10-27 14:32:53 +00:00
afed1b111d cmd: print extra-long option descriptions on the following line 2024-10-27 14:24:23 +00:00
ef9cc13174 term: fix final word in string not being constrained by paragraph margins 2024-10-27 14:23:35 +00:00
2a7249cb1e term: add function to query terminal dimensions 2024-10-27 14:22:52 +00:00
f3cc628fd0 cmd: fix extra comma after command name in usage help message 2024-10-27 14:21:54 +00:00
f07e11ce60 cmd: fix bad temp var name in B_COMMAND_USAGE() 2024-10-27 14:21:05 +00:00
787c311041 core: add stringstream indent unit test 2024-10-25 18:30:00 +01:00
fef7b346d5 core: fix stringstream indent stack pointer not being initialised 2024-10-24 21:36:40 +01:00