ChangeLog 220 KB
Newer Older
1 2 3 4 5
2005-10-17  Christopher Aillon  <caillon@redhat.com>

	* gnome/applet/applet-dbus-info.c:
	Let D-BUS know that we haven't handled a message when we haven't.

6 7 8
2005-10-17  Christopher Aillon  <caillon@redhat.com>

	* gnome/applet/applet-dbus-info.c:
Chris Aillon's avatar
Chris Aillon committed
9
	Find network encryption keys asynchronously
10

Robert Love's avatar
 
Robert Love committed
11 12
2005-10-17  Robert Love  <rml@novell.com>

Robert Love's avatar
 
Robert Love committed
13 14 15 16 17 18 19
	* src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
	  in order to remain 64-bit clean.

2005-10-17  Robert Love  <rml@novell.com>

	* src/backends/NetworkManagerDebian.c,
	  src/backends/NetworkManagerRedHat,
Robert Love's avatar
 
Robert Love committed
20 21 22
	  src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
	  comment delimiter.

Robert Love's avatar
 
Robert Love committed
23 24 25 26 27
2005-10-17  Robert Love  <rml@novell.com>

	* src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
	  "/etc"

28 29 30 31 32
2005-10-17  Christopher Aillon  <caillon@redhat.com>

	* src/NetworkManagerDevice.c: (process_scan_results)
	Fix logic that checks to see whether we have an ESSID.

33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
2005-10-15  Dan Williams  <dcbw@redhat.com>

	Move scanning code into NetworkManager rather than use iwlib's
	iw_scan() function, so that we can figure out AP capabilities.

	* NetworkManager.h
		- Add AP capability bits

	* src/NetworkManagerAP.[ch]
		- Add capability field to NMAccessPoint structure
		- Add WPA & RSN Information Element fields and accessor
			functions to NMAccessPoint

	* src/NetworkManagerDevice.c
		- Remove usage of iw_scan
		- Add scanning code to NetworkManager rather than use
			iw_scan() from iwlib

	* src/NetworkManagerUtils.[ch]
		- (nm_dispose_scan_results): remove, unused

54 55 56 57 58 59
2005-10-14  Christopher Aillon  <caillon@redhat.com>

	* gnome/libnm_glib/libnm_glib.c:
	* gnome/libnm_glib/libnm_glib.h:
	Use guint instead of gint for callback IDs.

60 61 62 63 64 65 66 67 68 69
2005-10-12  Christopher Aillon  <caillon@redhat.com>

	* gnome/applet/applet.c:
	Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
	every 1000ms.  It will unconditionally call nmwa_update_state which
	kills the existing animation timeout and registers a new one with a
	callback to draw a new frame every 100ms.  There are 11 connecting
	icon frames, so the last 2 frames kept getting dropped.  Only reset
	the animation timeout if we aren't animating.

