Commit Graph

13873 Commits

Author SHA1 Message Date
Wouter Bolsterlee
d9cbabd7f2 Add nl to LINGUAS
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4066 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-15 08:46:12 +00:00
Wouter Bolsterlee
845d542e09 2008-09-15 Wouter Bolsterlee <wbolster@svn.gnome.org>
* nl.po: Updated Dutch translation by Wouter Bolsterlee.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4065 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-15 08:45:41 +00:00
Wouter Bolsterlee
152c111b15 typo fix
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4064 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-15 08:18:30 +00:00
Wouter Bolsterlee
0ea6efacfc 2008-09-15 Wouter Bolsterlee <wbolster@svn.gnome.org>
* nl.po: Added Dutch translation by Tino Meinen.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4063 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-15 08:18:17 +00:00
Wouter Bolsterlee
74ff91609e 2008-09-15 Wouter Bolsterlee <wbolster@svn.gnome.org>
* nl.po: Updated Dutch translation by Tino Meinen.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4062 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-15 08:14:42 +00:00
Ilkka Tuohela
a1fad29211 Updated Finnish translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4061 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-14 12:15:20 +00:00
Tambet Ingo
2f5ed47908 2008-09-12 Tambet Ingo <tambet@gmail.com>
* src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
	again. Add some debugging.

