1. 12 Jan, 2018 1 commit
    • Thomas Haller's avatar
      po: skip translation for file in meson build directory · be13c75a
      Thomas Haller authored
      Otherwise, having a meson build directory along autotools,
      lets `make check` fail with
      
          The following files contain translations and are currently not in use. Please
          consider adding these to the POTFILES.in file, located in the po/ directory.
      
          build/data/org.freedesktop.NetworkManager.policy.in
      
          If some of these files are left out on purpose then please add them to
          POTFILES.skip instead of POTFILES.in. A file 'missing' containing this list
          of left out files has been written in the current directory.
          Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=NetworkManager
          if [ -r missing -o -r notexist ]; then \
            exit 1; \
          fi
      
      Yes, meson does not require that the build directory is named "build"
      and this fix only works for the default case.
      be13c75a
  2. 03 Nov, 2016 1 commit
  3. 04 Oct, 2016 2 commits
  4. 16 Jun, 2016 2 commits
    • Thomas Haller's avatar
      shared: add "nm-utils/nm-vpn-plugin-utils.h" · 5d55492b
      Thomas Haller authored
      This file is only used by plugins and copied between them.
      
      It's purpose is to contain general utility functions that are
      only relevant for implementing NetworkManager's VPN plugins.
      
      In principle the utility functions could be part of libnm, however,
      there are a few problems with that:
        - if they are part of libnm, adding and using a new utility function
          requires the plugin to bump the required libnm version. Since you
          usally can work around/reimplement utility functions, this results
          in not using the API from libnm, not adding the API to libnm,
          and reimplementing it over and over in the plugin.
        - plugins compile both against libnm and libnm-glib. Thus, either
          the utility function would also be needed in libnm-glib, or again,
          it is not usable by the plugin.
      
      We must avoid that the utility functions diverge and no local
      modifications to these files should be made in the plugin.
      Instead, one special location of the utility functions shall be
      extended and re-imported (copied) to the plugin as needed.
      
      Add the files to NetworkManager's repository. Although they are not
      needed for NetworkManager itself, they are a different API provided
      by NetworkManager. An API that is reused and shared by copying the files
      around.
      5d55492b
    • Thomas Haller's avatar
      shared: move shared files to subdirectory "shared/nm-utils/" · 4b288136
      Thomas Haller authored
      The "shared" directory contains files that are possibly used by all components
      of NetworkManager repository.
      
      Some of these files are even copied as-is to other projects (VPN plugins, nm-applet)
      and used there without modification. Move those files to a separate directory.
      By moving them to a common directory, it is clearer that they belong
      together. Also, you can easier compare the copied versions to their
      original via
      
        $ diff -r ./shared/nm-utils/ /path/to/nm-vpn-plugin/shared/nm-utils/
      4b288136
  5. 15 Jun, 2016 1 commit
    • Thomas Haller's avatar
      libnm/vpn: add nm_vpn_editor_plugin_load_vt() · cf34211c
      Thomas Haller authored
      Let VPN plugins return a virtual function table to extend
      the API while bypassing libnm. This allows to add and use
      new functionality to VPN plugins without updating libnm.
      
      The actual definitions are in a header-only file
      "nm-vpn-editor-plugin-call.h", which can be copied to the
      caller/plugin.
      cf34211c
  6. 01 Jun, 2016 1 commit
    • Thomas Haller's avatar
      manager: add Reload() D-Bus command · 1d0e0eef
      Thomas Haller authored
      Add new Reload D-Bus command to reload NetworkManager configuration.
      
      For now, this is like sending SIGHUP to the process. There are several
      advantages here:
      
        - it is guarded via PolicyKit authentication while signals
          can only be sent by root.
      
        - the user can wait for the reload to be complete instead of sending
          an asynchronous signal. For now, we operation completes after
          nm_config_reload() returns, but later we could delay the response
          further until specific parts are fully reloaded.
      
        - SIGHUP reloads everything including re-reading configuration from
          disk while SIGUSR1 reloads just certain parts such as writing out DNS
          configuration anew.
          Now, the Reload command has a flags argument which is more granular
          in selecting parts which are to be reloaded. For example, via
          signals the user can:
      
            1) send SIGUSR1: this writes out the DNS configuration to
               resolv.conf and possibly reloads other parts without
               re-reading configuration and without restarting the DNS plugin.
            2) send SIGHUP: this reloads configuration from disk,
               writes out resolv.conf and restarts the DNS plugin.
      
          There is no way, to only restart the DNS plugin without also reloading
          everything else.
      1d0e0eef
  7. 26 Nov, 2015 1 commit
  8. 05 May, 2015 1 commit
  9. 07 Nov, 2014 1 commit
  10. 30 Jul, 2014 1 commit
    • 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
  11. 17 Dec, 2013 1 commit
    • Dan Williams's avatar
      po: fix handling of not-yet-used tui/vpn-helpers.c · 14227fda
      Dan Williams authored
      tui/vpn-helpers.c is not yet used, so it shouldn't be translated yet.
      Having it in po/POTFILES fails distcheck because, since it is not
      yet used, it's not distributed, and thus can't be found in the
      distcheck build.
      14227fda
  12. 04 Oct, 2012 1 commit
  13. 27 Jul, 2008 1 commit
  14. 25 Jul, 2008 1 commit
  15. 10 Jul, 2008 1 commit
  16. 14 Aug, 2007 1 commit
  17. 03 Dec, 2006 1 commit
  18. 11 Jan, 2006 1 commit
  19. 12 Aug, 2005 1 commit
  20. 07 Aug, 2005 1 commit