zig/lib/std/os/windows
Andrew Kelley 0e37ff0d59 std.fmt: breaking API changes
added adapter to AnyWriter and GenericWriter to help bridge the gap
between old and new API

make std.testing.expectFmt work at compile-time

std.fmt no longer has a dependency on std.unicode. Formatted printing
was never properly unicode-aware. Now it no longer pretends to be.

Breakage/deprecations:
* std.fs.File.reader -> std.fs.File.deprecatedReader
* std.fs.File.writer -> std.fs.File.deprecatedWriter
* std.io.GenericReader -> std.io.Reader
* std.io.GenericWriter -> std.io.Writer
* std.io.AnyReader -> std.io.Reader
* std.io.AnyWriter -> std.io.Writer
* std.fmt.format -> std.fmt.deprecatedFormat
* std.fmt.fmtSliceEscapeLower -> std.ascii.hexEscape
* std.fmt.fmtSliceEscapeUpper -> std.ascii.hexEscape
* std.fmt.fmtSliceHexLower -> {x}
* std.fmt.fmtSliceHexUpper -> {X}
* std.fmt.fmtIntSizeDec -> {B}
* std.fmt.fmtIntSizeBin -> {Bi}
* std.fmt.fmtDuration -> {D}
* std.fmt.fmtDurationSigned -> {D}
* {} -> {f} when there is a format method
* format method signature
  - anytype -> *std.io.Writer
  - inferred error set -> error{WriteFailed}
  - options -> (deleted)
* std.fmt.Formatted
  - now takes context type explicitly
  - no fmt string
2025-07-07 22:43:51 -07:00
..
advapi32.zig std.os.windows: Deprecate WINAPI in favor of CallingConvention.winapi. 2024-11-02 10:44:18 +01:00
crypt32.zig std.os.windows: Deprecate WINAPI in favor of CallingConvention.winapi. 2024-11-02 10:44:18 +01:00
kernel32.zig windows: Delete obsolete environment variable kernel32 wrappers and bindings 2025-06-02 10:34:37 +02:00
lang.zig remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
nls.zig Add os.windows.nls.upcaseW, a cross-platform implementation of RtlUpcaseUnicodeChar 2023-06-30 15:29:43 -07:00
ntdll.zig add FFI & wrappers for NtAllocateVirtualMemory & NtFreeVirtualMemory + add missing alloction constants MEM_RESERVE_PLACEHOLDER / MEM_PRESERVE_PLACEHOLDER 2025-03-04 22:10:49 -06:00
ntstatus.zig remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
sublang.zig remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
test.zig std.os.windows: Deprecate WINAPI in favor of CallingConvention.winapi. 2024-11-02 10:44:18 +01:00
tls.zig Initial port work for *-windows-itanium support. 2024-09-28 21:43:52 +02:00
win32error.zig os.windows: Fix error 258 name in Win32Error 2024-01-23 18:06:23 -08:00
ws2_32.zig std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00