zig/lib/std/os/windows
Ryan Liptak 76fb2b685b std: Convert deprecated aliases to compile errors and fix usages
Deprecated aliases that are now compile errors:

- `std.fs.MAX_PATH_BYTES` (renamed to `std.fs.max_path_bytes`)
- `std.mem.tokenize` (split into `tokenizeAny`, `tokenizeSequence`, `tokenizeScalar`)
- `std.mem.split` (split into `splitSequence`, `splitAny`, `splitScalar`)
- `std.mem.splitBackwards` (split into `splitBackwardsSequence`, `splitBackwardsAny`, `splitBackwardsScalar`)
- `std.unicode`
  + `utf16leToUtf8Alloc`, `utf16leToUtf8AllocZ`, `utf16leToUtf8`, `fmtUtf16le` (all renamed to have capitalized `Le`)
  + `utf8ToUtf16LeWithNull` (renamed to `utf8ToUtf16LeAllocZ`)
- `std.zig.CrossTarget` (moved to `std.Target.Query`)

Deprecated `lib/std/std.zig` decls were deleted instead of made a `@compileError` because the `refAllDecls` in the test block would trigger the `@compileError`. The deleted top-level `std` namespaces are:

- `std.rand` (renamed to `std.Random`)
- `std.TailQueue` (renamed to `std.DoublyLinkedList`)
- `std.ChildProcess` (renamed/moved to `std.process.Child`)

This is not exhaustive. Deprecated aliases that I didn't touch:
  + `std.io.*`
  + `std.Build.*`
  + `std.builtin.Mode`
  + `std.zig.c_translation.CIntLiteralRadix`
  + anything in `src/`
2024-06-13 10:18:59 -04:00
..
advapi32.zig std.os.windows.advapi32: add RegLoadAppKeyW 2023-07-23 17:10:57 +06:00
crypt32.zig clean up windows cert scanning 2023-01-17 00:08:42 -07:00
kernel32.zig std.Progress: Use Windows console API calls when ANSI escape codes are not supported 2024-05-28 10:41:07 -07: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 Windows: Replace CreatePipe with ntdll implementation 2024-03-16 23:37:50 +11: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: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
win32error.zig os.windows: Fix error 258 name in Win32Error 2024-01-23 18:06:23 -08:00
ws2_32.zig std.os.windows: add POLL.IN and POLL.OUT 2024-03-21 17:08:50 +02:00