Commit Graph
87 Commits
Author SHA1 Message Date
Oliver Hamlet c19a9be579 Run tests using ctest on AppVeyor 2019-06-16 13:16:35 +01:00
Oliver Hamlet b393507657 Update libloot to v0.14.7 2019-06-16 13:03:53 +01:00
Oliver Hamlet d356ac2445 Set version number to 4.0.2 2019-03-25 09:47:46 +00:00
Oliver Hamlet fe4c3ab6b5 Update libloot to v0.14.5 2019-03-25 09:47:03 +00:00
Oliver Hamlet b17b531073 Fix get_plugin_cleanliness never returning dirty 2019-03-25 09:01:29 +00:00
Oliver Hamlet 06a6d9ceb6 Use CTest to run Python tests
Avoid having to copy the test script by modifying PYTHONPATH at runtime,
and move the test script into the test directory.
2019-03-25 08:38:34 +00:00
Oliver Hamlet a35abab104 Add a test masterlist
It'll be extended with more test metadata in future.
2019-03-25 08:20:03 +00:00
Oliver Hamlet 646a8d02e0 Add .vscode/ to .gitignore 2019-03-25 08:06:31 +00:00
Oliver Hamlet cab63886d3 Set version number to 4.0.1 2019-01-27 14:53:14 +00:00
Oliver Hamlet 8a61701855 Update libloot to v0.14.3 2019-01-27 14:52:03 +00:00
Oliver Hamlet 8c75e83374 Update a few references to MSVC 2015 redist to be 2017 2019-01-27 14:50:34 +00:00
Oliver Hamlet 5450709ebe Update docs 2019-01-12 17:16:43 +00:00
Oliver Hamlet 3a9ff95de2 Update wrapper version to 4.0.0 2019-01-12 17:14:12 +00:00
Oliver Hamlet 1298fce6fd Update libloot to v0.14.1 2019-01-12 15:55:22 +00:00
Oliver Hamlet 21242f359d Update readme 2018-12-13 17:46:21 +00:00
Oliver Hamlet 6579eb5178 Build for Python 2.7 and 3.7 on AppVeyor 2018-12-13 17:20:57 +00:00
Oliver Hamlet 61a74b6984 Build 32-bit and 64-bit binaries on AppVeyor 2018-12-13 08:08:58 +00:00
Oliver Hamlet 66f84d4848 Support 64-bit builds 2018-12-13 08:05:01 +00:00
Oliver Hamlet 5f5c0e3949 Update pybind11 to fix AppVeyor build
Utumno experienced issues with Python modules built with more recent
versions of pybind11, which is why I tried to avoid this, but it looks
like it's necessary.
2018-12-12 19:59:14 +00:00
Oliver Hamlet ab926c8755 Use masterlist with fixed syntax
The older masterlist had parentheses between not and a function, which
has never been valid, but which only caused an error starting with
v0.14.0.
2018-12-12 19:57:34 +00:00
Oliver Hamlet 35475b292f Update to libloot v0.14.0
libloot is the renamed LOOT API. This adds a requirement on C++17,
and so MSVC 2017 on Windows.

