Commit Graph

8762 Commits

Author SHA1 Message Date
Colin Walters
a4f2d35361 2004-09-02 Colin Walters <walters@verbum.org>
* src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
	(nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
	g_strdup_printf instead of arbitrarily sized buffers.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@117 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-09-02 04:01:17 +00:00
Colin Walters
d276c67b8a 2004-09-01 Colin Walters <walters@verbum.org>
* NetworkManager.pc.in: New file.

	* Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@116 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-09-02 02:30:03 +00:00
Amanpreet Singh Alam
f767435b81 add Punjabi
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@115 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-09-01 07:57:50 +00:00
Amanpreet Singh Alam
e705e69a36 add punjabi
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@114 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-09-01 07:53:37 +00:00
Dan Williams
0fb54803a0 Oops, save changelog entry and commit
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@113 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-31 16:09:45 +00:00
Dan Williams
4de66efbd4 2004-08-31 Dan Williams <dcbw@redhat.com>
* Remove 'debug' extern global from all files since we now
		use syslog()

	* src/NetworkManager.[ch]
		- Break out routine that get the net.interface property from HAL,
			removing that logic from nm_create_device_and_add_to_list()
		- (nm_create_device_and_add_to_list): make this a bit more general so
			it doesn't do the talking to HAL.  Also add arguments to facilitate
			the create of test devices.
		- (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
		- (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
			which makes NetworkManager listen for dbus commands to create test
			devices, which have no backing hardware.  Use when you're on a plane
			for example, and/or forgot your wireless card at home.  Test devices
			_cannot_ be created unless NM is started with --enable-test-devices.

	* src/NetworkManagerDbus.[ch]
		- New "getLinkActive" method for devices
		- New "setLinkActive" method for devices (only works on test devices)
		- New "createTestDevice" method on NetworkManager object to create a test
			device of a specified type (ie wired, wireless).  UDI is created from
			scratch, as is the interface name.  Only works when NM is started with
			--enable-test-devices switch.
		- New "removeTestDevice" method on NetworkManager object which removes a
			test device.  Only works when NM is started with --enable-test-devices

	* src/NetworkManagerDevice.[ch]
		- Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
			whether a device is a test device or not, and what its link status is.
		- Deal with test devices in most functions.  For those that work directly on hardware
			special-case test devices.
		- (nm_device_new): don't create a test device if test devices weren't enabled on the
			command-line.
		- (nm_device_update_link_active): split out logic for wired and wireless device link
			checking to separate functions to facilitate test device link checking.
		- (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
			don't make a distinction between System Authentication and Encryption
			(namely Cisco aironet), we use Open System auth when setting a WEP key
			on the card.  We don't deal with Shared Key auth yet.
		- (nm_device_activation_worker): split the activation cancel check logic out into
			a separate routine nm_device_activation_cancel_if_needed()
		- (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
		- (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
			a list of fake access points that they can "see"
		- (nm_device_is_test_device): return whether or not a device is a test device

	* src/NetworkManagerPolicy.c
		- (nm_policy_get_best_device): attempt to deal with wireless network selection,
			previously if you "locked"/forced NM to use a wireless device but then
			selected a wireless network for NM to use, it would switch to a wired device.
			So, if the active device is wireless and it has a "forced" best AP, use it
			if the "forced" best AP is still valid
		- (nm_state_modification_monitor): deal with NULL best devices, for example
			there were no usable network devices, or the last one was removed

	* src/backends/NetworkManager*.c
		- Deal with test devices, mostly just return success for operations like getting
			a DHCP address

	* test/nmtestdevices.c
		- Test tool to create/remove/link-switch test devices


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@112 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-31 16:09:15 +00:00
Bryan Clark
3e02531372 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
* examples/python/NetworkManager.py:
        added convience functions has_wired_device and has_wireless_device

        * examples/python/systray/network_tray.py:
        cleaned up a bunch of cruft, added support for listing wireless
        networks just like the real applet.  This is probably all I'm
        going to work on this applet from now on.
        TODO: add support for actually changing networks and devices


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@111 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-30 17:34:52 +00:00
Bryan W. Clark
b2fb0f8b0d adding .cvsignore to examples/python directory
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@110 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-30 04:52:12 +00:00
Bryan Clark
c7be101a65 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
* examples/python/NetworkManager.py (NetworkManager.get_device):
        changed "nm.networks" into a dict from a list so I can store all
        the cool information about networks in there


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@109 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-30 04:50:22 +00:00
Bryan Clark
ee1cb1e400 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
* examples/python/systray/network_tray.py:
        Added nice message when you try to run without running make first


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@108 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-30 04:23:54 +00:00
Bryan Clark
bc7cd6c408 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
* examples/python/NetworkManager.py:
	Bug fixes to the code so we get all the device information
	that we need in get_device()

	* examples/python/NMTester.py:
	Fixed _print_device_list to print_device_list


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@107 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-30 04:20:09 +00:00
Seth Nickell
4252c351f3 * configure.in:
Actually properly setup the Debian backend in configure.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@106 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-30 03:21:17 +00:00
Colin Walters
6871fe28bc 2004-08-29 Colin Walters <walters@verbum.org>
* test/nminfotest.c: Include string.h and stdlib.h.
	(get_network_string_property, get_networks_of_type): Return NULL.

	* test/nmclienttest.c (get_device_name, get_active_device): Return
	NULL.

	* src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
	use strlen, fgets always NULL-terminates the string.

	* src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
	dbus_message_get_member): Remove /* in comment.

	* src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.

	* src/NetworkManager.c (quit): Unused, delete.
	(nm_data_free): Cast arg to GFunc.

	* panel-applet/NMWirelessAppletDbus.c: Need to include
	string.h, and dbus-glib-lowlevel.h (the latter is needed
	for dbus_connection_setup_with_g_main at present).
	(nmwa_dbus_update_wireless_network_list): Parenthesize
	assignment in conditional.
	(nmwa_dbus_worker): Return NULL.

	* panel-applet/NMWirelessApplet.c (nmwa_redraw)
	(nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
	(nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
	(nmwa_populate_menu): Return NULL on failure, instead of just
	return;

	* initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.

	* info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
	variables.

	* info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
	delete.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@105 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-29 06:06:51 +00:00
Colin Walters
c639ff8694 2004-08-29 Colin Walters <walters@verbum.org>
* src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
	a GTimeVal instead of time_t.  This is easier to work with,
	since time_t may be a long or double, we don't know.

	* src/NetworkManagerDbus.h: Update prototype.

	* src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
	instead of time_t.
	(nm_ap_get_timestamp): Update to return GTimeVal.
	(nm_ap_set_timestamp): Update to take GTimeVal.

	* src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
	to handle GTimeVal.

	* src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
	GTimeVal change.
	(nm_ap_list_print_members): Fix warnings in printf format.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@104 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-29 05:46:59 +00:00
Colin Walters
fbf832d9c3 2004-08-29 Colin Walters <walters@verbum.org>
* src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
	a GTimeVal instead of time_t.  This is easier to work with,
	since time_t may be a long or double, we don't know.

	* src/NetworkManagerDbus.h: Update prototype.

	* src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
	instead of time_t.
	(nm_ap_get_timestamp): Update to return GTimeVal.
	(nm_ap_set_timestamp): Update to take GTimeVal.

	* src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
	GTimeVal change.
	(nm_ap_list_print_members): Fix warnings in printf format.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@103 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-29 05:40:32 +00:00
Colin Walters
5ddc7519a5 2004-08-29 Colin Walters <walters@verbum.org>
* panel-applet/NMWirelessApplet.c: Include config.h.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@102 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-29 05:36:34 +00:00
Colin Walters
e5366de5fc 2004-08-29 Colin Walters <walters@verbum.org>
* configure.in: Generate config.h.

	* configure.in: Dump dependency on OpenSSL; we can't
	use it since this package is GPL:
	http://www.gnome.org/~markmc/openssl-and-the-gpl.html
	Instead, check for libgcrypt, use it if available,
	otherwise use included MD5 code.

	* src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
	Suck in from gnome-keyring, munge a bit.

	* src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
	gnome-keyring-md5.h gnome-keyring-md5.c.
	(NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.

	* src/NetworkManagerWireless.c (nm_md5): New function, uses
	libgcrypt or included gnome-keyring md5 bits.
	(nm_wireless_128bit_key_from_passphrase): Use nm_md5.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@101 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-29 05:10:16 +00:00
Kjartan Maraas
677aff8941 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Add «nb» and «no» to ALL_LINGUAS.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@100 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-28 16:57:06 +00:00
Kjartan Maraas
a1238c3e60 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
* nb.po: Add Norwegian translation.
	* no.po: Same.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@99 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-28 16:56:33 +00:00
Miloslav Trmac
e99bcdac8d 2004-08-28 Miloslav Trmac <mitr@volny.cz>
* configure.in: Added cs to ALL_LINGUAS.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@98 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-28 13:15:38 +00:00
Miloslav Trmac
a999a7ba15 2004-08-28 Miloslav Trmac <mitr@volny.cz>
* cs.po: Added Czech translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@97 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-28 13:15:35 +00:00
Adam Weinberger
03f6648121 * en_CA.po: Updated Canadian English translation.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@96 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-28 06:11:37 +00:00
Bryan Clark
38c917f59f 2004-08-27 Bryan Clark <bclark@redhat.com>
* examples/python/systray/Makefile:

	Updated the clean section


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@95 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-27 21:00:32 +00:00
Bryan W. Clark
5c37b80859 adding cvsignore to examples/python/systray directory
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@94 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-27 20:52:47 +00:00
Bryan Clark
591576fbc1 004-08-27 Bryan Clark <bclark@redhat.com>
* examples/python/systray/trayiconmodule.c:
	* examples/python/systray/trayicon.override:
	* examples/python/systray/network_tray.py:
	* examples/python/systray/eggtrayicon.h:
	* examples/python/systray/eggtrayicon.c:
	* examples/python/systray/Makefile:
	* examples/python/README:
	* examples/python/NetworkManager.py:
	* examples/python/NMTester.py:

	Initial commit of these python example files


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@93 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-27 20:48:04 +00:00
Dan Williams
7fd3e529b4 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
* panel-applet/NMWirelessApplet.c
		- Make current device bold
		- Show more user-friendly device name if we got one from hal

	* panel-applet/NMWirelessAppletDbus.c
		- Grab "info.product" key from hal for network devices
		- Cache the current active device


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@92 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-27 19:42:47 +00:00
Adam Weinberger
9dccb3c351 * configure.in: Added en_CA to ALL_LINGUAS.
* po/en_CA.po: Added Canadian English translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@91 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-27 19:04:26 +00:00
Funda Wang
78e2b199d0 Added Simplified Chinese translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@90 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-27 12:46:17 +00:00
Christian Rose
1013894a42 2004-08-27 Christian Rose <menthos@menthos.com>
* configure.in: Added "sv" to ALL_LINGUAS.
	* po/sv.po: Added Swedish translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@89 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-26 23:44:48 +00:00
Christian Rose
09ea565f64 2004-08-27 Christian Rose <menthos@menthos.com>
* .cvsignore: Sorted and added entries.
	* POTFILES.in: Added missing entries.
	* NetworkManager.pot: Removed. This is a generated file.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@88 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-26 23:13:09 +00:00
Dan Williams
276e4b0caf Correct package name from make distcheck
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@86 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-26 21:30:12 +00:00
Jonathan Blandford
917053d59e Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
* initscripts/Makefile.am
        * configure.in: Make pass distcheck

        * po/ChangeLog: added


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@85 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-26 21:24:41 +00:00
Dan Williams
b0aed3a227 Prepare for 0.2 release
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@84 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-26 21:15:48 +00:00
Dan Williams
d52e623fde Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
* panel-applet/NMWirelessApplet.c
		- Remove debugging code
		- Enable device switching from menus

	* panel-applet/NMWirelessAppletDbus.[ch]
		- Method for asking NM to switch devices

	* src/NetworkManagerDevice.c
		- Set dev->activating earlier, avoids race between
			the dbus signal of "DeviceActivating" and setting
			dev->activating (which is what NM's "status" method call
			looks at)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@83 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-26 21:11:27 +00:00
Dan Williams
97e86a1857 Add
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@82 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-26 20:07:26 +00:00
Dan Williams
305ff0adb0 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
* panel-applet/NMWirelessApplet.[ch]
		- Rework menu code to add devices to menu, and to show
			signal strength for each access point.  Code cleanups
			too.

	* panel-applet/NMWirelessAppletDbus.c
		- Grab network devices from NetworkManager too
		- Grab quality information from NM for wireless networks

	* src/NetworkManagerDbus.[ch]
		- Add dbus methods for getting the HAL UDI from a device and
			for getting its base quality, if its wireless
		- Consolidate some functions (wireless network notifications,
			device notifications)
		- Add method for requesting NM to use a particular device

	* src/NetworkManager.c
		- Change for function consolidations from NetworkManagerDbus.c
		- Implement active device locking and user-requested devices
			(ie, tell NM to use a particular device instead of the one
			it autochose)

	* src/NetworkManagerDevice.c
		- Add method for getting the base quality of a device, if its
			wireless
		- Grab device base quailty info from iwlib during scans

	* src/NetworkManagerPolicy.c
		- Use a user-requested device rather than the auto-chosen device
			if we are told to


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@81 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-26 20:05:24 +00:00
Jonathan Blandford
d3aff52822 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
* Makefile.am: add po as a supdir

        * autogen.sh: use gnome-autogen.sh

        * initscript/Gentoo/.cvsignore:
        * initscript/RedHat/.cvsignore: Shut up cvs

        * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.

        * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
        (nmwa_fill): Use gettext.

        * configure.in: add gettext support
        * po/.cvsignore:
        * po/NetworkManager.pot:
        * po/POTFILES.in:


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@80 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-26 19:14:26 +00:00
Seth Nickell
b20bd14ea3 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
(nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
	(nmwa_add_menu_item), (nmwa_menu_item_data_free),
	(nmwa_dispose_menu_items), (nmwa_populate_menu),
	(nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
	* panel-applet/NMWirelessApplet.h:

	Use a menu bar instead of a button for the main clickable
	thingy.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@79 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-26 04:20:33 +00:00
Dan Williams
66a2ca5845 2004-08-25 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerDevice.c
		- (nm_device_set_enc_key): always set device to "open" mode instead of
			turning encryption off, because the Cisco driver doesn't associate
			with WEP-enabled access points unless we are in "open"


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@78 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-26 03:05:32 +00:00
Dan Williams
d656b2810d fix up entry
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@77 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-26 02:28:17 +00:00
Dan Williams
fe7a2be201 2004-08-25 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerWireless.c
		- Don't try to defererence blank passphrases


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@76 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-26 02:27:02 +00:00
Dan Williams
21862371b6 2004-08-25 Dan Williams <dcbw@redhat.com>
* panel-applet/NMWirelessApplet.c
		- Rebuild the menu whenever a user clicks


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@75 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-26 02:25:49 +00:00
Dan Williams
d9abb16b8b Take out the "active" text
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@74 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-26 01:57:10 +00:00
Dan Williams
efb70bd972 2004-08-25 Dan Williams <dcbw@redhat.com>
* panel-applet/NMWirelessApplet.c
		- (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
			when NM isn't around or when its not connected

	* src/NetworkManagerDevice.c
		- (nm_device_activation_worker): Make sure to reset dev->activating if we get
			canceled.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@73 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-26 01:37:03 +00:00
Dan Williams
bbc8ab5e1a 2004-08-25 Dan Williams <dcbw@redhat.com>
* panel-applet/NMWirelessAppletDbus.c
		- (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
			for getting encryption, and don't stop on "val" once we've gotten it
			from NetworkManager.  Short form:  encryption should now show up.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@72 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-26 01:25:08 +00:00
Dan Williams
7df00044ca 2004-08-25 Dan Williams <dcbw@redhat.com>
* panel-applet/NMWirelessApplet.c
		- Set ESSID on a gconf trusted network too when force-setting the wireless
			network to associate with


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@71 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-26 01:16:19 +00:00
Dan Williams
e09969112f 2004-08-25 Dan Williams <dcbw@redhat.com>
* panel-applet/*
		- Rework the panel applet to do all DBUS communication in a separate
			thread


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@70 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-26 00:33:08 +00:00
Dan Williams
8ce1a2efc9 2004-08-25 Dan Williams <dcbw@redhat.com>
* info-daemon/NetworkManagerInfo.[ch]
		- Remove "get_next_priority" function

	* info-daemon/NetworkManagerInfoDbus.[ch]
		- Convert "priority" functions to "timestamp"


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@69 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-25 22:43:16 +00:00
Dan Williams
846b78966b 2004-08-24 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerAP.[ch]
		- Add a "enc_method_good" member and accessors to an Access Point
			to signal when we've found the correct encryption method
			for an access point
		- Add a "timestamp" member and accessors, remove "priority" member
			and accessors (use timestamps instead)
		- Rename "wep_key"->"enc_key"
		- (nm_ap_get_enc_key_hashed): new, return the correct mangled key
			for a specified encryption method using the access points
			source encryption key/passphrase

	* src/NetworkManagerAPList.c
		- When updating a network with dbus, grab timestamp now instead of
			priority

	* src/NetworkManagerDBus.[ch]
		- Add signal for "DeviceActivating"
		- Switch priority->timestamp

	* src/NetworkManagerDevice.c
		- Change references of "wep_key" -> "enc_key" or "key"
		- Signal DeviceActivating when starting activation
		- When activating a wireless device, if the access point we are connecting
			to is encrypted, and we have a source key, try to generate a mangled
			key and use that (ie, generate real WEP key from a passphrase)
		- Rework device activation to fallback to other encryption methods if
			a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
			first, then if that doesn't work fall back to direct hex key).
		- (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
			priority.  We now prefer the latest access point used, rather than using
			a priority scheme
		- (nm_device_do_normal_scan): make the encryption method "unknown" on access
			points we've just discovered, and merge in correct info from the global
			access point lists


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@68 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-25 22:41:12 +00:00
Jonathan Blandford
b034d4d1ab minor fixes for distros
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@67 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-25 22:09:11 +00:00