From 1358831d0376fc15773e35773f8d48b8b59de717 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Fri, 18 Mar 2022 14:41:57 +0100 Subject: [PATCH] introspection: use @since gdbus-codegen provides a way to specify a version number on various elements. Use it to instead of a plain text paragraph. --- ...sktop.NetworkManager.Connection.Active.xml | 2 +- ...reedesktop.NetworkManager.Device.Modem.xml | 6 ++--- ...esktop.NetworkManager.Device.OvsBridge.xml | 3 +-- ...edesktop.NetworkManager.Device.OvsPort.xml | 3 +-- ...edesktop.NetworkManager.Device.WifiP2P.xml | 15 +----------- ...desktop.NetworkManager.Device.Wireless.xml | 3 +-- .../org.freedesktop.NetworkManager.Device.xml | 15 ++++-------- ...g.freedesktop.NetworkManager.IP4Config.xml | 6 ++--- ...top.NetworkManager.Settings.Connection.xml | 9 +++----- ...rg.freedesktop.NetworkManager.Settings.xml | 3 +-- ...freedesktop.NetworkManager.WifiP2PPeer.xml | 23 +------------------ .../org.freedesktop.NetworkManager.xml | 3 +-- 12 files changed, 21 insertions(+), 70 deletions(-) diff --git a/introspection/org.freedesktop.NetworkManager.Connection.Active.xml b/introspection/org.freedesktop.NetworkManager.Connection.Active.xml index 54e1fd9445..fc6ff2600a 100644 --- a/introspection/org.freedesktop.NetworkManager.Connection.Active.xml +++ b/introspection/org.freedesktop.NetworkManager.Connection.Active.xml @@ -93,10 +93,10 @@ StateChanged: @state: (NMActiveConnectionState) The new state of the active connection. @reason: (NMActiveConnectionStateReason) Reason code describing the change to the new state. + @since: 1.8 Emitted when the state of the active connection has changed. - Since: 1.8 --> diff --git a/introspection/org.freedesktop.NetworkManager.Device.Modem.xml b/introspection/org.freedesktop.NetworkManager.Device.Modem.xml index b089bda2de..119a998282 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.Modem.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.Modem.xml @@ -30,31 +30,31 @@ diff --git a/introspection/org.freedesktop.NetworkManager.Device.OvsBridge.xml b/introspection/org.freedesktop.NetworkManager.Device.OvsBridge.xml index 5970a59d6a..e608cf1d0e 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.OvsBridge.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.OvsBridge.xml @@ -9,12 +9,11 @@ diff --git a/introspection/org.freedesktop.NetworkManager.Device.OvsPort.xml b/introspection/org.freedesktop.NetworkManager.Device.OvsPort.xml index 3cd1fa54d6..4919fdf1bd 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.OvsPort.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.OvsPort.xml @@ -9,12 +9,11 @@ diff --git a/introspection/org.freedesktop.NetworkManager.Device.WifiP2P.xml b/introspection/org.freedesktop.NetworkManager.Device.WifiP2P.xml index f5e2fdceaa..5384e3f72e 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.WifiP2P.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.WifiP2P.xml @@ -3,8 +3,7 @@ @@ -15,8 +14,6 @@ The active hardware address of the device. DEPRECATED. Use the "HwAddress" property in "org.freedesktop.NetworkManager.Device" instead which exists since version NetworkManager 1.24.0. - - Since: 1.16 --> @@ -24,8 +21,6 @@ Peers: List of object paths of peers visible to this Wi-Fi P2P device. - - Since: 1.16 --> @@ -36,8 +31,6 @@ 30 seconds. Start a find operation for Wi-Fi P2P peers. - - Since: 1.16 --> @@ -47,8 +40,6 @@ StopFind: Stop an ongoing find operation again. - - Since: 1.16 --> @@ -58,8 +49,6 @@ @peer: The object path of the newly found access point. Emitted when a new Wi-Fi P2P peer is found by the device. - - Since: 1.16 --> @@ -70,8 +59,6 @@ @peer: The object path of the Wi-Fi P2P peer that has disappeared. Emitted when a Wi-Fi P2P peer disappears from view of the device. - - Since: 1.16 --> diff --git a/introspection/org.freedesktop.NetworkManager.Device.Wireless.xml b/introspection/org.freedesktop.NetworkManager.Device.Wireless.xml index c57e568988..59d4ee9ee5 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.Wireless.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.Wireless.xml @@ -100,11 +100,10 @@ diff --git a/introspection/org.freedesktop.NetworkManager.Device.xml b/introspection/org.freedesktop.NetworkManager.Device.xml index 82f127edde..b42b5478ee 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.xml @@ -268,58 +268,53 @@ diff --git a/introspection/org.freedesktop.NetworkManager.IP4Config.xml b/introspection/org.freedesktop.NetworkManager.IP4Config.xml index ce659d71fd..75a59bddd8 100644 --- a/introspection/org.freedesktop.NetworkManager.IP4Config.xml +++ b/introspection/org.freedesktop.NetworkManager.IP4Config.xml @@ -61,11 +61,10 @@ @@ -108,10 +107,9 @@ diff --git a/introspection/org.freedesktop.NetworkManager.Settings.Connection.xml b/introspection/org.freedesktop.NetworkManager.Settings.Connection.xml index 55bdaff669..db547746ae 100644 --- a/introspection/org.freedesktop.NetworkManager.Settings.Connection.xml +++ b/introspection/org.freedesktop.NetworkManager.Settings.Connection.xml @@ -118,6 +118,7 @@ arguments are accepted. Specifying unknown keys causes the call to fail. @result: output argument, currently no results are returned. + @since: 1.12 Update the connection with new settings and properties (replacing all previous settings and properties). If the flag 0x1 is present, @@ -136,8 +137,6 @@ associated with each secret. Update2 is a extensible alternative to Update, UpdateUnsaved and Save. - - Since: 1.12 --> @@ -168,21 +167,19 @@ diff --git a/introspection/org.freedesktop.NetworkManager.Settings.xml b/introspection/org.freedesktop.NetworkManager.Settings.xml index 28c89ff4f7..e0d5b7d176 100644 --- a/introspection/org.freedesktop.NetworkManager.Settings.xml +++ b/introspection/org.freedesktop.NetworkManager.Settings.xml @@ -76,6 +76,7 @@ to fail. @path: Object path of the new connection that was just added. @result: output argument, currently no additional results are returned. + @since: 1.20 Add a new connection profile. @@ -87,8 +88,6 @@ AddConnection2 is a extensible alternative to AddConnection, and AddConnectionUnsaved. The new variant can do everything that the older variants could, and more. - - Since: 1.20 --> diff --git a/introspection/org.freedesktop.NetworkManager.WifiP2PPeer.xml b/introspection/org.freedesktop.NetworkManager.WifiP2PPeer.xml index 760849c3f0..2c7b82df9e 100644 --- a/introspection/org.freedesktop.NetworkManager.WifiP2PPeer.xml +++ b/introspection/org.freedesktop.NetworkManager.WifiP2PPeer.xml @@ -3,8 +3,7 @@ @@ -18,8 +17,6 @@ Name: Device name. - - Since: 1.16 --> @@ -29,8 +26,6 @@ Flags describing the capabilities of the access point. Returns: NM80211ApFlags - - Since: 1.16 --> @@ -38,8 +33,6 @@ Manufacturer: The manufacturer of the Wi-Fi P2P peer. - - Since: 1.16 --> @@ -47,8 +40,6 @@ Model: The model of the Wi-Fi P2P peer. - - Since: 1.16 --> @@ -56,8 +47,6 @@ ModelNumber: The model number of the Wi-Fi P2P peer. - - Since: 1.16 --> @@ -65,8 +54,6 @@ Serial: The serial number of the Wi-Fi P2P peer. - - Since: 1.16 --> @@ -74,8 +61,6 @@ WfdIEs: The Wi-Fi Display Information Elements of the Wi-Fi P2P peer. - - Since: 1.16 --> @@ -83,8 +68,6 @@ HwAddress: The hardware address (BSSID) of the access point. - - Since: 1.16 --> @@ -92,8 +75,6 @@ Strength: The current signal quality of the access point, in percent. - - Since: 1.16 --> @@ -103,8 +84,6 @@ The timestamp (in CLOCK_BOOTTIME seconds) for the last time the access point was found in scan results. A value of -1 means the access point has never been found in scan results. - - Since: 1.16 --> diff --git a/introspection/org.freedesktop.NetworkManager.xml b/introspection/org.freedesktop.NetworkManager.xml index ff74c5122d..475f329f2c 100644 --- a/introspection/org.freedesktop.NetworkManager.xml +++ b/introspection/org.freedesktop.NetworkManager.xml @@ -296,10 +296,9 @@ will be recalculated to give the approximate new expiration time. The new "RollbackTimeout" property will be approximate up to one second precision, which is the accuracy of the property. + @since: 1.12 Reset the timeout for rollback for the checkpoint. - - Since: 1.12 -->