| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-01-19 | SPIR-V: Add glsl450 and vulkan spir-v operating system definitions | Robin Voetter | |
| 2021-01-19 | SPIR-V: Initial architecture definitions and setup | Robin Voetter | |
| 2021-01-18 | Merge pull request #7814 from LemonBoy/fix-7760 | Andrew Kelley | |
| std: Fixed pipe2 fallback | |||
| 2021-01-18 | stage2: use %type not @type for libc stubs | Julian Maingot | |
| Missed a couple places last time so just doing the rest. | |||
| 2021-01-18 | update error return doc | Julian Maingot | |
| Docs were out of sync with code | |||
| 2021-01-18 | std: Add missing cast when calling fcntl w/ constant args | LemonBoy | |
| comptime_int arguments are a big no no. | |||
| 2021-01-18 | std: define pipe2 only for os that support it | LemonBoy | |
| 2021-01-18 | std: Fixed pipe2 fallback | LemonBoy | |
| Use both F_SETFD and F_SETFL depending on what flag we're setting. Closes #7760 | |||
| 2021-01-16 | std.ArrayHashMap: add "AssertDiscard" function variants | Andrew Kelley | |
| * Add `swapRemoveAssertDiscard` * Add `orderedRemoveAssertDiscard` * Deprecate `removeAssertDiscard` | |||
| 2021-01-16 | Merge pull request #7716 from koachan/sparc64-libs | Andrew Kelley | |
| stage1: SPARCv9 f128 enablement | |||
| 2021-01-15 | crypto: add legacy keccak hash functions | Guillaume Ballet | |
| 2021-01-15 | Fix _Qp_cmp definition | Koakuma | |
| 2021-01-15 | Add compiler-rt stub for SPARC CPUs | Koakuma | |
| 2021-01-14 | std.Thread: avoid compile errors for single-threaded OS's | Andrew Kelley | |
| 2021-01-14 | fix namespace of kernel32 function calls | Andrew Kelley | |
| 2021-01-14 | std.Thread.StaticResetEvent: call spinLoopHint appropriately | Andrew Kelley | |
| 2021-01-14 | std.Thread.Mutex: restore the "Held" API | Andrew Kelley | |
| so that std.Thread.Mutex.Dummy can be used as a drop in replacement. | |||
| 2021-01-14 | organize std lib concurrency primitives and add RwLock | Andrew Kelley | |
| * move concurrency primitives that always operate on kernel threads to the std.Thread namespace * remove std.SpinLock. Nobody should use this in a non-freestanding environment; the other primitives are always preferable. In freestanding, it will be necessary to put custom spin logic in there, so there are no use cases for a std lib version. * move some std lib files to the top level fields convention * add std.Thread.spinLoopHint * add std.Thread.Condition * add std.Thread.Semaphore * new implementation of std.Thread.Mutex for Windows and non-pthreads Linux * add std.Thread.RwLock Implementations provided by @kprotty | |||
| 2021-01-13 | std.os.uefi.protocols.FileProtocol: fix and expose get_position, ↵ | Asherah Connor | |
| set_position (#7762) | |||
| 2021-01-12 | Move fmt.testFmt to testing.expectFmt | Jay Petacat | |
| 2021-01-12 | add missing ECONNRESET from getsockoptError | Bill Nagel | |
| 2021-01-12 | Merge pull request #7577 from semarie/emutls | Andrew Kelley | |
| implement emutls inside compiler_rt.zig | |||
| 2021-01-12 | Merge pull request #7714 from mikdusan/target-macos | Andrew Kelley | |
| macos: reimplement OS version detection | |||
| 2021-01-12 | define nfds_t for windows | Bill Nagel | |
| 2021-01-12 | implement emutls in compiler_rt | Sébastien Marie | |
| 2021-01-12 | add pthread_key functions | Sébastien Marie | |
| 2021-01-11 | std.event.Loop: fix race condition when starting the time wheel | Andrew Kelley | |
| closes #7572 | |||
| 2021-01-11 | stage2: cleanups regarding red zone CLI flags | Andrew Kelley | |
| * CLI: change to -mred-zone and -mno-red-zone to match gcc/clang. * build.zig: remove the double negative and make it an optional bool. This follows precedent from other flags, allowing the compiler CLI to be the decider of what is default instead of duplicating the default value into the build system code. * Compilation: make it an optional `want_red_zone` instead of a `no_red_zone` bool. The default is decided by a call to `target_util.hasRedZone`. * When creating a Clang command line, put -mred-zone on the command line if we are forcing it to be enabled. * Update update_clang_options.zig with respect to the recent {s}/{} format changes. * `zig cc` integration with red zone preference. | |||
| 2021-01-11 | Added support for no red zone | Lee Cannon | |
| 2021-01-11 | more fixups | Michael Dusan | |
| - clarify comments - `NativeTargetInfo.detect()` propagate macOS errors - `macos.detect()` drop `std.log` usage | |||
| 2021-01-11 | macos: reimplement OS version detection | Michael Dusan | |
| The macOS version is now obtained by parsing `SystemVersion.plist`. Test cases added for plist files that date back to '2005 Panther and up to the recent '2020 Big Sur 11.1 release of macOS. Thus we are now able to reliably identify 10.3...11.1 and higher. - drop use of kern.osproductversion sysctl - drop use of kern.osversion sysctl (fallback) - drop kern.osversion tests - add `lib.std.zig.system.detect()` - add minimalistic parser for `SystemVersion.plist` - add test cases for { 10.3, 10.3.9, 10.15.6, 11.0, 11.1 } closes #7569 | |||
| 2021-01-11 | std.os.windows.GetFinalPathNameByHandle: remove intermediate buffers | Rohlem | |
| ... and mem.copy operations. Requires slightly larger input buffers than result length. Add helper functions std.mem.alignInBytes and std.mem.alignInSlice. | |||
| 2021-01-11 | std.os.windows.GetFinalPathNameByHandle: remove QueryInformationFile code path | Rohlem | |
| 2021-01-11 | std.os.windows.GetFinalPathNameByHandle: address non-structural review comments | Rohlem | |
| 2021-01-11 | std.os.windows.GetFinalPathNameByHandle: replace kernel32 by ntdll call | Rohlem | |
| Removes the call to kernel32.GetFinalPathNameByHandleW in favor of NtQueryObject, which means we can reuse the other codepath's logic for DOS naming. | |||
| 2021-01-11 | introduce std.os.windows.QueryObjectName | Rohlem | |
| 2021-01-11 | std.os.windows.GetFinalPathNameByHandle: add test | Rohlem | |
| 2021-01-11 | std.os.windows.GetFinalPathNameByHandle: reintroduce kernel32 for compatibility | Rohlem | |
| The NtQueryInformationFile with .FileNormalizedNameInformation is only available in Windows 10 1803 (rs4) and later, however there is probably still another route we can go via ntdll. | |||
| 2021-01-11 | add std.zig.system.windows version check utility functions | Rohlem | |
| 2021-01-11 | move windows runtime version detection into std.zig.system.windows | Rohlem | |
| 2021-01-11 | Add std.fmt.formatDuration and std.fmt.duration (#7297) | Jonathan Knezek | |
| `formatDuration` works on a writer, and `duration` wraps a u64 to allow pleasant injection into format strings. | |||
| 2021-01-11 | Merge pull request #7195 from Aransentin/master | Andrew Kelley | |
| A win32-api proposal, implemented for user32.zig | |||
| 2021-01-11 | std.EarlyEOFReader: rename to LimitedReader | Andrew Kelley | |
| 2021-01-11 | std: use fifo.pump in writeFileAllUnseekable | daurnimator | |
| 2021-01-11 | std: add LimitedReader: reader that returns EOF early | daurnimator | |
| 2021-01-11 | std: use reader.skipBytes to avoid infinite loop in writeFileAllUnseekable | daurnimator | |
| skipBytes correctly handles EOF for us | |||
| 2021-01-11 | std: reader.skipBytes's num_bytes should be a u64 | daurnimator | |
| 2021-01-11 | os/bits/linux: add the termios cc bits | Vincent Rischmann | |
| 2021-01-11 | Merge pull request #7124 from LemonBoy/netstuff1 | Andrew Kelley | |
| std: Decouple network streams from fs.File | |||
| 2021-01-11 | std CityHash: disable memory-expensive tests for now | Andrew Kelley | |
