Commit Graph

  • e2338edb47 Sema: fix single-range switch prong capture Justus Klausecker 2026-01-11 20:02:27 +01:00
  • 76dd39d531 Merge pull request 'frontend: rewrite switch logic' (#30776) from justusk/zig:have-you-tried-switching-it-off-and-on-again into master mlugg 2026-01-11 19:44:24 +01:00
  • 01546e68cd compiler: handle switch rewrite review feedback Matthew Lugg 2026-01-11 14:27:00 +00:00
  • 3a4a7d2ca3 Sema: minor cleanup (the second) Matthew Lugg 2026-01-11 13:31:22 +00:00
  • 9a225456cb Sema: minor cleanup Matthew Lugg 2026-01-11 13:24:22 +00:00
  • ed1268d0e6 Zir: simplify '_' prong of 'switch' statements Matthew Lugg 2026-01-11 13:16:25 +00:00
  • 8ec4c5cb13 Sema: evaluate switch items at comptime Matthew Lugg 2026-01-11 11:36:51 +00:00
  • 078e100573 wasm: fix getting pointer type instead of error union type for is_err_ptr Justus Klausecker 2026-01-10 18:18:48 +01:00
  • dbfeade221 Sema: better switch_block_err_union result location if operand has wrong type Justus Klausecker 2026-01-10 18:17:58 +01:00
  • 2e99c3042e test: add some more switch regression tests Justus Klausecker 2026-01-10 15:38:31 +01:00
  • 2479966df2 Sema: fix integration with Io.Threaded Justus Klausecker 2026-01-10 15:31:55 +01:00
  • 5a376d97d4 langref: document new switch features Justus Klausecker 2026-01-10 14:57:23 +01:00
  • 0b3b536f18 test: re-enable packed struct field type behavior test Justus Klausecker 2026-01-10 14:24:28 +01:00
  • bce7e7a52b AstGen: Re-allow labeled break from loop else block targeting its label Justus Klausecker 2026-01-09 08:04:26 +01:00
  • 39ca03e515 test: disable packed struct field type behavior test Justus Klausecker 2026-01-09 07:12:40 +01:00
  • b79bd31356 Sema: rework switch_block[_ref/_err_union] logic Justus Klausecker 2026-01-09 05:04:58 +01:00
  • d94137d23f src/Type: make doc comments prettier :) Justus Klausecker 2026-01-09 04:49:00 +01:00
  • 6e35138901 all: prefer else => |e| return e, over else => return err, Justus Klausecker 2026-01-09 04:43:31 +01:00
  • 9e949f95c1 Sema: enhance comptime is_non_err resolution Justus Klausecker 2026-01-07 17:16:36 +01:00
  • 5b00e24b6e frontend: rework switch ZIR Justus Klausecker 2026-01-07 17:07:34 +01:00
  • 00d4f3c001 Liveness: improve logging Justus Klausecker 2026-01-07 17:07:24 +01:00
  • 42dea36ce9 llvm: fix jump table gen for labeled switch with single else prong Justus Klausecker 2025-12-30 23:47:46 +01:00
  • d840bb5118 AstGen: improve ergonomics of Scope Justus Klausecker 2025-12-17 20:01:36 +01:00
  • e0108dec54 AstGen: allow labels to provide separate break and continue targets Justus Klausecker 2025-12-17 16:43:28 +01:00
  • aa2b178029 disallow switch case capture discards David Rubin 2025-10-04 12:04:42 -07:00
  • 4cf7dc22fa Expand the errors that act as "sym links can't be created" on Windows Ryan Liptak 2026-01-07 20:47:08 -08:00
  • b4831403c9 fileRead functions: handle INVALID_FUNCTION on Windows and map it to error.IsDir Ryan Liptak 2026-01-08 16:51:20 -08:00
  • d08098861f Fix RENAME_INFORMATION.toBuffer returning sizes below the minimum recognized size Ryan Liptak 2026-01-08 02:18:43 -08:00
  • c434599134 Merge pull request 'std.process: add PermissionDenied to ProtectMemoryError (for OpenBSD)' (#30781) from alexrp/zig:openbsd-mprotect-immutable into master Alex Rønne Petersen 2026-01-11 09:43:01 +01:00
  • 479e62e8ee std.Io.Threaded: debug file handle leaks debug-file-leaks Andrew Kelley 2026-01-11 00:40:46 -08:00
  • 4e806f2521 build: bump test-libc max_rss to 2_496_066_355 Alex Rønne Petersen 2026-01-11 05:55:46 +01:00
  • e8a6e58f9d std.process: fix some page size assumptions in lockMemory/protectMemory tests Alex Rønne Petersen 2026-01-11 03:05:44 +01:00
  • c002b96f17 Revert "ci: bump loongarch64-linux timeouts by 1 hour" Alex Rønne Petersen 2026-01-11 00:51:37 +01:00
  • fe0b2ab9df ci: temporarily remove riscv64-linux while I investigate its performance issues Alex Rønne Petersen 2026-01-11 00:13:28 +01:00
  • 484cc15366 Sema: Allow small integer types to coerce to floats Jay Petacat 2026-01-08 23:48:25 -07:00
  • 5082e85de9 Merge pull request 'libc: use compiler_rt/libzigc for some math functions and add some libc-tests' (#30767) from rpkak/zig:libc-compiler_rt-math into master Andrew Kelley 2026-01-10 22:15:32 +01:00
  • 9a7f14354e crypto: correct checkHostName docs about wildcard matching nash1111 2026-01-10 14:52:50 +09:00
  • f3db3a087e std: ignore -fmacro-prefix-map flag when parsing NIX_CFLAGS_COMPILE Jakub Konka 2026-01-10 12:32:02 +01:00
  • 9acfd167fa std.process: add PermissionDenied to ProtectMemoryError (for OpenBSD) Alex Rønne Petersen 2026-01-10 21:04:20 +01:00
  • 707823abdb fix semantic UAFs in std.Io.Threaded InKryption 2026-01-10 17:35:11 +01:00
  • 078a19cf31 std.Io.Threaded: super broken Windows impl of batch Andrew Kelley 2026-01-09 20:46:51 -08:00
  • c95c442b75 std.process.Child.collectOutput: change back to other impl Andrew Kelley 2026-01-09 19:21:59 -08:00
  • 1ca398b267 std.Io: exploring a different batch API proposal Andrew Kelley 2026-01-09 15:06:50 -08:00
  • be2b93a073 Revert "std.process.Child: rewrite using concurrent" Andrew Kelley 2026-01-08 16:55:51 -08:00
  • e1f7844616 std.process.Child: rewrite using concurrent Andrew Kelley 2026-01-08 16:55:26 -08:00
  • f8e1257b62 fix error set Andrew Kelley 2026-01-08 16:36:18 -08:00
  • 09d96c4903 std.Io.Threaded: set poll_buffer_len to 32 Andrew Kelley 2026-01-08 15:20:21 -08:00
  • d66d0743d9 std.Io.Threaded.operate: handle poll buffer exceeded Andrew Kelley 2026-01-08 15:07:03 -08:00
  • d776ebc913 std.Io.Threaded.operate: handle cancelation and poll errors Andrew Kelley 2026-01-08 14:10:31 -08:00
  • 0deaf9957c std.Io: simplify operate function Andrew Kelley 2026-01-08 12:55:38 -08:00
  • d63172a35d std.Io: proof-of-concept "operations" API Andrew Kelley 2026-01-07 18:38:19 -08:00
  • 31fadc0eee std.Io: delete the poll API Andrew Kelley 2026-01-05 22:19:08 -08:00
  • ec25b13848 Merge pull request 'std: move memory locking and memory protection to process' (#30758) from mmap into master Andrew Kelley 2026-01-10 04:14:48 +01:00
  • 08d37d6e14 compiler_rt: fix sqrtf implementation; libc: remove sqrt implementations rpkak 2026-01-09 07:00:23 +01:00
  • 813ae89208 libc -> libzigc: copysign rpkak 2026-01-08 08:19:53 +01:00
  • aa7dac9739 libc: remove fmin/fmax implementations rpkak 2026-01-07 19:14:58 +01:00
  • a2861a6c8d libc: remove fmod implementations rpkak 2026-01-07 19:03:26 +01:00
  • 9dd32d5e65 libc: remove some more log implementations rpkak 2026-01-07 18:18:58 +01:00
  • b94a65ed40 test-libc: run some math tests rpkak 2026-01-09 07:35:50 +01:00
  • 4d6d2922b8 std: move memory locking and memory protection to process Andrew Kelley 2026-01-08 18:44:40 -08:00
  • 9aaecde63f build: bump freebsd max_rss Andrew Kelley 2026-01-08 20:52:42 -08:00
  • 5e242f0551 Merge pull request 'libc: use common ctype.h implementation' (#30763) from GasInfinity/zig:libc-ascii-ctype into master Andrew Kelley 2026-01-09 22:38:06 +01:00
  • 721bdb6256 Merge pull request 'crypto.scrypt: accept an std.Io parameter instead of direct entropy' (#30738) from jedisct1/zig:scryptfixes into master Andrew Kelley 2026-01-09 09:39:35 +01:00
  • 7c0b42ba0c Merge pull request 'crypto.ed25519.Signer: get an std.io parameter rather than entropy' (#30736) from jedisct1/zig:edsigned into master Andrew Kelley 2026-01-09 09:38:44 +01:00
  • 27039a014c std.c: Make clock_nanosleep available on serenity Linus Groh 2026-01-09 00:24:42 +00:00
  • b929078dac std.Io.Threaded: Raise specific error when DNS lookup returns no A/AAAA records Kevin Primm 2025-11-18 11:23:50 -05:00
  • efe649b13e std.Io.net: make HostName.validate RFC 1123-compliant Jon Parise 2025-11-05 08:17:27 -05:00
  • 6069161a51 link.Wasm: reserve sufficient capacity for @tagName function code Matthew Lugg 2026-01-08 13:55:46 +00:00
  • aebd84b525 build runner: refactor step evaluation logic Matthew Lugg 2026-01-08 19:00:11 +00:00
  • 6abb1dcd35 feat(libzigc): add common ctype implementation GasInfinity 2026-01-09 02:46:52 +01:00
  • 04e73d03bd android: detect native ABI and API level correctly Luna Schwalbe 2025-08-15 22:12:35 +02:00
  • e8af0f2cc0 Fix format on uefi guid type, was hitting unreachable Khitiara 2026-01-08 12:47:43 -05:00
  • e558e64ca0 feat(std.ascii): add isGraphical and isPunctuation GasInfinity 2026-01-09 02:27:31 +01:00
  • 7f6eab2704 feat(libzigc): add nan, nanf, nanl and bsearch GasInfinity 2026-01-08 13:38:40 +01:00
  • ecea8cc16d std.Io.Threaded: refactor some error handling Andrew Kelley 2026-01-08 13:35:47 -08:00
  • 09028bac29 std.Io.Threaded: fix init for single-threaded Andrew Kelley 2026-01-07 19:41:26 -08:00
  • 20baf049aa std.Io: add doc comments Andrew Kelley 2026-01-05 22:17:55 -08:00
  • 70af303a2b std.Io: move some decls around Andrew Kelley 2026-01-05 22:10:05 -08:00
  • b0570b807f Merge pull request 'std.Io.Threaded: clock_nanosleep is not linux-only' (#30746) from clock_nanosleep into master Andrew Kelley 2026-01-08 21:00:36 +01:00
  • 1face9ad78 std.c.SIG: make it non-exhaustive Andrew Kelley 2026-01-07 20:02:21 -08:00
  • d1be8b138e Merge pull request 'enable x86_64-openbsd CI' (#30733) from alexrp/zig:openbsd-ci into master Alex Rønne Petersen 2026-01-08 12:35:11 +01:00
  • ac91799332 std.meta.hasUniqueRepresentation: consider enum tag type Ian Johnson 2026-01-07 23:06:35 -05:00
  • 6f7968f165 Merge branch "remove many std.posix functions" Andrew Kelley 2026-01-08 00:19:12 -08:00
  • cc38acfea3 ci: skip incremental tests on loongarch64-linux Alex Rønne Petersen 2026-01-08 07:01:57 +01:00
  • 130fc7ef75 std.c: use {} rather than void for absent functions Andrew Kelley 2026-01-07 20:57:18 -08:00
  • 4319c8924e std.Io.Threaded: clock_nanosleep is not linux-only Andrew Kelley 2026-01-07 20:20:03 -08:00
  • 514b103edb std.Io.Threaded: correctly initialize PosixAddress/WsaAddress from sockaddr (#30722) moriazoso 2026-01-08 06:01:44 +01:00
  • 6a5bb3ede3 std: find a better home for the "preopens" concept Andrew Kelley 2026-01-07 12:09:09 -08:00
  • d2d8b969a1 fix redundant safety checks being emitted for slicing pentuppup 2025-09-10 11:59:47 -04:00
  • cdaf279314 link.Elf2: fix incorrect expected node length Bingwu Zhang 2025-11-22 20:47:23 +08:00
  • 8d06d8dca2 link.Elf: allow multiple relocs at the same location Bingwu Zhang 2025-06-07 23:23:20 +08:00
  • ce89006035 std.Io.Kqueue: fix bitrot Andrew Kelley 2026-01-07 18:00:36 -08:00
  • c0092f5394 std.Io: expose Kqueue and IoUring directly Andrew Kelley 2026-01-07 15:52:34 -08:00
  • cbd75b484f std.posix: remove recvfrom, recvmsg Andrew Kelley 2026-01-07 15:08:00 -08:00
  • d96d735338 posix: remove send, sendto, sendmsg Andrew Kelley 2026-01-07 15:06:04 -08:00
  • 791baefff2 goodbye posix.nanosleep Andrew Kelley 2026-01-07 15:02:27 -08:00
  • 45b931a23f goodbye posix.fork Andrew Kelley 2026-01-07 15:01:37 -08:00
  • 3961fe3de9 std: move posix.kevent to Io.Kqueue Andrew Kelley 2026-01-07 15:00:01 -08:00
  • 2c6304efc7 std: move posix.kqueue to Io.Kqueue.createFileDescriptor Andrew Kelley 2026-01-07 14:56:13 -08:00
  • be0a4dc299 goodbye posix.fstatat Andrew Kelley 2026-01-07 14:50:25 -08:00