Archived
3
0
Commit Graph

370 Commits

Author SHA1 Message Date
a8224c1cf9 Bindings: first draft (context init & deinit). 2023-01-16 22:26:15 +01:00
a6cfa88f79 Context uses an allocator, currently a simple c_allocator. 2023-01-16 21:58:22 +01:00
c5e3b7b901 Binding example: works as expected (with c_allocator for now). 2023-01-16 20:34:23 +01:00
8ea70b51ee test-bindings: pong.c 2023-01-14 01:09:03 +01:00
d585ffb8ee Example code: C code working with Zig functions. 2023-01-13 02:06:19 +01:00
32fd31934c Example code: first steps towards C bindings. 2023-01-13 02:05:17 +01:00
aca3f2183d TCPd: code simplification & (most important) error management. 2023-01-12 21:02:05 +01:00
614e972b95 An example of working function exports. 2023-01-12 17:31:51 +01:00
f3c7695462 Change a simple comment. 2023-01-12 00:26:10 +01:00
bb9d397a40 TCPd works. TODO: proper error management. 2023-01-11 19:58:45 +01:00
1034b1aa5c TCPd: preliminary work. Lacks actual TCP connection but switching is okay. 2023-01-11 16:34:43 +01:00
ba6671d902 Less debug messages. 2023-01-11 16:30:08 +01:00
28d7dd8fc2 Next video: orelse + some possible error improvements. 2023-01-11 16:05:39 +01:00
58320cbb46 Makefile: tcpd, zig links against libc. 2023-01-11 16:04:16 +01:00
1e3c1b2625 Switch, IPCd and TCPd are working. 2023-01-11 15:59:35 +01:00
871b2b249c Switch: almost there. 2023-01-11 15:05:16 +01:00
b73550bdcf Add a very limited URI parser. 2023-01-11 14:16:01 +01:00
a0e9515600 Switch code mostly done, needs testing. 2023-01-10 17:09:34 +01:00
5ad00d0675 SwitchDB: nuke 'em. 2023-01-08 20:45:35 +01:00
45f3fa1860 Next video: minimal timer library. 2023-01-08 20:06:59 +01:00
506bd21d57 SwitchDB: in/out should be fine. 2023-01-08 20:06:22 +01:00
0cf2e5ef1f Next video: talk about error management. 2023-01-08 12:46:56 +01:00
978676051a Switch: first solid draft, lacks some tests. 2023-01-08 12:46:21 +01:00
ec787d7496 Switch: fn draft for read/write switched ipc messages. 2023-01-07 19:04:05 +01:00
fb12f65218 Switch: WIP. 2023-01-07 16:46:39 +01:00
49089b910b Grooming. 2023-01-07 16:46:17 +01:00
2a714cd064 Service name from ipcd to ipc. Some comments changes. 2023-01-05 17:28:24 +01:00
d99a8d13e3 Remove message type. It was useless: msg to IPCd is LOOKUP. 2023-01-05 11:49:33 +01:00
4bbd5fc686 Pong client: code is fine. 2023-01-05 11:07:29 +01:00
49b1b3bab2 Grooming and fixing iov length (big WIP). 2023-01-04 13:29:40 +01:00
1a6c13c85d Grooming and fix reported message length. 2023-01-04 13:06:29 +01:00
ce28b72f3b Pongd. 2023-01-04 11:55:47 +01:00
9ea49087bd Fix mem leak (forgot a message deinit). 2023-01-04 11:46:34 +01:00
d72aac1a50 IPCd is working for aliases. No error management, WIP. 2023-01-04 11:34:49 +01:00
1b19118701 Remove done TODOs. 2023-01-04 08:34:30 +01:00
54fc5aa9e0 Fix mem leaks in ipcd. 2023-01-03 18:18:16 +01:00
6b8d659319 Fix socket options. 2023-01-03 12:10:08 +01:00
3097dca06a fd-exchange tests in C: fix socket names. 2023-01-03 12:09:28 +01:00
fc0c28fb7e Fixed many errors. 2023-01-03 12:07:55 +01:00
4421ee31c4 Stuff to say for the next video. 2023-01-03 10:56:48 +01:00
bbf7e669ff Stuff. 2023-01-03 10:56:01 +01:00
78670e5b71 Add library in src/ to exchange file descriptor. 2023-01-03 01:31:20 +01:00
b43fd57704 Receiving fd with Zig! 2023-01-02 08:36:14 +01:00
14509b8d28 Sending a file descriptor through a UNIX socket. 2023-01-01 20:50:08 +01:00
4fac81b143 Grooming. 2023-01-01 18:20:57 +01:00
b50d910906 Some simplifications. 2023-01-01 18:19:39 +01:00
8012cff4bf makefile: add access logs file 2022-12-31 05:00:01 +01:00
266f1daaad Pong client. 2022-12-31 04:59:06 +01:00
2ad505b305 Clients are working. 2022-12-31 04:58:45 +01:00
79f9fdc3e2 Context: slowly add client-related functions. 2022-12-29 15:31:15 +01:00