aboutsummaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)Author
2020-04-01std: use std.ArrayList(u8).OutStream instead of std.Buffer.OutStreamdaurnimator
2020-03-30std lib API deprecations for the upcoming 0.6.0 releaseAndrew Kelley
See #3811
2020-03-26ci: fix aarch64 linuxAndrew Kelley
This patch adds a workaround for #4822, disables one failing langref example, and enables the rest of the test suite. You win some, you lose some.
2020-03-24Merge remote-tracking branch 'origin/llvm10'Andrew Kelley
LLVM 10 was released today
2020-03-23Merge pull request #4741 from momumi/masterAndrew Kelley
allow `_` separators in number literals (stage 1)
2020-03-19Merge remote-tracking branch 'origin/master' into llvm10Andrew Kelley
2020-03-19test & docs fixups to work with new semanticsAndrew Kelley
2020-03-18fix swapped logic for WindowsAndrew Kelley
Remove `std.fs.deleteTree`. Callers instead should use `std.fs.cwd().deleteTree`. Add `std.fs.deleteTreeAbsolute` for when the caller has an absolute path.
2020-03-15allow `_` separators in number literals (stage 1)momumi
* Underscores `_` may be placed between two digits in a int/float literal * Consecutive underscores are not allowed * Fixed parsing bug in exponents of hexadecimal float literals. Exponents should always be base 10, but hex characters would be parsed inside the exponent and everything after them would be ignored. eg: `0x1.0p1ab1` would be parsed as `0x1.0p1`.
2020-03-14fix docgen, which relied on stdout being path to binaryAndrew Kelley
2020-03-13Merge remote-tracking branch 'origin/master' into llvm10Andrew Kelley
2020-03-12Merge pull request #4707 from Vexu/small-atomicsAndrew Kelley
Support atomic operations with bools and non power of two integers
2020-03-11fix codegen, update docsVexu
2020-03-10fix regressions found by test suiteAndrew Kelley
2020-03-07Merge remote-tracking branch 'origin/master' into llvm10Andrew Kelley
2020-03-06fix `@embedFile` docsAndrew Kelley
2020-03-04update docs for `@TypeOf`Andrew Kelley
2020-03-04Merge remote-tracking branch 'origin/master' into llvm10Andrew Kelley
2020-03-03docs: remove reference to deprecated builtinsAndrew Kelley
closes #3959
2020-03-03update docgen to new std.fs APIAndrew Kelley
2020-03-03Merge remote-tracking branch 'origin/master' into llvm10Andrew Kelley
2020-02-28update docs to latest Target APIAndrew Kelley
2020-02-28update docgen to new Target APIAndrew Kelley
2020-02-28separate std.Target and std.zig.CrossTargetAndrew Kelley
Zig now supports a more fine-grained sense of what is native and what is not. Some examples: This is now allowed: -target native Different OS but native CPU, default Windows C ABI: -target native-windows This could be useful for example when running in Wine. Different CPU but native OS, native C ABI. -target x86_64-native -mcpu=skylake Different C ABI but otherwise native target: -target native-native-musl -target native-native-gnu Lots of breaking changes to related std lib APIs. Calls to getOs() will need to be changed to getOsTag(). Calls to getArch() will need to be changed to getCpuArch(). Usage of Target.Cross and Target.Native need to be updated to use CrossTarget API. `std.build.Builder.standardTargetOptions` is changed to accept its parameters as a struct with default values. It now has the ability to specify a whitelist of targets allowed, as well as the default target. Rather than two different ways of collecting the target, it's now always a string that is validated, and prints helpful diagnostics for invalid targets. This feature should now be actually useful, and contributions welcome to further improve the user experience. `std.build.LibExeObjStep.setTheTarget` is removed. `std.build.LibExeObjStep.setTarget` is updated to take a CrossTarget parameter. `std.build.LibExeObjStep.setTargetGLibC` is removed. glibc versions are handled in the CrossTarget API and can be specified with the `-target` triple. `std.builtin.Version` gains a `format` method.
2020-02-25Merge remote-tracking branch 'origin/master' into llvm10Andrew Kelley
2020-02-25remove `@IntType` and `@ArgType` (mostly) from the compilerVexu
2020-02-24remove uses of `@ArgType` and `@IntType`Vexu
2020-02-24remove `@typeId`, `@memberCount`, `@memberName` and `@memberType` from the ↵Vexu
compiler
2020-02-23remove @bytesToSlice, @sliceToBytes from tests, docsxackus
2020-02-18docs: Fix wrong extern fn definitionLemonBoy
2020-02-10Merge remote-tracking branch 'origin/master' into llvm10Andrew Kelley
2020-02-08fix regression in docgenAndrew Kelley
I used the wrong function here
2020-02-07more carefully calculate llvm field indexesAndrew Kelley
more correctly solves #4403
2020-02-03Merge remote-tracking branch 'origin/master' into llvm10Andrew Kelley
2020-01-30drop @newStackCallAndrew Kelley
this was causing unrelated behavior tests to fail. if this commit is reverted, the docs are good, but `@newStackCall` is already deprecated in favor of `@call`, supplying the `stack` property.
2020-01-29Merge remote-tracking branch 'origin/master' into llvm10Andrew Kelley
2020-01-29Update docs to reflect new testing.allocator usageBenjamin Feng
2020-01-29Promoted "leak_count_allocator" to the main testing.allocatorBenjamin Feng
2020-01-29Add explicit free to docsBenjamin Feng
2020-01-29Create leak_count_allocatorBenjamin Feng
2020-01-29Move debug.global_allocator to testing.allocatorBenjamin Feng
2020-01-27Update langref.html.inZac
Fix typo
2020-01-22Merge remote-tracking branch 'origin/master' into llvm10Andrew Kelley
2020-01-17Merge pull request #4191 from Vexu/non-exhaustive-enumsAndrew Kelley
Implement non-exhaustive enums
2020-01-16implement `@bitSizeOf`Vexu
2020-01-16Merge remote-tracking branch 'origin/master' into llvm10Andrew Kelley
2020-01-16turn panics into compile errors, require at least 1 field in non-exhaustive enumVexu
2020-01-15add non-exhaustive enum to langrefVexu
2020-01-15disallow multiline strings in test and library namesVexu
2020-01-14[docs] Add libc dependency to sentinel-term ptr exampleShritesh
Fixes "dependency on library c must be explicitly specified in the build command" error