70 71 72 73 74 75 76
2005-10-11  Dan Williams  <dcbw@redhat.com>

	* gnome/applet/applet-dbus-devices.c
		- (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
			We want to grab the product & vendor from net.physical_dev
			rather than info.parent.

77 78 79 80 81 82 83
2005-10-11  Dan Williams  <dcbw@redhat.com>

	* src/NetworkManagerDevice.c
		- Use the driver's WE version for scanning rather than
			the WE version NM was compiled with.  Fixes random
			crashes in iw_scan () in iwlib.

84 85 86 87 88
2005-10-10  Dan Williams  <dcbw@redhat.com>

	* Remove nm_system_load_device_modules() from backend files
		and from NetworkManager.c

89 90 91 92 93
2005-10-10  Dan Williams  <dcbw@redhat.com>

	* src/NetworkManagerPolicy.c
		- Fix some bugs introduced by the capabilities patch

94 95 96 97 98 99
2005-10-10  Dan Williams  <dcbw@redhat.com>

	* gnome/applet/applet-dbus-info.c
		- (nmi_dbus_get_network_key): hide the menu when putting up
			the keyring dialog.  (not sure if the code is right...)

100 101 102 103 104 105 106
2005-10-09  Dan Williams  <dcbw@redhat.com>

	Patch from Bill Moss <bmoss@clemson.edu>
	* src/NetworkManagerDevice.c
		- (nm_device_set_user_key_for_network): don't try to set auth
			mode on the AP from the allowed list if it's NULL

107 108 109 110 111 112 113 114
2005-10-09  Dan Williams  <dcbw@redhat.com>

	* Replace the "driver support level" stuff with capabilities.  The
		capability field is a bitfield that is more flexible than the
		old driver support level thing.  It's mostly so we can easily
		figure out what supports WPA and what doesn't, but should be
		quite useful later.

115 116 117 118 119 120 121 122 123 124
2005-10-09  Dan Williams  <dcbw@redhat.com>

	* test/nmtest.c
		- Removed

	* test/nm-tool.c
	  test/Makefile.am
		- Added new "nm-tool" tool that gives quite a bit more
			information

Robert Love's avatar
 
Robert Love committed
125 126 127 128 129 130 131 132
2005-10-07  Robert Love  <rml@novell.com>

	* gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
	  gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
	  src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
	  test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
	  appropriate

Robert Love's avatar
 
Robert Love committed
133 134 135
2005-10-07  Robert Love  <rml@novell.com>

	* configure.in: Change our compile flags for the betterment of mankind.
Robert Love's avatar
 
Robert Love committed
136 137
	  Add "-Wstrict-prototypes" because we comply anyhow and missing a
	  prototype is very bad on 64-bit platforms as types default to int but
Robert Love's avatar
 
Robert Love committed
138
	  sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
Robert Love's avatar
 
Robert Love committed
139 140
	  "-Wmissing-declarations" to warn if we define an exported function
	  but fail to put it in a header.
Robert Love's avatar
 
Robert Love committed
141

Robert Love's avatar
 
Robert Love committed
142 143 144 145 146 147
2005-10-07  Robert Love  <rml@novell.com>

	* src/NetworkManagerWireless.c: remove stale, unused function, who goes
	  by the name nm_update_device_wireless_timeouts() and once tried,
	  without success, to steal my pet turtle.

Robert Love's avatar
 
Robert Love committed
148 149 150 151 152 153 154 155 156 157
2005-10-07  Robert Love  <rml@novell.com>

	* Cleanup prototypes: put some functions in header files and mark
	  others as 'static' -- feel free to invert
	* src/vpn-manager/nm-dbus-vpn.c: remove prototype of
	  nm_vpn_manager_vpn_connection_list_copy()
	* src/vpn-manager/nm-vpn-act-request.c: remove prototype of
	  nm_vpn_service_get_dbus_connection()
	* src/vpn-manager/nm-vpn-manager.h: add prototypes for
	  nm_vpn_manager_vpn_connection_list_copy()
Robert Love's avatar
 
Robert Love committed
158 159 160
	* src/vpn-manager/nm-vpn-service.c: make
	  nm_vpn_service_act_request_failed() and
	  nm_vpn_service_stage2_daemon_wait() static
Robert Love's avatar
 
Robert Love committed
161 162 163
	* src/vpn-manager/nm-vpn-service.h: add prototype for
	  nm_vpn_service_get_dbus_connection()

164 165 166 167 168 169 170 171
2005-10-06  Christopher Aillon  <caillon@redhat.com>

	* gnome/applet/applet.c:
	* gnome/applet/applet.h:
	* gnome/applet/icons/Makefile.am:
	Convey information about the current connection stage in the
	icons themselves instead of creating a separate progress bar.

Robert Love's avatar
 
Robert Love committed
172 173 174 175 176 177 178
2005-10-04  Robert Love  <rml@novell.com>

	* src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
	  convert an ether_addr structure's MAC into a string, because the
	  latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
	  versus 07:3B:04, while the former will not.

179 180 181 182 183 184 185 186 187 188 189
2005-10-04  Robert Love  <rml@novell.com>

	* gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
	  gnome/applet/nm-device.c, gnome/applet/nm-device.h,
	  gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
	  default route in the 'Connection Information' dialog, send primary
	  and secondary name servers in in "getProperties" DBUS method, add
	  network_device_{get,set}_{primary,secondary}_dns(),  The primary and
	  secondary domain name servers are crucial pieces of information
	  that a user might need in debugging a network problem.

Robert Love's avatar
 
Robert Love committed
190 191 192 193 194 195 196 197 198 199 200
2005-10-04  Robert Love  <rml@novell.com>

	* gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
	  gnome/applet/nm-device.c, gnome/applet/nm-device.h,
	  gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
	  default route in the 'Connection Information' dialog, send default
	  route in "getProperties" DBUS method, add network_device_set_route(),
	  and network_device_get_route().  The Gateway is a crucial piece of
	  connection-related information that a user might need in debugging a
	  network problem.

Robert Love's avatar
 
Robert Love committed
201 202 203 204 205
2005-10-03  Robert Love  <rml@novell.com>

	* src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
	  NULL.

206 207 208 209 210 211 212 213
2005-10-02  Dan Williams  <dcbw@redhat.com>

	* Shorten time taken to sleep by fastpathing bits of device deactivation
		necessary for sleep.

	* Fix issue where deactivating a device might deactivate the active
		VPN connection, even if the VPN was not using the device.

214 215 216 217 218 219 220 221
2005-10-02  Dan Williams  <dcbw@redhat.com>

	* gnome/applet/applet.c
		- Adjust signal strength -> icon mapping values slightly
			(so that 51% signal doesn't show a 75% icon) by adding
			5% to the values. ex: > 5% now shows 25% icon, > 30%
			shows 50% icon, etc.

Robert Love's avatar
 
Robert Love committed
222 223 224 225
2005-09-29  Robert Love  <rml@novell.com>

	* src/NetworkManager.c: removed unused variable.

226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244
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.

Robert Love's avatar
 
Robert Love committed
245 246 247 248 249 250 251
2005-09-26  Robert Love  <rml@novell.com>

	* src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
	  ISDN support!
	* src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
	  bug in error path if "ASKPASSWORD" is "no".

Robert Love's avatar
 
Robert Love committed
252 253 254 255 256
2005-09-26  Robert Love  <rml@novell.com>

	* src/named-manager/nm-named-manager.c: only '#' is officially a valid
	  comment in /etc/resolv.conf -- ';' is not.

257 258
2005-09-19  Dan Williams  <dcbw@redhat.com>

259 260 261 262 263 264
	* src/backends/NetworkManagerRedHat.c:
	* src/backends/NetworkManagerDebian.c:
	* src/backends/NetworkManagerSlackware.c:
	* src/backends/NetworkManagerGentoo.c:
	* src/backends/NetworkManagerSUSE.c:
	Fix invocations of "/sbin/ip address" to use short form instead
265

266 267
2005-09-19  Christopher Aillon  <caillon@redhat.com>

268 269 270 271 272
	* src/nm-dbus-device.c: Don't assert when getting
	addresses of a not yet connected interface.

	* gnome/applet/applet.c: Free icons if loading fails.
	Use translator-credits so translators can make themselves known.
273

274 275 276 277 278 279 280 281 282 283
2005-09-15  Christopher Aillon  <caillon@redhat.com>

	* src/NetworkManagerAP.c:
	* src/NetworkManagerAP.h:
	* src/NetworkManagerDevice.c:
	Set a blacklist for certain common manufacturer default ESSIDs:
	APs with these ESSIDs are extremely likely to be completely
	different networks: connecting to one should not make NM
	auto-connect to every other AP with the same default ESSID.

284 285
2005-09-12  Christopher Aillon  <caillon@redhat.com>

286 287 288
	* gnome/applet/wireless-applet.glade:
	The passphrase entry should also activate the default

289 290
	* src/gnome-keyring-md5.c: Updated code from gnome-keyring

291 292 293 294 295 296 297 298 299 300 301
	* gnome/applet/applet-dbus-devices.c:
	* gnome/applet/applet.c:
	* gnome/applet/nm-device.c:
	* gnome/applet/nm-device.h:
	* src/NetworkManagerUtils.c:
	* src/NetworkManagerUtils.h:
	* src/nm-dbus-device.c:
	I've got a fever, and the only cure for it is less ioctl.
	Make NM push IP data rather than make the applet open a socket
	to the device.

302 303
2005-09-10  Christopher Aillon  <caillon@redhat.com>

304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327
	* gnome/applet/applet.c:
	* gnome/applet/applet-dbus-devices.c:
	* gnome/applet/applet-dbus-info.c:
	* gnome/applet/passphrase-dialog.c:
	* gnome/libnm_glib/libnm_glib.c:
	* gnome/vpn-properties/nm-vpn-properties.c:
	* src/autoip.c:
	* src/backends/NetworkManagerRedHat.c:
	* src/named-manager/nm-named-manager.c:
	* src/NetworkManagerAPList.c:
	* src/NetworkManager.c:
	* src/NetworkManagerDbus.c:
	* src/NetworkManagerDevice.c:
	* src/NetworkManagerPolicy.c:
	* src/NetworkManagerSystem.c:
	* src/nm-dbus-device.c:
	* src/nm-dbus-nm.c:
	* src/vpn-manager/nm-vpn-manager.c:
	* src/vpn-manager/nm-vpn-service.c:
	* test/libnm_glib_test.c:
	* test/nminfotest.c:
	* test/nmtestdevices.c:
	Fix a bunch of 'unused variable' compiler warnings

328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346
	* NetworkManager.h:
	* gnome/applet/applet-dbus-info.c:
	* gnome/applet/applet-dbus-info.h:
	* gnome/applet/applet.c:
	* gnome/applet/applet.h:
	* src/NetworkManager.c:
	* src/NetworkManagerDbus.c:
	* src/NetworkManagerDbus.h:
	* src/NetworkManagerDevice.c:
	* src/NetworkManagerDevice.h:
	* src/NetworkManagerMain.h:
	* src/NetworkManagerWireless.c:
	* src/NetworkManagerWireless.h:
	* src/nm-dbus-nm.c:
	Make NetworkManager be smart about how frequently to scan
	based on its current state.  Remove the UI for choosing when
	to scan.  Scanning still may disabled completely by the user
	via the "Wireless Enabled" menu item.

347 348
2005-09-09  Christopher Aillon  <caillon@redhat.com>

349 350 351 352
	* gnome/applet/applet.c:
	Also overlay the vpn connecting icons onto the wired icon,
	when appropriate.

353 354 355
	* gnome/vpn-properties/nm-vpn-properties.glade:
	Clean up a few strings to use better grammar and proper casing.

356 357 358 359 360 361 362 363 364 365 366 367 368
2005-09-08  Christopher Aillon  <caillon@redhat.com>

	* gnome/applet/vpn-connection.c:
	* gnome/applet/vpn-connection.h:
	Add nmwa_vpn_connection_is_activating ()

	* gnome/applet/applet.c:
	* gnome/applet/applet.h:
	* gnome/applet/icons/nm-vpn-connecting*.png:
	Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
	the user know something's happening between clicking the VPN item and it
	actually being connected.

369 370 371 372 373
2005-09-07  Christopher Aillon  <caillon@redhat.com>

	* gnome/applet/applet-dbus-info.c: need to free attributes in the
	failure case as well.

374 375 376 377 378
2005-09-07  Rodrigo Moya <rodrigo@novell.com>

	* gnome/panel/eggtrayicon.[ch]:
	* examples/python/systray/eggtrayicon.[ch]: updated code from libegg.

379 380 381 382 383 384 385
2005-09-07  Dan Williams  <dcbw@redhat.com>

	Patch from Bill Moss <bmoss@clemson.edu>
	* src/applet-dbus.c
		- (nmwa_dbus_filter): strip whitespace from beginning
			and end of VPN login banner

386 387 388 389
2005-09-07  Dan Williams  <dcbw@redhat.com>

	* The great VPN Manager rewrite of 2005

390 391 392 393 394 395 396 397 398 399
2005-09-07  Christopher Aillon  <caillon@redhat.com>

	* gnome/applet/menu-items.c:
	* gnome/applet/nm-device.c:
	* gnome/applet/wireless-network.c:
	* gnome/libnm_glib/libnm_glib.c:
	* src/NetworkManagerDbusUtils.c:
	* vpn-daemons/vpnc/src/nm-vpnc-service.c:
	g_malloc0 doesn't return NULL

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

407 408 409 410 411 412 413 414 415 416 417 418
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.

419 420 421 422 423
2005-09-05  Christopher Aillon  <caillon@redhat.com>

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

424 425 426 427 428 429
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

430 431 432 433 434 435
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

436 437 438 439 440 441
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

442 443 444 445 446 447
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

448 449 450 451
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
452 453 454 455
2005-09-02  Bill Nottingham  <notting@redhat.com>

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

456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471
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

472 473 474 475 476
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.

477 478 479 480 481 482
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

483 484 485 486 487 488
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

489 490
2005-09-01  Christopher Aillon  <caillon@redhat.com>

491 492 493 494
	* gnome/applet/applet.c:
	Only show the "Stop/Start All Wireless Devices" menuitem
	if we actually have wireless devices.

495 496 497 498 499 500 501
	* 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.

502 503 504 505 506 507
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

508 509 510 511 512 513
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

514 515
2005-08-30  Dan Williams  <dcbw@redhat.com>

Robert Love's avatar
 
Robert Love committed
516
	* gnome/applet/applet-dbus-devices.c
517 518
		- Remove nmwa_dbus_get_hal_device_string_property(); unused

519 520
2005-08-30  Dan Williams  <dcbw@redhat.com>

Robert Love's avatar
 
Robert Love committed
521
	* gnome/applet/applet-dbus.[ch]
522 523 524
		- Remove all the nmwa_dbus_call_method_xxxx functions since
			they weren't being used anyway

525 526 527 528 529
2005-08-30  Bastien Nocera  <hadess@hadess.net>

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

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

532 533 534 535 536 537 538 539 540 541 542 543
	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
544

545 546 547 548 549 550 551
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

552 553 554 555 556 557
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
558 559 560 561
2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>

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

562 563 564 565 566 567 568 569 570 571 572 573
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

574 575
2005-08-26  Dan Williams <dcbw@redhat.com>

576 577 578 579 580 581 582
	* 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
583

584 585 586 587 588 589 590
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

591 592 593 594 595 596 597 598 599 600 601 602
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

603 604 605 606 607 608 609
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

610 611 612 613 614 615
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

616 617 618 619 620 621 622 623 624 625 626
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.

627 628 629 630 631 632
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.

633 634 635 636 637 638 639 640 641
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

642 643 644 645 646 647 648
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.

649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664
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

665 666 667 668 669 670
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

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

673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695
	* 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
696

697 698 699 700 701
2005-08-18  Christopher Aillon <caillon@redhat.com>

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

702 703 704 705
2005-08-17  Robert Love  <rml@novell.com>

	* initscript/SUSE/networkmanager: update

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

Dan Williams's avatar
Dan Williams committed
708
	* Tag NM_0_4_1_RELEASE
Dan Williams's avatar
Dan Williams committed
709

710 711
2005-08-17  Christopher Aillon  <caillon@redhat.com>

712
	* gnome/applet/applet.c: More translatable string cleanup
713 714


715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746
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

747 748 749 750 751 752
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

753 754 755 756 757 758 759 760
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

761 762 763 764 765 766
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

767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789
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()

790 791 792 793
2005-08-16  Robert Love  <rml@novell.com>

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

Robert Love's avatar
 
Robert Love committed
794 795 796 797 798
2005-08-16  Robert Love  <rml@novell.com>

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

799 800 801 802 803 804 805
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

806 807 808 809 810 811
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.

812 813 814 815 816 817 818
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

819 820 821 822 823
2005-08-16  Robert Love  <rml@novell.com>

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

824 825 826 827 828
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)

829 830 831 832 833 834 835 836 837 838
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
839 840
2005-08-12  Robert Love  <rml@novell.com>

841 842
	* 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
843 844
	* src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)

