Commit Graph

476 Commits (master)

Author SHA1 Message Date
Philippe Pittoli 32fa98bc76 Crystal bindings: IPC::JSON comments. 2023-02-01 11:09:06 +01:00
Philippe Pittoli d2ab260255 Crystal bindings: (typed|untyped) message serialization. 2023-02-01 11:08:05 +01:00
Philippe Pittoli 7904d5eef6 Crystal bindings: add JSON message creation examples. 2023-02-01 10:04:38 +01:00
Philippe Pittoli af709a665c Crystal bindings: add support for JSON messages. 2023-02-01 10:03:33 +01:00
Philippe Pittoli 1269b55c05 Crystal bindings: build stuff. 2023-02-01 04:45:08 +01:00
Philippe Pittoli 23de66befc Crystal bindings: tests. 2023-02-01 02:06:17 +01:00
Philippe Pittoli 5ee0a6e6e0 Crystal bindings: code structure. 2023-02-01 02:06:00 +01:00
Philippe Pittoli 0a836c56cd Test application for crystal bindings. 2023-01-25 04:52:27 +01:00
Philippe Pittoli 0356540e7b Pongd test code for Crystal bindings. 2023-01-25 04:47:47 +01:00
Philippe Pittoli a958666060 Crystal library: uncluttered by test code. 2023-01-25 04:47:17 +01:00
Philippe Pittoli ae99353c19 IPC::loop. 2023-01-24 15:22:51 +01:00
Philippe Pittoli 12123b0cb4 Remove useless prints. 2023-01-24 00:50:46 +01:00
Philippe Pittoli b0cf9638ec Crystal bindings: allow bigger messages. 2023-01-21 19:08:24 +01:00
Philippe Pittoli 51cad2c07d API change: ipc_context_deinit now frees context memory. 2023-01-21 19:06:44 +01:00
Philippe Pittoli 21ecf157d1 Crystal bindings: most functions done. Can be used for real. 2023-01-21 07:32:44 +01:00
Philippe Pittoli 368513bca5 Crystal bindings are in good shape. 2023-01-21 05:52:18 +01:00
Philippe Pittoli 9696190e99 Bindings Crystal: working! Pong client works as expected. 2023-01-21 05:10:55 +01:00
Philippe Pittoli e6ad0ce65c Some Crystal code to work on bindings. 2023-01-21 03:26:56 +01:00
Philippe Pittoli 6fa8f31dd4 Libipc presentation update. 2023-01-21 01:47:58 +01:00
Philippe Pittoli eb99ba6cb2 Bindings: update API (following previous naming consistency changes). 2023-01-20 23:14:02 +01:00
Philippe Pittoli 3e3d996e7b Naming consistency fixed (MESSAGE_TX and MESSAGE_RX). 2023-01-20 23:12:04 +01:00
Philippe Pittoli da27ce33dd TODO: build.zig now creates binaries. 2023-01-20 23:11:28 +01:00
Philippe Pittoli 0eb93c805d Presentation: smol update 2023-01-20 22:35:19 +01:00
Philippe Pittoli ae62d300ff Presentation makefile: split different operations. 2023-01-20 22:15:22 +01:00
Philippe Pittoli 4651430ef8 Ignore presentation files. 2023-01-20 22:13:16 +01:00
Philippe Pittoli fd63139157 Add a makefile to compile the presentation. 2023-01-20 04:50:23 +01:00
Philippe Pittoli 82f81a7fb7 Presentation of LibIPC: a few improvements. 2023-01-20 04:49:45 +01:00
Philippe Pittoli 06a01f2b4b Add several example programs. 2023-01-20 04:04:12 +01:00
Philippe Pittoli 132743442b makefile.user: simpler, build.zig handles many operations now. 2023-01-20 03:50:47 +01:00
Philippe Pittoli a0c446ca28 Use build.zig instead of the makefile to build binaries. 2023-01-20 02:02:47 +01:00
Philippe Pittoli b2bf66c436 Hexdump: complete rewrite, fixes all known problems. 2023-01-19 02:58:31 +01:00
Philippe Pittoli 0feb31b4c7 hexdump: fix last byte not printed and last line space shift. 2023-01-19 01:44:26 +01:00
Philippe Pittoli cab07003ad Add specific TODO for zig implementation. 2023-01-19 01:22:37 +01:00
Philippe Pittoli 273204af6d Makefile: add new bin to compile in build-all, valgrind opts. 2023-01-19 01:04:29 +01:00
Philippe Pittoli b59ad86e41 Exchange-fd: replace a few "undefined". 2023-01-19 01:03:19 +01:00
Philippe Pittoli b111982a0f Makefile: start app with right IPC_NETWORK envvar. 2023-01-18 23:56:23 +01:00
Philippe Pittoli 3123051ef0 Fix switch read message + add print debug. 2023-01-18 23:55:48 +01:00
Philippe Pittoli 9dc4cfa003 Remove debug print. 2023-01-18 22:38:17 +01:00
Philippe Pittoli 2befab21e2 FD exchange: fix two minor memory problems. 2023-01-18 22:36:14 +01:00
Philippe Pittoli 9462224255 Bindings: use uint16_t and uint32_t types. 2023-01-18 22:35:22 +01:00
Philippe Pittoli 3695a8ec82 Makefile: add debug options (valgrind). 2023-01-18 20:09:38 +01:00
Philippe Pittoli 6601eb61b0 Bindings: fixing libipc.h. 2023-01-18 17:26:06 +01:00
Philippe Pittoli f07b915124 API change introduced bugs in switch: fixed. 2023-01-18 17:22:56 +01:00
Philippe Pittoli eafdc3749a Add a few entries in .gitignore. 2023-01-18 14:02:11 +01:00
Philippe Pittoli 66ddeb2207 Makefile: add files and directories to remove on 'clean'. 2023-01-18 14:01:42 +01:00
Philippe Pittoli caf255d6c4 Code example for iterating on directory entries. 2023-01-18 13:59:11 +01:00
Philippe Pittoli 3514b4fe96 Switch: tests pass. 2023-01-18 01:46:42 +01:00
Philippe Pittoli 13a60d0158 Bindings: simpler in and out fn for switchs, leading to simpler bindings. 2023-01-18 01:34:30 +01:00
Philippe Pittoli e80e99d47f Bindings: no more memory errors, fix typing. 2023-01-17 07:51:41 +01:00
Philippe Pittoli ed9cd24b22 Bindings: libipc.h almost complete, correct types, fix callconv. 2023-01-17 05:47:14 +01:00