aboutsummaryrefslogtreecommitdiff
path: root/std
AgeCommit message (Collapse)Author
2019-03-08PriorityQueue: add bulk insertion methodsJohn Schmidt
2019-03-07Merge branch 'glibc'Andrew Kelley
See #514
2019-03-07disable some tests until coroutine rewrite is finishedAndrew Kelley
2019-03-07multi-arch glibc headersAndrew Kelley
2019-03-05add popcountdi2 to compiler_rtAndrew Kelley
2019-03-05std.os.changeCurDir no longer needs an allocatorAndrew Kelley
2019-03-04Merge remote-tracking branch 'origin/master' into llvm8Andrew Kelley
2019-03-03fix build.zig not respecting --staticAndrew Kelley
closes #2027
2019-03-03fix check for 64-bit arm platforms with new targetssjdh02
2019-03-02rename std lib files to new conventionAndrew Kelley
2019-03-02@returnAddress and @frameAddress return usize nowAndrew Kelley
2019-03-02all integers returned by @typeInfo are now comptime_intSahnvour
2019-03-02compile error for import outside package pathAndrew Kelley
closes #2024 there's a new cli option `--main-pkg-path` which you can use to choose a different root package directory besides the one inferred from the root source file and a corresponding build.zig API: foo.setMainPkgPath(path)
2019-03-02disable tests which are tripping an llvm assertionAndrew Kelley
See #2019
2019-03-01Merge pull request #2020 from ziglang/kill-namespace-typeAndrew Kelley
remove the (namespace) type and make every file an empty struct
2019-03-01fix dependency loops, pub, tests, use decls, root sourceAndrew Kelley
* fix dependency loop detection - closes #679 - closes #1500 * fix `pub` * fix tests * fix use decls * main package file gets a special "" namespace path
2019-02-28add mprotect syscallAndrew Kelley
2019-02-28remove namespace type; files are empty structsAndrew Kelley
closes #1047
2019-02-26fix .gitignore file and add commit missing std lib fileAndrew Kelley
2019-02-26add builder.addFmt API and use it to test stage1 zig fmtAndrew Kelley
closes #1968
2019-02-26breaking changes to the way targets work in zigAndrew Kelley
* CLI: `-target [name]` instead of `--target-*` args. This matches clang's API. * `builtin.Environ` renamed to `builtin.Abi` - likewise `builtin.environ` renamed to `builtin.abi` * stop hiding the concept of sub-arch. closes #1526 * `zig targets` only shows available targets. closes #438 * include all targets in readme, even those that don't print with `zig targets` but note they are Tier 4 * refactor target.cpp and make the naming conventions more consistent * introduce the concept of a "default C ABI" for a given OS/Arch combo. As a rule of thumb, if the system compiler is clang or gcc then the default C ABI is the gnu ABI.
2019-02-26Add priority queueJohn Schmidt
2019-02-25zig build: 2 improvementsAndrew Kelley
* `linkLibrary` will make the target depend on libc if the source does * when building C source file(s), don't try to generate .h files
2019-02-25building DLLs on Windows works betterAndrew Kelley
2019-02-25first class support for compiling C codeAndrew Kelley
New CLI parameter: --c-source [options] [file] It even works with `--cache on` when there are transitive dependencies. Instead of `builder.addCExecutable`, use `builder.addExecutable` and pass `null` for the root source file. Then use `builder.addCSourceFile`, which takes the path to the C code, and a list of C compiler args. Be sure to linkSystemLibrary("c") if you want libc headers to be available. Merge TestStep into LibExeObjStep. That was long overdue.
2019-02-23fix `zig fmt` arg0 handled incorrectlyAndrew Kelley
2019-02-23introduce std.debug.captureStackTraceAndrew Kelley
and fix the implementation of writeStackTrace it was printing the first frame in the wrong place
2019-02-21Use valgrind marks from Allocatordaurnimator
2019-02-20std: when a FixedBufferAllocator is initialised, set the buffer to undefineddaurnimator
2019-02-20std: Add valgrind moduledaurnimator
2019-02-19remove --no-rosegment workaround now that valgrind bug is fixedAndrew Kelley
See #896 Zig 0.3.0+ and Valgrind 3.14+ do not need the workaround.
2019-02-18zig fmt: fix infix operator before multiline string literalAndrew Kelley
2019-02-18export _mh_execute_header with weak linkageAndrew Kelley
* also fix extern variables with initialiaztion values to generate runtime code * remove the workaround in example/shared_library/mathtest.zig * introduce the ability for global variables to have Weak and LinkOnce linkage * fix `@export` to work for non-functions. this code needs to be audited though. * fix comptime ptrcast not keeping bigger alignment * fix linker warnings when targeting darwin closes #1903
2019-02-18Fixed std.testing.expectEqualJimmi HC
2019-02-18Merge pull request #1972 from coypoop/netbsdAndrew Kelley
Add NetBSD support
2019-02-17fix openWriteNoClobber and add testQuetzal Bradley
2019-02-17Don't provide a bogus definition of EVFILT_USERMaya Rashish
2019-02-17Fix std.math.powi so powi(x, +-0) = 1 for any x.Benoit Jauvin-Girard
2019-02-17freebsd: fix pointer cast in mmapMaya Rashish
2019-02-17Add NetBSD supportMaya Rashish
Mostly picking the same paths as FreeBSD. We need a little special handling for crt files, as netbsd uses its own (and not GCC's) for those, with slightly different names.
2019-02-17fixupsAndrew Kelley
2019-02-16fix BufferedInStream not reading delayed inputsjdh02
2019-02-16fmt_runner: remove redundant checkAndrew Kelley
2019-02-16bring zig fmt to stage1Andrew Kelley
2019-02-16Merge pull request #1958 from ziglang/parse-floatMarc Tiehuis
Add float parsing support to std
2019-02-15breaking: fix @sizeOf to be alloc size rather than store sizeAndrew Kelley
* Fixes breaches of the guarantee that `@sizeOf(T) >= @alignOf(T)` * Fixes std.mem.secureZero for integers where this guarantee previously was breached * Fixes std.mem.Allocator for integers where this guarantee previously was breached Closes #1851 Closes #1864
2019-02-15Merge pull request #1965 from ziglang/c-pointer-typeAndrew Kelley
implement C pointers
2019-02-14darwin: fix pointer cast in mmapAndrew Kelley
2019-02-15Use official llvm mirror for compiler-rt commit refMarc Tiehuis
2019-02-15Make parseFloat stricter in what it accepts as inputMarc Tiehuis