Commit graph

245 commits

Author SHA1 Message Date
Dan Williams
eeca251a27 core: return valid error to dbus-glib (rh #581794) 2010-04-22 12:39:48 -07:00
Dan Williams
6d6f7d3d90 core: ensure errors are dbus-glib accessible (rh #581794)
Errors that can possibly be returned from D-Bus method calls
need to be registered with dbus-glib.
2010-04-22 12:27:31 -07:00
Jiří Klimeš
15351042ba libnm-glib: add 'vpn-state' and 'banner' properties to NMVPNConnection class
Without these properties, the errors like these occured:
  WARNING **: handle_property_changed: property 'vpn-state' changed but wasn't
  defined by object type NMVPNConnection.
2010-03-12 11:03:14 +01:00
Jiří Klimeš
f46a601022 libnm-glib-test: fix crash when a VPN connection is active and print its base connection 2010-03-12 10:49:59 +01:00
Dan Williams
9c9898091a libnm-glib: deprecate original libnm_glib bits
Been trying to move people off them for a long time, this makes
it official.
2010-03-10 09:18:08 -08:00
Dan Williams
bfcb57f1b9 Merge commit 'origin/master' into dhcp6 2010-01-22 12:06:04 -08:00
Dan Williams
02bebfd1f4 misc: more license fixes 2010-01-21 15:19:28 -08:00
Dan Williams
6400f5cb77 misc: license fixups
All libs are LGPL, all binaries are GPL.
2010-01-21 15:11:50 -08:00
Dan Williams
e21885e764 Merge commit 'origin/master' into dhcp6 2010-01-20 16:54:12 -08:00
Dan Williams
8720a74c2e build: pkg-config file fixes 2010-01-20 16:53:04 -08:00
Dan Williams
ac2505b64c Merge commit 'origin/master' into dhcp6 2010-01-20 15:42:26 -08:00
Jirka Klimes
7603f6dde4 libnm-util: fix NMDeviceBt hardware address property 2010-01-19 21:23:37 -08:00
Dan Williams
4f537c195c libnm-glib: add NMDHCP6Config class 2010-01-15 12:40:19 -08:00
Dan Williams
ec56c4d093 libnm-glib: add WWAN enable/disable support 2009-12-23 01:30:54 -08:00
Dan Williams
66994a18a3 libnm-glib: trivial documentation fixes 2009-11-23 15:02:56 -08:00
Dan Williams
c9d2d977dd libnm-glib: tighter warning print checks
Should be checking for dbus-glib errors of the right type,
instead of any error code (dbus-glib or not) that happens to be
4.
2009-10-20 12:10:30 -07:00
Dan Williams
3d194df94a libnm-glib: warning cleanups 2009-10-20 11:48:23 -07:00
Dan Williams
9e356dab83 libnm-glib: fix warning tearing down connections
GLib-CRITICAL **: g_hash_table_iter_next: assertion `ri->version == ri->hash_table->version' failed
2009-10-20 11:36:47 -07:00
Dan Williams
72a98c5b29 system-settings: fix crash saving default wired connections to backing storage (lp:430781)
Fix up refcounting, plus it turns out that we already have the MAC address
lying around as	a GObject data item, so	we don't need to go grab it
from the connection itself.
2009-10-05 17:46:16 -07:00
Dan Williams
866d48bb9b libnm-glib: add class padding for future expansion 2009-09-30 09:21:32 -07:00
Dan Williams
91bc44229e Merge commit 'origin/master' into cert-paths 2009-09-25 16:02:53 -07:00
Witold Sowa
b20cef2e1b libnm-glib: add 'connections-read' signal to settings interface
To let listeners know when all connections have been found.
2009-09-22 23:44:45 -07:00
Witold Sowa
ac03cbce04 libnm-glib: add service-running property to NMRemoteSettings
So that users can actually tell if the remote service is running or not.
It doesn't have to be when the object is created.
2009-09-22 23:29:02 -07:00
Dan Williams
c134460c9f Merge commit 'origin/master' into cert-paths 2009-09-18 09:09:03 -07:00
Dan Williams
7239863d8f libnm-glib: make nm_device_disconnect() async 2009-09-18 08:38:29 -07:00
Alexander Sack
109f7e772a libnm-glib: add nm_device_disconnect function to glib API 2009-09-18 17:06:53 +02:00
Dan Williams
492eb70f75 libnm-glib: fix getting remote secrets 2009-09-16 13:50:35 -07:00
Dan Williams
1ab1fed169 libnm-glib-vpn: bump soname to match soname bump for libnm-glib
So that Debian can bump package name too.
2009-09-14 07:55:59 -07:00
Dan Williams
58fcc8efe6 libnm-glib: libnm_glib -> libnm-glib
Bothered me for a long time; now that we've bumped the soname, we can
rename the library too.
2009-08-26 13:07:35 -05:00
Dan Williams
eaa8a38710 libnm-glib: bump .so major for settings API/ABI changes 2009-08-26 12:28:42 -05:00
Dan Williams
a5eb29ad9f libnm-glib: fix crash when system permissions change 2009-08-24 19:42:00 -05:00
Dan Williams
7ededcf7b8 libnm-glib: include header for easer use of NMRemoteSettingsSystem 2009-08-24 19:35:34 -05:00
Dan Williams
243cba8398 libnm-glib: implement SaveHostname 2009-08-24 16:17:41 -05:00
Dan Williams
844ff94186 libnm-glib: handle system settings permissions changes 2009-08-24 16:12:51 -05:00
Dan Williams
d56674b147 libnm-glib: NMSettingsSystemPermission -> NMSettingsSystemPermissions 2009-08-24 15:57:11 -05:00
Dan Williams
2dbaab2221 system-settings: add permissions
Since the new PolicyKit does away with easy checking of authorizations,
we get to implement it by ourselves, but that's OK since we can actually
use it for a lot more stuff.  So add the GetPermissions call which returns
the permissions the caller actually has, and a signal informing callers
that their permissions might have changed.  Hook this all up to
PolicyKit so it's useful.
2009-08-24 13:03:09 -05:00
Dan Williams
909375920b libnm-glib: add missing private header 2009-08-24 12:59:24 -05:00
Dan Williams
a4349dac9f libnm-glib: consolidate writable connection checks 2009-08-24 11:36:08 -05:00
Dan Williams
74c3ed23a3 libnm-glib: use defined signal names 2009-08-24 10:15:32 -05:00
Dan Williams
0b4dae681c libnm-glib: remove duplicate object D-Bus info registration
Was causing duplicate signal emissions on the bus.
2009-08-22 16:19:50 -05:00
Dan Williams
e2b13be3d9 Merge commit 'origin/master' into polkit1
Conflicts:
	libnm-glib/Makefile.am
	src/system-settings/nm-sysconfig-settings.c
	system-settings/plugins/ifcfg-rh/plugin.c
2009-08-21 14:12:31 -05:00
Dan Williams
0877323e8d libnm-glib: add NMIP6Config object that proxies device's IP6 config 2009-08-20 11:30:52 -05:00
Dan Williams
00e1be621e libnm-glib: exported connection fixes
Ensure that updating the connection really sends out the updated signal, and
that trying to update/delete a read-only connection over D-Bus returns an
error.
2009-08-12 17:04:21 -05:00
Dan Williams
549b303e9b libnm-glib: (NMSettingsConnectionInterface) emit 'removed' signal on successful deletion 2009-08-11 15:32:39 -05:00
Dan Williams
d26b436d9e libnm-glib: NMSettingsInterface::add_connection() should take an NMConnection
instead of an NMSettingsConnectionInterface, because we won't always have an
object that implements NMSettingsConnectionInterface.  Plus, since NMConnection
is a prerequisite of NMSettingsConnectionInterface, the NMConnection will
always be there anyway.
2009-08-11 14:12:48 -05:00
Dan Williams
cb0303180d libnm-glib: don't expose NMRemoteConnetions until they are valid
Give them time to get their settings from the remote settings service
first, then let subclasses/users/whatever know about them.
2009-08-11 10:33:13 -05:00
Dan Williams
cff9205ebd libnm-glib: remove redundant Scope and Path properties on NMSettingsConnectionInterface
Since NMSettingsConnectionInterface already has NM_TYPE_CONNECTION as a prerequisite,
which already implements these properties, it's pointless to have them on
NMSettingsConnectionInterface too.
2009-08-11 09:53:34 -05:00
Dan Williams
4fb162e754 libnm-glib: implement stub update & delete functions 2009-08-11 00:11:36 -05:00
Dan Williams
27d425d853 libnm-glib: fix signal marshaller type 2009-08-11 00:01:53 -05:00
Dan Williams
71507c9fa3 system-settings: fix issues with system settings service property types 2009-08-10 23:52:03 -05:00