Commit Graph

292 Commits

Author SHA1 Message Date
Maschell
a8fd0b64ac ConfigMenu: Block reading input from other threads while the config menu is opened 2024-05-03 13:13:05 +02:00
Maschell
340fdddf0b ConfigMenu: Only redraw if something on the screen has changed 2024-05-03 13:13:05 +02:00
Maschell
6e02c4b7a1 config menu: Init KPAD if needed 2024-04-28 02:16:50 +02:00
Maschell
8071ceabf4 minor fix in drawutils 2024-04-28 02:16:50 +02:00
Maschell
958ba503c8 config menu: stop exiting the category for certain items 2024-04-28 02:16:50 +02:00
Maschell
2b29db165c Check if a plugin has a meta section 2024-04-27 17:50:29 +02:00
Maschell
28d77bd1ce Fix WUPSConfigItemV1::onCloseCallback 2024-04-27 17:50:29 +02:00
Maschell
69268535d8 Fix error notifications 2024-04-26 16:18:03 +02:00
Maschell
34bae7038f Make sure notiifcations will be actually shown 2024-04-26 14:51:23 +02:00
Maschell
6acd8fcfdf Fix error notiifcation when plugin loading fails 2024-04-26 14:51:23 +02:00
Maschell
8276a31597 Update Dockerfile 2024-04-25 16:19:26 +02:00
Maschell
c8ae6a5e06 Update version to 0.3.0 2024-04-25 16:19:26 +02:00
Maschell
cada64d86e API: Add WUPSGetPluginMetaInformationByPathEx and WUPSGetPluginMetaInformationByBufferEx 2024-04-25 16:19:26 +02:00
Maschell
9d82eb7e44 Update build instructions in README 2024-04-25 16:19:26 +02:00
dependabot[bot]
38848424b0 Bump softprops/action-gh-release from 1 to 2
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-25 16:19:26 +02:00
dependabot[bot]
522aa95649 Bump wiiu-env/devkitppc from 20230621 to 20231112
Bumps wiiu-env/devkitppc from 20230621 to 20231112.

---
updated-dependencies:
- dependency-name: wiiu-env/devkitppc
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-25 16:19:26 +02: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
c6708dce46 Fix PluginContainer::operator=(PluginContainer &&src) 2024-04-25 16:19:26 +02:00
Maschell
d4d829a39f Make sure PluginInformation setter are private 2024-04-25 16:19:26 +02:00
Maschell
8cacf6efe8 Split up declaration and definition for some classes 2024-04-25 16:19:26 +02:00
Maschell
7d07f6525b Remove unnecessary std::unique_ptr usages 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
9e4930acec Add missing lock to gLoadedData access 2024-04-25 16:19:26 +02:00
Maschell
d2adc304f0 Move global variables out of data section 2024-04-25 16:19:26 +02:00
Maschell
a84b848d8a Update Dockerfile 2024-04-25 16:19:26 +02:00
Maschell
175a4fde53 ConfigMenu: ignore first input data 2024-04-25 16:19:26 +02:00
Maschell
076b4b8058 Add support for latest libwupsbackend 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
8b215a5ea7 For plugin config v2 use the name from the config in the config menu 2024-04-25 16:19:26 +02:00
Maschell
a66bd1f275 Simplify NotificationUtils 2024-04-25 16:19:26 +02:00
Maschell
950a55cd8f Minor cleanups 2024-04-25 16:19:26 +02:00
Maschell
4a03f3efe6 Bump version to 0.3.0-dev 2024-04-25 16:19:26 +02:00
Maschell
3a91c90e76 ConfigMenu: Fix calling onCloseCallback for item which are not in a category 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
Thomas Rohloff
184ca0bc5c Don't draw transparent pixels
Signed-off-by: Thomas Rohloff <v10lator@myway.de>
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
921b5ce157 Implement new ConfigAPI and new Config Menu 2024-04-25 16:19:26 +02:00
Maschell
b991d6e329 Avoid linking against libwups 2024-04-25 16:19:26 +02:00
Maschell
d1f701abab Fix getNearestFunctionSymbolData 2024-04-25 16:19:26 +02:00
Maschell
96f385176a Update Dockerfile to use dev WUPS 2024-04-25 16:19:26 +02:00
Maschell
ed13894dc3 Implementation of new StorageAPI 2024-04-25 16:19:26 +02:00
Maschell
fb2ea68627 Deprecate WUPS_LOADER_HOOK_INIT_STORAGE hook and implemenation 2024-04-25 16:19:26 +02:00
Maschell
553d887526 Store the WUPS version a plugin was compiled with inside the MetaInformation 2024-04-25 16:19:26 +02:00
Maschell
36e99e95a2 Update PluginInformation to return std::optional instead of raw pointer 2024-04-25 16:19:26 +02:00
Maschell
cc5acd0980 - use const auto& where possible
- avoid using const std::unique_ptr& and const std::shared_ptr&
- avoid wrapping results in std::optional
- prefer std::string_view over const std::string&
- update FSUtils::LoadFileToMem to write into std::vector<uint8_t>
- use std::span when possible
- Avoid unnessecary copies in PluginDataFactory
- allocate plugins as HeapMemoryFixedSize which bascially is a std::unique_ptr with fixed size
2024-04-25 16:19:26 +02:00
dependabot[bot]
baee1afda3 Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-10 10:16:26 +02:00
Maschell
1e7c77b39f Improve error message when parsing a plugin failed 2023-08-16 11:03:28 +02:00