Commit Graph

  • 3ee9de74f0 meta: add .cache to gitignore wash 2025-10-19 10:22:53 +01:00
  • d5bd8fa32a core: stream: add a second generic pointer to b_stream wash 2025-10-19 10:22:35 +01:00
  • c389e32dc6 core: add B_NPOS definition wash 2025-10-19 10:22:11 +01:00
  • 379bd048b2 core: object: make interface query functions const; remove type parameters wash 2025-10-19 10:21:43 +01:00
  • e1e4544b67 core: macros: fix bad return type on unref() function template wash 2025-10-18 21:54:34 +01:00
  • 4044961478 core: rename b_retain/b_release to b_object_ref/b_object_unref wash 2025-10-18 21:51:51 +01:00
  • 6b5f0319c3 format: improve type definition BEGIN/END macro recognition wash 2025-10-18 21:50:24 +01:00
  • 503dc56328 core: add macros for performing non-virtual class method dispatch wash 2025-10-18 21:41:40 +01:00
  • 4d75a572c4 ds: memove legacy object system wash 2025-10-18 21:19:21 +01:00
  • a0b7b5b85b core: remove type parameter from object interface query functions wash 2025-10-18 21:06:20 +01:00
  • c8b8111487 meta: remove cache files wash 2025-10-18 21:02:21 +01:00
  • 06add543bf Merge branch 'main' into feature/new-object-system wash 2025-10-15 11:13:00 +01:00
  • 9d2ebfce2e core: move new object system to core module wash 2025-10-15 10:38:18 +01:00
  • 407a0972c1 io: file: implement tell() callback for file streams wash 2025-10-12 17:29:49 +01:00
  • 57f21020fc cmd: add asserts to b_arglist_report_missing_args wash 2025-10-12 17:29:22 +01:00
  • 31cdc7064d cmd: fix coloured arg usage string output wash 2025-10-12 17:29:03 +01:00
  • b4360e9bdc test: add and update a few tests wash 2025-09-22 10:55:20 +01:00
  • 11fd147031 term: tty: update hash api usage wash 2025-09-22 10:55:04 +01:00
  • 30210d67e0 serial: add toml parser wash 2025-09-22 10:54:33 +01:00
  • 9fa2168599 serial: json: update b_dict usage wash 2025-09-22 10:54:11 +01:00
  • d90291c0b1 io: path: add function to query the path used to open a file wash 2025-09-22 10:53:23 +01:00
  • 49ad80bcf2 io: path: use new to_string() and b_string apis wash 2025-09-22 10:52:56 +01:00
  • 15cb225533 object: number: add support for positive/negative infinite and NaN values wash 2025-09-22 10:52:02 +01:00
  • be47176524 object: dict: use b_strings as keys rather than plain c-strings. wash 2025-09-22 10:50:07 +01:00
  • b7da91ac93 object: hashmap: implement integer-based hashmap keys wash 2025-09-22 10:48:05 +01:00
  • d9041cda3f object: to_string() now takes a const object pointer wash 2025-09-22 10:47:33 +01:00
  • 16b68b6fba object: add a type for storing, parsing, and stringifying date/time values wash 2025-09-22 10:44:56 +01:00
  • 2fcadf7f39 core: string: add UTF-8 and null-char support; and some new string functions wash 2025-09-22 10:36:26 +01:00
  • cbaeb002f8 core: stream: b_stream_read_line_s now includes linefeed in output and correctly reports EOF condition wash 2025-09-22 10:32:37 +01:00
  • bc5986150c core: stream: fix buffer overflow in stream indentation stack wash 2025-09-22 10:31:53 +01:00
  • 4ab524a66b core: hash: rename b_hash_string to avoid conflict with b_string wash 2025-09-22 10:31:30 +01:00
  • d52992c8ba core: printf: switch to an enhanced version of embedded printf wash 2025-09-22 10:30:40 +01:00
  • 072903f896 core: error: fix b_error_caused_by_code calling an undefined function wash 2025-09-22 10:29:48 +01:00
  • 0a2a1c695a core: error: add function to test if an error has a particular vendor/code wash 2025-09-22 10:29:01 +01:00
  • db3d1e3183 core: add a type to store unicode characters, as well as functions to query them wash 2025-09-22 10:28:03 +01:00
  • bdf201dedc TEMP: add toml parser wash 2025-09-19 15:47:59 +01:00
  • 2108277061 format: configure clang-format to support type definitions BEGIN/END macros wash 2025-08-16 16:04:44 +01:00
  • a3ee146b4d test: object: add simple string test wash 2025-08-16 16:04:11 +01:00
  • c65541ac62 core: add new enhanced object module wash 2025-08-16 16:03:55 +01:00
  • 3f2558cac3 core: add B_BTREE_INIT macro wash 2025-08-16 16:00:33 +01:00
  • 2c15d5cd45 core: add new object related status codes wash 2025-08-16 16:00:04 +01:00
  • 0751ef469f meta: rename legacy object module to 'ds' wash 2025-08-09 19:57:42 +01:00
  • a5e3e06306 core: add basic mutex and per-thread data support wash 2025-08-09 19:49:06 +01:00
  • ee2611c678 core: error: fix double free of errors released with b_error_release wash 2025-08-09 19:48:40 +01:00
  • ed8e51ed5e core: bitop: add atomic compare-exchange wash 2025-08-09 19:48:01 +01:00
  • a1c1fee301 compress: cstream: add skip() and reset() functions wash 2025-08-09 19:45:34 +01:00
  • 13cb866892 test: io: add directory deletion test wash 2025-08-09 19:41:57 +01:00
  • 8bdb770ae5 io: directory: implement temporary directories and delete-on-close wash 2025-08-09 19:40:11 +01:00
  • 655d8b1881 io: path: implement deleting (empty) directories wash 2025-08-09 19:40:02 +01:00
  • bcbd85372e cmd: improve command usage strings wash 2025-08-09 19:36:46 +01:00
  • fae8ffe4f8 test: compress: report total bytes transacted in mix-(de)compress wash 2025-07-31 11:28:57 +01:00
  • 17b6a02a4f compress: cstream: record the total number of bytes that pass through the endpoint across all (un)compressed sections wash 2025-07-31 11:23:30 +01:00
  • ede5e72fc2 compress: cstream: add support for temporarily moving the cursor and performing limited i/o operations wash 2025-07-31 11:18:10 +01:00
  • 10dfa54d5c compress: zstd: fix f_ctx_size not being set correctly wash 2025-07-31 11:15:28 +01:00
  • 5e6a4d0aa6 compress: compressor: check that function ctx size is >0 before returning a pointer to it wash 2025-07-31 11:14:59 +01:00
  • 67392d12e6 core: stream: replaced cached cursor counter with a tell() function callback wash 2025-07-31 11:13:40 +01:00
  • 771044a95a core: stream: add seek support to stdio streams wash 2025-07-31 11:13:18 +01:00
  • 918bdad153 test: compress: add mixed compressed/uncompressed data test wash 2025-07-30 18:33:53 +01:00
  • f877be66ee test: compress: add simple compression stream test wash 2025-07-30 18:33:33 +01:00
  • 4aaeb46d11 test: compress: update simple1 compression api usage wash 2025-07-30 18:32:51 +01:00
  • 73675f1e4d compress: add byte-wise (de)compression stream data structure wash 2025-07-30 18:32:17 +01:00
  • 8410841b87 compress: zstd: update ringbuffer api usage to use const buffer pointer wash 2025-07-30 18:31:54 +01:00
  • 5a7f0b8535 compress: compressor: merge compress and decompress functions into a single step function wash 2025-07-30 18:31:28 +01:00
  • 051d371eb5 compress: move compression mode enum to function.h wash 2025-07-30 18:30:31 +01:00
  • e4c4de94b8 core: ringbuffer: reset read and write pointers to 0 when a read buffer consumes all available data wash 2025-07-30 18:25:17 +01:00
  • 2f874ff11a core: ringbuffer: make open_read_buffer pointer parameter const-correct wash 2025-07-30 18:24:45 +01:00
  • b5c07c2390 core: stream: make b_stream_write_bytes buffer pointer const wash 2025-07-30 18:23:33 +01:00
  • 514b9f1c5f core: stream: add function to open a b_stream from a FILE pointer wash 2025-07-30 17:49:56 +01:00
  • 56d300f2cf cmake: add compress module to FindBluelib wash 2025-07-28 22:29:13 +01:00
  • 3e41f51ccf test: compress: add simple (de)compression test using b_compressor wash 2025-07-28 22:28:59 +01:00
  • 56399b07d8 meta: add compress module for (de)compressing data wash 2025-07-28 22:27:24 +01:00
  • 65ee2a91b8 build: add new parameters to module template wash 2025-07-28 22:25:42 +01:00
  • ff71d94e5d build: set language standard to C99 without extensions wash 2025-07-28 22:24:46 +01:00
  • c14d0b717e test: update i/o api usage re: b_error wash 2025-07-28 22:23:57 +01:00
  • 666b315086 test: term: add enhanced error reporting tests wash 2025-07-28 22:23:16 +01:00
  • 0e0c95900c test: core: add error and ringbuffer tests wash 2025-07-28 22:22:38 +01:00
  • ad4eba6cc1 test: io: update i/o api usage re: b_error wash 2025-07-28 22:22:14 +01:00
  • 0ab1855105 term: add an enhanced error reporting function wash 2025-07-28 22:21:13 +01:00
  • 663df15289 io: implement b_error support for file/directory operations wash 2025-07-28 22:20:20 +01:00
  • 8554541f3a io: path: add b_path_duplicate() wash 2025-07-28 22:18:52 +01:00
  • 15ae12aa2e object: string: add b_string_duplicate() wash 2025-07-28 22:17:48 +01:00
  • 04f99a84d5 cmd: fix b_arglist_get_* functions not checking index parameter wash 2025-07-28 22:17:19 +01:00
  • f94cff5eef core: add error reporting api wash 2025-07-28 22:16:26 +01:00
  • 55b76cc43c core: add status code strings and descriptions wash 2025-07-28 22:15:02 +01:00
  • 3f96be28ed core: add format with va_list function to stringstream wash 2025-07-28 22:14:34 +01:00
  • 5bac4db7ed core: add ringbuffer data structure wash 2025-07-28 22:13:41 +01:00
  • 5d6423057a cmd: add functions to report option/arg errors to the public API wash 2025-07-17 17:56:00 +01:00
  • 92ccc5626d object: add macro to test object type wash 2025-07-17 17:55:34 +01:00
  • 4690738af1 object: add a range of string transformation functions wash 2025-07-17 17:55:13 +01:00
  • 5dc6f4088b io: file: add missing static qualifier to stream callbacks wash 2025-06-27 22:06:22 +01:00
  • 1c880f5b7d object: string: add missing static qualifier to stream callbacks wash 2025-06-27 22:06:10 +01:00
  • 21f424956e cmake: update FindBluelib to support serial module wash 2025-06-27 22:00:26 +01:00
  • 9aa75b4d0b test: add cross-module tests wash 2025-06-27 21:54:23 +01:00
  • 86d5b9d31d test: add lots of stream tests wash 2025-06-27 21:54:10 +01:00
  • c987f34693 meta: add serial module for (de)serialising objects wash 2025-06-27 21:53:40 +01:00
  • 2ced9a8309 cmd: update references to b_stderr wash 2025-06-27 21:53:03 +01:00
  • b00d9c51bd term: rename b_stderr to avoid clashing with b_stream stderr pointer wash 2025-06-27 21:52:42 +01:00
  • 23bd483e78 io: file: add b_stream support wash 2025-06-27 21:51:52 +01:00
  • 56e35ae07d io: path: update to_string callback to use b_stream wash 2025-06-27 21:51:39 +01:00
  • eaa556330e io: implement EPERM -> B_ERR_PERMISSION_DENIED conversion wash 2025-06-27 21:51:18 +01:00