Commit Graph

301 Commits

Author SHA1 Message Date
Maschell
284713c9f6 Fix WUPSConfigItemMultipleValues::CreateFromValue 2024-04-25 13:57:35 +02:00
Maschell
c3f5bd8d7b StorageAPI: Add support for loading/storing empty strings/binaries 2024-04-25 13:57:35 +02:00
Maschell
83bb5e9d27 StorageAPI: Avoid -Wunused-parameter 2024-04-25 13:57:35 +02:00
Maschell
6f53d72e2d StorageAPI: Add different "modes" for reading binary and string data into an buffer (C++ API only) 2024-04-25 13:57:35 +02:00
Maschell
f534559706 StorageAPI: Change WUPSStorageAPI_GetItemSize to add item type 2024-04-25 13:57:35 +02:00
Maschell
7ef3bfa9bc Add documentation of StorageAPI 2024-04-25 13:57:35 +02:00
Maschell
6879d15ce4 StorageAPI improvements 2024-04-25 13:57:35 +02:00
Maschell
dba2b584fd Example: Update the existing example_plugin and add C++ example plugin 2024-04-25 13:57:35 +02:00
Maschell
332ec41488 Change version to 0.8.0 2024-04-25 13:57:35 +02:00
Maschell
aed8b5af43 ConfigAPI: Some more changes, added C++ Wrapper 2024-04-25 13:57:35 +02:00
Maschell
4d9f28c1ae example_plugin: Update to use the new config api 2024-04-25 13:57:35 +02:00
Maschell
ba3cd165dd New config API 2024-04-25 13:57:35 +02:00
Maschell
d84fd56329 Free config items properly on early return 2024-04-25 13:57:35 +02:00
Maschell
a56d1698b3 Implement __assert_func and __assert, improve abort() 2024-04-25 13:57:35 +02:00
Maschell
5fc4875b35 Publish dev docker images 2024-04-25 13:57:35 +02:00
Maschell
c66d73efe4 Add storage_test_plugin 2024-04-25 13:57:35 +02:00
Maschell
58a2d3f734 Rewrite of the StorageAPI 2024-04-25 13:57:35 +02: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
Maschell
7b9868bd0e Fix potential memory leak when creating config items fails 2022-09-19 00:52:01 +02:00
Maschell
bf8d300588 Use ubuntu-22.04 for the CI and update Dockerfiles 2022-09-04 10:33:37 +02:00
Maschell
add8b4b392 Change LICENSE to LGPL 2022-09-04 10:33:37 +02:00
Maschell
53affc1105 example_plugin: Add error handling 2022-09-04 10:33:37 +02:00