2007-02-19 Tambet Ingo <tambet@ximian.com>
authorTambet Ingo <tambet@ximian.com>
Mon, 19 Feb 2007 13:09:32 +0000 (13:09 +0000)
committerTambet Ingo <tambet@gmail.com>
Mon, 19 Feb 2007 13:09:32 +0000 (13:09 +0000)
commit3dcd9d2d17ea5bffb71ae03ee2c5f479b95077b6
tree39a414616ae23ad451ea28821ec7ac451736f799
parentdedaf4e9f779f7d8eecafa4506dcd18f5c818a8c
2007-02-19  Tambet Ingo  <tambet@ximian.com>

* src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
Handle device state changes and disconnect VPN if it's device deactivates.

* src/nm-dbus-nm.c:
* src/nm-dbus-nm.h:
* src/nm-dbus-device.c:
* src/nm-dbus-device.c:
* src/nm-dbus-net.c:
* src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.

* src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.

* src/nm-device.c (nm_device_get_by_udi):
(nm_device_get_by_iface): Remove. This doesn't belong here and is already
implemented in the correct location (NMManager).
Rip out all the test_device stuff.

* src/NetworkManagerPolicy.c: Remove the leftover activation success and
failure handlers, it's all done by NMDevice already.

* src/NetworkManager.c: Move the signal handling here from nm-logging.c
Remove the iochannel hack to route the unix signals to the main thread since
we're not threaded anymore.

* src/NetworkManagerAP.c: Implement HWAddress property.

* src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
automatically with dbus-glib.

* src/nm-netlink-monitor.c:
* src/nm-netlink-monitor.h:
- Move it low in the class hierarchy, don't reference any NM types.
- Remove private data from the header.
- Use type safe checks in public API methods.
- Make it a singleton so we don't have to pass the single reference around.

git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2339 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
34 files changed:
ChangeLog
introspection/nm-access-point.xml
libnm-glib/libnm-glib-test.c
libnm-glib/nm-access-point.c
libnm-glib/nm-access-point.h
src/NetworkManager.c
src/NetworkManagerAP.c
src/NetworkManagerAP.h
src/NetworkManagerDbus.c
src/NetworkManagerDbus.h
src/NetworkManagerMain.h
src/NetworkManagerPolicy.c
src/NetworkManagerPolicy.h
src/backends/NetworkManagerFrugalware.c
src/backends/NetworkManagerGeneric.c
src/nm-dbus-device.c [deleted file]
src/nm-dbus-device.h [deleted file]
src/nm-dbus-net.c [deleted file]
src/nm-dbus-net.h [deleted file]
src/nm-dbus-nm.c [deleted file]
src/nm-dbus-nm.h [deleted file]
src/nm-device-802-11-wireless.c
src/nm-device-802-3-ethernet.c
src/nm-device-802-3-ethernet.h
src/nm-device.c
src/nm-device.h
src/nm-logging.c
src/nm-logging.h
src/nm-marshal.list
src/nm-netlink-monitor.c
src/nm-netlink-monitor.h
src/vpn-manager/nm-dbus-vpn.c
src/vpn-manager/nm-dbus-vpn.h
src/vpn-manager/nm-vpn-manager.c