1. 23 Nov, 2016 1 commit
  2. 22 Nov, 2016 18 commits
  3. 21 Nov, 2016 21 commits
    • Thomas Haller's avatar
      cli: always include "settings-docs.c" · 104546cc
      Thomas Haller authored
      We now require settings-docs.c to be present. Either, configure
      with --enable-gtk-doc to have it build, or use the pre-generated file
      from the source tarball.
      104546cc
    • Lubomir Rintel's avatar
      build: enable gtk-doc by default · f2afabe6
      Lubomir Rintel authored
      f2afabe6
    • Lubomir Rintel's avatar
      libnm/generate-plugin-docs: don't replace newlines with spaces · 6143e714
      Lubomir Rintel authored
      That serves no purpose whatsoever.
      6143e714
    • Lubomir Rintel's avatar
      contrib/rpm: drop XML::Parser BR · 61235147
      Lubomir Rintel authored
      We don't depend on it already.
      61235147
    • Lubomir Rintel's avatar
      all: drop YAML dependency · d3f7f7ab
      Lubomir Rintel authored
      d3f7f7ab
    • Lubomir Rintel's avatar
      libnm/generate-plugin-docs: drop YAML dependency · 3b64dc9c
      Lubomir Rintel authored
      It makes little sense to produce a YAML and then decompose it.
      3b64dc9c
    • Thomas Haller's avatar
      build: add explicit dependency of nmcli sources to "settings-docs.c" · 11e26d01
      Thomas Haller authored
      Instead of relying on BUILT_SOURCES.
      
        $ git clean -fdx && NOCONFIGURE=x ./autogen.sh && ./configure --enable-gtk-doc && make clients/cli/nmcli
      
      Also, add the file to DISTCLEANFILES.
      11e26d01
    • Lubomir Rintel's avatar
      build: silence some verbose make rules · bd01d9ca
      Lubomir Rintel authored
      bd01d9ca
    • Thomas Haller's avatar
      44f9d16d
    • Thomas Haller's avatar
      build: cleanup include paths in Makefile.am · 58236425
      Thomas Haller authored
      - Use -I$() instead of -I${}
      - omit "top_" for -I$(srcdir)
      - remove quoting for include paths
        We don't quote other places either. You just cannot
        build NetworkManager in a path that contain invalid
        characters.
      - remove trailing slash from include paths
      - fix indention with spaces in Makefile.am
      58236425
    • Thomas Haller's avatar
      build: don't add subdirectories to include search path but require qualified include · 44ecb415
      Thomas Haller authored
      Keep the include paths clean and separate. We use directories to group source
      files together. That makes sense (I guess), but then we should use this
      grouping also when including files. Thus require to #include files with their
      path relative to "src/".
      
      Also, we build various artifacts from the "src/" tree. Instead of having
      individual CFLAGS for each artifact in Makefile.am, the CFLAGS should be
      unified. Previously, the CFLAGS for each artifact differ and are inconsistent
      in which paths they add to the search path. Fix the inconsistency by just
      don't add the paths at all.
      44ecb415
    • Thomas Haller's avatar
      build: rename "src/ppp-manager" to "src/ppp" · a65762ca
      Thomas Haller authored
      The ppp directory does not only contain the manager
      instance, but various files related to ppp.
      
      Rename.
      a65762ca
    • Thomas Haller's avatar
      build: rename "src/dnsmasq-manager" to "src/dnsmasq" · 8c7f5e26
      Thomas Haller authored
      The dnsmasq directory does not only contain the manager
      instance, but various files related to dnsmasq.
      
      Rename.
      8c7f5e26
    • Thomas Haller's avatar
      build: rename "src/vpn-manager" to "src/vpn" · 2603b016
      Thomas Haller authored
      The vpn directory does not only contain the manager
      instance, but various files related to VPN.
      
      Rename.
      2603b016
    • Thomas Haller's avatar
      build: rename "src/dns-manager" to "src/dns" · 62c2e6cc
      Thomas Haller authored
      The dns directory does not only contain the manager
      instance, but various files related to DNS.
      
      Rename.
      62c2e6cc
    • Thomas Haller's avatar
      build: rename "src/dhcp-manager" to "src/dhcp" · e0539968
      Thomas Haller authored
      The dhcp directory does not only contain the manager
      instance, but various files related to DHCP.
      
      Rename.
      e0539968
    • Thomas Haller's avatar
      build: rename "src/supplicant-manager" to "src/supplicant" · 17063663
      Thomas Haller authored
      The supplicant directory does not only contain the manager
      instance, but various files related to wpa-supplicant.
      
      Rename.
      17063663
    • Thomas Haller's avatar
      build: add dependency for ifcfg-rh objects to "nmdbus-ifcfg-rh.h" · d080b5d0
      Thomas Haller authored
        $ git clean -fdx && NOCONFIGURE=x ./autogen.sh && mkdir -p x/y && cd x/y && ../../configure && make src/settings/plugins/ifcfg-rh/libnm-settings-plugin-ifcfg-rh.la
        ...
        ../../src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-plugin.c:49:55: fatal error: settings/plugins/ifcfg-rh/nmdbus-ifcfg-rh.h: No such file or directory
        #include "settings/plugins/ifcfg-rh/nmdbus-ifcfg-rh.h"
      d080b5d0
    • Lubomir Rintel's avatar
      libnm-core/vpn-editor-plugin: add missing documentation · 2d2b2150
      Lubomir Rintel authored
      ../../libnm-core/nm-vpn-editor-plugin.h:108: warning: Field description for NMVpnEditorPluginInterface::notify_plugin_info_set is missing in source code comment block.
      2d2b2150
    • Lubomir Rintel's avatar
      libnm-glib: silence some build warnings · 4fac787d
      Lubomir Rintel authored
      libnm-glib/nm-object-private.h:28: Warning: NMClient: symbol='PropertyMarshalFunc': missing parameter name; undocumentable
      libnm-glib/nm-object-private.h:28: Warning: NMClient: symbol='PropertyMarshalFunc': missing parameter name; undocumentable
      libnm-glib/nm-object-private.h:28: Warning: NMClient: symbol='PropertyMarshalFunc': missing parameter name; undocumentable
      libnm-glib/nm-object-private.h:28: Warning: NMClient: symbol='PropertyMarshalFunc': missing parameter name; undocumentable
      
      libnm-glib/nm-object-private.h:82: Warning: NMClient: symbol='NMObjectTypeFunc': missing parameter name; undocumentable
      libnm-glib/nm-object-private.h:82: Warning: NMClient: symbol='NMObjectTypeFunc': missing parameter name; undocumentable
      
      libnm-glib/nm-object-private.h:83: Warning: NMClient: symbol='NMObjectTypeCallbackFunc': missing parameter name; undocumentable
      libnm-glib/nm-object-private.h:83: Warning: NMClient: symbol='NMObjectTypeCallbackFunc': missing parameter name; undocumentable
      
      libnm-glib/nm-object-private.h:84: Warning: NMClient: symbol='NMObjectTypeAsyncFunc': missing parameter name; undocumentable
      libnm-glib/nm-object-private.h:84: Warning: NMClient: symbol='NMObjectTypeAsyncFunc': missing parameter name; undocumentable
      libnm-glib/nm-object-private.h:84: Warning: NMClient: symbol='NMObjectTypeAsyncFunc': missing parameter name; undocumentable
      libnm-glib/nm-object-private.h:84: Warning: NMClient: symbol='NMObjectTypeAsyncFunc': missing parameter name; undocumentable
      4fac787d
    • Lubomir Rintel's avatar
      libnm-glib: drop some unneeded code · 418e2a36
      Lubomir Rintel authored
      ...so that we don't have to fix the following:
      
      libnm-glib/nm-object-private.h:30: Warning: NMClient: symbol='NMObjectCreatorFunc': missing parameter name; undocumentable
      libnm-glib/nm-object-private.h:30: Warning: NMClient: symbol='NMObjectCreatorFunc': missing parameter name; undocumentable
      
      Fixes: ad5daa09
      418e2a36