Commit graph

63 commits

Author SHA1 Message Date
321abd2006
build: fix zig wrapper for nightly builds 2024-12-21 20:36:13 +01:00
9df7beb192
feat: return all subprocess errors as term messages 2024-12-16 19:08:49 +01:00
e44e6ed306
fix: restrict return type of exit_normal and exit_fmt 2024-12-16 19:04:45 +01:00
1da74bfb5c
fix: update zig wrapper script 2024-12-16 18:35:32 +01:00
1691421a94
fix: a leak in subprocess 2024-11-17 22:17:05 +01:00
394b434169
feat: make cbor.writeJsonValue public 2024-11-17 22:15:56 +01:00
2b380bbef4
fix: improve CallContext robustness 2024-10-22 20:52:41 +02:00
d7dd271163 fix: be more conservative with stack space to avoid stack overflows on macos 2024-10-21 18:52:00 +02:00
6e65fa623a
feat: prevent some more json encode/decode errors and clean-up error sets 2024-09-19 20:58:39 +02:00
06ff2a148c
feat: use a dynamic buffer to prohibit error.Overflow in jsonScanUntil
Also, clean-up the definition of CborJsonError
2024-09-18 21:29:41 +02:00
09519fb5b0
fix: fix windows build of flow 2024-08-31 21:00:43 +02:00
426a012d82
feat: add thespian.store_error and thespian.restore_error 2024-08-29 16:50:43 +02:00
4a0ec2dbfb
feat: report current_instance in DEADSEND messages 2024-08-29 16:50:37 +02:00
f9704faa94
refactor: reformat instance.cpp 2024-08-29 14:39:52 +02:00
20339921cf
feat: report sender in DEADSEND errors 2024-08-29 14:37:35 +02:00
a3c595979f
feat: add a tag to Pid.delay_send_cancellable for better tracing 2024-08-29 13:11:20 +02:00
9462ef22c6
build: add compile_commands.json to .gitignore 2024-08-27 19:27:28 +02:00
858dcf09e0
refactor: clean-up some clang-tidy warnings 2024-08-27 19:27:22 +02:00
ee6b1276df feat: log thespian errors to std.log 2024-08-08 19:49:21 +02:00
5eb4b9b916 fix(subprocess): use direct writes for stdin on windows
file_stream is not supported for stdin on windows apparently
2024-08-08 19:48:15 +02:00
b10131ee52 feat: panic with stacktrace on OutOfMemory errors when stack_trace_on_errors is set 2024-08-05 21:36:31 +02:00
b82d735579 feat: make zig stack traces optional 2024-07-04 23:08:24 +02:00
fa72fb879c fix(window): handle shutdown correctly in subprocess_windows 2024-06-27 22:18:41 +02:00
379b7e8abf fix(windows): prevent @intCast crash on windows 2024-06-27 19:04:12 +02:00
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