Commit Graph

15047 Commits

Author SHA1 Message Date
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
Robert Love
6be7176a14 2006-03-06 Robert Love <rml@novell.com>
* NetworkManager.pc.in:  Provide an -I to the NetworkManager include
	  directory in CFLAGS so developers can actually use NetworkManager.h.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1560 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-06 21:41:05 +00:00
Robert Love
1b3aea6b02 2006-03-06 Robert Love <rml@novell.com>
* src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
	  open-coded integer constants.  Add state_to_string() to map a given
	  state to a textual description, and provide that when notifying of
	  state change.
	* src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
	  states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
	  this header directly, but it is currently not installed on most
	  systems.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1559 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-06 20:21:19 +00:00
Vincent van Adrighem
6d1d226db8 2006-03-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@1558 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-06 19:34:22 +00:00
Robert Love
0c6a2b69fd Fix make distcheck: Reference nm-marshal.list in $(srcdir), not the build dir.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1557 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-06 17:00:40 +00:00
Robert Love
cc8a193b8e Misc. cleanup
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1556 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-06 15:03:41 +00:00
Dan Williams
a5919b696c 2006-03-05 Dan Williams <dcbw@redhat.com>
Process netlink messages in device subclasses rather than in
	NetworkManager.c.  Also add support for recognizing Wireless Events.

	* configure.in
		- Find GLIB_GENMARSHAL

	* src/Makefile.am
		- Since we're marshalling custom types for wireless event signals,
			we get to create our own marshallers using GLIB_GENMARSHAL

	* src/NetworkManager.c
		- (nm_monitor_wired_link_state): renamed to nm_monitor_setup
		- (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
			cut down somewhat.  We no longer process signals here.
		- (nm_data_new): create the netlink monitor here, and remove a
			useless call to nm_policy_schedule_device_change_check()
		- (nm_data_free): get rid of the netlink monitor here
		- (nm_device_link_activated, nm_device_link_deactivated): removed
		- (main): don't create the netlink monitor here, let nm_data_new
			do that.  Call nm_policy_schedule_device_change_check() right
			before we jump to the mainloop to figure out which device
			to use first

	* src/NetworkManagerSystem.[ch]
		- (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
			convert back and forth from interface names to interface
			indexes

	* src/nm-device-802-11-wireless.c
		- (real_init): connect to wireless-event signals from the netlink
			monitor object
		- (nm_device_802_11_wireless_event): new function, schedule handler
			for wireless event signals from the netlink monitor object.  We
			want the handler to run in the device's context
		- (wireless_event_helper): handle wireless-event signals from netlink
		- (nm_device_802_11_wireless_dispose): disconnect wireless-event
			signal handler

	* src/nm-device-802-11-wireless.h
		- remove unused prototype for nm_device_802_11_wireless_new

	* src/nm-device-802-3-ethernet.c
		- (real_init): new function; set up signal handlers for link events
		- (nm_device_802_3_ethernet_link_activated): new function, schedule
			handler for netlink link activated events on device's main loop
		- (link_activated_helper): when we get a link activated event, set
			the device's link to be active
		- (nm_device_802_3_ethernet_link_deactivated): new function; schedule
			handler for netlink link deactivated events on device's main loop
		- (link_deactivated_helper): when we get a link deactivated event, set
			the device's link to be inactive
		- (nm_device_802_3_ethernet_dispose): disconnect signal handler on
			dispose

	* src/nm-device-802-3-ethernet.h
		- remove unused prototype for nm_device_802_3_ethernet_new

	* src/nm-device.[ch]
		- (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
			but locks the device list
		- (nm_device_set_active_link): a little bit of cleanup and de-indenting

	* src/nm-netlink-monitor.[ch]
		- (nm_netlink_monitor_class_install_signals): New signal
			"wireless-event"
		- (nm_netlink_monitor_new): keep reference to NMData so we can get
			at the device list
		- (nm_netlink_monitor_event_handler): expand for wireless events too

	* src/nm-marshal-main.c
		- Include generated nm-marshal.c and nm-marshal.h

	* src/nm-marshal.list
		- List of custom marshal functions


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1555 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-06 01:10:58 +00:00
Dan Williams
adc74dfe7b Update cvsignore
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1554 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-06 00:23:22 +00:00
Dan Williams
781e99e38d More compile fixes for no libnotify case
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1553 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-05 21:40:48 +00:00
Dan Williams
b16f8eea16 Fix compile error in notification code, wasn't including config.h early enough
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1552 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-05 19:50:51 +00:00
Dan Williams
6eacb970f2 2006-03-05 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-notifications.h
		- Protect prototype of nma_send_event_notification() because it
			includes libnotify-specific types
		- Include libnotify/libnotify.h too, since we technically need it

	* gnome/applet/applet.c
		- (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
		- (nma_show_vpn_login_banner_dialog): add some error checking


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1551 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-05 18:54:19 +00:00
Žygimantas Beručka
e77a9ee808 2006-03-04 Žygimantas Beručka <zygis@gnome.org>
* lt.po: Updated Lithuanian translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1550 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-04 17:53:19 +00:00
Dan Williams
ef9674ce75 2006-03-04 Dan Williams <dcbw@redhat.com>
Clean up activation cancellation.  Should be a lot faster now.  Observed
	an issue with wireless devices between stage 2 and 3 of activation, where
	activation would be cancelled, but the device thread wouldn't notice until
	the supplicant association timed out.  Reorganize activation such that
	a cancellation handler gets immediately scheduled in the device's thread,
	and devices have a chance to perform any custom cleanup too.

	* src/nm-device.[ch]
		- (activation_cancel_handler): new device-type-specific function
			for cleaning up device-type-specific stuff on cancellation
		- (cancel_activation): removed
		- (nm_device_activation_cancel): subsume functionality of
			real_cancel_activation, but instead of doing anything, punt
			operation to a handler that's run in device-thread context
		- (nm_device_schedule_activation_handle_cancel): fix spelling of
			a warning message
		- (activation_handle_cancel_helper): cancellation handler run in
			device-thread context, calls device-type-specific cancelation,
			then tears down the activation request
		- (real_activation_cancel_handler): generic cancellation handler,
			deals with cancelling any in-process DHCP request
		- (nm_device_activate_stage1_device_prepare,
		   nm_device_activate_stage2_device_config,
		   nm_device_activate_stage3_ip_config_start,
		   nm_device_activate_stage4_ip_config_get,
		   nm_device_activate_stage4_ip_config_timeout,
		   nm_device_activate_stage5_ip_commit): don't call
			nm_device_schedule_activation_handle_cancel() any more, since
			cancellation will have been already scheduled for us by
			nm_device_activation_cancel().  Just exit the function and
			assume that the cancel handler will be called next.

	* src/nm-device-802-3-ethernet.c
		- (real_act_stage2_config): remove; didn't do anything anyway

	* src/nm-device-802-11-wireless.c
		- (supplicant_status_cb): ensure we don't do anything if the activation
			got cancelled
		- (real_activation_cancel_handler): implement; cancel user key request
			on activation cancellation


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1549 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-04 06:44:05 +00:00
Dan Williams
8c5ef3b423 2006-03-04 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
		- (supplicant_send_network_config): assume that drivers that don't
			support WPA pretty much suck, and can't handle NM scanning
			along with wpa_supplicant.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1548 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-04 06:20:42 +00:00
Dan Williams
e4cb569ff3 Fix debug messages that print duplicate function names
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1546 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-04 05:01:57 +00:00
Robert Love
94dfb30e75 2006-03-03 Robert Love <rml@novell.com>
* configure.in: Bump version to 0.6.0.
	* NEWS: Update.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1544 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-03 20:34:13 +00:00
Robert Love
63c82d4edf 2006-03-03 Robert Love <rml@novell.com>
* configure.in: Require DBUS 0.60 or later.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1543 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-03 19:43:05 +00:00
Dan Williams
f5876bbd07 2006-03-03 Dan Williams <dcbw@redhat.com>
Fix a crash if an "Other wireless network" was chosen, failed, then
	chosen again from the applet's menu.  If the other network wasn't
	noticed in a scan, it wouldn't have any capabilities, but would still
	be listed because the user forced the network.  To fix this, we set
	sensible capabilities on the forced network, which will get overwritten
	with the correct ones if the network shows up later in a scan.

	* src/nm-ap-security.h
		- Add a new "get_default_capabilities_func" member to the
			NMAPSecurity class

	* src/nm-ap-security.c
		- (nm_ap_security_get_default_capabilities): new function

	* src/nm-ap-security.c
	  src/nm-ap-security-wep.c
	  src/nm-ap-security-wpa-psk.c
	  src/nm-ap-security-wpa-eap.c
		- Implement get_default_capabilities_func() for all, which
			uses the information contained in a specific NMAPSecurity
			object to determine default AP capabilites necessary
			to support that object

	As a secondary measure, we now prune artificial access points that fail
	to be activated right away.  The thing failed, and we have no scan data for
	it, so it's pretty much useless since security information is only saved
	in the applets when a connection is successful.

	* src/NetworkManagerAPList.c
		- (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
			not artificial.  If we see it, it's no longer a figment of the
			user's imagination :)

	* src/NetworkManagerPolicy.c
		- (nm_policy_activation_failed): send along the failed AP if we
			have it

	* src/nm-device-802-11-wireless.c
		- (real_activation_failure_handler): remove artificial APs from
			the device list, because activation failed


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1542 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-03 17:46:35 +00:00
Robert Love
bf4c96104d Remove stray debugging code.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1541 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-03 15:51:30 +00:00
Robert Love
e92a2cc651 2006-03-02 Robert Love <rml@novell.com>
Add support for retrieving both the per-device speed and the
	per-network maximum supported rate.  Then change the getProperties
	DBUS API for both networks and devices to report this informaiton.
	Finally, display the information via both nm-applet and nm-tool:
	* gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
	  and set it.
	* gnome/applet/applet.c: Display the device's speed in the 'Connection
	  Information' dialog.
	* gnome/applet/applet.glade: Update the UI to show per-device speed.
	* gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
	  network_device_get_speed() and network_device_set_speed() for
	  retrieving and setting, respectively, a network device's current
	  speed.
	* src/nm-dbus-device.c: Send the device's speed on getProperties.
	* src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
	  in the function nm_device_802_11_wireless_get_bitrate() -- it does
	  not matter (yet) what the units are, because we only feed it its own
	  output.  Implement SIOCGIRATE and set the per-network maximum
	  supported rate during scanning.
	* src/nm-device-802-11-wireless.h: Export the function
	  nm_device_802_11_wireless_get_bitrate().
	* src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
	  function nm_device_802_3_ethernet_get_speed() for returning an
	  802.3's current speed, in Mb/s.
	* test/nm-tool.c: Display the per-device current speed, if available,
	  and the per-network maximum rate.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1540 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-02 23:01:33 +00:00
Dan Williams
044ab2ee83 2006-03-02 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
		- (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
			card when it gets initialized.  Since devices don't get added to
			the scan list until they are initialized, this function wasn't
			setting the intitial scan interval correctly, and was leaving
			it at 0.  This caused cards to get many scan requests in a short
			amount of time when they were initialized


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1539 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-02 22:25:43 +00:00
Robert Love
a0281d0e8c 2006-03-02 Robert Love <rml@novell.com>
* gnome/applet/applet.c: Do not set the pixbuf if we don't have an
	  active device.  But do not do what we used to do and override the
	  state, which caused the dreaded icon race of '05.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1538 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-02 20:51:13 +00:00
Robert Love
b8f2200c7f 2006-03-02 Robert Love <rml@novell.com>
Commit Dan's update of my previous commit:
	* src/nm-device-802-11-wireless.c: Always set the mode, because the
	  set_mode() function itself does the check.  But do only set the
	  frequency if in Ad-Hoc mode.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1537 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-02 19:19:27 +00:00
Robert Love
90819aa320 2006-03-02 Robert Love <rml@novell.com>
Patch by Brian Magnuson <magnuson@rcn.com>:
	* src/nm-device-802-11-wireless.c: During scanning, only set the wireless
	  mode to infrastructure if it is not currently in infrastructure mode.
	  For some driver, setting the mode is a costly operation, apparently.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1536 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-02 15:06:27 +00:00
Kjartan Maraas
c7e1bd54f1 2006-03-02 Kjartan Maraas <kmaraas@gnome.org>
* POTFILES.in: Add two missing files.
	* nb.po: Updated Norwegian bokmål translation.
	* no.po: Same.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1535 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-02 11:59:30 +00:00
Raphael Higino
254725e53c Added Brazilian Portuguese translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1534 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-02 03:23:22 +00:00
Raphael Higino
7afc0acd39 Updated Brazilian Portuguese translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1533 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-02 03:12:18 +00:00
Rodrigo Moya
3204a3b63d 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
* Makefile.am: use the correct dir for autostart mechanism.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1532 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-01 16:51:38 +00:00
Dan Williams
a6be234a31 2006-02-28 Dan Williams <dcbw@redhat.com>
Patch from Brian Magnuson <magnuson@rcn.com>
	* gnome/applet/applet.c
		- (nma_show_vpn_failure_dialog): fix errors left over from
			libnotify support changes


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1531 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-01 04:39:38 +00:00
Dan Williams
a282f30842 2006-02-28 Dan Williams <dcbw@redhat.com>
* src/vpn-manager/nm-vpn-act-request.[ch]
		- (nm_vpn_act_request_is_activated): don't use a switch/case for
			just one value
		- (nm_vpn_act_request_is_failed): new function; return whether or
			not the vpn activation request has failed

	* src/vpn-manager/nm-vpn-manager.c
		- (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
			daemon to kill the connection when the activation request fails.
			Fixes issue where NM would get confused if the VPN activation
			request timed out, and would not allow further VPN connections
			on that service.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1530 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-01 04:12:35 +00:00
Dan Williams
15a6f01743 2006-02-28 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet.c
		- (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
			overlapping connection requests, disable all VPN menu items
			but the active VPN connection


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1529 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-01 03:24:09 +00:00
Dan Williams
911b3a9193 2006-02-28 Dan Williams <dcbw@redhat.com>
* src/vpn-manager/nm-vpn-connection.c
		- (nm_vpn_connection_set_parent_device): fix C&P error which
			called g_object_unref() on the connection's parent device
			when it should have been ref-ed instead.  Fixes crash with
			repeated vpn connect requests


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1528 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-01 03:22:47 +00:00
Christopher Aillon
e67bb485bd 2006-02-28 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet.glade:
	Mark a few strings non-translatable, since they shouldn't be.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1527 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-01 00:19:20 +00:00
Dan Williams
74bfa2b3c0 2006-02-28 Dan Williams <dcbw@redhat.com>
* src/vpn-manager/nm-vpn-service.c
		- (nm_vpn_service_start_connection): if the vpn service daemon is
			already running, don't blindly ask it to connect, but wait until
			it's in the STOPPED state first.  Fixes an assertion when user
			starts a second vpn connection without stopping the first.
		- (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
			dbus service exists before continuing with the connection
			process, and reduce latency while waiting for it to become
			available
		- (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
			waiting for the vpn service daemon to become available
		- General log message cleanups; show progress via "Stage x of 4"
			rather than not telling anyone how many stages there are


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1526 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-28 22:20:32 +00:00
Miloslav Trmac
8f054244e2 2006-02-28 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1525 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-28 21:43:35 +00:00
Robert Love
97962aac1a 2006-02-28 Robert Love <rml@novell.com>
* src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
	* src/backends/NetworkManagerSuSE.c: Implement the interface
	  nm_system_should_modify_resolv_conf() for SUSE.
	* src/backends/NetworkManagerDebian.c,
	  src/backends/NetworkManagerGentoo.c,
	  src/backends/NetworkManagerRedHat.c,
	  src/backends/NetworkManagerSlackware.c: Add stub.
	* src/named-manager/Makefile.am: Grab includes from src.
	* src/named-manager/nm-named-manager.c: Allow backends to disable the
	  automatic updating of resolv.conf.  This is useful for testing,
	  broken static configurations, and administrator lock-down.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1524 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-28 21:41:16 +00:00
Robert Love
383b3161e4 dbus_free() is for the bees.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1523 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-28 20:48:17 +00:00
Robert Love
8a98f605bc Yah, so, we don't want those dbus_free() calls.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1522 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-28 20:47:44 +00:00
Ilkka Tuohela
0a0ec18e7b Added Finnish translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1521 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-28 20:35:57 +00:00
Dan Williams
2489b982ba Make wpa_supplicant logging GSource low priority
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1520 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-28 20:25:04 +00:00
Dan Williams
c624a36ee8 2006-02-28 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
		- Move all the wpa_supplicant-related management stuff into its
			own struct, just for oranization's sake
		- (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
			to a GIOChannel/GSource
		- (supplicant_log_stdout): new function; grab output from the
			wpa_supplicant stdout pipe and write it to our logs.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1519 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-28 20:13:56 +00:00
Christopher Aillon
42d5ee0eeb 2006-02-27 Christopher Aillon <caillon@redhat.com>
* src/nm-device-802-11-wireless.c:
	Err, fix thinko in my previous commit.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1518 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-28 20:11:46 +00:00