Commit Graph

21088 Commits

Author SHA1 Message Date
Christopher Aillon
ff296fdf61 2006-03-24 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet-notifications.c:
	When displaying a notification, make sure to get rid of the
	previous notification so as to not have competing bubbles,
	and stop leaking the old one.

	* gnome/applet/applet.c:
	* gnome/applet/applet.h:
	Add a new 'notification' member to the applet, and zero it out
	and free it appropriately.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1635 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-24 14:55:40 +00:00
Francisco Javier F. Serrador
deb66e629a 2006-03-23 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1634 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-23 20:06:49 +00:00
Robert Love
89f9c4a17e 2006-03-23 Robert Love <rml@novell.com>
Patch by j <j@bootlab.org>:
	* gnome/applet/applet.glade: Don't set the invisible_char property,
	  which simply overrides the GTK default.  By and by, this behavior
	  ought to be fixed in Glade.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1633 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-23 15:15:45 +00:00
Robert Love
e11881bccc 2006-03-22 Robert Love <rml@novell.com>
* src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1632 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-22 21:43:43 +00:00
Robert Love
aeec0b1d89 Don't hardcode the zero. The key type is NM_AUTH_TYPE_WPA_PSK_AUTO.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1631 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-22 21:26:58 +00:00
Robert Love
2edcffb40e 2006-03-22 Robert Love <rml@novell.com>
Bug fix by Timo Hoenig <thoenig@suse.de>:
	* gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
	  disconnect.  Otherwise, we have the daemon surviving DBUS restarts
	  and the applet going AWOL.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1630 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-22 21:17:07 +00:00
Robert Love
a82dd957f6 2006-03-22 Robert Love <rml@novell.com>
* src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
	  preprocessor define and use it instead of open-coded the DHCP
	  timeout, which is currently 25 seconds, everywhere.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1629 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-22 21:08:56 +00:00
Robert Love
db98fe8137 2006-03-22 Robert Love <rml@novell.com>
Implement "Dynamic WEP", which is basically WPA authentication and WEP
	key exchange via WPA, ostensibly providing good security without
	requiring hardware that supports full WPA.  Also, add UI elements to
	allow the user to select the pairwise & group cipher for WPA Enterprise
	networks, too:
	* gnome/applet/applet.glade: Update glade file.
	* gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
	  key type, too, to and from gconf.
	* gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
	  wso_wpa_create_key_type_model(), noting whether we are handling PSK
	  or EAP configuration, and in the latter case add in "Dynamic WEP" if
	  the capabilities match.
	* gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
	  prototype.
	* gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
	  serialize from UI to DBUS.
	* gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
	  one element.
	* libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
	  nmu_security_serialize_wpa_eap_with_cipher(), and
	  nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
	  serialize/deserialize the key type via DBUS as the new third DBUS
	  parameter.
	* libnm-util/dbus-helpers.h: Update prototypes.
	* src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
	  too.  If the key type is WEP104, do Dynamic WEP, which means
	  "IEEE8021X" for "key_mgmt".  Also add support for user-specified
	  pairwise and group ciphers (fixes a FIXME).


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1628 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-22 19:52:41 +00:00
Robert Love
2a63ff03ec 2006-03-21 Robert Love <rml@novell.com>
* src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
	  nm_system_get_mtu(), which returns a user-provided or system-mandated
	  MTU value for a given device, if any, or zero if no such value
	  exists.  Add nm_system_set_mtu() to set the MTU for a given device
	  if we have a provided value.
	* src/nm-device.c: Set the MTU of devices.
	* src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
	* src/backends/NetworkManagerDebian.c,
	  src/backends/NetworkManagerGentoo.c,
	  src/backends/NetworkManagerRedHat.c,
	  src/backends/NetworkManagerSlackware.c: Implement stub functions.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1626 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-21 17:57:01 +00:00
Robert Love
f842f234c5 2006-03-21 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
	  configuration file.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1625 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-21 15:22:55 +00:00
