aboutsummaryrefslogtreecommitdiff
path: root/std
AgeCommit message (Collapse)Author
2018-08-03Fix the start-less-than-end assertion in std.rand.Random.range (#1325)Matthew D. Steele
The function returns a value in [start, end), but was asserting start <= end instead of start < end. With this fix, range(1, 1) will now assertion error instead of dividing by zero.
2018-08-02fixups from the mergeAndrew Kelley
2018-08-02Merge remote-tracking branch 'origin/master' into async-fsAndrew Kelley
2018-08-02WIP: Channel.getOrNullAndrew Kelley
2018-08-02pull request fixupsAndrew Kelley
* clean up parser code * fix stage2 parse and render code * remove redundant test * make stage1 compile tests leaner
2018-08-02Merge branch 'handle-builtin-issue1296' of https://github.com/kristate/zig ↵Andrew Kelley
into kristate-handle-builtin-issue1296
2018-08-02fix API of RtlGenRandomAndrew Kelley
2018-08-02Merge branch 'windows-RtlGenRandom-issue1318' of ↵Andrew Kelley
https://github.com/kristate/zig into pr-1319
2018-08-03std/os/windows/util.zig: SKIP instead of PASS on non-windows systems;kristopher tate
Tracking Issue #1318 ;
2018-08-03std/os/index.zig: call getRandomBytes() twice and compare;kristopher tate
Tracking Issue #1318 ;
2018-08-03std/os/index.zig: swap CryptGetRandom() with RtlGenRandom();kristopher tate
Tracking Issue #1318 ;
2018-08-03std/os/windows/advapi32.zig: add SystemFunction036;kristopher tate
Tracking Issue #1318 ;
2018-08-02std/os/index.zig: use "hw.logicalcpu" instead of "hw.ncpu" in macOS; (#1317)kristopher tate
Tracking Issue #1252 ; hw.ncpu was deprecated in macOS. Among 4 new options available (hw.{physicalcpu, physicalcpu_max, logicalcpu, logicalcpu_max}), hw.logicalcpu was chosen because it actually reflects the number of logical cores the OS sees.
2018-08-02std/event: directly return @handle();kristopher tate
Tracking Issue #1296 ;
2018-08-02std/zig/parser_test.zig: update test to reflect that the promise symbol is ↵kristopher tate
no in scope with suspend; Tracking Issue #1296 ;
2018-08-02std/event/tcp.zig: remove promise_symbol from suspend and use @handle();kristopher tate
Tracking Issue #1296 ;
2018-08-02std/event/loop.zig: remove promise_symbol from suspend and use @handle();kristopher tate
Tracking Issue #1296 ;
2018-08-02std/event/lock.zig: remove promise_symbol from suspend and use @handle();kristopher tate
Tracking Issue #1296 ;
2018-08-02std/event/group.zig: remove promise_symbol from suspend and use @handle();kristopher tate
Tracking Issue #1296 ;
2018-08-02std/event/future.zig: remove promise_symbol from suspend and use @handle();kristopher tate
Tracking Issue #1296 ;
2018-08-02std/event/channel.zig: remove promise_symbol from suspend and use @handle();kristopher tate
Tracking Issue #1296 ;
2018-08-01add std.event.RwLock and a few more std changesAndrew Kelley
* add std.event.RwLock and std.event.RwLocked * std.debug.warn does its printing locked * add std.Mutex, however it's currently implemented as a spinlock * rename std.event.Group.cancelAll to std.event.Group.deinit and change the docs and assumptions. * add std.HashMap.clone
2018-08-01Add integer binary output format (#1313)Marc Tiehuis
2018-07-31simpler std.event.Lock implementationAndrew Kelley
2018-07-31Merge remote-tracking branch 'origin/master' into llvm7Andrew Kelley
2018-07-31std.fmt.format: add '*' for formatting things as pointersAndrew Kelley
closes #1285
2018-07-30std: file system watching for linuxAndrew Kelley
2018-07-30self-hosted: use std.event.fs.readFileAndrew Kelley
2018-07-30introduce std.event.fs for async file system functionsAndrew Kelley
only works on linux so far
2018-07-30Merge pull request #1307 from ziglang/cancel-semanticsAndrew Kelley
improved coroutine cancel semantics
2018-07-29fix cancel and await semanticsAndrew Kelley
2018-07-29add SliceOutStream, rename SliceStream to SliceInStream (#1301)dbandstra
2018-07-28add skipBytes function to InStreamdbandstra
this reads N bytes, discarding their values
2018-07-28add int writing functions to OutStreamdbandstra
added: writeInt, writeIntLe, and writeIntBe
2018-07-28make some functions in std.event.Loop publicAndrew Kelley
2018-07-24fix race conditions in self-hosted compiler; add testAndrew Kelley
* fix race condition in std.event.Channel deinit * add support to zig build for --no-rosegment * add passing self-hosted compare-output test for calling a function * put a global lock on LLD linking because it's not thread safe
2018-07-23std.io: PeekStream and SliceStreamNathan Sharp
SliceStream is a read-only stream wrapper around a slice of bytes. It allows adapting algorithms which work on InStreams to in-memory data. PeekStream is a stream wrapper which allows "putting back" bytes into the stream so that they can be read again. This will help make look-ahead parsers easier to write.
2018-07-24Merge remote-tracking branch 'origin/master' into llvm7Andrew Kelley
2018-07-24self-hosted: find all libc paths; windows linker codeAndrew Kelley
2018-07-23macho backtraces - use std.sort.sort instead of insertion sortAndrew Kelley
it's way faster
2018-07-23Merge remote-tracking branch 'origin/master' into self-hosted-libc-hello-worldAndrew Kelley
2018-07-23self-hosted: fix error messages not cleaning up correctlyAndrew Kelley
2018-07-23self-hosted: add first compare-output testAndrew Kelley
2018-07-22self-hosted can compile libc hello worldAndrew Kelley
2018-07-22add std.math.big.Int.fitsInTwosCompAndrew Kelley
so that we can pass runtime-known values
2018-07-22Add big int fits function (#1279)Marc Tiehuis
Returns whether the current value in an Int fits in the requested type.
2018-07-22Tighten Int.to bounds and add twos-complement bitcountMarc Tiehuis
2018-07-22re-organize std lib darwin filesAndrew Kelley
2018-07-21Merge branch 'posix-darwin-issue1271' of https://github.com/kristate/zig ↵Andrew Kelley
into kristate-posix-darwin-issue1271
2018-07-21rename error.skip to error.SkipZigTestAndrew Kelley
also print stats at the end of test runner