Commit graph

17 commits

Author SHA1 Message Date
ZmnSCPxj jxPCSnmZ
ef17546c1a
configure.ac: Enable C++20.
This introduces a number of changes:

* We can no longer implicitly capture `this` in `[=]() { ... }`,
  we have to explicitly capture it: `[=, this]() { ... }`.
* We added a newer version of the `AX_CXX_COMPILE_STDCXX` macro as
  the stable Debian does not have the latest version yet, and it is
  the latest version that has support for C++20.
2026-01-21 11:40:01 -08:00
Ken Sedgwick
39a09c2908 Use BacktraceException for appropriate (most) exceptions 2024-08-19 15:04:30 -07:00
ZmnSCPxj jxPCSnmZ
1b1b41a6c7 Boss/Mod/Rpc.cpp: Use the Jsmn::ParserExposedBuffer and read into its buffer directly. 2022-05-08 22:04:31 +00:00
ZmnSCPxj jxPCSnmZ
e1f1976eef Boss/Mod/Rpc.cpp: Limit max number of concurrent RPC calls. 2022-05-05 03:43:03 +00:00
ZmnSCPxj jxPCSnmZ
c4e737811d Boss/Mod/Rpc.cpp, Boss/Mod/CommandReceiver.cpp: Do not pass JSON-RPC id through double. 2020-11-28 18:56:03 +08:00
ZmnSCPxj jxPCSnmZ
de7b58f841 Boss/Mod/Rpc.cpp: Batch up parsing of RPC command results. 2020-11-12 09:15:29 +08:00
ZmnSCPxj jxPCSnmZ
7c67378b31 Boss/Mod/Rpc.cpp: Reduce processing load when printing logs. 2020-11-11 09:48:27 +08:00
ZmnSCPxj jxPCSnmZ
7fe33a1bd7 Boss/Mod/Rpc.cpp: Throw exception when eof encountered in read end of socket. 2020-11-10 23:38:21 +00:00
ZmnSCPxj jxPCSnmZ
d45a130acd Boss/Mod/Rpc.cpp: Move parsing over to idle. 2020-11-05 19:35:21 +08:00
ZmnSCPxj jxPCSnmZ
171af8ca5a Boss/Mod/Rpc.cpp: Lower priority of RPC read event. 2020-11-05 19:20:38 +08:00
ZmnSCPxj jxPCSnmZ
5aadf08574 Boss/Mod/Rpc.cpp: Change buffering of read responses. 2020-11-05 18:50:22 +08:00
ZmnSCPxj jxPCSnmZ
f42e5bf6c5 Boss/Mod/Rpc.cpp: Properly handle very large commands. 2020-09-14 04:42:07 +08:00
ZmnSCPxj jxPCSnmZ
1480b130af Boss/Mod/Rpc.cpp: Limit log lengths. 2020-09-10 14:46:57 +08:00
ZmnSCPxj jxPCSnmZ
b87366517c Boss/Mod/Rpc.cpp: Also log RPC errors. 2020-09-10 09:08:24 +08:00
ZmnSCPxj jxPCSnmZ
86ba4f46f2 Boss/Mod/Rpc.cpp: Fix constructor of RpcError. 2020-09-10 01:58:37 +08:00
ZmnSCPxj jxPCSnmZ
909c75fb46 Boss/Mod/Rpc.cpp: Print debug logs for RPC. 2020-09-10 01:10:34 +08:00
ZmnSCPxj jxPCSnmZ
a059671a99 Boss/Mod/Rpc.cpp: Module for the RPC interface. 2020-09-08 14:31:45 +08:00