1. 01 Aug, 2014 5 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
      libnm: rename NetworkManager.h and NetworkManagerVPN.h · 3ddce748
      Dan Winship authored
      "NetworkManager.h"'s name (and non-standard capitalization) suggest
      that it's some sort of high-level super-important header, but it's
      really just low-level D-Bus stuff. Rename it to "nm-dbus-interface.h"
      and likewise "NetworkManagerVPN.h" to "nm-vpn-dbus-interface.h"
      3ddce748
    • Dan Winship's avatar
      libnm: make the the use of GInitable mandatory · 258e74eb
      Dan Winship authored
      Remove _nm_object_ensure_inited(), etc; objects that implement
      GInitable are now mandatory-to-init().
      
      Remove constructor() implementations that sometimes return NULL; do
      all the relevant checking in init() instead.
      
      Make nm_client_new() and nm_remote_settings_new() take a GCancellable
      and a GError**.
      258e74eb
    • Dan Winship's avatar
      libnm: consistently use "INTERFACE" rather than "IFACE" in macros · f441cf2b
      Dan Winship authored
      Most D-Bus interface name macros used "INTERFACE" in their name (eg,
      NM_DBUS_INTERFACE), but a few used "IFACE" instead (eg,
      NM_DBUS_IFACE_SETTINGS). Make them consistent.
      f441cf2b
    • 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 2 commits
    • 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
    • Dan Winship's avatar
      libnm-util: move NetworkManager.h, etc, from include/ to here · 7eb0288a
      Dan Winship authored
      NetworkManager.h, NetworkManagerVPN.h, and nm-version.h are part of
      the libnm-util API, so move them to libnm-util.
      
      include/ still contains headers that are strictly NM-internal (eg,
      nm-glib-compat.h).
      7eb0288a
  3. 20 Jun, 2014 1 commit
  4. 10 Jun, 2014 1 commit
  5. 09 Jun, 2014 1 commit
  6. 07 Jun, 2014 1 commit
  7. 27 May, 2014 1 commit
  8. 28 Apr, 2014 1 commit
  9. 04 Apr, 2014 2 commits
  10. 01 Apr, 2014 1 commit
  11. 07 Mar, 2014 1 commit
  12. 05 Mar, 2014 1 commit
  13. 03 Mar, 2014 2 commits
  14. 24 Jan, 2014 1 commit
  15. 23 Jan, 2014 1 commit
  16. 16 Jan, 2014 1 commit
  17. 17 Dec, 2013 1 commit
  18. 29 Nov, 2013 1 commit
  19. 13 Nov, 2013 1 commit
  20. 22 Oct, 2013 1 commit
    • Thomas Haller's avatar
      core: cleanup freeing of glib collections of pointers · 3eb1d5e9
      Thomas Haller authored
      When freeing one of the collections such as GArray, GPtrArray, GSList,
      etc. it is common that the items inside the connections must be
      freed/unrefed too.
      
      The previous code often iterated over the collection first with
      e.g. g_ptr_array_foreach and passing e.g. g_free as GFunc argument.
      For one, this has the problem, that g_free has a different signature
      GDestroyNotify then the expected GFunc. Moreover, this can be
      simplified either by setting a clear function
      (g_ptr_array_set_clear_func) or by passing the destroy function to the
      free function (g_slist_free_full).
      Signed-off-by: Thomas Haller's avatarThomas Haller <thaller@redhat.com>
      3eb1d5e9
  21. 26 Sep, 2013 1 commit
  22. 24 Sep, 2013 3 commits
  23. 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
  24. 06 Aug, 2013 1 commit
  25. 15 Jul, 2013 1 commit
  26. 29 Apr, 2013 1 commit
  27. 19 Apr, 2013 1 commit
  28. 25 Mar, 2013 1 commit
  29. 26 Feb, 2013 1 commit
  30. 07 Dec, 2012 1 commit
  31. 01 Nov, 2012 1 commit