ChangeLog 207 KB
Newer Older
1 2 3 4 5 6 7
2005-09-06  Dan Williams  <dcbw@redhat.com>

	Patch from Tomislav Vujec <tvujec@redhat.com>
	* src/NetworkManagerDevice.c
		- (nm_get_device_by_udi): don't return a device when we
			actually didn't find what we were looking for

8 9 10 11 12 13 14 15 16 17 18 19 20
2005-09-06  Christopher Aillon  <caillon@redhat.com>

	* gnome/applet/applet-dbus-devices.c:
	* gnome/applet/applet-dbus-devices.h:
	* gnome/applet/applet-dbus.c:
	* src/NetworkManagerDbus.c:
	* src/NetworkManagerDbus.h:
	* src/NetworkManagerDevice.c:
	* src/nm-dbus-device.c:
	Make NM push updates about active device strength when it changes,
	rather than having the applet poll every 2s.


21 22 23 24 25
2005-09-05  Christopher Aillon  <caillon@redhat.com>

	* gnome/applet/applet-dbus-devices.c: Remove duplicate call to
	network_device_set_strength

26 27 28 29 30 31
2005-09-04  Dan Williams  <dcbw@redhat.com>

	Patch from Bill Nottingham <notting@redhat.com>
	* src/NetworkManagerDevice.c
		- (nm_device_activation_cancel): reset the quit_activation flag

32 33 34 35 36 37
2005-09-04  Dan Williams  <dcbw@redhat.com>

	* src/nm-activation-request.c
		- (nm_act_request_unref): actually free the structure,
			which we didn't seem to be doing before

38 39 40 41 42 43
2005-09-04  Dan Williams  <dcbw@redhat.com>

	Patch from John Palmieri <johnp@redhat.com>
	* gnome/applet/applet-dbus-devices.c
		- Fix up unreffing of DBusMessage objects

44 45 46 47 48 49
2005-09-04  Dan Williams  <dcbw@redhat.com>

	Patch from John Palmieri <johnp@redhat.com>
	* gnome/applet/nm-device.c
		- (nm_device_unref): clear network_device's memory _before_ freeing it

50 51 52 53
2005-09-02  Christopher Aillon  <caillon@redhat.com>

	* gnome/applet/applet.c: Use a check menu item for Wireless Enabled

Bill Nottingham's avatar
Bill Nottingham committed
54 55 56 57
2005-09-02  Bill Nottingham  <notting@redhat.com>

	* src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error

58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
2005-09-01  Dan Williams  <dcbw@redhat.com>

	* src/NetworkManager.c
		- (nm_remove_device_from_list): rename to nm_remove_device
		- (nm_hal_device_removed): call nm_remove_device()

	* src/NetworkManagerDevice.c
		- Change the NMWirelessScanCB member 'reschedule' which
			wasn't used to 'force' to indicate that we need to
			force a scan when adding a device

	* src/nm-dbus-nm.c
		- (nm_dbus_nm_sleep): Deactivate all devices and remove them
			from the device list
		- (nm_dbus_nm_wake): Re-add all devices to the device list

74 75 76 77 78
2005-09-01  Robert Love  <rml@novell.com>

	* gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
	  and the check "!iface" in the error case is probably never true.

79 80 81 82 83 84
2005-09-01  Dan Williams  <dcbw@redhat.com>

	Patch from Bill Nottingham <notting@redhat.com>
	* src/backends/NetworkManagerRedHat.c
		- Add initial dialup support to Red Hat/Fedora backend

85 86 87 88 89 90
2005-09-01  Dan Williams  <dcbw@redhat.com>

	* gnome/applet/applet-dbus-devices.c
		- Sort both wireless networks and devices again, which got
			broken when removing threading

91 92
2005-09-01  Christopher Aillon  <caillon@redhat.com>

93 94 95 96
	* gnome/applet/applet.c:
	Only show the "Stop/Start All Wireless Devices" menuitem
	if we actually have wireless devices.

97 98 99 100 101 102 103
	* gnome/applet/applet-dbus-info.c:
	* gnome/applet/applet.c:
	* gnome/applet/other-network-dialog.c:
	* gnome/applet/vpn-password-dialog.c:
	Drop the gtk_dialog_run () calls in favor of connecting to
	"response" signals, needed now that the applet is not threaded.

104 105 106 107 108 109
2005-08-31  Dan Williams  <dcbw@redhat.com>

	Patch from Bill Moss <bmoss@clemson.edu>
	* src/NetworkManagerDevice.c
		- (nm_device_wireless_scan): fix scan timeout values

110 111 112 113 114 115
2005-08-30  Dan Williams  <dcbw@redhat.com>

	* gnome/applet/wireless-applet.glade
		- HIG-ify the Other Wireless Networks dialog a bit more
		- Fix some potential segfaults in the info dialog

116 117
2005-08-30  Dan Williams  <dcbw@redhat.com>

Robert Love's avatar
 
Robert Love committed
118
	* gnome/applet/applet-dbus-devices.c
119 120
		- Remove nmwa_dbus_get_hal_device_string_property(); unused

121 122
2005-08-30  Dan Williams  <dcbw@redhat.com>

Robert Love's avatar
 
Robert Love committed
123
	* gnome/applet/applet-dbus.[ch]
124 125 126
		- Remove all the nmwa_dbus_call_method_xxxx functions since
			they weren't being used anyway

127 128 129 130 131
2005-08-30  Bastien Nocera  <hadess@hadess.net>

	* test/nmtestdevices.c: (print_usage), (main):
	Check the number of arguments, and fix a typo

132 133
2005-08-29  Dan Williams  <dcbw@redhat.com>

134 135 136 137 138 139 140 141 142 143 144 145
	Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
	* gnome/applet/applet.c
		- Define GTK_STOCK_INFO for GTK 2.6 and lower

