aboutsummaryrefslogtreecommitdiff
path: root/lib/std/special
AgeCommit message (Collapse)Author
2019-11-24add type coercion: [:x]T to [*:x]TAndrew Kelley
2019-11-24Call DllMain entry point if declaredsyscall0
2019-11-21string literals are now null terminatedAndrew Kelley
this also deletes C string literals from the language, and then makes the std lib changes and compiler changes necessary to get the behavior tests and std lib tests passing again.
2019-11-15add container doc comments to generated docsVexu
2019-11-13std.io.getStdOut and related fns no longer can errorAndrew Kelley
Thanks to the Windows Process Environment Block, it is possible to obtain handles to the standard input, output, and error streams without possibility of failure.
2019-11-08update the codebase to use `@as`Andrew Kelley
2019-11-07make callMainAsync asyncVexu
2019-11-06improve the start code for evented I/OAndrew Kelley
When evented I/O is being used, prevent event loop from terminating at least until main() has returned.
2019-11-05fix noreturn function that may return.Shawn Landden
we do not want undefined behavior here in --release-fast and --release-small modes
2019-11-05remove duplicate isNan implementationShawn Landden
2019-10-31startup code respects root source file's event_loop if presentAndrew Kelley
2019-10-31startup code sets up event loop if I/O mode is declared eventedAndrew Kelley
2019-10-30generated docs: move color to box-shadow CSS propHenry Wu
2019-10-28remove dead tls codeAndrew Kelley
2019-10-28Std docs: Fix a js error that would cause some function to be not renderedTimon Kruiper
2019-10-27generated docs: vertically align fns with commentsHenry Wu
2019-10-23move types from builtin to stdAndrew Kelley
* All the data types from `@import("builtin")` are moved to `@import("std").builtin`. The target-related types are moved to `std.Target`. This allows the data types to have methods, such as `std.Target.current.isDarwin()`. * `std.os.windows.subsystem` is moved to `std.Target.current.subsystem`. * Remove the concept of the panic package from the compiler implementation. Instead, `std.builtin.panic` is always the panic function. It checks for `@hasDecl(@import("root"), "panic")`, or else provides a default implementation. This is an important step for multibuilds (#3028). Without this change, the types inside the builtin namespace look like different types, when trying to merge builds with different target settings. With this change, Zig can figure out that, e.g., `std.builtin.Os` (the enum type) from one compilation and `std.builtin.Os` from another compilation are the same type, even if the target OS value differs.
2019-10-22Merge branch 'master' of https://github.com/ziglang/zig into markdown-rendererFelix Queißner
2019-10-21Merge branch 'stratact-no-dir-allocators'Andrew Kelley
closes #2885 closes #2886 closes #2888 closes #3249
2019-10-21test runner: restore previous behavior of printing all tests passedAndrew Kelley
2019-10-21test runner: restore previous behavior when...Andrew Kelley
...stderr does not support ansi escape codes
2019-10-21test runner: refresh display before running testAndrew Kelley
This makes it so that when a test fails quickly, and writes output, it will do so after the test name is printed.
2019-10-21adjust test runner to print the test name when error occursAndrew Kelley
2019-10-20Starts to implement markdown parser. Implemented: strong, emphasis, ↵Felix Queißner
strikethrough, underline, code blocks, ulist, olist, paragraphs, headings. Planned: Links, Images, internal references.
2019-10-19Merge pull request #3429 from Rocknest/docs-localAndrew Kelley
Design suggestion for generated docs
2019-10-17improve progress reportingAndrew Kelley
* use erase rest of line escape code. * use `stderr.supportsAnsiEscapeCodes` rather than `isTty`. * respect `--color off` * avoid unnecessary recursion * add `Progress.log` * disable the progress std lib test since it's noisy and uses `time.sleep()`. * enable/integrate progress printing with the default test runner
2019-10-17Merge branch 'master' into docs-localRocknest
2019-10-17CleanupRocknest
2019-10-17Changes from masterRocknest
2019-10-16generated docs: progress towards generic types being usefulAndrew Kelley
See #3406
2019-10-15generated docs: further clean up keyboard shortcut handlingAndrew Kelley
now it's harder to introduce a bug when modifying keyboard shortcut code.
2019-10-15fix small misstake, 'escape' v. 'Escape'dtw-waleee
2019-10-15Fix keyboard layout issue with help-modaldtw-waleee
Some keyboard layouts produces a different ev.which value in firefox for ? than 191, eg. the Swedish QWERTY one produces 171. Chrome/chromium doesn't have this issue.
2019-10-12Consistent marginsRocknest
2019-10-11merge targets of generated docsAndrew Kelley
2019-10-10Merge pull request #3421 from LemonBoy/win32-mingwAndrew Kelley
Win32 mingw
2019-10-11Merge branch 'master' into docs-localRocknest
2019-10-11Changes from masterRocknest
2019-10-10generated docs: add optional type supportAndrew Kelley
2019-10-10generated docs: better rendering of unknown declsAndrew Kelley
2019-10-11Merge branch 'master' into docs-localRocknest
2019-10-11Changes from masterRocknest
2019-10-11Fix dark modeRocknest
Additionally introduces css variables
2019-10-10generated docs: clean up type names and param namesAndrew Kelley
closes #3410
2019-10-10generated docs: css: wider tablesAndrew Kelley
2019-10-10Merge branch 'docs-union-enum' of https://github.com/Vexu/zig into ↵Andrew Kelley
Vexu-docs-union-enum
2019-10-10Add transtition to search fieldRocknest
2019-10-10Change layout and stylesRocknest
2019-10-10generated docs: better listing of functionsAndrew Kelley
2019-10-10Generated docs: Add function paramater namesTimon Kruiper