Commit Graph

15047 Commits

Author SHA1 Message Date
Dan Williams
6392fe3fdf Fix up spacing.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1773 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-28 03:30:44 +00:00
Funda Wang
9cbc1782c7 Updated NetworkManager zh_CN translation.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1772 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-28 03:07:39 +00:00
Nicolas Trangez
4202ba0ea1 2006-05-26 Nicolas Trangez <eikke@eikke.com>
* src/NetworkManager.c: use GOptions instead of getopt
	* configure.in: bump glib required version to >= 2.6 for GOption
	  support


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1771 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-28 02:55:44 +00:00
Funda Wang
291bfd7993 Updated NetworkManager zh_CN translation.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1770 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-27 15:37:19 +00:00
Clytie Siddall
ac6f9d6a1d vi.po: Updated Vietnamese translation.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1769 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-26 11:32:26 +00:00
Robert Love
33aec50e50 2006-05-25 Robert Love <rml@novell.com>
* src/nm-device.h: Introduce nm_ioctl_info(), which defines to
	  nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
	  instead of dumping ifdef's throughout the code.
	* src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
	  src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
	  use nm_ioctl_info() in lieu.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1768 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-25 22:37:41 +00:00
Robert Love
61dae6e438 * libnm-util/cipher-wep-passphrase.c: Include config.h to get HAVE_GCRYPT
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1767 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-25 22:26:32 +00:00
Robert Love
8d78492fda 2006-05-25 Robert Love <rml@novell.com>
Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
	* libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
	  not using gcrypt.  Otherwise, we get a linker error.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1766 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-25 20:32:10 +00:00
Robert Love
0048177124 2006-05-25 Robert Love <rml@novell.com>
Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
	* configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
	  configure flag to disable building of the GNOME-based applet.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1765 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-25 20:28:48 +00:00
Robert Love
3c1f5a04c5 2006-05-25 Robert Love <rml@novell.com>
* gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
	  parameter from link, because it shadows a global variable with some
	  older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
	  should never have exported to the entire system a common four letter
	  word.  But we here at NetworkManager are team players.  Fixes
	  GNOME bug #336532.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1764 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-25 20:18:02 +00:00
Arangel Angov
bd1c41a376 Added 'mk.po' to configure.in <arangela@cvs.gnome.org>
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1762 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-25 17:41:40 +00:00
Arangel Angov
33f3364a19 Updated Macedonian Translation by Jovan Naumovski, <arangela@cvs.gnome.org>
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1761 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-25 17:36:35 +00:00
Robert Love
98192881d3 2006-05-24 Robert Love <rml@novell.com>
* examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
	  gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
	  src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1760 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-24 15:53:07 +00:00
Robert Love
f560d48b7d 2006-05-24 Robert Love <rml@novell.com>
* gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
	  libnm-util/Makefile.am, src/Makefile.am,
	  vpn-daemons/openvpn/auth-dialog/Makefile.am,
	  vpn-daemons/openvpn/properties/Makefile.am,
	  vpn-daemons/pptp/auth-dialog/Makefile.am,
	  vpn-daemons/pptp/properties/Makefile.am,
	  vpn-daemons/vpnc/auth-dialog/Makefile.am,
	  vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
	  user passed for --datadir, if anything, when setting the GNOME locale
	  directory.  It should be a function of the specified datadir and not
	  the prefix.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1759 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-24 15:08:22 +00:00
Robert Love
a4ac9ec0fb 2006-05-24 Robert Love <rml@novell.com>
* gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
	  src/NetworkManager.c: Take care to call bindtextdomain with the
	  location of msgid files.
	* src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
	  files.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1758 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-24 14:16:48 +00:00
Robert Love
e8f14d0ffc 2006-05-22 Robert Love <rml@novell.com>
* src/nm-device-802-11-wireless.c: Don't chain up to the parent's
	  stage4_timeout on failure unless the wireless network is Ad-Hoc.
	  99% of the time there is a real problem with wireless, and a
	  seemingly successful connection via Zeroconf just confuses the user.
	  And that 1% of the time the network is probably Ad-Hoc, anyhow.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1757 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-22 21:24:19 +00:00
Robert Love
628bc77f10 2006-05-22 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
	  autofs on interface up if NIS is configured.  On interface down, do
	  nothing.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1756 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-22 15:24:04 +00:00
