NetworkManager/libnm-core
Thomas Haller 6861cd1f2b libnm: fix compare_property() to handle default values
Before, get_property_for_dbus() would @ignore_defaults.
That is for example wrong for properties of type G_TYPE_STRV.

In this case, if one operand has the property at its default
(NULL) and the other has it to an empty string list, both would
compare equal.

This has the effect that different settings might compare equal.

(cherry picked from commit 7478c4b54a)
2015-06-19 13:06:37 +02:00
..
tests all: fix a compiler warning about function declarations 2015-06-19 12:40:54 +02:00
crypto.c libnm/crypto: fix uninitialized variable in crypto_md5_hash() 2014-12-04 16:24:05 +01:00
crypto.h libnm-core: relax restrictions on input arguments for crypto_md5_hash() 2014-12-04 08:39:54 -05:00
crypto_gnutls.c libnm-core: call crypto_init() on the fly 2014-12-04 08:39:54 -05:00
crypto_nss.c libnm-core: call crypto_init() on the fly 2014-12-04 08:39:54 -05:00
Makefile.am libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
Makefile.libnm-core libnm-core, all: merge IPv4 and IPv6 address/route types 2014-11-07 07:49:40 -05:00
nm-connection-private.h libnm-core: make nm_setting_verify() take an NMConnection 2014-10-28 17:17:17 -04:00
nm-connection.c libnm: sort settings for nm_connection_for_each_setting_value() 2015-03-20 13:33:15 +01:00
nm-connection.h libnm, docs: docs fixes 2014-11-07 13:16:54 -05:00
nm-core-internal.h libnm/utils: add _nm_utils_strv_find_first() function 2015-06-19 12:43:03 +02:00
nm-core-types.h libnm-core: extract NMSettingIPConfig superclass out of IP4, IP6 classes 2014-11-07 07:49:40 -05:00
nm-dbus-interface.h vlan: don't fail if parent isn't found at construct time for existing devices 2015-06-17 16:11:56 +02:00
nm-errors.c libnm-core: fix VPN error domain (bgo #745997) 2015-04-07 12:53:34 -04:00
nm-errors.h libnm, docs: docs fixes 2014-11-07 13:16:54 -05:00
nm-property-compare.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-property-compare.h libnm-core: change connection hash tables to variants in API 2014-09-18 11:51:09 -04:00
nm-setting-8021x.c libnm: fix memleaks in nm_setting_802_1x 2015-03-13 11:50:03 +01:00
nm-setting-8021x.h libnm, docs: docs fixes 2014-11-07 13:16:54 -05:00
nm-setting-adsl.c libnm: don't check for valid passwords in NMSetting:verify() 2015-03-20 13:07:10 +01:00
nm-setting-adsl.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-bluetooth.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-bluetooth.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-bond.c bond: normalize bond mode to string notation (rh #1171009) 2015-01-21 12:18:15 -05:00
nm-setting-bond.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-bridge-port.c libnm, libnm-util: move settings doc generation to libnm-core 2014-11-19 09:24:09 -05:00
nm-setting-bridge-port.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-bridge.c bridge: Properly check range of STP properties (rh #1160815) 2015-01-09 12:17:30 +01:00
nm-setting-bridge.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-cdma.c libnm: don't check for valid passwords in NMSetting:verify() 2015-03-20 13:07:10 +01:00
nm-setting-cdma.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-connection.c ifcfg-rh: read/write autoconnect-slaves property as AUTOCONNECT_SLAVES 2015-06-19 12:18:52 +02:00
nm-setting-connection.h libnm: add autoconnect-slaves property to NMSettingConnection 2015-06-19 12:18:51 +02:00
nm-setting-dcb.c libnm: fix memleak for app_fcoe_mode in NMSettingDcb 2015-03-13 11:50:03 +01:00
nm-setting-dcb.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-generic.c libnm-core: merge NMSetting*Error into NMConnectionError 2014-10-22 08:29:07 -04:00
nm-setting-generic.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-gsm.c libnm: don't check for valid passwords in NMSetting:verify() 2015-03-20 13:07:10 +01:00
nm-setting-gsm.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-infiniband.c libnm, libnm-util: move settings doc generation to libnm-core 2014-11-19 09:24:09 -05:00
nm-setting-infiniband.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-ip-config.c docs: misc small fixes 2014-12-18 13:46:11 -05:00
nm-setting-ip-config.h libnm: add NMSettingIPConfig:route-metric 2014-11-07 15:19:06 +01:00
nm-setting-ip4-config.c ifcfg-rh: support ipvx.route-metric property as IPVX_ROUTE_METRIC 2015-01-12 22:03:04 +01:00
nm-setting-ip4-config.h libnm-core: extract NMSettingIPConfig superclass out of IP4, IP6 classes 2014-11-07 07:49:40 -05:00
nm-setting-ip6-config.c device: remove reading ipv6 privacy setting from sysctl 2015-06-19 12:10:52 +02:00
nm-setting-ip6-config.h libnm-core: extract NMSettingIPConfig superclass out of IP4, IP6 classes 2014-11-07 07:49:40 -05:00
nm-setting-olpc-mesh.c libnm-core: make GBytes D-Bus marshalling be built-in to NMSetting 2014-11-19 09:24:10 -05:00
nm-setting-olpc-mesh.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-ppp.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-ppp.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-pppoe.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-pppoe.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-private.h libnm-core: change how new and legacy properties are serialized 2014-11-15 09:52:29 -05:00
nm-setting-serial.c libnm: Override parts of nm-setting-docs.xml 2014-11-19 09:24:10 -05:00
nm-setting-serial.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-team-port.c libnm: fix memleak for config in NMSettingTeamPort 2015-03-13 11:50:03 +01:00
nm-setting-team-port.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-team.c libnm: Override parts of nm-setting-docs.xml 2014-11-19 09:24:10 -05:00
nm-setting-team.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-vlan.c libnm-core: mute coverity for RESOURCE_LEAK (CWE-772) in g_return_val_if_fail() 2014-12-16 21:47:01 +01:00
nm-setting-vlan.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-vpn.c libnm, libnm-util: move settings doc generation to libnm-core 2014-11-19 09:24:09 -05:00
nm-setting-vpn.h libnm/libnm-util: add VPN 'persistent' property 2014-11-06 21:16:57 -06:00
nm-setting-wimax.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-wimax.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-wired.c libnm: fix memleak in nm_setting_wired_get_s390_option() and refactor 2015-03-13 11:50:03 +01:00
nm-setting-wired.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-wireless-security.c libnm: don't check for valid passwords in NMSetting:verify() 2015-03-20 13:07:10 +01:00
nm-setting-wireless-security.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-wireless.c libnm-core: update BAND and CHANNEL ifcfg-rh description 2014-11-19 09:24:10 -05:00
nm-setting-wireless.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting.c libnm: fix compare_property() to handle default values 2015-06-19 13:06:37 +02:00
nm-setting.h libnm: fix nm-setting-docs.xml property types 2014-11-19 09:24:10 -05:00
nm-simple-connection.c libnm: normalize connections in nm_simple_connection_new_from_dbus() 2014-12-05 11:04:20 +01:00
nm-simple-connection.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-utils-private.h ifcfg-rh: don't include nm-utils-private.h outside of libnm-core/ 2014-12-03 17:36:08 +01:00
nm-utils.c libnm/utils: add _nm_utils_strv_find_first() function 2015-06-19 12:43:03 +02:00
nm-utils.h libnm: add function nm_utils_file_search_in_paths() 2014-12-05 11:07:42 +01:00
nm-version.h.in libnm-core, libnm-util: belatedly update NM_VERSION_CUR_STABLE 2015-01-21 12:10:48 -05:00
nm-vpn-dbus-interface.h vpn: allow plugins to indicate 'can-persist' capability 2014-11-06 21:17:34 -06:00