From 629fdabc6bdc8bcaf3597694fd7823faee6e0816 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Tue, 5 Nov 2019 21:41:28 +0000 Subject: [PATCH] Set version number and changelogs for v0.15.0 --- docs/api/changelog.rst | 45 ++++++++++++++++++++++++++++++++++++ docs/metadata/changelog.rst | 9 ++++++++ docs/metadata/conditions.rst | 4 ++++ src/api/loot_version.cpp.in | 4 ++-- src/api/resource.rc | 8 +++---- 5 files changed, 64 insertions(+), 6 deletions(-) diff --git a/docs/api/changelog.rst b/docs/api/changelog.rst index 9b7a27f1..a910b46a 100644 --- a/docs/api/changelog.rst +++ b/docs/api/changelog.rst @@ -2,6 +2,51 @@ Version History *************** +0.15.0 - 2019-11-05 +=================== + +Changed +------- + +- libloot now supports v0.15 of the metadata syntax. +- The order of the plugins passed to :cpp:any:`SortPlugins` is now used + as the current load order during sorting. The order of plugins passed in did + not previously have any impact. +- Constructors for the following classes and structs are now ``explicit``: + + - :cpp:any:`loot::ConditionalMetadata` + - :cpp:any:`loot::File` + - :cpp:any:`loot::Group` + - :cpp:any:`loot::Location` + - :cpp:any:`loot::Message` + - :cpp:any:`loot::MessageContent` + - :cpp:any:`loot::PluginCleaningData` + - :cpp:any:`loot::PluginMetadata` + - :cpp:any:`loot::Tag` + - :cpp:any:`loot::MasterlistInfo` + - :cpp:any:`loot::Vertex` + +- Updated loot-condition-interpreter to v2.1.0. +- Updated spdlog to v1.4.2. + +Removed +------- + +- ``InitialiseLocale()`` +- ``PluginMetadata::GetLowercasedName()`` +- ``PluginMetadata::GetNormalizedName()`` + +Fixed +----- + +- libloot was unable to extract versions from plugin descriptions containing + ``version:`` followed by whitespace and one or more digits. +- libloot did not error if masterlist metadata defined a group that loaded after + another group that was not defined in the masterlist, but which was defined in + user metadata. This was unintentional, and now all groups mentioned in + masterlist metadata must now be defined in the masterlist. +- Build errors on Linux using GCC 9 and ICU 61+. + 0.14.10 - 2019-09-06 ==================== diff --git a/docs/metadata/changelog.rst b/docs/metadata/changelog.rst index a0b85213..2fa8c9bd 100644 --- a/docs/metadata/changelog.rst +++ b/docs/metadata/changelog.rst @@ -4,6 +4,15 @@ Version History The version history of the metadata syntax is given below. +0.15 - 2019-11-05 +================= + +Added +----- + +- The condition function ``is_master(file_path path)``, which checks if the + given file is an installed master plugin. + 0.14 - 2018-12-09 ================= diff --git a/docs/metadata/conditions.rst b/docs/metadata/conditions.rst index 9c21961d..059bc8bb 100644 --- a/docs/metadata/conditions.rst +++ b/docs/metadata/conditions.rst @@ -93,6 +93,10 @@ There are several conditions that can be tested for using the functions detailed Returns true if more than one active plugin matching ``regex`` is found, and false otherwise. +.. describe:: is_master(file_path path) + + Returns true if ``path`` is an installed master plugin, and false otherwise. + .. describe:: checksum(file_path path, checksum expected_checksum) Returns true if the calculated CRC-32 checksum of ``path`` matches ``expected_checksum``, and false otherwise. Returns false if ``path`` does not exist. diff --git a/src/api/loot_version.cpp.in b/src/api/loot_version.cpp.in index fdd54cbb..c0931236 100644 --- a/src/api/loot_version.cpp.in +++ b/src/api/loot_version.cpp.in @@ -26,8 +26,8 @@ namespace loot { const unsigned int LootVersion::major = 0; -const unsigned int LootVersion::minor = 14; -const unsigned int LootVersion::patch = 10; +const unsigned int LootVersion::minor = 15; +const unsigned int LootVersion::patch = 0; const std::string LootVersion::revision = "@GIT_COMMIT_STRING@"; LOOT_API std::string LootVersion::GetVersionString() { diff --git a/src/api/resource.rc b/src/api/resource.rc index 9e66fb49..e45f1de7 100644 --- a/src/api/resource.rc +++ b/src/api/resource.rc @@ -2,8 +2,8 @@ #include 1 VERSIONINFO -FILEVERSION 0, 14, 10, 0 -PRODUCTVERSION 0, 14, 10, 0 +FILEVERSION 0, 15, 0, 0 +PRODUCTVERSION 0, 15, 0, 0 FILEOS VOS__WINDOWS32 FILETYPE VFT_APP BEGIN @@ -11,9 +11,9 @@ BLOCK "StringFileInfo" BEGIN BLOCK "040904b0" BEGIN -VALUE "FileVersion", "0.14.10" +VALUE "FileVersion", "0.15.0" VALUE "LegalCopyright", "Copyright (C) 2013-2016 WrinklyNinja" -VALUE "ProductVersion", "0.14.10" +VALUE "ProductVersion", "0.15.0" END END BLOCK "VarFileInfo"