- 17 Oct, 2012 1 commit
-
-
Sandeep Shedmake authored
-
- 16 Oct, 2012 6 commits
-
-
Dan Williams authored
-
Giovanni Campagna authored
If async GetProperties completed before the GetConnections, init_left would be 0 and thus we never connected to connections-read, causing us to terminate initialization before connections were actually read. https://bugzilla.gnome.org/show_bug.cgi?id=686226
-
Colin Walters authored
See http://git.gnome.org/browse/libgsystem/tree/README for a description of libgsystem. What we specifically are using it for here is the local allocation macros; this patch just modifies main.c as a demo. Note this patch fixes a double-free in an error condition in check_pidfile(); those sort of mistakes are basically impossible to make when using these macros.
-
Colin Walters authored
This breaks a future libgsystem patch. The original use dates to: commit ae6f88b3 Author: Dan Williams <dcbw@redhat.com> Date: Tue Aug 24 00:31:47 2004 +0000 Which who knows where it came from or why.
-
Jiří Klimeš authored
-
-
- 14 Oct, 2012 2 commits
-
-
Dan Williams authored
Introduced in 64fd8eea; but honestly I also thought GObject lower-cased signal names since it munges them for - and _ too. Apparently not.
-
Dan Williams authored
Introduced in 64fd8eea.
-
- 13 Oct, 2012 2 commits
-
-
Matthias Clasen authored
This implementation uses a delay inhibitor to get systemd to emit PrepareForSleep, and then emits ::Sleeping and ::Resuming when receiving the before/after PrepareForSleep emissions.
-
Matthias Clasen authored
Factor the code that listens for upower sleeping and resuming signals out into a class code NMSleepMonitor.
-
- 11 Oct, 2012 11 commits
-
-
Dan Williams authored
The gateway doesn't have to be there, but can be associated with any address. NM should look through all addresses and find the first usable gateway. Previously it was just using the first address' gateway even if it was 0. Broken by 2384dea3 (policy: split routing and DNS updates)
-
Marius Kotsbak authored
-
Alberto Ruiz authored
The nm_connection_to_hash() call in the NMSecretAgentGetSecretsFunc documentation missed the last argument. This patch adds NM_SETTING_HASH_FLAG_ALL as the last argument in the example.
-
Jiří Klimeš authored
-
Chris Leonard authored
-
Sandeep Shedmake authored
-
chandankumar authored
-
A S Alam authored
-
Ani Peter authored
-
Sweta Kothari authored
-
Nilamdyuti Goswami authored
-
- 10 Oct, 2012 1 commit
-
-
Aleksander Morgado authored
-
- 06 Oct, 2012 2 commits
-
-
Dan Williams authored
If D-Bus fails to spawn the supplicant it sometimes returns a method timeout error instead of a spawn error. We've seen that happen on F18 when systemd is used to autolaunch the supplicant. That causes NM to assume that the supplicant crashed and thus never try to talk to it again, on the assumption that (a) it crashed and (b) it will crash again if we try to use it, and thus we'll be in a spawn loop. First, (a) is not necessarily the case, and second, the supplicant doesn't crash like that anymore. So we're pretty safe to just talk to the supplicant if it starts later instead of ignoring it if we detect the timeout error.
-
Dan Williams authored
Motivated by ba48be3a.
-
- 05 Oct, 2012 2 commits
-
-
Dan Winship authored
NMPolicy was calling nm_device_state_changed() from inside its NMDevice::state-changed handler, which caused the D-Bus signal to get lost. Use nm_device_queue_state() instead.
-
Dan Williams authored
And ensure we clear out properties when NM quits, and that we request them when NM starts up again.
-
- 04 Oct, 2012 5 commits
-
-
Colin Walters authored
If /etc/NetworkManager/dispatcher.d didn't exist or was empty, we'd try to pull the first element of a 0-sized array. To fix this cleanly, we need to explicitly separate discovery of binaries to execute from setting up the callback data.
-
Dan Williams authored
No point in always printing warnings when we can't open files we don't meaningfully change.
-
Dan Williams authored
-
Dan Winship authored
-
Dan Winship authored
-
- 02 Oct, 2012 3 commits
-
-
Dan Williams authored
-
Dan Winship authored
Rather than having NMDevice subclasses connect to their own ::state-changed signal, fix up the signal definition so they can just override the class handler.
-
Dan Winship authored
The idea was copied from gtk, but it's only used there in cases where the method's wrapper function and default implementation would otherwise have the same name, which never happens in NM because our method implementations aren't prefixed with the type name, so it's just noise here.
-
- 28 Sep, 2012 1 commit
-
-
Dan Winship authored
Add --enable-modify-system, to change the default for org.freedesktop.NetworkManager.settings.modify.system to allow users to edit system connections without needing to authenticate.
-
- 27 Sep, 2012 3 commits
-
-
Dan Winship authored
VLAN connections can have "hardware" settings in addition to the VLAN-specific ones. ifcfg-rh was reading in wired settings for VLANs, but was not writing them back out.
-
Dan Winship authored
VLANs are only supported on certain kinds of devices, so don't try to create them on other devices. (In fact, NM currently assumes that VLANs are only created on Ethernet devices, so we need to be even more picky than that.)
-
Dan Winship authored
Do slightly more validation if NMSettingVlan properties, and make sure that at least one method of specifying a parent is used. Remove the check that id is in range, since gobject will not allow you to set the property to a value outside its declared range anyway.
-
- 26 Sep, 2012 1 commit
-
-
Dan Winship authored
The ctype macros (eg, isalnum(), tolower()) are locale-dependent. Use glib's ASCII-only versions instead. Also, replace isascii() with g_ascii_isprint(), since isascii() accepts control characters, which isn't what the code wanted in any of the places where it was using it.
-