[at-spi2-core] xml: Remove directions from signal arguments



commit 2399b20aac65a7379f29e660aa41c7c887fbbb4b
Author: Mike Gorse <mgorse suse com>
Date:   Fri Apr 8 13:25:31 2022 -0500

    xml: Remove directions from signal arguments
    
    Per the dbus spec, specifying a direction for signal arguments is not
    required, since there is only one possible direction. If a direction is
    specified at all, then it is expected to be "out". Previously, the direction
    was set to "in" in most cases, causing d-feet to complain. Let's just remove
    the direction annotations.

 xml/Cache.xml    |   4 +-
 xml/Event.xml    | 112 +++++++++++++++++++++++++++----------------------------
 xml/Registry.xml |   8 ++--
 xml/Socket.xml   |   2 +-
 4 files changed, 63 insertions(+), 63 deletions(-)
---
diff --git a/xml/Cache.xml b/xml/Cache.xml
index 89546163..ad100672 100644
--- a/xml/Cache.xml
+++ b/xml/Cache.xml
@@ -8,12 +8,12 @@
   </method>
 
   <signal name="AddAccessible">
-    <arg direction="in" name="nodeAdded" type="((so)(so)(so)iiassusau)"/>
+    <arg name="nodeAdded" type="((so)(so)(so)iiassusau)"/>
     <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiAccessibleCacheItem"/>
   </signal>
 
   <signal name="RemoveAccessible">
-    <arg direction="in" name="nodeRemoved" type="(so)"/>
+    <arg name="nodeRemoved" type="(so)"/>
     <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiObjectReference"/>
   </signal>
 
diff --git a/xml/Event.xml b/xml/Event.xml
index 36143588..ba867590 100644
--- a/xml/Event.xml
+++ b/xml/Event.xml
@@ -2,190 +2,190 @@
 <node name="/node">
 
 <interface name="org.a11y.atspi.Event.Object">
-       <signal name="PropertyChange"><arg direction="in" type="(suuv)"/>
+       <signal name="PropertyChange"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="BoundsChanged"><arg direction="in" type="(suuv)"/>
+       <signal name="BoundsChanged"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="LinkSelected"><arg direction="in" type="(suuv)"/>
+       <signal name="LinkSelected"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="StateChanged"><arg direction="in" type="(suuv)"/>
+       <signal name="StateChanged"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="ChildrenChanged"><arg direction="in" type="(suuv)"/>
+       <signal name="ChildrenChanged"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="VisibleDataChanged"><arg direction="in" type="(suuv)"/>
+       <signal name="VisibleDataChanged"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="SelectionChanged"><arg direction="in" type="(suuv)"/>
+       <signal name="SelectionChanged"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="ModelChanged"><arg direction="in" type="(suuv)"/>
+       <signal name="ModelChanged"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="ActiveDescendantChanged"><arg direction="in" type="(suuv)"/>
+       <signal name="ActiveDescendantChanged"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="RowInserted"><arg direction="in" type="(suuv)"/>
+       <signal name="RowInserted"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="RowReordered"><arg direction="in" type="(suuv)"/>
+       <signal name="RowReordered"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="RowDeleted"><arg direction="in" type="(suuv)"/>
+       <signal name="RowDeleted"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="ColumnInserted"><arg direction="in" type="(suuv)"/>
+       <signal name="ColumnInserted"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="ColumnReordered"><arg direction="in" type="(suuv)"/>
+       <signal name="ColumnReordered"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="ColumnDeleted"><arg direction="in" type="(suuv)"/>
+       <signal name="ColumnDeleted"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="TextBoundsChanged"><arg direction="in" type="(suuv)"/>
+       <signal name="TextBoundsChanged"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="TextSelectionChanged"><arg direction="in" type="(suuv)"/>
+       <signal name="TextSelectionChanged"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="TextChanged"><arg direction="in" type="(suuv)"/>
+       <signal name="TextChanged"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="TextAttributesChanged"><arg direction="in" type="(suuv)"/>
+       <signal name="TextAttributesChanged"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="TextCaretMoved"><arg direction="in" type="(suuv)"/>
+       <signal name="TextCaretMoved"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="AttributesChanged"><arg direction="in" type="(suuv)"/>
+       <signal name="AttributesChanged"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
 </interface>
 
 <interface name="org.a11y.atspi.Event.Window">
