Maschell
87ad32516f
Bump version
2024-07-05 16:37:20 +02:00
Maschell
c47c79e771
Make sure to only access valid buffers in VPADRead and WPADRead hooks
2024-07-05 16:37:20 +02:00
Maschell
4c1131b0bf
Refactor DC register access
2024-05-10 16:52:23 +02:00
Maschell
6db59dcc16
Redraw the config menu on any input
2024-05-10 16:01:08 +02:00
Maschell
b372d78b7d
Add "saving config" screen to the config menu
2024-05-10 15:46:05 +02:00
Maschell
4225d8ff8f
Bump version to 0.3.3
2024-05-10 12:34:34 +02:00
Maschell
d1cfff4861
Fix displaying the config menu when using 480i + 4:3 or 576i as output resolution
2024-05-10 12:34:34 +02:00
Maschell
43a18b56d7
Small fixes to the .wps loading, return nullptr instead of OSFatal, add asserts instead of OSFatal
2024-05-08 18:08:03 +02:00
Maschell
6855564c28
Bump version to 0.3.1
2024-05-07 14:29:45 +02:00
Maschell
ac05cf8231
Sort configs in config menu by name
2024-05-07 14:29:45 +02:00
Maschell
f9b67d57ea
Add support for WUPS 0.8.1
2024-05-05 14:49:59 +02:00
Maschell
2047d5725b
ConfigMenu: Reduce flickering when a plugin config is opened
2024-05-03 17:53:23 +02:00
Maschell
343092c338
ConfigMenu: Fix redraw logic
2024-05-03 17:53:23 +02:00
Maschell
be24d2c67a
Close config menu if "release foreground" message is detected
2024-05-03 15:13:30 +02:00
Maschell
f1a33df12d
function_patches: make sure variables are static
2024-05-03 15:13:30 +02:00
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
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
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
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
d1f701abab
Fix getNearestFunctionSymbolData
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
Maschell
1e7c77b39f
Improve error message when parsing a plugin failed
2023-08-16 11:03:28 +02:00
Maschell
07de996bf9
Add support for notifications on error
2023-08-16 11:03:28 +02:00
Maschell
efcde57f74
Config: Delete corrupted config files
2023-08-16 11:03:28 +02:00
Maschell
7b3558b892
Bump version
2023-07-19 18:35:45 +02:00
Maschell
4b2480fda0
Add additional checks to make sure thread clean up callbacks are valid
2023-07-18 12:48:54 +02:00
Maschell
64667d6169
Fix compiling with latest wut, Update Dockerfile
2023-07-18 12:48:54 +02:00
Maschell
32150a8c82
Bump Version
2023-03-23 15:04:12 +01:00
Maschell
debc0eda5e
Config: Fix opening empty config categories, display information text
2023-03-12 13:16:42 +01:00
Maschell
21fec8e451
Config: Fix possible crash when navigating the config menu
2023-03-12 13:16:42 +01:00
Maschell
12c565681f
Bump version
2023-02-19 18:57:27 +01:00
Maschell
d8a906f1db
Extend the wupsbackend api to provide some extra functions to query plugin information
2023-02-19 18:44:19 +01:00
Maschell
b579bbdfa9
Update to latest WUPS and libfunctionpatcher
2023-02-17 11:52:35 +01:00
Maschell
cc007a5987
Bump version to 0.2.1
2023-01-10 18:32:46 +01:00
Maschell
2071c6cbf8
Update to use the latest libfunctionpatcher
2023-01-07 13:44:05 +01:00
Maschell
47ad061f5c
Use WUMS 0.3.2
2023-01-07 13:44:05 +01:00
Maschell
a2081206ed
Fix memory leak in DrawUtils::print function
2023-01-05 22:09:23 +01:00
Maschell
e951299ea9
Improve config menu by adding a loading screen
2023-01-05 22:09:23 +01:00
Maschell
43ddb8f1dd
Improve config menu navigation
2023-01-05 22:09:23 +01:00
Maschell
a039901388
Fix the scroll indicator in config menu
2023-01-05 22:09:23 +01:00
Maschell
e12b8a9d84
Update the config menu UI to show the correct controls
2023-01-05 22:09:23 +01:00
Maschell
e7186d67fb
Use libschrift instead of Freetype for font rendering
2023-01-04 22:12:14 +01:00
Maschell
333359c75d
Avoid using streams in ELFIO to massively reduce the binary size
2023-01-04 16:35:06 +01:00
Maschell
be5574ee9f
Remove address translator from ELFIO
2023-01-04 16:35:06 +01:00
Maschell
8367e0e32c
Remove all save functions from ELFIO. We don't need them anyway
2023-01-04 16:35:06 +01:00
Maschell
c9ccf0f657
Update to latest ELFIO and undo any changes directly to ELFIO
2023-01-04 03:14:27 +01:00
Maschell
43e2825ec5
Add break in CallHook switch-case
2023-01-04 02:10:12 +01:00
Maschell
bd0a6ce3bf
Call the DEINIT_HOOK before restoring the function patches
2023-01-04 02:10:12 +01:00
Maschell
9635766217
Update version string
2022-10-09 16:40:31 +02:00
Maschell
0e56538cb1
Keep track of acquired RPLs and release them on exit
2022-10-05 21:01:41 +02:00
Maschell
2882635f6f
Set a custom OSDynLoad Allocator when processing relocations
2022-10-03 22:04:26 +02:00
Maschell
0a254e59f4
Fix resetting the trampoline data to avoid a crash when re-loading plugins 50+ times
2022-10-03 22:04:26 +02:00
Maschell
5303e05508
Call the DEINIT_PLUGIN hook after before unloading a plugin
2022-10-03 22:04:26 +02:00
Maschell
178085750d
Use switch-case for hook calling
2022-10-03 22:04:26 +02:00
Maschell
616fc832d1
Ignore files that don't end with ".wps" or start with "." or "_"
2022-09-24 13:19:12 +02:00
Maschell
9dc58d389f
Config: Move "onButtonPressed" check out of the loop
2022-09-23 22:45:26 +02:00
Maschell
030c9b4265
Config: Implement "onSelected" callback
2022-09-23 22:45:26 +02:00
Maschell
4a2f60592e
Config: Implement "isMovementAllowed" callback
2022-09-23 22:45:26 +02:00
Maschell
e7eeb10873
Config: Add support for X,Y, L3, R3, PLUS and MINUS in "onButtonPressed" callback
2022-09-23 22:45:26 +02:00
Maschell
e5b63ebf9f
Bump the version
2022-09-19 22:58:44 +02:00
Maschell
f6d8e850d2
Truncate the headline in config menu
2022-09-19 21:55:48 +02:00
Maschell
80d577b1dd
Ignore stick inputs for the config menu combo.
2022-09-19 21:55:48 +02:00
Maschell
e3d3f8a12e
Exit the config menu when you RELEASE the home button
2022-09-19 21:55:48 +02:00
Maschell
7aaa35197d
Log the current module version on each application start
2022-09-19 16:14:33 +02:00
Maschell
a818088f14
Display the correct version in the config menu
2022-09-19 16:14:33 +02:00