Commit Graph

29 Commits

Author SHA1 Message Date
Maschell
7d07f6525b Remove unnecessary std::unique_ptr usages 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
ed13894dc3 Implementation of new StorageAPI 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
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
333359c75d Avoid using streams in ELFIO to massively reduce the binary size 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
cda9c3e055 Rewrite the plugin backend, use smart pointers is possible, don't persist in structs and simplify code 2022-05-14 15:43:30 +02:00
Maschell
a7494c59cb Minor code cleanup 2022-04-23 09:11:36 +02:00
Maschell
48eb915a70 Use DEBUG_FUNCTION_LINE_ERR on error. 2022-04-23 09:11:36 +02:00
Maschell
a6ced98864 Use proper alignmend buffer for reading/writing 2022-02-26 16:43:08 +01:00
Maschell
2547c7edca Format the code via clang-format 2022-02-04 16:35:53 +01:00
Maschell
b49f561430 WUPS 0.7.0 support 2022-01-23 21:16:38 +01:00
Maschell
79eb5758b7 Use std::shared_ptr 2021-12-15 17:09:30 +01:00
Maschell
fe2e7d6fa9 WUPS 0.6.1 support 2021-10-01 17:25:48 +02:00
Maschell
aa90e2478b Formatting and cleanup 2021-09-25 14:26:18 +02:00
Maschell
13ed348f43 Add support for the config and storage API. Bump version to 0.6 2021-09-24 20:37:54 +02:00
Maschell
5247775b03 Support for WUPS 0.5, compile with latest wut version 2021-04-17 14:05:39 +02:00
Maschell
f11649bc36 Support WUPS 0.4, remove some unused code. 2021-03-16 17:55:32 +01:00
Maschell
75735e4e4d Remove some unneeded logging 2021-01-10 18:20:54 +01:00
Maschell
f7b4b568d2 Remove \n in log messages 2020-12-28 14:40:53 +01:00
Maschell
e9bd4651ca Clean up and formatting 2020-12-26 14:17:50 +01:00
Maschell
2b517b5699 Remove the elfio reader from the PluginData class, use it when it's needed 2020-06-03 18:34:31 +02:00
Maschell
7a7a1f7a63 Organize imports and format code 2020-05-28 20:51:31 +02:00
Maschell
a2816cea61 Addned functions to load plugin meta information from a path or buffer 2020-05-17 20:50:31 +02:00
Maschell
3d642c25d0 Fix logging of std::string 2020-05-17 20:50:05 +02:00
Maschell
0c0680be77 Even more formatting 2020-05-03 12:30:15 +02:00
Maschell
2705a91c13 First iteration of the WUPS-Backend as a .rpx/module for the SetupPayload
- Function replacements are not implemented yet
- Serveral features like the config menu are missing

Still WIP
2020-04-29 18:02:36 +02:00