Commit Graph

49 Commits

Author SHA1 Message Date
dmex 9fcc24e52d Add SBOM, VEX, and build tooling updates 2026-09-29 21:02:02 +10:00
dmex a571c6bc19 Build and bug fixes 2026-06-15 05:33:51 +10:00
Johnny Shaw 446e3f80d8 cbt hacked fix for parallel builds 2026-06-02 21:48:01 -06: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
dmex ed3ba215b7 Use VsDevCmd.bat and cmd.exe for CMake 2026-05-09 09:14:46 +10: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
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 fedc43b6a1 Fix typos and improve HTTP2 handling 2026-04-17 14:40:13 +10:00
dmex 8526c189d1 CustomBuildTool: Add System.CommandLine support and tab completion 2026-04-17 03:58:37 +10: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 748b081acb CustomBuildTool: Add ESDK and CMake 2026-02-01 06:39:35 +11:00
dmex 19b6cb3d0e CustomBuildTool: Add build time 2026-01-13 23:24:43 +11:00
dmex 0bf4f1b38c Update Win32.cs 2025-12-26 23:29:08 +11:00
dmex 7de93c42fb Update Win32.cs 2025-12-16 16:21:02 +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 f1249f7d93 Skip read-only attribute during build integration 2025-09-07 02:40:22 +00:00
dmex 5423ff7cfb Merge dev branch fixes (#2680) 2025-09-07 05:06:34 +10:00
dmex 44b5e27c15 BuildTools: Add SimdOptions, Tidy up 2025-06-18 12:25:40 +10:00
dmex 47044784ca Update Win32.cs 2025-06-17 09:04:24 +10:00
dmex 9ccd5eda48 BuildTools: Updates for breaking .NET changes 2025-06-17 08:40: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
Johnny Shaw 1ef741a4e8 CustomBuildTool fix build 2025-01-10 00:00:44 -07:00
Johnny Shaw 3acdc0a923 CustomBuildTool fix export defs 2025-01-09 22:56:34 -07:00
Johnny Shaw a2720af5cc CustomBuildTool fix stack overrun 2025-01-09 22:56:34 -07:00
Johnny Shaw 6650f3704d CustomBuildTool fix program output 2025-01-09 00:11:12 -07:00
dmex 7000fd6a43 Update to latest SDK 2024-12-02 06:38:02 +11:00
dmex 7ec066a1ee Update to the latest SDK 2024-12-02 04:57:22 +11:00
dmex f8757ab345 Update to the latest SDK 2024-12-01 16:17:11 +11:00
dmex b20716fd96 Update BuildTools to .NET 9.0 2024-11-30 05:31:57 +11:00
dmex a731b16af1 BuildTools: Add ARM64 2024-07-07 15:48:30 +10:00
Johnny Shaw ad63225135 CustomBuildTool cleanup and pipline fix 2024-07-01 19:41:27 -06:00
dmex b608b68a23 BuildTools: Update versioning 2024-06-25 05:36:14 +10:00
dmex 95d75281b1 BuildTools: Add priority and output trim 2024-05-31 07:00:37 +10:00
dmex 795d62bc8d BuildTools: Bump v3.1 2024-05-31 03:14:30 +10:00
dmex bd68bcedbb BuildTool: Tidy up and improve performance 2024-05-23 07:46:54 +10:00
dmex 3a1249b385 BuildTools: Update paths 2024-05-17 06:27:27 +10:00
dmex 7427ad80f0 BuildTools: Tidy up 2024-05-05 13:52:46 +10:00
Johnny Shaw d7c2afd31f CustomBuildTool verify and envvars 2024-05-04 20:20:26 -06:00
dmex 9072cdfa51 BuildTools: Update to latest devops 2024-05-05 09:44:56 +10:00
dmex b7a1775f0c BuildTools: Fix regression for checking file updates 2024-05-01 23:48:19 +10:00
dmex 38fdfd769a BuildTools: Update to .NET 8 2024-04-27 13:34:16 +10:00