Commit Graph

8762 Commits

Author SHA1 Message Date
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
Peter Jones
2579c9ef82 - allow vpnc rekeying
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1715 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-02 21:26:48 +00:00
Robert Love
5bdf83737b 2006-05-02 Robert Love <rml@novell.com>
Patch by Timo Hoenig;
	* tests/nm-online.c: Print pretty status indicator as timeout winds
	  down.  Also fix possible race between DBUS startup and failure
	  return.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1714 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-02 14:47:59 +00:00
Robert Love
a2dbccec37 2006-05-01 Robert Love <rml@novell.com>
* gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
	  empty, too.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1713 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-01 19:10:57 +00:00
joseppc
ceae0fa9e4 Added Catalan translation.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1712 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-01 05:08:58 +00:00
joseppc
ff4ce9aeee Updated Catalan translation.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1711 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-01 04:53:21 +00:00
Jeremy Katz
927d2b3394 2006-04-27 Jeremy Katz <katzj@redhat.com>
* src/nm-device.c (discover_device_type): Actually use the hal
	device type instead of ioctl poking


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1710 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-27 15:49:40 +00:00
Robert Love
fc4797caaf Default to 30, not 60, seconds.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1709 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-26 19:43:53 +00:00
Robert Love
1558cd6be3 readd?
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1707 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-26 19:34:03 +00:00
Robert Love
cdb292cc26 2006-04-26 Robert Love <rml@novell.com>
* tests/nm-online.c: New file.  Simple utility that returns exit status
	  noting whether the connection is offline or online.  If offline on
	  start, it waits 60 seconds (or a command-line given value) for an
	  online signal.  If it times out, it again returns offline.  This is
	  useful for scripts that want to wait for network connections.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1706 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-26 19:11:17 +00:00
Robert Love
71b7fcc56a 2006-04-25 Robert Love <rml@novell.com>
* src/nm-ap-security-wep.c: Bug fix: We stopped setting the
	  key mode (the authentication algorithm), e.g. open or shared, when we
	  moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
	  only shared was broken.  If the user specified a shared key, set it
	  explicitly, otherwise let wpa_supplicant go with the default.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1705 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-25 18:08:19 +00:00
