Commit Graph

13873 Commits

Author SHA1 Message Date
Robert Love
4b279b5fc4 temp fix
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1093 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-02 19:39:32 +00:00
Robert Love
91027274d3 2005-11-02 Robert Love <rml@novell.com>
* gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
	* gnome/applet/applet-dbus-devices.c: invoke the new function
	  nmwa_enable_wireless_set_active() to ensure that the state of the		  'Enable Wireless' checkbox matches the daemon's state.  This is a
	  concern because the daemon remembers the state.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1092 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-02 18:27:19 +00:00
Robert Love
3dc658143d 2005-11-02 Robert Love <rml@novell.com>
* gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
	  Enabled", as checkboxes should be actions/commands not positive
	  statements, otherwise they are confusing in the unselected case.  See
	  examples in GNOME HIG, Chapter 6.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1091 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-02 18:00:20 +00:00
Robert Love
aec2ccd0fa 2005-11-02 Robert Love <rml@novell.com>
* gnome/applet/applet.c: When wireless is disabled, act it.  Do not
	  show a list of wireless networks or the wireless devices or the
	  "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
	  a bad bug: If wireless is disabled and the user picks a wireless
	  network, NM will switch to the network, only to immediately switch
	  back, as wireless is disabled.  This also reassures people that NM
	  is not scanning (it is not -- I verified).  Fixes Novell bug #130041.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1090 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-02 15:37:09 +00:00
Christopher Aillon
5db5b5a80b 2005-11-02 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet.c:
	* gnome/applet/applet.h:
	Partial backout of Dan's timeout animation patch.
	Timeout IDs cannot legally be 0, so revert the code in place to handle
	a timeout ID of 0 to denote the timeout isn't running.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1089 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-02 06:40:10 +00:00
Christopher Aillon
d52b45a03a 2005-11-02 Christopher Aillon <caillon@redhat.com>
* src/NetworkManagerPolicy.c:
	(nm_policy_device_change_check) Clarify wireless switch nm_info text


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1088 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-02 06:29:06 +00:00
Vincent van Adrighem
ee379001da 2005-11-01 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation updated by Tino Meinen.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1087 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-01 08:19:20 +00:00
Adam Weinberger
b6375de2df 2005-10-31 Adam Weinberger <adamw@gnome.org>
* en_CA.po: Updated Canadian English translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1086 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-31 19:38:12 +00:00
Marcel Telka
65282c27db 2005-10-28 Marcel Telka <marcel@telka.sk>
* sk.po: Updated Slovak translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1085 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-28 19:01:58 +00:00
Robert Love
b17b4de3f2 2005-10-28 Robert Love <rml@novell.com>
* vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
	  "Import Saved Configuration..." to make it clear that importing is
	  not the next step, but an option.  As an aside, a nice TODO would be
	  to move Importing out of the vpn-specific dialog and into the main
	  property editor, as Importing goes with Adding, but that will require
	  some rearchitecting of the VPN stuff I suspect.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1084 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-28 18:01:51 +00:00
Christopher Aillon
0aa2f997e4 2005-10-27 Christopher Aillon <caillon@redhat.com>
* src/nm-vpn-service.c: Only signal the bus that state
	changed	if old_state != new_state


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1083 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-28 06:16:31 +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
Dan Williams
5035d2ae01 Don't try to free a nonexistent error
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1081 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-28 03:11:43 +00:00
Christopher Aillon
9c3d4f68f0 2005-10-27 Christopher Aillon <caillon@redhat.com>
* POTFILES.in: NetworkManager is now encoded in UTF-8


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1080 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-28 02:49:11 +00:00
Robert Love
96834afcc2 2005-10-27 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: fix warning message text


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1079 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-27 20:08:23 +00:00
Christopher Aillon
efcb11e9c8 2005-10-27 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet.c: Use the copyright symbol instead of (C)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1078 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-27 05:49:31 +00:00
Christopher Aillon
895d9cc16b 2005-10-27 Christopher Aillon <caillon@redhat.com>
* gnome/applet.c: The applet's about dialog can advertise our
	project page <http://www.gnome.org/projects/NetworkManager/>


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1077 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-27 05:21:01 +00:00
Christopher Aillon
a6a941c3ad 2005-10-26 Christopher Aillon <caillon@redhat.com>
* gnome/applet.c: Also use translator credits if we don't have
	the new GtkAboutDialog (older versions of GTK+)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1076 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-27 05:06:49 +00:00
