Commit Graph

37 Commits

Author SHA1 Message Date
Timothy Baldridge
bb9ef89dee BSA archives are now lazily extracted.
7Zip extracted archives now only extract the fewest files required.
Audited the uses of .Wait
Lazily init the VFS cleaning
2020-04-16 21:52:19 -06:00
Justin Swanson
24ef0a74a5 VirtualFileSystemTests utilize xUnit IAsyncLifetime 2020-04-11 14:00:52 -05:00
Timothy Baldridge
3f8f83e027
Update VirtualFileSystemTests.cs 2020-04-10 22:22:10 -06:00
Justin Swanson
69f18f2e22 Context.Stage's return action swapped to Func<Task>
So that its internal delete directory call can be awaited
2020-04-10 14:44:36 -05:00
Justin Swanson
f8d692afd0 Added async factory to VFSTests, so deletion can be awaited 2020-04-10 14:35:47 -05:00
Justin Swanson
165b857709 WabbajackTest.TestUtils calls await on directory deletion 2020-04-10 14:33:09 -05:00
Timothy Baldridge
51bad949ec Moved Wabbajack.Commons tests into Wabbajack.Commons.Test out of Wabbajack.Test. They all pass 2020-04-03 16:40:20 -06:00
Timothy Baldridge
72d77bef1a VFS Tests pass 2020-04-03 16:37:28 -06:00
Timothy Baldridge
2b45210159 One test passes 2020-04-03 16:37:28 -06:00
Timothy Baldridge
a2cf84de54 A few test fixes 2020-04-03 16:37:27 -06:00
Timothy Baldridge
ccaaab318c VFS tests compile 2020-04-03 16:37:27 -06:00
Timothy Baldridge
80195b5620 WIP, VFS compiles, need to work on VFS tests 2020-04-03 16:37:27 -06:00
Timothy Baldridge
3b895f4dbb WIP, converted Hashes to a Hash struct 2020-04-03 16:37:27 -06:00
Timothy Baldridge
da8ead709b
Merge branch 'master' into dependabot/nuget/MSTest.TestAdapter-2.1.0 2020-02-04 14:13:32 -07:00
dependabot-preview[bot]
a8451925a7
Bump MSTest.TestFramework from 2.0.0 to 2.1.0
Bumps [MSTest.TestFramework](https://github.com/microsoft/testfx) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/microsoft/testfx/releases)
- [Commits](https://github.com/microsoft/testfx/compare/v2.0.0...v2.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-04 07:04:15 +00:00
dependabot-preview[bot]
6475a2143b
Bump MSTest.TestAdapter from 2.0.0 to 2.1.0
Bumps [MSTest.TestAdapter](https://github.com/microsoft/testfx) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/microsoft/testfx/releases)
- [Commits](https://github.com/microsoft/testfx/compare/v2.0.0...v2.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-04 07:03:53 +00:00
Timothy Baldridge
c991f077c7 Make x64 the default in all cases, make published builds self-contained 2020-02-01 10:33:00 -07:00
Timothy Baldridge
1fa4d92a3b Bump all versions, remove inlined binaries in prep for Core distribution framework (whatever it is) 2020-01-29 05:20:37 -07:00
Timothy Baldridge
7a3b74f63a Try and fix tests 2020-01-28 16:13:21 -07:00
Timothy Baldridge
fe2728ae9f Add missing references to the Test SDK 2020-01-27 14:44:00 -07:00
Justin Swanson
638542c617 .NET Standard 2.1, .NET Core 3.1 2020-01-25 20:48:13 -06:00
Timothy Baldridge
ad3090f9fc Upgrade deps 2020-01-17 15:56:52 -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
74888d6ef9 Fix a few more tets 2019-12-26 12:47:26 -07:00
Justin Swanson
bcd7c95caf Merge branch 'master' into async-exploration 2019-12-12 19:49:40 -06:00
Timothy Baldridge
2c69a9ec9b bump all the deps!! 2019-12-12 16:00:19 -07:00
Justin Swanson
729b5128da Random .Results swapped to async 2019-12-07 00:40:29 -06:00
Justin Swanson
e9deda9f44 Large swap to make WorkQueue able to take Task work items 2019-12-06 22:47:49 -06: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
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
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
baab601f09 Rework Work queue to be non-static 2019-11-16 21:16:42 -07: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
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