1. 01 Aug, 2014 2 commits
    • Dan Winship's avatar
      libnm: add NetworkManager.h, disallow including individual headers · d0b05b34
      Dan Winship authored
      Add NetworkManager.h, which includes all of the other NM header, and
      require all external users of libnm to use that rather than the
      individual headers.
      
      (An exception is made for nm-dbus-interface.h,
      nm-vpn-dbus-interface.h, and nm-version.h, which can be included
      separately.)
      d0b05b34
    • Dan Winship's avatar
      all: port everything to libnm · a7c4d53d
      Dan Winship authored
      Since the API has not changed at this point, this is mostly just a
      matter of updating Makefiles, and changing references to the library
      name in comments.
      
      NetworkManager cannot link to libnm due to the duplicated type/symbol
      names. So it links to libnm-core.la directly, which means that
      NetworkManager gets a separate copy of that code from libnm.so.
      Everything else links to libnm.
      a7c4d53d
  2. 15 Jul, 2014 1 commit
    • Dan Winship's avatar
      build: more srcdir!=builddir fixes · 30c74c60
      Dan Winship authored
      nm-version.h was getting disted, making srcdir!=builddir work for
      tarball builds, but not for git builds.
      
      Also, remove "-I${top_builddir}/include" from all Makefile.ams, since
      there's nothing generated in include/ any more.
      30c74c60
  3. 07 Apr, 2014 1 commit
  4. 22 Aug, 2013 1 commit
    • Dan Winship's avatar
      build: switch from $(INCLUDES) to $(AM_CPPFLAGS) to make automake happy · bfce3f7d
      Dan Winship authored
      Unfortunately, $(AM_CPPFLAGS) gets overridden by per-target _CPPFLAGS
      variables, which $(INCLUDES) did not, so this requires some additional
      changes.
      
      In most places, I have just gotten rid of the per-target _CPPFLAGS
      variables; in directories with a single target, the per-target
      variable is unnecessary, and in directories with multiple targets, the
      per-target variable is often undesirable, since it forces some files
      to be compiled twice, even though there ends up being no difference
      between the two files.
      bfce3f7d
  5. 13 Nov, 2012 1 commit
    • Pavel Šimerda's avatar
      build: improve documentation and test configure options · faa1bcb5
      Pavel Šimerda authored
      Use --enable-doc and --enable-tests instead of --with-docs and
      --with-tests. This is consistent with other features and with
      --enable-gtk-doc option. Support current variants as fallback.
      
      Don't build tests unless --enable-tests is specified.
      faa1bcb5
  6. 22 Feb, 2012 1 commit
  7. 09 Jan, 2012 1 commit
  8. 03 May, 2011 1 commit
    • Dan Williams's avatar
      dispatcher: enhance dispatcher script environment (bgo #648382) · f898dbf1
      Dan Williams authored
      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.
      f898dbf1