1. 03 Apr, 2013 1 commit
  2. 27 Jul, 2012 1 commit
  3. 12 Mar, 2012 1 commit
    • Dan Winship's avatar
      Fix names of error enum values · 54ef8f32
      Dan Winship authored
      When NM was registering all of its enum types by hand, it was using
      NamesLikeThis rather than the default names-like-this for the "nick"
      values. When we switched to using glib-mkenums, this resulted in
      dbus-glib using different strings for the D-Bus error names, causing
      compatibility problems.
      
      Fix this by using glib-mkenums annotations to manually fix all the
      enum values back to what they were before. (This can't be done in a
      more automated way, because the old names aren't 100% consistent. Eg,
      "UNKNOWN" frequently becomes "UnknownError" rather than just
      "Unknown".)
      54ef8f32
  4. 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
  5. 05 Jan, 2012 1 commit
  6. 19 Jul, 2011 2 commits
  7. 22 Feb, 2011 1 commit
  8. 31 Jan, 2011 1 commit
  9. 29 Jan, 2011 1 commit
    • Dan Williams's avatar
      libnm-util: add secret flags for each secret describing how the secret is stored · 5a7cf39a
      Dan Williams authored
      This allows the necessary flexibility when handling secrets; otherwise
      it wouldn't be known when NM should save secrets returned from agents
      to backing storage, or when the agents should store the secrets. We
      can't simply use lack of a secret in persistent storage as the indicator
      of this, as (for example) when creating a new connection without
      secrets the storage method would be abmiguous.
      
      At the same time, fold in "always ask" functionality for OTP tokens
      so user agents don't have to store that attribute themselves out-of-band.
      5a7cf39a
  10. 21 Jan, 2011 1 commit
  11. 30 Sep, 2009 1 commit
  12. 29 Oct, 2008 1 commit
    • Tambet Ingo's avatar
      2008-10-29 Tambet Ingo <tambet@gmail.com> · 8f6eb995
      Tambet Ingo authored
      	Half of it by Dan Williams <dcbw@redhat.com>
      
      	* libnm-util/libnm-util.ver
      	libnm-util/nm-setting-vpn.c
      	libnm-util/nm-setting-vpn.h
      		- Make properties private and add accessor functions.
      
      	* src/vpn-manager/nm-vpn-connection.c
      	src/vpn-manager/nm-vpn-manager.c
      	system-settings/plugins/keyfile/reader.c
      	vpn-daemons/openvpn/properties/auth-helpers.c
      	vpn-daemons/openvpn/properties/import-export.c
      	vpn-daemons/openvpn/properties/nm-openvpn.c
      	vpn-daemons/openvpn/src/nm-openvpn-service.c
      	vpn-daemons/pptp/auth-dialog/main.c
      	vpn-daemons/pptp/properties/advanced-dialog.c
      	vpn-daemons/pptp/properties/nm-pptp.c
      	vpn-daemons/pptp/src/nm-pptp-service.c
      	vpn-daemons/vpnc/properties/nm-vpnc.c
      	vpn-daemons/vpnc/src/nm-vpnc-service.c
      		- Use VPN setting accessors.
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4232 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      8f6eb995
  13. 04 Sep, 2008 1 commit
    • Dan Williams's avatar
      2008-09-04 Dan Williams <dcbw@redhat.com> · ba15ee5f
      Dan Williams authored
      	* libnm-util/nm-setting-vpn.c
      	  libnm-util/nm-setting-vpn.h
      		- Split VPN secrets from VPN data so that settings services can actually
      			figure out that they are secrets and store them accordingly
      
      	* system-settings/plugins/keyfile/nm-keyfile-connection.c
      	  system-settings/plugins/keyfile/reader.c
      	  system-settings/plugins/keyfile/reader.h
      	  system-settings/plugins/keyfile/writer.c
      		- Store VPN secrets separately from VPN data so that they can be fetched
      			on demand
      		- Implement the get_secrets() call so that (a) secrets don't leak out
      			to unprivileged callers, and (b) secrets can be sent to privileged
      			callers when needed
      
      	* vpn-daemons/vpnc/src/nm-vpnc-service.c
      		- Handle split VPN secrets
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4031 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      ba15ee5f
  14. 11 Aug, 2008 1 commit
  15. 06 Aug, 2008 1 commit
    • Dan Williams's avatar
      2008-08-06 Dan Williams <dcbw@redhat.com> · 2c31b549
      Dan Williams authored
      	* libnm-glib/nm-ip4-config.c
      	  libnm-glib/nm-ip4-config.h
      		- Add 'routes' property
      
      	* libnm-util/nm-setting-vpn.c
      	  libnm-util/nm-setting-vpn.h
      		- Remove 'routes' property
      
      	* libnm-util/nm-setting-ip4-config.c
      	  libnm-util/nm-setting-ip4-config.h
      		- 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
      		- Add 'ignore-auto-routes' property
      		- 'routes' exposed over D-Bus is now an array of array of uint (4) to 
      			accomodate route metrics
      		- 'routes' exposed in C is now a list of NMSettingIP4Route structures
      
      	* libnm-util/nm-utils.c
      	  libnm-util/nm-utils.h
      		- Add helpers for marshalling IP4 routes
      
      	* src/NetworkManagerUtils.c
      		- (nm_utils_merge_ip4_config): handle property renames and new route
      			structure
      
      	* src/NetworkManagerSystem.c
      		- (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
      		   nm_system_vpn_device_set_from_ip4_config): respect route metrics
      
      	* src/dhcp-manager/nm-dhcp-manager.c
      		- (nm_dhcp_manager_get_ip4_config): handle new route structure
      
      	* system-settings/plugins/ifcfg-fedora/reader.c
      	  system-settings/plugins/ifcfg-fedora/writer.c
      		- Handle routes separately from addresses now that routes have a different
      			format
      
      	* introspection/nm-ip4-config.xml
      	  src/nm-ip4-config.c
      	  src/nm-ip4-config.h
      		- Rename internal routing functions
      		- 'static-routes' renamed to 'routes'
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3898 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      2c31b549
  16. 27 Jul, 2008 1 commit
  17. 12 Jun, 2008 1 commit
  18. 07 Nov, 2007 1 commit
    • Tambet Ingo's avatar
      2007-11-07 Tambet Ingo <tambet@gmail.com> · 6b79d40a
      Tambet Ingo authored
              Rework NMSetting structures: Move each setting to it's own file.
              Convert to GObject. Remove home grown setting types and use
      GTypes.
              Use GObject property introspection for hash conversion,
      enumerating
              properties, etc.
      
              * libnm-util/nm-setting-connection.[ch]
              * libnm-util/nm-setting-ip4-config.[ch]
              * libnm-util/nm-setting-ppp.[ch]
              * libnm-util/nm-setting-vpn.[ch]
              * libnm-util/nm-setting-vpn-properties.[ch]
              * libnm-util/nm-setting-wired.[ch]
              * libnm-util/nm-setting-wireless.[ch]
              * libnm-util/nm-setting-wireless-security.[ch]
      
              New files, each containing a setting.
      
              * libnm-util/nm-setting-template.[ch]: A template for creating
              * new
              settings. To use it, just replace 'template' with the new
      setting
              name, and you're half-way done.
      
              * libnm-util/nm-setting.c: Convert to GObject and use GObject
              introspection instead of internal types and tables.
      
              * libnm-util/nm-connection.c: Adapt the new NMSetting work.
      
              * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
              GValue types defined by dbus-glib for composed types like
      collections,
              structures and maps.
      
              * src/*: The API of NMSetting and NMConnection changed a bit:
              * Getting
              a setting from connection takes the setting type now. Also,
      since
              the settings are in multiple files, include relevant settings.
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3068 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      6b79d40a