3314 Commits
Author SHA1 Message Date
Oliver Hamlet 27d8c9bce8 Update version and changelog for v0.17.3 release 0.17.3 2022-01-02 11:25:36 +00:00
Oliver Hamlet 15781c9b6b Cache regex plugin name objects in MetadataList::FindPlugin()
PluginMetadata::NameMatches() creates a new regex object on each call, and fixing that isn't easy without breaking binary compatibility, so instead just reimplement it with caching.

NameMatches() can be fixed when there's going to be a binary compatibility break for other reasons.
2022-01-01 23:32:28 +00:00
Oliver Hamlet 6693c5a3e5 Add PluginMetadata::AsYaml()
For use in LOOT's "Copy Metadata" feature.
2022-01-01 21:21:55 +00:00
Oliver Hamlet da065e86e5 Update version and changelog for v0.17.2 release 0.17.2 2021-12-24 19:06:51 +00:00
Oliver Hamlet 13bded52e6 Update CI to Ubuntu 20.04 2021-12-24 16:35:00 +00:00
Oliver Hamlet 942b3016e4 Update Boost to v1.78.0 2021-12-24 16:35:00 +00:00
Oliver HamletandGitHub 67cb0fcbb2 Merge pull request #81 from loot/sibir-ine-changelog-fix
Fix version number in changelog
2021-12-19 09:32:54 +00:00
sibirandGitHub 0bf70bdfeb Fix version number in changelog
v0.17.1's changelog was accidentally titled v0.17.0.
2021-12-18 23:54:24 -08:00
Oliver Hamlet b7d463c345 Fix Read The Docs configuration 2021-12-08 19:58:54 +00:00
Oliver Hamlet f387dfdfc8 Add missing <string> include 2021-12-08 19:57:00 +00:00
Oliver Hamlet d7adf37560 Update libgit2 to v1.3.0 2021-11-20 02:32:45 +00:00
Oliver Hamlet 4dd1b44650 Remove the MSVC_STATIC_RUNTIME build option
It is never changed from its default, so there's no point having it.
2021-11-20 02:32:40 +00:00
Oliver Hamlet e670605700 Fix building docs in CI
Older versions of Sphinx don't work with whatever the default version of
Python is on GitHub Actions, and never versions of Sphinx need a newer
version of Python.

Also update the RTD theme and Breathe while I'm at it.
0.17.1
2021-11-13 17:15:31 +00:00
Oliver Hamlet 31c478a2fc Update version and changelog for v0.17.1 release 2021-11-13 16:47:23 +00:00
Oliver Hamlet b74da11fc6 Don't try to get the address of the zeroth element in an empty array
It happens to behave nicely with MSVC's RelWithDebInfo, but it's undefined behaviour, and GCC (I don't know what parameters were used) errors due to a bounds-check assertion failure.
2021-10-12 21:11:25 +01:00
Oliver Hamlet e8414a12cf Update version and changelog for v0.17.0 release 0.17.0 2021-09-24 22:04:22 +01:00
Oliver Hamlet e87ba12516 Various documentation updates 2021-09-24 22:04:21 +01:00
Oliver Hamlet 3cee54de04 Add a Message constructor that takes a SimpleMessage 2021-09-23 13:31:35 +01:00
Oliver Hamlet 10a83101cc Update spdlog to v1.9.2 2021-09-23 13:31:35 +01:00
Oliver Hamlet e5a229e09f Move file versioning functions out of DatabaseInterface
They don't need to be member functions, and needing a pointer to an
instance of that interface is awkward.

The function names have also changed to reflect that they're not
specific to the masterlists.
2021-09-23 13:31:34 +01:00
Oliver Hamlet 5ce0df0f03 Add support for masterlist prelude files
This allows common metadata to be shared across masterlists in a
'prelude' YAML file that is then injected into a masterlist when it is
loaded. Masterlist metadata can then reference anchors within the
prelude to make use of those common metadata.

The prelude file will be version controlled in a separate Git
repository, so the masterlist update functions also apply to managing
its versioning.
2021-09-23 13:31:34 +01:00
Oliver Hamlet f1d219ac6e Refactor Git-related functions
There's not much point having a Masterlist class with only three static
member functions. This refactoring also helps break the association
between the Git-related functions and masterlists, which will help when
implementing support for prelude files.
2021-09-23 13:31:32 +01:00
Oliver Hamlet 08acdb9c65 Rename MasterlistInfo to FileRevision
To reflect that it will soon be used to provide info for other
version-controlled files. Also rename its revision_id and
revision_date fields to remove the revision_ prefixes.
2021-09-23 13:30:39 +01:00
Oliver Hamlet be30bc500f Remove masterlist update loading and rollback
LOOT's ability to roll back to a working masterlist version hasn't been
exercised in years, as our CI testing has gotten better at catching
issues before they reach users.

Coupling updating a masterlist with loading it also complicates the
introduction of a common prelude, so given the very low usefulness of
the functionality it's best to drop it entirely .
2021-08-05 19:13:37 +01:00
Oliver Hamlet 7849515daf Update yaml-cpp to yaml-cpp-0.7.0+merge-key-support.1 2021-08-05 19:13:37 +01:00