git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4060 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-12 11:22:06 +00:00
Daniel Nylander
d8c3e8e7fd sv.po: Updated Swedish translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4059 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-12 06:19:35 +00:00
Dan Williams
4a15d37c27 Add compare flag to ignore secrets
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4058 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-11 20:54:02 +00:00
Dan Williams
485b73cee9 2008-09-11 Dan Williams <dcbw@redhat.com>
* system-settings/plugins/keyfile/plugin.c
		- (update_connection_settings): update connection manually, since
			nm_exported_connection_update() does authentication
		- (dir_changed): update_connection_settings() doesn't need to return
			an error



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4057 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-11 09:43:21 +00:00
Dan Williams
04f835191a 2008-09-10 Dan Williams <dcbw@redhat.com>
* src/nm-openvpn-service.c
		- Clean up management socket and connect timer when the plugin stops;
			becuase of this openvpn's output needs to be processed from the
			child watch callback otherwise it gets lost when the management
			socket is cleaned up during the state change to STOPPED.
		- Fix parsing of private key auth failure



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4056 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-11 01:17:10 +00:00
Jorge Gonzalez
92ead43d3b Updated Spanish translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4055 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-10 19:08:43 +00:00
Jorge Gonzalez
05350e665b Updated Spanish translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4054 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-10 19:08:30 +00:00
Dan Williams
12c4bda8b5 2008-09-09 Dan Williams <dcbw@redhat.com>
* common-gnome/keyring-helpers.c
	  common-gnome/keyring-helpers.h
		- Add defines for secret tags in the keyring
		- (keyring_helpers_delete_secret): delete a secret from the keyring for
			a given connection UUID
		- (keyring_helpers_save_secret): vpn service is always going to be
			vpnc's

	* auth-dialog/main.c
		- (get_secrets): use secret tag #defines; vpn service will always be
			vpnc's

	* properties/nm-vpnc.c
	  properties/nm-vpnc.h
		- (fill_vpn_passwords): fill secrets in the UI if the connection is
			system-scope
		- (update_connection): fill secrets if the connection is system-scope
			so they can be saved with the system settings service
		- (save_secrets, delete_connection): implement



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4053 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-09 20:29:59 +00:00
Dan Williams
a2cbab1624 2008-09-09 Dan Williams <dcbw@redhat.com>
* libnm-glib/nm-vpn-plugin-ui-interface.c
	  libnm-glib/nm-vpn-plugin-ui-interface.h
	  libnm-glib/libnm_glib_vpn.ver
		- (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
			should clean up resources related to the connection (like keyring
			secrets)
		- (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
			should save user-scope secrets (like to the keyring)



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4052 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-09 20:25:01 +00:00
Inaki Larranaga Murgoitio
24ac6fe055 2008-09-09 Inaki Larranaga Murgoitio <dooteo@euskalgnu.org>
* eu.po: Updated Basque translation.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4051 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-09 15:03:54 +00:00
Inaki Larranaga Murgoitio
22032a310d 2008-09-09 Inaki Larranaga Murgoitio <dooteo@euskalgnu.org>
* eu.po: Updated Basque translation.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4050 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-09 14:52:58 +00:00
Inaki Larranaga Murgoitio
6c2282ab8b 2008-09-09 Inaki Larranaga Murgoitio <dooteo@euskalgnu.org>
* eu.po: Updated Basque translation.




git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4049 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-09 14:43:47 +00:00
Inaki Larranaga Murgoitio
b6c667762e 2008-09-09 Inaki Larranaga Murgoitio <dooteo@euskalgnu.org>
* eu.po: Updated Basque translation.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4048 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-09 14:26:03 +00:00
Dan Williams
796829ce62 2008-09-08 Dan Williams <dcbw@redhat.com>
Patch from Alexander Sack <asac@ubuntu.com>

	* libnm-util/crypto_gnutls.c
	  libnm-util/crypto_nss.c
		- (crypto_init, crypto_deinit): just use a boolean instead of a refcount

	* libnm-util/nm-utils.c
	  libnm-util/nm-utils.h
	  libnm-util/libnm-util.ver
		- (nm_utils_init): initialize libnm-util
		- (nm_utils_deinit): de-initialize libnm-util and clean up resources

	* libnm-util/nm-setting-8021x.c
		- (nm_setting_802_1x_class_init): init libnm-util when needed



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4047 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-08 18:35:21 +00:00
Dan Williams
a5de3b4656 Include config.h for TARGET_*
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4046 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-08 18:10:39 +00:00
Tomasz Dominikowski
cd4920942c 2008-09-08 Tomasz Dominikowski <tdominikowski@aviary.pl>
* pl.po: Updated Polish translation

git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4045 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-08 17:51:14 +00:00
Tomasz Dominikowski
52d52847fb 2008-09-08 Tomasz Dominikowski <tdominikowski@aviary.pl>
* pl.po: Updated Polish translation

git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4044 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-08 17:49:51 +00:00
Dan Williams
0760152f9f 2008-09-05 Dan Williams <dcbw@redhat.com>
Patch from Roy Marples <roy@marples.name> and others

	* configure.in
	  src/named-manager/nm-named-manager.c
		- Add support for resolvconf; use --with-resolvconf at configure time
			to enable it



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4043 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-05 18:57:07 +00:00
Dan Williams
bb6b79a2a6 2008-09-05 Dan Williams <dcbw@redhat.com>
* libnm-util/crypto_nss.c
	  libnm-util/crypto_gnutls.c
	  libnm-util/crypto.h
		- (crypto_init): return error when init fails



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4042 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-05 18:10:39 +00:00
Dan Williams
814336ec8a 2008-09-05 Dan Williams <dcbw@redhat.com>
* src/nm-openvpn-service.c
		- (nm_openvpn_start_openvpn_binary): send --script-security=2 to allow
			the plugin's scripts to be run.  Requires OpenVPN 2.1-rc9 or later,
			distros with older versions should patch this out.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4041 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-05 17:18:41 +00:00
Dan Williams
a5a782991f 2008-09-05 Dan Williams <dcbw@redhat.com>
* libnm-glib/nm-device-wifi.c
		- (access_point_removed_proxy): clean up the active access point too
			just in case the active ap changed signal didn't come through yet
		- (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4040 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-05 15:16:29 +00:00
Dan Williams
f44da15bdf 2008-09-05 Dan Williams <dcbw@redhat.com>
* libnm-glib/nm-client.c
		- (constructor): get initial state after we know whether NM is running
			or not



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4039 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-05 15:11:34 +00:00
Dan Williams
cfd7014c9d 2008-09-05 Dan Williams <dcbw@redhat.com>
* libnm-glib/nm-ip4-config.c
	  libnm-glib/nm-dhcp4-config.c
		- (finalize): clean up the DBusGProxy



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4038 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-05 15:10:52 +00:00
Dan Williams
178148a2c5 2008-09-04 Dan Williams <dcbw@redhat.com>
* src/nm-ip4-config.c
	  src/nm-ip4-config.h
		- (nm_ip4_config_new): don't export over D-Bus here
		- (nm_ip4_config_export): new function; export the config over D-Bus
		- (nm_ip4_config_is_exported): new function

	* src/nm-device.c
		- (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
			objects by balancing the IP4Config constructor; the device holds
			a reference to the IP4Config already
		- (nm_device_set_ip4_config): export the IP4Config when needed



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4037 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-05 02:55:40 +00:00
Daniel Nylander
cfa2af3e6a sv.po: Updated Swedish translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4036 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-04 22:51:01 +00:00
Dan Williams
147d3293fd 2008-09-04 Dan Williams <dcbw@redhat.com>
* src/supplicant-manager/nm-supplicant-settings-verify.c
		- Allow WPA-NONE key management for Ad-Hoc WPA connections



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4035 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-04 17:26:19 +00:00
Dan Williams
e548a71634 2008-08-28 Dan Williams <dcbw@redhat.com>
* src/nm-pptp-service.c
		- (nm_pptp_ppp_service_cache_credentials, nm_pptp_properties_validate,
		   real_connect, real_need_secrets): handle split VPN secrets



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4034 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-04 15:05:58 +00:00
Dan Williams
72e6d91816 Don't need secrets in static key mode
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4033 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-04 15:00:13 +00:00
Dan Williams
7fd25854da 2008-09-04 Dan Williams <dcbw@redhat.com>
* src/nm-openvpn-service.c
		- (nm_openvpn_start_openvpn_binary, real_connect, real_need_secrets):
			handle split VPN secrets



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4032 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-04 14:50:06 +00:00
Dan Williams
ba15ee5f50 2008-09-04 Dan Williams <dcbw@redhat.com>
* 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
2008-09-04 14:32:14 +00:00
Dan Williams
f5dea691d7 2008-09-03 Dan Williams <dcbw@redhat.com>
* common-gnome/Makefile.am
	  common-gnome/keyring-helpers.c
	  common-gnome/keyring-helpers.h
	  Makefile.am
		- Split out keyring read/write routines to common library

	* configure.in
		- Don't require libgnomeui anymore

	* auth-dialog/main.c
		- (get_secrets): use common keyring helpers
		- (main): remove usage of libgnomeui

	* auth-dialog/gnome-two-password-dialog.c
		- (gnome_two_password_dialog_get_password,
		   gnome_two_password_dialog_get_password_secondary): use gnome-keyring
			secure memory

	* properties/nm-vpnc.c
	  properties/nm-vpnc-dialog.glade
	  properties/Makefile.am
		- Grab VPN passwords from the keyring if available and allow them to
			be edited



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4030 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-03 21:00:36 +00:00
Dan Williams
c89a99a723 Fix flawed comparison (Pablo Martí)
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4029 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-03 20:51:36 +00:00
Dan Williams
16e52d474a Don't free error if it doesn't exist
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4028 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-09-03 19:59:53 +00:00
Daniel Nylander
56a353dd13 sv.po: Updated Swedish translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4027 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-08-29 00:25:12 +00:00
Dan Williams
c6e945c82b 2008-08-28 Dan Williams <dcbw@redhat.com>
* auth-dialog/main.c
		- (get_secrets): don't gtk_widget_show_all() because that exposes
			widgets that were supposed to be hidden
		- (main): don't segfault on missing passwords (like hitting Cancel)



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4026 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-08-28 15:39:57 +00:00
Dan Williams
e35ae559fa 2008-08-28 Dan Williams <dcbw@redhat.com>
* auth-dialog/main.c
		- (get_secrets): don't gtk_widget_show_all() because that exposes
			widgets that were supposed to be hidden



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4025 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-08-28 15:39:32 +00:00
Dan Williams
2138c33d2a 2008-08-28 Dan Williams <dcbw@redhat.com>
* auth-dialog/main.c
		- (get_secrets): don't gtk_widget_show_all() because that exposes
			widgets that were supposed to be hidden
		- (main): don't segfault on missing passwords (like hitting Cancel)



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4024 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-08-28 15:39:02 +00:00
Dan Williams
d5b4329735 Add missing introspection files to tarball (Robert Piasek)
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4023 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-08-28 14:12:09 +00:00
Dan Williams
b7f8b8f800 2008-08-27 Dan Williams <dcbw@redhat.com>
* system-settings/plugins/ifcfg-fedora/reader.c
		- (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4022 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-08-27 19:43:15 +00:00
Dan Williams
17af879e9b Prevent double-exports
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4021 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-08-27 18:09:30 +00:00
Dan Williams
7466136be2 2008-08-27 Dan Williams <dcbw@redhat.com>
Ensure zombie children get cleaned up.  To get notifications when children
	die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
	that requires calling waitpid() yourself if you've removed the child watch
	handler before the process has actually died, which NM needs to do in a few
	places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
	cleans up after the child when required.  Should fix problems trying to
	activate mobile broadband connections after a previous failure.

	* src/dhcp-manager/nm-dhcp-dhclient.c
	  src/dhcp-manager/nm-dhcp-dhcpcd.c
		- Use G_SPAWN_DO_NOT_REAP_CHILD

	* src/dhcp-manager/nm-dhcp-manager.c
		- (nm_dhcp_device_destroy): ensure child is cleaned up
		- (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
			block on child quitting, since the non-blocking functionality was
			never actually used

	* src/dnsmasq-manager/nm-dnsmasq-manager.c
		- (dm_watch_cb): child is already reaped here
		- (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead

	* src/nm-device.c
		- (aipd_cleanup): block until child is dead

	* src/named-manager/nm-named-manager.c
		- (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
			event bothering to watch the child

	* src/ppp-manager/nm-ppp-manager.c
		- (ppp_watch_cb): child is already reaped here
		- (ensure_killed, nm_ppp_manager_stop): block until child is dead

	* src/vpn-manager/nm-vpn-service.c
		- (vpn_service_watch_cb): child is already reaped here
		- (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
			status of the child is actually tracked
		- (ensure_killed, finalize): block until child is dead



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4020 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-08-27 17:22:32 +00:00
Michael Biebl
61eb8cf067 Drop nm_exported_connection_get_id symbol
The nm_exported_connection_get_id function was removed in r4013.
Remove the symbol from the version script, too.

git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4019 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-08-27 04:51:33 +00:00
Dan Williams
3d70bc42bf 2008-08-26 Dan Williams <dcbw@redhat.com>
* 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
2008-08-27 03:09:14 +00:00
Dan Williams
39e0b5fd7b 2008-08-26 Dan Williams <dcbw@redhat.com>
* auth-dialog/main.c
		- Convert to connection UUIDs (requires NM svn 4013 or later)
		- General cleanups



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4017 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-08-27 03:01:23 +00:00