Commit graph

594 commits

Author SHA1 Message Date
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
Dan Williams
af55ad0ff5 2005-10-24 Dan Williams <dcbw@redhat.com>
* src/backends/interface_parser.c
		- Add void to function declarations that need it
			to match patch from Engin AYDOGAN

	* src/backends/interface_parser.h
		- Remove unused prototype for ifparser_interfaces()

	Patch from Engin AYDOGAN <engin@bzzzt.biz>
	* src/backends/interface_parser.h:
		- Compile fixes for gcc 4.0.2 (add void)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1068 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-24 15:04:28 +00:00
Dan Williams
f54406831c 2005-10-24 Dan Williams <dcbw@redhat.com>
Patch from Tor Krill <tor@krill.nu>
	* src/named-manager/nm-named-manager.c
		- Write more than just the first nameserver to /etc/resolv.conf
		- Write out valid /etc/resolv.conf on exit


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1067 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-24 14:49:26 +00:00
Christopher Aillon
23d422740b 2005-10-21 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet-dbus-vpn.c:
	Get rid of spurious newlines in debug console output


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1066 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-21 22:04:30 +00:00
Chris Aillon
30a01737aa hmm, today isn't the 19th...
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1065 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-21 22:03:10 +00:00
Christopher Aillon
7cd89af612 2005-10-19 Christopher Aillon <caillon@redhat.com>
* src/backends/NetworkManagerGentoo.c:
	Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1064 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-21 21:50:49 +00:00
Robert Love
2930c9c4c1 2005-10-20 Robert Love <rml@novell.com>
* src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
	  direct comparison of floating point values, which is never correct.
	  Also some misc. cleanup.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1063 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-20 20:41:51 +00:00
Robert Love
f9450c787b 2005-10-19 Robert Love <rml@novell.com>
* vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1060 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-19 18:27:16 +00:00
Robert Love
b7e0c9bd0e Revert last commit.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1055 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-19 16:56:10 +00:00
Robert Love
1f1862ab95 2005-10-19 Robert Love <rml@novell.com>
* gnome/applet/menu-items.c: Patch from Jeroen Zwartepoorte: Use the
	  correct stock icon value, GTK_STOCK_DIALOG_AUTHENTICATION, and not
	  the open-coded "gnome-lockscreen" to get our "secure" network icon.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1054 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-19 16:13:00 +00:00
Robert Love
1c6e80774d 2005-10-19 Robert Love <rml@novell.com>
* gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
	  sensitivity of the buttons.  Specificaly, do the right thing if
	  there are no entries.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1053 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-19 16:08:49 +00:00
Christopher Aillon
2e370dc8f3 2005-10-19 Christopher Aillon <caillon@redhat.com>
* configure.in: Update check for adequate wireless-tools
	with an AC_TRY_COMPILE for the new symbols we use.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1051 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-19 15:16:35 +00:00
Dan Williams
ff88a840ee 2005-10-19 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerDevice.c
		- (process_scan_results): don't drop the last (or only)
			access point we see


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1049 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-19 14:19:53 +00:00
Christopher Aillon
de3985c598 2005-10-19 Christopher Aillon <caillon@redhat.com>
* src/backends/NetworkManagerSlackware.c:
	Patch from Nico <lordllucifer@gmail.com>
		- Update the Slackware backend.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1048 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-19 13:44:34 +00:00
Christopher Aillon
93987738cd 2005-10-18 Christopher Aillon <caillon@redhat.com>
* gnome/applet/other-network-dialog.c: Use g_get_host_name ()
	if we've got GLib 2.8.0


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1047 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-18 18:31:03 +00:00
Robert Love
ba8d6456a3 ChangeLog typo, but it is still a long function name. ;-)
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1046 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-18 15:02:33 +00:00
Robert Love
abac41aabe 2005-10-18 Robert Love <rml@novell.com>
* src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
	  function nmwa_schedule_state_change_signal_broadcast() when we
	  deactivate a device, too.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1045 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-18 14:57:31 +00:00
Robert Love
4a94a14f5c 2005-10-18 Robert Love <rml@novell.com>
* gnome/applet/applte.c: nmwa_context_menu_update(): 'iface'
	  could be used uninitialized.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1042 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-18 14:50:28 +00:00
Christopher Aillon
c51c4474ad 2005-10-18 Christopher Aillon <caillon@redhat.com>
* test/libnm_glib_test.c: Test unregistering, too.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1041 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-18 14:10:58 +00:00
Christopher Aillon
8a2fca1b9c 2005-10-17 Christopher Aillon <caillon@redhat.com>
* configure.in: Bump to 0.5.0


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1038 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-18 03:12:15 +00:00
Dan Williams
873a99ff8c 2005-10-17 Dan Williams <dcbw@redhat.com>
* NetworkManager.h
		- Remove WPA-related constants so they aren't part of the
			upcoming release.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1037 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-18 02:06:24 +00:00
Christopher Aillon
0176d81424 2005-10-17 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet.c:
	* gnome/applet/applet.h:
	Desensitize the 'Connection Information' menu item when there is
	no active connection.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1035 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-18 00:54:19 +00:00
