Commit Graph

405 Commits

Author SHA1 Message Date
Dan Williams
f79dcb9560 core: consolidate PolicyKit code
Use one global PolkitAuthority object; we only really need to use it
in one place anyway.  So consolidate the code that uses polkit into
nm-manager-auth.c.
2011-05-18 22:20:24 -05:00
Dan Williams
0105be530e release: bump version to 0.8.999 (0.9-rc2) 2011-05-03 13:35:08 -05:00
Dan Williams
f898dbf1a9 dispatcher: enhance dispatcher script environment (bgo #648382)
For VPN connections, the interface name would be that of the VPN's
IP interface, but the script environment would be the that of the
VPN's parent device.  Enhance the environment by adding any VPN
specific details as additional environment variables prefixed by
"VPN_".  Leave the existing environment setup intact for backwards
compatiblity.

Additionally, the dispatcher never got updated for IPv6 support,
so push IPv6 configuration and DHCPv6 configuration into the
environment too.

Even better, push everything the dispatcher needs to it instead
of making the dispatcher make D-Bus requests back to NM, which
sometimes fails if NM has already torn down the device or the
connection which the device was using.

And add some testcases to ensure that we don't break backwards compat,
the testcases here were grabbed from a 0.8.4 machine with a hacked up
dispatcher to dump everything it was given from NM.
2011-05-02 22:54:28 -05:00
Dan Williams
45c8dee74c build: fix subsequent builds when reconfigured (bgo #648451)
AC_PROG_CXX should be unconditionally run, as it doesn't fail out
if a C++ compiler is not found, which is fine.  It'll check for
one, but we only use it if --enable-qt=yes is given at configure
time.  If --enable-qt=no is set, we do not want to do anything
C++ related, which is why it was conditionalized (incorrectly)
the first time around.
2011-04-25 10:09:44 -05:00
Eckhart Wörner
f8aa9f38da examples: add some Qt examples and build infrastructure 2011-04-20 19:48:32 -05:00
Dan Williams
d98f3f226a examples: move glib examples to a subdir 2011-04-20 19:25:50 -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
27796075e7 release: bump version to 0.8.998 (0.9.0-rc1) 2011-04-04 23:28:51 -05:00
Dan Williams
85d364d765 settings: fix getting default wired connection name with no connections
Due to an error in the loop logic, if there were no connections yet (like
a fresh install or a livecd or whatever) no default name would be returned
and thus ethernet devices wouldn't come up automatically.  Fix that loop
error and add testcases for it.
2011-03-30 12:02:50 -05:00
Dan Williams
1862ab329f build: don't build static libraries by default 2011-03-24 12:02:29 -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
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
Javier Jardón
6fcd9fe8a9 build: use upstream gettext instead of glib one (bgo #644264) 2011-03-14 10:58:58 -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
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
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
8ce5459724 release: bump version to 0.8.995 (0.9-beta1) 2011-03-04 14:42:30 -06:00
Dan Williams
5c7edb67e2 build: fix bug tracker link 2011-03-02 23:34:25 -06:00
Dan Williams
1a590cce13 include: add NM_CHECK_VERSION define 2011-03-02 17:16:27 -06:00
Dan Williams
204d2fff3c build: bump glib requirement to 2.26 for G_DEFINE_BOXED_TYPE 2011-02-25 18:18:18 -06:00
Craig Keogh
5dbaec5f84 build: don't munge ACLOCAL_AMFLAGS from configure.ac (bgo #641450)
Since that's supposed to be handled in Makefile.am
2011-02-23 13:00:27 -06:00
Dan Williams
a096d3a676 build: allow disabling PPP support at build time
Pass --enable-ppp=no and pppd headers won't be required, and the
pppd plugin won't be built.  Here's to you, Gentoo!
2011-02-21 17:48:08 -06:00
Dan Williams
a90a7f7dd2 docs: create new master NM documentation module 2011-02-16 16:24:16 -06:00
Dan Williams
5bcb0832e5 settings: move system-settings/plugins => src/settings/plugins 2011-02-15 11:55:34 -06:00
Dan Williams
57e928d4f8 release: bump version to 0.8.992 2011-02-12 23:25:04 -06:00
Giovanni Campagna
3ebecd2a29 introspection: add GObject introspection support (bgo #637032)
Add the necessary annotations (the mininum required, that is those
on return values. NULL parameters or container types may require
more), and the Autotools stuff to get a NetworkManager GIR for
libnm-util and a NMClient for libnm-glib.
2011-01-21 14:46:09 -06:00
Dan Williams
f9ceafd4a1 Merge remote branch 'origin/master' into rm-userset 2011-01-12 15:46:37 -06:00
Dan Williams
5f1a102b11 build: require Intel WiMAX SDK v1.5.1 or greater for WiMAX support 2011-01-06 17:17:18 -06:00
Dan Williams
fa0fde8cbd release: bump version to 0.8.991 for WiMAX support 2011-01-06 17:13:38 -06:00
Dan Williams
430151d6c2 build: make WiMAX support optional 2011-01-05 18:23:08 -06:00
Dan Williams
0587ef1179 Merge remote branch 'origin/master' into wimax 2011-01-02 17:24:23 -06:00
Dan Williams
ad80a58c15 libnm-glib: add testcases and testing infrastructure
Tests for addition and removal of connections.
2010-12-28 17:11:27 -06:00
Dan Williams
297e3c6463 dhclient: split out dhclient config merging and add testcases 2010-12-17 23:09:20 -06:00
Dan Williams
7e5ab41d13 build: remove random leftover bits of GConf stuff 2010-12-15 18:03:49 -06:00
Dan Williams
cfaa80b261 Merge remote branch 'origin/master' into rm-userset 2010-11-16 18:08:48 -06:00
Dan Williams
568f5e073b release: bump version to 0.8.990
Bump master branch version way past stable branch version for
development purposes.
2010-11-16 17:57:57 -06:00
Dan Williams
fcf87d87ae build: one more small fix for NSS detection + pkg-config stupidity 2010-11-08 09:06:47 -06:00
Dan Williams
846d92c737 build: work around pkg-config bug #29801
PKG_CHECK_MODULES() succeeds even if the module's dependencies
are not satisfied, leading to empty CFLAGS and LIBS.
2010-11-07 16:31:53 -06:00
Dan Williams
68e4d31629 build: get the right NSS cflags and libs 2010-11-07 15:02:11 -06:00
Wulf C. Krueger
3b4e9dd75e backends: add Exherbo support (bgo #634058) 2010-11-05 13:41:20 -05:00
Dan Williams
83ab4ec2ee settings: system-settings -> settings 2010-10-27 20:22:14 -05:00
Dan Williams
edbf4a3ca2 core: allow ConsoleKit usage to be disabled 2010-10-26 15:57:03 -05:00
Alex Vogt
d40c81b06a linexa: add basic Linexa support 2010-10-08 23:03:10 -05:00
Jiří Klimeš
9ee41307fc examples: add example for adding a connection in C (using glib) 2010-09-30 21:09:01 +02:00
Dan Williams
7f4a7a62c4 keyfile: clean up directory structure
The IO library was in io/ because I was too lazy to find autotools'
SUBDIRS rules at the time and that you could use '.' for the current
directory.  Fix that and use its own error defines instead of
the system settings service.  Clean up a for more things for good
measure too (like KEYFILE_DIR, etc).
2010-09-16 17:39:06 -05:00
Dan Williams
9b2b809aae core: rename NMNamedManager -> NMDnsManager 2010-09-07 22:08:18 -05:00
Wulf C. Krueger
623f09c586 build: don't install systemd files with --without-systemdsystemunitdir (bgo #628439) 2010-09-01 17:25:25 -05:00
Mu Qiao
38f3e5ca61 ifnet: add Gentoo system settings plugin 2010-08-24 12:09:30 -05:00