17 Commits

Author SHA1 Message Date
Maschell
9c24ed8f2e StorageAPI: code cleanup 2025-02-08 13:14:17 +01:00
Maschell
8ae02cdbfe StorageAPI: Make sure we keep mHandle of rootItem when force-reloading storage 2025-02-08 13:14:17 +01:00
Maschell
930df8748f Clean up includes 2025-02-08 13:14:17 +01:00
Maschell
cd92e47b9d Add ButtonComboAPI support 2025-02-08 13:14:17 +01:00
Maschell
82445acaf0 Fix json parsing error handling, other small fixes 2025-02-08 13:14:17 +01:00
Maschell
a92dae2574 Add initial support for persisting a lsit inactive plugins 2025-02-08 13:14:17 +01:00
Maschell
6f7afe387e Code cleanup 2025-02-08 13:14:17 +01:00
Maschell
004df036b8 Use remove_first_if instead of remove_locked_first_if when possible 2024-04-25 16:19:26 +02:00
Maschell
f7c9dc445c Allocate StorageItemRoot directly on list 2024-04-25 16:19:26 +02:00
Maschell
b8647b94fc Capture values by reference in lambdas 2024-04-25 16:19:26 +02:00
Maschell
f88e72a387 StorageAPI: Store root item not inside a shared_ptr 2024-04-25 16:19:26 +02:00
Maschell
950a55cd8f Minor cleanups 2024-04-25 16:19:26 +02:00
Maschell
823c94ca9c StorageAPI: support for loading/storing empty strings/binaries 2024-04-25 16:19:26 +02:00
Maschell
c38ef605cc StorageAPI: Update GetItemSize to take an additional itemType parameter to avoid a accidential string to binary conversion (e.g. for hashes) 2024-04-25 16:19:26 +02:00
Maschell
8cc78de58c StorageAPI: WUPS_STORAGE_ERROR_NOT_FOUND on StorageOpen is not an error anymoe 2024-04-25 16:19:26 +02:00
Maschell
acc372c836 Simplify the StorageAPI 2024-04-25 16:19:26 +02:00
Maschell
ed13894dc3 Implementation of new StorageAPI 2024-04-25 16:19:26 +02:00