Commit graph

5672 commits

Author SHA1 Message Date
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
Dan Williams
36740e0182 libnm-glib-vpn: minor soname bump for new nm-vpn-plugin-utils.c functions
1.0.0 -> 1.1.0
2011-03-10 00:49:09 -06:00
Dan Williams
72dac886a7 libnm-util: allow setting-only hashes with nm_connection_update_secrets()
It's easier to be able to pass both a whole hashed connection, or just
a hashed setting to the function, and have it figure out what needs
to be updated based on the given setting_name.

Add some testcases to make sure that all works correctly too.
2011-03-09 09:31:44 -06:00
Dan Williams
4963825d0c todo: update with some stuff people could work on 2011-03-08 15:24:27 -06:00
Dan Williams
62ad893a4a core: bring the state() D-Bus method back
It's a lot easier for app developers to use.
2011-03-08 12:57:35 -06:00
Dan Williams
5c260cfe4a keyfile: trivial whitespace fixes 2011-03-08 10:19:01 -06:00
Dan Williams
9a3d762fdf settings: fix some code that required glib 2.26
Should be compatible with at least glib 2.24 and hopefully earlier.
2011-03-08 10:18:29 -06:00
Ionut Biru
089e2f5847 arch: create /var/run/NetworkManager if doesn't exist in initscripts (bgo #643902) 2011-03-08 14:27:30 +01:00
Jiří Klimeš
757a565792 po: remove useless ' ' for French translation (bgo #644110) 2011-03-08 14:08:31 +01:00
Jiří Klimeš
28cf83fe94 trivial: fix description of nm_connection_get_id() 2011-03-08 13:50:36 +01:00
Jiří Klimeš
c207d020f7 core: use nm_connection_get_id() and nm_connection_get_uuid() to simplify code 2011-03-08 13:41:28 +01:00
Jiří Klimeš
78b1260af4 ifcfg-rh: fix testcases now that timestamps are no longer written
Timestamps are no longer written to the connection file itself, but
are kept in a lookaside file in /var to allow for read-only or
stateless /etc and to ease system administration and deployment.
2011-03-08 11:58:00 +01:00
Jiří Klimeš
2e3e171171 ifcfg-rh: get rid of LAST_CONNECT
timestamps are now kept in /var/log/NetworkManager/timestamps
2011-03-08 11:49:49 +01:00
Jiří Klimeš
83d8677963 core: timestamp handling - don't touch /etc when updating timestamps (bgo #637825)
NM updates timestamp for active connections every 5 min. We don't
want to touch files in /etc due to this. This commit solves that
by not updating timestamp in the connection's property. Rather it
updates the timestamp internally. All timestamps are also kept track
of in /var/lib/NetworkManager/timestamps file.
When settings are requested via D-Bus GetSettings(), the proper
timestamp is put in the connection setting before returning.
2011-03-08 10:37:44 +01:00
Dan Williams
580ee0fc27 build: relax glib version requirement to 2.24
We only need newer glib for G_DEFINE_BOXED_TYPE, which is only
required for introspection.  If you don't want introspection, you
don't need that, so allow building on glib 2.24 without.

We may be compatible with even earlier glib versions too, if so
let me know and I'll downgrade the requirement further.
2011-03-07 10:39:08 -06:00
Dan Williams
8b8e3fa605 libnm-util: conditionalize code that requires glib 2.26 or later 2011-03-07 10:30:09 -06:00
Michael Biebl
768f167347 build: fix unresolved symbols when building gtk-doc scanner with GCC 4.5 2011-03-07 10:11:46 -06:00
Michael Biebl
f2f406b316 ifupdown: normalize keys using - or _ (debian #609831) 2011-03-07 09:57:05 -06:00
Daniel Trebbien
96044f7d94 ifupdown: use new logging API 2011-03-05 00:02:43 -06:00