Commit Graph

  • 5b9ecb6d3c io: directory: convert to new object system Max Wash 2025-10-19 21:00:45 +01:00
  • 5f660a4a4e io: path: convert to new object system Max Wash 2025-10-19 21:00:26 +01:00
  • 5e850a4a53 ds: string: fix segfault when initialising string iterator Max Wash 2025-10-19 20:59:36 +01:00
  • 03e309ea36 ds: fix incorrect object class definitions Max Wash 2025-10-19 20:59:17 +01:00
  • ab1c2b370d core: object: implement rvalue object support Max Wash 2025-10-19 20:58:32 +01:00
  • 2cc1a541c2 core: object: implement b_object_is_type() Max Wash 2025-10-19 13:46:44 +01:00
  • 838835e6e1 ds: tree: convert to new object system Max Wash 2025-10-19 13:42:10 +01:00
  • 6a56391a07 ds: number: convert to new object system Max Wash 2025-10-19 13:32:53 +01:00
  • 4e35a2275d ds: uuid: convert to new object system Max Wash 2025-10-19 13:10:45 +01:00
  • c2b422f0ca ds: list: convert to new object system Max Wash 2025-10-19 12:46:25 +01:00
  • 59fdb55a8b ds: hashmap: convert to new object system Max Wash 2025-10-19 12:20:58 +01:00
  • 5bf3c50a7f ds: dict: convert to new object system Max Wash 2025-10-19 11:53:08 +01:00
  • ff2ff6f136 core: stream: update generic pointer usage for stdio streams Max Wash 2025-10-19 11:26:04 +01:00
  • b3de59ae24 ds: datetime: convert to new object system Max Wash 2025-10-19 11:25:15 +01:00
  • dacbc5e9c2 ds: buffer: convert to new object system Max Wash 2025-10-19 11:03:09 +01:00
  • 0a9eb4a085 ds: array: convert to new object system Max Wash 2025-10-19 11:02:59 +01:00
  • 3eebdddc21 ds: string: convert to new object system Max Wash 2025-10-19 11:02:36 +01:00
  • 3ee9de74f0 meta: add .cache to gitignore Max Wash 2025-10-19 10:22:53 +01:00
  • d5bd8fa32a core: stream: add a second generic pointer to b_stream Max Wash 2025-10-19 10:22:35 +01:00
  • c389e32dc6 core: add B_NPOS definition Max Wash 2025-10-19 10:22:11 +01:00
  • 379bd048b2 core: object: make interface query functions const; remove type parameters Max Wash 2025-10-19 10:21:43 +01:00
  • e1e4544b67 core: macros: fix bad return type on unref() function template Max Wash 2025-10-18 21:54:34 +01:00
  • 4044961478 core: rename b_retain/b_release to b_object_ref/b_object_unref Max Wash 2025-10-18 21:51:51 +01:00
  • 6b5f0319c3 format: improve type definition BEGIN/END macro recognition Max Wash 2025-10-18 21:50:24 +01:00
  • 503dc56328 core: add macros for performing non-virtual class method dispatch Max Wash 2025-10-18 21:41:40 +01:00
  • 4d75a572c4 ds: memove legacy object system Max Wash 2025-10-18 21:19:21 +01:00
  • a0b7b5b85b core: remove type parameter from object interface query functions Max Wash 2025-10-18 21:06:20 +01:00
  • c8b8111487 meta: remove cache files Max Wash 2025-10-18 21:02:21 +01:00
  • 06add543bf Merge branch 'main' into feature/new-object-system Max Wash 2025-10-15 11:13:00 +01:00
  • 9d2ebfce2e core: move new object system to core module Max Wash 2025-10-15 10:38:18 +01:00
  • 407a0972c1 io: file: implement tell() callback for file streams Max Wash 2025-10-12 17:29:49 +01:00
  • 57f21020fc cmd: add asserts to b_arglist_report_missing_args Max Wash 2025-10-12 17:29:22 +01:00
  • 31cdc7064d cmd: fix coloured arg usage string output Max Wash 2025-10-12 17:29:03 +01:00
  • b4360e9bdc test: add and update a few tests Max Wash 2025-09-22 10:55:20 +01:00
  • 11fd147031 term: tty: update hash api usage Max Wash 2025-09-22 10:55:04 +01:00
  • 30210d67e0 serial: add toml parser Max Wash 2025-09-22 10:54:33 +01:00
  • 9fa2168599 serial: json: update b_dict usage Max Wash 2025-09-22 10:54:11 +01:00
  • d90291c0b1 io: path: add function to query the path used to open a file Max Wash 2025-09-22 10:53:23 +01:00
  • 49ad80bcf2 io: path: use new to_string() and b_string apis Max Wash 2025-09-22 10:52:56 +01:00
  • 15cb225533 object: number: add support for positive/negative infinite and NaN values Max Wash 2025-09-22 10:52:02 +01:00
  • be47176524 object: dict: use b_strings as keys rather than plain c-strings. Max Wash 2025-09-22 10:50:07 +01:00
  • b7da91ac93 object: hashmap: implement integer-based hashmap keys Max Wash 2025-09-22 10:48:05 +01:00
  • d9041cda3f object: to_string() now takes a const object pointer Max Wash 2025-09-22 10:47:33 +01:00
  • 16b68b6fba object: add a type for storing, parsing, and stringifying date/time values Max Wash 2025-09-22 10:44:56 +01:00
  • 2fcadf7f39 core: string: add UTF-8 and null-char support; and some new string functions Max 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 Max Wash 2025-09-22 10:32:37 +01:00
  • bc5986150c core: stream: fix buffer overflow in stream indentation stack Max Wash 2025-09-22 10:31:53 +01:00
  • 4ab524a66b core: hash: rename b_hash_string to avoid conflict with b_string Max Wash 2025-09-22 10:31:30 +01:00
  • d52992c8ba core: printf: switch to an enhanced version of embedded printf Max Wash 2025-09-22 10:30:40 +01:00
  • 072903f896 core: error: fix b_error_caused_by_code calling an undefined function Max Wash 2025-09-22 10:29:48 +01:00
  • 0a2a1c695a core: error: add function to test if an error has a particular vendor/code Max 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 Max Wash 2025-09-22 10:28:03 +01:00
  • bdf201dedc TEMP: add toml parser Max Wash 2025-09-19 15:47:59 +01:00
  • 2108277061 format: configure clang-format to support type definitions BEGIN/END macros Max Wash 2025-08-16 16:04:44 +01:00
  • a3ee146b4d test: object: add simple string test Max Wash 2025-08-16 16:04:11 +01:00
  • c65541ac62 core: add new enhanced object module Max Wash 2025-08-16 16:03:55 +01:00
  • 3f2558cac3 core: add B_BTREE_INIT macro Max Wash 2025-08-16 16:00:33 +01:00
  • 2c15d5cd45 core: add new object related status codes Max Wash 2025-08-16 16:00:04 +01:00
  • 0751ef469f meta: rename legacy object module to 'ds' Max Wash 2025-08-09 19:57:42 +01:00
  • a5e3e06306 core: add basic mutex and per-thread data support Max Wash 2025-08-09 19:49:06 +01:00
  • ee2611c678 core: error: fix double free of errors released with b_error_release Max Wash 2025-08-09 19:48:40 +01:00
  • ed8e51ed5e core: bitop: add atomic compare-exchange Max Wash 2025-08-09 19:48:01 +01:00
  • a1c1fee301 compress: cstream: add skip() and reset() functions Max Wash 2025-08-09 19:45:34 +01:00
  • 13cb866892 test: io: add directory deletion test Max Wash 2025-08-09 19:41:57 +01:00
  • 8bdb770ae5 io: directory: implement temporary directories and delete-on-close Max Wash 2025-08-09 19:40:11 +01:00
  • 655d8b1881 io: path: implement deleting (empty) directories Max Wash 2025-08-09 19:40:02 +01:00
  • bcbd85372e cmd: improve command usage strings Max Wash 2025-08-09 19:36:46 +01:00
  • fae8ffe4f8 test: compress: report total bytes transacted in mix-(de)compress Max 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 Max 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 Max Wash 2025-07-31 11:18:10 +01:00
  • 10dfa54d5c compress: zstd: fix f_ctx_size not being set correctly Max 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 Max Wash 2025-07-31 11:14:59 +01:00
  • 67392d12e6 core: stream: replaced cached cursor counter with a tell() function callback Max Wash 2025-07-31 11:13:40 +01:00
  • 771044a95a core: stream: add seek support to stdio streams Max Wash 2025-07-31 11:13:18 +01:00
  • 918bdad153 test: compress: add mixed compressed/uncompressed data test Max Wash 2025-07-30 18:33:53 +01:00
  • f877be66ee test: compress: add simple compression stream test Max Wash 2025-07-30 18:33:33 +01:00
  • 4aaeb46d11 test: compress: update simple1 compression api usage Max Wash 2025-07-30 18:32:51 +01:00
  • 73675f1e4d compress: add byte-wise (de)compression stream data structure Max Wash 2025-07-30 18:32:17 +01:00
  • 8410841b87 compress: zstd: update ringbuffer api usage to use const buffer pointer Max Wash 2025-07-30 18:31:54 +01:00
  • 5a7f0b8535 compress: compressor: merge compress and decompress functions into a single step function Max Wash 2025-07-30 18:31:28 +01:00
  • 051d371eb5 compress: move compression mode enum to function.h Max 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 Max Wash 2025-07-30 18:25:17 +01:00
  • 2f874ff11a core: ringbuffer: make open_read_buffer pointer parameter const-correct Max Wash 2025-07-30 18:24:45 +01:00
  • b5c07c2390 core: stream: make b_stream_write_bytes buffer pointer const Max Wash 2025-07-30 18:23:33 +01:00
  • 514b9f1c5f core: stream: add function to open a b_stream from a FILE pointer Max Wash 2025-07-30 17:49:56 +01:00
  • 56d300f2cf cmake: add compress module to FindBluelib Max Wash 2025-07-28 22:29:13 +01:00
  • 3e41f51ccf test: compress: add simple (de)compression test using b_compressor Max Wash 2025-07-28 22:28:59 +01:00
  • 56399b07d8 meta: add compress module for (de)compressing data Max Wash 2025-07-28 22:27:24 +01:00
  • 65ee2a91b8 build: add new parameters to module template Max Wash 2025-07-28 22:25:42 +01:00
  • ff71d94e5d build: set language standard to C99 without extensions Max Wash 2025-07-28 22:24:46 +01:00
  • c14d0b717e test: update i/o api usage re: b_error Max Wash 2025-07-28 22:23:57 +01:00
  • 666b315086 test: term: add enhanced error reporting tests Max Wash 2025-07-28 22:23:16 +01:00
  • 0e0c95900c test: core: add error and ringbuffer tests Max Wash 2025-07-28 22:22:38 +01:00
  • ad4eba6cc1 test: io: update i/o api usage re: b_error Max Wash 2025-07-28 22:22:14 +01:00
  • 0ab1855105 term: add an enhanced error reporting function Max Wash 2025-07-28 22:21:13 +01:00
  • 663df15289 io: implement b_error support for file/directory operations Max Wash 2025-07-28 22:20:20 +01:00
  • 8554541f3a io: path: add b_path_duplicate() Max Wash 2025-07-28 22:18:52 +01:00
  • 15ae12aa2e object: string: add b_string_duplicate() Max Wash 2025-07-28 22:17:48 +01:00
  • 04f99a84d5 cmd: fix b_arglist_get_* functions not checking index parameter Max Wash 2025-07-28 22:17:19 +01:00
  • f94cff5eef core: add error reporting api Max Wash 2025-07-28 22:16:26 +01:00