NetworkManager.git
9 years agotrivial: fix format type of ip6 manager logging messages
Dan Williams [Mon, 21 Mar 2011 18:33:43 +0000]
trivial: fix format type of ip6 manager logging messages

9 years agotrivial: fix format type of DHCP client logging messages
Dan Williams [Mon, 21 Mar 2011 21:17:49 +0000]
trivial: fix format type of DHCP client logging messages

9 years agolibnm-util: test symbol exports against .ver file
Dan Williams [Mon, 21 Mar 2011 18:36:43 +0000]
libnm-util: test symbol exports against .ver file

9 years agolibnm-glib: test symbol exports against .ver file
Dan Williams [Mon, 21 Mar 2011 17:25:28 +0000]
libnm-glib: test symbol exports against .ver file

9 years agotools: add script to check library exports against .ver files
Dan Williams [Mon, 21 Mar 2011 17:23:51 +0000]
tools: add script to check library exports against .ver files

9 years agorelease: bump version to 0.8.997 (0.9.0-beta3)
Dan Williams [Sat, 19 Mar 2011 18:59:28 +0000]
release: bump version to 0.8.997 (0.9.0-beta3)

9 years agobuild: blow away all dbus-glib generated files during clean
Dan Williams [Sat, 19 Mar 2011 18:43:05 +0000]
build: blow away all dbus-glib generated files during clean

Not just the ones we built; if you're switching often between
git branches, there will be some generated files left over from
the other branch, which then the docs generation stuff pick up
and pollute your autogenerated docs with stuff from other branches.
So just clean up everything on make clean.

9 years agologging: fix format string/argument disagreement
Dan Williams [Sat, 19 Mar 2011 17:44:14 +0000]
logging: fix format string/argument disagreement

Now that the logging fixes make format checking actually work, fix
the issues it brings up.

9 years agologging: clean up logging macros and helper
Dan Williams [Sat, 19 Mar 2011 17:42:29 +0000]
logging: clean up logging macros and helper

There were two specific problems with the logging macros:

1) the existing varargs usage didn't allow for format string checking,
which is bad, since it could make logging segfault if the arguments
don't match the format string

2) it didn't allow logging usage without wrapping {}, ie this didn't work:

if (foo)
   nm_log_dbg (...)

blah blah

Fix all that by using the varargs stuff correctly.

9 years agobuild: enable WiMAX based on whether the SDK is present or not
Dan Williams [Fri, 18 Mar 2011 17:29:06 +0000]
build: enable WiMAX based on whether the SDK is present or not

Force enable/disable still overrides autodetection.

9 years agobuild: glib 2.22 is fine
Dan Williams [Fri, 18 Mar 2011 17:10:13 +0000]
build: glib 2.22 is fine

9 years agowimax: log a message when connecting to an NSP
Dan Williams [Fri, 18 Mar 2011 04:58:50 +0000]
wimax: log a message when connecting to an NSP

9 years agocore: add active connection state DEACTIVATING
Dan Williams [Thu, 17 Mar 2011 19:23:21 +0000]
core: add active connection state DEACTIVATING

Not used yet, but will be when device deactivating state gets
used.  Should be 100% backwards compatible with users that don't
know about it for now.

9 years agocore: handle new device states
Dan Williams [Thu, 17 Mar 2011 18:39:31 +0000]
core: handle new device states

The device states aren't used yet, but handle them anyway.

9 years agolibnm-glib: handle new device states
Dan Williams [Thu, 17 Mar 2011 18:39:09 +0000]
libnm-glib: handle new device states

The device states aren't used yet, but handle them anyway.

9 years agotrivial: fix comment
Dan Williams [Thu, 17 Mar 2011 18:29:02 +0000]
trivial: fix comment

9 years agoapi: document NM_DEVICE_STATE_FAILED
Dan Williams [Thu, 17 Mar 2011 18:26:37 +0000]
api: document NM_DEVICE_STATE_FAILED

9 years agocore: fix up active connection state for newer device states
Dan Williams [Thu, 17 Mar 2011 17:42:38 +0000]
core: fix up active connection state for newer device states

