Commit graph

717 commits

Author SHA1 Message Date
Jürg Billeter
7798f8b2e6 2007-01-27 Jürg Billeter <j@bitron.ch>
* src/backends/NetworkManagerPaldo.c
		- (nm_system_update_dns): clear nscd hosts cache


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2248 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-01-26 23:05:51 +00:00
Dan Williams
0df1e42c39 2007-01-04 Dan Williams <dcbw@redhat.com>
Threading removal related cleanups:

	- Use the glib default main context.  Remove the device main context
		member from NMDevice, and the main_context member from NMData.  Change
		all the idle and timeout scheduler functions to use plain
		g_idle_add() and g_timeout_add().

	- As a side-effect of the first change, nm_dbus_manager_get() no longer
		takes an argument; fix that up too.

	- Remove all locking, which is useless since we no longer use threads.  For
		example, nm_get_device_by_iface_locked() has been removed.  The global
		device list lock, the AP List lock, and all static locks in
		NetworkManagerPolicy.c have been removed.  The locking utility functions
		in NetworkManagerUtils.c have also been removed.

	- Other cleanups in spacing and code style



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2205 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-01-04 12:06:26 +00:00
Dan Williams
c430ba3336 2007-01-01 Dan Williams <dcbw@redhat.com>
Found by Bill Moss:

	* src/supplicant-manager/nm-supplicant-interface.c
		- (nm_supplicant_interface_disconnect): fix cleanup logic when
			the supplicant interface wasn't already disconnected.  Always
			call removeNetwork and disconnect unless the supplicant interface
			is in the DISCONNECTED or INACTIVE state.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2202 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-01-02 05:01:07 +00:00
