NetworkManager/libnm-util
Thomas Haller 68bc95c12f libnm-util: let nm_setting_diff() be symetric not to return properties that are set to default
Previously, nm_setting_diff() (and thus nm_connection_diff()), returned
only properties that are different AND not set to the default value.
However, if the opposite setting 'B' was missing, it would always
include all properties from 'A', even the default ones.

This behaviour was asymetric. Add two new compare flags
@NM_SETTING_COMPARE_FLAG_DIFF_RESULT_WITH_DEFAULT and
@NM_SETTING_COMPARE_FLAG_DIFF_RESULT_NO_DEFAULT to control the
behaviour of whether to include default properties.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-12 21:17:17 +02:00
..
tests trivial: don't shadow rand(3) 2014-08-20 14:18:14 -05:00
COPYING doc: fix FSF address (bgo #575625) 2009-09-10 21:03:30 -04:00
crypto.c libnm-util, libnm-glib: whitespace fixes 2014-07-15 09:44:55 -04:00
crypto.h libnm-util, libnm-glib: standardize copyright/license headers 2014-07-15 09:44:54 -04:00
crypto_gnutls.c libnm-util, libnm-glib: whitespace fixes 2014-07-15 09:44:55 -04:00
crypto_nss.c libnm-util, libnm-glib: whitespace fixes 2014-07-15 09:44:55 -04:00
generate-plugin-docs.pl libnm-util: generate-plugin-docs.pl-related fixes 2014-09-03 23:06:00 -04:00
generate-setting-docs.py build: fix generate-setting-docs.py to work with python3 2014-08-12 13:04:35 +02:00
libnm-util.pc.in libnm-glib,libnm-util: -glib requires -util, -util requires NetworkManager 2013-03-14 10:23:19 -05:00
libnm-util.ver libnm-util: merge nm-util-private and nm-utils-private 2014-07-02 13:33:58 -05:00
Makefile.am libnm-util: generate-plugin-docs.pl-related fixes 2014-09-03 23:06:00 -04:00
NetworkManager.h include: add NM_DEVICE_CAP_IS_SOFTWARE capability 2014-07-22 14:24:42 +02:00
NetworkManagerVPN.h libnm-util: fix enum member names in a gtk-doc comment 2014-07-23 17:18:03 -04:00
nm-connection.c libnm-util: properly disconnect "notify" signal for settings in NMConnection 2014-08-22 15:26:34 +02:00
nm-connection.h libnm-util, libnm-glib: standardize copyright/license headers 2014-07-15 09:44:54 -04:00
nm-param-spec-specialized.c libnm-util, libnm-glib: whitespace fixes 2014-07-15 09:44:55 -04:00
nm-param-spec-specialized.h libnm-util, libnm-glib: whitespace fixes 2014-07-15 09:44:55 -04:00
nm-setting-8021x.c libnm-util: add ifcfg-rh specific description for properties 2014-08-29 13:59:54 +02:00
nm-setting-8021x.h libnm-util, libnm-glib: standardize copyright/license headers 2014-07-15 09:44:54 -04:00
nm-setting-adsl.c libnm-core: fix crash in NMSettingAdsl:verify() 2014-08-19 00:13:11 +02:00
nm-setting-adsl.h libnm-util, libnm-glib: standardize copyright/license headers 2014-07-15 09:44:54 -04:00
nm-setting-bluetooth.c libnm-util, libnm-glib: whitespace fixes 2014-07-15 09:44:55 -04:00
nm-setting-bluetooth.h libnm-util, libnm-glib: standardize copyright/license headers 2014-07-15 09:44:54 -04:00
nm-setting-bond.c libnm: add bonding option "lacp_rate" to NMSettingBond 2014-10-02 16:36:03 +02:00
nm-setting-bond.h libnm: add bonding option "lacp_rate" to NMSettingBond 2014-10-02 16:36:03 +02:00
nm-setting-bridge-port.c libnm-util: add ifcfg-rh specific description for properties 2014-08-29 13:59:54 +02:00
nm-setting-bridge-port.h libnm-util, libnm-glib: standardize copyright/license headers 2014-07-15 09:44:54 -04:00
nm-setting-bridge.c libnm-util: add ifcfg-rh specific description for properties 2014-08-29 13:59:54 +02:00
nm-setting-bridge.h libnm-util, libnm-glib: standardize copyright/license headers 2014-07-15 09:44:54 -04:00
nm-setting-cdma.c libnm-util, libnm-glib: whitespace fixes 2014-07-15 09:44:55 -04:00
nm-setting-cdma.h libnm-util, libnm-glib: standardize copyright/license headers 2014-07-15 09:44:54 -04:00
nm-setting-connection.c libnm-util: add ifcfg-rh specific description for properties 2014-08-29 13:59:54 +02:00
nm-setting-connection.h libnm-util, libnm-glib: whitespace fixes 2014-07-15 09:44:55 -04:00
nm-setting-dcb.c libnm-util: add ifcfg-rh specific description for properties 2014-08-29 13:59:54 +02:00
nm-setting-dcb.h libnm-util, libnm-glib: standardize copyright/license headers 2014-07-15 09:44:54 -04:00
nm-setting-generic.c libnm-util: refactor NMSetting name and register_settings 2013-12-12 21:47:13 +01:00
nm-setting-generic.h libnm-util, libnm-glib: add versioned deprecation/availability macros 2014-02-13 11:24:37 -05:00
nm-setting-gsm.c libnm-util, libnm-glib: whitespace fixes 2014-07-15 09:44:55 -04:00
nm-setting-gsm.h libnm-util, libnm-glib: standardize copyright/license headers 2014-07-15 09:44:54 -04:00
nm-setting-infiniband.c libnm-util: add ifcfg-rh specific description for properties 2014-08-29 13:59:54 +02:00
nm-setting-infiniband.h libnm-util: add P_Key support to NMSettingInfiniband 2013-06-13 15:52:51 -03:00
nm-setting-ip4-config.c libnm-util: add ifcfg-rh specific description for properties 2014-08-29 13:59:54 +02:00
nm-setting-ip4-config.h libnm-util, libnm-glib: standardize copyright/license headers 2014-07-15 09:44:54 -04:00
nm-setting-ip6-config.c libnm-util: add ifcfg-rh specific description for properties 2014-08-29 13:59:54 +02:00
nm-setting-ip6-config.h libnm-util, libnm-glib: whitespace fixes 2014-07-15 09:44:55 -04:00
nm-setting-olpc-mesh.c libnm-util, libnm-glib: whitespace fixes 2014-07-15 09:44:55 -04:00
nm-setting-olpc-mesh.h libnm-util, libnm-glib: standardize copyright/license headers 2014-07-15 09:44:54 -04:00
nm-setting-ppp.c libnm-util, libnm-glib: whitespace fixes 2014-07-15 09:44:55 -04:00
nm-setting-ppp.h libnm-util, libnm-glib: standardize copyright/license headers 2014-07-15 09:44:54 -04:00
nm-setting-pppoe.c libnm-util, libnm-glib: whitespace fixes 2014-07-15 09:44:55 -04:00
nm-setting-pppoe.h libnm-util, libnm-glib: standardize copyright/license headers 2014-07-15 09:44:54 -04:00
nm-setting-private.h libnm-util: remove NM_UTIL_PRIVATE_CALL, NMSettingIP4Config:address-labels 2014-08-01 14:34:05 -04:00
nm-setting-serial.c libnm-core: make NMSettingSerial:parity an enum 2014-10-03 09:36:28 -04:00
nm-setting-serial.h libnm-util, libnm-glib: standardize copyright/license headers 2014-07-15 09:44:54 -04:00
nm-setting-team-port.c libnm-util: add ifcfg-rh specific description for properties 2014-08-29 13:59:54 +02:00
nm-setting-team-port.h libnm-util, libnm-glib: standardize copyright/license headers 2014-07-15 09:44:54 -04:00
nm-setting-team.c libnm-util: add ifcfg-rh specific description for properties 2014-08-29 13:59:54 +02:00
nm-setting-team.h libnm-util, libnm-glib: standardize copyright/license headers 2014-07-15 09:44:54 -04:00
nm-setting-template.c libnm-util: refactor NMSetting name and register_settings 2013-12-12 21:47:13 +01:00
nm-setting-template.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-setting-vlan.c libnm-util: add ifcfg-rh specific description for properties 2014-08-29 13:59:54 +02:00
nm-setting-vlan.h libnm-util, libnm-glib: standardize copyright/license headers 2014-07-15 09:44:54 -04:00
nm-setting-vpn.c libnm-util: don't assert in nm_setting_get_secret_flags() and avoid assertion in agent_secrets_done_cb() 2014-10-12 21:17:17 +02:00
nm-setting-vpn.h libnm-util, libnm-glib: standardize copyright/license headers 2014-07-15 09:44:54 -04:00
nm-setting-wimax.c libnm-util, libnm-glib: whitespace fixes 2014-07-15 09:44:55 -04:00
nm-setting-wimax.h libnm-util, libnm-glib: standardize copyright/license headers 2014-07-15 09:44:54 -04:00
nm-setting-wired.c libnm-util: add ifcfg-rh specific description for properties 2014-08-29 13:59:54 +02:00
nm-setting-wired.h libnm-util, libnm-glib: standardize copyright/license headers 2014-07-15 09:44:54 -04:00
nm-setting-wireless-security.c libnm-util: add ifcfg-rh specific description for properties 2014-08-29 13:59:54 +02:00
nm-setting-wireless-security.h libnm-util, libnm-glib: standardize copyright/license headers 2014-07-15 09:44:54 -04:00
nm-setting-wireless.c libnm-util: add ifcfg-rh specific description for properties 2014-08-29 13:59:54 +02:00
nm-setting-wireless.h libnm-util, libnm-glib: whitespace fixes 2014-07-15 09:44:55 -04:00
nm-setting.c libnm-util: let nm_setting_diff() be symetric not to return properties that are set to default 2014-10-12 21:17:17 +02:00
nm-setting.h libnm-util: let nm_setting_diff() be symetric not to return properties that are set to default 2014-10-12 21:17:17 +02:00
nm-utils-private.h libnm-util: remove NM_UTIL_PRIVATE_CALL, NMSettingIP4Config:address-labels 2014-08-01 14:34:05 -04:00
nm-utils.c libnm, libnm-utils: error out if mixed libnm/libnm-util symbols are detected 2014-08-01 14:34:40 -04:00
nm-utils.h platform: assert against the maximum length of link_get_address() 2014-07-23 12:42:45 -05:00
nm-value-transforms.c libnm-util, core: fix warning about signed integer overflow (-Wstrict-overflow) 2014-08-01 13:17:01 +02:00
nm-version.h.in libnm-util: fix gtk-doc syntax in nm-version.h to avoid a warning 2014-07-23 17:18:03 -04:00