NetworkManager/src/devices/wwan
Lubomir Rintel 06da353242 core: separate active and applied connection
Clone the connection upon activation. This makes it safe for the user
to modify the original connection while it is activated.

This involves several changes:

- NMActiveConnection gets @settings_connection and @applied_connection.
  To support add-and-activate, we constructing a NMActiveConnection with
  no connection set. Previously, we would set the "connection" field to
  a temporary NMConnection. Now NMManager piggybacks this temporary
  connection as object-data (TAG_ACTIVE_CONNETION_ADD_AND_ACTIVATE).

- get rid of the functions nm_active_connection_get_connection_type()
  and nm_active_connection_get_connection_uuid(). From their names
  it is unclear whether this returns the settings or applied connection.
  The (few) callers should figure that out themselves.

- rename nm_active_connection_get_id() to
  nm_active_connection_get_settings_connection_id(). This function
  is only used internally for logging.

- dispatcher calls now get two connections as well. The
  applied-connection is used for the connection data, while
  the settings-connection is used for the connection path.

- needs special handling for properties that apply immediately
  when changed (nm_device_reapply_settings_immediately()).

Co-Authored-By: Thomas Haller <thaller@redhat.com>

https://bugzilla.gnome.org/show_bug.cgi?id=724041
2015-09-18 17:32:11 +02:00
..
exports.ver core: move device factory type function into factory object 2014-09-11 12:47:23 -05:00
Makefile.am devices, active-connection: port to gdbus 2015-08-10 09:41:26 -04:00
nm-device-modem.c core: separate active and applied connection 2015-09-18 17:32:11 +02:00
nm-device-modem.h all: rename nm-glib-compat.h to nm-glib.h, use everywhere 2015-07-24 13:25:47 -04:00
nm-modem-broadband.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nm-modem-broadband.h all: rename nm-glib-compat.h to nm-glib.h, use everywhere 2015-07-24 13:25:47 -04:00
nm-modem-manager.c wwan: add missing include for DBUS_INTERFACE_PEER 2015-08-18 17:01:44 -05:00
nm-modem-manager.h all: rename nm-glib-compat.h to nm-glib.h, use everywhere 2015-07-24 13:25:47 -04:00
nm-modem.c core: separate active and applied connection 2015-09-18 17:32:11 +02:00
nm-modem.h agent-manager: always invoke complete function for asynchronous nm_agent_manager_get_secrets() 2015-09-18 14:31:31 +02:00
nm-wwan-factory.c core: fix interface type names 2015-09-10 13:43:47 -04:00
nm-wwan-factory.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
wwan-exports.ver wwan: wait for pppd to exit before relaying the port to ModemManager 2015-01-21 18:36:00 -06:00