Commit Graph

7740 Commits

Author SHA1 Message Date
Dan Williams
74c3ed23a3 libnm-glib: use defined signal names 2009-08-24 10:15:32 -05:00
Dan Williams
624708ac5d introspection: whitespace fixup 2009-08-24 09:38:38 -05:00
Dan Williams
def14729b9 introspection: fix Removed signal detail 2009-08-24 09:38:14 -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
09459788cd core: don't use backtrace_symbols() from a signal handler
It uses malloc(), which you can't do from a signal handler.
2009-08-21 12:16:17 -05:00
Dan Williams
20a0d197f7 core: fix log message 2009-08-21 12:12:50 -05:00
Alexander Sack
b6637b2053 core: make sure device interfaces are up before ip4 configuration 2009-08-20 21:02:17 +02:00
Tyson Whitehead
cb6039033a supplicant: add ca_path2 to verification table (bgo #592467) 2009-08-20 13:21:17 -05:00
Dan Williams
9c0e929552 core: require gio
Which isn't a problem, since we already require glib-2.16 which
includes gio.  Thus, we can remove all the gfilemonitor compat
stuff.
2009-08-20 13:00:37 -05:00
Dan Williams
718e3bf89c build: remove unused references to HAL 2009-08-20 12:38:59 -05:00
Dan Williams
537c2f1f86 build: always link locally-built libraries first (bgo #580131) 2009-08-20 12:31:17 -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
0fb5560b79 udev: fix ibmebus/ehea device detection (rh #511304) (rh #516591)
The driver is on the grandparent, not the parent.
2009-08-20 10:23:47 -05:00
Dan Williams
a8ca7f537d ppp: work around PPP bug that returns bogus nameservers
Work around a PPP bug (#1732) which causes many mobile broadband
providers to return 10.11.12.13 and 10.11.12.14 for the DNS servers.
Apparently fixed in ppp-2.4.5 but we've had some reports that this is
not the case.

http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=2e09ef6886bbf00bc5a9a641110f801e372ffde6
http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=f8191bf07df374f119a07910a79217c7618f113e
2009-08-18 12:28:56 -05:00
Dan Winship
80d48837ce ipv6: fix up no-duplicates logic in nm_ip6_config_add_nameserver 2009-08-18 11:14:55 -04:00
Dan Williams
b62702d337 modem: don't send PropertyChanged signals for private properties 2009-08-17 19:55:01 -05:00
Dan Williams
c2fb1f850a gsm/bt: fix merge of user-defined IPv4 settings 2009-08-17 19:48:42 -05:00
Dan Williams
3e221833da ppp: start PPP at activation stage3 instead of stage2
With the addition of IPv6, both v4 and v6 configuration are run in
parallel, and when both have finished, then activation can proceed.
Unfortunately, two of the 3 users of PPP (PPPoE and 3G) ran PPP at
stage2, and when the PPP IPv4 config was received, jumped directly
to activation stage4.  That caused the IPv6 code never to run, and
thus we hung at stage4 waiting for it to complete when nothing had
started it in the first place.

Instead, move PPP to stage3 so that
nm_device_activate_stage3_ip_config_start() can kick off both v4
and v6 IP code and we can successfully complete IP configuration
in all cases.  PPP previously being in stage2 was an artifact of
the more simplistic pre-IPv6 configuration code where it didn't
matter if you skipped stage3.
2009-08-17 15:35:02 -05:00
Dan Williams
377b116651 gsm: harmonize GSM network modes with ModemManager API 2009-08-17 14:43:37 -05:00
Dan Williams
a90491e8d8 gsm: reset secrets tries counter to avoid asking for secrets we don't need
The counter wasn't getting reset, so the second time the connection was
activated, secrets would be requested even though they weren't needed.
2009-08-17 14:39:22 -05:00
Dan Williams
8777cea8dc vpn: further clarify VPN IP4 config dict argument types 2009-08-17 09:20:58 -05:00
Dan Williams
465bc8ea46 vpn: clarify VPN Ip4Config docs 2009-08-13 17:01:06 -05:00
Dan Williams
98078b2609 vpn: document VPN Ip4Config key/value pairs 2009-08-13 16:56:44 -05:00
Dan Williams
107ac82208 build: fix distcheck 2009-08-13 09:18:26 -05:00
Alexander Sack
2e849a0cb8 system-settings: fix crasher (lp:411668) 2009-08-12 17:19:55 -05:00
Dan Williams
650cbcc108 ifupdown: port to new settings API 2009-08-12 17:13:24 -05:00
Dan Williams
5be1f8e133 ifcfg-suse: port to new settings API 2009-08-12 17:13:08 -05:00
Dan Williams
2164c14559 ifcfg-rh: use GHashTableIter a bit more 2009-08-12 17:11:07 -05:00
Dan Williams
fb34976ab9 system-settings: remove redundant default methods for update/delete
NMExportedConnection implements these already, and we want the functionality
that it provides, so we don't need to override them here.
2009-08-12 17:10:20 -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 Winship
fc8661a24c libnm-util: fix verifying METHOD_IGNORE in NMSettingIP6Config 2009-08-12 10:33:21 -04:00
Dan Williams
7dc07202e3 polkit: fix policy for polkit >= 0.92 2009-08-11 16:06:07 -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
ce7ebaa7f9 libnm-util: ensure NMConnection scope & path can be set on construction 2009-08-11 00:02:05 -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
Dan Williams
155f19cb2a libnm-glib: don't require a bus connection at construction time 2009-08-10 23:39:08 -05:00
Dan Williams
890866bef9 system-settings: clean up settings service classes
Make NMSettingsService implement most of the NMSettingsInterface
API to make subclasses simpler, and consolidate exporting of
NMExportedConnection subclasses in NMSettingsService instead of
in 3 places.  Make NMSysconfigSettings a subclass of
NMSettingsService and save a ton of code.
2009-08-10 23:25:11 -05:00
Dan Williams
f64354d0cc Merge commit 'origin/master' into polkit1
Conflicts:
	system-settings/plugins/ifcfg-rh/nm-ifcfg-connection.c
2009-08-10 16:27:16 -05:00
Dan Williams
38f732a721 Merge branch 'iscsi' 2009-08-10 15:52:28 -05:00
Dan Williams
0993ea3989 libnm-util: fix DEFAULT_MAP_SIZE; broken by ff88cf12c2 2009-08-10 15:21:16 -05:00
Dan Williams
39feeeb065 introspection: add a few missing files 2009-08-10 11:50:26 -05:00
Dan Williams
1d5a68db74 ifcfg-rh: read iBFT config and convert to NM IPv4 config 2009-08-07 12:13:54 -05:00
Dan Williams
869e57524c core: fix uninitialized variable usage 2009-08-06 15:15:46 -04:00
Dan Williams
78bb1c01b7 core: implement connection assumption
Mark activation requests that contain connections to be assumed,
and use that to short-circuit various parts of the activation
process by not touching various device attributes, since they
are already set up.  Also ensure the device is not deactivated
when it initially becomes managed, because that would kill the
connection we are about to assume.
2009-08-05 18:03:09 -04:00