NetworkManager/src/devices/wifi
Thomas Haller e17cd1d742 core: avoid clone of all-connections list for nm_utils_complete_generic()
NMSettings exposes a cached list of all connection. We don't need
to clone it. Note that this is not save against concurrent modification,
meaning, add/remove of connections in NMSettings will invalidate the
list.

However, it wasn't save against that previously either, because
altough we cloned the container (GSList), we didn't take an additional
reference to the elements.

This is purely a performance optimization, we don't need to clone the
list. Also, since the original list is of type "NMConnection *const*",
use that type insistently, instead of dependent API requiring GSList.

IMO, GSList is anyway not a very nice API for many use cases because
it requires an additional slice allocation for each element. It's
slower, and often less convenient to use.
2018-03-20 15:08:18 +01:00
..
tests meson: Improve dependency system 2018-01-10 12:20:17 +01:00
meson.build core/dbus: rework D-Bus implementation to use lower layer GDBusConnection API 2018-03-12 18:37:08 +01:00
nm-device-iwd.c core: avoid clone of all-connections list for nm_utils_complete_generic() 2018-03-20 15:08:18 +01:00
nm-device-iwd.h core/dbus: rework D-Bus implementation to use lower layer GDBusConnection API 2018-03-12 18:37:08 +01:00
nm-device-olpc-mesh.c core: avoid clone of all-connections list for nm_utils_complete_generic() 2018-03-20 15:08:18 +01:00
nm-device-olpc-mesh.h build: don't add subdirectories to include search path but require qualified include 2016-11-21 14:26:37 +01:00
nm-device-wifi.c core: avoid clone of all-connections list for nm_utils_complete_generic() 2018-03-20 15:08:18 +01:00
nm-device-wifi.h core/dbus: rework D-Bus implementation to use lower layer GDBusConnection API 2018-03-12 18:37:08 +01:00
nm-iwd-manager.c iwd: fix device-added signal handler signature 2018-03-05 00:35:01 +01:00
nm-iwd-manager.h iwd: Track IWD Known Networks 2017-12-21 11:07:55 +01:00
nm-wifi-ap.c core/dbus: rework creating numbered D-Bus export path by putting counter into class 2018-03-13 11:29:18 +01:00
nm-wifi-ap.h core/dbus: rework D-Bus implementation to use lower layer GDBusConnection API 2018-03-12 18:37:08 +01:00
nm-wifi-common.c core/dbus: rework D-Bus implementation to use lower layer GDBusConnection API 2018-03-12 18:37:08 +01:00
nm-wifi-common.h core/dbus: rework D-Bus implementation to use lower layer GDBusConnection API 2018-03-12 18:37:08 +01:00
nm-wifi-factory.c core: extend nm_match_spec_device_by_pllink() with the device-type 2017-12-27 09:42:05 +01:00
nm-wifi-utils.c devices/wifi: Move is_manf_default_ssid to nm-wifi-utils.c 2017-12-13 13:10:27 +01:00
nm-wifi-utils.h devices/wifi: Move is_manf_default_ssid to nm-wifi-utils.c 2017-12-13 13:10:27 +01:00