From 4298c2a432e730b292af9bf7c3e90af7056027b2 Mon Sep 17 00:00:00 2001 From: Timothy Baldridge Date: Wed, 24 Feb 2021 19:08:58 -0700 Subject: [PATCH] 2.4.2.5 --- CHANGELOG.md | 4 ++++ Wabbajack.CLI/Wabbajack.CLI.csproj | 4 ++-- Wabbajack.Launcher/Wabbajack.Launcher.csproj | 4 ++-- Wabbajack.Lib/CompilationSteps/IgnoreTaggedFolders.cs | 6 ++++-- Wabbajack.Lib/CompilationSteps/IncludeTaggedFolders.cs | 6 ++++-- Wabbajack.Server/Wabbajack.Server.csproj | 4 ++-- Wabbajack/Wabbajack.csproj | 4 ++-- 7 files changed, 20 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e2d0353a..bb2fbfa1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ### Changelog +#### Version - 2.4.2.5 - 2/24/2021 +* HOTFIX: Fix a O(n*m) performance bug in compilation +* Add support for Enderal SSE + #### Version - 2.4.2.4 - 2/23/2021 * Reworked GDrive downloader for better compatability * Ignore .cache files for realz diff --git a/Wabbajack.CLI/Wabbajack.CLI.csproj b/Wabbajack.CLI/Wabbajack.CLI.csproj index f5ebd0e4..9112a25b 100644 --- a/Wabbajack.CLI/Wabbajack.CLI.csproj +++ b/Wabbajack.CLI/Wabbajack.CLI.csproj @@ -6,8 +6,8 @@ wabbajack-cli Wabbajack x64 - 2.4.2.4 - 2.4.2.4 + 2.4.2.5 + 2.4.2.5 Copyright © 2019-2020 An automated ModList installer true diff --git a/Wabbajack.Launcher/Wabbajack.Launcher.csproj b/Wabbajack.Launcher/Wabbajack.Launcher.csproj index 9b954894..26862d43 100644 --- a/Wabbajack.Launcher/Wabbajack.Launcher.csproj +++ b/Wabbajack.Launcher/Wabbajack.Launcher.csproj @@ -4,8 +4,8 @@ Exe net5.0-windows true - 2.4.2.4 - 2.4.2.4 + 2.4.2.5 + 2.4.2.5 Copyright © 2019-2020 Wabbajack Application Launcher true diff --git a/Wabbajack.Lib/CompilationSteps/IgnoreTaggedFolders.cs b/Wabbajack.Lib/CompilationSteps/IgnoreTaggedFolders.cs index 3bac579a..534abad9 100644 --- a/Wabbajack.Lib/CompilationSteps/IgnoreTaggedFolders.cs +++ b/Wabbajack.Lib/CompilationSteps/IgnoreTaggedFolders.cs @@ -10,7 +10,7 @@ namespace Wabbajack.Lib.CompilationSteps { public class IgnoreTaggedFolders : ACompilationStep { - private readonly IEnumerable _ignoreDirecrtory = new List(); + private readonly List _ignoreDirecrtory; private readonly string _tag; private readonly ACompiler _aCompiler; private readonly AbsolutePath _sourcePath; @@ -24,7 +24,9 @@ namespace Wabbajack.Lib.CompilationSteps string rootDirectory = (string)_sourcePath; _reason = $"Ignored because folder was tagged with {_tag}"; - _ignoreDirecrtory = Directory.EnumerateFiles(rootDirectory, _tag, SearchOption.AllDirectories).Select(str => (AbsolutePath)str.Replace(_tag, "")); + _ignoreDirecrtory = Directory.EnumerateFiles(rootDirectory, _tag, SearchOption.AllDirectories) + .Select(str => (AbsolutePath)str.Replace(_tag, "")) + .ToList(); } public override async ValueTask Run(RawSourceFile source) diff --git a/Wabbajack.Lib/CompilationSteps/IncludeTaggedFolders.cs b/Wabbajack.Lib/CompilationSteps/IncludeTaggedFolders.cs index dde1fe0c..3af6bc7c 100644 --- a/Wabbajack.Lib/CompilationSteps/IncludeTaggedFolders.cs +++ b/Wabbajack.Lib/CompilationSteps/IncludeTaggedFolders.cs @@ -10,7 +10,7 @@ namespace Wabbajack.Lib.CompilationSteps { public class IncludeTaggedFolders : ACompilationStep { - private readonly IEnumerable _includeDirectly = new List(); + private readonly List _includeDirectly; private readonly string _tag; private readonly ACompiler _aCompiler; private readonly AbsolutePath _sourcePath; @@ -22,7 +22,9 @@ namespace Wabbajack.Lib.CompilationSteps _tag = tag; string rootDirectory = (string)_sourcePath; - _includeDirectly = Directory.EnumerateFiles(rootDirectory, _tag, SearchOption.AllDirectories).Select(str => (AbsolutePath)str.Replace(_tag, "")); + _includeDirectly = Directory.EnumerateFiles(rootDirectory, _tag, SearchOption.AllDirectories) + .Select(str => (AbsolutePath)str.Replace(_tag, "")) + .ToList(); } diff --git a/Wabbajack.Server/Wabbajack.Server.csproj b/Wabbajack.Server/Wabbajack.Server.csproj index 06a1f50a..d30f9ab9 100644 --- a/Wabbajack.Server/Wabbajack.Server.csproj +++ b/Wabbajack.Server/Wabbajack.Server.csproj @@ -3,8 +3,8 @@ Exe net5.0-windows - 2.4.2.4 - 2.4.2.4 + 2.4.2.5 + 2.4.2.5 Copyright © 2019-2020 Wabbajack Server win-x64 diff --git a/Wabbajack/Wabbajack.csproj b/Wabbajack/Wabbajack.csproj index b54e0d62..c4acf0e1 100644 --- a/Wabbajack/Wabbajack.csproj +++ b/Wabbajack/Wabbajack.csproj @@ -6,8 +6,8 @@ true x64 win10-x64 - 2.4.2.4 - 2.4.2.4 + 2.4.2.5 + 2.4.2.5 Copyright © 2019-2020 An automated ModList installer true