Andrew Kelley
11a81bc659
std.tar.Writer: delete ill-advised API
...
dependency on time is sus
2025-07-22 17:07:03 -07:00
Andrew Kelley
ec5cdb2fe3
std: fix deprecated writer not handling the buffer
2025-07-22 17:06:25 -07:00
Matthew Lugg
687370237f
llvm: fix switch loop on larger than pointer integer
2025-07-22 14:50:22 -04:00
Andrew Kelley
91640f5f81
give the Reader API adapter a buffer
...
it needs one or else it always asserts
2025-07-22 09:41:44 -07:00
Andrew Kelley
6ae1bcd8bd
fix docs wasm std.tar API usage
2025-07-22 09:41:44 -07:00
Andrew Kelley
cc334b4ee2
std.tar.Writer: fix 32-bit
2025-07-22 09:41:44 -07:00
Andrew Kelley
1dcea220a4
std.tar: update to new I/O API
2025-07-22 09:41:44 -07:00
Andrew Kelley
2ac81c76e3
std.Io: add deprecation warnings
2025-07-22 09:41:43 -07:00
Andrew Kelley
af0a02a2de
std.Io: delete FindByteWriter
...
dead
2025-07-22 09:41:43 -07:00
Andrew Kelley
03a6892189
std.Io: delete ChangeDetectionStream
...
dead code
2025-07-22 09:41:43 -07:00
Andrew Kelley
d9a5a3e8c5
std.Io: delete MultiWriter
...
nah
2025-07-22 09:41:43 -07:00
Andrew Kelley
abed0f5129
std.Io: delete BufferedAtomicFile
...
this is now redundant
2025-07-22 09:41:43 -07:00
Andrew Kelley
a3efdd7279
std.Io: delete StreamSource
...
it shan't be missed
2025-07-22 09:41:43 -07:00
Andrew Kelley
d509bc933f
std.Io: delete CWriter
...
it shan't be missed
2025-07-22 09:41:43 -07:00
Andrew Kelley
f34b4780b7
Merge pull request #24521 from ziglang/fs-streaming
...
std.fs.File: delete writeFileAll and friends
2025-07-22 18:40:11 +02:00
Andrew Kelley
34d2778239
std.fs.File.Reader.sendFile: fix 32-bit freebsd
2025-07-22 09:39:24 -07:00
IOKG04
84ae54fbe6
@rem() and @mod() take denominator != 0, not just denominator > 0
...
https://github.com/ziglang/zig/issues/23635
I also added tests for `@rem()` with `denominator < 0` cause there were none before
I hope I added them in the correct place, if not I can change it ofc
2025-07-22 13:35:55 +02:00
IOKG04
a91b4aab73
error return traces are *not* enabled for ReleaseSafe
...
https://github.com/ziglang/zig/issues/24232
2025-07-22 12:35:46 +02:00
IOKG04
3c046ab9d9
[:x]T coerces into [*:x]T
...
https://github.com/ziglang/zig/issues/9628
2025-07-22 12:30:19 +02:00
Andrew Kelley
76fe518d49
std.fs.File.Reader.sendFile: fix EndOfStream detection
2025-07-21 23:33:19 -07:00
Andrew Kelley
c41ac8f19e
Merge pull request #24534 from ziglang/fix-missed-opvs
...
Sema: fix missed simplifications of OPVs
2025-07-22 06:29:58 +02:00
Andrew Kelley
96cbdd145d
std.fs.File.Reader: fix sendFile logic
...
it wasn't accounting for both writer and reader buffering
2025-07-21 20:00:45 -07:00
Andrew Kelley
b35c55e237
std.fs.File.Reader: fix seek position logic
2025-07-21 18:14:21 -07:00
Andrew Kelley
7d02b693be
Sema: fix missed block OPV
2025-07-21 16:43:30 -07:00
Andrew Kelley
85b997b346
Sema: fix missed error union OPV
2025-07-21 16:11:26 -07:00
Andrew Kelley
63f672d322
Sema: fix missed union access OPV
2025-07-21 16:07:20 -07:00
Andrew Kelley
cb6702f42d
Sema: fix missed union init OPV
2025-07-21 15:56:52 -07:00
Andrew Kelley
0958ea3391
Sema: fix missed slice access OPV
2025-07-21 15:45:17 -07:00
Andrew Kelley
71a9b35c0f
Sema: fix missed pointer access OPV
2025-07-21 15:34:57 -07:00
Andrew Kelley
fe10c66d66
std.fs.File.Reader: only fcopyfile if size available
2025-07-21 12:32:37 -07:00
Andrew Kelley
38559e282b
disable failing test
...
tracked by #24524
2025-07-21 12:32:37 -07:00
Andrew Kelley
f1576ef14c
objcopy: delete most of it
...
this code is not up to zig project standards
tracked by #24522
oh, and fix not adjusting buffer seek position in std.fs.File.Reader
2025-07-21 12:32:37 -07:00
Andrew Kelley
f2a3ac7c05
std.fs.File: delete writeFileAll and friends
...
please use File.Writer for these use cases
also breaking API changes to std.fs.AtomicFile
2025-07-21 12:32:37 -07:00
Andrew Kelley
5df52ca0a2
build runner: print newline before summary
2025-07-21 12:32:37 -07:00
Andrew Kelley
c8c59d7ba5
std.json: delete dead API
2025-07-21 12:32:37 -07:00
Andrew Kelley
9abc3232a8
std.fs.File.Reader: fix missed advance writer positions
2025-07-21 13:08:43 +02:00
Andrew Kelley
f97c91ddb5
std.Thread: don't spin
2025-07-21 05:37:51 +02:00
Andrew Kelley
e4abdf5a13
std.Io.Reader: fix takeStruct/peekStruct packed
...
closes #24516
2025-07-20 11:23:12 -07:00
Kendall Condon
f657767b60
langref: upgrade grammar.y for asm clobber change
2025-07-20 19:37:41 +02:00
Carl Åstholm
ca57115da7
Support passing std.zig.BuildId to b.dependency()
2025-07-20 18:28:36 +02:00
Carl Åstholm
2c1a349fb9
Support passing enum slices to b.dependency()
2025-07-20 18:28:36 +02:00
Carl Åstholm
fd5eba9358
Coerce slice-like arguments passed to b.dependency()
...
You can now pass string literals as options.
2025-07-20 18:28:36 +02:00
Carl Åstholm
1a9fae2a70
Dupe string options
2025-07-20 18:28:36 +02:00
Carl Åstholm
e7604bba3e
Serialize float options using the hexadecimal format
...
This ensures no information is lost when the value is round-tripped.
2025-07-20 18:28:36 +02:00
Carl Åstholm
5380e81924
Support passing null to b.dependency()
...
Both null literals and optionals are supported.
2025-07-20 18:28:36 +02:00
Carl Åstholm
00bc72b5ff
Add standalone test case for passing options to dependencies
2025-07-20 18:28:36 +02:00
Carl Åstholm
b92b55ab8e
Update test build.zig.zon files to conform to the new manifest rules
2025-07-20 18:28:36 +02:00
antlilja
14bb533203
use stdout_buffer instead of stdio_buffer in main.zig
2025-07-20 18:27:01 +02:00
Andrew Kelley
8373788c4c
Merge pull request #24488 from ziglang/more
...
std.zig: finish updating to new I/O API
2025-07-20 11:24:41 +02:00
Marc Tiehuis
4780cc50cf
std.Io.Writer: support alignment for {t} specifier
2025-07-20 10:30:17 +02:00