NetworkManager/libnm
Thomas Haller 95ab69b761 libnm: coerce empty strings to NULL for D-Bus properties
On D-Bus level, string (s) or object paths (o) cannot be NULL.
Thus, whenver server exposes such an object, it gets automatically
coerced to "" or "/", respectively.

On client side, libnm should coerce certain properties back, for which
"" is just not a sensible value.

For example, an empty NM_DEVICE_ETHERNET_HW_ADDRESS should be instead
exposed as NULL.

Technically, this is an API change. However, all users were well advised
to expect both NULL and "" as possible return values and handle them
accordingly.
2016-10-24 10:14:02 +02:00
..
tests build: merge "libnm/tests/Makefile.am" into toplevel Makefile 2016-10-19 17:16:08 +02:00
generate-plugin-docs.pl build: merge "libnm/Makefile.am" into toplevel Makefile 2016-10-19 17:16:07 +02:00
generate-setting-docs.py python: use gi.require_version() in generate-setting-docs.py and examples 2015-11-11 10:56:05 +01:00
libnm.pc.in libnm,pkg-config: provide a variable with VPN service directory 2015-08-19 15:13:11 +02:00
libnm.ver libnm-core: introduce connection.autoconnect-retries property 2016-10-16 10:08:13 +02:00
NetworkManager.h libnm: API for Proxy Feature 2016-10-04 11:44:13 +02:00
nm-access-point.c libnm: coerce empty strings to NULL for D-Bus properties 2016-10-24 10:14:02 +02:00
nm-access-point.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-active-connection.c libnm: coerce empty strings to NULL for D-Bus properties 2016-10-24 10:14:02 +02:00
nm-active-connection.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-client.c libnm: move backported symbols from libnm-core to libnm 2016-10-13 21:33:33 +02:00
nm-client.h auth: check when setting statistics refresh rate 2016-08-17 16:08:20 +02:00
nm-dbus-helpers.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-dbus-helpers.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nm-device-adsl.c all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
nm-device-adsl.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-device-bond.c libnm: coerce empty strings to NULL for D-Bus properties 2016-10-24 10:14:02 +02:00
nm-device-bond.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-device-bridge.c libnm: coerce empty strings to NULL for D-Bus properties 2016-10-24 10:14:02 +02:00
nm-device-bridge.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-device-bt.c libnm: coerce empty strings to NULL for D-Bus properties 2016-10-24 10:14:02 +02:00
nm-device-bt.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-device-ethernet.c libnm: coerce empty strings to NULL for D-Bus properties 2016-10-24 10:14:02 +02:00
nm-device-ethernet.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-device-generic.c libnm: coerce empty strings to NULL for D-Bus properties 2016-10-24 10:14:02 +02:00
nm-device-generic.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-device-infiniband.c libnm: coerce empty strings to NULL for D-Bus properties 2016-10-24 10:14:02 +02:00
nm-device-infiniband.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-device-ip-tunnel.c libnm: coerce empty strings to NULL for D-Bus properties 2016-10-24 10:14:02 +02:00
nm-device-ip-tunnel.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-device-macvlan.c libnm: coerce empty strings to NULL for D-Bus properties 2016-10-24 10:14:02 +02:00
nm-device-macvlan.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-device-modem.c all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
nm-device-modem.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-device-olpc-mesh.c libnm: coerce empty strings to NULL for D-Bus properties 2016-10-24 10:14:02 +02:00
nm-device-olpc-mesh.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-device-private.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-device-team.c libnm: coerce empty strings to NULL for D-Bus properties 2016-10-24 10:14:02 +02:00
nm-device-team.h team: expose current device configuration through D-Bus and nmcli 2016-05-26 09:16:46 +02:00
nm-device-tun.c libnm: coerce empty strings to NULL for D-Bus properties 2016-10-24 10:14:02 +02:00
nm-device-tun.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-device-vlan.c libnm: coerce empty strings to NULL for D-Bus properties 2016-10-24 10:14:02 +02:00
nm-device-vlan.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-device-vxlan.c libnm: coerce empty strings to NULL for D-Bus properties 2016-10-24 10:14:02 +02:00
nm-device-vxlan.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-device-wifi.c libnm: coerce empty strings to NULL for D-Bus properties 2016-10-24 10:14:02 +02:00
nm-device-wifi.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-device-wimax.c libnm: coerce empty strings to NULL for D-Bus properties 2016-10-24 10:14:02 +02:00
nm-device-wimax.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-device.c libnm: coerce empty strings to NULL for D-Bus properties 2016-10-24 10:14:02 +02:00
nm-device.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-dhcp-config.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-dhcp-config.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-dhcp4-config.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-dhcp4-config.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-dhcp6-config.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-dhcp6-config.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-ip-config.c libnm: coerce empty strings to NULL for D-Bus properties 2016-10-24 10:14:02 +02:00
nm-ip-config.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-ip4-config.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-ip4-config.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-ip6-config.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-ip6-config.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-manager.c libnm: coerce empty strings to NULL for D-Bus properties 2016-10-24 10:14:02 +02:00
nm-manager.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-object-cache.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-object-cache.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nm-object-private.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nm-object.c all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
nm-object.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-remote-connection-private.h libnm: add libnm/libnm-core (part 1) 2014-08-01 14:34:04 -04:00
nm-remote-connection.c all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
nm-remote-connection.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-remote-settings.c all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
nm-remote-settings.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-secret-agent-old.c all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
nm-secret-agent-old.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-types.h libnm: add NMDeviceVxlan 2015-12-09 16:36:46 +01:00
nm-vpn-connection.c libnm: coerce empty strings to NULL for D-Bus properties 2016-10-24 10:14:02 +02:00
nm-vpn-connection.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-vpn-editor.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-vpn-editor.h all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
nm-vpn-plugin-old.c all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
nm-vpn-plugin-old.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-vpn-service-plugin.c all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
nm-vpn-service-plugin.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00
nm-wimax-nsp.c all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
nm-wimax-nsp.h docs: libnm: add doc comment to types 2016-05-05 17:01:57 +02:00