Menu

Commit [r13044]  Maximize  Restore  History

.NET: complete UI protocol coverage

The remaining 38 verbs, with field names and order transcribed from the
format strings in lib/libui/ui_json. All 66 verbs the C runtime emits
now have a .NET counterpart.

A coverage test guards it: it lists every verb the C emits and fails if
one has no .NET message, which is the only way a protocol split across
two runtimes stays in step. A second test rejects two messages claiming
the same verb - which immediately caught WAITFOREVENT being declared
twice. The C emits it both bare and with CONTEXT/CACHED, so one type now
covers both and omits the fields rather than sending nulls.

mikeaubury 2026-09-02

changed /aubit4glsrc/trunk/dotnet/src/Aubit4GL.Runtime/Ui/UiDialog.cs
changed /aubit4glsrc/trunk/dotnet/src/Aubit4GL.Runtime/Ui/UiMessage.cs
added /aubit4glsrc/trunk/dotnet/src/Aubit4GL.Runtime/Ui/UiMessages.Protocol.cs
added /aubit4glsrc/trunk/dotnet/tests/Aubit4GL.Runtime.Tests/ProtocolCoverageTests.cs
/aubit4glsrc/trunk/dotnet/src/Aubit4GL.Runtime/Ui/UiDialog.cs Diff Switch to side-by-side view
Loading...
/aubit4glsrc/trunk/dotnet/src/Aubit4GL.Runtime/Ui/UiMessage.cs Diff Switch to side-by-side view
Loading...
/aubit4glsrc/trunk/dotnet/src/Aubit4GL.Runtime/Ui/UiMessages.Protocol.cs Diff Switch to side-by-side view
Loading...
/aubit4glsrc/trunk/dotnet/tests/Aubit4GL.Runtime.Tests/ProtocolCoverageTests.cs Diff Switch to side-by-side view
Loading...