pybind11 doesn't provide handling for std::filesystem::path, so wrapper
functions are used to perform the necessary one-way conversion without
having to expose the complexity on the Python side.
2018-12-12 19:33:21 +00:00
Oliver Hamlet 51e2e4e4fa Remove Travis badge
Travis hasn't been used for a while now.
2018-11-07 17:26:39 +00:00
Oliver Hamlet c17437a579 Fix AppVeyor CI link
Also update a GitHub URL, replacing WrinklyNinja with Ortham.
2018-11-07 16:58:07 +00:00
Oliver Hamlet 49204621c5 Fix typo in bintray delete script call 2018-08-12 22:26:55 +01:00
Oliver Hamlet 3098ffa692 Update Bintray delete script to fix deleting old builds 2018-08-12 21:47:54 +01:00
Oliver Hamlet 392a090823 Re-encrypt Bintray and GitHub auth tokens
Using the values encrypted by AppVeyor when I'm logged in as myself for
the LOOT account.
2018-08-12 21:47:02 +01:00
Oliver Hamlet e98b43a4b1 Remove old builds from LOOT's Bintray org 2018-08-08 21:39:24 +01:00
Oliver Hamlet a957ece62b Upload artifacts to repo in LOOT's Bintray org 2018-08-06 21:07:20 +01:00
Oliver Hamlet f97de90e02 Update wrapper version to 3.1.1 2018-05-12 21:50:30 +01:00
Oliver Hamlet d00c59b7b2 Update LOOT API to v0.13.2 2018-05-12 21:15:17 +01:00
Oliver Hamlet e06227f437 Build with debug info and package PDB 2018-05-12 19:26:21 +01:00
Oliver Hamlet bcc536d4b0 Downgrade to pybind11 v2.1.1
Updating to v2.2.1 introduced a runtime issue that's
environment-specific but it's not clear what the issue is, so
just downgrade for now.
2018-05-12 19:12:47 +01:00
Oliver Hamlet a564f230be Update wrapper version to 3.1.0
Although the LOOT API update includes breaking changes, none of them are
exposed by the Python wrapper, so this is just a minor update.
2018-04-15 13:16:49 +01:00
Oliver Hamlet 27c8f58494 Update pybind11 to v2.2.2 2018-04-15 13:16:49 +01:00
Oliver Hamlet 179125f006 Expose GameType::tes5vr and GameType::fo4vr 2018-04-15 13:16:49 +01:00
Oliver Hamlet 671ca81beb Update to LOOT API v0.13.1 2018-04-15 13:16:49 +01:00
Oliver Hamlet 7faa360790 Update outdated usage example 2017-12-30 15:29:21 +00:00
Oliver Hamlet 0c9d014174 Remove default value for create_game_handle's game_path argument
The LOOT API incorrectly allows it, it causes a runtime exception.
2017-12-30 15:29:03 +00:00
Oliver Hamlet a8e2b11280 Allow initialise_locale() to be called with no args
Use a blank string as the default argument, as it's the most commonly desired value.
2017-12-30 15:27:48 +00:00
Oliver Hamlet 1275a11be7 Expose load_current_load_order_state() via GameInterface 2017-11-04 17:27:15 +00:00
Oliver Hamlet 5357858069 Update documentation 2017-11-04 13:52:19 +00:00
Oliver Hamlet 04088ac8f4 Update wrapper version to 3.0.0 2017-11-04 12:29:27 +00:00
Oliver Hamlet 7098671ad5 Update to LOOT API v0.12.0
Significant changes include:

- The logging interface has changed, a callback can now be set
  instead of an output file and verbosity, giving clients more
  control.
- DatabaseInterface::EvalLists() has been removed.
- SimpleMessage now has a condition field.
2017-11-04 12:14:26 +00:00
Oliver Hamlet 212f899396 Update to pybind11 v2.2.1 2017-10-17 19:57:42 +01:00
Oliver Hamlet 1e0dbe8dc2 Update to LOOT API v0.11.1 and fix Linux builds 2017-10-17 20:34:45 +01:00
Oliver Hamlet abbc0892fd Update wrapper version to 2.0.0 2017-05-13 08:46:04 +01:00
Oliver Hamlet a94fb19bde Update to LOOT API v0.11.0
This is a breaking change:
- LanguageCode has been removed
- The SimpleMessage Python class is now "SimpleMessage", from "Message"
- DatabaseInterface::sort_plugins() has been removed
- DatabaseInterface::get_plugin_messages() has been replaced with
DatabaseInterface::get_plugin_metadata() followed by
PluginMetadata::get_simple_messages()
- set_logging_verbosity(), set_log_file() and initialise_locale() have
been added

Not everything in the v0.11 API has been wrapped, to limit the potential
for future breaking changes.

