3388 Commits
Author SHA1 Message Date
Oliver Hamlet c4cdfbbdf8 Update version and changelog for v0.18.1 release 0.18.1 2022-10-01 15:08:05 +01:00
Oliver Hamlet e0c38f707a Update libloadorder to 13.2.0
This adds a new lo_get_active_plugins_file_path() function and improves
support for GOG's distribution of Skyrim SE.
2022-10-01 13:20:23 +01:00
Oliver Hamlet a4f168eb5f Update spdlog to 1.10.0 2022-09-15 22:47:11 +01:00
Oliver Hamlet 9495323252 Update loot-condition-interpreter to 2.3.1 2022-09-15 22:47:10 +01:00
Oliver Hamlet df33667983 Update libloadorder to 13.1.1 2022-09-15 22:47:10 +01:00
Oliver Hamlet 950d47a9e3 Update esplugin to 4.0.0 2022-09-15 22:47:10 +01:00
Oliver Hamlet cc0f630bf2 Update Google Test to 1.12.1 2022-09-15 22:45:33 +01:00
Oliver Hamlet 7079f86aa9 Remove obsolete link libraries
None of them are actually linked any more - most were due to using
libgit2 for masterlist updates. Also refactor the CMakeLists.txt as the
libraries are target-dependent, not compiler-dependent.
2022-04-19 16:14:13 +01:00
Oliver Hamlet 46c8b875df Improve PluginMetadata YAML serialisation
- Move "url" before "group"
- Serialise single-element lists using the flow style if their element will be written as a scalar value
- Uppercase letters in CRC hex values
- Pad CRC hex values so they're always 8 characters long (excluding the 0x prefix).
2022-03-26 15:30:49 +00:00
Oliver Hamlet 781403b853 Remove testing-metadata dependency
It's no longer useful to keep the metadata in a separate repository, as
libloot no longer needs a metadata Git repository to test against.
2022-03-01 18:34:44 +00:00
Oliver Hamlet 632b85ce78 Update version and changelogs for v0.18.0 release 0.18.0 2022-02-27 10:20:29 +00:00
Oliver Hamlet 24f2635d2c Fix some internal documentation links
I haven't fixed the links in the changelog because there's so many of
them and it's not so important for older changelog entries anyway.
2022-02-27 10:20:29 +00:00
Oliver Hamlet 3269905e02 Add some missing documentation 2022-02-27 10:20:29 +00:00
Oliver Hamlet cc3c63dd0a Remove PluginMetadata::NewMetadata()
It's unused by LOOT.
2022-02-27 10:20:29 +00:00
Oliver Hamlet 874a3d86b5 Add support for the readable() condition function
Also clarify the behaviour of version functions when the no version is
read.
2022-02-27 10:07:26 +00:00
Oliver Hamlet 00b93526b2 Rework how libloot's version is exposed in the API
- Don't use a class, it doesn't add anything.
- Use constexpr for the individual version numbers
- Use a function to get the revision string, for consistency with the
  version string.
2022-02-23 16:50:58 +00:00
Oliver Hamlet 412f5f5e60 Remove an unnecessary use of the LOOT_API definition 2022-02-23 16:47:56 +00:00
Oliver Hamlet 2df6ae43f6 Update instructions on how to build the docs 2022-02-23 16:46:06 +00:00
Oliver Hamlet bc76e83357 Add GameInterface::IsLoadOrderAmbiguous()
It exposes libloadorder's lo_is_ambiguous() function.
2022-02-23 16:45:26 +00:00
Oliver Hamlet ac7d60cc76 Replace reference member with a pointer
As recommended by C++ Core Guidelines C.12. This doesn't change the
lifetime requirements of the class, but I've added a comment to
highlight them.
2022-02-19 14:03:35 +00:00
Oliver Hamlet 14479b2289 Make const data members non-const
As recommended by C++ Core Guidelines C.12.

Plugin and Game are still non-copy-constructable or assignable due to
having members that are non-copy-constructable/assignable, but
consistency is still good.
2022-02-19 13:55:03 +00:00
Oliver Hamlet 0907f91b6f Move overloaded symmetric operators out of File class 2022-02-19 13:45:53 +00:00
Oliver Hamlet d4de531de5 Make File::GetDisplayName() a trivial accessor
Don't escape any markdown characters or return the name field if the
display name is empty. They're really presentation issues so are left to
the UI.
2022-02-19 13:45:53 +00:00
Oliver Hamlet 77decb26c4 Move PluginMetadata::GetSimpleMessages() to ToSimpleMessages()
It's more versatile and would avoid duplication in LOOT's code.
2022-02-19 13:45:52 +00:00
Oliver Hamlet 5bce0b9e06 Move ToSimpleMessage out of Message
It doesn't need access to any private members.
2022-02-19 13:45:52 +00:00