Jiří Klimeš
2109f41cc6
libnm-util: consolidate hex-string <-> bin conversion functions
...
and move them to libnm-util's nm-utils.s so that they are easily available.
2013-03-28 16:59:58 +01:00
Dan Williams
a9077724a9
ifnet: allow testcase to remove backup files (fixes distcheck)
...
Can't leave the backup files lying around when doing 'make distcheck',
so when backup up a file, return the backup file path so that the
caller can (optionally) remove it.
2012-11-30 13:08:26 -06:00
Dan Williams
faf0f5daa1
ifnet: fix some builddir != srcdir issues in testcases
2012-11-21 11:42:06 -06:00
Dan Winship
6878d20ac4
all: Don't use ctype.h macros
...
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.
2012-09-26 12:14:37 -04:00
Jiří Klimeš
21bc3ab517
ifnet: do not call g_strv_length() on NULL
2012-04-12 13:45:58 +02:00
Dan Williams
e41218caaa
ifnet: misc fixes (constness, error initialization) (bgo #670508 )
2012-02-25 20:50:29 -06:00
Mu Qiao
4641649cc1
ifnet: backup configuration files before writing (bgo #670508 )
2012-02-25 20:50:27 -06:00
Alexandre Rostovtsev
fe29aa967c
ifnet: properly unquote hostnames with g_shell_unquote() (bgo #669148 )
...
If /etc/conf.d/hostname contains "hostname='foo'", then the hostname
needs to be set to "foo", not "'foo'".
https://bugzilla.gnome.org/show_bug.cgi?id=669148
2012-02-13 11:03:28 +01:00
Dan Williams
1d0c27590e
ifnet: use SYSCONFDIR not /etc
2011-12-12 20:04:25 -06:00
Mu Qiao
76619e4529
ifnet: support reading openrc style
...
IP configuration like 192.168.1.{2..4} is not supported anymore.
2011-12-12 19:44:03 -06:00
Thomas Jarosch
5bbafdc632
ifnet: fix possible use of uninitialized variable
...
Detected by cppcheck.
Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com >
2011-10-05 12:41:52 -05:00
Mu Qiao
08b2fa5401
ifnet: plugin updates and shared connection support
2011-03-16 15:39:13 -05:00
Dan Williams
5bcb0832e5
settings: move system-settings/plugins => src/settings/plugins
2011-02-15 11:55:34 -06:00