Commit Graph

312 Commits

Author SHA1 Message Date
Daniel K. O.
1ac579aebb
Add WUPSConfigAPI_GetMenuOpen() to detect if the config menu is open. (#76)
* Add `WUPSConfigAPI_IsMenuOpen()` to detect if the config menu is open.

* Changed function signature and name to match other functions.

* - Renamed function from `WUPSConfigAPI_GetMenuOpen()` to `WUPSConfigAPI_GetMenuOpen()`.
- Changed result type from `BOOL` to `WUPSConfigAPIMenuStatus` enum.

---------

Co-authored-by: Daniel K. O. (dkosmari) <none@none>
2024-11-28 19:43:24 +01:00
Maschell
74205ee081 Update Dockerfiles 2024-05-05 14:41:06 +02:00
Maschell
e9f5674f62 Bump version to 0.8.1 2024-05-05 14:41:06 +02:00
Maschell
f871b7f228 StorageAPI: Update documentation and fix storage test plugin 2024-05-05 14:41:06 +02:00
Maschell
d9c64bfddd Bump actions/checkout from 3 to 4 2024-05-05 14:41:06 +02:00
Maschell
967f42be43 Config: Update WUPSConfigComplexPadData to hold information for all 7 possible kpads 2024-05-05 14:41:06 +02:00
Maschell
3c26ecd473 Fix DEBUG flag check in example plugin 2024-04-25 13:57:35 +02:00
Maschell
989b129834 Fix move operator for WUPSConfigItem 2024-04-25 13:57:35 +02:00
Maschell
5de93f178a Fix move operator for WUPSConfigCategory 2024-04-25 13:57:35 +02:00
Maschell
6b5c2ab95e StorageAPI: Make sure to call noexcept version of CreateSubItem in GetOrCreateSubItem 2024-04-25 13:57:35 +02:00
Maschell
fe1c4aa671 Fix small typo in storage test 2024-04-25 13:57:35 +02:00
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