Commit Graph

32 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
Timothy Baldridge
a0cfeb51bd Fix the empty log bug and UI hanging on VFS cleanup 2020-04-15 21:02:39 -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
0550dd751c Missing awaits 2020-04-03 16:41:17 -06:00
Timothy Baldridge
21189fd8e8 Most santiy tests pass 2020-04-03 16:40:51 -06:00
Timothy Baldridge
035e376a09 Only 246 errors left in Wabbajack.Lib 2020-04-03 16:38:05 -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
80195b5620 WIP, VFS compiles, need to work on VFS tests 2020-04-03 16:37:27 -06:00
Timothy Baldridge
b37728eefd Tons of WIP changes for paths 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
b77db18bfa Fix a bunch of issues with compilation, indexing and VFS loading performance 2020-02-14 06:30:58 -07:00
Justin Swanson
5db84a6ee6 Replaced all File.OpenWrite calls /w .Open(FileMode.Create)
File.OpenWrite is equivalent to FileMode.OpenOrCreate, which caused errors when replacing a file that was larger previously
2020-01-18 14:52:09 -06:00
Timothy Baldridge
a1258b5ea9 Index all archives from all modlists 2020-01-10 06:16:41 -07:00
Timothy Baldridge
51aa59ecee Integrate build server file indexing into the main app 2020-01-09 21:47:06 -07:00
Timothy Baldridge
717ad8c70a Rework WJ caching, move cache server routines to MongoDB 2020-01-01 09:19:06 -07:00
Justin Swanson
5f9d47eb5c Added status report for VFS.Indexing 2019-12-22 16:49:40 -06: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
Justin Swanson
4945f95066 PMap return swapped to array 2019-12-03 17:49:52 -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
Timothy Baldridge
29f829329f Analyze distinct files 2019-11-21 22:25:54 -07:00
Timothy Baldridge
8a680a8f14 Several fixes for compilation and caching. 2019-11-21 22:19:42 -07:00
erri120
6892eced57
Removed unused imports from Wabbajack.VirtualFileSystem 2019-11-21 15:27:10 +01: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
2e2ced6023 Updated work queue reporting 2019-11-16 23:02:09 -07: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
a8dd59227d Several fixes and performance improvements 2019-11-15 16:13:27 -07:00
Timothy Baldridge
bb4354ad20 TestDirectMatch passes! 2019-11-15 06:37:04 -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