1. 31 May, 2018 2 commits
  2. 14 May, 2018 1 commit
    • Lubomir Rintel's avatar
      build: qualify plugin dir name with a version string · 320422e4
      Lubomir Rintel authored
      This makes package updates more robust, avoiding in-place replaces of
      the plugins.
      
      Previously, if an upgrade transaction was terminated, NetworkManager
      library could end up being of a different version than the plugins.
      If the user was unfortunate enough to connect using a connection that
      required a plugin (say, Wi-Fi), he would be left without a network
      connection making it somewhat inconvenient to recover from the botched
      upgrade.
      
      This makes the whole situation a little bit less sad.
      
      The VPN plugins are kept where they always have been -- the path is not
      qualified with a version number.
      320422e4
  3. 11 May, 2018 2 commits
  4. 09 May, 2018 3 commits
    • Lubomir Rintel's avatar
      build: qualify plugin dir name with a version string · 6384ad4e
      Lubomir Rintel authored
      This makes package updates more robust, avoiding in-place replaces of
      the plugins.
      
      Previously, if an upgrade transaction was terminated, NetworkManager
      library could end up being of a different version than the plugins.
      If the user was unfortunate enough to connect using a connection that
      required a plugin (say, Wi-Fi), he would be left without a network
      connection making it somewhat inconvenient to recover from the botched
      upgrade.
      
      This makes the whole situation a little bit less sad.
      6384ad4e
    • Lubomir Rintel's avatar
      meson: distinguish arch specific and arch neutral lib dir · 6aac441f
      Lubomir Rintel authored
      Plugins go to the arch specific place while conf.d/ and VPN/ are in
      lib/. Use the same naming as is used with autoconf.
      6aac441f
    • Lubomir Rintel's avatar
      meson: quote dist_version properly · 84a60107
      Lubomir Rintel authored
      84a60107
  5. 23 Apr, 2018 1 commit
  6. 18 Apr, 2018 3 commits
  7. 13 Apr, 2018 1 commit
    • Thomas Haller's avatar
      auth-manager: always compile D-Bus calls to polkit · 41abf9f8
      Thomas Haller authored
      Supporting PolicyKit required no additional library, just extra code
      to handle the D-Bus calls. For that, there was a compile time option
      to even stip out that code. Note, that you could (and still can)
      configure the system not to use policy-kit. The point was to reduce
      the binary size in case you don't need it.
      
      Remove this. I guess, we we aim for such aggressive optimization of
      the binary size, we should instead make all device types disablable
      at configuration time. We don't do that either and other low hanging
      fruits, because it's better to always enable features, unless they
      require external dependencies.
      
      Also, the next commit will make more use of NMAuthManager. So, having
      it disabled at compile time, makes even less sense.
      41abf9f8
  8. 12 Apr, 2018 1 commit
  9. 15 Mar, 2018 1 commit
  10. 21 Feb, 2018 1 commit
    • Thomas Haller's avatar
      netlink: drop libnl3 dependency · 3fab322a
      Thomas Haller authored
      From libnl3, we only used the helper function to parse/generate netlink
      messages and the socket functions to send/receive messages. We don't
      need an external dependency to do that, it is simple enough.
      
      Drop the libnl3 dependency, and replace all missing code by directly
      copying it from libnl3 sources. At this point, I mostly tried to
      import the required bits to make it working with few modifications.
      
      Note that this increases the binary size of NetworkManager by 4736 bytes
      for contrib/rpm build on x86_64. In the future, we can simplify the code
      further.
      
      A few modifications from libnl3 are:
      
      - netlink errors NLE_* are now in the domain or regular errno.
        The distinction of having to bother with two kinds of error
        number domains was annoying.
      
      - parts of the callback handling is copied partially and unused parts
        are dropped. Especially, the verbose/debug handlers are not used.
        In following commits, the callback handling will be significantly
        simplified.
      
      - the complex handling of seleting ports was simplified. We now always
        let kernel choose the right port automatically.
      3fab322a
  11. 16 Feb, 2018 1 commit
  12. 11 Feb, 2018 1 commit
  13. 23 Jan, 2018 2 commits
  14. 18 Jan, 2018 1 commit
  15. 16 Jan, 2018 1 commit
  16. 15 Jan, 2018 3 commits
    • Thomas Haller's avatar
      wifi: remove configure checks for suitable WEXT header · d2292cc6
      Thomas Haller authored
      The check doesn't seem useful, because it does not result in a fallback
      or a different build.
      
      Just assume <linux/wireless.h> is valid. In case it is not, we will get a
      build failure later. That is just as good.
      d2292cc6
    • Thomas Haller's avatar
      wifi: remove configure checks for suitable linux/nl80211.h header · cd6116e5
      Thomas Haller authored
      The check doesn't seem useful, because it does not result in a fallback
      or a different build.
      
      Just assume <linux/nl80211.h> is valid. In case it is not, we will get a
      build failure later. That is just as good.
      cd6116e5
    • Thomas Haller's avatar
      wifi: always build nl80211 CRIT_PROTOCOL support · a3f77b25
      Thomas Haller authored
      netlink's API is stable, and strictly defined by the integer values that make
      up commands and attributes. There is little reason do disable a netlink feature
      based on compile time detection of the kernel headers.
      
      Either kernel supports it, or it will fail with an appropriate response.
      
      Also, support for NL80211_CMD_CRIT_PROTOCOL_START was merge to kernel
      in 2013. Maybe, we should now just always assume support (in the kernel
      headers is there). Anyway, don't do that yet, but instead avoid the
      defines and use the numeric values directly.
      a3f77b25
  17. 12 Jan, 2018 1 commit
  18. 11 Jan, 2018 1 commit
  19. 10 Jan, 2018 5 commits
  20. 09 Jan, 2018 1 commit
  21. 08 Jan, 2018 1 commit
  22. 02 Jan, 2018 1 commit
  23. 21 Dec, 2017 2 commits
  24. 18 Dec, 2017 3 commits