* Makefile.am: Add missing intltool-foo.in generated files to
EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
with the start of stuff to cleanup on 'distclea'.
* configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
stuff right and 'distcheck' works.
* po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
we keep it, we need to add all of examples/* to EXTRA_DIST and do
Makefile.am for each. And systray/Makefile needs to be redone.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@725 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/NetworkManagerDevice.c
- (nm_device_wireless_process_scan_results): scan every 20s when
disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@722 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/nm-netlink-monitor.c
(nm_netlink_monitor_event_handler): check for the presence
of either error condition not both.
(nm_netlink_monitor_error_handler): emit error signal if
error occurs.
(nm_netlink_monitor_event_handler),
(nm_netlink_monitor_error_handler),
(nm_netlink_monitor_disconnect_handler): if an
assertion fails disconnect the event handler to prevent
infinite loops.
* src/nm-netlink-monitor.h: add new error condition
NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@719 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/nm-netlink-monitor.c
(nm_netlink_monitor_event_handler): remove bogus < 0
check on unsigned value and return early if the kernel
didn't send any bytes.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@718 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
Also add new methods can_export, import_file and export.
* gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
to the main UI
* gnome/vpn-properties/nm-vpn-properties.c:
Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
nm-vpn-ui-interface.h.
(update_edit_del_sensitivity): Also update "Export" sensitivity
(add_vpn_connection): Also add new SVC_NAME column
(import_settings): New function
(retrieve_data_from_selected_connection): New function
(edit_cb): Use retrieve_data_from_selected_connection to simplify
this function
(export_cb): New function
(init_app): Also setup the "export" widget
(main): Support the --import-service and --import-file commandline
arguments
* gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
D-BUS 0.34
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@700 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* properties/nm-vpnc.c: Add new NM_VPN_API_SUBJECT_TO_CHANGE so we
can include nm-vpn-ui-interface.h.
(import_from_file): New function
(import_button_clicked): Actually Implement this function
(impl_can_export): New function
(impl_import_file): New function
(export_to_file): New function
(impl_export): New function
(impl_get_object): Add function pointers for can_export, import_file
and export
* nm-vpnc.desktop.in: New file
* configure.in: Add AC_PROG_INTLTOOL
* Makefile.am: Add rules for building the .desktop file
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@699 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Patch from Robert Love:
* gnome/applet/menu-items.c
- (network_menu_item_new): pass -1 as wireless network
menu items height size request rather than ascent / 2
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@695 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* Makefile.am (dbusservicedir): Adjust to use $(sysconfdir)
* configure.in: Don't do the DBUS_SYS_DIR thing since it's always
at $(sysconfdir)/dbus-1/system.d
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@690 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Patch from Robert Love: make the applet stetic
* gnome/applet/Makefile.am
- Don't compile the gtkcellview and gtkcellrendererprogress files
* gnome/applet/gtkcellview.h
gnome/applet/gtkcellview.c
gnome/applet/gtkcellrendererprogress.h
gnome/applet/gtkcellrendererprogress.c
- Removed
* gnome/applet/menu-items.c
- Progress bars are 5:1 size ratio
- Use GTK progress bars rather than internal ones
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@689 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* properties/nm-vpnc.c: Include w_use_domain and w_domain
(impl_get_widget): Reset w_domain, w_use_domain
(impl_get_properties): Also pass Domain option if applicable
(impl_is_valid): Add validation code for Domain
(use_domain_toggled): New function
(impl_get_confirmation_details): Also put out info about Domain if
applicable
(impl_get_object): Get w_domain, w_use_domain widgets and set
up event listeners for them
* properties/nm-vpnc-dialog.glade: Added the Domain optional
setting
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@686 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/backends/NetworkManagerDebian.c
- Add nm_system_device_get_use_dhcp() to debian backend
Patch from Kay Sievers:
* src/backends/NetworkManagerSuSE.c
- Update debian backend for static IP nameservers
* src/NetworkManagerDevice.c
- Actually set the device to use static IP or DHCP rather
than always DHCP
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@671 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* gnome/vpn-properties/nm-vpn-ui-interface.h: New file
* gnome/vpn-properties/nm-vpn-properties.glade: New file
* gnome/vpn-properties/nm-vpn-properties.c: New file
* gnome/vpn-properties/Makefile.am: New file
* src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
array of passwords
* src/vpn-manager/nm-vpn-manager.c
(nm_vpn_manager_activate_vpn_connection): Take an array of passwords
instead of just a single one
* src/vpn-manager/nm-dbus-vpn.c:
(nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
here
(nm_dbus_vpn_activate_connection): Rework to take an array of passwords
* gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
Change the interface here to give a list of passwords. Also, don't
require username, but do require service
* gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
the binary for the auth-dialog and use that instead of putting up a
dialog asking for a single password
* gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
however do remember the service
* gnome/applet/main.c (main): Setup i18n
* gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
connection to '%s'" to the tooltip if we are connected using VPN
(nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
key to determine whether we the auth-dialog needs to
reprompt. Also cope with the fact that the auth-dialog now returns
an array of passwords.
(nmwa_menu_configure_vpn_item_activate): New handler for
"Configure VPN..." menu item
(nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
(is_vpn_available): New function to determine if we got any
NM-compatible VPN software installed
(nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
items only if we have NM-compatible VPN software installed
(nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
logic for detecting when VPN connections are removed
* gnome/applet/applet-dbus.h: Removed the prototypes for
nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
since these are defined elsewhere
* gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
function used to keep track of whether the last attempt succeded
(nmwa_dbus_filter): Update last_attempt according to whether the
VPN connection could be established or not
* gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
Change prototype to take an array of passwords, not just a single
password
* gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
update service, not user
(nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
dbus_active_vpn_name is not NULL before using it
(nmwa_dbus_vpn_activate_connection): Send the passwords as a
string array instead of assuming a single password
* gnome/applet/applet-dbus-info.c:
(nmi_dbus_get_vpn_connection_properties): Use the logged in user for
user name; don't read from gconf
* gnome/applet/Makefile.am: Also export SYSCONFDIR and
VPN_NAME_FILES_DIR
* gnome/Makefile.am (SUBDIRS): Add vpn-properties
* configure.in: Add checks for gmodule-2.0.
Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
for details
* vpn-daemons/Makefile.am: Removed
* vpn-daemons/README: New file to describe extensions points for VPN
software
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@664 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* doc/example-vpnc-system-wide-connection.sh: New file
* properties/nm-vpnc-dialog.glade: New file
* properties/nm-vpnc.c: New file
* properties/Makefile.am: New file
* auth-dialog/Makefile.am: New file
* auth-dialog/gnome-two-password-dialog.[ch]: New files, based
on gnome-password-dialog.[ch] from libgnomeui
* auth-dialog/main.c: New file
* po/POTFILES.in, po/ChangeLog, da.po: New files
* Makefile.am: Add src, auth-dialog, propertes and po
* autogen.sh: New file
* configure.in: New file
* acinclude.m4: New file
* README: New file
* NEWS: New file
* ChangeLog: New file
* AUTHORS: New file
* nm-vpnc-service.name.in: Based on nm-vpnc-service.name. Reworked
to sport multiple sections and have the paths to the auth-dialog
binary and properties shared object
* nm-vpnc-service.name: Deleted and replaced by
nm-vpnc-service.name.in
* nm-vpnc-service.conf: Rename from org.freedesktop.vpn to
org.freedesktop.NetworkManager.vpnc
* src/nm-vpnc-service.h: Rename from org.freedesktop.vpn to
org.freedesktop.NetworkManager.vpnc (New file)
* src/nm-vpnc-service.c: Use the system-installed
NetworkManager.h instead. Setup i18n. (New file)
(nm_vpnc_config_write): Rework to cope with passwords being
an array.
(nm_vpnc_config_options_validate): Add "Xauth username" to list
of allowed options
(nm_vpnc_dbus_handle_start_vpn): Passwords is now an array.
* src/nm-vpnc-service-vpnc-helper.c: Use the system-installed
NetworkManager.h instead (New file)
* nm-vpn-service.[ch], nm-vpn-service-vpnc-helper.c: Moved in src
* src/nm-utils.[ch]: For now, a local copy duplicated from utils/ in
the NM project
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@663 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/backends/NetworkManagerRedHat.c
- (get_current_profile_name): new function, grab current network profile name from
/etc/sysconfig/network
- (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
update an IP4 Config structure's settings from it
- (nm_system_device_get_system_config): if we're using static IP on this device,
get DNS info from current network profile
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@661 4912f4e0-d625-0410-9fb7-b9a5a253dbdc