Archived
3
0
Commit Graph

173 Commits

Author SHA1 Message Date
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
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
8a347f9ece makefile (clean rule): removing *.o 2022-12-29 12:19:07 +01:00
c77ae35751 ipcd: handling SIGHUP 2022-12-29 12:16:12 +01:00
05a47b8473 makefile: add servedoc rule (serving doc through darkhttpd) 2022-12-29 12:15:20 +01:00
4b0778e37d Mrproper 2022-12-29 10:33:02 +01:00
de1d221881 Grooming. 2022-12-29 10:12:40 +01:00
98eede6814 Tests are passing. Simpler makefile. 2022-12-27 22:39:23 +01:00
1a161d1b14 Do not quit after timeout. 2022-12-26 08:21:29 +01:00
e7c1c8b96d Misc program, fix a wrong value (message type ERROR -> DATA). 2022-12-25 22:18:33 +01:00
c7f48d21e4 Add a new misc program. 2022-12-25 22:18:14 +01:00
9eea1dbc07 move misc program 2022-12-25 22:14:50 +01:00
727de2988f Echoing stuff. 2022-12-25 21:45:51 +01:00
d52fbdf61d Move some temporary utilities in another dir. 2022-12-25 20:44:20 +01:00
6819de1da5 Messages can be received. 2022-12-25 06:26:38 +01:00
9f214180a7 libipc can now add new clients 2022-12-25 05:05:41 +01:00
1f5ac951cb wait_event function: first draft okay 2022-12-24 23:09:25 +01:00
bc0fe07990 Add some test/example programs. 2022-12-24 18:57:51 +01:00
1a83b3c824 PollFD structure and poll syscall seem working. WIP 2022-12-24 18:57:00 +01:00
168bea7e78 src/context.zig: add a waiting_event TODO list. 2022-12-24 02:47:20 +01:00
8b10612456 Makefile++. 2022-12-23 02:36:10 +01:00
ca0d6adbc6 Testing basic message exchange on a UNIX socket. 2022-12-23 02:35:38 +01:00
ceafe4c84f Split source code into different files. 2022-12-23 01:53:07 +01:00
200219d2fe Makefile. 2022-12-23 00:53:47 +01:00
9d1fef34a6 hexdump library 2022-12-23 00:53:25 +01:00
9321158a22 Message: .read & .write okay. 2022-12-23 00:39:12 +01:00
72ad635874 Proper tests. 2022-12-22 09:58:40 +01:00
91995657dd s/@"type"/t/ and many new tests. 2022-12-22 08:30:32 +01:00
0eb5dc57f5 Makefile: add test. 2022-12-22 08:30:15 +01:00
3b7203c58d Receive msg example: remove a debug message. 2022-12-21 23:55:06 +01:00
6038a277f3 Simple makefile. 2022-12-21 23:53:54 +01:00
0e2043c5e6 Receive msg example: fixing buffer offset. 2022-12-21 19:26:03 +01:00
a39ce64b7b Receive msg example: rm unix socket path. 2022-12-21 19:05:58 +01:00
2bb06db137 Add some standard library examples. 2022-12-21 10:00:40 +01:00
51e10d7f1e user_type is dropped. Rundir is now handled in Context. 2022-12-20 23:56:50 +01:00
29d18e8ca1 Update to Zig v0.11-ish. 2022-12-20 07:16:55 +01:00
03b1222ff0 Lot of simplifications. 2022-05-08 02:33:02 +02:00
1c26a69acd Renaming, grooming. 2022-05-07 13:13:40 +02:00
0fddc05576 main.zig: work in progress. 2022-05-01 00:42:17 +02:00
1c8be3390e Readme: what's NOT THAT great with Zig (but still cool). 2022-05-01 00:41:50 +02:00
382dc06f85 Readme on the rewrite in Zig perks. 2022-02-08 15:48:15 +01:00
382dcc07d7 Storing inner structures, adding TODOs. 2022-02-08 05:59:18 +01:00
a0dbd66fd2 Actual Unix socket involved (create, listen, accept, connect, close). 2022-02-07 18:30:06 +01:00
9011578d8b Some more functions (close, close_all, write, read, read_fd). 2022-02-07 04:35:21 +01:00
1762f50100 pollfd structure (draft), a few more mockup functions (server_init, wait_event...) 2022-02-07 03:24:39 +01:00
69732ccad8 Deinit() some stuff. 2022-02-07 01:21:46 +01:00
87f6f9071b Test leaks, but compiles! 2022-02-06 18:11:01 +01:00
c14148ef35 Print the different strucutures. 2022-02-06 16:57:23 +01:00
9d16d6f2b8 Some corrections for stuff. 2022-02-06 00:32:16 +01:00
fc4899a26f Zigimpl: draft. 2022-02-05 13:16:44 +01:00