2007-04-18 Tambet Ingo * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network_cb): Update the security in allowed_ap_list AP. When a wireless device starts the connection, wpa_supplicant initiates a scan, so we always get scan results while activating. That in turn merges scan results with the ones from allowed_ap_list, loosing the security information from the user. 2007-04-16 Ihar Hrachyshka * configure.in: Added 'be@latin' to ALL_LINGUAS. 2007-04-09 Dan Williams * src/nm-device-802-11-wireless.c - (supplicant_exec): don't capture and redirect supplicant output, may be causing problems with wpa_supplicant. Instead, assume that wpa_supplicant is putting its debug output somewhere accessible - (real_act_stage2_config): start monitoring supplicant state earlier to catch fast associations 2007-04-02 Dan Williams Patch from Jean Tourrilhes * src/nm-device-802-11-wireless.c - (process_scan_results): use iwlib stream parsing to fix 64-bit value leakage issues 2007-04-02 Dan Williams Patch from Matthew Barnes * gnome/libnm_glib/libnm_glib.c - Close private connections before unreffing (gnome.org #405646) 2007-03-21 Pema Geyleg *configure.in: Added 'dz' to the list 2007-03-17 Dan Williams Consolidate common code for updating and getting the hardware address into nm-device.c. 2007-03-13 Dan Williams Patch from Tambet Ingo * src/nm-ap-security-leap.c - (nm_ap_security_leap_class_init): override default get_authentication_required - (real_get_authentication_required): LEAP requires authentication 2007-03-07 Vladimer Sichinava * configure.in: Added 'ka' to ALL_LINGUAS. 2007-03-06 Ignacio Casal Quinteiro * configure.in: Added 'gl' to ALL_LINGUAS. 2007-02-23 Dan Williams Patch from Volker Braun * NetworkManager.pc.in - Add 'libnm-util' to Requires 2007-02-23 Dan Williams Patch from Andy Whitcroft (Gnome.org #410426) * src/NetworkManagerAP.c - (add_capabilities_from_cipher): fix addition of WEP capabilities by OR-ing rather than AND-ing 2007-02-23 Dan Williams Patch from Loic Minier (Gnome.org #411155) * configure.in - Fix up AC_SUBST clutter - Get GObject library link flags * gnome/libnm_glib/Makefile.am - Link with GObject link flags 2007-02-12 Dan Williams Patch from Helmut Schaa * vpn-daemons/pptp/configure.in vpn-daemons/pptp/Makefile.am vpn-daemons/openvpn/configure.in vpn-daemons/openvpn/Makefile.am vpn-daemons/vpnc/configure.in vpn-daemons/vpnc/Makefile.am - Add --without-gnome switch which disables building gnome bits 2007-02-12 Dan Williams Better handle ipw cards and their drivers which issue quickly successive scan result notifications due to background scanning. Batch up scan result requests as a result of a notification. (already done in trunk, but differently) * src/nm-device-802-11-wireless.c - (wireless_event_helper): don't blindly request scan results; do nothing if there's already a scan result request in-progress. If not, schedule a scan result request for 5 seconds in the future. - (schedule_scan_results_timeout): new argument 'seconds', specifies how long of a timeout to schedule - (nm_device_802_11_wireless_scan): after requesting a scan, schedule the scan timeout for 10 seconds 2007-02-12 Dan Williams * src/NetworkManagerPolicy.c - (nm_policy_device_change_check): don't print out a message every time a semi-supported device is stuck with. Exacerbated by ipw cards which issue quickly successive scan result notifications, which in turn triggers a device change check, which prints the message. 2007-02-12 Dan Williams Don't wake up every 2 seconds to poke a wired device's 'carrier' file in sysfs; instead rely on netlink events. * src/nm-device-802-3-ethernet.c - (real_init): only listen for netlink link events for cards that support carrier detect. For those that don't, explicitly set link to TRUE - (probe_link, nm_device_802_3_periodic_update, real_start): removed - (real_update_link): return link = TRUE for non-carrier-detect cards, and poke sysfs' 'carrier' file for carrier-detect cards 2007-02-09 Dan Williams * src/NetworkManager.conf - Raise D-Bus pending call limit to 512 2007-02-03 Dan Williams Patch from: Volker Braun Stefan Schmidt * include/NetworkManager.h - Add options for various EAP Phase 2 auth methods * src/nm-ap-security-wpa-eap.c - Track phase2 type and send to wpa_supplicant during connection attempt * libnm-util/dbus-helpers.c - handle phase2 type 2007-02-03 Dan Williams * Remove last bits of applet; applet is now in it's own module in SVN, "network-manager-applet" 2006-12-18 Dan Williams * gnome/libnm_glib/libnm_glib.c - Change dbus_connection_close() -> dbus_connection_unref() 2006-12-18 Dan Williams Patch by Timo Hoenig : * src/NetworkManagerDbus.c (nm_dbus_init): Make it work with DBUS-1.0. 2006-12-18 Dan Williams * gnome/libnm_glib/libnm_glib.c - Change dbus_connection_close() -> dbus_connection_unref() 2006-12-02 Dan Williams Patch from Michael Biebl * man/NetworkManager.1.in man/NetworkManagerDispatcher.1.in - Add .SH NAME stanzas 2006-11-27 Dan Williams Patch from Christian Persch * gnome/applet/menu-items.c - (network_menu_item_update): use gtk_progress_bar_set_fraction() as gtk_progress_set_percentage is deprecated. Should work as far back as GTK+ 2.4. Gnome.org #379780 2006-11-25 Dan Williams Suggested by Helmut Schaa * src/vpn-daemons/nm-vpn-service.c - (supplicant_child_setup): new function - (supplicant_exec): make child process use a new process group id * src/nm-device-802-11-wireless.c - (nm_vpn_service_child_setup): new function - (nm_vpn_service_stage1_daemon_exec): make child process use a new process group id 2006-11-20 Luis Medinas Fix Gentoo Linux Initscript dependencies. * initscript/Gentoo/NetworkManager.in: 2006-11-19 Dan Williams Patch from Dan Berrange Gnome.org #377262 * gnome/vpn-properties/nm-vpn-properties.c - clean up after renamed VPN connection 2006-11-19 Dan Williams Patch from Dan Berrange Gnome.org #377205 * gnome/applet/applet-dbus-vpn.c - (nma_dbus_vpn_properties_cb): sort VPN connections * gnome/vpn-properties/nm-vpn-properties.c - (init_app): sort VPN connections 2006-11-08 Tambet Ingo * gnome/applet/wireless-security-option.c (wso_wep_auth_combo_get_auth_alg): Don't request NAME_COLUMN value and then leak it when it's never used. * gnome/applet/wireless-security-manager.c (get_active_option_from_combo): Don't request NAME_COLUMN value and then leak it when it's never used. (wsm_free): Free the glade_file member as well. * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Free the str variable. * gnome/applet/passphrase-dialog.c (nmi_passphrase_dialog_security_combo_changed): Free the result of gtk_container_get_children when done. * gnome/applet/nm-device.c (network_device_unref): Free primary_dns and secondary_dns. * src/vpn-manager/nm-dbus-vpn.c (nm_dbus_vpn_update_one_connection_cb): Do not increment the reference count of the pending call, we already own it. (nm_dbus_vpn_connections_update_cb): Ditto. * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config): Free allocatated variables when done with them. * src/backends/NetworkManagerSuSE.c (nm_system_device_get_system_config): Don't leak buf. * src/nm-netlink-monitor.c (nm_netlink_monitor_attach): Unref the source after attaching it to a context. * src/nm-device.c: Increment the reference count of activation requests when scheduling a callback with it and unreference it when done. (nm_device_set_active_link): Don't allocate an activation request that is never used for anything. (nm_device_activate_stage4_ip_config_get): Unref the ip4_config when done. (nm_device_activate_stage4_ip_config_timeout): Ditto. * src/nm-device-802-11-wireless.c: Move the scheduled callback data freeing from callback to destroy notify: Makes sure the data is freed even if the callback never has a chance to run. (supplicant_send_network_config): Free the allocated hex_essid. (nm_device_802_11_wireless_dispose): Free cur_essid. * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network_cb): Unref the security when done, nm_ap_set_security() makes a copy of it. (nm_dbus_get_network_data_cb): Free user_addresses when done, nm_ap_set_user_addresses() makes a copy of it. (nm_dbus_get_user_key_for_network_cb) Don't increment the ref count of the pending call, we already own it. (nm_dbus_get_network_data_cb): Ditto. (nm_dbus_get_networks_cb): Ditto. (nm_dbus_update_one_allowed_network): Ditto. * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Scheduled callbacks own the references to activation request, let our reference go after it's scheduled. (nm_dbus_nm_create_wireless_network): Ditto. * src/nm-activation-request.c (nm_act_request_unref): Unref the ip4_config as well. * src/NetworkManagerPolicy.c (nm_policy_schedule_activation_finish): Grab a reference to NMActRequest before scheduling it to be called later... (nm_policy_activation_finish): ... and release it in callback. (nm_policy_schedule_activation_failed): Ditto. (nm_policy_activation_failed): Ditto. (nm_policy_device_change_check): Ditto. (nm_policy_schedule_device_activation): Ditto. * src/NetworkManagerDbus.c (nm_dbus_signal_device_status_change): Use a common path for freeing all allocated variables so that everything gets freed correctly even on case of errors. * src/NetworkManagerAP.c (nm_ap_set_user_addresses): Free the old user_addresses GList. * src/NetworkManager.c (device_stop_and_free): Use nm_device_stop() instead of nm_device_deactivate() to stop the device's worker thread and remove all references to the device. (nm_data_free): Process pending mainloop events after all devices are shut down - The device stop produces the scheduling of multiple signals which steal references to devices but never have a chance to run. 2006-11-02 Tambet Ingo * src/backends/shvar.c (svCloseFile): Before freeing lineLists, free it's contents. * src/backends/NetworkManagerSuSE.c (nm_system_device_free_system_config): Free the SuSEDeviceConfigData structure itself as well. * src/nm-device.c (discover_device_type): Free the hal property string when we're done with it. * src/nm-dbus-device.c (nm_dbus_device_get_properties): Free primary_dns and secondary_dns once we're done with them. * src/NetworkManager.c (nm_data_free): Free DBUS method lists. * gnome/applet/menu-items.c (wired_menu_item_update): Free the label text after the GtkLabel is updated. * gnome/applet/applet.c (nma_menu_add_dialup_menu): Free label strings after the menu item is created. 2006-11-01 Tambet Ingo * include/NetworkManagerVPN.h: Define NM_DBUS_VPN_LAUNCH_FAILED. 2006-10-25 Dan Williams * src/nm-dbus-nm.c - (nm_dbus_nm_set_active_device): return an empty success message on success, rather than falling through to the error case. 2006-10-25 Dan Williams * src/NetworkManagerUtils.c - (nm_utils_supplicant_request_with_check): suppress messages for the "SCAN" command 2006-10-24 Dan Williams Reduce the number of times the Gnome applet wakes up, especially when it's doing absolutely nothing and is hidden. Initial patch by Chris Aillon. * gnome/applet/applet-dbus.c - (nma_dbus_filter): when NM isn't around, or when it goes away, kill the redraw timeout. When NM starts up, start the redraw timeout. Also, if we get kicked off the bus for some reason, start the reconnection timeout if one's not already running. - (nma_dbus_init): better handling of error conditions, don't leak a half-initialized dbus connection - (nma_dbus_connection_watcher): consolidate places we reinitialize the applet's data, just call nm_dbus_init_helper() - (nma_start_dbus_connection_watch): new function, starts a periodic timeout that calls nma_dbus_connection_watcher() - (nma_dbus_init_helper): if we get a successful connection, kill the reconnection timeout, and don't start the reconnection timeout unconditionally anymore * gnome/applet/applet-dbus.h - Expose nma_start_dbus_connection_watch() * gnome/applet/applet.c - (nma_update_state): no longer static, called from applet-dbus.c for immediate UI updates on certain events - (nma_set_running): new function; take over setting applet->running, when not running (ie, NM is not active), don't activate the redraw timeout because we're not showing the applet anyway. When we are running (ie, NM is active), and only when we're running, start the redraw timeout. - (nma_destroy): kill the redraw timeout by setting 'not running', and kill any reconnection timeout - (nma_get_instance): move one-off dbus initialization code here since nm_dbus_init_helper() gets called more than once, possibly by the reconnection timeout function too. And, when we start up, if we can't get a connection to the bus, start the reconnection timeout. But don't start the redraw timeout yet, only do that when we get NM's state and find out if it's running or not. * gnome/applet/applet.h - Add the reconnection GSource ID - Add prototypes for nma_set_running() and the no-longer-static nma_update_state() 2006-10-24 Dan Williams * src/vpn-manager/nm-dbus-vpn.c - (nm_dbus_vpn_connections_update_from_nmi): don't block on reply; applets should be smart enough to use the VPNConnectionAdded or VPNConnectionUpdate signals to grab verified VPN connections from NM 2006-10-24 Dan Williams * src/nm-ap-security-leap.h - Forgot to add to CVS 2006-10-20 Dan Williams Patch from Thiago Bauermann * gnome/applet/applet.glade gnome/applet/Makefile.am gnome/applet/nm-gconf-wso.c gnome/applet/nm-gconf-wso-leap.c gnome/applet/nm-gconf-wso-leap.h gnome/applet/wireless-security-manager.c gnome/applet/wso-leap.c gnome/applet/wso-leap.h include/NetworkManager.h libnm-util/dbus-helpers.c libnm-util/dbus-helpers.h src/Makefile.am src/NetworkManagerAP.c src/nm-ap-security.c src/nm-ap-security-leap.c src/nm-ap-security-leap.h - Add LEAP authentication support 2006-10-19 Robert Love * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just refresh the cache. 2006-10-11 Tambet Ingo * src/nm-dbus-nm.c (nm_dbus_nm_sleep): Add optional boolean argument to dbus "sleep" method to make difference between sleep and disable networking. (nm_dbus_nm_wake): Ditto. * src/NetworkManagerMain.h: Add boolean disconnected variable to NMData structure. * gnome/vpn-properties/Makefile.am: Use the correct path to icons. * gnome/applet/Makefile.am: Ditto. * gnome/applet/applet.c (nma_class_init): Append our icon directory to theme search path. * gnome/applet/applet-dbus-devices.c (nma_dbus_enable_networking): Add boolean (true) argument to wake/sleep NM dbus calls to notify enabling/disabling networking instead of wake/sleep. 2006-10-01 Dan Williams * src/vpn-manager/nm-vpn-manager.c - (nm_vpn_manager_load_services): split and clean up for readability and correctness, and better error reporting. 2006-10-01 Dan Williams * utils/nm-utils.h - Clean up formatting of debug/info/warning log messages 2006-09-27 Robert Love Patch by Tambet Ingo : * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry actually work. 2006-09-20 Dan Williams Patch from Leon Bottou * configure.in, src/Makefile.am, src/NetworkManager.c, src/NetworkManagerSystem.c, src/NetworkManagerSystem.h, src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c, src/nm-device.c, src/nm-device.h, src/nm-marshal.list, src/nm-marshal-main.c, src/nm-netlink-monitor.c, src/nm-netlink-monitor.h: Backport the async scanning patch from HEAD. NM now issues scan commands and waits a maximum of 10 seconds for a scan completion wireless event. If any scan completion event is received, NM will query the driver for scan results. Also triggers scanning via wpa_supplicant during an active connection. 2006-09-07 Dan Williams * test/Makefile.am test/libnm-util/Makefile.am test/nm-supplicant-test.c - Add test program emulating the way NM drives wpa_supplicant to help debug supplicant issues 2006-09-05 Dan Williams * gnome/libnm_util/libnm_util.c: change deprecated D-Bus functions (Gnome.org #353838) 2006-08-31 Robert Love * src/vpn-manager/nm-vpn-service.c: Bump timeout to 45s. Seeing failures over slow wireless at 20s; not at 45s. 2006-08-24 Dan Williams Patch from Ed Catmur: * src/NetworkManagerUtils.c - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop if netmask is 0 (Gnome #352634) 2006-08-17 Robert Love * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind package is now DBUS-enabled and listens for the NM signals. 2006-08-13 Dan Williams Patch from Valentine Sinitsyn * src/nm-device-802-11-wireless.c - (supplicant_exec): spawn wpa_supplicant without debug spew Gnome #346875 2006-08-13 Dan Williams Patch from Valentine Sinitsyn * src/nm-ap-security.c src/nm-ap-security.h - Add authentication_required bits for subclasses to specify whether or not real authentication is required for connections, i.e. whether the AP rejects us when an encryption key is wrong or not. * src/nm-ap-security-wep.c src/nm-ap-security-wpa-eap.c src/nm-ap-security-wpa-psk.c - Implement authentication_required appropriately for each method * src/nm-device-802-11-wireless.c - Be smarter about when to request a key; for example, using a wrong key in WEP shared key mode previously just timed out and did not request a new key 2006-08-06 Dan Williams Patch from Christan Chiesa * configure.in - Tell sha1.c to use bigendian mode on PPC 2006-08-04 Robert Love * src/NetworkManagerAP.c: Fix memory leak! 2006-08-01 Robert Love * gnome/applet/main.c: Shutdown all VPN connections on logout. 2006-07-31 Robert Love * src/backends/interface_parser.c: Declarations must begin the block. 2006-07-18 Robert Love * configure.in: Add "--with-notify" option to allow disabling of libnotify support. 2006-07-13 Dan Williams Patch from Timothée Lecomte * configure.in src/backends/NetworkManagerArch.c src/backends/NetworkManagerDebian.c src/backends/NetworkManagerGentoo.c src/backends/NetworkManagerRedHat.c src/backends/NetworkManagerSlackware.c src/backends/NetworkManagerSuSE.c - Convert hardcoding of 'ip' path to configure-time detected one 2006-07-13 Robert Love * src/NetworkManagerDialup.h: Support a DSL class, too. * src/backends/NetworkManagerSuSE.c: Add DSL devices.