2005-08-29  Dan Williams  <dcbw@redhat.com>

	* gnome/applet/*
		- Don't use threads any more.  Anything that blocks
			(like gtk_dialog_run()) will  have to get fixed up which
			should happen quickly.  We really only had threads to make
			the animation smooth, and when everything got converted over
			to DBus Pending Calls, the need for threads kind of went away
146

147 148 149 150 151 152 153
2005-08-29  Christopher Aillon  <caillon@redhat.com>

	* gnome/applet/applet.c: Draw VPN connections as radio items
	since we don't yet support multiple VPNs.
	* gnome/applet/other-network-dialog.c: Use stock icon for Connect
	* gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete

154 155 156 157 158 159
2005-08-29  Dan Williams  <dcbw@redhat.com>

	Patch from j@bootlab.org
	- Make --without-named work
	- Make --with-dhcdbd work correctly

joseppc's avatar
joseppc committed
160 161 162 163
2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>

	* configure.in: Added "ca" to ALL_LINGUAS.

164 165 166 167 168 169 170 171 172 173 174 175
2005-08-26  Christopher Aillon  <caillon@redhat.com>

	* Fix up VPN state handling between the applet and NetworkManager,
		so that the applet doesn't show a VPN as connected when one
		really is not
			- The applet no longer has a pointer to the active VPN's
				name, but tracks each VPNs state individually
			- NM no longer has a "getActiveVPNConnection" method
			- NM no longer broadcasts the "VPNConnectionChange" signal
			- NM now broadcasts a "VPNConnectionStateChange" signal
				whenever the state of a VPN changes

176 177
2005-08-26  Dan Williams <dcbw@redhat.com>

178 179 180 181 182 183 184
	* gnome/applet/applet-dbus-devices.c
	  gnome/applet/applet-dbus-vpn.c
		- Remove calls to dbus_pending_call_ref() because we already
			"own" the pending call
		- Remove calls to dbus_pending_call_get_completed() because
			when we are in the callback, the pending call is completed
			by definition
185

186 187 188 189 190 191 192
2005-08-22  Dan Williams <dcbw@redhat.com>

	Patch by Bill Moss <bmoss@clemson.edu>
	* src/dhcp-manager/nm-dhcp-manager.c
		- (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
			some time to send out a RELEASE if they like

193 194 195 196 197 198 199 200 201 202 203 204
2005-08-22  Dan Williams <dcbw@redhat.com>

	Noticed by Bill Moss <bmoss@clemson.edu>
	* src/NetworkManagerDbus.c
		- (nm_dbus_get_user_key_for_network_cb): deactivate the device
			instead of just cancelling its activation

	* src/NetworkManagerDevice.c
		- (nm_device_deactivate): some small cleanups
		- (nm_device_set_user_key_for_network): deactivate the device
			instead of just cancelling its activation

205 206 207 208 209 210 211
2005-08-22  Dan Williams <dcbw@redhat.com>

	Noticed by Bill Moss <bmoss@clemson.edu>
	* src/NetworkManagerDevice.c
		- (nm_device_wireless_scan): fix scan timeout, we were
			waiting way too long for scans to complete

212 213 214 215 216 217
2005-08-22  Dan Williams <dcbw@redhat.com>

	Patch from j@bootlab.org:
	* src/backends/NetworkManagerDebian.c
		- Make the Debian backend work for static IP again

218 219 220 221 222 223 224 225 226 227 228
2005-08-20  Christopher Aillon  <caillon@redhat.com>

	* gnome/applet/other-network-dialog.c:
	The "Create New Network" and "Connect to Other Network"
	dialogs share alot of code, but shouldn't share a window
	title.  Give them different ones.

	* gnome/applet/wireless-applet.glade:
	* vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
	Some more minor UI tweaks.

229 230 231 232 233 234
2005-08-19  Christopher Aillon  <caillon@redhat.com>

	* gnome/applet/other-network-dialog.c:
	* gnome/applet/wireless-applet.glade:
	Also need mnemonic widgets, and underline enabled.

235 236 237 238 239 240 241 242 243
2005-08-19  Dan Williams <dcbw@redhat.com>

	* vpn-daemons/vpnc/nm-vpnc-service.c
		- (vpnc_watch_cb): remove no-longer-relevant comment
		- (write_config_option): new function, helper to write
			config options to vpnc's stdin
		- (nm_vpnc_config_write): use the new helper, make the
			code shorter

244 245 246 247 248 249 250
2005-08-19  Christopher Aillon <caillon@redhat.com>

	* gnome/applet/passphrase-dialog.c:
	* gnome/applet/wireless-applet.glade:
	Make the passphrase dialog response based, and treat
	responses other than OK (such as Esc, [X]) as a cancel.

251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266
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

267 268 269 270 271 272
2005-08-18  Dan Williams <dcbw@redhat.com>

	* gnome/applet/main.c
		- Revert previous change for --no-session since
			--sm-disable does the same thing

273 274
2005-08-18  Dan Williams <dcbw@redhat.com>

275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297
	* gnome/applet/applet-dbus-info.c
		- (nmi_dbus_create_error_message): new function
		- (nmi_dbus_get_key_for_network): correctly use dbus error creation
			functions.  Also don't check for both device _and_ network before
			asking for a user's key, because we may not have gotten all our
			networks back from NM quite yet (due to the dbus pending calls
			coming in later).  Fixes a hang in NM/nm-applet.

	* src/NetworkManagerDbus.c
		- (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
			slightly more sane manner, even though we are still broken for
			certain other error conditions.
		- (nm_dbus_get_user_key_for_network): need to pass the network's essid
			to the info-daemon too

	* src/NetworkManagerDevice.c
		- Fix some debug messages to be info messages instead

2005-08-18  Dan Williams <dcbw@redhat.com>

	* gnome/applet/main.c
		- Add new "--no-session" parameter that disables applet
			session management, ie for testing
298

299 300 301 302 303
2005-08-18  Christopher Aillon <caillon@redhat.com>

	* gnome/applet/other-network-dialog.c:
	* gnome/applet/wireless-applet.glade: More mnemonics

304 305 306 307
2005-08-17  Robert Love  <rml@novell.com>

	* initscript/SUSE/networkmanager: update

Dan Williams's avatar
Dan Williams committed
308 309
2005-08-17  Dan Williams  <dcbw@redhat.com>

Dan Williams's avatar
Dan Williams committed
310
	* Tag NM_0_4_1_RELEASE
Dan Williams's avatar
Dan Williams committed
311

312 313
2005-08-17  Christopher Aillon  <caillon@redhat.com>

314
	* gnome/applet/applet.c: More translatable string cleanup
315 316


317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348
2005-08-17  Dan Williams  <dcbw@redhat.com>

	* gnome/applet/applet-dbus-info.c
		- (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
			from the dbus message, which tells us to unconditionally
			ask the user for a new key.  Otherwise, we pull the key from
			the keyring and return it.  If we fail to get the key from the
			keyring, we ask the user for a new key.
		- (nmi_dbus_get_network_key): new function to grab the key for
			an essid from the keyring.
		- (nmi_dbus_get_network_properties): don't access the keyring here.
			Also, don't return any key in the dbus message.

	* src/NetworkManagerDbus.[ch]
		- (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
			indicate that we unconditionally want a new key.  This function
			is now also used to get keys from the info-daemon which are
			pre-stored, not just for asking the user for a new key.  The
			"new_key" parameter indicates whether or not we wish to ask the
			user for a new key.
		- (nm_dbus_get_network_data_cb): we no longer get a key from the
			info-daemon in the return message, so use NULL instead.  The
			key will be filled in at connect time by calling
			nm_dbus_get_user_key_for_network()

	* src/NetworkManagerDevice.c
		- (nm_device_wireless_configure): update for "new_key" param to
			nm_dbus_get_user_key_for_network().  We initially set new_key
			to FALSE to see if we have a stored key in the info-daemon, but
			if the connection is unsuccessful at this stage we request a
			new one

349 350 351 352 353 354
2005-08-17  Dan Williams  <dcbw@redhat.com>

	* gnome/applet/icons/nm-no-connection.png
	  gnome/applet/icons/nm-device-wired.png
		- Use Diana's new RJ45 connector icons

355 356 357 358 359 360 361 362
2005-08-17  Dan Williams  <dcbw@redhat.com>

	* src/NetworkManagerPolicy.c
		- (nm_policy_device_change_check): clarify switching rules if
			both new and old devices are valid; mainly, don't switch
			away from user-requested wireless connection back to a wired
			one

363 364 365 366 367 368
2005-08-17  Dan Williams  <dcbw@redhat.com>

	* gnome/applet/Makefile.am
		- Relocate the applet to /usr/bin since it is no longer
			executed by anything, but directly by the user

369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391
2005-08-17  Dan Williams  <dcbw@redhat.com>

	Patch from Bill Moss <bmoss@clemson.edu>

	* gnome/applet/applet-dbus-info.[ch]
		- (nmi_save_network_info): save timestamp for network if it
			was a change requested by the user
		- (nmi_dbus_update_network_info): get user_requested from dbus
			message and pass to nmi_save_network_info()

	* gnome/applet/applet.c
		- (nmwa_update_network_timestamp): remove
		- (nmwa_menu_item_activate): don't set timestamp on networks
			here, only after a successful connect in nmi_save_network_info()

	* src/NetworkManagerDbus.[ch]
		- (nm_dbus_update_network_info): pass user_requested into the 
			dbus message

	* src/NetworkManagerPolicy.c
		- (nm_policy_activation_finish): pass user_requested to
			nm_dbus_update_network_info()

392 393 394 395
2005-08-16  Robert Love  <rml@novell.com>

	* gnome/applet/applet.c: Better "Dial Up" menu item.

Robert Love's avatar
 
Robert Love committed
396 397 398 399 400
2005-08-16  Robert Love  <rml@novell.com>

	* gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
	  "Connection Information" menu item.

401 402 403 404 405 406 407
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

408 409 410 411 412 413
2005-08-16  Robert Love  <rml@novell.com>

	Patch from j@bootlab.org
	* src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
	  src/backends/interface_parser.h: Debian dialup support.

414 415 416 417 418 419 420
2005-08-16  Christopher Aillon  <caillon@redhat.com>

	* vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
	* gnome/applet/applet.c: Add some mnemonics for VPNC

	* vpn-daemons/.cvsignore: fix this up a little bit

421 422 423 424 425
2005-08-16  Robert Love  <rml@novell.com>

	* src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
	  support.

426 427 428 429 430
2005-08-16  Christopher Aillon  <caillon@redhat.com>

	* gnome/applet/applet.c: Split markup out of translatable strings
	and clean up logic a little bit.  (fixes #309012)

431 432 433 434 435 436 437 438 439 440
2005-08-15  Christopher Aillon  <caillon@redhat.com>

	* gnome/vpn-properties/nm-vpn-properties.c:
	* gnome/vpn-properties/nm-vpn-ui-interface.h:
	* vpn-daemons/vpnc/properties/nm-vpnc.c:
	Makeshift fix to remove newlines from translatable strings.
	Note that we now return an allocated string, so callers of
	get_confirmation_details () must now call g_free () on the
	result. (fixes #309033).

Robert Love's avatar
 
Robert Love committed
441 442
2005-08-12  Robert Love  <rml@novell.com>

443 444
	* gnome/applet/applet-dbus.c: remove newlines from translatable
	  strings--not needed here anyway. (fix b.g.o #309011)
Robert Love's avatar
 
Robert Love committed
445 446
	* src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)

447 448 449 450
2005-08-11  Robert Love  <rml@novell.com>

	* gnome/applet/applet.c: mark string as translatable.

451 452 453 454
2005-08-11  Robert Love  <rml@novell.com>

	* initscript/SUSE/networkmanager: update.

455 456 457 458 459 460 461
2005-08-11  Dan Williams  <dcbw@redhat.com>

	* src/nm-dhcp-manager.c
		- (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
			an gateway returned from DHCP, try to use the address of the DHCP
			server as the gateway instead.  Found by Ralf Ertzinger.

Robert Love's avatar
 
Robert Love committed
462 463 464 465 466
2005-08-10  Robert Love  <rml@novell.com>

	* gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
	  wait for it on exit; call exit() in nmwa_destroy() to jump ship.

467 468 469 470 471 472 473 474 475 476
2005-08-10  Dan Williams  <dcbw@redhat.com>

	Patch from Bill Moss <bmoss@clemson.edu>
	* Consolidate writes of access point information updates to the info daemon
		so that we only do it when the connection to the access point was
		successful.  Also consolidates updates to GConf in the Gnome applet.

	* src/nm-netlink-monitor.c
		- Silence compile warning when calling g_object_new()

477 478 479 480 481 482
2005-08-08  Dan Williams  <dcbw@redhat.com>

	Patch from Steev <steev@steev.net>:
	* src/backends/NetworkManagerGentoo.c
		- Stub new dialup backend functions

483 484 485 486 487 488 489
2005-08-08  Dan Williams  <dcbw@redhat.com>

	Patch from Colin Slater:
	* src/backends/NetworkManagerGentoo.c
		- (nm_system_update_dns): Fix exit status check for restarting
			nscd

490 491 492 493 494 495 496 497 498 499 500 501 502 503 504
2005-08-05  Robert Love  <rml@novell.com>

	* NetworkManager.h,
	  gnome/applet/applet-dbus-devices.c,
	  gnome/applet/applet-dbus-devices.h,
	  gnome/applet/applet-dbus.c,
	  gnome/applet/applet.c,
	  gnome/applet/applet.h,
	  src/NetworkManager.c,
	  src/NetworkManagerMain.h,
	  src/NetworkManagerSystem.h,
	  src/backends/NetworkManagerRedHat.c,
	  src/backends/NetworkManagerSuSE.c,
	  src/nm-dbus-nm.c: basic dialup support using distro infrastructure

Robert Love's avatar
 
Robert Love committed
505 506 507 508 509
2005-08-05  Robert Love  <rml@novell.com>

	* gnome/applet/other-network-dialog.c: default the adhoc network to the
	  machine's hostname to make adhoc creation idiot-proof.

510 511 512 513 514
2005-08-04  Robert Love  <rml@novell.com>

	* gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
	  freed.

515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542
2005-08-04  Dan Williams  <dcbw@redhat.com>

	* gnome/applet/applet-dbus-info.c
	  gnome/applet/applet-dbus-info.h
		- (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
			to store key, key type, and auth method rather than just auth method
		- (nmi_dbus_update_network_info): new function
		- (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo

	* gnome/applet/passphrase-dialog.c
		- (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
			of saving the info ourselves

	* gnome/libnm_glib/libnm_glib.c
		- Remove the stupid version check for dbus

	* src/NetworkManagerAP.c
	  src/NetworkManagerAP.h
		- (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'

	* src/NetworkManagerDbus.c
	  src/NetworkManagerDbus.h
		- (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
			more than just the auth method

	* src/NetworkManagerDevice.c
		- Update network info at the appropriate times

543 544 545 546 547
2005-07-29  Ray Strode  <rstrode@redhat.com>

	* src/NetworkManager.c (nm_info_handler): don't use input as format
	string (Spotted by Ian Jackson).

548 549 550 551 552 553 554 555 556 557 558 559 560 561
2005-07-27  Dan Williams  <dcbw@redhat.com>

	* src/nm-dbus-nm.c
	  src/nm-dbus-net.c
		- Random cleanups of spacing

	* gnome/applet/applet.h
	  gnome/applet/other-network-dialog.c
	  gnome/applet/passphrase-dialog.c
		- Conslidate usage of NMWAEncryptionKeyTypes enum

	Patch from Bill Moss:
		- Make Other Wireless Networks work again with encryption keys

562 563 564 565 566 567 568
2005-07-26  Dan Williams  <dcbw@redhat.com>

	Patch from Steev <steev@steev.net>:
	* src/backends/NetworkManagerGentoo.c
	  src/backends/Makefile.am
		- Fix up Gentoo backend

569 570 571 572
2005-07-26  Robert Love  <rml@novell.com>

	* src/backends/NetworkManagerSuSE.c: misc. cleanup

573 574 575 576 577 578
2005-07-25  Robert Love  <rml@novell.com>

	* gnome/applet/applet.c: make the "Wired" menu item a radio button,
	  in the same group as the wireless networks, since they are all
	  mutually exclusive.

579 580 581 582 583 584 585
2005-07-24  Ray Strode  <rstrode@redhat.com>

	* src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
	remove unneeded NULL arg from g_object_new().  Any
	warnings caused by not having the extra NULL are just a
	result of a bug in glib 2.7.0 - 2.7.2.

586 587 588 589
2005-07-22  Robert Love  <rml@novell.com>

	* gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too

590 591 592 593 594
2005-07-22  Robert Love  <rml@novell.com>

	* src/nm-netlink-monitor.c: g_object_new() needs at least three
	  parameters (gcc 4.0.2 warning fix).

595 596 597
2005-07-18  Robert Love  <rml@novell.com>

	Suggested by Aaron Bockover (abockover@novell.com)
598
	* gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
599 600 601
	  s/Ascii/ASCII
	* gnome/applet/passphrase-dialog.c: ditto
	* gnome/applet/wireless-applet.glade: ditto
602

603 604 605 606 607 608
2005-07-13  Dan Williams  <dcbw@redhat.com>

	Patch from Ray Strode <halfline@gmail.com>
	* vpn-daemons/vpnc/nm-vpnc-service.c
		- Don't let vpnc daemonize, fixes some races with PID file reading

609 610 611 612 613
2005-07-13  Dan Williams  <dcbw@redhat.com>

	Patch from Ray Strode <halfline@gmail.com>
	* Random cleanups for strict CFLAGS

614 615 616 617 618 619
2005-07-07  Dan Williams  <dcbw@redhat.com>

	Patch from Derek Atkins <warlord@MIT.EDU>
	* src/nm-dbus-net.c:
		- (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs

620 621 622 623 624 625 626
2005-07-07  Dan Williams  <dcbw@redhat.com>

	Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
	* src/backends/NetworkManagerGentoo.c
		- Gentoo backend Static IP nameserver fixes
		- General Gentoo backend goodness

627 628 629 630 631 632
2005-07-07  Dan Williams  <dcbw@redhat.com>

	Patch from Bastien Nocera:
	* gnome/applet/applet.c
		- Fix up error reporting when icons or glade files are missing

633 634 635 636 637
2005-07-07  Robert Love  <rml@novell.com>

	* gnome/applet/applet.c: do not draw the VPN menu's seperator if there
	  are not any VPN connections above it.

638 639 640 641
2005-07-07  Robert Love  <rml@novell.com>

	* gnome/applet/applet.c: whoops, left some "dog" debugging code in.

642 643 644 645 646
2005-07-05  Robert Love  <rml@novell.com>

	* src/NetworkManagerSystem.c: bail out if asked to set a gateway of
	  zero.

647 648 649 650 651
2005-07-05  Robert Love  <rml@novell.com>

	* src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
	  on wired or unencrypted wireless.

652 653
2005-07-01  Robert Love  <rml@novell.com>

654
	* src/NetworkManagerSystem.c: Print the error via strerror().
655

656 657 658 659 660 661
2005-06-30  Robert Love  <rml@novell.com>

	* gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
	  then exit if the glade file is not found.  currently the application
	  just hangs.

662 663 664 665 666
2005-06-30  Robert Love  <rml@novell.com>

	* src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
	  explicitly up all interfaces on wake from sleep.

667 668 669 670 671 672 673
2005-06-30  Robert Love  <rml@novell.com>

	* gnome/applet/applet.c: Add right-click menu item "Connection Info"
	  with information about the currently active connection.
	* gnome/applet/applet.h: (ditto)
	* gnome/applet/wireless-applet.glade: (ditto), new file

674 675 676
2005-06-30  Robert Love  <rml@novell.com>

	* src/NetworkManagerDevice.c: g_malloc0 cannot fail.
677
	* src/nm-dbus-nm.c: print when we sleep and wake up.
678
	* gnome/applet/menu-items.c: whitespace, misc. cleanup.
679 680
	* configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
	  in /sbin unless D-BUS is, folks).
681
	* README: update to reflect nm-applet replacing NetworkManagerInfo.
682

683 684 685 686 687
2005-06-27  Robert Love  <rml@novell.com>

	* src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
	  case.

688 689 690 691 692
2005-06-27  Robert Love  <rml@novell.com>

	* gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
	  items radios.

693 694 695 696 697
2005-06-26  Robert Love  <rml@novell.com>

	* src/NetworkManagerDevice.c: be specific about which device in
	  nm_info() message.

Adam Weinberger's avatar
 
Adam Weinberger committed
698 699 700 701
2005-06-23  Adam Weinberger  <adamw@gnome.org>

	* src/nm-netlink-monitor.c: correct spelling error.

702 703 704 705 706
2005-06-23  Robert Love  <rml@novell.com>

	* gnome/applet/applet-dbus-info.c: gnome keyring support!
	* gnome/applet/passphrase-dialog.c: more of that keyring!

707 708 709 710 711 712 713
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.

714 715 716 717
2005-06-23  Robert Love  <rml@novell.com>

	* src/NetworkManagerDevice.c: division in assignment was flipped.

718 719 720 721 722 723 724 725
2005-06-23  David Zeuthen  <david@fubar.dk>

	* gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
	signal to the child to indicate that we got what we wanted when we
	see two new-lines right after each other.
	(nmwa_vpn_request_password): Pass a structure with several members
	instead of just the passwords

726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741
2005-06-23  Dan Williams <dcbw@redhat.com>

	* src/NetworkManager.c
	  src/NetworkManagerMain.h
		- (nm_get_hal_ctx): new function, move Hal initialization code here
		- (nm_hal_init): new function, init libhal context then add devices
		- (nm_hal_deinit): new function, clean up libhal context
		- (nm_data_free): Move Hal cleanup here
		- (main): check whether Hal is running, and if so, get a list of
			network devices from it

	* src/NetworkManagerDbus.c
		- (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
			and when it appears, get a list of network devices from it.  If
			Hal goes away, clean up the libhal context

Robert Love's avatar
 
Robert Love committed
742 743 744 745 746 747
2005-06-22  Robert Love  <rml@novell.com>

	* dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
	  permissions of scripts before executing.

2005-06-21  Robert Love  <rml@novell.com>
748

749 750
	* initscript/SUSE/networkmanager: update.
	* src/backends/NetworkManagerSuSE.c: cleanup.
751

752 753 754 755 756
2005-06-21  Robert Love <rml@novell.com>

	* gnome/applet/applet.c: use menu mnemonics.
	* gnome/applet/menu-items.c: (ditto)

757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779
2005-06-21  Robert Love  <rml@novell.com>

	* applet/applet-dbus-devices.c: mark non-static functions static.
	* applet/applet-dbus-vpn.c: (ditto)
	* applet/applet.c: (ditto)
	* applet/nm-device.h: (ditto)
	* applet/other-network-dialog.c: (ditto)
	* applet/passphrase-dialog.c: (ditto)
	* NetworkManager.c: (ditto)
	* NetworkManagerDbus.c: (ditto)
	* NetworkManagerDevice.c: (ditto)
	* NetworkManagerPolicy.c: (ditto)
	* NetworkManagerUtils.c: (ditto)
	* NetworkManagerWireless.c: (ditto)
	* NetworkManagerWireless.h: (ditto)
	* nm-netlink-monitor.c: (ditto)
	* applet/applet-dbus-info.c: (ditto), add FIXME's.
	* vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
	* autoip.c: include autoip.h.
	* autoip.h: new file.  define get_autoip().
	* nm-netlink-monitor.h: define nm_netlink_close_connection().
	* NetworkManagerDbus.h: remove duplicate definitions.

780 781 782 783 784 785 786 787 788 789 790
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.

791 792
2005-06-19  Dan Williams <dcbw@redhat.com>

793 794 795
	* src/NetworkManagerDevice.c
	- (nm_device_wireless_process_scan_results): scan every 20s when
	  disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
796

797 798
2005-06-19  Dan Williams <dcbw@redhat.com>

799
	* WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
800

801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818
2005-06-18  Ray Strode <rstrode@redhat.com>

	* 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

819 820 821 822 823 824 825
2005-06-18  Ray Strode <rstrode@redhat.com>

	* 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.

826 827 828 829 830
2005-06-17  Robert Love  <rml@novell.com>

	* initscript/SUSE/networkmanager: Change the Provides and default
	run levels

831 832 833 834 835 836
2005-06-16  Dan Williams <dcbw@redhat.com>

	Patch from Robert Love:
	* gnome/applet/applet.c
		- Beautify some applet menu item names

837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862
2005-06-17  David Zeuthen  <davidz@redhat.com>

	* 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

863 864
2005-06-16  Dan Williams <dcbw@redhat.com>

865 866 867 868
	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
869

870 871 872 873
2005-06-16  Dan Williams <dcbw@redhat.com>

	* Clean up wording in Wireless Scan Methods menu items and constants

874 875 876 877 878
2005-06-16  Robert Love  <rml@novell.com>

	* po/POTFILES.in
		- remove gtkcell* files

879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895
2005-06-15  Dan Williams <dcbw@redhat.com>

	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

896 897 898 899 900 901
2005-06-15  Dan Williams <dcbw@redhat.com>

	Patch from Robert Love:
	* initscript/SUSE/networkmanager
		- Fix typo

902 903 904 905 906 907 908
2005-06-15  Dan Williams <dcbw@redhat.com>

	* src/backends/NetworkManagerSuSE.c
	  src/backends/NetworkManagerRedHat.c
	  src/backends/NetworkManagerDebian.c
		- (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='

909 910 911 912 913 914 915 916 917 918 919 920 921
2005-06-15  Dan Williams <dcbw@redhat.com>

	* 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

922 923 924 925 926 927
2005-06-15  Dan Williams <dcbw@redhat.com>

	Patch from Thom May:
	* src/backends/NetworkManagerDebian.c
		- Update debian backend for static IP nameservers

928 929 930 931 932 933 934 935 936 937 938 939 940 941 942
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

943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033
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

1034 1035 1036 1037 1038 1039 1040 1041 1042 1043
2005-06-10  Dan Williams <dcbw@redhat.com>

	* 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

1044 1045 1046 1047 1048 1049 1050
2005-06-09  Dan Williams <dcbw@redhat.com>

	Patch from Robert Love:
	* src/NetworkManagerDevice.c
	  src/NetworkManagerUtils.c
		- 64-bit build fixes

1051 1052 1053 1054 1055 1056 1057 1058
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

1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124
2005-06-09  Dan Williams <dcbw@redhat.com>

	* NetworkManager.h
		- Add NMWirelessScanMethod enum for scan methods

	* gnome/applet/applet-dbus-devices.c
		- (nmwa_dbus_update_scanning_enabled_cb): remove
		- (nmwa_dbus_update_scanning_enabled): remove
		- (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
			since it got removed
		- (nmwa_dbus_enable_scanning): remove

	* gnome/applet/applet-dbus-info.c
		- (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
			update the wireless scanning method from NMI
		- (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
			method value to NetworkManager
		- (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call

	* gnome/applet/applet-dbus-info.h
		- Add prototype for nmi_dbus_signal_update_scan_method

	* gnome/applet/applet.c
		- (scanning_menu_update): new function, update one GtkCheckMenuItem from the
			Wireless Scanning menu based on current wireless scan method
		- (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
			signal for Wireless Scanning menu items, tell NetworkManager the new method
			and update our menu items to make sure the right one is checked
		- (nmwa_set_scanning_enabled_cb): remove
		- (nmwa_context_menu_update): remove references to pause_scanning_item
		- (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
			Scanning menu item
		- (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
			from GConf
		- nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
			so we get notified of preference values too
		- (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS

	* gnome/applet/applet.h
		- GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
		- Add wireless scan method member to applet data
		- Remove pause_scanning_item, add Wireless Scanning submenu

	* src/NetworkManager.c
		- (nm_data_new): default to NM_SCAN_METHOD_ON
		- (main): grab scanning method from NMI if we can

	* src/NetworkManagerDbus.c
		- (nm_dbus_update_wireless_scan_method_cb): new function, callback from
			nm_dbus_update_wireless_scan_method()
		- (nm_dbus_update_wireless_scan_method): new function to grab scanning method
			from NMI
		- (nm_dbus_nmi_is_running): redundant function, removed
		- (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
			when NMI comes back

	* src/NetworkManagerDevice.c
		- (nm_device_is_activated): return TRUE if the device is activated
		- (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
			and we are activated

	* src/nm-dbus-nm.c
		- (nm_dbus_nm_set_scanning_enabled): removed
		- nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
		- (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"

1125 1126 1127 1128 1129 1130
2005-06-09  Dan Williams <dcbw@redhat.com>

	* NetworkManager.h
	  src/vpn-manager/nm-vpn-service.c
		- NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)

1131 1132 1133 1134 1135 1136
2005-05-27  Dan Williams <dcbw@redhat.com>

	* vpn-daemons/vpnc/nm-vpnc-service.c
		- (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
			Should fix the bug where the VPN connection terminates the first time.

1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182
2005-05-20  Dan Williams <dcbw@redhat.com>

	* NetworkManager.h
		- Differentiate VPN config signals between bad VPN config options
			and bad IP config

	* gnome/applet/applet-dbus-info.h
		- Add prototypes for wireless network and vpn connection update functions

	* gnome/applet/applet-dbus.c
		- (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager

	* gnome/applet/applet.c
		- (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
			error signals
		- (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
			propogation to NetworkManager
		- (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
			notify propogation to NetworkManager

	* src/NetworkManagerDbus.c
		- (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
			are updating so a network can be removed from it if necessary

	* src/vpn-manager/nm-vpn-manager.c
		- (nm_vpn_manager_process_signal): trap new vpn config error signals

	* vpn-daemons/vpnc/nm-vpnc-service.c
		- (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
		- (nm_vpnc_dbus_signal_launch_failed): remove
		- (nm_vpnc_dbus_signal_connect_failed): remove
		- (nm_vpnc_helper_timer_cb): update for new generalized error signal function
		- (nm_vpnc_schedule_helper_timer): increase timeout to 10s
		- (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
			for new generalized error signal function, remove config file stuff
		- (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
			we can write configuration options to it
		- (nm_vpnc_config_file_generate): removed
		- (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
		- (nm_vpnc_config_options_validate): validate the config options we receive
			from NetworkManager to block potential exploits
		- (nm_vpnc_dbus_handle_start_vpn): call option validation function before
			starting vpnc
		- (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
			to NetworkManager

1183 1184 1185 1186 1187 1188
2005-05-16  Dan Williams  <dcbw@redhat.com>

	* vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
		- (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
			is not "connect"

1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213
2005-05-16  Dan Williams  <dcbw@redhat.com>

	Patch from Tomislav Vujec <tvujec@redhat.com>
	* gnome/applet/applet-dbus-info.c
		- (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
			GConf and pass them to NetworkManager.  New key is 'routes' under
			the VPN connection, and should be a string list

	* src/NetworkManagerSystem.c
		- (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
			set them on the device when we set the rest of the VPN config.  Ensure
			they are in the correct format since they are passed directly to the
			command line.

	* src/backends/NetworkManagerRedHat.c
	  src/backends/NetworkManagerDebian.c
		- (nm_system_device_add_route_via_device_with_iface): new function

	* src/vpn-manager/nm-dbus-vpn.c
		- (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo

	* src/vpn-manager/nm-vpn-manager.c
		- (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
			them into the IP4 config functions

1214 1215 1216 1217 1218 1219 1220 1221
2005-05-15  Dan Williams  <dcbw@redhat.com>

	From Filip Miletic:
	* po/sr.po
	  po/sr@Latn.po
	  configure.in
		- Serbian translation added

1222 1223 1224 1225 1226 1227 1228
2005-05-15  Dan Williams  <dcbw@redhat.com>

	* dispatcher-daemon/NetworkManagerDispatcher.c
		- (main): sync arguments with NetworkManager and the applet, now use
			"--no-daemon" rather than "daemon=no"
		- (nmd_print_usage): Fix script path in usage message

1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266
2005-05-15  Dan Williams  <dcbw@redhat.com>

	* src/NetworkManagerDevice.[ch]
	  src/NetworkManagerPolicy.c
	  src/NetworkManager.c
	  src/nm-dbus-nm.c
		- Remove the "just_added" parameter from nm_device_deactivate().  We no
			longer send the DeviceNoLongerActive signal unconditionally, but only
			when the device is actually active.

	* dispatcher-daemon/NetworkManagerDispatcher.c
		- (nmd_execute_scripts): convert to GLib directory functions from opendir(),
			and simplify the logic
		- (nmd_get_device_name): copy value from dbus reply so we don't segfault when
			we free it later on

	* initscript/RedHat/Makefile.am
	  initscript/RedHat/NetworkManagerDispatcher
		- Add initscript for NetworkManagerDispatcher


	Patch from Bill Moss:
	* dispatcher-daemon/NetworkManagerDispatcher.c
		- Remove IP4AddressChange signal code including nmd_get_device_ip4_address()

	* src/NetworkManagerDbus.c
		- (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
			and DeviceNowActive gets signaled, then the device has a new IP address
			anyway.  There's no need for a separate signal.

	* src/NetworkManagerDevice.c
		- (nm_device_update_ip4_address): Don't send IP4AddressChange signal

	* src/NetworkManagerPolicy.c
		- (nm_policy_activation_finish): Send DeviceNowActive signal when the device
			activates successfully.  This kind of went missing when I reworked the
			activation code.

1267 1268 1269 1270 1271 1272 1273 1274 1275
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

1276 1277 1278 1279 1280 1281 1282 1283 1284 1285
2005-05-14  Dan Williams  <dcbw@redhat.com>

	* gnome/applet/nm-device.c
		- (network_device_sort_wireless_networks, sort_networks_function): New functions to
			sort wireless networks alphabetically

	* gnome/applet/applet-dbus-devices.c
		- (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
			before copying them over to the GUI

1286 1287 1288 1289 1290 1291 1292 1293
2005-05-14  Dan Williams  <dcbw@redhat.com>

	* src/NetworkManager.c
		- (device_stop_and_free): Deactivate VPN connections before deactivating devices,
			fixes a deadlock on shutdown with a VPN connection active.  This function locks
			the device list, as does nm_get_active_device() which is called from
			nm_vpn_manager_deactivate_vpn_connection().

1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331
2005-05-14  Dan Williams  <dcbw@redhat.com>

	* NetworkManager.h
		- Add signals for VPN Launch and Connect failures

	* gnome/applet/applet-dbus.c
		- (nmwa_dbus_filter): Trap new VPN launch & connect failure signals

	* gnome/applet/applet.c
		- (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
			function to handle all VPN failure messages
		- (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
			function to hanlde all VPN failure  messages
		- (show_warning_dialog): work around focus-stealing prevention

	* gnome/applet/other-network-dialog.c
	  gnome/applet/passphrase-dialog.c
		- (update_button_cb): Make sure the OK button is enabled when it should be, fixes
			problem where it never enabled for ASCII Key and Hex Key types

	* gnome/applet/wireless-applet.glade
		- Add window title to Other Wireless Network Dialog

	* src/vpn-manager/nm-dbus-vpn.c
		- (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
			function to handle all VPN failure messages

	* src/vpn-manager/nm-vpn-manager.c
		- (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too

	* vpn-daemons/vpnc/nm-vpnc-service.c
		- (nm_vpnc_dbus_signal_launch_failed): new function
		- (nm_vpnc_dbus_signal_connect_failed): new function
		- (nm_vpnc_helper_timer_cb): signal connect failure on timeout
		- (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
		- (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
		- (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc

1332 1333 1334 1335 1336 1337 1338
2005-05-11  Dan Williams  <dcbw@redhat.com>

	* vpn-daemons/vpnc/nm-vpnc-service.c
		- (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
		- (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
			file exists before trying to write it out.

1339 1340 1341 1342 1343 1344 1345
2005-05-10  Dan Williams  <dcbw@redhat.com>

    * gnome/applet/applet-dbus-device.c
        - (nmwa_dbus_set_device): remove check for valid key and key type, which 
            prevented just entering ESSID and leaving key and key type up to
            NetworkManager (which should have them already cached)

1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361
2005-05-08  Dan Williams  <dcbw@redhat.com>

	* src/NetworkManagerPolicy.c
		- (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
		- (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
			fix a situation where NM is told to terminate and the device stops activation,
			but the main thread isn't aware of that because it would never have run
			nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
			had already quit.

	* src/NetworkManagerDevice.c
		- (nm_device_probe_wired_link_state): cosmetic fixes
		- (nm_device_activate_stage5_ip_config_commit): Don't check link state if
			we've failed to activate or been canceled.
		- (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message

1362 1363 1364 1365 1366 1367 1368
2005-05-08  Dan Williams  <dcbw@redhat.com>

	* src/NetworkManagerWireless.c
		- (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
			value of WEXT quality structures, and add a debug message when we cannot
			determine any quality % at all

1369 1370 1371 1372 1373 1374
2005-05-08  Dan Williams  <dcbw@redhat.com>

	* src/dhcp-manager/nm-dhcp-manager.c
		- (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
			it goes down.

1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434
2005-05-06  Dan Williams  <dcbw@redhat.com>

	* gnome/applet/applet-dbus-device.c
	  gnome/applet/applet-dbus-info.c
	  gnome/applet/applet-dbus.c
	  gnome/applet/applet.c
	  gnome/applet/applet.h
		- (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)

	* gnome/applet/applet-dbus.c
		- (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
			so we notice when wired device's carriers come back on.  Should
			fix issue with wired devices being grayed out even if the cable
			is in, for devices that support carrier detection.

	* gnome/applet/applet.c
		- (nmwa_driver_notify): bash focus-stealing prevention in the face
		- (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
			tooltip message
		- (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
			Fix situation where applet wouldn't respond to menu selections

	* src/NetworkManager.c
	  src/NetworkManagerDevice.c
	  src/NetworkManagerDbus.c
	  src/NetworkManagerDbus.h
		- (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)

	* src/NetworkManagerDbus.c
		- (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
			Remove, no longer used or relevant
		- (nm_dbus_signal_device_status_change): Better signal enum->string matching
		- (nm_dbus_schedule_device_status_change_signal): add

	* src/NetworkManagerDevice.c
		- (nm_device_worker_thread_stop): don't try to join a NULL worker thread
		- (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
			ie don't deactivate them unless explicitly told to by the user.  Also send
			CARRIER_OFF / CARRIER_ON signals when link changes
		- (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
			Don't print error message when device is no longer around
		- (nm_device_deactivate): kill any current DHCP process attached to this device,
			not just during activation

	* src/NetworkManagerPolicy.c
		- (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
			auto-device-selection.
		- (nm_policy_device_change_check): Don't interrupt semi-supported devices

	* src/NetworkManagerSystem.c
		- (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
			is no longer present (Bill Moss)

	* src/backends/shvar.c
		- (svOpenFile): Open read-only to make SELinux happy

	* src/backends/NetworkManagerRedHat.c
		- (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
			the path to the ifcfg-* files

1435 1436 1437 1438 1439 1440
2005-05-05  Dan Williams  <dcbw@redhat.com>

	* Expose activation stages to NetworkManager clients, like the applet
	* Add Diana's progress icons to the applet, cued off NM activation stage
	* Use more descriptive tooltips, cued off NM activation stage

1441 1442 1443 1444 1445
2005-05-05  Ray Strode  <rstrode@redhat.com>

	* src/nm-netlink-monitor.c:
		- Use clear_event_source instead of g_nullify_pointer() again.

1446 1447 1448 1449 1450 1451 1452 1453
2005-05-05  Dan Williams  <dcbw@redhat.com>

	* gnome/applet/main.c
		- Fix session management so the applet is actually managed now

	* gnome/applet/passphrase-dialog.c
		- (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face

1454 1455 1456 1457 1458 1459
2005-05-05  Dan Williams  <dcbw@redhat.com>

	Patch from Bill Moss:
	* gnome/libnm_glib/libnm_glib.c
		- Fix for dbus-0.33

1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485
2005-05-05  Dan Williams  <dcbw@redhat.com>

	Suggestion from Bill Moss:
	* src/NetworkManagerSystem.c
		- (nm_system_device_set_up_down_with_iface): ignore ENODEV


	* src/NetworkManager.c
		- (nm_data_free): move destruction of the various managers after
			release of device list, because deactivating and freeing a device
			requires at least the named manager
		- (nm_poll_and_update_wireless_link_state):
		  (nm_device_link_activated):
		  (nm_device_link_deactivated):
			don't grab the device list lock when actually updating device
			link status or strength, since nm_device_set_link_active()
			needs to call nm_get_active_device(), which also locks the device list.

	* src/NetworkManagerDevice.c
		- (nm_device_set_link_active): if a device's link switches from off->on,
			and it's wired, and the active device is wireless (or there is no
			active device), activate the new device whose link just came on
		- (link_to_specific_ap): try to smooth over intermittency in wireless links
			my only calling the link to the current ap "failed" when more than 2
			consecutive link checks have failed

1486 1487 1488 1489 1490 1491 1492 1493 1494 1495
2005-05-04  Dan Williams  <dcbw@redhat.com>

	* src/NetworkManagerDevice.c
		- (nm_device_probe_wireless_link_state): don't lock the scan mutex here
			but let link_to_specific_ap() do the locking where it needs

	Patch from Bill Moss:
	* src/NetworkManagerSystem.c
		- Set MTU of VPN devices to 1412

1496 1497 1498 1499 1500 1501 1502
2005-05-04  Dan Williams  <dcbw@redhat.com>

	* Remove NM_STATE_SCANNING from NetworkManager.h and applet code

	* Fix some holes in device activation and retaining the currently connected
		access point

1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534
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

1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545
2005-04-27  Dan Williams  <dcbw@redhat.com>

	* gnome/applet/applet-dbus-vpn.c
	  gnome/applet/applet.c
	  gnome/applet/applet.h
		- Fix up active VPN handling so that we reliably know when a VPN
			connection has been deactivated

	* src/vpn-manager/nm-vpn-manager.c
		- Remove duplicate VPNConnectionChange signal

1546 1547 1548 1549 1550 1551 1552 1553 1554
2005-04-27  Dan Williams  <dcbw@redhat.com>

	Patch from Peter Jones:
	* Remove usage of varargs to fix crashes on PPC (RH #154336)

	Patch from Bill Moss:
	* src/NetworkManagerSystem.c
		- Fix checking of return value from ioctl()

1555 1556 1557 1558 1559
2005-04-27  Dan Williams  <dcbw@redhat.com>

	* Fix choosing of wireless networks and "Other wireless network..." from the applet
	* Warn and exit if icons cannot be found

1560 1561 1562 1563 1564
2005-04-27  Dan Williams  <dcbw@redhat.com>

	Patch from Tom Parker:
	* Update debian backend

1565 1566 1567 1568 1569 1570 1571 1572 1573 1574
2005-04-27  Dan Williams  <dcbw@redhat.com>

	* Merge the applet and the info-daemon, and move the converged
		applet under gnome/applet
	* Move libnm_glib to gnome/libnm_glib
	* Convert most dbus calls between the applet, info-daemon, and NM
		into async calls
	* Fix a few things valgrind noticed
	* Make NM broadcast state more reliably

1575 1576 1577 1578
2005-04-22  Pawan chitrakar  <pawan@nplinux.org>

	* configure.in: Added ne in ALL_LINGUAS

1579 1580 1581 1582 1583
2005-04-15  Dan Williams  <dcbw@redhat.com>

	* libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
		code for dbus 0.2x versions

1584 1585 1586 1587 1588 1589 1590 1591 1592
2005-04-15  Dan Williams  <dcbw@redhat.com>

	Patches from Tom Parker:
	- Fix memleaks
	- Join with worker thread rather than polling for its exit

	Patch from Bill Moss:
	- Cull duplicate ESSIDs from the scan list, taking highest strength AP

1593 1594 1595 1596
2005-04-15  Dan Williams  <dcbw@redhat.com>

	- Fixes to pass 'make distcheck'

1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607
2005-04-15  Dan Williams  <dcbw@redhat.com>

	Initial VPN Support
		- supports 'vpnc'
		- reworks device IP configuration, backend files have changed and will need
			to be updated for all distributions.  I will try to do what I can for
			them, but I cannot test them.

	- Move named directory to src/named-manager
	- Make backends directory self-contained

1608 1609 1610 1611 1612 1613 1614
2005-04-06  Dan Williams  <dcbw@redhat.com>

	Add debug code for socket/file descriptor leaks.  We register every socket
	that we open (except for stuff in dhcpcd/) for tracking, and print out the
	list of sockets that we forgot to close on shutdown.  This also consolidates
	about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c

1615 1616 1617 1618 1619 1620
2005-04-06  Dan Williams  <dcbw@redhat.com>

	* dhcpcd/dhcpcd.c
		- (dhcp_interface_free): fix a file descriptor leak that may have
			caused network drivers to not unload due to refcounts > 0

1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635
2005-04-04  Dan Williams  <dcbw@redhat.com>

	* panel-applet/NMWirelessAppletDbus.c
		- (nmwa_dbus_call_nm_method): remove some commented code

	* src/NetworkManagerAPList.[ch]
		- (nm_ap_list_remove_ap_by_essid): new function

	* src/NetworkManagerDevice.c
		- (nm_device_wireless_force_use): remove access points from the ignore list
			when the user forces them

	* src/nm-dbus-device.c
		- (nm_dbus_device_get_active_network): fix up escaping of object paths

1636 1637 1638 1639 1640
2005-04-04  Dan Williams  <dcbw@redhat.com>

	Patch from Tom Parker: include "nm-utils.h" for backend files that need it

2005-04-04  Dan Williams  <dcbw@redhat.com>
1641 1642 1643 1644 1645 1646 1647

	* src/NetworkManagerDevice.c:
		- (nm_completion_scan_has_results): restore pre-completion-patch behavior
			of only erroring after the second consecutive scan times out.  Also
			don't exit when the card requires more time than we can give it, just
			log the event and continue.

1648 1649 1650 1651
2005-04-01  Steve Murphy  <murf@e-tools.com>

        * configure.in: Added "rw" to ALL_LINGUAS.

1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668
2005-04-01  Dan Williams <dcbw@redhat.com>

	Perform scans during device activation, if needed.  Both activation 
	and scans run in the same GMainContext.  Therefore, if an access point
	is not found by the time the device starts activation, it will not
	be available until after activation.  We now try to scan during
	activation (in nm_wa_test) every 15s so that all available access
	points are more likely to be found and available for the activation
	procedure.

	Also change nm_wireless_link_state_handle() to only update the "best"
	AP if we are not forcing a device and if we are not about to change
	state.  This attempts to work around a race when forcing a device,
	where the forced AP would get cleared out too soon by the link state
	checking timeout in the main thread, and the activation attempt with
	that AP would fail.

1669 1670 1671 1672 1673
2005-04-01  Dan Williams <dcbw@redhat.com>

	* po/POTFILES.in
		- Update with new translatables

1674 1675 1676 1677 1678 1679
2005-03-31  Dan Williams <dcbw@redhat.com>

	* panel-applet/NMWirelessAppletDbus.c
		- Fix device names now that hal has changed device parenting for
			network devices.

1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765
2005-03-31  Dan Williams <dcbw@redhat.com>

	Tighten up handling of wireless devices that don't support wireless
	scanning (ie, Orinoco).  Due to restructuring of code, these devices
	hadn't been doing pseudo-scanning for a while either and would just
	spin waiting for an access point.  They are now manual devices where
	the user must choose the access point from the menu every time.  All
	"allowed" access points are listed in the applet's menu regardless
	of whether or not they can be seen by the card, since it can't scan
	anyway.

	* src/NetworkManager.c
		- (nm_wireless_link_state_handle): new function, but only update
			the "best" ap for non-scanning devices when its not activating,
			and when no device is being forced on the card
		- (nm_link_state_monitor): split wireless link state handling out
			into separate function

	* src/NetworkManagerDevice.c
		- (nm_device_copy_allowed_to_dev_list): new function
		- (nm_device_new): populate non-scanning cards' AP lists with
			access points from the "allowed" list
		- (nm_device_new): don't start a scanning timeout for devices that
			can't scan
		- (nm_device_activation_schedule_finish): new parameter, should be
			the AP that failed to be connected to, pass it on to the
			activation finish function in NetworkManagerPolicy.c
		- (nm_device_activate_wireless): don't ever try to get a new AP
			for non-scanning devices, just fail.  The user must choose
			a new access point manually.
		- (nm_device_activate): grab the AP that failed connection and
			pass it on
		- (nm_device_update_best_ap): Clear the best AP if we don't have
			a link to it, user must manually choose a new one
		- (nm_device_do_pseudo_scan): remove function
		- (nm_device_wireless_process_scan_results): remove bits for non-
			scanning cards since they never get here
		- (nm_device_wireless_scan): remove bits for non-scanning devices,
			and fake the scan list for test devices a bit earlier

	* src/NetworkManagerPolicy.c
		- (nm_policy_activation_finish): use the failed_ap that we get
			passed rather than getting the best_ap from the card, which
			may have changed since we were scheduled
		- (nm_policy_allowed_ap_list_update): for non-scanning devices,
			update their scan list directly from the allowed list when
			we get updates to the allowed list from NetworkManagerInfo

	* src/NetworkManagerPolicy.h
		- New member for failed access point in NMActivationResult

  -------------------------------------

	Driver Notification patch: notifies the user when their driver
		sucks.  Gives them the option to ignore further insertions
		of the card that has the sucky driver.

	* NetworkManager.h
		- Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
			enum and replace it with NO_CARRIER_DETECT and
			NO_WIRELESS_SCAN

	* panel-applet/NMWirelessApplet.[ch]
		- Merge essid.glade -> wireless-applet.glade
		- Implement the "Your driver sucks" notification dialog

	* panel-applet/NMWirelessAppletDbus.c
		- Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
		- Grab hardware address for each device from NM too
		- Check whether the driver for each device sucks or not whenever
			a new device is noticed

	* panel-applet/NMWirelessAppletOtherNetworkDialog.c
		- Deal with stuff being in wireless-applet.glade now rather than essid.glade

	* src/NetworkManager.c
		- Fix a double-unref on device removal

	* src/NetworkManagerUtils.c
		- Set appropriate driver support level on a device that doesn't
			support scanning or carrier detection

	* src/nm-dbus-device.c
		- New "getHWAddress" dbus method on devices
		- getSupportsCarrierDetect -> getDrive