Commit graph

635 commits

Author SHA1 Message Date
Dan Williams
5093c26462 2005-12-10 Dan Williams <dcbw@redhat.com>
* gnome/applet/Makefile.am
		- Add libnm-util to includes
		- Add libnm-util to link list
		- Add wireless-security-common.* to compile list

	* gnome/applet/other-network-dialog.c
		- Convert to using the WirelessSecurityManager code and
			widgets

	* gnome/applet/passphrase-dialog.c
		- Comment out references to stuff in the glade file that
			cause runtime errors until it can be fixed up
			to use the WirelessSecurityManager code

	* gnome/applet/wireless-applet.glade
		- Rename some widgets
		- Add widgets for the WirelessSecurityManager code
		- Remove passphrase-related stuff since that's now
			handled by the WirelessSecurityManager code


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1156 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-10 19:45:06 +00:00
Dan Williams
8bc5acbc99 2005-12-10 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus-devices.c
		- Print out error message details for dbus pending call callbacks
		- Move nmwa_dbus_update_devices() up

	* gnome/applet/applet-dbus-vpn.c
		- Print out error message details for dbus pending call callbacks


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1155 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-10 19:42:02 +00:00
Dan Williams
d9ac9fbdf3 2005-12-09 Dan Williams <dcbw@redhat.com>
* libnm-util/*
		- More fixups
		- Remove cipher-manager.* because we don't need it
		- Forgot to add gnome-keyring-md5 files to compile list


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1154 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-10 19:33:26 +00:00
Dan Williams
7758dcb273 2005-12-09 Dan Williams <dcbw@redhat.com>
* libnm-util/*
	  configure.in
	  Makefile.am
		- Add a utility library for clients of NetworkManager.  It's
			only targetted at applets for the moment, and contains
			a generalized 802.11 cipher framework for different
			types of keys (WEP & WPA Hex, ASCII, Passphrase)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1152 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-09 23:25:22 +00:00
Robert Love
058e30e25d 2005-12-09 Robert Love <rml@novell.com>
* src/NetworkManagerDevice.c: handle error better in
	  nm_device_set_mode().


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1151 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-09 19:38:05 +00:00
Robert Love
9674539f15 2005-12-08 Robert Love <rml@novell.com>
* include/NetworkManager.h: add WPA capabilities constants
	* src/NetworkManagerDevice.c: detect if wireless devices support WPA
	  or WPA2 and add the capabilities bits as appropriate.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1150 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-08 21:48:41 +00:00
Robert Love
c521bf2e07 2005-12-08 Robert Love <rml@novell.com>
* initscript/SUSE/networkmanager-dispatcher.in: new initscript for
	  NetworkManagerDispatcher.
	* configure.in, initscript/SUSE/.cvsignore,
	  initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
	  initscript.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1149 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-08 17:01:47 +00:00
Robert Love
b376771770 2005-12-08 Robert Love <rml@novell.com>
* initscript/SUSE/networkmanager.in: Do not start 'networking' service.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1148 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-08 15:46:34 +00:00
Robert Love
dec36b0540 2005-12-08 Robert Love <rml@novell.com>
* src/NetworkManagerDevice.c: We want to fall back on and default to
	  IW_MODE_AUTO, not -1, which is more in line with our previous
	  behavior.  Otherwise, we try to set the wireless mode to -1 in
	  nm_device_set_mode().


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1147 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-08 15:40:24 +00:00
Robert Love
231c04097c 2005-12-07 Robert Love <rml@novell.com>
* gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
	  src/NetworkManagerAP.c, src/NetworkManagerAP.h,
	  src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
	  src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
	  src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
	  wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
	  zero.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1144 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 20:21:29 +00:00
Robert Love
91b74775a5 2005-12-07 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: In static configurations, if the
	  supplied IP is invalid, fall back to DHCP.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1143 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 17:55:39 +00:00
Dan Williams
eff693f386 2005-12-07 Dan Williams <dcbw@redhat.com>
* Convert NETWORK_MODE_* constants to IW_MODE_*
	* Make all the get_mode/set_mode functions take and return 'int'
	* Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1142 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 17:40:37 +00:00
Robert Love
a4cab32122 2005-12-07 Robert Love <rml@novell.com>
* src/NetworkManagerDevice.c: strncpy() buffer check.
	* src/NetworkManagerUtils.c: be anal about syslog() formatting.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1141 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 15:56:47 +00:00
Dan Williams
98498e55b6 2005-12-06 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus.c
		- (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c

	* gnome/applet/applet-dbus-vpn.c
		- (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
		- (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
			to TRUE here if stage was ACTIVATED


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1139 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 04:22:10 +00:00
Dan Williams
df786181e4 2005-12-06 Dan Williams <dcbw@redhat.com>
* Change nm_device_is_* functions to better names:
		nm_device_is_wireless() -> nm_device_is_802_11_wireless()
		nm_device_is_wired() -> nm_device_is_802_3_ethernet()


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1132 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 00:38:33 +00:00
Dan Williams
bfae8891a7 2005-12-06 Dan Williams <dcbw@redhat.com>
* Change naming of NMDeviceType to something more sensible:
		NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
		NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
		NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1131 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 00:22:52 +00:00
Dan Williams
6bcf90acf2 2005-12-06 Dan Williams <dcbw@redhat.com>
* Move NetworkManager.h -> include/NetworkManager.h
	* Split out VPN stuff to include/NetworkManagerVPN.h
	* Fix up makefiles to include new location
	* Fix up sources to include NetworkManagerVPN.h


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1130 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-06 23:37:09 +00:00
Dan Williams
4c42d4052c Add changelog entry for previous commit
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1129 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-06 23:04:57 +00:00
Dan Williams
58d310199c 2005-12-06 Dan Williams <dcbw@redhat.com>
Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
	* initscript/Slackware/rc.networkmanager
		- Cosmetic fix

	* src/backends/NetworkManagerSlackware.c
		- Kill dhcpcd when starting so that dhclient can bind to DHCP on
			interfaces


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1127 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-06 21:24:23 +00:00
Robert Love
02ea0ef426 2005-12-05 Robert Love <rml@novell.com>
* src/NetworkManager.c: don't call nm_data_free() when there is nothing
	  to free, particularly here as it just barfs.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1119 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-05 20:40:46 +00:00
Dan Williams
ccfab8a933 2005-12-05 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus.c
		- Work with dbus 0.6 too


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1117 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-05 18:17:55 +00:00
Dan Williams
1d8201cb9e 2005-12-03 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerUtils.[ch]
	  src/nm-ip4-config.c
		- move ip4_netmask_to_prefix() to NetworkManagerUtils.c
		- consolidate code into nm_utils_ip4_addr_to_nl_addr()


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1116 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-04 02:23:29 +00:00
Robert Love
cafa5878fc 2005-12-01 Robert Love <rml@novell.com>
* gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
	  need a NULL for the '...' parameter, too, to fill the so-called
	  sentinel.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1115 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-01 21:45:12 +00:00
Robert Love
46898b0f62 2005-12-01 Robert Love <rml@novell.com>
* src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
	  interface is already gone, so don't call rtnl_link_change() to down
	  it (which will segfault, anyhow).


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1114 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-01 21:42:41 +00:00
Robert Love
e90cdbbb60 Keep VPN-related changes in their respective ChangeLog
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1112 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-01 18:35:15 +00:00
Tim Niemueller
a2d09a9a4e 2005-11-30 Tim Niemueller <tim@niemueller.de>
* vpn-daemons/openvpn/auth-dialog/main.c: Only request one password,
	  still use GnomeTwoPasswordDialog, gives all the functionality we need.
	  This should be unified between VPN implementations. Also I had to add
	  GConf support to see if a password is really needed for the connection
	  type. The configuraton line should be written to the auth-dialog by NM
	  and maybe even an impl_needs_passwd_dialog or similar should be added.
	  Patch will follow when healthy again.

	* vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade: Updated GUI,
	  contains now everything needed to configure all three connection types

	* vpn-daemons/openvpn/properties/nm-openvpn.c: Added handling of all
	  three connection types.

	* vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c: Use
	  different environment variables which are available for all connection
	  types, fixed the returned VPN gateway address. This was the remote IP
	  used in the VPN network, not the remote's real address. This prevented
	  it from working if VPN gateway was not in the same subnet since routes
	  were wrong.

	* vpn-daemons/openvpn/src/nm-openvpn-service.h
	  vpn-daemons/openvpn/src/nm-openvpn-service.c: Added support for
	  password and shared secret connection types. Reformatted to Gnu style.

	* vpn-daemons/openvpn/configure.in: Raised version to 0.2.0

	* vpn-daemons/openvpn/intltool-extract.in
	  vpn-daemons/openvpn/intltool-merge.in
	  vpn-daemons/openvpn/intltool-update.in:
	  Version from intltool 0.33, 0.34 won't work at the moment.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1111 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-30 17:56:51 +00:00
Robert Love
3738ba5503 2005-11-22 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
	  gateway is not set, just print a little note.  Configurations without
	  gateways are valid.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1110 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-22 15:51:40 +00:00
Robert Love
fbf4a3bca2 Update README.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1109 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-22 15:34:37 +00:00
Ilkka Tuohela
da2c6e79b7 Added Finnish translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1107 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-20 09:34:06 +00:00
Robert Love
266c94917f 2005-11-14 Robert Love <rml@novell.com>
* vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
          Niemueller <tim@niemueller.de>.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1104 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-14 16:04:36 +00:00
Dan Williams
67913703fc 2005-11-08 Dan Williams <dcbw@redhat.com>
Patch from Bill Moss <bmoss@clemson.edu>
	* src/NetworkManagerDevice.c
		- (nm_device_activate_stage5_ip_config_commit): fix ordering
			of nm_policy_schedule_activation_finish() to prevent a
			race condition that causes the link to be dropped


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1102 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-09 01:59:23 +00:00
Dan Williams
6f68d85cd4 2005-11-08 Dan Williams <dcbw@redhat.com>
Patch from Bill Moss <bmoss@clemson.edu>
	* src/NetworkManagerAPList.c
	  src/NetworkManagerDevice.c
	  src/NetworkManagerDbus.c
		- Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
			we get more readable ether/mac addresses


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1101 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-09 01:56:03 +00:00
Christopher Aillon
5efba73c10 2005-11-02 Christopher Aillon <caillon@redhat.com>
* gnome/applet/main.c: Don't set the restart command.  This fixes
	the issue where the restart command was getting copies of all its
	arguments for each time the applet was restarted.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1095 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-02 20:26:11 +00:00
Robert Love
1b73bb6d2f 2005-11-02 Robert Love <rml@novell.com>
* gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
	  if the widget state differs from our saved state.  This ensures we
	  do not enter an endless loop of death and destruction.  Also, this
	  guarantees us that we enforce the widget state.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1094 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-02 20:03:28 +00:00
Robert Love
91027274d3 2005-11-02 Robert Love <rml@novell.com>
* gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
	* gnome/applet/applet-dbus-devices.c: invoke the new function
	  nmwa_enable_wireless_set_active() to ensure that the state of the		  'Enable Wireless' checkbox matches the daemon's state.  This is a
	  concern because the daemon remembers the state.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1092 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-02 18:27:19 +00:00
Robert Love
3dc658143d 2005-11-02 Robert Love <rml@novell.com>
* gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
	  Enabled", as checkboxes should be actions/commands not positive
	  statements, otherwise they are confusing in the unselected case.  See
	  examples in GNOME HIG, Chapter 6.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1091 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-02 18:00:20 +00:00
Robert Love
aec2ccd0fa 2005-11-02 Robert Love <rml@novell.com>
* gnome/applet/applet.c: When wireless is disabled, act it.  Do not
	  show a list of wireless networks or the wireless devices or the
	  "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
	  a bad bug: If wireless is disabled and the user picks a wireless
	  network, NM will switch to the network, only to immediately switch
	  back, as wireless is disabled.  This also reassures people that NM
	  is not scanning (it is not -- I verified).  Fixes Novell bug #130041.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1090 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-02 15:37:09 +00:00
Christopher Aillon
5db5b5a80b 2005-11-02 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet.c:
	* gnome/applet/applet.h:
	Partial backout of Dan's timeout animation patch.
	Timeout IDs cannot legally be 0, so revert the code in place to handle
	a timeout ID of 0 to denote the timeout isn't running.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1089 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-02 06:40:10 +00:00
Christopher Aillon
d52b45a03a 2005-11-02 Christopher Aillon <caillon@redhat.com>
* src/NetworkManagerPolicy.c:
	(nm_policy_device_change_check) Clarify wireless switch nm_info text


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1088 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-02 06:29:06 +00:00
Robert Love
b17b4de3f2 2005-10-28 Robert Love <rml@novell.com>
* vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
	  "Import Saved Configuration..." to make it clear that importing is
	  not the next step, but an option.  As an aside, a nice TODO would be
	  to move Importing out of the vpn-specific dialog and into the main
	  property editor, as Importing goes with Adding, but that will require
	  some rearchitecting of the VPN stuff I suspect.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1084 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-28 18:01:51 +00:00
Dan Williams
044acdad23 2005-10-27 Dan Williams <dcbw@redhat.com>
Start using libnl.  You need 1.0-pre3 or higher.  Eventually
	we should replace most of the distro-specific backend code
	with libnl stuff.

	Get it here:  http://people.suug.ch/~tgr/libnl/

	* configure.in
	  src/Makefile.am
		- Add checks for libnl pkgconfig file
		- Use LIBNL_LIBS & LIBNL_CFLAGS

	* src/NetworkManagerSystem.c
	  src/nm-ip4-config.[ch]
		- Use libnl rather than ioctl() for most things
		- Remove unused functions


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1082 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-28 03:16:02 +00:00
Robert Love
96834afcc2 2005-10-27 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: fix warning message text


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1079 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-27 20:08:23 +00:00
Christopher Aillon
efcb11e9c8 2005-10-27 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet.c: Use the copyright symbol instead of (C)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1078 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-27 05:49:31 +00:00
Christopher Aillon
895d9cc16b 2005-10-27 Christopher Aillon <caillon@redhat.com>
* gnome/applet.c: The applet's about dialog can advertise our
	project page <http://www.gnome.org/projects/NetworkManager/>


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1077 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-27 05:21:01 +00:00
Christopher Aillon
a6a941c3ad 2005-10-26 Christopher Aillon <caillon@redhat.com>
* gnome/applet.c: Also use translator credits if we don't have
	the new GtkAboutDialog (older versions of GTK+)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1076 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-27 05:06:49 +00:00
Robert Love
42a1c2bb90 2005-10-26 Robert Love <rml@novell.com>
* dispatcher-daemon/NetworkManagerDispatcher.c: correct usage text for
	  "--no-daemon"


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1075 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-26 21:12:43 +00:00
Dan Williams
d29cc5bae0 2005-10-25 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerDevice.c
		- (get_scan_results): cleanups, deal cleanly with ENODATA signifying
			no scan results
		- (free_process_scan_cb_data): unref the device when freeing results
		- (nm_device_wireless_process_scan_results): free scan results a bit later
			so we don't unref the device underneath ourselves


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1073 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-26 15:49:38 +00:00
Dan Williams
d209f3a6d0 2005-10-25 Dan Williams <dcbw@redhat.com>
* Back out 2005-10-24 commit from Tor Krill.  Patch
		causes nameservers never to be removed from named.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1072 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-26 02:40:46 +00:00
Dan Williams
a81faff483 2005-10-24 Dan Williams <dcbw@redhat.com>
Clean up wireless scanning and wireless link probing.  Goal: to not be as
	touchy with intermittent connections.

	* src/NetworkManagerDevice.c
		- (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
			just see if there's an activation request on the device, and check the
			current link against the activation request access point's ESSID.
		- (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
		- (nm_device_wireless_process_scan_results): actually free our scan data, and
			don't call process_scan_results() on zero-length data
		- (nm_device_set_wireless_scan_interval): increase the init scan interval to
			15 seconds (from 10)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1070 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-25 00:56:55 +00:00
Dan Williams
a14cc5744e 2005-10-24 Dan Williams <dcbw@redhat.com>
Cleanup some applet stuff:

	- Animation timeouts.  If NM died while the applet was animating,
		the applet would not hide itself.  This is now fixed.

	- Remove some dead code

	- Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
		to nmi_passphrase_dialog_cancel() since we no longer use threads.

	- Track animation timeout using a gboolean rather than the timeout's
		ID, since timeout IDs can legally be 0.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1069 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-24 23:03:42 +00:00