mlugg
09a84c8384
Update std.Build to new module CLI, update zig1 and CMakeLists
...
Resolves : #14667
2023-02-21 01:59:37 +00:00
mlugg
705d2a3c2c
Implement new module CLI
2023-02-21 01:59:37 +00:00
dweiller
c7c35bf9e6
std.RingBuffer: add (non-concurrent) RingBuffer implementation
2023-02-21 12:58:34 +11:00
dweiller
1c518bd993
std.compress.zstandard: rename ZStandardStream -> DecompressStream
2023-02-21 12:58:27 +11:00
dweiller
12d9f73ce8
std.compress.zstandard: remove use of usingnamespace
2023-02-21 12:09:27 +11:00
dweiller
a34c2de7bc
std.hash: use std.math.rotl in Xxhash64 and Xxhash32
2023-02-21 12:09:27 +11:00
Jakub Konka
dc1f50e505
Merge pull request #14685 from ziglang/bitcast-fixes
...
Bitcast fixes for self-hosted native backends
2023-02-20 23:01:21 +01:00
Andrew Kelley
a933a59ced
Merge pull request #14682 from ziglang/stage1-coverage
...
add test coverage for fixed stage1 bugs
2023-02-20 14:23:37 -05:00
Frank Denis
6214f66dc1
trim(Left|Right): clarify that values_to_strip is a set
...
The parameter could be confused with a prefix or suffix, instead
of a set of values.
2023-02-20 13:55:45 -05:00
Frank Denis
5a7d80a5e7
Linker: -z<arg> should be equivalent to -z <arg> ( #14680 )
...
lld accepts both syntaxes, but we were rejecting (and, before
3f7e9ff597a3514bb1c4f1900027c40682ac9f13, ignoring) the former.
In particular, "cargo-zigbuild" was broken since Rust
unconditionally adds "-znoexecstack" (not "-z noexecstack")
on non-Windows platforms.
Co-authored-by: Andrew Kelley <andrew@ziglang.org>
2023-02-20 16:15:21 +00:00
Loris Cro
99c11cc8cf
Merge pull request #14544 from der-teufel-programming/autodoc-quickfixes
...
autodoc: main.js cleanup and formatting
2023-02-20 16:37:41 +01:00
Loris Cro
dfd182cc7a
Merge pull request #14655 from McSinyx/md-ol
...
autodoc: fix markdown list rendering
2023-02-20 16:33:00 +01:00
Jakub Konka
0aee40bd13
riscv64+sparc64: alloc new mcv in bitcast if cannot reuse operand
2023-02-20 12:19:40 +01:00
Jakub Konka
528c43233f
arm: alloc new mcv in bitcast if cannot reuse operand
2023-02-20 12:13:14 +01:00
Jakub Konka
59a9373c71
aarch64: alloc new mcv in bitcast if cannot reuse operand
2023-02-20 10:52:34 +01:00
Jakub Konka
87d358024f
re-enable x86_64-linux self-hosted behaviour test suite
2023-02-20 10:52:34 +01:00
Jakub Konka
a7de8dc2dd
x86: alloc new mcv in bitcast if cannot reuse operand
...
Implement missing pointees when ptr is in register.
2023-02-20 10:52:26 +01:00
dweiller
a74f800dd7
std.compress.zstandard: update for multi-for-loop change
2023-02-20 16:58:48 +11:00
Andrew Kelley
ec4cd87ed7
add test coverage for fixed bug. closes #5518
2023-02-19 21:18:27 -07:00
Andrew Kelley
e778e47140
add test coverage for fixed bug. closes #5516
2023-02-19 21:18:27 -07:00
Andrew Kelley
680d79ebf9
add test coverage for fixed bug. closes #5508
2023-02-19 21:18:27 -07:00
Andrew Kelley
ffdce5f98c
add test coverage for fixed bug. closes #5497
2023-02-19 21:18:27 -07:00
Andrew Kelley
53104b9165
add test coverage for fixed bug. closes #5410
2023-02-19 21:18:27 -07:00
dweiller
2766b704c1
std.compress.zstandard: add DictionaryIdFlagUnsupported ZstandardStream.Error
2023-02-20 09:09:06 +11:00
dweiller
1a862175d5
std.compress.zstandard: fix zstandardStream content size validation
2023-02-20 09:09:06 +11:00
dweiller
12aa478db0
std.compress.zstandard: also check block size when sequence count is 0
2023-02-20 09:09:06 +11:00
dweiller
a53cf299a6
std.compress.zstandard: add error condition to ring buffer decoding
...
Previously `executeSequenceRingBuffer()` would not verify the offset
against the number of bytes already decoded, so it would happily copy
garbage bytes rather than return an error before the window was filled.
To fix this a new `written_count` is added to the decode state that
tracks the total number of bytes decoded.
2023-02-20 09:09:06 +11:00
dweiller
5a31fc2014
std.compress.zstandard: fix erroneous literal stream empty checks
2023-02-20 09:09:06 +11:00
dweiller
8fd41314bd
std.compress.zstandard: remove unneeded branch
2023-02-20 09:09:06 +11:00
dweiller
476d2fe1fa
std.compress.zstandard: fix zstandardStream finishing early
2023-02-20 09:09:06 +11:00
dweiller
373d8ef26e
std.compress.zstandard: check FSE bitstreams are fully consumed
2023-02-20 09:09:06 +11:00
dweiller
1530e73648
std.compress.zstandard: bytes read assert to error in decodeBlockReader
2023-02-20 09:09:06 +11:00
dweiller
ee5af3c74c
std.compress.zstandard: cleanup high-level api docs and error sets
2023-02-20 09:09:06 +11:00
dweiller
31cc4605ab
std.compress.zstandard: fix errors and crashes in ZstandardStream
2023-02-20 09:09:06 +11:00
dweiller
55e6e9409c
std.compress.zstandard: fix content size check
2023-02-20 09:09:06 +11:00
dweiller
6d48b055af
std.compress.zstandard: add decodeFrameHeader
...
Also do some other minor API cleanup
2023-02-20 09:09:06 +11:00
dweiller
3975a9d7ca
std.compress.zstandard: error when FSE bitstream is no fully consumed
2023-02-20 09:09:06 +11:00
dweiller
77ca1f7859
std.compress.zstandard: remove UnusedBitSet error
2023-02-20 09:09:06 +11:00
dweiller
d9a90e1818
std.compress.zstandard: fix decodeAlloc() and remove decodeFrameAlloc()
2023-02-20 09:09:06 +11:00
dweiller
2134769436
std.compress.zstandard: validate skippable frame size
2023-02-20 09:09:06 +11:00
dweiller
98bbd959b0
std.compress.zstandard: improve block size validation
2023-02-20 09:09:06 +11:00
dweiller
ece52e0771
std.compress.zstandard: verify content size and fix crash
2023-02-20 09:09:06 +11:00
dweiller
a9c8376305
std.compress.zstandard: make ZstandardStream decode multiple frames
2023-02-20 09:09:06 +11:00
dweiller
06ab5a2cd2
std.compress.zstandard: add multi-frame decoding functions
2023-02-20 09:09:06 +11:00
dweiller
a625df4636
std.compress.zstandard: fix fse decoding crash
2023-02-20 09:09:06 +11:00
dweiller
1c509f483a
std.compress.zstandard: fix crashes
2023-02-20 09:09:06 +11:00
dweiller
596a97fb55
std.compress.zstandard: fix crashes
2023-02-20 09:09:06 +11:00
dweiller
a651704876
std.compress.zstandard: free allocated result on error
2023-02-20 09:09:06 +11:00
dweiller
3f1c4306ca
std.compress.zstandard: fix capitalisation of Zstandard
2023-02-20 09:09:06 +11:00
dweiller
ddeabc9aa7
std.compress.zstandard: add decodeFrameAlloc()
2023-02-20 09:09:06 +11:00