34 Commits

Author SHA1 Message Date
dmex 6960ed0933 Add setup delta tooling and SIMD build options
This change adds setup delta/patch generation commands, rotation helpers for setup payloads, and native SIMD detection for AVX/AVX2/AVX512 builds. It also standardizes error reporting via Program.PrintErrorMessage, suppresses ANSI escape codes when output is redirected, and updates the HTTP client helpers and build paths required for the new tooling.
2026-10-08 16:41:29 +11:00
dmex 9fcc24e52d Add SBOM, VEX, and build tooling updates 2026-09-29 21:02:02 +10:00
dmex e6120caa36 Update CustomBuildTool 2026-05-31 14:13:33 +10:00
dmex ba067cca57 BuildTools: Cleanup 2026-05-18 09:44:24 +10:00
Johnny Shaw 7f44c16b33 Revert "cbt fix ambiguous reference"
This reverts commit 07d0eacd26.
2026-05-05 20:03:18 -06:00
dmex ef92b3f946 Use argument arrays for external tools
Convert command execution APIs to accept argument lists instead of single command strings . These changes improve argument separation/quoting safety and allow complex command invocations (including PowerShell-based CMake setup) to run in a single process session.
2026-05-06 12:01:45 +10:00
Johnny Shaw 07d0eacd26 cbt fix ambiguous reference 2026-05-05 20:00:44 -06: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 364c33c410 CustomBuildTool: Update to latest SDK 2026-03-29 04:13:24 +11:00
dmex 1b49e19ec4 BuildTools: Update to latest SDK 2026-03-14 15:37: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 4a9e9d89db CustomBuiltTool: FIx build 2025-12-16 18:42:13 +11:00
dmex d3575a786c Update RSAKeyVault.cs 2025-12-16 16:20:30 +11:00
dmex 2aa6432c00 Update ECDsaKeyVault.cs 2025-12-16 16:20:27 +11:00
dmex bd9effd7b0 Update documentation and types 2025-12-12 19:42:59 +11:00
Johnny Shaw 54d3699177 Revert "Visual Studio 2026"
This reverts commit 27efdef0a5.
2025-11-19 21:05:48 -07:00
dmex 27efdef0a5 Visual Studio 2026 2025-11-17 20:42:47 +11:00
dmex 800ce4279d BuildTools: Update Package References 2025-09-19 22:10:13 +10:00
dmex 5423ff7cfb Merge dev branch fixes (#2680) 2025-09-07 05:06:34 +10:00
dmex 519bf097fa Update AuthenticodeKeyVaultSigner.cs 2025-06-17 19:17:36 +10:00
dmex 24e3cb2789 BuildTools: Skip bundle signing 2025-06-17 14:28:38 +10:00
dmex 7575339af6 BuildTools: Skip msix signing 2025-06-17 14:15:10 +10:00
dmex 9ccd5eda48 BuildTools: Updates for breaking .NET changes 2025-06-17 08:40:48 +10:00
dmex 95ab29e200 Update SAL Annotations and Fix typos 2025-05-15 13:12:48 +10:00
dmex 6317244ea6 Restructured common code 2025-05-07 08:29:22 +10:00
dmex cffaa3b0b5 BuildTools: Add copyright and update commands 2025-04-19 19:50:48 +10:00
dmex cc931ddaf7 BuildTools: Add terminal logger support 2025-03-21 16:19:46 +11:00
dmex 8b02cbec29 BuildTools: Update packages, comments 2025-02-11 09:19:09 +11:00
dmex 7c6cd05ca1 BuildTools: Add license for SignTool 2025-02-03 19:12:04 +11:00
dmex e76a7febb1 Refactor signing process for better readability and maintainability 2024-12-25 14:02:56 +11:00
dmex f1516d6556 BuildTools: Fix sourcelink and add azure-sign command 2024-12-08 07:51:26 +11:00
dmex d7847e908e Update SignCommand.cs 2024-11-30 07:11:05 +11:00
dmex b20716fd96 Update BuildTools to .NET 9.0 2024-11-30 05:31:57 +11:00