1. 04 Apr, 2018 1 commit
  2. 20 Mar, 2018 1 commit
  3. 12 Jan, 2018 1 commit
  4. 21 Dec, 2017 1 commit
    • Thomas Haller's avatar
      settings: drop unmaintained ifnet settings plugin of Gentoo · 0474441e
      Thomas Haller authored
      Even Gentoo disables this plugin since before 0.9.8 release
      of NetworkManager. Time to say goodbye.
      
      If somebody happens to show up to maintain it, we may resurrect it
      later.
      
      If "$distro_plugins=ifnet" was set, configure.ac would use that
      to autodetect --with-hostname-persist=gentoo. Replace that autodetect
      part by checking for /etc/gentoo-release file.
      0474441e
  5. 15 Dec, 2017 1 commit
  6. 08 Dec, 2017 1 commit
  7. 07 Dec, 2017 1 commit
  8. 06 Nov, 2017 1 commit
    • Lubomir Rintel's avatar
      libnm: register empty NMClient and NetworkManager when loading libnm with GIR · 4d1f090a
      Lubomir Rintel authored
      Register empty "NMClient" and "NetworkManager" GIR modules as soon as libnm is
      loaded witch gnome-introspection. This prevents the real modules from being
      loaded because they would in turn load libnm-glib and abort() and crash.
      
      In particular this prevents the GNOME shell from crashing with
      libnm-glib abort and allows gracefully disabling the extensions which
      use the obsolete library.
      
      Test:
      
        $ cat test.js
        const NM = imports.gi.NM;
        print (NM.SecretAgentGetSecretsFlags.ALLOW_INTERACTION);
      
        const NMClient = imports.gi.NMClient;
        print (NMClient.SecretAgentGetSecretsFlags.ALLOW_INTERACTION);
      
      Before:
      
        $ gjs test.js
        1
      
        (gjs:16253): libnm-util-ERROR **: libnm symbols detected; Mixing libnm with libnm-util/libnm-glib is not supported
        Trace/breakpoint trap (core dumped)
        $
      
      After:
      
        $ gjs test.js
        1
        Gjs-Message: JS WARNING: [test.js 5]: reference to undefined property "SecretAgentGetSecretsFlags"
      
        (gjs:16228): Gjs-WARNING **: JS ERROR: TypeError: NMClient.SecretAgentGetSecretsFlags is undefined
        @test.js:5:1
      
        JS_EvaluateScript() failed
      4d1f090a
  9. 29 Jun, 2017 1 commit
  10. 19 May, 2017 1 commit
    • Thomas Haller's avatar
      libnm: add testable libnm/nm-libnm-utils.c file · 8df944c7
      Thomas Haller authored
      Previously, internal parts of libnm were not testable.
      Instead, add "libnm/nm-libnm-utils.c" and "libnm/libnm-utils.la"
      to contain code that can be statically linked with a new
      test "libnm/tests/test-general".
      8df944c7
  11. 19 Apr, 2017 3 commits
  12. 05 Apr, 2017 1 commit
  13. 30 Mar, 2017 2 commits
  14. 24 Nov, 2016 1 commit
  15. 23 Nov, 2016 1 commit
  16. 21 Nov, 2016 3 commits
  17. 10 Nov, 2016 1 commit
    • Thomas Haller's avatar
      build: generate src/NetworkManager.ver during build · 7b78a931
      Thomas Haller authored
      This adds 0.4 seconds to the build time.
      
      You can disable it by setting $NM_BUILD_NO_CREATE_EXPORTS environment
      variable. This is useful in the unexpected case that the script
      is broken.
      Or, if you just want to use a different, non-generated version-script.
      Or, if you want to save 0.4 seconds build-time.
      7b78a931
  18. 09 Nov, 2016 1 commit
    • Lubomir Rintel's avatar
      rdisc: rename to ndisc · 44fca246
      Lubomir Rintel authored
      We'll soon not only do the router discovery, but announce ourselves as a
      reouter. "Neighbor discovery" sounds to be a more appropriate name for
      the class than "Router discovery".
      44fca246
  19. 03 Nov, 2016 1 commit
  20. 19 Oct, 2016 1 commit
  21. 13 Oct, 2016 1 commit
    • Thomas Haller's avatar
      callouts/dispatcher: rename directory callouts · f4246621
      Thomas Haller authored
      Originally, the "callouts" directory contained various programs
      that NetworkManager would call, for example the dhcp helper.
      
      For a while, it only contains nm-dispatcher. Thus rename the directory
      to indicate that it's for dispatcher.
      f4246621
  22. 11 Oct, 2016 1 commit
    • Thomas Haller's avatar
      ifcfg-rh/tests: merge test-ifcfg-rh-utils into test-ifcfg-rh · eab8b06d
      Thomas Haller authored
      We don't need need separate unit tests for basic tests that can
      just run in the same test-run. If you really need to run only
      a particular set of tests, try
        ./src/settings/plugins/ifcfg-rh/tests/test-ifcfg-rh -p /settings/plugins/ifcfg-rh/utils
      
      Results in less compilation (time), and less binaries to test during
      `make check`.
      eab8b06d
  23. 08 Oct, 2016 1 commit
  24. 06 Oct, 2016 1 commit
    • Thomas Haller's avatar
      wifi: rename NMAccessPoint to NMWifiAP · 44b2044f
      Thomas Haller authored
      NMAccessPoint was in file "nm-wifi-ap.h" with
      method nm_ap_*(). Make the naming consistent.
      
      Also rename "nm-wifi-ap-utils.*" as it contains general
      purpose wifi utilities. No need to have special "ap" utilities.
      
      Same for "test-wifi-ap-utils.c". It just contains general wifi
      tests.
      44b2044f
  25. 22 Apr, 2016 1 commit
  26. 08 Apr, 2016 1 commit
  27. 05 Apr, 2016 3 commits
  28. 29 Mar, 2016 1 commit
  29. 26 Mar, 2016 2 commits
  30. 01 Mar, 2016 1 commit
    • Thomas Haller's avatar
      systemd/tests: add test util for systemd · 51e29288
      Thomas Haller authored
      Most interestingly is also, whether we can link libsystemd.a without
      having undefined references (which might be wrongly satisfied by an
      externally loaded libsystem shared library.
      51e29288
  31. 21 Jan, 2016 1 commit
  32. 07 Jan, 2016 1 commit