zig/src
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
..
Air std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
arch std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
codegen std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
Compilation Target: pass and use locals by pointer instead of by value 2025-06-19 11:45:06 -04:00
libs std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
link std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
Package std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
Sema std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
Zcu std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
Air.zig Sema: detect one-possible-value types after function calls 2025-06-29 17:53:52 -07:00
Builtin.zig std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
clang.zig zig_clang: Fix ZigClangAPValue being underaligned vs clang::APValue. 2025-04-09 11:53:24 +02:00
clang_options.zig zig cc: honor all -m and -mno- CPU feature flags 2021-11-26 19:59:33 -07:00
clang_options_data.zig compiler: Allow configuring UBSan mode at the module level. 2025-04-26 22:54:34 +02:00
codegen.zig compiler: delete arm backend 2025-07-02 14:50:41 -07:00
Compilation.zig std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
crash_report.zig std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
DarwinPosixSpawn.zig lib/std: PermissionDenied/AccessDenied cleanup and fallout 2025-03-24 16:20:45 +01:00
dev.zig remove spirv cpu arch 2025-06-23 06:03:03 +02:00
fmt.zig std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
IncrementalDebugServer.zig x86_64: fix switch dispatch bug 2025-06-06 23:42:15 -07:00
InternPool.zig std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
introspect.zig compiler: refactor Zcu.File and path representation 2025-05-18 17:37:02 +01:00
link.zig x86_64: increase passing test coverage on windows 2025-06-19 18:41:12 -04:00
main.zig std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
mutable_value.zig Legalize: implement scalarization of binary operations 2025-05-31 18:54:28 -04:00
Package.zig std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
print_env.zig compiler: refactor Zcu.File and path representation 2025-05-18 17:37:02 +01:00
print_targets.zig Target: pass and use locals by pointer instead of by value 2025-06-19 11:45:06 -04:00
print_value.zig std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
print_zir.zig std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
print_zoir.zig std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
RangeSet.zig sema: rework type resolution to use Zcu when possible 2024-08-25 15:16:42 -07:00
register_manager.zig codegen: fix packed byte-aligned relocations 2025-03-23 18:35:34 -04:00
Sema.zig std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
target.zig zig fmt 2025-07-07 13:39:16 -07:00
tracy.zig Update TracyAllocator to new allocator API 2025-07-05 00:24:40 +02:00
translate_c.zig std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
Type.zig std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
Value.zig big.int: implement float conversions 2025-06-15 14:15:18 -04:00
Zcu.zig std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
zig_clang.cpp zig_clang: Fix ZigClangAPValue being underaligned vs clang::APValue. 2025-04-09 11:53:24 +02:00
zig_clang.h zig_clang: Fix ZigClangAPValue being underaligned vs clang::APValue. 2025-04-09 11:53:24 +02:00
zig_clang_cc1_main.cpp zig cc: Update driver files to Clang 20. 2025-04-04 06:08:09 +02:00
zig_clang_cc1as_main.cpp zig cc: Update driver files to Clang 20. 2025-04-04 06:08:09 +02:00
zig_clang_driver.cpp zig cc: Update driver files to Clang 20. 2025-04-04 06:08:09 +02:00
zig_llvm-ar.cpp compiler: Update LLVM/Clang driver files to LLVM/Clang 19. 2024-09-19 18:20:20 -07:00
zig_llvm.cpp llvm: Use emulated TLS when appropriate for the target 2025-07-07 07:23:24 +02:00
zig_llvm.h llvm: Use emulated TLS when appropriate for the target 2025-07-07 07:23:24 +02:00