392 Commits

Author SHA1 Message Date
11e972c696 examples/ping: Client accepts pong 2025-11-19 19:34:02 -05:00
1cf9d47cae Add a diagram of a METADAPT-A MMB 2025-11-19 17:13:38 -05:00
dfbb087333 examples: Regenerate protocol files 2025-11-19 17:08:05 -05:00
647619a7f6 generate: It is no longer possible to make impossible type asserts with Receive 2025-11-19 16:25:31 -05:00
3b5a498aa5 Do not send extraneous chained MMBs 2025-11-19 15:16:44 -05:00
7d189df741 Test two consecutive METADAPT-A writers 2025-11-19 14:57:46 -05:00
5341563668 Test that METADAPT-A can tx/rx different messages consecutively 2025-11-19 14:42:29 -05:00
d2187cb953 examples/ping: Regenerate protocol.go 2025-11-19 13:14:25 -05:00
0ac34b2f22 generate: Don't create a new decoder for a possibly nil reader 2025-11-19 13:13:40 -05:00
3136dcbfdf internal/testutil: Add ConnRecorder which records net.Conn writes 2025-11-19 13:10:26 -05:00
ad930144cf generate: Test send, receive functions 2025-11-17 16:50:43 -05:00
5e965def7c internal/mock: Add mock transaction implementation 2025-11-17 16:49:09 -05:00
8add67c5de Test using readers and writers with a METADAPT-A connection 2025-11-16 16:01:06 -05:00
5f503021bf examples: More examples 2025-11-16 16:00:31 -05:00
0727609067 METADAPT-A message writer returns an error when the transaction closes 2025-11-10 00:24:20 -05:00
968e145cda examples/ping/client: Fix client example 2025-11-08 19:50:22 -05:00
bb14ec20a7 examples/ping: Add a ping example 2025-10-30 00:02:13 -04:00
a00e9d3183 Remove extra error wrapping 2025-10-30 00:01:55 -04:00
4f4443069d generate: Use the new snake in a test to make it able to pass 2025-10-29 15:24:49 -04:00
10d84c2184 generate: Add support for recursive snake in test infrastructure 2025-10-29 15:19:27 -04:00
67881a455a internal/testutil/snake: Test recursiveness 2025-10-29 15:12:03 -04:00
fb374c5cd5 internal/testutil/snake: Make a more advanced (recursive) snake package 2025-10-29 15:06:23 -04:00
1b43b92687 Remove outdated comment 2025-10-27 22:51:52 -04:00
932e076113 examples/chat: Various fixes 2025-10-27 22:50:54 -04:00
5217f65cb8 generate: Surpress warning about this print statement 2025-10-27 22:39:47 -04:00
26b8174f92 Fix METADAPT-A not ever closing the connection properly 2025-10-27 22:32:47 -04:00
3daa66c4bc METADAPT-A tests compile 2025-10-27 18:45:26 -04:00
c5154b3d85 examples/chat: Regenerate protocol.go 2025-10-20 21:22:10 -04:00
c2ce95021c generate: Fix generated Send, Receive functions 2025-10-20 21:19:50 -04:00
d4ccdb282e Fix CCB and flushing in METADAPT-A 2025-10-20 21:19:21 -04:00
2e4c693174 examples/chat: Use new listen/dial API 2025-10-20 18:00:05 -04:00
c9480ba016 Translate "tls" network to "tcp" 2025-10-20 17:56:42 -04:00
09b2259a8c Simplify how dialing and listening works
Also add support for bare TCP
2025-10-20 16:44:07 -04:00
da01a0d119 internal/connshark: Add utility to log activity over a net.Conn 2025-10-19 17:48:13 -04:00
c326a2b6b9 examples/chat/server: Close connection goroutine on error 2025-10-19 17:47:31 -04:00
14a317c2ab examples/chat: Make chat example compile 2025-10-19 13:18:24 -04:00
e5d7ad0702 generate: Emit Send/Receive functions 2025-10-19 13:17:21 -04:00
bb520976be Fix dialTLS 2025-10-17 21:48:11 -04:00
b3dc633abe Add support for TLS/TCP 2025-10-17 21:46:17 -04:00
476833709e examples/chat: Rewrite in PDL 2025-10-16 22:11:22 -04:00
75810bfda1 cmd/hopp-generate: Pass the actual directory into scroungeForPackageName 2025-10-16 22:10:09 -04:00
207627c428 generate: Fix spacing and comment issues 2025-10-16 21:59:53 -04:00
e6266e500c Merge pull request 'option-type' (#23) from option-type into main
Reviewed-on: #23
2025-10-15 21:01:48 -06:00
8edac1c017 Update go-util 2025-10-15 22:10:03 -04:00
81d95dcd90 generate: Add support for options in static system 2025-10-15 21:00:15 -04:00
2f2b1a4d2f Alias O function 2025-10-15 21:00:04 -04:00
899f98043f generate: Add option type to parser 2025-10-15 18:17:18 -04:00
6b7dfce2f3 generate: Add option flag to Field struct 2025-10-15 18:17:06 -04:00
17201a4c48 generate: Add option token to lexer 2025-10-15 18:16:49 -04:00
50ca98f3c6 design: Document option type 2025-10-15 18:15:07 -04:00