Commit Graph

8762 Commits

Author SHA1 Message Date
Kjartan Maraas
5d1f4ce737 2008-07-01 Kjartan Maraas <kmaraas@gnome.org>
* nb.po: Updated Norwegian bokmål translation.

git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3792 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-07-01 07:10:18 +00:00
Dan Williams
ec38fd46d9 2008-06-30 Dan Williams <dcbw@redhat.com>
* properties/auth-helpers.c
		- (tls_default_filter, tls_file_chooser_filter_new): accept .crt and
			.key too



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3791 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-07-01 03:17:20 +00:00
Dan Williams
eff1a48c36 2008-06-30 Dan Williams <dcbw@redhat.com>
* properties/import-export.c
	  properties/import-export.h
	  properties/Makefile.am
		- Implement import of OpenVPN config files

	* properties/nm-openvpn.c
	  properties/nm-openvpn.h
		- Add another error for import
		- (import): check file extension; get contents; hand off to importer



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3790 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-07-01 02:33:50 +00:00
Dan Williams
513929808f Clean up license header
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3789 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-07-01 02:30:42 +00:00
Dan Williams
a4de73ccf2 Add shared key direction
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3788 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-07-01 02:27:16 +00:00
Dan Williams
217c697dc1 Ensure transition to UNAVAILABLE when supplicant goes away
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3787 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-30 20:19:42 +00:00
Dan Williams
65758f7ffb 2008-06-30 Dan Williams <dcbw@redhat.com>
* src/nm-device-wifi.c
		- Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3786 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-30 17:44:10 +00:00
