* src/named-manager/nm-named-manager.c: Revert earlier commit. Instead, fail silently if config is NULL
by not asserting and not returning FALSE. Also, make sure we always fclose() the file.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1180 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Patch by Stefan Scheler <sscheler@suse.de>:
* src/nm-ip4-config.h, src/nm-ip4-config.c,
src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
via DHCP. Still need the backends to commit the NIS domain name and
and servers to yp.conf as needed.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1179 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
nm_vpn_manager_remove_connection() unless vpn is non-NULL.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1178 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/named-manager/nm-named-manager.c: Don't unref the config until
after we call rewrite_resolv_conf(), because get_last_default_domain()
needs to access the config. Fixes "rewrite_resolv_conf: assertion
`config != NULL' failed" assertion failures and "Could not commit DNS
changes" warnings.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1177 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* libnm-util/dbus-helpers.[ch]
libnm-util/Makefile.am
- new helper calls to consolidate locations where
NM's setDevice method is called
* gnome/applet/applet-dbus-devices.c
gnome/applet/wireless-security-option.c
gnome/applet/wso-*
- Implement dbus message param append function for
all wireless security options
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1174 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* libnm-util/cipher-wep-passphrase.c,
libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
When handling keys, we don't care what the sign is. The compiler
guarantees us that we get our 8-bits, which is all we care about.
* configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1172 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* gnome/applet/applet-dbus-devices.[ch]
gnome/applet/applet.c
gnome/applet/other-network-dialog.c
gnome/applet/wireless-security-manager.[ch]
gnome/applet/wireless-security-option.[ch]
gnome/applet/wso-*
- Push the wireless security options further into the applet
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1170 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* gnome/applet/wso-*
gnome/applet/wireless-security-option.*
gnome/applet/Makefile.am
- split each security option out so we can eventually
have each one build up their own dbus message
arguments to send to NM
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1165 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* Hook more bits of the Other Network Dialog up to the
wireless security manager stuff, and restructure
bits of the dialog so there's less code.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1161 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* gnome/applet/Makefile.am
- Add libnm-util to includes
- Add libnm-util to link list
- Add wireless-security-common.* to compile list
* gnome/applet/other-network-dialog.c
- Convert to using the WirelessSecurityManager code and
widgets
* gnome/applet/passphrase-dialog.c
- Comment out references to stuff in the glade file that
cause runtime errors until it can be fixed up
to use the WirelessSecurityManager code
* gnome/applet/wireless-applet.glade
- Rename some widgets
- Add widgets for the WirelessSecurityManager code
- Remove passphrase-related stuff since that's now
handled by the WirelessSecurityManager code
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1156 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* libnm-util/*
- More fixups
- Remove cipher-manager.* because we don't need it
- Forgot to add gnome-keyring-md5 files to compile list
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1154 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* libnm-util/*
configure.in
Makefile.am
- Add a utility library for clients of NetworkManager. It's
only targetted at applets for the moment, and contains
a generalized 802.11 cipher framework for different
types of keys (WEP & WPA Hex, ASCII, Passphrase)
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1152 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* include/NetworkManager.h: add WPA capabilities constants
* src/NetworkManagerDevice.c: detect if wireless devices support WPA
or WPA2 and add the capabilities bits as appropriate.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1150 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* initscript/SUSE/networkmanager-dispatcher.in: new initscript for
NetworkManagerDispatcher.
* configure.in, initscript/SUSE/.cvsignore,
initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
initscript.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1149 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/NetworkManagerDevice.c: We want to fall back on and default to
IW_MODE_AUTO, not -1, which is more in line with our previous
behavior. Otherwise, we try to set the wireless mode to -1 in
nm_device_set_mode().
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1147 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
src/NetworkManagerAP.c, src/NetworkManagerAP.h,
src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
wireless-tools constants directly. UNKNOWN is now -1 and NONE is
zero.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1144 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* Convert NETWORK_MODE_* constants to IW_MODE_*
* Make all the get_mode/set_mode functions take and return 'int'
* Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1142 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* gnome/applet/applet-dbus.c
- (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
* gnome/applet/applet-dbus-vpn.c
- (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
- (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
to TRUE here if stage was ACTIVATED
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1139 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
. compatibility
+ Set a fake login banner for now until we fixed when NM sets
. last_attempt_success (provided by Crispin)
Tim
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1136 4912f4e0-d625-0410-9fb7-b9a5a253dbdc