Dan Williams
6221afc790
libnm-glib: add nm_client_networking_get_enabled() (rh #589108 ) (bgo #346615 )
...
Forgot this in the last commit.
2010-05-22 11:27:05 -07:00
Dan Williams
fa70542c61
core: add networking enable/disable knob distinct from sleep/wake (rh #589108 ) (bgo #346615 )
...
Since forever we've used sleep/wake as the way to implement
Networking Enabled. When the state file was introduced to make the
networking and wifi states persistent, we ran into a bug where
a failed suspend (like if the machine ran out of power while
suspended) would result in networking being disabled on reboot
since suspend/resume used the same knob as enable/disable.
This patch adds a distinct call for enable/disable networking
which changes the state file, while sleep/wake no longer change
the state file.
2010-05-22 09:51:22 -07:00
Dan Williams
16cda9fae1
libnm-glib: fix VPN plugin builds for C++
...
Yes, this breaks source compat. Simple rename though.
2010-05-18 16:44:27 -07:00
Jiří Klimeš
5110fa7811
libnm-{util|glib}: fix headers to be C++ compatible - C_BEGIN_DECLS/C_END_DECLS (rh #592783 )
2010-05-18 10:14:59 +02:00
Dan Williams
c3ebe98ae3
Merge remote branch 'origin/ip6only'
2010-04-26 17:33:45 -07:00
Dan Williams
0ad8fc1adc
libnm-glib: use max timeout for settings dbus calls
...
These calls may require authentication, and thus could be in-progress
for much longer than the default D-Bus timeout, which is pretty short.
2010-04-25 22:48:10 -07:00
Dan Williams
eafb1a6725
Merge remote branch 'origin/master' into ip6only
2010-04-22 14:20:24 -07:00
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
Dan Williams
e2ad8c2a54
core: add 'default6' property for ActiveConnection objects
...
Since IPv4 and IPv6 have different routing one device can have the
active IPv4 connection and a completely different one can have the
active IPv6 one.
2010-04-15 15:18:08 -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