From ad32786aac0e9727df8d43213e5f5e82a80f7a94 Mon Sep 17 00:00:00 2001 From: John Mercier Date: Mon, 4 Dec 2023 23:22:59 -0500 Subject: [PATCH] ProtocolPluginService now sets majorOpcode on XProtocolPlugins and uses it instead of majorVersion as the base opcode for requests. This fixes a bug in loading plugins and sending requests. --- .idea/modules.xml | 11 ++++ .idea/modules/x11-client.integrationTest.iml | 5 ++ .idea/modules/x11-client.main.iml | 5 ++ .idea/modules/x11-client.test.iml | 8 +++ .idea/modules/x11-client.testFixtures.iml | 8 +++ .idea/runConfigurations.xml | 10 ---- README.md | 4 ++ .../x11protocol/xcbparser/XResult.groovy | 6 ++ .../x11protocol/xcbparser/XPluginSpec.groovy | 4 ++ .../moaxcp/x11client/QueryVersionIT.java | 19 ++++++ .../com/github/moaxcp/x11client/RecordIT.java | 60 +++++++++++++++++++ .../x11client/ProtocolPluginService.java | 8 +-- .../moaxcp/x11client/XProtocolService.java | 2 +- .../x11client/protocol/XProtocolPlugin.java | 2 + 14 files changed, 136 insertions(+), 16 deletions(-) create mode 100644 .idea/modules.xml create mode 100644 .idea/modules/x11-client.test.iml create mode 100644 .idea/modules/x11-client.testFixtures.iml delete mode 100644 .idea/runConfigurations.xml create mode 100644 src/integrationTest/java/com/github/moaxcp/x11client/QueryVersionIT.java create mode 100644 src/integrationTest/java/com/github/moaxcp/x11client/RecordIT.java diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 00000000..9427cd24 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules/x11-client.integrationTest.iml b/.idea/modules/x11-client.integrationTest.iml index 4a4ce554..d5b7359d 100644 --- a/.idea/modules/x11-client.integrationTest.iml +++ b/.idea/modules/x11-client.integrationTest.iml @@ -1,5 +1,10 @@ + + + + +