Commit Graph

305 Commits

Author SHA1 Message Date
Maschell
562c7490cf Fix move operator for WUPSConfigItem 2024-03-29 13:20:39 +01:00
Maschell
3b0e4bf4c5 Fix move operator for WUPSConfigCategory 2024-03-29 13:20:39 +01:00
Maschell
702580152f StorageAPI: Make sure to call noexcept version of CreateSubItem in GetOrCreateSubItem 2024-03-29 13:20:39 +01:00
Maschell
3b5cc2f932 Fix small typo in storage test 2024-03-02 10:58:15 +01:00
Maschell
e02376e5a1 Fix WUPSConfigItemMultipleValues::CreateFromValue 2024-03-02 10:58:15 +01:00
Maschell
2262844544 StorageAPI: Add support for loading/storing empty strings/binaries 2024-02-24 13:21:35 +01:00
Maschell
46f4cf6496 StorageAPI: Avoid -Wunused-parameter 2024-02-23 11:55:05 +01:00
Maschell
a760e2f76e StorageAPI: Add different "modes" for reading binary and string data into an buffer (C++ API only) 2024-02-23 11:15:25 +01:00
Maschell
9664b8e0cf StorageAPI: Change WUPSStorageAPI_GetItemSize to add item type 2024-02-23 11:15:25 +01:00
Maschell
ca17105ff8 Add documentation of StorageAPI 2023-12-21 17:22:31 +01:00
Maschell
363048d98f StorageAPI improvements 2023-12-21 17:22:31 +01:00
Maschell
104fdc3b7b Example: Update the existing example_plugin and add C++ example plugin 2023-12-16 17:26:45 +01:00
Maschell
476cba8dd4 Change version to 0.8.0 2023-12-16 17:24:04 +01:00
Maschell
eb6d03e967 ConfigAPI: Some more changes, added C++ Wrapper 2023-12-16 17:24:04 +01:00
Maschell
fabe4252a3 example_plugin: Update to use the new config api 2023-12-03 11:32:38 +01:00
Maschell
ce7ef44084 New config API 2023-12-03 11:32:38 +01:00
Maschell
e5fcf69e88 Free config items properly on early return 2023-12-03 11:32:38 +01:00
Maschell
d2997545fa Implement __assert_func and __assert, improve abort() 2023-11-23 12:22:37 +01:00
Maschell
45d17c5e37 Publish dev docker images 2023-11-05 17:46:10 +01:00
Maschell
209cf7fa54 Add storage_test_plugin 2023-11-05 17:18:49 +01:00
Maschell
2a76a17a28 Rewrite of the StorageAPI 2023-11-05 17:18:49 +01:00
Maschell
f0bf943f72 Add missing OSFatal declaration 2023-07-19 15:20:26 +02:00
Maschell
80a9893f56 Make sure wut_get_thread_specific has been overriden properly 2023-07-19 15:08:42 +02:00
Maschell
0df3dd8066 Update Dockerfile 2023-06-22 16:27:58 +02:00
Maschell
b2ae19f572 Fix reent support 2023-06-22 16:27:58 +02:00
Maschell
66f48504d3 Fix version in Makefile 2023-06-22 16:27:58 +02:00
Maschell
19d6ca3165 Change default branch to main 2023-04-07 20:13:37 +02:00
Maschell
7c457f922a CI: Use actions/checkout@v3 2023-04-07 20:13:37 +02:00
Maschell
36773920d8 Update example to use ghcr.io registry 2023-04-07 20:13:37 +02:00
Maschell
a8376837a8 CI: Add missing "needs" for push image job 2023-03-16 12:54:15 +01:00
Maschell
6da25ca33e Use actions/checkout@v3 2023-03-16 12:49:13 +01:00
Maschell
85a6e35188 Change docker registry to ghcr.io 2023-03-16 12:49:13 +01:00
Maschell
7f68073112 Update the README 2023-02-25 21:21:18 +01:00
Maschell
54b09fe44c Improve the example documentation and code 2023-02-25 21:21:18 +01:00
Maschell
e40d91fcec StorageAPI: Only proccess items for the last returned sub category or root item. 2023-02-15 19:46:29 +01:00
Maschell
7f76e31e70 Revert "Avoid reallocations of the parent data for WUPS_STORAGE_TYPE_ITEM items." 2023-02-15 19:46:29 +01:00
Maschell
90d1e51922 StorageAPI: Rename pending_delete to deleted 2023-01-26 14:42:31 +01:00
Maschell
e7d3027cd6 StorageAPI: Set key of rootitem to NULL in WUPS_CloseStorage 2023-01-26 14:42:31 +01:00
Maschell
00f7bf0601 StorageAPI: Use strdup if possible 2023-01-26 14:42:31 +01:00
Maschell
52ac0d0c7a StorageAPI: Use copy of plugin_id 2023-01-26 14:42:31 +01:00
Maschell
933e676c52 StorageAPI: Avoid reallocations of the parent data for WUPS_STORAGE_TYPE_ITEM items. This is dirty workaround to keep outPtr of WUPS_CreateSubItem always valid. 2023-01-26 14:42:31 +01:00
Maschell
8306df96ae StorageAPI: Return an error if memory allocation fails 2023-01-26 14:42:31 +01:00
Maschell
db01bb37b2 StorageAPI: Improve closeStorage implementation 2023-01-26 14:42:31 +01:00
Maschell
d8644fe819 StorageAPI: Make sure the parent has the type WUPS_STORAGE_TYPE_ITEM 2023-01-26 14:42:31 +01:00
Maschell
0a427fd31c StorageAPI: Set isDirty flag when WUPS_StoreBinary was called 2023-01-26 14:42:31 +01:00
Maschell
98623f15ab Make the config API C compatible 2023-01-24 21:46:33 +01:00
Maschell
c867b01e4d ConfigItems: Use strdup for string duplication, rename configID to configId in WUPSConfigItemMultipleValues 2022-09-24 18:58:27 +02:00
Maschell
e649e4c93d ConfigItems: Add configId to all item structs 2022-09-24 18:58:27 +02:00
Maschell
51f627dc6e Define more WUPS_CONFIG_BUTTON_* values 2022-09-23 21:34:59 +02:00
Maschell
b1a9ffcb32 Adds a stub WUPSConfigItem for displaying data 2022-09-19 00:52:01 +02:00