845 846 847 848
2005-08-11  Robert Love  <rml@novell.com>

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

849 850 851 852
2005-08-11  Robert Love  <rml@novell.com>

	* initscript/SUSE/networkmanager: update.

853 854 855 856 857 858 859
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
860 861 862 863 864
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.

865 866 867 868 869 870 871 872 873 874
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()

875 876 877 878 879 880
2005-08-08  Dan Williams  <dcbw@redhat.com>

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

881 882 883 884 885 886 887
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

888 889 890 891 892 893 894 895 896 897 898 899 900 901 902
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
903 904 905 906 907
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.

908 909 910 911 912
2005-08-04  Robert Love  <rml@novell.com>

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

913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940
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

941 942 943 944 945
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).

946 947 948 949 950 951 952 953 954 955 956 957 958 959
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

960 961 962 963 964 965 966
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

967 968 969 970
2005-07-26  Robert Love  <rml@novell.com>

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

971 972 973 974 975 976
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.

977 978 979 980 981 982 983
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.

984 985 986 987
2005-07-22  Robert Love  <rml@novell.com>

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

988 989 990 991 992
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).

993 994 995
2005-07-18  Robert Love  <rml@novell.com>

	Suggested by Aaron Bockover (abockover@novell.com)
996
	* gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
997 998 999
	  s/Ascii/ASCII
	* gnome/applet/passphrase-dialog.c: ditto
	* gnome/applet/wireless-applet.glade: ditto
