- 26 Feb, 2013 10 commits
-
-
Dan Winship authored
-
Dan Winship authored
now that it no longer causes any warnings
-
Dan Winship authored
-
Dan Winship authored
Remove the HostnameThread stuff from nm-policy-hostname and just use GResolver instead. Move the one remaining nm-policy-hostname function into nm-policy.
-
Dan Winship authored
Use g_test_add_func() and g_test_add_data_func() to simplify the test cases, getting rid of the GLIB_CHECK_VERSION calls in the process.
-
Dan Winship authored
Avoid warnings about GValueArray being deprecated by adding macros that wrap G_GNUC_BEGIN_IGNORE_DEPRECATIONS / G_GNUC_END_IGNORE_DEPRECATIONS around the GValueArray calls.
-
Dan Winship authored
This was imported to get a bugfix in glib 2.31.5; since we require 2.32 now, we can use the system glib-mkenums.
-
Dan Winship authored
-
Dan Winship authored
-
Jiří Klimeš authored
The regression caused by 1dca1e3c
-
- 25 Feb, 2013 1 commit
-
-
Dan Williams authored
(review+ danw)
-
- 22 Feb, 2013 5 commits
-
-
Dan Williams authored
-
Dan Williams authored
-
Dan Williams authored
-
Dan Williams authored
-
Dan Williams authored
-
- 20 Feb, 2013 4 commits
-
-
Dan Williams authored
data_iface is the serial port over which PPP should be run, so we need to preserve that and not overwrite it with the PPP interface name. When reconnecting, pppd wants the TTY to run PPP over (eg the ModemManager data_port like ttyUSB0) but if we overwrote that with ppp0 on the last connection, that's extremely unhelpful and pppd will fail to start.
-
Dan Williams authored
When built with MM1 support, the restart handling code here would fail for both old MM and new MM. The code should ignore the name owner change even if the incoming bus name is *neither* old MM nor new MM. It wasn't doing that.
-
Dan Williams authored
Seems that NLM_F_CREATE isn't enough, we need to replace anything that's already there. Oddly, this is even though we already cleaned out anything that was already there.
-
Mihai Donțu authored
Otherwise, priv->accept_ra_path would be NULL, which isn't very useful and makes nm_utils_do_sysctl() angry. No reason we shouldn't always create priv->accept_ra_path in the future though. https://bugzilla.gnome.org/show_bug.cgi?id=691213
-
- 19 Feb, 2013 2 commits
-
-
Michael Biebl authored
Based on work by Guillaume Rousse <guillomovitch@gmail.com>
-
Pavel Šimerda authored
Use: ./autogen.sh --enable-code-coverage make make -C src/settings check-code-coverage
-
- 18 Feb, 2013 5 commits
-
-
Dan Williams authored
-
Jiří Klimeš authored
So that we have the description in generated html documentation and nm-settings manual page.
-
Jiří Klimeš authored
of 'nmcli device list' Example: nmcli -f connections d l iface wlan5
-
Jiří Klimeš authored
-
Jiří Klimeš authored
-
- 15 Feb, 2013 4 commits
-
-
Tomas Pospisek authored
-
Dan Winship authored
Add a "need_carrier" argument to nm_device_is_available(), to allow distinguishing between "device is not available", "device is fully available", and "device is available except for not having carrier". Adjust various parts of NMDevice and NMManager to allow for the possibility of activating a connection with :carrier-detect = "no" on a device with no carrier, and to avoid auto-disconnecting devices with :carrier-detect = "on-activate". https://bugzilla.gnome.org/show_bug.cgi?id=688284
-
Dan Winship authored
For settings corresponding to devices that have a :carrier property (ie bond, bridge, infiniband, vlan, and wired), add a :carrier-detect property specifying how that affects the connection: yes: The connection can only be activated when the device has carrier, and will be deactivated if the device loses carrier (for more than 4 seconds). no: The connection ignores carrier on the device; it can be activated when there is no carrier, and stays activated when carrier is lost. on-activate: The connection can only be activated when the device has carrier, but it will not be deactivated if the device loses carrier. https://bugzilla.gnome.org/show_bug.cgi?id=688284
-
Dan Winship authored
Move some duplicated carrier-handling code into NMDevice (which can introspect itself to see if it's a subclass that has carrier). The "mostly ignore carrier" special handling for bridges and bonds is now also handled as part of the NMDevice-level carrier handling. https://bugzilla.gnome.org/show_bug.cgi?id=688284
-
- 14 Feb, 2013 8 commits
-
-
Dan Williams authored
-
Dan Williams authored
Ensure that dhclient uses the administrator-specified or machine-id generated DUID.
-
Gene Czarcinski authored
The original used uuid_parse() but that function did not work properly since the format of the machine-id is not compatable with a real uuid. This patch adds a new machine_id_parse() routine to correctly convert the character string of hex digits to a 16 byte binary string.
-
Dan Winship authored
nm_settings_connection_init() was calling nm_connection_set_path(), but this was pointless since that would end up getting cleared by the property's default value shortly after init() returned (and claim_connection() depended on this). So remove that code. https://bugzilla.gnome.org/show_bug.cgi?id=693829
-
Dan Winship authored
24cda2bc broke the ability to set NMConnection:path back to NULL after it had been set, as part of a hack to try to make NMRemoteConnection:dbus-path work. Fix that by moving the hack entirely into NMRemoteConnection. https://bugzilla.gnome.org/show_bug.cgi?id=693829
-
Dan Winship authored
NMDevice has a D-Bus "AvailableConnections" property, but we weren't exposing it on NMDevice. Fix that. https://bugzilla.gnome.org/show_bug.cgi?id=693669
-
Dan Winship authored
In order to resolve NMRemoteConnection-valued properties, NMObject needs to be able to create NMRemoteConnections. But NMObject assumes that all the objects it will be creating have "dbus-connection" and "dbus-path" properties. So add those properties to NMRemoteConnection, aliasing the existing "bus" and "path" properties (and ensure that whichever version gets set, we keep that value, rather than letting it get overwritten by the NULL default value of the other one). https://bugzilla.gnome.org/show_bug.cgi?id=693669
-
Dan Winship authored
apparently this never got tested... https://bugzilla.gnome.org/show_bug.cgi?id=693669
-
- 13 Feb, 2013 1 commit
-
-
Dan Winship authored
GObject creation cannot normally fail, except for types that implement GInitable and take a GError in their _new() method. Some NM types override constructor() and return NULL in some cases, but these generally only happen in the case of programmer error (eg, failing to set a mandatory property), and so crashing is reasonable (and most likely inevitable anyway). So, remove all NULL checks after calls to g_object_new() and its myriad wrappers. https://bugzilla.gnome.org/show_bug.cgi?id=693678
-