aboutsummaryrefslogtreecommitdiff
path: root/std
AgeCommit message (Collapse)Author
2018-07-21Very much WIP base implementation for #721.Sahnvour
Currently does: - read COFF executable file - locate and load corresponding .pdb file - expose .pdb content as streams (PDB format)
2018-07-22std.event.tcp: add switch statement in preparation for building-out ↵kristopher tate
abstractions; depends on issue #1274 ;
2018-07-22std.event.tcp: SKIP test instead of OKing test;kristopher tate
tracking issue #1274 ;
2018-07-22std.special.test_runner.zig: make tests skippable;kristopher tate
tracking issue #1274; tests can be skipped by returnning `error.skip` :
2018-07-21std.os.posix: Add SOCK_* for darwin;kristopher tate
Tracking issue #1271;
2018-07-21std.os.posix: Add SYSPROTO_* for darwin;kristopher tate
Tracking issue #1271;
2018-07-21std.os.posix: Add AF_* for darwin;kristopher tate
Tracking issue #1271;
2018-07-20self-hosted: share C++ code for finding libc on windowsAndrew Kelley
2018-07-20Fixed windows getPosJimmi HC
2018-07-20self-hosted: implicit cast comptime ints to other intsAndrew Kelley
we now have successful exit codes from main linking against libc
2018-07-19std.os.File: add missing pub modifiersAndrew Kelley
2018-07-19self-hosted: progress on IR for supporting libc hello worldAndrew Kelley
* add c int types * some more ir stubs
2018-07-18std.zig.parse: fix treating integer literals as string literalsAndrew Kelley
2018-07-18self-hosted: linking against libcAndrew Kelley
also introduce `zig libc` command to display paths `zig libc file.txt` will parse equivalent text and use that for libc paths.
2018-07-18self-hosted: find libc on linuxAndrew Kelley
2018-07-18fix std.os.getAppDataDir test on linuxAndrew Kelley
2018-07-18fix build on windowsAndrew Kelley
* move getAppDataDir and utf16leToUtf8 from self-hosted to std lib * fix std.event.Loop on windows
2018-07-17std.event.Loop.onNextTick dispatches work to waiting threadsAndrew Kelley
2018-07-17Add swapRemoveOrError (#1254)Wink Saville
* Add swapRemoveOrError, this mirrors setOrError.
2018-07-17Give ArrayList tests consistent names (#1253)Wink Saville
The recent change that added swapRemove used std.ArrayList as the test name prefix. Change the other tests to use the same prefix for consistency and making it easier to use --test-filter.
2018-07-17self-hosted: implement getAppDataDir for windowsAndrew Kelley
2018-07-16self-hosted: create tmp dir for .o files and emit .o file for fnAndrew Kelley
2018-07-16remove std.ArrayList.removeOrError functionAndrew Kelley
2018-07-16Merge remote-tracking branch 'origin/master' into llvm7Andrew Kelley
2018-07-16all integer sizes are available as primitivesAndrew Kelley
* fix wrong implicit cast for `@IntType` bit_count parameter. * fix incorrect docs for `@IntType` bit_count parameter. closes #1242 closes #745 closes #1240
2018-07-15self-hosted: generate LLVM IR for simple functionAndrew Kelley
2018-07-14Merge remote-tracking branch 'origin/master' into llvm7Andrew Kelley
2018-07-14Improve realloc on fixed buffer allocator (#1238)Bas van den Berg
* Add test to check re-use of memory * Check if realloc has to reallocate the last allocated memory block. If so extend that block instead of allocating a new one. * Also check if the realloc actually preserves the data.
2018-07-14self-hosted: adding a fn to an llvm moduleAndrew Kelley
2018-07-14Fix aligned reallocation from zero size.Bas van den Berg
2018-07-14Create unit test that tests aligned reallocation.Bas van den Berg
2018-07-14std.ArrayList - rename remove to swapRemoveAndrew Kelley
2018-07-14Added `remove` to ArrayListtgschultz
2018-07-14docs: clarify mem.Allocator.reallocFnAndrew Kelley
2018-07-14Merge pull request #1232 from BarabasGitHub/fix-array-list-insertAndrew Kelley
Fix array list insert
2018-07-13self-hosted: basic IR pass2Andrew Kelley
2018-07-13Add a copyBackwards to fix the broken insert methods for ArrayList.Bas van den Berg
2018-07-13Improve ArrayList insert unit tests.Bas van den Berg
2018-07-12zig fmtAndrew Kelley
2018-07-12self-hosted: generate zig IR for simple functionAndrew Kelley
no tests for this yet. I think the quickest path to testing will be creating the .o files and linking with libc, executing, and then comparing output.
2018-07-11std.event.Future: workaround in tests for llvm coro memoryAndrew Kelley
See #1194
2018-07-11std.atomic: use spinlocksAndrew Kelley
the lock-free data structures all had ABA problems and std.atomic.Stack had a possibility to load an unmapped memory address.
2018-07-11add std.event.FutureAndrew Kelley
This is like a promise, but it's for multiple getters, and uses an event loop.
2018-07-11add compile error for disallowed types in extern structsAndrew Kelley
closes #1218
2018-07-11Add generic comparator generator functions for sortingMarc Tiehuis
- Copy-by-value instead of pointer where appropriate - Clean up old zig fmt issues
2018-07-10self-hosted: first passing testAndrew Kelley
* introduce std.atomic.Int * add src-self-hosted/test.zig which is tested by the main test suite - it fully utilizes the multithreaded async/await event loop so the tests should Go Fast * `stage2/bin/zig build-obj test.zig` is able to spit out an error if 2 exported functions collide * ability for `zig test` to accept `--object` and `--assembly` arguments * std.build: TestStep supports addLibPath and addObjectFile
2018-07-10introduce std.event.Group for making parallel async callsAndrew Kelley
2018-07-10Merge remote-tracking branch 'origin/master' into llvm7Andrew Kelley
2018-07-10allow var args calls to async functionsAndrew Kelley
2018-07-09fix regression from b6eb4048Andrew Kelley