| Age | Commit message (Collapse) | Author |
|
The algorithm seemed unusual and I had spent some effort understanding
it, so I thought I'd add a comment.
|
|
closes #1414
std.io.InStream.read now can return less than buffer size
introduce std.io.InStream.readFull for previous behavior
add std.os.File.openWriteNoClobberC
rename std.os.deleteFileWindows to std.os.deleteFileW
remove std.os.deleteFilePosix
add std.os.deleteFileC
std.os.copyFile no longer takes an allocator
std.os.copyFileMode no longer takes an allocator
std.os.AtomicFile no longer takes an allocator
add std.os.renameW
add windows support for std.os.renameC
add a test for std.os.AtomicFile
|
|
|
|
std.io.FileInStream -> std.os.File.InStream
std.io.FileInStream.init(file) -> file.inStream()
std.io.FileOutStream -> std.os.File.OutStream
std.io.FileOutStream.init(file) -> file.outStream()
remove a lot of error code possibilities from os functions
std.event.net.socketRead -> std.event.net.read
std.event.net.socketWrite -> std.event.net.write
add std.event.net.readv
add std.event.net.writev
add std.event.net.readvPosix
add std.event.net.writevPosix
add std.event.net.OutStream
add std.event.net.InStream
add std.event.io.InStream
add std.event.io.OutStream
|
|
|
|
|
|
|
|
|
|
* rand api overhaul
* no retry limits. instead documented a recommendation
to call int(T) % len directly.
|
|
closes #1588
also some small std lib changes regarding posix sockets
and one doc typo fix
|
|
I was looking at the tokenizer specifically fn testTokenize and the
this statement looked odd:
if (@TagType(Token.Id)(token.id) != @TagType(Token.Id)(expected_token_id)) {
I then saw the TODO and thought I'd remove StrLitKind figuring that
would make testTokenize simpler. It did so I thought I'd prepare this PR.
The tests are still working and stage2 zig seems to work, it compiles and
I was able to use the fmt command.
|
|
Changed freeArgs to argsFree.
|
|
|
|
|
|
|
|
BufferOutStream is defined in io.zig
|
|
|
|
closes #1546
|
|
Now that Strict is the default, these calls only add noise.
|
|
|
|
* `CryptAcquireContextA`
* `CryptReleaseContext`
* `CryptGenRandom`
See https://github.com/ziglang/zig/issues/534#issuecomment-422208368
|
|
init-lib creates a working static library with tests, and
init-exe creates a working hello world with a `run` target.
both now have test coverage with the new "cli tests" file.
closes #1035
|
|
|
|
closes #1248
closes #1052
closes #1154
|
|
To make dump testable added dumpToSteam which takes a stream as input
and added the stream as a paraemter to dumpRecursive.
Added test "std.atomic.Queue dump"
And to make the test more robust SliceOutStream.pos is now public. This
allows the user of SliceOutStream to know the length of the data captured.
|
|
This is caused by change 686663239af6afd8dea814a9fe6a8885f06d6cb3 and not
fixed in 832caefc2a1b20deb513d43306d6723670ba9c8f.
|
|
closes #1283
|
|
|
|
closes #1069
|
|
when reading and writing the same file descriptors
|
|
stage1 caching
|
|
|
|
|
|
|
|
closes #1442
zig needed to insert explicit padding into this structure before
it got bitcasted.
|
|
|
|
|
|
Auxillery vectors are not guaranteed to be in any order, this
just happens to work on x86_64.
|
|
From IEEE-754 standard:
Conversion of a quiet NaN in a supported format to an external character sequence
shall produce a language-defined one of “nan” or a sequence that is equivalent except
for case (e.g., “NaN”), with an optional preceding sign. (This standard does not interpret
the sign of a NaN.)
|
|
|
|
arm64 complains about the old value (I added a test)
|
|
|
|
these don't exist on new platforms (such as arm64)
also switch from the deprecated dirent to dirent64
|
|
|
|
|
|
|
|
|
|
closes #1468
|
|
|
|
Add poly1305 and x25519 crypto primitives
|