Commit Graph

49 Commits

Author SHA1 Message Date
Drew Galbraith e83720e67c [Yunq] Only generate client and server files if an interface exists. 2024-01-17 13:56:22 -08:00
Drew Galbraith fecaa387b0 [Yunq] Add a basic yunq test into libyunq. 2024-01-16 18:58:03 -08:00
Drew Galbraith 9c860dd6a4 [Yunq] Add support for repeated nested fields 2024-01-11 22:09:42 -08:00
Drew Galbraith a48d63a664 [Yunq] Add support for nested fields in messages. 2024-01-11 21:32:08 -08:00
Drew Galbraith 9e12531651 [Yunq] Move method numbers to a scheme set by the parser. 2024-01-11 21:00:51 -08:00
Drew Galbraith 3b91819a4b [Yunq] Move message fields to a numbering scheme set by the parser. 2024-01-11 20:59:20 -08:00
Drew Galbraith 984d8b143e [Yunq] Move message parser to shared internal function. 2024-01-11 20:47:39 -08:00
Drew Galbraith 7ec4f696a8 [Yunq] Move serialization to yunq library. 2024-01-11 20:36:41 -08:00
Drew Galbraith 0135d8d844 [Yunq] Accept a message view on message parsing. 2024-01-11 20:03:34 -08:00
Drew Galbraith 75d84a0fa5 [Yunq] Read capabilities using the parsing library. 2024-01-11 19:59:36 -08:00
Drew Galbraith 0e6aa532a1 [Yunq] Move MessageView higher in call stack. 2024-01-11 19:51:18 -08:00
Drew Galbraith 30b220b2fb [Yunq] Move repeated field parsing to the yunq library. 2024-01-11 19:36:24 -08:00
Drew Galbraith 9e9ef21a3d [Yunq] POC for moving yunq parsing to a library. 2024-01-11 19:27:57 -08:00
Drew Galbraith c209925a3c [Yunq] Return status from client calls. 2023-12-01 10:35:42 -08:00
Drew Galbraith 700f3f94cb [Yunq] Return status in server code. 2023-12-01 10:26:03 -08:00
Drew Galbraith 3eba0bd9d8 [Yunq] Check identify byte and ensure users check status code. 2023-12-01 09:42:11 -08:00
Drew Galbraith 7d9f9a7ae9 [Yunq] Create libyunq and move parsing code to it. 2023-12-01 09:30:52 -08:00
Drew Galbraith 91f3f8ee43 [Yunq] Don't print ast. 2023-12-01 09:30:34 -08:00
Drew Galbraith f1e09b2ae6 [Yunq] Add ability to namespace declarations using "package". 2023-11-30 08:50:15 -08:00
Drew Galbraith ad7794c694 [Yunq] Delete client capability in destructor.
Add a method to the server class to create an unowned capability. This
makes it simpler to create a capability for passing to other processes.

Duplicate the init yellowstone cap when using it temporarily.
2023-11-27 08:29:01 -08:00
Drew Galbraith 96a2f74e14 [Yunq] Release server cap on destructor. 2023-11-27 08:12:51 -08:00
Drew Galbraith cc4b5bd811 [Yunq] Add support for empty requests and responses. 2023-11-27 08:03:12 -08:00
Drew Galbraith 24bcff2e40 [Yunq] Fix syntax error in yunq. 2023-11-25 13:07:27 -08:00
Drew Galbraith 5f8d577948 [Mammoth] Move remaining classes to a shared folder. 2023-11-22 14:39:27 -08:00
Drew Galbraith c42fb858ba [Mammoth] Move thread and process to the proc/ folder 2023-11-22 14:10:10 -08:00
Drew Galbraith 337126cabb [Glacier] Update String to be non-copyable by default. 2023-11-19 19:14:37 -08:00
Drew Galbraith 4ff4947bca [Yunq] Fix Vector sizing when parsing from bytes. 2023-11-14 21:08:00 -08:00
Drew Galbraith 83dbd18cb4 [Yunq] Factor out parsing most message fields to a shared method. 2023-11-10 12:51:23 -08:00
Drew Galbraith 0dacbb87dc [Yunq] Add repeated field parsing and serialization. 2023-11-10 12:26:59 -08:00
Drew Galbraith d13e1a238f [Yunq] Add comments to Yunq. 2023-11-09 11:33:12 -08:00
Drew Galbraith 26b61db021 Move userspace to a templated StrFormat. 2023-11-03 02:48:21 -07:00
Drew Galbraith f31652b981 Add a way to restrict permissions on cap duplication. 2023-11-02 22:12:55 -07:00
Drew Galbraith e66706d381 [Glacier] Convert ErrorCode into an Enum. 2023-11-02 21:55:12 -07:00
Drew Galbraith f815eb5614 [Yunq] Fix cmake variables. 2023-10-25 22:20:16 -07:00
Drew Galbraith 598816df12 [Yunq] Move yunq cmake macro to yunq dir. 2023-10-25 22:18:29 -07:00
Drew Galbraith 60de1ec9d3 [Yunq] Move example files into subdir. 2023-10-25 22:17:32 -07:00
Drew Galbraith c8dcc07d7d Update CMakeLists to autogen yunq files. 2023-10-25 21:53:55 -07:00
Drew Galbraith 0dbafbfa66 [Yunq] Reset cap buffers between server uses. 2023-10-25 20:46:36 -07:00
Drew Galbraith b85af8d0f8 [Yunq] Fix bug in logging reply errors. 2023-10-25 20:40:39 -07:00
Drew Galbraith b516087922 [Zion] Add the ability to pass capabilities via endpoint call. 2023-10-24 23:32:05 -07:00
Drew Galbraith 9c9fd167cd [Yunq] Clean up codegen issues for client and server. 2023-10-24 18:19:12 -07:00
Drew Galbraith 71e3521b87 [yunq] Add codegen for clients and servers (untested). 2023-10-24 15:57:35 -07:00
Drew Galbraith 963cc0b4fa [Yunq] Move to using jinja for codegen. 2023-10-24 14:54:00 -07:00
Drew Galbraith 3faa19e4cb [Yunq] Cleanup codegen bugs. 2023-10-24 12:40:15 -07:00
Drew Galbraith 990dd4c1e1 [yunq] Add codegen for message parsing and serialization methods. 2023-10-13 15:04:25 -07:00
Drew Galbraith 28a6d543ec [Yunq] First pass at codegen for message headers and parsing. 2023-10-13 00:15:31 -07:00
Drew Galbraith 3323826f3b [Yunq] Check that the type of request and response is a message 2023-10-12 23:14:25 -07:00
Drew Galbraith 90d840879f [Yunq] Add identifier collision checking. 2023-10-12 23:04:11 -07:00
Drew Galbraith 19f7ba44c4 [Yunq] First pass at parsing the yunq idl for ipc.
Writing my own idl to make ipc simpler and allow easy passing of
capabilities between processes.
2023-10-12 22:46:37 -07:00