Dan Williams
5c7c7da098 2008-06-30 Dan Williams <dcbw@redhat.com>
Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
	the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
	priv->supplicant.iface.  When either condition is false, the device should
	transition back to UNAVAILABLE because it cannot be used.

	* src/nm-device-wifi.c
		- (constructor): cleanup; connect to supplicant manager here since the
			supplicant manager is always around
		- (supplicant_interface_acquire): rename from init_supplicant_interface,
			ensure the supplicant manager is in the IDLE state
		- (supplicant_interface_release): rename from cleanup_supplicant_interface,
			cancel any pending scans too
		- (real_bring_up): don't set up the supplicnat interface here, because
			we need the supplicant interface at times when the device may not
			be "up"
		- (real_take_down): just remove the periodic source
		- (schedule_scan): ensure a state that would peg the CPU doesn't happen
		- (remove_supplicant_interface_connection_error_handler): cleanup; don't
			do anything if there's no supplicant interface
		- (cleanup_association_attempt): cleanup
		- (supplicant_iface_state_cb_handler): request an immediate scan when
			the interface enters the READY state; transition to UNAVAILABLE
			state when the interface goes down because the device can't be used
			without a supplicant interface
		- (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
			up and transition to UNAVAILABLE; if the supplicant becomes ready,
			acquire the supplicant interface and transition to DISCONNECTED
			if the radio isn't killed
		- (nm_device_wifi_dispose): move most of device_cleanup() here
		- (state_changed_cb): release any existing supplicant interface; if the
			radio is enabled then try to acquire a new supplicant interface;
			if the radio is enabled and a supplicant interface has been acquired,
			we can transition to DISCONNECTED
		- (nm_device_wifi_set_enabled): if bringing the hardware up failed,
			don't enable the radio, because HAL probably lied to us about the
			killswitch being off.  If bringing the hardware up worked, then
			try to grab a supplicant interface, and if that was successful,
			transition to DISCONNECTED



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3785 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-30 17:34:56 +00:00
Dan Williams
46e854c006 2008-06-30 Dan Williams <dcbw@redhat.com>
* src/supplicant-manager/nm-supplicant-interface.c
		- (request_scan_results, nm_supplicant_interface_dispose,
		   wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
			the id of the timeout, not a GSource



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3784 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-30 17:12:11 +00:00
Tambet Ingo
571a013b69 2008-06-30 Tambet Ingo <tambet@gmail.com>
* src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
	bunch of typoes introduced by "Patch from David Cantrell
	<dcantrell@redhat.com> and me".


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3783 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-30 14:49:52 +00:00
Tambet Ingo
5cc268ab0e 2008-06-30 Tambet Ingo <tambet@gmail.com>
* src/nm-serial-device.c:
	* src/nm-gsm-device.c:
	* src/nm-cdma-device.c: Move the pending call handling to a common location
	in serial device. Handle setting device state to failed in one place as well.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3782 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-30 12:18:57 +00:00
Dan Williams
01ea95f444 2008-06-29 Dan Williams <dcbw@redhat.com>
* src/nm-hal-manager.c
		- Rework killswitch handling to query killswitch status immediately
			when the first killswitch is added, so that rfkill state is
			known as early as possible
		- Also treat failure of GetPower() as rfkill when the dbus method
			call times out (but not when the HAL callout returns an error)



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3781 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-29 15:46:31 +00:00
Jorge Gonzalez
1778405329 Updated Spanish translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3780 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-28 10:44:20 +00:00
Dan Williams
53e3399ab4 Actually handle registration of ipv6 setting
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3779 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-27 15:44:15 +00:00
Dan Williams
5a516abc4b 2008-06-26 Dan Williams <dcbw@redhat.com>
Patch from David Cantrell <dcantrell@redhat.com> and me

	* include/nm-dbus-glib-types.h
		- Add IP6 address types

	* libnm-util/Makefile.am
	  libnm-util/nm-setting-ip6-config.c
	  libnm-util/nm-setting-ip6-config.h
		- Add IP6 settings object

	* libnm-util/nm-connection.c
		- (register_default_settings): register ip6 settings object

	* libnm-util/nm-utils.c
	  libnm-util/nm-utils.h
		- (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
		   nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
			ip6 address conversion functions



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3778 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-26 21:30:33 +00:00
Dan Williams
dd0109ee28 2008-06-26 Dan Williams <dcbw@redhat.com>
Patch from David Cantrell <dcantrell@redhat.com>
	
	* Use inet_ntop() and inet_pton() everwhere and check for errors



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3777 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-26 19:33:13 +00:00
Dan Williams
518095511e Use strtol not atoi (David Cantrell <dcantrell@redhat.com>) rh #447776
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3776 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-26 19:23:29 +00:00
Dan Williams
b0cf66eda8 2008-06-26 Dan Williams <dcbw@redhat.com>
* Update FSF address in license headers (Michael Biebl <biebl@debian.org>)



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3775 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-26 18:31:52 +00:00
Dan Williams
74158919b0 2008-06-26 Dan Williams <dcbw@redhat.com>
Patch from Adel Gadllah <adel.gadllah@gmail.com>

	* src/nm-device-wifi.c
		- (link_timeout_cb): don't ignore disconnects due to scanning
		- (supplicant_iface_connection_state_cb_handler): instead, schedule
			a longer timeout when scanning; avoids case where supplicant can't
			find the AP and just keeps scanning forever but isn't connected



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3774 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-26 17:53:35 +00:00
Dan Williams
8afd2d8ecd 2008-06-26 Dan Williams <dcbw@redhat.com>
Patch from Michael Biebl <biebl@debian.org>

	* Clean up build system stuff



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3773 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-26 17:34:04 +00:00
Dan Williams
1ad0ec8a31 2008-06-26 Dan Williams <dcbw@redhat.com>
Implement the Advanced... dialog



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3772 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-26 17:01:11 +00:00
Jonh Wendell
ee805389c8 2008-06-25 Jonh Wendell <jwendell@gnome.org>
* pt_BR.po: Updated Brazilian Portuguese translation by Henrique Machado.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3771 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-25 16:44:56 +00:00
Daniel Nylander
30715f4eda sv.po: Updated Swedish translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3769 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-23 22:30:34 +00:00
Daniel Nylander
6e3332d47b sv.po: Updated Swedish translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3768 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-23 22:24:25 +00:00
Daniel Nylander
6b2e51174c sv.po: Updated Swedish translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3767 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-23 22:10:07 +00:00
Daniel Nylander
fe7bd68b74 sv.po: Updated Swedish translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3766 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-23 22:07:40 +00:00
Dan Williams
6886d9e55c 2008-06-23 Dan Williams <dcbw@redhat.com>
* Convert to new NM VPN UI plugin format
	* Clean up properties dialog (still work-in-progress)

	Requires a NetworkManager of at least SVN revision r3761.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3765 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-23 16:16:12 +00:00
Christian Persch
ab849b2beb * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
* vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
	* vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
	(impl_get_object):
	* vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
	(impl_get_object):
	* vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
	* vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
	* vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
	(impl_get_object):
	* vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
	* vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
	* vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
	* vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
	* vpn-daemons/pptp/properties/vpnui_opt.c:
	(vpnui_opt_connect_signals):
	* vpn-daemons/pptp/properties/vpnui_opt.h:
	* vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
	* vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
	deprecated gtk type macros. Bug #539325.

git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3764 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-23 15:24:40 +00:00
Jorge Gonzalez
dd69c0fc0b Updated spanish translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3763 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-21 20:20:08 +00:00
Dan Williams
3be5c14c3b 2008-06-20 Dan Williams <dcbw@redhat.com>
Update for changes to the plugin API

	* properties/nm-vpnc.c
	  properties/nm-vpnc.h
		- Add error enum
		- (check_validity): set the error
		- (init_plugin_ui): emit the 'changed' signal whenever a UI widget
			changes
		- (update_connection): return validity



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3762 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-20 19:48:50 +00:00
Dan Williams
bdeeab3eda 2008-06-20 Dan Williams <dcbw@redhat.com>
* libnm-glib/nm-vpn-plugin-ui-interface.c
	  libnm-glib/nm-vpn-plugin-ui-interface.h
		- 'validity-changed' -> 'changed' to work better with the connection
			editor.  Plugin UI widgets should emit 'changed' whenever their
			UI values change in a meaningful way.
		- (nm_vpn_plugin_ui_widget_interface_update_connection): the
			update_connection member now returns validity of the UI widget



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3761 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-20 19:46:46 +00:00
Dan Williams
ebaee3a388 Fix duplicate Default printouts
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3760 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-20 15:08:09 +00:00
Tambet Ingo
2046ec13e3 2008-06-20 Tambet Ingo <tambet@gmail.com>
* libnm-util/nm-connection.c (nm_connection_duplicate): Implement.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3759 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-20 11:26:50 +00:00
Dan Williams
403ab8c332 Move system settings daemon config file to /etc/NetworkManager (Michael Biebl)
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3758 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-17 17:54:19 +00:00
Dan Williams
0315481278 2008-06-17 Dan Williams <dcbw@redhat.com>
* Convert to new NM VPN UI plugin format
	* Remove vpnc 0.3.x options
	* Handle Dead Peer Detection option
	* Handle NAT Traversal option

	Requires a NetworkManager of at least the SVN revision before this commit.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3757 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-17 17:48:53 +00:00
Dan Williams
a9fe7c42ed 2008-06-17 Dan Williams <dcbw@redhat.com>
* libnm-glib/nm-vpn-plugin-ui-interface.c
	  libnm-glib/nm-vpn-plugin-ui-interface.h
		- Add "desc" property for longer descriptions of the VPN plugin



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3756 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-17 10:43:33 +00:00
Dan Williams
7c802e167c 2008-06-16 Dan Williams <dcbw@redhat.com>
* configure.in
	  libnm-glib/libnm_glib_vpn.pc.in
		- add a .pc file for libnm_glib_vpn

	* libnm-glib/nm-vpn-plugin-ui-interface.c
	  libnm-glib/nm-vpn-plugin-ui-interface.h
		- Move the glib/GNOME VPN UI plugin interface into libnm-glib and
			rework it substantially



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3755 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-16 19:26:30 +00:00
Yannig Marchegay
26d716cb17 Updated Occitan translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3754 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-14 19:24:04 +00:00
Dan Williams
88ded1e17c Fix wrong check for missing connection
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3753 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-13 21:46:04 +00:00
Dan Williams
319863dc7c Depend on dbus-glib >= 0.75 which finally has all the necessary patches to the binding tool
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3752 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-13 17:06:00 +00:00
Dan Williams
05e9de9402 2008-06-12 Dan Williams <dcbw@redhat.com>
Add a GError argument to nm_connection_verify() and nm_setting_verify(),
	and add error enums to each NMSetting subclass.  Each NMSetting subclass now
	returns a descriptive GError when verification fails.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3751 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-12 23:58:08 +00:00
Dan Williams
99ef193601 2008-06-11 Dan Williams <dcbw@redhat.com>
Patch from Tambet Ingo <tambet@gmail.com>

	* libnm-util/nm-setting-gsm.c
		- (verify): validate APN

	* src/nm-gsm-device.c
		- (manual_registration_done): start setting APN if needed
		- (set_apn, set_apn_done): set the APN
		- (do_dial): use the APN when dialing



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3750 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-11 18:08:35 +00:00
Dan Williams
a172ccdd63 2008-06-11 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerSystem.c
		- (nm_system_device_set_ip4_route,
		   nm_system_device_replace_default_ip4_route): check for the right
			return value from rtnl_route_add() to know when to add a gateway
			route (from Tambet)



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3749 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-11 18:04:43 +00:00
Dan Williams
c2ffdc1d2e 2008-06-11 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerPolicy.c
		- do_ipt_cmd -> do_cmd
		- (sharing_init): use do_cmd() instead of system()



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3747 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-11 13:30:53 +00:00
Tambet Ingo
628f271791 2008-06-09 Tambet Ingo <tambet@gmail.com>
* Add missing files.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3746 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-11 09:31:16 +00:00
Dan Williams
ee927e4209 Fix parallel make (Per Øyvind Karlsen <peroyvind@mandriva.org>)
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3745 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-10 20:50:59 +00:00
Dan Williams
0e1c398c66 Add bits to optionally block startup until a conneciton is made
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3744 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-10 20:48:44 +00:00
Dan Williams
69adda9b65 use GUINT_TO_POINTER
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3743 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-10 20:47:12 +00:00
Dan Williams
0fdb07ca3d 2008-06-10 Dan Williams <dcbw@redhat.com>
The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
	and use "wifi" everwhere instead.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3742 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-10 16:32:39 +00:00
Dan Williams
2b00116361 2008-06-10 Dan Williams <dcbw@redhat.com>
The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3741 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-10 15:54:23 +00:00