Drew Galbraith
8dfd57b411
Clean up rust unused warnings.
2024-08-30 00:49:33 -07:00
Drew Galbraith
f94f56f9ec
[Yunq] Create repeated field implementations in rust.
2024-08-29 23:29:58 -07:00
Drew Galbraith
4ee8dc924c
Add a uniq test module for yunq in rust.
2024-08-29 21:27:27 -07:00
Drew Galbraith
e90018b42e
[Yellowstone] Allow registering denali.
2024-08-17 21:54:30 -07:00
Drew Galbraith
7e68c1b641
Add a rust user-space Capability struct.
...
This is a thin wrapper around a capability ptr that releases the
capability when it is done and prevents copying/cloning it.
To get a copy a caller must explicitly use duplicate.
2024-08-17 17:15:33 -07:00
Drew Galbraith
76f8795a46
Implement yunq server in rust.
2024-07-31 19:59:46 -07:00
Drew Galbraith
e41f58c714
Use method number in rust yunq client.
2024-07-30 14:33:19 -07:00
Drew Galbraith
d35e8d253f
Reorganize mammoth lib in rust.
2024-07-28 19:26:23 -07:00
Drew Galbraith
19144f7be9
Fix rust compiler warnings.
2024-07-28 18:14:18 -07:00
Drew Galbraith
1e073d5060
Split yunq compliation to library and use it in build process.
2024-07-28 18:08:34 -07:00
Drew Galbraith
370ba9ae40
Hacky auto build for rust yunq.
2024-07-28 14:32:50 -07:00
Drew Galbraith
2cbf871d09
Add codegen for new rust yunq parser.
2024-07-27 20:23:03 -07:00
Drew Galbraith
d6833be0ad
[Yunq] Codegen example for yunq implementation.
2024-06-11 15:11:56 -07:00
Drew Galbraith
12fb84cfad
[Yunq] Add typechecking to rust implementation.
2024-06-11 13:32:28 -07:00
Drew Galbraith
1cda053758
Create a first pass at a rust parser for the yunq language.
2024-06-11 13:01:58 -07:00
Drew Galbraith
27c39d05e8
[Yunq] Add basic test for repeated fields.
2024-01-17 15:15:55 -08:00
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