9 years agosupplicant: add 'authenticating' state
Dan Williams [Thu, 17 Mar 2011 17:35:58 +0000]
supplicant: add 'authenticating' state

Caused a harmless warning, but lets add it anyway.

9 years agovpn: cancel the right secrets request
Dan Williams [Thu, 17 Mar 2011 17:23:59 +0000]
vpn: cancel the right secrets request

Code still called nm_act_request_cancel_secrets() but the VPN
connection no longers uses the underlying activation request for
secrets.  Fix that.

9 years agolibnm-glib: automatically cancel secrets requests if NM goes away
Dan Williams [Thu, 17 Mar 2011 17:15:47 +0000]
libnm-glib: automatically cancel secrets requests if NM goes away

9 years agolibnm-glib: clarify usage of specific_object for activation calls
Dan Williams [Thu, 17 Mar 2011 16:27:30 +0000]
libnm-glib: clarify usage of specific_object for activation calls

9 years agolibnm-glib: clarify some documentation
Dan Williams [Thu, 17 Mar 2011 16:18:35 +0000]
libnm-glib: clarify some documentation

9 years agolibnm-glib: more introspection annotation fixes
Dan Williams [Thu, 17 Mar 2011 16:17:08 +0000]
libnm-glib: more introspection annotation fixes

No connection is required for nm_client_add_and_activate_connection(),
it can be NULL.

9 years agoifnet: fix tests and distcheck
Mu Qiao [Thu, 17 Mar 2011 16:05:46 +0000]
ifnet: fix tests and distcheck

9 years agolibnm-glib: fix introspection annotation for nm_remote_connection_delete()
Dan Williams [Thu, 17 Mar 2011 15:46:42 +0000]
libnm-glib: fix introspection annotation for nm_remote_connection_delete()

9 years agoagents: only commit connection changes if there were system secrets
Dan Williams [Thu, 17 Mar 2011 01:53:49 +0000]
agents: only commit connection changes if there were system secrets

It's pointless to save the connection if there weren't any system
secrets being changed.

9 years agoagents: don't complain when there aren't any system secrets
Dan Williams [Thu, 17 Mar 2011 01:53:13 +0000]
agents: don't complain when there aren't any system secrets

9 years agoifnet: plugin updates and shared connection support
Mu Qiao [Wed, 16 Mar 2011 20:39:13 +0000]
ifnet: plugin updates and shared connection support

9 years agolibnm-glib: allow calling nm_remote_connection_delete() without a callback
Richard Hughes [Wed, 16 Mar 2011 20:36:36 +0000]
libnm-glib: allow calling nm_remote_connection_delete() without a callback

