From 9a6dcbf895f9da01768e64b73cec88c16157d91e Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Tue, 26 Mar 2019 23:25:23 +0100 Subject: New upstream version 1.16.0 --- introspection/meson.build | 28 ++++--- ...g.freedesktop.NetworkManager.Device.WifiP2P.xml | 79 ++++++++++++++++++ ....freedesktop.NetworkManager.Device.Wireless.xml | 2 +- .../org.freedesktop.NetworkManager.Device.xml | 24 +++++- .../org.freedesktop.NetworkManager.WifiP2PPeer.xml | 97 ++++++++++++++++++++++ introspection/org.freedesktop.NetworkManager.xml | 40 ++++++++- 6 files changed, 252 insertions(+), 18 deletions(-) create mode 100644 introspection/org.freedesktop.NetworkManager.Device.WifiP2P.xml create mode 100644 introspection/org.freedesktop.NetworkManager.WifiP2PPeer.xml (limited to 'introspection') diff --git a/introspection/meson.build b/introspection/meson.build index 35d8c87c..e442ac85 100644 --- a/introspection/meson.build +++ b/introspection/meson.build @@ -3,26 +3,30 @@ ifaces_secret_agent_xml = files('org.freedesktop.NetworkManager.SecretAgent.xml' ifaces_vpn_plugin_xml = files('org.freedesktop.NetworkManager.VPN.Plugin.xml') ifaces = [ + 'org.freedesktop.NetworkManager', 'org.freedesktop.NetworkManager.AccessPoint', 'org.freedesktop.NetworkManager.AgentManager', 'org.freedesktop.NetworkManager.Checkpoint', 'org.freedesktop.NetworkManager.Connection.Active', + 'org.freedesktop.NetworkManager.DHCP4Config', + 'org.freedesktop.NetworkManager.DHCP6Config', + 'org.freedesktop.NetworkManager.Device', 'org.freedesktop.NetworkManager.Device.Adsl', 'org.freedesktop.NetworkManager.Device.Bluetooth', 'org.freedesktop.NetworkManager.Device.Bond', 'org.freedesktop.NetworkManager.Device.Bridge', 'org.freedesktop.NetworkManager.Device.Dummy', 'org.freedesktop.NetworkManager.Device.Generic', - 'org.freedesktop.NetworkManager.Device.Infiniband', 'org.freedesktop.NetworkManager.Device.IPTunnel', + 'org.freedesktop.NetworkManager.Device.Infiniband', 'org.freedesktop.NetworkManager.Device.Lowpan', 'org.freedesktop.NetworkManager.Device.Macsec', 'org.freedesktop.NetworkManager.Device.Macvlan', 'org.freedesktop.NetworkManager.Device.Modem', 'org.freedesktop.NetworkManager.Device.OlpcMesh', + 'org.freedesktop.NetworkManager.Device.OvsBridge', 'org.freedesktop.NetworkManager.Device.OvsInterface', 'org.freedesktop.NetworkManager.Device.OvsPort', - 'org.freedesktop.NetworkManager.Device.OvsBridge', 'org.freedesktop.NetworkManager.Device.Ppp', 'org.freedesktop.NetworkManager.Device.Statistics', 'org.freedesktop.NetworkManager.Device.Team', @@ -31,24 +35,22 @@ ifaces = [ 'org.freedesktop.NetworkManager.Device.Vlan', 'org.freedesktop.NetworkManager.Device.Vxlan', 'org.freedesktop.NetworkManager.Device.WiMax', - 'org.freedesktop.NetworkManager.Device.Wpan', + 'org.freedesktop.NetworkManager.Device.WifiP2P', 'org.freedesktop.NetworkManager.Device.WireGuard', 'org.freedesktop.NetworkManager.Device.Wired', 'org.freedesktop.NetworkManager.Device.Wireless', - 'org.freedesktop.NetworkManager.Device', - 'org.freedesktop.NetworkManager.DHCP4Config', - 'org.freedesktop.NetworkManager.DHCP6Config', + 'org.freedesktop.NetworkManager.Device.Wpan', 'org.freedesktop.NetworkManager.DnsManager', 'org.freedesktop.NetworkManager.IP4Config', 'org.freedesktop.NetworkManager.IP6Config', - 'org.freedesktop.NetworkManager', 'org.freedesktop.NetworkManager.PPP', 'org.freedesktop.NetworkManager.SecretAgent', - 'org.freedesktop.NetworkManager.Settings.Connection', 'org.freedesktop.NetworkManager.Settings', + 'org.freedesktop.NetworkManager.Settings.Connection', 'org.freedesktop.NetworkManager.VPN.Connection', 'org.freedesktop.NetworkManager.VPN.Plugin', - 'org.freedesktop.NetworkManager.WiMax.Nsp' + 'org.freedesktop.NetworkManager.WiMax.Nsp', + 'org.freedesktop.NetworkManager.WifiP2PPeer', ] ifaces_xmls = [] @@ -66,7 +68,7 @@ foreach iface: ifaces iface_xml, interface_prefix: 'org.freedesktop.NetworkManager', namespace: 'NMDBus', - docbook: 'dbus' + docbook: 'dbus', ) sources += res @@ -82,14 +84,14 @@ endforeach install_data( ifaces_xmls, - install_dir: dbus_ifaces_dir + install_dir: dbus_ifaces_dir, ) libnmdbus = static_library( 'nmdbus', sources: sources, include_directories: top_inc, - dependencies: glib_dep + dependencies: glib_dep, ) libnmdbus_dep = declare_dependency( @@ -97,5 +99,5 @@ libnmdbus_dep = declare_dependency( # libNetworkManagerBase and libNetworkManager #sources: sources, include_directories: include_directories('.'), - link_with: libnmdbus + link_with: libnmdbus, ) diff --git a/introspection/org.freedesktop.NetworkManager.Device.WifiP2P.xml b/introspection/org.freedesktop.NetworkManager.Device.WifiP2P.xml new file mode 100644 index 00000000..40e6fdbb --- /dev/null +++ b/introspection/org.freedesktop.NetworkManager.Device.WifiP2P.xml @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/introspection/org.freedesktop.NetworkManager.Device.Wireless.xml b/introspection/org.freedesktop.NetworkManager.Device.Wireless.xml index 13038545..af544088 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.Wireless.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.Wireless.xml @@ -36,7 +36,7 @@ RequestScan: @options: Options of scan. Currently 'ssids' option with value of "aay" type is supported. - Request the device to scan + Request the device to scan. To know when the scan is finished, use the "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" to listen to changes to the "LastScan" property. --> diff --git a/introspection/org.freedesktop.NetworkManager.Device.xml b/introspection/org.freedesktop.NetworkManager.Device.xml index be0a612c..65c2a2c0 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.xml @@ -198,7 +198,7 @@ @@ -256,6 +256,28 @@ --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/introspection/org.freedesktop.NetworkManager.xml b/introspection/org.freedesktop.NetworkManager.xml index 6c6ec282..efd866db 100644 --- a/introspection/org.freedesktop.NetworkManager.xml +++ b/introspection/org.freedesktop.NetworkManager.xml @@ -76,7 +76,7 @@ ActivateConnection: @connection: The connection to activate. If "/" is given, a valid device path must be given, and NetworkManager picks the best connection to activate for the given device. VPN connections must always pass a valid connection path. @device: The object path of device to be activated for physical connections. This parameter is ignored for VPN connections, because the specific_object (if provided) specifies the device to use. - @specific_object: The path of a connection-type-specific object this activation should use. This parameter is currently ignored for wired and mobile broadband connections, and the value of "/" should be used (ie, no specific object). For WiFi connections, pass the object path of a specific AP from the card's scan list, or "/" to pick an AP automatically. For VPN connections, pass the object path of an ActiveConnection object that should serve as the "base" connection (to which the VPN connections lifetime will be tied), or pass "/" and NM will automatically use the current default device. + @specific_object: The path of a connection-type-specific object this activation should use. This parameter is currently ignored for wired and mobile broadband connections, and the value of "/" should be used (ie, no specific object). For Wi-Fi connections, pass the object path of a specific AP from the card's scan list, or "/" to pick an AP automatically. For VPN connections, pass the object path of an ActiveConnection object that should serve as the "base" connection (to which the VPN connections lifetime will be tied), or pass "/" and NM will automatically use the current default device. @active_connection: The path of the active connection object representing this active connection. Activate a connection using the supplied device. @@ -92,7 +92,7 @@ AddAndActivateConnection: @connection: Connection settings and properties; if incomplete missing settings will be automatically completed using the given device and specific object. @device: The object path of device to be activated using the given connection. - @specific_object: The path of a connection-type-specific object this activation should use. This parameter is currently ignored for wired and mobile broadband connections, and the value of "/" should be used (ie, no specific object). For WiFi connections, pass the object path of a specific AP from the card's scan list, which will be used to complete the details of the newly added connection. + @specific_object: The path of a connection-type-specific object this activation should use. This parameter is currently ignored for wired and mobile broadband connections, and the value of "/" should be used (ie, no specific object). For Wi-Fi connections, pass the object path of a specific AP from the card's scan list, which will be used to complete the details of the newly added connection. @path: Object path of the new connection that was just added. @active_connection: The path of the active connection object representing this active connection. @@ -100,6 +100,8 @@ (automatically filling in missing settings with the capabilities of the given device and specific object), then activate the new connection. Cannot be used for VPN connections at this time. + + See also AddAndActivateConnection2. --> @@ -109,6 +111,38 @@ + + + + + + + + + + + -- cgit 1.3.0-6-gf8a5 From 85563b7fc7ec2cd21e38debb9b28db342e2e8e7c Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Sun, 21 Apr 2019 21:09:51 +0200 Subject: New upstream version 1.18.0 --- introspection/meson.build | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'introspection') diff --git a/introspection/meson.build b/introspection/meson.build index e442ac85..631432a7 100644 --- a/introspection/meson.build +++ b/introspection/meson.build @@ -73,13 +73,20 @@ foreach iface: ifaces sources += res - content_files += join_paths(meson.current_build_dir(), 'dbus-' + iface_xml) + if gio_unix_dep.version().version_compare('>= 2.51.3') + dbus_iface_xml_path = join_paths(meson.current_build_dir(), 'dbus-' + iface_xml) + else + dbus_iface_xml_path = join_paths(meson.build_root(), 'dbus-' + iface_xml) + endif + + content_files += dbus_iface_xml_path # res is an array only since 0.46. Documentation won't work with # older versions if meson.version().version_compare('>= 0.46.0') - introspection_files += res[2] + introspection_files += [ [res[2], dbus_iface_xml_path] ] endif + endforeach install_data( -- cgit 1.3.0-6-gf8a5