- 03 Mar, 2006 3 commits
-
-
Robert Love authored
* 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
-
Dan Williams authored
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
-
Robert Love authored
Remove stray debugging code. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1541 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
-
- 02 Mar, 2006 8 commits
-
-
Robert Love authored
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
-
Dan Williams authored
* 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
-
Robert Love authored
* 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
-
Robert Love authored
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
-
Robert Love authored
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
-
Kjartan Maraas authored
* 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
-
Raphael Higino authored
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1534 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
-
Raphael Higino authored
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1533 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
-
- 01 Mar, 2006 6 commits
-
-
Rodrigo Moya authored
* 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
-
Dan Williams authored
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
-
Dan Williams authored
* 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
-
Dan Williams authored
* 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
-
Dan Williams authored
* 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
-
Chris Aillon authored
* 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
-
- 28 Feb, 2006 17 commits
-
-
Dan Williams authored
* 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
-
Miloslav Trmac authored
* cs.po: Updated Czech translation. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1525 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
-
Robert Love authored
* 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
-
Robert Love authored
dbus_free() is for the bees. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1523 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
-
Robert Love authored
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
-
Ilkka Tuohela authored
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1521 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
-
Dan Williams authored
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1520 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
-
Dan Williams authored
* 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
-
Chris Aillon authored
* 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
-
Ilkka Tuohela authored
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1517 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
-
Robert Love authored
* gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1516 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
-
Robert Love authored
* libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c, gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS deserializers are responsible for freeing the returned DBUS strings. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1515 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
-
Robert Love authored
* libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-psk.c: Fix FIXMEs: Callers of the DBUS deserializers are responsible for freeing the returned DBUS strings. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1514 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
-
Robert Love authored
Add --pid-file help to --help git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1513 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
-
Clytie Siddall authored
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1512 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
-
Chris Aillon authored
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1511 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
-
Chris Aillon authored
* src/nm-device-wireless-802-11.c: The scan list is being pruned prematurely. We should prune after the device has gone MIA for three scans, not one. Split out the interval to realtime seconds function to better serve this. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1510 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
-
- 27 Feb, 2006 6 commits
-
-
Robert Love authored
* dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c: Open the pid file O_TRUNC, so if it already exists we truncate it to zero length. Also, be more verbose about warnings generated during writing out the pid file. Finally, always write out the pid file if in daemon mode. Use "--pid-file" to override the default. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1509 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
-
Robert Love authored
* dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c: Open the pid file O_TRUNC, so if it already exists we truncate it to zero length. Also, be more verbose about warnings generated during writing out the pid file. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1508 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
-
Robert Love authored
* src/vpn-manager: misc. stuff git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1507 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
-
Robert Love authored
Patch by R. Vinay <rvinay@novell.com>: * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key 'last_attempt_success' when removing a VPN connection, too. (Fixes Novell bug #153628). git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1506 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
-
Robert Love authored
* gnome/applet/applet.glade: Set "activates_default" on passphrase entry so user can hit <ENTER> after entering passphrase (Novell bug #153738). git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1505 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
-
Robert Love authored
* src/.cvsignore: add nm-crash-logger git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1504 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
-