1000

1001 1002 1003 1004 1005 1006
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

1007 1008 1009 1010 1011
2005-07-13  Dan Williams  <dcbw@redhat.com>

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

1012 1013 1014 1015 1016 1017
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

1018 1019 1020 1021 1022 1023 1024
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

1025 1026 1027 1028 1029 1030
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

1031 1032 1033 1034 1035
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.

1036 1037 1038 1039
2005-07-07  Robert Love  <rml@novell.com>

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

1040 1041 1042 1043 1044
2005-07-05  Robert Love  <rml@novell.com>

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

1045 1046 1047 1048 1049
2005-07-05  Robert Love  <rml@novell.com>

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

1050 1051
2005-07-01  Robert Love  <rml@novell.com>

1052
	* src/NetworkManagerSystem.c: Print the error via strerror().
1053

1054 1055 1056 1057 1058 1059
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.

1060 1061 1062 1063 1064
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.

1065 1066 1067 1068 1069 1070 1071
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

1072 1073 1074
2005-06-30  Robert Love  <rml@novell.com>

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

1081 1082 1083 1084 1085
2005-06-27  Robert Love  <rml@novell.com>

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

1086 1087 1088 1089 1090
2005-06-27  Robert Love  <rml@novell.com>

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

1091 1092 1093 1094 1095
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
1096 1097 1098 1099
2005-06-23  Adam Weinberger  <adamw@gnome.org>

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

