Commit Graph

7740 Commits

Author SHA1 Message Date
Jiří Klimeš
45521e3c68 libnm-glib: bump soname due to recent ABI break 2011-03-16 13:57:07 +01:00
Jiří Klimeš
6b2e8664a7 libnm-glib: update nm_client_activate_connection()'s description 2011-03-16 13:50:09 +01:00
Jiří Klimeš
653c4bc8a0 cli: update due to changes in libnm-glib's NMClient
nm_client_activate_connection() now uses NMConnection instead of
D-Bus connection path. Also, callback uses NMActiveConnection instead
of the path.
We can also remove the workaround waiting for "active-connections" change,
because the activation callback is now called *after* the NMActiveConnection
object is available in the active connections list.
2011-03-16 13:29:41 +01:00
Jiří Klimeš
d91c68235d libnm-glib: fix calling callback when activating connection
Connections were not added to pending_activations resulting in callback
not being called.
2011-03-16 13:03:15 +01:00
Changwoo Ryu
5aa3b6081b po: updated Korean translation (bgo #643398) 2011-03-16 01:40:43 -05:00
Giovanni Campagna
86e3d935a2 include: mark flags as such (bgo #643011) 2011-03-16 01:38:21 -05:00
Dan Williams
ead5869825 libnm-glib: small activation callback rework
To make the API more consistent, instead of returning an
ActiveConnection object path, return the actual NMActiveConnection
object itself.  Suggested by Matthias Clasen.
2011-03-15 19:03:18 -05:00
Dan Williams
47a7f30682 libnm-glib: move some code around
Move the GObject boilerplate stuff to the bottom.
2011-03-15 17:16:52 -05:00
Dan Williams
d4f8c43f40 libnm-glib: allow NULL device for nm_client_activate_connection() 2011-03-15 17:04:50 -05:00
Dan Williams
da4928aea7 core: allow NULL device path in ActivateConnection 2011-03-15 17:04:35 -05:00
Dan Williams
92b29f399b docs: add overview image of libnm-glib object relationships and use 2011-03-15 15:54:33 -05:00
Dan Williams
1c3a67aaa5 api: clarify function and usage of the Device.Udi property 2011-03-15 12:56:19 -05:00
Dan Williams
fcbaa00ed0 core: remove some debug logging 2011-03-15 12:22:54 -05:00
Dan Williams
e64cc4dd7c core: specific object of "/" means NULL
Not sure how this got lost...  but it did.
2011-03-15 11:45:47 -05:00
Dan Williams
b21fc6ed45 wimax: use setting accessor helpers 2011-03-15 10:33:04 -05:00
Dan Williams
27e7177ec4 libnm-util: add setting accessor helpers (bgo #644746)
Makes code cleaner.
2011-03-15 10:32:42 -05:00
Kjartan Maraas
b224ab8e56 trivial: let g_free and g_strdup handle NULL (bgo #644763) 2011-03-15 00:08:58 -05:00
Gabor Kelemen
925f21f7c2 po: updated Hungarian translation (bgo #644767) 2011-03-15 00:00:31 -05:00
Javier Jardón
6fcd9fe8a9 build: use upstream gettext instead of glib one (bgo #644264) 2011-03-14 10:58:58 -05:00
Dan Williams
100580b7fe docs: fix distcheck error building settings spec
Apparently sometimes when doing the distcheck the generator can't
open the file for writing (gets ENOACCESS) presumably because there's
already a file there that's read-only.  So remove any existing
settings spec before regenerating.
2011-03-14 10:56:56 -05:00
Javier Jardón
50da718c2e build: update configure.ac autotools configuration
You'll need to re-run autogen.sh after this.
2011-03-14 01:24:08 -05:00
Kjartan Maraas
c2b4b9c1d7 build: fix return types (bgo #644665)
Some functions were returning FALSE or 0 instead of NULL.
2011-03-14 01:05:51 -05:00
Kjartan Maraas
6d0d302916 build: do the right thing with config.h (bgo #644664)
1) it shouldn't be included in headers
2) it should be the first thing included in source files
3) it's needed for getting translation right
2011-03-14 01:01:22 -05:00
Jorge González
79bc2e3b34 po: updated Spanish translation (bgo #644638) 2011-03-14 00:48:48 -05:00
Piotr Drąg
eed1e6cf0c po: updated Polish translation (bgo #644408) 2011-03-14 00:47:09 -05:00
Michael Biebl
d69d40fcb4 docs: fix link to API doc on the website 2011-03-14 00:45:00 -05:00
Dan Williams
af7e26b39a ifcfg-rh: fix reading and writing of Dynamic WEP with EAP-LEAP connections
These are distinct from old-school LEAP (ie, Network EAP) in that
they are standard Dynamic WEP with LEAP as an EAP method and use
open-system authentication.  Old LEAP uses the non-standard LEAP
authentication algorithm.  The config for each is different and thus
we need to make sure we handle both cases.
2011-03-14 00:25:14 -05:00
Dan Williams
eaeb43bfad keyfile: ignore temp files ending with ~ 2011-03-13 23:59:09 -05:00
Dan Williams
0eb215d9f4 todo: add some notes about WPS 2011-03-13 23:49:02 -05:00
Dan Williams
32dedf4b83 wifi: fix scanned signal strength calculation for WEXT-based drivers
The new wpa_supplicant D-Bus interface only passes back the 'level'
of the scanned BSS, which with nl80211 drivers is almost always dBm,
which NM handled fine.  But WEXT-based drivers (ipw2x00, other older
ones, and some vendor drivers) use a mix of values for the 'level'
parameter, including the old WEXT 8-bit signed-value-in-unsigned-int
scheme.  Handle that.

Alternatively, we could have the supplicant expose the 'flags' value
from its internal BSS list over the bus.
2011-03-13 12:50:40 -05:00
Dan Williams
0e348bad2a wimax: fix dbus-glib assert when wimax strength overflows
Ran into a case right underneath a tower where the Intel WiMAX SDK
reported signal strength as 32767 which is pretty clearly an overflow
of a 16-bit int somewhere in the WiMAX stack.  Since our internal
NMWimaxNsp GObject property for signal-quality has a max value of
100, dbus-glib got pretty angry when GObject failed to return
something because the property value was out of range, leading
to malformed message and the bus daemon kicking us off, and finally
an assertion somewhere.  Fun.
2011-03-11 18:20:42 -06:00
Dan Williams
16948ce927 libnm-glib: add nm_wimax_nsp_filter_connections() 2011-03-11 10:09:19 -06:00
Dan Williams
f30e15a04d libnm-glib: add nm_access_point_filter_connections() 2011-03-11 09:36:41 -06:00
Dan Williams
368fb861f8 libnm-util: use WiFi enums more consistently 2011-03-11 09:26:21 -06:00
Dan Williams
3320764e1e libnm-glib: add nm_device_filter_connections() 2011-03-10 22:27:10 -06:00
Dan Williams
fbf118e58e libnm-glib: documentation update for nm_remote_settings_list_connections() 2011-03-10 17:46:51 -06:00
Dan Williams
d1a66e3434 docs: more libnm-glib docs fixes 2011-03-10 16:25:00 -06:00
Dan Williams
bf76960597 libnm-glib: documentation fixes 2011-03-10 12:35:43 -06:00
Dan Williams
0a24c81151 libnm-util: fix some documentation issues 2011-03-10 12:28:59 -06:00
Dan Williams
e726895537 docs: make sure libnm-glib docs know about introspection 2011-03-10 12:08:08 -06:00
Dan Williams
09b46bb269 libnm-glib: update some documentation 2011-03-10 11:55:09 -06:00
Dan Williams
a7f66d0d80 docs: update some version strings 2011-03-10 11:50:34 -06:00
Dan Williams
0ae870bf09 libnm-glib: remove deprecated nm_ip4_config_get_hostname() function
Deprecated since 0.7 days; it always returned NULL anyway.
2011-03-10 11:48:22 -06:00
Dan Williams
c74dd8b0b7 api: fix mistakenly absent Dhcp6Config device property
It was still on the bus, but not in the introspection for some
reason.
2011-03-10 09:53:07 -06:00
Dan Williams
8a80a62458 libnm-glib: make sure nm_device_get_dhcp6_config() is visible 2011-03-10 09:50:23 -06:00
Michael Biebl
8119ecf6b0 core: depend on stable gudev API 2011-03-10 03:19:27 -06:00
Dan Williams
d7ee1af12e release: bump version to 0.8.996 (0.9-beta2) 2011-03-10 02:05:15 -06:00
Dan Williams
fa48970b4e libnm-glib: fix reply processing of AddConnection calls
It really is an object path, folks.
2011-03-10 02:03:25 -06:00
Dan Williams
9637fbfd12 libnm-glib: bump required NM version in pkgconfig file
To something modern, at least.
2011-03-10 01:55:30 -06:00
Dan Williams
d35bf585d2 libnm-glib: fix bogus free
Apparently dbus-glib will pass non-NULL parameters to proxy
callbacks in the error case, so we've got to make sure we don't
touch any return parameters if there's been an error.
2011-03-10 01:35:09 -06:00