Commit Graph

206 Commits

Author SHA1 Message Date
Timothy Baldridge
f2bb07a528 Wabbajack.Lib is now .NET Standard 2.0 2020-01-07 06:50:11 -07:00
Timothy Baldridge
b0951afb80 Moved messagebox code into user interventions, moved FilePicker VMs into Wabbajack (from Wabbajack.Lib) 2020-01-07 06:03:46 -07:00
Timothy Baldridge
a76aff7962 Add override for Game Folder Files 2020-01-06 17:24:33 -07:00
Timothy Baldridge
873d53e76c Fix broken test 2020-01-06 16:44:46 -07:00
Timothy Baldridge
b3840ae4d8 Allow .mohidden files to be patched 2020-01-06 16:08:19 -07:00
Timothy Baldridge
1eec600027 Parse ByteArrays from INIs as UTF8 strings 2020-01-06 15:00:22 -07:00
Timothy Baldridge
3e39ab8dba Implement VectorPlexus support as a downloader, abstracted common IPS4 data behind an abstract class. 2020-01-05 17:21:05 -07:00
Timothy Baldridge
528b1daded Delete empty folders after install. Ends up being a bit tricky because folders might exist that weren't part of the original list. So we have to find all the folders, and then find the ones that aren't part of the folders to be created by the installer, and we delete those folders. 2020-01-04 22:07:00 -07:00
Timothy Baldridge
3010027ea8 Implement Ceras breaking change & update deps (to get it to compile) 2020-01-03 20:56:20 -07:00
Timothy Baldridge
87bc6388f3 Diable more cef tests 2020-01-02 21:10:30 -07:00
Timothy Baldridge
800b213484 Disable media fire tests until we can fix them 2020-01-02 17:37:08 -07:00
Timothy Baldridge
f57897c539 merge master 2020-01-02 17:07:13 -07:00
Timothy Baldridge
717ad8c70a Rework WJ caching, move cache server routines to MongoDB 2020-01-01 09:19:06 -07:00
Timothy Baldridge
e4c78ebed9 Clean up some references try to get tests to work 2019-12-26 17:41:33 -07:00
dependabot-preview[bot]
ebeead90c5
Bump System.Reactive from 4.3.1 to 4.3.2
Bumps [System.Reactive](https://github.com/dotnet/reactive) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/dotnet/reactive/releases)
- [Commits](https://github.com/dotnet/reactive/compare/rxnet-v4.3.1...rxnet-v4.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-26 20:00:48 +00:00
Timothy Baldridge
7145b72a69 Test fixes 2019-12-26 11:21:57 -07:00
Timothy Baldridge
caba928d85 Upgrade only the wabbajack.common lib 2019-12-26 09:47:10 -07:00
Timothy Baldridge
e32be75816 Don't use such a big BA2 file for recompression 2019-12-23 16:05:00 -07:00
Justin Swanson
a7b5b6900e Increased PMapTest thread count 2019-12-22 23:56:06 -06:00
Justin Swanson
88cc519478 Improved PMap tests to timeout gracefully if starved 2019-12-22 23:44:53 -06:00
Justin Swanson
0ea147ca35 Removing some vestigial test code 2019-12-22 23:09:00 -06:00
Justin Swanson
95f9aa7d19 Another unit test fix 2019-12-22 22:59:32 -06:00
Justin Swanson
87ed68c0b8 A unit test bugfix 2019-12-22 22:51:20 -06:00
Justin Swanson
4e7829c7c1 WorkQueue IsWorkerThread fixes. PMap unit tests 2019-12-22 22:44:33 -06:00
Justin Swanson
b392b667cf MO2 proper install folder logic now ignores files in downloads 2019-12-21 19:30:01 -06:00
Justin Swanson
eed71e1c24 Purged a few more Task.Wait() calls 2019-12-21 18:26:51 -06:00
Justin Swanson
e5aef9a043 AsyncLock + tests. NexusApi swapped to use it 2019-12-21 18:17:56 -06:00
Justin Swanson
477622f7ca Some MO2Installer.CheckValidInstallPath unit tests 2019-12-20 20:19:17 -06:00
Justin Swanson
1673f8a555 LibCef extraction init awaits and improvements 2019-12-18 19:09:45 -06:00
Justin Swanson
b0bff6e121 Missing ExtractLibs awaits 2019-12-17 21:18:33 -06:00
halgari
91e27fc3d7 Fixes for inis, resuming downloads and caching services 2019-12-17 16:17:44 -07:00
halgari
4ed0dcae7f Implement fix for duplicate key error in FNV 2019-12-15 23:33:44 -07:00
Justin Swanson
705914bd77 FilePickerVM tooltip fixes + tests 2019-12-14 21:55:23 -06:00
Justin Swanson
a6082cc927 Merge remote-tracking branch 'wabbajack-tools/master' into polish-and-fixes 2019-12-14 17:48:27 -06:00
Justin Swanson
078b457857 FilePickerVM unit tests, better filter enforcement 2019-12-14 14:11:39 -06:00
halgari
cd441560df Another missing await 2019-12-13 14:48:40 -07:00
halgari
c070c2431f Fix end-to-end test 2019-12-13 14:39:13 -07:00
halgari
d2999748fb Disable manual download for tests 2019-12-13 06:24:17 -07:00
halgari
61579bc3b6 Fix the broken tests 2019-12-13 06:02:58 -07:00
Justin Swanson
bcd7c95caf Merge branch 'master' into async-exploration 2019-12-12 19:49:40 -06:00
Timothy Baldridge
dba51fe4e7
Merge pull request #263 from wabbajack-tools/upgrade-deps
bump all the deps!!
2019-12-12 16:25:02 -07:00
Timothy Baldridge
2c69a9ec9b bump all the deps!! 2019-12-12 16:00:19 -07:00
Timothy Baldridge
e482197479 Fix case sensitive bug with download deletion during install 2019-12-12 15:52:24 -07:00
Timothy Baldridge
ed41308f12 Can now "download" archives from the game folder. This is useful if installers need to repack game files, they can source the files from the main game archive and then build a new BSA modifying/adding files as needed 2019-12-09 16:52:17 -07:00
Timothy Baldridge
df4dcfa761 Use extension methods to get game metadata 2019-12-09 15:46:03 -07:00
Timothy Baldridge
3bbbfb3ea2 Finish up LL support. 2019-12-08 10:00:22 -07:00
Justin Swanson
86d4003398 Merge remote-tracking branch 'wabbajack-tools/master' into async-exploration 2019-12-08 01:10:51 -06:00
Timothy Baldridge
fdb08b6f04 init cef helpers before tests 2019-12-07 10:39:22 -07:00
Timothy Baldridge
65d4353bcd add libcef to test project 2019-12-07 10:13:34 -07:00
Justin Swanson
63afc2dc9e Remaining NexusAPI made async 2019-12-07 00:40:29 -06:00
Justin Swanson
729b5128da Random .Results swapped to async 2019-12-07 00:40:29 -06:00
Justin Swanson
a25fc9d1a9 Lots of NexusAPI refactored to async 2019-12-07 00:40:29 -06:00
Justin Swanson
5bd856a7c6 Utils async -> sync methods removed 2019-12-07 00:40:29 -06:00
Justin Swanson
43dc6953c5 AbstractDownloadState download made async 2019-12-07 00:40:22 -06:00
Justin Swanson
e9deda9f44 Large swap to make WorkQueue able to take Task work items 2019-12-06 22:47:49 -06:00
Justin Swanson
e90759937b Removed internal WorkQueue in ValidateModlist that was un-disposed 2019-12-06 20:05:24 -06:00
Justin Swanson
03c88b0f38 Removed some Shutdown/Terminate functions in favor of Dispose 2019-12-06 20:04:42 -06:00
Timothy Baldridge
7191804ff2
Merge branch 'master' into set-screen-size 2019-12-05 22:12:29 -07:00
Timothy Baldridge
8b2486059f Implement screen size auto-set for MO2 games 2019-12-05 21:58:18 -07:00
Timothy Baldridge
d11c976ed9 Fix broken test 2019-12-05 17:05:26 -07:00
Timothy Baldridge
f67a235274 Logs and exceptions as classes 2019-12-04 16:17:02 -07:00
Justin Swanson
ae05eb90d4 Ignore warning CS1998, mark CS4014 as error 2019-12-03 18:59:53 -06:00
Justin Swanson
5bb291a310 AInstaller ctor parameters made more picky for required input 2019-12-01 14:23:24 -06:00
Justin Swanson
3a15d62289 ACompiler explicit implementation enforcement of its required members 2019-11-23 18:30:51 -06:00
erri120
899c7e4966
Downgraded ReactiveUI to 10.5.30 2019-11-23 19:50:56 +01:00
Timothy Baldridge
2afcb83456 Switch directory deleting back to use a shell process. It's the only 100% reliable method I've found. 2019-11-23 10:37:24 -07:00
erri120
bd13d15a81
Updated dependencies of main projects 2019-11-23 17:03:02 +01:00
erri120
b5871a3468
Updated all main projects to .NET 4.8.0 2019-11-23 16:50:09 +01:00
erri120
0b958f5f9b
Changed all relative references to use SolutionDir 2019-11-23 16:47:05 +01:00
Timothy Baldridge
8a680a8f14 Several fixes for compilation and caching. 2019-11-21 22:19:42 -07:00
Timothy Baldridge
1ee439c7c1 Better selection of patch file sources 2019-11-21 14:32:58 -07:00
erri120
1b26063773
Simplified names in Tests 2019-11-21 16:05:10 +01:00
erri120
00d4181b1b
Removed unused imports from all Tests 2019-11-21 15:27:35 +01:00
erri120
97b7524030
Created READMEs for most projects 2019-11-21 15:11:08 +01:00
Timothy Baldridge
27964f0348 Set the queue size during installation based on the disk performance. Abort installation if there isn't enough disk space to perform the installation. 2019-11-20 16:39:03 -07:00
Timothy Baldridge
a8d8d20a99 Several fixes that came up during testing.
* Fixed hashing progress bars
* Wired up the CPUStatus to the UI during installation
* Fixed xxHashing
* Verified modlist optimization works on a real modlist (noise)
* Added an optimizer test for extra files created by the user left in the install directory.
2019-11-19 17:15:46 -07:00
Timothy Baldridge
13de3913da Optimize modlists before installation. Also fixed an async bug in VFS. 2019-11-17 22:21:24 -07:00
Timothy Baldridge
8d5843ecc6 Rename Compiler/Installer to MO2Compiler/MO2Installer, other code cleanup as well 2019-11-17 17:17:06 -07:00
Timothy Baldridge
0c78680c09 Abstract the base components of compilers/installers into a single abstract class 2019-11-17 16:48:32 -07:00
Timothy Baldridge
9db982a13d Merge latest from master 2019-11-16 21:30:22 -07:00
Timothy Baldridge
d92d05dbf8 Merge remote-tracking branch 'origin/master' into compiler-update-streams 2019-11-16 21:16:51 -07:00
Timothy Baldridge
baab601f09 Rework Work queue to be non-static 2019-11-16 21:16:42 -07:00
Justin Swanson
4978e55e04 VortexCompilerVM staging and downloads picker wiring 2019-11-16 21:09:46 -06:00
Justin Swanson
30437ba9c3 VortexCompiler ctor made more explicit 2019-11-16 16:10:13 -06:00
Justin Swanson
cfad44fe98 TestUtils.GameName -> Game enum 2019-11-16 16:02:36 -06:00
Justin Swanson
05003900d3 TestUtils sprucing 2019-11-16 15:29:05 -06:00
Timothy Baldridge
11cd96693a Compiles, working through the tests 2019-11-15 17:01:37 -07:00
Timothy Baldridge
f6a27ac094 Much simpler integration 2019-11-15 06:06:34 -07:00
erri120
f391254f1d Created Vortex Test for StackSerialization 2019-11-14 15:34:11 -07:00
Timothy Baldridge
133fa2febd
Async VFS Implementation (#171)
* New VFS implementation can load/save/analyze files. All in a immutable, lock free (mostly) async parallel manner.

* VFS indexing is complete

* Can stage files

* Can extract VirtualFiles into PortableFiles and create contexts from PortableFiles

* Code cleanup
2019-11-14 15:22:53 -07:00
Timothy Baldridge
0cb6f2fa69 Make File Extractor async 2019-11-11 22:33:32 -07:00
Timothy Baldridge
d9ca38cdff
Make BSA Routines async (#168)
* Make BSA routines async
2019-11-11 21:35:07 -07:00
Timothy Baldridge
1ad74b450e
Merge pull request #166 from wabbajack-tools/bsa-tests
Add unit tests for BSAs
2019-11-11 06:17:48 -07:00
Timothy Baldridge
c3daf2b1bc Add unit tests for BSAs 2019-11-10 23:15:52 -07:00
Timothy Baldridge
35897bbf92 cleanup 2019-11-10 21:10:26 -07:00
Timothy Baldridge
e61b203d4c Final bits for CSP backend 2019-11-10 20:47:25 -07:00
Timothy Baldridge
6639e9946b Other variants of pipelines 2019-11-10 15:36:04 -07:00
Timothy Baldridge
f66427c2ea Add a bunch of unit tests fixed a nasty race condition in the put/take handlers 2019-11-10 15:15:52 -07:00
Timothy Baldridge
e9c2ababec More deadlock bugfixes 2019-11-09 17:22:28 -07:00
Timothy Baldridge
081dea2368 Fix channel closing, add unordered pipeline 2019-11-09 14:29:55 -07:00