321 Commits

Author SHA1 Message Date
Maschell
5214252a99 ConfigAPI: release handle in move operator/constructor before overwriting it. 2025-02-08 12:35:54 +01:00
Maschell
d9ce5d71b0 ButtonComboAPI: Hold duration is now measure in ms instead of frames 2025-02-08 12:35:54 +01:00
Maschell
014181fd53 Add additional includes back to config_api.h 2025-02-08 12:35:54 +01:00
Maschell
e5addcb133 example_plugin: Add missing include 2025-02-08 12:35:54 +01:00
Maschell
1a42b79c4d Initial implementation of WUPSButtonComboAPI 2025-02-08 12:35:54 +01:00
Maschell
dd6025a8d1 Revert LTO because it's caused plugins to use LTO unless they specificed "-fno-lto" 2025-02-08 12:35:54 +01:00
Maschell
981a4e9326 Bump plugin version to 0.8.2 2025-02-08 12:35:54 +01:00
Maschell
ac0ef5fcab Fix formatting 2025-02-08 12:35:54 +01:00
Ash
92239fbe30 Enable LTO build (#77)
* fix(Makefile): Don't double up on optimisation flags

This is already provided by BUILD_CFLAGS later on

* feat(common): Mark explicitly-placed things as used

If we put something in a given section, we should be able to expect it to actually turn up in that section!

Doing this will prevent LTO from slurping all the hooks away as "unused".

* feat: Enable LTO

This uses "fat" binaries, so normal builds won't break, but also includes the LTO data for builds that wish to use it
2025-02-08 12:35:54 +01:00
Daniel K. O.
8ddb5c404c 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>
2025-02-08 12:35:54 +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