Commit Graph

21 Commits

Author SHA1 Message Date
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
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
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
104e6e1249 Add WUPS_GetStorageStatusStr 2022-09-04 10:33:37 +02:00
Maschell
a2f75edfeb Return WUPSStorageError enum instead of int for storage API 2022-09-04 10:33:37 +02:00
Maschell
d3cf0691ef Add clang-format for formatting, check building the example in CI 2022-02-03 16:24:36 +01:00
Maschell
6510dd5c21 WUPS 0.6, add support for config and storage 2021-09-24 19:58:40 +02:00
Maschell
2bff8c2653 Override __init_wut_socket and __fini_wut_socket 2021-09-17 16:28:37 +02:00
Maschell
1fcd3b4b17 Clean up, remove some unused features, some refactoring, bump WUPS version to 0.4 2021-03-16 17:31:20 +01:00
Maschell
012ddd154a Extend wut share files instead of replacing it 2020-06-12 13:55:34 +02:00
Maschell
195e686a50 - Plugins now will be provided in RPX format and have the extension ".wps"
- Remove the fs function wrapper
2020-04-29 17:53:53 +02:00