Commit Graph

8762 Commits

Author SHA1 Message Date
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
Funda Wang
cdb34bd30f Updated Simplified Chinese translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1025 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-16 10:05:49 +00:00
James Ogley
f9f866cd3d 2005-10-15 James Ogley <james@usr-local-bin.org>
* po/en_GB.po: Updated British English translation


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1024 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-15 10:12:53 +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
Robert Love
8a0de324cf remove unused variables, labels, and a function.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1021 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-12 19:11:21 +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
Francisco Javier F. Serrador
e91071bd2b 2005-10-12 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1019 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-11 22:32:41 +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
Peter Jones
68c498246d info.linux.driver is on the physical device, not the network device's parent.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1016 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-11 16:18:12 +00:00
Marcel Telka
66e9b63130 2005-10-10 Marcel Telka <marcel@telka.sk>
* sk.po: Updated Slovak translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1015 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-10 21:22:17 +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
2916c77466 Fix warning, since warnings are treated as errors
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1011 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-10 01:25:48 +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
66beef3c7d Remove unused variables
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1009 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-09 05:10:19 +00:00
Dan Williams
d59b385719 Fix some warnings
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1008 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-09 04:46:36 +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
Robert Love
24f2d6e649 trivial text change.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1005 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-07 21:09:12 +00:00
Robert Love
fa4e8074e7 2005-10-07 Robert Love <rml@novell.com>
* gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
          gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
          src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
          test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
          appropriate


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1004 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-07 19:17:06 +00:00
Robert Love
eed1fa76e9 Add back -Wno-strict-aliasing because we type pun a /lot/. Note that you
are not supposed to mix pointers to functions and objects!!!


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1003 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-07 19:11:55 +00:00
Robert Love
7864ca262d 2005-10-07 Robert Love <rml@novell.com>
* configure.in: Change our compile flags for the betterment of mankind.
          Remove "-Wno-strict-aliasing" because we should not be doing bad
          aliasing or type punning that throws off optimizations (this is esp.
          important in gcc 4.1).  Add "-Wstrict-prototypes" because we comply
          anyhow and missing a prototype is very bad on 64-bit platforms as
          types default to int but sizeof(int) != sizeof(long), add
          "-Wmissing-prototypes" and "-Wmissing-declarations" to warn if we
          define an exported function but fail to put it in a header.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1002 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-07 17:57:10 +00:00
Christopher Aillon
0f08c505a2 2005-10-07 Christopher Aillon <caillon@redhat.com>
* nm-vpnc.desktop.in: use a category for the desktop entry.
	(Rodrigo Moya <rodrigo@novell.com>)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1001 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-07 17:38:35 +00:00
Robert Love
9a52a3ed38 2005-10-07 Robert Love <rml@novell.com>
* src/NetworkManagerWireless.c: remove stale, unused function, who goes
          by the name nm_update_device_wireless_timeouts() and once tried,
          without success, to steal my pet turtle.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1000 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-07 17:24:56 +00:00
Robert Love
1b3017ff68 2005-10-07 Robert Love <rml@novell.com>
* Cleanup prototypes: put some functions in header files and mark
          others as 'static' -- feel free to invert
        * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
          nm_vpn_manager_vpn_connection_list_copy()
        * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
          nm_vpn_service_get_dbus_connection()
        * src/vpn-manager/nm-vpn-manager.h: add prototypes for
          nm_vpn_manager_vpn_connection_list_copy()
        * src/vpn-manager/nm-vpn-service.c: Make
	  nm_vpn_service_act_request_failed() and
	  nm_vpn_service_stage2_daemon_wait() static.
        * src/vpn-manager/nm-vpn-service.h: add prototype for
          nm_vpn_service_get_dbus_connection()


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@999 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-07 17:19:28 +00:00
Christopher Aillon
75d768a24f 2005-10-06 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet.c:
	* gnome/applet/applet.h:
	* gnome/applet/icons/Makefile.am:
	Convey information about the current connection stage in the
	icons themselves instead of creating a separate progress bar.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@998 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-06 20:37:13 +00:00
