3011 Commits
Author SHA1 Message Date
Oliver Hamlet e8962177c8 Update changelog and version number for 0.13.3 0.13.3 2018-05-27 02:32:00 +01:00
Oliver Hamlet 9efb93ec68 Rework GitHelper::Clone() to improve reliability
- Don't move LOOT's game folder around, to leave the filesystem in a more useful state if some part of Clone() fails
- If the target directory already exists, clone into a temporary directory, then move the contents into the game folder, replacing existing files/folders with the same names.
- Before moving repository files, free libgit2's repo handle, as it keeps a file handle open while it's allocated.
2018-05-27 02:25:51 +01:00
Oliver Hamlet 500c370242 Simplify masterlist repository interaction code
- Refactor all direct libgit2 usage into GitHelper.
- Simplify the masterlist update logic, don't bother trying to merge branches or checkout an up-to-date local branch if the working copy has edits, just delete the branch and checkout a new copy from the remote.
2018-05-27 02:25:51 +01:00
Oliver Hamlet 3cdd69a9ad Update libloadorder to v11.2.2
This validates that hardcoded plugins load in their hardcoded positions
when setting the load order.
2018-05-26 15:16:27 +01:00
Oliver Hamlet e79bcef54c Improve cycle avoidance involving groups earlier than default 2018-05-26 10:44:53 +01:00
Oliver Hamlet 7767c10f2f Be less eager to ignore groups in a cyclic path 2018-05-11 22:30:12 +01:00
Oliver Hamlet 1cb7b2a344 Improve cycle avoidance when adding group edges during sorting
Fixes #22. If a cycle is found in group-isolation, ignore the source plugin when adding edges for plugins in the all the groups that form paths between the source and target plugins in the cycle, instead of just that pair of plugins.
2018-05-11 20:50:17 +01:00
Oliver Hamlet 198b5da823 Fix building Rust libraries with C++ headers using Rust 1.26.0
I've filed rust-lang/cargo#5518 about this as the previous command worked as expected in Rust 1.25.0. It's probably not a bad idea to be more specific though.
2018-05-11 20:50:17 +01:00
Oliver Hamlet c4fd29aaec Build LOOT API with debug info on Windows and package pdb 2018-05-02 17:18:39 +01:00
Oliver Hamlet 5956e6080b Update version number and changelog for 0.13.2 0.13.2 2018-04-29 18:37:12 +01:00
Oliver Hamlet b7ce064fd1 Update libloadorder to v11.2.1
This fixes the load order positions of light-master-flagged .esp files.
2018-04-28 09:12:20 +01:00
Oliver Hamlet 1804e45f3e Update version number and changelog for 0.13.1 0.13.1 2018-04-09 07:58:48 +01:00
Oliver Hamlet 0920c3d7a2 Add GameType value for Skyrim VR
Also update libloadorder for Skyrim VR support.
2018-04-08 23:06:49 +01:00
Oliver Hamlet 498a9f0751 Update version number and changelog for 0.13.0 0.13.0 2018-04-02 16:27:15 +01:00
Oliver Hamlet be44b75c25 Add changelog for v0.13 of the metadata syntax 2018-04-02 16:27:15 +01:00
Oliver Hamlet c0a1cc4722 Fix a few incorrect doc comments 2018-04-02 16:27:01 +01:00
Oliver Hamlet f796a581c4 Update libloadorder to v11.1.0
This fixes loading a load order where loadorder.txt is encoded in
Windows-1252.
2018-04-02 14:09:07 +01:00
Oliver Hamlet 13b4199a2d Don't load current load order state when loading plugins
Loading the load order can fail, and it should be possible to handle it
client-side but continue loading plugins.
2018-04-02 13:12:07 +01:00
Oliver Hamlet 74ab42d60f Fix setting load order with pre-unix-epoch timestamps 2018-03-29 05:37:19 +01:00
Oliver Hamlet 938e0e86c8 Update to libgit2 v0.27.0 2018-03-29 05:36:31 +01:00
Oliver Hamlet 523dc87f04 Remove plugin priorities 2018-03-28 19:08:26 +01:00
Oliver Hamlet 95896ed64b Add more logging for group sorting 2018-03-28 15:25:09 +01:00
Oliver Hamlet eeb6ed40c7 Add UndefinedGroupError for better sorting exception handling 2018-03-24 07:20:47 +00:00
Oliver Hamlet ae081aff3b Fix inaccurate log message 2018-03-19 20:55:09 +00:00
Oliver Hamlet f8fbe2984f Fix group cyclic interactions
Skip adding an edge between a pair of plugins if all the following
conditions are met:
- the edge is to be added due to group membership
- adding the edge would introduce a cycle in the absence of any
  other group membership edges.
2018-03-19 17:27:56 +00:00