aboutsummaryrefslogtreecommitdiff
path: root/lib/std/os/uefi/protocol
AgeCommit message (Collapse)Author
2025-08-29std.Io: delete GenericReaderAndrew Kelley
and delete deprecated alias std.io
2025-08-21std.os.uefi: Fix typo that causes compile time error #22809"Lwazi Dube
2025-07-18std.os.uefi.protocol.file: fix getInfo() buffer alignment (#24496)AsmArtisan256
* std.os.uefi.protocol.file: use @alignCast in getInfo() method to fix #24480 * std.os.uefi.protocol.file: pass alignment responsabilities to caller by redefining the buffer type instead of blindly calling @alignCast
2025-07-07std.fmt: breaking API changesAndrew Kelley
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-07std.io: deprecated Reader/Writer; introduce new APIAndrew Kelley
2025-04-04fix reviewCarmen
2025-04-04OpenMode is exhaustiveCarmen
2025-04-04dont return tuple, split into 2 functionsCarmen
2025-04-04Payload -> @FieldType and use mem.sliceToCarmen
2025-04-04std.os.uefi.protocol.File: fix some typed definitionsCarmen
2025-04-01std.os.uefi.protocol: ziggify function signatures (#23214)Carmen
2025-02-09std.os.uefi: Drop 'Efi' prefix from type namesLinus Groh
The UEFI spec only does this because C doesn't have namespaces, we don't have that problem. Most type names were already omitting the prefix.
2025-02-09std.os.uefi: Adjust casing of remaining enum fieldsLinus Groh
Work towards #2101.
2025-02-09std.os.uefi: Adjust casing to match style guide in a few placesLinus Groh
2025-02-07fix: getEndPos return end positionKouosi Takayama
2024-08-28std: update `std.builtin.Type` fields to follow naming conventionsmlugg
The compiler actually doesn't need any functional changes for this: Sema does reification based on the tag indices of `std.builtin.Type` already! So, no zig1.wasm update is necessary. This change is necessary to disallow name clashes between fields and decls on a type, which is a prerequisite of #9938.
2024-07-28chore: correct non-standard comments.matt ettler
Comments throughout the codebase start with a space. This commit corrects comments that do not adhere to this norm.
2024-07-28feat(std.os.uefi.protocol): add Serial IOMatthew Ettler
2023-11-19lib: correct unnecessary uses of 'var'mlugg
2023-11-09replace deprecated std.math.absCastBogdan Romanyuk
2023-08-25fix compile errors introduced by #16953 (#16955)xdBronch
2023-08-24std.os.uefi: reorganize namespacesAndrew Kelley
This is a breaking change. This commit applies the following rules to std.os.uefi: * avoid redundant names in the namespace such as "protocol.FooProtocol" * don't initialize struct field to undefined. do that at the initialization site if you want that, or create a named constant that sets all the fields to undefined. * avoid the word "data", "info", "context", "state", "details", or "config" in the type name, especially if a word from that category is already in the type name. * embrace tree structure After following these rules, `usingnamespace` disappeared naturally. This commit eliminates 26/53 (49%) instances of `usingnamespace` in the standard library. All these uses were due to not understanding how to properly use namespaces. I did not test this commit. The standard library UEFI code is experimental and pull requests have been accepted with minimal vetting. Users of std.os.uefi will need to submit follow-up pull requests to fix up whatever regressions this commit introduces, this time without abusing namespaces (pun intended).