Gabor Kelemen
461adafd7a 2006-03-21 Gabor Kelemen <kelemeng@gnome.hu>
* hu.po: Hungarian translation updated.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1622 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-21 01:07:46 +00:00
Dan Williams
5685c50f61 2006-03-20 Dan Williams <dcbw@redhat.com>
* configure.in: Bump release to 0.6


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1620 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-20 14:32:56 +00:00
Vincent van Adrighem
a37be1e29e 2006-03-19 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation updated by Tino Meinen.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1619 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-19 11:55:06 +00:00
Chris Aillon
2f7fe3a186 Add MAINTAINERS file
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1618 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-19 04:35:53 +00:00
Robert Love
46fc50fc72 seriously, where did that come from?
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1617 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-17 18:40:00 +00:00
Robert Love
1a1cda1129 2006-03-17 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
	  signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
	  it, in case it is not running in the first place.  We just want its
	  configuration reloaded.  Also, do not "rcypbind stop" on device down.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1615 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-17 18:37:46 +00:00
Robert Love
ebee615101 2006-03-17 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
	  signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
	  it, in case it is not running in the first place.  We just want its
	  configuration reloaded.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1614 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-17 15:01:37 +00:00
Žygimantas Beručka
89d0e32d16 2006-03-17 Žygimantas Beručka <zygis@gnome.org>
* lt.po: Updated Lithuanian translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1613 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-17 08:03:36 +00:00
Robert Love
71a1e7fccf * libnm-util/cipher-wep-passphrase.c: Don't need those forward
declarations.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1612 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-15 20:49:49 +00:00
Robert Love
7d8af87f15 Hex, not hex, young cheetah.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1611 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-15 20:34:13 +00:00
Robert Love
f8ad81d8bc 2006-03-15 Robert Love <rml@novell.com>
* gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
	  gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
	  label "WEP 40/128-bit" is inconsistent because the physical key size
	  is 40 or 104-bits, to which a 24-bit initialisation vector is
	  appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
	  to read "40/104" or "64/128".  I do not care much which, but most
	  users think of "silver" and "gold" encryption as 64 and 128-bits, so
	  let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
	  WEP passphrase support only handles 128-bit keys, and any future
	  64-bit passphrase support will require a new option (no way to auto-
	  detect the target key size), explicitly label our passphrase support
	  "WEP 128-bit Passphrase".


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1608 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-15 20:27:11 +00:00
Robert Love
c7e71729b7 2006-03-15 Robert Love <rml@novell.com>
* src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
	  the system init scripts (or some other mechanism) starting it (or a
	  compatible DBUS service) before NetworkManager runs.  This means that
	  distributions might need to update their init scripts.  This fixes
	  possible races and is quite a bit cleaner.
	* initscript/SUSE/networkmanager.in: Update to start dhcdbd before
	  starting the NetworkManager daemon.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1607 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-15 15:32:37 +00:00
Clytie Siddall
f7b52f76db vi.po: Updated Vietnamese translation.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1605 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-15 06:23:33 +00:00
Peter Jones
4e97221b9b - fix a race the device objects refcount during creation of the worker thread.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1603 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-14 20:51:58 +00:00
Peter Jones
efb46cb8c4 - kill an extra call to nm_device_stop(). The worker thread does this while
it's exiting, and this extra call causes it to bring the device down on
  the resume path.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1602 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-14 20:50:59 +00:00
Robert Love
f5bd3c97d7 Add back policy enforcement.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1600 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-14 16:51:53 +00:00
Robert Love
48102092b4 Don't update the policy.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1599 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-14 16:25:05 +00:00
Robert Love
e746fe5eb4 *** empty log message ***
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1598 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-14 16:02:18 +00:00
Robert Love
8c10ac7bb9 2006-03-14 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
	  before adding anything.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1597 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-14 15:31:13 +00:00
