Commit graph

782 commits

Author SHA1 Message Date
Dan Williams
4c4eed19fc 2006-01-30 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus-devices.c
		- (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
			functions, grab device driver name from NetworkManager
		- (nmwa_dbus_device_properties_cb): call functions to get driver

	* gnome/applet/applet.c
		- (nmwa_update_info): show driver name in Connection Information
			dialog

	* gnome/applet/nm-device.[ch]
		- (network_device_get_driver, network_device_set_driver): add
			accessors for driver name

	* gnome/applet/wireless-applet.glade
		- Add line for driver name to Connection Information dialog

	* src/nm-dbus-device.c
		- (nm_dbus_device_get_driver): new function to return driver name
		- (nm_dbus_device_methods): hook up driver name function to dbus

	* test/nm-tool.c
		- (get_driver_name): new function
		- (detail_device): grab and show driver name


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1406 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-30 18:45:17 +00:00
Robert Love
b92d952a4d 2006-01-30 Robert Love <rml@novell.com>
* gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
	  does not parse the markup if it is not part of the format.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1405 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-30 17:31:05 +00:00
Robert Love
1ca336c741 2006-01-27 Robert Love <rml@novell.com>
* gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
	  FALSE, we have no security options for this dialog, so we throw up
	  an error dialog instead of a broken passphrase dialog.  Fixes
	  Novell #138404.
	* gnome/applet/wireless-security-manager.c,
	  gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
	  does not add any security options, not even none, print a warning
	  and return FALSE.  This let's functions constructed a dialog bail
	  out if the device's capabilities and the network's requirements have
	  zero overlap.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1404 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-30 17:28:22 +00:00
Robert Love
78894fba52 2006-01-27 Robert Love <rml@novell.com>
* configure.in: Require wpa_supplicant.  Detect location of binary and
	  use it.  Override with "--with-wpa_supplicant=foo".
	* src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
	  path to wpa_supplicant but use the auto-detected or user-provided
	  value from configure.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1399 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-27 18:41:06 +00:00
Robert Love
d96db0552a 2006-01-27 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
	  but the DHCP server did not return a hostname, try to look up our
	  name via DNS and set the system hostname to that.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1398 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-27 15:29:23 +00:00
Dan Williams
10bc492ab0 2006-01-27 Dan Williams <dcbw@redhat.com>
* src/backends/NetworkManagerRedHat.c
		- Add NM_CONTROLLED system network script support for RH/Fedora


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1397 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-27 05:48:02 +00:00
Dan Williams
c12d5456da 2006-01-27 Dan Williams <dcbw@redhat.com>
* src/backends/NetworkManagerGentoo.c
		- (nm_system_device_get_disabled): add missing function.
			Gnome BZ #328780


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1396 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-27 05:43:16 +00:00
Clytie Siddall
9af0ad5a04 * configure.in Added vi in ALL_LINGUAS line.
CVS: ----------------------------------------------------------------------


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1395 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-27 04:51:19 +00:00
Robert Love
403272766a 2006-01-26 Robert Love <rml@novell.com>
* src/Makefile.am, src/kernel-types.h: Now that two different source
	  files are feeling the crack-addled leakage of kernel types such as
	  u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
	  types in user-space -- define a header and include it as needed.
	* src/nm-device-802-3-ethernet.c: Include kernel-types.h
	* src/nm-device-802-3-ethernet.h: Remove defines.
	* src/wpa.c: Remove defines and include kernel-types.h.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1393 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-26 21:55:11 +00:00
Robert Love
a386cc6bc9 2006-01-26 Robert Love <rml@novell.com>
* TODO: Update.  WPA support is in the bag and HAL restarts (should)
	  work.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1392 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-26 21:16:36 +00:00
Robert Love
b60c770dab 2006-01-26 Robert Love <rml@novell.com>
* configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
	* gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
	  gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
	  gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
	  gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
	  gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
	  gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
	  gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
	  gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
	  gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
	  gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
	  gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
	  libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
	  src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
	  src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
	  src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
	  Kill unused variables, labels, and static functions.  Don't pass
	  string literals as the format string for printf-like functions.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1391 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-26 21:08:44 +00:00
Dan Williams
907c305159 2006-01-25 Dan Williams <dcbw@redhat.com>
* gnome/applet/wireless-applet.glade
		- Remove WPA2 Checkbox

	* gnome/applet/wireless-security-manager.c
		- (wsm_set_capabilities): split up sections for wpa and wpa2.
			This means the Wireless Security menu now has two WPA options,
			one for "WPA Personal" and one for "WPA2 Personal"

	* gnome/applet/wso-wpa-psk.[ch]
		- (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
			'wpa2' argument to determine WPA version to use
		- (append_dbus_params_func): pass stored WPA version to cipher
			rather than using the (removed) checkbox


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1388 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-25 15:33:22 +00:00
Robert Love
61de833c93 date fix
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1387 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-24 21:05:25 +00:00
Robert Love
660e8fdab2 2006-01-23 Robert Love <rml@novell.com>
* src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
	  before we g_strdup(), not the ultimate string.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1386 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-24 20:29:10 +00:00
Dan Williams
0498d9b486 2006-01-23 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerAP.[ch]
		- (nm_ap_new_from_ap): copy original essid too
		- (nm_ap_unref): free original essid
		- (nm_ap_get_orig_essid): new function
		- (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
			but keep original essid around too

	* src/nm-device-802-11-wireless.c
		- (supplicant_send_network_config): send wpa_supplicant the
			_original_ essid, and not as a string, but in hex.  Should
			allow us to connect to more APs that use wierd character
			encodings for their essids

	* utils/nm-utils.[ch]
		- (nm_utils_essid_to_utf8): make a best-effort to convert the essid
			to UTF-8.  If it's not already valid UTF-8, we check LANG and
			use the current locale as a hint for what encoding the essid
			might be in.  Obviously not 100% accurate, but the idea here is
			that if a user's locale is ex. ja_JP, they are more likely than
			not to be in Japan, where access points will likely be in some
			Japanese encoding.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1385 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-24 00:46:52 +00:00
Dan Williams
c316f359cd 2006-01-23 Dan Williams <dcbw@redhat.com>
* libnm-util/cipher-private.h
	  libnm-util/cipher.c
	  libnm-util/cipher.h
		- (cipher_bin2hexstr, cipher_hexstr2bin): make public


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1384 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-24 00:37:39 +00:00
Robert Love
ae0d923ce3 misc.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1383 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-23 21:17:59 +00:00
Robert Love
d1f6f5dde4 2006-01-23 Robert Love <rml@novell.com>
* dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
	  nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
	  by DHCP and pass it to the backends, allowing distribution-specific
	  behavior with respect to the DHCP-supplied hostname (if nothing else,
	  some distributions might not want to set the hostname).
	* backends/NetworkManagerSuSE.c: Set the hostname if the variable
	  DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
	  Also update our NIS behavior.
	* backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
	  backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
	  Add stub functions.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1382 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-23 21:02:39 +00:00
Robert Love
d51874eca6 2006-01-23 Robert Love <rml@novell.com>
* Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
	  gnome-session does autostart.  TODO: We need to install this to
	  $prefix/share/autostart/.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1379 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-23 20:33:45 +00:00
Dan Williams
4b5253469b 2006-01-22 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerAP.[ch]
	  src/nm-dbus-nmi.c
	  src/nm-device-802-11-wireless.c
		- Make nm_ap_get_essid return "const char *"


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1376 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-23 01:05:22 +00:00
Dan Williams
2864ede525 2006-01-22 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerAP.[ch]
		- (nm_ap_get_matched, nm_ap_set_matched): remove

	* src/NetworkManagerAPList.[ch]
		- (nm_ap_list_diff): removed
		- (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
			deal with access points changing essids on us

	* src/nm-device-802-11-wireless.c
		- (add_new_ap_to_device_list): move AP dbus signal logic to
			src/NetworkManagerAPList.c
		- (real_can_interrupt_activation): new function; allow interruption
			of device activation if we are waiting for a network key

	* src/NetworkManagerPolicy.c
		- (nm_policy_device_change_check): allow interruption of currently
			activating devices if the device allows it.  Previous behavior
			would refuse to activate a just-plugged wired device if a
			wireless device was waiting for a key.

	* src/nm-device.[ch]
		- (nm_device_can_interrupt_activation): new function; ask devices
			whether their activation can be interrupted


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1375 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-22 22:40:14 +00:00
Robert Love
fd5e3bb0cc 2006-01-20 Robert Love <rml@novell.com>
* initscript/Debian/NetworkManager,
	  initscript/Gentoo/NetworkManager.in,
	  initscript/RedHat/NetworkManager.in,
	  initscript/RedHat/NetworkManagerDispatcher.in,
	  initscript/SUSE/networkmanager-dispatcher.in,
	  initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1372 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-21 01:47:41 +00:00
Robert Love
61b4c9738d 2006-01-20 Robert Love <rml@novell.com>
* man/.cvsignore: Add.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1368 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-20 21:31:59 +00:00
Robert Love
43013ba9c6 2006-01-20 Robert Love <rml@novell.com>
* Makefile.am, configure.in: Add new man subdirectory.
	* man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
	  man/Makefile.am: Add man pages for NetworkManager and its
	  crime-solving bumbling buddy, NetworkManagerDispatcher.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1367 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-20 21:10:33 +00:00
Robert Love
0b977b258f 2006-01-20 Robert Love <rml@novell.com>
* src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
	  instead of queuing.  This prevents the running of multiple NM
	  daemons concurrently, which does not work whatsoever and results in
	  neither daemon working correctly.  Also, we don't handle queuing and
	  name-owner-changes, anyhow.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1364 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-20 17:03:13 +00:00
Robert Love
1dda3e4490 2006-01-20 Robert Love <rml@novell.com>
* src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
	* dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
	  to sbin, not bin.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1363 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-20 15:37:37 +00:00
Robert Love
4fdd547c2c 2006-01-19 Robert Love <rml@novell.com>
* configure.in: Require hal 0.5.0 or later.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1362 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-19 19:09:29 +00:00
Robert Love
cbd27080ed 2006-01-18 Robert Love <rml@novell.com>
* src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
	  Allow backends to flag a device (in whatever distro-dependent way
	  they so desire) as disabled.  NM will ignore any such device.
	* src/backends/NetworkManagerDebian.c,
	  src/backends/NetworkManagerRedHat.c,
	  src/backends/NetworkManagerSlackware.c: Add stub function
	  nm_system_device_get_disabled() that always returns FALSE (enabled).
	* src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
	  SUSE-specific configuration structure.  Fill it in from the
	  NM_CONTROLLED variable in the system networking scripts.  If this var
	  exists and is "no", we ignore the device.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1361 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-19 18:00:48 +00:00
Robert Love
a7064aaf60 ChangeLog: update.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1359 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-18 16:33:44 +00:00
Robert Love
cd1da59a56 2006-01-17 Robert Love <rml@novell.com>
* configure.in: Remove 'no' language.  Replaced by 'nb', which is
	  identical for NM.  For a full discussion, see the thread at
	  http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
	* po/no.po: Remove.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1358 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-18 16:18:36 +00:00
Dan Williams
135da08fc5 2006-01-17 Dan Williams <dcbw@redhat.com>
* src/nm-device.c
		- (nm_device_class_init): connect a default act_stage4_ip_config_timeout
			function.  Fixes crash when wired DHCP fails.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1355 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-18 02:27:38 +00:00
Robert Love
8481bbd914 2006-01-16 Robert Love <rml@novell.com>
* src/Makefile.am: Don't install NMLoadModules
	* src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
	  from src/ to test/ as no one uses it anymore.  Note that I would be
	  fine with removing it altogether.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1353 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-17 21:25:08 +00:00
Robert Love
8eb99d62fc 2006-01-16 Robert Love <rml@novell.com>
* gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
	  gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
	  gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
	  gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
	  src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
	  src/nm-netlink-monitor.c: Don't miss any initializers on structure
	  declarations, ever.
	* gnome/applet/applet.c: Remove useless check (NMState is unsigned and
	  NM_STATE_DISCONNECTED is zero).


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1351 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-17 18:22:56 +00:00
Robert Love
30c812e9aa 2006-01-16 Robert Love <rml@novell.com>
* src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
	  uninitialized parameter and buffer overflow.  Novell #143496.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1348 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-17 15:20:33 +00:00
Dan Williams
db7403d3f4 2006-01-16 Dan Williams <dcbw@redhat.com>
Apply the PtP Address bits of a patch from Tim Niemueller

	* src/nm-ip4-config.[ch]
		- Add ip4_ptp_address member to object
		- (nm_ip4_config_copy): copy ptp address too
		- (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
			new functions
		- (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
			rather than local tunnel ip address

	* src/vpn-manager/nm-vpn-service.c
		- (print_vpn_config): update for PtP address
		- (nm_vpn_service_stage4_ip_config_get): switch parsing to
			DBusMessageIters in preparation for getting routes from the VPN
			service daemons too

	* vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
		- (send_config_info): update for PtP address, clean up code
		- (main): update for PtP address, clean up code, fix typo

	* vpn-daemons/openvpn/src/nm-openvpn-service.c
		- (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address

	* vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
		- (pptp_ip_up): update for PtP address

	* vpn-daemons/pptp/src/nm-pptp-service.c
		- (nm_pptp_dbus_process_helper_ip4_config): update for PtP address

	* vpn-daemons/vpnc/src/nm-vpnc-service.c
		- (print_vpn_config): update for PtP address
		- (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1346 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-16 22:58:13 +00:00
Dan Williams
3cb4470af5 2006-01-16 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet.c
		- (nmwa_add_networks_helper): don't indicate an active network
			if NM is disconnected or asleep


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1341 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-16 19:11:11 +00:00
Dan Williams
b225c2a019 2006-01-16 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerPolicy.c
		- (nm_policy_device_change_check): switch devices if we lose the link
			on an ethernet device.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1340 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-16 19:10:10 +00:00
Dan Williams
a6d596b796 2006-01-16 Dan Williams <dcbw@redhat.com>
* gnome/applet/wso-wpa-psk-hex.[ch]
		- Renamed -> wso-wpa-psk.[ch]

	* gnome/applet/wso-wpa-psk.[ch]
		- New files

	* gnome/applet/wso-wpa-psk-passphrase.[ch]
		- Removed, rolled into wso-wpa-psk.[ch]

	* gnome/applet/Makefile.am
		- Updated for above changes

	* gnome/applet/wireless-applet.glade
		- Consolidate WPA-PSK options into one notebook
			widget, and make dialogs invisible by default
			to fix screen oddities

	* gnome/applet/wireless-security-manager.c
		- (wsm_set_capabilities): create the new wpa-psk widget rather
			than both the old hex & passphrase ones


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1339 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-16 18:34:13 +00:00
Dan Williams
dc74d1bd2d 2006-01-16 Dan Williams <dcbw@redhat.com>
* gnome/applet/other-network-dialog.c
		- (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1338 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-16 18:21:08 +00:00
Dan Williams
43d36bc3c4 2006-01-16 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet.c
		- (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
		   nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
			prevention to realize window before trying to get server
			time

	* gnome/applet/other-network-dialog.c
		- (nmwa_other_network_dialog_run): fix up focus-stealing
			prevention to realize window before trying to get server
			time

	* gnome/applet/passphrase-dialog.c
		- (nmi_passphrase_dialog_new): fix up focus-stealing
			prevention to realize window before trying to get server
			time


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1337 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-16 18:20:27 +00:00
Robert Love
1a108beb3c 2006-01-16 Robert Love <rml@novell.com>
Patch from Timo Hoenig  <thoenig@suse.de:
	* libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
	  libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
	  libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
	  libnm-util/dbus-helpers.h: add checks whether headers are used
	  within a C++ build.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1336 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-16 17:18:43 +00:00
Dan Williams
7d82157fc5 2006-01-16 Dan Williams <dcbw@redhat.com>
* gnome/applet/wireless-security-option.c
		- (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1335 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-16 17:17:25 +00:00
Dan Williams
c1adb93eb1 2006-01-16 Dan Williams <dcbw@redhat.com>
* libnm-util/cipher-wpa-psk-passphrase.c
		- (cipher_wpa_psk_passphrase_new): correct passphrase length, should
			be 8 - 63 characters inclusive


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1334 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-16 17:16:10 +00:00
Dan Williams
a270053c6a 2006-01-16 Dan Williams <dcbw@redhat.com>
* src/nm-dbus-nm.c
		- (nm_dbus_nm_sleep): bring device down after quick deactivation


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1332 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-16 14:41:49 +00:00
Robert Love
1b66ef0725 2006-01-13 Robert Love <rml@novell.com>
Patch by T Sureshkumar <tsureshkuman@novell.com>:
	* src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
	  modules that do not use an interface.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1329 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-13 20:24:11 +00:00
Dan Williams
8b1b8ee7a5 2006-01-13 Dan Williams <dcbw@redhat.com>
* src/nm-device.c
	  src/nm-device.h
		- Allow subclasses to implement deactivate_quickly()
		- (nm_device_deactivate_quickly): call subclass
			deactivate_quickly() methods
		- (nm_device_set_active_link): small cleanups, and don't
			deactivate the device right away because we risk a deadlock
			when called from device thread, waiting for the device
			thread to cancel activation

	* src/nm-device-802-11-wireless.c
		- (real_deactivate_quickly): new function
		- (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
		- (real_deactivate): move supplicant cleanup to real_deactivate_quickly
			so that we kill the supplicant when we sleep too
		- (supplicant_interface_init): work around naive naming attempts of
			wpa_ctrl when naming sockets


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1326 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-13 16:53:55 +00:00
Dan Williams
42d050e807 2006-01-13 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
		- (supplicant_cleanup): delete old device control sockets too
		- (supplicant_get_device_socket_path): new function to consolidate
			locations that need a path to a device's control socket


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1325 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-13 14:47:30 +00:00
Robert Love
1ccbaff850 2006-01-12 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: Put the ppp device in the
	  description so that the description is unique for each
	  pair (device,provider).  Fixes Novell #142773.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1324 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-12 22:21:56 +00:00
Dan Williams
771ec68c81 2006-01-12 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
		- (supplicant_exec): ensure GError is correctly initialized
			Reported by Diego González (gnome.org #326708)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1322 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-12 12:51:06 +00:00
Robert Love
df024f3ed8 2006-01-11 Robert Love <rml@novell.com>
* src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
	  define if_mii(), open code the same results, and do so without any
	  type punning.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1320 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-11 22:41:53 +00:00