Dan Williams
552a3e3bc5 2006-04-24 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
		- (nm_device_802_11_wireless_set_essid): fix setting of "any" essid


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1704 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-24 21:15:08 +00:00
Dan Williams
4a0434fa70 2006-04-24 Dan Williams <dcbw@redhat.com>
Commit the async scanning patch

	* src/nm-device-802-11-wireless.c
		- get rid of scan_mutex
		- (wireless_event_helper): act on wireless scan events
		- (real_start): schedule a pending scan
		- (link_to_specific_ap): fake the link to the AP during a scan
		- (nm_device_802_11_wireless_update_signal_strength): ignore signal
			strength during scans
		- (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
			nm_device_set_bitrate): unused with new scanning code, disable
		- (nm_device_wireless_schedule_scan): removed
		- (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
		- (request_and_convert_scan_results): new function; retrieve scan
			results from the driver and schedule the processing function
		- (scan_results_timeout): timeout triggered when card doesn't send
			a scan results wireless event during a certain interval
		- (schedule_scan_results_timeout): new function; schedule the scan
			results timeout
		- (cancel_scan_results_timeout): new function; cancel the scan
			results timeout
		- (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
			to do the scanning.  Otherwise, just request a scan but don't
			grab results here; instead schedule a timeout for scan results and
			let netlink notify us of scan completion events
		- (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
		- (cancel_pending_scan): new function; cancel a pending wireless scan
		- (supplicant_status_cb): ignore disconnect events while scanning
		- (supplicant_exec): wait a bit longer for the supplicant to start up
		- (nm_device_802_11_wireless_dispose): cancel pending scans and results
			timeouts
		- (get_scan_results): removed; folded into request_and_convert_scan_results()


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1703 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-24 21:09:38 +00:00
Dan Williams
f2042467b5 2006-04-24 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus.c
		- Disable the pending call debug stuff, seems under control now


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1702 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-24 20:49:22 +00:00
Dan Williams
a567dca2ad 2006-04-23 Dan Williams <dcbw@redhat.com>
Patch from j@bootlab.org
	* src/Makefile.am: add missing files so make distcheck works


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1701 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-23 17:45:31 +00:00
Robert Love
6fd1cc39d2 2006-04-20 Robert Love <rml@novell.com>
Fix bug where hidden ESSID's would not show up in the applet, even
	if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
	because nm_policy_device_list_update_from_allowed_list() would merge
	the data, putting a name to the hidden networks, but never notify NMI
	of the changes.  Simple fix is to invoke the function
	nm_dbus_signal_wireless_network_change() if we make a mapping.
	* src/NetworkManagerAPList.c: Call the function
	  nm_dbus_signal_wireless_network_change() if we made a successful
	  BSSID to ESSID mapping, notifying the applet of the "new" network.
	* src/NetworkManagerAPList.h: Update the prototypes for both
	  nm_ap_list_copy_essids_by_address() and
	  nm_ap_list_copy_one_essid_by_address().


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1700 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-20 20:40:25 +00:00
Robert Love
84b973fd59 2006-04-20 Robert Love <rml@novell.com>
* gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
	  not set.  Just return zero.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1697 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-20 16:05:33 +00:00
Robert Love
eae1b63a1c 2006-04-20 Robert Love <rml@novell.com>
* gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
	  only one copy of nm-vpn-properties is running at a time via the 'ol
	  X selection trick.  This prevents the user from opening two "VPN
	  Connections" windows from within the applet, which leads to mass
	  hysteria.
	* clipboard.c: New file, implementing simple X selection logic.
	* clipboard.h: New file.
	* gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1695 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-20 15:15:37 +00:00
Vincent van Adrighem
811c77c689 2006-04-20 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation updated by Tino Meinen.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1694 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-20 00:08:42 +00:00
Nicolas Trangez
8d569f052f Gentoo initscript and backend updates
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1693 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-18 17:06:03 +00:00
Robert Love
77e02f0818 2006-04-17 Robert Love <rml@novell.com>
* properties/nm-openvpn-dialog.glade: If the dialog won't let the user
	  type in the file entry GtkEntries, then don't mark them editable.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1692 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-17 17:08:56 +00:00
Kjartan Maraas
7dd1f92100 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
* nb.po: Updated Norwegian bokmål translation.
	* no.po: Remove obsolete duplicate.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1691 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-17 09:47:07 +00:00
Dan Williams
e5040768d1 2006-04-16 Dan Williams <dcbw@redhat.com>
Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
	* configure.in
	  initscript/Slackware/Makefile.am
	  initscript/Slackware/rc.networkmanager-dispatcher.in
	  initscript/Slackware/rc.networkmanager.in
		- Update slackware initscripts


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1688 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-17 02:03:09 +00:00
Ilkka Tuohela
c80a9eeb5b Updated Finnish translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1687 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-14 16:58:24 +00:00
Daniel Nylander
031ccc08e5 2006-04-12 Daniel Nylander <po@danielnylander.se>
* sv.po: Updated Swedish translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1686 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-12 19:06:24 +00:00
Alessio Frusciante
21b6abe577 Updated Italian translation.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1685 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-11 20:02:56 +00:00
Clytie Siddall
13c289c836 vi.po: Updated Vietnamese translation.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1684 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-11 09:04:34 +00:00
Robert Love
b4818d37fc Re-un-comment
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1683 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-10 20:36:09 +00:00
Robert Love
35fba3778f Nice code.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1680 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-10 20:32:43 +00:00
Robert Love
c91717e1bf 2006-04-10 Robert Love <rml@novell.com>
* properties/nm-openvpn.c: Report error if writing out of exported
	  configuration fails.  The silent treatment might work for me and my
	  wife, but not for failed I/O.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1679 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-10 20:15:31 +00:00
Robert Love
3a736cfdb6 2006-04-10 Robert Love <rml@novell.com>
* properties/nm-vpnc.c: Report error if writing out of exported
	  configuration fails.  The silent treatment might work for me and my
	  wife, but not for failed I/O.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1678 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-10 20:05:31 +00:00
Robert Love
aa93d507ad 2006-04-10 Robert Love <rml@novell.com>
* gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
	  the "delete_event" signal on the druid's parent window and handle it
	  our way, lest using the WM to close the druid results in a series of
	  bloody and ultimately lethal errors.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1677 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-10 18:45:46 +00:00
Robert Love
6685c4cf31 2006-04-10 Robert Love <rml@novell.com>
* gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
	  'Back' too or else the 'Forward' option is initially disabled despite
	  valid input.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1676 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-10 16:21:37 +00:00
Robert Love
a1346d9780 TODO: update
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1675 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-06 17:49:21 +00:00
Robert Love
cd73c091c5 2006-04-06 Robert Love <rml@novell.com>
Fix bad but simple bug where an active modem connection did not update
	NM's connection state, breaking any app that did online/offline:
	* src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
	  represented whether a dial up connection is active, or not.
	* src/nm-dbus-nm.c: Set and unset 'modem_active' in response
	  to modem activation and deactivation.
	* src/NetworkManagerDbus.c: When asked our state, do not return
	  disconnected if the modem is active.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1674 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-06 14:12:23 +00:00
Vincent van Adrighem
5b5d606e09 2006-04-06 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation added by Tino Meinen.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1673 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-06 08:25:54 +00:00