Commit Graph

14 Commits

Author SHA1 Message Date
dmex e6120caa36 Update CustomBuildTool 2026-05-31 14:13:33 +10:00
dmex ba067cca57 BuildTools: Cleanup 2026-05-18 09:44:24 +10:00
dmex 110b25394d CustomBuildTool: Modernize with Span/ArrayBufferWriter/Utf8JsonWriter for .NET 10 2026-05-06 10:47:26 +10:00
dmex 9c2fac0b5a CustomBuildTool: Optimize hashing, Add support for third-party update check
Major refactor and feature additions across CustomBuildTool:

- Replace synchronous JsonSerializer.Deserialize usages with JsonSerializer.DeserializeAsync (passing CancellationToken) for HTTP/KeyVault/NuGet/GitHub responses to avoid blocking and improve cancellation handling.
- Optimize ECDSA hashing: use ReadOnlySpan, static SHA{256,384,512}.HashData fast-paths and allocation-free IncrementalHash fallback; consolidate incremental helper.
- Add BuildThirdParty.cs: new utility to verify vendored third-party library versions against GitHub releases, with various helpers (version parsing, GitHub queries, regexes).
- Add CLI command -check-thirdparty and register it in Program.cs to run version checks.
- Harden BuildAzure.GetAzureADToken: build form body as bytes, zero secret memory, and send as ByteArrayContent.
- Revise Build logic and file handling: normalize Path.Join usage, normalize path separators in MSIX mapping, improve BuildChecksumsFile collection logic, validate exe presence before export checks, and dedupe file lists before checksum computation.
- Update BuildHttpClient.CreateHttpClient settings and use DeserializeAsync in SendMessage; adjust MaxAutomaticRedirections removal.
- Misc fixes: environment block parsing loop fix, safer registry value handling, reorder search-path logic, add Regex Using and GeneratedRegex helpers, add CA1416 platform-suppression, and small csproj cleanup.

These changes improve async/cancellation behavior, memory safety, hashing performance, and add a new third-party checking feature.
2026-04-26 13:57:20 +10:00
dmex 77b60a8138 Bump HTTP version to 3.0 for a release request, tidy MSIX packaging steps, and refactor CMake build
Add routines to download GitHub IP ranges and Azure service tags and return address prefixes Bump HTTP version to 3.0 for a release request, tidy MSIX packaging steps, and update author year.
2026-04-08 10:24:41 +10:00
dmex bae2ca3b41 Update comments and tidy up 2026-03-22 11:31:16 +11:00
dmex 1b49e19ec4 BuildTools: Update to latest SDK 2026-03-14 15:37:27 +11:00
dmex 2527156546 Improve build toolchain, fix Azure cert cache bug 2026-02-23 10:32:27 +11:00
dmex c94761de4f CustomBuildTool: Add EWDK support, Add cmake and clang support, Add full async support 2026-02-22 09:43:22 +11:00
dmex 19b6cb3d0e CustomBuildTool: Add build time 2026-01-13 23:24:43 +11:00
dmex 20b6f0ff09 Update comments 2025-12-22 08:31:06 +11:00
dmex bd9effd7b0 Update documentation and types 2025-12-12 19:42:59 +11:00
dmex a406b5bae1 BuildTools: Add delay for github release check 2025-09-19 23:54:23 +10:00
dmex 5423ff7cfb Merge dev branch fixes (#2680) 2025-09-07 05:06:34 +10:00