The PluginTags struct and PluginCleanliness enum and their associated
functions have been re-implemented as part of the Python wrapper as they
were removed from the API due to no longer exposing any additional
functionality but are still useful.
2017-05-13 08:41:42 +01:00
Oliver Hamlet 2823db915a Update to pybind11 v2.1.1 2017-05-13 08:19:30 +01:00
Oliver Hamlet 70371b7647 Deploy tagged builds to GitHub 2016-12-15 20:45:38 +00:00
Oliver Hamlet f5cfa7cc0f Delete old Bintray versions on successful CI run 2016-12-15 20:44:55 +00:00
Oliver Hamlet cf391b0da0 Update to LOOT API v0.10.2 and remove Linux builds
Support for Linux builds is removed as LOOT's snapshot builds are no
longer reliably available, and Linux builds aren't published as part of
LOOT releases. Linux builds could easily be reinstated if LOOT API
binaries become reliably available again.
2016-12-15 20:38:44 +00:00
Oliver Hamlet 58dd19af7d Update Bintray API token used
The previous token was leaked and has been invalidated.
2016-12-05 23:06:46 +00:00
Oliver Hamlet 0f27192051 Explicitly run cpack with Release config on Travis 2016-11-14 21:47:14 +00:00
Oliver Hamlet 852aee5e0c Append branch name to archive version on CI
To prevent artifact collisions when building fast-forward merged
commits.
2016-11-14 17:09:09 +00:00
Oliver Hamlet 96d4f37bb5 Increment version to 1.1.2 2016-11-13 15:42:41 +00:00
Oliver Hamlet 8685762ed9 Update LOOT API to v0.10.1 2016-11-13 15:42:41 +00:00
Oliver Hamlet 1fb6502293 Increment version to 1.1.1 2016-11-06 15:10:57 +00:00
Oliver Hamlet 8360465404 Add missing GameType::tes5se 2016-11-06 15:09:06 +00:00
Oliver Hamlet 8847905515 Increment the version number to 1.1.0 2016-11-06 14:51:01 +00:00
Oliver Hamlet a3c7f88c56 Update to use the LOOT API v0.10.0 release 2016-11-06 14:51:01 +00:00
Oliver Hamlet 4faee6b70e Fix incorrect attribute in reference doc 2016-10-08 16:22:28 +01:00
Oliver Hamlet fe1f98b449 Increment version to 1.0.1 2016-10-05 19:42:44 +01:00
Oliver Hamlet 648eca9d23 Fix non-static version string functions 2016-10-05 19:31:23 +01:00
Oliver Hamlet 14e671f25b Add Travis build status to README 2016-09-18 21:37:02 +01:00
Oliver Hamlet 4954d076cc Add config for Travis CI and Linux build deployment 2016-09-18 21:34:48 +01:00
Oliver Hamlet 459234e91a Misc. changes to support Linux builds 2016-09-18 20:49:42 +01:00
Oliver Hamlet 645c2ac47b Added independent versioning for the wrapper
Closes #5.
2016-09-18 18:18:08 +01:00
Oliver Hamlet 9a21830bd6 Remove CTest usage
It behaves differently when run from MSVC and the command line, and
doesn't display test output unless an env var or CLI flag is set, so
it's better just to run the Python script directly.
2016-09-18 18:18:08 +01:00
Oliver Hamlet ee977308f8 Download LOOT dependencies at build time
Otherwise CMake may not realise it needs to re-download dependencies
when they get updated.
2016-09-18 18:18:08 +01:00
Oliver Hamlet 260b3b6e19 Update LOOT API to 6809c39 2016-09-18 18:18:08 +01:00
Oliver Hamlet 49c5f38b0d Fix outdated reference doc 2016-08-24 19:11:43 +01:00
Oliver Hamlet 7838f3aa5b Update LOOT API wrapped
To dc3a93ecf331465b17a28ac39e6c17370438331b.
2016-08-24 19:02:18 +01:00
Oliver Hamlet fc30a3f0bb Replace autodoc in Sphinx
With manually-written reference text. Autodoc won't work on Read The
Docs because it relies on the wrapper binary to be present, and it's too
complicated to build one that will work on Read The Docs and get it
there.
2016-08-19 19:46:19 +01:00
Oliver Hamlet da7b959fbb Add support for C++ API's default parameters 2016-08-19 18:38:15 +01:00
Oliver Hamlet 56746ea91a Update LOOT API
To commit d1524b83d216efd2744b6575510bb4dbe390c102.
2016-08-19 17:09:04 +01:00
Oliver Hamlet 2dda8818f3 Add missing game types 2016-08-19 17:08:54 +01:00
Oliver Hamlet 7fe1d322aa Increase API wrapper coverage
It now wraps everything except the Error class, which is intentionally
left unwrapped, as wrapping it would provide no benefit.
2016-08-16 08:12:50 +01:00
Oliver Hamlet 5fe5acff15 Start to document API 2016-08-15 20:51:24 +01:00
Oliver Hamlet 3ad5327ae9 Update readme 2016-08-13 15:00:01 +01:00
Oliver Hamlet 94de368f02 Add AppVeyor integration 2016-08-13 14:45:38 +01:00
Oliver Hamlet ed86e0262c Package API DLL and module in 7-zip archive
For MSVC Release builds. The archive is created in build/package.
2016-08-13 14:00:05 +01:00
Oliver Hamlet 9ad4aad540 Integrate Python tests with CMake 2016-08-13 13:53:28 +01:00
Oliver Hamlet 123820a9ea Update to wrap the C++ API
The C API's use of output parameters is incompatible with function
calls made to the Python wrapper.
2016-08-13 13:15:57 +01:00
Oliver Hamlet 415e048261 Initial commit of module generator code 2016-08-07 21:23:53 +01:00
Oliver Hamlet 4cacd3c30e Add LICENSE 2016-08-07 21:18:43 +01:00
Oliver Hamlet 8cccfa2e12 Ignore build folder 2016-08-07 20:47:50 +01:00
Oliver Hamlet 8ee5349fae :neckbeard: Added .gitattributes & .gitignore files 2016-08-07 18:02:52 +01:00