Michael Biebl
ee259ff79a
Only ship input files for SysV init scripts in dist tarball
...
And let AC_CONFIG_FILES() take care of including them
2011-03-29 01:01:28 +02:00
Michael Biebl
530f143adf
use /usr/bin/env instead of /bin/env
2011-03-29 01:00:47 +02:00
Dan Williams
b8a1a38640
core: fix wired connection completion
...
It was using a connection base type of 'connection', which clearly
isn't right.
2011-03-28 10:42:19 -05:00
Dan Williams
74a0b1d9d1
libnm-util: verify connection's 'type' setting is actually a base type
...
By 'base type' I mean a hardware-related type that can actually be used
to activate the connection, like wifi, wired, gsm, cdma, wimax, bluetooth,
etc, but not ipv4, ipv6, 8021x, etc.
2011-03-28 10:40:38 -05:00
Dan Williams
78df8c49a1
settings: name the default wired connection "Wired connection x"
...
Where 'x' is a number that's not yet used by any existing connection.
And clean up the default wired class initialization. This name is
more friendly than "Auto eth0" which was confusing to quite a few
people. This also checks to ensure there's no other connection with
the same name, which the old method did not.
Suggested by Jon McCann.
2011-03-27 16:57:14 -05: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
7da9e2f607
vpn: fix memory leaks
...
Two problems here:
1) code that called nm_vpn_service_get_active_connections() wasn't freeing
the returned list, leaking it
2) No real reason to reference each item in the returned list in
nm_vpn_manager_get_active_connections(), it just makes it easier to
forget to unref things later
2011-03-24 14:13:12 -05:00
Dan Williams
1862ab329f
build: don't build static libraries by default
2011-03-24 12:02:29 -05:00
Dan Williams
6cbb44bc97
ifcfg-rh: fix some missing tests in tarball
...
The tests were missing, and because of the way the test was structured,
the tests passed.
2011-03-21 17:44:47 -05:00
Michael Biebl
69a135debb
ppp: remove unused file
2011-03-21 17:41:08 -05:00
Michael Biebl
80d29da35b
trivial: remove unused nm-gsm-device.h header
2011-03-21 17:34:00 -05:00
Dan Williams
a61deb48a5
policy: revert system modify permission to auth_admin_keep
...
For now, until we figure out a better story here. We don't necessarily
want to require an admin password just to connect to a wifi network
after installing, but for now lets be secure-by-default while we figure
out the right solution.
2011-03-21 16:53:35 -05:00
Dan Williams
6f49afaea0
api: remove unused CDMA and GSM introspection files
2011-03-21 16:48:15 -05:00
Dan Williams
4ea8fb6d99
trivial: fix format type of ip6 manager logging messages
2011-03-21 13:33:43 -05:00
Dan Williams
90b478e905
trivial: fix format type of DHCP client logging messages
2011-03-21 16:17:49 -05:00
Dan Williams
14204ce462
libnm-util: test symbol exports against .ver file
2011-03-21 13:36:43 -05:00
Dan Williams
435db3cb3d
libnm-glib: test symbol exports against .ver file
2011-03-21 12:25:28 -05:00
Dan Williams
235f96d2fd
tools: add script to check library exports against .ver files
2011-03-21 12:23:51 -05:00
Dan Williams
a1fac30e6b
release: bump version to 0.8.997 (0.9.0-beta3)
2011-03-19 13:59: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
d815cb9f33
logging: fix format string/argument disagreement
...
Now that the logging fixes make format checking actually work, fix
the issues it brings up.
2011-03-19 12:44:14 -05:00
Dan Williams
e7be98260e
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.
2011-03-19 12:42:29 -05:00
Dan Williams
3997cc77bf
build: enable WiMAX based on whether the SDK is present or not
...
Force enable/disable still overrides autodetection.
2011-03-18 10:29:06 -07:00
Dan Williams
6b4d1d70e0
build: glib 2.22 is fine
2011-03-18 10:10:13 -07:00
Dan Williams
b2036e264c
wimax: log a message when connecting to an NSP
2011-03-17 23:58:50 -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
23943e7ce2
core: 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
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
8ae173635d
trivial: fix comment
2011-03-17 13:42:21 -05:00
Dan Williams
d208bbd4c4
api: document NM_DEVICE_STATE_FAILED
2011-03-17 13:42:21 -05:00
Dan Williams
b339074fd9
core: fix up active connection state for newer device states
2011-03-17 13:42:21 -05:00
Dan Williams
11ca4c7a91
supplicant: add 'authenticating' state
...
Caused a harmless warning, but lets add it anyway.
2011-03-17 13:42:21 -05:00
Dan Williams
05f70e34a5
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.
2011-03-17 13:42:21 -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
Mu Qiao
8d60cafd18
ifnet: fix tests and distcheck
2011-03-17 11:05:46 -05:00
Dan Williams
49c618a2a8
libnm-glib: fix introspection annotation for nm_remote_connection_delete()
2011-03-17 10:46:42 -05:00
Dan Williams
c3dc2a0608
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.
2011-03-16 20:53:49 -05:00
Dan Williams
e89a50d779
agents: don't complain when there aren't any system secrets
2011-03-16 20:53:13 -05:00
Mu Qiao
08b2fa5401
ifnet: plugin updates and shared connection support
2011-03-16 15:39:13 -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š
2a33ba8683
cli: use setting accessor helpers
2011-03-16 14:32:24 +01: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š
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