Christopher Aillon
aa89e85d0b 2005-10-17 Christopher Aillon <caillon@redhat.com>
* gnome/libnm_glib/libnm_glib.c:
	Make libnm_glib_unregister_callback () actually unregister the callback


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1034 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-17 21:37:26 +00:00
Robert Love
9977ed57e5 2005-10-17 Robert Love <rml@novell.com>
* src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
	  two seconds -- tries is updated every 1/10 of a second, not every
	  second..


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1033 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-17 20:29:23 +00:00
Christopher Aillon
e97f836995 2005-10-17 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet-dbus-info.c:
	Let D-BUS know that we haven't handled a message when we haven't.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1032 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-17 20:11:05 +00:00
Robert Love
3c1259fd9f 2005-10-17 Robert Love <rml@novell.com>
* src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
          in order to remain 64-bit clean.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1031 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-17 19:04:01 +00:00
Chris Aillon
561df19768 I can spell. Really!
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1030 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-17 18:54:31 +00:00
Christopher Aillon
9cf0f54e58 2005-10-17 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet-dbus-info.c:
	Find network encryption keys asyncrhonously


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1029 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-17 18:51:09 +00:00
Robert Love
60785e336d 2005-10-17 Robert Love <rml@novell.com>
*  src/backends/NetworkManagerDebian.c,
           src/backends/NetworkManagerRedHat,
           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
           comment delimiter.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1028 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-17 18:28:16 +00:00
Robert Love
2d747adc14 2005-10-17 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
          "/etc"


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1027 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-17 18:06:10 +00:00
Christopher Aillon
9e577ba84c 2005-10-17 Christopher Aillon <caillon@redhat.com>
* src/NetworkManagerDevice.c: (process_scan_results)
	Fix logic that checks to see whether we have an ESSID.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1026 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-17 15:36:26 +00:00
Dan Williams
994948d758 2005-10-15 Dan Williams <dcbw@redhat.com>
Move scanning code into NetworkManager rather than use iwlib's
	iw_scan() function, so that we can figure out AP capabilities.

	* NetworkManager.h
		- Add AP capability bits

	* src/NetworkManagerAP.[ch]
		- Add capability field to NMAccessPoint structure
		- Add WPA & RSN Information Element fields and accessor
			functions to NMAccessPoint

	* src/NetworkManagerDevice.c
		- Remove usage of iw_scan
		- Add scanning code to NetworkManager rather than use
			iw_scan() from iwlib

	* src/NetworkManagerUtils.[ch]
		- (nm_dispose_scan_results): remove, unused


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1023 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-15 04:11:01 +00:00
Christopher Aillon
150bf7ca2d 2005-10-14 Christopher Aillon <caillon@redhat.com>
* gnome/libnm_glib/libnm_glib.c:
	* gnome/libnm_glib/libnm_glib.h:
	Use guint instead of gint for callback IDs.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1022 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-14 19:51:14 +00:00
Christopher Aillon
ac348beeea 2005-10-12 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet.c:
	Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
	every 1000ms.  It will unconditionally call nmwa_update_state which
	kills the existing animation timeout and registers a new one with a
	callback to draw a new frame every 100ms.  There are 11 connecting
	icon frames, so the last 2 frames kept getting dropped.  Only reset
	the animation timeout if we aren't animating.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1020 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-12 05:51:20 +00:00
Dan Williams
5112250aed 2005-10-11 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus-devices.c
		- (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
			We want to grab the product & vendor from net.physical_dev
			rather than info.parent.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1018 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-11 20:49:49 +00:00
Dan Williams
a01d6f27dc 2005-10-11 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerDevice.c
		- Use the driver's WE version for scanning rather than
			the WE version NM was compiled with.  Fixes random
			crashes in iw_scan () in iwlib.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1017 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-11 20:13:28 +00:00
Dan Williams
115dc5264b 2005-10-10 Dan Williams <dcbw@redhat.com>
* Remove nm_system_load_device_modules() from backend files
		and from NetworkManager.c


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1014 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-10 18:00:59 +00:00
Dan Williams
d41e3a4244 2005-10-10 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerPolicy.c
		- Fix some bugs introduced by the capabilities patch


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1013 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-10 12:57:49 +00:00
Dan Williams
2baf5855c0 2005-10-10 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus-info.c
		- (nmi_dbus_get_network_key): hide the menu when putting up
			the keyring dialog.  (not sure if the code is right...)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1012 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-10 12:57:04 +00:00
Dan Williams
91ba6be6e7 2005-10-09 Dan Williams <dcbw@redhat.com>
Patch from Bill Moss <bmoss@clemson.edu>
	* src/NetworkManagerDevice.c
		- (nm_device_set_user_key_for_network): don't try to set auth
			mode on the AP from the allowed list if it's NULL


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1010 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-10 01:21:58 +00:00
Dan Williams
69d77f6b56 2005-10-09 Dan Williams <dcbw@redhat.com>
* Replace the "driver support level" stuff with capabilities.  The
		capability field is a bitfield that is more flexible than the
		old driver support level thing.  It's mostly so we can easily
		figure out what supports WPA and what doesn't, but should be
		quite useful later.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1007 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-09 04:39:49 +00:00
Dan Williams
fad78837c6 2005-10-09 Dan Williams <dcbw@redhat.com>
* test/nmtest.c
		- Removed

	* test/nm-tool.c
	  test/Makefile.am
		- Added new "nm-tool" tool that gives quite a bit more
			information


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1006 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-09 04:28:16 +00:00