1. 30 Apr, 2018 1 commit
  2. 18 Jan, 2018 1 commit
  3. 17 Aug, 2016 2 commits
    • Thomas Haller's avatar
      all: cleanup includes in header files · 0bdcab10
      Thomas Haller authored
      - don't include "nm-default.h" in header files. Every source file must
        include as first header "nm-default.h", thus our headers get the
        default include already implicitly.
      
      - we don't support compiling NetworkManager itself with a C++ compiler. Remove
        G_BEGIN_DECLS/G_END_DECLS from internal headers. We do however support
        users of libnm to use C++, thus they stay in public headers.
      
      (cherry picked from commit f19aff89)
      0bdcab10
    • Thomas Haller's avatar
      all: cleanup includes in header files · f19aff89
      Thomas Haller authored
      - don't include "nm-default.h" in header files. Every source file must
        include as first header "nm-default.h", thus our headers get the
        default include already implicitly.
      
      - we don't support compiling NetworkManager itself with a C++ compiler. Remove
        G_BEGIN_DECLS/G_END_DECLS from internal headers. We do however support
        users of libnm to use C++, thus they stay in public headers.
      f19aff89
  4. 29 Mar, 2016 1 commit
  5. 05 Aug, 2015 1 commit
  6. 24 Jul, 2015 1 commit
    • Dan Winship's avatar
      all: rename nm-glib-compat.h to nm-glib.h, use everywhere · 3452ee2a
      Dan Winship authored
      Rather than randomly including one or more of <glib.h>,
      <glib-object.h>, and <gio/gio.h> everywhere (and forgetting to include
      "nm-glib-compat.h" most of the time), rename nm-glib-compat.h to
      nm-glib.h, include <gio/gio.h> from there, and then change all .c
      files in NM to include "nm-glib.h" rather than including the glib
      headers directly.
      
      (Public headers files still have to include the real glib headers,
      since nm-glib.h isn't installed...)
      
      Also, remove glib includes from header files that are already
      including a base object header file (which must itself already include
      the glib headers).
      3452ee2a
  7. 12 Jul, 2015 1 commit
  8. 12 Oct, 2014 2 commits
  9. 01 Aug, 2014 1 commit
  10. 15 Jul, 2014 2 commits
    • Dan Winship's avatar
      libnm-util, libnm-glib: whitespace fixes · 2570c5a1
      Dan Winship authored
      Fix indentation, kill trailing whitespace, split some long lines.
      2570c5a1
    • Dan Winship's avatar
      libnm-util, libnm-glib: standardize copyright/license headers · cb7e1893
      Dan Winship authored
      - Remove list of authors from files that had them; these serve no
        purpose except to quickly get out of date (and were only used in
        libnm-util and not libnm-glib anyway).
      
      - Just say "Copyright", not "(C) Copyright" or "Copyright (C)"
      
      - Put copyright statement after the license, not before
      
      - Remove "NetworkManager - Network link manager" from the few files
        that contained it, and "libnm_glib -- Access network status &
        information from glib applications" from the many files that
        contained it.
      
      - Remove vim modeline from nm-device-olpc-mesh.[ch], add emacs modeline
        to files that were missing it.
      cb7e1893
  11. 30 Jun, 2014 2 commits
    • Thomas Haller's avatar
      libnm-util: normalize virtual_iface_name in NMSettings · 2deaa539
      Thomas Haller authored
      Some type-specific NMSetting implementations (bond, bridge, team, vlan)
      have their own 'interface-name' property. This property will be
      deprecated in favour of 'interface-name' in NMSettingConnection.
      
      Change verify() and normalize() to check that the redundant
      values match and repair/normalize the properties.
      
      Force the virtual interface name of the type-specific setting to be
      equal to NMSettingConnection:interface_name. This way, the depreacted
      field stays valid and backward compatible.
      
      NMSettingInfiniband is special, because it does not have a backing
      property for the interface name, although it implements
      get_virtual_iface_name(). To account for this, some special handling
      is needed in order not to change the behaviour of get_virtual_iface_name().
      Signed-off-by: Thomas Haller's avatarThomas Haller <thaller@redhat.com>
      2deaa539
    • Thomas Haller's avatar
      libnm-util: add function nm_connection_normalize · de5656a5
      Thomas Haller authored
      This function behaves like verify(), but it also performs some
      normalization/fixing of inconsistent connections.
      
      Contrary to verify(), this function might modify the settings.
      This will be mainly used, to repair connections from older versions
      and to fix deprecated options.
      Signed-off-by: Thomas Haller's avatarThomas Haller <thaller@redhat.com>
      de5656a5
  12. 26 Mar, 2014 1 commit
  13. 06 Mar, 2014 1 commit
  14. 15 Jan, 2014 2 commits
  15. 12 Dec, 2013 1 commit
    • Thomas Haller's avatar
      libnm-util: refactor NMSetting name and register_settings · 9d319e6d
      Thomas Haller authored
      - refactor register_settings to allow lookup by GType and
        add the settings name to SettingInfo.
      
      - setting NM_SETTING_NAME is deprecated and should not be set anymore.
        Indeed it has always be a bug, to reset the name to a different value.
        The only valid place to set the name was in the _init() function of
        the derived class itself.
        This is now no longer needed/possible. Instead the name get's
        detected based on the registered setting types. This makes use of
        the registered metadata that is available anyway since every
        usable setting has to register itself.
      Signed-off-by: Thomas Haller's avatarThomas Haller <thaller@redhat.com>
      9d319e6d
  16. 05 Dec, 2013 1 commit
  17. 24 Oct, 2013 1 commit
  18. 22 Aug, 2013 1 commit
  19. 03 May, 2013 1 commit
  20. 29 Oct, 2012 1 commit
    • Dan Williams's avatar
      libnm-util: clean up setting registration · 38e3819b
      Dan Williams authored
      Make setting type registration less icky; instead of having the
      connection register all the settings, have the settings themselves
      register that information at library load time.  Putting this sort
      of thing in G_DEFINE_TYPE_WITH_CODE is apparently more standard
      than the home-rolled stuff we had before.  Also document the
      priority stuff so when adding new settings, people know what
      priority to use.
      
      (cleanups by jklimes)
      38e3819b
  21. 07 Feb, 2011 2 commits
  22. 31 Jan, 2011 1 commit
  23. 24 Aug, 2009 1 commit
  24. 19 Jan, 2009 1 commit
  25. 14 Nov, 2008 1 commit
  26. 26 Aug, 2008 1 commit
  27. 26 Jun, 2008 1 commit
  28. 24 Mar, 2008 1 commit
    • Dan Williams's avatar
      2008-03-24 Dan Williams <dcbw@redhat.com> · 00735165
      Dan Williams authored
      	Massive fixup of libnm-glib to:
      	a) have all objects (with the exception of VPN) cache their properties and
      		update them asynchronously on PropertiesChanged signals from NM
      	b) return internal const data for most attributes/properties instead of
      		allocated values that the caller must free
      	c) cache wrapped objects such that a given D-Bus path will always map to the
      		same GObject returned by libnm-glib
      	d) remove a few signals and move them to GObject property notifications
      	e) match recent NM D-Bus API changes for activation/deactivation
      	f) remove some private functions from libnm-glib headers
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3491 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      00735165
  29. 19 Dec, 2006 1 commit
    • Dan Williams's avatar
      2006-12-19 Dan Williams <dcbw@redhat.com> · a6f5833c
      Dan Williams authored
      	Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
      	plus a few other patches from wpa_supplicant bugzilla.
      
      	* src/Makefile.am
      	  src/NetworkManagerPolicy.c
      	  src/NetworkManagerUtils.c
      	  src/NetworkManagerUtils.h
      	  src/nm-ap-security-leap.c
      	  src/nm-ap-security-wep.c
      	  src/nm-ap-security-wpa-eap.c
      	  src/nm-ap-security-wpa-psk.c
      	  src/nm-ap-security.c
      	  src/nm-ap-security.h
      	  src/nm-device-802-11-wireless.c
      	  src/nm-device-802-11-wireless.h
      	  src/supplicant-manager/nm-supplicant-config.c
      	  src/supplicant-manager/nm-supplicant-config.h
      	  src/supplicant-manager/nm-supplicant-interface.c
      	  src/supplicant-manager/nm-supplicant-interface.h
      	  src/supplicant-manager/nm-supplicant-marshal.list
      	  src/supplicant-manager/nm-supplicant-settings-verify.c
      	  src/supplicant-manager/nm-supplicant-settings-verify.h
      		- Move all connection management and association handling to
      			wpa_supplicant over dbus, rather than spawning a private copy
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2192 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      a6f5833c
  30. 13 Oct, 2006 1 commit
    • Dan Williams's avatar
      2006-10-13 Dan Williams <dcbw@redhat.com> · 129d0ca4
      Dan Williams authored
      	* src/supplicant-manager/Makefile.am
      		- Add new files
      
      	* src/supplicant-manager/nm-supplicant-manager.[ch]:
      		- Make it a minimal GObject
      
      	* src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
      		- Verify settings destined for wpa_supplicant
      
      	* src/supplicant-manager/nm-supplicant-connection.[ch]:
      		- Minimal GObject to track wpa_supplicant controlled device
      		connections
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2060 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      129d0ca4
  31. 27 Feb, 2006 1 commit
  32. 11 Feb, 2005 1 commit
    • Dan Williams's avatar
      2005-02-11 Dan Williams <dcbw@redhat.com> · 1cc2f8c3
      Dan Williams authored
      	* dhcpcd/client.c
      		- (dhcp_init): only print out client ID and class ID if they are specified
      
      	* src/NetworkManagerDbus.[ch]
      	  src/nm-dbus-nm.[ch]
      	  src/nm-dbus-device.[ch]
      	  src/nm-dbus-net.[ch]
      		- Move NM, Device, and Net functions to separate files and use the
      			dbus method list stuff in NetworkManagerDbusUtils.c to do
      			method dispatching
      
      	* src/NetworkManagerDbusUtils.c
      		- Add new validate_method called before each dispatch (if present)
      			that can validate the method call
      
      	* src/NetworkManagerWireless.c
      		- (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
      			levels never to be evaluated
      
      	Patch from j@bootlab.org
      	* src/NetworkManagerDevice.c
      		- Add typedef for "u64"
      
      	* src/backends/NetworkManagerDebian.c
      		- Copy in Dave Woodhouse's fixes for IPv6
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@438 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      1cc2f8c3
  33. 25 Aug, 2004 1 commit
  34. 05 Aug, 2004 1 commit