Commit Graph

358 Commits

Author SHA1 Message Date
wash ed105307c7 core: type: fix registration of types that extend something other than b_object 2025-10-24 12:29:24 +01:00
wash 36b624849c core: object: add functions to retrieve multiple parts of an object at once 2025-10-24 12:28:50 +01:00
wash 21c4005819 test: io: update to use new object system 2025-10-19 21:03:01 +01:00
wash 25dc4038df test: ds: update to use new object system 2025-10-19 21:02:52 +01:00
wash 1daf31093c test: serial: update to use new object system 2025-10-19 21:02:38 +01:00
wash 2773ecbd71 test: update to use new object system 2025-10-19 21:02:30 +01:00
wash 34c54eb545 cmd: update to use new object system 2025-10-19 21:02:12 +01:00
wash fd04a49d84 term: update to use new object system 2025-10-19 21:01:55 +01:00
wash 6e979579ea serial: update to use new object system 2025-10-19 21:01:27 +01:00
wash 297ccdc9ce io: file: convert to new object system 2025-10-19 21:00:56 +01:00
wash 5b9ecb6d3c io: directory: convert to new object system 2025-10-19 21:00:45 +01:00
wash 5f660a4a4e io: path: convert to new object system 2025-10-19 21:00:26 +01:00
wash 5e850a4a53 ds: string: fix segfault when initialising string iterator 2025-10-19 20:59:36 +01:00
wash 03e309ea36 ds: fix incorrect object class definitions 2025-10-19 20:59:17 +01:00
wash ab1c2b370d core: object: implement rvalue object support 2025-10-19 20:58:32 +01:00
wash 2cc1a541c2 core: object: implement b_object_is_type() 2025-10-19 13:46:44 +01:00
wash 838835e6e1 ds: tree: convert to new object system 2025-10-19 13:42:10 +01:00
wash 6a56391a07 ds: number: convert to new object system 2025-10-19 13:32:53 +01:00
wash 4e35a2275d ds: uuid: convert to new object system 2025-10-19 13:10:45 +01:00
wash c2b422f0ca ds: list: convert to new object system 2025-10-19 12:46:25 +01:00
wash 59fdb55a8b ds: hashmap: convert to new object system 2025-10-19 12:22:14 +01:00
wash 5bf3c50a7f ds: dict: convert to new object system 2025-10-19 11:58:48 +01:00
wash ff2ff6f136 core: stream: update generic pointer usage for stdio streams 2025-10-19 11:26:04 +01:00
wash b3de59ae24 ds: datetime: convert to new object system 2025-10-19 11:25:15 +01:00
wash dacbc5e9c2 ds: buffer: convert to new object system 2025-10-19 11:03:44 +01:00
wash 0a9eb4a085 ds: array: convert to new object system 2025-10-19 11:02:59 +01:00
wash 3eebdddc21 ds: string: convert to new object system 2025-10-19 11:02:36 +01:00
wash 3ee9de74f0 meta: add .cache to gitignore 2025-10-19 10:22:53 +01:00
wash d5bd8fa32a core: stream: add a second generic pointer to b_stream 2025-10-19 10:22:35 +01:00
wash c389e32dc6 core: add B_NPOS definition 2025-10-19 10:22:11 +01:00
wash 379bd048b2 core: object: make interface query functions const; remove type parameters 2025-10-19 10:21:43 +01:00
wash e1e4544b67 core: macros: fix bad return type on unref() function template 2025-10-18 21:54:34 +01:00
wash 4044961478 core: rename b_retain/b_release to b_object_ref/b_object_unref 2025-10-18 21:51:51 +01:00
wash 6b5f0319c3 format: improve type definition BEGIN/END macro recognition 2025-10-18 21:50:24 +01:00
wash 503dc56328 core: add macros for performing non-virtual class method dispatch 2025-10-18 21:41:40 +01:00
wash 4d75a572c4 ds: memove legacy object system 2025-10-18 21:19:21 +01:00
wash a0b7b5b85b core: remove type parameter from object interface query functions 2025-10-18 21:06:20 +01:00
wash c8b8111487 meta: remove cache files 2025-10-18 21:02:21 +01:00
wash 06add543bf Merge branch 'main' into feature/new-object-system 2025-10-15 11:13:00 +01:00
wash 9d2ebfce2e core: move new object system to core module
this will allow a wider range of data structures (e.g. b_error, b_stream, b_stringstream) to make use
of the new object system, and other modules and library users can use the object system without
depending on the blue-object or blue-ds modules.

blue-ds will become a simple library of data structures (string, hashmap, etc), built on top of the
core object system.
2025-10-15 10:38:18 +01:00
wash 407a0972c1 io: file: implement tell() callback for file streams 2025-10-12 17:29:49 +01:00
wash 57f21020fc cmd: add asserts to b_arglist_report_missing_args 2025-10-12 17:29:22 +01:00
wash 31cdc7064d cmd: fix coloured arg usage string output 2025-10-12 17:29:03 +01:00
wash b4360e9bdc test: add and update a few tests 2025-09-22 10:55:20 +01:00
wash 11fd147031 term: tty: update hash api usage 2025-09-22 10:55:04 +01:00
wash 30210d67e0 serial: add toml parser 2025-09-22 10:54:33 +01:00
wash 9fa2168599 serial: json: update b_dict usage 2025-09-22 10:54:11 +01:00
wash d90291c0b1 io: path: add function to query the path used to open a file 2025-09-22 10:53:23 +01:00
wash 49ad80bcf2 io: path: use new to_string() and b_string apis 2025-09-22 10:52:56 +01:00
wash 15cb225533 object: number: add support for positive/negative infinite and NaN values 2025-09-22 10:52:02 +01:00