9 years agolibnm-glib: introspection annotation fixes (bgo #643011)
Giovanni Campagna [Wed, 16 Mar 2011 20:25:37 +0000]
libnm-glib: introspection annotation fixes (bgo #643011)

9 years agocli: use setting accessor helpers
Jiří Klimeš [Wed, 16 Mar 2011 13:32:24 +0000]
cli: use setting accessor helpers

9 years agolibnm-glib: bump soname due to recent ABI break
Jiří Klimeš [Wed, 16 Mar 2011 12:57:07 +0000]
libnm-glib: bump soname due to recent ABI break

9 years agolibnm-glib: update nm_client_activate_connection()'s description
Jiří Klimeš [Wed, 16 Mar 2011 12:50:09 +0000]
libnm-glib: update nm_client_activate_connection()'s description

9 years agocli: update due to changes in libnm-glib's NMClient
Jiří Klimeš [Wed, 16 Mar 2011 12:29:41 +0000]
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.

9 years agolibnm-glib: fix calling callback when activating connection
Jiří Klimeš [Wed, 16 Mar 2011 12:03:15 +0000]
libnm-glib: fix calling callback when activating connection

Connections were not added to pending_activations resulting in callback
not being called.

9 years agopo: updated Korean translation (bgo #643398)
Changwoo Ryu [Wed, 16 Mar 2011 06:40:43 +0000]
po: updated Korean translation (bgo #643398)

9 years agoinclude: mark flags as such (bgo #643011)
Giovanni Campagna [Wed, 16 Mar 2011 06:38:21 +0000]
include: mark flags as such (bgo #643011)

9 years agolibnm-glib: small activation callback rework
Dan Williams [Wed, 16 Mar 2011 00:03:18 +0000]
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.

9 years agolibnm-glib: move some code around
Dan Williams [Tue, 15 Mar 2011 22:16:52 +0000]
libnm-glib: move some code around

Move the GObject boilerplate stuff to the bottom.

9 years agolibnm-glib: allow NULL device for nm_client_activate_connection()
Dan Williams [Tue, 15 Mar 2011 22:04:50 +0000]
libnm-glib: allow NULL device for nm_client_activate_connection()

9 years agocore: allow NULL device path in ActivateConnection
Dan Williams [Tue, 15 Mar 2011 22:04:35 +0000]
core: allow NULL device path in ActivateConnection

9 years agodocs: add overview image of libnm-glib object relationships and use
Dan Williams [Tue, 15 Mar 2011 20:54:33 +0000]
docs: add overview image of libnm-glib object relationships and use

9 years agoapi: clarify function and usage of the Device.Udi property
Dan Williams [Tue, 15 Mar 2011 17:56:19 +0000]
api: clarify function and usage of the Device.Udi property

9 years agocore: remove some debug logging
Dan Williams [Tue, 15 Mar 2011 17:22:54 +0000]
core: remove some debug logging

9 years agocore: specific object of "/" means NULL
Dan Williams [Tue, 15 Mar 2011 16:45:47 +0000]
core: specific object of "/" means NULL

Not sure how this got lost...  but it did.

9 years agowimax: use setting accessor helpers
Dan Williams [Tue, 15 Mar 2011 15:33:04 +0000]
wimax: use setting accessor helpers

9 years agolibnm-util: add setting accessor helpers (bgo #644746)
Dan Williams [Tue, 15 Mar 2011 15:32:42 +0000]
libnm-util: add setting accessor helpers (bgo #644746)

Makes code cleaner.

9 years agotrivial: let g_free and g_strdup handle NULL (bgo #644763)
Kjartan Maraas [Tue, 15 Mar 2011 05:08:58 +0000]
trivial: let g_free and g_strdup handle NULL (bgo #644763)

9 years agopo: updated Hungarian translation (bgo #644767)
Gabor Kelemen [Tue, 15 Mar 2011 05:00:31 +0000]
po: updated Hungarian translation (bgo #644767)

9 years agobuild: use upstream gettext instead of glib one (bgo #644264)
Javier Jardón [Mon, 14 Mar 2011 15:58:58 +0000]
build: use upstream gettext instead of glib one (bgo #644264)

9 years agodocs: fix distcheck error building settings spec
Dan Williams [Mon, 14 Mar 2011 15:56:56 +0000]
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.

9 years agobuild: update configure.ac autotools configuration
Javier Jardón [Mon, 14 Mar 2011 06:24:08 +0000]
build: update configure.ac autotools configuration

You'll need to re-run autogen.sh after this.

9 years agobuild: fix return types (bgo #644665)
Kjartan Maraas [Mon, 14 Mar 2011 06:05:51 +0000]
build: fix return types (bgo #644665)

Some functions were returning FALSE or 0 instead of NULL.

9 years agobuild: do the right thing with config.h (bgo #644664)
Kjartan Maraas [Mon, 14 Mar 2011 06:00:56 +0000]
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

9 years agopo: updated Spanish translation (bgo #644638)
Jorge González [Mon, 14 Mar 2011 05:48:48 +0000]
po: updated Spanish translation (bgo #644638)

9 years agopo: updated Polish translation (bgo #644408)
Piotr Drąg [Mon, 14 Mar 2011 05:47:09 +0000]
po: updated Polish translation (bgo #644408)

9 years agodocs: fix link to API doc on the website
Michael Biebl [Mon, 14 Mar 2011 02:43:37 +0000]
docs: fix link to API doc on the website

9 years agoifcfg-rh: fix reading and writing of Dynamic WEP with EAP-LEAP connections
Dan Williams [Mon, 14 Mar 2011 05:25:14 +0000]
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.

9 years agokeyfile: ignore temp files ending with ~
Dan Williams [Mon, 14 Mar 2011 04:59:09 +0000]
keyfile: ignore temp files ending with ~

9 years agotodo: add some notes about WPS
Dan Williams [Mon, 14 Mar 2011 04:49:02 +0000]
todo: add some notes about WPS

9 years agowifi: fix scanned signal strength calculation for WEXT-based drivers
Dan Williams [Sun, 13 Mar 2011 17:50:40 +0000]
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.

9 years agowimax: fix dbus-glib assert when wimax strength overflows
Dan Williams [Sat, 12 Mar 2011 00:20:42 +0000]
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.

9 years agolibnm-glib: add nm_wimax_nsp_filter_connections()
Dan Williams [Fri, 11 Mar 2011 16:09:19 +0000]
libnm-glib: add nm_wimax_nsp_filter_connections()

9 years agolibnm-glib: add nm_access_point_filter_connections()
Dan Williams [Fri, 11 Mar 2011 15:36:41 +0000]
libnm-glib: add nm_access_point_filter_connections()

9 years agolibnm-util: use WiFi enums more consistently
Dan Williams [Fri, 11 Mar 2011 15:26:21 +0000]
libnm-util: use WiFi enums more consistently

9 years agolibnm-glib: add nm_device_filter_connections()
Dan Williams [Fri, 11 Mar 2011 04:27:10 +0000]
libnm-glib: add nm_device_filter_connections()

9 years agolibnm-glib: documentation update for nm_remote_settings_list_connections()
Dan Williams [Thu, 10 Mar 2011 23:46:51 +0000]
libnm-glib: documentation update for nm_remote_settings_list_connections()

9 years agodocs: more libnm-glib docs fixes
Dan Williams [Thu, 10 Mar 2011 22:25:00 +0000]
docs: more libnm-glib docs fixes

9 years agolibnm-glib: documentation fixes
Dan Williams [Thu, 10 Mar 2011 18:35:43 +0000]
libnm-glib: documentation fixes

9 years agolibnm-util: fix some documentation issues
Dan Williams [Thu, 10 Mar 2011 18:28:59 +0000]
libnm-util: fix some documentation issues

9 years agodocs: make sure libnm-glib docs know about introspection
Dan Williams [Thu, 10 Mar 2011 18:08:08 +0000]
docs: make sure libnm-glib docs know about introspection

9 years agolibnm-glib: update some documentation
Dan Williams [Thu, 10 Mar 2011 17:55:09 +0000]
libnm-glib: update some documentation

9 years agodocs: update some version strings
Dan Williams [Thu, 10 Mar 2011 17:50:34 +0000]
docs: update some version strings

9 years agolibnm-glib: remove deprecated nm_ip4_config_get_hostname() function
Dan Williams [Thu, 10 Mar 2011 17:48:22 +0000]
libnm-glib: remove deprecated nm_ip4_config_get_hostname() function

Deprecated since 0.7 days; it always returned NULL anyway.

9 years agoapi: fix mistakenly absent Dhcp6Config device property
Dan Williams [Thu, 10 Mar 2011 15:53:07 +0000]
api: fix mistakenly absent Dhcp6Config device property

It was still on the bus, but not in the introspection for some
reason.

9 years agolibnm-glib: make sure nm_device_get_dhcp6_config() is visible
Dan Williams [Thu, 10 Mar 2011 15:50:23 +0000]
libnm-glib: make sure nm_device_get_dhcp6_config() is visible

9 years agocore: depend on stable gudev API
Michael Biebl [Thu, 10 Mar 2011 09:19:27 +0000]
core: depend on stable gudev API

9 years agorelease: bump version to 0.8.996 (0.9-beta2)
Dan Williams [Thu, 10 Mar 2011 08:05:15 +0000]
release: bump version to 0.8.996 (0.9-beta2)

9 years agolibnm-glib: fix reply processing of AddConnection calls
Dan Williams [Thu, 10 Mar 2011 08:03:25 +0000]
libnm-glib: fix reply processing of AddConnection calls

It really is an object path, folks.

9 years agolibnm-glib: bump required NM version in pkgconfig file
Dan Williams [Thu, 10 Mar 2011 07:55:30 +0000]
libnm-glib: bump required NM version in pkgconfig file

To something modern, at least.

9 years agolibnm-glib: fix bogus free
Dan Williams [Thu, 10 Mar 2011 07:35:09 +0000]
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.

9 years agolibnm-glib-vpn: minor soname bump for new nm-vpn-plugin-utils.c functions
Dan Williams [Thu, 10 Mar 2011 06:49:09 +0000]
libnm-glib-vpn: minor soname bump for new nm-vpn-plugin-utils.c functions

1.0.0 -> 1.1.0

9 years agolibnm-util: allow setting-only hashes with nm_connection_update_secrets()
Dan Williams [Wed, 9 Mar 2011 15:31:44 +0000]
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.

9 years agotodo: update with some stuff people could work on
Dan Williams [Tue, 8 Mar 2011 21:24:27 +0000]
todo: update with some stuff people could work on

9 years agocore: bring the state() D-Bus method back
Dan Williams [Tue, 8 Mar 2011 18:57:35 +0000]
core: bring the state() D-Bus method back

It's a lot easier for app developers to use.

9 years agokeyfile: trivial whitespace fixes
Dan Williams [Thu, 3 Mar 2011 07:29:31 +0000]
keyfile: trivial whitespace fixes

9 years agosettings: fix some code that required glib 2.26
Dan Williams [Tue, 8 Mar 2011 16:18:29 +0000]
settings: fix some code that required glib 2.26

Should be compatible with at least glib 2.24 and hopefully earlier.

9 years agoarch: create /var/run/NetworkManager if doesn't exist in initscripts (bgo #643902)
Ionut Biru [Tue, 8 Mar 2011 13:27:30 +0000]
arch: create /var/run/NetworkManager if doesn't exist in initscripts (bgo #643902)

9 years agopo: remove useless ' ' for French translation (bgo #644110)
Jiří Klimeš [Tue, 8 Mar 2011 13:08:31 +0000]
po: remove useless ' ' for French translation (bgo #644110)

9 years agotrivial: fix description of nm_connection_get_id()
Jiří Klimeš [Tue, 8 Mar 2011 12:50:36 +0000]
trivial: fix description of nm_connection_get_id()

9 years agocore: use nm_connection_get_id() and nm_connection_get_uuid() to simplify code
Jiří Klimeš [Tue, 8 Mar 2011 12:41:28 +0000]
core: use nm_connection_get_id() and nm_connection_get_uuid() to simplify code

9 years agoifcfg-rh: fix testcases now that timestamps are no longer written
Jiří Klimeš [Tue, 8 Mar 2011 10:58:00 +0000]
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.

9 years agoifcfg-rh: get rid of LAST_CONNECT
Jiří Klimeš [Tue, 8 Mar 2011 10:49:49 +0000]
ifcfg-rh: get rid of LAST_CONNECT

timestamps are now kept in /var/log/NetworkManager/timestamps

9 years agocore: timestamp handling - don't touch /etc when updating timestamps (bgo #637825)
Jiří Klimeš [Wed, 2 Mar 2011 14:08:17 +0000]
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.

9 years agobuild: relax glib version requirement to 2.24
Dan Williams [Mon, 7 Mar 2011 16:39:08 +0000]
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.

9 years agolibnm-util: conditionalize code that requires glib 2.26 or later
Dan Williams [Mon, 7 Mar 2011 16:30:09 +0000]
libnm-util: conditionalize code that requires glib 2.26 or later

9 years agobuild: fix unresolved symbols when building gtk-doc scanner with GCC 4.5
Michael Biebl [Mon, 7 Mar 2011 15:49:48 +0000]
build: fix unresolved symbols when building gtk-doc scanner with GCC 4.5

9 years agoifupdown: normalize keys using - or _ (debian #609831)
Michael Biebl [Mon, 7 Mar 2011 15:57:05 +0000]
ifupdown: normalize keys using - or _ (debian #609831)

9 years agoifupdown: use new logging API
Daniel Trebbien [Sat, 5 Mar 2011 06:02:43 +0000]
ifupdown: use new logging API