401 Commits
Author SHA1 Message Date
Oliver Hamlet 632b85ce78 Update version and changelogs for v0.18.0 release 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 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 8e859f7408 Remove obsolete FileRevision class 2022-02-19 11:42:56 +00:00
Oliver Hamlet 5589dfbf4c Replace references to GitHub Flavored Markdown with CommonMark
LOOT now uses Qt's support for Markdown, but its support for GFM is
bugged so LOOT uses CommonMark instead. The practical impact is very
minor, but reflect the difference in libloot's docs.
2022-02-06 17:45:08 +00:00
Oliver Hamlet 938e805816 Improve docs for version comparison conditions
Be explicit about how libloot's behaviour differs from SemVer, and add
examples.
2022-02-04 16:50:44 +00:00
Oliver Hamlet 95980860e5 Remove all Git-related functionality
LOOT no longer uses Git to keep its copies of the masterlists up to
date, so this functionality is no longer needed. The removed API items
are:

- UpdateFile()
- GetFileRevision()
- IsLatestFile()
- libgit2_category()
- GitStateError
2022-01-23 20:41:54 +00:00
Oliver Hamlet fa3c4d5fef Add missing docs about not-expression condition syntax 2022-01-11 19:58:52 +00:00
sibir-ine 720170509a Update Localised Content page
* Add Ukrainian to list of example languages (l10n added in v0.17.0).
2022-01-07 02:22:40 -08:00
Oliver Hamlet 27d8c9bce8 Update version and changelog for v0.17.3 release 2022-01-02 11:25:36 +00:00
Oliver Hamlet da065e86e5 Update version and changelog for v0.17.2 release 2021-12-24 19:06:51 +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 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.
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 e8414a12cf Update version and changelog for v0.17.0 release 2021-09-24 22:04:22 +01:00
Oliver Hamlet e87ba12516 Various documentation updates 2021-09-24 22:04:21 +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 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 caee647d86 Clarify that the "LOOT" condition file path may not exist
If the condition is being evaluated by an application other than LOOT.
2021-05-22 19:26:30 +01:00
Oliver Hamlet a9a71998f1 Rename the 'info' property in cleaning data objects to 'detail'
To be consistent with the new property in File objects, as they share
the same type and sematics.
2021-05-22 19:26:29 +01:00
Oliver Hamlet fc22d3d7a4 Add a "detail" property to File objects
This property can be used to provide detail about a requirement or
incompatibility that can be displayed in the error message displayed
for the file (if one is displayed).
2021-05-22 19:26:29 +01:00
Oliver Hamlet 2ffdac5b5f Set version and changelog for v0.16.3 2021-05-06 21:41:49 +01:00