Dan Williams
af55e25f14
libnm-glib: fix GObject introspection annotation
2011-07-02 14:49:02 -05:00
Dan Williams
538cef0805
libnm-glib: fix make distcheck
2011-06-20 11:40:04 -05:00
Dan Williams
cfd6ba1690
libnm-glib: fix demarshalling of Dhcp6Config property changes
...
This bit apparently got forgotten in 10ea7a911c
2011-06-18 17:16:48 -05:00
Jiří Klimeš
8d43875cbe
libnm-glib: add nm_client_get_device_by_iface() for NMClient
2011-06-15 14:58:04 +02:00
Jiří Klimeš
b4a72d1ad7
libnm-glib: fix crash for AddAndActivateConnection() D-Bus call (bgo #652512 )
...
When a partial connection is passed to nm_client_add_and_activate_connection(),
but it doesn't contain any settings, nm_connection_to_hash() returns NULL and
there's a crash later on the NULL hash.
2011-06-14 19:39:23 +02:00
Dan Williams
10ea7a911c
libnm-glib: fix up empty object path demarshalling after 8afce8590a
...
G_VALUE_HOLDS will fail if the value variable is NULL, so we only
want to check that the GValue holds the right type if the value
is valid. NULL means "no object path" in demarshallers.
2011-06-01 12:55:54 -05:00
Dan Williams
0e7b71102b
libnm-glib: add support for the "active-connection" device property
2011-05-26 19:39:12 -05:00
Dan Williams
8afce8590a
libnm-glib: handle NULL object paths generically
...
Since D-Bus doesn't allow NULL or zero-length object paths, NM
uses "/" as a placeholder here. Make sure the generic marshalling
code handles that so we don't have to do it in multiple places and
simplify handling of NULL objects somewhat.
2011-05-26 19:19:32 -05:00
Dan Williams
1e5cff5fa2
libnm-glib: export nm_device_get_ip_iface()
...
This got forgotten somehow.
2011-05-05 12:59:45 -05:00
Dan Williams
b0f831ab0a
Revert "libnm-glib: export nm_device_get_iface()"
...
This reverts commit 3116e3c980 .
Commit message is wrong.
2011-05-05 12:58:45 -05:00
Dan Williams
3116e3c980
libnm-glib: export nm_device_get_iface()
...
This got forgotten somehow.
2011-05-05 12:38:29 -05:00
Dan Williams
429a05e675
libnm-glib: rename some internal symbols
...
To ensure they don't show up in the exported symbol check, even
though they aren't currently exported.
2011-05-05 12:37:21 -05:00
Dan Williams
3c6d2088e0
libnm-glib: rename some internal symbols in legacy compat library
...
To ensure they don't show up in the exported symbol check, even
though they aren't currently exported.
2011-05-05 12:33:49 -05:00
Dan Williams
55dde4f89d
libnm-glib: fix WINS server handling
...
Copy & paste error, it seems.
2011-05-02 18:48:16 -05:00
Dan Williams
779215c742
libnm-glib: add *_connection_valid() utility functions
...
Like the *_filter_connections() functions, but for just one connection,
and now the *_filter_connections() functions call these new ones so
it's really just moving code around and not anything new.
These new functions more closely match the usage I've seen from
gnome-shell's network.js and elsewhere.
2011-04-25 17:07:38 -05:00
Dan Williams
c790c95e75
libnm-glib: add a missing GObject Introspection annotation
2011-04-25 16:14:55 -05:00
Dan Williams
4cae0bb0fa
settings: add a GetConnectionByUuid method
...
If the client knows the UUID, add a convenience function to get
the connection path directly, instead of having to iterate the
whole connection list and get each connection's details and then
check the UUID.
2011-04-22 12:29:07 -05:00
Dan Williams
bb8e9a0b18
api: add "Uuid" property to ActiveConnection interface
...
A convenience so that clients which might key certain operations off
which connections are active (checking work mail only when on VPN for
example) can more easily get which connections are active. This would
allow those apps to store the UUID (which they would already be doing)
and not have to create a Connection proxy and then get the connection
properties just to retrieve the UUID of the connection. Instead they
can now get it from GetAll of the ActiveConnection object, which they
would already be doing.
2011-04-22 12:29:07 -05:00
Dan Williams
df511f74f7
build: use -Wundef and fix up cases where stuff wasn't defined (bgo #647157 )
2011-04-14 13:19:12 -05:00
Dan Williams
fdd2727d21
libnm-glib: hook up networking enabled property writes
2011-03-31 17:38:39 -05:00
Dan Williams
0d92803ccc
libnm-glib: make property set requests for wifi/wwan/wimax do something
...
They weren't actually poking NM, just setting internal values.
2011-03-31 17:34:13 -05:00
Michael Biebl
530f143adf
use /usr/bin/env instead of /bin/env
2011-03-29 01:00:47 +02:00
Dan Williams
5ee1039067
libnm-glib: fix crash calling activation callback
...
Duh, need to zero the memory before reading from it. It was
crashing in recheck_pending_activations() because the info->active_path
was random memory.
2011-03-24 23:20:32 -05:00
Dan Williams
435db3cb3d
libnm-glib: test symbol exports against .ver file
2011-03-21 12:25:28 -05:00
Dan Williams
83ed56108c
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.
2011-03-19 13:43:05 -05:00
Dan Williams
1701df4b75
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.
2011-03-17 14:23:21 -05:00
Dan Williams
14b23ba399
libnm-glib: handle new device states
...
The device states aren't used yet, but handle them anyway.
2011-03-17 13:42:22 -05:00
Dan Williams
4fca276e9a
libnm-glib: automatically cancel secrets requests if NM goes away
2011-03-17 13:42:21 -05:00
Dan Williams
4390865bc0
libnm-glib: clarify usage of specific_object for activation calls
2011-03-17 11:27:30 -05:00
Dan Williams
ab9af2277f
libnm-glib: clarify some documentation
2011-03-17 11:18:35 -05:00
Dan Williams
efc51d51e5
libnm-glib: more introspection annotation fixes
...
No connection is required for nm_client_add_and_activate_connection(),
it can be NULL.
2011-03-17 11:17:08 -05:00
Dan Williams
49c618a2a8
libnm-glib: fix introspection annotation for nm_remote_connection_delete()
2011-03-17 10:46:42 -05:00
Richard Hughes
4e73194500
libnm-glib: allow calling nm_remote_connection_delete() without a callback
2011-03-16 15:36:36 -05:00
Giovanni Campagna
4480365db7
libnm-glib: introspection annotation fixes (bgo #643011 )
2011-03-16 15:25:37 -05:00
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š
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
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
1c3a67aaa5
api: clarify function and usage of the Device.Udi property
2011-03-15 12:56:19 -05:00
Kjartan Maraas
b224ab8e56
trivial: let g_free and g_strdup handle NULL (bgo #644763 )
2011-03-15 00:08:58 -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
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
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
bf76960597
libnm-glib: documentation fixes
2011-03-10 12:35:43 -06:00
Dan Williams
09b46bb269
libnm-glib: update some documentation
2011-03-10 11:55:09 -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