Chris Aillon
968d7c90e6 Modified connecting stage icons from Diana Fong <dfong@redhat.com>
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@997 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-06 20:32:35 +00:00
Vincent van Adrighem
02a2bf2323 2005-10-06 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation updated by Tino Meinen.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@996 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-06 08:12:02 +00:00
Kjartan Maraas
c20bc5f03f 2005-10-05 Kjartan Maraas <kmaraas@gnome.org>
* nb.po: Updated Norwegian bokmål translation.
	* no.po: Same.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@995 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-05 20:28:23 +00:00
Adam Weinberger
0b786cc841 2005-10-05 Adam Weinberger <adamw@gnome.org>
* en_CA.po: Updated Canadian English translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@994 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-05 12:13:56 +00:00
Robert Love
a69781521f 2005-10-04 Robert Love <rml@novell.com>
* src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
	  convert an ether_addr structure's MAC into a string, because the
	  latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
	  versus 07:3B:04, while the former will not.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@993 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-04 18:25:24 +00:00
Robert Love
9b316c710e whitespace.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@992 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-04 15:54:04 +00:00
Robert Love
fe043ba806 2005-10-04 Robert Love <rml@novell.com>
* gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
          gnome/applet/nm-device.c, gnome/applet/nm-device.h,
          gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
          default route in the 'Connection Information' dialog, send primary
          and secondary name servers in in "getProperties" DBUS method, add
          network_device_{get,set}_{primary,secondary}_dns(),  The primary and
          secondary domain name servers are crucial pieces of information
          that a user might need in debugging a network problem.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@991 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-04 15:23:06 +00:00
Robert Love
dcf8b76309 2005-10-04 Robert Love <rml@novell.com>
* gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
          gnome/applet/nm-device.c, gnome/applet/nm-device.h,
          gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
          default route in the 'Connection Information' dialog, send default
          route in "getProperties" DBUS method, add network_device_set_route(),
          and network_device_get_route().  The Gateway is a crucial piece of
          connection-related information that a user might need in debugging a
          network problem.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@990 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-04 14:37:51 +00:00
Dan Williams
d31089ebec Remove unused members
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@989 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-04 13:27:29 +00:00
Funda Wang
7ab6f1da92 Updated Simplified Chinese translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@988 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-04 07:26:26 +00:00
Robert Love
95550db528 Ack, inadvertently committed too much. Backing out most of last commit.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@987 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-03 21:18:29 +00:00
Robert Love
fe197a06de 2005-10-03 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
          NULL.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@986 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-03 21:15:24 +00:00
Dan Williams
23b0619e4f 2005-10-02 Dan Williams <dcbw@redhat.com>
* Shorten time taken to sleep by fastpathing bits of device deactivation
		necessary for sleep.

	* Fix issue where deactivating a device might deactivate the active
		VPN connection, even if the VPN was not using the device.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@985 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-02 05:02:49 +00:00
Dan Williams
92bb1e6414 2005-10-02 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet.c
		- Adjust signal strength -> icon mapping values slightly
			(so that 51% signal doesn't show a 75% icon) by adding
			5% to the values. ex: > 5% now shows 25% icon, > 30%
			shows 50% icon, etc.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@984 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-02 04:35:33 +00:00
Robert Love
de03d96430 remove senseless cast.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@983 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-29 20:31:52 +00:00
Robert Love
2b0d83c58a 2005-09-29 Robert Love <rml@novell.com>
* src/NetworkManager.c: removed unused variable.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@982 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-29 18:44:23 +00:00
Dan Williams
0f90a04544 2005-09-28 Dan Williams <dcbw@redhat.com>
Support for named + DBus, using Red Hat DBus patches for named.  You
	can find those patches here, with "dbus" in the patch's filename:

		http://cvs.fedora.redhat.com/viewcvs/devel/bind/

	Don't forget the named dbus service file either.

	Instead of writing a config file and spawing a named process, NM will
	use an already-running dbus-enabled named if it finds one.  NM will
	update named's forwarder configuration on the fly using dbus.

	If there is no dbus-enabled named running, NM will automatically fall
	back to writing the most-recent DNS server information to /etc/resolv.conf
	and calling nm_system_update_dns() to kick the system's resolver.

	Accordingly, all named-related configure-time options have been removed.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@981 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-28 14:42:57 +00:00