Robert Love
42a1c2bb90 2005-10-26 Robert Love <rml@novell.com>
* dispatcher-daemon/NetworkManagerDispatcher.c: correct usage text for
	  "--no-daemon"


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1075 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-26 21:12:43 +00:00
Robert Love
e7b063b589 dispatcher-daemon/NetworkManagerDispatcher.c: main(): print the actual error
and not just the errno number on daemon() failure.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1074 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-26 21:10:20 +00:00
Dan Williams
d29cc5bae0 2005-10-25 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerDevice.c
		- (get_scan_results): cleanups, deal cleanly with ENODATA signifying
			no scan results
		- (free_process_scan_cb_data): unref the device when freeing results
		- (nm_device_wireless_process_scan_results): free scan results a bit later
			so we don't unref the device underneath ourselves


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1073 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-26 15:49:38 +00:00
Dan Williams
d209f3a6d0 2005-10-25 Dan Williams <dcbw@redhat.com>
* Back out 2005-10-24 commit from Tor Krill.  Patch
		causes nameservers never to be removed from named.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1072 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-26 02:40:46 +00:00
Marcel Telka
30fe490cd5 2005-10-25 Marcel Telka <marcel@telka.sk>
* sk.po: Updated Slovak translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1071 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-25 04:33:21 +00:00
Dan Williams
a81faff483 2005-10-24 Dan Williams <dcbw@redhat.com>
Clean up wireless scanning and wireless link probing.  Goal: to not be as
	touchy with intermittent connections.

	* src/NetworkManagerDevice.c
		- (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
			just see if there's an activation request on the device, and check the
			current link against the activation request access point's ESSID.
		- (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
		- (nm_device_wireless_process_scan_results): actually free our scan data, and
			don't call process_scan_results() on zero-length data
		- (nm_device_set_wireless_scan_interval): increase the init scan interval to
			15 seconds (from 10)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1070 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-25 00:56:55 +00:00
Dan Williams
a14cc5744e 2005-10-24 Dan Williams <dcbw@redhat.com>
Cleanup some applet stuff:

	- Animation timeouts.  If NM died while the applet was animating,
		the applet would not hide itself.  This is now fixed.

	- Remove some dead code

	- Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
		to nmi_passphrase_dialog_cancel() since we no longer use threads.

	- Track animation timeout using a gboolean rather than the timeout's
		ID, since timeout IDs can legally be 0.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1069 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-24 23:03:42 +00:00
Dan Williams
af55ad0ff5 2005-10-24 Dan Williams <dcbw@redhat.com>
* src/backends/interface_parser.c
		- Add void to function declarations that need it
			to match patch from Engin AYDOGAN

	* src/backends/interface_parser.h
		- Remove unused prototype for ifparser_interfaces()

	Patch from Engin AYDOGAN <engin@bzzzt.biz>
	* src/backends/interface_parser.h:
		- Compile fixes for gcc 4.0.2 (add void)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1068 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-24 15:04:28 +00:00
Dan Williams
f54406831c 2005-10-24 Dan Williams <dcbw@redhat.com>
Patch from Tor Krill <tor@krill.nu>
	* src/named-manager/nm-named-manager.c
		- Write more than just the first nameserver to /etc/resolv.conf
		- Write out valid /etc/resolv.conf on exit


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1067 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-24 14:49:26 +00:00
Christopher Aillon
23d422740b 2005-10-21 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet-dbus-vpn.c:
	Get rid of spurious newlines in debug console output


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1066 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-21 22:04:30 +00:00
Chris Aillon
30a01737aa hmm, today isn't the 19th...
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1065 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-21 22:03:10 +00:00
Christopher Aillon
7cd89af612 2005-10-19 Christopher Aillon <caillon@redhat.com>
* src/backends/NetworkManagerGentoo.c:
	Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1064 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-21 21:50:49 +00:00
Robert Love
2930c9c4c1 2005-10-20 Robert Love <rml@novell.com>
* src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
	  direct comparison of floating point values, which is never correct.
	  Also some misc. cleanup.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1063 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-20 20:41:51 +00:00
Robert Love
7374eff85f vpn-daemons/vpnc/po/.cvsignore: add *.pot
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1062 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-20 19:06:57 +00:00
Marcel Telka
5d7409cfbb 2005-10-19 Marcel Telka <marcel@telka.sk>
* sk.po: Updated Slovak translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1061 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-19 21:04:02 +00:00
Robert Love
f9450c787b 2005-10-19 Robert Love <rml@novell.com>
* vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1060 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-19 18:27:16 +00:00
Adam Weinberger
a3520df1f7 2005-10-19 Adam Weinberger <adamw@gnome.org>
* en_CA.po: Updated Canadian English translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1059 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-19 18:19:56 +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
Chris Aillon
d084a1e4b4 Retroactively add NEWS for 0.5.0
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1056 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-19 17:06:56 +00:00
Robert Love
b7e0c9bd0e Revert last commit.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1055 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-19 16:56:10 +00:00
Robert Love
1f1862ab95 2005-10-19 Robert Love <rml@novell.com>
* gnome/applet/menu-items.c: Patch from Jeroen Zwartepoorte: Use the
	  correct stock icon value, GTK_STOCK_DIALOG_AUTHENTICATION, and not
	  the open-coded "gnome-lockscreen" to get our "secure" network icon.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1054 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-19 16:13:00 +00:00
Robert Love
1c6e80774d 2005-10-19 Robert Love <rml@novell.com>
* gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
	  sensitivity of the buttons.  Specificaly, do the right thing if
	  there are no entries.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1053 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-19 16:08:49 +00:00
Robert Love
6e81d72dad update glade file
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1052 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-19 15:22:15 +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
Dan Williams
b989888977 Don't install named config files we don't use anymore
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1050 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-19 14:28:34 +00:00
Dan Williams
ff88a840ee 2005-10-19 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerDevice.c
		- (process_scan_results): don't drop the last (or only)
			access point we see


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1049 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-19 14:19:53 +00:00
Christopher Aillon
de3985c598 2005-10-19 Christopher Aillon <caillon@redhat.com>
* src/backends/NetworkManagerSlackware.c:
	Patch from Nico <lordllucifer@gmail.com>
		- Update the Slackware backend.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1048 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-19 13:44:34 +00:00
Christopher Aillon
93987738cd 2005-10-18 Christopher Aillon <caillon@redhat.com>
* gnome/applet/other-network-dialog.c: Use g_get_host_name ()
	if we've got GLib 2.8.0


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1047 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-18 18:31:03 +00:00
Robert Love
ba8d6456a3 ChangeLog typo, but it is still a long function name. ;-)
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1046 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-18 15:02:33 +00:00
Robert Love
abac41aabe 2005-10-18 Robert Love <rml@novell.com>
* src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
	  function nmwa_schedule_state_change_signal_broadcast() when we
	  deactivate a device, too.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1045 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-18 14:57:31 +00:00
Robert Love
4eb2f4d031 2005-10-18 Robert Love <rml@novell.com>
* test/.cvsignore: add "nm-test" to dot cvsignore


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1044 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-18 14:52:49 +00:00
Robert Love
7bdfd64c98 2005-10-18 Robert Love <rml@novell.com>
* gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
	  be used uninitialized.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1043 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-18 14:51:22 +00:00