3686 Commits
Author SHA1 Message Date
Oliver Hamlet 7bbf55cbb7 Update changelogs and version for 0.26.0 0.26.0 2025-04-19 21:58:39 +01:00
Oliver Hamlet 61eeb7ef85 Update metadata conditions docs 2025-04-19 21:58:39 +01:00
Oliver Hamlet eee46acedd Update yaml-cpp to 0.8.0+merge-key-support.3 2025-04-19 21:58:39 +01:00
Oliver Hamlet 6f40f50e76 Update esplugin to v6.1.2 2025-04-19 21:58:39 +01:00
Oliver Hamlet abb5ffb562 Remove ability to use find_package for yaml-cpp dependency
If the build system happens to have yaml-cpp installed as a system package it would link against that, causing non-obvious errors when libloot is then unable to resolve masterlist merge keys. As such, make it so that can't accidentally happen.

Also document an alternative approach for getting FetchContent to use existing sources instead of trying to download them, which is relevant for building LOOT's Flatpak.
2025-04-19 21:58:39 +01:00
Oliver Hamlet b8aa0ee66e Fix unintentional copy
GCC (15?) prints a warning about it.
2025-04-19 14:18:55 +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
Oliver Hamlet 73fbf73bd2 Update Google Test to v1.16.0 2025-03-30 17:05:20 +01:00
Oliver Hamlet 2d96ba13d9 Update changelog and version for 0.25.5 0.25.5 2025-03-15 21:16:08 +00:00
Oliver Hamlet e4fa201dd8 Fix LoadPlugins() with missing already-loaded plugins 2025-03-15 20:54:10 +00:00
Oliver Hamlet b7f47af3fd Remove common fixture and parameters from SortPlugins() tests 2025-03-15 14:39:00 +00:00