aboutsummaryrefslogtreecommitdiff
path: root/std
AgeCommit message (Collapse)Author
2019-06-10std: Add singly linked listdaurnimator
2019-06-10std: existing LinkedList is actually a TailQueuedaurnimator
2019-06-10Merge pull request #2525 from daurnimator/uringAndrew Kelley
std: linux uring kernel interfaces
2019-06-10std: add linux kernel definitions for io_uringdaurnimator
2019-06-10std: add linux kernel_rwf type and preadv2+pwritev2daurnimator
2019-06-10std: testing.expectEqual on structs now worksdaurnimator
2019-06-10fix array literal syntaxAndrew Kelley
2019-06-10std: add math.isPowerOfTwodaurnimator
2019-06-10Merge branch 'sfc64' of https://github.com/Sahnvour/zig into Sahnvour-sfc64Andrew Kelley
2019-06-10fix build on macosAndrew Kelley
2019-06-09different array literal syntax when inferring the sizeAndrew Kelley
old syntax: []i32{1, 2, 3} new syntax: [_]i32{1, 2, 3} closes #1797
2019-06-09implementation of the Sfc64 RNG from PractRandSahnvour
2019-06-09allow comptime_int in math.shl and math.shrSahnvour
2019-06-08add bcmp implementation as LLVM 9 now emits thoseShawn Landden
The optimizer will now convert calls to memcmp into a calls to bcmp in some circumstances. Users who are building freestanding code (not depending on the platform’s libc) without specifying -ffreestanding may need to either pass -fno-builtin-bcmp, or provide a bcmp function. http://llvm.org/docs/ReleaseNotes.html#non-comprehensive-list-of-changes-in-this-release
2019-06-06Merge pull request #2628 from emekoi/error-unexpectedAndrew Kelley
windows.unexpectedError prints a human friendly string
2019-06-06Merge pull request #2630 from squeek502/hashmap-pow2Andrew Kelley
std.HashMap: optimize by taking advantage of power of two capacity
2019-06-05std.HashMap: use std.math.ceilPowerOfTwoRyan Liptak
2019-06-05std.HashMap: optimize indexing by avoiding modulo operatorRyan Liptak
x % y can be optimized if y is a power of two by doing x & (y-1) instead. HashMap already enforces power of two capacity, so we can take advantage of this optimization.
2019-06-05switched to fixed-length buffer for error messagesemekoi
2019-06-05fixed mismatched typesemekoi
2019-06-05updated std.c.{freebsd, netbsd} to usingnamespaceemekoi
2019-06-05removed duplicate definitionsemekoi
2019-06-05windows.unexpectedError prints a human friendly stringemekoi
2019-06-04Merge pull request #2617 from squeek502/ceil-power-of-twoAndrew Kelley
std.math: Add ceilPowerOfTwo and ceilPowerOfTwoPromote
2019-06-04std.math: Clarify ceilPowerOfTwo inputs and disallow zero as an inputRyan Liptak
2019-06-04Added LineComment support when MultiLines are used in ArrayInitTimon Kruiper
also added the corresponding testcase
2019-06-04std.os.mmap: update doc comments for previous commitsAndrew Kelley
2019-06-04Merge pull request #2581 from LemonBoy/misc-stuffAndrew Kelley
Miscellaneous stdlib changes
2019-06-02std.math: Add ceilPowerOfTwo and ceilPowerOfTwoPromoteRyan Liptak
Closes #2426
2019-06-01fixed Deserializer.alignToByte() and added test coveragetgschultz
2019-05-31Move dl_iterate_phdr to os.zigLemonBoy
2019-05-31Remove length restriction in mmap wrapperLemonBoy
2019-05-30Correct flag definitions for arm64LemonBoy
2019-05-30Fix some syscalls on arm64LemonBoy
2019-05-30update load dynamic library test for std lib changesAndrew Kelley
2019-05-29Fix fmt.zig handling of slices of slicestgschultz
Discovered while calling testing.expectError on an error union with payload [][]const u8. Even though the payload was not going to be printed, the current format handling caused a compile error anyway because it couldn't be casted to []const u8. The new handling treats a []u8 as a string but otherwise treats the slice as a pointer.
2019-05-29std.meta/trait: def/definition => decl/declarationtgschultz
TypeInfo: defs/Definition => decls/Declarations
2019-05-29improve the libc of wasm32-freestanding targetAndrew Kelley
* introduce wasm32-freestanding-musl .h files to fix conflicts with stddef.h and errno.h * fix an issue with zig build system regarding installation of webassembly libraries * add implementations to zig's libc: - strcmp - strncmp - strerror - strlen See #514
2019-05-29Correct formatting for multiline string in arraysTimon Kruiper
2019-05-29LinuxDynLib: remove MAP_LOCKED flagNBonaparte
2019-05-29Merge pull request #2567 from emekoi/fix-dynlibAndrew Kelley
remove allocator from DynLib
2019-05-29Merge pull request #2546 from LemonBoy/sigaltstackAndrew Kelley
Add sigaltstack syscall for Linux
2019-05-29run zig fmt to update `use` to `usingnamespace`Andrew Kelley
2019-05-29zig fmt: fix 2 bugs of mangling source filesAndrew Kelley
2019-05-29change `use` to `usingnamespace`Andrew Kelley
See #2014 `use` syntax is still accepted for now. `zig fmt` automatically updates code. After a release cycle the old syntax will be removed.
2019-05-29Add missing sigaltstack definition for darwinLemonBoy
2019-05-29Add sigaltstack wrapper in os.zigLemonBoy
2019-05-28no "use of undeclared identifer" in dead comptime branchesAndrew Kelley
2019-05-28thread.spawn: bubble up mprotect error.OutOfMemoryAndrew Kelley
2019-05-28Add a guard page for each threadLemonBoy