Commit graph

39 commits

Author SHA1 Message Date
5ba56ab5c7 feat: improve subprocess_windows read_error messages 2024-06-27 18:54:42 +02:00
f1a89bdf9d feat: add stack traces to thespian errors in debug builds 2024-06-26 23:28:17 +02:00
3ace316308 feat: add support for floats to cbor 2024-06-25 21:04:51 +02:00
3db5b9ad96 fix(windows): windows returns a different timeout_error on cancel 2024-06-20 10:04:18 +02:00
f716b924e2 feat: add pid.delay_send and pid.delay_send_cancellable 2024-06-18 19:10:07 +02:00
8218bda8e3 build: only build backtrace code on linux 2024-06-13 10:11:07 +02:00
895d3dfb9e feat: add file_stream and subprocess_windows 2024-06-07 22:09:46 +02:00
0baeda5d16 build: update to zig-0.13 2024-06-07 18:20:15 +02:00
1d116f8fa8 windows build fixes 2024-06-07 11:42:54 +02:00
3121af2ec4 build: update to latest zig master 2024-06-04 22:13:16 +02:00
a98cb1f5e6 fix: prevent another race in call() 2024-04-24 17:44:53 +02:00
e5983cdc8f fix: cbor write of errorsets 2024-04-21 00:26:21 +02:00
082e8fe292 fix: prevent race on timeout in call() 2024-04-20 23:25:45 +02:00
b5da309fb4 build: update to zig 0.12.0 2024-04-20 23:24:12 +02:00
cead8672b5 feat: add a timeout to synchronous calls 2024-04-19 21:54:24 +02:00
0c785f20bf build: update to zig 0.12.0-dev.3659+1e5075f81 2024-04-16 23:11:39 +02:00
9be51bb18a feat: add subprocess.term() 2024-04-15 21:13:40 +02:00
7d441d3bcf fix: let message buffer grow dynamically 2024-04-08 21:50:26 +02:00
340d488e81 fix: use correct error type for cbor.writeErrorSet 2024-04-08 21:49:15 +02:00
45d5c282bd fix: subprocess should exit if stdout/err cannot be read 2024-04-08 17:59:58 +02:00
a7b3c3e1e8 refactor: remove some dead code 2024-04-08 17:53:10 +02:00
ca2e24f15b feat: add pid.forward_error(anyerror) 2024-04-05 21:27:24 +02:00
9a51d756ce fix: prevent panic on empty message receive 2024-04-05 21:26:46 +02:00
fbb5c8e200 fix: avoid sending stdin_close if subprocess is already dead 2024-04-05 21:26:13 +02:00
1ce0e4f709 feat: add cbor.toJsonOptsAlloc 2024-04-05 17:26:42 +02:00
a738c98f33 fix: handle error.WouldBlock correctly from stdin/stderr reads in subprocess 2024-04-04 21:43:05 +02:00
0559a75dbb feat: use explicit errorsets for spawn and call errors 2024-04-02 23:03:56 +02:00
21a0b60366 feat: use a signal instead of spinning in pid.call() 2024-04-02 23:02:58 +02:00
1a769c056a feat: add support for cbor extracting to optionals 2024-04-02 23:01:48 +02:00
d159ba0632 feat: add allocating json encode/decode functions to cbor 2024-04-02 23:01:20 +02:00
d20e071a4d fix: don't fail to consume input iterator in cbor match more operations 2024-03-21 22:43:34 +01:00
5bb05db166 fix: wait and retry stdin writes on error.WouldBlock in subprocess 2024-03-12 23:04:38 +01:00
a740c03c11 fix: typo in thespian.env.str_set() 2024-03-01 12:31:17 +01:00
522813dae1 refactor: use more portable types in cbor matching 2024-02-28 21:02:03 +01:00
f82f9f6f5d build: update zig 2024-02-28 21:01:34 +01:00
3b80a36537 build: fix build on macos 2024-02-28 21:01:11 +01:00
9fe4bc0c1f fix: correct zig bindings for timeout 2024-02-26 18:09:57 +01:00
aa30a93d46
Create README.md 2024-02-08 23:14:04 +01:00
5a00e06cb9 Initial Release 2024-02-08 23:04:55 +01:00