1. 28 May, 2013 1 commit
    • Dan Williams's avatar
      settings: implement ability to add connections without saving them to disk · 8a79fb1d
      Dan Williams authored
      We don't always want to immediately write new connections to disk, to
      facilitate "runtime" or "temporary" connections where an interface's
      runtime config isn't backed by on-disk config.  Also, just because
      an interface's configuration is changed doesn't necessarily mean
      that new configuration should be written to disk either.
      
      Add D-Bus methods for adding new connections and for updating existing
      connections that don't immediately save the connection to disk.
      
      Also add infrastructure to indicate to plugins that the new connection
      shouldn't be immediately saved if the connection was added with the
      new method.
      8a79fb1d
  2. 15 Feb, 2011 1 commit
  3. 06 Jan, 2010 1 commit
  4. 07 Dec, 2009 1 commit
  5. 14 Apr, 2009 2 commits
  6. 26 Feb, 2009 1 commit
  7. 12 Jan, 2009 1 commit
    • Dan Williams's avatar
      keyfile: read MAC addresses and a test framework · 45f2f114
      Dan Williams authored
      Clean up handling of "special" keys in keyfiles, ie ones that
      need more processing than the basic GKeyFile API supports.  Add
      MAC address reading (writing support to come).
      
      Additionally, add some test bits for the keyfile plugin that get
      run on 'make check'.
      45f2f114
  8. 03 Nov, 2008 1 commit
  9. 27 Aug, 2008 1 commit
    • Dan Williams's avatar
      2008-08-26 Dan Williams <dcbw@redhat.com> · 3d70bc42
      Dan Williams authored
      	* system-settings/plugins/keyfile/nm-keyfile-connection.c
      		- (update): Update filename of the connection if the connection id
      			was changed
      
      	* system-settings/plugins/keyfile/plugin.c
      		- (dir_changed): first pass at handling connection renames correctly
      
      	* system-settings/plugins/keyfile/writer.c
      	  system-settings/plugins/keyfile/writer.h
      		- (write_connection): replace '/' with '*' when writing out the filename
      			from the connection id
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4018 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      3d70bc42
  10. 12 Aug, 2008 1 commit
    • Dan Williams's avatar
      2008-08-12 Dan Williams <dcbw@redhat.com> · a3be3b6e
      Dan Williams authored
      	* introspection/nm-settings-system.xml
      	  system-settings/src/dbus-settings.c
      	  system-settings/src/dbus-settings.h
      		- Add a 'Hostname' property (rw) which represents the configured
      			hostname and domain of the system, if any
      
      	* system-settings/src/nm-system-config-error.c
      	  system-settings/src/nm-system-config-error.h
      	  system-settings/src/nm-system-config-interface.c
      	  system-settings/src/nm-system-config-interface.h
      		- Add a 'hostname' property to the plugin interface
      		- Add a method to send updated hostname to plugins to save in their
      			backing configuration store
      
      	* system-settings/plugins/keyfile/nm-keyfile-connection.c
      	  system-settings/plugins/keyfile/plugin.c
      	  system-settings/plugins/keyfile/writer.c
      	  system-settings/plugins/keyfile/writer.h
      	  system-settings/plugins/ifcfg-suse/plugin.c
      		- Add minimal hostname support
      
      	* system-settings/plugins/ifcfg-fedora/plugin.c
      		- Add support for updating system hostname in /etc/sysconfig/network
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3941 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      a3be3b6e
  11. 22 Apr, 2008 1 commit
    • Tambet Ingo's avatar
      2008-04-22 Tambet Ingo <tambet@gmail.com> · e6a5d0be
      Tambet Ingo authored
      	Implement GKeyFile system settings plugin.
      	Implement writing system settings (currently supported only by GKeyFile plugin).
      
      	* system-settings/src/main.c:
      	* system-settings/src/dbus-settings.c: Move the communication with plugins
      	from main.c to dbus-settings.c. Makes it possible to talk to all registered
      	plugins for adding/updating/removing connections.
      
      	* system-settings/src/nm-system-config-interface.c
      	(nm_system_config_interface_add_connection): Implement
      	(nm_system_config_interface_update_connection): Implement.
      	(nm_system_config_interface_remove_connection): Implement.
      
      	* system-settings/plugins/keyfile/Makefile.am:
      	* system-settings/plugins/keyfile/plugin.[ch]:
      	* system-settings/plugins/keyfile/writer.[ch]:
      	* system-settings/plugins/keyfile/reader.[ch]: Implement.
      
      	* system-settings/plugins/Makefile.am: Add GKeyFile plugin.
      
      	* configure.in: Generate GKeyFile Makefile.
      
      	* libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
      	corruption, need to duplicate the returned string.
      	(impl_exported_connection_update): Implement.
      	(impl_exported_connection_delete): Implement.
      
      	* introspection/nm-settings-system.xml: Add "AddConnection" method.
      
      	* introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3587 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      e6a5d0be