1. 25 Mar, 2013 1 commit
  2. 07 Mar, 2013 1 commit
  3. 15 Feb, 2012 1 commit
    • Dan Winship's avatar
      Use glib-mkenums to generate enum types · 839eab55
      Dan Winship authored
      Rather than generating enum classes by hand (and complaining in each
      file that "this should really be standard"), use glib-mkenums.
      
      Unfortunately, we need a very new version of glib-mkenums in order to
      deal with NM's naming conventions and to fix a few other bugs, so just
      import that into the source tree temporarily.
      
      Also, to simplify the use of glib-mkenums, import Makefile.glib from
      https://bugzilla.gnome.org/654395.
      
      To avoid having to run glib-mkenums for every subdirectory of src/,
      add a new "generated" directory, and put the generated enums files
      there.
      
      Finally, use Makefile.glib for marshallers too, and generate separate
      ones for libnm-glib and NetworkManager.
      839eab55
  4. 22 Dec, 2011 1 commit
  5. 08 Dec, 2011 1 commit
    • Thomas Graf's avatar
      bonding: add nm_connection_get_virtual_iface_name() to abstract kernel interface binding · 1cd8d520
      Thomas Graf authored
      Some connection types such as bonding, bridging and VLAN require
      specific virtual kernel interfaces identified by name to be auto
      connected to the connection.
      
      The function nm_connection_get_virtual_iface_name() returns the name
      of the kernel interface if the connection type requires this
      functionatlity.
      
      Each connection base type settings class can implement the function
      get_virtual_iface_name() if the connection needs to be auto connected
      to a specific kernel interface.
      Signed-off-by: default avatarThomas Graf <tgraf@redhat.com>
      1cd8d520
  6. 14 Oct, 2011 1 commit
  7. 16 Aug, 2011 1 commit
    • Dan Williams's avatar
      settings: preserve agent secrets the right way · 2b2404bb
      Dan Williams authored
      What we want to do here is keep separate caches of system and
      agent secrets.  For system secrets, we cache them because NM
      periodically clears secrets using nm_connection_clear_secrets() to
      ensure they don't stay around in memory, and that transient secrets
      get requested again when they are needed.  For agent secrets, we
      only want them during activation, but a connection read from disk
      will not include agent secrets becuase by definition they aren't
      stored in system settings along with the connection.  Thus we need
      to keep the agent/transient secrets somewhere for the duration of
      the activation to ensure they don't get deleted.
      
      This removes the copy-back hack in update_auth_cb() which copied
      agent/transient secrets back into the connection over top of the
      transient secrets that had been copied back in
      nm_settings_connection_replace_settings().  No reason to copy
      them twice if we keep an agent/transient secrets hash and do
      the right thing with it.
      2b2404bb
  8. 07 Jun, 2011 1 commit
    • Dan Williams's avatar
      libnm-util: add new compare flags for ignoring various types of secrets · 864db9f9
      Dan Williams authored
      It turns out we need a way to ignore transient (agent-owned or unsaved)
      secrets during connection comparison.  For example, if the user is
      connecting to a network where the password is not saved, other
      changes could trigger a writeout of that connection to disk when
      connecting, which would the connection back in due to inotify, and the
      re-read connection would then no longer be recognized as the same as
      the in-memory connection due to the transient secret which obviously
      wasn't read in from disk.
      
      Adding these compare flags allows the code to not bother writing the
      connection out to disk when the only difference between the on-disk
      and in-memory connections are secrets that shouldn't get written to
      disk anyway.
      864db9f9
  9. 10 May, 2011 1 commit
    • Dan Williams's avatar
      libnm-util: fix some GObject Introspection annotations · 9ff4914c
      Dan Williams authored
      Unfortunately, GObject Introspection can no longer describe deeper
      types, like those inside nested hash tables, which NM uses extensively
      for the NMConnection type and other places.  So we have to remove
      those descriptions.  But this moves us back into compliance with
      GOI annotation formats.
      9ff4914c
  10. 24 Feb, 2011 1 commit
  11. 23 Feb, 2011 2 commits
  12. 07 Feb, 2011 2 commits
  13. 02 Feb, 2011 3 commits
  14. 01 Feb, 2011 1 commit
  15. 31 Jan, 2011 2 commits
  16. 26 Jan, 2011 1 commit
  17. 21 Jan, 2011 1 commit
  18. 20 Jan, 2011 1 commit
  19. 13 Dec, 2010 1 commit
  20. 10 Nov, 2009 1 commit
  21. 03 Jun, 2009 1 commit
  22. 31 Mar, 2009 1 commit
  23. 24 Nov, 2008 1 commit
  24. 23 Nov, 2008 1 commit
  25. 20 Nov, 2008 6 commits
  26. 19 Nov, 2008 1 commit
  27. 27 Oct, 2008 1 commit
    • Dan Williams's avatar
      2008-10-27 Dan Williams <dcbw@redhat.com> · c4383261
      Dan Williams authored
      	Patch from Tambet Ingo <tambet@gmail.com>
      
      	* libnm-util/nm-setting.h
      	  libnm-util/nm-setting.c
      		- Make properties private and add accessor functions
      
      	* libnm-util/nm-connection.c
      	  libnm-util/nm-setting-8021x.c
      	  libnm-util/nm-setting-cdma.c
      	  libnm-util/nm-setting-connection.c
      	  libnm-util/nm-setting-gsm.c
      	  libnm-util/nm-setting-ip4-config.c
      	  libnm-util/nm-setting-ip6-config.c
      	  libnm-util/nm-setting-ppp.c
      	  libnm-util/nm-setting-pppoe.c
      	  libnm-util/nm-setting-serial.c
      	  libnm-util/nm-setting-template.c
      	  libnm-util/nm-setting-vpn.c
      	  libnm-util/nm-setting-wired.c
      	  libnm-util/nm-setting-wireless-security.c
      	  libnm-util/nm-setting-wireless.c
      	  system-settings/plugins/keyfile/reader.c
      	  system-settings/plugins/keyfile/writer.c
      		- Use setting accessors
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4228 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      c4383261
  28. 11 Sep, 2008 1 commit
  29. 27 Jul, 2008 1 commit
  30. 12 Jun, 2008 1 commit