1100 1101 1102 1103 1104
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!

1105 1106 1107 1108 1109 1110 1111
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.

1112 1113 1114 1115
2005-06-23  Robert Love  <rml@novell.com>

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

1116 1117 1118 1119 1120 1121 1122 1123
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

1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139
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
1140 1141 1142 1143 1144 1145
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>
1146

1147 1148
	* initscript/SUSE/networkmanager: update.
	* src/backends/NetworkManagerSuSE.c: cleanup.
1149

1150 1151 1152 1153 1154
2005-06-21  Robert Love <rml@novell.com>

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

1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177
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.

1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188
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.

1189 1190
2005-06-19  Dan Williams <dcbw@redhat.com>

1191 1192 1193
	* src/NetworkManagerDevice.c
	- (nm_device_wireless_process_scan_results): scan every 20s when
	  disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
1194

1195 1196
2005-06-19  Dan Williams <dcbw@redhat.com>

1197
	* WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
1198

1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216
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

1217 1218 1219 1220 1221 1222 1223
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.

1224 1225 1226 1227 1228
2005-06-17  Robert Love  <rml@novell.com>

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

1229 1230 1231 1232 1233 1234
2005-06-16  Dan Williams <dcbw@redhat.com>

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

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

1261 1262
2005-06-16  Dan Williams <dcbw@redhat.com>