Robert Love
7228037fda 2006-03-13 Robert Love <rml@novell.com>
* gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
	  widgets, too, if they exist, in case the user hit the back button.
	  Fixes a bug where the details page contains the widgets of multiple
	  VPN modules (Novell bug #157048).


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1596 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-13 19:43:37 +00:00
Vincent van Adrighem
a0eb3c5050 2006-03-13 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation updated by Tino Meinen.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1594 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-13 18:56:06 +00:00
Robert Love
84b8e60496 2006-03-13 Robert Love <rml@novell.com>
Patch by Timo Hoenig <thoenig@suse.de>:
	* dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
	  daemon survive DBUS restarts, too.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1593 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-13 16:57:38 +00:00
Robert Love
681c00f35a rm space
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1588 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-10 20:05:44 +00:00
Robert Love
a771796641 2006-03-10 Robert Love <rml@novell.com>
* gnome/applet/applet.glade: Add toggles to show/obfuscate the
	  passphrase or key.
	* gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
	  gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
	  gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
	  in response to "toggled" signal on new toggle.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1586 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-10 16:38:42 +00:00
Robert Love
b368cf5118 2006-03-10 Robert Love <rml@novell.com>
* src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
	  serialization if strings are NULL, lest DBUS get angry.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1585 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-10 14:56:52 +00:00
Robert Love
3f6036803c shadow var
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1584 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-10 14:52:59 +00:00
Robert Love
773048ab8a 2006-03-10 Robert Love <rml@novell.com>
* src/nm-ap-security-wpa-eap.c: Don't log the password.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1582 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-10 14:19:05 +00:00
Clytie Siddall
3c4a746c6a vi.po: Updated Vietnamese translation.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1581 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-10 11:07:13 +00:00
Robert Love
a0412efe26 mark noreturn
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1580 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-09 21:52:31 +00:00
Robert Love
0968ca13a1 2006-03-09 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
	configurations.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1572 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-09 19:35:55 +00:00
Dan Williams
9e3fccf682 2006-03-09 Dan Williams <dcbw@redhat.com>
Track pending call requests in the applet, and report how many are
	outstanding, and how long each completed one takes.

	* gnome/applet/applet-dbus-devices.c
	  gnome/applet/applet-dbus-vpn.c
		- Track pending calls

	* gnome/applet/applet-dbus.[ch]
		- Remove some unused enums
		- (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
			new functions to track dbus pending calls and spit out some
			statistics about them


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1571 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-09 17:23:00 +00:00
Robert Love
9b158b1e23 configure.in: ugh.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1570 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-09 15:25:27 +00:00
Robert Love
16ad005600 2006-03-09 Robert Love <rml@novell.com>
* src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
	  nm_ap_set_timestamp() take the second and micro-second parameters as
	  direct arguments, which avoids both a dynamic memory allocation and a
	  structure-to-structure copy!  Add a new interface, the aptly named
	  nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
	  existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
	  the return from nm_ap_get_timestamp().  New users should use the new
	  nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
	  the extreme benefit to performance.
	* src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
	  src/backends/NetworkManagerSuSE.c: Use the new functions as needed.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1569 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-09 15:24:30 +00:00
Øivind Hoel
c29161e537 2006-03-09 Øivind Hoel <ohoel@cvs.gnome.org>
* nb.po: Updated Norwegian bokmål translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1568 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-09 14:49:30 +00:00
Jakub Friedl
1a5b6819ed 2006-03-08 Jakub Friedl <jfriedl@suse.cz>
* cs.po: Translation updated.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1566 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-08 21:13:42 +00:00
Robert Love
7fb8bf2eea 2006-03-08 Robert Love <rml@novell.com>
* gnome/applet/applet.glade: Hide the password entry text with
	  asterisks.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1565 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-08 18:36:13 +00:00
Robert Love
32daa1d99a 2006-03-06 Robert Love <rml@novell.com>
* src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
	  NetworkManagerRedHat.c, NetworkManagerGentoo.c,
	  NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
	  a second argument, NMData.
	* src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
	* src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
	  config files as trusted.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1564 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-08 18:33:44 +00:00
Robert Love
3cd851ed51 grammah
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1563 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-08 14:45:14 +00:00
Christopher Aillon
03d8b02778 2006-03-08 Christopher Aillon <caillon@redhat.com>
* nm-vpnc.desktop.in: Use NoDisplay=true (fixes 333854)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1562 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-08 06:38:34 +00:00
Robert Love
7bfae91c04 2006-03-06 Robert Love <rml@novell.com>
* gnome/applet/Makefile.am: Define AUTOSTARTDIR.
	* gnome/applet/applet.c: Add 'Remove' option to the right click menu,
	  to exit the applet.  As a sweet side-effect, idea courtesy of Chris
	  Rivera, detect if the applet was auto-started.  If so, ask the user
	  if he or she would like to stop automatically running the applet on
	  login.  If so, disable autostart.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1561 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-07 20:29:20 +00:00