Robert Love
acfed9816e 2006-05-22 Robert Love <rml@novell.com>
* gnome/applet/applet.c: Zero out the icon pointers before we set them,
	  to avoid calling g_object_unref() on stale pointers on error in
	  nma_icons_free().  This happens because we short-circuit loaded the
	  icons on the first failure but then free all icons.  Normally we have
	  no issue because the icons were zero'ed out malloc, but we have stale
	  pointer data after nma_icon_theme_changed().
	* gnome/applet/main.c: Return error code if nma_new() failed.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1755 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-22 15:17:51 +00:00
Dan Williams
6b8371c73e 2006-05-21 Dan Williams <dcbw@redhat.com>
* src/nm-vpnc-service.c
		- Better rekey patch; honor user-specified interval but default
			to 2 hours if unspecified


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1754 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-21 20:28:25 +00:00
Dan Williams
1048e9b068 2006-05-21 Dan Williams <dcbw@redhat.com>
* configure.in: bump version to 0.7.0 to match NM HEAD


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1753 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-21 20:17:56 +00:00
Dan Williams
5cb20bf190 2060-05-21 Dan Williams <dcbw@redhat.com>
* initscript/NetworkManager.in
		- Ensure both dhcdbd and named are started before NM


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1752 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-21 20:09:21 +00:00
Dan Williams
c79d2023f9 2006-05-21 Dan Williams <dcbw@redhat.com>
* configure.in
		- Bump version to 0.7 to signify we are in 0.7 development


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1751 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-21 19:48:22 +00:00
Dan Williams
5cca5920e0 2006-05-21 Dan Williams <dcbw@redhat.com>
Patch from Adam Schreiber <sadam@clemson.edu>
	* gnome/vpn-properties/nm-vpn-properties.c
		- (main): correct Gnome program name  (gnome.org #342498)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1750 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-21 17:50:25 +00:00
Dan Williams
bc52f21f37 2006-05-21 Dan Williams <dcbw@redhat.com>
Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>

	* src/NetworkManagerDbus.[ch]
		- nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
			clarify that function's argument should be an escaped dbus object
			path, and look for path segment end before returning a match
	* src/nm-dbus-nm.c:
		- Fix up users of nm_dbus_get_device_from_escaped_object_path()


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1749 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-21 17:28:02 +00:00
Dan Williams
28e809b751 Bump version to 0.6.2
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1748 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-19 13:58:13 +00:00
Robert Love
0941a4059b update .cvsignore files
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1744 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-17 21:31:00 +00:00
Robert Love
12e183cced * src/nm-device-802-11-wireless.c: Lentils.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1743 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-17 21:27:34 +00:00
Robert Love
27e78ebd39 * src/nm-device-802-11-wireless.c: Whoops!
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1742 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-17 21:24:25 +00:00
Robert Love
8b11dc086a 2006-05-17 Robert Love <rml@novell.com>
Functionality to differentiate Ad-Hoc networks from infrastructure
	networks in the applet, by displaying a special icon:
	* gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
	* gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
	* gnome/applet/menu-items.c: Set a special icon in the scan list for
	  ad-hoc networks.  TODO: Add a third icon representing "encrypted and
	  Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
	  networks, encrypted or not.
	* gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
	  accessor functions to get and set the mode of a given network,
	  wireless_network_get_mode() and wireless_network_set_mode().


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1741 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-17 20:04:50 +00:00
Robert Love
b428d9d8a2 2006-05-17 Robert Love <rml@novell.com>
Functionality to automatically add BSSIDs to the allowed-MAC list as
	one roams from access point to access point on a given network:
	* src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
	  helper function to compare two ether_addr structures and return TRUE
	  if they contain the same MAC address.
	* src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
	  prototype.
	* src/nm-device-802-11-wireless.c: New function to update the BSSID
	  stored with the current AP.  If the BSSID has indeed changed, we
	  send it out to the applet, allowing the allowed-MAC list to grow
	  automatically in response to roaming.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1739 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-17 15:02:57 +00:00
Robert Love
8d0012453a 2006-05-16 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs unless
	  dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1737 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-16 17:26:01 +00:00
Robert Love
e68fabc5ea src/backends/NetworkManagerSuSE.c: The var is in dhcp, not config.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1735 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-15 14:21:13 +00:00
Daniel Nylander
907ebe5876 2006-05-14 Daniel Nylander <po@danielnylander.se>
* sv.po Updated Swedish Translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1734 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-14 12:14:42 +00:00
Dan Williams
5f9f987e17 2006-05-13 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-3-ethernet.c
		- (real_get_generic_capabilities): Don't ignore devices that can't do
			carrier detect (Debian bug #366373)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1733 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-13 19:06:05 +00:00
Francisco Javier F. Serrador
517eda3bc9 2006-05-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@1732 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-12 13:41:24 +00:00
Robert Love
8628b47086 misc. bits, all trivial
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1731 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-11 21:31:43 +00:00
Robert Love
47cd0bba11 2006-05-11 Robert Love <rml@novell.com>
Patch to add OpenVPN TLS and Cipher support, by Groug <groug@free.fr>:
	* properties/nm-openvpn-dialog.glade: Add UI checkboxes.
	* properties/nm-openvpn.c: New UI.
	* src/nm-openvpn-service.c: Support "--tls-auth" and "--cipher"
	  OpenVPN options.
	* src/nm-utils.c: Add nm_find_openvpn(), exported function for finding
	  the location of the OpenVPN binary.
	* src/nm-utils.h: Add prototype.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1730 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-11 17:19:17 +00:00
Robert Love
1af2d8f0af po/.cvsignore: Update.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1729 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-11 16:18:42 +00:00
Dan Williams
15a5def1ee 2006-05-11 Dan Williams <dcbw@redhat.com>
Patch from Michael Biebl <biebl@teco.edu>
	* src/backends/NetworkManagerDebian.c
		- Debian backend fixups


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1727 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-11 15:26:58 +00:00
Robert Love
3359a3f374 vim7 does spell checking !@!
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1726 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-10 21:00:25 +00:00
Robert Love
c2872a8b6b 2006-05-10 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1725 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-10 14:38:44 +00:00
Robert Love
0e5527128e Header fix.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1724 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-09 15:22:25 +00:00
Robert Love
e8942d502a 2006-05-09 Robert Love <rml@novell.com>
* gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
	  private certificate passphrase, if any, in the GNOME Keyring.
	* libnm-utils/dbus-helpers.c: Update.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1723 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-09 15:06:41 +00:00
Ilkka Tuohela
884f13f2bf Updated Finnish translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1722 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-06 07:53:57 +00:00
Dan Williams
8495eeca54 2006-05-05 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
		- (nm_device_802_11_wireless_set_wep_enc_key): convert to
			nm_device_802_11_wireless_disable_encryption() since that's all
			we use it for anymore; we don't ever set WEP keys ourselves.
		- (real_deactivate_quickly): reset SSID and encryption keys
		- (real_deactivate): move SSID and encryption key reset to
			real_deactivate_quickly(), which gets run before us anyway


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1721 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-05 20:42:48 +00:00
Robert Love
2bd178e259 ChangeLog: reindent
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1720 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-05 19:43:35 +00:00
Robert Love
f1fb0b5e24 2006-05-05 Robert Love <rml@novell.com>
* src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
	  root has a wacky default of its own (or, more common, a user has a
	  bad umask and uses su/sudo to restart NetworkManager).  Anything other
	  than 0022 does not do what we want with, for example, resolv.conf.  This
	  problem is amplified by our judicious use of fopen(), which uses mode
	  0666 -- implying that the only way to get the permissions we want is
	  with a umask of 0022.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1719 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-05 19:42:20 +00:00
Dan Williams
8a2815e4ac 2006-05-05 Dan Williams <dcbw@redhat.com>
* gnome/libnm_glib/libnm_glib.c
		- Don't suck CPU when dbus isn't around by scheduling idle handlers
			to reconnect; instead wait a bit more with each reconnect attempt
			up to a max of one minute.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1718 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-05 15:36:46 +00:00
Ryan Lortie
ad87e09b84 2006-05-04 Ryan Lortie <desrt@desrt.ca>
* gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
	  the WirelessNetwork structure using the proper function instead of
	  just casting it directly to (const char *) (gnome.org #336991)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1717 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-04 15:32:45 +00:00
Robert Love
3b3af29576 2006-05-03 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: Respect the variable
	  dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
	  config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
	  to dynamically update /etc/resolv.conf.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1716 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-03 19:29:15 +00:00