Dan Williams
a423162b36 2006-12-28 Dan Williams <dcbw@redhat.com>
Use a single thread for everything.  With the move to wpa_supplicant
	and communication over D-Bus, there's no reason for multiple threads.
	Almost all of the blocking code has been removed, with one exception in
	the DHCP manager and a few in the VPN manager.  This commit removes the
	per-device worker thread and fixes activation cancellation in the absence
	of threads.  Further removal of thread-related code would be removing
	any locking code (like the device list lock) and simplification of logic
	around areas of code or data structures that are currently locked.

	* autoip.c
	  dhcp-manager/nm-dhcp-manager.c
	  nm-device-802-11-wireless.c
	  nm-device-802-3-ethernet.c
	  nm-device.c
	  nm-device.h
		- Remove usage of multiple threads


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2197 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-12-28 22:13:59 +00:00
Dan Williams
a6f5833cb3 2006-12-19 Dan Williams <dcbw@redhat.com>
Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
	plus a few other patches from wpa_supplicant bugzilla.

	* src/Makefile.am
	  src/NetworkManagerPolicy.c
	  src/NetworkManagerUtils.c
	  src/NetworkManagerUtils.h
	  src/nm-ap-security-leap.c
	  src/nm-ap-security-wep.c
	  src/nm-ap-security-wpa-eap.c
	  src/nm-ap-security-wpa-psk.c
	  src/nm-ap-security.c
	  src/nm-ap-security.h
	  src/nm-device-802-11-wireless.c
	  src/nm-device-802-11-wireless.h
	  src/supplicant-manager/nm-supplicant-config.c
	  src/supplicant-manager/nm-supplicant-config.h
	  src/supplicant-manager/nm-supplicant-interface.c
	  src/supplicant-manager/nm-supplicant-interface.h
	  src/supplicant-manager/nm-supplicant-marshal.list
	  src/supplicant-manager/nm-supplicant-settings-verify.c
	  src/supplicant-manager/nm-supplicant-settings-verify.h
		- Move all connection management and association handling to
			wpa_supplicant over dbus, rather than spawning a private copy


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2192 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-12-19 19:15:31 +00:00
Dan Williams
3834255f8c 2006-12-19 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerPolicy.c
		- (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
			better locking of the device change check handler ID.  Incorrect
			locking was causing lost device change requests


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2191 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-12-19 19:04:04 +00:00
Dan Williams
6b089976ad Cleanup up error output
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2190 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-12-19 18:49:59 +00:00
Dan Williams
bcd251672e 2006-12-11 Dan Williams <dcbw@redhat.com>
* src/supplicant-manager/nm-supplicant-interface.c
		- (iface_state_cb, wpas_iface_get_state): new functions; query initial
			wpa_supplicant interface state
		- (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
			state before transitioning to READY state


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2181 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-12-12 03:27:35 +00:00
Dan Williams
485d49f05c Cleanup finalize and free lists
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2171 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-12-05 04:14:43 +00:00
Dan Williams
1afbd66971 Really fix dispatch_signal() segfault by removing signal handlers that were supposed to be removed from the internal signal handler list
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2170 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-12-05 04:14:04 +00:00
Dan Williams
bf03f244e8 Only track matches when they are created; fixes segfault in dispatch_signal() due to NULL handler->match
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2169 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-12-05 03:49:53 +00:00
Dan Williams
4ad549a2ab Zero out signal handler ID on dispose
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2168 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-12-05 03:13:47 +00:00
Dan Williams
8eb78d652d 2006-12-04 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
		- (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
			odd length of ESSID returned from ieee80211 stack-based drivers


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2165 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-12-04 20:44:30 +00:00
Dan Williams
a4ea27d2ca 2006-12-04 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
		- (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
			IE handling blocks that cause mis-parsing of the IE


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2164 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-12-04 20:42:02 +00:00
Dan Williams
9fa82209e7 2006-12-04 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
		- (init_supplicant_interface): new function; pull supplicant interface
			setup code out into standalone function since it must be called from
			two different places
		- (real_init): sup_mgr is now in private object data; get and track
			the supplicant manager object over the NMDevice subclass' lifetime
			and register a signal handler for its state signals; only try to
			initialize the supplicant interface if the supplicant manager is in
			the IDLE state (and therefore is ready for requests)
		- (request_wireless_scan): reschedule the scan request if (a) there is
			no supplicant interface yet (meaning wpa_supplicant isn't running
			or isn't ready yet), or (b) if the supplicant interface isn't ready
			for requests yet
		- (supplicant_iface_connection_state_cb): new function; stub for
			handling supplicant interface connection state signals
		- (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
			comes and goes
		- (nm_device_802_11_wireless_dispose): clean up spacing; release the
			supplicant manager object that's being tracked starting with this
			commit


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2163 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-12-04 20:40:35 +00:00
Dan Williams
4b647c97a8 2006-12-04 Dan Williams <dcbw@redhat.com>
* src/supplicant-manager/nm-supplicant-interface.c
		- (nm_supplicant_interface_set_property): track signal handler ID
		- (nm_supplicant_interface_dispose): remove signal handler on dispose


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2162 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-12-04 20:33:06 +00:00
Dan Williams
a2b8e034fe Fix erroneous g_return_val_if_fail check for state before scanning
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2161 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-12-04 20:05:14 +00:00
Dan Williams
bcf29cf7a5 2006-12-04 Dan Williams <dcbw@redhat.com>
* src/supplicant-manager/nm-supplicant-interface.[ch]
		- (nm_supplicant_interface_get_state): new function


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2160 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-12-04 19:09:44 +00:00
Dan Williams
d9e7b0082a 2006-12-04 Dan Williams <dcbw@redhat.com>
* src/supplicant-manager/nm-supplicant-interface.c
		- (bssid_properties_cb): don't treat DBus errors as valid
			scanned AP messages


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2159 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-12-04 19:07:22 +00:00
Dan Williams
ad9c4eb950 2006-12-04 Dan Williams <dcbw@redhat.com>
* src/supplicant-manager/nm-supplicant-interface.[ch]
		- (nm_supplicant_interface_get_connection_state): new function
		- define new supplicant connection states
		- send a signal when the supplicant connection state changes


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2157 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-12-04 05:45:05 +00:00
Dan Williams
141af10189 2006-12-03 Dan Williams <dcbw@redhat.com>
* src/supplicant-manager/Makefile.am
	  src/supplicant-manager/nm-supplicant-connection.h
	  src/supplicant-manager/nm-supplicant-connection.c
	  src/supplicant-manager/nm-supplicant-config.h
	  src/supplicant-manager/nm-supplicant-config.c
	  src/supplicant-manager/nm-supplicant-types.h
	  src/supplicant-manager/nm-supplicant-interface.h
	  src/supplicant-manager/nm-supplicant-interface.c
		- Rename NMSupplicantConnection -> NMSupplicantConfig


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2154 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-12-03 20:04:11 +00:00
Dan Williams
3b0b5d9a16 add nm-supplicant-marshal
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2143 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-12-03 03:46:17 +00:00
Dan Williams
a1c06824ca Don't break distcheck
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2136 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-12-01 22:30:34 +00:00
Tambet Ingo
6edc3f81c8 2006-11-29 Tambet Ingo <tambet@ximian.com>
Patch by Timo Hoenig <thoenig@suse.de>:
	* src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
	DBUS-1.0.

	* src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
	we can't use the one from the main source directory.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2133 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-11-29 11:00:22 +00:00
Dan Williams
791b7c7b3e Remove debug printout of scan list
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2129 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-11-27 18:43:20 +00:00
Dan Williams
56621e5f66 2006-11-26 Dan Williams <dcbw@redhat.com>
Scan using wpa_supplicant over DBus.

	* src/nm-device-802-11-wireless.c
		- remove wireless extensions netlink event handler bits
			(wireless_event_helper, nm_device_802_11_wireless_event)
		- remove wireless extensions scan event handler bits
			(process_scan_results, add_new_ap_to_device_list, hexstr2bin,
			hex2byte, hex2num, request_and_convert_scan_results,
			free_process_scan_cb_data, scan_results_timeout,
			schedule_scan_results_timeout, cancel_scan_results_timeout)
		- Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
			and request scans from the supplicant interface rather than directly
		- Move functionality of convert_scan_results() to cull_scan_list() and
			supplicant_iface_scanned_ap_cb()
		- (supplicant_iface_scan_result_cb): new function; schedule a new scan
			at the scan interval when the current scan has finished
		- (supplicant_iface_state_cb): start scanning when the supplicant
			interface enters the READY state, and stop scanning when it
			enters the DOWN state
		- (cull_scan_list): weed out old access points from the scan list
		- (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
			point into an NMAccessPoint and merge it into the device's scan list

	* src/supplicant-manager/nm-supplicant-interface.c
	  src/supplicant-manager/nm-supplicant-interface.h
		- Add a new signal "scan-result" which is issued when the supplicant
			notifies NM that a scan has completed
		- Add a new signal "scanned-ap" that notifies listeners of a new access
			point found in the scan.  Called once for each access point that
			the supplicant interface object receives from the supplicant as a
			result of the "scanResults" method call
		- (wpas_iface_query_scan_results): don't wait 4s before querying
			for the initial scan results
		- (scan_request_cb): new function; send listeners the result
			(success, error) of a wireless scan request
		- (nm_supplicant_interface_request_scan): new function; ask the
			supplicant to perform an immediate wireless scan


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2128 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-11-26 20:49:48 +00:00
Dan Williams
a600258e3b Cleanup output formatting and log level
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2127 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-11-26 19:47:29 +00:00
Dan Williams
8fd7082b66 2006-11-25 Dan Williams <dcbw@redhat.com>
* src/supplicant-manager/Makefile.am
		- Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
			add HAL cflags/includes and named-manager includes directory

	* src/supplicant-manager/nm-supplicant-interface.h
		- New state STARTING to handle transition from INIT to READY where
			the addInterface pending call is still outstanding

	* src/supplicant-manager/nm-supplicant-interface.c
		- track pending calls differently since we may have more than one
			going on at any given time
		- request scan results from wpa_supplicant; but don't do it more often
			than every 4 seconds.  Drivers that do background scanning
			(like the 'ipw' drivers) send a continuous stream of scan completion
			notifications, so we don't want to hammer the supplicant or dbus
			with requests for all scan results every time we get a completion
			notification.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2126 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-11-25 18:23:06 +00:00
Dan Williams
4bc25ba3bf 2006-11-25 Dan Williams <dcbw@redhat.com>
* src/supplicant-manager/nm-supplicant-types.h
		- new file; move all supplicant manager object typedefs here for
			#include sanity

	* src/supplicant-manager/nm-supplicant-interface.c
	  src/supplicant-manager/nm-supplicant-interface.h
		- new file; an object that interfaces an NMDevice object to the
			supplicant and handles signals from the supplicant.  This object
			does all necessary DBus communication with wpa_supplicant.

	* src/supplicant-manager/nm-supplicant-manager.c
	  src/supplicant-manager/nm-supplicant-manager.h
		- Actually do something.  Track the state of the wpa_supplicant service
			and deal with its comings & goings.  Handle life events of
			supplicant interfaces too.
		- Move NMSupplicantManager typedef to nm-supplicant-types.h

	* src/supplicant-manager/nm-supplicant-connection.h
		- Move NMSupplicantConnection typedef to nm-supplicant-types.h

	* src/supplicant-manager/Makefile.am
		- Add new files to build, and add libnm-util to includes

	* src/nm-marshal.list
		- New marshaler type: VOID:UINT,UINT

	* src/nm-device-802-3-ethernet.c
		- (real_init): grab a supplicant interface
		- (nm_device_802_3_ethernet_dispose): release the supplicant interface
		- (supplicant_iface_state_cb): new function, stub for handling
			supplicant interface state changes

	* src/nm-device-802-11-wireless.c
		- (real_init): grab a supplicant interface
		- (nm_device_802_11_wireless_dispose): release the supplicant interface
		- (supplicant_iface_state_cb): new function, stub for handling
			supplicant interface state changes

	* src/NetworkManager.c
		- (main): create and keep the supplicant manager around for the lifetime
			of NetworkManager

	* src/Makefile.am
		- Link to the supplicant manager sub-library and use the supplicant
			manager includes


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2125 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-11-25 15:41:04 +00:00
Dan Williams
81c31e820a 2006-11-25 Dan Williams <dcbw@redhat.com>
Rework DBus manager signal handling to be more flexible.  Previously,
	only one signal handler could be registered for a particular interface.
	The DBus manager now reference counts DBus bus matches and allows multiple
	clients to register signal handlers for the same interface and sender.

	* src/NetworkManager.c
		- (main): track NMI signal handler ID and remove it when we quit

	* src/NetworkManagerMain.h
		- Keep track of NMI signal handler ID

	* src/nm-dbus-manager.c
	  src/nm-dbus-manager.h
		- rework signal handling; each signal handler references one signal
			match, but a signal match may be referenced by one or more
			signal handlers.  Matches are refcounted and are destroyed when the
			last signal handler that references the match is removed.  This is
			necessary because two signal handlers may end up requiring the same
			dbus bus match, so the match must live until the last signal handler
			is destroyed (for example, with the wpa_supplicant network interface
			dbus interface).

	* src/dhcp-manager/nm-dhcp-manager.c
		- (nm_dhcp_manager_new): track DHCP signal handler id
		- (nm_dhcp_manager_dispose): remove DHCP signal handler

	* src/vpn-manager/nm-vpn-service.c
		- (nm_vpn_service_add_watch): track VPN service signal handler id
		- (nm_vpn_service_remove_watch): remove VPN service signal handler


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2124 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-11-25 07:09:11 +00:00
Dan Williams
8b1045257a 2006-11-25 Dan Williams <dcbw@redhat.com>
* src/vpn-daemons/nm-vpn-service.c
		- (supplicant_child_setup): new function
		- (supplicant_exec): make child process use a new process group id

	* src/nm-device-802-11-wireless.c
		- (nm_vpn_service_child_setup): new function
		- (nm_vpn_service_stage1_daemon_exec): make child process use a new
			process group id


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2121 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-11-25 05:54:42 +00:00
Dan Williams
0013ae1178 2006-11-09 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerAPList.c
		- (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
		code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
		from the nm_ap_list_get_ap_by_address() call was incorrect and
		broke hidden SSID matching.  Found by Bill Moss.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2105 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-11-10 02:51:02 +00:00
Dan Williams
6595c2b058 2006-10-25 Dan Williams <dcbw@redhat.com>
* src/nm-dbus-nm.c
		- (nm_dbus_nm_set_active_device): return an empty success message on
			success, rather than falling through to the error case.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2088 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-10-25 12:15:07 +00:00
Dan Williams
f05b1fc87f 2006-10-25 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerUtils.c
		- (nm_utils_supplicant_request_with_check): suppress messages for the
			"SCAN" command


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2085 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-10-25 04:11:05 +00:00
Dan Williams
76a78cba54 2006-10-24 Dan Williams <dcbw@redhat.com>
* src/vpn-daemons/nm-dbus-vpnc.c
		- (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
			pending call tracker
		- (nm_dbus_vpn_connections_update_cb): unregister pending call in
			pending call tracker; register one-vpn-connection update pending
			call in pending call tracker
		- (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
			update pending call in pending call tracker
		- (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
			update pending call in pending call tracker; don't block waiting
			for call to return


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2082 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-10-25 02:42:18 +00:00
Robert Love
225461bbd3 2006-10-19 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
	  refresh the cache.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2071 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-10-19 20:43:15 +00:00
Dan Williams
a476cd8efd 2006-10-14 Dan Williams <dcbw@redhat.com>
* src/dhcp-manager/nm-dhcp-manager.c
		- (get_ip4_string, get_ip4_uint32s): have the caller pass
		the dbus connection and the device object path rather than
		constructing it inside both functions.  Saves a bit of memory
		and clarifies a failure path.
		- (nm_dhcp_manager_get_ip4_config): grab the dbus connection
		and allocate device path here rather than each of the two
		functions above.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2065 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-10-14 13:56:38 +00:00
Dan Williams
5270567ae6 2006-10-13 Dan Williams <dcbw@redhat.com>
* src/NetworkManager.c
		- (nm_name_owner_changed_handler): handle NMI coming and going,
		this somehow droppout in the refactor


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2064 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-10-14 12:50:20 +00:00
Dan Williams
c1c40e425d Fix double-space in warning message
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2063 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-10-14 12:46:16 +00:00
Dan Williams
23b6aece94 Add cvsignore file
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2062 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-10-14 12:43:01 +00:00
Dan Williams
84678fc9fe 2006-10-13 Dan Williams <dcbw@redhat.com>
* Huge DBus refactor:
		- Create a "DBus Manager" object which manages the connection and
		sends signals on NameOwnerChanged and connection/disconnection events,
		handles reconnection to the bus if NM gets kicked off, and abstracts
		signal handling
		- Remove DBusConnection members from places where they are no
		longer needed due to the refactor, like the dbus-connection
		property of the named manager, and from NMData
		- Reformats a bunch of the code to gnome style
		(8-space tabs, braces on same line as statement, 80-col width).
		Consider it open season to reformat any bits to gnome style.
		style that aren't already.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2061 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-10-13 19:41:47 +00:00
Dan Williams
129d0ca46d 2006-10-13 Dan Williams <dcbw@redhat.com>
* src/supplicant-manager/Makefile.am
		- Add new files

	* src/supplicant-manager/nm-supplicant-manager.[ch]:
		- Make it a minimal GObject

	* src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
		- Verify settings destined for wpa_supplicant

	* src/supplicant-manager/nm-supplicant-connection.[ch]:
		- Minimal GObject to track wpa_supplicant controlled device
		connections


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2060 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-10-13 19:36:38 +00:00
Dan Williams
4af9c4d9a1 Do GET_PRIVATE like most other GObjects
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2059 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-10-13 19:27:56 +00:00
Dan Williams
4c75ec35eb 2006-10-01 Dan Williams <dcbw@redhat.com>
* src/vpn-manager/nm-vpn-manager.c
		- (nm_vpn_manager_load_services): split and clean up
		for readability and correctness.  Restrict VPN service
		files to ending in ".name", as was meant from the
		beginning (but not coded in).  Better error reporting.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2044 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-10-02 00:43:31 +00:00
Dan Williams
98465c40dd Update pending call limits on applet & NM
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2035 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-09-21 00:39:36 +00:00
Dan Williams
cb7ca51e0a Spacing fix
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2031 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-09-20 15:02:13 +00:00
Dan Williams
d99d3d98e0 2006-08-24 Dan Williams <dcbw@redhat.com>
* configure.in
	  src/Makefile.am
	  src/supplicant-manager/Makefile.am
	  src/supplicant-manager/nm-supplicant-manager.c
	  src/supplicant-manager/nm-supplicant-manager.h
		- Add skeleton bits of the wpa_supplicant manager


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1990 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-08-24 14:29:11 +00:00
Dan Williams
1e28384c62 2006-08-24 Dan Williams <dcbw@redhat.com>
Patch from Ed Catmur:
	* src/NetworkManagerUtils.c
		- (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
		if netmask is 0 (Gnome #352634)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1987 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-08-24 11:01:37 +00:00
Robert Love
bd9d434c63 2006-08-17 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
	  package is now DBUS-enabled and listens for the NM signals.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1969 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-08-17 16:10:28 +00:00
Dan Williams
e0a4c1e5fe 2006-08-14 Dan Williams <dcbw@redhat.com>
Patch from Alex Smith <alex.extreme2@gmail.com>
	* configure.in
	  src/backends/Makefile.am
	  src/backends/NetworkManagerFrugalware.c
		- Add support for Frugalware


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1958 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-08-14 15:06:34 +00:00