Commit Graph

13873 Commits

Author SHA1 Message Date
Dan Williams
922ce65a28 2007-09-27 Dan Williams <dcbw@redhat.com>
* auth-dialog/main.c
		- Rework password storage to match the GConf semantics of nm-applet
			better.  Also, use generic secrets, not keyring network passwords.
			Keyring network passwords are inappropriate for our usage here.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2907 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-28 02:52:28 +00:00
Dan Williams
78d654f387 2007-09-27 Dan Williams <dcbw@redhat.com>
* src/nm-vpnc-service.c
		- (nm_vpnc_config_write): turn back on various options that the vpnc
			plugin had before that are used with vpnc 0.3.x



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2906 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-28 02:03:02 +00:00
Dan Williams
0b054be7b4 2007-09-27 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerSystem.c
		- (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
			and all address manipulation here should be happening on the
			_VPN_ device, not the active device



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2905 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-28 01:43:47 +00:00
Dan Williams
be5c97e72f 2007-09-27 Dan Williams <dcbw@redhat.com>
* src/nm-vpnc-service-vpnc-helper.c
		- (addr_list_to_gvalue): list should contain straight guint32s, not
			GValues containing guint32s
		- (main): For Cisco/vpnc, the IP4 PTP address needs to be the same as
			the internal IP4 address



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2904 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-28 01:36:27 +00:00
Dan Williams
010fc5f3ea Fix indentation; fix DNS server and domain index start numbering (0, not 1)
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2903 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-28 01:34:34 +00:00
Dan Williams
1b245ad655 Don't leak secrets
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2902 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-27 23:56:29 +00:00
Dan Williams
eac62e5b67 2007-09-27 Dan Williams <dcbw@redhat.com>
* src/nm-vpnc-service.c
		- (real_connect): close vpnc's stdin so it can actually go ahead and
			connect



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2901 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-27 23:53:50 +00:00
Dan Williams
790c3844a1 2007-09-27 Dan Williams <dcbw@redhat.com>
* src/nm-vpnc-service-helper.c
		- (str_to_gvalue, addr_to_gvalue): ensure the GValues are zeroed when
			allocated so that they can be assigned a type later
		- (addr_list_to_gvalue): use a GArray rather than a GSList, dbus-glib
			seems ignorant of GSLists with G_TYPE_UINT elements



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2900 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-27 14:30:19 +00:00
Dan Williams
b1bd00af07 2007-09-26 Dan Williams <dcbw@redhat.com>
* src/nm-manager.c
	  src/nm-manager.h
	  src/nm-activation-request.c
	  src/nm-activation-request.h
		- Move the GetSecrets stuff out of the NMManager instance because it
			doesn't really need to be there and complicates things

	* src/nm-device.c
		- (connection_secrets_failed_cb, device_activation_go): connect to the
			connection-secrets-failed signal and deactivate the device if
			the GetSecrets call fails

	* src/nm-device-802-11-wireless.c
		- (link_timeout_cb, supplicant_connection_timeout_cb,
		   real_act_stage2_config, real_act_stage4_ip_config_timeout): request
			secrets and give correct hints about whether new secrets should be
			asked for by the client or not



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2899 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-27 04:52:03 +00:00
Dan Williams
63500816c0 2007-09-26 Dan Williams <dcbw@redhat.com>
* src/vpn-manager/nm-vpn-connection.c
		- (nm_vpn_connection_set_state, clear_need_auth, finalize,
		   connection_secrets_updated_cb, get_secrets_cb): don't need to attach
			to the secrets-updated signal of the NMConnection since updating
			the secrets is done within the scope of the NMVPNConnection object
			already
		- (get_connection_secrets): fix an uninialized variable usage error



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2898 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-27 03:06:48 +00:00
Dan Williams
50f2ce4fc8 2007-09-26 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-setting.c
		- (setting_vpn_properties_update_secrets): implement so VPN secrets
			actually get updated when the user enters them



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2897 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-27 03:04:22 +00:00
Dan Williams
6e47b9a495 2007-09-26 Dan Williams <dcbw@redhat.com>
* libnm-glib/nm-vpn-plugin.c
		- (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2896 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-27 03:03:09 +00:00
Dan Williams
00b8633a3e 2007-09-26 Dan Williams <dcbw@redhat.com>
* include/NetworkManagerVPN.h
		- Add a NEED_AUTH state

	* src/vpn-manager/nm-vpn-connection.c
		- Implement the NEED_AUTH state.  First ask the VPN service plugin if
			the connection needs secrets, and if so, then ask the settings
			service to fill in the secrets.  Then start the connection.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2895 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-27 02:28:54 +00:00
Dan Williams
36bb36a119 2007-09-26 Dan Williams <dcbw@redhat.com>
* src/vpn-manager/nm-vpn-manager.c
		- (new_vpn_error, impl_vpn_manager_connect): set errors



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2894 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-27 02:24:35 +00:00
Dan Williams
98fb1e171c 2007-09-26 Dan Williams <dcbw@redhat.com>
* src/nm-vpnc-service.c
		- (real_need_secrets, nm_vpnc_plugin_class_init): implement need_secrets



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2893 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-27 02:22:40 +00:00
Dan Williams
d7696ae510 2007-09-26 Dan Williams <dcbw@redhat.com>
* introspection/nm-vpn-plugin.xml
	  libnm-glib/nm-vpn-plugin.c
	  libnm-glib/nm-vpn-plugin.h
		- (impl_vpn_plugin_need_secrets): implement a call that should return
			the name of the NMSetting in an NMConnection that may require
			secrets specific to that VPN plugin



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2892 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-27 02:20:53 +00:00
Dan Williams
1451b90417 2007-09-26 Dan Williams <dcbw@redhat.com>
* src/nm-manager.c
	  src/nm-manager.h
		- (nm_manager_get_connection_secrets): make static, unused outside
			the file
		- Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2891 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-27 02:18:49 +00:00
Tambet Ingo
571812b40c 2007-09-26 Tambet Ingo <tambet@gmail.com>
* libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the
        * plugin activation
        method.
        (impl_vpn_plugin_connect): Convert properties hash to
NMConnection, activate, and
        unreference the connection.

        * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method
        * arguments: instead of
        passing properties hash and routes string list, pass
NMConnection (in hashed form).

        * src/vpn-manager/nm-vpn-connection.c
        * (nm_vpn_connection_get_routes): Return routes
        as GSList, no need to copy stuff around anymore.
        (nm_vpn_connection_activate): Update the plugin activation
method.

        * src/NetworkManagerSystem.c
        * (nm_system_vpn_device_set_from_ip4_config): Convert
        routes argument to GSList.

        * vpn-daemons/vpnc/src/nm-vpnc-service.c (real_connect):
        The arguments have changed, update.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2890 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-26 15:42:09 +00:00
Tambet Ingo
95e0ef0922 2007-09-26 Tambet Ingo <tambet@gmail.com>
* src/nm-manager.c (manager_device_state_changed): Listen to
        * device' NEED_AUTH
        state and try to get the secrets.

        * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device):
        * Get the list of
        connections from NMManager and let the device to choose the best
from the list.
        Since the connection list is sorted by system ones first and
user ones later,
        the devices still prefer system connections like they did
before.
        (deactivate_old_device): Implement. When a device starts
activation, we have a
        policy (for now at least) to deactivate any other device that
might be either
        active or still activating.

        * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the
        * private structure.
        It's set on construction, there will be no other way to access
it.

        * src/nm-device-802-11-wireless.c: Don't touch NMManager,
        * NMManager can listen to
        device events and drive the device, not the other way around.

        * src/nm-device-802-3-ethernet.c: Ditto.

        * src/nm-device.c (nm_device_get_best_connection): The
        * connections list is now
        sent along, pass it on to virtual functions.

        * src/nm-device-interface.c (nm_device_interface_get_iface):
        * Implement. It's static
        for now, but should really be public instead of
nm_device_get_iface() since iface
        is a property of the DeviceInterface, not Device.
        (impl_device_activate): Don't touch NMManager!




git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2889 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-26 15:38:51 +00:00
Juerg Billeter
eb179bc0ad 2007-09-26 Juerg Billeter <j@bitron.ch>
* initscript/paldo/NetworkManager.in:
	* initscript/paldo/NetworkManagerDispatcher.in:
	* src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
	(nm_system_flush_loopback_routes): update paldo backend


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2888 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-26 11:08:39 +00:00
Tambet Ingo
f1599fe699 2007-09-26 Tambet Ingo <tambet@gmail.com>
* src/nm-device-802-3-ethernet.c (real_get_best_connection):
        * Don't leak NMManager.
        The problem with leaking NMManager is that on shutdown, it
doesn't get destroyed,
        which means none of the devices get brought down properly, which
in turn leaves
        DHCP client running.

        * src/nm-device-802-11-wireless.c (real_get_best_connection):
        * Ditto.
        (supplicant_connection_timeout_cb): Ditto.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2887 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-26 08:46:29 +00:00
Dan Williams
9c2848d56a 2007-09-25 Dan Williams <dcbw@redhat.com>
* src/nm-device.c
		- (device_activation_go): small hack to work around race when
			activating deferred connections; should solve this in a better way



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2886 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-25 19:35:26 +00:00
Dan Williams
55eab8b023 Fix frequency output in nm-tool
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2885 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-25 18:56:02 +00:00
Dan Williams
04f8d563fa 2007-09-25 Dan Williams <dcbw@redhat.com>
* introspection/nm-device.xml
	  libnm-glib/nm-device.c
	  libnm-glib/nm-device.h
		- Add 'Carrier' property to exported NMDevice objects

	* src/nm-device-interface.h
	  src/nm-device-interface.c
	  src/nm-device.c
		- Add a 'carrier' property to internal NMDevice objects



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2884 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-25 17:30:01 +00:00
Dan Williams
a8c55157db 2007-09-25 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
		- (ap_auth_enforced): also return the encryption status of the AP so
			that callers can differentiate easily between unencrypted APs
			and encrypted ones, in addition to whether the AP has an
			authenticator
		- (link_timeout_cb, supplicant_connection_timeout_cb,
		   real_act_stage4_ip_config_timeout): handle unencrypted APs better,
			previously would request secrets from unencrypted APs at times



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2883 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-25 17:03:04 +00:00
Dan Williams
e6f7cb13df 2007-09-25 Dan Williams <dcbw@redhat.com>
* src/nm-manager.c
		- (nm_manager_update_state): new function; updates state and emits
			appropriate signals ensuring a state-change signal for the same state
			never gets emitted twice in a row.
		- (manager_device_state_changed): handle more device state to get a
			better picture of the overall NM state



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2882 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-25 16:47:53 +00:00
Dan Williams
28de472ce7 Warning fix
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2881 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-25 09:27:53 +00:00
Dan Williams
a9b4fc6b8d Fix uninitialized variable error
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2880 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-25 09:12:33 +00:00
Dan Williams
ae74953a4d 2007-09-25 Dan Williams <dcbw@redhat.com>
* libnm-glib/nm-settings.c
	  libnm-glib/nm-settings.h
		- (new_error -> nm_settings_new_error): make public so that subclasses
			can use the same error domain.  Also pass a valid error code to
			g_error_new_literal() so that libdbus doesn't assert when converting
			the GError into a DBusError
		- (impl_settings_list_connections, impl_connection_settings_get_id,
		   impl_connection_settings_get_settings,
		   impl_connection_settings_get_secrets): use new error creator
			function



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2879 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-25 08:45:31 +00:00
Dan Williams
cb286aac71 2007-09-25 Dan Williams <dcbw@redhat.com>
* src/NetworkManager.c
		- (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2878 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-25 08:23:07 +00:00
Dan Williams
9adf247717 Quiet scan start message
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2877 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-25 08:07:09 +00:00
Dan Williams
516d69933e Quiet some debug statements
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2876 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-25 08:06:11 +00:00
Dan Williams
58fff4ce04 2007-09-25 Dan Williams <dcbw@redhat.com>
* src/supplicant-manager/nm-supplicant-manager.c
		- (poke_supplicant_cb, nm_supplicant_manager_init,
		   nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
		   nm_supplicant_manager_startup): when the supplicant isn't running,
			try to start it periodically via system bus activation.  Fixes
			a problem where if wpa_supplicant goes away, NM gets stuck waiting
			for the supplicant to come back



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2875 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-25 08:00:40 +00:00
Dan Williams
6e1c10d31b 2007-09-25 Dan Williams <dcbw@redhat.com>
Ensure that old activation requests are forgotten about; previously
	hitting Cancel in the password dialog would deactivate whatever device
	that password was requested for, even if that wasn't the currently
	activating connection.

	* src/nm-manager.c
	  src/nm-manager.h
		- (nm_manager_get_connection_secrets): track the pending call
			object so it can be canceled later if needed
		- (nm_manager_cancel_get_connection_secrets): cancel a pending
			GetSecrets call for a particular connection

	* src/nm-activation-request.c
		- (dispose): cancel any outstanding GetSecrets calls on the
			connection



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2874 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-25 07:06:28 +00:00
Dan Williams
2366b6c346 2007-09-25 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerPolicy.c
		- (nm_policy_device_change_check): handle devices that have a
			deferred activation.  These devices are not really active _yet_,
			but need to be treated as such here.  Don't interrupt them
			automatically.

	* src/nm-device-interface.c
		- (impl_device_activate): handle devices that have a deferred activation
			like activating or active devices.  When multiple active devices
			get committed, the device shouldn't be deactivated until the
			connection details are available to avoid DoS and such.  Currently,
			any active, activating, or deferred activation device is deactivated
			here before starting the new activation request.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2873 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-25 06:34:05 +00:00
Dan Williams
1817c62082 2007-09-25 Dan Williams <dcbw@redhat.com>
Properly re-query secrets from the settings daemon when stuff fails.

	* src/nm-device-802-11-wireless.c
		- (ap_auth_enforced): handle static WEP correctly here by differentiating
			between Shared Key and Open System auth modes
		- (link_timeout_cb, supplicant_connection_timeout_cb,
		   real_act_stage4_ip_config_timeout): clear existing secrets and
			request new ones when something fails due to a suspected wrong key
		- (real_act_stage2_config): fix for new request_new argument to
			nm_manager_get_connection_secrets()

	* src/nm-manager.c
	  src/nm-manager.h
		- (nm_manager_get_connection_secrets): return error status; pass
			new request_new argument on to the settings daemon

	* introspection/nm-settings-connection.xml
		- New 'request_new' argument to the GetSecrets call that hints to the
			settings daemon to ask the user for completely new secrets

	* libnm-glib/nm-settings.c
	  libnm-glib/nm-settings.h
		- (impl_connection_settings_get_secrets): handle new 'request_new'
			argument



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2872 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-25 06:21:38 +00:00
Dan Williams
008bab498f 2007-09-25 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-connection.c
	  libnm-util/nm-connection.h
		- (nm_connection_clear_secrets): new function; clear secrets out of
			each NMSetting in an NMConnection

	* libnm-util/nm-setting.h
	  libnm-util/nm-setting.c
		- (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
			secrets out of an NMSetting
		- (nm_setting_connection_new, nm_setting_ip4_config_new, 
		   nm_setting_wired_new, nm_setting_wireless_new,
		   nm_setting_wireless_security_new, nm_setting_ppp_new,
		   nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
			to default handler default_setting_clear_secrets()



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2871 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-25 06:11:44 +00:00
Dan Williams
a4ab8e22e6 2007-09-25 Dan Williams <dcbw@redhat.com>
* src/nm-activation-request.c
	  src/nm-activation-request.h
		- (nm_act_request_is_deferred): new function



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2870 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-25 06:07:24 +00:00
Dan Williams
181d130ba9 2007-09-24 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
		- (activation_success_handler): update signal strength immediately
			after activation



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2869 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-25 04:07:35 +00:00
Dan Williams
192e129734 2007-09-24 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-setting.c
		- (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2868 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-25 04:03:16 +00:00
Dan Williams
490117633c 2007-09-24 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerPolicy.c
		- (nm_policy_auto_get_best_device): don't interrupt activation of a
			device by deactivating it because it doesn't have a "best connection".
			Since autoconnect=False connections aren't automatically chosen,
			NM would interrupt activation of such a connection because it
			would never be "best" due to autoconnect=False.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2867 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-24 21:50:11 +00:00
Dan Williams
44b7179e8c 2007-09-24 Dan Williams <dcbw@redhat.com>
* src/nm-manager.c
		- (nm_manager_get_connection_secrets): Add a long timeout so the user
			actually has some time to enter a key before the GetSecrets call
			times out



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2866 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-24 21:29:53 +00:00
Dan Williams
9496e413c7 2007-09-24 Dan Williams <dcbw@redhat.com>
* introspection/nm-manager.xml
	  src/nm-manager.c
		- (impl_manager_legacy_state): fix 'state' method call return value



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2865 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-24 21:26:56 +00:00
Matthias Clasen
040038b20e Install nm-tool
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2864 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-24 18:24:56 +00:00
Dan Williams
1155cd963f 2007-09-24 Dan Williams <dcbw@redhat.com>
Patch from Ross Burton <ross@burtonini.com>

	* test/nm-tool.c
	  callouts/nm-dhcp-client-action.c
	  src/nm-netlink.c
	  src/vpn-manager/nm-vpn-connection.c
	  libnm-glib/libnm-glib-test.c
		- warning fixes



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2863 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-24 14:58:52 +00:00
Dan Williams
336def9492 2007-09-24 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-utils.h
	  libnm-util/nm-utils.c
		- (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
			remove, unused



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2862 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-24 14:46:05 +00:00
Dan Williams
9be69751f4 2007-09-23 Dan Williams <dcbw@redhat.com>
* vpn-daemons/vpnc/properties/nm-vpnc.c
		- Update for new VPN properties API bits; instead of passing around
			a lot of random things, everything goes into the NMConnection
			object.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2861 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-24 04:08:02 +00:00
Dan Williams
d9b8a5e30b 2007-09-23 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-setting.c
		- Correctly dispose of settings objects if creating them from a hash
			table fails



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2860 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-24 04:02:52 +00:00
Dan Williams
4a7fb5f0b3 2007-09-23 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-setting.c
		- (property_value_destroy, nm_setting_vpn_properties_new): initialize
			the hash table in a standard manner.  Clients of libnm-util should
			only call g_hash_table_remove_all(), never destroy the hash table
			and recreate it.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2859 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-24 04:01:24 +00:00
Gil Forcada
7aa5d524c5 Updated Catalan translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2858 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-23 12:27:45 +00:00