-       <signal name="PropertyChange"><arg direction="in" type="(suuv)"/>
+       <signal name="PropertyChange"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="Minimize"><arg direction="in" type="(suuv)"/>
+       <signal name="Minimize"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="Maximize"><arg direction="in" type="(suuv)"/>
+       <signal name="Maximize"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="Restore"><arg direction="in" type="(suuv)"/>
+       <signal name="Restore"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="Close"><arg direction="in" type="(suuv)"/>
+       <signal name="Close"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="Create"><arg direction="in" type="(suuv)"/>
+       <signal name="Create"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="Reparent"><arg direction="in" type="(suuv)"/>
+       <signal name="Reparent"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="DesktopCreate"><arg direction="in" type="(suuv)"/>
+       <signal name="DesktopCreate"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="DesktopDestroy"><arg direction="in" type="(suuv)"/>
+       <signal name="DesktopDestroy"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="Destroy"><arg direction="in" type="(suuv)"/>
+       <signal name="Destroy"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="Activate"><arg direction="in" type="(suuv)"/>
+       <signal name="Activate"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="Deactivate"><arg direction="in" type="(suuv)"/>
+       <signal name="Deactivate"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="Raise"><arg direction="in" type="(suuv)"/>
+       <signal name="Raise"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="Lower"><arg direction="in" type="(suuv)"/>
+       <signal name="Lower"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="Move"><arg direction="in" type="(suuv)"/>
+       <signal name="Move"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="Resize"><arg direction="in" type="(suuv)"/>
+       <signal name="Resize"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="Shade"><arg direction="in" type="(suuv)"/>
+       <signal name="Shade"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="uUshade"><arg direction="in" type="(suuv)"/>
+       <signal name="uUshade"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="Restyle"><arg direction="in" type="(suuv)"/>
+       <signal name="Restyle"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
 </interface>
 
 <interface name="org.a11y.atspi.Event.Mouse">
-       <signal name="Abs"><arg direction="in" type="(suuv)"/>
+       <signal name="Abs"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="Rel"><arg direction="in" type="(suuv)"/>
+       <signal name="Rel"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="Button"><arg direction="in" type="(suuv)"/>
+       <signal name="Button"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
 </interface>
 
 <interface name="org.a11y.atspi.Event.Keyboard">
-       <signal name="Modifiers"><arg direction="in" type="(suuv)"/>
+       <signal name="Modifiers"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
 </interface>
 
 <interface name="org.a11y.atspi.Event.Terminal">
-       <signal name="LineChanged"><arg direction="in" type="(suuv)"/>
+       <signal name="LineChanged"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="ColumncountChanged"><arg direction="in" type="(suuv)"/>
+       <signal name="ColumncountChanged"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="LinecountChanged"><arg direction="in" type="(suuv)"/>
+       <signal name="LinecountChanged"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="ApplicationChanged"><arg direction="in" type="(suuv)"/>
+       <signal name="ApplicationChanged"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="CharwidthChanged"><arg direction="in" type="(suuv)"/>
+       <signal name="CharwidthChanged"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
 </interface>
 
 <interface name="org.a11y.atspi.Event.Document">
-       <signal name="LoadComplete"><arg direction="in" type="(suuv)"/>
+       <signal name="LoadComplete"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="Reload"><arg direction="in" type="(suuv)"/>
+       <signal name="Reload"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="LoadStopped"><arg direction="in" type="(suuv)"/>
+       <signal name="LoadStopped"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="ContentChanged"><arg direction="in" type="(suuv)"/>
+       <signal name="ContentChanged"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="AttributesChanged"><arg direction="in" type="(suuv)"/>
+       <signal name="AttributesChanged"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
-       <signal name="PageChanged"><arg direction="in" type="(suuv)"/>
+       <signal name="PageChanged"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
 </interface>
 
 <interface name="org.a11y.atspi.Event.Focus">
-       <signal name="Focus"><arg direction="in" type="(suuv)"/>
+       <signal name="Focus"><arg type="(suuv)"/>
           <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiEvent"/>
         </signal>
 </interface>
diff --git a/xml/Registry.xml b/xml/Registry.xml
index 76033285..65737bdc 100644
--- a/xml/Registry.xml
+++ b/xml/Registry.xml
@@ -18,13 +18,13 @@
   </method>
 
   <signal name="EventListenerRegistered">
-    <arg direction="out" name="bus" type="s"/>
-    <arg direction="out" name="path" type="s"/>
+    <arg name="bus" type="s"/>
+    <arg name="path" type="s"/>
   </signal>
 
   <signal name="EventListenerDeregistered">
-    <arg direction="out" name="bus" type="s"/>
-    <arg direction="out" name="path" type="s"/>
+    <arg name="bus" type="s"/>
+    <arg name="path" type="s"/>
   </signal>
 </interface>
 </node>
diff --git a/xml/Socket.xml b/xml/Socket.xml
index f9ac76d2..8c79003c 100644
--- a/xml/Socket.xml
+++ b/xml/Socket.xml
@@ -15,7 +15,7 @@
   </method>
 
   <signal name="Available">
-    <arg direction="in" name="socket" type="(so)"/>
+    <arg name="socket" type="(so)"/>
     <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSpiObjectReference"/>
   </signal>
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]