aboutsummaryrefslogtreecommitdiff
path: root/src/windows_sdk.zig
AgeCommit message (Collapse)Author
2024-02-27move `zig libc` command to be lazily builtAndrew Kelley
part of #19063 This is a prerequisite for doing the same for Resinator.
2024-02-24Fix handling of Windows (WTF-16) and WASI (UTF-8) pathsRyan Liptak
Windows paths now use WTF-16 <-> WTF-8 conversion everywhere, which is lossless. Previously, conversion of ill-formed UTF-16 paths would either fail or invoke illegal behavior. WASI paths must be valid UTF-8, and the relevant function calls have been updated to handle the possibility of failure due to paths not being encoded/encodable as valid UTF-8. Closes #18694 Closes #1774 Closes #2565
2024-02-24Update deprecated `std.unicode` function usagesRyan Liptak
2023-11-23windows_sdk: Replace COM with what the COM code was doing under-the-hoodRyan Liptak
Removes the dependency on ole32.dll
2023-11-22update for the std.fs.Dir changesAndrew Kelley
2023-11-19compiler: correct unnecessary uses of 'var'mlugg
2023-07-28windows_sdk: Get the latest installed version when using COMRyan Liptak
Before, iteration would stop whenever an installation with vcruntime.lib was found, but that may not be the most recent installed version. Instead, we now iterate all installed instances and choose the one with the newest version.
2023-07-28windows_sdk.zig: Reinstate COM ISetupEnumInstances logicRyan Liptak
The C++ version of this code used this logic, and it turns out it is able to find some setups that the current registry/Vs7 methods cannot. For example, if only the "Build Tools for Visual Studio" are installed but not Visual Studio itself, then only the ISetupEnumInstances method seems to find it. Follow up to #15657, fixes a regression caused by moving from the C++ version to the Zig version
2023-07-23src/windows_sdk.cpp: port to ZigEric Joldasov
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
2021-09-01stage2: update for new usingnamespace semanticsAndrew Kelley
2021-06-14add ast-check flag to zig fmt, fix found bugsVeikka Tuominen
2020-09-21rename src-self-hosted/ to src/Andrew Kelley