1263 1264 1265 1266
	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
1267

1268 1269 1270 1271
2005-06-16  Dan Williams <dcbw@redhat.com>

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

1272 1273 1274 1275 1276
2005-06-16  Robert Love  <rml@novell.com>

	* po/POTFILES.in
		- remove gtkcell* files

1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293
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

1294 1295 1296 1297 1298 1299
2005-06-15  Dan Williams <dcbw@redhat.com>

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

1300 1301 1302 1303 1304 1305 1306
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, '==' -> '='

1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319
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

1320 1321 1322 1323 1324 1325
2005-06-15  Dan Williams <dcbw@redhat.com>

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

1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340
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

1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 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
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

1432 1433 1434 1435 1436 1437 1438 1439 1440 1441
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

1442 1443 1444 1445 1446 1447 1448
2005-06-09  Dan Williams <dcbw@redhat.com>

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

1449 1450 1451 1452 1453 1454 1455 1456
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

1457 1458 1459 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 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522
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"

1523 1524 1525 1526 1527 1528
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)

1529 1530 1531 1532 1533 1534
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.

1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580
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

1581 1582 1583 1584 1585 1586
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"

1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611
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

1612 1613 1614 1615 1616 1617 1618 1619
2005-05-15  Dan Williams  <dcbw@redhat.com>

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

1620 1621 1622 1623 1624 1625 1626
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

1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664
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.