71 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 66f0dda526 Refresh project files and build config 2026-10-02 12:20:22 +10:00
dmex 025db3a0ec Fix UI init and token diagnostics
This change moves main-window setup to WM_CREATE to avoid invalid initial layouts, improves dialog focus and window-placement restoration, and includes a wide set of Win32/UI correctness fixes across the app. It also adds thread-stack and Wow64 safety handling, improves token details (authority/RID and elevated-privilege highlighting), and broadens the low-level documentation comments. The update also adjusts a few build settings in CustomBuildTool to improve runtime behavior.
2026-10-01 23:49:16 +10:00
dmex 9fcc24e52d Add SBOM, VEX, and build tooling updates 2026-09-29 21:02:02 +10:00
dmex 9443791b1b Copy settings schema during build 2026-07-17 07:40:28 +10:00
dmex 851f0060a8 Use PhGetClassName and add COM helper macros 2026-06-21 09:31:31 +10:00
dmex a571c6bc19 Build and bug fixes 2026-06-15 05:33:51 +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
dmex 5cba1074df Update CustomBuildTool.csproj 2026-05-09 17:20:40 +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 8526c189d1 CustomBuildTool: Add System.CommandLine support and tab completion 2026-04-17 03:58:37 +10:00
dmex e72e027368 Update CustomBuildTool.csproj 2026-04-04 16:47:57 +11:00
dmex 68604bf4b4 BuildTools: Add initial nuget versioning 2026-03-22 11:41:30 +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 fbe64a3041 Update CustomBuildTool 2025-12-12 20:30:37 +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 9d21a36139 Update CustomBuildTool.csproj 2025-06-05 18:46:34 +10:00
dmex 2869bf9bf3 BuildTools: Add build_msix.cmd and update scripts to latest MSIX format 2025-05-21 23:09:58 +10:00
dmex cc931ddaf7 BuildTools: Add terminal logger support 2025-03-21 16:19:46 +11:00
dmex 7d8b1cdb85 BuildTools: Improve ToolsId hash, Add ValidateImageExports debug 2025-03-11 05:57:39 +11:00
dmex 8b02cbec29 BuildTools: Update packages, comments 2025-02-11 09:19:09 +11:00
dmex f1516d6556 BuildTools: Fix sourcelink and add azure-sign command 2024-12-08 07:51:26 +11:00
dmex 837240198e Update CustomBuildTool.csproj 2024-11-30 13:11:23 +11:00
dmex b20716fd96 Update BuildTools to .NET 9.0 2024-11-30 05:31:57 +11:00
Johnny Shaw 4a3fe2dca2 CustomBuildTool arm64 native 2024-07-12 23:30:07 -06:00
dmex a731b16af1 BuildTools: Add ARM64 2024-07-07 15:48:30 +10:00
dmex bd68bcedbb BuildTool: Tidy up and improve performance 2024-05-23 07:46:54 +10:00
dmex 468f883f45 Enable PublishAot 2024-05-10 09:06:13 +10:00
dmex 93bb93c48c BuildTools: Update scripts 2024-04-27 14:20:55 +10:00
dmex 38fdfd769a BuildTools: Update to .NET 8 2024-04-27 13:34:16 +10:00
dmex 6c261b78c3 Update solutions 2022-12-10 12:33:21 +11:00
dmex d2a8d8822e Update solutions with options required for deterministic builds 2022-11-25 17:20:39 +11:00
dmex b0ba8a705b BuildTools: Update to latest SDK 2022-11-16 18:40:36 +11:00
dmex e072af427e BuildTools: Add NativeAot linker flags 2022-11-15 16:03:08 +11:00
dmex 67904f3070 BuildTools: Fix COM support for NativeAot and cleanup code 2022-11-15 09:00:22 +11:00
dmex a6bd45b550 BuildTools: Update to .NET 7.0 and convert to NativeAot 2022-11-09 22:59:03 +11:00
Johnny Shaw 67c8a7087e update custom build tool (#1418) 2022-10-14 13:34:21 +11:00
dmex bacf16c8c9 BuildTools: Add github download mirror support 2022-06-05 18:55:51 +10:00
dmex 1ef2dbec3f BuildTools: Fix Windows 7 compatibility 2022-03-24 07:58:07 +11:00
dmex 00e0b567cc BuildTools: Update to .NET6 and VS2022 2021-11-09 22:22:16 +11:00
dmex 2fde02e530 BuildTools: Update to .NET 5.0.6 2021-05-23 11:15:32 +10:00
dmex 92faad3f17 BuildTools: Fix building from non-git exported solution directory 2021-01-05 04:57:43 +11:00
dmex 5e977fc39f BuildTools: remove libgit2 until rest api supported 2020-09-23 09:00:36 +10:00