Commit graph

123 commits

Author SHA1 Message Date
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
ad38b25413 2006-02-26 Dan Williams <dcbw@redhat.com>
* configure.in
	  gnome/applet/Makefile.am
		- Conditionalize all the notify stuff

	Merge most of Chris Aillon's notification patch:

	* gnome/applet/applet-notifications.[ch]
		- New files; show a notification

	* gnome/applet/applet-dbus-devices.[ch]
		- (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
		   nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
			new functions, do the right thing when a device change occurs

	* gnome/applet/applet-dbus.c
		- (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
			signals, so we can handle them specially

	* gnome/applet/applet.[ch]
		- nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
		- nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
		- (nmwa_notify_state): remove
		- (nmwa_update_state); remove call to nmwa_notify_state, since the
			notification work is now done when the appropriate dbus signals
			are received.
		- (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
			defer execution of the notification/dialog stuff.  That was an
			artifact of the previous multi-threaded nature of the applet
			and is now pointless.
		- (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
			no longer needed.  Function folded into applet-notifications.c

	* src/NetworkManagerPolicy.c
		- (nm_policy_activation_finish): send the AP along with the device
			status change signal, if the connection is wireless.  Should
			fix the race where applet would show a connection to "unknown"


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1498 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-26 06:52:26 +00:00
Dan Williams
06f760a049 2006-02-21 Dan Williams <dcbw@redhat.com>
Patch from Rodney Dawes <dobey@novell.com>
    * gnome/applet/Makefile.am
      gnome/applet/applet.c
        - Add libnotify support if '--enable-notify=yes' is passed
            at configure time


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1479 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-21 05:27:44 +00:00
Kang, Jeong-Hee
98be8e57f9 ko added
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1477 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-16 09:38:40 +00:00
Robert Love
f0cc1a602c 2006-02-01 Robert Love <rml@novell.com>
* configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
	  manpage.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1424 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-01 18:14:15 +00:00
Robert Love
78894fba52 2006-01-27 Robert Love <rml@novell.com>
* configure.in: Require wpa_supplicant.  Detect location of binary and
	  use it.  Override with "--with-wpa_supplicant=foo".
	* src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
	  path to wpa_supplicant but use the auto-detected or user-provided
	  value from configure.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1399 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-27 18:41:06 +00:00
Clytie Siddall
9af0ad5a04 * configure.in Added vi in ALL_LINGUAS line.
CVS: ----------------------------------------------------------------------


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1395 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-27 04:51:19 +00:00
Robert Love
b60c770dab 2006-01-26 Robert Love <rml@novell.com>
* configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
	* gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
	  gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
	  gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
	  gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
	  gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
	  gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
	  gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
	  gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
	  gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
	  gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
	  gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
	  libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
	  src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
	  src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
	  src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
	  Kill unused variables, labels, and static functions.  Don't pass
	  string literals as the format string for printf-like functions.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1391 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-26 21:08:44 +00:00
Robert Love
43013ba9c6 2006-01-20 Robert Love <rml@novell.com>
* Makefile.am, configure.in: Add new man subdirectory.
	* man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
	  man/Makefile.am: Add man pages for NetworkManager and its
	  crime-solving bumbling buddy, NetworkManagerDispatcher.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1367 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-20 21:10:33 +00:00
Robert Love
4fdd547c2c 2006-01-19 Robert Love <rml@novell.com>
* configure.in: Require hal 0.5.0 or later.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1362 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-19 19:09:29 +00:00
Robert Love
cd1da59a56 2006-01-17 Robert Love <rml@novell.com>
* configure.in: Remove 'no' language.  Replaced by 'nb', which is
	  identical for NM.  For a full discussion, see the thread at
	  http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
	* po/no.po: Remove.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1358 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-18 16:18:36 +00:00
Robert Love
469abb4948 ugh
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1349 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-17 15:34:42 +00:00
Robert Love
1a108beb3c 2006-01-16 Robert Love <rml@novell.com>
Patch from Timo Hoenig  <thoenig@suse.de:
	* libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
	  libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
	  libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
	  libnm-util/dbus-helpers.h: add checks whether headers are used
	  within a C++ build.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1336 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-16 17:18:43 +00:00
Robert Love
9972ef7fff whoops, fix configure.in bit from last commit.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1321 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-11 22:46:55 +00:00
Robert Love
df024f3ed8 2006-01-11 Robert Love <rml@novell.com>
* src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
	  define if_mii(), open code the same results, and do so without any
	  type punning.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1320 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-11 22:41:53 +00:00
Robert Love
46efeb868a 2006-01-11 Robert Love <rml@novell.com>
* configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
	* gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
	  src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
	  src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
	  src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
	  src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
	  test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
	* src/nm-device-802-11-wireless.c: Fix floating point comparison by
	  comparing values within DBL_EPSILON.  Also fix shadowed variable
	  usage.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1318 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-11 21:07:29 +00:00
Robert Love
24a2f51a1f 2006-01-11 Robert Love <rml@novell.com>
* src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
	  is defined in <linux/mii.h> to return the mii_ioctl_data structure
	  from the ifreq structure in lieu of an open coded solution.  Removes
	  a life-threatening type-punning.
	* configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
	  types, ever, whatsoever, baby.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1316 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-11 20:07:56 +00:00
Dan Williams
4783f65521 2005-12-29 Dan Williams <dcbw@redhat.com>
* test/test-common.c
	  test/test-common.h
	  test/Makefile.am
		- Move to a test-common subdirectory

	* test/libnm-util/test-ciphers.c
		- Move test data to test-inputs.h
		- Test WPA ciphers too

	* test/libnm-util/test-dbus-helpers.c
		- Test serialization/deserialization of ciphers


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1240 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-29 17:03:46 +00:00
Žygimantas Beručka
9c1c832db2 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
* configure.in: Added Lithuanian to ALL_LINGUAS.
        * po/lt.po: Added Lithuanian translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1218 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-21 11:17:19 +00:00
Dan Williams
29598dfdc0 2005-12-21 Dan Williams <dcbw@redhat.com>
* test/libnm-util
		- Add some testcases for WEP ciphers


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1217 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-21 08:11:57 +00:00
Alexander Shopov
c8ff0a7364 2005-12-15 Alexander Shopov <ash@contact.bg>
* Added Bulgarian translation by
	Alexander Shopov <ash@contact.bg>


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1192 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-15 06:00:45 +00:00
Robert Love
12095c0f04 2005-12-12 Robert Love <rml@novell.com>
* 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
2005-12-12 19:57:59 +00:00
Dan Williams
7758dcb273 2005-12-09 Dan Williams <dcbw@redhat.com>
* 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
2005-12-09 23:25:22 +00:00
Robert Love
c521bf2e07 2005-12-08 Robert Love <rml@novell.com>
* 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
2005-12-08 17:01:47 +00:00
Dan Williams
6bcf90acf2 2005-12-06 Dan Williams <dcbw@redhat.com>
* Move NetworkManager.h -> include/NetworkManager.h
	* Split out VPN stuff to include/NetworkManagerVPN.h
	* Fix up makefiles to include new location
	* Fix up sources to include NetworkManagerVPN.h


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1130 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-06 23:37:09 +00:00
Ilkka Tuohela
da2c6e79b7 Added Finnish translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1107 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-20 09:34:06 +00:00
Dan Williams
044acdad23 2005-10-27 Dan Williams <dcbw@redhat.com>
Start using libnl.  You need 1.0-pre3 or higher.  Eventually
	we should replace most of the distro-specific backend code
	with libnl stuff.

	Get it here:  http://people.suug.ch/~tgr/libnl/

	* configure.in
	  src/Makefile.am
		- Add checks for libnl pkgconfig file
		- Use LIBNL_LIBS & LIBNL_CFLAGS

	* src/NetworkManagerSystem.c
	  src/nm-ip4-config.[ch]
		- Use libnl rather than ioctl() for most things
		- Remove unused functions


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1082 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-28 03:16:02 +00:00
Christopher Aillon
acddcf4a4c 2005-10-19 Christopher Aillon <caillon@redhat.com>
* NEWS:
	* configure.in:
	NetworkManager 0.5.1 release


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1057 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-19 17:14:43 +00:00
Christopher Aillon
2e370dc8f3 2005-10-19 Christopher Aillon <caillon@redhat.com>
* configure.in: Update check for adequate wireless-tools
	with an AC_TRY_COMPILE for the new symbols we use.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1051 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-19 15:16:35 +00:00
Christopher Aillon
8a2fca1b9c 2005-10-17 Christopher Aillon <caillon@redhat.com>
* configure.in: Bump to 0.5.0


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1038 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-18 03:12:15 +00:00
Robert Love
eed1fa76e9 Add back -Wno-strict-aliasing because we type pun a /lot/. Note that you
are not supposed to mix pointers to functions and objects!!!


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1003 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-07 19:11:55 +00:00
Robert Love
7864ca262d 2005-10-07 Robert Love <rml@novell.com>
* configure.in: Change our compile flags for the betterment of mankind.
          Remove "-Wno-strict-aliasing" because we should not be doing bad
          aliasing or type punning that throws off optimizations (this is esp.
          important in gcc 4.1).  Add "-Wstrict-prototypes" because we comply
          anyhow and missing a prototype is very bad on 64-bit platforms as
          types default to int but sizeof(int) != sizeof(long), add
          "-Wmissing-prototypes" and "-Wmissing-declarations" to warn if we
          define an exported function but fail to put it in a header.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1002 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-07 17:57:10 +00:00
Dan Williams
0f90a04544 2005-09-28 Dan Williams <dcbw@redhat.com>
Support for named + DBus, using Red Hat DBus patches for named.  You
	can find those patches here, with "dbus" in the patch's filename:

		http://cvs.fedora.redhat.com/viewcvs/devel/bind/

	Don't forget the named dbus service file either.

	Instead of writing a config file and spawing a named process, NM will
	use an already-running dbus-enabled named if it finds one.  NM will
	update named's forwarder configuration on the fly using dbus.

	If there is no dbus-enabled named running, NM will automatically fall
	back to writing the most-recent DNS server information to /etc/resolv.conf
	and calling nm_system_update_dns() to kick the system's resolver.

	Accordingly, all named-related configure-time options have been removed.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@981 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-28 14:42:57 +00:00
Dan Williams
5a77b7707c 2005-08-29 Dan Williams <dcbw@redhat.com>
Patch from j@bootlab.org
	- Make --without-named work
	- Make --with-dhcdbd work correctly


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@905 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-29 17:43:31 +00:00
joseppc
51089202e0 Added Catalan translation.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@904 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-27 21:50:15 +00:00
Christopher Aillon
e9607dea0c 2005-08-18 Christopher Aillon <caillon@redhat.com>
* initscript/Gentoo/NetworkManager:
	* initscript/RedHat/NetworkManager:
	* initscript/RedHat/NetworkManagerDispatcher:
	* initscript/SUSE/networkmanager:
	CVS remove these in place of .in replacements

	* configure.in:
	* initscript/Gentoo/NetworkManager.in:
	* initscript/RedHat/NetworkManager.in:
	* initscript/RedHat/NetworkManagerDispatcher.in:
	* initscript/SUSE/networkmanager.in:
	These scripts now are generated so they work still when
	NM is built using a bindir other than /usr/bin


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@880 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-18 19:51:11 +00:00
Dan Williams
1c4fd41c6f Bump version to 0.4.1
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@864 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-17 16:12:31 +00:00
Dan Williams
387f572771 2005-08-16 Dan Williams <dcbw@redhat.com>
Patch from j@bootlab.org
	* vpn-daemons/vpnc/Makefile.am: Fix for autoreconf

	* configure.in: allow specifying the path to dhcdbd


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@852 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-16 17:27:48 +00:00
Robert Love
ae0754c1e1 2005-06-30 Robert Love <rml@novell.com>
* configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
	  in /sbin unless D-BUS is, folks).


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@767 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-30 14:34:17 +00:00
Robert Love
1e2564a203 2005-06-23 Robert Love <rml@novell.com>
* configure.in: remove extraneous GNOMEKEYRING directives.
        * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
        * gnome/applet/applet.c: nmwa_icons_init: make style local.
        * gnome/applet/passphrase-dialog.c: whitespace.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@744 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-23 20:34:57 +00:00
Robert Love
d6b8f80469 2005-06-20 Robert Love <rml@novell.com>
* 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
2005-06-20 17:16:51 +00:00
Dan Williams
ecec2ec062 2005-06-15 Dan Williams <dcbw@redhat.com>
Patches from Robert Love:
	* gnome/applet/wireless-applet.glade
		- Tighten up wording

	* src/NetworkManagerDevice.c
		- Remove misplaced ';'

	* configure.in
	  initscript/Makefile.am
	  initscript/SUSE/Makefile.am
	  initscript/SUSE/networkmanager
		- Add SUSE initscript


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@669 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-15 11:59:43 +00:00
David Zeuthen
c357c61e35 2005-06-12 David Zeuthen <davidz@redhat.com>
* 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
2005-06-12 14:35:59 +00:00
Dan Williams
8897c59efa 2005-06-09 Dan Williams <dcbw@redhat.com>
Patch from Kay Sievers and Robert Love:
	* configure.in
	  src/backends/Makefile.am
	  src/backends/NetworkManagerSuSE.c
		- Add SuSE support


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@659 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-10 03:43:15 +00:00
Dan Williams
9d06dd6e6f Fix for users without /sbin in their PATH
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@640 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-05-16 17:24:55 +00:00
Dan Williams
f872340719 2005-05-15 Dan Williams <dcbw@redhat.com>
From Filip Miletic:
	* po/sr.po
	  po/sr@Latn.po
	  configure.in
		- Serbian translation added


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@636 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-05-16 01:53:40 +00:00
Dan Williams
de2e0e55ad 2005-05-15 Dan Williams <dcbw@redhat.com>
* configure.in
		- Check for dhcdbd and error if its not found

	* src/dhcp-manager/Makefile.am
	  src/dhcp-manager/nm-dhcp-manager.c
		- Use path to dhcdbd that configure found


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@630 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-05-15 13:34:41 +00:00
Dan Williams
567b5e3d31 2005-05-03 Dan Williams <dcbw@redhat.com>
* Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
	  This means that NetworkManager shouldn't have DHCP issues anymore.  It also
	  means you need dhcdbd, which you can get here (get the latest one):

		http://people.redhat.com/jvdias/dhcdbd/

	  Technically NetworkManager can use any DHCP daemon that uses the same DBUS
	  interface as dhcdbd.

	* Rewrite device activation to facilitate the new DHCP infrastructure and
	  future improvements.  Its now "activation request" based, ie there is a single
	  activation request composed of the device, access point, and other info which
	  follows the entire activation process.  There are 5 stages of the activation
	  process which correspond to:

		1) Device preparation
		2) Device configuration (bring it up, set ESSID/Key/etc)
		3) IP Config Start (fire off DHCP if we're using it)
		4) IP Config Get (grab config from DHCP or static config files)
		5) IP Config Commit (set device's IP address, DNS, etc)

	  Note that there is no longer a "scanning" step, since the access point must
	  be known _before_ activation starts.  If the access point drops out or does
	  not exist for some reason, the entire activation process fails and must be
	  restarted for a different access point or device.

	Patch from Bill Moss:
	* gnome/applet/applet.c
		- Fix type of vpn_failure dialog -> vpn_banner dialog


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@597 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-05-03 20:41:36 +00:00
Dan Williams
149167df6f Remove old Makefile references from configure.in
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@587 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-04-27 18:08:15 +00:00