Commit Graph

  • 55b76cc43c core: add status code strings and descriptions Max Wash 2025-07-28 22:15:02 +01:00
  • 3f96be28ed core: add format with va_list function to stringstream Max Wash 2025-07-28 22:14:34 +01:00
  • 5bac4db7ed core: add ringbuffer data structure Max Wash 2025-07-28 22:13:41 +01:00
  • 5d6423057a cmd: add functions to report option/arg errors to the public API Max Wash 2025-07-17 17:56:00 +01:00
  • 92ccc5626d object: add macro to test object type Max Wash 2025-07-17 17:55:34 +01:00
  • 4690738af1 object: add a range of string transformation functions Max Wash 2025-07-17 17:55:13 +01:00
  • 5dc6f4088b io: file: add missing static qualifier to stream callbacks Max Wash 2025-06-27 22:06:22 +01:00
  • 1c880f5b7d object: string: add missing static qualifier to stream callbacks Max Wash 2025-06-27 22:06:10 +01:00
  • 21f424956e cmake: update FindBluelib to support serial module Max Wash 2025-06-27 22:00:26 +01:00
  • 9aa75b4d0b test: add cross-module tests Max Wash 2025-06-27 21:54:23 +01:00
  • 86d5b9d31d test: add lots of stream tests Max Wash 2025-06-27 21:54:10 +01:00
  • c987f34693 meta: add serial module for (de)serialising objects Max Wash 2025-06-27 21:53:40 +01:00
  • 2ced9a8309 cmd: update references to b_stderr Max Wash 2025-06-27 21:53:03 +01:00
  • b00d9c51bd term: rename b_stderr to avoid clashing with b_stream stderr pointer Max Wash 2025-06-27 21:52:42 +01:00
  • 23bd483e78 io: file: add b_stream support Max Wash 2025-06-27 21:51:52 +01:00
  • 56e35ae07d io: path: update to_string callback to use b_stream Max Wash 2025-06-27 21:51:39 +01:00
  • eaa556330e io: implement EPERM -> B_ERR_PERMISSION_DENIED conversion Max Wash 2025-06-27 21:51:18 +01:00
  • 730b86d907 io: directory: fix wrong stat field usage Max Wash 2025-06-27 21:50:39 +01:00
  • c54d51d381 object: update to_string callback to use b_stream instead of b_stringstream Max Wash 2025-06-27 21:47:55 +01:00
  • 579a9e8505 object: hashmap: implement key/value destructors Max Wash 2025-06-27 21:46:55 +01:00
  • 5634506433 object: add b_list object Max Wash 2025-06-27 21:43:57 +01:00
  • 722a22a0e0 core: stringstream: update stringstream to support b_stream Max Wash 2025-06-27 21:42:53 +01:00
  • 49310eff2c core: add b_stream interface Max Wash 2025-06-27 21:41:07 +01:00
  • d5191c49c1 core: status: add permission denied status code Max Wash 2025-06-27 21:40:44 +01:00
  • 07581f6de0 core: queue: update b_queue_empty parameter to be a const ptr Max Wash 2025-06-27 21:38:34 +01:00
  • f5b1200525 build: add io module to FindBluelib.cmake Max Wash 2025-04-11 14:02:02 +01:00
  • aa24becb2f core: add hash and rope tests Max Wash 2025-04-11 14:01:47 +01:00
  • f67a55500b core: fix hash subdirectory not being included in build Max Wash 2025-04-11 14:01:15 +01:00
  • fd47d10271 core: btree: template function comparator now checks for a negative value rather than -1 in particular Max Wash 2025-04-11 14:00:52 +01:00
  • 17e4bb8e19 core: add functions to calculate the length of an int Max Wash 2025-04-11 13:57:17 +01:00
  • eb7e88d9fa object: start implement bit-buffer data structure Max Wash 2025-04-11 13:56:26 +01:00
  • 0ddfb2ee3c object: add generic byte-buffer data structure Max Wash 2025-04-11 13:56:09 +01:00
  • 640bf57b60 object: add b_string_substr Max Wash 2025-04-11 13:55:36 +01:00
  • a627116264 io: add lots of directory and path manipulation functions Max Wash 2025-04-11 13:54:53 +01:00
  • f3e48f3e47 core: add rope data structure for efficiently building strings Max Wash 2025-04-11 13:53:48 +01:00
  • ed4942c500 core: add support for lots of different hash algorithms Max Wash 2025-04-11 13:51:48 +01:00
  • c630321bf6 build: add support for generic source sub-directories in modules Max Wash 2025-04-11 13:48:18 +01:00
  • bf83831cee io: implement stat'ing paths, files, and directory contents Max Wash 2025-02-14 22:06:24 +00:00
  • 61848aadd7 io: fix null pointer deref in win32 update_iterator_data Max Wash 2025-02-14 18:39:58 +00:00
  • 8177eb2b24 io: store current directory iterator filepath as a b_path Max Wash 2025-02-13 21:36:53 +00:00
  • c822be0804 io: implement path manipulation and directory iteration on darwin Max Wash 2025-02-13 18:03:09 +00:00
  • 8862cdf2e0 io: implement pre- and post-order directory traversal for windows Max Wash 2025-02-12 22:11:18 +00:00
  • bdbae88e87 core: add more status codes Max Wash 2025-02-12 22:10:57 +00:00
  • 3fe2fa7d60 io: implement path manipulation on windows Max Wash 2025-02-10 21:17:01 +00:00
  • 4c3cc27d08 object: string: add front, back, and pop_back functions Max Wash 2025-02-10 21:15:48 +00:00
  • 4f9ea02126 meta: add module for disk I/O functionality Max Wash 2025-02-10 13:59:20 +00:00
  • 9add587ddd object: unify stringstream functionality Max Wash 2025-02-10 13:59:06 +00:00
  • 5c0df60dab core: fix const-correctness of queue functions Max Wash 2025-02-10 13:58:28 +00:00
  • 243c6651b0 cmd: improve API for accessing multi-arg options Max Wash 2025-02-04 12:59:44 +00:00
  • 7452491427 meta: move endian functions from object to core Max Wash 2024-12-10 22:26:52 +00:00
  • 96308b2965 cmd: implement b_arglist_get_* functions Max Wash 2024-12-10 22:26:12 +00:00
  • 87b42f299d core: add support for compiling bitops on 32-bit platforms Max Wash 2024-12-06 15:10:41 +00:00
  • b07b7a86c4 cmd: fix arglist count not including multiple occurrences of the same non-arg options Max Wash 2024-12-05 21:07:32 +00:00
  • 625789d0ea cmd: fix arglist iterator not finding all relevant opts/args in certain cases Max Wash 2024-11-25 22:04:21 +00:00
  • fda266af2f cmd: fix int->pointer widening cast warning on MSVC Max Wash 2024-11-24 20:47:41 +00:00
  • 960eddded2 term: fix int->HANDLE cast warnings Max Wash 2024-11-24 20:47:16 +00:00
  • d88b42f50e term: update module to work on linux and darwin Max Wash 2024-11-22 22:29:40 +00:00
  • 753d3ea9d3 core: add enum name to b_status Max Wash 2024-11-22 22:29:05 +00:00
  • 033e44f83f cmd: switch to new tty interface Max Wash 2024-11-20 22:12:50 +00:00
  • dafa74b1b9 term: extend tty interface with more features Max Wash 2024-11-20 22:12:36 +00:00
  • 7e440f213c cmd: clean up execute_command help message handling Max Wash 2024-11-19 15:21:10 +00:00
  • 726649189b cmd: arglist: fix iterator not picking up options without parameters Max Wash 2024-11-19 15:20:11 +00:00
  • dfa817cb9a object: string: add b_string_replace_all() Max Wash 2024-11-18 09:55:46 +00:00
  • 2531f00b81 object: string: fix b_string_steal resetting capacity to wrong value Max Wash 2024-11-17 09:22:39 +00:00
  • e37d6bb3b3 term: fix missing ansi colour code for blue fg/bg text Max Wash 2024-11-16 23:06:34 +00:00
  • 582261d743 core: add missing includes Max Wash 2024-11-14 23:12:09 +00:00
  • 8a78d9c94a term: implement bright background colour; linux/darwin support for format codes Max Wash 2024-11-14 23:11:55 +00:00
  • 64a246e6f7 cmd: use term formatting codes for command help text Max Wash 2024-11-14 22:03:39 +00:00
  • b2c9c7cab9 object: b_strlen and b_string_get_size can now ignore term's formatting codes Max Wash 2024-11-14 22:03:09 +00:00
  • 9ac204e84e term: implement platform-independent console text colour/formatting Max Wash 2024-11-14 22:01:40 +00:00
  • b260159fae object: fix struct zero-initialisation on MSVC Max Wash 2024-11-14 22:00:30 +00:00
  • 93bc140bf8 core: handle btree test cases where two nodes have the same value Max Wash 2024-11-14 22:00:01 +00:00
  • 1bab373547 core: implement string hashing using FNV-1a Max Wash 2024-11-14 21:59:40 +00:00
  • 6c1ae190d3 core: don't use declspec(dllexport) when compiling/linking to static library Max Wash 2024-11-14 21:59:14 +00:00
  • 46076203f2 cmake: remove intermediate object libraries Max Wash 2024-11-14 21:58:21 +00:00
  • 95e7bc3b4f cmake: define BLUELIB_STATIC when linking to static libraries Max Wash 2024-11-14 21:57:40 +00:00
  • 71908495f2 cmake: store all build artifacts in top-level bin/ and lib/ directories Max Wash 2024-11-14 18:33:51 +00:00
  • 46d3ded0f6 core: add bitop implementations for darwin and linux Max Wash 2024-11-14 18:32:58 +00:00
  • d614e110df add win32 (msvc) support Max Wash 2024-11-14 16:56:12 +00:00
  • c14c2e5500 cmake: FindBluelib now specifies inter-module dependencies for module interface targets Max Wash 2024-10-31 19:35:18 +00:00
  • 635327bce9 cmd: add support for showing placeholder commands/opts/args in command usage strings Max Wash 2024-10-31 19:33:48 +00:00
  • 87d8767d11 fix memory leaks Max Wash 2024-10-27 19:43:05 +00:00
  • a86291ca75 fix linux-specific compilation errors Max Wash 2024-10-27 15:36:14 +00:00
  • e77c3908eb add cmake module for finding Bluelib modules Max Wash 2024-10-27 14:32:53 +00:00
  • afed1b111d cmd: print extra-long option descriptions on the following line Max Wash 2024-10-27 14:24:23 +00:00
  • ef9cc13174 term: fix final word in string not being constrained by paragraph margins Max Wash 2024-10-27 14:23:35 +00:00
  • 2a7249cb1e term: add function to query terminal dimensions Max Wash 2024-10-27 14:22:52 +00:00
  • f3cc628fd0 cmd: fix extra comma after command name in usage help message Max Wash 2024-10-27 14:21:54 +00:00
  • f07e11ce60 cmd: fix bad temp var name in B_COMMAND_USAGE() Max Wash 2024-10-27 14:21:05 +00:00
  • 787c311041 core: add stringstream indent unit test Max Wash 2024-10-25 18:30:00 +01:00
  • fef7b346d5 core: fix stringstream indent stack pointer not being initialised Max Wash 2024-10-24 21:36:40 +01:00
  • f0db9d67cb add all old corelib tests Max Wash 2024-10-24 21:33:19 +01:00
  • 44fb8593a5 core: add random number generator Max Wash 2024-10-24 21:33:05 +01:00
  • d0dcee9c6f add cmd module from corelib Max Wash 2024-10-24 21:32:28 +01:00
  • 901a60206f build: fix sys sources not being included in compilation Max Wash 2024-10-24 21:31:46 +01:00
  • e6419149ae add term module from corelib Max Wash 2024-10-24 21:31:22 +01:00
  • fa6ebe6a84 add object module from corelib Max Wash 2024-10-24 19:24:54 +01:00
  • 7eb0fc5581 initial commit Max Wash 2024-08-03 07:54:28 +01:00