Commit Graph
3957 Commits
Author SHA1 Message Date
Oliver Hamlet 57057b25ce Store fixed-size sequences as boxed slices
I.e. Box<[T]> and Box<str> instead of Vec<T> or String.
2025-04-14 18:31:58 +01:00
Oliver Hamlet f69a7ced1d Deduplicate setting condition 2025-04-11 21:58:13 +01:00
Oliver Hamlet 0b0bc4eac6 Remove some unnecessary turbofishes 2025-04-11 21:58:06 +01:00
Oliver Hamlet a249b66f42 Remove unnecessary semicolon 2025-04-11 21:58:00 +01:00
Oliver Hamlet 0f48696609 Reduce size of File struct 2025-04-11 21:57:53 +01:00
Oliver Hamlet cc60338b7d Improve PluginName encapsulation 2025-04-10 17:53:42 +01:00
Oliver Hamlet 76d0410509 Update dependencies 2025-04-09 17:23:31 +01:00
Oliver Hamlet e6b1e263a9 Pass prelude by reference 2025-04-07 08:54:53 +01:00
Oliver Hamlet 43ac3bbe29 Remove unnecessary cfg attribute 2025-04-07 08:41:15 +01:00
Oliver Hamlet dc3db737f7 Reorder dependencies in Cargo.toml 2025-04-07 08:41:15 +01:00
Oliver Hamlet 575e6d5c93 Add support for "constraint" in File metadata 2025-04-07 08:24:27 +01:00
Oliver Hamlet 00e49260ea Make PluginInterface::GetBashTags() return std::vector<std::string> 2025-04-04 19:11:07 +01:00
Oliver Hamlet 78ef049093 Use std::string_view instead of const char* in the public API 2025-04-04 19:11:07 +01:00
Oliver Hamlet fac057490d Replace const std::string& with std::string_view in the public API
This means clients don't need to construct a std::string if they don't already have one.
2025-04-04 19:11:07 +01:00
Oliver Hamlet 8c3aea946e Share std::shared_ptr<PluginInterface> instead of PluginInterface* 2025-04-04 19:11:06 +01:00
Oliver Hamlet bdb76fb546 Split up DatabaseInterface::LoadLists() 2025-04-04 19:10:13 +01:00
Oliver Hamlet 3b47e4ac38 Set /Zc:__cplusplus when building on MSVC
This may trigger dependencies to use C++11/14/17 code paths.
2025-04-04 18:45:50 +01:00
Oliver Hamlet 22a2c60c17 Use sv literal suffixes for most string_view literals
They're not in scope by default when using MSVC so using them in header files is problematic.
2025-04-04 18:45:42 +01:00
Oliver Hamlet 58dbff885c Use std::string_view instead of const char* internally where possible
DescribeGameType could return a std::string_view, but I'd rather consistently avoid returning std::string_view to avoid confusion over lifetime issues (even though they're not present in that case).
2025-04-04 18:45:34 +01:00
Oliver Hamlet 0c8df973aa Convert some internal functions to take std::string_view 2025-04-04 18:45:22 +01:00
Oliver Hamlet 0b5a8b5767 Remove YAML set helpers tests
The code they're testing no longer exists in this repo.
2025-04-04 18:44:24 +01:00
Oliver Hamlet 7796a96c3b Update spdlog to v1.15.2 2025-03-30 17:06:54 +01:00
Oliver Hamlet 8c17086a0f Update fmt to v11.1.4 2025-03-30 17:06:28 +01:00
Oliver Hamlet d86b060c04 Update loot-condition-interpreter to v5.3.0 2025-03-30 17:06:10 +01:00
Oliver Hamlet 758122c90f Update libloadorder to v18.3.0 2025-03-30 17:05:44 +01:00