Jiří Klimeš
853803c2f0
cli: use an error quark for domain in g_set_error() instead of 0 (rh #842975 )
...
glib 2.32 makes a runtime check that domain is not NULL:
GLib-WARNING **: (gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)
2012-07-25 13:57:45 +02:00
Dan Williams
1f4b97c878
bluetooth: ignore more Bluez launch failures
...
If bluez is started by systemd but for some reason is not set to
be D-Bus activated (as seems to be the case on Fedora 16 and later),
then don't emit a warning.
2012-07-24 12:57:42 -05:00
Dan Williams
346a1dc957
core: suppress a warning when a connection is assumed
...
When NM takes over a device's existing connection, it'll jump right
from "unavailable" to "ip-config" states, thus leading to the
warning.
2012-07-24 12:12:18 -05:00
Pavel Šimerda
a1659adec0
ip4: fix connection assumption
2012-07-24 10:17:47 -05:00
Dan Williams
5d87030c26
release: bump version to 0.9.5.96 (0.9.6-rc2)
2012-07-23 18:13:19 -05:00
Dan Williams
3684435e58
release: update NEWS
2012-07-23 18:13:08 -05:00
Dan Williams
27f3ebf708
tools: simplify symbol visiblity check script
...
Using nm is way simpler, and actually less error-prone.
2012-07-23 09:17:04 -05:00
Dan Williams
07db961a6a
libnm-util: clean up some private symbols
...
Symbols starting with "nm" are expected to be exported,
even though these are not since they're static. So don't
prefix them with nm.
2012-07-23 09:17:04 -05:00
Dan Winship
3324bd2cdf
ifcfg-rh: ignore IP config on bond slaves
...
NM was requiring that bond slaves have either no IP config or an
explicit "none"/"disabled" config. But the system scripts just ignore
any IP config that is present on a slave, so change NM to do that too
(but warn about it).
https://bugzilla.redhat.com/show_bug.cgi?id=838907
2012-07-23 12:52:32 -04:00
Ryan Lortie
aa72d272ef
build: declare dependency between vapi files (bgo #680374 )
...
Unbreak 'make -j' by declaring the dependency that exists between the
two generated vapi files (forcing building of the second one to wait
until after the first one has been built).
https://bugzilla.gnome.org/show_bug.cgi?id=680374
2012-07-23 10:15:00 +02:00
Dan Williams
c357d5fbe5
bluetooth: suppress another Bluez warning (rh #840580 )
...
When Bluez can't be launched for some reason, like because it
doesn't exist, ignore that.
2012-07-20 14:47:41 -05:00
Dan Williams
01cea4722f
build: require dbus-glib >= 0.94
...
There are known issues with object registration and other functions
in earlier dbus-glib versions.
2012-07-19 12:58:24 -05:00
Dan Williams
ab6267748e
build: clean up some configure options
2012-07-19 09:40:50 -05:00
Jiří Klimeš
974c39fe3e
ifcfg-rh: fix a segfault when unescaping a string (rh #841391 )
...
The crash occured for variables like these:
VAR="
VAR='
2012-07-19 14:30:29 +02:00
Jiří Klimeš
05a83b909d
cli: add 'ip6-privacy' property of ipv6 setting
2012-07-18 12:56:31 +02:00
Dan Winship
320464490e
libnm-glib: fix GAsyncInitable implementations
...
If a class implements init_async, it should implement init_finish too,
rather than assuming the default implementation will do the right
thing (which it briefly didn't in glib 2.33).
2012-07-17 09:43:15 -04:00
Dan Williams
a03e7fb74f
callouts: don't queue the DHCP callout's bus name request (bgo #680041 )
...
If queueing the name isn't allowed, and two instances that start in
close succession, one instance will fail because it can't claim the
bus name.
2012-07-16 19:54:07 -05:00
Dan Williams
757a34fcdd
callouts: remove glib code from DHCP callout
...
The whole callout is pure dbus, not dbus-glib, so there's really no need
for glib code there. Even so, DBUS_LIBS contains dbus-glib and gobject,
so we're still linking to glib/gobject.
2012-07-16 19:54:07 -05:00
Jiří Klimeš
00297f49fb
libnm-util: add nm_utils_file_is_pkcs12() for checking PKCS#12 file format
2012-07-16 14:59:59 +02:00
Jiří Klimeš
7c841b901a
docs: fix documentation for some VLAN setting functions
2012-07-11 13:10:51 +02:00
Jiří Klimeš
b6c1e7586a
include: document NM_DEVICE_TYPE_VLAN
2012-07-11 12:50:42 +02:00
Jiří Klimeš
21fa0f8349
settings: fix keyfile plugin priority when explicitly configured (bgo #679655 )
...
The regression was introduced by b38f39cfc6 that
built keyfile plugin into NM (instead of using .so).
2012-07-10 16:04:14 +02:00
Jiří Klimeš
8aedcb95ed
config: fix return value in g_return_val_if_fail() - it's unsigned
2012-07-09 16:42:01 +02:00
Jiří Klimeš
21f8468708
nm-online: internationalize nm-online tool
2012-07-09 16:21:11 +02:00
Jiří Klimeš
173b458da9
core: describe arguments for --connectivity-* options
2012-07-09 16:21:11 +02:00
Jiří Klimeš
d73f11aefa
core: mark cmd options for translation
2012-07-09 16:21:11 +02:00
Dan Williams
18b0ba499c
libnm-util: ensure address/route types are boxed on glib < 2.26
2012-07-02 13:20:21 -05:00
Robert Shade
0677bf9c07
doc: fix build with build with gtk-doc < 1.15
...
gtk-doc < 1.15 does not handle a missing DOC_SOURCE_DIR
2012-07-02 12:29:52 -05:00
Craig Keogh
c113ee03a5
libnm-glib: specify --girdir to vapigen (bgo #678743 )
2012-07-02 11:45:21 -05:00
Jiri Popelka
ec821e0783
libnm-util: remove unused zone related code
...
The test in verify() has been probably result of my
copy-paste-fu. It's wrong and useless anyway.
Those #defines are not used anywhere.
2012-07-02 13:48:17 +02:00
Armin K
b37ed68e18
backends: add Linux From Scratch (LFS) support (bgo #679202 )
2012-07-02 12:54:12 +02:00
Piotr Drąg
a26ea1acc4
po: updated Polish translation (bgo #679156 )
2012-07-02 10:31:10 +02:00
Dan Williams
815a0b18e1
vpn: restore VpnStateChanged D-Bus signal API
...
The DNS change frequency reduction patches mistakenly changed the signature
of the VpnStateChanged signal. Fix that, since we try really really
hard not to break the D-Bus API in stable branches. My bad...
2012-06-29 15:37:00 -05:00
Dan Williams
0b33b42771
Revert "libnm-glib: fix vpn-state-changed signal handling"
...
This reverts commit 4d635b23cb .
The original commit that changed this D-Bus signal signature was
in error and we shouldn't change the D-Bus API here.
2012-06-29 15:18:12 -05:00
Dan Williams
37deed816a
Revert "api: fix VpnStateChanged signal arguments"
...
This reverts commit 9d85378045 .
The original commit that changed this D-Bus signal signature was
in error and we shouldn't change the D-Bus API here.
2012-06-29 15:17:18 -05:00
Jiří Klimeš
b8958f27ea
docs: fix some annotations in libnm-glib
2012-06-29 14:49:18 +02:00
Jiří Klimeš
4d635b23cb
libnm-glib: fix vpn-state-changed signal handling
...
Core D-Bus VpnStateChanged signal changed. In order to receive the signal,
the parameters was fixed. This commit also adjusts libnm-glib's vpn-state-changed
signal to match the D-Bus one.
2012-06-29 14:16:45 +02:00
Jiří Klimeš
9d85378045
api: fix VpnStateChanged signal arguments
...
The signal has changed in commit 330247399c
2012-06-29 13:17:09 +02:00
Jiří Klimeš
f8bef2c10b
docs: fix a few documentation errors
2012-06-29 11:49:51 +02:00
Dan Williams
4a2b1d631b
api: fix device state reason code enum value
...
Probably a merge error.
2012-06-28 16:36:16 -05:00
Dan Williams
c2e25dfedc
core: move failure logging to device superclass
2012-06-28 16:34:08 -05:00
Dan Williams
3ed3485a2f
wifi: remove unused code
2012-06-28 16:34:08 -05:00
Dan Williams
582cb7d271
wifi: merge two functions
...
No point in having them separate.
2012-06-28 16:34:08 -05:00
Daniel Mustieles
85270617eb
po: updated Spanish translation (bgo #679050 )
2012-06-28 15:23:07 +02:00
Dan Williams
772d03fa79
release: bump version to 0.9.5.95 (0.9.6-rc1)
2012-06-27 10:40:03 -05:00
Dan Williams
d40399d285
release: update NEWS
2012-06-27 10:33:13 -05:00
Dan Williams
74e262b303
agents: add a "user-requested" flag to secret agent requests
...
Allows agents to provide different behavior depending on whether the
secrets request was initiated by a user (eg by picking a connection
from a UI menu or by 'nmcli con up') or was automatically started by
NetworkManager.
See https://bugzilla.gnome.org/show_bug.cgi?id=660293
2012-06-27 09:42:47 -05:00
Pavel Šimerda
c3b29cec71
ip6: only change ra_flags with device_set_ra_flags()
...
Move ra_flags modifications to a dedicated function that
logs the change (if any). Also improve device_set_state()
so that both functions return TRUE if the value actually
changes.
2012-06-26 23:50:19 -05:00
Pavel Šimerda
e88aa72e6a
ip6: rename defgw to gateway
...
This was suggested by Dan Winship but it didn't get to commit
8a059b1 by mistake.
2012-06-26 23:50:19 -05:00
Pavel Šimerda
64bac49934
ip6: remove duplicate dhcp_opts from CallbackInfo
...
It is now included in NMIP6Device instance already included
in CallbackInfo.
2012-06-26 23:50:19 -05:00