1. 18 Sep, 2014 1 commit
    • Dan Winship's avatar
      libnm: port to GDBus · 6793a32a
      Dan Winship authored
      Port libnm-core/libnm to GDBus.
      
      The NetworkManager daemon continues to use dbus-glib; the
      previously-added connection hash/variant conversion methods are now
      moved to NetworkManagerUtils (along with a few other utilities that
      are now only needed by the daemon code).
      6793a32a
  2. 17 Aug, 2014 1 commit
  3. 01 Aug, 2014 1 commit
    • Dan Winship's avatar
      libnm: add libnm/libnm-core (part 2) · eedcf185
      Dan Winship authored
      This fixes up the code from the previous "clean" import, and adds
      build infrastructure.
      
      [There are two slightly orthogonal sets of changes in this patch.
      First, the files added in the previous commit were modified as followed:
      
        # Replace internal references to "libnm-util" and "libnm-glib" with "libnm"
        perl -pi -e 's/libnm-(util|glib)/libnm/;' libnm-core/*.[ch] libnm-core/tests/*.[ch] libnm/*.[ch] libnm/tests/*.[ch]
      
        # Fix includes of the enum-types files
        perl -pi -e 's/nm-utils-enum-types/nm-core-enum-types/;' libnm-core/*.[ch] libnm-core/tests/*.[ch] libnm/*.[ch] libnm/tests/*.[ch]
        perl -pi -e 's/nm-glib-enum-types/nm-enum-types/;' libnm/*.[ch] libnm/tests/*.[ch]
      
        # Fix some python example code
        perl -pi -e 's/import NMClient/import NM/;' -e 's/NMClient.Client\(\)/NM.Client()/;' libnm/nm-client.c
      
      Then, the build infrastructure was added (without further modifying
      any existing files in libnm-core or libnm.)
      
      Note: to regenerate libnm.ver after rebase:
        (head -2 libnm-util/libnm-util.ver; (grep -h '\s'nm_ libnm-util/libnm-util.ver libnm-glib/libnm-glib.ver | env LANG=C sort); tail -3 libnm-util/libnm-util.ver) > libnm/libnm.ver
      ]
      eedcf185
  4. 30 Jul, 2014 2 commits
    • Dan Winship's avatar
      test: drop this directory · 763ce29e
      Dan Winship authored
      The remaining contents of the test/ directory are:
      
        - 2 python example programs that aren't as good as the ones in examples/
      
        - a test of the deprecated libnm_glib API which isn't as good as the one
          in libnm-glib/
      
        - A DHCP-related test program that hasn't been relevant since 2005
      
      Let's just kill it all
      763ce29e
    • Dan Winship's avatar
      clients: reorganize source tree, put all the installed clients together · 3d25d704
      Dan Winship authored
      Create a new clients/ subdirectory at the top level, and move cli/ and
      tui/ into it, as well as nm-online.c (which was previously in test/,
      which made no sense).
      
      cli/ was split into two subdirectories, src/ and completion/. While
      this does simplify things (given that the completion file and the
      binary both need to be named "nmcli"), it bloats the source tree, and
      we can work around it by just renaming the completion file at install
      time. Then we can combine the two directories into one and just have
      it all under clients/cli/.
      3d25d704
  5. 15 Jul, 2014 1 commit
  6. 27 Jun, 2014 1 commit
  7. 19 Jun, 2014 1 commit
    • Dan Winship's avatar
      libnm-util: build nm-setting-docs.xml from gtk-doc and GParamSpecs · dcc10951
      Dan Winship authored
      Add generate-setting-docs.py, based on tools/generate-settings-spec.c,
      which generates a simple XML file describing all libnm setting
      properties (still getting the default values via GParamSpec
      introspection like generate-settings-spec.c does, but getting the
      documentation out of the gtk-doc strings in the GIR file instead).
      dcc10951
  8. 13 Feb, 2014 1 commit
    • Dan Winship's avatar
      build: improve our use of glib's version macros to catch more bugs · 64c5395c
      Dan Winship authored
      We were setting GLIB_VERSION_MAX_ALLOWED to 2.34, since we provide
      reimplementations of a few 2.34 functions in nm-glib-compat.h. But
      this was turning off warnings for the 2.34+ APIs we *didn't* have
      compat versions of too.
      
      Fix this by setting MAX_ALLOWED to 2.32 (same as MIN_REQUIRED), and
      defining macros to wrap calls to compat-ified functions and disable
      deprecation warnings around them.
      
      This points out several places where we were accidentally using 2.34
      APIs without noticing, which need to be fixed now.
      64c5395c
  9. 03 Feb, 2014 1 commit
    • Dan Winship's avatar
      build: drop the libndp submodule · dd58d9c7
      Dan Winship authored
      libndp has existed for a while now. 1.0 was released six months
      ago. So drop the submodule and just require an installed package.
      dd58d9c7
  10. 13 Dec, 2013 1 commit
  11. 18 Nov, 2013 1 commit
    • Thomas Haller's avatar
      build: fix for `make distcheck` without enable-gtk-doc · 044cebad
      Thomas Haller authored
      Without this patch, the following fails with a rather obscure message
      about missing make target.
      
        ./autogen.sh && make && make distcheck
        ...
        *** No rule to make target `NetworkManager.8', needed by `distdir'. Stop.
      
      Swap the order of the subdirectories 'docs' and 'man' to build
      'docs' earlier. This way, `make distcheck` fails in the directory 'docs'
      with a better error message:
        *** gtk-doc must be installed and enabled in order to make dist
      
      Also, add 'man/nmcli-examples.5' to the list of files, to determine
      whether to use the pre generated doc files.
      Signed-off-by: Thomas Haller's avatarThomas Haller <thaller@redhat.com>
      044cebad
  12. 24 Jul, 2013 1 commit
    • Dan Williams's avatar
      build: fix distcheck configure flags · ae319b92
      Dan Williams authored
      Update the tests flag to the latest syntax, and make sure we
      don't run valgrind on distcheck for now, since new valgrind
      errors may show up when things like glib change.
      ae319b92
  13. 13 Jun, 2013 2 commits
  14. 06 Jun, 2013 1 commit
  15. 16 May, 2013 1 commit
    • Colin Walters's avatar
      core: add libgsystem as a git submodule · 468c0851
      Colin Walters authored
      And change src/main.c to use the local allocation macros.  This
      results in much cleaner code, as one can see from the diff.
      
      Because libgsystem is designed for nonrecursive make, it fits best in
      the current recursive setup if we build . first.  This will be a lot
      nicer when we switch NM to a nonrecursive setup.
      468c0851
  16. 14 May, 2013 1 commit
  17. 10 Apr, 2013 1 commit
  18. 12 Mar, 2013 1 commit
  19. 19 Feb, 2013 1 commit
  20. 15 Nov, 2012 1 commit
  21. 14 Nov, 2012 1 commit
  22. 13 Nov, 2012 1 commit
  23. 29 Oct, 2012 1 commit
    • Pavel Šimerda's avatar
      distro: don't install initscripts · 3ee36a6f
      Pavel Šimerda authored
      It doesn't make much sense to install initscripts in current distributions. Most
      of them either don't use initscripts at all, locally patch the initscripts or
      supply their own. This allows us to eventually drop the --with-distro configure
      option.
      
      Many current distributions support multiple init systems and it doesn't make
      sense for upstream to make the choice for them. Distributors can still make
      their scripts copy one of the initscripts from the source tree if they wish so.
      3ee36a6f
  24. 12 Jun, 2012 1 commit
  25. 01 Mar, 2012 1 commit
  26. 15 Feb, 2012 1 commit
    • Dan Winship's avatar
      Use glib-mkenums to generate enum types · 839eab55
      Dan Winship authored
      Rather than generating enum classes by hand (and complaining in each
      file that "this should really be standard"), use glib-mkenums.
      
      Unfortunately, we need a very new version of glib-mkenums in order to
      deal with NM's naming conventions and to fix a few other bugs, so just
      import that into the source tree temporarily.
      
      Also, to simplify the use of glib-mkenums, import Makefile.glib from
      https://bugzilla.gnome.org/654395.
      
      To avoid having to run glib-mkenums for every subdirectory of src/,
      add a new "generated" directory, and put the generated enums files
      there.
      
      Finally, use Makefile.glib for marshallers too, and generate separate
      ones for libnm-glib and NetworkManager.
      839eab55
  27. 14 Nov, 2011 1 commit
  28. 11 Apr, 2011 1 commit
  29. 05 Apr, 2011 1 commit
  30. 23 Feb, 2011 1 commit
  31. 15 Feb, 2011 1 commit
  32. 21 Jan, 2011 1 commit
  33. 13 Jan, 2011 1 commit
    • Dan Williams's avatar
      core: build keyfile plugin into NetworkManager · b38f39cf
      Dan Williams authored
      Since settings storage is now handled by NetworkManager, we must
      have the ability to read/write all connection types at all times.
      Since the 'keyfile' plugin is the only plugin that can handle all
      connection types, build it into NetworkManager.
      b38f39cf
  34. 12 Aug, 2010 1 commit
  35. 25 Feb, 2010 1 commit
  36. 18 Feb, 2010 1 commit
  37. 20 Aug, 2009 1 commit
    • Dan Williams's avatar
      core: require gio · 9c0e9295
      Dan Williams authored
      Which isn't a problem, since we already require glib-2.16 which
      includes gio.  Thus, we can remove all the gfilemonitor compat
      stuff.
      9c0e9295
  38. 05 Aug, 2009 1 commit