2909 Commits
Author SHA1 Message Date
Oliver Hamlet 8864f78824 Use forwardslashes in CMake path arguments
CMake 3.8's FindBoost doesn't convert backslashes to forwardslashes
internally for some reason, so backslashes cause a syntax error...
0.11.0
2017-05-13 05:31:11 +01:00
Oliver Hamlet 46e3ce9304 Set release date for v0.11.0 2017-05-13 05:11:34 +01:00
Oliver Hamlet a7fd076851 Set version number to 0.11.0 2017-05-13 05:11:06 +01:00
Oliver Hamlet 814ed68ffb Call MetadataList::Save() in WriteMinimalList
Don't reimplement the same logic.
2017-03-26 10:41:13 +01:00
Oliver Hamlet 93b878a2fc Add test for using DatabaseInterface
After discarding GameInterface
2017-03-25 12:59:45 +00:00
Oliver Hamlet bed77a0f08 Remove Game dependence from ApiDatabase 2017-03-25 12:22:28 +00:00
Oliver Hamlet d8562dcc6d Remove Game usage from Plugin
Pass the bits Plugin needs individually. Also store Game's
LoadOrderHandler in a shared pointer for future sharing with
ApiDatabase.
2017-03-25 11:35:38 +00:00
Oliver Hamlet 2db0f2a08c Remove unused Game declaration 2017-03-25 11:31:20 +00:00
Oliver Hamlet 12f075543c Refactor Game::GetArchiveFileExtension into Plugin
It's the only place it's used.
2017-03-25 11:29:40 +00:00
Oliver Hamlet be80f5a244 Store a GameCache in Game, don't inherit from it 2017-03-25 11:29:07 +00:00
Oliver Hamlet dd5ae4dd51 Move masterlist and userlist caches into ApiDatabase
It's the only place they're used.
2017-03-25 11:26:38 +00:00
Oliver Hamlet 0b358efa8c Make MetadataList::Save() const 2017-03-21 17:56:04 +00:00
Oliver Hamlet 415c4b6810 Fix compiler warning 2017-03-21 17:55:49 +00:00
Oliver Hamlet 58bee05e68 Remove unused PluginCleanliness enum 2017-03-20 18:42:55 +00:00
Oliver Hamlet caf560c87c Updated changelog 2017-03-19 18:41:58 +00:00
Oliver Hamlet 766b0f7309 Fix InitialiseLocale() not appearing in docs 2017-03-19 18:41:16 +00:00
Oliver Hamlet dbfeea47c1 Add an API function that initialises the global locale
It should be called whenever the client changes the global locale.
2017-02-12 21:58:58 +00:00
Oliver Hamlet b6f48d5291 Format commit date using standard library
Boost.Locale is unnecessary.
2017-02-12 16:23:40 +00:00
Oliver Hamlet 09adc3f934 Fix exporting MessageContent::defaultLanguage 2017-02-12 13:01:31 +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 0dbdadf5ab Merge branch 'update-contributing' into dev 2017-02-11 18:36:58 +00:00
Oliver Hamlet 97bdbd9598 Remove boost::locale::translate() usage
As nothing scans for translatable text or loads translations. Closes #1.
Doing this requires some API changes:

- PluginCleaningData::AsMessage() has been removed (it'll be
reimplemented in the GUI)
- GitHelper's error message can no longer be set, the messages will be
constructed in the GUI when the exception is caught.
- Masterlist rollback during update can no longer be noted in a message
by the API, so instead clients must use a new API function that checks
if the masterlist revision is the latest and so determine if rollback
occurred.
- If a plugin file cannot be parsed, it'll throw a FileAccessError
instead of recording the failure in a message stored in the Plugin
object. This is an error that should never happen, as only plugins that
pass the IsValid check get loaded, so this shouldn't have any real
impact. Also, getting this error was the only use for
GetStatusMessages(), so that's been removed.
- Any metadata condition eval failures that occur during sorting no
longer have their exceptions caught, so they propagate up through the
API. Again, this shouldn't ever really happen, since all conditions are
checked for validity on parsing.
2017-02-11 18:16:43 +00:00
Oliver Hamlet e53a1aaf7b Add missing language section to CONTRIBUTING.md 2017-02-11 07:55:24 +00:00
Oliver Hamlet cf67649049 Remove all GUI files and references to the GUI
As the NodeJS dependency no longer exists, the archive script has
been replaced with a CPack implementation, and the
set_version_number script turned into a Python script.
2017-02-10 23:11:13 +00:00
Oliver Hamlet 37e464f600 Pass more objects by const reference 2017-02-09 18:49:30 +00:00