31 Commits
Author SHA1 Message Date
Oliver Hamlet 2408a7b3ba Remove SimpleMessage
It's no longer used by LOOT.
2023-09-12 19:56:53 +01:00
Oliver Hamlet 3269905e02 Add some missing documentation 2022-02-27 10:20:29 +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 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 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 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 2c029364fd Add missing docs for Filename class 2020-07-12 20:19:13 +01:00
Oliver Hamlet 8b0c057ca3 Remove InitialiseLocale()
Setting the global locale is no longer needed, as Boost.Filesystem and
Boost.Locale are no longer used. All Boost dependencies are now
header-only.

Install language packs on Travis to ensure that the Turkish and Greek
locales exist for testing. Now that only header-only Boost libraries
are used, just download and extract the Boost archive on Travis.

change boost url
2019-11-05 20:46:38 +00:00
Oliver Hamlet fdab90b3f0 Update API docs 2018-10-27 17:26:31 +01:00
Oliver Hamlet 523dc87f04 Remove plugin priorities 2018-03-28 19:08:26 +01:00
Oliver Hamlet eeb6ed40c7 Add UndefinedGroupError for better sorting exception handling 2018-03-24 07:20:47 +00:00
Oliver Hamlet fdb4e46542 Document the group metadata syntax 2018-03-17 18:26:36 +00:00
Oliver Hamlet ceddf77c08 Update docs 2017-10-16 08:38:41 +01:00
Oliver Hamlet 58bee05e68 Remove unused PluginCleanliness enum 2017-03-20 18:42:55 +00:00
Oliver Hamlet 766b0f7309 Fix InitialiseLocale() not appearing in docs 2017-03-19 18:41:16 +00:00
Oliver Hamlet 4ffd784d87 Remove Language and LanguageCode structures
Use ISO language codes directly instead, which has the advantage that
new languages can be used in metadata without having up update the API
to support them. Closes #5.
2017-02-12 10:08:37 +00:00
Oliver Hamlet 26a6b42cad Document the new API headers 2017-02-06 18:03:18 +00:00
Oliver Hamlet 46133d56ed Remove obsolete PluginTags from the API 2017-02-06 18:03:17 +00:00
Oliver Hamlet 49315aea94 Refactor GameDetectionError into GUI code 2017-02-06 18:03:17 +00:00
Oliver Hamlet 00be5fd206 Remove obsolete Error class 2016-10-08 12:21:08 +01:00
Oliver Hamlet 9ea5e31cdf Replace path_* error codes
path_write_fail, path_read_fail and path_not_found are replaced by the
new FileAccessError exception class
2016-10-08 12:21:07 +01:00
Oliver Hamlet 51a2efb129 Add ConditionSyntaxError exception type
Thrown when there's a syntax error when parsing a condition.
2016-10-08 12:21:07 +01:00
Oliver Hamlet a9ddd12e80 Replace no_game_detected error code
With a new GameDetectionError exception class.
2016-10-08 12:21:07 +01:00
Oliver Hamlet 2d28e04b36 Replace git_error error code
With a new GitStateError exception class.
2016-10-08 12:21:06 +01:00