2008-11-05 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-11-05  Dan Williams  <dcbw@redhat.com>
2
3         * nm-ip4-config.c
4           nm-ip4-config.h
5                 - (nm_ip4_config_compare): compare two IP4 configs
6
7 2008-11-05  Dan Williams  <dcbw@redhat.com>
8
9         * src/NetworkManagerPolicy.c
10                 - (update_etc_hosts): only add newline if not the last line of the file
11                         (Jonathan Miner)
12
13 2008-11-05  Dan Williams  <dcbw@redhat.com>
14
15         * src/dhcp-manager/nm-dhcp-dhclient.c
16                 - (get_leasefile_for_iface): move lease files back to where dhclient
17                         puts them
18
19 2008-11-05  Michael Biebl  <mbiebl@gmail.com>
20
21         * initscripts/Debian/NetworkManager
22                 - Update to what Debian is actually using
23
24 2008-11-05  Tambet Ingo  <tambet@gmail.com>
25
26         * libnm-util/nm-setting-8021x.c: Verify PEAP settings as well.
27
28 2008-11-03  Dan Williams  <dcbw@redhat.com>
29
30         * system-settings/src/main.c
31                 - (add_default_dhcp_connection): make the fallback connection read-only
32
33         * libnm-glib/nm-settings.c
34           libnm-glib/nm-settings.h
35                 - Add detailed errors
36                 - (impl_exported_connection_update, impl_exported_connection_delete):
37                         return an error if the connection is read-only
38
39         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
40           system-settings/plugins/keyfile/nm-keyfile-connection.c
41           system-settings/src/main.c
42                 - Use more detailed errors
43
44         * system-settings/src/nm-system-config-error.c
45           system-settings/src/nm-system-config-error.h
46           system-settings/src/dbus-settings.c
47                 - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
48                         NM_SETTINGS_ERROR_INVALID_CONNECTION
49
50 2008-11-02  Dan Williams  <dcbw@redhat.com>
51
52         * Add license headers to everything in src/
53
54 2008-11-02  Dan Williams  <dcbw@redhat.com>
55
56         * Tag 0.7.0-rc1
57
58 2008-11-02  Dan Williams  <dcbw@redhat.com>
59
60         * src/NetworkManagerAP.c
61                 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
62                         setting as unencrypted; fixes a bug where NM wouldn't ask for new
63                         secrets when connecting to an encrypted network failed
64
65 2008-10-30  Dan Williams  <dcbw@redhat.com>
66
67         * libnm-util/libnm-util.ver
68           libnm-util/nm-setting-ip6-config.c
69           libnm-util/nm-setting-ip6-config.h
70           libnm-util/Makefile.am
71                 - Make properties private and add accessor functions
72                 - Hide IPv6 stuff from public API, it's incomplete and completely unused
73
74         * libnm-util/nm-connection.c
75           libnm-util/nm-utils.c
76           libnm-util/nm-utils.h
77                 - Ignore IPv6 stuff for now
78
79 2008-10-30  Dan Williams  <dcbw@redhat.com>
80
81         * libnm-util/libnm-util.ver
82           libnm-util/nm-setting-8021x.c
83           libnm-util/nm-setting-8021x.h
84                 - Make properties private and add accessor functions
85
86         * src/supplicant-manager/nm-supplicant-config.c
87           system-settings/plugins/ifcfg-suse/parser.c
88                 - Use 802.1x setting accessors
89
90 2008-10-30  Dan Williams  <dcbw@redhat.com>
91
92         * libnm-util/libnm-util.ver
93           libnm-util/nm-setting-wireless-security.c
94           libnm-util/nm-setting-wireless-security.h
95                 - Make properties private and add accessor functions
96
97         * libnm-util/nm-setting-wireless.c
98           src/NetworkManagerAP.c
99           src/nm-device-wifi.c
100           src/supplicant-manager/nm-supplicant-config.c
101           system-settings/plugins/ifcfg-fedora/reader.c
102           system-settings/plugins/ifcfg-suse/parser.c
103                 - Use wireless security accessors
104
105 2008-10-30  Dan Williams  <dcbw@redhat.com>
106
107         * src/nm-device-ethernet.c
108           src/nm-device-wifi.c
109           src/nm-device.c
110           src/ppp-manager/nm-ppp-manager.c
111                 - Harmonize return checking of ioctl
112
113         * system-settings/plugins/ifcfg-fedora/reader.c
114                 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
115
116 2008-10-30  Dan Williams  <dcbw@redhat.com>
117
118         * src/ppp-manager/nm-ppp-manager.c
119                 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
120                         ppp_generic module to create it (bgo #533064)
121
122 2008-10-30  Dan Williams  <dcbw@redhat.com>
123
124         Patch from Alexander Sack <asac@canonical.com>
125
126         Fix "ppp connections don't honour ip4 connection settings"
127
128         * src/nm-device-ethernet.c
129                 - (real_act_stage4_get_ip4_config): merge ip4config settings
130                         with results from ppp manager
131
132         * src/nm-serial-device.c
133                 - (real_act_stage4_get_ip4_config): merge ip4config settings
134                         with results from ppp manager
135
136 2008-10-29  Dan Williams  <dcbw@redhat.com>
137
138         * libnm-util/libnm-util.ver
139           libnm-util/nm-setting-ip4-config.c
140           libnm-util/nm-setting-ip4-config.h
141                 - Make properties private and add accessor functions
142
143         * callouts/nm-dispatcher-action.c
144           libnm-glib/libnm-glib-test.c
145           libnm-util/nm-utils.c
146           src/NetworkManagerPolicy.c
147           src/NetworkManagerSystem.c
148           src/NetworkManagerUtils.c
149           src/dhcp-manager/nm-dhcp-dhclient.c
150           src/dhcp-manager/nm-dhcp-manager.c
151           src/dnsmasq-manager/nm-dnsmasq-manager.c
152           src/nm-device-wifi.c
153           src/nm-device.c
154           src/nm-hso-gsm-device.c
155           src/nm-ip4-config.c
156           src/nm-ip4-config.h
157           src/ppp-manager/nm-ppp-manager.c
158           src/vpn-manager/nm-vpn-connection.c
159           system-settings/plugins/ifcfg-fedora/reader.c
160           system-settings/plugins/ifcfg-suse/parser.c
161           system-settings/plugins/ifcfg-suse/plugin.c
162           system-settings/plugins/ifupdown/parser.c
163           test/nm-tool.c
164           vpn-daemons/vpnc/properties/nm-vpnc.c
165                 - Use IP4 accessor functions
166
167 2008-10-29  Tambet Ingo  <tambet@gmail.com>
168
169         Half of it by Dan Williams <dcbw@redhat.com>
170
171         * libnm-util/libnm-util.ver
172         libnm-util/nm-setting-vpn.c
173         libnm-util/nm-setting-vpn.h
174                 - Make properties private and add accessor functions.
175
176         * src/vpn-manager/nm-vpn-connection.c
177         src/vpn-manager/nm-vpn-manager.c
178         system-settings/plugins/keyfile/reader.c
179         vpn-daemons/openvpn/properties/auth-helpers.c
180         vpn-daemons/openvpn/properties/import-export.c
181         vpn-daemons/openvpn/properties/nm-openvpn.c
182         vpn-daemons/openvpn/src/nm-openvpn-service.c
183         vpn-daemons/pptp/auth-dialog/main.c
184         vpn-daemons/pptp/properties/advanced-dialog.c
185         vpn-daemons/pptp/properties/nm-pptp.c
186         vpn-daemons/pptp/src/nm-pptp-service.c
187         vpn-daemons/vpnc/properties/nm-vpnc.c
188         vpn-daemons/vpnc/src/nm-vpnc-service.c
189                 - Use VPN setting accessors.
190
191 2008-10-28  Dan Williams  <dcbw@redhat.com>
192
193         Patch from Tambet Ingo <tambet@gmail.com>
194
195         * libnm-util/libnm-util.ver
196           libnm-util/nm-setting-wireless.c
197           libnm-util/nm-setting-wireless.h
198                 - Make properties private and add accessor functions
199
200         * src/NetworkManagerAP.c
201           src/nm-device-wifi.c
202           src/nm-manager.c
203           src/supplicant-manager/nm-supplicant-config.c
204           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
205           system-settings/plugins/ifcfg-fedora/reader.c
206           system-settings/plugins/ifcfg-suse/parser.c
207           system-settings/plugins/ifupdown/parser.c
208                 - Use wireless setting accessors
209
210 2008-10-27  Dan Williams  <dcbw@redhat.com>
211
212         Patch from Tambet Ingo <tambet@gmail.com>
213
214         * libnm-util/libnm-util.ver
215           libnm-util/nm-setting-ppp.c
216           libnm-util/nm-setting-ppp.h
217                 - Make properties private and add accessor functions
218
219         * src/ppp-manager/nm-ppp-manager.c
220                 - Use ppp setting accessors
221
222 2008-10-27  Dan Williams  <dcbw@redhat.com>
223
224         Patch from Tambet Ingo <tambet@gmail.com>
225
226         * libnm-util/nm-setting.h
227           libnm-util/nm-setting.c
228                 - Make properties private and add accessor functions
229
230         * libnm-util/nm-connection.c
231           libnm-util/nm-setting-8021x.c
232           libnm-util/nm-setting-cdma.c
233           libnm-util/nm-setting-connection.c
234           libnm-util/nm-setting-gsm.c
235           libnm-util/nm-setting-ip4-config.c
236           libnm-util/nm-setting-ip6-config.c
237           libnm-util/nm-setting-ppp.c
238           libnm-util/nm-setting-pppoe.c
239           libnm-util/nm-setting-serial.c
240           libnm-util/nm-setting-template.c
241           libnm-util/nm-setting-vpn.c
242           libnm-util/nm-setting-wired.c
243           libnm-util/nm-setting-wireless-security.c
244           libnm-util/nm-setting-wireless.c
245           system-settings/plugins/keyfile/reader.c
246           system-settings/plugins/keyfile/writer.c
247                 - Use setting accessors
248
249 2008-10-27  Dan Williams  <dcbw@redhat.com>
250
251         * libnm-util/libnm-util.ver
252           libnm-util/nm-setting-connection.c
253           libnm-util/nm-setting-connection.h
254                 - Add a 'read-only' property that indicates the connection cannot be
255                         modified
256
257         * system-settings/plugins/ifcfg-fedora/reader.c
258           system-settings/plugins/ifcfg-suse/parser.c
259           system-settings/plugins/ifupdown/parser.c
260                 - These plugins are read-only at the moment
261
262         * system-settings/plugins/keyfile/reader.c
263           system-settings/plugins/keyfile/writer.c
264                 - Read-only shouldn't get saved out to files or read in from them
265
266 2008-10-27  Tambet Ingo  <tambet@gmail.com>
267
268         * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
269         correct speed reporting for fast devices (kernel >= 2.6.27).
270
271 2008-10-26  Dan Williams  <dcbw@redhat.com>
272
273         Attempt to compensate for modems that don't enable full AT parsing before
274         the PIN has been entered.
275
276         * src/nm-gsm-device.c
277                 - (init_modem): accept different init strings
278                 - (init_done): try different init strings on failure
279                 - (check_pin_done): on PIN success, do full modem init
280
281 2008-10-26  Dan Williams  <dcbw@redhat.com>
282
283         Patch from Tambet Ingo <tambet@gmail.com>
284
285         * libnm-util/libnm-util.ver
286           libnm-util/nm-setting-connection.c
287           libnm-util/nm-setting-connection.h
288                 - Make properties private and add accessor functions
289
290         * src/NetworkManagerPolicy.c
291           src/nm-cdma-device.c
292           src/nm-device-ethernet.c
293           src/nm-device-interface.c
294           src/nm-device-wifi.c
295           src/nm-gsm-device.c
296           src/nm-manager.c
297           src/ppp-manager/nm-ppp-manager.c
298           src/vpn-manager/nm-vpn-connection.c
299           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
300           system-settings/plugins/ifcfg-fedora/plugin.c
301           system-settings/plugins/ifcfg-fedora/reader.c
302           system-settings/plugins/ifcfg-suse/parser.c
303           system-settings/plugins/ifupdown/parser.c
304           system-settings/plugins/keyfile/nm-keyfile-connection.c
305           system-settings/plugins/keyfile/plugin.c
306           system-settings/plugins/keyfile/writer.c
307           system-settings/src/main.c
308                 - Use those accessors
309
310 2008-10-26  Dan Williams  <dcbw@redhat.com>
311
312         Patch from Tambet Ingo <tambet@gmail.com>
313
314         * libnm-util/libnm-util.ver
315           libnm-util/nm-setting-gsm.c
316           libnm-util/nm-setting-gsm.h
317                 - Make properties private and add accessor functions
318
319         * src/nm-gsm-device.c
320           src/nm-hso-gsm-device.c
321           src/ppp-manager/nm-ppp-manager.c
322                 - Use those accessors
323
324 2008-10-26  Dan Williams  <dcbw@redhat.com>
325
326         Patch from Tambet Ingo <tambet@gmail.com>
327
328         * libnm-util/libnm-util.ver
329           libnm-util/nm-setting-cdma.c
330           libnm-util/nm-setting-cdma.h
331                 - Make properties private and add accessor functions
332
333         * src/nm-cdma-device.c
334           src/ppp-manager/nm-ppp-manager.c
335                 - Use those accessors
336
337 2008-10-26  Dan Williams  <dcbw@redhat.com>
338
339         Patch from Tambet Ingo <tambet@gmail.com>
340
341         * libnm-util/libnm-util.ver
342           libnm-util/nm-setting-pppoe.c
343           libnm-util/nm-setting-pppoe.h
344                 - Make properties private and add accessor functions
345
346         * src/nm-device-ethernet.c
347           src/ppp-manager/nm-ppp-manager.c
348                 - Use those accessors
349
350 2008-10-26  Dan Williams  <dcbw@redhat.com>
351
352         Patch from Tambet Ingo <tambet@gmail.com>
353
354         * libnm-util/libnm-util.ver
355           libnm-util/nm-setting-wired.c
356           libnm-util/nm-setting-wired.h
357                 - Make properties private and add accessor functions
358
359         * src/nm-device-ethernet.c
360           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
361           system-settings/plugins/ifcfg-suse/parser.c
362           system-settings/src/main.c
363                 - Use those accessors
364
365 2008-10-26  Dan Williams  <dcbw@redhat.com>
366
367         Patch from Tambet Ingo <tambet@gmail.com>
368
369         * libnm-util/libnm-util.ver
370           libnm-util/nm-setting-serial.c
371           libnm-util/nm-setting-serial.h
372           src/nm-serial-device.c
373                 - Make properties private and use accessors instead
374
375 2008-10-26  Dan Williams  <dcbw@redhat.com>
376
377         * src/supplicant-manager/nm-supplicant-interface.c
378           src/supplicant-manager/nm-supplicant-interface.h
379           src/supplicant-manager/nm-supplicant-manager.c
380           src/supplicant-manager/nm-supplicant-manager.h
381                 - Add state-to-string conversion functions
382
383         * src/nm-device-wifi.c
384           src/nm-device-ethernet.c
385                 - Normalize state info logging and use strings instead of numbers
386
387 2008-10-26  Dan Williams  <dcbw@redhat.com>
388
389         * src/NetworkManagerPolicy.c
390                 - (update_routing_and_dns): ignore host routes when determining whether
391                         a VPN connection should own the default route (bgo #552594)
392
393 2008-10-24  Dan Williams  <dcbw@redhat.com>
394
395         * src/nm-gsm-device.c
396                 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
397
398 2008-10-23  Dan Williams  <dcbw@redhat.com>
399
400         * src/ppp-manager/nm-ppp-manager.c
401                 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
402                         add really important stuff to the command line to ensure that NM
403                         overrides /etc/ppp/options (bgo #556781)
404
405 2008-10-22  Dan Williams  <dcbw@redhat.com>
406
407         * src/NetworkManagerSystem.c
408           src/nm-device.c
409                 - Use the device's IP interface where appropriate (Per Hallsmark)
410
411 2008-10-22  Dan Williams  <dcbw@redhat.com>
412
413         * src/nm-gsm-device.c
414                 - (schedule_automatic_registration_again): use a short timeout here
415                         instead of an idle handler to avoid using too much CPU polling for
416                         something we should be waiting a bit for anyway
417
418 2008-10-22  Dan Williams  <dcbw@redhat.com>
419
420         * include/NetworkManager.h
421           introspection/nm-device.xml
422                 - Add device state change reason for carrier changes
423
424         * src/nm-device-ethernet.c
425                 - (set_carrier): use the carrier change reason when changing device
426                         state in response to carrier changes
427
428 2008-10-21  Dan Williams  <dcbw@redhat.com>
429
430         * src/NetworkManagerPolicy.c
431                 - (update_etc_hosts): don't leak errors, and ensure that
432                         g_file_set_contents() gets a valid error placeholder (rh #461933)
433
434 2008-10-21  Dan Williams  <dcbw@redhat.com>
435
436         * src/nm-manager.c
437                 - (free_get_settings_info): don't use the DBusGProxy which could be
438                         disposed of by the time the function is called
439                 - (internal_new_connection_cb): save connection scope
440                 - (connection_get_settings_cb): don't replace a connection unless it's
441                         actually different from the existing one; fixes an issue where
442                         killing the settings service wouldn't deactivate an active connection
443                         provided by that settings service, because it was using a connection
444                         that had already been replaced in the system or user hash
445
446 2008-10-21  Dan Williams  <dcbw@redhat.com>
447
448         * src/NetworkManager.c
449                 - (main): keep the DHCP manager around since it's a singleton; fixes
450                         a use-after-free exposed by r4196 since the DHCP manager singleton
451                         variable isn't cleared when the DHCP manager object is finalized
452
453 2008-10-20  Dan Williams  <dcbw@redhat.com>
454
455         * libnm-util/nm-setting-wireless-security.c
456                 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
457
458 2008-10-20  Dan Williams  <dcbw@redhat.com>
459
460         * src/supplicant-manager/nm-supplicant-config.c
461                 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
462
463 2008-10-20  Dan Williams  <dcbw@redhat.com>
464
465         * src/dhcp-manager/nm-dhcp-manager.c
466                 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
467                         manager object already refs it once
468                 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
469                         also get cleaned up by nm_dhcp_device_destroy() to prevent
470                         double-frees
471
472 2008-10-20  Dan Williams  <dcbw@redhat.com>
473
474         * src/nm-manager.c
475                 - (initial_get_connections): use private dbus manager, don't keep
476                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
477                         manager object.
478
479 2008-10-18  Dan Williams  <dcbw@redhat.com>
480
481         * libnm-glib/nm-settings.c
482           libnm-glib/nm-settings.h
483                 - Rename the "get_secrets" virtual function "service_get_secrets" to
484                         clarify when it's used; NMExportedConnetion is a base-class for both
485                         the client and service side, which is sort of confusing, and
486                         get_secrets only makes sense on the service side.
487
488         * libnm-glib/nm-dbus-connection.c
489                 - (get_secrets): remove, unused, and clients need to do extra work to
490                         get secrets anyway since the call can block on the remote side
491
492         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
493           system-settings/plugins/keyfile/nm-keyfile-connection.c
494                 - Fix up for get_secrets -> service_get_secrets
495
496 2008-10-16  Dan Williams  <dcbw@redhat.com>
497
498         * src/nm-device-wifi.c
499                 - (constructor): correctly determine encryption capabilities
500
501 2008-10-15  Dan Williams  <dcbw@redhat.com>
502
503         * src/nm-device-wifi.c
504                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
505                         (Johannes Berg)
506
507 2008-10-15  Dan Williams  <dcbw@redhat.com>
508
509         * src/NetworkManagerSystem.c
510                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
511                         if the ip4_dest is in a smaller subnet contained within a subnet
512                         the machine is currently on, the destination is in the same subnet
513                 - (nm_system_device_set_ip4_route): move subnet checks to callers
514                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
515                         subnet as the parent device, and if so, don't add the direct
516                         host route via the parent device's gateway (bgo #481620)
517                 - (nm_system_apply_ip4_config): check whether the route to be added
518                         is contained within a subnet the device is already on
519
520 2008-10-11  Dan Williams  <dcbw@redhat.com>
521
522         * include/NetworkManager.h
523           introspection/nm-device.xml
524           include/NetworkManagerVPN.h
525                 - Add a few more state reasons for the device deactivated state
526
527         * src/nm-device-interface.c
528           src/nm-device-interface.h
529                 - (nm_device_interface_deactivate): add a 'reason' argument
530
531         * src/nm-device.c
532           src/nm-device.h
533                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
534                 - (nm_device_state_changed): pass the state change reason to
535                         nm_device_take_down()
536                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
537                         to the state change function
538
539         * src/nm-manager.c
540           src/nm-manager.h
541                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
542                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
543                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
544                         something reasonable along to VPN deactivation
545
546         * src/vpn-manager/nm-vpn-manager.c
547           src/vpn-manager/nm-vpn-manager.h
548                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
549                         pass that along to nm_vpn_connection_disconnect()
550
551 2008-10-11  Dan Williams  <dcbw@redhat.com>
552
553         * src/nm-device-wifi.c
554                 - (can_scan): remove old madwifi hack for not scanning while connected
555
556 2008-10-11  Dan Williams  <dcbw@redhat.com>
557
558         Add support for VPN subnet gateways (bgo #549196)
559
560         * include/NetworkManager.h
561                 - Add key for internal VPN subnet gateway
562
563         * src/vpn-manager/nm-vpn-connection.c
564                 - (ip_address_to_string): return a const from a static buffer so we
565                         don't leak a lot of strings
566                 - (print_vpn_config): print internal VPN gateway as well
567                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
568                         VPN service too
569                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
570
571         * src/NetworkManagerSystem.c
572           src/NetworkManagerSystem.h
573                 - (nm_system_device_replace_default_ip4_route): split into two, one for
574                         VPN connections and one for normal devices
575                 - (replace_default_ip4_route): break out route stuff into its own function
576                 - (nm_system_replace_default_ip4_route_vpn,
577                    nm_system_replace_default_ip4_route): simplify by having two cases,
578                         one for VPNs and one for normal devices
579
580         * src/NetworkManagerPolicy.c
581                 - (update_routing_and_dns): simplify, use split default route replacement
582                         functions
583
584 2008-10-10  Dan Williams  <dcbw@redhat.com>
585
586         Rework default route handling to consolidate decisions in the policy,
587         and to take active VPN connections into account when changing the default
588         route (bgo #545912)
589
590         * src/NetworkManager.c
591                 - (main): pass the vpn_manager to the policy so it knows about active
592                         VPN connections; clean up the named manager which wasn't done before
593
594         * src/NetworkManagerPolicy.c
595           src/NetworkManagerPolicy.h
596                 - (nm_policy_new): get a clue about the vpn_manager
597                 - (update_default_route): remove, fold into update_routing_and_dns()
598                 - (update_routing_and_dns): handle active VPN connections too; an
599                         active VPN connection becomes the default route if it does not have
600                         server-specified or user-specified custom routes.  Otherwise, the
601                         best active device gets the default route
602                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
603                    nm_policy_destroy): track VPN connection activation and deactivation
604                         and update the default route when appropriate
605
606         * src/NetworkManagerSystem.c
607           src/NetworkManagerSystem.h
608                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
609                         in the VPN connection itself
610                 - (nm_system_vpn_device_set_from_ip4_config,
611                    nm_system_device_set_from_ip4_config): merge together to make
612                         nm_system_apply_ip4_config()
613                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
614                         via the parent device
615                 - (nm_system_apply_ip4_config): simplify
616                 - (add_ip4_route_to_gateway): new function; add a direct route to the
617                         gateway if needed
618                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
619                         route stuff out into add_ip4_route_to_gateway() for clarity
620
621         * src/nm-device.c
622                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
623
624         * src/vpn-manager/nm-vpn-connection.c
625           src/vpn-manager/nm-vpn-connection.h
626                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
627                    nm_vpn_connection_get_parent_device): add
628                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
629                         device explicit
630                 - (connection_state_changed): update the named manager now that
631                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
632                         useful on errors
633
634         * src/vpn-manager/nm-vpn-manager.c
635           src/vpn-manager/nm-vpn-manager.h
636                 - Add a 'connection-activated' signal
637                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
638                         policy to find out about active VPN connections
639
640 2008-10-10  Tambet Ingo  <tambet@gmail.com>
641
642         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
643         a daemon to prevent NM logging spew on console on startup and shutdown (due
644         to dependency loop between NM and syslog).
645
646 2008-10-10  Alexander Sack  <asac@ubuntu.com>
647
648         Implement managed mode. We bind devices configured in /etc/network/interfaces
649         to their connections by updating wired/wireless setting with the
650         mac address of the device.
651
652         * system-settings/plugins/ifupdown/plugin.c
653                 - (get_net_address_for_udi): implement function to retrieve MAC
654                         address of udi from hal in GByteArray format
655                 - (bind_device_to_connection): bind mac address of device to
656                         wired/wireless system connection
657                 - (hal_device_added_cb): call bind_device_to_connection for
658                         system connections with a matching interface.name
659                 - (hal_device_added_cb): ensure that all code paths
660                         properly free the "iface" string.
661
662 2008-10-10  Alexander Sack  <asac@ubuntu.com>
663
664         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
665         mode of the ifupdown system config plugin.
666
667         * system-settings/plugins/ifupdown/plugin.c
668                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
669                         private unmanage_well_known state field accordingly
670
671 2008-10-10  Alexander Sack  <asac@ubuntu.com>
672
673         Implement unmanaged mode that will prevent all devices in the
674         well_known_udis set from being touched by NetworkManager
675
676         * system-settings/plugins/ifupdown/plugin.c
677                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
678                         unmanage_well_known field used to turn on/off unmanaged
679                         mode
680                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
681                         signal when well_known_udis get added/removed
682                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
683                         if we are in unmanaged mode
684
685 2008-10-10  Alexander Sack  <asac@ubuntu.com>
686
687         Add support to track network devices that have a configuration
688         with a matching interface.name in /etc/network/interfaces
689
690         * system-settings/plugins/ifupdown/plugin.c
691                 - (typedef struct SCPluginIfupdownPrivate): add hash table
692                         to track |well_known_udis|
693                 - (get_iface_for_udi): helper function to get interface.name
694                         for a udi
695                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
696                         that add and remove devices to and from the well_known_udis
697                         set depending on whether their |interface.name| matches
698                         any interface definition in /etc/network/interfaces
699                 - (SCPluginIfupdown_init): connect callbacks from above with
700                         hal_mgr and setup well_known_udis hashtable
701                 - (GObject__dispose): destroy well_known_udis hashtable
702                 - (hal_device_added_cb2): implement wrapper callback with GFunc
703                         signature. user_data is supposed to be a triple (hal_mgr,
704                         config and devtype)
705                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
706                         startup and call hal_device_added_cb2
707
708 2008-10-10  Alexander Sack  <asac@ubuntu.com>
709
710         Remove implementation for not used NMSystemConfigInterface callback functions
711         in ifupdown plugin
712
713         * system-settings/plugins/ifupdown/plugin.c
714                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
715                 - (SCPluginIfupdown_connection_added): removed
716
717 2008-10-08  Dan Williams  <dcbw@redhat.com>
718
719         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
720
721         * src/NetworkManagerUtils.c
722                 - (nm_utils_call_dispatcher): add a 'hostname' action
723
724         * src/NetworkManagerPolicy.c
725                 - (set_system_hostname): dispatch hostname changes
726
727         * callouts/nm-dispatcher-action.c
728                 - (nm_dispatcher_action): handle 'hostname' actions
729
730 2008-10-08  Dan Williams  <dcbw@redhat.com>
731
732         * src/NetworkManagerSystem.c
733                 - (find_route): ref the route so it doesn't get destroyed when the cache
734                         is cleared
735                 - (nm_system_device_set_priority): unref the route here after it's done
736                         being used
737
738 2008-10-08  Dan Williams  <dcbw@redhat.com>
739
740         * src/nm-serial-device.c
741                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
742
743 2008-10-08  Tambet Ingo  <tambet@gmail.com>
744
745         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
746         connection with new settings before saving it.
747
748 2008-10-06  Dan Williams  <dcbw@redhat.com>
749
750         * src/nm-ip4-config.c
751           src/nm-ip4-config.h
752                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
753
754         * src/nm-device-interface.c
755                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
756                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
757                         by using '/' for the object path
758
759         * src/nm-device.c
760                 - (src/nm-device.c): marshal missing/unexported ip4-config through
761                         dbus as '/' since dbus-glib can't handle NULL objects nor can
762                         dbus handle NULL object paths
763
764 2008-10-03  Alexander Sack  <asac@ubuntu.com>
765
766         Implement system hostname support for debian/ubuntu
767
768         * system-settings/plugins/ifupdown/plugin.c
769                 - (GObject__get_property): extend announced capabilities; add
770                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
771                 - (GObject__set_property,write_system_hostname): implement
772                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
773                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
774                    update_system_hostname, get_hostname):
775                         implement hostname property that watches and
776                         parses /etc/hostname
777
778 2008-10-03  Alexander Sack  <asac@ubuntu.com>
779
780         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
781           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
782           system-settings/plugins/ifcfg-fedora/Makefile.am
783           system-settings/src/nm-inotify-helper.c
784           system-settings/src/nm-inotify-helper.h
785           src/Makefile.am
786                 - Move ifcfg-fedora inotify helpers to the system settings service so
787                         they are available to all plugins
788
789 2008-10-03  Alexander Sack  <asac@ubuntu.com>
790
791         Implement support for wep-tx-keyidx in ifupdown system
792         config plugin.
793
794         * system-settings/plugins/ifupdown/parser.c
795                 - (update_wireless_security_setting_from_if_block): introduce
796                         free_type_mapping func table; rename a few local
797                         variables to improve readability; add wpa security mapping
798                         for wep-tx-keyidx property
799                 - (string_to_gpointerint): new function used for the auto_type_mapping
800                         of new wep-tx-keyidx property
801                 - (slist_free_all): free func used for mapped slist types
802
803 2008-10-03  Alexander Sack  <asac@ubuntu.com>
804
805         * system-settings/src/main.c:
806                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
807                         always used as the hash key; fixes a crash when removing wired
808                         devices
809
810 2008-10-02  Dan Williams  <dcbw@redhat.com>
811
812         * src/nm-gsm-device.c
813                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
814                         pass the required GSM secret along via user_data rather than keeping
815                         it around in the private data where it sometimes didn't get cleared
816                 - (real_get_ppp_name): implement using the GSM username
817
818 2008-10-02  Dan Williams  <dcbw@redhat.com>
819
820         * src/ppp-manager/nm-ppp-manager.c
821           src/ppp-manager/nm-ppp-manager.h
822                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
823                         the settings daemon for completely new ones
824                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
825                         local PPP peer name; allow PPP debuging by launching NM with
826                         the environment variable NM_PPP_DEBUG defined
827                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
828                         create_pppd_cmd_line()
829
830         * src/nm-serial-device.c
831           src/nm-serial-device.h
832                 - New 'get_ppp_name' function for subclasses to implement to return the
833                         local PPP peer name
834                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
835                         and pass that name to the PPP manager
836
837         * src/nm-device-ethernet.c
838                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
839                         the local peer name
840
841         * src/nm-cdma-device.c
842                 - (real_get_ppp_name): implement using the CDMA username
843
844 2008-10-02  Dan Williams  <dcbw@redhat.com>
845
846         Patch from Alexander Sack <asac ubuntu com>
847
848         * system-settings/plugins/ifupdown/parser.c
849                 - Implement more graceful ip4 config parsing for cases where
850                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
851                   by using default values
852
853 2008-10-02  Dan Williams  <dcbw@redhat.com>
854
855         * src/NetworkManagerPolicy.c
856                 - (device_state_changed): when marking a connection invalid, clear its
857                         secrets too so that fresh secrets get requested the next time
858
859 2008-10-01  Dan Williams  <dcbw@redhat.com>
860
861         * system-settings/src/dbus-settings.c
862                 - (nm_sysconfig_settings_init): cache system hostname on startup as
863                         a fallback if no plugin provides a hostname
864                 - (get_property): fall back to cached hostname if no plugin provides
865                         a hostname
866
867 2008-10-01  Dan Williams  <dcbw@redhat.com>
868
869         Fix setting value comparison issue that caused some settings to look the
870         same when they were really different (rh #464417)
871
872         * libnm-util/nm-param-spec-specialized.c
873                 - (type_is_fixed_size): return fundamental size of the fixed type too
874                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
875                         in the comparison so that the _entire_ fixed type collection gets
876                         compared rather than just the first 'len1' bytes
877
878 2008-09-30  Dan Williams  <dcbw@redhat.com>
879
880         * src/NetworkManagerPolicy.c
881                 - (lookup_thread_worker): don't store the idle handler ID becuase the
882                         idle handler could have already run and freed the LookupThread
883                         structure
884
885 2008-09-30  Tambet Ingo  <tambet@gmail.com>
886
887         * src/nm-device.c (nm_device_get_priority): Implement.
888         (nm_device_set_ip4_config): Send the device priority to system ip4 
889         config setter.
890
891         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
892         Add priority argument and if it's >= 0, set the priority of the network
893         route added automatically by netlink (or kernel?).
894         (nm_system_device_set_priority): Implement.
895
896         * src/NetworkManagerPolicy.c (get_best_device): Use 
897         nm_device_get_priority() instead of home-grown version. Revert the
898         meaning, best priority is the lowest one.
899
900 2008-09-29  Dan Williams  <dcbw@redhat.com>
901
902         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
903         when it returns EAGAIN (rh #362421)
904
905         * src/nm-device-wifi.c
906                 - (wireless_get_range): try GIWRANGE a few times until the card responds
907                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
908
909 2008-09-28  Dan Williams  <dcbw@redhat.com>
910
911         * src/nm-serial-device.c
912           src/nm-serial-device.h
913                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
914                         cleaned at the right times when subclasses close the serial port too
915                 - (nm_serial_device_send_command): use a default send delay; don't
916                         spin forever on EAGAIN
917                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
918                         remove, no longer used
919                 - (find_response): return the matched response if any
920                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
921                         while doing so
922                 - (wait_for_reply_done): pass the matched response to the callback
923                 - (wait_for_reply_got_data): save the matched response; simplify timeout
924                         handling
925                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
926                         const since they never get modified
927                 - (cleanup_device): split out common cleanup stuff to a new function
928                 - (real_deactivate_quickly, finalize): use cleanup_device()
929
930         * src/nm-gsm-device.c
931                 - (modem_get_reply): remove, unused
932                 - (set_apn): give the card a bit more time to respond
933                 - (manual_registration_again, schedule_manual_registration_again,
934                    manual_registration_response, manual_registration): handle manual
935                         registration timeouts better by retrying registration a few times
936                         because cards are a bit slow after CFUN=1
937                 - (automatic_registration_get_network, get_network_response): use
938                         modem_wait_for_reply() because it interacts better with the serial
939                         buffer and does more intelligent matching; need to wait for 'OK'
940                         rather than just matching terminators
941                 - (schedule_automatic_registration_again,
942                    automatic_registration_response, automatic_registration): retry
943                         registration a few times on timeout or "searching" because cards
944                         take a bit to find a network after being powered up with CFUN=1
945                 - (power_up_response, power_up, init_full_done, enter_pin,
946                    check_pin_done): power up the card with CFUN=1 before trying to
947                         register with the network
948                 - (init_modem_full, init_modem): use more standard 3G init strings
949
950         * src/nm-hso-gsm-device.c
951                 - (modem_get_reply): remove, unused
952                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
953                         modem_wait_for_reply() to match actual responses instead of single
954                         termination characters; it doesn't leave stuff in the serial buffer
955                         that might confuse later calls
956                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
957                         to ensure that the call is really disconnected and not leave extra
958                         stuff in the serial buffer
959
960         * src/nm-cdma-device.c
961                 - (power_up_response, power_up, init_done): try Sierra-style modem
962                         power up before attempting to connect
963
964 2008-09-27  Dan Williams  <dcbw@redhat.com>
965
966         * libnm-util/nm-setting-gsm.c
967                 - (verify): verify GSM network ID
968
969 2008-09-25  Dan Williams  <dcbw@redhat.com>
970
971         * libnm-util/nm-setting-gsm.c
972           libnm-util/nm-setting-gsm.h
973                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
974                         technology terms (bgo #551361)
975
976 2008-09-25  Dan Williams  <dcbw@redhat.com>
977
978         Fix bgo #549401 (inspired by patch from Alexander Sack)
979
980         * src/nm-device-ethernet.c
981                 - (finish_supplicant_task): clean up scheduled tasks and free memory
982                 - (remove_supplicant_interface_error_handler): remove the supplicant
983                         error idle callback too
984                 - (supplicant_interface_release): rename from supplicant_interface_clean
985                         to match nm-device-wifi.c; clean up supplicant interface-related
986                         state tasks when the supplicant interface is disposed of
987                 - (schedule_state_handler): add scheduled tasks to a list so they can
988                         be cleaned up later
989                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
990                    supplicant_iface_connection_state_cb_handler): use
991                         finish_supplicant_task() to clean up each completed task
992                 - (supplicant_iface_connection_error_cb_handler,
993                    supplicant_connection_timeout_cb): clear source id when the task is
994                         complete
995                 - (supplicant_iface_connection_error_cb): save scheduled task id for
996                         later cleanup
997                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
998                         tasks
999
1000         * src/nm-device-wifi.c
1001                 - (finish_supplicant_task): clean up scheduled tasks and free memory
1002                 - (remove_supplicant_interface_error_handler): remove the supplicant
1003                         error idle callback too
1004                 - (supplicant_interface_release): clean up supplicant interface-related
1005                         state tasks when the supplicant interface is disposed of
1006                 - (schedule_state_handler): add scheduled tasks to a list so they can
1007                         be cleaned up later
1008                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1009                    supplicant_iface_connection_state_cb_handler): use
1010                         finish_supplicant_task() to clean up each completed task
1011                 - (supplicant_iface_connection_error_cb_handler): clear source id when
1012                         the task is complete
1013                 - (supplicant_iface_connection_error_cb): save scheduled task id for
1014                         later cleanup
1015                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
1016
1017 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1018
1019         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
1020         method and get/set hostname property.
1021
1022 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1023
1024         * src/supplicant-manager/nm-supplicant-interface.c
1025         (nm_supplicant_interface_disconnect): Don't increment the reference 
1026         count when disconnecting. The problem is on shutdown, when the replies
1027         to these commands do not arrive before NM exits, resulting on never
1028         calling supplicant interface's dispose(), which removes the interface
1029         from supplicant.
1030
1031 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1032
1033         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
1034         all the public function arguments.
1035
1036 2008-09-22  Tambet Ingo  <tambet@gmail.com>
1037
1038         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
1039         "Failure" signal from VPN plugins, store the failure reason, and
1040         use it when the state is changed to failure.
1041
1042         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
1043         description.
1044
1045         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
1046         reason to the end of the list to not break the API.
1047         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
1048         so it can be shared by plugins and daemon.
1049
1050 2008-09-18  Dan Williams  <dcbw@redhat.com>
1051
1052         Patch from Alexander Sack <asac@ubuntu.com>
1053
1054         * configure.in
1055           system-settings/plugins/Makefile.am
1056           system-settings/plugins/ifupdown/Makefile.am
1057           system-settings/plugins/ifupdown/interface_parser.c
1058           system-settings/plugins/ifupdown/interface_parser.h
1059           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1060           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1061           system-settings/plugins/ifupdown/parser.c
1062           system-settings/plugins/ifupdown/parser.h
1063           system-settings/plugins/ifupdown/plugin.c
1064           system-settings/plugins/ifupdown/plugin.h
1065                 - Implement a Debian/Ubuntu legacy network configuration plugin
1066                         (gnome.org #551941)
1067
1068 2008-09-18  Dan Williams  <dcbw@redhat.com>
1069
1070         Implement support for honoring configured and automatic hostnames, and for
1071         setting the configured hostname.
1072
1073         * introspection/nm-ip4-config.xml
1074           src/nm-ip4-config.c
1075           src/nm-ip4-config.h
1076           src/dhcp-manager/nm-dhcp-manager.c
1077                 - Remove useless hostname property; it's not really part of the IPv4
1078                         config
1079
1080         * introspection/nm-settings-system.xml
1081           libnm-glib/nm-dbus-settings-system.c
1082           libnm-glib/nm-dbus-settings-system.h
1083                 - Add SetHostname() call to system settings D-Bus interface
1084                 - Add Hostname property to system settings D-Bus interface
1085                 - (nm_dbus_settings_system_save_hostname,
1086                    nm_dbus_settings_system_get_hostname): implement
1087
1088         * src/nm-device.c
1089           src/nm-device.h
1090                 - (nm_device_get_dhcp4_config): implement
1091
1092         * src/nm-manager.c
1093           src/nm-manager.h
1094                 - Fetch and track system settings service hostname changes, and proxy
1095                         the changes via a GObject property of the manager
1096
1097         * system-settings/src/nm-system-config-interface.c
1098           system-settings/src/nm-system-config-interface.h
1099                 - Replace nm_system_config_interface_supports_add() with a capabilities
1100                         bitfield
1101
1102         * system-settings/src/nm-system-config-error.c
1103           system-settings/src/nm-system-config-error.h
1104                 - Add additional errors
1105
1106         * system-settings/src/dbus-settings.c
1107           system-settings/src/dbus-settings.h
1108                 - (get_property, nm_sysconfig_settings_class_init): add hostname
1109                         property; first plugin returning a hostname wins
1110                 - (impl_settings_add_connection): use plugin capabilities instead of
1111                         nm_system_config_interface_supports_add()
1112                 - (impl_settings_save_hostname): implement hostname saving
1113
1114         * src/NetworkManagerPolicy.c
1115                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1116                    lookup_thread_die): implement an asynchronous hostname lookup thread
1117                         which given an IPv4 address tries to look up the hostname for that
1118                         address with reverse DNS
1119                 - (get_best_device): split out best device code from
1120                         update_routing_and_dns()
1121                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1122                         to preserve the 127.0.0.1 reverse mapping that so many things require
1123                 - (set_system_hostname): set a given hostname
1124                 - (update_system_hostname): implement hostname policy; a configured
1125                         hostname (from the system settings service) is used if available,
1126                         otherwise an automatically determined hostname from DHCP, VPN, etc.
1127                         If there was no automatically determined hostname, reverse DNS of
1128                         the best device's IP address will be used, and as a last resort the
1129                         hostname 'localhost.localdomain' is set.
1130                 - (update_routing_and_dns): use get_best_device(); update the system
1131                         hostname when the network config changes
1132                 - (hostname_changed): update system hostname if the system settings
1133                         service signals a hostname change
1134                 - (nm_policy_new): list for system settings service hostname changes
1135                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1136                         gets told to die
1137
1138         * system-settings/plugins/keyfile/plugin.c
1139           system-settings/plugins/ifcfg-suse/plugin.c
1140                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1141                         capabilities properties
1142
1143         * system-settings/plugins/ifcfg-fedora/shvar.c
1144                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1145                         writes out /etc/sysconfig/network now
1146
1147         * system-settings/plugins/ifcfg-fedora/plugin.c
1148                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1149                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1150                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1151                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1152                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1153                         hostname get/set and capabilities get
1154
1155 2008-09-18  Dan Williams  <dcbw@redhat.com>
1156
1157         * libnm-util/nm-setting-wireless.c
1158                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1159                         group ciphers if the wireless-security setting explicitly specified
1160                         them, effectively making the default be "all ciphers"  (idea from
1161                         Alexander Sack)
1162
1163 2008-09-15  Dan Williams  <dcbw@redhat.com>
1164
1165         Patch from Alexander Sack <asac@ubuntu.com>
1166
1167         * src/named-manager/nm-named-manager.c
1168                 - (dispatch_resolvconf): respect resolvconf exit code
1169
1170 2008-09-12  Tambet Ingo  <tambet@gmail.com>
1171
1172         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1173         again. Add some debugging.
1174
1175 2008-09-11  Dan Williams  <dcbw@redhat.com>
1176
1177         * system-settings/plugins/keyfile/plugin.c
1178                 - (update_connection_settings): update connection manually, since
1179                         nm_exported_connection_update() does authentication
1180                 - (dir_changed): update_connection_settings() doesn't need to return
1181                         an error
1182
1183 2008-09-09  Dan Williams  <dcbw@redhat.com>
1184
1185         * libnm-glib/nm-vpn-plugin-ui-interface.c
1186           libnm-glib/nm-vpn-plugin-ui-interface.h
1187           libnm-glib/libnm_glib_vpn.ver
1188                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1189                         should clean up resources related to the connection (like keyring
1190                         secrets)
1191                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1192                         should save user-scope secrets (like to the keyring)
1193
1194 2008-09-08  Dan Williams  <dcbw@redhat.com>
1195
1196         Patch from Alexander Sack <asac@ubuntu.com>
1197
1198         * libnm-util/crypto_gnutls.c
1199           libnm-util/crypto_nss.c
1200                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1201
1202         * libnm-util/nm-utils.c
1203           libnm-util/nm-utils.h
1204           libnm-util/libnm-util.ver
1205                 - (nm_utils_init): initialize libnm-util
1206                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1207
1208         * libnm-util/nm-setting-8021x.c
1209                 - (nm_setting_802_1x_class_init): init libnm-util when needed
1210
1211 2008-09-05  Dan Williams  <dcbw@redhat.com>
1212
1213         Patch from Roy Marples <roy@marples.name> and others
1214
1215         * configure.in
1216           src/named-manager/nm-named-manager.c
1217                 - Add support for resolvconf; use --with-resolvconf at configure time
1218                         to enable it
1219
1220 2008-09-05  Dan Williams  <dcbw@redhat.com>
1221
1222         * libnm-util/crypto_nss.c
1223           libnm-util/crypto_gnutls.c
1224           libnm-util/crypto.h
1225                 - (crypto_init): return error when init fails
1226
1227 2008-09-05  Dan Williams  <dcbw@redhat.com>
1228
1229         * libnm-glib/nm-device-wifi.c
1230                 - (access_point_removed_proxy): clean up the active access point too
1231                         just in case the active ap changed signal didn't come through yet
1232                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1233
1234 2008-09-05  Dan Williams  <dcbw@redhat.com>
1235
1236         * libnm-glib/nm-client.c
1237                 - (constructor): get initial state after we know whether NM is running
1238                         or not
1239
1240 2008-09-05  Dan Williams  <dcbw@redhat.com>
1241
1242         * libnm-glib/nm-ip4-config.c
1243           libnm-glib/nm-dhcp4-config.c
1244                 - (finalize): clean up the DBusGProxy
1245
1246 2008-09-04  Dan Williams  <dcbw@redhat.com>
1247
1248         * src/nm-ip4-config.c
1249           src/nm-ip4-config.h
1250                 - (nm_ip4_config_new): don't export over D-Bus here
1251                 - (nm_ip4_config_export): new function; export the config over D-Bus
1252                 - (nm_ip4_config_is_exported): new function
1253
1254         * src/nm-device.c
1255                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1256                         objects by balancing the IP4Config constructor; the device holds
1257                         a reference to the IP4Config already
1258                 - (nm_device_set_ip4_config): export the IP4Config when needed
1259
1260 2008-09-04  Dan Williams  <dcbw@redhat.com>
1261
1262         * src/supplicant-manager/nm-supplicant-settings-verify.c
1263                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1264
1265 2008-09-04  Dan Williams  <dcbw@redhat.com>
1266
1267         * libnm-util/nm-setting-vpn.c
1268           libnm-util/nm-setting-vpn.h
1269                 - Split VPN secrets from VPN data so that settings services can actually
1270                         figure out that they are secrets and store them accordingly
1271
1272         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1273           system-settings/plugins/keyfile/reader.c
1274           system-settings/plugins/keyfile/reader.h
1275           system-settings/plugins/keyfile/writer.c
1276                 - Store VPN secrets separately from VPN data so that they can be fetched
1277                         on demand
1278                 - Implement the get_secrets() call so that (a) secrets don't leak out
1279                         to unprivileged callers, and (b) secrets can be sent to privileged
1280                         callers when needed
1281
1282         * vpn-daemons/vpnc/src/nm-vpnc-service.c
1283                 - Handle split VPN secrets
1284
1285 2008-08-27  Dan Williams  <dcbw@redhat.com>
1286
1287         * system-settings/plugins/ifcfg-fedora/reader.c
1288                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1289
1290 2008-08-27  Dan Williams  <dcbw@redhat.com>
1291
1292         Ensure zombie children get cleaned up.  To get notifications when children
1293         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1294         that requires calling waitpid() yourself if you've removed the child watch
1295         handler before the process has actually died, which NM needs to do in a few
1296         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1297         cleans up after the child when required.  Should fix problems trying to
1298         activate mobile broadband connections after a previous failure.
1299
1300         * src/dhcp-manager/nm-dhcp-dhclient.c
1301           src/dhcp-manager/nm-dhcp-dhcpcd.c
1302                 - Use G_SPAWN_DO_NOT_REAP_CHILD
1303
1304         * src/dhcp-manager/nm-dhcp-manager.c
1305                 - (nm_dhcp_device_destroy): ensure child is cleaned up
1306                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1307                         block on child quitting, since the non-blocking functionality was
1308                         never actually used
1309
1310         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1311                 - (dm_watch_cb): child is already reaped here
1312                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1313
1314         * src/nm-device.c
1315                 - (aipd_cleanup): block until child is dead
1316
1317         * src/named-manager/nm-named-manager.c
1318                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1319                         event bothering to watch the child
1320
1321         * src/ppp-manager/nm-ppp-manager.c
1322                 - (ppp_watch_cb): child is already reaped here
1323                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1324
1325         * src/vpn-manager/nm-vpn-service.c
1326                 - (vpn_service_watch_cb): child is already reaped here
1327                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1328                         status of the child is actually tracked
1329                 - (ensure_killed, finalize): block until child is dead
1330
1331 2008-08-26  Dan Williams  <dcbw@redhat.com>
1332
1333         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1334                 - (update): Update filename of the connection if the connection id
1335                         was changed
1336
1337         * system-settings/plugins/keyfile/plugin.c
1338                 - (dir_changed): first pass at handling connection renames correctly
1339
1340         * system-settings/plugins/keyfile/writer.c
1341           system-settings/plugins/keyfile/writer.h
1342                 - (write_connection): replace '/' with '*' when writing out the filename
1343                         from the connection id
1344
1345 2008-08-26  Dan Williams  <dcbw@redhat.com>
1346
1347         Add connection UUIDs, since connection names can be changed, and since
1348         old-style connection IDs could change over the life of the connection.  The
1349         UUID should be assigned at connection creation time, be stable for a given
1350         connection, and should be unique among all connections for a given settings
1351         service.
1352
1353         * configure.in
1354           libnm-util/Makefile.am
1355                 - Require libuuid
1356
1357         * introspection/nm-exported-connection.xml
1358                 - Remove "GetID" method
1359
1360         * libnm-glib/nm-dbus-connection.c
1361           libnm-glib/nm-settings.c
1362           libnm-glib/nm-settings.h
1363                 - Remove id-related stuff
1364
1365         * libnm-util/nm-utils.c
1366           libnm-util/nm-utils.h
1367           libnm-util/libnm-util.ver
1368                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1369                         utility functions to generate UUIDs
1370
1371         * libnm-util/nm-setting-connection.c
1372           libnm-util/nm-setting-connection.h
1373                 - Add 'uuid' member to the connection setting
1374                 - (verify): require valid 'uuid' for a valid connection
1375
1376         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1377           system-settings/plugins/ifcfg-fedora/reader.c
1378           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1379           system-settings/plugins/ifcfg-suse/parser.c
1380           system-settings/plugins/keyfile/nm-keyfile-connection.c
1381           system-settings/src/main.c
1382                 - Remove id-related stuff
1383                 - Give connections UUIDs where needed
1384
1385 2008-08-25  Dan Williams  <dcbw@redhat.com>
1386
1387         * libnm-util/crypto_gnutls.c
1388           libnm-util/crypto_nss.c
1389                 - (crypto_init, crypto_deinit): refcount init/deinit
1390                 - (crypto_md5_hash): allow NULL salt
1391
1392 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
1393
1394         * libnm-glib/Makefile.am
1395           libnm-util/Makefile.am
1396           libnm-glib/libnm_glib.ver
1397           libnm-glib/libnm_glib_vpn.ver
1398           libnm-util/libnm-util.ver
1399                 - Use linker version scripts to control the list of exported 
1400                 symbols. List each exported symbol explicitely.
1401         * libnm-util/Makefile.am
1402                 - Fix compilation of the test-crypto binary. The crypto
1403                 functions are no longer part of the libnm-util API. Add 
1404                 crypto_*.c to test_crypto_SOURCES and link against the correct
1405                 crypto libraries.
1406
1407 2008-08-19  Dan Williams  <dcbw@redhat.com>
1408
1409         * configure.in
1410           test/Makefile.am
1411                 - Don't build test/test-common
1412                 - Remove unused stuff
1413
1414         * test/nm-set-fallback
1415           test/nmtestdevices.c
1416           test/test-common/.cvsignore
1417           test/test-common/Makefile.am
1418           test/test-common/test-common.c
1419           test/test-common/test-common.h
1420                 - delete
1421
1422 2008-08-18  Dan Williams  <dcbw@redhat.com>
1423
1424         * libnm-util/nm-utils.c
1425           libnm-util/nm-utils.h
1426                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1427                         export anything that needs to be converted with this function
1428
1429         * src/dhcp-manager/nm-dhcp-manager.c
1430                 - (garray_to_string): convert a byte array to a UTF-8 string with
1431                         minimal validation; the DHCP client sends it in ASCII anyway
1432                 - (get_option, copy_option): use garray_to_string()
1433
1434 2008-08-18  Dan Williams  <dcbw@redhat.com>
1435
1436         * include/NetworkManager.h
1437           introspection/nm-device.xml
1438                 - Add a "missing firmware" device state reason
1439
1440         * src/NetworkManagerSystem.c
1441           src/NetworkManagerSystem.h
1442                 - (nm_system_device_set_up_down): add a no_firmware argument
1443                 - (nm_system_device_set_up_down_with_iface): if the result of setting
1444                         IFF_UP is ENOENT, that almost always means missing firmware
1445
1446         * src/backends/NetworkManagerGeneric.c
1447           src/nm-device-ethernet.c
1448           src/nm-device-private.h
1449           src/nm-device-wifi.c
1450           src/nm-device.c
1451           src/nm-device.h
1452           src/nm-hso-gsm-device.c
1453           src/vpn-manager/nm-vpn-connection.c
1454                 - Pass no_firmware along; check it where appropriate
1455
1456 2008-08-18  Dan Williams  <dcbw@redhat.com>
1457
1458         Patch from Robert Buchholz <rbu@gentoo.org>
1459
1460         * autogen.sh
1461           configure.in
1462                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1463                         1003.1-1988, allowing for file names longer than 99 characters
1464
1465 2008-08-17  Dan Williams  <dcbw@redhat.com>
1466
1467         * include/NetworkManager.h
1468           introspection/nm-device.xml
1469           src/nm-gsm-device.c
1470                 - Finer-grained GSM registration failure error codes
1471
1472 2008-08-17  Dan Williams  <dcbw@redhat.com>
1473
1474         * callouts/Makefile.am
1475           src/Makefile.am
1476                 - Move dispatcher directory creation to callouts/Makefile.am
1477
1478         * system-settings/plugins/keyfile/Makefile.am
1479                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1480
1481 2008-08-15  Dan Williams  <dcbw@redhat.com>
1482
1483         Do connection sharing in a cleaner manner; all required iptables rules
1484         are now stored in the activation request and pertain only to the device
1485         which is being shared to other computers. (rh #458625)
1486
1487         * src/nm-activation-request.c
1488           src/nm-activation-request.h
1489                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1490                         the activation request which will get torn down automatically when
1491                         the activation request dies
1492                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1493                         is started, and tear them down when sharing is stopped
1494
1495         * src/nm-device.c
1496                 - (start_sharing): start up sharing by doing the required iptables magic
1497                 - (share_init): poke the right bits of the kernel and load the right
1498                         modules for NAT
1499                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1500                         connection if it's a 'shared' connection
1501
1502         * src/NetworkManagerPolicy.c
1503                 - Remove all sharing stuff; done in the device code itself
1504
1505 2008-08-15  Dan Williams  <dcbw@redhat.com>
1506
1507         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1508                 - (create_dm_cmd_line): send the right router address
1509
1510 2008-08-15  Dan Williams  <dcbw@redhat.com>
1511
1512         * src/ppp-manager/nm-ppp-manager.c
1513                 - (pppd_timed_out): ensure timeouts fail the connection
1514
1515 2008-08-14  Dan Williams  <dcbw@redhat.com>
1516
1517         * src/nm-properties-changed-signal.c
1518           src/nm-properties-changed-signal.h
1519                 - Add a property spec flag for "don't export this property" in
1520                         property changed signals
1521
1522         * src/nm-hso-gsm-device.c
1523           src/nm-gsm-device.c
1524           src/nm-cdma-device.c
1525                 - Don't export monitor interface or netdev interface properties
1526
1527 2008-08-14  Dan Williams  <dcbw@redhat.com>
1528
1529         * src/NetworkManagerPolicy.c
1530                 - (update_routing_and_dns): 'hso' devices can be default even if they
1531                         don't have a gateway
1532
1533 2008-08-14  Dan Williams  <dcbw@redhat.com>
1534
1535         * src/nm-device.c
1536                 - (nm_device_deactivate_quickly): tear down activation request after
1537                         calling device-specific deactivation
1538
1539         * src/nm-hso-gsm-device.c
1540                 - (real_deactivate_quickly): terminate connection when deactivating
1541
1542 2008-08-14  Dan Williams  <dcbw@redhat.com>
1543
1544         * src/nm-activation-request.h
1545                 - Add HSO secrets caller
1546
1547         * src/nm-gsm-device.c
1548           src/nm-gsm-device.h
1549                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1550                         something to the callback function
1551                 - (set_apn, set_apn_done): call class dial function, not a static one
1552                 - (nm_gsm_device_class_init): add a class 'dial' function
1553
1554         * src/nm-hal-manager.c
1555                 - (get_hso_netdev): find the hso-driven hardware's net device
1556                 - (modem_device_creator): recognize hso-driven hardware and create the
1557                         right type of device object for it
1558
1559         * src/Makefile.am
1560           src/nm-hso-gsm-device.c
1561           src/nm-hso-gsm-device.h
1562                 - Implement support for devices driven by the 'hso' driver as a subclass
1563                         of NMGsmDevice
1564
1565 2008-08-14  Dan Williams  <dcbw@redhat.com>
1566
1567         * src/NetworkManagerSystem.c
1568                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1569                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1570                         success if the operation really was successful
1571
1572 2008-08-14  Dan Williams  <dcbw@redhat.com>
1573
1574         * src/nm-netlink-monitor.c
1575           src/nm-netlink-monitor.h
1576           src/nm-device-ethernet.c
1577                 - (nm_netlink_monitor_request_status): return an error on failure
1578                 - (constructor): don't segfault on missing error
1579
1580 2008-08-13  Dan Williams  <dcbw@redhat.com>
1581
1582         * callouts/nm-dispatcher-action.c
1583                 - Add IP4 config info to script environment
1584
1585 2008-08-12  Dan Williams  <dcbw@redhat.com>
1586
1587         * src/nm-device.c
1588                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1589                         that want to use DHCP hostnames should use dispatcher scripts
1590                         for that
1591
1592         * src/NetworkManagerSystem.h
1593           src/backends/NetworkManagerArch.c
1594           src/backends/NetworkManagerDebian.c
1595           src/backends/NetworkManagerFrugalware.c
1596           src/backends/NetworkManagerGeneric.c
1597           src/backends/NetworkManagerGeneric.h
1598           src/backends/NetworkManagerGentoo.c
1599           src/backends/NetworkManagerMandriva.c
1600           src/backends/NetworkManagerPaldo.c
1601           src/backends/NetworkManagerRedHat.c
1602           src/backends/NetworkManagerSlackware.c
1603           src/backends/NetworkManagerSuSE.c
1604                 - Remove nm_system_set_hostname(), no longer used
1605           
1606         * src/backends/Makefile.am
1607           src/backends/shvar.c
1608           src/backends/shvar.h
1609                 - Remove shvar.*; no longer used
1610
1611 2008-08-12  Dan Williams  <dcbw@redhat.com>
1612
1613         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1614         hostname is updated at runtime.  Distros or users who want hostname updates
1615         can use dispatcher scripts to update the hostname if they need it.
1616
1617 2008-08-12  Dan Williams  <dcbw@redhat.com>
1618
1619         * introspection/nm-settings-system.xml
1620           system-settings/src/dbus-settings.c
1621           system-settings/src/dbus-settings.h
1622                 - Add a 'Hostname' property (rw) which represents the configured
1623                         hostname and domain of the system, if any
1624
1625         * system-settings/src/nm-system-config-error.c
1626           system-settings/src/nm-system-config-error.h
1627           system-settings/src/nm-system-config-interface.c
1628           system-settings/src/nm-system-config-interface.h
1629                 - Add a 'hostname' property to the plugin interface
1630                 - Add a method to send updated hostname to plugins to save in their
1631                         backing configuration store
1632
1633         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1634           system-settings/plugins/keyfile/plugin.c
1635           system-settings/plugins/keyfile/writer.c
1636           system-settings/plugins/keyfile/writer.h
1637           system-settings/plugins/ifcfg-suse/plugin.c
1638                 - Add minimal hostname support
1639
1640         * system-settings/plugins/ifcfg-fedora/plugin.c
1641                 - Add support for updating system hostname in /etc/sysconfig/network
1642
1643 2008-08-12  Dan Williams  <dcbw@redhat.com>
1644
1645         * system-settings/plugins/ifcfg-fedora/shvar.c
1646           system-settings/plugins/ifcfg-fedora/shvar.c
1647                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1648
1649 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1650
1651         * Makefile.am: Fix distcheck.
1652
1653 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1654
1655         * libnm-glib/*.c. Document some more.
1656
1657 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1658
1659         Start documenting libnm-glib public API using gtk-doc.
1660
1661         * libnm-glib/nm-serial-device.c: 
1662         * libnm-glib/nm-object.c: 
1663         * libnm-glib/nm-gsm-device.c: 
1664         * libnm-glib/nm-device.c: 
1665         * libnm-glib/nm-device-wifi.c: 
1666         * libnm-glib/nm-device-ethernet.c: 
1667         * libnm-glib/nm-client.c: 
1668         * libnm-glib/nm-cdma-device.c: Document the public API.
1669
1670         * docs/libnm-glib/libnm-glib.types: Implement.
1671
1672         * docs/libnm-glib/Makefile.am: Implement.
1673
1674         * autogen.sh: 
1675         * configure.in: 
1676         * Makefile.am: Add gtk-doc support.
1677
1678 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1679
1680         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1681
1682         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1683         the composite result of all the IP4 configurations and call a distro
1684         specific update_resolv_conf().
1685         (update_resolv_conf): Implement one for directly writing to 
1686         /etc/resolv.conf and one for opensuse to call netconfig.
1687
1688 2008-08-11  Dan Williams  <dcbw@redhat.com>
1689
1690         * src/ppp-manager/nm-ppp-manager.c
1691                 - (impl_ppp_manager_need_secrets): pass interface as required
1692
1693 2008-08-11  Dan Williams  <dcbw@redhat.com>
1694
1695         Merge the vpn-properties setting with the vpn setting since it was pointless
1696         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1697         of string:string (instead of string:variant) so that system settings plugins
1698         can have an easier time dealing with the arbitrary key/value pairs.
1699
1700 2008-08-11  Dan Williams  <dcbw@redhat.com>
1701
1702         * libnm-util/nm-utils.c
1703                 - (nm_utils_register_value_transformations): add value transform for
1704                         a hash table of string:string
1705
1706 2008-08-10  Dan Williams  <dcbw@redhat.com>
1707
1708         * libnm-glib/nm-vpn-plugin.c
1709                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1710                         an idle handler so the Connect reply gets delivered before the
1711                         stop StateChanged signal
1712
1713 2008-08-10  Dan Williams  <dcbw@redhat.com>
1714
1715         * src/nm-ip4-config.c
1716                 - (get_property): use common ip4 address/route conversion functions
1717                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1718                         copy the new route here, not take ownership
1719
1720 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1721
1722         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1723         Update the IP4 setting's method name.
1724
1725 2008-08-07  Dan Williams  <dcbw@redhat.com>
1726
1727         * introspection/nm-ip4-config.xml
1728           libnm-glib/libnm-glib-test.c
1729           libnm-glib/nm-ip4-config.c
1730           libnm-glib/nm-ip4-config.h
1731           src/NetworkManagerSystem.h
1732           src/backends/NetworkManagerArch.c
1733           src/backends/NetworkManagerDebian.c
1734           src/backends/NetworkManagerFrugalware.c
1735           src/backends/NetworkManagerGeneric.c
1736           src/backends/NetworkManagerGeneric.h
1737           src/backends/NetworkManagerGentoo.c
1738           src/backends/NetworkManagerMandriva.c
1739           src/backends/NetworkManagerPaldo.c
1740           src/backends/NetworkManagerRedHat.c
1741           src/backends/NetworkManagerSlackware.c
1742           src/backends/NetworkManagerSuSE.c
1743           src/dhcp-manager/nm-dhcp-manager.c
1744           src/nm-device.c
1745           src/nm-ip4-config.c
1746           src/nm-ip4-config.h
1747                 - Remove NIS logic; should be done from dispatcher scripts instead
1748
1749 2008-08-07  Dan Williams  <dcbw@redhat.com>
1750
1751         * src/dhcp-manager/nm-dhcp-manager.c
1752                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1753                         mis-handling of DHCP responses that returned more than one router
1754                         (found by Grant Williamson)
1755
1756 2008-08-07  Dan Williams  <dcbw@redhat.com>
1757
1758         * callouts/nm-dispatcher-action.c
1759                 - (nm_dispatcher_action): grab device path and create the device; pass
1760                         the device's DHCP4 config to script caller
1761                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1762                         scripts
1763
1764         * libnm-glib/nm-dhcp4-config.c
1765           libnm-glib/nm-dhcp4-config.h
1766                 - (nm_dhcp4_config_get_options): expose
1767                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1768
1769 2008-08-07  Dan Williams  <dcbw@redhat.com>
1770
1771         * include/NetworkManager.h
1772                 - Add the DHCP4Config D-Bus interface
1773
1774         * libnm-glib/Makefile.am
1775           libnm-glib/nm-dhcp4-config.c
1776           libnm-glib/nm-dhcp4-config.h
1777                 - Handle DHCP4 config objects exported by NM over D-Bus
1778
1779         * libnm-glib/nm-device.c
1780           libnm-glib/nm-device.h
1781                 - Add a 'dhcp4-config' property
1782
1783         * libnm-glib/libnm-glib-test.c
1784                 - Print out DHCP4 config for devices
1785                 - Fix some crashes when no connections are active
1786
1787         * src/nm-device-interface.c
1788           src/nm-device.c
1789           src/nm-dhcp4-config.c
1790           src/nm-dhcp4-config.h
1791                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1792                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1793                         doesn't let us do when the property type is G_TYPE_OBJECT
1794
1795 2008-08-07  Dan Williams  <dcbw@redhat.com>
1796
1797         * src/NetworkManager.c
1798           src/NetworkManagerSystem.h
1799           src/backends/NetworkManagerArch.c
1800           src/backends/NetworkManagerDebian.c
1801           src/backends/NetworkManagerFrugalware.c
1802           src/backends/NetworkManagerGeneric.c
1803           src/backends/NetworkManagerGeneric.h
1804           src/backends/NetworkManagerGentoo.c
1805           src/backends/NetworkManagerMandriva.c
1806           src/backends/NetworkManagerPaldo.c
1807           src/backends/NetworkManagerRedHat.c
1808           src/backends/NetworkManagerSlackware.c
1809           src/backends/NetworkManagerSuSE.c
1810                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1811
1812 2008-08-06  Dan Williams  <dcbw@redhat.com>
1813
1814         * libnm-glib/nm-ip4-config.c
1815           libnm-glib/nm-ip4-config.h
1816                 - Add 'routes' property
1817
1818         * libnm-util/nm-setting-vpn.c
1819           libnm-util/nm-setting-vpn.h
1820                 - Remove 'routes' property
1821
1822         * libnm-util/nm-setting-ip4-config.c
1823           libnm-util/nm-setting-ip4-config.h
1824                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1825                 - Add 'ignore-auto-routes' property
1826                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1827                         accomodate route metrics
1828                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1829
1830         * libnm-util/nm-utils.c
1831           libnm-util/nm-utils.h
1832                 - Add helpers for marshalling IP4 routes
1833
1834         * src/NetworkManagerUtils.c
1835                 - (nm_utils_merge_ip4_config): handle property renames and new route
1836                         structure
1837
1838         * src/NetworkManagerSystem.c
1839                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1840                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1841
1842         * src/dhcp-manager/nm-dhcp-manager.c
1843                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1844
1845         * system-settings/plugins/ifcfg-fedora/reader.c
1846           system-settings/plugins/ifcfg-fedora/writer.c
1847                 - Handle routes separately from addresses now that routes have a different
1848                         format
1849
1850         * introspection/nm-ip4-config.xml
1851           src/nm-ip4-config.c
1852           src/nm-ip4-config.h
1853                 - Rename internal routing functions
1854                 - 'static-routes' renamed to 'routes'
1855
1856 2008-08-04  Dan Williams  <dcbw@redhat.com>
1857
1858         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1859
1860         * src/NetworkManager.c
1861           src/nm-manager.c
1862           src/nm-manager.h
1863                 - More explicitly make the NMManager a singleton
1864
1865 2008-08-04  Dan Williams  <dcbw@redhat.com>
1866
1867         * libnm-util/nm-connection.c
1868           libnm-util/nm-connection.h
1869                 - (nm_connection_verify): return error on missing 'connection' setting
1870                         (found by Sjoerd Simons)
1871
1872 2008-08-04  Dan Williams  <dcbw@redhat.com>
1873
1874         Handle multiple concurrent PPP connections.
1875
1876         * src/ppp-manager/nm-ppp-manager.c
1877           src/ppp-manager/nm-ppp-manager.h
1878                 - (constructor): only PPP Manager request bus name once; each
1879                         NMPPPManager object gets a unique object path
1880                 - (nm_ppp_manager_class_init, get_property, set_property,
1881                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1882                         at construct time
1883                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1884                         remove timeout until PPP manager gets an IP4 config
1885                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1886                         the plugin can call back to this specific PPP manager instance
1887
1888         * src/nm-device-ethernet.c
1889           src/nm-serial-device.c
1890                 - Pass parent device in nm_ppp_manager_new()
1891
1892         * src/nm-gsm-device.c
1893           src/nm-cdma-device.c
1894                 - (device_state_changed): don't close serial device on NEED_AUTH
1895                         state changed, that's not a failure case like the rest are
1896
1897         * src/ppp-manager/nm-pppd-plugin.c
1898                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1899                         binds one interface to any pppd process, thus the correct index
1900                         is always 0; send PHASE_DEAD on error to alert NM immediately of
1901                         problems; try harder to get a peer address in spite of pppd
1902                 - (plugin_init): use 'ipparam' as the object path back to our specific
1903                         PPP manager instance
1904
1905 2008-08-04  Dan Williams  <dcbw@redhat.com>
1906
1907         * src/ppp-manager/nm-ppp-manager.c
1908                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1909                         since the GSM and CDMA settings now implement need_secrets, we can
1910                         rely on them to do the right thing.  Where secrets are not required,
1911                         just pass empty strings back to the pppd plugin.
1912                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1913                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1914                         on successful IP4 config receipt
1915
1916 2008-08-04  Dan Williams  <dcbw@redhat.com>
1917
1918         * libnm-util/nm-setting-cdma.c
1919           libnm-util/nm-setting-gsm.c
1920                 - (verify): validate username & password if they exist
1921                 - (need_secrets): if username given, require a password too
1922
1923 2008-08-04  Dan Williams  <dcbw@redhat.com>
1924
1925         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1926                 - (create_dm_cmd_line): really don't listen on lo, despite what the
1927                         manpage says about --listen-address without --interface
1928                         (bgo #546033)
1929
1930 2008-08-01  Dan Williams  <dcbw@redhat.com>
1931
1932         * libnm-glib/nm-device.c
1933                 - (proxy_get_string): util function for querying a HAL property
1934                 - (get_ancestor_device): split out from get_product_and_vendor()
1935                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1936                         from PCI devices by querying subsys properties
1937                 - (nm_device_update_description): simplify
1938
1939 2008-08-01  Dan Williams  <dcbw@redhat.com>
1940
1941         * libnm-util/nm-setting-ip4-config.c
1942           libnm-util/nm-setting-ip4-config.h
1943                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1944                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
1945                         settings, and they don't necessarily use DHCP.
1946
1947         * src/NetworkManagerPolicy.c
1948           src/nm-device.c
1949           system-settings/plugins/ifcfg-fedora/reader.c
1950           system-settings/plugins/ifcfg-suse/parser.c
1951                 - Fixup for method changes
1952
1953 2008-07-31  Dan Williams  <dcbw@redhat.com>
1954
1955         * src/nm-activation-request.c
1956           src/vpn-manager/nm-vpn-connection.c
1957                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1958                         itself should be attached to the activation request or the VPN
1959                         connection, not the NMConnection object, since the call is not
1960                         expected to live as long as the NMConnection itself
1961
1962 2008-07-31  Dan Williams  <dcbw@redhat.com>
1963
1964         * src/nm-device-wifi.c
1965                 - (real_act_stage2_config): fix issue where association would continue
1966                         even though secrets were needed; 'goto out' was in wrong scope and
1967                         result of handle_auth_or_fail() should have been dumped directly to
1968                         'ret' to ensure that the association was postponed until secrets
1969                         are available
1970
1971 2008-07-31  Dan Williams  <dcbw@redhat.com>
1972
1973         * system-settings/plugins/ifcfg-fedora/plugin.c
1974           system-settings/plugins/ifcfg-fedora/reader.c
1975                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1976                         valid NM connection
1977
1978 2008-07-29  Dan Williams  <dcbw@redhat.com>
1979
1980         * src/nm-gsm-device.c
1981                 - (automatic_registration_response, automatic_registration): recognize
1982                         denied registration and reorder responses
1983
1984 2008-07-29  Dan Williams  <dcbw@redhat.com>
1985
1986         * src/nm-serial-device.c
1987                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
1988                         time(2) is used for current time, which returns seconds, we shouldn't
1989                         be multiplying by 1000.
1990
1991 2008-07-28  Dan Williams  <dcbw@redhat.com>
1992
1993         Patch from Fabrice Bellet <fabrice@bellet.info>
1994
1995         * src/NetworkManagerSystem.c
1996                 - (route_in_same_subnet): mask addresses and compare them so that the
1997                         function actually does what it says it's going to do (rh #456685)
1998
1999 2008-07-27  Dan Williams  <dcbw@redhat.com>
2000
2001         * libnm-util/nm-setting-ip6-config.c
2002                 - (set_property): add missing break that caused routes to be overwritten
2003                         with addresses
2004
2005         * libnm-util/nm-setting-ip6-config.c
2006                 - (verify): validate routes and return GError everywhere on invalid setting
2007                 - (finalize): don't leak routes
2008                 - (set_property): add missing break that caused routes to be overwritten
2009                         with addresses
2010
2011 2008-07-27  Dan Williams  <dcbw@redhat.com>
2012
2013         * libnm-util/*
2014                 - Relicense to LGPLv2+
2015
2016 2008-07-27  Dan Williams  <dcbw@redhat.com>
2017
2018         * system-settings/plugins/ifcfg-fedora/reader.c
2019                 - (make_ip4_setting): fix parsing automatic configs
2020
2021 2008-07-27  Dan Williams  <dcbw@redhat.com>
2022
2023         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2024           src/nm-device.c
2025           src/ppp-manager/nm-ppp-manager.c
2026                 - Ensure child process gets reaped.  The child watch function may be
2027                         removed from the mainloop before the child gets killed, so we have
2028                         to make sure the child is reaped when it's told to die intentionally
2029
2030 2008-07-27  Dan Williams  <dcbw@redhat.com>
2031
2032         Patch from Roy Marples <roy@marples.name>
2033
2034         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2035                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
2036
2037 2008-07-27  Dan Williams  <dcbw@redhat.com>
2038
2039         * src/nm-gsm-device.c
2040                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
2041                         Huawei devices turn echo back on after CPIN (rh #456770)
2042
2043 2008-07-24  Tambet Ingo  <tambet@gmail.com>
2044
2045         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
2046         format argument to g_set_error() call.
2047
2048         * src/backends/interface_parser.[ch]: Remove.
2049
2050         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
2051
2052 2008-07-21  Dan Williams  <dcbw@redhat.com>
2053
2054         * src/ppp-manager/nm-ppp-manager.c
2055                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2056                         to prevent pppd from picking up some random local address from an
2057                         interface that doesn't have anything to do with the one we're
2058                         interested in (rh #455348)
2059
2060 2008-07-17  Dan Williams  <dcbw@redhat.com>
2061
2062         * libnm-util/nm-utils.c
2063                 - (string_to_utf8): general function for conversion to UTF-8 assisted
2064                         by locale
2065                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2066                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2067
2068 2008-07-17  Dan Williams  <dcbw@redhat.com>
2069
2070         * introspection/Makefile.am
2071           introspection/nm-device.xml
2072           introspection/nm-dhcp4-config.xml
2073                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2074                         itself
2075         * src/nm-device-interface.c
2076           src/nm-device-interface.h
2077                 - Add the DHCP4Config property
2078
2079         * src/nm-device.c
2080                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2081                         D-Bus clients when it changes
2082
2083         * src/nm-dhcp4-config.c
2084           src/nm-dhcp4-config.h
2085                 - Simple object to store DHCP4 options, export them over D-Bus, and
2086                         notify when they change
2087
2088         * src/dhcp-manager/nm-dhcp-manager.c
2089           src/dhcp-manager/nm-dhcp-manager.h
2090                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2091                         filter server-returned DHCP options into an NMDHCP4Config object
2092
2093 2008-07-16  Dan Williams  <dcbw@redhat.com>
2094
2095         * introspection/nm-device.xml
2096                 - Add device state reasons
2097
2098 2008-07-16  Dan Williams  <dcbw@redhat.com>
2099
2100         Patch from Roy Marples <roy@marples.name>
2101
2102         * configure.in
2103                 - Add --with-dhcp-client option
2104
2105         * src/dhcp-manager/Makefile.am
2106                 - pass DHCP_CLIENT_PATH on compile line
2107
2108         * src/dhcp-manager/nm-dhcp-manager.c
2109           src/dhcp-manager/nm-dhcp-manager.h
2110                 - Genericize for both dhcpcd and dhclient
2111
2112         * src/dhcp-manager/nm-dhcp-dhclient.c
2113                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2114
2115         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2116                 - Implement support for dhcpcd too
2117
2118 2008-07-16  Tambet Ingo  <tambet@gmail.com>
2119
2120         * system-settings/src/nm-system-config-interface.c 
2121         (nm_system_config_interface_supports_add): Implement.
2122         (nm_system_config_interface_add_connection): Return a boolean to notify
2123         of errors.
2124
2125         * system-settings/src/nm-polkit-helpers.c: 
2126         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2127         a separate file.
2128
2129         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2130         Return an error when none of the plugins support add or if addition
2131         failed for some reason.
2132
2133         * system-settings/src/nm-system-config-error.h: 
2134         * system-settings/src/nm-system-config-error.c: New files, mostly moved
2135         here from nm-polkit-helpers.[ch].
2136
2137         * system-settings/src/Makefile.am: Build new files.
2138
2139         * system-settings/plugins/keyfile/reader.c 
2140         (read_array_of_array_of_uint): Make it more general so that it would
2141         work for routes as well.
2142
2143         * system-settings/plugins/keyfile/writer.c
2144         (write_array_of_array_of_uint): Ditto.
2145         Fix the netmask/prefix writing.
2146
2147         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2148         boolean to notify errors.
2149
2150         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2151         Return more specific error.
2152         (delete): Ditto.
2153
2154 2008-07-11  Dan Williams  <dcbw@redhat.com>
2155
2156         Modify the NMDevice::state-changed signal to include the previous state
2157         and reason. Enables the applet to provide more information why device
2158         activation failed.
2159
2160 2008-07-09  Dan Williams  <dcbw@redhat.com>
2161
2162         * callouts/Makefile.am
2163           callouts/nm-avahi-autoipd-action.c
2164           callouts/nm-avahi-autoipd.conf
2165                 - avahi-autoipd callout to send options back to NM
2166
2167         * src/autoip.c
2168           src/autoip.h
2169                 - remove
2170
2171         * src/nm-device.c
2172           src/nm-device-private.h
2173           src/nm-manager.c
2174                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2175                         old custom stuff
2176
2177 2008-07-07  Dan Williams  <dcbw@redhat.com>
2178
2179         * system-settings/plugins/ifcfg-fedora/reader.c
2180                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2181                         handle PREFIX too; clean up
2182
2183 2008-07-07  Dan Williams  <dcbw@redhat.com>
2184
2185         Convert to using IPv4 prefixes instead of netmasks.
2186
2187 2008-07-03  Dan Williams  <dcbw@redhat.com>
2188
2189         * libnm-util/nm-setting-ip4-config.c
2190           libnm-util/nm-setting-ip4-config.h
2191                 - Add properties for DHCP Client Identifier and DHCP Hostname
2192
2193         * src/dhcp-manager/nm-dhcp-manager.c
2194           src/dhcp-manager/nm-dhcp-manager.h
2195                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2196                         setting as an argument to pass on to the dhclient config file
2197                         creation function
2198                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2199                         DHCP is torn down
2200                 - (dhclient_run): punt config file handling to create_dhclient_config()
2201                 - (create_dhclient_config): create an interface-specific dhclient
2202                         config file since there may need to be interface-specific options
2203                         passed to dhclient
2204                 - (merge_dhclient_config): merge normal distro dhclient config file and
2205                         add options from the connection
2206                 - (nm_dhcp_device_new): generate the interface specific dhclient
2207                         config file path once
2208                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2209                         dhclient config file path
2210
2211         * src/nm-device.c
2212                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2213                         DHCP manager when starting DHCP
2214
2215 2008-07-02  Dan Williams  <dcbw@redhat.com>
2216
2217         * libnm-util/nm-setting-8021x.c
2218                 - (verify): allow forcing the PEAP label to 0
2219
2220 2008-07-02  Dan Williams  <dcbw@redhat.com>
2221
2222         * introspection/nm-active-connection.xml
2223           introspection/nm-vpn-connection.xml
2224           libnm-glib/nm-active-connection.c
2225           src/nm-activation-request.c
2226           src/nm-active-connection.h
2227           src/vpn-manager/nm-vpn-connection.c
2228                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2229                         and libnm-glib API since sharing didn't get implemented that way
2230
2231 2008-07-02  Dan Williams  <dcbw@redhat.com>
2232
2233         * src/nm-device-wifi.c
2234                 - (can_scan): don't scan when a shared connection is activated since
2235                         that makes drivers mad (causing disconnects); also NM doesn't need
2236                         to hedge against disconnects by keeping up-to-date network topology
2237                         because the connection originates from the local machine, and thus
2238                         there should be no disconnects
2239
2240 2008-07-01  Dan Williams  <dcbw@redhat.com>
2241
2242         Fix mobile broadband username/password issues.  NM was never requesting
2243         mobile broadband secrets, nor was it passing back the username and password
2244         if it had them.
2245
2246         * marshallers/nm-marshal.list
2247                 - Add some new types for activation request objects
2248
2249         * src/nm-activation-request.c
2250           src/nm-activation-request.h
2251                 - (get_secrets_cb): pass the caller type in the signal
2252                 - (nm_act_request_request_connection_secrets): take a caller type, so
2253                         that GetSecrets() reply handlers know who asked for the secrets in
2254                         the first place; use secret hints too so the settings service can
2255                         figure out exactly what NM wants (ie, PIN or the PPP password)
2256
2257         * src/ppp-manager/nm-ppp-manager.c
2258           src/ppp-manager/nm-ppp-manager.h
2259                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2260                         detect needed secrets when the secret could be blank, like GSM/CDMA
2261                         passwords.  So always ask for secrets, and send a hint as to what
2262                         secret we really want.
2263                 - (nm_ppp_manager_update_secrets): make function more generic by making
2264                         the device specific class figure out the username and password, and
2265                         accept an error argument to return back over D-Bus
2266
2267         * src/nm-device-wifi.c
2268                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2269                         nm_act_request_request_connection_secrets()
2270                 - (real_connection_secrets_updated): update for 'caller' changes
2271
2272         * src/nm-device.c
2273           src/nm-device.h
2274                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2275                         for 'caller' changes
2276
2277         * src/nm-device-ethernet.c
2278                 - (real_connection_secrets_updated): update for 'caller' changes and
2279                         move logic for getting PPPoE username and password here before
2280                         calling nm_ppp_manager_update_secrets()
2281                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2282                         nm_act_request_request_connection_secrets()
2283
2284         * src/nm-cdma-device.c
2285                 - (real_connection_secrets_updated): pass username and password back
2286                         to the PPP manager when required
2287
2288         * src/nm-gsm-device.c
2289                 - (enter_pin): send the required secret name to the settings service
2290                 - (real_connection_secrets_updated): pass username and password back
2291                         to the PPP manager when required
2292
2293 2008-06-30  Dan Williams  <dcbw@redhat.com>
2294
2295         * src/nm-device-wifi.c
2296                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2297
2298 2008-06-30  Dan Williams  <dcbw@redhat.com>
2299
2300         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
2301         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2302         priv->supplicant.iface.  When either condition is false, the device should
2303         transition back to UNAVAILABLE because it cannot be used.
2304
2305         * src/nm-device-wifi.c
2306                 - (constructor): cleanup; connect to supplicant manager here since the
2307                         supplicant manager is always around
2308                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2309                         ensure the supplicant manager is in the IDLE state
2310                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2311                         cancel any pending scans too
2312                 - (real_bring_up): don't set up the supplicnat interface here, because
2313                         we need the supplicant interface at times when the device may not
2314                         be "up"
2315                 - (real_take_down): just remove the periodic source
2316                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2317                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2318                         do anything if there's no supplicant interface
2319                 - (cleanup_association_attempt): cleanup
2320                 - (supplicant_iface_state_cb_handler): request an immediate scan when
2321                         the interface enters the READY state; transition to UNAVAILABLE
2322                         state when the interface goes down because the device can't be used
2323                         without a supplicant interface
2324                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2325                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
2326                         acquire the supplicant interface and transition to DISCONNECTED
2327                         if the radio isn't killed
2328                 - (nm_device_wifi_dispose): move most of device_cleanup() here
2329                 - (state_changed_cb): release any existing supplicant interface; if the
2330                         radio is enabled then try to acquire a new supplicant interface;
2331                         if the radio is enabled and a supplicant interface has been acquired,
2332                         we can transition to DISCONNECTED
2333                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2334                         don't enable the radio, because HAL probably lied to us about the
2335                         killswitch being off.  If bringing the hardware up worked, then
2336                         try to grab a supplicant interface, and if that was successful,
2337                         transition to DISCONNECTED
2338
2339 2008-06-30  Dan Williams  <dcbw@redhat.com>
2340
2341         * src/supplicant-manager/nm-supplicant-interface.c
2342                 - (request_scan_results, nm_supplicant_interface_dispose,
2343                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2344                         the id of the timeout, not a GSource
2345
2346 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2347
2348         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
2349         bunch of typoes introduced by "Patch from David Cantrell 
2350         <dcantrell@redhat.com> and me".
2351
2352 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2353
2354         * src/nm-serial-device.c: 
2355         * src/nm-gsm-device.c: 
2356         * src/nm-cdma-device.c: Move the pending call handling to a common location
2357         in serial device. Handle setting device state to failed in one place as well.
2358
2359 2008-06-29  Dan Williams <dcbw@redhat.com>
2360
2361         * src/nm-hal-manager.c
2362                 - Rework killswitch handling to query killswitch status immediately
2363                         when the first killswitch is added, so that rfkill state is
2364                         known as early as possible
2365                 - Also treat failure of GetPower() as rfkill when the dbus method
2366                         call times out (but not when the HAL callout returns an error)
2367
2368 2008-06-26  Dan Williams <dcbw@redhat.com>
2369
2370         Patch from David Cantrell <dcantrell@redhat.com> and me
2371
2372         * include/nm-dbus-glib-types.h
2373                 - Add IP6 address types
2374
2375         * libnm-util/Makefile.am
2376           libnm-util/nm-setting-ip6-config.c
2377           libnm-util/nm-setting-ip6-config.h
2378                 - Add IP6 settings object
2379
2380         * libnm-util/nm-connection.c
2381                 - (register_default_settings): register ip6 settings object
2382
2383         * libnm-util/nm-utils.c
2384           libnm-util/nm-utils.h
2385                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2386                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2387                         ip6 address conversion functions
2388         
2389 2008-06-26  Dan Williams <dcbw@redhat.com>
2390
2391         Patch from David Cantrell <dcantrell@redhat.com>
2392         
2393         * Use inet_ntop() and inet_pton() everwhere and check for errors
2394
2395 2008-06-26  Dan Williams <dcbw@redhat.com>
2396
2397         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2398
2399 2008-06-26  Dan Williams <dcbw@redhat.com>
2400
2401         Patch from Adel Gadllah <adel.gadllah@gmail.com>
2402
2403         * src/nm-device-wifi.c
2404                 - (link_timeout_cb): don't ignore disconnects due to scanning
2405                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2406                         a longer timeout when scanning; avoids case where supplicant can't
2407                         find the AP and just keeps scanning forever but isn't connected
2408
2409 2008-06-26  Dan Williams <dcbw@redhat.com>
2410
2411         Patch from Michael Biebl <biebl@debian.org>
2412
2413         * Clean up build system stuff
2414
2415 2008-06-23  Christian Persch  <chpe@gnome.org>
2416
2417         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2418         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2419         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2420         (impl_get_object):
2421         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2422         (impl_get_object):
2423         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2424         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2425         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2426         (impl_get_object):
2427         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2428         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2429         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2430         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2431         * vpn-daemons/pptp/properties/vpnui_opt.c:
2432         (vpnui_opt_connect_signals):
2433         * vpn-daemons/pptp/properties/vpnui_opt.h:
2434         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2435         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2436         deprecated gtk type macros. Bug #539325.
2437
2438 2008-06-20  Dan Williams  <dcbw@redhat.com>
2439
2440         * libnm-glib/nm-vpn-plugin-ui-interface.c
2441           libnm-glib/nm-vpn-plugin-ui-interface.h
2442                 - 'validity-changed' -> 'changed' to work better with the connection
2443                         editor.  Plugin UI widgets should emit 'changed' whenever their
2444                         UI values change in a meaningful way.
2445                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2446                         update_connection member now returns validity of the UI widget
2447
2448 2008-06-20  Tambet Ingo  <tambet@gmail.com>
2449
2450         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2451
2452 2008-06-17  Dan Williams  <dcbw@redhat.com>
2453
2454         * libnm-glib/nm-vpn-plugin-ui-interface.c
2455           libnm-glib/nm-vpn-plugin-ui-interface.h
2456                 - Add "desc" property for longer descriptions of the VPN plugin
2457
2458 2008-06-16  Dan Williams  <dcbw@redhat.com>
2459
2460         * configure.in
2461           libnm-glib/libnm_glib_vpn.pc.in
2462                 - add a .pc file for libnm_glib_vpn
2463
2464         * libnm-glib/nm-vpn-plugin-ui-interface.c
2465           libnm-glib/nm-vpn-plugin-ui-interface.h
2466                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2467                         rework it substantially
2468
2469 2008-06-12  Dan Williams  <dcbw@redhat.com>
2470
2471         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2472         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2473         returns a descriptive GError when verification fails.
2474
2475 2008-06-11  Dan Williams  <dcbw@redhat.com>
2476
2477         Patch from Tambet Ingo <tambet@gmail.com>
2478
2479         * libnm-util/nm-setting-gsm.c
2480                 - (verify): validate APN
2481
2482         * src/nm-gsm-device.c
2483                 - (manual_registration_done): start setting APN if needed
2484                 - (set_apn, set_apn_done): set the APN
2485                 - (do_dial): use the APN when dialing
2486
2487 2008-06-11  Dan Williams  <dcbw@redhat.com>
2488
2489         * src/NetworkManagerSystem.c
2490                 - (nm_system_device_set_ip4_route,
2491                    nm_system_device_replace_default_ip4_route): check for the right
2492                         return value from rtnl_route_add() to know when to add a gateway
2493                         route (from Tambet)
2494
2495 2008-06-11  Dan Williams  <dcbw@redhat.com>
2496
2497         * src/NetworkManagerPolicy.c
2498                 - do_ipt_cmd -> do_cmd
2499                 - (sharing_init): use do_cmd() instead of system()
2500
2501 2008-06-10  Dan Williams  <dcbw@redhat.com>
2502
2503         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2504         and use "wifi" everwhere instead.
2505
2506 2008-06-10  Dan Williams  <dcbw@redhat.com>
2507
2508         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2509
2510 2008-06-10  Dan Williams  <dcbw@redhat.com>
2511
2512         Patch from Tambet Ingo <tambet@gmail.com>
2513
2514         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2515                 changes.
2516
2517         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2518                 a signal to emit these changes over dbus.
2519
2520         * src/Makefile.am: Genereate nm-serial-device-glue.
2521
2522         * libnm-glib/nm-serial-device.[ch]: Implement.
2523
2524         * libnm-glib/nm-cdma-device.[ch]
2525           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2526
2527         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2528
2529         * introspection/nm-device-serial.xml: Implement.
2530
2531         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2532
2533         * introspection/Makefile.am: Add nm-device-serial.xml.
2534
2535         * include/NetworkManager.h: Add a DBus interface for serial device.
2536
2537 2008-06-10  Dan Williams  <dcbw@redhat.com>
2538
2539         * configure.in
2540                 - Add TARGET_* define to config.h to distinguish distros
2541
2542         * src/dhcp-manager/nm-dhcp-manager.c
2543                 - (dhclient_run): use distro-specific path for dhclient config file
2544
2545 2008-06-09  Dan Williams  <dcbw@redhat.com>
2546
2547         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2548           src/dnsmasq-manager/nm-dnsmasq-manager.h
2549                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2550                         calculate the addresses passed to dnsmasq instead of hard-coding
2551                         them
2552
2553         * src/nm-device.c
2554                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2555                         IP addresses for shared connections to guard against shared
2556                         connection address collisions
2557                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2558                         error conditions
2559                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2560                         the dnsmasq manager
2561
2562 2008-06-09  Dan Williams  <dcbw@redhat.com>
2563
2564         * src/NetworkManagerPolicy.c
2565                 - (update_routing_and_dns): set the default connection _after_ unsetting
2566                         default on all non-default connections so that two connections can
2567                         never be default at the same time
2568                 - (device_state_changed): start and stop connection sharing when
2569                         needed
2570                 - (active_connection_default_changed): restart or stop sharing when
2571                         the default connection changes to keep shared connections always
2572                         NAT-ed through the default connection
2573                 - (check_sharing): handle activation/deactivation of shared connections
2574                 - (sharing_restart): atom-bomb approach to connection sharing until we
2575                         can use libnl; reinit all sharing when the default connection or
2576                         shared connections change
2577                 - (sharing_init, sharing_stop): evil functions that init and deinit
2578                         iptables
2579
2580 2008-06-09  Dan Williams  <dcbw@redhat.com>
2581
2582         * src/nm-activation-request.c
2583           src/nm-activation-request.h
2584                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2585                    nm_act_request_get_device): new functions to facilitate connection
2586                         sharing
2587
2588 2008-06-09  Dan Williams  <dcbw@redhat.com>
2589
2590         * src/nm-device.c
2591                 - (clear_act_request): unset the 'default' property of the activation
2592                         request when clearing it to ensure the property changed signal gets
2593                         delivered and handled
2594
2595 2008-06-09  Dan Williams  <dcbw@redhat.com>
2596
2597         * libnm-glib/nm-device-802-11-wireless.c
2598                 - (access_point_removed_proxy): actually unref the AP after removing
2599                         it from the device's AP list.  Fixes refcounting bug for APs that
2600                         caused them to get mixed up in the applet's menu.
2601
2602 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2603
2604         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2605         (nm_dhcp_device_destroy): Destroy the device options hash table.
2606
2607 2008-06-06  Dan Williams <dcbw@redhat.com>
2608
2609         * system-settings/src/nm-polkit-helpers.c
2610                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2611                         unref the context if the initialization fails; also avoid spew when
2612                         the error isn't set
2613
2614 2008-06-06  Dan Williams <dcbw@redhat.com>
2615
2616         Patch from Tambet Ingo  <tambet@gmail.com>
2617
2618         * src/NetworkManagerSystem.c
2619           src/NetworkManagerSystem.h
2620                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2621                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2622                 - (nm_system_device_set_ip4_route): clean up
2623                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2624
2625         * src/nm-device.c
2626                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2627
2628         * src/vpn-manager/nm-vpn-connection.c
2629                 - (ip_address_to_string): new function
2630                 - (print_vpn_config): use ip_address_to_string
2631                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2632                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2633
2634         * include/NetworkManagerVPN.h
2635                 - Add 'routes' key
2636
2637 2008-06-05  Dan Williams <dcbw@redhat.com>
2638
2639         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2640
2641         * test/nm-tool.c
2642                 - Show which device is the default device
2643
2644 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2645
2646         Fix memory leaks.
2647
2648         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2649         Free data returned from dbus method call.
2650
2651         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2652         dbus_g_method_get_sender() returns a duplicated string, free it 
2653         when done.
2654         (check_polkit_privileges): Looks like policykit sometimes returns
2655         error and non-null return value, don't leak errors in that case.
2656
2657         * system-settings/src/main.c (find_plugin): Don't leak existing 
2658         plugin names.
2659         (load_stuff): Don't leak device list and list items.
2660         (have_connection_for_device): Don't leak connection list.
2661
2662         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2663         Free the data received from g_keyfile_get_*.
2664
2665         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2666         the key when the security object is updated.
2667
2668         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2669         Free data returned from dbus method call.
2670         (iface_state_cb): Ditto.
2671         (add_network_cb): Ditto.
2672         (nm_supplicant_interface_add_cb): Don't make another copy of already
2673         duplicated object path.
2674         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2675         when done.
2676
2677         * src/supplicant-manager/nm-supplicant-config.c 
2678         (ADD_STRING_LIST_VAL): Fix a memory leak.
2679
2680         * src/nm-manager.c (free_get_settings_info): Free the allocated
2681         memory slice.
2682         (list_connections_cb): Free data returned from dbus method call.
2683         (system_settings_get_unmanaged_devices_cb): Ditto.
2684
2685         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2686
2687         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2688         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2689         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2690         of the GList.
2691
2692         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2693         arguments after the object is created.
2694
2695 2008-06-04  Dan Williams <dcbw@redhat.com>
2696
2697         * libnm-util/Makefile.am
2698                 - Don't distribute nm-param-spec-specialized.h
2699
2700 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2701
2702         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2703
2704         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2705         NMIP4Address, update the getters and setters.
2706
2707         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2708         Use the updated NMIP4Config routes api.
2709
2710         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2711         static routes as well.
2712
2713         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2714         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2715         routes api.
2716
2717 2008-05-30  Dan Williams <dcbw@redhat.com>
2718
2719         * src/named-manager/nm-named-manager.c
2720           src/named-manager/nm-named-manager.h
2721                 - Remove stale/obsolete bits for controlling bind over DBus
2722
2723 2008-05-29  Dan Williams <dcbw@redhat.com>
2724
2725         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2726           src/dnsmasq-manager/nm-dnsmasq-manager.h
2727                 - (nm_dnsmasq_manager_new): move iface argument here
2728                 - (constructor): remove, not needed
2729                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2730                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2731
2732         * src/nm-device.c
2733                 - (real_act_stage4_get_ip4_config,
2734                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2735                         changes
2736
2737 2008-05-29  Dan Williams <dcbw@redhat.com>
2738
2739         * src/nm-device.c
2740                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2741                         something happens to dnsmasq
2742                 - (nm_device_new_ip4_shared_config): new function; create a new
2743                         ip4-config for shared connections.  Shared connections always use a
2744                         fixed static IP address.
2745                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2746                         autoip connections by actually using the returned ip4-config and
2747                         not leaking it
2748                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2749                         connections
2750                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2751                         if its active
2752
2753 2008-05-29  Dan Williams <dcbw@redhat.com>
2754
2755         * src/nm-device-802-11-wireless.c
2756                 - (real_get_best_auto_connection): auto-activate 'shared' method
2757                         connections too
2758
2759 2008-05-29  Dan Williams <dcbw@redhat.com>
2760
2761         * libnm-util/nm-setting-ip4-config.c
2762           libnm-util/nm-setting-ip4-config.h
2763                 - Add a 'shared' method to indicate that this connection should be
2764                         brought up with a DHCP and proxy DNS server to facilitate
2765                         connection sharing.
2766                 - (verify): 'shared' method doesn't allow DNS or searches either
2767
2768 2008-05-29  Dan Williams <dcbw@redhat.com>
2769
2770         * configure.in
2771           src/Makefile.am
2772           src/dnsmasq-manager/Makefile.am
2773           src/dnsmasq-manager/nm-dnsmasq-manager.c
2774           src/dnsmasq-manager/nm-dnsmasq-manager.h
2775                 - Add a dnsmasq daemon manager to facilitate connection sharing
2776
2777 2008-05-29  Dan Williams <dcbw@redhat.com>
2778
2779         * src/nm-device-private.h
2780                 - Remove unused prototypes and clean up
2781
2782         * src/nm-device.c
2783                 - Remove anything related to system_config_data, which is no longer used
2784                 - (nm_device_new_ip4_autoip_config): make static
2785
2786 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2787
2788         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2789         (file_changed): Fix a bug where suse system settings plugin didn't
2790         update the connections automatically when the files changed.
2791
2792 2008-05-28  Dan Williams  <dcbw@redhat.com>
2793
2794         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2795
2796 2008-05-28  Dan Williams  <dcbw@redhat.com>
2797
2798         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2799
2800         * src/NetworkManagerSystem.c
2801                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2802                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2803                         was causing -EINVAL errors since the libnl code actually does flush
2804                         the routes on VPN interfaces now
2805
2806         * src/backends/NetworkManagerArch.c
2807           src/backends/NetworkManagerDebian.c
2808           src/backends/NetworkManagerFrugalware.c
2809           src/backends/NetworkManagerGeneric.c
2810           src/backends/NetworkManagerGentoo.c
2811           src/backends/NetworkManagerMandriva.c
2812           src/backends/NetworkManagerPaldo.c
2813           src/backends/NetworkManagerRedHat.c
2814           src/backends/NetworkManagerSlackware.c
2815           src/backends/NetworkManagerSuSE.c
2816                 - (nm_system_device_flush_ip4_routes,
2817                    nm_system_device_flush_ip4_routes_with_iface): remove
2818
2819 2008-05-28  Dan Williams  <dcbw@redhat.com>
2820
2821         * libnm-util/nm-setting-wireless.c
2822           libnm-util/nm-setting-wireless.h
2823                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2824                         'adhoc-create' property, which when TRUE indicates that NM should
2825                         create this connection as an adhoc wifi network if it's not found
2826                         as an adhoc network during scanning.  Can be used to auto-create
2827                         adhoc networks when used in combination with autoconnect.
2828
2829 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2830
2831         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2832
2833         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2834         checked, it doesn't work on some devices.
2835
2836 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2837
2838         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2839         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2840
2841         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2842         Use inet_aton() everywhere to improve error detection.
2843         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2844         provided.
2845
2846 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2847
2848         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2849         Fix a typo.
2850
2851 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2852
2853         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2854         reference counting issue.
2855
2856 2008-05-23  Dan Williams  <dcbw@redhat.com>
2857
2858         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2859
2860         * src/backends/NetworkManagerGeneric.c
2861                 - (nm_generic_enable_loopback): use libnl
2862
2863 2008-05-23  Dan Williams  <dcbw@redhat.com>
2864
2865         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2866
2867         * src/NetworkManagerSystem.h
2868           src/backends/NetworkManagerArch.c
2869           src/backends/NetworkManagerDebian.c
2870           src/backends/NetworkManagerFrugalware.c
2871           src/backends/NetworkManagerGentoo.c
2872           src/backends/NetworkManagerMandriva.c
2873           src/backends/NetworkManagerPaldo.c
2874           src/backends/NetworkManagerRedHat.c
2875           src/backends/NetworkManagerSlackware.c
2876           src/backends/NetworkManagerSuSE.c
2877                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2878                    nm_system_flush_arp_cache): remove, unused
2879
2880         * src/backends/NetworkManagerGeneric.c
2881           src/backends/NetworkManagerGeneric.h
2882                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2883                    nm_generic_flush_arp_cache): remove, unused
2884
2885 2008-05-23  Dan Williams  <dcbw@redhat.com>
2886
2887         * system-settings/plugins/ifcfg-fedora/reader.c
2888                 - (make_ip4_setting): honor PEERDNS setting
2889
2890 2008-05-23  Dan Williams  <dcbw@redhat.com>
2891
2892         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2893
2894         * src/NetworkManagerSystem.c
2895                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2896                         libnl
2897
2898         * src/backends/NetworkManagerArch.c
2899           src/backends/NetworkManagerDebian.c
2900           src/backends/NetworkManagerFrugalware.c
2901           src/backends/NetworkManagerGentoo.c
2902           src/backends/NetworkManagerMandriva.c
2903           src/backends/NetworkManagerPaldo.c
2904           src/backends/NetworkManagerRedHat.c
2905           src/backends/NetworkManagerSlackware.c
2906           src/backends/NetworkManagerSuSE.c
2907                 - (nm_system_device_flush_ip4_addresses,
2908                    nm_system_device_flush_ip4_addresses_with_iface): remove
2909
2910         * src/backends/NetworkManagerGeneric.c
2911                 - (nm_generic_device_flush_ip4_addresses,
2912                    nm_generic_device_flush_ip4_addresses_with_iface): remove
2913
2914 2008-05-23  Dan Williams  <dcbw@redhat.com>
2915
2916         * src/supplicant-manager/nm-supplicant-settings-verify.c
2917                 - Switch 'bssid' from bytes to keyword type
2918                 - (validate_type_keyword): allow NULL keyword lists
2919
2920         * src/supplicant-manager/nm-supplicant-config.c
2921                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2922                         a byte array to string form, which is what the supplicant expects
2923
2924 2008-05-23  Tambet Ingo  <tambet@gmail.com>
2925
2926         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2927         information received from DHCP.
2928
2929         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2930         to make it possible to ignore the DNS information (both servers and 
2931         searches) returned by DHCP server.
2932
2933         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2934         name servers and searches if "ignore_dhcp_dns" is set.
2935
2936         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2937         (nm_ip4_config_reset_searches): Implement.
2938
2939 2008-05-22  Dan Williams  <dcbw@redhat.com>
2940
2941         Remove anything mDNS related.  This is better done from a distro-specific
2942         dispatcher script.  Plus, any distro using avahi doesn't need to restart
2943         avahi, since avahi can handle interface changes just fine using netlink.
2944
2945         * configure.in
2946                 - Remove --with-mdns-provider
2947
2948         * src/NetworkManagerPolicy.c
2949                 - (global_state_changed): don't restart the mdns provider
2950
2951         * src/NetworkManagerSystem.h
2952           src/backends/NetworkManagerArch.c
2953           src/backends/NetworkManagerDebian.c
2954           src/backends/NetworkManagerFrugalware.c
2955           src/backends/NetworkManagerGentoo.c
2956           src/backends/NetworkManagerMandriva.c
2957           src/backends/NetworkManagerPaldo.c
2958           src/backends/NetworkManagerRedHat.c
2959           src/backends/NetworkManagerSlackware.c
2960           src/backends/NetworkManagerSuSE.c
2961                 - (nm_system_restart_mdns_responder): remove
2962
2963         * src/backends/NetworkManagerGeneric.c
2964           src/backends/NetworkManagerGeneric.h
2965                 - (nm_generic_restart_mdns_responder): remove
2966
2967 2008-05-22  Dan Williams  <dcbw@redhat.com>
2968
2969         * configure.in
2970                 - clean up crypto options; just use --with-crypto=nss or
2971                         --with-crypto=gnutls
2972
2973 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2974
2975         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2976         anymore, do it right away.
2977
2978 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2979
2980         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2981         serial device open when we're not connecting or connected.
2982
2983         * src/nm-cdma-device.c (device_state_changed): Ditto.
2984
2985 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2986
2987         Don't remove all devices on waking up, sync with HAL.
2988
2989         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2990         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2991         (hal_manager_hal_reappeared_cb): Just call sync_devices.
2992
2993 2008-05-21  Tambet Ingo  <tambet@gmail.com>
2994
2995         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2996         If the default gateway is unreachable, add a route to gateway and try
2997         again.
2998
2999 2008-05-20  Dan Williams  <dcbw@redhat.com>
3000
3001         * system-settings/plugins/ifcfg-fedora/reader.c
3002                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
3003
3004 2008-05-19  Dan Williams  <dcbw@redhat.com>
3005
3006         * system-settings/plugins/ifcfg-fedora/reader.c
3007                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
3008                         if the ifcfg doesn't specify one (rh #446527)
3009
3010 2008-05-19  Dan Williams  <dcbw@redhat.com>
3011
3012         Make the system settings service exit when the bus goes away.  Since it's
3013         a bus-activated service, it's lifetime is limited to the bus that activated
3014         it (rh #444976).
3015
3016         * system-settings/src/Makefile.am
3017           system-settings/src/nm-system-config-hal-manager-private.h
3018                 - Remove nm-system-config-hal-manager-private.h
3019
3020         * system-settings/src/nm-system-config-hal-manager.c
3021                 - (nm_system_config_hal_manager_reinit_dbus,
3022                    nm_system_config_hal_manager_deinit_dbus): remove
3023
3024         * system-settings/src/main.c
3025                 - (dbus_reconnect): remove
3026                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
3027                 - (destroy_cb): just quit when the bus goes away
3028                 - (start_dbus_service, dbus_init): simplify
3029                 - (main): destroy the wired devices hash table after destroying
3030                         the HAL manager so we don't have to disconnect signals from the
3031                         HAL manager
3032
3033 2008-05-15  Tambet Ingo  <tambet@gmail.com>
3034
3035         Move crypto functions from nm-applet to libnm-util.
3036
3037         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
3038         (nm_setting_802_1x_set_client_cert)
3039         (nm_setting_802_1x_set_phase2_ca_cert)
3040         (nm_setting_802_1x_set_phase2_client_cert)
3041         (nm_setting_802_1x_set_private_key)
3042         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
3043         file (or private key and it's password), read the certificate data.
3044
3045         * libnm-util/crypto_nss.c: 
3046         * libnm-util/crypto_gnutls.c: 
3047         * libnm-util/crypto.[ch]: Move here from nm-applet.
3048
3049         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
3050
3051         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
3052         Imlement WPA-EAP configuration reading from sysconfig.
3053
3054 2008-05-16  Dan Williams  <dcbw@redhat.com>
3055
3056         * src/nm-device-802-11-wireless.c
3057                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3058                         wireless
3059
3060 2008-05-14  Dan Williams  <dcbw@redhat.com>
3061
3062         Fix Linus' bug in rh #134886
3063
3064         * src/nm-device-802-3-ethernet.c
3065                 - (constructor): request initial carrier state
3066
3067         * src/nm-netlink-monitor.c
3068                 - (nm_netlink_monitor_request_status): schedule emission of carrier
3069                         signals after refilling the link cache.  Because the refill is a 
3070                         synchronous operation, the normal message hander won't get called
3071                         since libnl has already consumed the messages.
3072                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3073
3074 2008-05-14  Dan Williams  <dcbw@redhat.com>
3075
3076         * src/NetworkManagerSystem.c
3077                 - (nm_system_device_is_up_with_iface): clean up
3078
3079 2008-05-13  Dan Williams  <dcbw@redhat.com>
3080
3081         Fix refcounting issues over sleep/wake when a VPN connection was active that
3082         caused NM to try registering an object path for a device upon wake that was
3083         the same as an already registered object path.
3084
3085         * src/nm-device.c
3086                 - (nm_device_take_down): properly handle cases where the device is
3087                         no longer active but was just active, and therefore must be
3088                         deactivated.  When a device moves to unmanaged mode, this function
3089                         previously would not deactivate the device, because the state was
3090                         already unmanaged by the time this function was called.
3091
3092         * src/vpn-manager/nm-vpn-connection.c
3093                 - (device_state_changed): properly handle multiple devices states in
3094                         which the device is now deactivated.  Code previously didn't handle
3095                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
3096                         UNMANAGED states.
3097
3098 2008-05-13  Dan Williams  <dcbw@redhat.com>
3099
3100         * src/nm-device-private.h
3101           src/nm-device.c
3102                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3103
3104         * src/nm-device-802-11-wireless.c
3105                 - (nm_device_802_11_wireless_set_enabled): take devices up
3106                         and down as appropriate for the rfkill state
3107
3108 2008-05-13  Dan Williams  <dcbw@redhat.com>
3109
3110         * marshallers/nm-marshal.list
3111                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3112
3113         * system-settings/plugins/ifcfg-fedora/Makefile.am
3114           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3115           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3116                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3117                         events.  Solely for use watching ifcfg files to pick up changes
3118                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3119
3120         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3121                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3122                         file contents change
3123                 - (finalize): clean up inotify watches
3124                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3125                         and the connection ifcfg for changes on their hardlinks
3126                 - (files_changed_cb): proxy the changed signal back out to listeners
3127
3128         * system-settings/plugins/ifcfg-fedora/plugin.c
3129                 - (dir_changed): 
3130                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3131                         changes
3132                 - (read_one_connection): connect to change signals on the new connection
3133                 - (dir_changed, connection_changed_handler,
3134                    handle_connection_remove_or_new): break out connection change
3135                         handling and connection new/remove handling so it can be used from
3136                         both the GFileMonitor callback and the NMIfcfgConnection changed
3137                         signals
3138
3139         * system-settings/plugins/ifcfg-fedora/reader.c
3140           system-settings/plugins/ifcfg-fedora/reader.h
3141                 - (connection_from_file): return the keyfile path the connection would use
3142
3143 2008-05-13  Tambet Ingo  <tambet@gmail.com>
3144
3145         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
3146         single PolKitContext which is shared by all. PolKitContext::unref leaks
3147         just about everything, including all open file descriptiors and results
3148         in 99% cpu usage when data arrives to any of the fds that don't belong
3149         to any context anymore.
3150
3151 2008-05-12  Dan Williams  <dcbw@redhat.com>
3152
3153         * gfilemonitor/glocaldirectorymonitor.c
3154           gfilemonitor/glocaldirectorymonitor.h
3155                 - (g_local_directory_monitor_constructor): actually subscribe to the
3156                         watch
3157                 - (_g_local_directory_monitor_new): ensure that inotify is started up
3158
3159         * gfilemonitor/glocalfilemonitor.c
3160           gfilemonitor/glocalfilemonitor.h
3161                 - (g_local_file_monitor_constructor): actually subscribe to the watch
3162                 - (_g_local_file_monitor_new): ensure that inotify is started up
3163
3164 2008-05-11  Dan Williams  <dcbw@redhat.com>
3165
3166         * configure.in
3167                 - record PolicyKit version
3168
3169         * system-settings/src/nm-polkit-helpers.c
3170                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3171                         with PolicyKit <= 0.6
3172
3173 2008-05-11  Dan Williams  <dcbw@redhat.com>
3174
3175         Update Fedora system-settings plugin to support latest API and use
3176         GFileMonitor rather than home-rolled inotify code.
3177
3178         * system-settings/plugins/ifcfg-fedora/Makefile.am
3179           system-settings/plugins/ifcfg-fedora/common.h
3180           system-settings/plugins/ifcfg-fedora/plugin.c
3181                 - Update to latest system settings plugin API; use GIO instead of
3182                         custom inotify code; use NMIfcfgConnection objects instead of
3183                         ConnectionData structures tacked onto NMConnection objects
3184
3185         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3186           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3187                 - Implement an NMExportedConnection subclass mapping ifcfg files to
3188                         connections
3189
3190         * system-settings/plugins/ifcfg-fedora/reader.c
3191           system-settings/plugins/ifcfg-fedora/reader.h
3192                 - Move ifcfg parsing bits here from parser.c
3193
3194         * system-settings/plugins/ifcfg-fedora/parser.c
3195           system-settings/plugins/ifcfg-fedora/parser.h
3196                 - Remove; most code moved to reader.c
3197
3198 2008-05-11  Dan Williams  <dcbw@redhat.com>
3199
3200         * configure.in
3201           Makefile.am
3202           gfilemonitor/*
3203                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3204                         implementation, so that the same change monitoring code can be used
3205                         on systems without glib-2.14 (like Fedora 8)
3206
3207         * system-settings/plugins/keyfile/Makefile.am
3208           system-settings/plugins/keyfile/plugin.c
3209           system-settings/plugins/ifcfg-suse/Makefile.am
3210           system-settings/plugins/ifcfg-suse/plugin.c
3211                 - Use private gfilemonitor code if GIO is not present
3212
3213 2008-05-09  Tambet Ingo  <tambet@gmail.com>
3214
3215         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3216         NMExportedConnection's 'update' and 'delete' and return error with
3217         descriptive message.
3218
3219 2008-05-08  Dan Williams  <dcbw@redhat.com>
3220
3221         Patch from Markus Becker <mab@comnets.uni-bremen.de>
3222
3223         * src/nm-gsm-device.c
3224           src/nm-cdma-device.c
3225                 - (real_get_best_auto_connection): implement; allow autoconnection
3226                         to GSM & CDMA devices
3227
3228 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3229
3230         Use PolicyKit to authorize the system settings' AddConnection method
3231         and the system settings connections' Update and Delete methods.
3232         
3233         * libnm-glib/nm-settings.c (impl_exported_connection_update)
3234         (impl_exported_connection_delete, nm_exported_connection_update)
3235         (nm_exported_connection_delete): Return boolean and fill GError
3236         to notify the callers of the reasons why it might have failed.
3237
3238         * libnm-glib/nm-dbus-settings-system.c
3239         (nm_dbus_settings_system_add_connection): Return the error from dbus
3240         call so that the callers can see why it failed.
3241
3242         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
3243         signatures.
3244
3245         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3246
3247         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3248         abstract base class that checks PolicyKit permissions.
3249
3250         * system-settings/src/dbus-settings.c:
3251         (impl_settings_add_connection): Check the policy before carring out
3252         the request.
3253
3254         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3255         Inherit from NMSysconfigConnection, check the policies before
3256         allowing updating or removing.
3257
3258         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3259         Inherit from NMSysconfigConnection.
3260
3261         * introspection/nm-exported-connection.xml: Annotate "Update" and 
3262         "Delete" methods with async flag so that the implementations can get
3263         access to DBusGMethodInvocation.
3264
3265         * system-settings/src/dbus-settings.c 
3266         (settings_add_connection_check_privileges): Implement.
3267         (impl_settings_add_connection): Check the privileges before adding a new
3268         connection. Improve error reporting.
3269
3270         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3271         async so that the implementation can access DBusGMethodInvocation.
3272
3273         * configure.in: Check for PolicyKit.
3274
3275         * policy/org.freedesktop.network-manager-settings.system.policy: 
3276         New file.
3277
3278         * policy/Makefile.am: Install the policy file.
3279
3280         * configure.in: Add 'policy' subdir.
3281
3282 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3283
3284         Rewrite the suse system settings plugin.
3285
3286         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3287
3288         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3289
3290         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3291
3292         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3293
3294         * system-settings/src/dbus-settings.c: Fix connection reference counting.
3295
3296         * system-settings/src/main.c (load_plugins): Improve error reporting.
3297
3298         * system-settings/src/sha1.[ch] Add.
3299
3300         * system-settings/src/Makefile.am: Add sha1[ch] to build.
3301
3302 2008-05-07  Dan Williams  <dcbw@redhat.com>
3303
3304         * system-settings/plugins/keyfile/reader.c
3305                 - (read_one_setting_value): handle IP address items separately
3306                 - (read_array_of_uint): read IPv4 DNS option as a string array
3307                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3308                         array
3309
3310         * system-settings/plugins/keyfile/writer.c
3311                 - (write_setting_value): handle IP address items separately
3312                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3313                         not an array of uint, so that it's user-editable
3314                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3315                         arrays, so they are user-editable
3316
3317 2008-05-07  Dan Williams  <dcbw@redhat.com>
3318
3319         * system-settings/plugins/keyfile/Makefile.am
3320                 - Change location of the keyfile plugin settings to
3321                         /etc/NetworkManager/system-connections
3322
3323 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3324
3325         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3326
3327         * system-settings/plugins/keyfile/plugin.c: Work with
3328         NMKeyfileConnections.
3329
3330         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3331         Plugins are supposed to return NMExportedConnections now and handle the
3332         updated(), removed(), and GetSecrets().
3333         Store the internal list of connections in hash table to make it easier
3334         to find duplicates.
3335
3336 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3337
3338         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3339         for multiple IP addresses.
3340
3341 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3342
3343         Patch from André Lemos.
3344
3345         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3346         corruption.
3347
3348 2008-05-06  Dan Williams  <dcbw@redhat.com>
3349
3350         * src/dhcp-manager/nm-dhcp-manager.c
3351                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3352                         NMIP4Config to support multiple IP addresses
3353
3354         * src/NetworkManagerUtils.c
3355                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3356
3357         * src/nm-ip4-config.c
3358           src/nm-ip4-config.h
3359                 - Store a list of IPv4 address/netmask/gateway tuples
3360                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3361                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3362                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3363                    nm_ip4_config_set_address): remove
3364                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3365                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3366                         new functions; handle multiple IPv4 addresses
3367
3368         * src/nm-device.c
3369           src/ppp-manager/nm-ppp-manager.c
3370           src/vpn-manager/nm-vpn-connection.c
3371           src/NetworkManagerPolicy.c
3372           test/nm-tool.c
3373           libnm-glib/libnm-glib-test.c
3374                 - update for changes to NMIP4Config for multiple IPv4 addresses
3375
3376         * src/NetworkManagerSystem.c
3377                 - (nm_system_device_set_ip4_route): don't add the route if any address
3378                         is on the same subnet as the destination
3379                 - (check_one_address): ignore the exact match, just match family and
3380                         interface index
3381                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3382                         an interface
3383                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3384                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3385
3386         * introspection/nm-ip4-config.xml
3387                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3388                 - Add 'addresses' property which is an array of (uuu) tuples of
3389                         address/netmask/gateway
3390
3391         * libnm-util/nm-setting-ip4-config.c
3392                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3393
3394         * libnm-glib/nm-ip4-config.c
3395           libnm-glib/nm-ip4-config.h
3396                 - Handle D-Bus interface changes to support multiple IP addresses
3397
3398 2008-05-06  Dan Williams  <dcbw@redhat.com>
3399
3400         * libnm-util/nm-utils.c
3401           libnm-util/nm-utils.h
3402                 - (nm_utils_ip4_addresses_from_gvalue,
3403                    nm_utils_ip4_addresses_to_gvalue): new functions
3404
3405 2008-05-06  Tambet Ingo  <tambet@gmail.com>
3406
3407         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3408         the returned connection paths.
3409
3410 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3411
3412         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
3413         "PropertiesChanged" signal signature.
3414
3415         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3416         defined in nm-dbus-glib-types.h.
3417         Don't register the connection on dbus, we're a proxy class to 
3418         communicate with an already registered connection over dbus.
3419
3420 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3421
3422         Implement new subclasses of NMSettings and NMExportedConnection to make
3423         it easier for the applet to access and modify system settings.
3424
3425         * libnm-glib/nm-dbus-connection.[ch]:
3426         * libnm-glib/nm-dbus-settings.[ch]:
3427         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3428
3429         * libnm-glib/Makefile.am: Add the new files to build, generate some more
3430         bindings and glue.
3431
3432         * include/NetworkManager.h: Define the system settings DBus interface.
3433
3434 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3435
3436         Implement additional C API for exported connections to make them identical
3437         with the DBus API. Change the (list_connections) virtual function to be
3438         more usable from C - instead of requiring implementers to return a GPtrArray
3439         of dbus paths, return a list of connections.
3440
3441         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3442         (nm_settings_list_connections):
3443         (nm_exported_connection_new):
3444         (nm_exported_connection_update):
3445         (nm_exported_connection_delete): Implement.
3446
3447         (impl_settings_list_connections):
3448         (impl_exported_connection_update):
3449         (impl_exported_connection_delete): Use the new public functions to make 
3450         sure the C and dbus interfaces stay in sync.
3451
3452         * system-settings/src/dbus-settings.c (list_connections): Return a list of
3453         connections.
3454
3455 2008-05-02  Dan Williams  <dcbw@redhat.com>
3456
3457         * system-settings/plugins/ifcfg-fedora/plugin.c
3458                 - (dispose): use right unref call on the DBusGConnection
3459
3460 2008-05-02  Dan Williams  <dcbw@redhat.com>
3461
3462         * src/nm-serial-device.c
3463                 - (find_terminator): don't compare the whole line, just the size of the
3464                         terminator, since some modems put stuff after the terminator, like
3465                         "CONNECT 9600"
3466
3467 2008-05-01  Dan Williams  <dcbw@redhat.com>
3468
3469         Patch from Michael Biebl <biebl@debian.org>
3470
3471         * callouts/Makefile.am
3472           callouts/org.freedesktop.nm_dispatcher.service.in
3473           system-settings/src/Makefile.am
3474           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3475                 - use the right install location for dbus-activated stuff
3476
3477 2008-04-30  Dan Williams  <dcbw@redhat.com>
3478
3479         * src/nm-gsm-device.c
3480                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3481                         PIN or PUK
3482
3483 2008-04-30  Dan Williams  <dcbw@redhat.com>
3484
3485         * src/nm-manager.c
3486                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3487
3488 2008-04-30  Dan Williams  <dcbw@redhat.com>
3489
3490         * src/nm-device-802-3-ethernet.c
3491           src/nm-device-802-11-wireless.c
3492                 - (real_is_up): return true instead of chaining up to unimplemented
3493                         parent method
3494
3495 2008-04-30  Dan Williams  <dcbw@redhat.com>
3496
3497         * src/NetworkManagerSystem.c
3498           src/NetworkManagerSystem.h
3499                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3500                         functions to check device flags for IFF_UP
3501
3502         * src/nm-serial-device.c
3503                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3504                         implement is_up
3505
3506         * src/nm-device-802-3-ethernet.c
3507           src/nm-device-802-11-wireless.c
3508                 - (real_hw_is_up): call nm_system_device_is_up()
3509
3510         * src/nm-device.c
3511                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3512                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3513                         does not implement
3514
3515 2008-04-29  Dan Williams  <dcbw@redhat.com>
3516
3517         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3518
3519         * marshallers/nm-marshal.list
3520                 - Add marshaller
3521
3522         * src/NetworkManager.c
3523                 - (main): let the NMManager handle the NMHalManager
3524
3525         * src/nm-hal-manager.c
3526           src/nm-hal-manager.h
3527                 - convert to a GObject, and emit singals when stuff changes.  Let the
3528                         NMManager handle the signals, instead of the NMHalManager calling
3529                         into the NMManager.  
3530
3531         * src/nm-manager.c
3532           src/nm-manager.h
3533                 - (remove_one_device): consolidate device removals here
3534                 - (dispose): use remove_one_device()
3535                 - (nm_manager_get_device_by_udi): make static
3536                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3537                         manager for devices at startup or wakeup time
3538                 - (nm_manager_new): create and monitor the HAL manager
3539                 - (hal_manager_udi_added_cb): new function; do what
3540                         nm_manager_add_device() used to do when signalled by the hal manager
3541                 - (hal_manager_udi_removed_cb): new function; do what
3542                         nm_manager_remove_device() used to do when signalled by the hal
3543                         manager
3544                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3545                         hal manager
3546                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3547                         in our device list that aren't known to HAL
3548                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3549                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3550                         commits ago
3551                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3552                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3553                    nm_manager_wireless_hardware_enabled,
3554                    nm_manager_set_wireless_hardware_enabled): remove, unused
3555
3556 2008-04-28  Dan Williams  <dcbw@redhat.com>
3557
3558         Fix the device up/down ambiguities.  Up/down state used to be a
3559         conglomeration of hardware state (IFF_UP) and any device-specific things
3560         (supplicant, periodic timers, etc) that the device used to indicate
3561         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3562         reason, then the device specific stuff wouldn't get run, and the device
3563         would be stuck.
3564
3565         * src/nm-device.c
3566           src/nm-device.h
3567                 - Create hw_is_up, hw_bring_up, and hw_take_down
3568                 - Rename bring_down -> take_down
3569                 - (real_hw_is_up): check interface flags for IFF_UP
3570                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3571                 - (nm_device_is_up): make static; only used locally
3572                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3573                         if the device is already up; if the device isn't up, bring it up
3574                 - (nm_device_hw_take_down): just take down hardware
3575                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3576                 - (nm_device_take_down): always deactivate device when called; always
3577                         try to take hardware down too
3578                 - (nm_device_state_changed): take device down when entering unmanaged
3579                         state from a higher state
3580
3581         * src/nm-device-802-11-wireless.c
3582                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3583                         check IFF_UP really
3584                 - (real_take_down, supplicant_iface_state_cb_handler, 
3585                    supplicant_iface_connection_state_cb_handler,
3586                    supplicant_mgr_state_cb_handler): fix some messages
3587
3588         * src/nm-device-802-3-ethernet.c
3589                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3590                         check IFF_UP really
3591
3592 2008-04-28  Dan Williams  <dcbw@redhat.com>
3593
3594         * src/nm-manager.c
3595           src/nm-manager.h
3596                 - (nm_manager_error_get_type): add new error
3597                 - (nm_manager_remove_device): don't bother taking down the device here,
3598                         the state change from unmanaging the device will do it
3599                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3600                         uses it; when going to sleep, just unmanage the device instead of
3601                         taking it down, because stuff will cleaned up correctly when the
3602                         device gets unmanaged
3603
3604 2008-04-28  Dan Williams  <dcbw@redhat.com>
3605
3606         * src/nm-hal-manager.c
3607                 - (add_initial_devices): convert to a GSourceFunc prototype
3608                 - (nm_manager_state_changed): when coming out of sleep, punt the
3609                         device re-addition to an idle handler to let D-Bus events go out
3610                         first, fixing a potential dbus-glib assert if the old device was
3611                         not yet disposed (due to references held while emitting the D-Bus
3612                         signals) but the new device was found, because the mainloop didn't
3613                         run between signal emission and add_initial_devices()
3614
3615 2008-04-27  Dan Williams  <dcbw@redhat.com>
3616
3617         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3618
3619         * initscript/paldo/NetworkManager.in
3620           initscript/SUSE/networkmanager.in
3621                 - Remove last bits of dhcdbd
3622
3623 2008-04-27  Dan Williams  <dcbw@redhat.com>
3624
3625         * src/nm-device-802-11-wireless.c
3626                 - (link_timeout_cb): don't ask for secrets when disconnected during
3627                         association/authentication phase, drivers are still just too crappy
3628
3629 2008-04-27  Dan Williams  <dcbw@redhat.com>
3630
3631         * Makefile.am
3632           configure.in
3633           dispatcher-daemon/Makefile.am
3634           dispatcher-daemon/NetworkManagerDispatcher.c
3635           initscript/Arch/Makefile.am
3636           initscript/Arch/networkmanager-dispatcher.in
3637           initscript/Gentoo/Makefile.am
3638           initscript/Gentoo/NetworkManagerDispatcher.in
3639           initscript/Mandriva/Makefile.am
3640           initscript/Mandriva/networkmanagerdispatcher.in
3641           initscript/RedHat/Makefile.am
3642           initscript/RedHat/NetworkManagerDispatcher.in
3643           initscript/SUSE/Makefile.am
3644           initscript/SUSE/networkmanager-dispatcher.in
3645           initscript/Slackware/Makefile.am
3646           initscript/Slackware/rc.networkmanager-dispatcher.in
3647           initscript/paldo/Makefile.am
3648           initscript/paldo/NetworkManagerDispatcher.in
3649           man/Makefile.am
3650           man/NetworkManagerDispatcher.8.in
3651                 - Remove the dispatcher daemon
3652
3653 2008-04-27  Dan Williams  <dcbw@redhat.com>
3654
3655         * callouts/Makefile.am
3656           callouts/nm-dispatcher-action.c
3657           callouts/nm-dispatcher-action.h
3658           callouts/nm-dispatcher.conf
3659           callouts/nm-dispatcher.xml
3660           callouts/org.freedesktop.nm_dispatcher.service
3661                 - Re-implement the dispatcher as a system-bus activated service that
3662                         NM calls on-demand, rather than an always running daemon
3663
3664         * src/Makefile.am
3665                 - Add callouts dir to includes to pick up dispatcher defines
3666
3667         * src/nm-device.c
3668                 - (nm_device_state_changed): call dispatcher on device activated/
3669                         deactivated
3670
3671         * src/vpn-manager/nm-vpn-connection.c
3672                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3673                         go up and down
3674
3675         * src/NetworkManagerUtils.c
3676           src/NetworkManagerUtils.h
3677                 - (nm_utils_call_dispatcher): helper to call dispatcher
3678
3679 2008-04-27  Dan Williams  <dcbw@redhat.com>
3680
3681         * src/NetworkManagerUtils.c
3682           src/NetworkManagerUtils.h
3683                 - remove unneeded includes
3684                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3685                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3686                    nm_timeval_cmp, nm_timeval_add): remove, unused
3687                 - clean up formatting
3688                 - (nm_spawn_process): de-uglify
3689
3690         * src/nm-device-802-11-wireless.c
3691                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3692
3693 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3694
3695         * initscript/Gentoo/NetworkManager.in:
3696                 Fix for starting the daemon.
3697
3698 2008-04-25  Dan Williams  <dcbw@redhat.com>
3699
3700         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3701
3702         * src/NetworkManagerSystem.c
3703                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3704
3705 2008-04-25  Dan Williams  <dcbw@redhat.com>
3706
3707         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3708
3709         * src/NetworkManagerSystem.c
3710                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3711                         implementation of nm_system_device_replace_default_route()
3712
3713         * src/NetworkManagerPolicy.c
3714                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3715
3716         * src/backends/NetworkManagerArch.c
3717           src/backends/NetworkManagerDebian.c
3718           src/backends/NetworkManagerFrugalware.c
3719           src/backends/NetworkManagerGeneric.c
3720           src/backends/NetworkManagerGeneric.h
3721           src/backends/NetworkManagerGentoo.c
3722           src/backends/NetworkManagerMandriva.c
3723           src/backends/NetworkManagerPaldo.c
3724           src/backends/NetworkManagerRedHat.c
3725           src/backends/NetworkManagerSlackware.c
3726           src/backends/NetworkManagerSuSE.c
3727                 - (nm_system_device_replace_default_route): remove
3728
3729 2008-04-25  Dan Williams  <dcbw@redhat.com>
3730
3731         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3732
3733         * src/NetworkManagerSystem.c
3734                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3735                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3736                         replace nm_system_device_add_route_via_device_with_iface() in the
3737                         backends
3738
3739         * src/backends/NetworkManagerArch.c
3740           src/backends/NetworkManagerDebian.c
3741           src/backends/NetworkManagerFrugalware.c
3742           src/backends/NetworkManagerGeneric.c
3743           src/backends/NetworkManagerGeneric.h
3744           src/backends/NetworkManagerGentoo.c
3745           src/backends/NetworkManagerMandriva.c
3746           src/backends/NetworkManagerPaldo.c
3747           src/backends/NetworkManagerRedHat.c
3748           src/backends/NetworkManagerSlackware.c
3749           src/backends/NetworkManagerSuSE.c
3750                 - Remove nm_system_device_add_route_via_device_with_iface()
3751
3752 2008-04-25  Dan Williams  <dcbw@redhat.com>
3753
3754         * system-settings/plugins/ifcfg-fedora/parser.c
3755                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3756
3757 2008-04-24  Dan Williams  <dcbw@redhat.com>
3758
3759         * dispatcher-daemon/NetworkManagerDispatcher.c
3760                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3761
3762 2008-04-24  Dan Williams  <dcbw@redhat.com>
3763
3764         * initscript/RedHat/NetworkManager.in
3765           initscript/RedHat/NetworkManagerDispatcher.in
3766                 - Be active at runlevel 2
3767                 - Adjust priorities earlier
3768
3769 2008-04-22  Dan Williams  <dcbw@redhat.com>
3770
3771         * src/NetworkManagerPolicy.c
3772                 - (update_routing_and_dns): when checking for a gateway, look at the
3773                         composite IP4 config, not the connection's ip4-config setting, which
3774                         doesn't include DHCP-returned information
3775
3776 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3777
3778         Implement GKeyFile system settings plugin.
3779         Implement writing system settings (currently supported only by GKeyFile plugin).
3780
3781         * system-settings/src/main.c: 
3782         * system-settings/src/dbus-settings.c: Move the communication with plugins
3783         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3784         plugins for adding/updating/removing connections.
3785
3786         * system-settings/src/nm-system-config-interface.c
3787         (nm_system_config_interface_add_connection): Implement
3788         (nm_system_config_interface_update_connection): Implement.
3789         (nm_system_config_interface_remove_connection): Implement.
3790
3791         * system-settings/plugins/keyfile/Makefile.am:
3792         * system-settings/plugins/keyfile/plugin.[ch]:
3793         * system-settings/plugins/keyfile/writer.[ch]:
3794         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3795
3796         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3797
3798         * configure.in: Generate GKeyFile Makefile.
3799
3800         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3801         corruption, need to duplicate the returned string.
3802         (impl_exported_connection_update): Implement.
3803         (impl_exported_connection_delete): Implement.
3804
3805         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3806
3807         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3808
3809 2008-04-22  Dan Williams  <dcbw@redhat.com>
3810
3811         Patch from Charles R. Anderson (cra@wpi.edu)
3812
3813         * src/NetworkManagerPolicy.c
3814                 - (update_routing_and_dns): don't select devices without a gateway
3815                         as having the default route (rh #437338)
3816
3817 2008-04-21  Dan Williams  <dcbw@redhat.com>
3818
3819         * src/nm-activation-request.c
3820           src/nm-activation-request.h
3821                 - (dispose): ensure to disconnect from the device's state-changed signal
3822                         when appropriate so the signal doesn't get handled by an already
3823                         disposed NMActRequest
3824                 - (device_state_changed): update is_default here too just to make sure
3825                         default is only True when the child device is activated
3826                 - (nm_act_request_set_default): new function
3827
3828         * src/NetworkManagerPolicy.c
3829                 - (update_routing_and_dns): set 'default' on the active connection which
3830                         has the default route and DNS
3831
3832 2008-04-21  Dan Williams  <dcbw@redhat.com>
3833
3834         * src/NetworkManagerPolicy.c
3835                 - (device_state_changed): update routing and DNS when a device goes
3836                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3837
3838 2008-04-21  Dan Williams  <dcbw@redhat.com>
3839
3840         * include/NetworkManager.h
3841                 - Add NMActiveConnectionState enum
3842
3843         * introspection/nm-active-connection.xml
3844           introspection/nm-vpn-connection.xml
3845                 - Add 'State' property for overall active connection state
3846                 - Add 'Default' property, when True means this active connection
3847                         has the default route
3848                 - Add PropertyChanged signals so changes actually go out over the bus
3849
3850         * src/nm-active-connection.h
3851                 - Add defines for State & Default properties
3852
3853         * src/nm-activation-request.c
3854                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3855                         signal to determine active connection state
3856
3857         * src/vpn-manager/nm-vpn-connection.c
3858           src/vpn-manager/nm-vpn-connection.h
3859           src/vpn-manager/nm-vpn-manager.c
3860           src/vpn-manager/nm-vpn-service.c
3861                 - Rename old 'state' to 'vpn-state'
3862                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3863                 - Add 'state' and 'default' properties, hook up to the vpn connection's
3864                         'vpn-state-changed' signal
3865
3866         * libnm-glib/nm-active-connection.c
3867           libnm-glib/nm-active-connection.h
3868                 - Add new 'state' and 'default' properties and accessors
3869
3870         * libnm-glib/nm-vpn-connection.c
3871           libnm-glib/nm-vpn-connection.h
3872                 - Rename old 'state' property to 'vpn-state'
3873                 - Add new 'state' and 'default' properties and accessors
3874
3875 2008-04-21  Dan Williams  <dcbw@redhat.com>
3876
3877         * src/nm-ip4-config.c
3878                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3879                         not specified (rh #443474)
3880
3881 2008-04-20  Dan Williams  <dcbw@redhat.com>
3882
3883         * src/NetworkManagerUtils.c
3884           src/NetworkManagerUtils.h
3885                 - (nm_utils_merge_ip4_config): new function; merge settings from an
3886                         NMSettingIP4Config to an NMIP4Config object
3887
3888         * src/nm-device.c
3889                 - (merge_ip4_config): move to NetworkManagerUtils.c
3890
3891         * src/vpn-manager/nm-vpn-connection.c
3892                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3893                         too
3894
3895 2008-04-18  Dan Williams  <dcbw@redhat.com>
3896
3897         * libnm-util/nm-setting-ppp.c
3898           libnm-util/nm-setting-ppp.h
3899                 - Add 'no-vj-comp' option for TCP header compression
3900                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3901                         uint32
3902
3903 2008-04-18  Dan Williams  <dcbw@redhat.com>
3904
3905         * libnm-util/nm-setting-ppp.c
3906           libnm-util/nm-setting-ppp.h
3907           src/ppp-manager/nm-ppp-manager.c
3908                 - Add 'refuse-pap' and 'refuse-mschapv2' options
3909
3910 2008-04-18  Dan Williams  <dcbw@redhat.com>
3911
3912         * libnm-util/nm-setting-ppp.c
3913           libnm-util/nm-setting-ppp.h
3914           src/ppp-manager/nm-ppp-manager.c
3915                 - Remove the 'usepeerdns' option and always request DNS servers from
3916                         the PPP server; the connection chooses to use/override/ignore the
3917                         DNS servers returned from the PPP server
3918
3919 2008-04-18  Dan Williams  <dcbw@redhat.com>
3920
3921         * libnm-util/nm-setting-ppp.c
3922           libnm-util/nm-setting-ppp.h
3923           src/ppp-manager/nm-ppp-manager.c
3924                 - Remove the 'require-mppc' option, because pppd doesn't support it and
3925                         it seems to have been an erroneous addition to the PPTP plugin in
3926                         the first place (from which the ppp-manager is derived)
3927
3928 2008-04-17  Dan Williams  <dcbw@redhat.com>
3929
3930         * libnm-util/nm-setting-pppoe.c
3931                 - (verify): require a PPP setting too
3932
3933         * src/ppp-manager/nm-ppp-manager.c
3934                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3935                         segfaulting
3936
3937 2008-04-17  Dan Williams  <dcbw@redhat.com>
3938
3939         * src/nm-device.c
3940                 - (nm_device_state_changed): do deactivation and and promotion to
3941                         unavailable here, so that the device gets cleaned up before the
3942                         manager runs and starts emitting signals; do the
3943                         FAILED->DISCONNECTED transition from an idle handler rather than
3944                         immediately to guard against recursion
3945                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3946                         FAILED->DISCONNECTED handler if it's scheduled
3947
3948 2008-04-17  Dan Williams  <dcbw@redhat.com>
3949
3950         * src/nm-device-802-11-wireless.c
3951                 - (state_changed_cb): clear AP list when device transitions to
3952                         unavailable or unmanaged
3953                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3954                         since this is already done in device_cleanup()
3955                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3956                         isn't available or managed
3957                 - (device_cleanup): use remove_all_aps()
3958                 - (remove_all_aps): consolidate code removing all APs
3959
3960 2008-04-17  Dan Williams  <dcbw@redhat.com>
3961
3962         * src/nm-serial-device.c
3963           src/nm-serial-device.h
3964                 - (wait_for_reply_got_data): break input into lines, and search each
3965                         line for responses _and_ terminator strings; also make sure that
3966                         the read loop doesn't continue after the timeout is supposed to fire
3967                 - (nm_serial_device_wait_for_reply): take an array of terminators too
3968
3969         * src/nm-gsm-device.c
3970           src/nm-cdma-device.c
3971                 - Send terminators to nm_serial_device_wait_for_reply()
3972
3973 2008-04-16  Dan Williams  <dcbw@redhat.com>
3974
3975         Patch from 陈鑫 <znscnchen@gmail.com>
3976
3977         * src/ppp-manager/nm-pppd-plugin.c
3978                 - (get_credentials): return correct value for success; handle case where
3979                         pppd just does some checking but doesn't want a password
3980                 - (plugin_init): make CHAP work too
3981
3982 2008-04-16  Dan Williams  <dcbw@redhat.com>
3983
3984         Patch from 陈鑫 <znscnchen@gmail.com>
3985
3986         * src/ppp-manager/nm-ppp-manager.c
3987                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3988
3989 2008-04-16  Dan Williams  <dcbw@redhat.com>
3990
3991         Patch from 陈鑫 <znscnchen@gmail.com>
3992
3993         * src/nm-device-802-3-ethernet.c
3994                 - (real_deactivate_quickly): clear the IP interface name on
3995                         deactivation, otherwise the wrong interface might get used later
3996                         for routing and IP management
3997
3998 2008-04-15  Dan Williams  <dcbw@redhat.com>
3999
4000         * libnm-glib/nm-device.c
4001                 - (get_product_and_vendor): handle serial devices correctly
4002                 - (nm_device_update_description): pass device to get_product_and_vendor()
4003
4004 2008-04-15  Dan Williams  <dcbw@redhat.com>
4005
4006         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4007
4008         * src/NetworkManagerSystem.h
4009           src/backends/NetworkManagerArch.c
4010           src/backends/NetworkManagerDebian.c
4011           src/backends/NetworkManagerFrugalware.c
4012           src/backends/NetworkManagerGeneric.c
4013           src/backends/NetworkManagerGeneric.h
4014           src/backends/NetworkManagerGentoo.c
4015           src/backends/NetworkManagerMandriva.c
4016           src/backends/NetworkManagerPaldo.c
4017           src/backends/NetworkManagerRedHat.c
4018           src/backends/NetworkManagerSlackware.c
4019           src/backends/NetworkManagerSuSE.c
4020           src/nm-device.c
4021                 - (nm_generic_device_add_ip6_link_address,
4022                    nm_system_device_add_ip6_link_address): remove
4023
4024 2008-04-15  Dan Williams  <dcbw@redhat.com>
4025
4026         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4027
4028         * src/backends/NetworkManagerArch.c
4029           src/backends/NetworkManagerDebian.c
4030           src/backends/NetworkManagerFrugalware.c
4031           src/backends/NetworkManagerGeneric.c
4032           src/backends/NetworkManagerGeneric.h
4033           src/backends/NetworkManagerGentoo.c
4034           src/backends/NetworkManagerMandriva.c
4035           src/backends/NetworkManagerPaldo.c
4036           src/backends/NetworkManagerRedHat.c
4037           src/backends/NetworkManagerSlackware.c
4038           src/backends/NetworkManagerSuSE.c
4039           src/NetworkManagerSystem.h
4040                 - flush_routes -> flush_ip4_routes
4041                 - flush_addresses -> flush_ip4_addresses
4042
4043         * src/NetworkManagerSystem.c
4044           src/nm-device.c
4045           src/vpn-manager/nm-vpn-connection.c
4046                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
4047
4048 2008-04-15  Dan Williams  <dcbw@redhat.com>
4049
4050         Remove exposure of wireless-tools mode types in the API.
4051
4052         * include/NetworkManager.h
4053                 - Define NM80211Mode enum
4054
4055         * introspection/generic-types.xml
4056                 - Describe NM_802_11_MODE enum
4057                 - Remove IW_MODE_* enum
4058
4059         * introspection/nm-access-point.xml
4060           libnm-glib/nm-access-point.c
4061           libnm-glib/nm-access-point.h
4062                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4063
4064         * introspection/nm-device-802-11-wireless.xml
4065           libnm-glib/nm-device-802-11-wireless.c
4066           libnm-glib/nm-device-802-11-wireless.h
4067                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4068
4069         * libnm-util/nm-setting-wireless.c
4070           src/NetworkManagerAP.c
4071           src/NetworkManagerAP.h
4072           src/nm-device-802-11-wireless.c
4073           src/nm-device-802-11-wireless.h
4074           test/nm-tool.c
4075                 - Use NM80211Mode not IW_MODE_*
4076
4077 2008-04-15  Dan Williams  <dcbw@redhat.com>
4078
4079         Enhance nm-online based on a patch from Bill Nottingham.
4080
4081         * test/nm-online.c
4082                 - Add a '-q' option
4083                 - Add help messages and option summary
4084                 - Add long-format options
4085                 - Add a '-x' option to exit if NM isn't running or isn't connecting
4086
4087 2008-04-15  Tambet Ingo  <tambet@gmail.com>
4088
4089         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4090
4091         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4092
4093 2008-04-15  Dan Williams  <dcbw@redhat.com>
4094
4095         * nm-setting-ip4-config.c
4096                 - (ip4_addresses_from_gvalue): handle NULL address array
4097
4098         * nm-setting-8021x.c
4099                 - (verify_tls, verify_ttls): warn on failed verification
4100
4101 2008-04-10  Dan Williams  <dcbw@redhat.com>
4102
4103         * src/nm-gsm-device.c
4104                 - (automatic_registration): accept "+CREG: 0,0"
4105                 - (automatic_registration_response): fail on "+CREG: 0,0"
4106
4107 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4108
4109         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4110
4111 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4112
4113         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
4114         Make it compile again by commenting out broken code that at first didn't work and
4115         now didn't compile either.
4116
4117 2008-04-08  Dan Williams  <dcbw@redhat.com>
4118
4119         * libnm-glib/nm-object-cache.c
4120           libnm-glib/nm-settings.c
4121           src/dhcp-manager/nm-dhcp-manager.c
4122           system-settings/plugins/ifcfg-fedora/plugin.c
4123           system-settings/plugins/ifcfg-suse/plugin.c
4124           system-settings/src/nm-system-config-hal-manager.c
4125           libnm-util/nm-utils.c
4126                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4127                         not threadsafe anyway
4128
4129 2008-04-08  Dan Williams  <dcbw@redhat.com>
4130
4131         * system-settings/src/main.c
4132                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4133                         callbacks take a device type too
4134
4135 2008-04-08  Dan Williams  <dcbw@redhat.com>
4136
4137         The system settings service will now create a new default DHCP connection
4138         for wired devices that have no existing applicable connection.
4139
4140         * system-settings/src/nm-system-config-hal-manager.c
4141           system-settings/src/nm-system-config-hal-manager.h
4142                 - (nm_system_config_hal_manager_get_type_for_udi): new function
4143
4144         * system-settings/src/dbus-settings.c
4145           system-settings/src/dbus-settings.h
4146                 - (nm_sysconfig_settings_get_connections): new function
4147                 - (nm_sysconfig_settings_is_device_managed): new function
4148
4149         * system-settings/src/main.c
4150                 - (load_stuff): check for wired devices that need a default connection
4151                 - (get_details_for_udi): get interface and MAC address from HAL
4152                 - (add_default_dhcp_connection): add a default connection for a wired
4153                         device if needed
4154                 - (device_added_cb, device_removed_cb): do the right thing with
4155                         wired devices and their default connections on HAL device events
4156
4157 2008-04-07  Dan Williams  <dcbw@redhat.com>
4158
4159         * libnm-glib/nm-device.c
4160           libnm-glib/nm-device.h
4161                 - Proxy the 'managed' property
4162
4163 2008-04-07  Dan Williams  <dcbw@redhat.com>
4164
4165         * src/nm-gsm-device.c
4166           src/nm-cdma-device.c
4167                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4168                         handler to transition to DISCONNECTED
4169
4170 2008-04-07  Dan Williams  <dcbw@redhat.com>
4171
4172         Patch from Bill Nottingham
4173
4174         * dispatcher-daemon/NetworkManagerDispatcher.c
4175                 - ignore backup/packaging crufy (rh #440143)
4176
4177 2008-04-07  Dan Williams  <dcbw@redhat.com>
4178
4179         * include/NetworkManager.h
4180                 - Remove the DOWN and CANCELLED device states
4181                 - Add UNMANAGED and UNAVAILABLE device states
4182                 - Document the device states
4183
4184         * introspection/nm-device.xml
4185           src/nm-device-interface.c
4186           src/nm-device-interface.h
4187                 - Add the 'managed' property
4188
4189         * test/nm-tool.c
4190                 - (detail_device): print out device state
4191
4192         * src/NetworkManagerSystem.h
4193           src/backends/NetworkManagerArch.c
4194           src/backends/NetworkManagerDebian.c
4195           src/backends/NetworkManagerFrugalware.c
4196           src/backends/NetworkManagerGentoo.c
4197           src/backends/NetworkManagerMandriva.c
4198           src/backends/NetworkManagerPaldo.c
4199           src/backends/NetworkManagerRedHat.c
4200           src/backends/NetworkManagerSlackware.c
4201           src/backends/NetworkManagerSuSE.c
4202                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4203                    nm_system_device_free_system_config): remove; they were unused and
4204                         their functionality should be re-implemented in each distro's
4205                         system settings service plugin 
4206
4207         * src/nm-gsm-device.c
4208           src/nm-gsm-device.h
4209           src/nm-cdma-device.c
4210           src/nm-cdma-device.h
4211                 - (*_new): take the 'managed' argument
4212
4213         * src/nm-device.c
4214                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4215                 - (nm_device_init): start in unmanaged state, not disconnected
4216                 - (constructor): don't start device until the system settings service
4217                         has had a chance to figure out if the device is managed or not
4218                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4219                         don't set device state here, let callers handle that as appropriate
4220                 - (nm_device_dispose): don't touch the device if it's not managed
4221                 - (set_property, get_property, nm_device_class_init): implement the
4222                         'managed' property
4223                 - (nm_device_state_changed): bring the device up if its now managed,
4224                         and deactivate it if it used to be active
4225                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4226                         with the managed state
4227
4228         * src/nm-hal-manager.c
4229                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4230                         take initial managed state and pass it along to device constructors
4231                 - (create_device_and_add_to_list): get managed state and pass to
4232                         type creators
4233
4234         * src/nm-device-802-11-wireless.c
4235                 - (real_can_activate): fold in most of
4236                         nm_device_802_11_wireless_can_activate()
4237                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4238                 - (link_timeout_cb): instead of deactivating, change device state and
4239                         let the device state handler to it
4240                 - (real_update_hw_address): clean up
4241                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4242                         handler to transition to DISCONNECTED if the device isn't rfkilled
4243
4244         * src/nm-device-802-3-ethernet.c
4245                 - (set_carrier): move above callers and get rid of prototype
4246                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4247                         idle handler to transition to DISCONNECTED if the device has a
4248                         carrier
4249                 - (real_update_hw_address): clean up
4250                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4251                         deactivation directly as deactivation doesn't change state anymore
4252
4253         * src/NetworkManagerPolicy.c
4254                 - (schedule_activate_check): yay, remove wireless_enabled hack since
4255                         the NMManager and wireless devices work that out themselves now
4256                 - (device_state_changed): change to a switch and update for new device
4257                         states
4258                 - (device_carrier_changed): remove; device handles this now through
4259                         state changes
4260                 - (device_added): don't care about carrier any more; the initial
4261                         activation check will happen when the device transitions to
4262                         DISCONNECTED
4263
4264         * src/nm-manager.c
4265                 - (dispose): clear unmanaged devices
4266                 - (handle_unmanaged_devices): update unmanaged device list and toggle
4267                         the managed property on each device when needed
4268                 - (system_settings_properties_changed_cb): handle signals from the
4269                         system settings service
4270                 - (system_settings_get_unmanaged_devices_cb): handle callback from
4271                         getting the unmanaged device list method call
4272                 - (query_unmanaged_devices): ask the system settings service for its
4273                         list of unmanaged devices
4274                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4275                         devices
4276                 - (manager_set_wireless_enabled): push rfkill state down to wireless
4277                         devices directly and let them handle the necessary state transitions
4278                 - (manager_device_state_changed): update for new device states
4279                 - (nm_manager_add_device): set initial rfkill state on wireless devices
4280                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4281                 - (nm_manager_activate_connection): return error if the device is
4282                         unmanaged
4283                 - (nm_manager_sleep): handle new device states correctly; don't change
4284                         the state of unavailable/unmanaged devices
4285
4286         * libnm-glib/nm-device-802-11-wireless.c
4287                 - (state_changed_cb): update for new device states
4288
4289 2008-04-07  Dan Williams  <dcbw@redhat.com>
4290
4291         * marshallers/nm-marshal.list
4292                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4293
4294 2008-04-07  Dan Williams  <dcbw@redhat.com>
4295
4296         * system-settings/src/main.c
4297                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4298                         plugins to the dbus settings object
4299                 - (load_stuff): start the dbus service after grabbing unmanaged devices
4300                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4301                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4302                 - (main): switch default logging to syslog with a 'debug' option to
4303                         output to console; start up the HAL manager
4304
4305 2008-04-07  Dan Williams  <dcbw@redhat.com>
4306
4307         * introspection/nm-settings-system.xml
4308           introspection/Makefile.am
4309                 - Define the unmanaged devices interface for the system settings service
4310
4311         * system-settings/src/nm-system-config-hal-manager.c
4312           system-settings/src/nm-system-config-hal-manager.h
4313           system-settings/src/nm-system-config-hal-manager-private.h
4314           system-settings/src/Makefile.am
4315                 - Add a lightweight HAL manager object for tracking network devices for
4316                         the purpose of determining unmanaged devices and which devices need
4317                         the default DHCP connections
4318
4319         * system-settings/src/nm-system-config-interface.c
4320           system-settings/src/nm-system-config-interface.h
4321                 - (nm_system_config_interface_init): add the HAL manager as an argument
4322                 - (nm_system_config_interface_get_unmanaged_devices): implement
4323                 - Define 'unmanaged-devices-changed' signal
4324
4325         * system-settings/src/dbus-settings.c
4326           system-settings/src/dbus-settings.h
4327                 - Implement the unmanaged devices interface; some cleanups
4328
4329         * system-settings/plugins/ifcfg-suse/plugin.c
4330                 - Fixup for plugin interface changes
4331
4332         * system-settings/plugins/ifcfg-fedora/plugin.c
4333                 - (get_ether_device_udi): new function; find the device that has
4334                         a specified MAC address and return its UDI
4335                 - (get_udi_for_connection): new function; try to find the specific
4336                         device a connection is locked to, if any
4337                 - (device_added_cb, device_removed_cb): update unmanaged device list in
4338                         response to HAL events
4339                 - (get_unmanaged_devices): new function; return unmanaged device list
4340                 - (build_one_connection): set the connection's locked device, if any
4341                 - (write_auto_wired_connection): remove
4342                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4343                 - (handle_connection_changed): alert listeners that the unmanaged device
4344                         list has changed
4345                 - (init): fixup for plugin interface changes, implement unmanaged devices
4346
4347         * system-settings/plugins/ifcfg-fedora/parser.c
4348           system-settings/plugins/ifcfg-fedora/parser.h
4349                 - (connection_data_free): clean up connection UDI
4350
4351 2008-04-07  Dan Williams  <dcbw@redhat.com>
4352
4353         * system-settings/plugins/ifcfg-fedora/parser.c
4354                 - (make_ip4_setting): fix parsing of DNS servers
4355
4356 2008-04-05  Dan Williams  <dcbw@redhat.com>
4357
4358         * Makefile.am
4359           configure.in
4360           marshallers/Makefile.am
4361           marshallers/nm-marshal-main.c
4362           marshallers/nm-marshal.list
4363                 - Consolidate marshallers
4364
4365         * libnm-glib/nm-marshal-main.c
4366           libnm-glib/nm-marshal.list
4367           src/marshallers/Makefile.am
4368           src/marshallers/nm-marshal-main.c
4369           src/marshallers/nm-marshal.list
4370                 - Remove
4371
4372         * libnm-glib/Makefile.am
4373           src/Makefile.am
4374           src/dhcp-manager/Makefile.am
4375           src/ppp-manager/Makefile.am
4376           src/supplicant-manager/Makefile.am
4377           src/vpn-manager/Makefile.am
4378                 - Use consolidated marshallers
4379
4380 2008-04-04  Dan Williams  <dcbw@redhat.com>
4381
4382         * src/nm-hal-manager.c
4383           src/nm-hal-manager.h
4384                 - (hal_init): don't look for hardware here
4385                 - (nm_hal_manager_start): new function; look for hardware here instead,
4386                         which can be done at a later time than hal_init()
4387
4388         * src/NetworkManager.c
4389                 - (main): start HAL manager after entering the main loop
4390
4391 2008-04-03  Dan Williams  <dcbw@redhat.com>
4392
4393         * libnm-glib/nm-settings.c
4394           libnm-glib/nm-settings.h
4395             - (nm_exported_connection_get_id): new function
4396                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4397
4398 2008-04-02  Dan Williams  <dcbw@redhat.com>
4399
4400         * src/nm-device-interface.c
4401           src/nm-device-interface.h
4402           src/nm-device.c
4403           src/nm-device.h
4404                 - Rename check_connection_conflicts() to check_connection_compatible()
4405
4406         * src/nm-device-802-11-wireless.c
4407                 - (real_check_connection_conflicts): remove
4408                 - (real_check_connection_compatible): implement; match MAC address
4409
4410         * src/nm-device-802-3-ethernet.c
4411                 - (real_check_connection_conflicts): remove
4412                 - (real_check_connection_compatible): implement; match MAC address
4413                 - (real_get_best_auto_connection): correctly handle PPPoE cases
4414
4415         * src/nm-manager.c
4416                 - (check_connection_allowed): remove; unused until PolicyKit integration
4417                 - (internal_activate_device): check whether the connection is compatible
4418                         with the device before trying to activate it
4419
4420 2008-04-02  Dan Williams  <dcbw@redhat.com>
4421
4422         * system-settings/plugins/ifcfg-fedora/parser.c
4423                 - (read_mac_address): new function; read in MAC address and stuff it
4424                         into the connection
4425                 - (add_one_wep_key): remove debug spew
4426                 - (make_wireless_security_setting): validate the default TX key; don't
4427                         add the wireless-security setting if the connection doesn't need
4428                         security; don't leak the keys shvarFile on error cases
4429                 - (make_wireless_setting, make_wired_setting): populate device's MAC
4430                         address
4431
4432 2008-04-02  Dan Williams  <dcbw@redhat.com>
4433
4434         * libnm-util/nm-setting-connection.c
4435           libnm-util/nm-setting-connection.h
4436                 - (set_property, get_property, nm_setting_connection_class_init): remove
4437                         the 'lockdown' property; it's functionality will be replaced by
4438                         PolicyKit instead
4439
4440 2008-04-01  Dan Williams  <dcbw@redhat.com>
4441
4442         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4443
4444         * configure.in
4445           initscript/Makefile.am
4446           initscript/Mandriva/Makefile.am
4447           initscript/Mandriva/networkmanager.in
4448           initscript/Mandriva/networkmanagerdispatcher.in
4449           src/backends/Makefile.am
4450           src/backends/NetworkManagerMandriva.c
4451           system-settings/plugins/Makefile.am
4452                 - Add Mandriva support
4453
4454 2008-03-31  Dan Williams  <dcbw@redhat.com>
4455
4456         * src/vpn-manager/nm-vpn-service.c
4457                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4458                         errors can be passed back to the caller; also no longer scheduled
4459                         as an idle handler, but called directly; and bump up VPN service
4460                         spawn timeout, 2s is really short
4461                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4462                         but call it directly so that errors are reported on return from
4463                         ActivateConnection() and don't get lost.  If scheduled as an idle
4464                         handler, clients don't have the time to query NM for the new VPN
4465                         connection's properties before the VPN connection is torn down again
4466                         if the service couldn't be launched, and therefore launch errors
4467                         get lost.
4468
4469 2008-03-31  Dan Williams  <dcbw@redhat.com>
4470
4471         * src/vpn-manager/nm-vpn-connection.c
4472                 - (device_state_changed): send correct state on device failure too
4473                 - (plugin_state_changed): failed state means unexpected disconnection,
4474                         thus if the service goes away while the VPN connection is activated
4475                         that's a failure too
4476
4477 2008-03-31  Dan Williams  <dcbw@redhat.com>
4478
4479         * src/vpn-manager/nm-vpn-manager.c
4480           src/vpn-manager/nm-vpn-manager.h
4481                 - Make VPNManager errors more available; add a service-start-failed error
4482
4483 2008-03-31  Dan Williams  <dcbw@redhat.com>
4484
4485         * libnm-glib/nm-client.c
4486           libnm-glib/nm-client.h
4487                 - (activate_cb): pass the new active connection to callback; fix
4488                         message when no callback is specified
4489
4490 2008-03-30  Dan Williams  <dcbw@redhat.com>
4491
4492         * libnm-util/nm-setting-wireless-security.c
4493                 - (need_secrets): only require key0 if the transmit key index is also
4494                         0
4495                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4496
4497 2008-03-29  Dan Williams  <dcbw@redhat.com>
4498
4499         * libnm-util/nm-setting-8021x.c
4500           libnm-util/nm-setting-ip4-config.c
4501           libnm-util/nm-setting-vpn-properties.c
4502           libnm-util/nm-setting-vpn.c
4503           libnm-util/nm-setting-wireless-security.c
4504           libnm-util/nm-setting-wireless.c
4505           libnm-util/nm-utils.c
4506           src/dhcp-manager/nm-dhcp-manager.c
4507           src/nm-activation-request.c
4508           src/nm-ip4-config.c
4509           src/nm-manager.c
4510           src/nm-properties-changed-signal.c
4511           src/ppp-manager/nm-pppd-plugin.c
4512           src/supplicant-manager/nm-supplicant-interface.c
4513           src/vpn-manager/nm-vpn-connection.c
4514                 - consistently use nm-dbus-glib-types.h
4515
4516 2008-03-29  Dan Williams  <dcbw@redhat.com>
4517
4518         * src/vpn-manager/nm-vpn-connection.c
4519                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4520                         not string
4521
4522         * src/nm-activation-request.c
4523                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4524                         not string
4525
4526 2008-03-29  Dan Williams  <dcbw@redhat.com>
4527
4528         * libnm-glib/nm-device-802-11-wireless.c
4529                 - (access_point_added_proxy): create new APs if not found
4530
4531 2008-03-29  Dan Williams  <dcbw@redhat.com>
4532
4533         * libnm-glib/nm-client.c
4534                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4535                         before freeing them
4536
4537 2008-03-29  Dan Williams  <dcbw@redhat.com>
4538
4539         * system-settings/plugins/ifcfg-fedora/parser.c
4540                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4541                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4542
4543 2008-03-29  Dan Williams  <dcbw@redhat.com>
4544
4545         * system-settings/plugins/ifcfg-fedora/parser.c
4546                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4547
4548 2008-03-27  Dan Williams  <dcbw@redhat.com>
4549
4550         * nm-object.c
4551                 - (nm_object_queue_notify): don't notify multiple times for the same
4552                         property
4553
4554         * nm-object-private.h
4555                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4556                         if it has zero elements
4557
4558         * nm-ip4-config.c
4559                 - (finalize): use g_ptr_array_foreach() when freeing domains
4560                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4561
4562         * nm-active-connection.c
4563                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4564
4565         * nm-device-802-11-wireless.c
4566           nm-device-802-11-wireless.h
4567                 - (nm_device_802_11_wireless_get_access_points): return const; use
4568                         handle_ptr_array_return()
4569
4570         * nm-types.c
4571                 - (nm_object_array_demarshal): always create an array, even of length
4572                         zero, to distinguish between "NM returned no items" and "haven't
4573                         asked NM yet"
4574
4575         * nm-client.c
4576                 - (dispose): free active connections too
4577                 - (proxy_name_owner_changed): free active connections too when NM goes
4578                         away
4579                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4580                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4581
4582 2008-03-26  Dan Williams  <dcbw@redhat.com>
4583
4584         Rework VPN connection handling for a more consistent D-Bus API.  The
4585         VPNManager object has been removed, and active VPN connections are now the
4586         same as any other active connection.  The Manager object's ActivateConnection
4587         and DeactivateConnection methods are used to start and stop a VPN connection,
4588         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4589         When activating a VPN connection, pass the path of the active connection
4590         to which the VPN connection is tied in the 'specific_object' argument.
4591
4592         Consequently, the libnm-glib API has been reworked to match this arrangement,
4593         with the VPNManager object removed, and the NMVPNConnection objects now
4594         being subclasses of NMActiveConnection.
4595
4596 2008-03-25  Dan Williams  <dcbw@redhat.com>
4597
4598         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4599
4600         * initscript/Arch/networkmanager.in
4601           initscript/Arch/networkmanager-dispatcher.in
4602                 - Updates for Arch Linux (gnome.org #523701)
4603
4604 2008-03-25  Dan Williams  <dcbw@redhat.com>
4605
4606         * libnm-glib/nm-ip4-config.c
4607           libnm-glib/nm-active-connection.c
4608           libnm-glib/nm-access-point.c
4609                 - Use nm_object_queue_notify() instead of g_object_notify()
4610
4611         * libnm-glib/nm-device.c
4612                 - (demarshal_ip4_config): distinguish between successful but missing
4613                         ip4-config request, and unsuccessful and missing ip4-config request
4614                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4615                         path
4616                 - Use nm_object_queue_notify() instead of g_object_notify()
4617
4618         * libnm-glib/nm-device-802-11-wireless.c
4619                 - (demarshal_active_ap): distinguish between successfull but missing
4620                         active-ap request, and unsuccessful and missing active-ap request
4621                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4622                         code
4623                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4624                         for the NMClient to notify the device that wireless is disabled,
4625                         and therefore to clear the AP list and active AP
4626                 - Use nm_object_queue_notify() instead of g_object_notify()
4627
4628         * libnm-glib/nm-client.c
4629                 - (poke_wireless_devices_with_rf_status): new function
4630                 - (update_wireless_status): notify wireless devices of the rfkill status
4631                         so they can clean up if needed
4632                 - Use nm_object_queue_notify() instead of g_object_notify()
4633
4634 2008-03-25  Dan Williams  <dcbw@redhat.com>
4635
4636         * libnm-glib/nm-object.c
4637           libnm-glib/nm-object-private.h
4638                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4639                         signals to an idle handler
4640                 - (nm_object_get_property): add a timeout to the D-Bus method call
4641
4642 2008-03-25  Dan Williams  <dcbw@redhat.com>
4643
4644         * introspection/nm-device-cdma.xml
4645           introspection/nm-device-gsm.xml
4646           introspection/Makefile.am
4647           introspection/all.xml
4648                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4649
4650         * src/nm-gsm-device.h
4651           src/nm-gsm-device.c
4652           src/nm-cdma-device.h
4653           src/nm-cdma-device.c
4654           src/Makefile.am
4655                 - Implement PropertiesChanged signals
4656
4657         * libnm-glib/nm-cdma-device.c
4658           libnm-glib/nm-cdma-device.c
4659                 - Attach to PropertiesChanged signals
4660
4661 2008-03-24  Dan Williams  <dcbw@redhat.com>
4662
4663         * libnm-glib/nm-client.c
4664                 - (client_device_added_proxy): add new devices to the internal device
4665                         list so they appear to clients
4666
4667 2008-03-24  Dan Williams  <dcbw@redhat.com>
4668
4669         Massive fixup of libnm-glib to:
4670         a) have all objects (with the exception of VPN) cache their properties and
4671                 update them asynchronously on PropertiesChanged signals from NM
4672         b) return internal const data for most attributes/properties instead of
4673                 allocated values that the caller must free
4674         c) cache wrapped objects such that a given D-Bus path will always map to the
4675                 same GObject returned by libnm-glib
4676         d) remove a few signals and move them to GObject property notifications
4677         e) match recent NM D-Bus API changes for activation/deactivation
4678         f) remove some private functions from libnm-glib headers
4679
4680 2008-03-20  Dan Williams  <dcbw@redhat.com>
4681
4682         * src/nm-manager.c
4683                 - (nm_manager_update_state, manager_device_state_changed,
4684                    nm_manager_activate_device, connection_added_default_handler,
4685                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4686                         queue PropertyChanged singals when the active connections change
4687
4688 2008-03-20  Dan Williams  <dcbw@redhat.com>
4689
4690         * introspection/nm-manager.xml
4691           introspection/nm-manager-client.xml
4692                 - (ActivateConnection): return the object path of the active connection
4693                         on success
4694                 - (GetActiveConnections): remove
4695                 - (DeactivateConnection): new function; deactivate a currently active
4696                         connection
4697                 - Add an ActiveConnections property which returns an array of
4698                         active connection object paths
4699
4700         * introspection/nm-device.xml
4701                 - (Deactivate): remove
4702
4703         * introspection/all.xml
4704                 - Add ActiveConnection introspection
4705
4706         * introspection/nm-active-connection.xml
4707                 - Add the ActiveConnection object
4708
4709         * include/NetworkManager.h
4710                 - Add the Connection.Active D-Bus interface
4711
4712         * src/nm-device-interface.c
4713                 - (impl_device_deactivate): remove
4714
4715         * src/nm-activation-request.c
4716           src/nm-activation-request.c
4717           src/Makefile.am
4718                 - Implement the Connection.Active D-Bus interface
4719
4720         * src/nm-manager.c
4721                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4722                 - (nm_manager_activate_device): return the active connection path
4723                 - (connection_added_default_handler, impl_manager_activate_connection):
4724                         return the active connection to the caller
4725                 - (add_one_connection_element, impl_manager_get_active_connections):
4726                         remove
4727                 - (impl_manager_deactivate_connection): new function; deactivate an
4728                         active connection
4729
4730         * libnm-glib/nm-device.c
4731           libnm-glib/nm-device.h
4732                 - Remove Deactivate() function
4733
4734 2008-03-19  Dan Williams  <dcbw@redhat.com>
4735
4736         * introspection/nm-manager.xml
4737           introspection/nm-manager-client.xml
4738                 - Rename the ActivateDevice method to ActivateConnection to better
4739                         reflect it's usage; it's arguments get reordered a bit too
4740                 - Convert GetActiveConnections method return from a struct to a dict
4741
4742         * include/NetworkManager.h
4743                 - Define the dict keys for return value of GetActiveConnections
4744
4745         * src/nm-manager.c
4746                 - impl_manager_activate_device -> impl_manager_activate_connection
4747                 - (add_one_connection_element): return a populated hash table, not
4748                         a structure
4749
4750         * libnm-glib/nm-client.c
4751           libnm-glib/nm-client.h
4752                 - nm_client_activate_device -> nm_client_activate_connection
4753                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4754                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4755                         instead of the custom structures.  Each element of the returned list
4756                         must be freed with nm_client_free_active_connections_element()
4757
4758 2008-03-18  Dan Williams  <dcbw@redhat.com>
4759
4760         * system-settings/plugins/ifcfg-fedora/parser.c
4761           system-settings/plugins/ifcfg-fedora/parser.h
4762           system-settings/plugins/ifcfg-fedora/plugin.c
4763                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4764                         profiles.  DNS servers and searches must now be stored in the ifcfg
4765                         files themselves
4766
4767 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4768
4769         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4770         print out username and password, it's supposed to be a secret.
4771
4772         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4773         request and set the device state accordingly.
4774
4775 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4776
4777         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4778
4779         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4780
4781 2008-03-18  Dan Williams  <dcbw@redhat.com>
4782
4783         * src/vpn-manager/nm-vpn-connection.c
4784                 - (get_secrets_cb): handle new GetSecrets return format
4785
4786 2008-03-18  Dan Williams  <dcbw@redhat.com>
4787
4788         Adapt system settings service for split 802.1x.
4789
4790         * system-settings/src/nm-system-config-interface.h
4791                 - clarify return value of get_secrets()
4792
4793         * system-settings/src/dbus-settings.c
4794                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4795                 - (check_for_secrets): check if there actually secrets returned by a
4796                         plugin
4797                 - (exported_connection_get_secrets): just return the plugin-returned
4798                         hash of settings' secrets if it looks valid
4799
4800         * system-settings/plugins/ifcfg-fedora/plugin.c
4801                 - (get_secrets): add split secrets with correct format to reply hash
4802
4803         * system-settings/plugins/ifcfg-fedora/parser.c
4804           system-settings/plugins/ifcfg-fedora/parser.h
4805                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4806                    connection_data_free, connection_data_add): keep secrets for
4807                         different settings in different hashes
4808
4809 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4810
4811         Clean up activating device deactivation.
4812
4813         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4814         should be done whether the device activation gets cancelled or the device
4815         is just getting deactivated.
4816         (nm_device_activation_cancel): Remove.
4817         (nm_device_deactivate_quickly): Handle the case where device is activating.
4818
4819         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4820         It does the exact same thing as real_deactivate_quickly().
4821
4822 2008-03-17  Dan Williams  <dcbw@redhat.com>
4823
4824         Split the 802.1x bits out of the wireless-security setting so they are
4825         generalized enough for wired 802.1x to use too.
4826
4827         * introspection/nm-exported-connection.xml
4828                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4829                         of just a hash of the secrets for one setting
4830
4831         * libnm-util/nm-setting-wireless-security.c
4832           libnm-util/nm-setting-wireless-security.h
4833                 - Remove 802.1x-specific stuff
4834                 - Added leap-username and leap-password properties for old-school LEAP
4835
4836         * src/nm-device.c
4837           src/nm-device.h
4838                 - (connection_secrets_updated_cb): take a list of updated settings names,
4839                         not just one
4840
4841         * src/supplicant-manager/nm-supplicant-config.c
4842           src/supplicant-manager/nm-supplicant-config.h
4843                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4844                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4845                         to nm_supplicant_config_add_setting_8021x()
4846                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4847                         the supplicant config
4848
4849         * src/nm-device-802-11-wireless.c
4850                 - (build_supplicant_config): pass in the 802.1x setting too, if any
4851                 - (real_connection_secrets_updated): take a list of updated settings
4852                         names, not just one
4853
4854         * src/nm-device-802-3-ethernet.c
4855           src/nm-cdma-device.c
4856           src/nm-gsm-device.c
4857                 - (real_connection_secrets_updated_cb): take a list of updated settings
4858                         names, not just one
4859
4860         * src/nm-activation-request.c
4861           src/nm-activation-request.h
4862                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4863                         now passes a list of updated settings names, not just one
4864                 - (update_one_setting): new function; handle one updated setting
4865                 - (get_secrets_cb): handle multiple settings returned from the
4866                         settings service; have to be careful of ordering here as there are
4867                         some dependencies between settings (ex. wireless-security and 802.1x
4868                         in some cases)
4869
4870         * src/marshallers/nm-marshal.list
4871                 - new marshaller for connection-secrets-updated signal
4872
4873         * libnm-util/nm-setting-8021x.c
4874                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4875                         methods
4876                 - (verify): a valid 'eap' property is now required
4877
4878         * libnm-util/nm-connection.c
4879                 - (register_default_settings): add priorities to settings; there are
4880                         some dependencies between settings, and during the need_secrets
4881                         calls this priority needs to be respected.  For example, only the
4882                         wireless-security setting knows whether or not the connection is
4883                         going to use 802.1x or now, so it must be asked for secrets before
4884                         any existing 802.1x setting is
4885                 - (nm_connection_lookup_setting_type): expose
4886
4887         * libnm-util/nm-setting-wireless.c
4888                 - (verify): should verify even if all_settings is NULL; otherwise won't
4889                         catch the case where there is missing security
4890
4891         * libnm-util/nm-setting-wireless-security.c
4892                 - Remove everything to do with 802.1x
4893                 - Add old-school LEAP specific properties for username and password
4894                 - (need_secrets): rework LEAP secrets checking
4895                 - (verify): rework for LEAP and 802.1x verification
4896
4897 2008-03-17  Dan Williams  <dcbw@redhat.com>
4898
4899         * src/NetworkManagerPolicy.c
4900                 - (auto_activate_device): always remove the current activation check
4901                         from the pending activation list, otherwise when the policy gets
4902                         destroyed on NM exit it will attempt to free the already freed
4903                         activation check
4904
4905 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4906
4907         * src/backends/NetworkManagerSlackware.c 
4908         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4909
4910         * src/backends/NetworkManagerSuSE.c: Add missing includes.
4911
4912 2008-03-14  Dan Williams  <dcbw@redhat.com>
4913
4914         * src/nm-manager.c
4915                 - (nm_device_interface_get_iface): g_object_get() will return an
4916                         allocated value, so this function must not return const
4917                 - (nm_device_interface_activate): free returned iface
4918
4919 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4920
4921         * libnm-util/Makefile.am: Add new files to build.
4922
4923         * libnm-util/nm-connection.c: Register NMSetting8021x.
4924
4925         * libnm-util/nm-setting-8021x.c
4926         * libnm-util/nm-setting-8021x.h: Implement.
4927
4928 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4929
4930         * libnm-util/Makefile.am: Add new files to build.
4931
4932         * libnm-util/nm-connection.c: Register NMSetting8021x.
4933
4934         * libnm-util/nm-setting-8021x.c
4935         * libnm-util/nm-setting-8021x.h: Implement.
4936
4937 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4938
4939         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4940         data.
4941
4942 2008-03-14  Dan Williams  <dcbw@redhat.com>
4943
4944         * include/wireless-helper.h
4945           include/Makefile.am
4946                 - One place for all the junk needed for #including wireless.h
4947
4948         * test/nm-tool.c
4949           src/NetworkManagerAP.c
4950           src/wpa.c
4951           src/Makefile.am
4952           libnm-util/nm-utils.c
4953           libnm-util/nm-setting-wireless.c
4954           libnm-glib/nm-device-802-11-wireless.c
4955           libnm-glib/nm-access-point.c
4956           libnm-glib/libnm-glib-test.c
4957                 - include wireless-helper.h, not iwlib.h
4958
4959         * configure.in
4960                 - Don't need libiw really, just need to check for wireless.h
4961
4962         * src/kernel-types.h
4963                 - Remove; used types moved into wpa.c
4964
4965         * src/nm-device-802-11-wireless.c
4966                 - (nm_device_802_11_wireless_update_signal_strength,
4967                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4968                    nm_device_802_11_wireless_set_mode,
4969                    nm_device_802_11_wireless_get_frequency,
4970                    nm_device_802_11_wireless_get_ssid,
4971                    nm_device_802_11_wireless_set_ssid,
4972                    nm_device_802_11_wireless_get_bitrate,
4973                    nm_device_802_11_wireless_get_bssid,
4974                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4975                         instead of iwlib functions
4976
4977 2008-03-14  Dan Williams  <dcbw@redhat.com>
4978
4979         * src/ppp-manager/nm-ppp-manager.c
4980                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4981                         should only take the DBusGMethodInvocation argument, not user/pass
4982                         too.  With dbus-glib, async functions only take 2 C arguments since
4983                         the real dbus method arguments get passed back with
4984                         dbus_g_method_return()
4985
4986 2008-03-13  Tambet Ingo  <tambet@gmail.com>
4987
4988         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
4989         Adapt the changes of NMSettingIP4Config.
4990
4991 2008-03-13  Dan Williams  <dcbw@redhat.com>
4992
4993         * src/NetworkManagerUtils.c
4994           src/NetworkManagerUtils.h
4995                 - (nm_ether_ntop): replacement for iw_ether_ntop()
4996
4997         * src/NetworkManagerAP.c
4998           src/nm-device-802-11-wireless.c
4999           src/nm-device-802-3-ethernet.c
5000                 - s/iw_ether_ntop/nm_ether_ntop/g
5001
5002 2008-03-13  Dan Williams  <dcbw@redhat.com>
5003
5004         * src/NetworkManagerPolicy.c
5005                 - (update_routing_and_dns): never set the default route through an
5006                         IPv4LL addressed device
5007
5008 2008-03-13  Dan Williams  <dcbw@redhat.com>
5009
5010         * NetworkManagerUtils.c
5011           NetworkManagerUtils.h
5012                 - Remove NMSock stuff
5013                 - Remove the completion stuff
5014
5015         * nm-device.c
5016           nm-device.h
5017           NetworkManager.c
5018           NetworkManagerSystem.c
5019           autoip.c
5020           nm-device-802-11-wireless.c
5021           nm-device-802-3-ethernet.c
5022                 - Remove NMSock and completion stuff
5023                 - Remove nm_ioctl_info()
5024
5025 2008-03-12  Dan Williams  <dcbw@redhat.com>
5026
5027         * src/nm-device.c
5028                 - (merge_ip4_config): avoid duplicates
5029
5030 2008-03-12  Dan Williams  <dcbw@redhat.com>
5031
5032         * libnm-util/nm-setting-ip4-config.c
5033           libnm-util/nm-setting-ip4-config.h
5034                 - Remove 'manual' and 'autoip' properties
5035                 - Add 'method' property
5036                 - (verify): fix verification with 'method'
5037                 - (finalize): free 'method'
5038                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
5039                         up for 'method'
5040
5041         * src/nm-device.c
5042                 - (real_act_stage3_ip_config_start): check IP4Config method
5043                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
5044                         the future
5045                 - (merge_ip4_config): IP settings are valid with DHCP too
5046                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
5047                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
5048
5049         * src/nm-device-802-11-wireless.c
5050                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
5051                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5052                         only on demand
5053
5054         * system-settings/plugins/ifcfg-fedora/parser.c
5055           system-settings/plugins/ifcfg-suse/parser.c
5056                 - (make_ip4_setting): fix up for 'method'
5057
5058 2008-03-12  Dan Williams  <dcbw@redhat.com>
5059
5060         * system-settings/plugins/ifcfg-fedora/parser.c
5061           system-settings/plugins/ifcfg-fedora/parser.h
5062                 - (get_ifcfg_name): ignore more file suffixes
5063                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5064
5065 2008-03-12  Dan Williams  <dcbw@redhat.com>
5066
5067         * configure.in
5068                 - Bring in the bits of gnome-common we actually use (all 15 lines)
5069
5070 2008-03-12  Dan Williams  <dcbw@redhat.com>
5071
5072         * system-settings/plugins/ifcfg-fedora/plugin.c
5073                 - (write_auto_wired_connection): new function; write out an auto
5074                         wired connection file since the applet isn't doing it any more
5075                 - (reload_all_connections): write out the auto wired connection file
5076                         if there aren't any wired connections already
5077                 - (init): don't leak a GError
5078
5079 2008-03-12  Dan Williams  <dcbw@redhat.com>
5080
5081         * src/nm-device-interface.c
5082                 - (nm_device_interface_activate): print the ID of the connection
5083                         that's about to be activated
5084
5085 2008-03-12  Dan Williams  <dcbw@redhat.com>
5086
5087         Harmonize the 802.11 bitrate API
5088
5089         * introspection/nm-access-point.xml
5090                 - 'Rate' -> 'MaxBitrate'; clarify units
5091
5092         * introspection/nm-device-802-11-wireless.xml
5093                 - Clarify units of 'Bitrate'
5094
5095         * src/NetworkManagerAP.c
5096           src/NetworkManagerAP.h
5097                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5098                         property to 'max-bitrate'
5099                 - (foreach_property_cb): convert rate to Kb/s
5100
5101         * src/nm-device-802-11-wireless.c
5102                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5103
5104         * libnm-glib/nm-access-point.c
5105           libnm-glib/nm-access-point.h
5106                 - 'rate' -> 'max-bitrate'
5107
5108         * test/nm-tool.c
5109           libnm-glib/libnm-glib-test.c
5110                 - Fix up for these changes
5111
5112 2008-03-12  Dan Williams  <dcbw@redhat.com>
5113
5114         * src/nm-device.c
5115                 - (nm_device_set_ip4_config): don't send property notifications when
5116                         the ip4 config is set to NULL; it causes a PropertyChanged signal
5117                         which dbus-glib can't parse because the value is NULL, which isn't
5118                         a legal object path.  Setting the IP4 config to NULL is only
5119                         valid when deactivating a device anyway, so the device state change
5120                         will alert listeners that the ip4 config is invalid.
5121
5122 2008-03-12  Dan Williams  <dcbw@redhat.com>
5123
5124         * src/nm-properties-changed-signal.c
5125                 - (add_to_string): better handling of NULL objects
5126
5127 2008-03-12  Dan Williams  <dcbw@redhat.com>
5128
5129         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5130         convert the libnm-glib NMDevice8023Ethernet to cached properties
5131
5132         * introspection/nm-device-802-3-ethernet.xml
5133                 - New 'Carrier' property
5134                 - New 'PropertiesChanged' signal
5135
5136         * introspection/nm-device.xml
5137                 - Remove 'Carrier' property
5138                 - Remove 'CarrierChanged' signal
5139
5140         * src/nm-device-interface.c
5141           src/nm-device-interface.h
5142                 - (nm_device_interface_init): remove 'carrier' property and
5143                         'carrier-changed' signal
5144
5145         * src/nm-device.c
5146           src/nm-device.h
5147                 - (nm_device_get_carrier, nm_device_set_carrier): remove
5148                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5149                         the link here; wired device will handle that
5150                 - (handle_dhcp_lease_change): don't bother updating link here
5151                 - (get_property, nm_device_class_init): remove carrier property
5152
5153         * src/nm-device-802-11-wireless.c
5154                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5155                         real_update_link(); wireless devices don't use carrier at all
5156                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5157                    supplicant_iface_connection_state_cb_handler,
5158                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
5159
5160         * src/nm-device-802-3-ethernet.c
5161           src/nm-device-802-3-ethernet.h
5162                 - (nm_device_802_3_ethernet_carrier_on,
5163                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5164                         instead of nm_device_set_carrier()
5165                 - (device_state_changed): update link from sysfs on activation;
5166                         replaces real_update_link()
5167                 - (real_update_link): remove, replaced by device_state_changed()
5168                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5169                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5170                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5171                         new get_carrier function
5172                 - (get_property): add 'carrier' property
5173                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5174                         hook into property-changed signal helper
5175
5176         * src/NetworkManagerPolicy.c
5177                 - (device_carrier_changed): will only ever be called with a wired device
5178                 - (device_added): only hook up to carrier-changed for wired devices
5179
5180         * libnm-glib/nm-device.c
5181           libnm-glib/nm-device.h
5182                 - (constructor, nm_device_class_init): remove carrier-changed signal
5183                 - (device_carrier_changed_proxy): remove; unused
5184                 - (nm_device_get_carrier): remove; carrier a property of wired devices
5185
5186         * libnm-glib/nm-device-802-3-ethernet.c
5187           libnm-glib/nm-device-802-3-ethernet.h
5188                 - Convert to cached properties like AP and Wireless objects
5189                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5190                         instead of a 'char *', return value should not be freed
5191                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5192                 - (constructor): hook into properties-changed helper
5193                 - (set_property, get_property): new functions
5194                 - (nm_device_802_3_ethernet_class_init): export GObject properties
5195
5196         * test/nm-tool.c
5197                 - (detail_device): strdup the wired hardware address too since it's
5198                         cached now
5199
5200         * libnm-glib/libnm-glib-test.c
5201                 - (dump_wired): strdup the wired hardware address too since it's
5202                         cached now
5203
5204 2008-03-12  Dan Williams  <dcbw@redhat.com>
5205
5206         * libnm-util/nm-setting-ip4-config.c
5207           libnm-util/nm-setting-ip4-config.h
5208                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5209                         the 'autoip' property from the spec
5210
5211 2008-03-11  Dan Williams  <dcbw@redhat.com>
5212
5213         * src/backends/NetworkManagerGeneric.c
5214           src/backends/NetworkManagerGeneric.h
5215                 - (nm_generic_device_get_use_dhcp): remove
5216
5217 2008-03-11  Dan Williams  <dcbw@redhat.com>
5218
5219         * src/nm-device.c
5220                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5221                         already in nm_device_set_ip4_config()
5222                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5223                         due to a DHCP rebind fails
5224                 - (nm_device_set_ip4_config): send property notifications when the
5225                         ip4 config changes
5226                 - (get_property): only report IP4Config property during valid states
5227
5228         * src/NetworkManagerPolicy.c
5229                 - (update_routing_and_dns): ignore devices that don't have an ip4
5230                         config; add parameter 'force_update' to allow callers to specify
5231                         that changes should be made even if the default device doesn't change
5232                 - (device_ip4_config_changed): update DNS and routing when the device's
5233                         IP4Config changes, like for DHCP updates
5234                 - (device_added): listen for ip4-config property changes
5235
5236 2008-03-11  Dan Williams  <dcbw@redhat.com>
5237
5238         Fix address handling as a result of DHCP rebind/renew/reboot.
5239
5240         * src/NetworkManagerSystem.c
5241                 - (check_one_address): delete an address if it doesn't match a given
5242                         one for the same interface
5243                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5244                         be smarter about flushing addresses (only flush ones that don't
5245                         match the one we're about to apply)
5246
5247         * src/backends/NetworkManagerDebian.c
5248           src/backends/NetworkManagerSuSE.c
5249           src/backends/NetworkManagerArch.c
5250           src/backends/NetworkManagerSlackware.c
5251           src/backends/NetworkManagerRedHat.c
5252           src/backends/NetworkManagerPaldo.c
5253           src/backends/NetworkManagerFrugalware.c
5254           src/backends/NetworkManagerGentoo.c
5255                 - (nm_system_delete_default_route): remove
5256
5257         * src/backends/NetworkManagerGeneric.c
5258           src/backends/NetworkManagerGeneric.h
5259                 - (nm_generic_enable_loopback): fix the loopback device label
5260                 - (nm_generic_delete_default_route): remove; no longer used
5261
5262 2008-03-11  Dan Williams  <dcbw@redhat.com>
5263
5264         * src/nm-device-interface.h
5265                 - Delimit property name words with '-', otherwise g_object_notify()
5266                         doesn't work the way we expect
5267
5268 2008-03-11  Tambet Ingo  <tambet@gmail.com>
5269
5270         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5271
5272 2008-03-11  Dan Williams  <dcbw@redhat.com>
5273
5274         * src/NetworkManagerPolicy.c
5275                 - (update_routing_and_dns): don't change anything if the default device
5276                         hasn't changed; print something out when switching the default route
5277                         and DNS
5278
5279 2008-03-10  Tambet Ingo  <tambet@gmail.com>
5280
5281         Implement PPPoE.
5282
5283         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5284         setting. Use "nic-$eth".
5285
5286         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5287         the device is activating here to fix a race condition.
5288
5289         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5290
5291         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5292         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5293         (nm_ppp_manager_start): Take activation request instead of connection, we might
5294         need it for asking secrets.
5295         (nm_ppp_manager_update_secrets): Implement.
5296
5297         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5298         ppp manager start. It might be needed for asking secrets.
5299
5300         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5301         (ppp_state_changed): Handle pppd daemon disappearing.
5302         (pppoe_stage2_config): Send activation request to ppp manager start.
5303
5304         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5305
5306         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5307         username and password.
5308         
5309 2008-03-10  Dan Williams  <dcbw@redhat.com>
5310
5311         * src/nm-device.c
5312                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5313                         response to a DHCP lease change
5314                 - (dhcp_state_changed): handle DHCP lease changes while activated
5315                 - (nm_device_set_ip4_config): remove a previously set named config
5316                         when setting an ip4 config
5317
5318 2008-03-10  Dan Williams  <dcbw@redhat.com>
5319
5320         * src/nm-serial-device.c
5321                 - (nm_serial_device_send_command): report errno on error
5322                 - (get_reply_got_data): limit the size of the overall buffer
5323                 - (wait_for_reply_info_destroy): destroy result string
5324                 - (wait_for_reply_got_data): append received data to an overall buffer
5325                         until timeout, filled buffer, or error instead of keeping a per-call
5326                         buffer.  Some devices send data slowly enough that this function
5327                         gets called multiple times for the same command stream.
5328                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5329                         wait_for_reply_got_data() here
5330
5331 2008-03-10  Dan Williams  <dcbw@redhat.com>
5332
5333         * src/nm-cdma-device.c
5334                 - (do_dial, init_modem): handle errors from
5335                         nm_serial_device_send_command_string()
5336
5337         * src/nm-gsm-device.c
5338                 - (do_dial, manual_registration, automatic_registration_get_network,
5339                    automatic_registration, enter_pin, check_pin, init_modem): handle
5340                         errors from nm_serial_device_send_command_string()
5341
5342 2008-03-10  Dan Williams  <dcbw@redhat.com>
5343
5344         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5345
5346         * src/named-manager/nm-named-manager.c
5347                 - (compute_searches): prefer searches before domains
5348                 - (compute_domain): new function
5349                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5350                 - (merge_one_ip4_config): if there are no searches in the source config,
5351                         merge domains of the source config into the target config
5352                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5353
5354 2008-03-10  Dan Williams  <dcbw@redhat.com>
5355
5356         * src/nm-serial-device.c
5357                 - (get_reply_got_data): clean up indentation, shrink serial buffer
5358                 - (wait_for_reply_got_data): try to handle slower serial devices where
5359                         the reply is broken up into multiple reads by concatenating replies
5360                         together until either an error is received or the search string is
5361                         found
5362
5363 2008-03-10  Dan Williams  <dcbw@redhat.com>
5364
5365         * src/nm-device.c
5366                 - (nm_device_bring_down): deactivate the device if it's activating too,
5367                         not just if it's already activated.  This makes sure that everything
5368                         from an association attempt is cleaned up (like DHCP for example)
5369
5370 2008-03-10  Dan Williams  <dcbw@redhat.com>
5371
5372         * src/nm-serial-device.c
5373                 - (config_fd): report error from TCSETA
5374                 - (nm_serial_device_open): fail when config_fd() fails
5375
5376 2008-03-10  Dan Williams  <dcbw@redhat.com>
5377
5378         * src/nm-ip4-config.c
5379                 - (nm_ip4_config_init): allocate searches list
5380                 - (finalize): free searches list
5381
5382 2008-03-09  Dan Williams  <dcbw@redhat.com>
5383
5384         Patch from Bas Zoetekouw <bas@debian.org>
5385
5386         * src/dhcp-manager/nm-dhcp-manager.c
5387                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5388
5389 2008-03-09  Dan Williams  <dcbw@redhat.com>
5390
5391         Patch from Bas Zoetekouw <bas@debian.org>
5392
5393         * src/nm-ip4-config.c
5394           src/nm-ip4-config.h
5395                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5396                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
5397                         domains.  'searches' is the correct way to store multiple search
5398                         domains, whereas 'domains' is really just supposed to store one
5399                         domain.  Some sites abuse the DHCP 'domain-name' option to push
5400                         search domains to the client.
5401                 - (nm_ip4_config_add_domain): group with related functions (my patch)
5402
5403 2008-03-09  Dan Williams  <dcbw@redhat.com>
5404
5405         * src/dhcp-manager/nm-dhcp-manager.c
5406                 - (dhclient_run): send interface-specific config files to dhclient
5407
5408 2008-03-07  Dan Williams  <dcbw@redhat.com>
5409
5410         * system-settings/plugins/ifcfg-fedora/parser.c
5411                 - (is_wireless_device): new function; test a device for wireless
5412                         extensions
5413                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5414                         test the device for wireless extensions to determine the type
5415
5416 2008-03-07  Dan Williams  <dcbw@redhat.com>
5417
5418         Change manager's StateChange signal to StateChanged for consistency.
5419
5420         * introspection/nm-manager.xml
5421                 - Add 'StateChanged' signal
5422                 - Move 'StateChange' down to the deprecated section
5423
5424         * src/nm-hal-manager.c
5425                 - (nm_hal_manager_new): connect to 'state-changed' instead
5426
5427         * src/NetworkManagerPolicy.c
5428                 - (nm_policy_new): connect to 'state-changed' instead
5429
5430         * src/nm-manager.c
5431           src/nm-manager.h
5432                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5433                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5434                         of 'state-change'
5435
5436         * libnm-glib/nm-client.c
5437           libnm-glib/nm-client.h
5438                 - (constructor, nm_client_class_init, client_state_changed_proxy):
5439                         track and proxy 'state-changed' instead of 'state-change'
5440
5441 2008-03-07  Dan Williams  <dcbw@redhat.com>
5442
5443         First pass of multiple active device support.  Expect bugs.
5444
5445         * src/nm-ip4-config.c
5446           src/nm-ip4-config.h
5447                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5448                         there are better ways to do this in the named manager
5449
5450         * src/nm-device.c
5451           src/nm-device.h
5452                 - (nm_device_can_activate): return whether the device can activate a
5453                         connection right now; taking into account things like carrier state
5454                         and rfkill state
5455                 - (nm_device_get_best_auto_connection): renamed from
5456                         nm_device_get_best_connection
5457                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5458                         device subclasses themselves, so that each device can override the
5459                         MTU from it's NMSetting subclass if needed
5460                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5461                         in NetworkManagerSystem.c, not here
5462
5463         * src/named-manager/nm-named-manager.c
5464           src/named-manager/nm-named-manager.h
5465                 - (nm_named_manager_name_owner_changed,
5466                    nm_named_manager_dbus_connection_changed): fix for changes to
5467                         rewrite_resolv_conf()
5468                 - (compute_nameservers): don't need the NMNamedManager at all, remove
5469                         from parameter list
5470                 - (merge_one_ip4_config): new function; merge ip4 configs together
5471                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5472                         ip4 configs; the VPN config takes precedence, then the best
5473                         device config, then the rest of the configs
5474                 - (get_domain_for_config): take the NMNamedManager as an argument
5475                         to check whether the config is the VPN config
5476                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5477                         attribute from ip4 configs
5478                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5479                 - (remove_ip4_config_from_named): fix for changes to
5480                         get_domain_for_config()
5481                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5482                         based on its type; callers must pass in the type now
5483                 - (get_last_default_domain): remove, unused
5484                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5485
5486         * src/nm-device-802-11-wireless.c
5487                 - (real_can_activate): new function
5488                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5489                 - (real_act_stage4_get_ip4_config): handle MTU override
5490
5491         * src/nm-device-802-3-ethernet.c
5492                 - (real_can_activate): new function
5493                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5494                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5495
5496         * src/vpn-manager/nm-vpn-connection.c
5497                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5498                         attribute on the ip4 config
5499
5500         * src/NetworkManagerPolicy.c
5501                 - (nm_policy_auto_get_best_device): remove
5502                 - (nm_policy_device_change_check): remove
5503                 - (update_default_route): new function; set the default route via
5504                         the specified device
5505                 - (get_device_priority): new function; return the priority number of
5506                         a device type WRT which one should have the default route.  Order is
5507                         (highest to lowest)  wired, wireless, GSM, CDMA.
5508                 - (update_routing_and_dns): new function; determine which device should
5509                         have the default route, then update the routing table and DNS
5510                 - (maybe_auto_activate_device): new function; if a device is now
5511                         available for activation, find out what connection it would like to
5512                         activate and do it
5513                 - (schedule_activate_check): new function; if a device can be activated
5514                         now, schedule the activation.  Each device may have only one
5515                         pending activation at a given time.
5516                 - (device_state_changed): if activation was canceled, try again,
5517                         possibly with another connection; if the device was activated,
5518                         update routing and DNS; if the device was deactivated, try again
5519                         with another connection
5520                 - (device_carrier_changed): if there is no carrier, deactivate the
5521                         device; otherwise schedule an activation check for the device
5522                 - (wireless_networks_changed): schedule an activation check for the
5523                         device
5524                 - (device_added): keep track of the signal handler IDs so they can
5525                         be removed when the device goes away
5526                 - (device_removed): remove any signal handlers that might be attached
5527                         to the device; update routing and DNS
5528                 - (schedule_activate_all): new function
5529                 - (connections_added, connection_added, connection_updated): when
5530                         connections change, schedule all devices for an activation check
5531                 - (connection_removed): when a device is deactivated because its
5532                         connection was removed, schedule another activation check for it
5533                 - (nm_policy_destroy): destroy pending activations and disconnect
5534                         all device signal handlers
5535
5536         * src/nm-manager.c
5537                 - (nm_manager_activate_device): if the device was already actived,
5538                         deactivate it
5539                 - (deactivate_old_device): remove
5540                 - (connection_added_default_handler, impl_manager_activate_device):
5541                         don't deactivate other devices when activating this one
5542
5543         * src/backends/NetworkManagerGentoo.c
5544           src/backends/NetworkManagerFrugalware.c
5545           src/backends/NetworkManagerPaldo.c
5546           src/backends/NetworkManagerRedHat.c
5547           src/backends/NetworkManagerSlackware.c
5548           src/backends/NetworkManagerArch.c
5549           src/backends/NetworkManagerSuSE.c
5550           src/backends/NetworkManagerDebian.c
5551                 - (nm_system_get_mtu): remove; MTU should be provided through the
5552                         distro's system settings service plugin instead
5553                 - (nm_system_device_add_default_route_via_device): remove
5554                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5555                 - (nm_system_device_replace_default_route): new function; call
5556                         generic implementation
5557
5558         * src/backends/NetworkManagerGeneric.c
5559           src/backends/NetworkManagerGeneric.h
5560                 - (nm_generic_device_add_default_route_via_device,
5561                    nm_generic_device_add_default_route_via_device_with_iface): remove
5562                 - (nm_generic_device_replace_default_route): replace the default route
5563                         with the given route via some gateway
5564
5565         * src/NetworkManagerSystem.c
5566           src/NetworkManagerSystem.h
5567                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5568                         to routing and DNS; but set the MTU here
5569                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5570                         ip_iface of the active device; use the standard MTU setting function
5571                 - (nm_system_set_mtu): remove
5572                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5573
5574 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5575
5576         Rework the interaction between ppp manager and pppd plugin. Register a well
5577         known DBUS service in manager and let the plugin call it's methods instead
5578         of listening plugin's signals.
5579
5580         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5581         of emitting signals.
5582
5583         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5584
5585         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5586
5587         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5588         nm_ppp_manager_start().
5589
5590         * introspection/nm-ppp-manager.xml: New file.
5591
5592         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5593         the case correctly where driver is trying to send -1 for the speed, which gets
5594         casted to u16 and thus is always > 0.
5595
5596 2008-03-07  Dan Williams  <dcbw@redhat.com>
5597
5598         * src/nm-hal-manager.c
5599                 - (nm_get_device_driver_name): use net.originating_device first, fall
5600                         back to physical device.  HAL has deprecated physical_device.
5601
5602         * libnm-glib/nm-device.c
5603                 - (get_product_and_vendor): use net.originating_device first, fall
5604                         back to physical device.  HAL has deprecated physical_device.
5605                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5606
5607 2008-03-07  Dan Williams  <dcbw@redhat.com>
5608
5609         * src/nm-netlink.c
5610                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5611                         last commit; fix that
5612                 - (get_link_cache): print error string
5613
5614 2008-03-07  Dan Williams  <dcbw@redhat.com>
5615
5616         * src/nm-netlink.c
5617                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5618                         don't need this hack any more (Benoit Boissinot)
5619
5620 2008-03-06  Dan Williams  <dcbw@redhat.com>
5621
5622         * autogen.sh
5623                 - Die gnome-common, die
5624
5625 2008-03-04  Dan Williams  <dcbw@redhat.com>
5626
5627         Patch from Michael Biebl <biebl@debian.org>
5628
5629         * NetworkManager.pc.in
5630                 - doesn't actually depend on dbus-1
5631
5632         * libnm-util/nm-utils.h
5633                 - remove unused #include <dbus/dbus.h>
5634
5635         * libnm-glib/libnm_glib.pc.in
5636                 - depends on glib and dbus-glib
5637
5638 2008-03-02  Dan Williams  <dcbw@redhat.com>
5639
5640         * src/NetworkManagerPolicy.c
5641                 - s/device_state_changed_idle_id/update_state_id/
5642
5643 2008-03-02  Dan Williams  <dcbw@redhat.com>
5644
5645         * src/nm-device.c
5646           src/nm-device.h
5647           src/nm-device-802-11-wireless.c
5648           src/nm-device-802-3-ethernet.c
5649           src/NetworkManagerPolicy.c
5650                 - s/link_active/carrier
5651                 - nm_device_set_active_link() -> nm_device_set_carrier()
5652                 - nm_device_has_active_link() -> nm_device_get_carrier()
5653
5654 2008-03-02  Dan Williams  <dcbw@redhat.com>
5655
5656         * system-settings/plugins/ifcfg-fedora/parser.c
5657                 - (make_wireless_setting): fail connection creation on missing SSID
5658
5659 2008-02-29  Dan Williams  <dcbw@redhat.com>
5660
5661         * src/NetworkManagerPolicy.c
5662                 - (nm_policy_device_change_check): ensure that a previously active
5663                         device with a system connection has a link before denying a switch
5664                         to a user connection
5665
5666 2008-02-29  Dan Williams  <dcbw@redhat.com>
5667
5668         * src/nm-device-802-11-wireless.c
5669                 - (link_timeout_cb): try again if scanning; deactivate the device when
5670                         activated if the link dies
5671                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5672                         15 seconds
5673
5674 2008-02-29  Dan Williams  <dcbw@redhat.com>
5675
5676         * src/nm-device-802-11-wireless.c
5677           src/nm-device-802-11-wireless.h
5678                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5679                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5680                 - (device_cleanup): reset the scan interval lower when the device
5681                         deactivates
5682                 - (can_scan): base decision mostly off device state, not supplicant
5683                         interface state since the supplicant interface state isn't a
5684                         great indicator of whether the device is active or not
5685                 - (request_wireless_scan): clean up; schedule the next scan here
5686                 - (schedule_scan): only back the scan interval off if a new scan
5687                         actually gets scheduled; and make scan intervals tighter when the
5688                         device is disconnected
5689                 - (supplicant_iface_state_cb_handler): fold in the bits of
5690                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5691                         interval to minimum
5692                 - (activation_success_handler): reset scan interval to something
5693                         reasonable 
5694
5695 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5696
5697         reviewed by: Steev <steev@steev.net>
5698
5699         * configure.in:
5700         * src/backends/NetworkManagerGentoo.c:
5701         (nm_system_restart_mdns_responder):
5702                 Howl is no longer a supported mDNS provider
5703
5704 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5705
5706         Get rid of a bunch of unused distro specific functions.
5707
5708 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5709
5710         Implement suse plugin for system settings daemon.
5711
5712         * system-settings/plugins/ifcfg-suse/*: Implement.
5713
5714         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5715         suse.
5716
5717         * configure.in: Check (without failing) for gio.
5718         Create ifcfg-suse plugin's Makefile.
5719
5720 2008-02-20  Dan Williams  <dcbw@redhat.com>
5721
5722         * libnm-util/nm-connection.c
5723           libnm-util/nm-connection.h
5724                 - (nm_connection_compare): accept compare flags and pass them to the
5725                         setting compare function
5726
5727         * libnm-util/nm-setting.c
5728           libnm-util/nm-setting.h
5729                 - (nm_setting_compare): accept compare flags; ignore properties that are
5730                         marked fuzzy
5731
5732         * libnm-util/nm-setting-connection.c
5733           libnm-util/nm-setting-wireless.c
5734           libnm-util/nm-setting-ppp.c
5735           libnm-util/nm-setting-wired.c
5736                 - Mark some setting properties as ignorable when doing a fuzzy compare
5737
5738         * src/nm-device.c
5739                 - (device_activation_precheck): use exact compare
5740
5741 2008-02-20  Dan Williams  <dcbw@redhat.com>
5742
5743         * src/NetworkManagerPolicy.c
5744                 - (nm_policy_device_change_check): get scope off the connection, not
5745                         using the manager helper
5746
5747         * src/nm-manager.c
5748           src/nm-manager.h
5749                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5750                 - (connection_get_settings_cb): set scope and path on connection, not
5751                         using GObject data items
5752                 - (get_connection_for_proxy): don't need to return path, since that
5753                         can be gotten from the connection
5754                 - (get_connection_for_proxy): get path off the connection, not from
5755                         parameters
5756                 - (connection_removed_cb, connection_updated_cb): don't need to get
5757                         path from get_connection_for_proxy(); get scope off the connection
5758                         instead of using GObject data items
5759                 - (connection_added_default_handler, add_one_connection_element): use
5760                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5761                 - (nm_manager_get_connection_dbus_path): remove
5762                 - (nm_manager_get_connection_scope): remove
5763
5764 2008-02-20  Dan Williams  <dcbw@redhat.com>
5765
5766         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5767                 on confusing names
5768
5769         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5770                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5771                 NMExportedConnection
5772
5773         * Internally rename NMConnectionType -> NMConnectionScope
5774
5775         * Provide default implementations of the 'get_id' and 'get_settings' methods
5776                 of NMExportedConnection
5777
5778 2008-02-15  Dan Williams  <dcbw@redhat.com>
5779
5780         * src/nm-device-802-11-wireless.c
5781                 - (device_cleanup): release the AP list here too so that the AP list
5782                         doesn't survive across suspend/resume and up/down.  There is some
5783                         room for optimization, for example blow the list away when the card
5784                         brought back up, but only if the device has only been down for a
5785                         minute or more.
5786
5787 2008-02-15  Dan Williams  <dcbw@redhat.com>
5788
5789         * src/nm-hal-manager.c
5790                 - (modem_device_creator): recognize new HAL modem capabilities
5791
5792 2008-02-12  Dan Williams  <dcbw@redhat.com>
5793
5794         * system-settings/plugins/ifcfg-fedora/plugin.c
5795                 - (watch_path): handle IN_DELETE_SELF too
5796                 - (handle_connection_changed): notify when removing a connection
5797                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5798                         case of a file moving out of the profile directory
5799
5800 2008-02-12  Dan Williams  <dcbw@redhat.com>
5801
5802         * system-settings/plugins/ifcfg-fedora/parser.c
5803                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5804
5805 2008-02-12  Dan Williams  <dcbw@redhat.com>
5806
5807         * libnm-util/nm-utils.c
5808                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5809                         just any empty array
5810
5811 2008-02-12  Dan Williams  <dcbw@redhat.com>
5812
5813         * system-settings/src/nm-system-config-interface.c
5814           system-settings/src/nm-system-config-interface.h
5815                 - (load_connections): get_connections() should now return an allocated
5816                         GSList that the system settings service will free
5817
5818         * system-settings/plugins/ifcfg-fedora/plugin.c
5819           system-settings/plugins/ifcfg-fedora/parser.h
5820           system-settings/plugins/ifcfg-fedora/parser.c
5821                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5822                         in the profile directory, handle resolv.conf file changes
5823
5824 2008-02-10  Dan Williams  <dcbw@redhat.com>
5825
5826         * src/nm-device-802-3-ethernet.c
5827                 - (real_bring_up): save the supplicant interface state signal id
5828                 - (real_bring_down): disconnect from the supplicant interface state
5829                         signal
5830
5831 2008-02-07  Dan Williams  <dcbw@redhat.com>
5832
5833         * initscript/RedHat/NetworkManager.in
5834           initscript/RedHat/NetworkManagerDispatcher.in
5835                 - Add new-style LSB init headers
5836
5837 2008-02-07  Dan Williams  <dcbw@redhat.com>
5838
5839         * system-settings/src/dbus-settings.c
5840           system-settings/src/dbus-settings.h
5841                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5842                         table of secrets
5843                 - (connection_settings_get_secrets): consolidate error returns into
5844                         one place; use the new get_secrets() plugin interface function to
5845                         get secrets from the plugin itself rather than using GObject data
5846                         magic
5847
5848         * system-settings/src/main.c
5849                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5850                    load_connections): keep a private list of the plugin-returned
5851                         connections, don't use the plugin's GSList
5852
5853         * system-settings/plugins/ifcfg-fedora/plugin.c
5854                 - (watch_path): watch the path, not the filename (duh)
5855                 - (reload_all_connections): use the direct hash/equal functions; the
5856                         ones for int aren't appropriate here
5857                 - (get_secrets, system_config_interface_init): implement the
5858                         get_secrets() function
5859                 - (build_one_connection, find_connection_by_path): ifcfg file path is
5860                         now in the connection's ConnectionData instead of being a GObject
5861                         data property
5862                 - (handle_profile_item_changed): ifcfg file path is now in the
5863                         connection's ConnectionData instead of being a GObject data property;
5864                         be sure to copy secrets over from the new connection to the existing
5865                         connection when updating the connection's settings
5866                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5867                         file descriptor
5868
5869         * system-settings/plugins/ifcfg-fedora/parser.c
5870           system-settings/plugins/ifcfg-fedora/parser.h
5871                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5872                    connection_data_copy_secrets, connection_data_free,
5873                    connection_data_add): new functions; connection data manipulation
5874                 - (make_wireless_security_setting): stuff secrets into the
5875                         connection data, not as GObject data items; make sure to close
5876                         the keys ifcfg file
5877                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5878                         connection data to the connection
5879
5880 2008-02-07  Dan Williams  <dcbw@redhat.com>
5881
5882         * system-settings/src/nm-system-config-interface.c
5883           system-settings/src/nm-system-config-interface.h
5884                 - Add a get_secrets() interface function to retrieve secrets for a
5885                         specific setting of a specific connection.  Document the interface
5886                         a bit more too.
5887
5888 2008-02-07  Dan Williams  <dcbw@redhat.com>
5889
5890         * src/nm-device-802-11-wireless.c
5891                 - (handle_auth_or_fail): new function; consolidate device activation
5892                         failure check after a certain number of failures getting secrets
5893                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5894                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5895                         the connection if secrets were requested more than a few times
5896                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5897                         tries here; otherwise they are cleared before the IP configure
5898                         timeout, which happens with open system WEP when key is wrong
5899                 - (activation_success_handler): clear wireless secrets tries here too
5900
5901 2008-02-07  Dan Williams  <dcbw@redhat.com>
5902
5903         * src/NetworkManagerPolicy.c
5904                 - (connection_updated): clear invalid tag when connection gets updated
5905                         to allow that connection to be tried again
5906                 - (nm_policy_new): save signal ids so they can be disconnected when
5907                         the policy is destroyed
5908                 - (nm_policy_destroy): stop any in-progress state change idle handler,
5909                         and disconnect all signals from the manager object so that none
5910                         of the policy functions gets called after the policy is destroyed
5911
5912 2008-02-06  Dan Williams  <dcbw@redhat.com>
5913
5914         * src/nm-manager.c
5915                 - (finalize): remove devices a bit earlier; clean up system settings
5916                         poke
5917                 - (nm_manager_name_owner_changed): clean up system settings poke when
5918                         the service appears, and try to restart it if it fails
5919                 - (poke_system_settings_daemon_cb): try to get the system settings
5920                         service started through D-Bus service activation
5921                 - (initial_get_connections): start the system settings daemon if it's
5922                         not already running
5923
5924 2008-02-05  Dan Williams  <dcbw@redhat.com>
5925
5926         * src/supplicant-manager/nm-supplicant-config.c
5927                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5928                         broadcast networks too
5929
5930 2008-02-04  Dan Williams  <dcbw@redhat.com>
5931
5932         * system-settings/plugins/ifcfg-fedora/parser.c
5933                 - (make_wireless_security_setting): fix spelling; unencrypted networks
5934                         need key_mgmt set too
5935                 - (parser_parse_file): validate ifcfg file name and don't try to parse
5936                         .bak files; ensure that an error is set whenever NULL gets returned
5937
5938 2008-02-04  Dan Williams  <dcbw@redhat.com>
5939
5940         * system-settings/src/Makefile.am
5941                 - Install D-Bus service activation file for the system settings
5942                         service
5943
5944         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5945                 - D-Bus service activation file for system settings service
5946
5947 2008-02-04  Dan Williams  <dcbw@redhat.com>
5948
5949         * system-settings/src/main.c
5950                 - (parse_config_file): parse a config file
5951                 - (main): accept --config option and read plugins from config file
5952
5953 2008-02-04  Dan Williams  <dcbw@redhat.com>
5954
5955         * system-settings/plugins/ifcfg-fedora/plugin.c
5956                 - Change reported name to 'ifcfg-fedora'
5957                 - Use IFCFG_PLUGIN_NAME
5958
5959         * system-settings/plugins/ifcfg-fedora/plugin.c
5960                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5961
5962 2008-02-04  Dan Williams  <dcbw@redhat.com>
5963
5964         * system-settings/plugins/ifcfg-fedora/parser.c
5965                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5966                 - (make_connection_setting): use get_ifcfg_name()
5967                 - (make_wireless_security_setting): handle shadow key files
5968                 - (get_one_wep_key): treat empty string as NULL
5969
5970 2008-02-04  Dan Williams  <dcbw@redhat.com>
5971
5972         * src/supplicant-manager/nm-supplicant-manager.c
5973                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5974                         glib automatically reschedule
5975                 - (nm_supplicant_manager_init): immediately try to start the supplicant
5976                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5977                         the supplicant
5978
5979 2008-02-01  Dan Williams  <dcbw@redhat.com>
5980
5981         * src/NetworkManagerPolicy.c
5982                 - (device_state_changed): schedule a change check when a device gets
5983                         deactivated so something happens if you disconnect GSM/CDMA
5984
5985 2008-01-31  Dan Williams  <dcbw@redhat.com>
5986
5987         * src/nm-device-802-11-wireless.h
5988           src/nm-device-802-11-wireless.c
5989                 - (ap_list_get_ap_by_ssid, is_associated,
5990                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5991                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5992                 - (nm_device_802_11_wireless_get_activation_ap): collapse
5993                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5994                         function
5995
5996 2008-01-30  Dan Williams  <dcbw@redhat.com>
5997
5998         * system-settings/plugins/ifcfg
5999         * system-settings/plugins/ifcfg-fedora
6000                 - Move the ifcfg plugin to ifcfg-fedora
6001
6002 2008-01-24  Dan Williams  <dcbw@redhat.com>
6003
6004         * libnm-glib/nm-device-802-11-wireless.c
6005                 - (get_access_point): move the "/" check here; check for invalid path
6006                         too
6007                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
6008                         to get_access_point()
6009                 - (access_point_added_proxy, access_point_removed_proxy): don't try
6010                         to send signals for non-existent access points
6011
6012 2008-01-24  Dan Williams  <dcbw@redhat.com>
6013
6014         * libnm-glib/nm-device-802-11-wireless.c
6015                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
6016
6017 2008-01-23  Dan Williams  <dcbw@redhat.com>
6018
6019         * libnm-glib/libnm_glib.c
6020                 - (libnm_glib_init): make thread joinable
6021                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
6022
6023 2008-01-23  Dan Williams  <dcbw@redhat.com>
6024
6025         * test/libnm_glib_test.c
6026                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
6027                 - (main): set up signal handlers; call libnm_glib_shutdown
6028
6029 2008-01-21  Dan Williams  <dcbw@redhat.com>
6030
6031         * include/NetworkManager.h
6032                 - Add CDMA mobile broadband card device type
6033
6034         * src/nm-hal-manager.c
6035                 - (modem_device_creator): handle both CDMA and GSM modems; the device
6036                         must now be tagged with 'cdma' or 'gsm' capability
6037
6038         * src/nm-cdma-device.c
6039           src/nm-cdma-device.h
6040           src/Makefile.am
6041                 - Add the CDMA mobile broadband card device class
6042
6043         * libnm-util/nm-connection.c
6044                 - (register_default_settings): add NMSettingCdma
6045
6046         * libnm-util/nm-setting-cdma.c
6047           libnm-util/nm-setting-cdma.h
6048           libnm-util/Makefile.am
6049                 - Add the CDMA mobile broadband card setting class
6050
6051         * libnm-glib/nm-cdma-device.c
6052           libnm-glib/nm-cdma-device.h
6053           libnm-glib/Makefile.am
6054                 - Add the CDMA mobile broadband card GLib proxy class
6055
6056         * libnm-glib/nm-client.c
6057                 - (get_device): handle CDMA devices too
6058
6059 2008-01-21  Dan Williams  <dcbw@redhat.com>
6060
6061         * src/ppp-manager/nm-ppp-manager.c
6062                 - (ip4_config_get): set peer address too
6063
6064         * src/ppp-manager/nm-pppd-plugin.c
6065                 - (nm_ip_up): try harder to get the peer's address
6066
6067         * src/NetworkManagerSystem.c
6068                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6069                         address, use that too.  Otherwise, some PPP connections won't work.
6070
6071 2008-01-19  Dan Williams  <dcbw@redhat.com>
6072
6073         * src/NetworkManagerPolicy.c
6074                 - (nm_policy_device_change_check): system connections override user
6075                         connections; don't activate a user connection if there's a currently
6076                         active system connection, and new, better system connections always
6077                         interrupt user connections
6078
6079 2008-01-19  Dan Williams  <dcbw@redhat.com>
6080
6081         * src/nm-manager.h
6082                 - (nm_manager_get_connection_type): new function
6083
6084 2008-01-19  Dan Williams  <dcbw@redhat.com>
6085
6086         * src/nm-device-802-11-wireless.c
6087                 - (real_get_best_connection): collapse find_best_connection() into this
6088                         function
6089
6090 2008-01-19  Dan Williams  <dcbw@redhat.com>
6091
6092         * src/nm-device-802-3-ethernet.c
6093                 - (real_get_best_connection): collapse find_best_connection() into this
6094                         function
6095
6096 2008-01-18  Dan Williams  <dcbw@redhat.com>
6097
6098         * src/nm-device-802-3-ethernet.c
6099                 - (find_best_connection): check MAC address too
6100                 - (real_get_best_connection): let autoconnect=True connections activate
6101                         for devices that don't have carrier detection
6102
6103         * src/nm-device-802-11-wireless.c
6104                 - (find_best_connection): check MAC address too
6105
6106 2008-01-18  Dan Williams  <dcbw@redhat.com>
6107
6108         * system-settings/plugins/ifcfg/parser.c
6109                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6110
6111 2008-01-17  Dan Williams  <dcbw@redhat.com>
6112
6113         * src/nm-device-802-3-ethernet.c
6114                 - (nm_device_802_3_ethernet_carrier_on,
6115                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6116                         carrier events that might come in for devices that don't support
6117                         carrier detect
6118
6119 2008-01-17  Dan Williams  <dcbw@redhat.com>
6120
6121         * src/nm-device-interface.c
6122                 - (nm_device_interface_check_connection_conflicts): need to actually
6123                         get the interface, not cast to the object
6124
6125         * src/nm-device.c
6126                 - (nm_device_check_connection_conflicts): need to get the device class,
6127                         not cast the device to the device class
6128
6129 2008-01-17  Dan Williams  <dcbw@redhat.com>
6130
6131         * src/nm-device-802-11-wireless.c
6132                 - (real_check_connection_conflicts): ignore connections that aren't
6133                         wireless connections
6134
6135 2008-01-17  Dan Williams  <dcbw@redhat.com>
6136
6137         * src/NetworkManagerPolicy.c
6138                 - (nm_policy_device_change_check): clear change check idle here
6139                 - (device_change_check_done): remove
6140                 - (schedule_change_check): simplify
6141
6142 2008-01-17  Dan Williams  <dcbw@redhat.com>
6143
6144         * src/nm-manager.c
6145                 - (check_connection_allowed): take an NMDeviceInterface instead of
6146                         an NMDevice object as an argument
6147                 - (nm_manager_activate_device): pass an NMDeviceInterface to
6148                         check_connection_allowed()
6149
6150 2008-01-13  Dan Williams  <dcbw@redhat.com>
6151
6152         * libnm-glib/nm-device-802-11-wireless.c
6153                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6154
6155 2008-01-12  Dan Williams  <dcbw@redhat.com>
6156
6157         * src/nm-device-802-11-wireless.c
6158                 - (activation_success_handler): if a match was found in the scan list
6159                         and that match is a hidden AP, update that AP's SSID
6160
6161 2008-01-11  Dan Williams  <dcbw@redhat.com>
6162
6163         * src/NetworkManagerAP.c
6164                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6165
6166         * src/nm-device-802-11-wireless.c
6167                 - (get_active_ap): do two passes over the scan list if the caller
6168                         requests that hidden APs get matched too; during the second pass
6169                         when matching hidden APs, ignore the SSID since hidden APs in the
6170                         scan list don't have an SSID yet
6171                 - (periodic_update): move some checks to
6172                         nm_device_802_11_periodic_update() because not all callers need them
6173                 - (nm_device_802_11_periodic_update): move some checks here from
6174                         perodic_update()
6175                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6176                         matching on incoming scan results, because the fake AP's flags
6177                         might be slightly different (yet still compatible) with the incoming
6178                         scan result's flags and they might actually be the same AP; update
6179                         the rate on merged APs too
6180                 - (activation_success_handler): update the frequency of the fake AP
6181                         on successful connection; match hidden APs too since if the
6182                         current AP is fake, there might already be a scan result in the
6183                         scan list for the desired AP, just without it's SSID filled in yet
6184
6185 2008-01-10  Dan Williams  <dcbw@redhat.com>
6186
6187         * src/NetworkManagerAP.c
6188                 - (foreach_property_cb): catch more hidden SSID formats
6189
6190 2008-01-10  Dan Williams  <dcbw@redhat.com>
6191
6192         Fix gnome.org #464215.  Requires the kernel patch titled
6193         "Introduce WEXT scan capabilities" but will handle the patch not being
6194         present, you'll just continue to have problems with hidden SSIDs when
6195         using mac80211-based drivers.
6196
6197         * src/supplicant-manager/nm-supplicant-config.h
6198           src/supplicant-manager/nm-supplicant-config.c
6199                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6200                         whether the driver supports SSID scans or not.  If it does, and if
6201                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
6202
6203         * src/nm-device-802-11-wireless.c
6204                 - (constructor): check whether or not the driver supports SSID scans
6205                 - (build_supplicant_config): pass driver SSID scan capability when
6206                         building the wireless bits of the supplicant config
6207
6208 2008-01-09  Dan Williams  <dcbw@redhat.com>
6209
6210         * src/nm-device.c
6211           src/nm-device.h
6212                 - (device_activation_precheck, check_connection_complete): remove this
6213                         virtual function; incomplete connections should be invalid by
6214                         definition, complete-ness should be checked in the setting's
6215                         verify function
6216
6217         * src/nm-serial-device.c
6218           src/nm-gsm-device.c
6219                 - (real_check_connection_complete): remove
6220
6221         * libnm-util/nm-setting-serial.c
6222                 - (verify): new function; ensure there is a PPP setting too
6223
6224         * libnm-util/nm-setting-gsm.c
6225                 - (verify): ensure there is a serial setting too
6226
6227 2008-01-06  Dan Williams  <dcbw@redhat.com>
6228
6229         * src/dhcp-manager/nm-dhcp-manager.c
6230                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6231                         (gnome.org #332953)
6232
6233 2008-01-04  Dan Williams  <dcbw@redhat.com>
6234
6235         * src/named-manager/nm-named-manager.c
6236                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6237                         nameservers if the secondary config doesn't have any
6238                         (gnome.org #346833)
6239
6240 2008-01-02  Tambet Ingo  <tambet@gmail.com>
6241
6242         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6243         with G_PARAM_CONSTRUCT so that they get the default values.
6244
6245         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6246         the monitoring device and prints out the output for now. Or more precicely, doesn't
6247         do absolutely anything right now since the montoring device argument is never set.
6248
6249         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6250         requires it's own knob to turn it on.
6251         (config_fd): Add NMSettingSerial to the arguments list.
6252         (nm_serial_device_open): Ditto.
6253         (get_reply_got_data): Ignore the terminators at the beginning of the output.
6254         (nm_serial_device_get_io_channel): Implement.
6255
6256         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6257         a new reference every time (and forgetting to release it sometimes) is a pain and
6258         it's not like NMManager could work without dbus.
6259         (nm_manager_add_device): Register the added device on dbus here.
6260
6261         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6262         device.
6263
6264         * src/nm-device.c (constructor): Don't export the device here, instead export
6265         it when it's added to the NMManager's device list.
6266
6267 2007-12-31  Dan Williams  <dcbw@redhat.com>
6268
6269         * src/nm-device-interface.c
6270           src/nm-device-interface.h
6271                 - (nm_device_interface_check_connection_conflicts): new function
6272
6273         * src/nm-device.c
6274           src/nm-device.h
6275                 - (nm_device_check_connection_conflicts): new function
6276                 - (device_activation_precheck): don't require subclasses to implement
6277                         check_connection_complete()
6278                 - check_connection() -> check_connection_complete()
6279
6280         * src/nm-device-802-11-wireless.c
6281                 - (real_check_connection): remove; unused
6282                 - (real_check_connection_conflicts): implement, handle lockdown for
6283                         system connections
6284
6285         * src/nm-device-802-3-ethernet.c
6286                 - (real_check_connection): remove; unused
6287
6288         * src/nm-manager.c
6289                 - (check_connection_allowed): new function
6290                 - (nm_manager_activate_device): ensure the connection being requested
6291                         is allowed to be activated
6292
6293         * src/nm-serial-device.c
6294           src/nm-gsm-device.c
6295                 - real_check_connection() -> real_check_connection_complete()
6296
6297 2007-12-27  Dan Williams  <dcbw@redhat.com>
6298
6299         * src/nm-device-interface.c
6300           src/nm-device-interface.h
6301                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6302                         normalize and expand errors
6303                 - (nm_device_interface_init): register errors so they can be marshalled
6304                         through dbus-glib
6305                 - (nm_device_interface_activate): ensure that failure of activation
6306                         returns an error
6307
6308         * src/nm-device.c
6309           src/nm-device.h
6310                 - (device_activation_precheck): implementations of check_connection()
6311                         now take a GError and must fill it in if the check fails.  Return
6312                         more descriptive error if the requested connection is already
6313                         activating
6314                 - (nm_device_activate): actually try to return descriptive errors on
6315                         failures
6316
6317         * src/nm-device-802-11-wireless.c
6318           src/nm-device-802-3-ethernet.c
6319           src/nm-serial-device.c
6320           src/nm-gsm-device.c
6321                 - (real_check_connection): return more descriptive errors on failure
6322
6323         * src/NetworkManagerPolicy.c
6324                 - (nm_policy_device_change_check): print activation errors in the logs
6325
6326         * src/nm-manager.c
6327                 - (nm_manager_error_quark, nm_manager_error_get_type,
6328                    nm_manager_class_init): new errors
6329                 - (nm_manager_activate_device): handle errors
6330                 - (nm_manager_error_new): removed
6331                 - (wait_for_connection_expired, connection_added_default_handler,
6332                    impl_manager_activate_device): better error handling
6333
6334 2007-12-27  Dan Williams  <dcbw@redhat.com>
6335
6336         Fixes gnome.org #466954
6337
6338         * src/supplicant-manager/nm-supplicant-settings-verify.c
6339                 - Allow 'frequency' network property
6340
6341         * src/supplicant-manager/nm-supplicant-config.c
6342           src/supplicant-manager/nm-supplicant-config.h
6343                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6344                         for callers to specify the frequency an Ad-Hoc network should operate
6345                         on.  Some drivers require this to successfully create an Ad-Hoc
6346                         network.
6347
6348         * src/nm-device-802-11-wireless.c
6349                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6350                         guint32 value in MHz
6351                 - (constructor, nm_device_802_11_wireless_get_frequency): use
6352                         iw_freq_to_uint32()
6353                 - (find_supported_frequency): new function; find a free supported
6354                         frequency for a user-created Ad-Hoc network
6355                 - (build_supplicant_config): if no frequency was specified for a user-
6356                         created Ad-Hoc network, find a free one to use
6357                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6358                         a specific object as user-created
6359
6360 2007-12-27  Dan Williams  <dcbw@redhat.com>
6361
6362         * libnm-util/nm-utils.c
6363           libnm-util/nm-utils.h
6364                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6365                         for adhoc networks
6366
6367 2007-12-24  Dan Williams  <dcbw@redhat.com>
6368
6369         * libnm-util/nm-setting-wireless.c
6370                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6371                         185, 187, 188, 192, and 196
6372
6373 2007-12-24  Dan Williams  <dcbw@redhat.com>
6374
6375         * src/nm-device-802-11-wireless.c
6376                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6377                         a channel # instead of a frequency
6378
6379 2007-12-24  Dan Williams  <dcbw@redhat.com>
6380
6381         * src/NetworkManagerAP.c
6382           src/NetworkManagerAP.h
6383                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6384                 - (freq_to_channel): handle split band tables
6385                 - (channel_to_freq): handle split band tables, take a band argument
6386
6387 2007-12-24  Dan Williams  <dcbw@redhat.com>
6388
6389         * libnm-util/nm-setting-connection.h
6390           libnm-util/nm-setting-connection.c
6391                 - Add 'lockdown' member
6392
6393 2007-12-22  Dan Williams  <dcbw@redhat.com>
6394
6395         * libnm-util/nm-setting-wireless.c
6396                 - (nm_setting_wireless_class_init): add missing 'rate' property
6397                         specification
6398
6399 2007-12-18  Dan Williams  <dcbw@redhat.com>
6400
6401         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6402
6403         * src/nm-netlink-monitor.c
6404           src/nm-netlink-monitor.h
6405                 - Remove handrolled netlink, use libnl instead
6406
6407         * src/nm-device-802-3-ethernet.c
6408                 - (constructor, nm_device_802_3_ethernet_carrier_off,
6409                    nm_device_802_3_ethernet_carrier_on): use new names
6410
6411 2007-12-17  Dan Williams  <dcbw@redhat.com>
6412
6413         * configure.in
6414                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6415                         and fixes memory leaks)
6416
6417         * src/nm-netlink.c
6418                 - (nm_netlink_get_default_handle): handle new versions of libnl that
6419                         automatically handle the netlink PID
6420
6421 2007-12-17  Dan Williams  <dcbw@redhat.com>
6422
6423         Patch from Michael Biebl <biebl@debian.org>
6424
6425         * configure.in
6426           src/ppp-manager/Makefile.am
6427                 - fix up install dir of pppd plugin
6428                 - clean up configure.in a bit
6429
6430 2007-12-12  Dan Williams  <dcbw@redhat.com>
6431
6432         * system-settings/src/nm-system-settings.conf
6433                 - Allow non-root clients (like the applet) to read settings
6434
6435 2007-12-10  Tambet Ingo  <tambet@gmail.com>
6436
6437         * Replace all occurences of 'UMTS' with 'GSM'.
6438
6439 2007-12-07  Dan Williams  <dcbw@redhat.com>
6440
6441         * src/nm-serial-device.c
6442                 - (real_is_up): serial devices are always "up"
6443
6444 2007-12-07  Dan Williams  <dcbw@redhat.com>
6445
6446         * src/nm-netlink.c
6447           src/NetworkManagerSystem.c
6448                 - (new_nl_handle): ensure that the same netlink pid is never chosen
6449                         twice (gnome.org #491047)
6450                 - Make more robust against allocation-related failures should they occur
6451
6452 2007-12-07  Dan Williams  <dcbw@redhat.com>
6453
6454         Noticed by Christian Persch <chpe@gnome.org>
6455
6456         Always chain up to parent object in dispose and finalize handlers.
6457                 (gnome.org #433112)
6458
6459 2007-12-07  Dan Williams  <dcbw@redhat.com>
6460
6461         * src/nm-device-802-11-wireless.c
6462                 - Wrap #include of linux/mii.h to fix redefined structures due to
6463                         incorrect kernel headers (gnome.org #350061)
6464
6465 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6466
6467         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6468         before doing anything else.
6469         (init_modem): Move modem initialization here.
6470
6471         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6472         (nm_serial_device_flash): Implement.
6473
6474         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6475         changes signal is "StateChanged" and not "Status".
6476         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6477
6478 2007-12-06  Dan Williams  <dcbw@redhat.com>
6479
6480         * src/supplicant-manager/nm-supplicant-config.c
6481                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6482                         to only send some options when they make sense; also send phase2
6483                         option to the supplicant (possible fix for rh #399631)
6484
6485 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6486
6487         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6488         arguments: This whole file shouldn't really know anything about NMDevices, it
6489         should deal only with device interfaces. Devices might have different ifaces for
6490         different stuff and this place shouldn't know anything about it.
6491
6492         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6493         (global_state_changed): Implement. In the current NM it's not really important,
6494         but will be required in the case of multiple active devices. (Or even better,
6495         if stuff like that gets moved out from NM).
6496
6497         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6498         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6499         instead.
6500
6501         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6502         devices like serial devices (ttyS0 and ppp0 for example).
6503         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6504         set.
6505         (nm_device_set_ip_iface): Implement.
6506         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6507         after setting ip4_config from here ...
6508         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6509         than this function should call nm_system_device_set_from_ip4_config() because no
6510         other code has enough information on which arguments to use. So instead, other code
6511         could just set the new ip4 config using this function and everyone is happy.
6512
6513         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6514         if we happen to get deactivated while something is pending.
6515         (automatic_registration): Handle the response that indicates pending network
6516         registration and wait until the pending registration is done.
6517         (real_deactivate_quickly): If there's a pending operation, cancel it.
6518
6519         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6520         (real_deactivate_quickly): ... and remove it when it's down.
6521         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6522         it if needed.
6523         (nm_serial_device_wait_for_reply): Ditto.
6524
6525 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6526
6527         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6528         (get_network_done): Remove newline, nm_info() does it already.
6529         (real_act_stage1_prepare): Turn the modem echo off.
6530
6531         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6532         device, set the route to the device interface. This is a hack.
6533
6534         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6535         return, no need for a new-line.
6536         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6537         Change the device iface here (ugh).
6538         (real_act_stage4_get_ip4_config): Implement.
6539         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6540         Restore the device iface.
6541
6542         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6543         device is not wired or wireless (eg, automatically upped) device.
6544
6545         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6546         it isn't.
6547         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6548
6549         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6550         before calling it's is_device_fn().
6551
6552 2007-12-05  Dan Williams  <dcbw@redhat.com>
6553
6554         * libnm-util/nm-utils.c
6555                 - (nm_utils_register_value_transformations,
6556                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6557                         GHashTables of GValues too
6558
6559 2007-12-04  Dan Williams  <dcbw@redhat.com>
6560
6561         * initscript/RedHat/NetworkManager.in
6562                 - No longer start named; it's D-Bus interface is going away
6563
6564 2007-12-04  Dan Williams  <dcbw@redhat.com>
6565
6566         Patch from Michael Biebl <biebl@debian.org>
6567
6568         * system-settings/plugins/ifcfg/Makefile.am
6569           system-settings/src/main.c
6570           system-settings/src/Makefile.am
6571                 - Put system settings plugins in NM plugins dir
6572
6573         * src/ppp-manager/Makefile.am
6574           src/ppp-manager/nm-ppp-manager.c
6575                 - Move pppd plugin to NM plugins dir
6576
6577 2007-12-04  Dan Williams  <dcbw@redhat.com>
6578
6579         * libnm-util/nm-setting-vpn-properties.h
6580                 - Clarify usage of the 'data' member of the setting
6581
6582         * libnm-util/nm-setting-vpn-properties.c
6583                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6584                 - (set_property): just remove all the settings; don't recreate the has
6585                 - (update_one_secret): don't need to create the hash table here since
6586                         it should always be present
6587
6588 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6589
6590         Implement PIN and PUK requesting.
6591
6592         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6593         (enter_pin): Handle PIN and PUK requests.
6594         (real_act_stage1_prepare): Clear the secret type.
6595         (real_connection_secrets_updated): Implement this class method to get
6596         notified when new secrets arrive.
6597         (nm_umts_device_class_init): Add private data back to the umts device class
6598         to store the required secret type.
6599
6600 2007-12-01  Dan Williams  <dcbw@redhat.com>
6601
6602         * system-settings/plugins/ifcfg/parser.c
6603                 - (parser_parse_file): don't try to verify NULL connections
6604
6605 2007-12-01  Dan Williams  <dcbw@redhat.com>
6606
6607         * system-settings/src/main.c
6608                 - (load_connections, add_connection_to_settings): actually export
6609                         plugin-provided connections over D-Bus so NM can get them
6610
6611 2007-12-01  Dan Williams  <dcbw@redhat.com>
6612
6613         * system-settings/plugins/ifcfg/parser.c
6614           system-settings/plugins/ifcfg/parser.h
6615           system-settings/plugins/ifcfg/plugin.c
6616                 - Hook up more inotify bits (untested)
6617
6618 2007-11-29  Dan Williams  <dcbw@redhat.com>
6619
6620         * system-settings/src/nm-system-config-interface.h
6621           system-settings/src/nm-system-config-interface.c
6622                 - (nm_system_config_interface_init,
6623                    nm_system_config_interface_get_connections): add
6624
6625         * system-settings/src/main.c
6626                 - (load_plugins, load_connections, main): use a GSList for plugins
6627                         to ensure priority ordering
6628
6629         * system-settings/plugins/ifcfg/parser.c
6630                 - (ifcfg_error_quark): move to plugin.c, and rename
6631
6632         * system-settings/plugins/ifcfg/plugin.h
6633           system-settings/plugins/ifcfg/plugin.c
6634                 - (ifcfg_plugin_error_quark): move here from parser.c
6635                 - rework connection loading and initialization
6636                 - Add preliminary inotify support for network profile config file
6637
6638 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6639
6640         Merge the beginnings of the new GSM card support.
6641
6642         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6643         ppp watch source before killing pppd - If this happens from g_object_unref()
6644         then the ppp manager is already destroyed by the time the watch callback runs.
6645
6646         * src/nm-hal-manager.c: Add a device_type_name string to the device
6647         creators, so that we can print a nice human readable string when a
6648         device is added.
6649
6650         * src/nm-umts-device.c (automatic_registration_get_network): Query
6651         for the activated network, not much is done with the result thought.
6652
6653         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6654         (ppp_ip4_config): Change the device state to activated here for now.
6655         (real_check_connection): Make sure the connection includes ppp setting.
6656
6657         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6658
6659         * libnm-glib/Makefile.am: Add the new files to build.
6660
6661         * libnm-glib/nm-umts-device.c: 
6662         * libnm-glib/nm-umts-device.h: Implement.
6663
6664 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6665
6666         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6667         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6668
6669         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6670         the timeout source - this function is only called when the timeout source has
6671         been removed.
6672         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6673         to be big enough to contain the terminating zero element as well.
6674         The timeout argument is meant to be in seconds now.
6675         (real_deactivate_quickly): Implement.
6676
6677         * src/NetworkManager.conf: Allow root to own 
6678         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6679
6680         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6681         (not unsigned ints).
6682
6683         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6684         small issue with parity bounds - capital letters have lower ascii codes
6685         than lower case letters.
6686
6687         * libnm-util/nm-connection.c (register_default_settings): Register serial
6688         and umts settings.
6689
6690 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6691
6692         Remove the "index" property from devices as not all device types have this.
6693
6694         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6695
6696         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6697         (wired_device_creator): Get the device interface from hal to create the device.
6698         (wireless_device_creator): Ditto.
6699
6700         * src/nm-device.c (nm_device_init): Remove the index member.
6701         (constructor): Remove the checks for index property, make interface property
6702         a require constructor property.
6703         Use the HAL udi for DBus path for devices.
6704         (nm_device_get_index): Remove.
6705         (set_property): Remove index handling.
6706         (get_property): Ditto.
6707         (nm_device_get_dbus_path): Remove.
6708
6709         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6710         property.
6711
6712         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6713         Access the device index through it's interface.
6714         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6715         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6716         index argument. Add interface argument.
6717
6718         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6719         the useless test_dev argument. Remove index argument. Add interface arugment.
6720
6721         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6722         device index through interface.
6723         (nm_system_set_mtu): Ditto.
6724
6725         * introspection/nm-device.xml: Remove the "Index" property.
6726
6727 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6728
6729         * src/nm-serial-device.c: 
6730         * src/nm-serial-device.c: 
6731         * src/nm-umts-device.c:
6732         * src/nm-umts-device.h: Implement.
6733
6734         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6735         allocated by libhal.
6736         (modem_device_creator): Implement.
6737         (register_built_in_creators): Register the modem creator.
6738
6739         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6740         Remove the unused test_dev argument.
6741
6742         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6743
6744         * src/Makefile.am: Add new files to build.
6745         Link in ppp-manager.
6746
6747         * libnm-util/nm-setting-umts.c: 
6748         * libnm-util/nm-setting-umts.h: 
6749         * libnm-util/nm-setting-serial.c: 
6750         * libnm-util/nm-setting-serial.h: Implement.
6751
6752         * libnm-util/Makefile.am: Add new files to build.
6753
6754 2007-11-28  Dan Williams  <dcbw@redhat.com>
6755
6756         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6757
6758         Support DHCP-provided static routes.
6759
6760         * src/nm-ip4-config.h
6761           src/nm-ip4-config.c
6762                 - Add get/set functions for static routes
6763
6764         * src/dhcp-manager/nm-dhcp-manager.c
6765                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6766                         DHCP response
6767
6768         * src/NetworkManagerSystem.c
6769                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6770                         interface when applying the IP4Config
6771
6772 2007-11-28  Dan Williams  <dcbw@redhat.com>
6773
6774         * src/nm-device-802-11-wireless.c
6775                 - (real_act_stage1_prepare): mark APs created for hidden networks
6776                         as non-broadcasting
6777
6778 2007-11-27  Dan Williams  <dcbw@redhat.com>
6779
6780         * system-settings/src/nm-system-config-interface.h
6781                 - Note how to store secrets on NMSetting objects
6782
6783         * system-settings/src/dbus-settings.c
6784                 - (connection_settings_get_secrets): implement
6785
6786 2007-11-27  Dan Williams  <dcbw@redhat.com>
6787
6788         * system-settings/plugins/ifcfg/Makefile.am
6789           system-settings/plugins/ifcfg/parser.c
6790           system-settings/plugins/ifcfg/parser.h
6791           system-settings/plugins/ifcfg/plugin.c
6792                 - Parse wireless connections too
6793
6794         * system-settings/src/dbus-settings.c
6795           system-settings/src/dbus-settings.h
6796           system-settings/src/main.c
6797                 - Handle connection update/removal if the plugin supports it
6798
6799 2007-11-27  Dan Williams  <dcbw@redhat.com>
6800
6801         * src/nm-dbus-manager.h
6802           src/nm-hal-manager.c
6803                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6804                         do it for them
6805
6806         * src/Makefile.am
6807           src/NetworkManagerDbusUtils.c
6808           src/NetworkManagerDbusUtils.h
6809                 - Remove these two source files; they are unused
6810
6811 2007-11-27  Dan Williams  <dcbw@redhat.com>
6812
6813         * src/vpn-manager/nm-vpn-manager.c
6814                 - (impl_vpn_manager_connect): fix system settings check (found by
6815                         James M. Leddy)
6816
6817 2007-11-26  Dan Williams  <dcbw@redhat.com>
6818
6819         * Fix warnings so everything compiles with --enable-more-warnings
6820
6821 2007-11-25  Dan Williams  <dcbw@redhat.com>
6822
6823         * system-settings/*
6824                 - Rework structure and code to use GModule-loaded plugins and a plugin
6825                         interface that plugins export to the system settings service
6826
6827 2007-11-21  Dan Williams  <dcbw@redhat.com>
6828
6829         * system-settings/*
6830                 - Add Soren's system settings service.  Needs work for distros other
6831                         than Fedora; the backends from NM should mostly migrate to here
6832                         and be converted to GObjects
6833
6834 2007-11-21  Dan Williams  <dcbw@redhat.com>
6835
6836         * libnm-util/nm-setting-vpn-properties.c
6837                 - (set_property): must deep-copy the given settings hash, otherwise
6838                         double-free errors occur when the setting is disposed of
6839
6840 2007-11-21  Dan Williams  <dcbw@redhat.com>
6841
6842         * src/vpn-manager/nm-vpn-act-request.h
6843           src/vpn-manager/nm-vpn-act-request.c
6844                 - Remove; unused
6845
6846 2007-11-20  Dan Williams  <dcbw@redhat.com>
6847
6848         * libnm-util/nm-utils.c
6849                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6850                    nm_utils_convert_ip4_addr_struct_array_to_string,
6851                    nm_utils_register_value_transformations): print out the readable
6852                         values of more types of properties of NMSettings subclasses
6853
6854 2007-11-20  Dan Williams  <dcbw@redhat.com>
6855
6856         * libnm-util/nm-setting-ip4-config.c
6857                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6858                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
6859                         marshal GValueArrays inside collections, so switch to types that it
6860                         can actually marshal/demarshal
6861
6862 2007-11-16  Dan Williams  <dcbw@redhat.com>
6863
6864         * libnm-util/nm-setting-wireless-security.c
6865                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6866                         minimal verification of EAP methods too
6867                 - (verify): verify phase1 eap methods too
6868
6869 2007-11-15  Dan Williams  <dcbw@redhat.com>
6870
6871         * libnm-glib/nm-device.h
6872           libnm-glib/nm-device.c
6873                 - (nm_device_get_product, nm_device_get_vendor): should be returning
6874                         const char *
6875
6876 2007-11-15  Dan Williams  <dcbw@redhat.com>
6877
6878         * libnm-glib/nm-device.c
6879                 - (get_product_and_vendor): don't try to free things that should be
6880                         freed
6881
6882 2007-11-15  Dan Williams  <dcbw@redhat.com>
6883
6884         * src/NetworkManagerUtils.c
6885                 - (nm_ethernet_address_is_valid): unbreak previous fix
6886
6887 2007-11-15  Dan Williams  <dcbw@redhat.com>
6888
6889         * src/supplicant-manager/nm-supplicant-config.c
6890                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6891                         options
6892
6893 2007-11-15  Dan Williams  <dcbw@redhat.com>
6894
6895         * src/NetworkManagerUtils.c
6896                 - (nm_ethernet_address_is_valid): fix style, clarify
6897                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6898
6899         * src/nm-device-802-11-wireless.c
6900                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6901                 - (nm_device_802_11_wireless_get_ssid,
6902                    nm_device_802_11_wireless_get_bssid,
6903                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6904                         before calling the ioctl; fixes valgrind-reported jump depends on
6905                         uninitialized value errors
6906
6907 2007-11-15  Dan Williams  <dcbw@redhat.com>
6908
6909         * libnm-util/nm-setting.c
6910                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6911                         unecessary to serialize 'name'
6912
6913         * src/nm-activation-request.c
6914                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6915                         the GetSecrets call
6916
6917 2007-11-15  Dan Williams  <dcbw@redhat.com>
6918
6919         * libnm-util/nm-setting-connection.h
6920           libnm-util/nm-setting-connection.c
6921                 - Rename the 'name' property to 'id', because it conflicted with the
6922                         NMSetting superclass' 'name' property.
6923
6924         * libnm-util/nm-setting.c
6925                 - (nm_setting_to_hash): serialize the 'name' property
6926                 - (one_property_cb): ignore 'name' on deserialization of a connection
6927
6928         * src/nm-device-802-11-wireless.c
6929           src/vpn-manager/nm-vpn-connection.c
6930           src/NetworkManagerPolicy.c
6931                 - Fix up for NMSettingConnection 'name'->'id' changes
6932
6933 2007-11-13  Dan Williams  <dcbw@redhat.com>
6934
6935         * libnm-glib/nm-device-802-11-wireless.h
6936           libnm-glib/nm-device-802-11-wireless.c
6937                 - (nm_device_802_11_wireless_get_hw_address): return should be const
6938
6939         * test/nm-tool.c
6940           libnm-glib/libnm-glib-test.c
6941                 - Fixes for above change
6942
6943 2007-11-12  Dan Williams  <dcbw@redhat.com>
6944
6945         * src/supplicant-manager/nm-supplicant-settings-verify.c
6946                 - Allow fragment_size option
6947
6948         * src/supplicant-manager/nm-supplicant-settings-verify.c
6949                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6950                         EAP fragment size than the default to help some TLS connections
6951
6952 2007-11-12  Dan Williams  <dcbw@redhat.com>
6953
6954         Make certs actually work.  The private key is now a secret, and should be
6955         decrypted when requested by NM.  The private key and phase2 private key
6956         passwords are no longer interesting to NM because they should be used by
6957         the settings service to decrypt the private key itself before passing it
6958         to NM, and hence have been removed as fields.
6959
6960         * libnm-util/nm-setting-wireless-security.h
6961           libnm-util/nm-setting-wireless-security.c
6962                 - Remove private-key-passwd and phase2-private-key-passwd from
6963                         properties
6964                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6965                    need_secrets): use property #defines instead strings to keep things
6966                         consistent
6967                 - (need_secrets_tls): if a client certificate is present but no
6968                         private key, request the private key
6969                 - (set_property, get_property, nm_setting_wireless_security_class_init):
6970                         remove private key password stuff, mark private keys as secret
6971
6972         * src/supplicant-manager/nm-supplicant-settings-verify.c
6973                 - Remove private_key_passwd and private_key2_passwd from opt_table
6974
6975 2007-11-09  Dan Williams  <dcbw@redhat.com>
6976
6977         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6978         Since the vpn-properties are managed and known by the VPN daemons themselves,
6979         libnm-util doesn't know what's secret and what's in the setting's 'data'
6980         member.
6981
6982         * libnm-util/nm-setting.h
6983           libnm-util/nm-setting.c
6984                 - Add the ability for subclasses to override update_one_secret
6985
6986         * libnm-util/nm-setting-vpn-properties.c
6987                 - Override update_one_secret and just copy the values into the
6988                         internal table
6989
6990 2007-11-09  Dan Williams  <dcbw@redhat.com>
6991
6992         * libnm-glib/nm-settings.h
6993           libnm-glib/nm-settings.c
6994                 - (nm_settings_new_error): remove
6995                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6996                         clients should use g_set_error() with NM_SETTINGS_ERROR
6997
6998 2007-11-09  Dan Williams  <dcbw@redhat.com>
6999
7000         * src/supplicant-manager/nm-supplicant-config.c
7001                 - (nm_supplicant_config_add_setting_wireless_security): private key
7002                         passwords are never sent to wpa_supplicant, because the supplicant
7003                         should never be reading random files from the disk.  Clients like
7004                         the applet are required to decrypt the private keys and send NM
7005                         the decrypted blobs.
7006
7007 2007-11-08  Dan Williams  <dcbw@redhat.com>
7008
7009         * libnm-util/nm-setting-wireless-security.h
7010           libnm-util/nm-setting-wireless-security.c
7011                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
7012                         members to 802-11-wireless-security structure.  This should be used
7013                         to indicate that the values in private-key and phase2-private-key
7014                         are already decrypted by the user agent, and that no
7015                         private-key-passwd or phase2-private-key-passwd should be expected.
7016                         It is not meant to be a stored configuration value, but meant to
7017                         be set when the conneciton is sent to NM over dbus.
7018
7019 2007-11-08  Dan Williams  <dcbw@redhat.com>
7020
7021         * libnm-util/nm-connection.h
7022           libnm-util/nm-connection.c
7023                 - (nm_connection_need_secrets): add argument to return hints
7024
7025         * src/nm-device-802-11-wireless.c
7026                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7027                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
7028                         nm_connection_need_secrets() change
7029
7030 2007-11-07  Tambet Ingo  <tambet@gmail.com>
7031
7032         Rework NMSetting structures: Move each setting to it's own file.
7033         Convert to GObject. Remove home grown setting types and use GTypes.
7034         Use GObject property introspection for hash conversion, enumerating
7035         properties, etc.
7036
7037         * libnm-util/nm-setting-connection.[ch]
7038         * libnm-util/nm-setting-ip4-config.[ch]
7039         * libnm-util/nm-setting-ppp.[ch]
7040         * libnm-util/nm-setting-vpn.[ch]
7041         * libnm-util/nm-setting-vpn-properties.[ch]
7042         * libnm-util/nm-setting-wired.[ch]
7043         * libnm-util/nm-setting-wireless.[ch]
7044         * libnm-util/nm-setting-wireless-security.[ch]
7045
7046         New files, each containing a setting.
7047
7048         * libnm-util/nm-setting-template.[ch]: A template for creating new
7049         settings. To use it, just replace 'template' with the new setting
7050         name, and you're half-way done.
7051
7052         * libnm-util/nm-setting.c: Convert to GObject and use GObject
7053         introspection instead of internal types and tables.
7054
7055         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7056
7057         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7058         GValue types defined by dbus-glib for composed types like collections,
7059         structures and maps.
7060
7061         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7062         a setting from connection takes the setting type now. Also, since
7063         the settings are in multiple files, include relevant settings.
7064
7065 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
7066
7067         * configure.in:
7068         * src/backends/NetworkManagerGentoo.c:
7069         (nm_system_restart_mdns_responder): Implement restarts for other mdns
7070         providers in Gentoo.
7071
7072 2007-10-31  Dan Williams  <dcbw@redhat.com>
7073
7074         * libnm-util/nm-connection.c
7075                 - (gvalue_to_string): handle UINT32 arrays
7076
7077 2007-10-31  Dan Williams  <dcbw@redhat.com>
7078
7079         * libnm-glib/nm-device.h
7080           libnm-glib/nm-device.c
7081                 - (nm_device_get_description): remove
7082                 - (nm_device_get_product, nm_device_get_vendor): add
7083                 - (nm_device_update_description): new function (private); walk HAL
7084                         devices to get product and vendor IDs for a specific device
7085
7086 2007-10-31  Dan Williams  <dcbw@redhat.com>
7087
7088         * src/nm-device-802-11-wireless.c
7089                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7090
7091 2007-10-29  Dan Williams  <dcbw@redhat.com>
7092
7093         * src/nm-hal-manager.c
7094                 - (device_added, device_new_capability): ignore device additions while
7095                         asleep.  Fixes crash caused when NM goes to sleep, a network device
7096                         kernel module is unloaded and reloaded and recognized by NM again.
7097
7098 2007-10-26  Dan Williams  <dcbw@redhat.com>
7099
7100         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7101
7102         * src/NetworkManagerAP.c
7103           src/NetworkManagerAP.h
7104           libnm-glib/nm-access-point.c
7105           libnm-glib/nm-access-point.h
7106                 - Make 'rate' property a guint32 to better match with WEXT and
7107                         wpa_supplicant and to allow representation of higher bitrates
7108
7109         * src/nm-device-802-11-wireless.c
7110           introspection/nm-device-802-11-wireless.xml
7111           libnm-glib/nm-device-802-11-wireless.c
7112           libnm-glib/nm-device-802-11-wireless.h
7113                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7114
7115         * src/nm-device-802-3-ethernet.c
7116           src/nm-device-802-3-ethernet.h
7117           introspection/nm-device-802-3-ethernet.xml
7118           libnm-glib/nm-device-802-3-ethernet.c
7119           libnm-glib/nm-device-802-3-ethernet.h
7120                 - Make 'speed' property a guint32 to match other speed/rate types
7121                 - Make nm_device_802_3_ethernet_get_speed() static
7122
7123         * test/nm-tool.c
7124                 - Update for the changes above
7125
7126 2007-10-26  Dan Williams  <dcbw@redhat.com>
7127
7128         * src/named-manager/nm-named-manager.c
7129                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7130                     not calling fclose() twice on some error conditions
7131
7132 2007-10-26  Dan Williams  <dcbw@redhat.com>
7133
7134         * src/nm-activation-request.c
7135                 - (dispose): clean up indentation; get the right DBusGProxy object to
7136                         cancel the GetSecrets pending call on.  Need to use the Secrets
7137                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
7138                         pending call doesn't get canceled, and pressing Cancel in the
7139                         applet's password dialog could cause get_secrets_cb() to be called
7140                         after the activation request has already been destroyed
7141
7142 2007-10-24  Dan Williams  <dcbw@redhat.com>
7143
7144         * src/supplicant-manager/nm-supplicant-config.c
7145                 - (nm_supplicant_config_add_blob): pass blob data and length for
7146                         verification
7147                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7148
7149 2007-10-24  Dan Williams  <dcbw@redhat.com>
7150
7151         * src/supplicant-manager/nm-supplicant-settings-verify.c
7152                 - (opt_table): max length for certificates should be 65536
7153
7154 2007-10-24  Dan Williams  <dcbw@redhat.com>
7155
7156         * src/supplicant-manager/nm-supplicant-interface.c
7157                 - (blob_free): correctly free blob data after use
7158                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7159
7160 2007-10-24  Dan Williams  <dcbw@redhat.com>
7161
7162         * libnm-util/nm-setting.c
7163                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7164                         EAP method need secrets
7165
7166 2007-10-24  Dan Williams  <dcbw@redhat.com>
7167
7168         * src/backends/NetworkManagerRedHat.c
7169                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7170
7171 2007-10-23  Dan Williams  <dcbw@redhat.com>
7172
7173         * libnm-util/nm-setting.c
7174           libnm-util/nm-setting.c
7175                 - (nm_setting_compare): implement
7176                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7177                    compare_one_hash_gvalue): compare the contents of a setting
7178
7179         * libnm-util/nm-connection.c
7180                 - (nm_connection_compare): implement
7181
7182 2007-10-23  Dan Williams  <dcbw@redhat.com>
7183
7184         * src/nm-activation-request.c
7185                 - (get_secrets_cb): handle getting a setting back that is more than
7186                         just secrets (ie, user changed auth or EAP method or something)
7187
7188 2007-10-23  Dan Williams  <dcbw@redhat.com>
7189
7190         * libnm-util/nm-setting.c
7191           libnm-util/nm-setting.h
7192                 - (nm_setting_verify): new function; verify one setting
7193                 - (nm_settings_verify_all): rename from nm_settings_verify()
7194                 - (setting_connection_verify, setting_wireless_verify): allow NULL
7195                         all_settings
7196
7197         * libnm-util/nm-connection.c
7198                 - (nm_connection_replace_settings, nm_connection_verify,
7199                    nm_connection_new_from_hash): handle nm_settings_verify() rename
7200
7201 2007-10-23  Dan Williams  <dcbw@redhat.com>
7202
7203         * src/nm-device-802-11-wireless.c
7204                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7205                         desired behavior
7206
7207 2007-10-23  Dan Williams  <dcbw@redhat.com>
7208
7209         * src/supplicant-manager/nm-supplicant-settings-verify.c
7210                 - eap_allowed, phase2_allowed: harmonize with allowed values from
7211                         nm-settings.c
7212
7213 2007-10-23  Dan Williams  <dcbw@redhat.com>
7214
7215         * src/nm-device-802-11-wireless.c
7216                 - (real_act_stage2_config): after the first association failure,
7217                         if the connection still needs secrets ask the user for them
7218                         explicitly.  After the fourth association failure due to bad
7219                         secrets, fail the connection entirely.  Handles the GetSecrets
7220                         loop that NM gets into when the provided secrets don't match up
7221                         with the connection details.
7222
7223 2007-10-23  Dan Williams  <dcbw@redhat.com>
7224
7225         * src/supplicant-manager/nm-supplicant-config.c
7226                 - (nm_supplicant_config_add_setting_wireless_security): only add
7227                         WPA-specific options when WPA is in use
7228
7229 2007-10-23  Dan Williams  <dcbw@redhat.com>
7230
7231         * src/supplicant-manager/nm-supplicant-config.c
7232                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7233                         secret doesn't need to be unhexified
7234
7235 2007-10-23  Dan Williams  <dcbw@redhat.com>
7236
7237         * libnm-util/nm-setting.c
7238                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7239                         before trying to do something with it
7240
7241 2007-10-23  Dan Williams  <dcbw@redhat.com>
7242
7243         * src/nm-device-802-11-wireless.c
7244                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7245
7246 2007-10-23  Dan Williams  <dcbw@redhat.com>
7247
7248         * src/nm-device-802-11-wireless.c
7249                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7250                         non-SSID-broadcasting APs
7251
7252 2007-10-23  Dan Williams  <dcbw@redhat.com>
7253
7254         * src/NetworkManagerAP.c
7255                 - (match_cipher, security_compatible): remove
7256                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7257                         libnm-util instead
7258
7259 2007-10-23  Dan Williams  <dcbw@redhat.com>
7260
7261         * libnm-util/nm-utils.c
7262           libnm-util/nm-utils.h
7263                 - (nm_utils_ap_security_compatible): common function for checking
7264                         whether a specific AP is compatible with an NMConnection
7265
7266 2007-10-23  Dan Williams  <dcbw@redhat.com>
7267
7268         * libnm-util/nm-setting.c
7269                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7270                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7271                    need_secrets_password, setting_wireless_security_verify): fix
7272                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7273                         secrets logic for each supported EAP method
7274
7275 2007-10-23  Dan Williams  <dcbw@redhat.com>
7276
7277         * src/supplicant-manager/nm-supplicant-config.c
7278                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7279                         config option name, should be "private_key2_passwd"
7280
7281 2007-10-22  Tambet Ingo  <tambet@gmail.com>
7282
7283         Implement support for static IP addresses, additional/overridden DNS and
7284         DNS domain search lists.
7285
7286         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7287         (ip4_addresses_to_gvalue): Implement.
7288         (convert_array_to_byte_array): Implement.
7289         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7290         NM_S_TYPE_IP4_ADDRESSES.
7291         (nm_setting_hash): Ditto.
7292         (default_setting_clear_secrets): Add a default case for the switch: IP address
7293         shouldn't be secret, ever.
7294         (setting_ip4_config_verify): Update, requires addresses in case of manual
7295         configurations.
7296         (setting_ip4_config_destroy): Free stuff.
7297
7298         * src/nm-device.c (merge_ip4_config): Implement.
7299         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7300
7301 2007-10-22  Dan Williams  <dcbw@redhat.com>
7302
7303         * libnm-util/nm-setting.c
7304                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7305                         pairwise cipher options for Dynamic WEP
7306
7307 2007-10-21  Dan Williams  <dcbw@redhat.com>
7308
7309         * src/NetworkManagerAP.c
7310           src/NetworkManagerAP.h
7311                 - Rename 'articifical' -> 'fake' since that's what they are until
7312                         noticed in scans
7313                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7314                         from the attributes in an NMConnection object
7315                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7316                         WPA Enterprise
7317                 - (nm_ap_match_in_list): find a matching AP in a scan list
7318
7319         * src/nm-device-802-11-wireless.c
7320                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7321                         AP when searching the scan list; match on frequency and mode too
7322                 - (nm_device_802_11_wireless_get_frequency): implement
7323                 - (merge_scanned_ap): replace duplicate matching logic with
7324                         nm_ap_match_in_list()
7325                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7326                         the user is trying to connect to a hidden network that is not yet
7327                         known from the scan list
7328                 - (activation_success_handler): now that the card knows the AP's BSSID,
7329                         there may already be a scanned AP in the scan list that is what
7330                         we really wanted to connect to, but didn't know at the time.  Use
7331                         that instead of the 'fake' AP created at activation start and get
7332                         rid of the 'fake' AP 
7333                 - (cull_scan_list): don't remove fake APs
7334
7335 2007-10-21  Dan Williams  <dcbw@redhat.com>
7336
7337         * src/nm-activation-request.h
7338           src/nm-activation-request.c
7339                 - (nm_act_request_set_specific_object): new function; allow setting the
7340                         specific object if one isn't set yet
7341
7342 2007-10-20  Dan Williams  <dcbw@redhat.com>
7343
7344         * src/supplicant-manager/nm-supplicant-config.h
7345           src/supplicant-manager/nm-supplicant-config.c
7346                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7347                         table to store blobs
7348                 - (nm_supplicant_config_add_blob): new function; add blob to internal
7349                         blob hash table
7350                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7351                 - (nm_supplicant_config_add_setting_wireless_security): handle
7352                         options that use certificates (ie, blobs)
7353
7354         * src/nm-device-802-11-wireless.c
7355                 - (build_supplicant_config): pass a UID (just use the connection path)
7356                         to the supplicant config as now required
7357
7358         * src/supplicant-manager/nm-supplicant-interface.c
7359                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7360                         there are any blobs to send to wpa_supplicant, send those first
7361                         before sending the network configuration
7362
7363 2007-10-19  Dan Williams  <dcbw@redhat.com>
7364
7365         Split the GetSecrets() call off to a separate D-Bus interface so that it
7366         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
7367         should be able to call GetSecrets().
7368
7369         * include/NetworkManager.h
7370                 - Define the connection secrets D-Bus interface
7371
7372         * src/vpn-manager/nm-vpn-connection.c
7373                 - (clear_need_auth): get the right proxy object for the connection
7374                         secrets interface
7375                 - (get_connection_secrets): use the connection secrets proxy; send
7376                         empty hints in get secrets request
7377
7378         * src/nm-activation-request.c
7379                 - (nm_act_request_request_connection_secrets): use the connection
7380                         secrets proxy; send empty hints in get secrets request
7381
7382         * src/nm-manager.c
7383           src/nm-manager.h
7384                 - (connection_get_settings_cb): set the connection secrets proxy on
7385                         the connection object too
7386                 - (internal_new_connection_cb): create the connection secrets proxy
7387
7388         * introspection/nm-settings-connection.xml
7389                 - Define Connection.Secrets interface and move GetSecrets there
7390                 - Add a 'hints' argument to GetSecrets
7391
7392         * libnm-glib/nm-settings.c
7393           libnm-glib/nm-settings.h
7394                 - (impl_connection_settings_get_secrets): add 'hints' argument
7395
7396 2007-10-19  Dan Williams  <dcbw@redhat.com>
7397
7398         * src/nm-device.c
7399                 - (constructor): add message about what path a device is exported as
7400                         to help in debugging rh #339011
7401
7402 2007-10-17  Dan Williams  <dcbw@redhat.com>
7403
7404         * libnm-util/nm-utils.h
7405           libnm-util/nm-utils.c
7406                 - (nm_utils_security_valid): common function to help find the intersection
7407                         of capabilities of devices and (optionally) access points
7408
7409 2007-10-17  Dan Williams  <dcbw@redhat.com>
7410
7411         * src/nm-device-802-11-wireless.c
7412                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7413                         don't get erroneously cleared
7414
7415 2007-10-17  Dan Williams  <dcbw@redhat.com>
7416
7417         * src/nm-manager.h
7418           src/nm-manager.c
7419           src/nm-hal-manager.c
7420                 - (device_removed, finalize, nm_manager_remove_device,
7421                    nm_manager_sleep): add a 'deactivate' argument to 
7422                    nm_manager_remove_device() to fully deactivate devices when necessary
7423                    (ie, always except when waking up)
7424
7425 2007-10-16  Dan Williams  <dcbw@redhat.com>
7426
7427         * libnm-util/nm-setting.c
7428                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7429                         also isn't valid phase2 autheap method
7430
7431 2007-10-16  Dan Williams  <dcbw@redhat.com>
7432
7433         * libnm-glib/nm-client.c
7434                 - (update_wireless_status): consolidate updates of wireless status
7435                 - (constructor): use update_wireless_status()
7436                 - (manager_running): set wireless status off when NM goes away; requery
7437                         the wireless status when NM comes back
7438
7439 2007-10-16  Dan Williams  <dcbw@redhat.com>
7440
7441         * libnm-glib/nm-client.c
7442                 - (nm_client_activate_device): actually use the fixed-up specific
7443                         object path
7444
7445 2007-10-16  Dan Williams  <dcbw@redhat.com>
7446
7447         * src/nm-hal-manager.c
7448                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7449                         killswitch error messages once
7450
7451 2007-10-16  Dan Williams  <dcbw@redhat.com>
7452
7453         * src/nm-manager.c
7454                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7455                         if it's disabled in hardware; don't touch network devices while
7456                         NM is asleep
7457
7458 2007-10-16  Dan Williams  <dcbw@redhat.com>
7459
7460         * libnm-util/nm-client.c
7461                 - (nm_client_activate_device): convert NULL specific_object to "/",
7462                         which is used in place of NULL
7463
7464         * src/nm-manager.c
7465                 - (impl_manager_activate_device): convert "/" specific_object back into
7466                         NULL
7467
7468 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7469
7470         Implement a generic NMSetting creator from setting name.
7471         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7472         add a virtual function 'populate_fn'.
7473
7474         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7475         (register_default_creators): Register setting creators instead of functions
7476         that create and then populate.
7477         (parse_one_setting): Use the common setting creator and then setting specific
7478         poplulation function.
7479
7480         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7481         they all looked exactly the same.
7482         Add a 'populate_fn' virtual function to NMSetting.
7483         Use default virtual functions in case they are not overriden.
7484         (nm_setting_populate_from_hash): Implement.
7485
7486         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7487         name, use a defined string.
7488         (real_act_stage4_get_ip4_config): Ditto.
7489
7490 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7491
7492         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7493         HAL is int, not uint.
7494
7495 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7496
7497         Implement killswitch polling through HAL.
7498
7499         * src/nm-manager.c: Add wireless hardware status property. Add 
7500         'properties-changed' signal for changes in wireless and wireless hardware
7501         state changes.
7502
7503         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7504         and update NMManager's wireless hardware state when it has changed.
7505         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7506         already does that.
7507
7508         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7509         values of wireless state and wireless hardware state. Listen for the
7510         'properties-changed' signals, update the cached values and emit notify.
7511
7512         * include/NetworkManager.h: Fix a typo in a comment.
7513
7514 2007-10-14  Dan Williams  <dcbw@redhat.com>
7515
7516         * libnm-util/nm-setting.c
7517                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7518
7519 2007-10-13  Dan Williams  <dcbw@redhat.com>
7520
7521         * libnm-util/nm-setting.h
7522           libnm-util/nm-setting.c
7523           src/supplicant-manager/nm-supplicant-config.c
7524                 - Make the 'proto' field of the 802-11-wireless-security field a
7525                         string list
7526
7527 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7528
7529         Rework the "properties-changed" signal listening implementation.
7530         Add a generic implementation to NMObject class that listens for
7531         the signal and calls property setters of the target NMObject.
7532
7533         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7534
7535         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7536         code to the end of file so that all the static functions are available
7537         without extra declarations.
7538         Remove the "properties-changed" signal handling and use the framework from
7539         NMObject.
7540         Implement property setters for properties that change with 
7541         "properties-changed" signal.
7542
7543         * libnm-glib/nm-access-point.c: Ditto.
7544
7545 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7546
7547         Rework the "properties-changed" signal implementation.
7548         In classes that need to use it, just emit "GObject::notify" and the new
7549         framework takes care of the rest to make the signal available on dbus.
7550         The framework queues the notifications and tries to send as many together
7551         in one signal as possible.
7552
7553         * src/nm-properties-changed-signal.c:
7554         * src/nm-properties-changed-signal.h: Implement.
7555
7556         * src/Makefile.am: Add new files to build.
7557
7558         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7559         signal.
7560
7561         * src/nm-device-802-11-wireless.c: Ditto.
7562
7563 2007-10-10  Dan Williams  <dcbw@redhat.com>
7564
7565         * src/nm-manager.c
7566                 - (wait_for_connection_expired): ensure info is valid
7567                 - (connection_added_default_handler): Should only remove pending
7568                         connection info when the manager has the connection that it's
7569                         waiting for.  Fixes segfault in wait_for_connection_info().  
7570
7571 2007-10-10  Dan Williams  <dcbw@redhat.com>
7572
7573         * libnm-util/nm-setting.c
7574           libnm-util/nm-setting.h
7575                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7576                         can use if they choose.  Should be filled in by the settings service
7577                         on-the-fly with the currently logged in user's username
7578
7579 2007-10-10  Dan Williams  <dcbw@redhat.com>
7580
7581         * src/nm-device-802-11-wireless.c
7582                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7583                         as such, because even if the manager fills in the SSID, NM still
7584                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7585                         its SSID
7586
7587 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7588
7589         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7590         code that used NM's own version of dbus signal handling and custom dictionary
7591         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7592         and we get to maintain over 2000 lines less code.
7593
7594         * libnm-util/dbus-dict-helpers.c:
7595         * libnm-util/dbus-dict-helpers.h: Remove.
7596
7597         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7598
7599         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7600
7601         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7602         handlers.
7603
7604         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7605
7606         * configure.in: Remove test/libnm-util/Makefile creation.
7607
7608         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7609
7610         * test/libnm-util/: Remove the whole directory.
7611
7612 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7613
7614         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7615         device_state_changed_idle_id variable or it would contain some random value and the
7616         schedule_change_check calls would not do anything.
7617
7618 2007-10-09  Dan Williams  <dcbw@redhat.com>
7619
7620         * src/nm-device-802-11-wireless.c
7621                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7622                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7623                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7624                         merging of non-SSID-broadcasting APs
7625
7626 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7627
7628         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7629         "guint8 *" since it's usually used with GByteArray->data.
7630         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7631
7632 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7633
7634         * src/NetworkManagerUtils.c
7635         (nm_utils_is_empty_ssid):
7636         (nm_utils_escape_ssid):
7637         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7638         lot of places, so they belong to libnm-utils instead.
7639
7640         Now with 100% less compiler warnings:
7641
7642         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7643         (nm_dbus_unescape_object_path): Ditto.
7644         (nm_utils_ssid_to_utf8): Ditto.
7645         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7646         (nm_utils_escape_ssid): Ditto.
7647         (nm_utils_same_ssid): Ditto.
7648
7649         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7650         (add_one_connection_element): Remove an unused variable.
7651         (impl_manager_get_active_connections): Ditto.
7652
7653         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7654         variable.
7655
7656         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7657         from the previous commit.
7658
7659         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7660         (real_act_stage1_prepare): Ditto.
7661         (activation_success_handler): Ditto.
7662         (get_property): Ditto.
7663
7664         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7665         variable.
7666
7667         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7668         it's always set.
7669
7670         * src/supplicant-manager/nm-supplicant-config.c 
7671         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7672         to expected "char *".
7673         (nm_supplicant_config_add_setting_wireless): Ditto.
7674         (nm_supplicant_config_remove_option): Remove, not used.
7675
7676         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7677         not double.
7678         (test_wireless_enabled): Ifdef out unused function.
7679         (device_deactivate): Ditto.
7680         (device_state_changed): Ditto.
7681         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7682         (nm_utils_escape_ssid): Ditto.
7683
7684         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7685         (nm_utils_is_empty_ssid): Ditto.
7686
7687         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7688         unused variable.
7689
7690         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7691         (setting_vpn_properties_update_secrets): Ditto.
7692         (int_to_gvalue): Ifdef out for now, not used.
7693         (byte_to_gvalue): Ditto.
7694
7695         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7696         Unused, remove.
7697
7698 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7699
7700         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7701         about dbus manager, not named manager.
7702         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7703
7704         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7705         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7706         However, the same signal is emitted when we destroy it and there's 
7707         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7708
7709         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7710         releasing the DBusGConnection, since proxy needs a conneciton.
7711         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7712
7713 2007-10-08  Dan Williams  <dcbw@redhat.com>
7714
7715         * src/NetworkManager.c
7716                 - (main): error on unknown command-line options
7717
7718 2007-10-08  Dan Williams  <dcbw@redhat.com>
7719
7720         Reimplement the invalid connection list.  Don't try to re-activate a
7721         connection that just failed or was canceled.
7722
7723         * src/nm-device.c
7724                 - (connection_secrets_failed_cb): fail device activation, don't just
7725                         deactivate the device.  Listeners have to know about the failure.
7726
7727         * src/NetworkManagerPolicy.c
7728                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7729                         the connection list given to a device's get_best_connection()
7730                         method
7731                 - (device_state_changed): tag failed connections as invalid; clear the
7732                         tag from successful connections
7733
7734 2007-10-08  Dan Williams  <dcbw@redhat.com>
7735
7736         Fix problems with interrupted activation.  Previously, choosing an AP
7737         from the menu, then choosing another one before the first connection was
7738         successful wouldn't deactivate the device before starting the new connection
7739         on that same device.
7740
7741         * src/NetworkManagerPolicy.c
7742                 - (deactivate_old_device, device_state_changed, state_changed,
7743                    nm_policy_new): wrong place to deactivate old devices
7744
7745         * src/nm-manager.c
7746                 - (pending_connection_info_destroy, finalize,
7747                    wait_for_connection_expired): decouple destruction of the pending
7748                         connection info from the manager device
7749                 - (connection_added_default_handler): deactivate any active or
7750                         activating device before starting a new activation
7751                 - (impl_manager_activate_device): deactivate any active or activating
7752                         device before starting a new activation; be sure not to leak
7753                         pending connection info if a new activation request arrives but
7754                         there's already a pending one in-process
7755
7756 2007-10-08  Dan Williams  <dcbw@redhat.com>
7757
7758         * src/NetworkManagerAP.h
7759           src/NetworkManagerAP.c
7760                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7761                         should handle default SSIDs and whether or not to autoconnect
7762                         to them
7763
7764 2007-10-08  Dan Williams  <dcbw@redhat.com>
7765
7766         * src/NetworkManagerPolicy.c
7767                 - (nm_policy_device_change_check): print out connection name where
7768                         possible
7769
7770 2007-10-08  Dan Williams  <dcbw@redhat.com>
7771
7772         * src/nm-device-802-11-wireless.c
7773           src/nm-device-802-11-wireless.h
7774                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7775                         'hidden-ap-found' signal (for internal use only) that allows the
7776                         NMManager to fill in the AP's SSID if a connection has that AP's
7777                         BSSID in its seen-bssids list
7778
7779         * src/nm-manager.c
7780                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7781                         wireless device's hidden-ap-found signal and fill in the APs SSID
7782                         if possible
7783
7784 2007-10-07  Dan Williams  <dcbw@redhat.com>
7785
7786         * src/nm-manager.c
7787           src/nm-manager.h
7788                 - Add a 'connections-added' signal to batch together updates of large
7789                         numbers of connections, like when reading from a settings service
7790                         the first time.  Otherwise, the policy would just activate the first
7791                         suitable connection it saw rather than waiting for the full list
7792                         to arrive.
7793                 - (nm_manager_class_init): register new signal
7794                 - (get_type_for_proxy, connection_get_settings_cb,
7795                    get_connection_for_proxy): centralize places where a proxy's setting
7796                         service is determined
7797                 - (free_get_settings_info): if the call being freed is the last call
7798                         in a pending call group, fire off the connections-added signal
7799                 - (internal_new_connection_cb): add call to a pending call group if
7800                         requested
7801                 - (list_connections_cb): always create a call group here, because this
7802                         call results in a batch of new connections
7803                 - (initial_get_connections): start getting system connections first
7804                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7805                         removed signal when destroying connections
7806
7807         * src/NetworkManagerPolicy.c
7808                 - (nm_policy_new, connections_added): handle connections-added signal
7809                         from the manager
7810
7811 2007-10-06  Dan Williams  <dcbw@redhat.com>
7812
7813         * src/nm-device-802-11-wireless.c
7814                 - (constructor): fix leaked socket
7815
7816 2007-10-06  Dan Williams  <dcbw@redhat.com>
7817
7818         * src/NetworkManagerPolicy.c
7819                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7820                         connection in the list returned by nm_manager_get_connections() is
7821                         reffed, but they weren't getting unreffed before returning
7822
7823 2007-10-06  Dan Williams  <dcbw@redhat.com>
7824
7825         * src/nm-manager.c
7826                 - (connections_to_slist): sort connections first on autoconnect, then
7827                         on timestamp
7828
7829 2007-10-06  Dan Williams  <dcbw@redhat.com>
7830
7831         * libnm-util/nm-connection.c
7832                 - (gvalue_to_string): handle UINT64
7833
7834 2007-10-06  Dan Williams  <dcbw@redhat.com>
7835
7836         * src/NetworkManagerPolicy.c
7837                 - (connection_updated, nm_policy_new): recheck state when a connection
7838                         gets updated
7839
7840 2007-10-06  Dan Williams  <dcbw@redhat.com>
7841
7842         * src/nm-manager.c
7843           src/nm-manager.h
7844                 - (nm_manager_get_connection_dbus_path): make static
7845                 - (nm_manager_update_connections): remove; unused
7846                 - Add a connection-updated signal
7847                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7848                         handle connection object updates
7849
7850 2007-10-06  Dan Williams  <dcbw@redhat.com>
7851
7852         * src/NetworkManagerPolicy.c
7853                 - (connection_removed): deactivate removed connections
7854
7855 2007-10-06  Dan Williams  <dcbw@redhat.com>
7856
7857         * libnm-util/nm-connection.c
7858           libnm-util/nm-connection.h
7859                 - (nm_connection_replace_settings): new function
7860
7861 2007-10-06  Dan Williams  <dcbw@redhat.com>
7862
7863         * libnm-glib/nm-device-802-11-wireless.c
7864                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7865                         on error when getting the active access point over D-Bus from NM
7866
7867 2007-10-05  Dan Williams  <dcbw@redhat.com>
7868
7869         * libnm-util/nm-setting.c
7870                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7871                         to the NMSettingWireless table; it's now a string array not an array
7872                         of byte arrays
7873
7874 2007-10-05  Dan Williams  <dcbw@redhat.com>
7875
7876         * libnm-glib/nm-device-802-11-wireless.c
7877                 - Cache properties and update cached properties on D-Bus signals from NM
7878
7879 2007-10-05  Dan Williams  <dcbw@redhat.com>
7880
7881         * src/nm-device-802-11-wireless.c
7882                 - (set_current_ap): consolidate current_ap handling code into one place
7883                         to ensure that PropertiesChanged signals are emitted in all cases
7884                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7885                    nm_device_802_11_wireless_dispose): use set_current_ap()
7886
7887 2007-10-05  Dan Williams  <dcbw@redhat.com>
7888
7889         * libnm-glib/nm-access-point.c
7890           libnm-glib/nm-access-point.h
7891                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7892                         because the value is cached internally now.  Callers should not
7893                         free the internal value.
7894                 - Make signal name defines private
7895
7896         * test/nm-tool.c
7897           libnm-glib/libnm-glib-test.c
7898                 - Don't free value returned from nm_access_point_get_hw_address()
7899
7900 2007-10-04  Dan Williams  <dcbw@redhat.com>
7901
7902         * introspection/nm-device-802-11-wireless.xml
7903           src/nm-device-802-11-wireless.h
7904           src/nm-device-802-11-wireless.c
7905                 - Add a PropertiesChanged signal for wireless device
7906                 - Store currently associated access point
7907                 - (periodic_update): generalize; update rate here too and emit the
7908                         correct PropertiesChanged signal when stuff changes
7909                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7910                    real_activation_cancel_handler): clear current_ap when device is
7911                         deactivated
7912                 - (link_to_specific_ap, get_ap_blacklisted,
7913                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7914                         code
7915                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7916                         outside this file
7917                 - (real_set_hw_address): emit property changed signal if the card's
7918                         MAC address changes
7919                 - (real_act_stage1_prepare): set the initial current_ap to the AP
7920                         the card is supposed to be connecting to
7921                 - (activation_success_handler): send out property updates on successful
7922                         activation
7923                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7924                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
7925                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7926                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7927                         is now boxed; add PropertiesChanged signal
7928
7929 2007-10-04  Dan Williams  <dcbw@redhat.com>
7930
7931         * libnm-util/nm-connection.c
7932           libnm-util/nm-connection.h
7933                 - (nm_connection_verify): new function
7934
7935 2007-10-04  Dan Williams  <dcbw@redhat.com>
7936
7937         * libnm-util/nm-setting.c
7938                 - (nm_settings_verify): use #defines when possible rather than strings
7939                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7940                 - (setting_vpn_verify): tighter validity check on 'service_type'
7941
7942 2007-10-04  Dan Williams  <dcbw@redhat.com>
7943
7944         * libnm-glib/nm-settings.c
7945                 - (nm_connection_settings_class_init): provide correct type for argument
7946                         to the Updated signal so that dbus-glib knows how to marshal it
7947
7948 2007-10-03  Dan Williams  <dcbw@redhat.com>
7949
7950         * src/nm-device-802-3-ethernet.c
7951                 - (real_get_best_connection): don't create automatic connections
7952                         internally; clients should provide a setting that applies to
7953                         the device with 'autoconnect: True'.  Problem was that these
7954                         internally auto-created connections don't have a proxy or service
7955                         name becuase they weren't created by a settings daemon, and therefore
7956                         clients have no idea what to do with them.
7957
7958 2007-10-03  Dan Williams  <dcbw@redhat.com>
7959
7960         * src/nm-device-802-11-wireless.c
7961           src/nm-device-802-11-wireless.h
7962           introspection/nm-device-802-11-wireless.xml
7963                 - GetActiveNetworks -> GetAccessPoints
7964                 - ActiveNetwork -> ActiveAccessPoint
7965                 - NetworkAdded -> AccessPointAdded
7966                 - NetowrkRemoved -> AccessPointRemoved
7967
7968         * libnm-glib/nm-device-802-11-wireless.c
7969           libnm-glib/nm-device-802-11-wireless.h
7970                 - network-added signal -> access-point-added
7971                 - network-removed signal -> access-point-removed
7972                 - nm_device_802_11_wireless_get_active_network() ->
7973                         nm_device_802_11_wireless_get_active_access_point()
7974                 - nm_device_802_11_wireless_get_network_by_path() ->
7975                         nm_device_802_11_wireless_get_access_point_by_path()
7976                 - nm_device_802_11_wireless_get_networks() ->
7977                         nm_device_802_11_wireless_get_access_points()
7978
7979         * libnm-glib/libnm-glib-test.c
7980           test/nm-tool.c
7981           src/NetworkManagerPolicy.c
7982                 - Fixups for Network -> AccessPoint
7983
7984 2007-10-03  Dan Williams  <dcbw@redhat.com>
7985
7986         Add a GetActiveConnections() method on the Manager object.
7987
7988         * src/nm-manager.c
7989           src/nm-manager.h
7990           introspection/nm-manager.xml
7991                 - (connection_get_settings_cb): keep connection type around too
7992                 - (impl_manager_get_active_connections, add_one_connection_element):
7993                         implement; returns all active connections and what devices they
7994                         apply to
7995
7996         * libnm-glib/nm-client.c
7997           libnm-glib/nm-client.h
7998           introspection/nm-manager-client.xml
7999                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
8000                         by the caller; free here to avoid memory leak
8001                 - (nm_client_get_active_connections): implement; return the list of
8002                         active connections
8003                 - (nm_client_free_active_connection_element): implement; free an element
8004                         of the GSList returned by nm_client_get_active_connections()
8005
8006 2007-10-03  Dan Williams  <dcbw@redhat.com>
8007
8008         * src/nm-device-802-11-wireless.c
8009                 - (nm_device_802_11_wireless_update_bssid): remove
8010                 - (get_active_ap): new function; find the AP in the scan list which
8011                         matches the current BSSID and SSID of the wireless device
8012                 - (nm_device_802_11_periodic_update): get current AP using
8013                         get_active_ap() and print AP roam messages
8014
8015 2007-10-01  Dan Williams  <dcbw@redhat.com>
8016
8017         * libnm-util/nm-setting.h
8018                 - Add a 'timestamp' option to NMSettingConnection
8019                 - Add a UINT64 type
8020
8021         * libnm-util/nm-setting.c
8022                 - (uint64_to_gvalue): new function
8023                 - (nm_setting_populate_from_hash, nm_setting_hash,
8024                    default_setting_clear_secrets): handle UINT64 type
8025                 - con_table: add 'timestamp' member
8026
8027 2007-10-01  Dan Williams  <dcbw@redhat.com>
8028
8029         * src/nm-manager.c
8030                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
8031                         value when the connection can be activated immediately
8032
8033 2007-10-01  Dan Williams  <dcbw@redhat.com>
8034
8035         * libnm-glib/nm-device.c
8036                 - (nm_device_class_init): actually tell glib about the carrier-changed
8037                         signal
8038
8039 2007-10-01  Dan Williams  <dcbw@redhat.com>
8040
8041         * configure.in
8042           src/marshallers/Makefile.am
8043           src/marshallers/nm-marshal.list
8044           src/marshallers/nm-marshal-main.c
8045                 - Consolidate glib marshallers into one place
8046
8047         * src/dhcp-manager/Makefile.am
8048           src/dhcp-manager/nm-dhcp-manager.c
8049           src/supplicant-manager/Makefile.am
8050           src/supplicant-manager/nm-supplicant-manager.c
8051           src/supplicant-manager/nm-supplicant-interface.c
8052           src/ppp-manager/Makefile.am
8053           src/ppp-manager/nm-ppp-manager.c
8054           src/vpn-manager/Makefile.am
8055           src/vpn-manager/nm-vpn-connection.c
8056           src/Makefile.am
8057                 - Use consolidated marshallers
8058
8059         * src/dhcp-manager/nm-dhcp-marshal.list
8060           src/dhcp-manager/nm-dhcp-marshal-main.c
8061           src/supplicant-manager/nm-supplicant-marshal-main.c
8062           src/supplicant-manager/nm-supplicant-marshal.list
8063           src/nm-marshal-main.c
8064           src/nm-marshal.list
8065           src/ppp-manager/nm-ppp-marshal-main.c
8066           src/ppp-manager/nm-ppp-marshal.list
8067           src/vpn-manager/nm-vpn-marshal-main.c
8068           src/vpn-manager/nm-vpn-marshal.list
8069                 - Remove
8070
8071 2007-10-01  Dan Williams  <dcbw@redhat.com>
8072
8073         * include/NetworkManagerVPN.h
8074                 - define VPN connection state change reason codes
8075
8076         * src/vpn-manager/Makefile.am
8077           src/vpn-manager/nm-vpn-marshal.list
8078           src/vpn-manager/nm-vpn-marshal-main.c
8079                 - Add marshallers for StateChanged signal
8080
8081         * introspection/nm-vpn-connection.xml
8082                 - New Banner property
8083                 - StateChanged signal now includes a 'reason' argument
8084
8085         * src/vpn-manager/nm-vpn-connection.c
8086           src/vpn-manager/nm-vpn-connection.h
8087                 - Add a "Banner" property that contains the returned VPN server login
8088                         banner (if any); valid only in the ACTIVATED state
8089                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8090                         a 'reason' argument and emits that reason along with the
8091                         state-changed signal
8092                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8093                 - (nm_vpn_connection_ip4_config_get): save banner for later
8094                 - (nm_vpn_connection_get_banner, get_property,
8095                    nm_vpn_connection_class_init): implement Banner property
8096
8097         * src/vpn-manager/nm-vpn-service.c
8098                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8099                         connection list because elements may get added/removed from it
8100                         while iterating over the list
8101                 - (connection_state_changed): signal now includes the 'reason' argument
8102
8103         * libnm-glib/nm-vpn-connection.c
8104           libnm-glib/nm-vpn-connection.h
8105                 - (nm_vpn_connection_get_banner): new function
8106                 - (state_changed_proxy): handle reason argument
8107
8108 2007-09-28  Tambet Ingo  <tambet@gmail.com>
8109
8110         * src/nm-manager.c:
8111         * src/nm-manager.h:
8112         Implement device activation through NMManager.
8113         Implement "pending device activation" here - If the connection isn't found,
8114         we try to wait for up to 5 seconds for the connection to be provided.
8115         Add NMConnectionType argument to "connection-added" and "connection-removed"
8116         signals.
8117         (nm_manager_get): Remove. Finally.
8118
8119         * src/nm-activation-request.c: 
8120         * src/nm-activation-request.h: 
8121         Remove all the deferred activation code.
8122
8123         * src/nm-device.c: Remove all the deferred activation code. Once the device
8124         activation is started, it's started. Update the activation virtual function
8125         signature.
8126
8127         * src/nm-device-interface.c:
8128         * src/nm-device-interface.h:
8129         Device activation now takes only NMActRequest argument.
8130         Don't expose device activation directly on dbus, it's supposed to go through
8131         NMManager now.
8132
8133         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8134         a bit more compact.
8135         Use the new device activation methods through NMManager.
8136
8137         * introspection/nm-manager-client.xml: 
8138         * introspection/nm-manager.xml: 
8139         * libnm-glib/nm-client.c:
8140         * libnm-glib/nm-client.h:
8141         Add device activation method.
8142         
8143         * libnm-glib/nm-device.c: 
8144         * libnm-glib/nm-device.h: 
8145         * introspection/nm-device.xml: 
8146         Remove device activation method. It's done through NMManager now.
8147
8148         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8149         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8150
8151 2007-09-28  Dan Williams  <dcbw@redhat.com>
8152
8153         * libnm-glib/nm-vpn-connection.c
8154                 - (nm_vpn_connection_get_state): try to update state if the current
8155                         state is UNKNOWN
8156
8157 2007-09-27  Dan Williams  <dcbw@redhat.com>
8158
8159         Patch from Bill Nottingham
8160
8161         * src/supplicant-manager/nm-supplicant-config.c
8162                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8163                         data to the supplicant
8164
8165 2007-09-27  Dan Williams  <dcbw@redhat.com>
8166
8167         * src/NetworkManagerSystem.c
8168                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8169                         and all address manipulation here should be happening on the
8170                         _VPN_ device, not the active device
8171
8172 2007-09-26  Dan Williams  <dcbw@redhat.com>
8173
8174         * src/nm-manager.c
8175           src/nm-manager.h
8176           src/nm-activation-request.c
8177           src/nm-activation-request.h
8178                 - Move the GetSecrets stuff out of the NMManager instance because it
8179                         doesn't really need to be there and complicates things
8180
8181         * src/nm-device.c
8182                 - (connection_secrets_failed_cb, device_activation_go): connect to the
8183                         connection-secrets-failed signal and deactivate the device if
8184                         the GetSecrets call fails
8185
8186         * src/nm-device-802-11-wireless.c
8187                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8188                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8189                         secrets and give correct hints about whether new secrets should be
8190                         asked for by the client or not
8191
8192 2007-09-26  Dan Williams  <dcbw@redhat.com>
8193
8194         * src/vpn-manager/nm-vpn-connection.c
8195                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8196                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8197                         to the secrets-updated signal of the NMConnection since updating
8198                         the secrets is done within the scope of the NMVPNConnection object
8199                         already
8200                 - (get_connection_secrets): fix an uninialized variable usage error
8201
8202 2007-09-26  Dan Williams  <dcbw@redhat.com>
8203
8204         * libnm-util/nm-setting.c
8205                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8206                         actually get updated when the user enters them
8207
8208 2007-09-26  Dan Williams  <dcbw@redhat.com>
8209
8210         * libnm-glib/nm-vpn-plugin.c
8211                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8212
8213 2007-09-26  Dan Williams  <dcbw@redhat.com>
8214
8215         * include/NetworkManagerVPN.h
8216                 - Add a NEED_AUTH state
8217
8218         * src/vpn-manager/nm-vpn-connection.c
8219                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
8220                         the connection needs secrets, and if so, then ask the settings
8221                         service to fill in the secrets.  Then start the connection.
8222
8223 2007-09-26  Dan Williams  <dcbw@redhat.com>
8224
8225         * src/vpn-manager/nm-vpn-manager.c
8226                 - (new_vpn_error, impl_vpn_manager_connect): set errors
8227
8228 2007-09-26  Dan Williams  <dcbw@redhat.com>
8229
8230         * introspection/nm-vpn-plugin.xml
8231           libnm-glib/nm-vpn-plugin.c
8232           libnm-glib/nm-vpn-plugin.h
8233                 - (impl_vpn_plugin_need_secrets): implement a call that should return
8234                         the name of the NMSetting in an NMConnection that may require
8235                         secrets specific to that VPN plugin
8236
8237 2007-09-26  Dan Williams  <dcbw@redhat.com>
8238
8239         * src/nm-manager.c
8240           src/nm-manager.h
8241                 - (nm_manager_get_connection_secrets): make static, unused outside
8242                         the file
8243                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8244
8245 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8246
8247         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8248         method.
8249         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8250         unreference the connection.
8251
8252         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8253         passing properties hash and routes string list, pass NMConnection (in hashed form).
8254
8255         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8256         as GSList, no need to copy stuff around anymore.
8257         (nm_vpn_connection_activate): Update the plugin activation method.
8258
8259         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8260         routes argument to GSList.
8261
8262 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8263
8264         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8265         state and try to get the secrets.
8266
8267         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8268         connections from NMManager and let the device to choose the best from the list.
8269         Since the connection list is sorted by system ones first and user ones later,
8270         the devices still prefer system connections like they did before.
8271         (deactivate_old_device): Implement. When a device starts activation, we have a
8272         policy (for now at least) to deactivate any other device that might be either
8273         active or still activating.
8274
8275         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8276         It's set on construction, there will be no other way to access it.
8277
8278         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8279         device events and drive the device, not the other way around.
8280
8281         * src/nm-device-802-3-ethernet.c: Ditto.
8282
8283         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8284         sent along, pass it on to virtual functions.
8285
8286         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8287         for now, but should really be public instead of nm_device_get_iface() since iface
8288         is a property of the DeviceInterface, not Device.
8289         (impl_device_activate): Don't touch NMManager!
8290
8291 2007-09-26  Jürg Billeter  <j@bitron.ch>
8292
8293         * initscript/paldo/NetworkManager.in:
8294         * initscript/paldo/NetworkManagerDispatcher.in:
8295         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8296         (nm_system_flush_loopback_routes): update paldo backend
8297
8298 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8299
8300         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8301         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8302         which means none of the devices get brought down properly, which in turn leaves
8303         DHCP client running.
8304
8305         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8306         (supplicant_connection_timeout_cb): Ditto.
8307
8308 2007-09-25  Dan Williams  <dcbw@redhat.com>
8309
8310         * src/nm-device.c
8311                 - (device_activation_go): small hack to work around race when
8312                         activating deferred connections; should solve this in a better way
8313
8314 2007-09-25  Dan Williams  <dcbw@redhat.com>
8315
8316         * introspection/nm-device.xml
8317           libnm-glib/nm-device.c
8318           libnm-glib/nm-device.h
8319                 - Add 'Carrier' property to exported NMDevice objects
8320
8321         * src/nm-device-interface.h
8322           src/nm-device-interface.c
8323           src/nm-device.c
8324                 - Add a 'carrier' property to internal NMDevice objects
8325
8326 2007-09-25  Dan Williams  <dcbw@redhat.com>
8327
8328         * src/nm-device-802-11-wireless.c
8329                 - (ap_auth_enforced): also return the encryption status of the AP so
8330                         that callers can differentiate easily between unencrypted APs
8331                         and encrypted ones, in addition to whether the AP has an
8332                         authenticator
8333                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8334                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8335                         previously would request secrets from unencrypted APs at times
8336
8337 2007-09-25  Dan Williams  <dcbw@redhat.com>
8338
8339         * src/nm-manager.c
8340                 - (nm_manager_update_state): new function; updates state and emits
8341                         appropriate signals ensuring a state-change signal for the same state
8342                         never gets emitted twice in a row.
8343                 - (manager_device_state_changed): handle more device state to get a
8344                         better picture of the overall NM state
8345
8346 2007-09-25  Dan Williams  <dcbw@redhat.com>
8347
8348         * libnm-glib/nm-settings.c
8349           libnm-glib/nm-settings.h
8350                 - (new_error -> nm_settings_new_error): make public so that subclasses
8351                         can use the same error domain.  Also pass a valid error code to
8352                         g_error_new_literal() so that libdbus doesn't assert when converting
8353                         the GError into a DBusError
8354                 - (impl_settings_list_connections, impl_connection_settings_get_id,
8355                    impl_connection_settings_get_settings,
8356                    impl_connection_settings_get_secrets): use new error creator
8357                         function
8358
8359 2007-09-25  Dan Williams  <dcbw@redhat.com>
8360
8361         * src/NetworkManager.c
8362                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8363
8364 2007-09-25  Dan Williams  <dcbw@redhat.com>
8365
8366         * src/supplicant-manager/nm-supplicant-manager.c
8367                 - (poke_supplicant_cb, nm_supplicant_manager_init,
8368                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8369                    nm_supplicant_manager_startup): when the supplicant isn't running,
8370                         try to start it periodically via system bus activation.  Fixes
8371                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
8372                         for the supplicant to come back
8373
8374 2007-09-25  Dan Williams  <dcbw@redhat.com>
8375
8376         Ensure that old activation requests are forgotten about; previously
8377         hitting Cancel in the password dialog would deactivate whatever device
8378         that password was requested for, even if that wasn't the currently
8379         activating connection.
8380
8381         * src/nm-manager.c
8382           src/nm-manager.h
8383                 - (nm_manager_get_connection_secrets): track the pending call
8384                         object so it can be canceled later if needed
8385                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8386                         GetSecrets call for a particular connection
8387
8388         * src/nm-activation-request.c
8389                 - (dispose): cancel any outstanding GetSecrets calls on the
8390                         connection
8391
8392 2007-09-25  Dan Williams  <dcbw@redhat.com>
8393
8394         * src/NetworkManagerPolicy.c
8395                 - (nm_policy_device_change_check): handle devices that have a
8396                         deferred activation.  These devices are not really active _yet_,
8397                         but need to be treated as such here.  Don't interrupt them
8398                         automatically.
8399
8400         * src/nm-device-interface.c
8401                 - (impl_device_activate): handle devices that have a deferred activation
8402                         like activating or active devices.  When multiple active devices
8403                         get committed, the device shouldn't be deactivated until the
8404                         connection details are available to avoid DoS and such.  Currently,
8405                         any active, activating, or deferred activation device is deactivated
8406                         here before starting the new activation request.
8407
8408 2007-09-25  Dan Williams  <dcbw@redhat.com>
8409
8410         Properly re-query secrets from the settings daemon when stuff fails.
8411
8412         * src/nm-device-802-11-wireless.c
8413                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8414                         between Shared Key and Open System auth modes
8415                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8416                    real_act_stage4_ip_config_timeout): clear existing secrets and
8417                         request new ones when something fails due to a suspected wrong key
8418                 - (real_act_stage2_config): fix for new request_new argument to
8419                         nm_manager_get_connection_secrets()
8420
8421         * src/nm-manager.c
8422           src/nm-manager.h
8423                 - (nm_manager_get_connection_secrets): return error status; pass
8424                         new request_new argument on to the settings daemon
8425
8426         * introspection/nm-settings-connection.xml
8427                 - New 'request_new' argument to the GetSecrets call that hints to the
8428                         settings daemon to ask the user for completely new secrets
8429
8430         * libnm-glib/nm-settings.c
8431           libnm-glib/nm-settings.h
8432                 - (impl_connection_settings_get_secrets): handle new 'request_new'
8433                         argument
8434
8435 2007-09-25  Dan Williams  <dcbw@redhat.com>
8436
8437         * libnm-util/nm-connection.c
8438           libnm-util/nm-connection.h
8439                 - (nm_connection_clear_secrets): new function; clear secrets out of
8440                         each NMSetting in an NMConnection
8441
8442         * libnm-util/nm-setting.h
8443           libnm-util/nm-setting.c
8444                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
8445                         secrets out of an NMSetting
8446                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
8447                    nm_setting_wired_new, nm_setting_wireless_new,
8448                    nm_setting_wireless_security_new, nm_setting_ppp_new,
8449                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8450                         to default handler default_setting_clear_secrets()
8451
8452 2007-09-25  Dan Williams  <dcbw@redhat.com>
8453
8454         * src/nm-activation-request.c
8455           src/nm-activation-request.h
8456                 - (nm_act_request_is_deferred): new function
8457
8458 2007-09-24  Dan Williams  <dcbw@redhat.com>
8459
8460         * src/nm-device-802-11-wireless.c
8461                 - (activation_success_handler): update signal strength immediately
8462                         after activation
8463
8464 2007-09-24  Dan Williams  <dcbw@redhat.com>
8465
8466         * libnm-util/nm-setting.c
8467                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8468
8469 2007-09-24  Dan Williams  <dcbw@redhat.com>
8470
8471         * src/NetworkManagerPolicy.c
8472                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8473                         device by deactivating it because it doesn't have a "best connection".
8474                         Since autoconnect=False connections aren't automatically chosen,
8475                         NM would interrupt activation of such a connection because it
8476                         would never be "best" due to autoconnect=False.
8477
8478 2007-09-24  Dan Williams  <dcbw@redhat.com>
8479
8480         * src/nm-manager.c
8481                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8482                         actually has some time to enter a key before the GetSecrets call
8483                         times out
8484
8485 2007-09-24  Dan Williams  <dcbw@redhat.com>
8486
8487         * introspection/nm-manager.xml
8488           src/nm-manager.c
8489                 - (impl_manager_legacy_state): fix 'state' method call return value
8490
8491 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8492
8493         * test/Makefile.am: Install nm-tool
8494
8495 2007-09-24  Dan Williams  <dcbw@redhat.com>
8496
8497         Patch from Ross Burton <ross@burtonini.com>
8498
8499         * test/nm-tool.c
8500           callouts/nm-dhcp-client-action.c
8501           src/nm-netlink.c
8502           src/vpn-manager/nm-vpn-connection.c
8503           libnm-glib/libnm-glib-test.c
8504                 - warning fixes
8505
8506 2007-09-24  Dan Williams  <dcbw@redhat.com>
8507
8508         * libnm-util/nm-utils.h
8509           libnm-util/nm-utils.c
8510                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8511                         remove, unused
8512
8513 2007-09-23  Dan Williams  <dcbw@redhat.com>
8514
8515         * vpn-daemons/vpnc/properties/nm-vpnc.c
8516                 - Update for new VPN properties API bits; instead of passing around
8517                         a lot of random things, everything goes into the NMConnection
8518                         object.
8519
8520 2007-09-23  Dan Williams  <dcbw@redhat.com>
8521
8522         * libnm-util/nm-setting.c
8523                 - Correctly dispose of settings objects if creating them from a hash
8524                         table fails
8525
8526 2007-09-23  Dan Williams  <dcbw@redhat.com>
8527
8528         * libnm-util/nm-setting.c
8529                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8530                         the hash table in a standard manner.  Clients of libnm-util should
8531                         only call g_hash_table_remove_all(), never destroy the hash table
8532                         and recreate it.
8533
8534 2007-09-22  Dan Williams  <dcbw@redhat.com>
8535
8536         * src/nm-device-802-11-wireless.c
8537                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8538                         real reason to do it so often, and reduces wakeups for clients.
8539
8540 2007-09-21  Dan Williams  <dcbw@redhat.com>
8541
8542         * src/nm-device-802-11-wireless.c
8543                 - (build_supplicant_config): wpa_supplicant requires the option
8544                         key_mgmt=NONE for unencrypted networks
8545                 - (real_act_stage2_config): clarify log message on activation
8546
8547 2007-09-21  Dan Williams  <dcbw@redhat.com>
8548
8549         * test/nm-supplicant-test.c
8550           test/Makefile.am
8551                 - Remove supplicant test binary; no longer applicable
8552
8553 2007-09-21  Dan Williams  <dcbw@redhat.com>
8554
8555         * src/supplicant-manager/nm-supplicant-manager.c
8556                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8557                         activate it on the system bus
8558
8559 2007-09-20  Dan Williams  <dcbw@redhat.com>
8560
8561         * initscript/RedHat/NetworkManager.in
8562                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8563
8564 2007-09-20  Dan Williams  <dcbw@redhat.com>
8565
8566         * src/nm-device.c
8567                 - (nm_device_is_activating): work around a race between auto-activation
8568                         and the user activating the same device that is being auto-activated
8569
8570 2007-09-20  Dan Williams  <dcbw@redhat.com>
8571
8572         * src/nm-device-interface.c
8573                 - (impl_device_activate): until multiple active device support lands,
8574                         ensure only one device can be active at a time
8575
8576 2007-09-20  Dan Williams  <dcbw@redhat.com>
8577
8578         * src/supplicant-manager/nm-supplicant-config.c
8579           src/supplicant-manager/nm-supplicant-config.h
8580                 - (nm_supplicant_config_add_option): hide secrets from system logs
8581
8582 2007-09-20  Dan Williams  <dcbw@redhat.com>
8583
8584         * src/NetworkManagerPolicy.c
8585                 - (nm_policy_device_change_check): re-enable the wireless device change
8586                         checking code; insted of checking for SSIDs, check for the same
8587                         connection instead
8588
8589 2007-09-20  Dan Williams  <dcbw@redhat.com>
8590
8591         * src/nm-device-802-11-wireless.c
8592                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8593                         composite link state when determining when to start the disconnection
8594                         timer; that link state is already based on the supplicant interface's
8595                         status which is exactly what's already being examined, plus the link
8596                         state is a conglomeration of various things that we don't want here
8597
8598 2007-09-20  Dan Williams  <dcbw@redhat.com>
8599
8600         * libnm-glib/nm-access-point.c
8601                 - (handle_property_changed): strength is a UCHAR
8602
8603 2007-09-20  Dan Williams  <dcbw@redhat.com>
8604
8605         * src/supplicant-manager/nm-supplicant-config.c
8606                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8607                         string list keywords too since that's what wpa_supplicant wants
8608
8609 2007-09-20  Dan Williams  <dcbw@redhat.com>
8610
8611         * libnm-util/nm-setting.c
8612                 - (convert_strv_to_slist): dupe the values in the list because since
8613                         the list is a boxed value, it'll get destroyed when it's container
8614                         (like a hash table or whatever) gets destroyed
8615
8616 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8617
8618         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8619         GSList.
8620
8621         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8622
8623         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8624         just use (g_object_set_data_full).
8625
8626         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8627         that NMSettingVPN->routes is a GSList, convert it to char **.
8628         (nm_vpn_connection_ip4_config_get): Free routes when done.
8629         (nm_vpn_connection_activate): Ditto.
8630
8631         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8632         (real_act_stage2_config): Use defined setting names.
8633
8634 2007-09-20  Dan Williams  <dcbw@redhat.com>
8635
8636         * src/nm-device-802-11-wireless.c
8637           src/nm-manager.c
8638           src/nm-manager.h
8639                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8640                         so that the device can be deactivated if secrets are wrong
8641
8642 2007-09-20  Dan Williams  <dcbw@redhat.com>
8643
8644         * introspection/nm-settings-connection.xml
8645           libnm-glib/nm-settings.c
8646           libnm-glib/nm-settings.h
8647                 - Make GetSecrets asynchronous on the server side
8648
8649 2007-09-20  Dan Williams  <dcbw@redhat.com>
8650
8651         * src/nm-manager.h
8652           src/nm-device.c
8653                 - (nm_device_activate): actually check if a given connection
8654                         exists before assuming it doesn't
8655
8656 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8657
8658         * libnm-util/nm-connection.c (register_default_creators): Use defined
8659         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8660
8661         * libnm-util/nm-setting.c: Define property name strings, use them.
8662         Implement NMSettingVPN and NMSettingVPNProperties settings.
8663         Implement NM_S_TYPE_GVALUE_HASH.
8664         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8665         (setting_connection_verify): Rename 'devtype' property to 'type'.
8666
8667         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8668         properties.
8669
8670         * src/vpn-manager/nm-vpn-service.c: Ditto.
8671
8672         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8673
8674         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8675         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8676
8677         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8678         names. NMSettingConnection->devtype got renamed to 'type'.
8679
8680         * src/nm-device-802-3-ethernet.c (find_best_connection):
8681         (real_get_best_connection): Ditto.
8682
8683         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8684
8685         * libnm-glib/nm-vpn-manager.[ch]: Update.
8686
8687 2007-09-19  Dan Williams  <dcbw@redhat.com>
8688
8689         * src/NetworkManagerAP.c
8690           src/NetworkManagerAP.h
8691           introspection/nm-access-point.xml
8692                 - Change strength-changed signal into a properties-changed signal
8693                         for all properties, not just strength.  Export that signal over dbus
8694                         so listeners don't have to poll NM for changes.
8695                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8696                         get exported over D-Bus, so break up the logic and let other bits
8697                         decided when to export the AP
8698                 - (nm_ap_new_from_ap): remove, unused
8699
8700         * src/nm-device-802-11-wireless.c
8701                 - (merge_scanned_ap): only export APs that are actually on the device
8702                         list, not every AP created internally
8703
8704         * libnm-glib/nm-access-point.c
8705           libnm-glib/nm-access-point.h
8706                 - Cache properties internally and only hit DBus when needed.  Get
8707                         property updates from NM signals
8708
8709 2007-09-16  Dan Williams  <dcbw@redhat.com>
8710
8711         * libnm-util/nm-connection.c
8712           libnm-util/nm-connection.h
8713                 - (nm_connection_for_each_setting_value): new function; iterate over
8714                         each setting's value and call a user-provided function with details
8715                         about that value
8716
8717         * libnm-util/nm-setting.c
8718           libnm-util/nm-setting.h
8719                 - (nm_setting_enumerate_values): new function; enumerate the values
8720                         of a specific NMSetting subclass for a user-provided function with
8721                         details about that value
8722                 - Change wep_tx_keyidx to a uint32
8723                 - Create settings value tables for each setting defining their type,
8724                         key name, offset into the NMSetting subclass' structure, and whether
8725                         they are required and/or a secret
8726                 - (nm_setting_populate_from_hash): generic function to populate an
8727                         NMSetting from a GHash table, make all settings use it
8728                 - (nm_setting_hash): generic function to derive a GHashTable from
8729                         an NMSetting object, make all settings use it
8730
8731 2007-09-14  Dan Williams  <dcbw@redhat.com>
8732
8733         Remove unused stuff in libnm-util
8734
8735         * configure.in
8736           libnm-util/Makefile.am
8737           libnm-util/cipher-private.h
8738           libnm-util/cipher-wep-ascii.c
8739           libnm-util/cipher-wep-ascii.h
8740           libnm-util/cipher-wep-hex.c
8741           libnm-util/cipher-wep-hex.h
8742           libnm-util/cipher-wep-passphrase.c
8743           libnm-util/cipher-wep-passphrase.h
8744           libnm-util/cipher-wpa-psk-hex.c
8745           libnm-util/cipher-wpa-psk-hex.h
8746           libnm-util/cipher-wpa-psk-passphrase.c
8747           libnm-util/cipher-wpa-psk-passphrase.h
8748           libnm-util/cipher.c
8749           libnm-util/cipher.h
8750           libnm-util/dbus-helpers.c
8751           libnm-util/dbus-helpers.h
8752           libnm-util/gnome-keyring-md5.c
8753           libnm-util/gnome-keyring-md5.h
8754           libnm-util/sha1.c
8755           libnm-util/sha1.h
8756           src/nm-device-802-11-wireless.c
8757           test/libnm-util/Makefile.am
8758           test/libnm-util/test-ciphers.c
8759           test/libnm-util/test-dbus-helpers.c
8760           test/libnm-util/test-inputs.h
8761                 - Removed
8762
8763 2007-09-14  Dan Williams  <dcbw@redhat.com>
8764
8765         * libnm-util/dbus-method-dispatcher.c
8766           libnm-util/dbus-method-dispatcher.h
8767                 - Remove, unused
8768
8769 2007-09-14  Dan Williams  <dcbw@redhat.com>
8770
8771         Implement deferred activation support in the device class.
8772
8773         * src/nm-device-interface.c
8774           src/nm-device-interface.h
8775                 - (nm_device_interface_activate): take more arguments to support
8776                         deferred activation; callers must pass one of (connection) OR
8777                         (service_name, connection_path)
8778                 - (impl_device_activate): connection validation is punted to the device
8779                         to be able to handle deferred activation.  Yes, this means errors
8780                         don't get returned from the Activate() dbus call, and yes, that
8781                         should be fixed somehow later.
8782
8783         * src/nm-device.c
8784           src/nm-device.h
8785                 - (clear_act_request): clear additional deferred activation stuff too
8786                 - (deferred_activation_timeout_cb): new function; clean up when
8787                         deferred activation times out.
8788                 - (deferred_activation_start_cb): new function; when the connection
8789                         finally becomes available, start device activation
8790                 - (nm_device_activate): attach to the right signals of the activation
8791                         request if we need to defer activation until the connection is valid
8792
8793         * src/NetworkManagerPolicy.c
8794                 - (nm_policy_device_change_check): update for additional arguments
8795                         required for nm_device_interface_activate().  Pass NULL for these
8796                         though because this function already knows exactly which
8797                         NMConnection to use
8798
8799 2007-09-14  Dan Williams  <dcbw@redhat.com>
8800
8801         Implement deferred activation handling in the NMActRequest class.  When a
8802         client wants to activate a device but must create the NMConnection details
8803         on the fly, there likely hasn't been enough time yet for NM to receive the
8804         new connection signal and grab all the connection details.  So the
8805         activation is deferred (and bounded by a timer) for a while, and if the
8806         connection appears within the window, it is activated.
8807
8808         * src/nm-activation-request.c
8809           src/nm-activation-request.h
8810                 - (nm_act_request_class_init): two new signals to support deferred
8811                         activation, to allow the listener to handle both timeout and success
8812                 - (nm_act_request_new_deferred): new function, starts the deferred
8813                         activation timeout handler and listens to the NMManager for
8814                         new-connection signals to notice when the connection comes in
8815
8816 2007-09-14  Dan Williams  <dcbw@redhat.com>
8817
8818         * src/nm-manager.h
8819           src/nm-manager.c
8820                 - (nm_manager_get_connection_service_name,
8821                    nm_manager_get_connection_dbus_path): get details about a connection
8822                         known internally by the NMManager
8823                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8824                         because NMConnection is now a GObject subclass
8825                 - Use constant for the gobject data tag used on NMConnection objects for
8826                         storing the associated DBusGProxy
8827
8828 2007-09-14  Dan Williams  <dcbw@redhat.com>
8829
8830         * utils/Makefile.am
8831           utils/nm-utils.c
8832           utils/nm-utils.h
8833           src/supplicant-manager/Makefile.am
8834           src/dhcp-manager/Makefile.am
8835           src/backends/Makefile.am
8836           src/named-manager/Makefile.am
8837           src/ppp-manager/Makefile.am
8838           src/vpn-manager/Makefile.am
8839           test/libnm-util/Makefile.am
8840           test/test-common/Makefile.am
8841                 - Remove utils/; it was unused
8842
8843 2007-09-13  Dan Williams  <dcbw@redhat.com>
8844
8845         * libnm-glib/nm-vpn-manager.h
8846           libnm-glib/nm-vpn-manager.c
8847                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8848
8849 2007-09-13  Dan Williams  <dcbw@redhat.com>
8850
8851         * src/nm-device-802-3-ethernet.c
8852                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8853                         netlink monitor carrier signals on dispose, not bring down.  The
8854                         carrier signals should be handled over the entire lifetime of the
8855                         device anyway, not created/destroyed on up or down.
8856
8857 2007-09-13  Dan Williams  <dcbw@redhat.com>
8858
8859         * libnm-glib/nm-device.c
8860           libnm-glib/nm-device.h
8861                 - (nm_device_activate): take a connection object path rather than an
8862                         NMConnection because NMConnection isn't exported over D-Bus and
8863                         therefore it dbus-glib can't automatically get an object path from it
8864
8865 2007-09-13  Dan Williams  <dcbw@redhat.com>
8866
8867         * libnm-util/nm-setting.c
8868                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8869
8870 2007-09-13  Tambet Ingo  <tambet@gmail.com>
8871
8872         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8873
8874 2007-09-12  Tambet Ingo  <tambet@gmail.com>
8875
8876         * src/vpn-manager/nm-vpn-connection.[ch]: 
8877         * src/vpn-manager/nm-vpn-manager.[ch]:
8878         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
8879         dbus-glib, GObjects, signals etc.
8880
8881         * libnm-glib/nm-vpn-manager.[ch]: 
8882         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8883         so much, rewrite these too.
8884
8885         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8886         the new introspection files.
8887
8888         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8889
8890         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8891         the header with the same name from libnm-utils.
8892
8893         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8894
8895         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8896
8897         * introspection/nm-vpn-plugin.xml: Implement.
8898
8899         * introspection/nm-vpn-connection.xml: Implement.
8900
8901         * introspection/nm-vpn-manager.xml: Implement.
8902
8903         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8904         the named manager argument, it can just as easily get it as the caller.
8905         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8906
8907         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8908
8909         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8910
8911         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8912         libnm-utils.
8913
8914         * libnm-util/nm-connection.c: Ditto.
8915
8916         * src/NetworkManagerMain.h: Remove, it's finally empty.
8917
8918         * configure.in: Remove utils/ from build.
8919
8920         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8921         of hard-coded strings.
8922
8923         * utils/: Move it over to libnm-util.
8924
8925         * test/Makefile.am: Link against libnm-util now that util/ is gone.
8926
8927         * dispatcher-daemon/Makefile.am: Ditto.
8928
8929         * src/Makefile.am: Ditto.
8930
8931 2007-09-12  Dan Williams  <dcbw@redhat.com>
8932
8933         Wireless connections can be made with config data from the applet now.
8934         
8935         Yay.
8936
8937         * src/supplicant-manager/nm-supplicant-config.h
8938           src/supplicant-manager/nm-supplicant-config.c
8939                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8940                 - (nm_supplicant_config_add_setting_wireless,
8941                    nm_supplicant_config_add_setting_wireless_security): new functions;
8942                         add key/value pairs from the settings objects to the supplicant
8943                         config
8944
8945         * src/nm-device-802-11-wireless.c
8946                 - (cull_scan_list): fix check to not prune currently associated AP
8947                 - (build_supplicant_config, real_act_stage2_config): call the functions
8948                         of the NMSupplicantConfig that parse settings objects rather than
8949                         doing it manually here
8950
8951 2007-09-12  Dan Williams  <dcbw@redhat.com>
8952
8953         * src/supplicant-manager/nm-supplicant-interface.c
8954           src/supplicant-manager/nm-supplicant-marshal.list
8955                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8956                         "connection-error" signal arguments should be STRING not CHAR
8957
8958 2007-09-12  Dan Williams  <dcbw@redhat.com>
8959
8960         * src/NetworkManagerUtils.c
8961           src/NetworkManagerUtils.h
8962                 - (nm_utils_hexstr2bin): new function
8963
8964 2007-09-11  Dan Williams  <dcbw@redhat.com>
8965
8966         * src/nm-manager.c
8967                 - (connection_get_settings_cb): emit connection-added signal
8968                 - (connection_removed_cb): uncomment bits for system settings service,
8969                         send connection-removed when appropriate
8970                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8971                         the stack by trying to g_object_set_data() on something that's
8972                         not a GObject; handle case where settings service returns
8973                         empty settings hash table
8974
8975 2007-09-11  Dan Williams  <dcbw@redhat.com>
8976
8977         * src/NetworkManagerPolicy.c
8978                 - (connection_added, connection_removed): trigger device change checks
8979                         on connection changes
8980
8981 2007-09-11  Dan Williams  <dcbw@redhat.com>
8982
8983         * src/nm-activation-request.c
8984                 - (connection_secrets_updated_cb): fix c&p error in signal emission
8985
8986 2007-09-11  Dan Williams  <dcbw@redhat.com>
8987
8988         * src/nm-device-802-11-wireless.c
8989                 - (real_connection_secrets_updated): fix erroneous check
8990
8991 2007-09-11  Dan Williams  <dcbw@redhat.com>
8992
8993         * introspection/nm-device.xml
8994           libnm-glib/nm-device.c
8995           libnm-glib/nm-device.c
8996                 - Fix Activate call argument borkage; Activate takes 3 arguments
8997
8998 2007-09-11  Dan Williams  <dcbw@redhat.com>
8999
9000         * libnm-glib/nm-access-point.c
9001           libnm-glib/nm-access-point.c
9002                 - (nm_access_point_get_frequency): now returns guint32 to match
9003                         property change on 2007-09-10
9004
9005 2007-09-11  Dan Williams  <dcbw@redhat.com>
9006
9007         * src/nm-device-802-11-wireless.c
9008                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
9009                         somewhere defines 'index' and I missed this one when I fixed the
9010                         shadow declaration errors earlier
9011
9012 2007-09-11  Dan Williams  <dcbw@redhat.com>
9013
9014         * libnm-util/nm-connection.c
9015                 - (nm_connection_update_secrets, need_secrets_check): move
9016                         802-11-wireless-security need_secrets checks to the setting object
9017                         itself, where it belongs
9018
9019         * libnm-util/nm-setting.c
9020           libnm-util/nm-setting.h
9021                 - (nm_setting_need_secrets): new function
9022                 - (setting_wireless_security_verify,
9023                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
9024                 - (setting_wireless_security_need_secrets): mostly copy code over
9025                         from nm-connection.c
9026
9027 2007-09-11  Dan Williams  <dcbw@redhat.com>
9028
9029         * libnm-util/nm-setting.c
9030           libnm-util/nm-setting.h
9031                 - (nm_setting_update_secrets): new function; add a virtual function that
9032                         subclasses can implement to update their secrets
9033                 - (setting_wireless_security_update_secrets): implement that function
9034                         for the 802-11-wireless-security subclass
9035
9036         * libnm-util/nm-connection.c
9037           libnm-util/nm-connection.h
9038                 - (nm_connection_update_secrets): update secrets for a Setting and
9039                         emit a signal on success
9040
9041         * src/nm-manager.c
9042           src/nm-manager.h
9043           src/nm-marshal.list
9044                 - (connection_get_settings_cb): enable system settings bits
9045                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
9046                         to request secrets from the settings dbus service and to
9047                         push those secrets to the NMConnection itself
9048
9049         * src/nm-activation-request.c
9050           src/nm-activation-request.h
9051                 - Attach to the 'secrets-updated' signal of the NMConnection that's
9052                         currently being activated, and proxy that signal to other listeners.
9053                         Goes through the activation request because the activation request
9054                         is the thing that manages the lifetime of the NMConnection that's
9055                         being activated.
9056
9057         * src/nm-device-802-11-wireless.c
9058                 - (real_connection_secrets_updated): implement the connection secrets
9059                         updated notification and restart activation when secrets are
9060                         received
9061                 - (real_act_stage2_config): request secrets from the settings dbus
9062                         service if secrets are needed
9063
9064         * src/nm-device.c
9065           src/nm-device.h
9066                 - (clear_act_request, nm_device_activation_cancel,
9067                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9068                         where the activation request is cleared
9069                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9070                         updated secrets signal of activation request and add a function
9071                         that subclasses can override to handle it easily
9072
9073 2007-09-11  Tambet Ingo  <tambet@gmail.com>
9074
9075         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9076         removal of NetworkManagerAPList.
9077
9078 2007-09-10  Dan Williams  <dcbw@redhat.com>
9079
9080         * src/NetworkManagerAP.c
9081           src/NetworkManagerAP.h
9082           introspection/nm-access-point.xml
9083                 - Change 'freq' property to a guint32 instead of a double since we
9084                         weren't using the floating point bits anyway
9085
9086 2007-09-10  Dan Williams  <dcbw@redhat.com>
9087
9088         * NetworkManagerAP.c
9089           NetworkManagerAP.h
9090           NetworkManagerPolicy.c
9091           NetworkManagerSystem.c
9092           NetworkManagerUtils.c
9093           NetworkManagerUtils.h
9094           nm-device-802-11-wireless.c
9095           nm-device-802-3-ethernet.c
9096           nm-hal-manager.c
9097           nm-manager.c
9098           vpn-manager/nm-dbus-vpn.c
9099                 - Warning fixes; casts and removal of unused variables
9100
9101 2007-09-10  Dan Williams  <dcbw@redhat.com>
9102
9103         * include/NetworkManager.h
9104                 - Kill NMNetworkType; AP types don't matter any more
9105
9106         * src/NetworkManagerAPList.c
9107           src/NetworkManagerAPList.h
9108           src/Makefile.am
9109                 - Kill; NMAccessPointList has outlived it's usefulness
9110
9111         * src/NetworkManagerAP.c
9112           src/NetworkManagerAP.h
9113                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9114                         functions; check if an NMConnection object is compatible with the
9115                         settings of this AP
9116                 - (freq_to_channel, channel_to_freq): utility functions for
9117                         channel <-> frequency conversion
9118
9119         * src/nm-device.c
9120           src/nm-device.h
9121                 - (nm_device_get_best_connection): pass the specific object around
9122                          (which might be the object path of a specific AP to connect to).
9123                          The get_best_connection() call should populate this on return
9124                          if needed (wireless does).
9125
9126         * src/nm-device-802-3-ethernet.c
9127                 - (real_get_best_connection): handle specific_object argument
9128
9129         * src/NetworkManager.c
9130           src/NetworkManagerMain.h
9131                 - Remove unused includes
9132
9133         * src/nm-device-802-11-wireless.c
9134           src/nm-device-802-11-wireless.h
9135                 - Convert the ap_list into a GSList from an NMAccessPointList
9136                 - No need for caching the 'activation_ap' since this is now determined
9137                         from the specific_object of the activation request, which is
9138                         populated from the get_best_connection() call or from a user request
9139                 - (nm_device_802_11_wireless_update_bssid): fix warning
9140                 - (get_wireless_capabilities): fix error message format arguments
9141                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9142                 - (find_best_connection, real_get_best_connection): implement
9143                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9144                         move here from NetworkManagerAPList
9145                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9146                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9147                         already verified earlier
9148                 - (real_act_stage2_config): use nm_connection_need_secrets()
9149
9150         * src/NetworkManagerPolicy.c
9151                 - (nm_policy_auto_get_best_device): handle specific objects
9152                 - (create_connection): remove; automatic connection creation functionality
9153                         is handled by the Connection objects
9154                 - (nm_policy_device_change_check): handle specific_object
9155
9156         * libnm-util/nm-connection.c
9157                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9158
9159 2007-09-10  Dan Williams  <dcbw@redhat.com>
9160
9161         * src/nm-manager.c
9162                 - (query_connections): fix uninitialized variable problem that caused
9163                         segfault
9164                 - (nm_manager_add_device): take devices down on startup so that we can
9165                         be assured that nm_device_is_up() won't short-circuit the init
9166                         process.  Hack until the is_up check gets split into two pieces
9167                         that aren't behaviorally confusing.
9168
9169 2007-09-09  Dan Williams  <dcbw@redhat.com>
9170
9171         * introspection/nm-device.xml
9172                 - The 'Activate' method now takes 3 arguments, a service name for the
9173                 settings service (user or system), the object path of the connection
9174                 to activate, and the specific object to activate, if any
9175
9176         * src/nm-device-interface.c
9177                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9178                 Add error bits
9179                 - (impl_device_activate): adapt to new Activate arguments; validate
9180                 the service name and get the Connection object from the NMManager
9181                 before starting to activate the device with the specified connection
9182
9183         * src/nm-device-802-3-ethernet.c
9184                 - (real_get_best_connection): find the best connection, or create a
9185                 default one if no existing connections can be used
9186
9187         * src/NetworkManagerPolicy.c
9188                 - (nm_policy_auto_get_best_device): Get the device's best connection
9189                 and only pick the device if it has one
9190                 - (nm_policy_device_change_check): disable wireless bits for now until
9191                 wireless get_best_connection() can be implemented (replacing "best_ap");
9192                 don't create a default connection here as the device subclass will do
9193                 that if needed
9194
9195         * src/nm-manager.h
9196           src/nm-manager.c
9197                 - (nm_manager_get): make NMManager a singleton and expose the getter
9198                 internally
9199                 - Rework internal NMManager connection handling to use the same
9200                 routines for both the system and user settings services.  Most calls
9201                 take a new NMConnectionType argument specifying either system or user
9202                 connections
9203                 - (nm_manager_get_connection_by_object_path): new function; get a
9204                 connection keyed on its object path
9205
9206         * src/NetworkManager.c
9207                 - (main): use nm_manager_get()
9208
9209 2007-09-09  Dan Williams  <dcbw@redhat.com>
9210
9211         * src/nm-device.h
9212           src/nm-device.c
9213                 - (nm_device_get_best_connection): new function; get best connection
9214                         for the device at that time
9215
9216 2007-09-09  Dan Williams  <dcbw@redhat.com>
9217
9218         * src/nm-device-interface.h
9219                 - Add NMDeviceInterfaceError with an UnknownConnection error
9220
9221 2007-09-09  Dan Williams  <dcbw@redhat.com>
9222
9223         Stupid mistake on my part; object path and interface for settings service
9224         and connection objects can be the same, only the service name must be
9225         different for the system and user settings services.
9226
9227         * include/NetworkManager.h
9228           src/nm-manager.c
9229           introspection/nm-settings-connection.xml
9230           introspection/nm-settings.xml
9231           libnm-glib/nm-settings.c
9232                 - (nm_connection_settings_init, query_user_connections,
9233                    new_connection_cb): Unify NetworkManagerSettings and Connection
9234                    interface name and object path
9235
9236 2007-09-06  Dan Williams  <dcbw@redhat.com>
9237
9238         * libnm-glib/nm-object.c
9239                 - (nm_object_get_string_property, nm_object_get_object_path_property,
9240                    nm_object_get_int_property, nm_object_get_uint_property,
9241                    nm_object_get_boolean_property, nm_object_get_byte_property,
9242                    nm_object_get_double_property, nm_object_get_byte_array_property):
9243                         clear GValues after copying their contents, fixes memory leaks
9244                         after every property access because dbus-glib copies the values
9245                         from the DBusMessage into the GValue already.
9246
9247 2007-09-06  Dan Williams  <dcbw@redhat.com>
9248
9249         * introspection/nm-access-point.xml
9250                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9251                         them to be.  There's some magic property name parsing going on in
9252                         dbus-glib that breaks up property names based on studly-caps and
9253                         puts - between words.
9254
9255         * libnm-glib/nm-access-point.c
9256                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9257                         Fix property names
9258
9259 2007-09-06  Dan Williams  <dcbw@redhat.com>
9260
9261         * src/nm-manager.c
9262                 - (nm_manager_user_connections_destroy): clear the user connections hash
9263                         table, don't destroy it
9264                 - (finalize): only destroy the hash table on NMManager finalization
9265
9266 2007-09-02  Dan Williams  <dcbw@redhat.com>
9267
9268         * include/NetworkManager.h
9269           libnm-glib/nm-settings.c
9270                 - defines for the user settings daemon D-Bus bits
9271
9272         * src/NetworkManager.c
9273                 - Remove stuff that referred to the old NetworkManagerInfo service
9274
9275         * src/vpn-manager/nm-dbus-vpn.h
9276                 - Move old NMI defines to the only place they are used still
9277
9278         * libnm-util/nm-connection.c
9279           libnm-util/nm-connection.h
9280           src/nm-activation-request.c
9281                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9282
9283         * src/nm-manager.c
9284           src/nm-manager.h
9285                 - Get connections and their settings from the user settings daemon
9286                         at the appropriate times
9287
9288 2007-09-02  Dan Williams  <dcbw@redhat.com>
9289
9290         * libnm-util/nm-setting.c
9291                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9292                 - (setting_wireless_hash): set the right value on the item
9293
9294 2007-09-02  Dan Williams  <dcbw@redhat.com>
9295
9296         * test/Makefile.am
9297           test/nminfotest.c
9298                 - Remove, no longer useful
9299
9300 2007-08-30  Dan Williams  <dcbw@redhat.com>
9301
9302         * src/Makefile.am
9303           src/NetworkManagerDbus.c
9304           src/NetworkManagerDbus.h
9305           src/vpn-manager/nm-dbus-vpn.c
9306                 - Remove, no longer necessary.  Move last bits to the only place its
9307                 used, in nm-dbus-vpn.c
9308
9309         * src/NetworkManagerAPList.c
9310           src/nm-device.c
9311           src/NetworkManager.c
9312           src/nm-device-802-11-wireless.c
9313           src/vpn-manager/nm-vpn-manager.c
9314           src/vpn-manager/nm-vpn-service.c
9315           src/NetworkManagerPolicy.c
9316           src/nm-manager.c
9317                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9318                 that was message_is_error()
9319
9320 2007-08-30  Dan Williams  <dcbw@redhat.com>
9321
9322         * libnm-util/sha1.c
9323                 - Include config.h to get defines for endiannes (gnome.org #420216)
9324
9325 2007-08-30  Dan Williams  <dcbw@redhat.com>
9326
9327         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9328
9329         * src/ppp-manager/Makefile.am
9330                 - use -fPIC (gnome.org #471825)
9331
9332 2007-08-29  Dan Williams  <dcbw@redhat.com>
9333
9334         * include/NetworkManager.h
9335                 - Keep NMConnection object path in sync
9336
9337         * libnm-glib/nm-settings.c
9338           libnm-glib/nm-settings.h
9339                 - Break D-Bus object registration out of the init function, because
9340                 every object that's exported over D-Bus needs to use the _same_
9341                 DBusConnection.  Otherwise, each object would get a different object
9342                 path tree and wouldn't be callable.
9343
9344 2007-08-29  Dan Williams  <dcbw@redhat.com>
9345
9346         * libnm-util/nm-setting.h
9347           libnm-util/nm-setting.c
9348           libnm-util/nm-connection.c
9349           src/NetworkManagerPolicy.c
9350                 - 'info' settings object should be 'connection' says the spec
9351                 at NetworkManagerConfigurationSpecification
9352
9353 2007-08-29  Dan Williams  <dcbw@redhat.com>
9354
9355         * libnm-glib/nm-settings.c
9356           libnm-glib/nm-settings.h
9357                 - make the dbus path a property of the object, and autogenerate it.
9358                 It can't be composed of the 'id' field becuase that's not available
9359                 yet during the GObject creation in nm_connection_settings_init()
9360
9361 2007-08-29  Dan Williams  <dcbw@redhat.com>
9362
9363         * introspection/nm-settings-connection.xml
9364           introspection/nm-settings.xml
9365                 - Service name -> NetworkManagerUserSettings because two services
9366                 can't share part of the same path.  I'm not really sure how we'll use
9367                 the same code with the system-settings daemon...
9368
9369 2007-08-28  Dan Williams  <dcbw@redhat.com>
9370
9371         * src/nm-device-interface.c
9372           src/nm-device-interface.h
9373                 - Kill one more bit of NMData
9374
9375 2007-08-28  Dan Williams  <dcbw@redhat.com>
9376
9377         * src/NetworkManagerSystem.h
9378           src/nm-device.c
9379           src/nm-device.h
9380           src/nm-hal-manager.c
9381           src/NetworkManager.c
9382           src/nm-device-802-11-wireless.c
9383           src/nm-hal-manager.h
9384           src/nm-device-802-3-ethernet.c
9385           src/vpn-manager/nm-vpn-service.h
9386           src/vpn-manager/nm-vpn-manager.c
9387           src/vpn-manager/nm-vpn-manager.h
9388           src/vpn-manager/nm-vpn-service.c
9389           src/nm-device-802-11-wireless.h
9390           src/NetworkManagerMain.h
9391           src/nm-device-802-3-ethernet.h
9392           src/backends/NetworkManagerGentoo.c
9393           src/backends/NetworkManagerPaldo.c
9394           src/backends/NetworkManagerFrugalware.c
9395           src/backends/NetworkManagerRedHat.c
9396           src/backends/NetworkManagerSlackware.c
9397           src/backends/NetworkManagerGeneric.c
9398           src/backends/NetworkManagerArch.c
9399           src/backends/NetworkManagerSuSE.c
9400           src/backends/NetworkManagerGeneric.h
9401           src/backends/NetworkManagerDebian.c
9402                 - Kill NMData
9403
9404 2007-08-28  Dan Williams  <dcbw@redhat.com>
9405
9406         * src/NetworkManagerMain.h
9407           src/nm-device-802-11-wireless.c
9408           src/NetworkManager.c
9409                 - Remove invalid AP list from NMData; need to rework this somewhat, but
9410                 for now we should set the 'invalid' property on individual APs, and when
9411                 we need to invalidate a whole ESS, set the 'invalid' on every member of
9412                 that ESS
9413
9414 2007-08-28  Dan Williams  <dcbw@redhat.com>
9415
9416         * src/NetworkManagerAP.c
9417           src/NetworkManagerAP.h
9418                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9419                         'autoconnect' property instead
9420
9421         * src/NetworkManager.c
9422           src/NetworkManagerMain.h
9423           src/NetworkManagerPolicy.c
9424           src/NetworkManagerPolicy.h
9425                 - Remove the 'allowed_ap_list', which should be replaced by 
9426                         NMConnection/NMSettings instead, since _those_ are the allowed
9427                         things that NM can connect to
9428
9429         * src/nm-device-802-11-wireless.c
9430                 - Remove both allowed_ap_list usage and 'fallback' checking
9431
9432 2007-08-28  Dan Williams  <dcbw@redhat.com>
9433
9434         * src/nm-device.c
9435           src/named-manager/nm-named-manager.c
9436           src/named-manager/nm-named-manager.h
9437           src/NetworkManager.c
9438           src/vpn-manager/nm-vpn-manager.c
9439           src/NetworkManagerMain.h
9440           src/NetworkManagerSystem.c
9441                 - Remove the named-manager object from NMData structure in preparation
9442                 for NMData's timely death.  Make the NMNamedManager the singleton that
9443                 it really is
9444
9445 2007-08-28  Dan Williams  <dcbw@redhat.com>
9446
9447         Remove NMAPSecurity objects, they are replaced with flags on the APs for
9448         each AP's capabilities, and by NMConnection/NMSettings objects for user
9449         defined connections.
9450
9451         * include/NetworkManager.h
9452                 - Redefine 802.11 security properties.  There are now device capabilities
9453                         and AP flags and AP security flags.  It was way to unclear before.
9454
9455         * src/Makefile.am
9456           src/nm-ap-security-leap.h
9457           src/nm-ap-security-leap.c
9458           src/nm-ap-security-wpa-eap.c
9459           src/nm-ap-security-wpa-eap.h
9460           src/nm-ap-security-private.h
9461           src/nm-ap-security-wpa-psk.c
9462           src/nm-ap-security-wpa-psk.h
9463           src/nm-ap-security-wep.c
9464           src/nm-ap-security-wep.h
9465           src/nm-ap-security.c
9466           src/nm-ap-security.h
9467                 - Removed, to be replaced with NMConnection/NMSettings objects
9468
9469         * src/nm-dbus-nmi.c
9470           src/nm-dbus-nmi.h
9471                 - Removed, to be replaced by code that talks to the new info daemon
9472                         interface and gets NMConnection/NMSettings objects
9473
9474         * src/backends/NetworkManagerSuSE.c
9475                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9476                         info-daemon that does the same thing but talks the new info-daemon
9477                         D-Bus interface
9478
9479         * src/NetworkManagerAP.h
9480           src/NetworkManagerAP.c
9481           src/NetworkManagerAPList.c
9482           libnm-glib/libnm-glib-test.c
9483                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9484                         WPA/RSN
9485
9486         * libnm-glib/nm-access-point.c
9487           libnm-glib/nm-access-point.h
9488           introspection/nm-access-point.xml
9489           test/nm-tool.c
9490                 - Adjust to new flags for AP security
9491
9492         * utils/nm-utils.c
9493           utils/nm-utils.h
9494           src/vpn-manager/nm-dbus-vpn.c
9495                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9496                         stuff which is the only place it's used
9497
9498         * src/nm-device-interface.c
9499           src/nm-device-interface.h
9500           introspection/nm-device.xml
9501           src/nm-activation-request.c
9502           src/nm-activation-request.h
9503           src/nm-device.c
9504                 - Add a new 'specific_object' argument that hints to NM what actual
9505                         AP or other device-specific thing the connection should apply to.
9506                         NMConnection objects can apply to more than one actual device/AP.
9507
9508         * libnm-util/nm-connection.c
9509         * libnm-util/nm-connection.h
9510                 - Add 'have_secrets" call stubs
9511
9512         * libnm-util/cipher.h
9513                 - Move NM_AUTH_TYPE_* defines here for now
9514
9515         * src/nm-device-802-11-wireless.c
9516                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9517                         NMSettings objects
9518
9519         * src/NetworkManagerDbus.c
9520         * src/NetworkManagerPolicy.c
9521                 - Remove usage of update_allowed_networks, should be pushing data in
9522                         a different manner
9523
9524 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9525
9526         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9527         dbus-glib frees it when the call is done.
9528
9529 2007-08-26  Dan Williams  <dcbw@redhat.com>
9530
9531         * introspection/nm-device.xml
9532                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9533
9534 2007-08-26  Dan Williams  <dcbw@redhat.com>
9535
9536         * src/nm-device-802-3-ethernet.c
9537                 - (constructor): move connection of interface-connected/disconnected
9538                         signals here from real_bring_up().  Should be listening to netlink
9539                         for carrier events no matter what the initial state of the device
9540                         is.
9541
9542 2007-08-26  Dan Williams  <dcbw@redhat.com>
9543
9544         * src/nm-netlink-monitor.c
9545                 - (nm_netlink_monitor_class_init): fix marshalling types for
9546                         interface-connected/interface-disconnected
9547                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9548                         check
9549
9550 2007-08-26  Dan Williams  <dcbw@redhat.com>
9551
9552         Convert to using interface indexes as the primary method of identifying
9553         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9554         be renamed at any time.  Device object paths now refer to the device
9555         index rather than the name, and you can map those two manually if you like
9556         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9557         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9558         to use interface indexes rather than names.
9559
9560 2007-08-26  Dan Williams  <dcbw@redhat.com>
9561
9562         * src/nm-netlink-monitor.h
9563                 - Remove one last bit of wireless-event signal
9564
9565 2007-08-26  Dan Williams  <dcbw@redhat.com>
9566
9567         * src/nm-netlink-monitor.c
9568                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9569                         don't need the 'wireless-event' signal anymore since that's all
9570                         handled by wpa_supplicant
9571
9572 2007-08-25  Dan Williams  <dcbw@redhat.com>
9573
9574         It's 2007. Remove support for drivers that don't support wireless scanning.
9575
9576         * test/nm-tool.c
9577           include/NetworkManager.h
9578           src/NetworkManagerUtils.c
9579           src/NetworkManagerPolicy.c
9580           src/nm-device-802-11-wireless.c
9581                 - Remove special handling for non-scanning devices and mark them
9582                         as unsupported/unhandled
9583
9584 2007-08-20  Dan Williams  <dcbw@redhat.com>
9585
9586         * src/nm-device-802-11-wireless.c
9587           src/nm-device-802-3-ethernet.c
9588                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9589                         because when the card is pulled or the module removed, the device
9590                         is already !IFF_UP and then device-specific cleanup (removing
9591                         the supplicant interface, periodic checks, etc) never gets done
9592
9593 2007-08-20  Dan Williams  <dcbw@redhat.com>
9594
9595         * src/nm-manager.c
9596                 - (nm_manager_remove_device): bring device down before disconnecting
9597                         signal handlers, so that the 'state' signal will get broadcast when
9598                         the device enters the DOWN state
9599                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9600                         of states that cause the NMManager to recheck its state
9601
9602 2007-08-20  Dan Williams  <dcbw@redhat.com>
9603
9604         * src/supplicant-manager/nm-supplicant-interface.c
9605                 - (interface_disconnect_done): don't try to dispose of the net proxy
9606                         when it may already have been disposed of
9607
9608 2007-08-20  Dan Williams  <dcbw@redhat.com>
9609
9610         * src/nm-device-802-11-wireless.c
9611                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9612                         the SSID isn't available; this can happen when the card is pulled
9613                         or the module unloaded, during the post-removal deactivation
9614                         paths, when the ioctl returns ENODEV
9615
9616 2007-08-20  Dan Williams  <dcbw@redhat.com>
9617
9618         * src/nm-device-802-11-wireless.c
9619                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9620                         frequency, and mode match.  Applets are now responsible for grouping
9621                         access points
9622
9623 2007-08-20  Dan Williams  <dcbw@redhat.com>
9624
9625         * src/NetworkManagerAP.c
9626         * src/NetworkManagerAP.h
9627                 - (nm_ap_print_self): new function
9628
9629         * src/NetworkManagerAPList.c
9630                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9631                         to do it all here
9632         
9633 2007-08-17  Dan Williams  <dcbw@redhat.com>
9634
9635         * src/nm-device-802-3-ethernet.c
9636                 - (real_bring_down): don't try to dispose of stuff that might not
9637                         exist
9638
9639 2007-08-17  Dan Williams  <dcbw@redhat.com>
9640
9641         * src/NetworkManagerAP.c
9642                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9643                         applet.  This ensures that the case between the seen-bssids and
9644                         the bssids reported by the driver match.
9645
9646 2007-08-17  Dan Williams  <dcbw@redhat.com>
9647
9648         * src/nm-device-802-11-wireless.c
9649                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9650                         we dispose of the interface proxy in NM
9651
9652 2007-08-16  Dan Williams  <dcbw@redhat.com>
9653
9654         * libnm-glib/nm-client.c
9655                 - (nm_client_init): create VPN connections hash table with key free
9656                         function
9657                 - (proxy_vpn_connection_added): VPN connections hash table key should
9658                         be a duplicated value, not the same memory address as the VPN
9659                         connection name.  This is because the VPN connection name could
9660                         potentially be freed and set to something else during the lifetime
9661                         of the NMVPNConnection object.
9662
9663 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9664
9665         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9666         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9667         with the file descriptors. Send a child setup function to change the pppd
9668         progress group.
9669
9670 2007-08-15  Dan Williams  <dcbw@redhat.com>
9671
9672         * src/supplicant-manager/nm-supplicant-interface.c
9673                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9674                         an interface
9675                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9676                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9677                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9678                         the interface internally
9679
9680 2007-08-15  Dan Williams  <dcbw@redhat.com>
9681
9682         * src/nm-device-802-11-wireless.c
9683                 - (real_bring_down): move most of this function into device_cleanup()
9684                         so that it can be called from elsewhere
9685                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9686                         and stuff on dispose.  These would normally get cleaned up when
9687                         the device is marked down and deactivated, but when the device is
9688                         hot-unplugged, it's already down and real_down() never gets run
9689
9690 2007-08-15  Dan Williams  <dcbw@redhat.com>
9691
9692         * src/nm-dbus-nmi.c
9693                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9694                         caused a reference leak on device for which NM requested a key
9695
9696 2007-08-15  Dan Williams  <dcbw@redhat.com>
9697
9698         * libnm-glib/nm-client.c
9699                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9700
9701 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9702
9703         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9704         nothing is using it at the moment, but it'll be all useful and stuff later on.
9705
9706         * libnm-util/nm-setting.h: Define NMSettingPPP.
9707
9708         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9709
9710         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9711
9712         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9713
9714         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9715
9716         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9717
9718 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9719
9720         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9721
9722         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9723         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9724         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9725         name and different arguments and it won't compile anymore. To fix this, we now have
9726         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9727         that is new API + compatibility API and used by the daemon. The other, 
9728         nm-manager-client.xml is only the new API without compatibility bits and is used
9729         by libnm-glib to make it compile.
9730
9731         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9732
9733         * src/nm-manager.c (impl_manager_legacy_sleep)
9734         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9735         interface functions for 0.6 branch.
9736
9737 2007-08-14  Dan Williams  <dcbw@redhat.com>
9738
9739         * src/NetworkManagerAP.c
9740                 - (nm_ap_new_from_properties): fix mistaken check of return value
9741                         from memcmp (should expect 0)
9742
9743 2007-08-14  Dan Williams  <dcbw@redhat.com>
9744
9745         (force-commit to fix wrong comment and partial commit of r2685; this
9746          commit actually applies to r2685)
9747
9748         * src/NetworkManagerUtils.c
9749                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9750                         ignores trailing nulls in the SSID to work around mismatches in
9751                         expectations between WEXT and what the info-daemon passes back.  The
9752                         info-daemon would pass back the correct length, but due to the
9753                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9754                         the device would always have an SSID + 1 depending on what versions
9755                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9756                         visible by just quitting the applet and relaunching, which caused
9757                         NM to reassociated to the same network over again when reloading
9758                         the save networks.
9759
9760         * src/NetworkManagerPolicy.c
9761           src/NetworkManagerUtils.h
9762           src/nm-device-802-11-wireless.c
9763                 - Update for new parameter to nm_utils_same_ssid()
9764
9765 2007-08-14  Dan Williams  <dcbw@redhat.com>
9766
9767         * src/NetworkManagerAP.c
9768                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9769                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9770                         setting the BSSID to all 0s.  That confused the heck out of NM,
9771                         plus it's useless and probably out-of-spec.
9772
9773 2007-08-14  Dan Williams  <dcbw@redhat.com>
9774
9775         * callouts/Makefile.am
9776           src/dhcp-manager/nm-dhcp-manager.c
9777           src/dhcp-manager/nm-dhcp-manager.h
9778           src/dhcp-manager/Makefile.am
9779                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9780
9781 2007-08-14  Dan Williams  <dcbw@redhat.com>
9782
9783         * src/dhcp-manager/nm-dhcp-manager.c
9784                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9785                         it's really needed, get rid of unused xtra_args parameter
9786
9787 2007-08-14  Dan Williams  <dcbw@redhat.com>
9788
9789         * include/NetworkManagerVPN.h
9790           src/vpn-manager/nm-dbus-vpn.c
9791           src/vpn-manager/nm-dbus-vpn.h
9792           src/vpn-manager/nm-vpn-act-request.c
9793           src/vpn-manager/nm-vpn-act-request.h
9794           src/vpn-manager/nm-vpn-service.c
9795           src/vpn-manager/nm-vpn-service.h
9796           libnm-glib/nm-vpn-connection.c
9797           libnm-glib/nm-vpn-connection.h
9798           libnm-glib/nm-client.h
9799                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9800                         NMVPNServiceState to clarify what they apply to
9801                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9802                         NMVPNActStage -> NMVPNConnectionState for the same reason
9803
9804         * libnm-glib/nm-client.c
9805                 - Constant + type renames from above
9806                 - Properly handle NameOwnerChanged/manager_running signals
9807                         for NM service; only emit when state really changes
9808                 - Use hash tables correctly so that the key (which was previously owned
9809                         by the D-Bus message) now has the same lifetime as the value, since
9810                         the key is now taken from the the NMVPNConnection itself.  This
9811                         really fixes the double-VPN names in the applet
9812
9813 2007-08-13  Dan Williams  <dcbw@redhat.com>
9814
9815         Patch from Michael Biebl <biebl@debian.org>
9816
9817         * po/POTFILES.in
9818           po/POTFILES.skip
9819                 - Update for vpn-properties move
9820
9821 2007-08-13  Dan Williams  <dcbw@redhat.com>
9822
9823         * libnm-glib/nm-client.c
9824                 - Convert internal VPN connection tracking from a list to a hash table
9825                         to easily avoid duplicates
9826                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9827                         must be freed by the caller, like nm_client_get_devices()
9828                 - (nm_client_remove_vpn_connection): don't let the removal signal
9829                         leak through for NMVPNConnection objects that aren't actually
9830                         tracked.
9831                 - (manager_running): throw away VPN connection list when NM goes away,
9832                         like with the device list
9833
9834 2007-08-13  Dan Williams  <dcbw@redhat.com>
9835
9836         * src/dhcp-manager/nm-dhcp-manager.c
9837                 - Stop any dhclient instance that might be already running for a
9838                         particular interface before starting an NM spawned dhclient.  Fixes
9839                         dhclient processes left over if NM crashes, stuff like that.
9840
9841 2007-08-13  Dan Williams  <dcbw@redhat.com>
9842
9843         * src/NetworkManagerAP.c
9844                 - (finalize): don't try to g_array_free (NULL, ...), which happened
9845                         when the AP wasn't broadcasting it's SSID
9846
9847 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
9848
9849         * include/NetworkManager.h: added DBus path for connection settings.
9850
9851         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9852         nm_connection_settings_signal_updated,
9853         nm_connection_settings_signal_removed): new functions to wrap the
9854         objects' signals.
9855         (nm_connection_settings_init): register GObject with DBus.
9856         (nm_connection_settings_get_dbus_object_path): new function.
9857
9858         * libnm-glib/Makefile.am: added libnmutil to link flags.
9859
9860 2007-08-13  Tambet Ingo  <tambet@gmail.com>
9861
9862         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9863
9864         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9865         libnm_glib directory got merged with libnm-glib/.
9866
9867         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9868
9869         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9870         Rename the library from libnm-glib to libnm_glib to maintain the library API
9871         compatibility with 0.6 branch.
9872
9873         * Makefile.am: Remove gnome/ SUBDIR.
9874
9875         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9876
9877         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9878
9879         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9880
9881         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9882         anymore.
9883         Remove checks for wpa_supplicant binary, it's used over dbus.
9884         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9885
9886         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9887         Link the binaries with libnm_glib.la.
9888
9889 2007-08-12  Dan Williams  <dcbw@redhat.com>
9890
9891         * src/NetworkManagerPolicy.c
9892                 - (nm_policy_device_change_check): fix policy to deactivate old device
9893                         before activating new one, at least until the multiple active
9894                         device support lands
9895
9896 2007-08-12  Dan Williams  <dcbw@redhat.com>
9897
9898         * src/NetworkManagerPolicy.c
9899                 - (nm_policy_new): hook up to connection-added / connection-removed
9900                         signals instead of connections-changed
9901
9902 2007-08-12  Dan Williams  <dcbw@redhat.com>
9903
9904         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
9905         Robert Frank <rfrank@redhat.com>
9906
9907         * src/dhcp-manager/nm-dhcp-manager.c
9908           src/dhcp-manager/nm-dhcp-manager.c
9909           src/nm-device.c
9910                 - Spawn and communicate with dhclient directly, through means of a
9911                 custom dhclient callout script.  Process callout D-Bus signals
9912                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
9913                 sent via gobject signals rather than being driven by the dhcp manager
9914                 directly.
9915
9916 2007-08-12  Dan Williams  <dcbw@redhat.com>
9917
9918         * callouts/nm-dhcp-client-action.c
9919                 - (build_message): ignore non-DHCP-related environment variables
9920
9921 2007-08-12  Dan Williams  <dcbw@redhat.com>
9922
9923         * Makefile.am
9924           configure.in
9925           callouts/Makefile.am
9926           callouts/nm-dhcp-client-action.c
9927           callouts/nm-dhcp-client.conf
9928                 - Add dhclient-executed callout that takes the place of dhclient-script
9929                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9930                 NM then listens for
9931
9932 2007-08-09  Tambet Ingo  <tambet@gmail.com>
9933
9934         [Based on patch by Helmut Schaa <hschaa@suse.de>]
9935
9936         * libnm-glib/nm-client.h:
9937         * libnm-glib/nm-object.h:
9938         * libnm-glib/nm-vpn-connection.h:
9939         * libnm-glib/nm-settings.h:
9940         * libnm-glib/nm-device.h:
9941         * libnm-glib/nm-ip4-config.h:
9942         * libnm-glib/nm-access-point.h:
9943         * libnm-glib/nm-device-802-3-ethernet.h:
9944         * libnm-util/nm-setting.h: 
9945         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9946
9947         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9948
9949         * libnm-glib/nm-access-point.c: Strength has type char.
9950
9951         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9952         to fix build. GnomeDruid is deprecated in recent libgnomeui.
9953
9954         * introspection/nm-access-point.xml: Strength property is char, not int.
9955
9956         * src/NetworkManagerAP.c (set_property): Set strength from char.
9957         (get_property): Handle hidden APs (with empty SSID).
9958         Get strength value from char.
9959         (nm_ap_class_init): Strength property has char type.
9960
9961 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
9962
9963         * introspection/Makefile.am:
9964         * introspection/nm-settings.xml:
9965         * introspection/nm-settings-connection.xml: added Settings interfaces.
9966
9967         * libnm-glib/nm-settings.[ch]:
9968         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9969         containing the DBus implementation.
9970
9971 2007-07-26  Dan Williams  <dcbw@redhat.com>
9972
9973         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9974
9975         * src/NetworkManagerSystem.c
9976                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9977                         same subnet (#437396)
9978
9979 2007-07-26  Dan Williams  <dcbw@redhat.com>
9980
9981         Patch from Kelemen Gábor <kelemeng@gnome.hu>
9982
9983         * gnome/vpn-properties/nm-vpn-properties.c
9984                 - Fix translatable strings (#445865)
9985
9986 2007-07-26  Dan Williams  <dcbw@redhat.com>
9987
9988         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9989
9990         * configure.in
9991                 - Remove useless junk (#412530)
9992
9993 2007-07-10  Christopher Aillon  <caillon@redhat.com>
9994
9995         Patch from Robert Buchholz <rbu@gentoo.org>:
9996
9997         * configure.in:
9998         * Makefile.am:
9999         * introspection/Makefile.am:
10000         Make make distcheck work again.
10001
10002 2007-06-27  Dan Williams  <dcbw@redhat.com>
10003
10004         * Make SSIDs GByteArrays everywhere
10005         * Rename "essid" -> "ssid" everywhere that's appropriate
10006         * Refcount activation_ap member of the 802.11 wireless device class
10007
10008 2007-06-27  Tambet Ingo  <tambet@ximian.com>
10009
10010         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
10011
10012 2007-06-22  Tambet Ingo  <tambet@ximian.com>
10013
10014         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
10015         that we got a new AP when we just update existing AP properties.
10016
10017 2007-06-21  Tambet Ingo  <tambet@ximian.com>
10018
10019         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
10020
10021         * nm-utils.[ch]: Remove.
10022
10023         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
10024         objects for easy property access and dbus connection handling.
10025
10026         * libnm-glib/nm-client.c: Derive from NMObject.
10027
10028         * libnm-glib/nm-device.c: Ditto.
10029
10030         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
10031
10032         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
10033
10034         * libnm-glib/nm-ip4-config.c: Ditto.
10035
10036         * libnm-glib/nm-access-point.c: Ditto.
10037
10038         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
10039         comparision. Currently used by the device activation code to determine if the new
10040         activation is the same as the old one.
10041
10042         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
10043         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
10044         able to ask password for the AP.
10045
10046         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
10047         up if the device is already connected, tear down it's connection (if it isn't the
10048         same as new one) and start the activation.
10049
10050         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
10051
10052         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10053         the issue where all APs are always listed as encrypted.
10054
10055         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10056         their own registered paths.
10057
10058         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10059         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10060
10061 2007-06-13  Tambet Ingo  <tambet@ximian.com>
10062
10063         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10064         (0 & 0 == 0, doh)
10065
10066         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10067         because the handling code will cause the next state change and signal listeners
10068         get the signals in wrong order.
10069
10070         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10071         correctly in case of pending activation.
10072
10073         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10074         Convert the essid byte array to string correctly, including the terminating NULL.
10075
10076         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10077         mode with correct types.
10078
10079         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10080         constructed info to dbus call instead of the activation request.
10081
10082 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10083
10084         Patch from Christian Persch <chpe@gnome.org>
10085
10086         * libnm-glib/Makefile.am:
10087         * dispatcher-daemon/Makefile.am:
10088         Use the correct variables, the correct paths, and correct ordering. (446315)
10089
10090 2007-06-11  Tambet Ingo  <tambet@ximian.com>
10091
10092         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10093         argument. The activation request is easy to retrieve.
10094
10095         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10096         just to be a convenient location for devices to store random stuff.
10097
10098 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10099
10100         Patch from Alex Smith <alex@alex-smith.me.uk>
10101
10102         * src/backends/NetworkManagerFrugalware.c:
10103         Update the FrugalWare backend to fix a few segfaults. (#392642)
10104
10105 2007-06-08  Tambet Ingo  <tambet@ximian.com>
10106
10107         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10108
10109         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10110         setting.
10111         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10112
10113 2007-06-06  Tambet Ingo  <tambet@ximian.com>
10114
10115         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10116         automagically.
10117         Implement NMSettingIP4Config.
10118         Finish NMSettingWired by adding all known members.
10119         (setting_wired_verify): Implement.
10120         Finish NMSettingWireless by adding all known members.
10121         (setting_wireless_verify): Implement.
10122
10123         * libnm-util/nm-connection.c: Register "ipv4" setting.
10124         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10125         dump function, we can introspect the GHashTable which is used for sending connections
10126         over dbus.
10127
10128         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10129         Take GByteArray for essid, it's really not a string.
10130
10131         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10132         Start DHCP request if setting is not passed or if it states that DHCP should be used.
10133         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10134         means overriding the values we got from DHCP.
10135         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10136         (nm_device_deactivate_quickly): Ditto.
10137
10138         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10139         for debugging.
10140
10141 2007-05-07  Tambet Ingo  <tambet@ximian.com>
10142
10143         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10144         NMConnection.
10145
10146         * libnm-glib/nm-device-802-11-wireless.c:
10147         (nm_device_802_3_ethernet_activate): Remove.
10148
10149         * libnm-glib/nm-device-802-3-ethernet.c
10150         (nm_device_802_3_ethernet_activate): Remove.
10151
10152         * libnm-glib/nm-device.c (nm_device_activate): Implement.
10153
10154         * src/nm-device-802-3-ethernet.c: Implement the new activation using
10155         NMConnection.
10156
10157         * src/nm-device-802-11-wireless.c: Store an activation AP once the
10158         activation has started.
10159         Implement the new activation using NMConnection.
10160
10161         * src/nm-activation-request.c: Store a generic connection object instead
10162         of a wireless-specific AP.
10163
10164         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10165         on device type, create a device specific connection object suitable for
10166         device activation.
10167
10168         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10169         specific check to validate the connection and on success start the
10170         activation.
10171
10172         * src/nm-device-interface.h: Add a activate virtual function to the
10173         interface definition.
10174
10175         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10176         (impl_device_activate): Implement.
10177
10178         * introspection/nm-device.xml: Add a generic device activation interface
10179         that accepts an abstract NMConnection structure that has device-specific
10180         information in it.
10181
10182         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10183         activation interface.
10184
10185         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10186         activation interface.
10187
10188         * libnm-util/nm-connection.c: 
10189         * libnm-util/nm-connection.h: 
10190         * libnm-util/nm-setting.c:
10191         * libnm-util/nm-setting.h: Add.
10192
10193         * libnm-util/Makefile.am: Build the added files.
10194
10195         * src/nm-dbus-manager.c
10196         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10197         DbusConnection argument from 'name-owner-changed' signal. The manager
10198         is already passed as a first argument to the signal and the connection
10199         is easy enough to get from it.
10200
10201         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10202         Update the signature of the function.
10203
10204         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10205         Ditto.
10206
10207         * src/NetworkManager.c: Ditto.
10208
10209         * src/named-manager/nm-named-manager.c
10210         (nm_named_manager_name_owner_changed): Ditto.
10211
10212         * src/supplicant-manager/nm-supplicant-manager.c
10213         (nm_supplicant_manager_name_owner_changed): Ditto.
10214
10215         * src/nm-hal-manager.c (name_owner_changed): Ditto.
10216
10217         * src/dhcp-manager/nm-dhcp-manager.c
10218         (nm_dhcp_manager_name_owner_changed): Ditto.
10219
10220         * src/nm-hal-manager.c: Add a list of device detectors and creators
10221         to make it easier to add new devices. Each device type has it's own
10222         entry in the table so adding new device types is only a matter of
10223         implementing a couple of functions, one for device detection and the
10224         other for device creation.
10225
10226 2007-04-25  Dan Williams  <dcbw@redhat.com>
10227
10228         * initscript/RedHat/NetworkManager.in: remove trailing backslash
10229                 (gnome.org #432401)
10230
10231 2007-03-30  Dan Williams  <dcbw@redhat.com>
10232
10233         * src/NetworkManagerSystem.c
10234                 - (nm_system_device_set_ip4_route): clean up and fix argument
10235                         to nm_dev_sock_open()
10236
10237 2007-03-28  Tambet Ingo  <tambet@ximian.com>
10238
10239         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10240         data to correct types instead of always using string.
10241
10242         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10243         _not_ have NM_802_11_CAP_PROTO_NONE.
10244         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10245         is not set.
10246
10247 2007-03-27  Tambet Ingo  <tambet@ximian.com>
10248
10249         * libnm-glib/Makefile.am: Fix the build issue.
10250
10251 2007-03-26  Tambet Ingo  <tambet@ximian.com>
10252
10253         * libnm-glib/nm-vpn-connection.h: 
10254         * libnm-glib/nm-vpn-connection.c: Implement.
10255
10256         * libnm-glib/nm-client.c: Add VPN support.
10257
10258         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10259         handler for VPN.
10260
10261         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10262         on DBUS again.
10263
10264 2007-03-26  Dan Williams  <dcbw@redhat.com>
10265
10266         * src/NetworkManagerAPList.c
10267         * src/nm-device-802-11-wireless.c
10268         * src/NetworkManagerAP.c:
10269                 - Store last seen as glong instead of GTimeVal.
10270                 - Fix the upper bound of capabilities, it's a bitfield.
10271
10272 2007-03-16  Tambet Ingo  <tambet@ximian.com>
10273
10274         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10275
10276         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10277         "manager-running" signal that notifies the appearance/disappearance of NM.
10278         (nm_client_sleep): Implement.
10279
10280         * libnm-glib/nm-device.c:
10281         * libnm-glib/nm-device-802-11-wireless.c: 
10282         * libnm-glib/nm-device-802-3-ethernet.c: 
10283
10284         Don't inherit from DBusGProxy, add a proxy to private
10285         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10286         for anything but their own dbus interface. DBusGProxy objects support only one
10287         interfaces and to work around this, NMDevice has spearate proxy for each dbus
10288         interface. The nice side effect of this change is that we do not create a new
10289         DBusGProxy object for each property access.
10290
10291 2007-03-15  Tambet Ingo  <tambet@ximian.com>
10292
10293         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10294         with zeroes before passing them to functions - the functions never do that and
10295         reading the values back may produce wrong values.
10296         (real_bring_up): Store the signal handler id ...
10297         (real_bring_down): ... So that it can be removed here.
10298         Disconnect the supplicant interface here as well.
10299         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10300         from the access point instead of old $device/Networks/$essid.
10301
10302         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10303         device state is connected (instead of just having link/carrier).
10304
10305         * src/nm-activation-request.c: Don't store NMData in activation request, it's
10306         already easily accessible through the device.
10307
10308         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10309         store it within the object.
10310         (nm_ap_get_dbus_path): Export it to public as well.
10311
10312         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10313         of the singleton.
10314
10315 2007-03-12  Dan Williams  <dcbw@redhat.com>
10316
10317         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
10318         for non-carrier-detect capable devices, and useless for carrier-detect
10319         devices since we get notifications from netlink about carrier status anyway.
10320
10321         * src/nm-device-802-3-ethernet.c
10322                 - remove 'link_source_id' member from private data
10323                 - (probe_link): remove and collapse into real_update_link()
10324                 - (nm_device_802_3_periodic_update): remove
10325                 - (real_is_up): check for sup_iface rather than link_source_id
10326                 - (real_bring_up): return gboolean for success/fail; require that
10327                         sup_iface be valid for device bringup to succeed
10328                 - (real_bring_down): zero out link signal ids
10329
10330         * src/nm-device.c
10331                 - (nm_device_activate_stage2_device_config): fail activation if device
10332                         bringup fails
10333                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10334                         fails
10335                 - (nm_device_bring_up): return success/fail
10336
10337         * src/nm-device.h
10338                 - bring_up now returns success/fail
10339
10340         * src/nm-device-802-11-wireless.c
10341                 - (real_bring_up): return success from bringup
10342
10343 2007-03-07  Dan Williams  <dcbw@redhat.com>
10344
10345         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
10346         * src/nm-ap-security-wpa-psk.c
10347                 - (real_write_supplicant_config): work with PSKs that may contain
10348                         zeros in the binary format rather than treating it as a string
10349
10350 2007-03-02  Tambet Ingo  <tambet@ximian.com>
10351
10352         * libnm-glib/nm-device-802-11-wireless.c
10353         (nm_device_802_11_wireless_get_capabilities): Implement.
10354
10355         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10356
10357         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10358
10359         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10360         reply only if it's not NULL. Not sure why this started happening right now.
10361
10362         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10363         code paths for when devices get removed on shutdown or when a device is just
10364         removed.
10365         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10366         gets freed so any signal from a device (disconnected for instance) would invoke
10367         NMState update which would crash.
10368         (nm_manager_remove_device): Bring the device down when it gets removed.
10369
10370         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10371         the unused dev_type.
10372
10373         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10374         reference to the added device, NMManager will own it (if it wants).
10375
10376         * test/nm-tool.c: Rewrite using libnm-glib.
10377
10378         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10379         We get signalled when it changes.
10380
10381         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10382         when it changes.
10383
10384         * libnm-glib/nm-device.c: Cache the device state property.
10385
10386         * libnm-glib/nm-access-point.c: Cache the strength property.
10387
10388         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10389         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10390         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10391         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10392         the device is down, activating, or activated (in case of A/B/G cards).
10393         Remove some old dead ifdef'ed out code that used to configure wireless devices,
10394         it's all done through supplicant now.
10395
10396         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10397         counting issues with pending calls which caused leaks and crashes when
10398         interface was removed (now that the interface actually gets removed).
10399
10400         * src/nm-call-store.c: Make a copy of data before running a foreach
10401         with user callback on it - The most common usage pattern is to cancel
10402         (and thus remove) all pending calls with foreach which would modify
10403         the hash table we're iterating over.
10404
10405         * src/nm-manager.c: When a device is added, make sure it is "up". When
10406         it's removed or disabled due to disabling wireless or networking, bring
10407         it down.
10408
10409         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10410
10411         * src/nm-device-802-11-wireless.c: 
10412         * src/nm-device-802-3-ethernet.c: 
10413         * src/nm-device.c:
10414                 - Remove "init" virtual function, all gobjects have a place for that
10415                   already (constructor).
10416                 - Replace "start" virtual function with "bring_up", devices can be
10417                   brought up and down more than just on startup now.
10418                 - Add "is_up" virtual function.
10419                 - Implement one way to bring a device down instead of previous 4 different
10420                   ways, each of witch did something different.
10421
10422         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10423         all it needs is the device interface.
10424
10425         Get rid of NMData.dev_list (3 members to go).
10426         Get rif of NMData in a lot of places.
10427
10428         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10429
10430 2007-02-23  Dan Williams  <dcbw@redhat.com>
10431
10432         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10433
10434         * src/NetworkManagerAP.c
10435                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10436                         OR-ing rather than AND-ing
10437
10438 2007-02-20  Tambet Ingo  <tambet@ximian.com>
10439
10440         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10441         "network-removed" signals.
10442
10443         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10444
10445         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10446         when receiving the signal from dbus.
10447
10448         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10449         property.
10450
10451         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10452         deactivation of the previously activated device working again.
10453
10454         * src/nm-activation-request.c: Remove NMActStage property and it's getter
10455         and setter.
10456
10457         * src/nm-device.c (nm_device_is_activated): Remove.
10458         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10459
10460         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10461         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10462         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10463         NM_DBUS_SIGNAL_STATE_CHANGE signal.
10464         Remove NMNetworkStatus and NMActStage enums.
10465
10466 2007-02-19  Tambet Ingo  <tambet@ximian.com>
10467
10468         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10469         Handle device state changes and disconnect VPN if it's device deactivates.
10470
10471         * src/nm-dbus-nm.c: 
10472         * src/nm-dbus-nm.h: 
10473         * src/nm-dbus-device.c: 
10474         * src/nm-dbus-device.c: 
10475         * src/nm-dbus-net.c: 
10476         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10477
10478         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10479
10480         * src/nm-device.c (nm_device_get_by_udi):
10481         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10482         implemented in the correct location (NMManager).
10483         Rip out all the test_device stuff.
10484
10485         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10486         failure handlers, it's all done by NMDevice already.
10487
10488         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10489         Remove the iochannel hack to route the unix signals to the main thread since
10490         we're not threaded anymore.
10491
10492         * src/NetworkManagerAP.c: Implement HWAddress property.
10493
10494         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10495         automatically with dbus-glib.
10496
10497         * src/nm-netlink-monitor.c: 
10498         * src/nm-netlink-monitor.h:
10499                 - Move it low in the class hierarchy, don't reference any NM types.
10500                 - Remove private data from the header.
10501                 - Use type safe checks in public API methods.
10502                 - Make it a singleton so we don't have to pass the single reference around.
10503
10504 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10505
10506         * introspection/nm-ip4-config.xml: Implement.
10507
10508         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10509
10510         * libnm-glib/nm-ip4-config.c:
10511         * libnm-glib/nm-ip4-config.c: Implement.
10512
10513         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10514         securities. APs reference security.
10515
10516         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10517         be exported over DBUS.
10518
10519         * src/nm-device-802-3-ethernet.c: Ditto.
10520
10521         * src/NetworkManagerAP.c:
10522         * src/NetworkManagerAP.h:
10523                 - Convert to GObject, export over DBUS.
10524
10525         * src/nm-ip4-config.h:
10526         * src/nm-ip4-config.h:
10527                 - Convert to GObject, export over DBUS.
10528
10529 2007-02-12  Dan Williams  <dcbw@redhat.com>
10530
10531         Patch from Helmut Schaa <hschaa@suse.de>
10532
10533         * vpn-daemons/pptp/configure.in
10534           vpn-daemons/pptp/Makefile.am
10535           vpn-daemons/openvpn/configure.in
10536           vpn-daemons/openvpn/Makefile.am
10537           vpn-daemons/vpnc/configure.in
10538           vpn-daemons/vpnc/Makefile.am
10539                 - Add --without-gnome switch which disables building gnome bits
10540
10541 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10542
10543         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10544
10545         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10546
10547         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10548         'HwAddress'.
10549
10550         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10551
10552         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10553
10554         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10555
10556         * src/:
10557                 - Remove old low-level dbus interface implementations and replace them
10558                   with dbus-glib one.
10559
10560         * configure.in:
10561                 - Require dbus-glib >= 0.72.
10562                 - Plug in new sources to build.
10563
10564         * libnm-glib/:
10565                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10566                   to make it more convenient to use from GObject based programs.
10567
10568         * introspection/:
10569                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10570
10571 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10572
10573         * src/nm-device-802-11-wireless.c:
10574                 - Add "network-added" and "network-removed" signals.
10575                 - Use gobject boilerplate macros to define the GObject.
10576                 - Implement wireless device activation.
10577                 - Remove activation_failure_handler and activation_success_handler
10578                   and instead listen on state-changed signals and run the same code
10579                   from there.
10580
10581         * src/nm-device.c:
10582                 - Implment NMDeviceInterface::deactivate.
10583                 - Remove activation_failure_handler and activation_success_handler
10584                   virtual methods. Each device which is interested in these events
10585                   can just listen on it's state changed signals.
10586
10587         * src/NetworkManagerPolicy.c:
10588                 - Move a bit more NMData usage to NMManager.
10589                 - Remove activation scheduling bits.
10590                 - Add listeners for wireless device's "network-added" and
10591                   "network-removed" signals.
10592                 - Listen device changed signals and deactivate currently activated
10593                   device when another device start activating (for now).
10594                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10595                   for calling this, the policy code knows exactly when this should happen,
10596                   by listening on events from NMManager and NMDevices.
10597
10598         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10599         Implement.
10600
10601         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10602         method on the specific device instead of going to through policy code
10603         and determining the device type by passed in AP's existance.
10604
10605         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10606         abstract NMDevice deactivation.
10607
10608 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10609
10610         * src/NetworkManager.c:
10611                 - Set up all the shiny new managers.
10612
10613         * src/NetworkManagerPolicy.c:
10614                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10615                   classes to call into policy code, make the policy code kind of like
10616                   a supervisor that monitors what's going on and drives the whole NM.
10617
10618         * src/nm-hal-manager.c: 
10619         * src/nm-hal-manager.h:
10620                 - Collect all libhal code scattered around NM to this one class.
10621                 - Listen libhal and NMManager events and add/remove devices to
10622                   NMManager.
10623
10624         * src/nm-manager.c:
10625         * src/nm-manager.h:
10626                 - Implment a replacement for NMData. NMData is now officially
10627                 deprecated.
10628
10629 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10630
10631         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10632         * src/supplicant-manager/nm-supplicant-interface.h
10633         * src/supplicant-manager/nm-supplicant-interface.c
10634         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10635         argument to boolean from enum.
10636
10637         Make NMDevice abstract class, remove almost all references to it's
10638         subclasses (the last place gets removed with new policy manager). Add
10639         NMDeviceInterface (which NMDevice implements) so that when we have
10640         NMDevice exported over DBUS, there's a common NMDevice interface which
10641         all instances have, plus there's a device specific interface for each
10642         specific type.
10643         Remove functions (nm_device_is_802_3_ethernet) and
10644         (nm_device_is_802_11_wireless). There are already standard GObject macros
10645         for type safe checks.
10646         Use the updated supplican manager API.
10647
10648         * src/nm-device-interface.h: 
10649         * src/nm-device-interface.c: 
10650         * src/nm-call-store.h: 
10651         * src/nm-call-store.c: Implement.
10652
10653         * src/supplicant-manager/nm-supplicant-interface.c:
10654         * src/supplicant-manager/nm-supplicant-interface.h:
10655         * src/supplicant-manager/nm-supplicant-manager.c:
10656         * src/supplicant-manager/nm-supplicant-manager.h:
10657                 - Remove all private data type references from public header files.
10658                 - Remove all references to other NM classes, this class is just a
10659                   proxy between wpa_supplicant and NM so it doesn't have to know
10660                   any internals.
10661                 - Convert to dbus-glib bindings.
10662                 - Type safe checks for public methods' arguments.
10663                 - Store pending DBUS call ids to NMCallStore.
10664
10665         * src/supplicant-manager/nm-supplicant-config.c:
10666                 - Store config values in a GHashTable instead of GSList.
10667
10668         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10669
10670         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10671         singleton now.
10672
10673         * src/nm-device.c: Use the new DHCP manager API.
10674
10675         * src/nm-activation-request.c:
10676         * src/nm-activation-request.h:
10677                 - Remove all dhcp related properties and methods.
10678
10679         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10680
10681         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10682
10683         * src/dhcp-manager/nm-dhcp-manager.c:
10684         * src/dhcp-manager/nm-dhcp-manager.h:
10685                 - Convert it to GObject since we need to signal state changes.
10686                 - Remove all references to other NM classes, this class is one
10687                   of the lowest classes in our hierarchy.
10688                 - One less class to use NMActRequest.
10689                 - Make it singleton, one less user of NMData.
10690                 - Remove a couple of sleep() calls.
10691                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10692                   One less class to use the NM's custom tailored signal handlig.
10693
10694         * Makefile.am: Generate marshallers, add them to build.
10695
10696 2007-02-02  Dan Williams  <dcbw@redhat.com>
10697
10698         * configure.in
10699           gnome/Makefile.am
10700           nm-applet.desktop
10701           Makefile.am
10702                 - Remove last bits referencing gnome applet
10703
10704 2007-02-02  Dan Williams  <dcbw@redhat.com>
10705
10706         * src/vpn-manager/nm-vpn-service.c
10707                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10708                         and NBNS server addresses
10709
10710 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10711
10712         * src/nm-dbus-manager.c:
10713         * src/nm-dbus-manager.h:
10714                 - Convert all internal DBUS code to use dbus-glib bindings.
10715                 - Remove GObject properties, we don't need them here.
10716                 - Don't explicitly set things to NULL after freeing, glib is
10717                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10718                 - Make public API argument checks type safe.
10719                 - Remove unnecessary (and wrong) cast to GObject for the first
10720                   argument to g_signal_* calls - The first argument is a gpointer.
10721                 - Export DBusGConnection to other cool classes that (are going to)
10722                   use dbus-glib.
10723
10724 2007-01-26  Dan Williams  <dcbw@redhat.com>
10725
10726         * libnm-util/dbus-dict-helpers.c
10727           libnm-util/dbus-dict-helpers.h
10728                 - Coordinate style with wpa_supplicant version to minimize diff
10729                 - Add uint32 array support
10730                 - (nmu_dbus_dict_append_uint32_array): new function
10731                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10732                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10733                         version; allow adding string array elements individually
10734
10735         * test/libnm-util/test-dbus-dict-helpers.c
10736                 - Test uint32 arrays
10737
10738 2007-01-27  Jürg Billeter  <j@bitron.ch>
10739
10740         * src/backends/NetworkManagerPaldo.c
10741                 - (nm_system_update_dns): clear nscd hosts cache
10742
10743 2007-01-04  Dan Williams  <dcbw@redhat.com>
10744
10745         Threading removal related cleanups:
10746
10747         - Use the glib default main context.  Remove the device main context
10748                 member from NMDevice, and the main_context member from NMData.  Change
10749                 all the idle and timeout scheduler functions to use plain
10750                 g_idle_add() and g_timeout_add().
10751
10752         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10753                 takes an argument; fix that up too.
10754
10755         - Remove all locking, which is useless since we no longer use threads.  For
10756                 example, nm_get_device_by_iface_locked() has been removed.  The global
10757                 device list lock, the AP List lock, and all static locks in
10758                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10759                 in NetworkManagerUtils.c have also been removed.
10760
10761         - Other cleanups in spacing and code style
10762
10763 2007-01-01  Dan Williams  <dcbw@redhat.com>
10764
10765         Found by Bill Moss:
10766
10767         * src/supplicant-manager/nm-supplicant-interface.c
10768                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10769                         the supplicant interface wasn't already disconnected.  Always
10770                         call removeNetwork and disconnect unless the supplicant interface
10771                         is in the DISCONNECTED or INACTIVE state.
10772
10773 2006-12-28  Dan Williams  <dcbw@redhat.com>
10774
10775         Use a single thread for everything.  With the move to wpa_supplicant
10776         and communication over D-Bus, there's no reason for multiple threads.
10777         Almost all of the blocking code has been removed, with one exception in
10778         the DHCP manager and a few in the VPN manager.  This commit removes the
10779         per-device worker thread and fixes activation cancellation in the absence
10780         of threads.  Further removal of thread-related code would be removing
10781         any locking code (like the device list lock) and simplification of logic
10782         around areas of code or data structures that are currently locked.
10783
10784         * autoip.c
10785           dhcp-manager/nm-dhcp-manager.c 
10786           nm-device-802-11-wireless.c
10787           nm-device-802-3-ethernet.c
10788           nm-device.c
10789           nm-device.h
10790                 - Remove usage of multiple threads
10791
10792 2006-12-19  Dan Williams  <dcbw@redhat.com>
10793
10794         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10795         plus a few other patches from wpa_supplicant bugzilla.
10796
10797         * src/Makefile.am
10798           src/NetworkManagerPolicy.c
10799           src/NetworkManagerUtils.c
10800           src/NetworkManagerUtils.h
10801           src/nm-ap-security-leap.c
10802           src/nm-ap-security-wep.c
10803           src/nm-ap-security-wpa-eap.c
10804           src/nm-ap-security-wpa-psk.c
10805           src/nm-ap-security.c
10806           src/nm-ap-security.h
10807           src/nm-device-802-11-wireless.c
10808           src/nm-device-802-11-wireless.h
10809           src/supplicant-manager/nm-supplicant-config.c
10810           src/supplicant-manager/nm-supplicant-config.h
10811           src/supplicant-manager/nm-supplicant-interface.c
10812           src/supplicant-manager/nm-supplicant-interface.h
10813           src/supplicant-manager/nm-supplicant-marshal.list
10814           src/supplicant-manager/nm-supplicant-settings-verify.c
10815           src/supplicant-manager/nm-supplicant-settings-verify.h
10816                 - Move all connection management and association handling to
10817                         wpa_supplicant over dbus, rather than spawning a private copy
10818
10819 2006-12-19  Dan Williams  <dcbw@redhat.com>
10820
10821         * src/NetworkManagerPolicy.c
10822                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10823                         better locking of the device change check handler ID.  Incorrect
10824                         locking was causing lost device change requests
10825
10826 2006-12-18  Dan Williams  <dcbw@redhat.com>
10827
10828         * libnm-util/dbus-dict-helpers.c
10829                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10830                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10831                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10832
10833 2006-12-18  Dan Williams  <dcbw@redhat.com>
10834
10835         * gnome/libnm_glib/libnm_glib.c
10836                 - Change dbus_connection_close() -> dbus_connection_unref()
10837
10838 2006-12-11  Dan Williams  <dcbw@redhat.com>
10839
10840         * src/supplicant-manager/nm-supplicant-interface.c
10841                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10842                         wpa_supplicant interface state
10843                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10844                         state before transitioning to READY state
10845
10846 2006-12-04  Dan Williams  <dcbw@redhat.com>
10847
10848         * src/nm-device-802-11-wireless.c
10849                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10850                         odd length of ESSID returned from ieee80211 stack-based drivers
10851
10852 2006-12-04  Dan Williams  <dcbw@redhat.com>
10853
10854         * src/nm-device-802-11-wireless.c
10855                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10856                         IE handling blocks that cause mis-parsing of the IE
10857
10858 2006-12-04  Dan Williams  <dcbw@redhat.com>
10859
10860         * src/nm-device-802-11-wireless.c
10861                 - (init_supplicant_interface): new function; pull supplicant interface
10862                         setup code out into standalone function since it must be called from
10863                         two different places
10864                 - (real_init): sup_mgr is now in private object data; get and track
10865                         the supplicant manager object over the NMDevice subclass' lifetime
10866                         and register a signal handler for its state signals; only try to
10867                         initialize the supplicant interface if the supplicant manager is in
10868                         the IDLE state (and therefore is ready for requests)
10869                 - (request_wireless_scan): reschedule the scan request if (a) there is
10870                         no supplicant interface yet (meaning wpa_supplicant isn't running
10871                         or isn't ready yet), or (b) if the supplicant interface isn't ready
10872                         for requests yet
10873                 - (supplicant_iface_connection_state_cb): new function; stub for
10874                         handling supplicant interface connection state signals
10875                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10876                         comes and goes
10877                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10878                         supplicant manager object that's being tracked starting with this
10879                         commit
10880
10881 2006-12-04  Dan Williams  <dcbw@redhat.com>
10882
10883         * src/supplicant-manager/nm-supplicant-interface.c
10884                 - (nm_supplicant_interface_set_property): track signal handler ID
10885                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10886
10887 2006-12-04  Dan Williams  <dcbw@redhat.com>
10888
10889         * src/supplicant-manager/nm-supplicant-interface.[ch]
10890                 - (nm_supplicant_interface_get_state): new function
10891
10892 2006-12-04  Dan Williams  <dcbw@redhat.com>
10893
10894         * src/supplicant-manager/nm-supplicant-interface.c
10895                 - (bssid_properties_cb): don't treat DBus errors as valid
10896                         scanned AP messages
10897
10898 2006-12-04  Dan Williams  <dcbw@redhat.com>
10899
10900         * src/supplicant-manager/nm-supplicant-interface.[ch]
10901                 - (nm_supplicant_interface_get_connection_state): new function
10902                 - define new supplicant connection states
10903                 - send a signal when the supplicant connection state changes
10904
10905 2006-12-03  Dan Williams  <dcbw@redhat.com>
10906
10907         * src/supplicant-manager/Makefile.am
10908           src/supplicant-manager/nm-supplicant-connection.h
10909           src/supplicant-manager/nm-supplicant-connection.c
10910           src/supplicant-manager/nm-supplicant-config.h
10911           src/supplicant-manager/nm-supplicant-config.c
10912           src/supplicant-manager/nm-supplicant-types.h
10913           src/supplicant-manager/nm-supplicant-interface.h
10914           src/supplicant-manager/nm-supplicant-interface.c
10915                 - Rename NMSupplicantConnection -> NMSupplicantConfig
10916
10917 2006-12-03  Dan Williams  <dcbw@redhat.com>
10918
10919         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
10920
10921         * po/POTFILES.in
10922           po/POTFILES.skip
10923                 - Move VPN-related translatables to .skip
10924
10925         * vpn-daemons/pptp/po/POTFILES.in
10926                 - Update with new translatables
10927
10928 2006-12-02  Dan Williams  <dcbw@redhat.com>
10929
10930         Patch from Christian Persch <chpe@gnome.org>
10931
10932         * gnome/applet/Makefile.am
10933           gnome/applet/applet-dbus-devices.c
10934           gnome/applet/applet-notifications.c
10935           gnome/applet/applet.c
10936           gnome/applet/applet.h
10937           gnome/applet/main.c
10938                 - Be a GtkStatusIcon on GTK+ >= 2.10
10939
10940 2006-12-02  Dan Williams  <dcbw@redhat.com>
10941
10942         * gnome/applet/applet.c
10943                 - (nma_update_info): fix two unecessary allocations
10944
10945 2006-12-02  Dan Williams  <dcbw@redhat.com>
10946
10947         Patch from Michael Biebl <biebl@teco.edu>
10948         * configure.in
10949           man/NetworkManager.1.in
10950           man/NetworkManagerDispatcher.1.in
10951           man/NetworkManager.8.in
10952           man/NetworkManagerDispatcher.8.in
10953                 - Add .SH NAME stanzas
10954                 - Move NM & NM Dispatcher manpages to section 8 (admin)
10955
10956 2006-12-02  Dan Williams  <dcbw@redhat.com>
10957
10958         Patch from Christian Persch <chpe@gnome.org>
10959
10960         * configure.in
10961                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10962
10963 2006-11-29  Tambet Ingo  <tambet@ximian.com>
10964
10965         Patch by Timo Hoenig <thoenig@suse.de>:
10966         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10967         DBUS-1.0.
10968
10969         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10970         we can't use the one from the main source directory.
10971
10972 2006-11-27  Dan Williams  <dcbw@redhat.com>
10973
10974         Patch from Christian Persch <chpe@gnome.org>
10975
10976         * gnome/applet/applet-dbus-devices.c
10977                 - (hal_info_product_cb): fix memleak; free duped string.
10978                         Gnome.org #379908
10979
10980 2006-11-27  Dan Williams  <dcbw@redhat.com>
10981
10982         Patch from Christian Persch <chpe@gnome.org>
10983
10984         * gnome/applet/menu-items.c
10985                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10986                         as gtk_progress_set_percentage is deprecated.  Should
10987                         work as far back as GTK+ 2.4.  Gnome.org #379780
10988
10989 2006-11-26  Dan Williams  <dcbw@redhat.com>
10990
10991         Scan using wpa_supplicant over DBus.
10992
10993         * src/nm-device-802-11-wireless.c
10994                 - remove wireless extensions netlink event handler bits
10995                         (wireless_event_helper, nm_device_802_11_wireless_event)
10996                 - remove wireless extensions scan event handler bits
10997                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10998                         hex2byte, hex2num, request_and_convert_scan_results,
10999                         free_process_scan_cb_data, scan_results_timeout,
11000                         schedule_scan_results_timeout, cancel_scan_results_timeout)
11001                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
11002                         and request scans from the supplicant interface rather than directly
11003                 - Move functionality of convert_scan_results() to cull_scan_list() and
11004                         supplicant_iface_scanned_ap_cb()
11005                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
11006                         at the scan interval when the current scan has finished
11007                 - (supplicant_iface_state_cb): start scanning when the supplicant
11008                         interface enters the READY state, and stop scanning when it
11009                         enters the DOWN state
11010                 - (cull_scan_list): weed out old access points from the scan list
11011                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
11012                         point into an NMAccessPoint and merge it into the device's scan list
11013
11014         * src/supplicant-manager/nm-supplicant-interface.c
11015           src/supplicant-manager/nm-supplicant-interface.h
11016                 - Add a new signal "scan-result" which is issued when the supplicant
11017                         notifies NM that a scan has completed
11018                 - Add a new signal "scanned-ap" that notifies listeners of a new access
11019                         point found in the scan.  Called once for each access point that
11020                         the supplicant interface object receives from the supplicant as a
11021                         result of the "scanResults" method call
11022                 - (wpas_iface_query_scan_results): don't wait 4s before querying
11023                         for the initial scan results
11024                 - (scan_request_cb): new function; send listeners the result
11025                         (success, error) of a wireless scan request
11026                 - (nm_supplicant_interface_request_scan): new function; ask the
11027                         supplicant to perform an immediate wireless scan
11028
11029 2006-11-25  Dan Williams  <dcbw@redhat.com>
11030
11031         * src/supplicant-manager/Makefile.am
11032                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
11033                         add HAL cflags/includes and named-manager includes directory
11034
11035         * src/supplicant-manager/nm-supplicant-interface.h
11036                 - New state STARTING to handle transition from INIT to READY where
11037                         the addInterface pending call is still outstanding
11038
11039         * src/supplicant-manager/nm-supplicant-interface.c
11040                 - track pending calls differently since we may have more than one
11041                         going on at any given time
11042                 - request scan results from wpa_supplicant; but don't do it more often
11043                         than every 4 seconds.  Drivers that do background scanning
11044                         (like the 'ipw' drivers) send a continuous stream of scan completion
11045                         notifications, so we don't want to hammer the supplicant or dbus
11046                         with requests for all scan results every time we get a completion
11047                         notification.
11048
11049 2006-11-25  Dan Williams  <dcbw@redhat.com>
11050
11051         * src/supplicant-manager/nm-supplicant-types.h
11052                 - new file; move all supplicant manager object typedefs here for
11053                         #include sanity
11054
11055         * src/supplicant-manager/nm-supplicant-interface.c
11056           src/supplicant-manager/nm-supplicant-interface.h
11057                 - new file; an object that interfaces an NMDevice object to the
11058                         supplicant and handles signals from the supplicant.  This object
11059                         does all necessary DBus communication with wpa_supplicant.
11060
11061         * src/supplicant-manager/nm-supplicant-manager.c
11062           src/supplicant-manager/nm-supplicant-manager.h
11063                 - Actually do something.  Track the state of the wpa_supplicant service
11064                         and deal with its comings & goings.  Handle life events of
11065                         supplicant interfaces too.
11066                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11067
11068         * src/supplicant-manager/nm-supplicant-connection.h
11069                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11070
11071         * src/supplicant-manager/Makefile.am
11072                 - Add new files to build, and add libnm-util to includes
11073
11074         * src/nm-marshal.list
11075                 - New marshaler type: VOID:UINT,UINT
11076
11077         * src/nm-device-802-3-ethernet.c
11078                 - (real_init): grab a supplicant interface
11079                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11080                 - (supplicant_iface_state_cb): new function, stub for handling
11081                         supplicant interface state changes
11082
11083         * src/nm-device-802-11-wireless.c
11084                 - (real_init): grab a supplicant interface
11085                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11086                 - (supplicant_iface_state_cb): new function, stub for handling
11087                         supplicant interface state changes
11088
11089         * src/NetworkManager.c
11090                 - (main): create and keep the supplicant manager around for the lifetime
11091                         of NetworkManager
11092
11093         * src/Makefile.am
11094                 - Link to the supplicant manager sub-library and use the supplicant
11095                         manager includes
11096
11097 2006-11-25  Dan Williams  <dcbw@redhat.com>
11098
11099         Rework DBus manager signal handling to be more flexible.  Previously,
11100         only one signal handler could be registered for a particular interface.
11101         The DBus manager now reference counts DBus bus matches and allows multiple
11102         clients to register signal handlers for the same interface and sender.
11103
11104         * src/NetworkManager.c
11105                 - (main): track NMI signal handler ID and remove it when we quit
11106
11107         * src/NetworkManagerMain.h
11108                 - Keep track of NMI signal handler ID
11109
11110         * src/nm-dbus-manager.c
11111           src/nm-dbus-manager.h
11112                 - rework signal handling; each signal handler references one signal
11113                         match, but a signal match may be referenced by one or more
11114                         signal handlers.  Matches are refcounted and are destroyed when the
11115                         last signal handler that references the match is removed.  This is
11116                         necessary because two signal handlers may end up requiring the same
11117                         dbus bus match, so the match must live until the last signal handler
11118                         is destroyed (for example, with the wpa_supplicant network interface
11119                         dbus interface).
11120
11121         * src/dhcp-manager/nm-dhcp-manager.c
11122                 - (nm_dhcp_manager_new): track DHCP signal handler id
11123                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11124
11125         * src/vpn-manager/nm-vpn-service.c
11126                 - (nm_vpn_service_add_watch): track VPN service signal handler id
11127                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11128
11129 2006-11-25  Dan Williams  <dcbw@redhat.com>
11130
11131         Suggested by Helmut Schaa <hschaa@suse.de>
11132
11133         * src/vpn-daemons/nm-vpn-service.c
11134                 - (supplicant_child_setup): new function
11135                 - (supplicant_exec): make child process use a new process group id
11136
11137         * src/nm-device-802-11-wireless.c
11138                 - (nm_vpn_service_child_setup): new function
11139                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11140                         process group id
11141
11142 2006-11-19  Dan Williams  <dcbw@redhat.com>
11143
11144         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
11145         * gnome/vpn-properties/nm-vpn-properties.c
11146                 - clean up after renamed VPN connection
11147
11148 2006-11-19  Dan Williams  <dcbw@redhat.com>
11149
11150         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
11151         * gnome/applet/applet-dbus-vpn.c
11152                 - (nma_dbus_vpn_properties_cb): sort VPN connections
11153
11154         * gnome/vpn-properties/nm-vpn-properties.c
11155                 - (init_app): sort VPN connections
11156
11157 2006-11-09  Dan Williams  <dcbw@redhat.com>
11158
11159         * src/NetworkManagerAPList.c
11160                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11161                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11162                 from the nm_ap_list_get_ap_by_address() call was incorrect and
11163                 broke hidden SSID matching.  Found by Bill Moss.
11164
11165 2006-10-25  Dan Williams  <dcbw@redhat.com>
11166
11167         * src/nm-dbus-nm.c
11168                 - (nm_dbus_nm_set_active_device): return an empty success message on
11169                         success, rather than falling through to the error case.
11170
11171 2006-10-25  Dan Williams  <dcbw@redhat.com>
11172
11173         * src/NetworkManagerUtils.c
11174                 - (nm_utils_supplicant_request_with_check): suppress messages for the
11175                         "SCAN" command
11176
11177 2006-10-24  Dan Williams  <dcbw@redhat.com>
11178
11179         Reduce the number of times the Gnome applet wakes up, especially when
11180         it's doing absolutely nothing and is hidden.  Initial patch by
11181         Chris Aillon.
11182
11183         * gnome/applet/applet-dbus.c
11184                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11185                         kill the redraw timeout.  When NM starts up, start the redraw
11186                         timeout.  Also, if we get kicked off the bus for some reason,
11187                         start the reconnection timeout if one's not already running.
11188                 - (nma_dbus_init): better handling of error conditions, don't leak
11189                         a half-initialized dbus connection
11190                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11191                         the applet's data, just call nm_dbus_init_helper()
11192                 - (nma_start_dbus_connection_watch): new function, starts a periodic
11193                         timeout that calls nma_dbus_connection_watcher()
11194                 - (nma_dbus_init_helper): if we get a successful connection, kill the
11195                         reconnection timeout, and don't start the reconnection timeout
11196                         unconditionally anymore
11197
11198         * gnome/applet/applet-dbus.h
11199                 - Expose nma_start_dbus_connection_watch()
11200
11201         * gnome/applet/applet.c
11202                 - (nma_update_state): no longer static, called from applet-dbus.c for
11203                         immediate UI updates on certain events
11204                 - (nma_set_running): new function; take over setting applet->running,
11205                         when not running (ie, NM is not active), don't activate the redraw
11206                         timeout because we're not showing the applet anyway.  When we are
11207                         running (ie, NM is active), and only when we're running, start the
11208                         redraw timeout.
11209                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11210                         kill any reconnection timeout
11211                 - (nma_get_instance): move one-off dbus initialization code here since
11212                         nm_dbus_init_helper() gets called more than once, possibly by the
11213                         reconnection timeout function too.  And, when we start up, if we
11214                         can't get a connection to the bus, start the reconnection timeout.
11215                         But don't start the redraw timeout yet, only do that when we get
11216                         NM's state and find out if it's running or not.
11217
11218         * gnome/applet/applet.h
11219                 - Add the reconnection GSource ID
11220                 - Add prototypes for nma_set_running() and the no-longer-static
11221                         nma_update_state()
11222
11223 2006-10-24  Dan Williams  <dcbw@redhat.com>
11224
11225         * src/vpn-daemons/nm-dbus-vpnc.c
11226                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11227                         pending call tracker
11228                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11229                         pending call tracker; register one-vpn-connection update pending
11230                         call in pending call tracker
11231                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11232                         update pending call in pending call tracker
11233                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11234                         update pending call in pending call tracker; don't block waiting
11235                         for call to return
11236
11237 2006-10-19  Robert Love  <rml@novell.com>
11238
11239         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11240           refresh the cache.
11241
11242 2006-10-14  Dan Williams  <dcbw@redhat.com>
11243
11244         * src/dhcp-manager/nm-dhcp-manager.c
11245                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11246                 the dbus connection and the device object path rather than
11247                 constructing it inside both functions.  Saves a bit of memory
11248                 and clarifies a failure path.
11249                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11250                 and allocate device path here rather than each of the two
11251                 functions above.
11252
11253 2006-10-13  Dan Williams  <dcbw@redhat.com>
11254
11255         * src/NetworkManager.c
11256                 - (nm_name_owner_changed_handler): handle NMI coming and going,
11257                 this somehow droppout in the refactor
11258
11259 2006-10-13  Dan Williams  <dcbw@redhat.com>
11260
11261         * Huge DBus refactor:
11262                 - Create a "DBus Manager" object which manages the connection and
11263                 sends signals on NameOwnerChanged and connection/disconnection events,
11264                 handles reconnection to the bus if NM gets kicked off, and abstracts
11265                 signal handling
11266                 - Remove DBusConnection members from places where they are no
11267                 longer needed due to the refactor, like the dbus-connection
11268                 property of the named manager, and from NMData
11269                 - Reformats a bunch of the code to gnome style
11270                 (8-space tabs, braces on same line as statement, 80-col width).
11271                 Consider it open season to reformat any bits to gnome style.
11272                 style that aren't already.
11273
11274 2006-10-13  Dan Williams  <dcbw@redhat.com>
11275
11276         * src/supplicant-manager/Makefile.am
11277                 - Add new files
11278
11279         * src/supplicant-manager/nm-supplicant-manager.[ch]:
11280                 - Make it a minimal GObject
11281
11282         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
11283                 - Verify settings destined for wpa_supplicant
11284
11285         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
11286                 - Minimal GObject to track wpa_supplicant controlled device
11287                 connections
11288
11289 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
11290
11291         * gnome/applet/applet.c: (nma_update_info),
11292         (nma_act_stage_to_pixbuf), (nma_update_state):
11293         Mark missing strings for translation. Fixes bug #343306.
11294
11295 2006-10-01  Dan Williams  <dcbw@redhat.com>
11296
11297         * src/vpn-manager/nm-vpn-manager.c
11298                 - (nm_vpn_manager_load_services): split and clean up
11299                 for readability and correctness.  Restrict VPN service
11300                 files to ending in ".name", as was meant from the
11301                 beginning (but not coded in).  Better error reporting.
11302
11303 2006-10-01  Dan Williams  <dcbw@redhat.com>
11304
11305         * utils/nm-utils.h
11306                 - Clean up formatting of debug/info/warning log messages
11307
11308 2006-09-27  Robert Love  <rml@novell.com>
11309
11310         Patch by Tambet Ingo <tambet@ximian.com>:
11311         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11312           actually work.
11313
11314 2006-09-07  Dan Williams <dcbw@redhat.com>
11315
11316         * test/Makefile.am
11317           test/libnm-util/Makefile.am
11318           test/nm-supplicant-test.c
11319                 - Add test program emulating the way NM drives wpa_supplicant
11320                 to help debug supplicant issues
11321
11322 2006-08-24  Dan Williams <dcbw@redhat.com>
11323
11324         * configure.in
11325           src/Makefile.am
11326           src/supplicant-manager/Makefile.am
11327           src/supplicant-manager/nm-supplicant-manager.c
11328           src/supplicant-manager/nm-supplicant-manager.h
11329                 - Add skeleton bits of the wpa_supplicant manager
11330
11331 2006-08-24  Dan Williams <dcbw@redhat.com>
11332
11333         Patch from Ed Catmur:
11334         * src/NetworkManagerUtils.c
11335                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11336                 if netmask is 0 (Gnome #352634)
11337
11338 2006-08-17  Robert Love  <rml@novell.com>
11339
11340         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11341           package is now DBUS-enabled and listens for the NM signals.
11342
11343 2006-08-14  Dan Williams  <dcbw@redhat.com>
11344
11345         * Patch from Christian Persch <chpe gnome org>
11346         * configure.in
11347           po/LINGUAS
11348           vpn-daemons/openvpn/po/LINGUAS
11349           vpn-daemons/openvpn/configure.in
11350           vpn-daemons/pptp/po/LINGUAS
11351           vpn-daemons/pptp/configure.in
11352           vpn-daemons/vpnc/po/LINGUAS
11353           vpn-daemons/vpnc/configure.in
11354                 - Convert to LINGUAS method so translators don't have to modify
11355                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
11356                 0.35 or higher
11357
11358 2006-08-14  Dan Williams  <dcbw@redhat.com>
11359
11360         Patch from Alex Smith <alex.extreme2@gmail.com>
11361         * configure.in
11362           src/backends/Makefile.am
11363           src/backends/NetworkManagerFrugalware.c
11364                 - Add support for Frugalware
11365
11366 2006-08-13  Dan Williams  <dcbw@redhat.com>
11367
11368         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11369         * src/nm-device-802-11-wireless.c
11370                 - (supplicant_exec): spawn wpa_supplicant without debug spew
11371                 Gnome #346875
11372
11373 2006-08-13  Dan Williams  <dcbw@redhat.com>
11374
11375         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11376         * src/nm-ap-security.c
11377           src/nm-ap-security.h
11378                 - Add authentication_required bits for subclasses to specify whether
11379                 or not real authentication is required for connections, i.e. whether
11380                 the AP rejects us when an encryption key is wrong or not.
11381
11382         * src/nm-ap-security-wep.c
11383           src/nm-ap-security-wpa-eap.c
11384           src/nm-ap-security-wpa-psk.c
11385           src/nm-ap-security-leap.c
11386                 - Implement authentication_required appropriately for each method
11387
11388         * src/nm-device-802-11-wireless.c
11389                 - Be smarter about when to request a key; for example, using a wrong key
11390                 in WEP shared key mode previously just timed out and did not request
11391                 a new key
11392
11393 2006-08-13  Dan Williams  <dcbw@redhat.com>
11394
11395         * gnome/libnm_glib/libnm_glib.c
11396                 - dbus_connection_disconnect() -> dbus_connection_close() for
11397                 dbus >= 0.90
11398
11399 2006-08-07  Dan Williams  <dcbw@redhat.com>
11400
11401         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11402         * src/NetworkManagerSystem.c
11403                 - Respect specified MTU.  Gnome #344967
11404
11405 2006-08-07  Dan Williams  <dcbw@redhat.com>
11406
11407         * src/vpn-manager/nm-vpn-service.c
11408                 - Simplify print_vpn_config() arguments
11409
11410         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11411         * src/vpn-manager/Makefile.am
11412           src/vpn-manager/nm-vpn-service.c
11413                 - Add new API for passing VPN config options as a dict. Gnome #344967
11414
11415 2006-08-06  Dan Williams  <dcbw@redhat.com>
11416
11417         * gnome/applet/applet-dbus-devices.c
11418           gnome/applet/applet-dbus-vpn.c
11419           gnome/applet/applet-dbus.c
11420           gnome/applet/applet-dbus.h
11421           src/nm-dbus-nmi.c
11422           utils/nm-utils.c
11423           utils/nm-utils.h
11424                 - Make pending call tracking code generic,
11425                 so we can use it in NM as well as the applet
11426
11427 2006-08-06  Dan Williams  <dcbw@redhat.com>
11428
11429         * src/nm-activation-request.c
11430                 - Refcount pending call objects
11431
11432 2006-08-06  Dan Williams  <dcbw@redhat.com>
11433
11434         Patch from Christan Chiesa <christanc@gmail.com>
11435         * configure.in
11436                 - Tell sha1.c to use bigendian mode on PPC
11437
11438 2006-08-04  Robert Love  <rml@novell.com>
11439
11440         Glib Memory Slices!
11441         * configure.in: Require glib 2.10 or later.
11442         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11443           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11444           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11445           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11446           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
11447           Memory Slices are the greatest thing since bread slices.
11448         * src/NetworkManagerAP.c: Also, fix memory leak.
11449
11450 2006-08-01  Robert Love  <rml@novell.com>
11451
11452         * gnome/applet/main.c: Shutdown all VPN connections on logout.
11453
11454 2006-07-31  Robert Love  <rml@novell.com>
11455
11456         * src/backends/interface_parser.c: Declarations must begin the block.
11457
11458 2006-07-24  Dan Williams  <dcbw@redhat.com>
11459
11460         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11461         * src/backends/Makefile.am
11462           src/backends/NetworkManagerArch.c
11463           src/backends/NetworkManagerDebian.c
11464           src/backends/NetworkManagerGeneric.c
11465           src/backends/NetworkManagerGeneric.h
11466           src/backends/NetworkManagerGentoo.c
11467           src/backends/NetworkManagerPaldo.c
11468           src/backends/NetworkManagerRedHat.c
11469           src/backends/NetworkManagerSlackware.c
11470           src/backends/NetworkManagerSuSE.c
11471                 - Genericize common backend functions
11472
11473 2006-07-18  Robert Love  <rml@novell.com>
11474
11475         * configure.in: Add "--with-notify" option to allow disabling of
11476           libnotify support.
11477
11478 2006-07-13  Dan Williams  <dcbw@redhat.com>
11479
11480         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11481         * gnome/applet/applet.glade
11482           gnome/applet/Makefile.am
11483           gnome/applet/nm-gconf-wso.c
11484           gnome/applet/nm-gconf-wso-leap.c
11485           gnome/applet/nm-gconf-wso-leap.h
11486           gnome/applet/wireless-security-manager.c
11487           gnome/applet/wso-leap.c
11488           gnome/applet/wso-leap.h
11489           include/NetworkManager.h
11490           libnm-util/dbus-helpers.c
11491           libnm-util/dbus-helpers.h
11492           src/Makefile.am
11493           src/NetworkManagerAP.c
11494           src/nm-ap-security.c
11495           src/nm-ap-security-leap.c
11496           src/nm-ap-security-leap.h
11497                 - Add LEAP authentication support
11498
11499 2006-07-13  Dan Williams  <dcbw@redhat.com>
11500
11501         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11502         * configure.in
11503           src/backends/NetworkManagerArch.c
11504           src/backends/NetworkManagerDebian.c
11505           src/backends/NetworkManagerGentoo.c
11506           src/backends/NetworkManagerPaldo.c
11507           src/backends/NetworkManagerRedHat.c
11508           src/backends/NetworkManagerSlackware.c
11509           src/backends/NetworkManagerSuSE.c
11510                 - Convert hardcoding of 'ip' path to configure-time
11511                         detected one
11512
11513 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11514
11515         * configure.in: added ru to ALL_LINGUAS
11516
11517 2006-07-10  Dan Williams  <dcbw@redhat.com>
11518
11519         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11520         * src/nm-device.c
11521                 - (real_act_stage3_ip_config_start): don't infinite loop when
11522                         dhcdbd isn't running (Gnome #346845)
11523
11524 2006-07-09  Dan Williams  <dcbw@redhat.com>
11525
11526         * gnome/applet/applet.c
11527                 - (nma_destroy): don't pass NULL to notify_notification_close
11528                         (RH #197917)
11529
11530 2006-07-09  Dan Williams  <dcbw@redhat.com>
11531
11532         * gnome/applet/applet.c
11533                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11534
11535 2006-07-04  Tor Krill  <tor@krill.nu>
11536
11537         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11538         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11539         (nm_system_restart_mdns_responder), (ArchReadConfig),
11540         (nm_system_device_get_system_config):
11541                 - Explicitly check for DHCP configuration
11542                 - Check if daemons are running before starting them
11543
11544 2006-06-25  Dan Williams  <dcbw@redhat.com>
11545
11546         * libnm-util/dbus-dict-helpers.[ch]
11547           test/libnm-util/test-dbus-dict-helpers.c
11548                 - Add string array support
11549
11550 2006-06-24  Dan Williams  <dcbw@redhat.com>
11551
11552         * src/dhcp-manager/nm-dhcp-manager.c
11553                 - (nm_dhcp_manager_process_signal): clean up spacing
11554
11555 2006-06-21  Dan Williams  <dcbw@redhat.com>
11556
11557         * src/nm-dbus-device.c
11558                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11559                         through dbus
11560
11561 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11562
11563         * configure.in: Added 'lv' to ALL_LINGUAS
11564
11565 2006-06-19  Dan Williams  <dcbw@redhat.com>
11566
11567         * src/NetworkManagerAP.c
11568                 - Clarify usage of user_created
11569
11570         * src/nm-ap-security-wep.c
11571           src/nm-ap-security-wpa-eap.c
11572           src/nm-ap-security-wpa-psk.c
11573           src/nm-ap-security.c
11574           src/nm-ap-security.h
11575                 - s/user_created/adhoc, because we really do mean adhoc
11576
11577         Patch from Bernard Blackham <bernard@blackham.com.au>
11578         * src/nm-device-802-11-wireless.c         
11579                 - (supplicant_send_network_config): instead of user_created,
11580                         use adhoc, and do AP_SCAN 2 for adhoc networks
11581
11582 2006-06-18  Robert Love  <rml@novell.com>
11583
11584         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11585           we have a value to set.  Gconf generates a warning if `val' is NULL.
11586         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11587           unless we actually received a valid private key file passphrase or
11588           password.  Otherwise, we don't know to later ask the applet to pull
11589           the key from the keyring.
11590
11591 2006-06-17  Dan Williams  <dcbw@redhat.com>
11592
11593         * libnm-util/dbus-dict-helpers.[ch]
11594           test/libnm-util/test-dbus-dict-helpers.c
11595                 - Fixes for zero-length byte arrays
11596                 - Replace return values of 0 with FALSE for clarity
11597                 - Test zero-length byte arrays
11598
11599 2006-06-17  Dan Williams  <dcbw@redhat.com>
11600
11601         * libnm-util/dbus-dict-helpers.[ch]
11602           test/libnm-util/test-dbus-dict-helpers.c
11603                 - Add helpers for byte arrays
11604                 - Rework bits of the testcase
11605
11606 2006-06-16  Dan Williams  <dcbw@redhat.com>
11607
11608         * libnm-util/Makefile.am
11609         * libnm-util/dbus-dict-helpers.[ch]
11610                 - Add some helpers to take the pain out of using dict types in
11611                         dbus.
11612
11613         * test/libnm-util/Makefile.am
11614         * test/libnm-util/test-dbus-dict-helpers.c
11615                 - Test cases for the dict helper functions
11616
11617 2006-06-15  Robert Love  <rml@novell.com>
11618
11619         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11620           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11621           if there is no key to pass.
11622         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11623           receiving a non-NULL key.
11624
11625 2006-06-14  Robert Love  <rml@novell.com>
11626
11627         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11628           copy the strings.
11629
11630
11631 2006-06-14  Dan Williams  <dcbw@redhat.com>
11632
11633         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11634         * src/nm-device-802-11-wireless.c
11635                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11636                         or ones where the driver is unknown
11637                 - (supplicant_exec): don't wait for supplicant startup here
11638                 - (supplicant_interface_init): finer grained polling for supplicant
11639                         startup
11640
11641 2006-06-13  Robert Love  <rml@novell.com>
11642
11643         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11644           if it is currently set to TRUE.  Otherwise, we will reset the value
11645           when we connect normally.
11646         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11647           the old BSSID is valid, too.  The recently added ESSID check may not be
11648           sufficient (we can remove it?).  What we really want to catch is the
11649           case of going from all-zeros to the BSSID of some other network, which
11650           happens on failure.
11651
11652 2006-06-09  Dan Williams  <dcbw@redhat.com>
11653
11654         * src/NetworkManagerSystem.[ch]
11655                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11656                         it was unused and pointless
11657                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11658                         fix for set_up_down_with_iface change
11659
11660         * src/vpn-manager/nm-vpn-connection.c
11661                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11662
11663         * src/backends/NetworkManagerPaldo.c
11664           src/backends/NetworkManagerRedHat.c
11665           src/backends/NetworkManagerSuSE.c
11666           src/backends/NetworkManagerArch.c
11667           src/backends/NetworkManagerDebian.c
11668           src/backends/NetworkManagerGentoo.c
11669                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11670                         appropriate
11671                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11672                         where appropriate
11673
11674 2006-06-09  Dan Williams  <dcbw@redhat.com>
11675
11676         Patch from Peter Jones:
11677         * src/nm-device-802-11-wireless.c
11678                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11679                         SSID hasn't changed from what we expect before automatically
11680                         updating the saved BSSID from a new AP
11681
11682 2006-06-08  Robert Love  <rml@novell.com>
11683
11684         Add 'fallback' support.  NetworkManager will attempt to brute-force
11685         connect to networks marked as fallback if there are no better wireless
11686         connections available.  This is useful as a method of last resort, to
11687         work around driver problems, and for use with hidden networks.
11688         * gnome/applet/applet-dbus-devices.c,
11689           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11690         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11691           pass it on via DBUS.
11692         * gnome/applet/applet.c: No fallback by default.
11693         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11694           Update other-network-dialog to add UI checkbox toggling fallback.
11695         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11696           propery from AP object.  Add "fallback" property to AP object.
11697         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11698         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11699         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11700           separate function.  Add get_best_fallback_ap() for returning an AP
11701           on which to attempt fallback.
11702         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11703         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11704
11705 2006-06-07  Robert Love  <rml@novell.com>
11706
11707         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11708           checked that the return type was GCONF_VALUE_STRING, not the correct
11709           GCONF_VALUE_BOOL, and thus it never worked.
11710         * src/NetworkManagerAPList.c: Before concluding that two networks are
11711           identical based on their BSSID, make sure that the BSSID in question
11712           is actually valid.  Specifically, an empty or all zero BSSID does not
11713           cut it.
11714         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11715           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11716           similar invariant clean up.
11717
11718 2006-06-02  Robert Love  <rml@novell.com>
11719
11720         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11721
11722 2006-05-28  Dan Williams  <dcbw@redhat.com>
11723
11724         * gnome/applet/applet.glade
11725           gnome/vpn-properties/nm-vpn-properties.glade
11726                 - Set window icons on dialogs  (Gnome.org #333420)
11727
11728 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11729
11730         * gnome/vpn-properties/nm-vpn-properties.glade:
11731         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11732         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11733         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11734                 - Make the VPN properties pages prettier and more HIG
11735                   compliant. Gnome Bug #336913.
11736
11737 2006-05-28  Dan Williams  <dcbw@redhat.com>
11738
11739         Patch from Christian Persch <chpe@gnome.org>
11740         * gnome/vpn-properties/nm-vpn-properties.c
11741         * gnome/vpn-properties/nm-vpn-properties.glade
11742                 - HIG-ification love  (Gnome.org #336846)
11743
11744 2006-05-28  Dan Williams  <dcbw@redhat.com>
11745
11746         Patch from Christian Persch <chpe@gnome.org>
11747         * configure.in
11748           gnome/vpn-properties/nm-vpn-properties.c
11749                 - (main): Fix option parsing.  Gnome.org #336847
11750
11751 2006-05-28  Dan Williams  <dcbw@redhat.com>
11752
11753         * gnome/vpn-properties/nm-vpn-properties.c
11754                 - (find_vpn_ui_by_service_name): protect against NULL service names
11755                 - (update_edit_del_sensitivity): protect against NULL service names
11756                         Gnome.org #341306
11757
11758 2006-05-28  Dan Williams  <dcbw@redhat.com>
11759
11760         Patch from Chris Fuller <crf@grandecom.net>:
11761         * src/nm-device-802-11-wireless.c
11762                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11763                         don't dispose of wireless-specific stuff unless it is actually
11764                         initialized.  Gnome.org #341263
11765
11766 2006-05-28  Dan Williams  <dcbw@redhat.com>
11767
11768         * src/NetworkManagerPolicy.c
11769                 - (nm_policy_device_change_check): don't switch devices if the "best"
11770                         AP is essentially the same as the current activation request, but
11771                         the current activation request isn't done activating yet.  Fixes
11772                         multiple requests for keyring password on startup for Gnome applet.
11773                         Gnome.org #341297
11774
11775 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11776
11777         * src/NetworkManager.c: use GOptions instead of getopt
11778         * configure.in: bump glib required version to >= 2.6 for GOption
11779           support
11780
11781 2006-05-25  Robert Love  <rml@novell.com>
11782
11783         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11784           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11785           instead of dumping ifdef's throughout the code.
11786         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11787           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11788           use nm_ioctl_info() in lieu.
11789
11790 2006-05-25  Robert Love  <rml@novell.com>
11791
11792         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11793         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11794           not using gcrypt.  Otherwise, we get a linker error.
11795
11796 2006-05-25  Robert Love  <rml@novell.com>
11797
11798         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11799         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11800           configure flag to disable building of the GNOME-based applet.
11801
11802 2006-05-25  Robert Love  <rml@novell.com>
11803
11804         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11805           parameter from link, because it shadows a global variable with some
11806           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11807           should never have exported to the entire system a common four letter
11808           word.  But we here at NetworkManager are team players.  Fixes
11809           GNOME bug #336532.
11810
11811 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11812
11813         * configure.in: Added mk.po, Macedonian translation.
11814
11815 2006-05-24  Robert Love  <rml@novell.com>
11816
11817         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11818           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11819           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11820
11821 2006-05-24  Robert Love  <rml@novell.com>
11822
11823         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11824           libnm-util/Makefile.am, src/Makefile.am,
11825           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11826           vpn-daemons/openvpn/properties/Makefile.am,
11827           vpn-daemons/pptp/auth-dialog/Makefile.am,
11828           vpn-daemons/pptp/properties/Makefile.am,
11829           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11830           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11831           user passed for --datadir, if anything, when setting the GNOME locale
11832           directory.  It should be a function of the specified datadir and not
11833           the prefix.
11834
11835 2006-05-24  Robert Love  <rml@novell.com>
11836
11837         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11838           src/NetworkManager.c: Take care to call bindtextdomain with the
11839           location of msgid files.
11840         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11841           files.
11842
11843 2006-05-22  Robert Love  <rml@novell.com>
11844
11845         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11846           stage4_timeout on failure unless the wireless network is Ad-Hoc.
11847           99% of the time there is a real problem with wireless, and a
11848           seemingly successful connection via Zeroconf just confuses the user.
11849           And that 1% of the time the network is probably Ad-Hoc, anyhow.
11850
11851 2006-05-22  Robert Love  <rml@novell.com>
11852
11853         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11854           autofs on interface up if NIS is configured.  On interface down, do
11855           nothing.
11856
11857 2006-05-22  Robert Love  <rml@novell.com>
11858
11859         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11860           to avoid calling g_object_unref() on stale pointers on error in
11861           nma_icons_free().  This happens because we short-circuit loaded the
11862           icons on the first failure but then free all icons.  Normally we have
11863           no issue because the icons were zero'ed out malloc, but we have stale
11864           pointer data after nma_icon_theme_changed().
11865         * gnome/applet/main.c: Return error code if nma_new() failed.
11866
11867 2060-05-21  Dan Williams  <dcbw@redhat.com>
11868
11869         * initscript/NetworkManager.in
11870                 - Ensure both dhcdbd and named are started before NM
11871
11872 2006-05-21  Dan Williams  <dcbw@redhat.com>
11873
11874         * configure.in
11875                 - Bump version to 0.7 to signify we are in 0.7 development
11876
11877 2006-05-21  Dan Williams  <dcbw@redhat.com>
11878
11879         Patch from Adam Schreiber <sadam@clemson.edu>
11880         * gnome/vpn-properties/nm-vpn-properties.c
11881                 - (main): correct Gnome program name  (gnome.org #342498)
11882
11883 2006-05-21  Dan Williams  <dcbw@redhat.com>
11884
11885         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11886
11887         * src/NetworkManagerDbus.[ch]
11888                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11889                         clarify that function's argument should be an escaped dbus object
11890                         path, and look for path segment end before returning a match
11891         * src/nm-dbus-nm.c:
11892                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11893
11894 2006-05-17  Robert Love  <rml@novell.com>
11895
11896         Functionality to differentiate Ad-Hoc networks from infrastructure
11897         networks in the applet, by displaying a special icon:
11898         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11899         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11900         * gnome/applet/menu-items.c: Set a special icon in the scan list for
11901           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
11902           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
11903           networks, encrypted or not.
11904         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11905           accessor functions to get and set the mode of a given network,
11906           wireless_network_get_mode() and wireless_network_set_mode().
11907
11908 2006-05-17  Robert Love  <rml@novell.com>
11909
11910         Functionality to automatically add BSSIDs to the allowed-MAC list as
11911         one roams from access point to access point on a given network:
11912         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11913           helper function to compare two ether_addr structures and return TRUE
11914           if they contain the same MAC address.
11915         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11916           prototype.
11917         * src/nm-device-802-11-wireless.c: New function to update the BSSID
11918           stored with the current AP.  If the BSSID has indeed changed, we
11919           send it out to the applet, allowing the allowed-MAC list to grow
11920           automatically in response to roaming.
11921
11922 2006-05-16  Robert Love  <rml@novell.com>
11923
11924         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11925           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11926
11927 2006-05-13  Dan Williams  <dcbw@redhat.com>
11928
11929         * src/nm-device-802-3-ethernet.c
11930                 - (real_get_generic_capabilities): Don't ignore devices that can't do
11931                         carrier detect (Debian bug #366373)
11932
11933 2006-05-11  Dan Williams  <dcbw@redhat.com>
11934
11935         Patch from Michael Biebl <biebl@teco.edu>
11936         * src/backends/NetworkManagerDebian.c
11937                 - Debian backend fixups
11938
11939 2006-05-10  Robert Love  <rml@novell.com>
11940
11941         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11942
11943 2006-05-09  Robert Love  <rml@novell.com>
11944
11945         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11946           private certificate passphrase, if any, in the GNOME Keyring.
11947         * libnm-utils/dbus-helpers.c: Update.
11948
11949 2006-05-05  Dan Williams  <dcbw@redhat.com>
11950
11951         * src/nm-device-802-11-wireless.c
11952                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11953                         nm_device_802_11_wireless_disable_encryption() since that's all
11954                         we use it for anymore; we don't ever set WEP keys ourselves.
11955                 - (real_deactivate_quickly): reset SSID and encryption keys
11956                 - (real_deactivate): move SSID and encryption key reset to
11957                         real_deactivate_quickly(), which gets run before us anyway
11958
11959 2006-05-05  Robert Love  <rml@novell.com>
11960
11961         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11962           root has a wacky default of its own (or, more common, a user has a
11963           bad umask and uses su/sudo to restart NetworkManager).  Anything
11964           other than 0022 does not do what we want with, for example,
11965           resolv.conf.  This problem is amplified by our judicious use of
11966           fopen(), which uses mode 0666 -- implying that the only way to get
11967           the permissions we want is with a umask of 0022.
11968
11969 2006-05-05  Dan Williams  <dcbw@redhat.com>
11970
11971         * gnome/libnm_glib/libnm_glib.c
11972                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11973                         to reconnect; instead wait a bit more with each reconnect attempt
11974                         up to a max of one minute.
11975
11976 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
11977
11978         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11979           the WirelessNetwork structure using the proper function instead of
11980           just casting it directly to (const char *) (gnome.org #336991)
11981
11982 2006-05-03  Robert Love  <rml@novell.com>
11983
11984         * src/backends/NetworkManagerSuSE.c: Respect the variable
11985           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11986           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11987           to dynamically update /etc/resolv.conf.
11988
11989 2006-05-02  Peter Jones  <pjones@redhat.com>
11990
11991         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11992
11993 2006-05-02  Robert Love  <rml@novell.com>
11994
11995         Patch by Timo Hoenig;
11996         * tests/nm-online.c: Print pretty status indicator as timeout winds
11997           down.  Also fix possible race between DBUS startup and failure
11998           return.
11999
12000 2006-05-01  Robert Love  <rml@novell.com>
12001
12002         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
12003           empty, too.
12004
12005 2006-04-27  Jeremy Katz  <katzj@redhat.com>
12006
12007         * src/nm-device.c (discover_device_type): Actually use the hal
12008         device type instead of ioctl poking
12009
12010 2006-04-26  Robert Love  <rml@novell.com>
12011
12012         * tests/nm-online.c: New file.  Simple utility that returns exit status
12013           noting whether the connection is offline or online.  If offline on
12014           start, it waits 30 seconds (or a command-line given value) for an
12015           online signal.  If it times out, it again returns offline.  This is
12016           useful for scripts that want to wait for network connections.
12017
12018 2006-04-25  Robert Love  <rml@novell.com>
12019
12020         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
12021           key mode (the authentication algorithm), e.g. open or shared, when we
12022           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
12023           only shared was broken.  If the user specified a shared key, set it
12024           explicitly, otherwise let wpa_supplicant go with the default.
12025
12026 2006-04-24  Dan Williams  <dcbw@redhat.com>
12027
12028         * src/nm-device-802-11-wireless.c
12029                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
12030
12031 2006-04-24  Dan Williams  <dcbw@redhat.com>
12032
12033         Commit the async scanning patch
12034
12035         * src/nm-device-802-11-wireless.c
12036                 - get rid of scan_mutex
12037                 - (wireless_event_helper): act on wireless scan events
12038                 - (real_start): schedule a pending scan
12039                 - (link_to_specific_ap): fake the link to the AP during a scan
12040                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
12041                         strength during scans
12042                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
12043                         nm_device_set_bitrate): unused with new scanning code, disable
12044                 - (nm_device_wireless_schedule_scan): removed
12045                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
12046                 - (request_and_convert_scan_results): new function; retrieve scan
12047                         results from the driver and schedule the processing function
12048                 - (scan_results_timeout): timeout triggered when card doesn't send
12049                         a scan results wireless event during a certain interval
12050                 - (schedule_scan_results_timeout): new function; schedule the scan
12051                         results timeout
12052                 - (cancel_scan_results_timeout): new function; cancel the scan
12053                         results timeout
12054                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12055                         to do the scanning.  Otherwise, just request a scan but don't
12056                         grab results here; instead schedule a timeout for scan results and
12057                         let netlink notify us of scan completion events
12058                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12059                 - (cancel_pending_scan): new function; cancel a pending wireless scan
12060                 - (supplicant_status_cb): ignore disconnect events while scanning
12061                 - (supplicant_exec): wait a bit longer for the supplicant to start up
12062                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12063                         timeouts
12064                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12065
12066 2006-04-24  Dan Williams  <dcbw@redhat.com>
12067
12068         * gnome/applet/applet-dbus.c
12069                 - Disable the pending call debug stuff, seems under control now
12070
12071 2006-04-20  Robert Love  <rml@novell.com>
12072
12073         Fix bug where hidden ESSID's would not show up in the applet, even
12074         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
12075         because nm_policy_device_list_update_from_allowed_list() would merge
12076         the data, putting a name to the hidden networks, but never notify NMI
12077         of the changes.  Simple fix is to invoke the function
12078         nm_dbus_signal_wireless_network_change() if we make a mapping.
12079         * src/NetworkManagerAPList.c: Call the function
12080           nm_dbus_signal_wireless_network_change() if we made a successful
12081           BSSID to ESSID mapping, notifying the applet of the "new" network.
12082         * src/NetworkManagerAPList.h: Update the prototypes for both
12083           nm_ap_list_copy_essids_by_address() and
12084           nm_ap_list_copy_one_essid_by_address().
12085
12086 2006-04-20  Robert Love  <rml@novell.com>
12087
12088         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12089           not set.  Just return zero.
12090
12091 2006-04-20  Robert Love  <rml@novell.com>
12092
12093         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12094           only one copy of nm-vpn-properties is running at a time via the 'ol
12095           X selection trick.  This prevents the user from opening two "VPN
12096           Connections" windows from within the applet, which leads to mass
12097           hysteria.
12098         * clipboard.c: New file, implementing simple X selection logic.
12099         * clipboard.h: New file.
12100         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12101
12102 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
12103
12104         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12105         * configure.in
12106           initscript/Gentoo/Makefile.am
12107           initscript/Gentoo/NetworkManagerDispatcher.in
12108                 - New script
12109         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12110           Gentopia
12111
12112 2006-04-16  Dan Williams  <dcbw@redhat.com>
12113
12114         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12115         * configure.in
12116           initscript/Slackware/Makefile.am
12117           initscript/Slackware/rc.networkmanager-dispatcher.in
12118           initscript/Slackware/rc.networkmanager.in
12119                 - Update slackware initscripts
12120
12121 2006-04-10  Robert Love  <rml@novell.com>
12122
12123         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12124           the "delete_event" signal on the druid's parent window and handle it
12125           our way, lest using the WM to close the druid results in a series of
12126           bloody and ultimately lethal errors.
12127
12128 2006-04-10  Robert Love  <rml@novell.com>
12129
12130         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12131           'Back' too or else the 'Forward' option is initially disabled despite
12132           valid input.
12133
12134 2006-04-06  Robert Love  <rml@novell.com>
12135
12136         Fix bad but simple bug where an active modem connection did not update
12137         NM's connection state, breaking any app that did online/offline:
12138         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12139           represented whether a dial up connection is active, or not.
12140         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12141           to modem activation and deactivation.
12142         * src/NetworkManagerDbus.c: When asked our state, do not return
12143           disconnected if the modem is active.
12144
12145 2006-04-04  Robert Love  <rml@novell.com>
12146
12147         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12148           applet.  It just confuses the crap out of people and does not make a
12149           lot of sense, as the daemon still runs.
12150
12151 2006-04-02  Tor Krill  <tor@krill.nu>
12152
12153         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12154           in start of service.
12155         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12156           get Archlinux backend up to date.
12157
12158 2006-03-29  Robert Love  <rml@novell.com>
12159
12160         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12161         to add support for per-route MSS and improve support for per-interface
12162         MTU:
12163         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12164           optionally take an MSS parameter and set it for the given route.
12165           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
12166           NMIP4Config's stored MSS, if any.
12167         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12168           the interface's MTU and the route's MSS, respectively.  Add functions
12169           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12170           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12171           MSS.
12172         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12173           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12174           nm_ip4_config_set_mss.
12175         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12176           VPN daemon.
12177         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12178           Change the retval of nm_system_get_mtu to guint32.
12179         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12180           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
12181           servers can specify MTU's, we should set it here if the MTU was not
12182           provided.
12183
12184 2006-03-27  Jürg Billeter  <j@bitron.ch>
12185
12186         * configure.in:
12187         * initscript/Makefile.am:
12188         * initscript/paldo/Makefile.am:
12189         * initscript/paldo/NetworkManager.in:
12190         * initscript/paldo/NetworkManagerDispatcher.in:
12191         * src/backends/Makefile.am:
12192         * src/backends/NetworkManagerPaldo.c:
12193                 - Add paldo support
12194
12195 2006-03-27  Dan Williams  <dcbw@redhat.com>
12196
12197         Patch from Christian Persch <chpe@gnome.org>
12198         * gnome/applet/applet.glade
12199                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12200
12201 2006-03-27  Dan Williams  <dcbw@redhat.com>
12202
12203         Patch from Diffe <diffie@blazebox.homeip.net>
12204         * src/backends/NetworkManagerSlackware.c
12205                 - Don't restart howl, since it's been replaced by Avahi
12206                         in most distributions
12207
12208 2006-03-27  Dan Williams  <dcbw@redhat.com>
12209
12210         Patch from Tor Krill <bugzilla@krill.nu>
12211         * configure.in
12212           initscript/Makefile.am
12213           src/backends/Makefile.am
12214           src/backends/NetworkManagerArch.c
12215           initscript/Arch/Makefile.am
12216           initscript/Arch/networkmanager-dispatcher.in
12217           initscript/Arch/networkmanager.in
12218                 - Add Arch Linux support, fixes gnome.org #335147
12219
12220 2006-03-27  Dan Williams  <dcbw@redhat.com>
12221
12222         Patch from Diffe <diffie@blazebox.homeip.net>
12223      * initscript/Slackware/rc.networkmanager
12224         - update, fixed gnome.org #333368
12225
12226 2006-03-27  Robert Love  <rml@novell.com>
12227
12228         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12229           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12230
12231 2006-03-27  Robert Love  <rml@novell.com>
12232
12233         Patch by Jürg Billeter <j@bitron.ch>:
12234         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12235           systems.
12236         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12237           as we prefer glibc over kernel headers, if possible.
12238
12239 2006-03-27  Robert Love  <rml@novell.com>
12240
12241         Patch by Jon Escombe <list@dresco.co.uk>:
12242         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12243         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12244           fail, don't bail out.  We don't expect all of the various WPA-EAP
12245           values to be present.
12246         * src/nm-ap-security.c: We need to match all capabilities for each
12247           encryption type, not any one of them.
12248
12249 2006-03-27  Robert Love  <rml@novell.com>
12250
12251         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12252           restart, not reload, ypbind.  Unfortunately there is no superior
12253           solution.
12254
12255 2006-03-24  Christopher Aillon  <caillon@redhat.com>
12256
12257         * gnome/applet/applet-notifications.c:
12258         When displaying a notification, make sure to get rid of the
12259         previous notification so as to not have competing bubbles,
12260         and stop leaking the old one.
12261
12262         * gnome/applet/applet.c:
12263         * gnome/applet/applet.h:
12264         Add a new 'notification' member to the applet, and zero it out
12265         and free it appropriately.
12266
12267 2006-03-23  Robert Love  <rml@novell.com>
12268
12269         Patch by j <j@bootlab.org>:
12270         * gnome/applet/applet.glade: Don't set the invisible_char property,
12271           which simply overrides the GTK default.  By and by, this behavior
12272           ought to be fixed in Glade.
12273
12274 2006-03-22  Robert Love  <rml@novell.com>
12275
12276         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12277
12278 2006-03-22  Robert Love  <rml@novell.com>
12279
12280         Bug fix by Timo Hoenig <thoenig@suse.de>:
12281         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12282           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
12283           and the applet going AWOL.
12284
12285 2006-03-22  Robert Love  <rml@novell.com>
12286
12287         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12288           preprocessor define and use it instead of open-coded the DHCP
12289           timeout, which is currently 25 seconds, everywhere.
12290
12291 2006-03-22  Robert Love  <rml@novell.com>
12292
12293         Implement "Dynamic WEP", which is basically WPA authentication and WEP
12294         key exchange via WPA, ostensibly providing good security without
12295         requiring hardware that supports full WPA.  Also, add UI elements to
12296         allow the user to select the pairwise & group cipher for WPA Enterprise
12297         networks, too:
12298         * gnome/applet/applet.glade: Update glade file.
12299         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12300           key type, too, to and from gconf.
12301         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12302           wso_wpa_create_key_type_model(), noting whether we are handling PSK
12303           or EAP configuration, and in the latter case add in "Dynamic WEP" if
12304           the capabilities match.
12305         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12306           prototype.
12307         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12308           serialize from UI to DBUS.
12309         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12310           one element.
12311         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12312           nmu_security_serialize_wpa_eap_with_cipher(), and
12313           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12314           serialize/deserialize the key type via DBUS as the new third DBUS
12315           parameter.
12316         * libnm-util/dbus-helpers.h: Update prototypes.
12317         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12318           too.  If the key type is WEP104, do Dynamic WEP, which means
12319           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
12320           pairwise and group ciphers (fixes a FIXME).
12321
12322 2006-03-21  Robert Love  <rml@novell.com>
12323
12324         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12325           nm_system_get_mtu(), which returns a user-provided or system-mandated
12326           MTU value for a given device, if any, or zero if no such value
12327           exists.  Add nm_system_set_mtu() to set the MTU for a given device
12328           if we have a provided value.
12329         * src/nm-device.c: Set the MTU of devices.
12330         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12331         * src/backends/NetworkManagerDebian.c,
12332           src/backends/NetworkManagerGentoo.c,
12333           src/backends/NetworkManagerRedHat.c,
12334           src/backends/NetworkManagerSlackware.c: Implement stub functions.
12335
12336 2006-03-21  Robert Love  <rml@novell.com>
12337
12338         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12339           configuration file.
12340
12341 2006-03-17  Robert Love  <rml@novell.com>
12342
12343         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12344           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12345           it, in case it is not running in the first place.  We just want its
12346           configuration reloaded.  Also, do not "rcypbind stop" on device down.
12347
12348 2006-03-15  Robert Love  <rml@novell.com>
12349
12350         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12351           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12352           label "WEP 40/128-bit" is inconsistent because the physical key size
12353           is 40 or 104-bits, to which a 24-bit initialisation vector is
12354           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
12355           to read "40/104" or "64/128".  I do not care much which, but most
12356           users think of "silver" and "gold" encryption as 64 and 128-bits, so
12357           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
12358           WEP passphrase support only handles 128-bit keys, and any future
12359           64-bit passphrase support will require a new option (no way to auto-
12360           detect the target key size), explicitly label our passphrase support
12361           "WEP 128-bit Passphrase".
12362
12363 2006-03-15  Robert Love  <rml@novell.com>
12364
12365         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12366           the system init scripts (or some other mechanism) starting it (or a
12367           compatible DBUS service) before NetworkManager runs.  This means that
12368           distributions might need to update their init scripts.  This fixes
12369           possible races and is quite a bit cleaner.
12370         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12371           starting the NetworkManager daemon.
12372
12373
12374 2006-03-14  Robert Love  <rml@novell.com>
12375
12376         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12377           before adding anything.
12378
12379 2006-03-13  Robert Love  <rml@novell.com>
12380
12381         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12382           widgets, too, if they exist, in case the user hit the back button.
12383           Fixes a bug where the details page contains the widgets of multiple
12384           VPN modules (Novell bug #157048).
12385
12386 2006-03-13  Robert Love  <rml@novell.com>
12387
12388         Patch by Timo Hoenig <thoenig@suse.de>:
12389         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12390           daemon survive DBUS restarts, too.
12391
12392 2006-03-10  Robert Love  <rml@novell.com>
12393
12394         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12395           passphrase or key.
12396         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12397           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12398           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12399           in response to "toggled" signal on new toggle.
12400
12401 2006-03-10  Robert Love  <rml@novell.com>
12402
12403         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12404           serialization if strings are NULL, lest DBUS get angry.
12405
12406 2006-03-10  Robert Love  <rml@novell.com>
12407
12408         * src/nm-ap-security-wpa-eap.c: Don't log the password.
12409
12410 2006-03-09  Robert Love  <rml@novell.com>
12411
12412         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12413           configurations.
12414
12415 2006-03-09  Dan Williams  <dcbw@redhat.com>
12416
12417         Track pending call requests in the applet, and report how many are
12418         outstanding, and how long each completed one takes.
12419         
12420         * gnome/applet/applet-dbus-devices.c
12421           gnome/applet/applet-dbus-vpn.c
12422                 - Track pending calls
12423
12424         * gnome/applet/applet-dbus.[ch]
12425                 - Remove some unused enums
12426                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12427                         new functions to track dbus pending calls and spit out some
12428                         statistics about them
12429
12430 2006-03-09  Robert Love  <rml@novell.com>
12431
12432         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12433           nm_ap_set_timestamp() take the second and micro-second parameters as
12434           direct arguments, which avoids both a dynamic memory allocation and a
12435           structure-to-structure copy!  Add a new interface, the aptly named
12436           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12437           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12438           the return from nm_ap_get_timestamp().  New users should use the new
12439           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12440           the extreme benefit to performance.
12441         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12442           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12443
12444 2006-03-08  Robert Love  <rml@novell.com>
12445
12446         * gnome/applet/applet.glade: Hide the password entry text with
12447           asterisks.
12448
12449 2006-03-08  Robert Love  <rml@novell.com>
12450
12451         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12452           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12453           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12454           a second argument, NMData.
12455         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12456         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12457           config files as trusted.
12458
12459 2006-03-06  Robert Love  <rml@novell.com>
12460
12461         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12462         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12463           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
12464           Rivera, detect if the applet was auto-started.  If so, ask the user
12465           if he or she would like to stop automatically running the applet on
12466           login.  If so, disable autostart.
12467
12468 2006-03-06  Robert Love  <rml@novell.com>
12469
12470         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12471           directory in CFLAGS so developers can actually use NetworkManager.h.
12472
12473 2006-03-06  Robert Love  <rml@novell.com>
12474
12475         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12476           open-coded integer constants.  Add state_to_string() to map a given
12477           state to a textual description, and provide that when notifying of
12478           state change.
12479         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12480           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12481           this header directly, but it is currently not installed on most
12482           systems.
12483
12484 2006-03-05  Dan Williams  <dcbw@redhat.com>
12485
12486         Process netlink messages in device subclasses rather than in
12487         NetworkManager.c.  Also add support for recognizing Wireless Events.
12488         
12489         * configure.in
12490                 - Find GLIB_GENMARSHAL
12491
12492         * src/Makefile.am
12493                 - Since we're marshalling custom types for wireless event signals,
12494                         we get to create our own marshallers using GLIB_GENMARSHAL
12495
12496         * src/NetworkManager.c
12497                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12498                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12499                         cut down somewhat.  We no longer process signals here.
12500                 - (nm_data_new): create the netlink monitor here, and remove a
12501                         useless call to nm_policy_schedule_device_change_check()
12502                 - (nm_data_free): get rid of the netlink monitor here
12503                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12504                 - (main): don't create the netlink monitor here, let nm_data_new
12505                         do that.  Call nm_policy_schedule_device_change_check() right
12506                         before we jump to the mainloop to figure out which device
12507                         to use first
12508
12509         * src/NetworkManagerSystem.[ch]
12510                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12511                         convert back and forth from interface names to interface
12512                         indexes
12513
12514         * src/nm-device-802-11-wireless.c
12515                 - (real_init): connect to wireless-event signals from the netlink
12516                         monitor object
12517                 - (nm_device_802_11_wireless_event): new function, schedule handler
12518                         for wireless event signals from the netlink monitor object.  We
12519                         want the handler to run in the device's context
12520                 - (wireless_event_helper): handle wireless-event signals from netlink
12521                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12522                         signal handler
12523
12524         * src/nm-device-802-11-wireless.h
12525                 - remove unused prototype for nm_device_802_11_wireless_new
12526
12527         * src/nm-device-802-3-ethernet.c
12528                 - (real_init): new function; set up signal handlers for link events
12529                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12530                         handler for netlink link activated events on device's main loop
12531                 - (link_activated_helper): when we get a link activated event, set
12532                         the device's link to be active
12533                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12534                         handler for netlink link deactivated events on device's main loop
12535                 - (link_deactivated_helper): when we get a link deactivated event, set
12536                         the device's link to be inactive
12537                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12538                         dispose
12539
12540         * src/nm-device-802-3-ethernet.h
12541                 - remove unused prototype for nm_device_802_3_ethernet_new
12542
12543         * src/nm-device.[ch]
12544                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12545                         but locks the device list
12546                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12547
12548         * src/nm-netlink-monitor.[ch]
12549                 - (nm_netlink_monitor_class_install_signals): New signal
12550                         "wireless-event"
12551                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12552                         at the device list
12553                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12554
12555         * src/nm-marshal-main.c
12556                 - Include generated nm-marshal.c and nm-marshal.h
12557
12558         * src/nm-marshal.list
12559                 - List of custom marshal functions
12560
12561 2006-03-05  Dan Williams  <dcbw@redhat.com>
12562
12563         * gnome/applet/applet-notifications.h
12564                 - Protect prototype of nma_send_event_notification() because it
12565                         includes libnotify-specific types
12566                 - Include libnotify/libnotify.h too, since we technically need it
12567
12568         * gnome/applet/applet.c
12569                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12570                 - (nma_show_vpn_login_banner_dialog): add some error checking
12571
12572 2006-03-04  Dan Williams  <dcbw@redhat.com>
12573
12574         Clean up activation cancellation.  Should be a lot faster now.  Observed
12575         an issue with wireless devices between stage 2 and 3 of activation, where
12576         activation would be cancelled, but the device thread wouldn't notice until
12577         the supplicant association timed out.  Reorganize activation such that
12578         a cancellation handler gets immediately scheduled in the device's thread,
12579         and devices have a chance to perform any custom cleanup too.
12580
12581         * src/nm-device.[ch]
12582                 - (activation_cancel_handler): new device-type-specific function
12583                         for cleaning up device-type-specific stuff on cancellation
12584                 - (cancel_activation): removed
12585                 - (nm_device_activation_cancel): subsume functionality of
12586                         real_cancel_activation, but instead of doing anything, punt
12587                         operation to a handler that's run in device-thread context
12588                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12589                         a warning message
12590                 - (activation_handle_cancel_helper): cancellation handler run in
12591                         device-thread context, calls device-type-specific cancelation,
12592                         then tears down the activation request
12593                 - (real_activation_cancel_handler): generic cancellation handler,
12594                         deals with cancelling any in-process DHCP request
12595                 - (nm_device_activate_stage1_device_prepare,
12596                    nm_device_activate_stage2_device_config,
12597                    nm_device_activate_stage3_ip_config_start,
12598                    nm_device_activate_stage4_ip_config_get,
12599                    nm_device_activate_stage4_ip_config_timeout,
12600                    nm_device_activate_stage5_ip_commit): don't call
12601                         nm_device_schedule_activation_handle_cancel() any more, since
12602                         cancellation will have been already scheduled for us by
12603                         nm_device_activation_cancel().  Just exit the function and
12604                         assume that the cancel handler will be called next.
12605
12606         * src/nm-device-802-3-ethernet.c
12607                 - (real_act_stage2_config): remove; didn't do anything anyway
12608
12609         * src/nm-device-802-11-wireless.c
12610                 - (supplicant_status_cb): ensure we don't do anything if the activation
12611                         got cancelled
12612                 - (real_activation_cancel_handler): implement; cancel user key request
12613                         on activation cancellation
12614
12615 2006-03-04  Dan Williams  <dcbw@redhat.com>
12616
12617         * src/nm-device-802-11-wireless.c
12618                 - (supplicant_send_network_config): assume that drivers that don't
12619                         support WPA pretty much suck, and can't handle NM scanning
12620                         along with wpa_supplicant.
12621
12622 2006-03-03  Robert Love  <rml@novell.com>
12623
12624         * configure.in: Bump version to 0.6.0.
12625         * NEWS: Update.
12626
12627 2006-03-03  Robert Love  <rml@novell.com>
12628
12629         * configure.in: Require DBUS 0.60 or later.
12630
12631 2006-03-03  Dan Williams  <dcbw@redhat.com>
12632
12633         Fix a crash if an "Other wireless network" was chosen, failed, then
12634         chosen again from the applet's menu.  If the other network wasn't
12635         noticed in a scan, it wouldn't have any capabilities, but would still
12636         be listed because the user forced the network.  To fix this, we set
12637         sensible capabilities on the forced network, which will get overwritten
12638         with the correct ones if the network shows up later in a scan.
12639         
12640         * src/nm-ap-security.h
12641                 - Add a new "get_default_capabilities_func" member to the
12642                         NMAPSecurity class
12643
12644         * src/nm-ap-security.c
12645                 - (nm_ap_security_get_default_capabilities): new function
12646
12647         * src/nm-ap-security.c
12648           src/nm-ap-security-wep.c
12649           src/nm-ap-security-wpa-psk.c
12650           src/nm-ap-security-wpa-eap.c
12651                 - Implement get_default_capabilities_func() for all, which
12652                         uses the information contained in a specific NMAPSecurity
12653                         object to determine default AP capabilites necessary
12654                         to support that object
12655
12656         As a secondary measure, we now prune artificial access points that fail
12657         to be activated right away.  The thing failed, and we have no scan data for
12658         it, so it's pretty much useless since security information is only saved
12659         in the applets when a connection is successful.
12660
12661         * src/NetworkManagerAPList.c
12662                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12663                         not artificial.  If we see it, it's no longer a figment of the
12664                         user's imagination :)
12665
12666         * src/NetworkManagerPolicy.c
12667                 - (nm_policy_activation_failed): send along the failed AP if we
12668                         have it
12669
12670         * src/nm-device-802-11-wireless.c
12671                 - (real_activation_failure_handler): remove artificial APs from
12672                         the device list, because activation failed
12673
12674 2006-03-02  Robert Love  <rml@novell.com>
12675
12676         Add support for retrieving both the per-device speed and the
12677         per-network maximum supported rate.  Then change the getProperties
12678         DBUS API for both networks and devices to report this informaiton.
12679         Finally, display the information via both nm-applet and nm-tool:
12680         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12681           and set it.
12682         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12683           Information' dialog.
12684         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12685         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12686           network_device_get_speed() and network_device_set_speed() for
12687           retrieving and setting, respectively, a network device's current
12688           speed.
12689         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12690         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12691           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12692           not matter (yet) what the units are, because we only feed it its own
12693           output.  Implement SIOCGIRATE and set the per-network maximum
12694           supported rate during scanning.
12695         * src/nm-device-802-11-wireless.h: Export the function
12696           nm_device_802_11_wireless_get_bitrate().
12697         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12698           function nm_device_802_3_ethernet_get_speed() for returning an
12699           802.3's current speed, in Mb/s.
12700         * test/nm-tool.c: Display the per-device current speed, if available,
12701           and the per-network maximum rate.
12702
12703 2006-03-02  Dan Williams  <dcbw@redhat.com>
12704
12705         * src/nm-device-802-11-wireless.c
12706                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12707                         card when it gets initialized.  Since devices don't get added to
12708                         the scan list until they are initialized, this function wasn't
12709                         setting the intitial scan interval correctly, and was leaving
12710                         it at 0.  This caused cards to get many scan requests in a short
12711                         amount of time when they were initialized
12712
12713 2006-03-02  Robert Love  <rml@novell.com>
12714
12715         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12716           active device.  But do not do what we used to do and override the
12717           state, which caused the dreaded icon race of '05.
12718
12719 2006-03-02  Robert Love  <rml@novell.com>
12720
12721         Commit Dan's update of my previous commit:
12722         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12723           set_mode() function itself does the check.  But do only set the
12724           frequency if in Ad-Hoc mode.
12725
12726 2006-03-02  Robert Love  <rml@novell.com>
12727
12728         Patch by Brian Magnuson <magnuson@rcn.com>:
12729         * src/nm-device-802-11-wireless.c: During scanning, only set the
12730           wireless mode to infrastructure if it is not currently in
12731           infrastructure mode.  For some driver, setting the mode is a costly
12732           operation, apparently.
12733
12734 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12735
12736         * Makefile.am: use the correct dir for autostart mechanism.
12737
12738 2006-02-28  Dan Williams  <dcbw@redhat.com>
12739
12740         Patch from Brian Magnuson <magnuson@rcn.com>
12741         * gnome/applet/applet.c
12742                 - (nma_show_vpn_failure_dialog): fix errors left over from
12743                         libnotify support changes
12744
12745 2006-02-28  Dan Williams  <dcbw@redhat.com>
12746
12747         * src/vpn-manager/nm-vpn-act-request.[ch]
12748                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12749                         just one value
12750                 - (nm_vpn_act_request_is_failed): new function; return whether or
12751                         not the vpn activation request has failed
12752
12753         * src/vpn-manager/nm-vpn-manager.c 
12754                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12755                         daemon to kill the connection when the activation request fails.
12756                         Fixes issue where NM would get confused if the VPN activation
12757                         request timed out, and would not allow further VPN connections
12758                         on that service.
12759
12760 2006-02-28  Dan Williams  <dcbw@redhat.com>
12761
12762         * gnome/applet/applet.c
12763                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12764                         overlapping connection requests, disable all VPN menu items
12765                         but the active VPN connection
12766
12767 2006-02-28  Dan Williams  <dcbw@redhat.com>
12768
12769         * src/vpn-manager/nm-vpn-connection.c
12770                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12771                         called g_object_unref() on the connection's parent device
12772                         when it should have been ref-ed instead.  Fixes crash with
12773                         repeated vpn connect requests
12774
12775 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12776
12777         * gnome/applet/applet.glade:
12778         Mark a few strings non-translatable, since they shouldn't be.
12779
12780 2006-02-28  Dan Williams  <dcbw@redhat.com>
12781
12782         * src/vpn-manager/nm-vpn-service.c
12783                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12784                         already running, don't blindly ask it to connect, but wait until
12785                         it's in the STOPPED state first.  Fixes an assertion when user
12786                         starts a second vpn connection without stopping the first.
12787                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12788                         dbus service exists before continuing with the connection
12789                         process, and reduce latency while waiting for it to become
12790                         available
12791                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12792                         waiting for the vpn service daemon to become available
12793                 - General log message cleanups; show progress via "Stage x of 4"
12794                         rather than not telling anyone how many stages there are
12795
12796 2006-02-28  Robert Love  <rml@novell.com>
12797
12798         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12799         * src/backends/NetworkManagerSuSE.c: Implement the interface
12800           nm_system_should_modify_resolv_conf() for SUSE.
12801         * src/backends/NetworkManagerDebian.c,
12802           src/backends/NetworkManagerGentoo.c,
12803           src/backends/NetworkManagerRedHat.c,
12804           src/backends/NetworkManagerSlackware.c: Add stub.
12805         * src/named-manager/Makefile.am: Grab includes from src.
12806         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12807           automatic updating of resolv.conf.  This is useful for testing,
12808           broken static configurations, and administrator lock-down.
12809
12810 2006-02-28  Dan Williams  <dcbw@redhat.com>
12811
12812         * src/nm-device-802-11-wireless.c
12813                 - Move all the wpa_supplicant-related management stuff into its
12814                         own struct, just for oranization's sake
12815                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12816                         to a GIOChannel/GSource
12817                 - (supplicant_log_stdout): new function; grab output from the
12818                         wpa_supplicant stdout pipe and write it to our logs.
12819
12820 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12821
12822         * src/nm-device-802-11-wireless.c:
12823         Err, fix thinko in my previous commit.
12824
12825 2006-02-28  Robert Love  <rml@novell.com>
12826
12827         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12828
12829 2006-02-28  Robert Love  <rml@novell.com>
12830
12831         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12832           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12833           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12834           deserializers are responsible for freeing the returned DBUS strings.
12835
12836 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12837
12838         * src/nm-device-802-11-wireless.c:
12839         The scan list is being pruned prematurely.  We should prune after
12840         the device has gone MIA for three scans, not one.  Split out the
12841         interval to realtime seconds function to better serve this.
12842
12843 2006-02-27  Robert Love  <rml@novell.com>
12844
12845         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12846           Open the pid file O_TRUNC, so if it already exists we truncate it to
12847           zero length.  Also, be more verbose about warnings generated during
12848           writing out the pid file.  Finally, always write out the pid file if
12849           in daemon mode.  Use "--pid-file" to override the default.
12850
12851 2006-02-27  Robert Love  <rml@novell.com>
12852
12853         Patch by R. Vinay <rvinay@novell.com>:
12854         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12855           'last_attempt_success' when removing a VPN connection, too.  (Fixes
12856           Novell bug #153628).
12857           
12858 2006-02-27  Robert Love  <rml@novell.com>
12859
12860         * gnome/applet/applet.glade: Set "activates_default" on passphrase
12861           entry so user can hit <ENTER> after entering passphrase (Novell bug
12862           #153738).
12863
12864 2006-02-27  Dan Williams  <dcbw@redhat.com>
12865
12866         * gnome/applet/*
12867                 - Mass search/replace of:
12868                         nmwa -> nma
12869                         NMWirelessApplet -> NMApplet
12870                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
12871                    (it ain't just for wireless anymore, ma!)
12872                 - Fix duplicate function name printing when using nm_warning
12873                 - wireless-applet.glade -> applet.glade
12874
12875 2006-02-27  Dan Williams  <dcbw@redhat.com>
12876
12877         * dispatcher-daemon/NetworkManagerDispatcher.c
12878                 - Accept --pid-file with a path to a pidfile, write it out on
12879                         startup, and delete it on shutdown
12880
12881         * src/NetworkManager.c
12882                 - Accept --pid-file with a path to a pidfile, write it out on
12883                         startup, and delete it on shutdown
12884                 - Move nm_print_usage() lower
12885
12886         * initscripts/RedHat/NetworkManager.in
12887                 - Use new --pid-file option
12888                 - Fix service stopping to wait a bit for NM to quit
12889
12890         * initscripts/RedHat/NetworkManagerDispatcher.in
12891                 - Use new --pid-file option
12892
12893 2006-02-26  Dan Williams  <dcbw@redhat.com>
12894
12895         * src/Makefile.am
12896                 - make and install nm-crash-logger
12897
12898         * src/nm-logging.[ch]
12899                 - New files; consolidate logging and crash handling
12900
12901         * src/nm-crash-logger.c
12902           src/gdb-cmd
12903                 - Standalong crashlogger for NM, grab a backtrace
12904                         using GDB
12905
12906         * src/NetworkManager.[ch]
12907                 - Remove signal handling and put it into nm-logging.c
12908
12909 2006-02-26  Dan Williams  <dcbw@redhat.com>
12910
12911         * configure.in
12912           gnome/applet/Makefile.am
12913                 - Conditionalize all the notify stuff
12914
12915         Merge most of Chris Aillon's notification patch:
12916         
12917         * gnome/applet/applet-notifications.[ch]
12918                 - New files; show a notification
12919         
12920         * gnome/applet/applet-dbus-devices.[ch]
12921                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12922                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12923                         new functions, do the right thing when a device change occurs
12924
12925         * gnome/applet/applet-dbus.c
12926                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12927                         signals, so we can handle them specially
12928
12929         * gnome/applet/applet.[ch]
12930                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12931                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12932                 - (nmwa_notify_state): remove
12933                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12934                         notification work is now done when the appropriate dbus signals
12935                         are received.
12936                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12937                         defer execution of the notification/dialog stuff.  That was an
12938                         artifact of the previous multi-threaded nature of the applet
12939                         and is now pointless.
12940                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12941                         no longer needed.  Function folded into applet-notifications.c
12942
12943         * src/NetworkManagerPolicy.c
12944                 - (nm_policy_activation_finish): send the AP along with the device
12945                         status change signal, if the connection is wireless.  Should
12946                         fix the race where applet would show a connection to "unknown"
12947
12948 2006-02-25  Robert Love  <rml@novell.com>
12949
12950         Add WPA Enterprise support:
12951         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12952           nm-gconf-wso-wpa-eap.h.
12953         * gnome/applet/nm-gconf-wso-wpa-eap.c,
12954           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
12955           serialization and deserialization.
12956         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12957           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12958           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12959         * gnome/applet/wireless-applet.glade: Add UI for configurating security
12960           settings related to WPA Enterprise.
12961         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12962           instantiate WPA Enterprise wireless-security-option.
12963         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12964           Implement WPA Enterprise wireless-security-option object.
12965         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12966           defines.  Cleanup.
12967         * libnm-util/cipher-wpa-psk-hex.c,
12968           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12969         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12970           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12971           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12972           including the cipher to DBUS method, and
12973           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12974           to output.
12975         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12976           nm-ap-security-wpa-eap.h
12977         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12978           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12979         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12980           files.  Implement NMAPSecurityWPA_EAP object.
12981         * src/nm-ap-security-wpa-psk.c: Cleanup.
12982         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12983           an NMAPSecurityWPA_EAP object via the method
12984           nm_ap_security_wpa_eap_new_deserialize().
12985         * src/nm-dbus-nm.c: Cleanup.
12986         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12987           WPA Enterprise support.
12988
12989 2006-02-24  Robert Love  <rml@novell.com>
12990
12991         Patch from Timo Hoenig <thoenig@suse.de>:
12992         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12993
12994 2006-02-24  Robert Love  <rml@novell.com>
12995
12996         Patch from Dan Winship <danw@novell.com>:
12997         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
12998           area to transparent.
12999
13000 2006-02-21  Dan Williams  <dcbw@redhat.com>
13001
13002         * gnome/applet/applet.[ch]
13003           gnome/applet/applet-dbus.c
13004                 - Implement notification support for VPN messages too
13005
13006 2006-02-21  Dan Williams  <dcbw@redhat.com>
13007
13008         * gnome/applet/applet-dbus-info.c
13009                 - Clean up warning messages to not double-print the function
13010
13011 2006-02-21  Dan Williams  <dcbw@redhat.com>
13012
13013         * gnome/applet/applet-compat.c
13014                 - (convert_one_entry): accept entries without a key_type and
13015                         convert them to unencrypted networks
13016
13017 2006-02-21  Dan Williams  <dcbw@redhat.com>
13018
13019         * gnome/libnm_glib/libnm_glib.c
13020                 - Use __func__ everywhere we can
13021                 - Code cleanups
13022                 - Use dbus pending calls rather than blocking
13023                 - Reduce busywaits for our thread to start and stop
13024                         (gnome.org #330562)
13025                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
13026                         stomp on others using the default shared dbus connection.
13027                         Fixes #rh177546# and gnome.org #326572
13028
13029 2006-02-21  Dan Williams  <dcbw@redhat.com>
13030
13031         Patch from Rodney Dawes <dobey@novell.com>
13032         * configure.in
13033           gnome/applet/Makefile.am
13034           gnome/applet/applet.c
13035                 - Add libnotify support if '--enable-notify=yes' is passed
13036                   at configure time
13037
13038 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
13039
13040         * configure.in (ALL_LINGUAS): ko added. (Korean)
13041
13042 2006-02-15  Robert Love  <rml@novell.com>
13043
13044         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
13045           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
13046           and WPA_SUPPLICANT_CONTROL_SOCKET.
13047         
13048 2006-02-15  Robert Love  <rml@novell.com>
13049
13050         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
13051           information about what connection stage we are at, provide the total
13052           number of stages, e.g. "Stage 2 of 5", so users know how far along
13053           they are if they experience problems.
13054
13055 2006-02-15  Robert Love  <rml@novell.com>
13056
13057         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13058           define to $sysconfdir.
13059         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13060           editing dialog, vpn_edit_widget, which fixes a bug where editing one
13061           type of VPN and then editing another results in a mangled dialog
13062           box containing the widgets from both VPNs (fixes Novell #150854).
13063           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13064
13065 2006-02-14  Robert Love  <rml@novell.com>
13066
13067         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13068           syslog's file descriptor.
13069
13070 2006-02-14  Robert Love  <rml@novell.com>
13071
13072         Fix bug around since the change to "deal with APs changing settings on
13073         us," checked in on the fifth of February in the year of the dog, 
13074         wherein connecting to non-broadcast encrypted networks always fails
13075         because nm_ap_get_encrypted() always returns FALSE, even when the user
13076         provided a key, because the newly-created fake AP does not have any
13077         capabilities set, which is a sypmtom of security settings not matching
13078         capabilities (Novell bug #150784):
13079         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13080           nm_ap_add_capabilities_from_security(), which sets the given AP's
13081           capabilities off the given security settings.  Also improve our
13082           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13083           NM_AUTH_CIPHER_AUTO.
13084         * src/nm-device-802-11-wireless.c: Call the function
13085           nm_ap_add_capabilities_from_security() to ensure that capabilities
13086           match newly updated security settings.
13087
13088 2006-02-14  Robert Love  <rml@novell.com>
13089
13090         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13091           error as a string, not an integer, if possible; do not print the
13092           function name twice; always give the interface, if possible; misc.
13093           cleanup.
13094
13095 2006-02-12  Dan Williams  <dcbw@redhat.com>
13096
13097         Patch from Tom Parker <palfrey@tevp.net>
13098         * src/NetworkManagerSystem.h
13099                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13100                         no longer used
13101
13102         * src/backends/NetworkManagerDebian.c
13103                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13104                         unused variables
13105
13106 2006-02-12  Dan Williams  <dcbw@redhat.com>
13107
13108         * vpn-daemons/openvpn/intltool-extract.in
13109           vpn-daemons/openvpn/intltool-merge.in
13110           vpn-daemons/openvpn/intltool-update.in
13111           vpn-daemons/pptp/intltool-extract.in
13112           vpn-daemons/pptp/intltool-merge.in
13113           vpn-daemons/pptp/intltool-update.in
13114                 - Remove from CVS, they should get created by intltoolize,
13115                         shouldn't they?
13116
13117 2006-02-12  Dan Williams  <dcbw@redhat.com>
13118
13119         * vpn-daemons/pptp/src/pppd/patchlevel.h
13120         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13121                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13122                         Makefile-defined VERSION
13123
13124 2006-02-09  Dan Williams  <dcbw@redhat.com>
13125
13126         Patch from: Vinay A R <rvinay@novell.com>
13127         * src/vpn-manager/nm-vpn-act-request.[ch]
13128                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13129                         IPSec VPNs require them for std gateway.
13130                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13131                         and 'user_routes_count'
13132                 - (nm_vpn_act_request_get_user_routes): new function; gets user
13133                         defined routes  from NMVPNActRequest object, returns the string
13134                         array of routes.
13135
13136         * src/vpn-manager/nm-vpn-manager.[ch]
13137                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13138                         for 'user_routes' and 'user_routes_count'
13139         
13140         * src/vpn-manager/nm-dbus-vpn.c
13141                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13142                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13143         
13144         * src/vpn-manager/nm-vpn-service.c
13145                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13146                         the vpn daemon
13147
13148         Modifications by Dan:
13149         * src/vpn-manager/nm-vpn-service.c
13150                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13151                         arrays into dbus
13152
13153         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13154         * vpn-daemons/pptp/src/nm-pptp-service.c
13155         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13156                 - Grab user routes from dbus message
13157                 - Free all string arrays we got from dbus
13158
13159 2006-02-07  Robert Love  <rml@novell.com>
13160
13161         Patch by Stefan Seyfried <seife@suse.de>:
13162         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13163
13164 2006-02-06  Robert Love  <rml@novell.com>
13165
13166         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13167
13168 2006-02-06  Robert Love  <rml@novell.com>
13169
13170         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13171           test ">=" is never false.  If no newline is found, we loop forever.
13172           We can just check for ">" because the following if() will see the
13173           zero-th argument if the while() gets that far.
13174
13175 2006-02-05  Dan Williams  <dcbw@redhat.com>
13176
13177         Refine handling of non-broadcast networks.
13178
13179         * src/NetworkManagerAPList.c
13180                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13181                         property from scanned AP to the AP from the device list
13182
13183         * src/nm-device-802-11-wireless.c
13184                 - (supplicant_send_network_config): use ap_scan=1 for all networks
13185                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
13186                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
13187                         networks since those don't have APs.
13188                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13189                         AP as non-SSID-broadcasting
13190                 - (process_scan_results): don't handle non-SSID-broadcasting here
13191
13192 2006-02-05  Dan Williams  <dcbw@redhat.com>
13193
13194         * src/nm-device-802-11-wireless.c
13195                 - (get_supplicant_timeout): new function; return
13196                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13197                         14 channels.  These are likely a/b/g cards, like Atheros, and
13198                         slow as hell to scan.
13199                 - (supplicant_timeout_cb, supplicant_monitor_start): use
13200                         get_supplicant_timeout()
13201
13202 2006-02-05  Dan Williams  <dcbw@redhat.com>
13203
13204         * src/dhcp-manager/nm-dhcp-manager.c
13205                 - Loose a commit race with Robert; make sure size check
13206                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
13207
13208 2006-02-05  Robert Love  <rml@novell.com>
13209
13210         Patch by Christoph Brill <chrisbrill@gmx.net>:
13211         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13212           with DHCP_SERVICE_NAME.
13213
13214 2006-02-05  Dan Williams  <dcbw@redhat.com>
13215
13216         Remove anything having to do with device_setup_func from the
13217         AP security objects, since it's no longer used.
13218
13219         * src/nm-ap-security.h
13220                 - Kill device_setup_func and nm_ap_security_device_setup()
13221
13222         * src/nm-ap-security-wep.c
13223           src/nm-ap-security-wpa-psk.c
13224                 - (real_device_setup): remove
13225
13226         * src/nm-ap-security.c
13227                 - (real_device_setup): remove
13228                 - (nm_ap_security_device_setup): remove
13229
13230         * src/nm-device-802-11-wireless.[ch]
13231                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13232                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13233                         and done by wpa_supplicant now anyway
13234
13235 2006-02-05  Dan Williams  <dcbw@redhat.com>
13236
13237         * src/nm-device-802-11-wireless.c
13238                 - (ap_need_key, real_act_stage2_config): deal with APs changing
13239                         settings on us.  Previously NM would loop asking for the
13240                         key but getting the same one back.  Now, if the NMI-supplied
13241                         cipher doesn't overlap with the scanned AP capabilities,
13242                         we request a completely new key from the user.
13243
13244 2006-02-05  Dan Williams  <dcbw@redhat.com>
13245
13246         * src/NetworkManagerUtils.c
13247                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13248                         Handle newline killing better
13249
13250 2006-02-05  Dan Williams  <dcbw@redhat.com>
13251
13252         * gnome/applet/nm-gconf-wso.c
13253                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
13254                         of unencrypted access point security info.
13255
13256 2006-02-03  Robert Love  <rml@novell.com>
13257
13258         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13259           user's encryption key, so we print the err_msg_cmd not the command,
13260           if available.  So long as SUPPLICANT_DEBUG is default, this makes
13261           sense.
13262
13263 2006-02-03  Christopher Aillon  <caillon@redhat.com>
13264
13265         * initscript/RedHat/NetworkManagerDispatcher.in:
13266         * initscript/RedHat/NetworkManager.in: modify the pidfile location
13267         Patch from Dan Walsh <dwalsh@redhat.com>
13268
13269 2006-02-03  Robert Love  <rml@novell.com>
13270
13271         * dispatcher-daemon/NetworkManagerDispatcher.c,
13272           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13273           but use the sysconfdir.
13274
13275 2006-02-03  Robert Love  <rml@novell.com>
13276
13277         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13278           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13279           'char *'.
13280         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13281           nm_ip4_config_get_hostname() and
13282           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13283         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
13284           leak g_strdup() result.
13285
13286 2006-02-03  Robert Love  <rml@novell.com>
13287
13288         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13289           broadcast == TRUE.  Also, copy broadcast and artificial properties
13290           from source network to destination in nm_ap_copy().
13291         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13292           since we now default new networks to non-hidden.
13293
13294 2006-02-03  Dan Williams  <dcbw@redhat.com>
13295
13296         * gnome/applet/main.c
13297                 - (main): change the NEVER->ALWAYS so we start at the
13298                         beginning of the session, if being session-managed
13299
13300 2006-02-03  Dan Williams  <dcbw@redhat.com>
13301
13302         * gnome/applet/main.c
13303                 - (main): in a variation on Robert's patch, change
13304                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
13305                         he wants.
13306
13307 2006-02-02  Robert Love  <rml@novell.com>
13308
13309         * src/Makefile.am: If we aren't going to create the run directory at,
13310           uh, run-time, create it during install.  Then users just doing
13311           'make install' are cool, too.  While we are here, create the
13312           dispatcher.d directory, too.
13313         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13314           the exact run directory.
13315         * Makefile.am: Install nm-applet.desktop.
13316
13317 2006-02-02  Robert Love  <rml@novell.com>
13318
13319         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13320           structure, which denotes whether or not the AP is hidden.  This is a
13321           superset of 'artificial' -- we need 'broadcast' because a hidden AP
13322           can show up in the scan list.  Add nm_ap_get_broadcast() and
13323           nm_ap_set_broadcast() accessor interfaces.
13324         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13325           nm_ap_set_broadcast().
13326         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13327           "getProperties" method, which denotes whether or not the given
13328           network is hidden.
13329         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13330           an artificial network.  Set broadcast to TRUE when scanning returns
13331           an ESSID and FALSE when not.
13332         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13333           from "getProperties" method on a network.  Possible TODO is to
13334           somehow display this.
13335         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13336
13337 2006-02-02  Dan Williams  <dcbw@redhat.com>
13338
13339         * src/nm-device-802-11-wireless.c
13340                 - (supplicant_interface_init): don't try to create
13341                         /var/run/NetworkManager, since that should be done by
13342                         the distro package.  Causes problems for stuff like SELinux
13343
13344 2006-02-02  Robert Love  <rml@novell.com>
13345
13346         Patch by Sureshkumar T <tsureshkumar@novell.com>:
13347         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13348           Check for and handle empty string for iface.
13349
13350 2006-02-01  Robert Love  <rml@novell.com>
13351
13352         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13353           manpage.
13354
13355 2006-01-31  Dan Williams  <dcbw@redhat.com>
13356
13357         * nm-applet.desktop
13358                 - Add --sm-disable to Exec arguments, presuming that when
13359                         using autostart, we don't want session management
13360
13361 2006-01-31  Robert Love  <rml@novell.com>
13362
13363         * src/NetworkManagerAP.c: Add two new manufacturer default network
13364           names: linksys-a and linksys-g.  These are found (at least) on the
13365           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13366           own ESSID.
13367
13368 2006-01-31  Robert Love  <rml@novell.com>
13369
13370         * src/NetworkManagerAP.c: Optimize the function
13371           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
13372           machine code.  This is the first in a series of code tweaks aiming to
13373           generate better machine code and make NetworkManager all the better.
13374           Just kidding.  Who has time to go through the assembly generated for
13375           every function?  I certainly don't.  I have a wife, a kid, a job,
13376           a mortgage, a mistress.  But this function was so bad, I was called
13377           to arms.  Like the book.
13378
13379 2006-01-31  Robert Love  <rml@novell.com>
13380
13381         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13382           AP is not broadcasting, to scan with probe request frames.  Required
13383           for non-broadcast networks.
13384
13385 2006-01-31  Robert Love  <rml@novell.com>
13386
13387         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13388           preprocessor define (still 20s).  Fix message text in nm_info()
13389           s/too too/took too/.
13390
13391 2006-01-30  Dan Williams  <dcbw@redhat.com>
13392
13393         * src/nm-device-802-11-wireless.c
13394                 - (supplicant_monitor_start): increase connect/auth timeout to
13395                         20 seconds from 10 seconds
13396
13397 2006-01-30  Dan Williams  <dcbw@redhat.com>
13398
13399         * src/Makefile.am
13400                 - Define LOCALSTATEDIR
13401
13402         * src/nm-device-802-11-wireless.c
13403                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13404                         socket where we want it to
13405
13406         * src/wpa_ctrl.[ch]
13407                 - (wpa_ctrl_open): accept location to put local control socket
13408
13409 2006-01-30  Robert Love  <rml@novell.com>
13410
13411         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13412           get_ip4_string() for "domain_name".
13413
13414 2006-01-30  Robert Love  <rml@novell.com>
13415
13416         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13417           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13418           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13419           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13420           support for "Automatic" pairwise and group cipher configuration by
13421           letting wpa_supplicant handle the details.  Add UI elements, new
13422           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
13423           charm.  Note this does more than add a nice feature, it fixes a bug.
13424           Apparently, some people have AP's where the pairwise cipher does not
13425           match the group cipher.  Insane, but true.
13426
13427 2006-01-30  Dan Williams  <dcbw@redhat.com>
13428
13429         * gnome/applet/applet-dbus-devices.c
13430                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13431                         functions, grab device driver name from NetworkManager
13432                 - (nmwa_dbus_device_properties_cb): call functions to get driver
13433
13434         * gnome/applet/applet.c
13435                 - (nmwa_update_info): show driver name in Connection Information
13436                         dialog
13437
13438         * gnome/applet/nm-device.[ch]
13439                 - (network_device_get_driver, network_device_set_driver): add
13440                         accessors for driver name
13441
13442         * gnome/applet/wireless-applet.glade
13443                 - Add line for driver name to Connection Information dialog
13444
13445         * src/nm-dbus-device.c
13446                 - (nm_dbus_device_get_driver): new function to return driver name
13447                 - (nm_dbus_device_methods): hook up driver name function to dbus
13448
13449         * test/nm-tool.c
13450                 - (get_driver_name): new function
13451                 - (detail_device): grab and show driver name
13452
13453 2006-01-30  Robert Love  <rml@novell.com>
13454
13455         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13456           does not parse the markup if it is not part of the format.
13457
13458 2006-01-30  Robert Love  <rml@novell.com>
13459
13460         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13461           FALSE, we have no security options for this dialog, so we throw up
13462           an error dialog instead of a broken passphrase dialog.  Fixes
13463           Novell #138404.
13464         * gnome/applet/wireless-security-manager.c,
13465           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13466           does not add any security options, not even NONE, print a warning
13467           and return FALSE.  This let's functions constructing a dialog bail
13468           out if the device's capabilities and the network's requirements have
13469           zero overlap.
13470
13471 2006-01-27  Robert Love  <rml@novell.com>
13472
13473         * configure.in: Require wpa_supplicant.  Detect location of binary and
13474           use it.  Override with "--with-wpa_supplicant=foo".
13475         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13476           path to wpa_supplicant but use the auto-detected or user-provided
13477           value from configure.
13478
13479 2006-01-27  Robert Love  <rml@novell.com>
13480
13481         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13482           but the DHCP server did not return a hostname, try to look up our
13483           name via DNS and set the system hostname to that.
13484
13485 2006-01-27  Dan Williams  <dcbw@redhat.com>
13486
13487         * src/backends/NetworkManagerRedHat.c
13488                 - Add NM_CONTROLLED system network script support for RH/Fedora
13489
13490 2006-01-27  Dan Williams  <dcbw@redhat.com>
13491
13492         * src/backends/NetworkManagerGentoo.c
13493                 - (nm_system_device_get_disabled): add missing function.
13494                         Gnome BZ #328780
13495
13496 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13497
13498         * configure.in: Added vi in ALL_LINGUAS line.
13499         
13500 2006-01-26  Robert Love  <rml@novell.com>
13501
13502         * src/Makefile.am, src/kernel-types.h: Now that two different source
13503           files are feeling the crack-addled leakage of kernel types such as
13504           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13505           types in user-space -- define a header and include it as needed.
13506         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13507         * src/nm-device-802-3-ethernet.h: Remove defines.
13508         * src/wpa.c: Remove defines and include kernel-types.h.
13509
13510 2006-01-26  Robert Love  <rml@novell.com>
13511
13512         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13513           work.
13514
13515 2006-01-26  Robert Love  <rml@novell.com>
13516
13517         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13518         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13519           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13520           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13521           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13522           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13523           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13524           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13525           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13526           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13527           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13528           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13529           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13530           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13531           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13532           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13533           Kill unused variables, labels, and static functions.  Don't pass
13534           string literals as the format string for printf-like functions.
13535
13536 2006-01-25  Dan Williams  <dcbw@redhat.com>
13537
13538         * gnome/applet/wireless-applet.glade
13539                 - Remove WPA2 Checkbox
13540
13541         * gnome/applet/wireless-security-manager.c
13542                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13543                         This means the Wireless Security menu now has two WPA options,
13544                         one for "WPA Personal" and one for "WPA2 Personal"
13545
13546         * gnome/applet/wso-wpa-psk.[ch]
13547                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13548                         'wpa2' argument to determine WPA version to use
13549                 - (append_dbus_params_func): pass stored WPA version to cipher
13550                         rather than using the (removed) checkbox
13551
13552 2006-01-24  Robert Love  <rml@novell.com>
13553
13554         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13555           before we g_strdup(), not the ultimate string.
13556
13557 2006-01-23  Dan Williams  <dcbw@redhat.com>
13558
13559         * src/NetworkManagerAP.[ch]
13560                 - (nm_ap_new_from_ap): copy original essid too
13561                 - (nm_ap_unref): free original essid
13562                 - (nm_ap_get_orig_essid): new function
13563                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13564                         but keep original essid around too
13565
13566         * src/nm-device-802-11-wireless.c
13567                 - (supplicant_send_network_config): send wpa_supplicant the
13568                         _original_ essid, and not as a string, but in hex.  Should
13569                         allow us to connect to more APs that use wierd character
13570                         encodings for their essids
13571
13572         * utils/nm-utils.[ch]
13573                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13574                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13575                         use the current locale as a hint for what encoding the essid
13576                         might be in.  Obviously not 100% accurate, but the idea here is
13577                         that if a user's locale is ex. ja_JP, they are more likely than
13578                         not to be in Japan, where access points will likely be in some
13579                         Japanese encoding.
13580
13581 2006-01-23  Dan Williams  <dcbw@redhat.com>
13582
13583         * libnm-util/cipher-private.h
13584           libnm-util/cipher.c
13585           libnm-util/cipher.h
13586                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13587
13588 2006-01-23  Robert Love  <rml@novell.com>
13589
13590         Patch by Timo Hoenig <thoenig@suse.de>:
13591         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13592           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13593           by DHCP and pass it to the backends, allowing distribution-specific
13594           behavior with respect to the DHCP-supplied hostname (if nothing else,
13595           some distributions might not want to set the hostname).
13596         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13597           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13598           Also update our NIS behavior.
13599         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13600           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13601           Add stub functions.
13602
13603 2006-01-23  Robert Love  <rml@novell.com>
13604
13605         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13606           gnome-session does autostart.  TODO: We need to install this to
13607           $prefix/share/autostart/.
13608
13609 2006-01-22  Dan Williams  <dcbw@redhat.com>
13610
13611         * src/NetworkManagerAP.[ch]
13612           src/nm-dbus-nmi.c
13613           src/nm-device-802-11-wireless.c         
13614                 - Make nm_ap_get_essid return "const char *"
13615
13616 2006-01-22  Dan Williams  <dcbw@redhat.com>
13617
13618         * src/NetworkManagerAP.[ch]
13619                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13620
13621         * src/NetworkManagerAPList.[ch]
13622                 - (nm_ap_list_diff): removed
13623                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13624                         deal with access points changing essids on us
13625
13626         * src/nm-device-802-11-wireless.c
13627                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13628                         src/NetworkManagerAPList.c
13629                 - (real_can_interrupt_activation): new function; allow interruption
13630                         of device activation if we are waiting for a network key
13631
13632         * src/NetworkManagerPolicy.c
13633                 - (nm_policy_device_change_check): allow interruption of currently
13634                         activating devices if the device allows it.  Previous behavior
13635                         would refuse to activate a just-plugged wired device if a
13636                         wireless device was waiting for a key.
13637
13638         * src/nm-device.[ch]
13639                 - (nm_device_can_interrupt_activation): new function; ask devices
13640                         whether their activation can be interrupted
13641
13642 2006-01-20  Robert Love  <rml@novell.com>
13643
13644         * Makefile.am, configure.in: Add new man subdirectory.
13645         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13646           man/Makefile.am: Add man pages for NetworkManager and its
13647           crime-solving bumbling buddy, NetworkManagerDispatcher.
13648         * man/.cvsignore: Add.
13649         * initscript/Debian/NetworkManager,
13650           initscript/Gentoo/NetworkManager.in,
13651           initscript/RedHat/NetworkManager.in,
13652           initscript/RedHat/NetworkManagerDispatcher.in,
13653           initscript/SUSE/networkmanager-dispatcher.in,
13654           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13655
13656 2006-01-20  Robert Love  <rml@novell.com>
13657
13658         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13659           instead of queuing.  This prevents the running of multiple NM
13660           daemons concurrently, which does not work whatsoever and results in
13661           neither daemon working correctly.  Also, we don't handle queuing and
13662           name-owner-changes, anyhow.
13663
13664 2006-01-20  Robert Love  <rml@novell.com>
13665
13666         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13667         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13668           to sbin, not bin.
13669
13670 2006-01-19  Robert Love  <rml@novell.com>
13671
13672         * configure.in: Require hal 0.5.0 or later.
13673
13674 2006-01-18  Robert Love  <rml@novell.com>
13675
13676         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13677           Allow backends to flag a device (in whatever distro-dependent way
13678           they so desire) as disabled.  NM will ignore any such device.
13679         * src/backends/NetworkManagerDebian.c,
13680           src/backends/NetworkManagerRedHat.c,
13681           src/backends/NetworkManagerSlackware.c: Add stub function
13682           nm_system_device_get_disabled() that always returns FALSE (enabled).
13683         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13684           SUSE-specific configuration structure.  Fill it in from the
13685           NM_CONTROLLED variable in the system networking scripts.  If this var
13686           exists and is "no", we ignore the device.
13687
13688 2006-01-17  Robert Love  <rml@novell.com>
13689
13690         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13691           identical for NM.  For a full discussion, see the thread at
13692           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13693
13694 2006-01-17  Dan Williams  <dcbw@redhat.com>
13695
13696         * src/nm-device.c
13697                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13698                         function.  Fixes crash when wired DHCP fails.
13699
13700 2006-01-16  Robert Love  <rml@novell.com>
13701
13702         * src/Makefile.am: Don't install NMLoadModules
13703         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13704           from src/ to test/ as no one uses it anymore.  Note that I would be
13705           fine with removing it altogether.
13706
13707 2006-01-16  Robert Love  <rml@novell.com>
13708
13709         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13710           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13711           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13712           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13713           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13714           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13715           declarations, ever.
13716         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13717           NM_STATE_DISCONNECTED is zero).
13718
13719 2006-01-16  Robert Love  <rml@novell.com>
13720
13721         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13722           uninitialized parameter and buffer overflow.  Novell #143496.
13723
13724 2006-01-16  Dan Williams  <dcbw@redhat.com>
13725
13726         Apply the PtP Address bits of a patch from Tim Niemueller
13727
13728         * src/nm-ip4-config.[ch]
13729                 - Add ip4_ptp_address member to object
13730                 - (nm_ip4_config_copy): copy ptp address too
13731                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13732                         new functions
13733                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13734                         rather than local tunnel ip address
13735
13736         * src/vpn-manager/nm-vpn-service.c
13737                 - (print_vpn_config): update for PtP address
13738                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13739                         DBusMessageIters in preparation for getting routes from the VPN
13740                         service daemons too
13741
13742         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13743                 - (send_config_info): update for PtP address, clean up code
13744                 - (main): update for PtP address, clean up code, fix typo
13745
13746         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13747                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13748
13749         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13750                 - (pptp_ip_up): update for PtP address
13751
13752         * vpn-daemons/pptp/src/nm-pptp-service.c
13753                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13754
13755         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13756                 - (print_vpn_config): update for PtP address
13757                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13758
13759 2006-01-16  Dan Williams  <dcbw@redhat.com>
13760
13761         * gnome/applet/applet.c
13762                 - (nmwa_add_networks_helper): don't indicate an active network
13763                         if NM is disconnected or asleep
13764
13765 2006-01-16  Dan Williams  <dcbw@redhat.com>
13766
13767         * src/NetworkManagerPolicy.c
13768                 - (nm_policy_device_change_check): switch devices if we lose the link
13769                         on an ethernet device. 
13770
13771 2006-01-16  Dan Williams  <dcbw@redhat.com>
13772
13773         * gnome/applet/wso-wpa-psk-hex.[ch]
13774                 - Renamed -> wso-wpa-psk.[ch]
13775
13776         * gnome/applet/wso-wpa-psk.[ch]
13777                 - New files
13778
13779         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13780                 - Removed, rolled into wso-wpa-psk.[ch]
13781
13782         * gnome/applet/Makefile.am
13783                 - Updated for above changes
13784
13785         * gnome/applet/wireless-applet.glade
13786                 - Consolidate WPA-PSK options into one notebook
13787                         widget, and make dialogs invisible by default
13788                         to fix screen oddities
13789
13790         * gnome/applet/wireless-security-manager.c
13791                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13792                         than both the old hex & passphrase ones
13793
13794 2006-01-16  Dan Williams  <dcbw@redhat.com>
13795
13796         * gnome/applet/other-network-dialog.c
13797                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13798
13799 2006-01-16  Dan Williams  <dcbw@redhat.com>
13800
13801         * gnome/applet/applet.c
13802                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13803                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13804                         prevention to realize window before trying to get server
13805                         time
13806
13807         * gnome/applet/other-network-dialog.c
13808                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13809                         prevention to realize window before trying to get server
13810                         time
13811
13812         * gnome/applet/passphrase-dialog.c
13813                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13814                         prevention to realize window before trying to get server
13815                         time
13816
13817 2006-01-16  Robert Love  <rml@novell.com>
13818
13819         Patch from Timo Hoenig  <thoenig@suse.de:
13820         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13821           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13822           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13823           libnm-util/dbus-helpers.h: add checks whether headers are used
13824           within a C++ build.
13825
13826 2006-01-16  Dan Williams  <dcbw@redhat.com>
13827
13828         * gnome/applet/wireless-security-option.c
13829                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13830
13831 2006-01-16  Dan Williams  <dcbw@redhat.com>
13832
13833         * libnm-util/cipher-wpa-psk-passphrase.c
13834                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13835                         be 8 - 63 characters inclusive
13836
13837 2006-01-16  Dan Williams  <dcbw@redhat.com>
13838
13839         * src/nm-dbus-nm.c
13840                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13841
13842 2006-01-13  Robert Love  <rml@novell.com>
13843
13844         Patch by T Sureshkumar <tsureshkuman@novell.com>:
13845         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13846           modules that do not use an interface.
13847
13848 2006-01-13  Dan Williams  <dcbw@redhat.com>
13849
13850         * src/nm-device.c
13851           src/nm-device.h
13852                 - Allow subclasses to implement deactivate_quickly()
13853                 - (nm_device_deactivate_quickly): call subclass
13854                         deactivate_quickly() methods
13855                 - (nm_device_set_active_link): small cleanups, and don't
13856                         deactivate the device right away because we risk a deadlock
13857                         when called from device thread, waiting for the device
13858                         thread to cancel activation
13859
13860         * src/nm-device-802-11-wireless.c
13861                 - (real_deactivate_quickly): new function
13862                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13863                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13864                         so that we kill the supplicant when we sleep too
13865                 - (supplicant_interface_init): work around naive naming attempts of
13866                         wpa_ctrl when naming sockets
13867
13868 2006-01-13  Dan Williams  <dcbw@redhat.com>
13869
13870         * src/nm-device-802-11-wireless.c
13871                 - (supplicant_cleanup): delete old device control sockets too
13872                 - (supplicant_get_device_socket_path): new function to consolidate
13873                         locations that need a path to a device's control socket
13874
13875 2006-01-12  Robert Love  <rml@novell.com>
13876
13877         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13878           description so that the description is unique for each
13879           pair (device,provider).  Fixes Novell #142773.
13880
13881 2006-01-12  Dan Williams  <dcbw@redhat.com>
13882
13883         * src/nm-device-802-11-wireless.c
13884                 - (supplicant_exec): ensure GError is correctly initialized
13885                         Reported by Diego González (gnome.org #326708)
13886
13887 2006-01-11  Robert Love  <rml@novell.com>
13888
13889         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13890           define if_mii(), open code the same results, and do so without any
13891           type punning.
13892
13893 2006-01-11  Robert Love  <rml@novell.com>
13894
13895         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13896           that wso_foo_new() returned non-NULL.  Instead, only append the new
13897           wso to wsm->options if the wso is non-NULL.  The crux is that we
13898           assume that the relevant key types are implied by WEP and WPA as
13899           appropriate.  To be sure, they should be, but we should not expect
13900           drivers to not be oozing piles of wolf fecal matter.
13901
13902 2006-01-11  Robert Love  <rml@novell.com>
13903
13904         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13905         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13906           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13907           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13908           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13909           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13910           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13911         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13912           comparing values within DBL_EPSILON.  Also fix shadowed variable
13913           usage.
13914
13915 2006-01-11  Dan Williams  <dcbw@redhat.com>
13916
13917         Add options for WPA2 and WPA1+CCMP (AES).
13918
13919         * gnome/applet/wireless-applet.glade
13920                 - Add UI bits for WPA+CCMP
13921
13922         * gnome/applet/other-network-dialog.c
13923                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13924                         and don't allow creation of WPA2 Ad-Hoc networks since
13925                         wpa_supplicant doesn't support them
13926
13927         * gnome/applet/wireless-security-manager.c
13928                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13929                         on to the specific wireless security option being created
13930
13931         * gnome/applet/wireless-security-option.[ch]
13932                 - (wso_wpa_create_key_type_model): new utility function to create
13933                         the model required for WPA Key Type combo box
13934
13935         * gnome/applet/wso-private.h
13936           gnome/applet/wireless-security-option.h
13937                 - Move private function prototypes into wso-private.h
13938
13939         * gnome/applet/wso-wpa-psk-hex.[ch]
13940           gnome/applet/wso-wpa-psk-passphrase.[ch]
13941                 - (append_dbus_params_func): get WPA version from checkbox and pass
13942                         it to the dbus serialization helper
13943                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13944                         key type combo changes
13945                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13946                         model and options
13947
13948         * libnm-util/cipher-wpa-psk-hex.c
13949           libnm-util/cipher-wpa-psk-passphrase.c
13950                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13951                         new function; allow the cipher to be changed after object creation
13952
13953         * src/nm-ap-security-wpa-psk.c
13954                 - (set_description): Do WPA2 descriptions too
13955
13956         * src/nm-ap-security.c
13957                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13958
13959 2006-01-11  Robert Love  <rml@novell.com>
13960
13961         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13962           is defined in <linux/mii.h> to return the mii_ioctl_data structure
13963           from the ifreq structure in lieu of an open coded solution.  Removes
13964           a life-threatening type-punning.
13965         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13966           types, ever, whatsoever, baby.
13967
13968 2006-01-11  Robert Love  <rml@novell.com>
13969
13970         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13971           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13972           assignments to applet->nm_state into a new nmwa_set_state() function
13973           for both cleanliness and to help debugging.
13974
13975 2006-01-10  Robert Love  <rml@novell.com>
13976
13977         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
13978           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13979           seconds, exclusive.  That is, we want to sleep x seconds such that
13980           1 < x < 2.
13981
13982 2006-01-10  Robert Love  <rml@novell.com>
13983
13984         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13985           the attr fields according to the example in the email available at
13986           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13987           Conversely, we do have to free 'name', so we do so, fixing a leak.
13988
13989 2006-01-10  Robert Love  <rml@novell.com>
13990
13991         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13992           sure that we close the socket!
13993
13994 2006-01-10  Robert Love  <rml@novell.com>
13995
13996         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13997           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13998           src/nm-device.c: Fix a FIXME!  Reimplement the function
13999           nm_device_update_hw_address() in device subclass variants,
14000           nm_device_802_3_ethernet_set_address() and
14001           nm_device_802_11_wireless_set_address(), hook them up, and use them.
14002           This fixes the existing bug where MAC addresses are all zeros.
14003
14004 2006-01-10  Robert Love  <rml@novell.com>
14005
14006         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
14007           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
14008           option to give users ability to globally disconnect and put NM to
14009           sleep.  This is useful as a 'lockdown mode' for flying, security, and
14010           clean disconnect.
14011
14012 2006-01-09  Robert Love  <rml@novell.com>
14013
14014         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
14015           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
14016           User-space does not supply these types, so we have to define them
14017           ourselves.  The relevant kernel maintainer refused to accept a patch
14018           switching these headers to the proper C99 types.
14019
14020 2006-01-09  Dan Williams  <dcbw@redhat.com>
14021
14022         Apply Robert's 'tray icon redo' patch with fixes
14023         * gnome/applet/applet.c
14024           gnome/applet/applet.h
14025                 - Instead of using a menu bar + menu item, simulate menu
14026                         behavior using a popup menu.  Highlight the area around
14027                         the icon more like a menu too, by playing with the
14028                         applet's size requisition
14029
14030 2006-01-09  Timo Hoenig   <thoenig@suse.de>
14031         * libnm-util/dbus-helpers.c
14032           libnm-util/dbus-helpers.h
14033                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
14034                         to 'exception_namespace' (:namespace is a keyword in
14035                         C++)
14036
14037 2006-01-09  Dan Williams  <dcbw@redhat.com>
14038
14039         * src/NetworkManagerPolicy.c
14040                 - (nm_policy_device_change_check): don't autoswitch away from
14041                         Ad-Hoc networks, since there's really no concept of
14042                         "link"
14043
14044         * src/nm-dbus-nm.c
14045                 - (nm_dbus_nm_create_wireless_network): mark created networks
14046                         as Ad-Hoc networks
14047
14048         * src/nm-device-802-11-wireless.c
14049                 - (real_activation_success_handler): add user-created Ad-Hoc
14050                         networks to the device's scan list
14051
14052 2006-01-08  Dan Williams  <dcbw@redhat.com>
14053
14054         We now require a patch for wpa_supplicant to support Ad-Hoc
14055         networks:
14056           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14057
14058         * src/nm-device-802-11-wireless.c
14059                 - (supplicant_send_network_config): turn off wpa_supplicant's
14060                         scanning.  Fixes Ad-Hoc networks.
14061
14062 2006-01-08  Dan Williams  <dcbw@redhat.com>
14063
14064         * src/nm-ap-security.c
14065           src/nm-ap-security.h
14066                 - Add a user_created argument to the write_supplicant_config
14067                         functions
14068
14069         * src/nm-ap-security-wep.c
14070           src/nm-ap-security-wpa-psk.c
14071           src/nm-device-802-11-wireless.c
14072                 - Make Ad-Hoc mode somewhat work, at least write the
14073                         correct options to wpa_supplicant
14074
14075 2006-01-08  Dan Williams  <dcbw@redhat.com>
14076
14077         * src/nm-device-802-11-wireless.c
14078                 - Remove unused code from the old device activation path
14079
14080 2006-01-08  Dan Williams  <dcbw@redhat.com>
14081
14082         * libnm-util/dbus-helpers.c
14083                 - (nmu_security_serialize_wpa_psk): pass a blank key through
14084                         dbus when key == NULL
14085
14086 2006-01-08  Dan Williams  <dcbw@redhat.com>
14087
14088         * gnome/applet/nm-gconf-wso-wpa-psk.c
14089                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14090                         correct arguments to nmu_security_deserialize_wpa_psk()
14091
14092         * src/nm-ap-security-wpa-psk.c
14093                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14094                         arguments to nmu_security_deserialize_wpa_psk()
14095
14096 2006-01-08  Dan Williams  <dcbw@redhat.com>
14097
14098         * gnome/applet/wso-wpa-psk-hex.c
14099           gnome/applet/wso-wpa-psk-passphrase.c
14100                 - Hook up the append_dbus_params_func() function
14101
14102 2006-01-08  Dan Williams  <dcbw@redhat.com>
14103
14104         * src/nm-device-802-11-wireless.c
14105                 - (get_wireless_capabilities): correctly detect driver WPA
14106                         capabilities
14107
14108 2006-01-08  Dan Williams  <dcbw@redhat.com>
14109
14110         * gnome/applet/Makefile.am
14111           gnome/applet/wso-wpa-psk-hex.c
14112           gnome/applet/wso-wpa-psk-hex.h
14113                 - New files, implement WPA-PSK Hex key input
14114
14115         * gnome/applet/wireless-applet.glade
14116                 - Change existing wpa-psk stuff to wpa-psk-hex
14117                 - Add new widgets for wpa-psk-passphrase
14118
14119         * gnome/applet/wireless-security-manager.c
14120                 - (wsm_set_capabilities): enable WPA options
14121
14122         * gnome/applet/wso-wpa-psk-passphrase.c
14123                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14124                         for WPA-PSK passphrase
14125
14126 2006-01-08  Dan Williams  <dcbw@redhat.com>
14127
14128         * include/NetworkManager.h
14129                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14130                         applet/info-daemons
14131
14132         * gnome/applet/passphrase-dialog.c
14133                 - Use the constant.  Fixes a bug where the arguments to
14134                         dbus_message_new_error() were incorrect
14135
14136         * src/nm-dbus-nmi.c
14137                 - Use the constant
14138
14139 2006-01-07  Dan Williams  <dcbw@redhat.com>
14140
14141         * src/nm-device-802-11-wireless.c
14142                 - Add a link timeout so we allow the supplicant time to
14143                         reassociate if it can, before we deactivate the card
14144                 - Fix up link status and link updating so things work better
14145
14146 2006-01-07  Dan Williams  <dcbw@redhat.com>
14147
14148         * src/nm-device-802-11-wireless.c
14149                 - Switch over to using wpa_supplicant
14150                 - Add a timeout of 10s for association of the supplicant
14151                 - Start the monitor callback of the supplicant
14152
14153 2006-01-07  Dan Williams  <dcbw@redhat.com>
14154
14155         * src/NetworkManagerUtils.c
14156                 - (nm_utils_supplicant_request,
14157                   nm_utils_supplicant_request_with_check):
14158                         pass correct buffer length to wpa_ctrl_request()
14159
14160 2006-01-07  Dan Williams  <dcbw@redhat.com>
14161
14162         * src/nm-device-private.h
14163           src/nm-device.c
14164                 - (nm_device_activate_schedule_stage3_ip_config_start): make
14165                         this function available to subclasses
14166
14167 2006-01-06  Robert Love  <rml@novell.com>
14168
14169         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14170           user plugging in a network cable signals their preference for to
14171           switch, unless the user explicitly selected a wireless network and
14172           therefore signaled their preference for said wireless network over
14173           wired.  In other words, do exactly what makes sense.
14174
14175 2006-01-06  Robert Love  <rml@novell.com>
14176
14177         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14178           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14179           src/NetworkManagerWireless.h: Remove, no longer used and they keep
14180           showing up in my greps.
14181
14182 2006-01-06  Robert Love  <rml@novell.com>
14183
14184         * gnome/applet/applet-dbus-devices.c,
14185           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14186           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14187           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
14188           New Network' both failed in the non-encrypted case because we were
14189           not appending the security options to the DBUS message.  And
14190           'Connect to Other' was also failing in the encrypted case because
14191           we were not incrementing to the next DBUS parameter.  All fixed.
14192           Thanks to dcdw for some debugging help.
14193
14194 2006-01-06  Robert Love  <rml@novell.com>
14195
14196         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14197           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14198           hangup code and add per-device hangup.  Tie last commit into the
14199           GNOME applet.  TODO:  Save, understand, and respond to the state of
14200           each dialup device.
14201
14202 2006-01-06  Robert Love  <rml@novell.com>
14203
14204         Patch by Timo Hoenig <thoenig@suse.de>:
14205         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14206           hangup specific dialup devices.
14207         * src/backends/NetworkManagerDebian.c,
14208           src/backends/NetworkManagerGentoo.c,
14209           src/backends/NetworkManagerRedHat.c,
14210           src/backends/NetworkManagerSlackware.c: Add stub backend.
14211         * src/backends/NetworkManagerRedHat.c,
14212           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14213           hangup specific dialup devices.
14214
14215 2006-01-04  Robert Love  <rml@novell.com>
14216
14217         * gnome/applet/applet-dbus-devices.c,
14218           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14219           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14220           connections.
14221
14222 2006-01-04  Dan Williams  <dcbw@redhat.com>
14223
14224         First dump of wpa_supplicant-related code.  It's not hooked up to
14225         anything yet though.  Thanks to Kay Sievers for
14226         wpa_supplicant_wrapper.c, which formed the basis for this work,
14227         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14228
14229         * src/Makefile.am
14230           src/wpa_ctrl.[ch]
14231                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14232
14233         * src/NetworkManagerUtils.[ch]
14234                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14235                         Add convenience functions for talking to wpa_supplicant
14236
14237         * src/nm-ap-security.[ch]
14238           src/nm-ap-security-wep.c
14239           src/nm-ap-security-wpa-psk.[ch]
14240                 - Update and implement real_write_supplicant_config functions
14241                         in all security types
14242                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14243                         nm-ap-security-wpa-psk.c
14244
14245         * src/nm-device-802-11-wireless.c
14246                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14247                    wpa_supplicant_start, wpa_supplicant_interface_init,
14248                    wpa_supplicant_send_network_config): add functions to talk to
14249                         wpa_supplicant and write network config to it
14250
14251 2006-01-04  Robert Love  <rml@novell.com>
14252
14253         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14254           values so that distribution-backends can differentiate between the
14255           various types (modem, ISDN, et cetera) of dialup device that they
14256           support.
14257         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14258           needed.
14259
14260 2006-01-03  Dan Williams  <dcbw@redhat.com>
14261
14262         * src/NetworkManagerPolicy.c
14263           src/nm-device.[ch]
14264           src/nm-device-802-11-wireless.c
14265                 - Move wireless-specific activation failure and success code
14266                         into wireless device class
14267
14268 2006-01-03  Robert Love  <rml@novell.com>
14269
14270         Patch by Preggna S:
14271         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14272           IPsec does not require that a VPN client be bound to an interface,
14273           due to the use of the in-kernel IPSec bits.  So make the tunnel
14274           device optional.
14275
14276 2006-01-03  Dan Williams  <dcbw@redhat.com>
14277
14278         * src/NetworkManagerAP.c
14279                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14280                         the WPA IE specifies that WEP is supported
14281
14282         * src/nm-device-802-11-wireless.c
14283                 - (process_scan_results): don't mark an AP as supporting WEP
14284                         if there's already other encryption capability info
14285
14286 2006-01-03  Dan Williams  <dcbw@redhat.com>
14287
14288         * src/dhcp-manager/nm-dhcp-manager.c
14289                 - Recognize activation cancellation when waiting for DHCP
14290                         configuration from dhcdbd
14291                 - Ignore non-dhcdbd messages
14292
14293         * src/nm-device.c
14294                 - (real_act_stage3_ip_config_start): return to correct behavior
14295                         of letting the dhcp-manager notify us of failure or
14296                         success rather than incorrectly doing that ourselves
14297                 - (nm_device_activate_stage4_ip_config_get): deal with
14298                         activation cancellation a bit earlier
14299
14300 2006-01-03  Dan Williams  <dcbw@redhat.com>
14301
14302         * src/nm-device-802-11-wireless.c
14303           src/nm-device.[ch]
14304                 - Add hooks to subclasses for stage3_ip_config_start and
14305                         stage4_ip_config_timeout
14306
14307         * src/nm-device-802-3-ethernet.c
14308                 - (real_get_generic_capabilities): make devices NM-supported
14309                         by default
14310
14311 2006-01-03  Robert Love  <rml@novell.com>
14312
14313         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14314           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14315           latter cannot differentiate between error and the address -1; misc.
14316           clean up.
14317
14318 2006-01-03  Dan Williams  <dcbw@redhat.com>
14319
14320         * src/NetworkManager.c
14321                 - Move link-checking/probing into the device subclasses
14322                         themselves
14323
14324         * src/nm-device.[ch]
14325           src/nm-device-802-11-wireless.c
14326           src/nm-device-802-3-ethernet.c
14327                 - Do periodic link checking in device subclasses rather
14328                         than being triggered from NetworkManager.c
14329                 - discover_wireless_capabilities -> get_wireless_capabilities
14330                 - discover_generic_capabilities -> get_generic_capabilities
14331                 - Device subclass activation routines now return a value of type
14332                         NMActStageReturn to indicate what step to perform next
14333                 - Devices now override stage4_get_ip4_config if they choose
14334
14335 2006-01-01  Dan Williams  <dcbw@redhat.com>
14336
14337         * src/nm-device-802-11-wireless.c
14338                 - (real_init): don't chain up to parent init because we don't
14339                         need to do that anymore
14340
14341         * src/nm-device.c
14342                 - (discover_device_type): fix arguments to ioctl() to correctly
14343                         pass interface name
14344                 - (nm_device_new): consolidate generic device initialization into
14345                         nm_device_new()
14346                 - (real_init): remove, consolidated to nm_device_new()
14347                 - (nm_device_deactivate, real_deactivate): consolidate
14348
14349 2006-01-01  Dan Williams  <dcbw@redhat.com>
14350
14351         * src/nm-activation-request.c
14352                 - Change dhcp_state member of the NMActRequest structure
14353                         from guint8 to guint32
14354
14355         * src/dhcp-manager/nm-dhcp-manager.[ch]
14356                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14357                         than guint8 to match the dbus argument.  Turns out we were
14358                         overwriting memory since we were passing in only a guint8
14359
14360 2005-12-31  Dan Williams  <dcbw@redhat.com>
14361
14362         * refactor NMDevice into a GObject-based framework with separate
14363                 objects for wired and wireless.  The following files are no
14364                 longer used but should stick around for a bit so we don't
14365                 loose code through the cracks:
14366                         NetworkManagerDevice.c
14367                         NetworkManagerDevice.h
14368                         NetworkManagerWireless.c
14369                         NetworkManagerWireless.h
14370
14371         The intent here is to allow each device type to manage its own
14372         connection & activation life-cycle, ie to allow wireless devices
14373         to interface with wpa_supplicant, etc.  There's a fair bit of
14374         encapsulation breakage right now that should gradually get pulled
14375         back into each device, along with things like periodic property
14376         updates and link probing.
14377
14378 2005-12-29  Dan Williams  <dcbw@redhat.com>
14379
14380         * include/NetworkManager.h
14381                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14382                         between networks that don't have any encryption at all
14383
14384 2005-12-29  Dan Williams  <dcbw@redhat.com>
14385
14386         * test/test-common.c
14387           test/test-common.h
14388           test/Makefile.am
14389                 - Move to a test-common subdirectory
14390
14391         * test/libnm-util/test-ciphers.c
14392                 - Move test data to test-inputs.h
14393                 - Test WPA ciphers too
14394
14395         * test/libnm-util/test-dbus-helpers.c
14396                 - Test serialization/deserialization of ciphers
14397
14398 2005-12-29  Dan Williams  <dcbw@redhat.com>
14399
14400         * gnome/applet/applet-dbus-devices.c
14401                 - Replace 'enc' parameter with 'capabilities' for wireless networks
14402                         in dbus calls to NM
14403                 - Set capabilities on WirelessNetwork objects
14404                 - Receive and save type-specific device capabilities too
14405
14406         * gnome/applet/applet-dbus-info.c
14407           gnome/applet/applet-dbus.c
14408                 - Passphrase dialog no longer a singleton; new instance gets created
14409                         on each request.  Updates to deal with that.
14410
14411         * gnome/applet/applet.c
14412                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14413                         than single 'encrypted' flag
14414                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14415                         menu items
14416                 - Passphrase dialog updates per above
14417
14418         * gnome/applet/menu-items.c
14419                 - (network_menu_item_update): use AP capabilities to determine
14420                         encryption
14421
14422         * gnome/applet/nm-device.[ch]
14423                 - Add accessors for type-specific device capabilities
14424
14425         * gnome/applet/other-network-dialog.c
14426                 - Rework to respect device capabilities.  i.e., if the device doesn't
14427                         support WPA, remove that option from the security dropdown
14428
14429         * gnome/applet/passphrase-dialog.c
14430                 - Massive rework so that a new instance is created each time
14431                         it's used, to support wireless network capabilities
14432
14433         * gnome/applet/wireless-network.[ch]
14434                 - Add accessors and members for wireless network capabilities
14435
14436         * gnome/applet/wireless-security-manager.[ch]
14437                 - (wsm_set_capabilities): called after creation to set which
14438                         security options get shown to the user
14439
14440 2005-12-29  Dan Williams  <dcbw@redhat.com>
14441
14442         * libnm-util/cipher-wpa-psk-passphrase.c
14443                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14444                         like other ciphers
14445
14446 2005-12-23  Dan Williams  <dcbw@redhat.com>
14447
14448         * gnome/applet/applet-dbus-info.c
14449                 - (nmi_dbus_get_key_for_network): if there's no entry in
14450                         GConf for a network, assume we want a new key
14451                 - (nmi_save_network_info): serialize wireless security info
14452                         into GConf so its saved
14453
14454         * src/nm-dbus-nm.c
14455                 - Fix warning as we may not be passed security info when
14456                         connecting to a wireless network
14457
14458 2005-12-23  Dan Williams  <dcbw@redhat.com>
14459
14460         * gnome/applet/applet-compat.c
14461                 - Fix bugs in GConf entry conversion
14462
14463         * gnome/applet/applet-dbus-info.c
14464                 - (nmi_dbus_get_network_properties): handle case of the BSSID
14465                         list being zero-length
14466
14467         * libnm-util/cipher-*
14468           libnm-util/dbus-helpers.c
14469                 - All ciphers must now return hashed keys as UTF-8 valid
14470                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14471                         through dbus as strings too.
14472                 - Consolidate various functions that do bin->hex and hex->bin
14473                         conversion into cipher.c
14474
14475         * src/nm-ap-security-wep.c
14476           src/nm-ap-security-wpa-psk.c
14477                 - Handle NULL keys since we may not know keys right away
14478
14479         * src/nm-dbus-nmi.c
14480                 - (nm_dbus_get_network_data_cb): actually advance to the start
14481                         of the wireless security info before we try to deserialize it
14482
14483         * libnm-util/test-ciphers.c
14484                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14485
14486 2005-12-22  Dan Williams  <dcbw@redhat.com>
14487
14488         * gnome/applet/applet-compat.[ch]
14489                 - Convert old-format GConf and keyring entries
14490                         when the applet starts up.
14491
14492         * gnome/applet/applet.c
14493                 - (nmwa_get_instance): Call the conversion function
14494                         on startup before dbus is initialized
14495
14496 2005-12-22  Dan Williams  <dcbw@redhat.com>
14497
14498         * gnome/applet/applet-dbus-info.c
14499                 - Remove nmi_dbus_create_error_message() in favor of
14500                         nmu_create_dbus_error_message()
14501                 - (nmi_dbus_get_network_properties): Error message cleanups
14502                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14503                         gconf key rather than 'addresses', since they really are BSSIDs
14504                 - (nmi_dbus_get_network_properties): Dispose of the security
14505                         object when we're done with it
14506
14507 2005-12-21  Dan Williams  <dcbw@redhat.com>
14508
14509         * Consolidate the info-daemon's "updateNetworkInfo" and
14510                 "addNetworkAddress" calls into just "updateNetworkInfo"
14511
14512 2005-12-21  Dan Williams  <dcbw@redhat.com>
14513
14514         * Make connection after key retrieval work again
14515
14516 2005-12-21  Dan Williams  <dcbw@redhat.com>
14517
14518         * gnome/applet/nm-gconf-wso*
14519                 - Make the serialize functions return gboolean
14520                         rather than int
14521
14522         * gnome/applet/nm-gconf-wso.c
14523                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14524                         parent class handling so we don't segfault
14525
14526         * src/NetworkManagerAP.[ch]
14527                 - (nm_ap_get_capabilities): new function, return capabilities
14528                         now that something can use them
14529                 - (nm_ap_set_encrypted): assume that an access point supports
14530                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14531                         we even tell whether it just supports WEP40?
14532
14533         * src/NetworkManagerDevice.c
14534                 - (ap_need_key): resurrect and update for the New World Order
14535                 - (nm_device_wireless_get_activation_ap): if we're not given
14536                         security info to use, create some based on access point
14537                         capabilities
14538
14539         * src/nm-ap-security-wep.c
14540                 - (nm_ap_security_wep_new_from_ap): create a new object
14541                         based on a certain access point's capabilities
14542
14543         * src/nm-ap-security.c
14544                 - (nm_ap_security_new_from_ap): delegate creation of a new
14545                         object based on access point capabilities to a subclass
14546                 - (nm_ap_security_copy_properties): don't segfault if we
14547                         don't have a key yet
14548
14549         * src/nm-dbus-nm.c
14550                 - (nm_dbus_nm_set_active_device): provide more informative
14551                         output when errors occur.  Also construct security info
14552                         for a given access point if we weren't given any
14553
14554 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14555
14556         * configure.in: Added Lithuanian to ALL_LINGUAS.
14557
14558 2005-12-21  Dan Williams  <dcbw@redhat.com>
14559
14560         * test/libnm-util
14561                 - Add some testcases for WEP ciphers
14562
14563 2005-12-17  Dan Williams  <dcbw@redhat.com>
14564
14565         * Fix bugs
14566
14567 2005-12-17  Dan Williams  <dcbw@redhat.com>
14568
14569         * include/NetworkManager.h
14570                 - Finally kill NMEncKeyType
14571
14572         * gnome/applet/applet-dbus-info.c
14573                 - (nmi_save_network_info): convert to NMGConfWSO
14574
14575         * gnome/applet/nm-gconf-wso-*.c
14576                 - Implement gconf serialization functions
14577
14578         * src/NetworkManagerPolicy.c
14579                 - (nm_policy_activation_finish): fix up meaning of
14580                         automatic/user_requested
14581
14582 2005-12-17  Dan Williams  <dcbw@redhat.com>
14583
14584         * gnome/applet/*
14585                 - More applet cleanups
14586                 - Use the dbus-method-dispatcher
14587
14588         * libnm-util/dbus-method-dispatcher.[ch]
14589                 - Generalize the implementation from NM in
14590                         NetworkManagerUtils.c
14591
14592 2005-12-16  Dan Williams  <dcbw@redhat.com>
14593
14594         * gnome/applet/*
14595                 - Fix up the passphrase dialog to use all the
14596                         WirelessSecurityOption stuff (untested)
14597
14598 2005-12-16  Dan Williams  <dcbw@redhat.com>
14599
14600         * Move nm_gconf_get_*_helper() functions to separate files,
14601                 gconf-helpers.c & gconf-helpers.h
14602
14603         * New NMGConfWSO objects for managing the gconf side of things.
14604                 Eventually these should be merged with the
14605                 WirelessSecurityOption objects and a common base (that can
14606                 serialize/deserialize from dbus & gconf) should be
14607                 refactored out, but for now they are separate.
14608
14609 2005-12-16  Robert Love  <rml@novell.com>
14610
14611         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14612           binaries unless they exist (nm_spawn_process() emits a warning if
14613           asked to spawn a non-existant process).
14614
14615 2005-12-16  Dan Williams  <dcbw@redhat.com>
14616
14617         * gnome/applet/applet-dbus-info.c
14618                 - Clean up lots of gconf-related code
14619
14620 2005-12-16  Robert Love  <rml@novell.com>
14621
14622         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14623
14624 2005-12-16  Dan Williams  <dcbw@redhat.com>
14625
14626         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14627
14628         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14629                 bits still to be done)
14630
14631 2005-12-16  Dan Williams  <dcbw@redhat.com>
14632
14633         * Finally move info-daemon related stuff out of
14634                 NetworkManagerDbus.c to nm-dbus-nmi.c
14635
14636 2005-12-16  Dan Williams  <dcbw@redhat.com>
14637
14638         * Kill auth_method for access points, since that's now done
14639                 by NMAPSecurity objects
14640
14641         * Add a copy-constructor of sorts to NMAPSecurity
14642                 (how do you do this properly in glib???)
14643
14644 2005-12-15  Dan Williams  <dcbw@redhat.com>
14645
14646         * Exorcise encryption key hashing on APs
14647         * Use libnm-util's serialization/deserialization in both the
14648                 applet and NM
14649         * Random other stuff
14650
14651 2005-12-15  Robert Love  <rml@novell.com>
14652
14653         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14654           is being added to the icon naming spec, so let's use that (Tango CVS
14655           has the icon).  Because it is new, however, we fall back to the
14656           current "gnome-lockscreen" if the new icon is not around, thus
14657           behavior is the same.
14658         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14659           factory junk.
14660
14661 2005-12-15  Robert Love  <rml@novell.com>
14662
14663         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14664           well, help to give.  Couple other misc. bits.
14665
14666 2005-12-15  Dan Williams  <dcbw@redhat.com>
14667
14668         * libnm-util/dbus-helpers.[ch]
14669                 - Make this the one-stop-shop for serializing/deserializing
14670                         AP & connection security settings over dbus.  Both NM
14671                         and applets should use this to ensure consistent dbus
14672                         API going forwared.
14673
14674 2005-12-15  Robert Love  <rml@novell.com>
14675
14676         Patch by Timo Hoenig  <thoenig@suse.de>:
14677         * src/NetworkManagerDbus.c
14678                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14679                         if HAL jumps off the system bus.  Otherwise libdbus
14680                         (dbus_connection_dispatch) will try to run the filter
14681                         function of our libhal context which is already freed.
14682
14683 2005-12-15  Alexander Shopov  <ash@contact.bg>
14684
14685         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14686
14687 2005-12-14  Dan Williams  <dcbw@redhat.com>
14688
14689         * include/NetworkManager.h
14690           src/NetworkManagerWireless.c
14691                 - Rearrange 802.11 wireless-specific capabilities again
14692
14693         * src/Makefile.am
14694                 - Forgot to add wpa.c/wpa.h to the makefiles
14695
14696         * src/NetworkManagerAP.[ch]
14697                 - Implement access point capabilities and parse the
14698                         WPA/RSN IEs into the capability bitfield
14699                 - Switch the "encrypted" attribute to utilize the bitfield
14700                         and capabilities rather than being independent
14701
14702         * src/NetworkManagerDevice.c
14703                 - (nm_device_wireless_get_activation_ap): break it horribly
14704                         until we can push NMAPSecurity objects into access point
14705                         objects and through the activation chain
14706                 - Stuff WPA & RSN IEs into AP capabilities
14707
14708         * src/nm-dbus-nm.c
14709                 - Take a shot at actually making setActiveDevice work
14710
14711         * src/wpa.[ch]
14712                 - Make the API a bit saner
14713
14714 2005-12-14  Dan Williams  <dcbw@redhat.com>
14715
14716         * include/NetworkManager.h
14717                 - Add 802.11-specific capability for 802.1x key
14718                         management
14719
14720         * src/wpa.[ch]
14721                 - Pull in WPA IE and RSN IE parsing code from
14722                         wpa_supplicant so we can determine access point
14723                         capabilities
14724                 - Move WPA-related constants here from NetworkManagerAP.h
14725                         and NetworkManagerDevice.c
14726
14727         * src/NetworkManagerDevice.c
14728           src/NetworkManagerAP.[ch]
14729                 - Use WPA-related constants from wpa.h
14730
14731 2005-12-14  Dan Williams  <dcbw@redhat.com>
14732
14733         * include/NetworkManager.h
14734                 - Update and split 802.11 wireless-specific capabilities from
14735                         generic device capabilities
14736
14737         * src/NetworkManagerDevice.c
14738           src/NetworkManagerDevicePrivate.h
14739                 - (nm_device_wireless_discover_capabilities): Move 802.11
14740                         wireless-specific capability checks to
14741                         NetworkManagerWireless.c
14742                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14743                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14744
14745         * src/NetworkManagerWireless.[ch]
14746                 - (nm_802_11_wireless_discover_capabilities): Check extended
14747                         802.11 wireless-specific capabilities of the driver
14748
14749 2005-12-14  Robert Love  <rml@novell.com>
14750
14751         Patch from Stefan Scheler <sscheler@suse.de>:
14752         * src/NetworkManagerDevice.c: call backend code to activate and
14753           deactivate NIS.
14754         * src/NetworkManagerSystem.h: add new NIS interfaces.
14755         * src/backends/NetworkManagerDebian.c,
14756           src/backends/NetworkManagerGentoo.c,
14757           src/backends/NetworkManagerRedHat.c,
14758           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14759           support.
14760         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14761
14762 2005-12-14  Dan Williams  <dcbw@redhat.com>
14763
14764         * src/nm-ap-security*.[ch]
14765                 - Add AP security abstractions to NetworkManager
14766
14767         * src/nm-dbus-device.c
14768                 - Begin to parse new format dbus messages from the applet
14769                         and construct an AP security object from the message
14770
14771         * libnm-util/dbus-helpers.c
14772                 - Use message iters so we can append the key as a fixed
14773                         array of bytes, which actually works rather than
14774                         using dbus_message_append_args() as we were before
14775
14776 2005-12-14  Dan Williams  <dcbw@redhat.com>
14777
14778         * src/NetworkManagerDbus.c
14779           gnome/applet/applet-dbus.c
14780                 - Fix up dbus service replacement options.  The applet
14781                         should allow replacement, NM itself should not.
14782
14783 2005-12-13  Robert Love  <rml@novell.com>
14784
14785         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14786           Instead, fail silently if config is NULL by not asserting and not
14787           returning FALSE.  Also, make sure we always fclose() the file.
14788
14789 2005-12-13  Robert Love  <rml@novell.com>
14790
14791         Patch by Stefan Scheler <sscheler@suse.de>:
14792         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14793            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14794            via DHCP.  Still need the backends to commit the NIS domain name and
14795            and servers to yp.conf as needed.
14796
14797 2005-12-13  Robert Love  <rml@novell.com>
14798
14799         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14800           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14801
14802 2005-12-13  Robert Love  <rml@novell.com>
14803
14804         * src/named-manager/nm-named-manager.c: Don't unref the config until
14805           after we call rewrite_resolv_conf(), because get_last_default_domain()
14806           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14807           `config != NULL' failed" assertion failures and "Could not commit DNS
14808           changes" warnings.
14809
14810 2005-12-12  Dan Williams  <dcbw@redhat.com>
14811
14812         * libnm-util/dbus-helpers.[ch]
14813           libnm-util/Makefile.am
14814                 - new helper calls to consolidate locations where
14815                         NM's setDevice method is called
14816
14817         * gnome/applet/applet-dbus-devices.c
14818           gnome/applet/wireless-security-option.c
14819           gnome/applet/wso-*
14820                 - Implement dbus message param append function for
14821                         all wireless security options
14822
14823 2005-12-12  Robert Love  <rml@novell.com>
14824
14825         * libnm-util/cipher-wep-passphrase.c,
14826           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14827           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14828           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14829           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14830           When handling keys, we don't care what the sign is.  The compiler
14831           guarantees us that we get our 8-bits, which is all we care about.
14832         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14833
14834 2005-12-12  Dan Williams  <dcbw@redhat.com>
14835
14836         * gnome/applet/applet-dbus-devices.[ch]
14837           gnome/applet/applet.c
14838           gnome/applet/other-network-dialog.c
14839           gnome/applet/wireless-security-manager.[ch]
14840           gnome/applet/wireless-security-option.[ch]
14841           gnome/applet/wso-*
14842                 - Push the wireless security options further into the applet
14843
14844 2005-12-12  Robert Love  <rml@novell.com>
14845
14846         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14847           return any name servers.  That is perfectly valid.  (Novell #134369).
14848
14849 2005-12-11  Dan Williams  <dcbw@redhat.com>
14850
14851         * gnome/applet/wso-*
14852           gnome/applet/wireless-security-option.*
14853           gnome/applet/Makefile.am
14854                 - split each security option out so we can eventually
14855                         have each one build up their own dbus message
14856                         arguments to send to NM
14857
14858 2005-12-11  Dan Williams  <dcbw@redhat.com>
14859
14860         * Make validation of the key work correctly
14861
14862 2005-12-11  Dan Williams  <dcbw@redhat.com>
14863
14864         * Hook more bits of the Other Network Dialog up to the
14865                 wireless security manager stuff, and restructure
14866                 bits of the dialog so there's less code.
14867
14868 2005-12-10  Dan Williams  <dcbw@redhat.com>
14869
14870         * gnome/applet/Makefile.am
14871                 - Add libnm-util to includes
14872                 - Add libnm-util to link list
14873                 - Add wireless-security-common.* to compile list
14874
14875         * gnome/applet/other-network-dialog.c
14876                 - Convert to using the WirelessSecurityManager code and
14877                         widgets
14878
14879         * gnome/applet/passphrase-dialog.c
14880                 - Comment out references to stuff in the glade file that
14881                         cause runtime errors until it can be fixed up
14882                         to use the WirelessSecurityManager code
14883
14884         * gnome/applet/wireless-applet.glade
14885                 - Rename some widgets
14886                 - Add widgets for the WirelessSecurityManager code
14887                 - Remove passphrase-related stuff since that's now
14888                         handled by the WirelessSecurityManager code
14889
14890 2005-12-10  Dan Williams  <dcbw@redhat.com>
14891
14892         * gnome/applet/applet-dbus-devices.c
14893                 - Print out error message details for dbus pending call callbacks
14894                 - Move nmwa_dbus_update_devices() up
14895
14896         * gnome/applet/applet-dbus-vpn.c
14897                 - Print out error message details for dbus pending call callbacks
14898
14899 2005-12-10  Dan Williams  <dcbw@redhat.com>
14900
14901         * libnm-util/*
14902                 - More fixups
14903                 - Remove cipher-manager.* because we don't need it
14904                 - Forgot to add gnome-keyring-md5 files to compile list
14905
14906 2005-12-09  Dan Williams  <dcbw@redhat.com>
14907
14908         * libnm-util/*
14909           configure.in
14910           Makefile.am
14911                 - Add a utility library for clients of NetworkManager.  It's
14912                         only targetted at applets for the moment, and contains
14913                         a generalized 802.11 cipher framework for different
14914                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
14915
14916 2005-12-09  Robert Love  <rml@novell.com>
14917
14918         * src/NetworkManagerDevice.c: handle error better in
14919           nm_device_set_mode().
14920
14921 2005-12-08  Robert Love  <rml@novell.com>
14922
14923         * include/NetworkManager.h: add WPA capabilities constants
14924         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14925           or WPA2 and add the capabilities bits as appropriate.
14926
14927 2005-12-08  Robert Love  <rml@novell.com>
14928
14929         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14930           NetworkManagerDispatcher.
14931         * configure.in, initscript/SUSE/.cvsignore,
14932           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14933           initscript.
14934
14935 2005-12-08  Robert Love  <rml@novell.com>
14936
14937         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14938
14939 2005-12-08  Robert Love  <rml@novell.com>
14940
14941         * src/NetworkManagerDevice.c: We want to fall back on and default to
14942           IW_MODE_AUTO, not -1, which is more in line with our previous
14943           behavior.  Otherwise, we try to set the wireless mode to -1 in
14944           nm_device_set_mode().
14945
14946 2005-12-07  Robert Love  <rml@novell.com>
14947
14948         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14949           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14950           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14951           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14952           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14953           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
14954           zero.
14955
14956 2005-12-07  Robert Love  <rml@novell.com>
14957
14958         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14959           supplied IP is invalid, fall back to DHCP.
14960
14961 2005-12-07  Dan Williams  <dcbw@redhat.com>
14962
14963         * Convert NETWORK_MODE_* constants to IW_MODE_*
14964         * Make all the get_mode/set_mode functions take and return 'int'
14965         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14966
14967 2005-12-07  Robert Love  <rml@novell.com>
14968
14969         * src/NetworkManagerDevice.c: strncpy() buffer check.
14970         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14971
14972 2005-12-06  Dan Williams  <dcbw@redhat.com>
14973
14974         * gnome/applet/applet-dbus.c
14975                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14976
14977         * gnome/applet/applet-dbus-vpn.c
14978                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14979                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14980                         to TRUE here if stage was ACTIVATED
14981
14982 2005-12-06  Dan Williams  <dcbw@redhat.com>
14983
14984         * Change nm_device_is_* functions to better names:
14985                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14986                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14987
14988 2005-12-06  Dan Williams  <dcbw@redhat.com>
14989
14990         * Change naming of NMDeviceType to something more sensible:
14991                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14992                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14993                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14994
14995 2005-12-06  Dan Williams  <dcbw@redhat.com>
14996
14997         * Move NetworkManager.h -> include/NetworkManager.h
14998         * Split out VPN stuff into include/NetworkManagerVPN.h
14999         * Fix up makefiles to include new location
15000         * Fix up sources to include NetworkManagerVPN.h
15001
15002 2005-12-06  Dan Williams  <dcbw@redhat.com>
15003
15004         Various changes in the applet to move VPN connection "state" -> "stage",
15005         which it actually is.  I'd like to change the signal as well when we
15006         break compat in the near future.
15007
15008 2005-12-06  Dan Williams  <dcbw@redhat.com>
15009
15010         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
15011         * initscript/Slackware/rc.networkmanager
15012                 - Cosmetic fix
15013
15014         * src/backends/NetworkManagerSlackware.c
15015                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
15016                         interfaces
15017
15018 2005-12-05  Robert Love  <rml@novell.com>
15019
15020         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
15021           to free, particularly here as it just barfs.
15022
15023 2005-12-05  Dan Williams  <dcbw@redhat.com>
15024
15025         * gnome/applet/applet-dbus.c
15026                 - Work with dbus 0.6 too
15027
15028 2005-12-03  Dan Williams  <dcbw@redhat.com>
15029
15030         * src/NetworkManagerUtils.[ch]
15031           src/nm-ip4-config.c
15032                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
15033                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
15034
15035 2005-12-01  Robert Love  <rml@novell.com>
15036
15037         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
15038           need a NULL for the '...' parameter, too, to fill the so-called
15039           sentinel.
15040
15041 2005-12-01  Robert Love  <rml@novell.com>
15042
15043         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
15044           interface is already gone, so don't call rtnl_link_change() to down
15045           it (which will segfault, anyhow).
15046
15047 2005-11-22  Robert Love  <rml@novell.com>
15048
15049         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
15050           gateway is not set, just print a little note.  Configurations without
15051           gateways are valid.
15052
15053 2005-11-22  Robert Love  <rml@novell.com>
15054
15055         * README: update
15056
15057 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
15058
15059         * configure.in: Added Finnish translation to ALL_LINGUAS
15060
15061 2005-11-14  Robert Love  <rml@novell.com>
15062
15063         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15064           Niemueller <tim@niemueller.de>.
15065
15066 2005-11-08  Dan Williams  <dcbw@redhat.com>
15067
15068         Patch from Bill Moss <bmoss@clemson.edu>
15069         * src/NetworkManagerDevice.c
15070                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15071                         of nm_policy_schedule_activation_finish() to prevent a
15072                         race condition that causes the link to be dropped
15073
15074 2005-11-08  Dan Williams  <dcbw@redhat.com>
15075
15076         Patch from Bill Moss <bmoss@clemson.edu>
15077         * src/NetworkManagerAPList.c
15078           src/NetworkManagerDevice.c
15079           src/NetworkManagerDbus.c
15080                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15081                         we get more readable ether/mac addresses
15082
15083 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15084
15085         * gnome/applet/main.c: Don't set the restart command.  This fixes
15086         the issue where the restart command was getting copies of all its
15087         arguments for each time the applet was restarted.
15088
15089 2005-11-02  Robert Love  <rml@novell.com>
15090
15091         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15092           if the widget state differs from our saved state.  This ensures we
15093           do not enter an endless loop of death and destruction.  Also, this
15094           guarantees us that we enforce the widget state.
15095
15096 2005-11-02  Robert Love  <rml@novell.com>
15097
15098         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15099         * gnome/applet/applet-dbus-devices.c: invoke the new function
15100           nmwa_enable_wireless_set_active() to ensure that the state of the
15101           'Enable Wireless' checkbox matches the daemon's state.  This is a
15102           concern because the daemon remembers the state.
15103
15104 2005-11-02  Robert Love  <rml@novell.com>
15105
15106         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15107           Enabled", as checkboxes should be actions/commands not positive
15108           statements, otherwise they are confusing in the unselected case.  See
15109           examples in GNOME HIG, Chapter 6.
15110
15111 2005-11-02  Robert Love  <rml@novell.com>
15112
15113         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
15114           show a list of wireless networks or the wireless devices or the
15115           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
15116           a bad bug: If wireless is disabled and the user picks a wireless
15117           network, NM will switch to the network, only to immediately switch
15118           back, as wireless is disabled.  This also reassures people that NM
15119           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
15120
15121 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15122
15123         * gnome/applet/applet.c:
15124         * gnome/applet/applet.h:
15125         Partial backout of Dan's timeout animation patch.
15126         Timeout IDs cannot legally be 0, so revert the code in place to handle
15127         a timeout ID of 0 to denote the timeout isn't running.
15128
15129 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15130
15131         * src/NetworkManagerPolicy.c:
15132         (nm_policy_device_change_check) Clarify wireless switch nm_info text
15133
15134 2005-10-28  Robert Love  <rml@novell.com>
15135
15136         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15137           "Import Saved Configuration..." to make it clear that importing is
15138           not the next step, but an option.  As an aside, a nice TODO would be
15139           to move Importing out of the vpn-specific dialog and into the main
15140           property editor, as Importing goes with Adding, but that will require
15141           some rearchitecting of the VPN stuff I suspect.
15142
15143 2005-10-27  Dan Williams  <dcbw@redhat.com>
15144
15145         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
15146         we should replace most of the distro-specific backend code
15147         with libnl stuff.
15148
15149         Get it here:  http://people.suug.ch/~tgr/libnl/
15150
15151         * configure.in
15152           src/Makefile.am
15153                 - Add checks for libnl pkgconfig file
15154                 - Use LIBNL_LIBS & LIBNL_CFLAGS
15155
15156         * src/NetworkManagerSystem.c
15157           src/nm-ip4-config.[ch]
15158                 - Use libnl rather than ioctl() for most things
15159                 - Remove unused functions
15160
15161 2005-10-27  Robert Love  <rml@novell.com>
15162
15163         * src/backends/NetworkManagerSuSE.c: fix warning message text
15164
15165 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15166
15167         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15168
15169 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15170
15171         * gnome/applet/applet.c: The applet's about dialog can advertise our 
15172         project page <http://www.gnome.org/projects/NetworkManager/>
15173
15174 2005-10-26  Christopher Aillon  <caillon@redhat.com>
15175
15176         * gnome/applet.c: Also use translator credits if we don't have
15177         the new GtkAboutDialog (older versions of GTK+)
15178
15179 2005-10-26  Robert Love  <rml@novell.com>
15180
15181         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15182           failure; correct usage text for "--no-daemon"
15183
15184 2005-10-25  Dan Williams  <dcbw@redhat.com>
15185
15186         * src/NetworkManagerDevice.c
15187                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15188                         no scan results
15189                 - (free_process_scan_cb_data): unref the device when freeing results
15190                 - (nm_device_wireless_process_scan_results): free scan results a bit later
15191                         so we don't unref the device underneath ourselves
15192
15193 2005-10-25  Dan Williams  <dcbw@redhat.com>
15194
15195         * Back out 2005-10-24 commit from Tor Krill.  Patch
15196                 causes nameservers never to be removed from named.
15197
15198 2005-10-24  Dan Williams  <dcbw@redhat.com>
15199
15200         Clean up wireless scanning and wireless link probing.
15201
15202         * src/NetworkManagerDevice.c
15203                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15204                         just see if there's an activation request on the device, and check the
15205                         current link against the activation request access point's ESSID.
15206                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15207                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15208                         don't call process_scan_results() on zero-length data
15209                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
15210                         15 seconds (from 10)
15211
15212 2005-10-24  Dan Williams  <dcbw@redhat.com>
15213
15214         Cleanup some applet stuff:
15215
15216         - Animation timeouts.  If NM died while the applet was animating,
15217                 the applet would not hide itself.  This is now fixed.
15218
15219         - Remove some dead code
15220
15221         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15222                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15223
15224         - Track animation timeout using a gboolean rather than the timeout's
15225                 ID, since timeout IDs can legally be 0.
15226
15227 2005-10-24  Dan Williams  <dcbw@redhat.com>
15228
15229         * src/backends/interface_parser.c
15230                 - Add void to function declarations that need it
15231                         to match patch from Engin AYDOGAN
15232
15233         * src/backends/interface_parser.h
15234                 - Remove unused prototype for ifparser_interfaces()
15235
15236         Patch from Engin AYDOGAN <engin@bzzzt.biz>
15237         * src/backends/interface_parser.h:
15238                 - Compile fixes for gcc 4.0.2 (add void)
15239
15240 2005-10-24  Dan Williams  <dcbw@redhat.com>
15241
15242         Patch from Tor Krill <tor@krill.nu>
15243         * src/named-manager/nm-named-manager.c
15244                 - Write more than just the first nameserver to /etc/resolv.conf
15245                 - Write out valid /etc/resolv.conf on exit
15246
15247 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15248
15249         * gnome/applet/applet-dbus-vpn.c:
15250         Get rid of spurious newlines in debug console output
15251
15252 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15253
15254         * src/backends/NetworkManagerGentoo.c:
15255         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
15256
15257 2005-10-20  Robert Love  <rml@novell.com>
15258
15259         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15260           direct comparison of floating point values, which is never correct.
15261           Also some misc. cleanup.
15262
15263 2005-10-19  Robert Love  <rml@novell.com>
15264
15265         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15266
15267 2005-10-19  Robert Love  <rml@novell.com>
15268
15269         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15270           sensitivity of the buttons.  Specificaly, do the right thing if
15271           there are no entries.
15272
15273 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15274
15275         * configure.in: Update check for adequate wireless-tools
15276         with an AC_TRY_COMPILE for the new symbols we use.
15277
15278 2005-10-19  Dan Williams  <dcbw@redhat.com>
15279
15280         * src/NetworkManagerDevice.c
15281                 - (process_scan_results): don't drop the last (or only)
15282                         access point we see
15283
15284 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15285
15286         * src/backends/NetworkManagerSlackware.c:
15287         Patch from Nico <lordllucifer@gmail.com>
15288                 - Update the Slackware backend.
15289
15290 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15291
15292         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15293         if we've got GLib 2.8.0
15294
15295 2005-10-18  Robert Love  <rml@novell.com>
15296
15297         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15298           function nm_schedule_state_change_signal_broadcast() when we
15299           deactivate a device, too.
15300
15301 2005-10-18  Robert Love  <rml@novell.com>
15302
15303         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15304           be used uninitialized.
15305
15306 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15307
15308         * test/libnm_glib_test.c: Test unregistering, too.
15309
15310 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15311
15312         * configure.in: Bump to 0.5.0
15313
15314 2005-10-17  Dan Williams  <dcbw@redhat.com>
15315
15316         * NetworkManager.h
15317                 - Remove WPA-related constants so they aren't part of the
15318                         upcoming release.
15319
15320 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15321
15322         * gnome/applet/applet.c:
15323         * gnome/applet/applet.h:
15324         Desensitize the 'Connection Information' menu item when there is
15325         no active connection.
15326
15327 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15328
15329         * gnome/libnm_glib/libnm_glib.c:
15330         Make libnm_glib_unregister_callback () actually unregister the callback
15331
15332 2005-10-17  Robert Love  <rml@novell.com>
15333
15334         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15335           two seconds -- tries is updated every 1/10 of a second, not every
15336           second..
15337
15338 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15339
15340         * gnome/applet/applet-dbus-info.c:
15341         Let D-BUS know that we haven't handled a message when we haven't.
15342
15343 2005-10-17  Robert Love  <rml@novell.com>
15344
15345         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15346           in order to remain 64-bit clean.
15347
15348 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15349
15350         * gnome/applet/applet-dbus-info.c:
15351         Find network encryption keys asynchronously
15352
15353 2005-10-17  Robert Love  <rml@novell.com>
15354
15355         * src/backends/NetworkManagerDebian.c,
15356           src/backends/NetworkManagerRedHat,
15357           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15358           comment delimiter.
15359
15360 2005-10-17  Robert Love  <rml@novell.com>
15361
15362         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15363           "/etc"
15364
15365 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15366
15367         * src/NetworkManagerDevice.c: (process_scan_results)
15368         Fix logic that checks to see whether we have an ESSID.
15369
15370 2005-10-15  Dan Williams  <dcbw@redhat.com>
15371
15372         Move scanning code into NetworkManager rather than use iwlib's
15373         iw_scan() function, so that we can figure out AP capabilities.
15374
15375         * NetworkManager.h
15376                 - Add AP capability bits
15377
15378         * src/NetworkManagerAP.[ch]
15379                 - Add capability field to NMAccessPoint structure
15380                 - Add WPA & RSN Information Element fields and accessor
15381                         functions to NMAccessPoint
15382
15383         * src/NetworkManagerDevice.c
15384                 - Remove usage of iw_scan
15385                 - Add scanning code to NetworkManager rather than use
15386                         iw_scan() from iwlib
15387
15388         * src/NetworkManagerUtils.[ch]
15389                 - (nm_dispose_scan_results): remove, unused
15390
15391 2005-10-14  Christopher Aillon  <caillon@redhat.com>
15392
15393         * gnome/libnm_glib/libnm_glib.c:
15394         * gnome/libnm_glib/libnm_glib.h:
15395         Use guint instead of gint for callback IDs.
15396
15397 2005-10-12  Christopher Aillon  <caillon@redhat.com>
15398
15399         * gnome/applet/applet.c:
15400         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
15401         every 1000ms.  It will unconditionally call nmwa_update_state which
15402         kills the existing animation timeout and registers a new one with a
15403         callback to draw a new frame every 100ms.  There are 11 connecting
15404         icon frames, so the last 2 frames kept getting dropped.  Only reset
15405         the animation timeout if we aren't animating.
15406
15407 2005-10-11  Dan Williams  <dcbw@redhat.com>
15408
15409         * gnome/applet/applet-dbus-devices.c
15410                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15411                         We want to grab the product & vendor from net.physical_dev
15412                         rather than info.parent.
15413
15414 2005-10-11  Dan Williams  <dcbw@redhat.com>
15415
15416         * src/NetworkManagerDevice.c
15417                 - Use the driver's WE version for scanning rather than
15418                         the WE version NM was compiled with.  Fixes random
15419                         crashes in iw_scan () in iwlib.
15420
15421 2005-10-10  Dan Williams  <dcbw@redhat.com>
15422
15423         * Remove nm_system_load_device_modules() from backend files
15424                 and from NetworkManager.c
15425
15426 2005-10-10  Dan Williams  <dcbw@redhat.com>
15427
15428         * src/NetworkManagerPolicy.c
15429                 - Fix some bugs introduced by the capabilities patch
15430
15431 2005-10-10  Dan Williams  <dcbw@redhat.com>
15432
15433         * gnome/applet/applet-dbus-info.c
15434                 - (nmi_dbus_get_network_key): hide the menu when putting up
15435                         the keyring dialog.  (not sure if the code is right...)
15436
15437 2005-10-09  Dan Williams  <dcbw@redhat.com>
15438
15439         Patch from Bill Moss <bmoss@clemson.edu>
15440         * src/NetworkManagerDevice.c
15441                 - (nm_device_set_user_key_for_network): don't try to set auth
15442                         mode on the AP from the allowed list if it's NULL
15443
15444 2005-10-09  Dan Williams  <dcbw@redhat.com>
15445
15446         * Replace the "driver support level" stuff with capabilities.  The
15447                 capability field is a bitfield that is more flexible than the
15448                 old driver support level thing.  It's mostly so we can easily
15449                 figure out what supports WPA and what doesn't, but should be
15450                 quite useful later.
15451
15452 2005-10-09  Dan Williams  <dcbw@redhat.com>
15453
15454         * test/nmtest.c
15455                 - Removed
15456
15457         * test/nm-tool.c
15458           test/Makefile.am
15459                 - Added new "nm-tool" tool that gives quite a bit more
15460                         information
15461
15462 2005-10-07  Robert Love  <rml@novell.com>
15463
15464         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15465           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15466           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15467           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15468           appropriate
15469
15470 2005-10-07  Robert Love  <rml@novell.com>
15471
15472         * configure.in: Change our compile flags for the betterment of mankind.
15473           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15474           prototype is very bad on 64-bit platforms as types default to int but
15475           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15476           "-Wmissing-declarations" to warn if we define an exported function
15477           but fail to put it in a header.
15478
15479 2005-10-07  Robert Love  <rml@novell.com>
15480
15481         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15482           by the name nm_update_device_wireless_timeouts() and once tried,
15483           without success, to steal my pet turtle.
15484
15485 2005-10-07  Robert Love  <rml@novell.com>
15486
15487         * Cleanup prototypes: put some functions in header files and mark
15488           others as 'static' -- feel free to invert
15489         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15490           nm_vpn_manager_vpn_connection_list_copy()
15491         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15492           nm_vpn_service_get_dbus_connection()
15493         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15494           nm_vpn_manager_vpn_connection_list_copy()
15495         * src/vpn-manager/nm-vpn-service.c: make
15496           nm_vpn_service_act_request_failed() and
15497           nm_vpn_service_stage2_daemon_wait() static
15498         * src/vpn-manager/nm-vpn-service.h: add prototype for
15499           nm_vpn_service_get_dbus_connection()
15500
15501 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15502
15503         * gnome/applet/applet.c:
15504         * gnome/applet/applet.h:
15505         * gnome/applet/icons/Makefile.am:
15506         Convey information about the current connection stage in the
15507         icons themselves instead of creating a separate progress bar.
15508
15509 2005-10-04  Robert Love  <rml@novell.com>
15510
15511         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15512           convert an ether_addr structure's MAC into a string, because the
15513           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15514           versus 07:3B:04, while the former will not.
15515
15516 2005-10-04  Robert Love  <rml@novell.com>
15517
15518         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15519           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15520           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15521           default route in the 'Connection Information' dialog, send primary
15522           and secondary name servers in in "getProperties" DBUS method, add
15523           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15524           secondary domain name servers are crucial pieces of information
15525           that a user might need in debugging a network problem.
15526
15527 2005-10-04  Robert Love  <rml@novell.com>
15528
15529         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15530           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15531           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15532           default route in the 'Connection Information' dialog, send default
15533           route in "getProperties" DBUS method, add network_device_set_route(),
15534           and network_device_get_route().  The Gateway is a crucial piece of
15535           connection-related information that a user might need in debugging a
15536           network problem.
15537
15538 2005-10-03  Robert Love  <rml@novell.com>
15539
15540         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15541           NULL.
15542
15543 2005-10-02  Dan Williams  <dcbw@redhat.com>
15544
15545         * Shorten time taken to sleep by fastpathing bits of device deactivation
15546                 necessary for sleep.
15547
15548         * Fix issue where deactivating a device might deactivate the active
15549                 VPN connection, even if the VPN was not using the device.
15550
15551 2005-10-02  Dan Williams  <dcbw@redhat.com>
15552
15553         * gnome/applet/applet.c
15554                 - Adjust signal strength -> icon mapping values slightly
15555                         (so that 51% signal doesn't show a 75% icon) by adding
15556                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15557                         shows 50% icon, etc.
15558
15559 2005-09-29  Robert Love  <rml@novell.com>
15560
15561         * src/NetworkManager.c: removed unused variable.
15562
15563 2005-09-28  Dan Williams  <dcbw@redhat.com>
15564
15565         Support for named + DBus, using Red Hat DBus patches for named.  You
15566         can find those patches here, with "dbus" in the patch's filename:
15567
15568                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15569
15570         Don't forget the named dbus service file either.
15571
15572         Instead of writing a config file and spawing a named process, NM will
15573         use an already-running dbus-enabled named if it finds one.  NM will
15574         update named's forwarder configuration on the fly using dbus.
15575
15576         If there is no dbus-enabled named running, NM will automatically fall
15577         back to writing the most-recent DNS server information to /etc/resolv.conf
15578         and calling nm_system_update_dns() to kick the system's resolver.
15579
15580         Accordingly, all named-related configure-time options have been removed.
15581
15582 2005-09-26  Robert Love  <rml@novell.com>
15583
15584         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15585           ISDN support!
15586         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15587           bug in error path if "ASKPASSWORD" is "no".
15588
15589 2005-09-26  Robert Love  <rml@novell.com>
15590
15591         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15592           comment in /etc/resolv.conf -- ';' is not.
15593
15594 2005-09-19  Dan Williams  <dcbw@redhat.com>
15595
15596         * src/backends/NetworkManagerRedHat.c:
15597         * src/backends/NetworkManagerDebian.c:
15598         * src/backends/NetworkManagerSlackware.c:
15599         * src/backends/NetworkManagerGentoo.c:
15600         * src/backends/NetworkManagerSUSE.c:
15601         Fix invocations of "/sbin/ip address" to use short form instead
15602
15603 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15604
15605         * src/nm-dbus-device.c: Don't assert when getting
15606         addresses of a not yet connected interface.
15607
15608         * gnome/applet/applet.c: Free icons if loading fails.
15609         Use translator-credits so translators can make themselves known.
15610
15611 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15612
15613         * src/NetworkManagerAP.c:
15614         * src/NetworkManagerAP.h:
15615         * src/NetworkManagerDevice.c:
15616         Set a blacklist for certain common manufacturer default ESSIDs:
15617         APs with these ESSIDs are extremely likely to be completely
15618         different networks: connecting to one should not make NM
15619         auto-connect to every other AP with the same default ESSID.
15620
15621 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15622
15623         * gnome/applet/wireless-applet.glade:
15624         The passphrase entry should also activate the default
15625
15626         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15627
15628         * gnome/applet/applet-dbus-devices.c:
15629         * gnome/applet/applet.c:
15630         * gnome/applet/nm-device.c:
15631         * gnome/applet/nm-device.h:
15632         * src/NetworkManagerUtils.c:
15633         * src/NetworkManagerUtils.h:
15634         * src/nm-dbus-device.c:
15635         I've got a fever, and the only cure for it is less ioctl.
15636         Make NM push IP data rather than make the applet open a socket
15637         to the device.
15638
15639 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15640
15641         * gnome/applet/applet.c:
15642         * gnome/applet/applet-dbus-devices.c:
15643         * gnome/applet/applet-dbus-info.c:
15644         * gnome/applet/passphrase-dialog.c:
15645         * gnome/libnm_glib/libnm_glib.c:
15646         * gnome/vpn-properties/nm-vpn-properties.c:
15647         * src/autoip.c:
15648         * src/backends/NetworkManagerRedHat.c:
15649         * src/named-manager/nm-named-manager.c:
15650         * src/NetworkManagerAPList.c:
15651         * src/NetworkManager.c:
15652         * src/NetworkManagerDbus.c:
15653         * src/NetworkManagerDevice.c:
15654         * src/NetworkManagerPolicy.c:
15655         * src/NetworkManagerSystem.c:
15656         * src/nm-dbus-device.c:
15657         * src/nm-dbus-nm.c:
15658         * src/vpn-manager/nm-vpn-manager.c:
15659         * src/vpn-manager/nm-vpn-service.c:
15660         * test/libnm_glib_test.c:
15661         * test/nminfotest.c:
15662         * test/nmtestdevices.c:
15663         Fix a bunch of 'unused variable' compiler warnings
15664
15665         * NetworkManager.h:
15666         * gnome/applet/applet-dbus-info.c:
15667         * gnome/applet/applet-dbus-info.h:
15668         * gnome/applet/applet.c:
15669         * gnome/applet/applet.h:
15670         * src/NetworkManager.c:
15671         * src/NetworkManagerDbus.c:
15672         * src/NetworkManagerDbus.h:
15673         * src/NetworkManagerDevice.c:
15674         * src/NetworkManagerDevice.h:
15675         * src/NetworkManagerMain.h:
15676         * src/NetworkManagerWireless.c:
15677         * src/NetworkManagerWireless.h:
15678         * src/nm-dbus-nm.c:
15679         Make NetworkManager be smart about how frequently to scan
15680         based on its current state.  Remove the UI for choosing when
15681         to scan.  Scanning still may disabled completely by the user
15682         via the "Wireless Enabled" menu item.
15683
15684 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15685
15686         * gnome/applet/applet.c:
15687         Also overlay the vpn connecting icons onto the wired icon,
15688         when appropriate.
15689
15690         * gnome/vpn-properties/nm-vpn-properties.glade:
15691         Clean up a few strings to use better grammar and proper casing.
15692
15693 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15694
15695         * gnome/applet/vpn-connection.c:
15696         * gnome/applet/vpn-connection.h:
15697         Add nmwa_vpn_connection_is_activating ()
15698
15699         * gnome/applet/applet.c:
15700         * gnome/applet/applet.h:
15701         * gnome/applet/icons/nm-vpn-connecting*.png:
15702         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15703         the user know something's happening between clicking the VPN item and it
15704         actually being connected.
15705
15706 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15707
15708         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15709         failure case as well.
15710
15711 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15712
15713         * gnome/panel/eggtrayicon.[ch]:
15714         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15715
15716 2005-09-07  Dan Williams  <dcbw@redhat.com>
15717
15718         Patch from Bill Moss <bmoss@clemson.edu>
15719         * src/applet-dbus.c
15720                 - (nmwa_dbus_filter): strip whitespace from beginning
15721                         and end of VPN login banner
15722
15723 2005-09-07  Dan Williams  <dcbw@redhat.com>
15724
15725         * The great VPN Manager rewrite of 2005
15726
15727 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15728
15729         * gnome/applet/menu-items.c:
15730         * gnome/applet/nm-device.c:
15731         * gnome/applet/wireless-network.c:
15732         * gnome/libnm_glib/libnm_glib.c:
15733         * src/NetworkManagerDbusUtils.c:
15734         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15735         g_malloc0 doesn't return NULL
15736
15737 2005-09-06  Dan Williams  <dcbw@redhat.com>
15738
15739         Patch from Tomislav Vujec <tvujec@redhat.com>
15740         * src/NetworkManagerDevice.c
15741                 - (nm_get_device_by_udi): don't return a device when we
15742                         actually didn't find what we were looking for
15743
15744 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15745
15746         * gnome/applet/applet-dbus-devices.c:
15747         * gnome/applet/applet-dbus-devices.h:
15748         * gnome/applet/applet-dbus.c:
15749         * src/NetworkManagerDbus.c:
15750         * src/NetworkManagerDbus.h:
15751         * src/NetworkManagerDevice.c:
15752         * src/nm-dbus-device.c:
15753         Make NM push updates about active device strength when it changes,
15754         rather than having the applet poll every 2s.
15755
15756 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15757
15758         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15759         network_device_set_strength
15760
15761 2005-09-04  Dan Williams  <dcbw@redhat.com>
15762
15763         Patch from Bill Nottingham <notting@redhat.com>
15764         * src/NetworkManagerDevice.c
15765                 - (nm_device_activation_cancel): reset the quit_activation flag
15766
15767 2005-09-04  Dan Williams  <dcbw@redhat.com>
15768
15769         * src/nm-activation-request.c
15770                 - (nm_act_request_unref): actually free the structure,
15771                         which we didn't seem to be doing before
15772
15773 2005-09-04  Dan Williams  <dcbw@redhat.com>
15774
15775         Patch from John Palmieri <johnp@redhat.com>
15776         * gnome/applet/applet-dbus-devices.c
15777                 - Fix up unreffing of DBusMessage objects
15778
15779 2005-09-04  Dan Williams  <dcbw@redhat.com>
15780
15781         Patch from John Palmieri <johnp@redhat.com>
15782         * gnome/applet/nm-device.c
15783                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15784
15785 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15786
15787         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15788
15789 2005-09-02  Bill Nottingham  <notting@redhat.com>
15790
15791         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15792
15793 2005-09-01  Dan Williams  <dcbw@redhat.com>
15794
15795         * src/NetworkManager.c
15796                 - (nm_remove_device_from_list): rename to nm_remove_device
15797                 - (nm_hal_device_removed): call nm_remove_device()
15798
15799         * src/NetworkManagerDevice.c
15800                 - Change the NMWirelessScanCB member 'reschedule' which
15801                         wasn't used to 'force' to indicate that we need to
15802                         force a scan when adding a device
15803
15804         * src/nm-dbus-nm.c
15805                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15806                         from the device list
15807                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15808
15809 2005-09-01  Robert Love  <rml@novell.com>
15810
15811         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15812           and the check "!iface" in the error case is probably never true.
15813
15814 2005-09-01  Dan Williams  <dcbw@redhat.com>
15815
15816         Patch from Bill Nottingham <notting@redhat.com>
15817         * src/backends/NetworkManagerRedHat.c
15818                 - Add initial dialup support to Red Hat/Fedora backend
15819
15820 2005-09-01  Dan Williams  <dcbw@redhat.com>
15821
15822         * gnome/applet/applet-dbus-devices.c
15823                 - Sort both wireless networks and devices again, which got
15824                         broken when removing threading
15825
15826 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15827
15828         * gnome/applet/applet.c:
15829         Only show the "Stop/Start All Wireless Devices" menuitem
15830         if we actually have wireless devices.
15831
15832         * gnome/applet/applet-dbus-info.c:
15833         * gnome/applet/applet.c:
15834         * gnome/applet/other-network-dialog.c:
15835         * gnome/applet/vpn-password-dialog.c:
15836         Drop the gtk_dialog_run () calls in favor of connecting to
15837         "response" signals, needed now that the applet is not threaded.
15838
15839 2005-08-31  Dan Williams  <dcbw@redhat.com>
15840
15841         Patch from Bill Moss <bmoss@clemson.edu>
15842         * src/NetworkManagerDevice.c
15843                 - (nm_device_wireless_scan): fix scan timeout values
15844
15845 2005-08-30  Dan Williams  <dcbw@redhat.com>
15846
15847         * gnome/applet/wireless-applet.glade
15848                 - HIG-ify the Other Wireless Networks dialog a bit more
15849                 - Fix some potential segfaults in the info dialog
15850
15851 2005-08-30  Dan Williams  <dcbw@redhat.com>
15852
15853         * gnome/applet/applet-dbus-devices.c
15854                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15855
15856 2005-08-30  Dan Williams  <dcbw@redhat.com>
15857
15858         * gnome/applet/applet-dbus.[ch]
15859                 - Remove all the nmwa_dbus_call_method_xxxx functions since
15860                         they weren't being used anyway
15861
15862 2005-08-30  Bastien Nocera  <hadess@hadess.net>
15863
15864         * test/nmtestdevices.c: (print_usage), (main):
15865         Check the number of arguments, and fix a typo
15866
15867 2005-08-29  Dan Williams  <dcbw@redhat.com>
15868
15869         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15870         * gnome/applet/applet.c
15871                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15872
15873 2005-08-29  Dan Williams  <dcbw@redhat.com>
15874
15875         * gnome/applet/*
15876                 - Don't use threads any more.  Anything that blocks
15877                         (like gtk_dialog_run()) will  have to get fixed up which
15878                         should happen quickly.  We really only had threads to make
15879                         the animation smooth, and when everything got converted over
15880                         to DBus Pending Calls, the need for threads kind of went away
15881
15882 2005-08-29  Christopher Aillon  <caillon@redhat.com>
15883
15884         * gnome/applet/applet.c: Draw VPN connections as radio items
15885         since we don't yet support multiple VPNs.
15886         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15887         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15888
15889 2005-08-29  Dan Williams  <dcbw@redhat.com>
15890
15891         Patch from j@bootlab.org
15892         - Make --without-named work
15893         - Make --with-dhcdbd work correctly
15894
15895 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
15896
15897         * configure.in: Added "ca" to ALL_LINGUAS.
15898
15899 2005-08-26  Christopher Aillon  <caillon@redhat.com>
15900
15901         * Fix up VPN state handling between the applet and NetworkManager,
15902                 so that the applet doesn't show a VPN as connected when one
15903                 really is not
15904                         - The applet no longer has a pointer to the active VPN's
15905                                 name, but tracks each VPNs state individually
15906                         - NM no longer has a "getActiveVPNConnection" method
15907                         - NM no longer broadcasts the "VPNConnectionChange" signal
15908                         - NM now broadcasts a "VPNConnectionStateChange" signal
15909                                 whenever the state of a VPN changes
15910
15911 2005-08-26  Dan Williams <dcbw@redhat.com>
15912
15913         * gnome/applet/applet-dbus-devices.c
15914           gnome/applet/applet-dbus-vpn.c
15915                 - Remove calls to dbus_pending_call_ref() because we already
15916                         "own" the pending call
15917                 - Remove calls to dbus_pending_call_get_completed() because
15918                         when we are in the callback, the pending call is completed
15919                         by definition
15920
15921 2005-08-22  Dan Williams <dcbw@redhat.com>
15922
15923         Patch by Bill Moss <bmoss@clemson.edu>
15924         * src/dhcp-manager/nm-dhcp-manager.c
15925                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15926                         some time to send out a RELEASE if they like
15927
15928 2005-08-22  Dan Williams <dcbw@redhat.com>
15929
15930         Noticed by Bill Moss <bmoss@clemson.edu>
15931         * src/NetworkManagerDbus.c
15932                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15933                         instead of just cancelling its activation
15934
15935         * src/NetworkManagerDevice.c
15936                 - (nm_device_deactivate): some small cleanups
15937                 - (nm_device_set_user_key_for_network): deactivate the device
15938                         instead of just cancelling its activation
15939
15940 2005-08-22  Dan Williams <dcbw@redhat.com>
15941
15942         Noticed by Bill Moss <bmoss@clemson.edu>
15943         * src/NetworkManagerDevice.c
15944                 - (nm_device_wireless_scan): fix scan timeout, we were
15945                         waiting way too long for scans to complete
15946
15947 2005-08-22  Dan Williams <dcbw@redhat.com>
15948
15949         Patch from j@bootlab.org:
15950         * src/backends/NetworkManagerDebian.c
15951                 - Make the Debian backend work for static IP again
15952
15953 2005-08-20  Christopher Aillon  <caillon@redhat.com>
15954
15955         * gnome/applet/other-network-dialog.c:
15956         The "Create New Network" and "Connect to Other Network"
15957         dialogs share alot of code, but shouldn't share a window
15958         title.  Give them different ones.
15959
15960         * gnome/applet/wireless-applet.glade:
15961         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15962         Some more minor UI tweaks.
15963
15964 2005-08-19  Christopher Aillon  <caillon@redhat.com>
15965
15966         * gnome/applet/other-network-dialog.c:
15967         * gnome/applet/wireless-applet.glade:
15968         Also need mnemonic widgets, and underline enabled.
15969
15970 2005-08-19  Dan Williams <dcbw@redhat.com>
15971
15972         * vpn-daemons/vpnc/nm-vpnc-service.c
15973                 - (vpnc_watch_cb): remove no-longer-relevant comment
15974                 - (write_config_option): new function, helper to write
15975                         config options to vpnc's stdin
15976                 - (nm_vpnc_config_write): use the new helper, make the
15977                         code shorter
15978
15979 2005-08-19  Christopher Aillon <caillon@redhat.com>
15980
15981         * gnome/applet/passphrase-dialog.c:
15982         * gnome/applet/wireless-applet.glade:
15983         Make the passphrase dialog response based, and treat
15984         responses other than OK (such as Esc, [X]) as a cancel.
15985
15986 2005-08-18  Christopher Aillon <caillon@redhat.com>
15987
15988         * initscript/Gentoo/NetworkManager:
15989         * initscript/RedHat/NetworkManager:
15990         * initscript/RedHat/NetworkManagerDispatcher:
15991         * initscript/SUSE/networkmanager:
15992         CVS remove these in place of .in replacements
15993
15994         * configure.in:
15995         * initscript/Gentoo/NetworkManager.in:
15996         * initscript/RedHat/NetworkManager.in:
15997         * initscript/RedHat/NetworkManagerDispatcher.in:
15998         * initscript/SUSE/networkmanager.in:
15999         These scripts now are generated so they work still when
16000         NM is built using a bindir other than /usr/bin
16001
16002 2005-08-18  Dan Williams <dcbw@redhat.com>
16003
16004         * gnome/applet/main.c
16005                 - Revert previous change for --no-session since
16006                         --sm-disable does the same thing
16007
16008 2005-08-18  Dan Williams <dcbw@redhat.com>
16009
16010         * gnome/applet/applet-dbus-info.c
16011                 - (nmi_dbus_create_error_message): new function
16012                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
16013                         functions.  Also don't check for both device _and_ network before
16014                         asking for a user's key, because we may not have gotten all our
16015                         networks back from NM quite yet (due to the dbus pending calls
16016                         coming in later).  Fixes a hang in NM/nm-applet.
16017
16018         * src/NetworkManagerDbus.c
16019                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
16020                         slightly more sane manner, even though we are still broken for
16021                         certain other error conditions.
16022                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
16023                         to the info-daemon too
16024
16025         * src/NetworkManagerDevice.c
16026                 - Fix some debug messages to be info messages instead
16027
16028 2005-08-18  Dan Williams <dcbw@redhat.com>
16029
16030         * gnome/applet/main.c
16031                 - Add new "--no-session" parameter that disables applet
16032                         session management, ie for testing
16033
16034 2005-08-18  Christopher Aillon <caillon@redhat.com>
16035
16036         * gnome/applet/other-network-dialog.c:
16037         * gnome/applet/wireless-applet.glade: More mnemonics
16038
16039 2005-08-17  Robert Love  <rml@novell.com>
16040
16041         * initscript/SUSE/networkmanager: update
16042
16043 2005-08-17  Dan Williams  <dcbw@redhat.com>
16044
16045         * Tag NM_0_4_1_RELEASE
16046
16047 2005-08-17  Christopher Aillon  <caillon@redhat.com>
16048
16049         * gnome/applet/applet.c: More translatable string cleanup
16050
16051
16052 2005-08-17  Dan Williams  <dcbw@redhat.com>
16053
16054         * gnome/applet/applet-dbus-info.c
16055                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16056                         from the dbus message, which tells us to unconditionally
16057                         ask the user for a new key.  Otherwise, we pull the key from
16058                         the keyring and return it.  If we fail to get the key from the
16059                         keyring, we ask the user for a new key.
16060                 - (nmi_dbus_get_network_key): new function to grab the key for
16061                         an essid from the keyring.
16062                 - (nmi_dbus_get_network_properties): don't access the keyring here.
16063                         Also, don't return any key in the dbus message.
16064
16065         * src/NetworkManagerDbus.[ch]
16066                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16067                         indicate that we unconditionally want a new key.  This function
16068                         is now also used to get keys from the info-daemon which are
16069                         pre-stored, not just for asking the user for a new key.  The
16070                         "new_key" parameter indicates whether or not we wish to ask the
16071                         user for a new key.
16072                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16073                         info-daemon in the return message, so use NULL instead.  The
16074                         key will be filled in at connect time by calling
16075                         nm_dbus_get_user_key_for_network()
16076
16077         * src/NetworkManagerDevice.c
16078                 - (nm_device_wireless_configure): update for "new_key" param to
16079                         nm_dbus_get_user_key_for_network().  We initially set new_key
16080                         to FALSE to see if we have a stored key in the info-daemon, but
16081                         if the connection is unsuccessful at this stage we request a
16082                         new one
16083
16084 2005-08-17  Dan Williams  <dcbw@redhat.com>
16085
16086         * gnome/applet/icons/nm-no-connection.png
16087           gnome/applet/icons/nm-device-wired.png
16088                 - Use Diana's new RJ45 connector icons
16089
16090 2005-08-17  Dan Williams  <dcbw@redhat.com>
16091
16092         * src/NetworkManagerPolicy.c
16093                 - (nm_policy_device_change_check): clarify switching rules if
16094                         both new and old devices are valid; mainly, don't switch
16095                         away from user-requested wireless connection back to a wired
16096                         one
16097
16098 2005-08-17  Dan Williams  <dcbw@redhat.com>
16099
16100         * gnome/applet/Makefile.am
16101                 - Relocate the applet to /usr/bin since it is no longer
16102                         executed by anything, but directly by the user
16103
16104 2005-08-17  Dan Williams  <dcbw@redhat.com>
16105
16106         Patch from Bill Moss <bmoss@clemson.edu>
16107
16108         * gnome/applet/applet-dbus-info.[ch]
16109                 - (nmi_save_network_info): save timestamp for network if it
16110                         was a change requested by the user
16111                 - (nmi_dbus_update_network_info): get user_requested from dbus
16112                         message and pass to nmi_save_network_info()
16113
16114         * gnome/applet/applet.c
16115                 - (nmwa_update_network_timestamp): remove
16116                 - (nmwa_menu_item_activate): don't set timestamp on networks
16117                         here, only after a successful connect in nmi_save_network_info()
16118
16119         * src/NetworkManagerDbus.[ch]
16120                 - (nm_dbus_update_network_info): pass user_requested into the 
16121                         dbus message
16122
16123         * src/NetworkManagerPolicy.c
16124                 - (nm_policy_activation_finish): pass user_requested to
16125                         nm_dbus_update_network_info()
16126
16127 2005-08-16  Robert Love  <rml@novell.com>
16128
16129         * gnome/applet/applet.c: Better "Dial Up" menu item.
16130
16131 2005-08-16  Robert Love  <rml@novell.com>
16132
16133         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16134           "Connection Information" menu item.
16135
16136 2005-08-16  Dan Williams  <dcbw@redhat.com>
16137
16138         Patch from j@bootlab.org
16139         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16140
16141         * configure.in: allow specifying the path to dhcdbd
16142
16143 2005-08-16  Robert Love  <rml@novell.com>
16144
16145         Patch from j@bootlab.org
16146         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16147           src/backends/interface_parser.h: Debian dialup support.
16148
16149 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16150
16151         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16152         * gnome/applet/applet.c: Add some mnemonics for VPNC
16153
16154         * vpn-daemons/.cvsignore: fix this up a little bit
16155
16156 2005-08-16  Robert Love  <rml@novell.com>
16157
16158         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16159           support.
16160
16161 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16162
16163         * gnome/applet/applet.c: Split markup out of translatable strings
16164         and clean up logic a little bit.  (fixes #309012)
16165
16166 2005-08-15  Christopher Aillon  <caillon@redhat.com>
16167
16168         * gnome/vpn-properties/nm-vpn-properties.c:
16169         * gnome/vpn-properties/nm-vpn-ui-interface.h:
16170         * vpn-daemons/vpnc/properties/nm-vpnc.c:
16171         Makeshift fix to remove newlines from translatable strings.
16172         Note that we now return an allocated string, so callers of
16173         get_confirmation_details () must now call g_free () on the
16174         result. (fixes #309033).
16175
16176 2005-08-12  Robert Love  <rml@novell.com>
16177
16178         * gnome/applet/applet-dbus.c: remove newlines from translatable
16179           strings--not needed here anyway. (fix b.g.o #309011)
16180         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16181
16182 2005-08-11  Robert Love  <rml@novell.com>
16183
16184         * gnome/applet/applet.c: mark string as translatable.
16185
16186 2005-08-11  Robert Love  <rml@novell.com>
16187
16188         * initscript/SUSE/networkmanager: update.
16189
16190 2005-08-11  Dan Williams  <dcbw@redhat.com>
16191
16192         * src/nm-dhcp-manager.c
16193                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16194                         an gateway returned from DHCP, try to use the address of the DHCP
16195                         server as the gateway instead.  Found by Ralf Ertzinger.
16196
16197 2005-08-10  Robert Love  <rml@novell.com>
16198
16199         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16200           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16201
16202 2005-08-10  Dan Williams  <dcbw@redhat.com>
16203
16204         Patch from Bill Moss <bmoss@clemson.edu>
16205         * Consolidate writes of access point information updates to the info daemon
16206                 so that we only do it when the connection to the access point was
16207                 successful.  Also consolidates updates to GConf in the Gnome applet.
16208
16209         * src/nm-netlink-monitor.c
16210                 - Silence compile warning when calling g_object_new()
16211
16212 2005-08-08  Dan Williams  <dcbw@redhat.com>
16213
16214         Patch from Steev <steev@steev.net>:
16215         * src/backends/NetworkManagerGentoo.c
16216                 - Stub new dialup backend functions
16217
16218 2005-08-08  Dan Williams  <dcbw@redhat.com>
16219
16220         Patch from Colin Slater:
16221         * src/backends/NetworkManagerGentoo.c
16222                 - (nm_system_update_dns): Fix exit status check for restarting
16223                         nscd
16224
16225 2005-08-05  Robert Love  <rml@novell.com>
16226
16227         * NetworkManager.h,
16228           gnome/applet/applet-dbus-devices.c,
16229           gnome/applet/applet-dbus-devices.h,
16230           gnome/applet/applet-dbus.c,
16231           gnome/applet/applet.c,
16232           gnome/applet/applet.h,
16233           src/NetworkManager.c,
16234           src/NetworkManagerMain.h,
16235           src/NetworkManagerSystem.h,
16236           src/backends/NetworkManagerRedHat.c,
16237           src/backends/NetworkManagerSuSE.c,
16238           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16239
16240 2005-08-05  Robert Love  <rml@novell.com>
16241
16242         * gnome/applet/other-network-dialog.c: default the adhoc network to the
16243           machine's hostname to make adhoc creation idiot-proof.
16244
16245 2005-08-04  Robert Love  <rml@novell.com>
16246
16247         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16248           freed.
16249
16250 2005-08-04  Dan Williams  <dcbw@redhat.com>
16251
16252         * gnome/applet/applet-dbus-info.c
16253           gnome/applet/applet-dbus-info.h
16254                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16255                         to store key, key type, and auth method rather than just auth method
16256                 - (nmi_dbus_update_network_info): new function
16257                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16258
16259         * gnome/applet/passphrase-dialog.c
16260                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16261                         of saving the info ourselves
16262
16263         * gnome/libnm_glib/libnm_glib.c
16264                 - Remove the stupid version check for dbus
16265
16266         * src/NetworkManagerAP.c
16267           src/NetworkManagerAP.h
16268                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16269
16270         * src/NetworkManagerDbus.c
16271           src/NetworkManagerDbus.h
16272                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16273                         more than just the auth method
16274
16275         * src/NetworkManagerDevice.c
16276                 - Update network info at the appropriate times
16277
16278 2005-07-29  Ray Strode  <rstrode@redhat.com>
16279
16280         * src/NetworkManager.c (nm_info_handler): don't use input as format
16281         string (Spotted by Ian Jackson).
16282
16283 2005-07-27  Dan Williams  <dcbw@redhat.com>
16284
16285         * src/nm-dbus-nm.c
16286           src/nm-dbus-net.c
16287                 - Random cleanups of spacing
16288
16289         * gnome/applet/applet.h
16290           gnome/applet/other-network-dialog.c
16291           gnome/applet/passphrase-dialog.c
16292                 - Conslidate usage of NMWAEncryptionKeyTypes enum
16293
16294         Patch from Bill Moss:
16295                 - Make Other Wireless Networks work again with encryption keys
16296
16297 2005-07-26  Dan Williams  <dcbw@redhat.com>
16298
16299         Patch from Steev <steev@steev.net>:
16300         * src/backends/NetworkManagerGentoo.c
16301           src/backends/Makefile.am
16302                 - Fix up Gentoo backend
16303
16304 2005-07-26  Robert Love  <rml@novell.com>
16305
16306         * src/backends/NetworkManagerSuSE.c: misc. cleanup
16307
16308 2005-07-25  Robert Love  <rml@novell.com>
16309
16310         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16311           in the same group as the wireless networks, since they are all
16312           mutually exclusive.
16313
16314 2005-07-24  Ray Strode  <rstrode@redhat.com>
16315
16316         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
16317         remove unneeded NULL arg from g_object_new().  Any
16318         warnings caused by not having the extra NULL are just a
16319         result of a bug in glib 2.7.0 - 2.7.2.
16320
16321 2005-07-22  Robert Love  <rml@novell.com>
16322
16323         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16324
16325 2005-07-22  Robert Love  <rml@novell.com>
16326
16327         * src/nm-netlink-monitor.c: g_object_new() needs at least three
16328           parameters (gcc 4.0.2 warning fix).
16329
16330 2005-07-18  Robert Love  <rml@novell.com>
16331
16332         Suggested by Aaron Bockover (abockover@novell.com)
16333         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16334           s/Ascii/ASCII
16335         * gnome/applet/passphrase-dialog.c: ditto
16336         * gnome/applet/wireless-applet.glade: ditto
16337
16338 2005-07-13  Dan Williams  <dcbw@redhat.com>
16339
16340         Patch from Ray Strode <halfline@gmail.com>
16341         * vpn-daemons/vpnc/nm-vpnc-service.c
16342                 - Don't let vpnc daemonize, fixes some races with PID file reading
16343
16344 2005-07-13  Dan Williams  <dcbw@redhat.com>
16345
16346         Patch from Ray Strode <halfline@gmail.com>
16347         * Random cleanups for strict CFLAGS
16348
16349 2005-07-07  Dan Williams  <dcbw@redhat.com>
16350
16351         Patch from Derek Atkins <warlord@MIT.EDU>
16352         * src/nm-dbus-net.c:
16353                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16354
16355 2005-07-07  Dan Williams  <dcbw@redhat.com>
16356
16357         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16358         * src/backends/NetworkManagerGentoo.c
16359                 - Gentoo backend Static IP nameserver fixes
16360                 - General Gentoo backend goodness
16361
16362 2005-07-07  Dan Williams  <dcbw@redhat.com>
16363
16364         Patch from Bastien Nocera:
16365         * gnome/applet/applet.c
16366                 - Fix up error reporting when icons or glade files are missing
16367
16368 2005-07-07  Robert Love  <rml@novell.com>
16369
16370         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16371           are not any VPN connections above it.
16372
16373 2005-07-07  Robert Love  <rml@novell.com>
16374
16375         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16376
16377 2005-07-05  Robert Love  <rml@novell.com>
16378
16379         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16380           zero.
16381
16382 2005-07-05  Robert Love  <rml@novell.com>
16383
16384         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16385           on wired or unencrypted wireless.
16386
16387 2005-07-01  Robert Love  <rml@novell.com>
16388
16389         * src/NetworkManagerSystem.c: Print the error via strerror().
16390
16391 2005-06-30  Robert Love  <rml@novell.com>
16392
16393         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16394           then exit if the glade file is not found.  currently the application
16395           just hangs.
16396
16397 2005-06-30  Robert Love  <rml@novell.com>
16398
16399         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16400           explicitly up all interfaces on wake from sleep.
16401
16402 2005-06-30  Robert Love  <rml@novell.com>
16403
16404         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16405           with information about the currently active connection.
16406         * gnome/applet/applet.h: (ditto)
16407         * gnome/applet/wireless-applet.glade: (ditto), new file
16408
16409 2005-06-30  Robert Love  <rml@novell.com>
16410
16411         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16412         * src/nm-dbus-nm.c: print when we sleep and wake up.
16413         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16414         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16415           in /sbin unless D-BUS is, folks).
16416         * README: update to reflect nm-applet replacing NetworkManagerInfo.
16417
16418 2005-06-27  Robert Love  <rml@novell.com>
16419
16420         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16421           case.
16422
16423 2005-06-27  Robert Love  <rml@novell.com>
16424
16425         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16426           items radios.
16427
16428 2005-06-26  Robert Love  <rml@novell.com>
16429
16430         * src/NetworkManagerDevice.c: be specific about which device in
16431           nm_info() message.
16432
16433 2005-06-23  Adam Weinberger  <adamw@gnome.org>
16434
16435         * src/nm-netlink-monitor.c: correct spelling error.
16436
16437 2005-06-23  Robert Love  <rml@novell.com>
16438
16439         * gnome/applet/applet-dbus-info.c: gnome keyring support!
16440         * gnome/applet/passphrase-dialog.c: more of that keyring!
16441
16442 2005-06-23  Robert Love  <rml@novell.com>
16443
16444         * configure.in: remove extraneous GNOMEKEYRING directives.
16445         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16446         * gnome/applet/applet.c: nmwa_icons_init: make style local.
16447         * gnome/applet/passphrase-dialog.c: whitespace.
16448
16449 2005-06-23  Robert Love  <rml@novell.com>
16450
16451         * src/NetworkManagerDevice.c: division in assignment was flipped.
16452
16453 2005-06-23  David Zeuthen  <david@fubar.dk>
16454
16455         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16456         signal to the child to indicate that we got what we wanted when we
16457         see two new-lines right after each other.
16458         (nmwa_vpn_request_password): Pass a structure with several members
16459         instead of just the passwords
16460
16461 2005-06-23  Dan Williams <dcbw@redhat.com>
16462
16463         * src/NetworkManager.c
16464           src/NetworkManagerMain.h
16465                 - (nm_get_hal_ctx): new function, move Hal initialization code here
16466                 - (nm_hal_init): new function, init libhal context then add devices
16467                 - (nm_hal_deinit): new function, clean up libhal context
16468                 - (nm_data_free): Move Hal cleanup here
16469                 - (main): check whether Hal is running, and if so, get a list of
16470                         network devices from it
16471
16472         * src/NetworkManagerDbus.c
16473                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16474                         and when it appears, get a list of network devices from it.  If
16475                         Hal goes away, clean up the libhal context
16476
16477 2005-06-22  Robert Love  <rml@novell.com>
16478
16479         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16480           permissions of scripts before executing.
16481
16482 2005-06-21  Robert Love  <rml@novell.com>
16483
16484         * initscript/SUSE/networkmanager: update.
16485         * src/backends/NetworkManagerSuSE.c: cleanup.
16486
16487 2005-06-21  Robert Love <rml@novell.com>
16488
16489         * gnome/applet/applet.c: use menu mnemonics.
16490         * gnome/applet/menu-items.c: (ditto)
16491
16492 2005-06-21  Robert Love  <rml@novell.com>
16493
16494         * applet/applet-dbus-devices.c: mark non-static functions static.
16495         * applet/applet-dbus-vpn.c: (ditto)
16496         * applet/applet.c: (ditto)
16497         * applet/nm-device.h: (ditto)
16498         * applet/other-network-dialog.c: (ditto)
16499         * applet/passphrase-dialog.c: (ditto)
16500         * NetworkManager.c: (ditto)
16501         * NetworkManagerDbus.c: (ditto)
16502         * NetworkManagerDevice.c: (ditto)
16503         * NetworkManagerPolicy.c: (ditto)
16504         * NetworkManagerUtils.c: (ditto)
16505         * NetworkManagerWireless.c: (ditto)
16506         * NetworkManagerWireless.h: (ditto)
16507         * nm-netlink-monitor.c: (ditto)
16508         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16509         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16510         * autoip.c: include autoip.h.
16511         * autoip.h: new file.  define get_autoip().
16512         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16513         * NetworkManagerDbus.h: remove duplicate definitions.
16514
16515 2005-06-20  Robert Love  <rml@novell.com>
16516
16517         * Makefile.am: Add missing intltool-foo.in generated files to
16518           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16519           with the start of stuff to cleanup on 'distclea'.
16520         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16521           stuff right and 'distcheck' works.
16522         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16523           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16524           Makefile.am for each.  And systray/Makefile needs to be redone.
16525
16526 2005-06-19  Dan Williams <dcbw@redhat.com>
16527
16528         * src/NetworkManagerDevice.c
16529         - (nm_device_wireless_process_scan_results): scan every 20s when
16530           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16531
16532 2005-06-19  Dan Williams <dcbw@redhat.com>
16533
16534         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16535
16536 2005-06-18  Ray Strode <rstrode@redhat.com>
16537
16538         * src/nm-netlink-monitor.c 
16539         (nm_netlink_monitor_event_handler): check for the presence
16540         of either error condition not both. 
16541         
16542         (nm_netlink_monitor_error_handler): emit error signal if
16543         error occurs.
16544
16545         (nm_netlink_monitor_event_handler),
16546         (nm_netlink_monitor_error_handler),
16547         (nm_netlink_monitor_disconnect_handler): if an 
16548         assertion fails disconnect the event handler to prevent 
16549         infinite loops.
16550
16551         * src/nm-netlink-monitor.h: add new error condition
16552         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16553
16554 2005-06-18  Ray Strode <rstrode@redhat.com>
16555
16556         * src/nm-netlink-monitor.c 
16557         (nm_netlink_monitor_event_handler): remove bogus < 0
16558         check on unsigned value and return early if the kernel
16559         didn't send any bytes.
16560
16561 2005-06-17  Robert Love  <rml@novell.com>
16562
16563         * initscript/SUSE/networkmanager: Change the Provides and default
16564         run levels
16565
16566 2005-06-16  Dan Williams <dcbw@redhat.com>
16567
16568         Patch from Robert Love:
16569         * gnome/applet/applet.c
16570                 - Beautify some applet menu item names
16571
16572 2005-06-17  David Zeuthen  <davidz@redhat.com>
16573
16574         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16575         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16576         Also add new methods can_export, import_file and export.
16577
16578         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16579         to the main UI
16580
16581         * gnome/vpn-properties/nm-vpn-properties.c:
16582         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16583         nm-vpn-ui-interface.h.
16584         (update_edit_del_sensitivity): Also update "Export" sensitivity
16585         (add_vpn_connection): Also add new SVC_NAME column
16586         (import_settings): New function
16587         (retrieve_data_from_selected_connection): New function
16588         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16589         this function
16590         (export_cb): New function
16591         (init_app): Also setup the "export" widget
16592         (main): Support the --import-service and --import-file commandline
16593         arguments
16594
16595         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16596         D-BUS 0.34
16597
16598 2005-06-16  Dan Williams <dcbw@redhat.com>
16599
16600         Patch from Robert Love:
16601         * gnome/applet/menu-items.c
16602                 - (network_menu_item_new): pass -1 as wireless network
16603                         menu items height size request rather than ascent / 2
16604
16605 2005-06-16  Dan Williams <dcbw@redhat.com>
16606
16607         * Clean up wording in Wireless Scan Methods menu items and constants
16608
16609 2005-06-16  Robert Love  <rml@novell.com>
16610
16611         * po/POTFILES.in
16612                 - remove gtkcell* files
16613
16614 2005-06-15  Dan Williams <dcbw@redhat.com>
16615
16616         Patch from Robert Love: make the applet stetic
16617
16618         * gnome/applet/Makefile.am
16619                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16620
16621         * gnome/applet/gtkcellview.h
16622           gnome/applet/gtkcellview.c
16623           gnome/applet/gtkcellrendererprogress.h
16624           gnome/applet/gtkcellrendererprogress.c
16625                 - Removed
16626
16627         * gnome/applet/menu-items.c
16628                 - Progress bars are 5:1 size ratio
16629                 - Use GTK progress bars rather than internal ones
16630
16631 2005-06-15  Dan Williams <dcbw@redhat.com>
16632
16633         Patch from Robert Love:
16634         * initscript/SUSE/networkmanager
16635                 - Fix typo
16636
16637 2005-06-15  Dan Williams <dcbw@redhat.com>
16638
16639         * src/backends/NetworkManagerSuSE.c
16640           src/backends/NetworkManagerRedHat.c
16641           src/backends/NetworkManagerDebian.c
16642                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16643
16644 2005-06-15  Dan Williams <dcbw@redhat.com>
16645
16646         * src/backends/NetworkManagerDebian.c
16647                 - Add nm_system_device_get_use_dhcp() to debian backend
16648
16649         Patch from Kay Sievers:
16650         * src/backends/NetworkManagerSuSE.c
16651                 - Update debian backend for static IP nameservers
16652
16653         * src/NetworkManagerDevice.c
16654                 - Actually set the device to use static IP or DHCP rather
16655                         than always DHCP
16656
16657 2005-06-15  Dan Williams <dcbw@redhat.com>
16658
16659         Patch from Thom May:
16660         * src/backends/NetworkManagerDebian.c
16661                 - Update debian backend for static IP nameservers
16662
16663 2005-06-15  Dan Williams <dcbw@redhat.com>
16664
16665         Patches from Robert Love:
16666         * gnome/applet/wireless-applet.glade
16667                 - Tighten up wording
16668
16669         * src/NetworkManagerDevice.c
16670                 - Remove misplaced ';'
16671
16672         * configure.in
16673           initscript/Makefile.am
16674           initscript/SUSE/Makefile.am
16675           initscript/SUSE/networkmanager
16676                 - Add SUSE initscript
16677
16678 2005-06-12  David Zeuthen  <davidz@redhat.com>
16679
16680         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16681
16682         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16683
16684         * gnome/vpn-properties/nm-vpn-properties.c: New file
16685
16686         * gnome/vpn-properties/Makefile.am: New file
16687
16688         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16689         array of passwords
16690
16691         * src/vpn-manager/nm-vpn-manager.c
16692         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16693         instead of just a single one
16694
16695         * src/vpn-manager/nm-dbus-vpn.c:
16696         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16697         here
16698         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16699
16700         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16701         Change the interface here to give a list of passwords. Also, don't
16702         require username, but do require service
16703
16704         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16705         the binary for the auth-dialog and use that instead of putting up a
16706         dialog asking for a single password
16707
16708         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16709         however do remember the service
16710
16711         * gnome/applet/main.c (main): Setup i18n
16712
16713         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16714         connection to '%s'" to the tooltip if we are connected using VPN
16715         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16716         key to determine whether we the auth-dialog needs to
16717         reprompt. Also cope with the fact that the auth-dialog now returns
16718         an array of passwords.
16719         (nmwa_menu_configure_vpn_item_activate): New handler for
16720         "Configure VPN..." menu item
16721         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16722         (is_vpn_available): New function to determine if we got any
16723         NM-compatible VPN software installed
16724         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16725         items only if we have NM-compatible VPN software installed
16726         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16727         logic for detecting when VPN connections are removed
16728
16729         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16730         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16731         since these are defined elsewhere
16732
16733         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16734         function used to keep track of whether the last attempt succeded
16735         (nmwa_dbus_filter): Update last_attempt according to whether the
16736         VPN connection could be established or not
16737
16738         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16739         Change prototype to take an array of passwords, not just a single
16740         password
16741
16742         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16743         update service, not user
16744         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16745         dbus_active_vpn_name is not NULL before using it
16746         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16747         string array instead of assuming a single password
16748
16749         * gnome/applet/applet-dbus-info.c:
16750         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16751         user name; don't read from gconf
16752
16753         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16754         VPN_NAME_FILES_DIR
16755
16756         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16757
16758         * configure.in: Add checks for gmodule-2.0.
16759         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16760         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16761         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16762         for details
16763
16764         * vpn-daemons/Makefile.am: Removed
16765
16766         * vpn-daemons/README: New file to describe extensions points for VPN
16767         software
16768
16769 2005-06-10  Dan Williams <dcbw@redhat.com>
16770
16771         * src/backends/NetworkManagerRedHat.c
16772                 - (get_current_profile_name): new function, grab current network profile name from
16773                         /etc/sysconfig/network
16774                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16775                         update an IP4 Config structure's settings from it
16776                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16777                         get DNS info from current network profile
16778
16779 2005-06-09  Dan Williams <dcbw@redhat.com>
16780
16781         Patch from Robert Love:
16782         * src/NetworkManagerDevice.c
16783           src/NetworkManagerUtils.c
16784                 - 64-bit build fixes
16785
16786 2005-06-09  Dan Williams <dcbw@redhat.com>
16787
16788         Patch from Kay Sievers and Robert Love:
16789         * configure.in
16790           src/backends/Makefile.am
16791           src/backends/NetworkManagerSuSE.c
16792                 - Add SuSE support
16793
16794 2005-06-09  Dan Williams <dcbw@redhat.com>
16795
16796         * NetworkManager.h
16797                 - Add NMWirelessScanMethod enum for scan methods
16798
16799         * gnome/applet/applet-dbus-devices.c
16800                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16801                 - (nmwa_dbus_update_scanning_enabled): remove
16802                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16803                         since it got removed
16804                 - (nmwa_dbus_enable_scanning): remove
16805
16806         * gnome/applet/applet-dbus-info.c
16807                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16808                         update the wireless scanning method from NMI
16809                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16810                         method value to NetworkManager
16811                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16812
16813         * gnome/applet/applet-dbus-info.h
16814                 - Add prototype for nmi_dbus_signal_update_scan_method
16815
16816         * gnome/applet/applet.c
16817                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16818                         Wireless Scanning menu based on current wireless scan method
16819                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16820                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16821                         and update our menu items to make sure the right one is checked
16822                 - (nmwa_set_scanning_enabled_cb): remove
16823                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16824                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16825                         Scanning menu item
16826                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16827                         from GConf
16828                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16829                         so we get notified of preference values too
16830                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16831
16832         * gnome/applet/applet.h
16833                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16834                 - Add wireless scan method member to applet data
16835                 - Remove pause_scanning_item, add Wireless Scanning submenu
16836
16837         * src/NetworkManager.c
16838                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16839                 - (main): grab scanning method from NMI if we can
16840
16841         * src/NetworkManagerDbus.c
16842                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16843                         nm_dbus_update_wireless_scan_method()
16844                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16845                         from NMI
16846                 - (nm_dbus_nmi_is_running): redundant function, removed
16847                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16848                         when NMI comes back
16849
16850         * src/NetworkManagerDevice.c
16851                 - (nm_device_is_activated): return TRUE if the device is activated
16852                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16853                         and we are activated
16854
16855         * src/nm-dbus-nm.c
16856                 - (nm_dbus_nm_set_scanning_enabled): removed
16857                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16858                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16859
16860 2005-06-09  Dan Williams <dcbw@redhat.com>
16861
16862         * NetworkManager.h
16863           src/vpn-manager/nm-vpn-service.c
16864                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16865
16866 2005-05-27  Dan Williams <dcbw@redhat.com>
16867
16868         * vpn-daemons/vpnc/nm-vpnc-service.c
16869                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16870                         Should fix the bug where the VPN connection terminates the first time.
16871
16872 2005-05-20  Dan Williams <dcbw@redhat.com>
16873
16874         * NetworkManager.h
16875                 - Differentiate VPN config signals between bad VPN config options
16876                         and bad IP config
16877
16878         * gnome/applet/applet-dbus-info.h
16879                 - Add prototypes for wireless network and vpn connection update functions
16880
16881         * gnome/applet/applet-dbus.c
16882                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16883
16884         * gnome/applet/applet.c
16885                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16886                         error signals
16887                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16888                         propogation to NetworkManager
16889                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16890                         notify propogation to NetworkManager
16891
16892         * src/NetworkManagerDbus.c
16893                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16894                         are updating so a network can be removed from it if necessary
16895
16896         * src/vpn-manager/nm-vpn-manager.c
16897                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16898
16899         * vpn-daemons/vpnc/nm-vpnc-service.c
16900                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16901                 - (nm_vpnc_dbus_signal_launch_failed): remove
16902                 - (nm_vpnc_dbus_signal_connect_failed): remove
16903                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16904                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16905                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16906                         for new generalized error signal function, remove config file stuff
16907                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16908                         we can write configuration options to it
16909                 - (nm_vpnc_config_file_generate): removed
16910                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16911                 - (nm_vpnc_config_options_validate): validate the config options we receive
16912                         from NetworkManager to block potential exploits
16913                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16914                         starting vpnc
16915                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16916                         to NetworkManager
16917
16918 2005-05-16  Dan Williams  <dcbw@redhat.com>
16919
16920         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16921                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16922                         is not "connect"
16923
16924 2005-05-16  Dan Williams  <dcbw@redhat.com>
16925
16926         Patch from Tomislav Vujec <tvujec@redhat.com>
16927         * gnome/applet/applet-dbus-info.c
16928                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16929                         GConf and pass them to NetworkManager.  New key is 'routes' under
16930                         the VPN connection, and should be a string list
16931
16932         * src/NetworkManagerSystem.c
16933                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16934                         set them on the device when we set the rest of the VPN config.  Ensure
16935                         they are in the correct format since they are passed directly to the
16936                         command line.
16937
16938         * src/backends/NetworkManagerRedHat.c
16939           src/backends/NetworkManagerDebian.c
16940                 - (nm_system_device_add_route_via_device_with_iface): new function
16941
16942         * src/vpn-manager/nm-dbus-vpn.c
16943                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16944
16945         * src/vpn-manager/nm-vpn-manager.c
16946                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16947                         them into the IP4 config functions
16948
16949 2005-05-15  Dan Williams  <dcbw@redhat.com>
16950
16951         From Filip Miletic:
16952         * po/sr.po
16953           po/sr@Latn.po
16954           configure.in
16955                 - Serbian translation added
16956
16957 2005-05-15  Dan Williams  <dcbw@redhat.com>
16958
16959         * dispatcher-daemon/NetworkManagerDispatcher.c
16960                 - (main): sync arguments with NetworkManager and the applet, now use
16961                         "--no-daemon" rather than "daemon=no"
16962                 - (nmd_print_usage): Fix script path in usage message
16963
16964 2005-05-15  Dan Williams  <dcbw@redhat.com>
16965
16966         * src/NetworkManagerDevice.[ch]
16967           src/NetworkManagerPolicy.c
16968           src/NetworkManager.c
16969           src/nm-dbus-nm.c
16970                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
16971                         longer send the DeviceNoLongerActive signal unconditionally, but only
16972                         when the device is actually active.
16973
16974         * dispatcher-daemon/NetworkManagerDispatcher.c
16975                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16976                         and simplify the logic
16977                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16978                         we free it later on
16979
16980         * initscript/RedHat/Makefile.am
16981           initscript/RedHat/NetworkManagerDispatcher
16982                 - Add initscript for NetworkManagerDispatcher
16983
16984
16985         Patch from Bill Moss:
16986         * dispatcher-daemon/NetworkManagerDispatcher.c
16987                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16988
16989         * src/NetworkManagerDbus.c
16990                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
16991                         and DeviceNowActive gets signaled, then the device has a new IP address
16992                         anyway.  There's no need for a separate signal.
16993
16994         * src/NetworkManagerDevice.c
16995                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16996
16997         * src/NetworkManagerPolicy.c
16998                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16999                         activates successfully.  This kind of went missing when I reworked the
17000                         activation code.
17001
17002 2005-05-15  Dan Williams  <dcbw@redhat.com>
17003
17004         * configure.in
17005                 - Check for dhcdbd and error if its not found
17006
17007         * src/dhcp-manager/Makefile.am
17008           src/dhcp-manager/nm-dhcp-manager.c
17009                 - Use path to dhcdbd that configure found
17010
17011 2005-05-14  Dan Williams  <dcbw@redhat.com>
17012
17013         * gnome/applet/nm-device.c
17014                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
17015                         sort wireless networks alphabetically
17016
17017         * gnome/applet/applet-dbus-devices.c
17018                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
17019                         before copying them over to the GUI
17020
17021 2005-05-14  Dan Williams  <dcbw@redhat.com>
17022
17023         * src/NetworkManager.c
17024                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
17025                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
17026                         the device list, as does nm_get_active_device() which is called from
17027                         nm_vpn_manager_deactivate_vpn_connection().
17028
17029 2005-05-14  Dan Williams  <dcbw@redhat.com>
17030
17031         * NetworkManager.h
17032                 - Add signals for VPN Launch and Connect failures
17033
17034         * gnome/applet/applet-dbus.c
17035                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
17036
17037         * gnome/applet/applet.c
17038                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
17039                         function to handle all VPN failure messages
17040                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
17041                         function to hanlde all VPN failure  messages
17042                 - (show_warning_dialog): work around focus-stealing prevention
17043
17044         * gnome/applet/other-network-dialog.c
17045           gnome/applet/passphrase-dialog.c
17046                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
17047                         problem where it never enabled for ASCII Key and Hex Key types
17048
17049         * gnome/applet/wireless-applet.glade
17050                 - Add window title to Other Wireless Network Dialog
17051
17052         * src/vpn-manager/nm-dbus-vpn.c
17053                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17054                         function to handle all VPN failure messages
17055
17056         * src/vpn-manager/nm-vpn-manager.c
17057                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17058
17059         * vpn-daemons/vpnc/nm-vpnc-service.c
17060                 - (nm_vpnc_dbus_signal_launch_failed): new function
17061                 - (nm_vpnc_dbus_signal_connect_failed): new function
17062                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17063                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17064                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17065                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17066
17067 2005-05-11  Dan Williams  <dcbw@redhat.com>
17068
17069         * vpn-daemons/vpnc/nm-vpnc-service.c
17070                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17071                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17072                         file exists before trying to write it out.
17073
17074 2005-05-10  Dan Williams  <dcbw@redhat.com>
17075
17076     * gnome/applet/applet-dbus-device.c
17077         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
17078             prevented just entering ESSID and leaving key and key type up to
17079             NetworkManager (which should have them already cached)
17080
17081 2005-05-08  Dan Williams  <dcbw@redhat.com>
17082
17083         * src/NetworkManagerPolicy.c
17084                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17085                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17086                         fix a situation where NM is told to terminate and the device stops activation,
17087                         but the main thread isn't aware of that because it would never have run
17088                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17089                         had already quit.
17090
17091         * src/NetworkManagerDevice.c
17092                 - (nm_device_probe_wired_link_state): cosmetic fixes
17093                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17094                         we've failed to activate or been canceled.
17095                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17096
17097 2005-05-08  Dan Williams  <dcbw@redhat.com>
17098
17099         * src/NetworkManagerWireless.c
17100                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17101                         value of WEXT quality structures, and add a debug message when we cannot
17102                         determine any quality % at all
17103
17104 2005-05-08  Dan Williams  <dcbw@redhat.com>
17105
17106         * src/dhcp-manager/nm-dhcp-manager.c
17107                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17108                         it goes down.
17109
17110 2005-05-06  Dan Williams  <dcbw@redhat.com>
17111
17112         * gnome/applet/applet-dbus-device.c
17113           gnome/applet/applet-dbus-info.c
17114           gnome/applet/applet-dbus.c
17115           gnome/applet/applet.c
17116           gnome/applet/applet.h
17117                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17118
17119         * gnome/applet/applet-dbus.c
17120                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17121                         so we notice when wired device's carriers come back on.  Should
17122                         fix issue with wired devices being grayed out even if the cable
17123                         is in, for devices that support carrier detection.
17124
17125         * gnome/applet/applet.c
17126                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17127                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17128                         tooltip message
17129                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17130                         Fix situation where applet wouldn't respond to menu selections
17131
17132         * src/NetworkManager.c
17133           src/NetworkManagerDevice.c
17134           src/NetworkManagerDbus.c
17135           src/NetworkManagerDbus.h
17136                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17137
17138         * src/NetworkManagerDbus.c
17139                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17140                         Remove, no longer used or relevant
17141                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17142                 - (nm_dbus_schedule_device_status_change_signal): add
17143
17144         * src/NetworkManagerDevice.c
17145                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17146                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17147                         ie don't deactivate them unless explicitly told to by the user.  Also send
17148                         CARRIER_OFF / CARRIER_ON signals when link changes
17149                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17150                         Don't print error message when device is no longer around
17151                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17152                         not just during activation
17153
17154         * src/NetworkManagerPolicy.c
17155                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17156                         auto-device-selection.
17157                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17158
17159         * src/NetworkManagerSystem.c
17160                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17161                         is no longer present (Bill Moss)
17162
17163         * src/backends/shvar.c
17164                 - (svOpenFile): Open read-only to make SELinux happy
17165
17166         * src/backends/NetworkManagerRedHat.c
17167                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17168                         the path to the ifcfg-* files
17169
17170 2005-05-05  Dan Williams  <dcbw@redhat.com>
17171
17172         * Expose activation stages to NetworkManager clients, like the applet
17173         * Add Diana's progress icons to the applet, cued off NM activation stage
17174         * Use more descriptive tooltips, cued off NM activation stage
17175
17176 2005-05-05  Ray Strode  <rstrode@redhat.com>
17177
17178         * src/nm-netlink-monitor.c:
17179                 - Use clear_event_source instead of g_nullify_pointer() again.
17180
17181 2005-05-05  Dan Williams  <dcbw@redhat.com>
17182
17183         * gnome/applet/main.c
17184                 - Fix session management so the applet is actually managed now
17185
17186         * gnome/applet/passphrase-dialog.c
17187                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17188
17189 2005-05-05  Dan Williams  <dcbw@redhat.com>
17190
17191         Patch from Bill Moss:
17192         * gnome/libnm_glib/libnm_glib.c
17193                 - Fix for dbus-0.33
17194
17195 2005-05-05  Dan Williams  <dcbw@redhat.com>
17196
17197         Suggestion from Bill Moss:
17198         * src/NetworkManagerSystem.c
17199                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17200
17201
17202         * src/NetworkManager.c
17203                 - (nm_data_free): move destruction of the various managers after
17204                         release of device list, because deactivating and freeing a device
17205                         requires at least the named manager
17206                 - (nm_poll_and_update_wireless_link_state):
17207                   (nm_device_link_activated):
17208                   (nm_device_link_deactivated):
17209                         don't grab the device list lock when actually updating device
17210                         link status or strength, since nm_device_set_link_active()
17211                         needs to call nm_get_active_device(), which also locks the device list.
17212
17213         * src/NetworkManagerDevice.c
17214                 - (nm_device_set_link_active): if a device's link switches from off->on,
17215                         and it's wired, and the active device is wireless (or there is no
17216                         active device), activate the new device whose link just came on
17217                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17218                         my only calling the link to the current ap "failed" when more than 2
17219                         consecutive link checks have failed
17220
17221 2005-05-04  Dan Williams  <dcbw@redhat.com>
17222
17223         * src/NetworkManagerDevice.c
17224                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17225                         but let link_to_specific_ap() do the locking where it needs
17226
17227         Patch from Bill Moss:
17228         * src/NetworkManagerSystem.c
17229                 - Set MTU of VPN devices to 1412
17230
17231 2005-05-04  Dan Williams  <dcbw@redhat.com>
17232
17233         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17234
17235         * Fix some holes in device activation and retaining the currently connected
17236                 access point
17237
17238 2005-05-03  Dan Williams  <dcbw@redhat.com>
17239
17240         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
17241           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
17242           means you need dhcdbd, which you can get here (get the latest one):
17243
17244                 http://people.redhat.com/jvdias/dhcdbd/
17245
17246           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17247           interface as dhcdbd.
17248
17249         * Rewrite device activation to facilitate the new DHCP infrastructure and
17250           future improvements.  Its now "activation request" based, ie there is a single
17251           activation request composed of the device, access point, and other info which
17252           follows the entire activation process.  There are 5 stages of the activation
17253           process which correspond to:
17254
17255                 1) Device preparation
17256                 2) Device configuration (bring it up, set ESSID/Key/etc)
17257                 3) IP Config Start (fire off DHCP if we're using it)
17258                 4) IP Config Get (grab config from DHCP or static config files)
17259                 5) IP Config Commit (set device's IP address, DNS, etc)
17260
17261           Note that there is no longer a "scanning" step, since the access point must
17262           be known _before_ activation starts.  If the access point drops out or does
17263           not exist for some reason, the entire activation process fails and must be
17264           restarted for a different access point or device.
17265
17266         Patch from Bill Moss:
17267         * gnome/applet/applet.c
17268                 - Fix type of vpn_failure dialog -> vpn_banner dialog
17269
17270 2005-04-27  Dan Williams  <dcbw@redhat.com>
17271
17272         * gnome/applet/applet-dbus-vpn.c
17273           gnome/applet/applet.c
17274           gnome/applet/applet.h
17275                 - Fix up active VPN handling so that we reliably know when a VPN
17276                         connection has been deactivated
17277
17278         * src/vpn-manager/nm-vpn-manager.c
17279                 - Remove duplicate VPNConnectionChange signal
17280
17281 2005-04-27  Dan Williams  <dcbw@redhat.com>
17282
17283         Patch from Peter Jones:
17284         * Remove usage of varargs to fix crashes on PPC (RH #154336)
17285
17286         Patch from Bill Moss:
17287         * src/NetworkManagerSystem.c
17288                 - Fix checking of return value from ioctl()
17289
17290 2005-04-27  Dan Williams  <dcbw@redhat.com>
17291
17292         * Fix choosing of wireless networks and "Other wireless network..." from the applet
17293         * Warn and exit if icons cannot be found
17294
17295 2005-04-27  Dan Williams  <dcbw@redhat.com>
17296
17297         Patch from Tom Parker:
17298         * Update debian backend
17299
17300 2005-04-27  Dan Williams  <dcbw@redhat.com>
17301
17302         * Merge the applet and the info-daemon, and move the converged
17303                 applet under gnome/applet
17304         * Move libnm_glib to gnome/libnm_glib
17305         * Convert most dbus calls between the applet, info-daemon, and NM
17306                 into async calls
17307         * Fix a few things valgrind noticed
17308         * Make NM broadcast state more reliably
17309
17310 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
17311
17312         * configure.in: Added ne in ALL_LINGUAS
17313
17314 2005-04-15  Dan Williams  <dcbw@redhat.com>
17315
17316         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17317                 code for dbus 0.2x versions
17318
17319 2005-04-15  Dan Williams  <dcbw@redhat.com>
17320
17321         Patches from Tom Parker:
17322         - Fix memleaks
17323         - Join with worker thread rather than polling for its exit
17324
17325         Patch from Bill Moss:
17326         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17327
17328 2005-04-15  Dan Williams  <dcbw@redhat.com>
17329
17330         - Fixes to pass 'make distcheck'
17331
17332 2005-04-15  Dan Williams  <dcbw@redhat.com>
17333
17334         Initial VPN Support
17335                 - supports 'vpnc'
17336                 - reworks device IP configuration, backend files have changed and will need
17337                         to be updated for all distributions.  I will try to do what I can for
17338                         them, but I cannot test them.
17339
17340         - Move named directory to src/named-manager
17341         - Make backends directory self-contained
17342
17343 2005-04-06  Dan Williams  <dcbw@redhat.com>
17344
17345         Add debug code for socket/file descriptor leaks.  We register every socket
17346         that we open (except for stuff in dhcpcd/) for tracking, and print out the
17347         list of sockets that we forgot to close on shutdown.  This also consolidates
17348         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17349
17350 2005-04-06  Dan Williams  <dcbw@redhat.com>
17351
17352         * dhcpcd/dhcpcd.c
17353                 - (dhcp_interface_free): fix a file descriptor leak that may have
17354                         caused network drivers to not unload due to refcounts > 0
17355
17356 2005-04-04  Dan Williams  <dcbw@redhat.com>
17357
17358         * panel-applet/NMWirelessAppletDbus.c
17359                 - (nmwa_dbus_call_nm_method): remove some commented code
17360
17361         * src/NetworkManagerAPList.[ch]
17362                 - (nm_ap_list_remove_ap_by_essid): new function
17363
17364         * src/NetworkManagerDevice.c
17365                 - (nm_device_wireless_force_use): remove access points from the ignore list
17366                         when the user forces them
17367
17368         * src/nm-dbus-device.c
17369                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17370
17371 2005-04-04  Dan Williams  <dcbw@redhat.com>
17372
17373         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17374
17375 2005-04-04  Dan Williams  <dcbw@redhat.com>
17376
17377         * src/NetworkManagerDevice.c:
17378                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17379                         of only erroring after the second consecutive scan times out.  Also
17380                         don't exit when the card requires more time than we can give it, just
17381                         log the event and continue.
17382
17383 2005-04-01  Steve Murphy  <murf@e-tools.com>
17384
17385         * configure.in: Added "rw" to ALL_LINGUAS.
17386
17387 2005-04-01  Dan Williams <dcbw@redhat.com>
17388
17389         Perform scans during device activation, if needed.  Both activation 
17390         and scans run in the same GMainContext.  Therefore, if an access point
17391         is not found by the time the device starts activation, it will not
17392         be available until after activation.  We now try to scan during
17393         activation (in nm_wa_test) every 15s so that all available access
17394         points are more likely to be found and available for the activation
17395         procedure.
17396
17397         Also change nm_wireless_link_state_handle() to only update the "best"
17398         AP if we are not forcing a device and if we are not about to change
17399         state.  This attempts to work around a race when forcing a device,
17400         where the forced AP would get cleared out too soon by the link state
17401         checking timeout in the main thread, and the activation attempt with
17402         that AP would fail.
17403
17404 2005-04-01  Dan Williams <dcbw@redhat.com>
17405
17406         * po/POTFILES.in
17407                 - Update with new translatables
17408
17409 2005-03-31  Dan Williams <dcbw@redhat.com>
17410
17411         * panel-applet/NMWirelessAppletDbus.c
17412                 - Fix device names now that hal has changed device parenting for
17413                         network devices.
17414
17415 2005-03-31  Dan Williams <dcbw@redhat.com>
17416
17417         Tighten up handling of wireless devices that don't support wireless
17418         scanning (ie, Orinoco).  Due to restructuring of code, these devices
17419         hadn't been doing pseudo-scanning for a while either and would just
17420         spin waiting for an access point.  They are now manual devices where
17421         the user must choose the access point from the menu every time.  All
17422         "allowed" access points are listed in the applet's menu regardless
17423         of whether or not they can be seen by the card, since it can't scan
17424         anyway.
17425
17426         * src/NetworkManager.c
17427                 - (nm_wireless_link_state_handle): new function, but only update
17428                         the "best" ap for non-scanning devices when its not activating,
17429                         and when no device is being forced on the card
17430                 - (nm_link_state_monitor): split wireless link state handling out
17431                         into separate function
17432
17433         * src/NetworkManagerDevice.c
17434                 - (nm_device_copy_allowed_to_dev_list): new function
17435                 - (nm_device_new): populate non-scanning cards' AP lists with
17436                         access points from the "allowed" list
17437                 - (nm_device_new): don't start a scanning timeout for devices that
17438                         can't scan
17439                 - (nm_device_activation_schedule_finish): new parameter, should be
17440                         the AP that failed to be connected to, pass it on to the
17441                         activation finish function in NetworkManagerPolicy.c
17442                 - (nm_device_activate_wireless): don't ever try to get a new AP
17443                         for non-scanning devices, just fail.  The user must choose
17444                         a new access point manually.
17445                 - (nm_device_activate): grab the AP that failed connection and
17446                         pass it on
17447                 - (nm_device_update_best_ap): Clear the best AP if we don't have
17448                         a link to it, user must manually choose a new one
17449                 - (nm_device_do_pseudo_scan): remove function
17450                 - (nm_device_wireless_process_scan_results): remove bits for non-
17451                         scanning cards since they never get here
17452                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17453                         and fake the scan list for test devices a bit earlier
17454
17455         * src/NetworkManagerPolicy.c
17456                 - (nm_policy_activation_finish): use the failed_ap that we get
17457                         passed rather than getting the best_ap from the card, which
17458                         may have changed since we were scheduled
17459                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17460                         update their scan list directly from the allowed list when
17461                         we get updates to the allowed list from NetworkManagerInfo
17462
17463         * src/NetworkManagerPolicy.h
17464                 - New member for failed access point in NMActivationResult
17465
17466   -------------------------------------
17467
17468         Driver Notification patch: notifies the user when their driver
17469                 sucks.  Gives them the option to ignore further insertions
17470                 of the card that has the sucky driver.
17471
17472         * NetworkManager.h
17473                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17474                         enum and replace it with NO_CARRIER_DETECT and
17475                         NO_WIRELESS_SCAN
17476
17477         * panel-applet/NMWirelessApplet.[ch]
17478                 - Merge essid.glade -> wireless-applet.glade
17479                 - Implement the "Your driver sucks" notification dialog
17480
17481         * panel-applet/NMWirelessAppletDbus.c
17482                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17483                 - Grab hardware address for each device from NM too
17484                 - Check whether the driver for each device sucks or not whenever
17485                         a new device is noticed
17486
17487         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17488                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17489
17490         * src/NetworkManager.c
17491                 - Fix a double-unref on device removal
17492
17493         * src/NetworkManagerUtils.c
17494                 - Set appropriate driver support level on a device that doesn't
17495                         support scanning or carrier detection
17496
17497         * src/nm-dbus-device.c
17498                 - New "getHWAddress" dbus method on devices
17499                 - getSupportsCarrierDetect -> getDriverSupportLevel
17500
17501 2005-03-31  Dan Williams <dcbw@redhat.com>
17502
17503         * src/NetworkManagerDevice.c
17504                 - (nm_device_wireless_scan): Fix leak of scan results in some
17505                         instances
17506
17507 2005-03-29  Dan Williams <dcbw@redhat.com>
17508
17509         * src/NetworkManager.c
17510                 - (nm_poll_and_update_wireless_link_state): make code less indented
17511
17512         Patch from Bill Moss:
17513         * src/NetworkManager.c
17514                 - (nm_device_update_link_state): Update signal strength on wireless
17515                         devices every time we update link state too.
17516
17517 2005-03-29  Dan Williams <dcbw@redhat.com>
17518
17519         * src/NetworkManagerDevice.c
17520                 - (nm_device_set_essid): Work around Orinoco cards which need
17521                         extra time after setting the ESSID
17522
17523 2005-03-29  Dan Williams <dcbw@redhat.com>
17524
17525         * src/NetworkManagerDevice.c
17526                 - Merge one more bit of Peter Jones' completion patch
17527
17528 2005-03-29  Dan Williams <dcbw@redhat.com>
17529
17530         * src/NetworkManagerDevice.c
17531                 - (nm_device_force_use): Fix possible segfault
17532
17533 2005-03-29  Dan Williams <dcbw@redhat.com>
17534
17535         * src/NetworkManagerDevice.c
17536                 - Use iw_get_ext() where we should rather than iw_set_ext()
17537
17538 2005-03-29  Dan Williams <dcbw@redhat.com>
17539
17540         * src/NetworkManagerDevice.c
17541                 - (nm_device_set_up_down): remove check for unsupported devices
17542                         that caused NM to not bring devices up when they were
17543                         added to the device list.
17544
17545 2005-03-28  Dan Williams <dcbw@redhat.com>
17546
17547         * src/NetworkManagerDevice.c
17548                 - (mdio_read): Fix two bugs that caused all devices to fail
17549                         the MII carrier detection support checks
17550
17551 2005-03-26  Dan Williams <dcbw@redhat.com>
17552
17553         * src/NetworkManagerDevice.c
17554                 - (nm_device_wireless_scan): Remove duplicated scanning code
17555
17556 2005-03-25  Dan Williams <dcbw@redhat.com>
17557
17558         * panel-applet/NMWirelessApplet.c
17559                 - (nmwa_about_cb): Add some more contributors
17560                 - (nmwa_update_state): show the applet when there's no connection
17561                 - Enable the "Stop/Resume all wireless devices" option in the
17562                         context menu
17563                 - New "no connection" icon
17564
17565         * src/NetworkManager.c
17566                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17567                         wireless is disabled or we're asleep
17568
17569         * src/NetworkManagerDHCP.c
17570                 - Remove trailing "\n" on debug messages
17571
17572         * src/NetworkManagerDbus.c
17573                 - (nm_dbus_network_status_from_data): new state "asleep"
17574
17575         * src/NetworkManagerDevice.c
17576                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17577                         latency and wait times for most operations
17578                 - (nm_device_wireless_scan): Don't scan when asleep
17579
17580         * src/NetworkManagerPolicy.c
17581                 - (nm_policy_get_best_device): return no device when asleep
17582                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17583                         for all wireless devices on update, not just active device
17584
17585         * src/NetworkManagerUtils.c
17586                 - Merge Peter Jones' "completion" patch
17587
17588         * src/nm-dbus-nm.c
17589                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17590                         we're told to disable them
17591                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17592
17593         * utils/nm-utils.h
17594                 - New variants of the warn/info/error/debug print functions that can take
17595                         variables rather than static strings
17596
17597 2005-03-24  Dan Williams <dcbw@redhat.com>
17598
17599         * src/NetworkManagerUtils.c
17600                 - (nm_get_device_driver_name): driver names are now on the parents of
17601                         "Network Interface" objects, so look for them there
17602
17603 2005-03-24  Dan Williams <dcbw@redhat.com>
17604
17605         * test/nmtest.c
17606                 - Escape some forgotten object paths before we shove them through dbus
17607
17608 2005-03-24  Dan Williams <dcbw@redhat.com>
17609
17610         * dhcpcd/dhcpcd.[ch]
17611           src/NetworkManagerDHCP.c
17612                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17613                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17614
17615         * src/NetworkManagerDbus.c
17616                 - spacing cleanups
17617
17618         * src/nm-dbus-dhcp.c
17619                 - Make the API suck less.  There is now only 1 type of each function,
17620                         ie only "getInteger" and no longer also "getIntegerv".  All types
17621                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17622                         that will never have more than 1 element.  This should simplify
17623                         things greatly.
17624
17625         * test/nm-dhcp-opt-test.c
17626                 - Make the tool not segfault
17627                 - adapt to new DHCP Options API
17628
17629 2005-03-22  Dan Williams <dcbw@redhat.com>
17630
17631         * src/NetworkManager.c
17632                 - (nm_wired_link_deactivated): actually ignore netlink events from
17633                         wireless devices.
17634
17635 2005-03-22  Dan Williams <dcbw@redhat.com>
17636
17637         * src/NetworkManager.c
17638                 - (nm_wired_link_activated): actually ignore netlink events from
17639                         wireless devices.
17640
17641 2005-03-17  Dan Williams <dcbw@redhat.com>
17642
17643         Patch from Tom Parker:
17644         * src/nm-netlink-monitor.c
17645                 - Include unistd.h
17646         * info-daemon/NetworkManagerInfoDbus.c
17647                 - (nmi_dbus_update_network_auth_method): free GConf values
17648
17649         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17650         * src/NetworkManagerDevice.c
17651                 - (nm_device_set_wireless_config): wait for successful
17652                         association longer for some cards (Atheros a/b/g)
17653
17654 2005-03-15  Ray Strode  <rstrode@redhat.com>
17655
17656         * src/NetworkManager.c:
17657         (sigterm_pipe_handler):
17658         remove bogus FIXME
17659
17660 2005-03-15  Ray Strode  <rstrode@redhat.com>
17661
17662         * src/NetworkManagerDbus.c:
17663         Fix some sign weirdness that gcc4 doesn't like,
17664         and add a header file so PPC can hopefully find
17665         SIGTRAP
17666
17667 2005-03-14  Ray Strode  <rstrode@redhat.com>
17668         
17669         Fourth (probably working) cut at porting to
17670         dbus 0.30 api and new hal. This cut adds
17671         some new logging macros to make debugging
17672         easier.
17673
17674         * dispatcher-daemon/NetworkManagerDispatcher.c:
17675         * info-daemon/NetworkmanagerInfo.c:
17676         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17677         * info-daemon/NetworkManagerInfoVPN.c:
17678         * src/NetworkManager.c:
17679         * src/NetworkManagerAP.c:
17680         * src/NetworkManagerAPList.c:
17681         * src/NetworkManagerDHCP.c:
17682         * src/NetworkManagerDbus.c:
17683         * src/NetworkManagerDevice.c:
17684         * src/NetworkManagerPolicy.c:
17685         * src/NetworkManagerSystem.c:
17686         * src/NetworkManagerUtils.c:
17687         * src/NetworkManagerWireless.c:
17688         * src/autoip.c:
17689         * src/nm-dbus-nm.c:
17690         * src/backends/NetworkManagerDebian.c:
17691         * src/backends/NetworkManagerGentoo.c:
17692         * src/backends/NetworkManagerRedHat.c:
17693         * src/backends/NetworkManagerSlackware.c:
17694         use new logging macros.
17695
17696         * dispatcher-daemon/NetworkManagerDispatcher.c:
17697         (nmd_dbus_filter): s/dbus_free/g_free/
17698
17699         * info-daemon/Makefile.am: link in utils library.
17700         * info-daemon/NetworkmanagerInfo.c: use new logging 
17701         macros.
17702         (nmi_dbus_get_network): don't assume enumerations
17703         are 32-bit.
17704         (nmi_dbus_nmi_message_handler): don't free what 
17705         doesn't belong to us.
17706
17707         * libnm_glib/libnm_glib.c:
17708         (libnm_glib_get_nm_status): 
17709         (libnm_glib_init): don't free what doesn't
17710         belong to us.
17711         (libnm_glib_dbus): strdup result, so it doesn't get
17712         lost when message is unref'd.
17713
17714         * panel-applet/NMWirelessAppletDbus.c:
17715         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17716
17717         * src/NetworkManager.c:
17718         (nm_monitor_wired_link_state): request initial status 
17719         dump of all cards when we start up, instead of relying
17720         on /sys/.../carrier.
17721         (nm_info_handler), (nm_set_up_log_handlers): 
17722         log handlers to specify what syslog priorites 
17723         the logging macros default to.
17724
17725         * src/NetworkManagerAPList.c: 
17726         (nm_ap_list_populate_from_nmi):
17727         s/dbus_free_string_array/g_strfreev/
17728
17729         * src/NetworkManagerDbus.c:
17730         (nm_dbus_get_network_object):
17731         validate d-bus message argument types.
17732         Advance message iterator after reading argument,
17733         prepend instead of append to GSList.
17734
17735         * src/NetworkManagerDevice.c:
17736         (nm_device_probe_wired_link_status):
17737         remove redundant /sys in /sys path. remove wrong
17738         contents == NULL means has carrier assumption.
17739
17740         * src/nm-netlink-monitor.c 
17741         (nm_netlink_monitor_request_status): implement
17742         function to ask kernel to dump interface link
17743         status over netlink socket.
17744
17745         * test/*.c: s/dbus_free/g_free/
17746
17747         * utils/nm-utils.h:
17748         (nm_print_backtrace): new macro to print backtrace.
17749         (nm_get_timestamp): new macro to get sub-second precise
17750         unix timestamp.
17751         (nm_info), (nm_debug), (nm_warning), (nm_error):
17752         new logging functions. nm_info just prints,
17753         nm_debug includes timestamp and function,
17754         nm_warning includes function, nm_error includes
17755         backtrace and sigtrap.
17756
17757 2005-03-11  Ray Strode  <rstrode@redhat.com>
17758
17759         Third (unfinished, partially working) cut at porting to 
17760         dbus 0.30 api and new hal.
17761
17762         * info-daemon/NetworkManagerInfoDbus.c:
17763                 don't free null arrays.
17764
17765         * panel-applet/NMWirelessAppletDbus.c: 
17766         * src/nm-dbus-device.c:
17767         * src/nm-dbus-net.c: 
17768         * src/NetworkManagerDbus.c: more 
17769         STRING -> OBJECT_PATH fun
17770         * src/NetworkManagerDevice.c:
17771         * src/NetworkManagerDevice.h:
17772         (rename nm_device_get_link_active): rename to 
17773         nm_device_has_active_link
17774         (nm_device_wireless_link_active): rename to
17775         nm_device_probe_wireless_link_state
17776         (nm_device_wired_link_active): rename to
17777         nm_device_probe_wired_link_state.  Rewrite to
17778         use carrier file since hal doesn't maintain
17779         link state anymore.
17780         (nm_device_update_link_active): rename to
17781         nm_device_update_link_state
17782         * src/NetworkManagerPolicy.c 
17783           (nm_policy_activation_finish): check for NULL
17784           MAC address.
17785
17786         * src/Makefile.am:
17787         * src/NetworkManagerMain.h: 
17788         * src/NetworkManager.c:
17789         * src/nm-netlink-monitor.c:
17790         * src/nm-netlink-monitor.h: New class to support
17791         monitoring wired ethernet link status, since HAL
17792         doesn't export that information anymore.
17793
17794 2005-03-09  Ray Strode  <rstrode@redhat.com>
17795
17796         Second (unfinished, unworking) cut at porting to 
17797         dbus 0.30 api.
17798
17799         * dispatcher-daemon/NetworkManagerDispatcher.c:
17800         * info-daemon/NetworkManagerInfoDbus.c:
17801         * panel-applet/NMWirelessAppletDbus.c:
17802         * src/NetworkManagerDbusUtils.c:
17803         * src/NetworkManagerDbusUtils.h:
17804         * src/nm-dbus-device.c:
17805         * src/nm-dbus-nm.c:
17806         * test/nmtest.c: support dbus "object path" type
17807
17808         * configure.in: 
17809         * Makefile.am:
17810         * info-daemon/Makefile.am:
17811         * libnm_glib/Makefile.am:
17812         * panel-applet/Makefile.am:
17813         * dispatcher-daemon/Makefile.am
17814         * src/Makefile.am:
17815         * test/Makefile.am:
17816         * utils/Makefile.am: 
17817         * utils/nm-utils.c: 
17818         * utils/nm-utils.h: new utils static lib
17819
17820 2005-03-07  Ray Strode  <rstrode@redhat.com>
17821
17822         * info-daemon/NetworkManagerInfoDbus.c:
17823         * libnm_glib/libnm_glib.c:
17824         * panel-applet/NMWirelessAppletDbus.c:
17825         * src/NetworkManager.c:
17826         * src/NetworkManagerDbus.c:
17827         * src/NetworkManagerDevice.c:
17828         * src/NetworkManagerUtils.c:
17829         * src/nm-dbus-device.c:
17830         * src/nm-dbus-dhcp.c:
17831         * src/nm-dbus-net.c:
17832         * src/nm-dbus-nm.c:
17833         * test/nminfotest.c:
17834         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17835
17836 2005-03-04  Dan Williams  <dcbw@redhat.com>
17837
17838         * configure.in
17839                 - Mark HEAD as 0.4
17840
17841 2005-03-04  Dan Williams  <dcbw@redhat.com>
17842
17843         Patch from Peter Jones:
17844         - Make stuff work with gcc 4.0
17845
17846 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
17847
17848         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17849
17850 2005-02-27  Jim Huang  <jserv@kaffe.org>
17851
17852         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17853
17854 2005-02-27  Dan Williams  <dcbw@redhat.com>
17855
17856         Patch from Bill Moss:
17857         * panel-applet/NMWirelessAppletDbus.c
17858                 - Make sure strength for current access point is up-to-date when we
17859                         update the gui data model
17860
17861 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
17862
17863         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17864
17865 2005-02-27  Dan Williams  <dcbw@redhat.com>
17866
17867         * src/backends/NetworkManagerRedHat.c
17868                 - (nm_system_init): Kill any dhclient processes lying around as well
17869                         as stopping 'nifd' if its already been started.  NetworkManager
17870                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
17871
17872 2005-02-27  Dan Williams  <dcbw@redhat.com>
17873
17874         * panel-applet/NMWirelessApplet.c
17875                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17876                         dbus data model, not the GUI data model twice.
17877
17878 2005-02-27  Dan Williams  <dcbw@redhat.com>
17879
17880         * panel-applet/NMWirelessApplet.[ch]
17881           panel-applet/NMWirelessAppletDbus.[ch]
17882                 - Move to incremental network updates.  Instead of blowing away our list
17883                         of devices every time we get a signal from NetworkManager, we now
17884                         incrementally add/remove networks when NetworkManager notifies us that
17885                         a new network has appeared or disappered.  Strength updates now happen
17886                         on-the-fly for each access point as well.  There are now two copies of
17887                         data from NetworkManager: one for the dbus side, and one for the gui side.
17888                         When the dbus side data is modified, it is copied over to the gui side
17889                         so we don't have to hold the data_mutex for long periods of time (and
17890                         therefore block animation of the applet's icon).
17891                 - Clean up some memleaks too
17892
17893         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17894                 - Minor code beautification
17895
17896         * src/NetworkManagerAPList.c
17897                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17898                         completely new and whether or not an existing one's strength was updated.
17899                         Try to fix multiple access points and signal strength by using the highest
17900                         signal strength in each scan for any given ESSID.
17901
17902         * src/NetworkManagerDbus.[ch]
17903                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17904                         wireless networks; now we have only WirelessNetworkUpdate which includes
17905                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17906                 - Kill usage of DbusMessageIter
17907
17908         * src/NetworkManagerDevice.c
17909                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17910                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
17911                         AP rather than all-at-once.  Also don't ever remove the AP a card is
17912                         currently associated with from the network list.
17913                 - Update for new signals during scan, send out Appeared, Disappeared, or
17914                         StrengthChanged when necessary.
17915
17916 2005-02-25  Dan Williams  <dcbw@redhat.com>
17917
17918         * README
17919                 - Line break the README
17920
17921 2005-02-25  Dan Williams  <dcbw@redhat.com>
17922
17923         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17924                 - Remove usage of gtk_window_set_default_size()
17925
17926         * panel-applet/essid.glade
17927                 - Stick default size here
17928                 - Add in random crap that current glade wants to add in now
17929
17930 2005-02-25  Dan Williams  <dcbw@redhat.com>
17931
17932         * src/backends/NetworkManagerRedHat.c
17933                 - For non-caching-nameserver/non-named case, ensure that nscd is running
17934                         and that we actually tell nscd to reload the hosts cache when it changes
17935
17936 2005-02-25  Dan Williams  <dcbw@redhat.com>
17937
17938         * info-daemon/NetworkManagerInfoDbus.c
17939                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17940
17941         * test/nminfotest.c
17942                 - Whack usage of DbusMessageIter
17943                 - Clean up DbusError and DbusMessage handling and freeing
17944                 - Remove unused unregister handler
17945
17946         * test/nmtest.c
17947                 - Whack usage of DbusMessageIter
17948
17949         * test/nmtestdevices.c
17950                 - Whack usage of DbusMessageIter
17951
17952 2005-02-25  Dan Williams  <dcbw@redhat.com>
17953
17954         * NetworkManager.h
17955                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17956                         signal
17957
17958 2005-02-25  Dan Williams  <dcbw@redhat.com>
17959
17960         * named/nm-named-manager.c
17961                 - Ensure that pid and watch variables for child named process get cleared out
17962                         when the child goes away.
17963
17964 2005-02-22  Dan Williams  <dcbw@redhat.com>
17965
17966         * src/NetworkManagerPolicy.c
17967                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17968                         and NULL out data->active_device so that we have to choose another one.
17969                         This may make NetworkManager keep attempting to connect to a wired network
17970                         if it fails, but if it keeps failing the wired network has more problems than
17971                         just NetworkManager.
17972
17973         * src/backends/NetworkManagerRedHat.c
17974                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17975                         is already running
17976
17977         * named/nm-named-manager.c
17978                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17979                         named so that the distro can flush whatever name service caching
17980                         daemon it uses
17981
17982 2005-02-21  Dan Williams  <dcbw@redhat.com>
17983
17984         * src/NetworkManagerDHCP.[ch]
17985                 - (nm_device_dhcp_remove_timeouts): new function
17986
17987         * src/NetworkManagerDevice.c
17988                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17989                         remove the DHCP timeouts.
17990
17991 2005-02-21  Dan Williams  <dcbw@redhat.com>
17992
17993         * panel-applet/NMWirelessApplet.[ch]
17994           panel-applet/menu-info.[ch]
17995                 - Give the panel applet some major love: menu items are no longer
17996                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17997                         This allows the applet to actually reflect theme changes correctly,
17998                         since themeing of subclassed items in GTK _sucks_.
17999
18000 2005-02-18  Dan Williams  <dcbw@redhat.com>
18001
18002         * libnm_glib/libnm_glib.[ch]
18003           test/libnm_glib_test.c
18004                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
18005                         and its data, and doesn't have to free the callback data anymore
18006
18007 2005-02-18  Dan Williams  <dcbw@redhat.com>
18008
18009         * panel-applet/NMWirelessApplet.c
18010                 - Revert 2005-02-18 William Jon McCann fix for standard
18011                         copyright string until it passes 'make distcheck'.
18012                         With standard copyright string, xgettext complains
18013                         about "Non-ASCII string at ...".
18014
18015 2005-02-18  Dan Williams  <dcbw@redhat.com>
18016
18017         * panel-applet/essid.glade
18018           panel-applet/NMWirelessAppletOtherNetworksDialog.c
18019                 - Correct spelling of "adaptor"->"adapter"
18020
18021 2005-02-18  William Jon McCann  <mccann@jhu.edu>
18022
18023         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
18024         (nmwa_about_cb): Use standard copyright string.  Update comment
18025         text to reflect that it is a notification area applet.  Remove
18026         leading newline in authors list.
18027         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
18028         instead of on parent menu item activation.  Fixes #167550.
18029
18030 2005-02-18  William Jon McCann  <mccann@jhu.edu>
18031
18032         * panel-applet/essid.glade: Capitalize items as per HIG.
18033           Fixes #167632
18034
18035 2005-02-16  William Jon McCann  <mccann@jhu.edu>
18036
18037         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
18038         files for GTK 2.4 or lower, since now public in GTK 2.6.
18039
18040         * panel-applet/essid.glade: Don't specify window size.
18041         
18042 2005-02-17  Dan Williams  <dcbw@redhat.com>
18043
18044         Caught by Bill Moss:
18045         * dhcpcd/client.c
18046                 - Time remaining for DHCP transaction calculation was incorrectly
18047                         inside a #ifdef DEBUG
18048
18049 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
18050
18051         * configure.in: Added fr (French) to ALL_LINGUAS.
18052
18053 2005-02-14  Dan Williams  <dcbw@redhat.com>
18054
18055         * src/NetworkManagerDHCP.c
18056                 - (set_domain_searches): Fix free of invalid pointer
18057
18058 2005-02-14  Dan Williams  <dcbw@redhat.com>
18059
18060         Patch from Peter Jones:
18061         * dhcpcd/client.c
18062                 - Ensure we return RET_DHCP_CEASED everywhere we should
18063         * dhcpcd/udpipgen.c
18064                 - Use faster TOS for IP packets
18065                 - Don't set ip_id since we're UDP
18066
18067         Patch from Tomislav Vujec:
18068         * src/nm-dbus-dhcp.c
18069           test/nm-dhcp-opt-test.c
18070                 - Clean up warnings to enable cvs tree compilation.
18071
18072 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
18073
18074         * configure.in
18075           po/hr.po
18076                 - Add the Croatian locale.
18077
18078 2005-02-14  Colin Walters  <walters@verbum.org>
18079
18080         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18081         list of domains to search.
18082         
18083         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18084
18085 2005-02-13  Dan Williams  <dcbw@redhat.com>
18086
18087         * dhcpcd/client.c
18088                 - Debug output cleanups of DHCP option printing and parsing.
18089
18090 2005-02-13  Dan Williams  <dcbw@redhat.com>
18091
18092         Patch from Dan Reed:  DHCP options D-BUS API
18093                 Exposes the DHCP options that a device receives to clients over D-BUS.
18094
18095         * configure.in
18096                 - A few cleanups
18097
18098         * dhcpcd/client.h
18099                 - Correct names, option length, and types for DHCP options
18100
18101         * dhcpcd/dhcpcd.[ch]
18102                 - Clarify function names that access DHCP options & data
18103
18104         * src/NetworkManagerDHCP.c
18105                 - Use new DHCP data access functions
18106
18107         * src/NetworkManagerDbus.c
18108                 - Message handler for DHCP functions
18109
18110         * src/nm-dbus-dhcp.[ch] (new)
18111                 - DHCP dbus methods
18112
18113         * test/nm-dhcp-opt-test.c
18114                 - Test DHCP D-BUS API and return all present DHCP options
18115
18116 2005-02-12  Dan Williams  <dcbw@redhat.com>
18117
18118         * test/Makefile.am
18119           test/nmclienttest.c
18120           test/nmtest.c
18121                 - Move nmclienttest.c -> nmtest.c
18122
18123 2005-02-12  Dan Williams  <dcbw@redhat.com>
18124
18125         * dhcpcd/buildmsg.c
18126                 - Pad DHCP packets until they are at least 300 bytes in size.
18127
18128 2005-02-11  Dan Williams  <dcbw@redhat.com>
18129
18130         * dhcpcd/client.c
18131                 - (dhcp_init): only print out client ID and class ID if they are specified
18132
18133         * src/NetworkManagerDbus.[ch]
18134           src/nm-dbus-nm.[ch]
18135           src/nm-dbus-device.[ch]
18136           src/nm-dbus-net.[ch]
18137                 - Move NM, Device, and Net functions to separate files and use the
18138                         dbus method list stuff in NetworkManagerDbusUtils.c to do
18139                         method dispatching
18140
18141         * src/NetworkManagerDbusUtils.c
18142                 - Add new validate_method called before each dispatch (if present)
18143                         that can validate the method call
18144
18145         * src/NetworkManagerWireless.c
18146                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18147                         levels never to be evaluated
18148
18149         Patch from j@bootlab.org
18150         * src/NetworkManagerDevice.c
18151                 - Add typedef for "u64"
18152
18153         * src/backends/NetworkManagerDebian.c
18154                 - Copy in Dave Woodhouse's fixes for IPv6
18155
18156 2005-02-11  Dan Williams  <dcbw@redhat.com>
18157
18158         Patch from Dave Woodhouse for IPv6:
18159         * src/NetworkManagerUtils.c
18160                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18161                         and multicast addresses
18162
18163         * src/NetworkManagerDevice.c
18164                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18165                         after bringing up a card.
18166
18167 2005-02-10  Dan Williams  <dcbw@redhat.com>
18168
18169         Patch from Dave Woodhouse:
18170         * src/NetworkManagerSystem.h
18171           src/backends/NetworkManagerDebian.c
18172           src/backends/NetworkManagerGentoo.c
18173           src/backends/NetworkManagerSlackware.c
18174                 - New nm_system_device_add_ip6_link_address() function to add link-local
18175                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
18176
18177         * src/backends/NetworkManagerRedHat.c
18178                 - (nm_system_device_add_ip6_link_address): implement
18179                 - (nm_system_device_flush_addresses): revert to previous behavior of
18180                         flushing all addresses
18181
18182 2005-02-10  Dan Williams  <dcbw@redhat.com>
18183
18184         Patch from Tom Parker:
18185         * src/NetworkManagerDevice.c
18186                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18187                         mii.h headers are broken, and instead use our own typedefs
18188
18189 2005-02-10  Dan Williams  <dcbw@redhat.com>
18190
18191         * dhcpcd/buildmsg.c
18192                 - (fill_host_and_class_id): only fill in client and class IDs if
18193                         they are set by callers.
18194
18195         * dhcpcd/client.c
18196                 - (class_id_setup): don't autogenerate a class ID, only use one
18197                         we're given, if any.
18198                 - (client_id_setup): don't autogenerate a client ID, only use one
18199                         we're given, if any.
18200
18201         * dhcpcd/dhcpcd.c
18202                 - (dhcp_interface_init): ensure that client options are correctly
18203                         NULL terminated
18204
18205         * src/NetworkManagerDHCP.c
18206                 - (nm_device_dhcp_request): pass hostname to dhcp library
18207
18208 2005-02-10  Dan Williams  <dcbw@redhat.com>
18209
18210         * dhcpcd/client.c
18211                 - #rh147661# Don't send kernel version in DHCP requests
18212
18213         * src/NetworkManagerSystem.h
18214           src/backends/NetworkManagerDebian.c
18215           src/backends/NetworkManagerGentoo.c
18216           src/backends/NetworkManagerRedHat.c
18217           src/backends/NetworkManagerSlackware.c
18218                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18219                         functions, they are no longer used anyway
18220
18221         * src/backends/NetworkManagerRedHat.c
18222                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18223                         addresses in an attempt to keep IPv6 local-scope addresses around
18224
18225 2005-02-10  Dan Williams  <dcbw@redhat.com>
18226
18227         * src/NetworkManager.c
18228                 - (nm_create_device_and_add_to_list): change the add message slightly
18229
18230         * src/NetworkManagerUtils.c
18231                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18232                         Return driver name to calling function
18233                 - (nm_get_driver_support_level): print out the driver a device is using
18234                         during the support check
18235
18236         Patch from Dave Woodhouse:
18237         * dhcpcd/udpipgen.c
18238                 - (in_cksum): copy last byte of odd-sized packets into a
18239                         'u_short' rather than a 'u_char', should fix wrong checksums
18240                         on big-endian platforms
18241
18242 2005-02-09  Dan Williams  <dcbw@redhat.com>
18243
18244         * Clean up usage of GSList objects and looping through their members
18245         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18246                 now.
18247         * Fix problem where even if scanning was turned off, card would still
18248                 cycle through frequencies.
18249
18250 2005-02-08  Dan Williams  <dcbw@redhat.com>
18251
18252         * panel-applet/NMWirelessApplet.c
18253                 - Fix for gtk 2.4
18254
18255 2005-02-08  Dan Williams  <dcbw@redhat.com>
18256
18257         Patch from Bill Moss
18258         * panel-applet/NMWirelessApplet.c
18259                 - Restore correct ESSID in tooltips
18260
18261 2005-02-07  Dan Williams  <dcbw@redhat.com>
18262
18263         * panel-applet/NMWirelessApplet.[ch]
18264                 - Add a context menu that contains:
18265                         Pause/Resume Wireless Scanning
18266                         Stop/Start All Wireless Devices
18267                         About...
18268                 - Grab active device strength off active device,
18269                         not its network
18270
18271         * panel-applet/NMWirelessAppletDbus.[ch]
18272                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18273                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18274                 - Update active device strength every 2 seconds, not every 1 second
18275
18276         * panel-applet/menu-info.c
18277                 - Only disable wired devices in the menu when they support carrier detection,
18278                         and don't currently have a link.  Non-carrier-detect devices will always
18279                         remain choosable
18280
18281         * src/Makefile.am
18282           src/NetworkManagerDbusUtils.[ch]
18283                 - Add new new dbus utils sources
18284
18285         * src/NetworkManager.c
18286                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18287                         with the boolean parameter
18288                 - Set scanning_enabled & wireless_enabled to TRUE
18289
18290         * src/NetworkManagerDbus.c
18291                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18292                 - Implement scanning & wireless enable/disable calls
18293                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18294
18295         * src/NetworkManagerDevice.c
18296                 - New link detection stuff again...
18297                         o  Create device's mainloop earlier (but don't run it earlier)
18298                         o  Hook up new carrier-detect support stuff
18299                         o  Add in the ethtool & mii support detection code
18300                 - Don't scan if scanning is disabled
18301
18302         * src/NetworkManagerPolicy.c
18303                 - Never automatically choose a device that doesn't support carrier detection
18304                 - Don't automatically choose a wireless device if wireless is disabled
18305
18306 2005-02-07  Dan Williams  <dcbw@redhat.com>
18307
18308         * libnm_glib/libnm_glib.c
18309                 - Small cleanup in element list iteration
18310
18311 2005-02-07  Dan Williams  <dcbw@redhat.com>
18312
18313         * src/NetworkManagerWireless.c
18314                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18315                         to be in line with the WEXT quality specification
18316
18317 2005-02-02  Dan Williams  <dcbw@redhat.com>
18318
18319         Patch from Nathan Fredrickson <nathan@silverorange.com>
18320         * Fix up compile for deprecation of libgnomeui
18321                 - Switch to <glib/gi18n.h> from <libintl.h>
18322                 - Remove <libgnomeui/libgnomeui.h> includes
18323                 - Use gtk_window_set_default_icon_from_file() rather than
18324                         gnome_window_set_default_icon_from_file()
18325
18326         * named/nm-named-manager.c
18327                 - (generate_named_conf): Fix return-nothing in non-void
18328                         function
18329
18330 2005-02-02  Dan Williams  <dcbw@redhat.com>
18331
18332         * Clean up unused variables and the like
18333
18334 2005-02-02  Dan Williams  <dcbw@redhat.com>
18335
18336         * src/NetworkManagerAPList.c
18337                 - (nm_ap_list_merge_scanned_ap): merge strength too
18338
18339         * src/NetworkManagerUtils.c
18340                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18341                         of locking issues by printing out prettier information than g_mutex_lock
18342                 - Print out names of mutexes registered with nm_register_mutex_desc()
18343                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18344                         us to seemingly block here for too long
18345
18346         * src/NetworkManager.c
18347           src/NetworkManagerAPList.c
18348           src/NetworkManagerDevice.c
18349                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18350                         so we get better debug information printed
18351
18352         * src/NetworkManagerDbus.c
18353                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18354                         since it sometimes has locking side effects
18355                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18356                         from 10s
18357                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18358                         we don't need a switch.  This gets called often enough that we can't block
18359                         until the scan mutex is acquired, because we'll block on device activation
18360                         and a few other things, which hangs main thread for too long.
18361
18362         * src/NetworkManagerPolicy.c
18363                 - (nm_policy_auto_get_best_device): reduce the possiblity that
18364                         nm_device_need_ap_switch() will be called               
18365
18366 2005-02-02  Dan Williams  <dcbw@redhat.com>
18367
18368         * panel-applet/NMWirelessApplet.c
18369                 - Display name of wireless network we are connecting to or connected to
18370                         in the tooltip of the applet
18371
18372 2005-02-02  Dan Williams  <dcbw@redhat.com>
18373
18374         * src/NetworkManagerDHCP.c
18375                 - Hopefully fix double-default-route problem by cleaning up the default
18376                         route added by DHCP code right before the DHCP transaction begins
18377
18378 2005-02-02  Dan Williams  <dcbw@redhat.com>
18379
18380         * named/nm-named-manager.c
18381                 - Write out valid resolv.conf when we exit
18382
18383 2005-02-01  Dan Williams  <dcbw@redhat.com>
18384
18385         Patch from Colin Walters:
18386         * named/nm-named-manager.c
18387                 - Make multi-domain search options work
18388
18389 2005-01-31  Dan Williams  <dcbw@redhat.com>
18390
18391         * info-daemon/NetworkManagerInfoDbus.c
18392                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18393
18394         * src/NetworkManagerDevice.c
18395                 - (nm_device_new): Don't store the entire range struct, use only what we need
18396                         (which is currently avg_quality, max_quality, and frequencies).  Also
18397                         zero device structure when we've free'd it to maybe expose errors down
18398                         the line.
18399                 - (nm_device_update_signal_strength): grab the scan mutex before getting
18400                         quality data from the card since quality will be useless during a scan.
18401                         Call updated wireless qual-to-percent function with values stored in
18402                         nm_device_new() earlier.
18403                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18404                         nm_device_get_bad_crypt_packets())
18405                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18406                         nm_device_new()
18407                 - (get_initial_auth_method): always use the Auth method that's in the allowed
18408                         list if available.  Problem was this: when the WEP key is wrong, NM will
18409                         try OS then SK modes, and then get stuck in SK mode after that.  This
18410                         should reset it.
18411                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18412                         function
18413
18414         * src/NetworkManagerWireless.c
18415                 - (nm_wireless_qual_to_percent): try to make this function actually work and
18416                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
18417                         if that's all present, otherwise fall back to signal-to-noise ratios.
18418
18419 2005-01-29  Dan Williams  <dcbw@redhat.com>
18420
18421         * initscript/RedHat/NetworkManager
18422                 - Don't spit out sysctl stuff to console
18423
18424         * libnm_glib/libnm_glib.c
18425                 - (libnm_glib_init): call dbus_g_thread_init()
18426
18427         * panel-applet/NMWirelessAppletDbus.c
18428                 - (nmwa_dbus_worker): call dbus_g_thread_init()
18429
18430         * src/NetworkManager.c
18431                 - (main): call dbus_g_thread_init()
18432
18433         * src/NetworkManagerAPList.c
18434                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18435                         so we can actually see what's there in a normal syslog
18436
18437         * src/NetworkManagerDevice.c
18438                 - (nm_device_activate_wireless): print out the "waiting for access point"
18439                         message only once, then say what access point we actually got after
18440                         the wait.
18441                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18442                         function, wait until the scan is done.  Scans may change the ESSID of
18443                         the card, making this function think we need to switch access points
18444                 - (nm_device_wireless_process_scan_results): for artificial access points
18445                         don't check against the card's ESSID, but the best_ap's ESSID.  This
18446                         prevents collisions with the scanning code, which may change the card's
18447                         ESSID and cause the access point to get dropped from the device's AP
18448                         list.  Also increase the keep-around time to 2m from 60s since the max
18449                         scan interval could be 60s in some cases.
18450
18451         * src/NetworkManagerPolicy.c
18452                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18453                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18454                         the new properties and ESSIDs to the device's AP list.  Fixes some races
18455                         between NM and NMI.
18456
18457 2005-01-27  Dan Williams  <dcbw@redhat.com>
18458
18459         * info-daemon/NetworkManagerInfoDbus.c
18460                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18461                         GConf, make a minimal entry for it (essid & timestamp)
18462
18463         * src/NetworkManagerAPList.c
18464                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18465                         NetworkManagerInfo isn't running
18466
18467         * src/NetworkManagerDbus.[ch]
18468                 - (nm_dbus_nmi_is_running): new function
18469
18470         * src/NetworkManagerDevice.c
18471                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18472                         address to garbage.
18473
18474         * src/NetworkManagerPolicy.c
18475                 - (nm_policy_activation_finish): On successful activation, make sure
18476                         the "best" AP has a MAC address, and don't tell NMI to add the
18477                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18478                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18479                         access point after refreshing our allowed list if it doesn't already
18480                         have a "best" access point.
18481
18482 2005-01-25  Dan Williams  <dcbw@redhat.com>
18483
18484         * panel-applet/NMWirelessAppletDbus.c
18485                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18486                         so we check for NM_DBUS_SERVICE rather than not for it
18487
18488         * libnm_glib/libnm_glib.c
18489                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18490                         ServiceOwnerChanged signal
18491
18492 2005-01-25  Dan Williams  <dcbw@redhat.com>
18493
18494         * configure.in
18495                 - Check DBUS version in configure, and set the C macros
18496                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18497
18498         * info-daemon/NetworkManagerInfoDbus.c
18499                 - Remove #if 0-d section of code that quit NMI if NM went away.
18500
18501         * panel-applet/NMWirelessAppletDbus.c
18502                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18503
18504         * src/NetworkManager.c
18505           src/NetworkManagerMain.h
18506           src/NetworkManagerDbus.c
18507                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18508                 - Make updating of our Allowed Wireless Network lists from NMI
18509                         an idle function in the main thread now, with a high priority.
18510
18511 2005-01-24  Dan Williams  <dcbw@redhat.com>
18512
18513         * panel-applet/gtkcellview.[ch]
18514           panel-applet/menu-info.c
18515                 - Fix GTK version checks to be <= rather than <
18516
18517         * test/Makefile.am
18518                 - Include the libtool archive of libnm_glib rather than
18519                         trying to pull in the .so
18520
18521 2005-01-24  Dan Williams  <dcbw@redhat.com>
18522
18523         * src/NetworkManagerDevice.c
18524           src/NetworkManagerDevicePrivate.h
18525                 - Block nm_device_new() until our device's worker thread has had a
18526                         chance to start up.  Fixes a race between main thread and worker
18527                         thread starting that caused activation requests to get lost.
18528
18529 2005-01-24  Dan Williams  <dcbw@redhat.com>
18530
18531         * initscript/RedHat/NetworkManager
18532                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18533                         to add the NM startup script at priority 50, which was
18534                         way too early
18535
18536 2005-01-24  Colin Walters  <walters@redhat.com>
18537
18538         * named/named.conf: Use any port for query source instead of
18539         restricting to port 53.
18540
18541 2005-01-24  Dan Williams  <dcbw@redhat.com>
18542
18543         * initscript/RedHat/NetworkManager
18544                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18545                         to add the NM startup script at priority 50, which was
18546                         way too early
18547
18548 2005-01-24  Dan Williams  <dcbw@redhat.com>
18549
18550         Patch from Tom Parker <palfrey@tevp.net>
18551         * Fix up compile warnings & errors in the wireless applet
18552
18553 2005-01-24  Dan Williams  <dcbw@redhat.com>
18554
18555         * panel-applet/NMWirelessApplet.c
18556                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18557
18558 2005-01-24  Dan Williams  <dcbw@redhat.com>
18559
18560         * panel-applet/gtkcellview.[ch]
18561                 - Only compile these files for GTK 2.4 or lower, since 
18562                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18563                         when choosing "Other Wireless Networks" from the panel
18564                         applet menu
18565
18566 2005-01-21  Dan Williams  <dcbw@redhat.com>
18567
18568         * src/NetworkManager.c
18569                 - Daemonize earlier so that glib doesn't get confused (?)
18570
18571 2005-01-21  Dan Williams  <dcbw@redhat.com>
18572
18573         * panel-applet/NMWirelessApplet.[ch]
18574           panel-applet/NMWirelessAppletDbus.c
18575           panel-applet/menu-info.c
18576           src/NetworkManagerDevice.c
18577                 - Disable wired devices in the menu when they have no link.
18578
18579 2005-01-21  Dan Williams  <dcbw@redhat.com>
18580
18581         * Cache last-known-good wireless authentication method in
18582                 NetworkManagerInfo, and use that method first during
18583                 wireless device activation.  Should speed up devices that
18584                 need Shared Key authentication method since Open System is
18585                 now the default.
18586
18587         * Remove the hack to not do full activation on wired connections
18588                 that are active when we launch, it causes too many problems
18589                 with name resolution and was a hack in the first place.
18590
18591         * Re-work wireless device activation again somewhat to have a
18592                 clearer chain of events and to use last-known-good
18593                 authentication method of the access point.  Also provide
18594                 better status throughout activation to ensure the applet
18595                 can tell the user exactly what's going on.
18596
18597         * Remove the "find wireless network" code and now simply attempt
18598                 to activate with that access point.  This reduces the delay
18599                 between selecting "Other wireless Network" and actually
18600                 connecting to that network.
18601
18602         * Correctly stop the device's worker thread when its removed.
18603
18604 2005-01-21  Dan Williams  <dcbw@redhat.com>
18605
18606         * dhcpcd/client.c
18607                 - Clean up some of the debug messages
18608
18609 2005-01-21  Dan Williams  <dcbw@redhat.com>
18610
18611         * Add new icons, more frames of animation
18612         * Remove some hacks to get the panel applet to display correct
18613                 status, an NM update will soon follow that will fix the
18614                 real issue.
18615
18616 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18617
18618         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18619         the first include for working i18n. Also, don't include it in .h files
18620         * panel-applet/NMWirelessApplet.h: Same
18621         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18622         * panel-applet/menu-info.c: Same
18623
18624 2005-01-18  Dan Williams <dcbw@redhat.com>
18625
18626         * dhcpcd/client.c
18627                 - Remove some debug messages
18628                 - Wrap others in #ifdef DEBUG/#endif
18629
18630         * src/NetworkManager.c
18631                 - Remove some debug messages
18632                 - Clarify some debug messages
18633                 - Remove code related to old single-thread wireless scanning
18634
18635         * src/NetworkManagerAP.[ch]
18636                 - New AP property "last_seen" to track how recently an AP was
18637                         found in a scan
18638                 - Start using 'const' more in function arguments
18639
18640         * src/NetworkManagerAPList.[ch]
18641                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18642                         of an AP found in an AP list from a source AP, or if not found
18643                         in the list add the source AP
18644                 - (nm_ap_list_combine): remove, no longer needed
18645
18646         * src/NetworkManagerDevice.c
18647                 - Each device now has a "worker" thread from start to end of its life.
18648                         Scanning for wireless devices now happens in that thread,
18649                         not in a single "wireless scanning thread" for all devices as
18650                         previously.  Activation consists of adding an idle handler to the
18651                         thread's main loop/context, which gets run at the next available
18652                         opportunity.
18653                 - Wireless scanning is also simplified, there is now only one list of
18654                         access points per wireless device, and APs older than 60s are
18655                         removed from the list.  Previously, we kept results for the last
18656                         3 scans and merged whole lists, which was complicated.
18657                 - Cleaned up activation debug messages.
18658                 - Wireless activation and access-point search routines now use Open System
18659                         authentication before trying Shared Key.
18660                 - Removed some code in nm_device_update_best_ap() that could cause cards
18661                         to loose their link to the access point.
18662                 - Scanning now uses a backoff algorithm, where the inverval becomes
18663                         progressively longer between scans when the list of scanned access
18664                         points doesn't change.  A change will revert to the shortest scan
18665                         interval (20s).
18666
18667         * src/NetworkManagerWireless.[ch]
18668                 - Remove code related to old single-thread wireless scanning
18669
18670 2005-01-18  Colin Walters  <walters@redhat.com>
18671
18672         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18673         of older nameservers.
18674
18675 2005-01-18  Colin Walters  <walters@redhat.com>
18676
18677         * named/nm-named-manager.c (generate_named_conf): Many fixes
18678         to config file generation.
18679         (safer_kill): Remove, was too much trouble for little gain.
18680         (nm_named_manager_start): Run named as NM_NAMED_USER.
18681
18682         * configure.in: Add option --with-named-user.
18683
18684 2005-01-14  Colin Walters  <walters@redhat.com>
18685
18686         Patch from ed@catmur.co.uk (Ed Catmur)
18687
18688         * named/nm-named-manager.c: Add "context" property.
18689         Use it to add child watch source in specific GMainContext.
18690
18691         * src/NetworkManager.c (nm_data_new): Initialize
18692         named with correct main context.  Start named only
18693         after forking.
18694
18695 2005-01-14  Colin Walters  <walters@redhat.com>
18696
18697         * named/nm-named-manager.c (generate_named_conf): Write config
18698         and pid files into NM_NAMED_DATA_DIR; this allows things to
18699         work better with FC3 named SELinux policy.  Also fix up silly
18700         format error.
18701
18702         * configure.in: Add --with-named-dir option.
18703
18704 2005-01-14  Colin Walters  <walters@redhat.com>
18705
18706         * configure.in: Make named support require passing --with-named.
18707
18708         * named/nm-named-manager.c: Support writing resolv.conf directly
18709         without running named.
18710
18711 2005-01-13  Dan Williams <dcbw@redhat.com>
18712
18713         * named/nm-named-manager.c
18714                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18715
18716         * src/NetworkManagerDevice.c
18717                 - Rework wireless link detection code to be more reliable
18718
18719 2005-01-12  Dan Williams <dcbw@redhat.com>
18720
18721         * initscripts/RedHat/NetworkManager
18722                 - Change initial level to "-" rather than "345" so that
18723                         we don't activate ourselves by default on install
18724
18725 2005-01-12  Dan Williams <dcbw@redhat.com>
18726
18727         * libnm_glib/
18728                 - Client library for applications using glib
18729
18730         * configure.in
18731           various Makefiles
18732                 - Split NM_CFLAGS and NM_LIBS into separate variables
18733                         like DBUS_*, HAL_* and GLIB_*
18734
18735         * src/NetworkManager.c
18736           src/NetworkManagerMain.h
18737                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18738                         broadcast a status changed signal over DBUS from the main thread.
18739                         Still unused anywhere for the moment.
18740
18741         Patch from j@bootlab.org
18742         * panel_applet/NMWirelessAppletDbus.c
18743           src/NetworkManagerDbus.c
18744                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18745                         for the "getMode" method call
18746
18747 2005-01-10  Dan Williams <dcbw@redhat.com>
18748
18749         * src/NetworkManagerDevice.c
18750                 - Minor fixups & corrections to "auto" frequency mode, make it
18751                         less chatty with syslog
18752
18753 2005-01-10  Dan Williams <dcbw@redhat.com>
18754
18755         * src/NetworkManagerDevice.c
18756                 - Implement "auto" frequency/channel support, since cards like Atheros
18757                         can't use other frequencies at all when you've told it to use a
18758                         specific one, even for scanning.
18759                 - Grab the scan mutex around places where we can't tolerate wireless
18760                         settings changing underneath us, like nm_device_wireless_network_exists()
18761                         and nm_device_activate_wireless()
18762
18763         * src/NetworkManagerWireless.c
18764                 - Back scan interval off to 20s instead of 14s
18765
18766 2005-01-09  Dan Williams <dcbw@redhat.com>
18767
18768         * src/NetworkManagerDevice.c
18769                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18770                         already set.  Stops some drivers like Atmel from continually
18771                         reloading the firmware, which they do upon every configuration
18772                         change.
18773
18774 2005-01-09  Dan Williams <dcbw@redhat.com>
18775
18776         * dhcpcd/client.c
18777                 - Use correct timeout value
18778
18779         * info-daemon/NetworkManagerInfoDbus.c
18780           src/NetworkManagerDbus.c
18781                 - Consolidate communication between NM and NMI by doing only 1 dbus
18782                         method call to get Wireless Network info from NMI instead of 6
18783
18784         * src/NetworkManager.c
18785                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18786                         when we didn't have an AP to use, we'd wait for one forever without
18787                         quitting
18788
18789         * src/NetworkManagerDevice.c
18790                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18791                         activation, dhcp might not have started yet but we don't quit activation
18792                         before starting it, so the quit signal gets lost
18793
18794 2005-01-07  Dan Williams <dcbw@redhat.com>
18795
18796         * dhcpcd/client.c
18797                 - Rework the DHCP client code to be much less chatty when
18798                         it receives non-DHCP UDP packets during the DHCP run
18799                         (reported by and preliminary patches from Bill Moss)
18800
18801         * Move wireless scanning to a separate thread.  This thread forwards the
18802                 results to the main thread when done where they are integrated into
18803                 the device's access point lists.  This keeps the main thread (which
18804                 does all the DBUS communication) from being blocked for long periods
18805                 of time by wireless scanning.
18806
18807         * Make state modification an idle routine in the main loop, and trigger
18808                 state changes rather than polling for them.
18809
18810         * src/backends/NetworkManagerGentoo.c
18811                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18812
18813         * src/NetworkManagerDevice.c
18814                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18815                         router advertisements, causing problems and infinite loop
18816                         during "best" device determination due to link going up/down
18817                         (reported by Bill Moss)
18818
18819         Apply patch from Peter Jones
18820         * src/NetworkManagerDevice.c
18821                 - Shortcut for link-checking for ipw2x00 cards
18822                 - Split out association check into separate routine
18823
18824 2004-01-05  Colin Walters  <walters@redhat.com>
18825
18826         * named/named.conf: Add PID_FILE.
18827
18828         * named/nm-named-manager.c: Always generate a pid
18829         file, since older BIND versions don't support
18830         "pid-file none".
18831
18832 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18833
18834         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18835
18836 2004-12-22  Dan Williams <dcbw@redhat.com>
18837
18838         * src/NetworkManagerDevice.c
18839                 - Silently fail when setting bitrate doesn't work
18840
18841
18842         Patches from j@bootlab.org:
18843         * src/backends/NetworkManagerDebian
18844                 - Update backend to match functionality in RedHat backend
18845         * src/NetworkManagerDevice.c
18846                 - Take down then bring up wired devices after connection so
18847                 they send out ipv6 router advertisements
18848
18849 2004-12-21  Colin Walters  <walters@verbum.org>
18850
18851         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18852         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18853
18854 2004-12-21  Colin Walters  <walters@redhat.com>
18855
18856         * configure.in: Correct named detection.
18857
18858 2004-12-21  Colin Walters  <walters@redhat.com>
18859
18860         * src/NetworkManager.c (nm_data_new): Initialize named.
18861         Also, set up a signal handler for SIGINT/SIGTERM, and exit
18862         the mainloop when these signals are received.
18863         (nm_data_free): Unref named.
18864         (sigterm_handler, sigterm_pipe_handler): New functions for
18865         exiting mainloop.
18866         
18867         * src/NetworkManagerMain.h (NMData): Add signal handling and
18868         nameserver bits.
18869
18870         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18871         unref.
18872
18873         * src/NetworkManagerDHCP.c (set_nameservers): New function;
18874         set nameservers from DHCP response data.
18875         (set_domain_search): Set domain search from DHCP response.
18876         (nm_device_dhcp_configure): Invoke them.
18877
18878         * src/NetworkManagerSystem.c
18879         (nm_system_device_update_resolv_conf): Delete.  Deleting
18880         code is totally sweet.
18881
18882         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18883
18884         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18885         implements an object which controls a nameserver.  Currently
18886         uses bind 9.
18887
18888         * configure.in: Check for named.
18889
18890         * Makefile.am (SUBDIRS): Add named dir.
18891
18892         * named/named.conf: New template config file.
18893
18894 2004-12-20  Colin Walters  <walters@redhat.com>
18895
18896         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18897         instead of '='.
18898
18899 2004-12-17  Dan Williams  <dcbw@redhat.com>
18900
18901         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
18902                 link-local addresses instead of doing DHCP.
18903
18904         * In the panel applet, there's a new "Create new Wireless Network..." item
18905
18906         * The panel applet also sticks around now even if NetworkManager dies, but
18907                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
18908                 a bug, I'll fix that later.
18909
18910         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18911                 lookups after a switch rather than actually doing them.
18912
18913         * Clean up some of those warnings in nm_ap_list_* functions
18914
18915         * Delay between scans changed to 15s instead of 10s
18916
18917 2004-12-15  Dan Williams  <dcbw@redhat.com>
18918
18919         Patch from Tom Parker
18920         * Add autoip/Link Local Addressing support when we fail to get a DHCP
18921                 address
18922
18923         * Longer pause after setting ESSID on cards that support a larger number
18924                 of channels to give the card time to find the right channel
18925
18926         * Add system hook to restart mDNSResponder (or whatever the local implementation
18927                 of Multicast DNS is) when we activate interfaces
18928
18929 2004-12-15  Dan Williams  <dcbw@redhat.com>
18930
18931         * Rework the DHCP code again to revert to sending full ethernet frames
18932                 rather then relying on the kernel to do the right thing with our
18933                 packets.
18934
18935 2004-12-06  Dan Williams  <dcbw@redhat.com>
18936
18937         * dhcpcd/client.c
18938                 - Fix some minor errors in dhcp_handle_transaction() that caused
18939                         unexpected early timeouts of DHCP transactions
18940
18941         * dhcpcd/client.h
18942                 - DHCP retransmit time from 4s -> 5s
18943
18944 2004-12-05  Dan Williams  <dcbw@redhat.com>
18945
18946         * Major rework of the DHCP code, taking some cues from pump.  We don't
18947                 write raw Ethernet packets anymore, which simplifies the code quite
18948                 a bit.  The new code should be more robust, not hang in recvfrom()
18949                 as much, and generally work better.  This also means that we need
18950                 to force HAL/dbus to use a created GMainContext rather than the
18951                 default context, since having the DHCP renew/rebind thread using
18952                 its own GMainContext seemed to give dbus a fit.  There is also more
18953                 debugging information printed from the DHCP loop to help with future
18954                 problems.
18955
18956         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18957                 assume that the default gateway should be the DHCP server.
18958
18959         Patch from Matthew Schick <matt oss-institute org>
18960         * src/backends/NetworkManagerGentoo.c
18961                 - Fix compilation error due to missing "ip4_broadcast"
18962
18963 2004-12-03  Dan Williams  <dcbw@redhat.com>
18964
18965         * initscript/Makefile.am
18966         * initscript/Debian/NetworkManager
18967         * initscript/Gentoo/NetworkManager
18968         * initscript/RedHat/NetworkManager
18969         * initscript/NMLaunchHelper.c
18970                 - Remove NMLaunchHelper, if you need to wait until the network
18971                         comes up, use the dead code from CVS.
18972
18973 2004-12-01  Colin Walters  <walters@redhat.com>
18974         
18975         * configure.in: Suck in gcc warnings code from Rhythmbox,
18976         but use fewer default flags, and in particular add -Wno-unused,
18977         since the codebase has a lot of unused variables.
18978
18979         * test/nmtestdevices.c (create_device): 
18980         * test/nminfotest.c (get_network_string_property) 
18981         (get_networks_of_type): 
18982         * test/nmclienttest.c (main): 
18983         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
18984         * initscript/NMLaunchHelper.c (get_nm_status): 
18985         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
18986         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
18987         Fix declarations after statements.
18988
18989 2004-12-01  Colin Walters  <walters@redhat.com>
18990
18991         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18992         (nmi_dbus_get_vpn_userpass): New method.
18993         (nmi_dbus_nmi_message_handler): Invoke it.
18994
18995         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18996
18997         * info-daemon/NetworkManagerInfoVPN.h,
18998         info-daemon/NetworkManagerInfoVPN.c: New files; responds
18999         to requests for VPN passwords.
19000
19001         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
19002
19003 2004-12-01  Colin Walters  <walters@redhat.com>
19004
19005         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
19006         includes.
19007
19008 2004-12-01  Colin Walters  <walters@redhat.com>
19009
19010         * panel-applet/NMWirelessAppletDbus.c
19011         (nmwa_dbus_update_active_device_strength): Fix missing
19012         return value.
19013
19014 2004-12-01  Colin Walters  <walters@redhat.com>
19015
19016         * panel-applet/NMWirelessApplet.c: Add missing include.
19017
19018 2004-12-01  Colin Walters  <walters@redhat.com>
19019
19020         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
19021         Remove useless CLAMP (); the value is unsigned, and the case tests
19022         qual->qual < 100, so the value must always be between 0 and 100.
19023
19024 2004-12-01  Colin Walters  <walters@redhat.com>
19025
19026         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
19027
19028 2004-11-22  Colin Walters  <walters@verbum.org>
19029
19030         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
19031         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
19032         which is essentially a noop since nscd caches hosts on disk too.
19033         
19034 2004-11-22  Colin Walters  <walters@redhat.com>
19035
19036         * src/Makefile.am (NetworkManager_SOURCES): Add
19037         NetworkManagerDevicePrivate.h.
19038
19039 2004-11-22  Dan Williams <dcbw@redhat.com>
19040
19041         * src/NetworkManagerDevicePrivate.h
19042                 - Split out the NMDevice struct to a different file so that stuff like
19043                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
19044
19045         * dhcpcd/client.c
19046                 - fprintf->syslog
19047                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
19048                         need to cancel the dhcp request during the send and recv
19049
19050         * dhcpcd/client.h
19051                 - Move the DHCP option enum to dhcpcd.h
19052
19053         * src/NetworkManagerDHCP.c
19054                 - Split out the actual IP/netmask/etc setting code
19055                 - New Renew/Rebind functions
19056                 - New timer setup function for renew/rebind operations
19057
19058         * src/NetworkManagerDevice.c
19059                 - For device activation, if we are using DHCP then keep the activation thread
19060                         alive until device deactivation.  We need to renew/rebind the DHCP address
19061                         after the T1 (renew) and T2 (rebind) times have expired.
19062                 - Increase some timeouts after bringing wireless cards up/down
19063
19064 2004-11-17  Dan Williams <dcbw@redhat.com>
19065
19066         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19067                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
19068                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
19069                 show known access points that don't broadcast their ESSID in the menus without
19070                 any user intervention whatsoever.
19071
19072         * info-daemon/NetworkManagerInfoDbus.c
19073                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19074                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19075
19076         * src/NetworkManagerAP.[ch]
19077                 - Add a "user_addresses" data member to the NMAccessPoint structure
19078                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19079                         the user_addresses data member
19080
19081         * src/NetworkManagerAPList.c
19082                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19083                         the AP's reported address
19084                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19085
19086         * src/NetworkManagerDHCP.c
19087                 - Increase DHCP timeout from 25s -> 30s
19088
19089         * src/NetworkManagerDbus.[ch]
19090                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19091                         user addresses
19092
19093         * src/NetworkManagerDevice.c
19094                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19095                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
19096                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19097                         So, we take the card down to clear it out.
19098                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19099                         too, since that's where the user_addresses are
19100
19101         * src/NetworkManagerPolicy.c
19102                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19103                         that wireless networks' user_addresses list upon successful activation
19104
19105 2004-11-16  Dan Williams <dcbw@redhat.com>
19106
19107         * src/NetworkManagerDevice.[ch]
19108                 - (nm_device_clear_activation_fail): new function
19109
19110         * src/NetworkManagerPolicy.c
19111                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19112                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19113
19114 2004-11-16  Dan Williams <dcbw@redhat.com>
19115
19116         * src/NetworkManagerDevice.c
19117                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19118                         leak the structure, better updating of now_scanning status
19119                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19120
19121 2004-11-15  Dan Williams <dcbw@redhat.com>
19122
19123         Major rework of link detection code.  We now use DHCP
19124         as part of the link detection which proves to be much more robust,
19125         and also supports Open System authentication for wireless networks.
19126
19127         We no longer use external DHCP client programs.  Instead, we use 
19128         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19129         which was written by:
19130                 Yoichi Hariguchi <yoichi@fore.com>
19131                 Sergei Viznyuk <sv@phystech.com>
19132                 http://www.phystech.com/download/
19133         It resides in the "dhcpcd" directory and was refactored into a general
19134         purpose DHCP client library by me.
19135
19136         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19137         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19138
19139 2004-11-15  Dan Williams <dcbw@redhat.com>
19140
19141         Patch from Tom Parker <palfrey@tevp.net>:
19142
19143         * src/NetworkManagerDevice.c
19144                 - Less output to console when no access
19145                         points are found during a scan
19146
19147 2004-11-15  Dan Williams <dcbw@redhat.com>
19148
19149         Patch from Tom Parker <palfrey@tevp.net>:
19150
19151         * src/backends/interface_parser.c
19152                 - Use g_strdup ()
19153                 - Check for inp == NULL
19154                 - use syslog ()
19155
19156 2004-11-13  Colin Walters  <walters@redhat.com>
19157
19158         Patch from Tom Parker <palfrey@tevp.net>:
19159
19160         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19161         
19162         * src/backends/NetworkManagerRedHat.c: Switch to
19163         including shvar.h instead of shvar.c.
19164
19165         * src/backends/NetworkManagerDebian.c: Don't include
19166         interface_parser.c in source file.
19167
19168         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19169         and interface_parser.[ch].
19170         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19171         Include shvar.c and shvar.h here.
19172         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19173         interface_parser.c and interface_parser.h here.
19174
19175 2004-11-12  Colin Walters  <walters@redhat.com>
19176
19177         * configure.in: Strip out TARGET_DISTRO and
19178         SYSTEM_BACKEND_FILE variables.  Switch to Automake
19179         conditionals.
19180
19181         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19182         (libnmbackend_la_SOURCES): Use Automake conditionals
19183         to add distro-specific files.
19184
19185         * initscript/Makefile.am (SUBDIRS): Update to
19186         use conditionals.
19187
19188 2004-11-12  Colin Walters  <walters@redhat.com>
19189
19190         Patches from j bootlab org
19191
19192         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
19193         Add interface_parser.[ch].
19194
19195         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19196         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19197
19198 2004-11-12  Colin Walters  <walters@redhat.com>
19199
19200         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19201         call to nmi_dbus_is_running too, not necessary anymore.
19202         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19203         pick up exit().
19204
19205 2004-11-11  Colin Walters  <walters@verbum.org>
19206
19207         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19208         Delete.
19209         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19210         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19211         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19212         This avoids a race condition that made it pretty easily
19213         possible to get two NetworkManagerInfo daemons running.
19214
19215 2004-11-11  Colin Walters  <walters@verbum.org>
19216         
19217         * src/NetworkManager.c (main): Use daemon(3).
19218
19219         * info-daemon/NetworkManagerInfo.c (main): Ditto.
19220
19221         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19222
19223 2004-11-10 Dan Williams <dcbw@redhat.com>
19224
19225         Patches from j bootlab org
19226         * src/NetworkManagerDevice.c
19227                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19228                         whether the card has a link or not, some cards are slow
19229                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19230
19231         * info-daemon/NetworkManagerInfoPassphraseDialog.c
19232                 - Disable the "Login" button on the passphrase dialog until the user
19233                         enters a valid passphrase or key
19234
19235         Patches from Tom Parker <palfrey tevp net>
19236         * src/backends/NetworkManagerDebian.c
19237                 - Add static IP support to the debian backend
19238
19239         * src/backends/interface_parser.[ch]
19240                 - Parse debian interface config files
19241
19242 2004-11-08 Dan Williams <dcbw@redhat.com>
19243
19244         * src/NetworkManagerDevice.c
19245                 - Some random fprintf->syslog conversions
19246                 - (nm_device_wireless_network_exists): double-check for network
19247                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19248
19249         * src/NetworkManagerWireless.[ch]
19250                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19251                         so that the binary->ascii conversion works (if unsigned, the bitshift
19252                         will fill with zeros, which is what's required).  Also mask bitshift
19253                         result with 0xF for futher assurance.
19254
19255 2004-11-06 Dan Williams <dcbw@redhat.com>
19256
19257         * src/NetworkManagerUtils.c
19258                 - (nm_get_wireless_driver_support_level): default to
19259                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19260                         flip this when changing from whitelist->blacklist of
19261                         wireless drivers
19262
19263 2004-11-05 Dan Williams <dcbw@redhat.com>
19264
19265         Patch from Robert Paskowitz:
19266         * src/backends/NetworkManagerGentoo.c
19267                 - Update static IP config code
19268
19269 2004-11-05 Dan Williams <dcbw@redhat.com>
19270
19271         * info-daemon/NetworkManagerInfoDbus.c
19272           src/NetworkManagerDbus.[ch]
19273           src/NetworkManagerDevice.c
19274                 - Keep track of the # of attempts to get the WEP key
19275                         from the user and pass that along to the info daemon
19276
19277 2004-11-05 Dan Williams <dcbw@redhat.com>
19278
19279         * src/NetworkManagerUtils.c
19280                 - Blacklist wireless cards rather than whitelisting them.
19281                 - Grab driver name from HAL rather than trying to find it
19282                         ourselves.
19283
19284 2004-11-03 Dan Williams <dcbw@redhat.com>
19285
19286         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19287                 - Disable OK button until valid data is entered
19288                         for encryption stuff too
19289
19290         * panel-applet/NMWirelessApplet.c
19291                 - Report card strength for current AP if the card
19292                         doesn't report strength data for scanned access
19293                         points
19294
19295         * src/NetworkManagerDevice.c
19296                 - Smooth out cards reported quality, Atmel card was
19297                         intermittently reporting no quality data but soon
19298                         recovers
19299
19300         * src/NetworkManagerWireless.c
19301                 - Better quality data percentage calculation.  Atmel
19302                         cards (mine at least) seem to report the quality
19303                         in percentage format already, so honor that
19304
19305         Patch from <j@bootlab.org>
19306         * NetworkManager.h
19307           info-daemon/NetworkManagerInfoPassphraseDialog.c
19308           info-daemon/passphrase.glade
19309           panel-applet/NMWirelessAppletOtherNetworkDialog.c
19310           panel-applet/essid.glade
19311           src/NetworkManagerAP.c
19312           src/NetworkManagerDevice.c
19313           src/NetworkManagerWireless.[ch]
19314                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19315
19316 2004-11-03 Dan Williams <dcbw@redhat.com>
19317
19318         * src/NetworkManagerDevice.[ch]
19319                 - (nm_device_set_enc_key): Add parameter to set Authentication
19320                         Mode (Open System, Shared Key, or None).  We're still using
19321                         Shared Key for now though.
19322
19323 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
19324
19325         * panel-applet/menu-info.c: change from bold text to light
19326         colored, may cause problems with some themes, i've tested a lot
19327         and they seem fine. 
19328
19329         * panel-applet/NMWirelessApplet.c: fix strength tooltip
19330
19331 2004-11-01  Colin Walters  <walters@verbum.org>
19332
19333         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19334         (nm_wireless_128bit_key_from_passphrase): Add const.
19335
19336         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19337         (nm_ap_set_enc_key_source): Add const.
19338         
19339 2004-11-01  Colin Walters  <walters@verbum.org>
19340
19341         * .cvsignore: Update.
19342
19343 2004-10-29 Dan Williams <dcbw@redhat.com>
19344
19345         * src/NetworkManagerDevice.c
19346                 - (nm_device_wireless_network_exists): Actually use the encryption
19347                         key we got from the applet when attempting to find a wireless network
19348                 - Don't bring devices down so much since on some cards it triggers
19349                         firmware hotplugs each time
19350
19351         * src/NetworkManagerDbus.c
19352                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19353                         from the caller
19354
19355 2004-10-29 Dan Williams <dcbw@redhat.com>
19356
19357         * src/NetworkManager.c
19358                 - (nm_hal_device_property_modified): unlock a locked active
19359                         wireless device when a wired connection gets a link.
19360                         (Means you'll switch to wired whenever you plug in no
19361                         matter what).
19362
19363 2004-10-29 Dan Williams <dcbw@redhat.com>
19364
19365         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19366                 - New files, implement the "Other wireless network" dialog
19367
19368         * panel-applet/NMWirelessApplet.c
19369                 - Move "other wireless network" dialog to separate file
19370
19371         * panel-applet/NMWirelessAppletDbus.[ch]
19372                 - Take key and key_type paramaters for the set_device function
19373
19374         * panel-applet/essid.glade
19375                 - Add UI bits for encryption settings
19376
19377         * src/NetworkManagerDbus.c
19378                 - Retrieve key and key_type params for "setActiveDevice" method call
19379                         and pass them on
19380                 - unref AP returned from nm_device_get_best_ap() when needed
19381
19382         * src/NetworkManagerDevice.c
19383                 - (nm_device_get_best_ap): ref the ap before returning it
19384                 - unref AP returned from nm_device_get_best_ap() when needed
19385                 - (nm_device_activate_wireless): add "ap" parameter so we don't
19386                         need to call nm_device_get_best_ap() here, it was pretty much
19387                         redundant anyway
19388                 - (AP_NEED_KEY): break second link check condition out into separate
19389                         function, and fix segfault when ap->enc_key_source was NULL
19390                 - (nm_device_find_and_use_essid): take key and key_type parameters and
19391                         pass them along to nm_device_wireless_network_exists().  If the
19392                         network does exist, set the passed-in key+key_type on the AP
19393
19394         * src/NetworkManagerPolicy.c
19395                 - unref AP returned from nm_device_get_best_ap() when needed
19396
19397 2004-10-28 Dan Williams <dcbw@redhat.com>
19398
19399         * src/NetworkManagerUtils.c
19400                 - (nm_spawn_process): Fix a potential dereference of NULL
19401
19402         Patches from Peter Jones:
19403
19404         * src/NetworkManagerDevice.c
19405                 - (nm_device_test_wireless_extensions): Better check for
19406                         wireless devices
19407
19408         * src/NetworkManagerUtils.c
19409                 - (nm_spawn_process): Pass in valid stdout and stderr so
19410                         executed programs don't randomly SIGPIPE and fail
19411                 - (nm_get_wired_driver_support_level): quash hal warning
19412                         when checking for USB ethernet device
19413
19414 2004-10-27 Dan Williams <dcbw@redhat.com>
19415
19416         * info-daemon/NetworkManagerInfo.c
19417           info-daemon/NetworkManagerInfoDbus.c
19418           info-daemon/NetworkManagerInfoPassphraseDialog.c
19419           panel-applet/NMWirelessApplet.c
19420                 - Properly escape gconf keys
19421
19422         * src/NetworkManager.c
19423                 - remove unused variables
19424
19425         * src/NetworkManagerAP.c
19426                 - (nm_ap_new_from_ap): Don't redundantly set new APs
19427                         refcount since it got set in nm_ap_new()
19428
19429         * src/NetworkManagerAPList.c
19430                 - (nm_ap_list_combine): Give up ownership of newly created
19431                         access points to the ap list, fixes memleak
19432
19433         * src/NetworkManagerDevice.c
19434                 - Remove cached_ap_list4 member since its not really needed
19435                 - (nm_device_wireless_network_exists): Try to get correct
19436                         encryption status of a found AP if its already in our
19437                         device list
19438                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19439                         memory allocs/deallocs a bit clearer and shorter-lived
19440
19441 2004-10-26 Ray Strode <rstrode@redhat.com>
19442
19443         * panel-applet/NMWirelessApplet.c:
19444           (custom_essid_item_selected):  kill some compiler
19445         warnings 
19446
19447 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19448
19449         * info-daemon/NetworkManagerInfoDbus.c
19450                 - (nmi_dbus_is_running): New function for determining if nmi is already running
19451                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19452
19453 2004-10-23 Dan Williams <dcbw@redhat.com>
19454
19455         * info-daemon/NetworkManagerInfoDbus.c
19456                 - Trap the "DeviceActivationFailed" signal
19457
19458         * docs/NetworkManager DBUS API.txt
19459                 - Add "DeviceActivationFailed" signal
19460
19461         * panel-applet/NMWirelessAppletDbus.c
19462                 - Quash the "NetworkManager service not available" message
19463
19464         * src/NetworkManagerDbus.[ch]
19465                 - Add the "DeviceActivationFailed" signal
19466
19467         * src/NetworkManagerDevice.c
19468                 - Add support for activation_failed flag
19469                 - Fix deadlock where activation thread didn't clean itself up, making
19470                         main thread still believe it was alive forever (didn't reset activation
19471                         flags like activating, just_activated, etc when IP configuration
19472                         failed)
19473
19474         * src/NetworkManagerPolicy.c
19475                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19476                         for wireless networks, try to fall back to some other access point
19477
19478 2004-10-23 Dan Williams <dcbw@redhat.com>
19479
19480         * panel-applet/NMWirelessApplet.[ch]
19481                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19482                         to the applet object, so we can get tooltips
19483                 - Add tooltips (RH #136866)
19484
19485         * src/NetworkManagerDevice.c
19486                 - When trying to find a wireless network, try to connect with encryption
19487                         turned on first, so that we can more accurately detect whether or not
19488                         we need to use encryption for the actual association later on
19489
19490 2004-10-21 Dan Williams <dcbw@redhat.com>
19491
19492         * Add some support for telling NetworkManagerInfo to tell the user
19493                 that they are using a device that's not fully supported
19494
19495         * Fix some assertions in debug messages due to null access point args
19496
19497 2004-10-21 Dan Williams <dcbw@redhat.com>
19498
19499         * src/NetworkManagerDevice.c
19500                 - Don't try to activate/bring up/down unsupported
19501                         devices
19502
19503         * src/NetworkManagerUtils.c
19504                 - Fix case of PCI ID checks for driver support levels
19505
19506 2004-10-21 Dan Williams <dcbw@redhat.com>
19507
19508         * NetworkManager.h
19509                 - New file, now contains commonly used structures and bits
19510                         for the dbus API of NetworkManager
19511
19512         * Makefile.am
19513                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19514
19515         * src/NetworkManager.h
19516                 - Rename -> src/NetworkManagerMain.c
19517
19518         * Various fixups all around to use NetworkManager.h and new
19519                 src/NetworkManagerMain.h, remove redundant bits that got
19520                 moved into NetworkManager.h
19521
19522         * src/NetworkManagerDevice.[ch]
19523           src/NetworkManagerUtils.[ch]
19524           src/NetworkManagerPolicy.c
19525           src/NetworkManagerDbus.c
19526                 - Whitelist wireless drivers, and blacklist some wired
19527                         drivers.  Also blacklist cipsec and ethernet-over-usb
19528                         devices at this time (RH #135722, RH #135648)
19529                 - Don't leak unsupported devices out over dbus, or allow
19530                         them to be set as the active device.  Skip over them
19531                         during automatic device picking
19532
19533         * test/nmclienttest.c
19534                 - Clean up the dbus code a lot
19535
19536 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19537
19538         * configure.in: post release bump.
19539
19540 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19541
19542         * configure.in:
19543         * NEWS: Released NetworkManager-0.3.1
19544
19545 2004-10-18 Dan Williams <dcbw@redhat.com>
19546
19547         Patches from Thom May:
19548         * test/nmtestdevices.c
19549                 - Include <string.h>
19550         * src/backends/NetworkManagerDebian.c:
19551                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19552                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19553                         Move to using g_strdup_printf rather than arbitrary buffers
19554                 - (nm_system_device_setup_static_ip4_config) Implement function.
19555                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19556
19557 2004-10-17 Dan Williams <dcbw@redhat.com>
19558
19559         * info-daemon/NetworkManagerInfoDbus.c
19560                 - Display name of network in the "network not found" dialog
19561
19562         * panel-applet/NMWirelessAppletDbus.c
19563                 - (nmwa_dbus_call_nm_method): new function replaces all other
19564                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19565                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19566                         consolidated into nmwa_dbus_get_object_name()
19567
19568 2004-10-15 Dan Williams <dcbw@redhat.com>
19569
19570         * src/NetworkManagerDbus.c
19571           info-daemon/NetworkManagerInfoDbus.c
19572                 - Display an error dialog when the user tries to use an
19573                         "Other wireless network" that's not found.
19574
19575 2004-10-15 Dan Williams <dcbw@redhat.com>
19576
19577         * panel-applet/NMWirelessApplet.[ch]
19578                 - Fix up corner cases in applet state, making it
19579                         look more responsive.  Change state to "connecting" when
19580                         the user is forcing a device too.
19581
19582 2004-10-15 Dan Williams <dcbw@redhat.com>
19583
19584         * src/NetworkManagerAPList.c
19585                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19586
19587         * src/NetworkManagerDbus.c
19588                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19589
19590         * src/NetworkManagerDevice.c
19591                 - Disown APs after the device's AP list takes ownership
19592
19593 2004-10-15 Dan Williams <dcbw@redhat.com>
19594
19595         * panel-applet/NMWirelessApplet.c
19596                 - Update our applet state from the GUI thread
19597
19598         * panel-applet/NMWirelessAppletDbus.c
19599                 - Greatly simplify the locking to make the GUI thread
19600                         smoother.  Update a private copy of the device list
19601                         and active device and only when done talking to
19602                         NetworkManager turn it over to the GUI thread.
19603
19604 2004-10-15 Dan Williams <dcbw@redhat.com>
19605
19606         * src/NetworkManagerAP.[ch]
19607                 - Add "artificial" get/set functions, set for APs that
19608                         aren't discovered as part of a scan but instead
19609                         discovered by force-setting the ESSID
19610
19611         * src/NetworkManagerDevice.[ch]
19612                 - (nm_device_wireless_network_exists): pass back whether
19613                         or not the discovered AP was encrypted.  Also, try
19614                         falling back to encrypted mode on the card if unencrypted
19615                         association doesn't work
19616                 - (nm_device_find_and_use_essid): If the network requested
19617                         did in fact exists, but it wasn't in our scan list, add
19618                         an "artificial" entry for it.  Some Cisco cards don't
19619                         see non-ESSID-broadcasting APs in their scan but can still
19620                         associate with them if you know the ESSID, this works around
19621                         that behavior
19622                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19623                         to scan if the card is currently associated with that AP
19624
19625 2004-10-15 Dan Williams <dcbw@redhat.com>
19626
19627         ---- We have a website ----
19628         http://people.redhat.com/dcbw/NetworkManager
19629
19630         Patch from Robert Paskowitz:
19631         * src/NetworkManager.c
19632                 - (main): Make sure we are run as root
19633         * src/NetworkManagerDevice.c
19634                 - Fix type in ad-hoc setting function
19635
19636         Patch from Thom May:
19637         * src/backends/NetworkManagerDebian.c
19638                 - Make Debian backend compile again
19639
19640 2004-10-14 Dan Williams <dcbw@redhat.com>
19641
19642         * Tagged NetworkManager-0_3
19643
19644 2004-10-14 Dan Williams <dcbw@redhat.com>
19645
19646         Patch from Robert Paskowitz:
19647         * NEWS
19648           src/NetworkManagerDevice.[ch]
19649           src/backends/NetworkManagerDebian.c
19650           src/backends/NetworkManagerGentoo.c
19651           src/backends/NetworkManagerRedHat.c
19652           src/backends/NetworkManagerSlackware.c
19653                 - Add support for grabbing and using a broadcast address
19654                         from system config files
19655                 - Some Gentoo backend fixes for grabbing network config
19656                 - Fix LOG_WARN->LOG_WARNING
19657
19658 2004-10-14 Dan Williams <dcbw@redhat.com>
19659
19660         * NEWS: a few small fixes in the credits
19661
19662 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19663
19664         * NEWS: prep for release.
19665
19666 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19667
19668         * panel-applet/NMWirelessAppletDbus.c
19669         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19670
19671 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19672
19673         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19674         applet->state == APPLET_STATE_NO_NM animation.
19675
19676         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19677         set the text correctly.
19678
19679 2004-10-14 Dan Williams <dcbw@redhat.com>
19680
19681         * src/NetworkManager.c
19682                 - Only accept and manager 802.3 and 802.11 devices
19683
19684         * src/NetworkManagerDbus.[ch]
19685                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19686                         logic into NetworkManagerDevice.c
19687                 - (nm_dbus_network_status_from_data): new function
19688                 - (nm_dbus_signal_network_status_change): new function, unused for now
19689                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19690
19691         * src/NetworkManagerDevice.[ch]
19692                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19693                         a random ESSID.
19694
19695 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19696
19697         * info-daemon/NetworkManagerInfo.c 
19698                 - (main): Added session management
19699
19700 2004-10-14 Dan Williams <dcbw@redhat.com>
19701
19702         * panel-applet/NMWirelessAppletDbus.[ch]
19703                 - Expose network_device_[un]ref()
19704                 - Expose wireless_network_[un]ref()
19705                 - (wireless_network_new_with_essid): new function, create and return
19706                         a wireless network with a particular essid
19707
19708         * panel-applet/NMWirelessApplet.c
19709                 - Hook up the "other network" dialog to do something
19710
19711 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19712
19713         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19714         doesn't work yet, but it looks okay.
19715
19716         * panel-applet/icons/*png: Resize to 22x22 and install in the
19717         right place.
19718
19719 2004-10-13 Dan Williams <dcbw@redhat.com>
19720
19721         * panel-applet/NMWirelessApplet.c
19722                 - Add function to print out applet_state in a readable
19723                         manner
19724
19725         * src/NetworkManager.c
19726                 - (main): Don't segfault when nm_dbus_init() fails, we had
19727                         a left-over call to hal_shutdown() into which we passed NULL
19728
19729         * src/NetworkManagerAP.c
19730                 - (nm_ap_set_essid): Allow NULL essids
19731
19732         * src/NetworkManagerAPList.[ch]
19733                 - More use of nm_ap_list_[un]lock ()
19734                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19735                         network/essid, just return nothing.  Also skip over NULL
19736                         essid access points in the list when searching
19737                 - (nm_ap_list_get_ap_by_address): new function
19738                 - (nm_ap_list_update_network): set the access point's key source to
19739                         NULL when the key returned from NetworkManagerInfo is NULL or
19740                         of 0 length
19741                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19742                         copy timestamp over too
19743                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19744                         find the correct ESSID for a blank-essid access point by searching
19745                         through another list and matching access point MAC addresses
19746                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19747
19748         * src/NetworkManagerDbus.c
19749                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19750                         may specify.  This is mainly for access points that don't
19751                         broadcast their essid.  So if the user tells us to associate with
19752                         some random ESSID that's not in our access point list, we find
19753                         out if the access point does in fact exist (by attempting association
19754                         and then matching that access point's MAC address with the essid the
19755                         user gave us) and then we switch to it.
19756                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19757                         to the returned list of networks for the "getNetworks" method
19758
19759         * src/NetworkManagerDevice.[ch]
19760                 - Extra debugging info for link detection
19761                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19762                         based on MAC address
19763                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19764                 - (nm_device_wireless_network_exists): new function, find out whether
19765                         a random ESSID exists by attempting to associate with it
19766                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19767                         device list as long as they have an AP MAC address we can use.
19768                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19769                         devices too.  Lets the applet update more frequently.
19770
19771         * src/backends/NetworkManagerGentoo.c
19772                 - Patch from: Robert Paskowitz
19773                         - Update backend code for Gentoo
19774                         - Implement nm_system_device_update_config_info ()
19775
19776         * test/nmclienttest.c
19777                 - (set_network_device): new function, takes a command-line argument
19778                         and tells NetworkManager to use that wireless network
19779
19780 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19781
19782         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19783         if the notification icon crashes 5 times within 5 seconds of each respawn 
19784
19785 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19786
19787         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19788         g_print.
19789
19790 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19791
19792         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19793
19794         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19795         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19796         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19797         Change the name of the icons.
19798
19799         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19800         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19801         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19802         (nm_menu_wireless_expose_event): Really bad hack to get the style
19803         to draw in the right color.
19804
19805 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19806
19807         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19808         Notification if it crashes
19809
19810 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19811
19812         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19813         (nmwa_dbus_get_string): remove unused functions
19814
19815         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19816         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19817         remove unused functions
19818
19819         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19820
19821 2004-10-12 Dan Williams <dcbw@redhat.com>
19822
19823         * panel-applet/NMWirelessAppletDbus.c
19824                 - New functions:
19825                         wireless_network_new
19826                         wireless_network_copy
19827                         network_device_new
19828                         network_device_copy
19829
19830         * src/NetworkManagerDevice.[ch]
19831                 - New functions:
19832                         nm_device_set_mode_managed
19833                         nm_device_set_mode_adhoc
19834                 - Use these functions where appropriate
19835                 - When creating a new wireless device, force the card
19836                         to managed/Infrastructure mode as soon as possible
19837
19838 2004-10-12 Dan Williams <dcbw@redhat.com>
19839
19840         * src/NetworkManagerDevice.c
19841                 - Force wireless cards into Infrastructure mode before we use them
19842
19843 2004-10-12 Dan Williams <dcbw@redhat.com>
19844
19845         * TODO
19846                 - Remove bit about static IP address support
19847
19848         * src/NetworkManagerUtils.c
19849                 - (nm_spawn_process): Add some error reporting
19850
19851         * src/NetworkManagerDevice.c
19852                 - (nm_device_activation_configure_ip): hook up to the static config
19853                         routines in the backends
19854
19855         * src/backends/NetworkManagerRedHat.c
19856                 - (nm_system_device_update_config_info): use shvar.c routines to
19857                         parse the config file iformation, not our own
19858                 - (nm_system_device_setup_static_ip4_config): new function, based
19859                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
19860                         with a static IP address and gateway
19861
19862         * src/backends/shvar.[ch]
19863                 - Parser (filched from initscripts package) for ifcfg-* files
19864
19865         * src/backends/NetworkManagerSystem.h
19866           src/backends/NetworkManagerGentoo.c
19867           src/backends/NetworkManagerDebian.c
19868           src/backends/NetworkManagerSlackware.c
19869                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19870
19871 2004-10-11 Dan Williams <dcbw@redhat.com>
19872
19873         * TODO
19874                 - Remove bit about more robust AP diffing since I just implemented it
19875
19876 2004-10-11 Dan Williams <dcbw@redhat.com>
19877
19878         * src/NetworkManagerAP.c
19879                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19880                         enough RAM to allocate new AP structures, but return NULL instead
19881
19882         * src/NetworkManagerAPList.[ch]
19883                 - (nm_ap_list_is_empty): new function
19884                 - (nm_ap_list_combine): new function, combine two access point lists
19885                 - (nm_ap_list_copy_keys): new function, copy keys from one list
19886                         into another
19887
19888         * src/NetworkManagerDevice.[ch]
19889                 - Rename some functions to be clearer:
19890                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19891                         nm_device_just_activated     -> nm_device_is_just_activated
19892                         nm_device_activating         -> nm_device_is_activating
19893                         nm_device_now_scanning       -> nm_device_is_scanning
19894                 - Cache the last 4 scans so that the access point list is more stable.
19895                         We combine the lastest two scans and use that as the AP list,
19896                         and diff that combined list against the combination of the earliest
19897                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19898
19899 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19900
19901         * info-daemon/NWManagerInfo.h
19902                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19903
19904         * info-daemon/NWManagerInfoDbus.c
19905                 - (shutdown_callback): new function
19906                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19907                         if NetworkManager goes away.  Kill the timeout
19908                         if NetworkManager restarts before the 30 seconds
19909                         are up.
19910                 - (nmi_dbus_service_init): 
19911                         - call gtk_main_quit if NetworkManager is not running
19912                         - add filters to monitor dbus service creations and
19913                                 deletions
19914         
19915 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19916
19917         * panel-applet/NMWirelessApplet.c
19918                 - (nmwa_update_state): Hide notification icon if we are only
19919                         showing one wired card and no wireless interfaces 
19920                         (Red Hat Bug #134895)
19921
19922         * panel-applet/NMWirelessAppletDbus.c
19923                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19924
19925         * info-daemon/NWManagerInfo.c
19926                 - (main): Terminated the notification_icon_cmd array with a NULL
19927
19928 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
19929
19930         * configure.in (ALL_LINGUAS): Added de (German).
19931
19932 2004-10-08 Dan Williams <dcbw@redaht.com>
19933
19934         * src/NetworkManagerDevice.c
19935                 - Be a bit more robust about link checking, ie make sure that
19936                         the WEP key we were given actually has some data in it
19937
19938 2004-10-08 Dan Williams <dcbw@redhat.com>
19939
19940         * info-daemon/NetworkManagerInfo.c (main):
19941                 - Initialize GError object to NULL
19942
19943 2004-10-08 Dan Williams <dcbw@redhat.com>
19944
19945         * panel-applet/NMWirelessAppletDbus.c
19946                 - Die if NetworkManagerInfo dies, since it manages our lifetime
19947
19948 2004-10-08 Dan Williams <dcbw@redhat.com>
19949
19950         * info-daemon/NetworkManagerInfo.[ch]
19951           info-dameon/NetworkManagerInfoDbus.[ch]
19952           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19953                 - Preserve original label text in the passphrase dialog so that
19954                         it actually gets updated with the new network name the next
19955                         time around.  Previously, we were overwriting it so you'd get
19956                         the wrong network name to enter a key for
19957                 - Add a "Key Type" combo to the passphrase dialog, user selects
19958                         encryption key type now, type is stored in GConf too
19959                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19960
19961         * src/NetworkManagerAP.[ch]
19962                 - Remove all the encyption method magic.  It's now set by the user
19963                         and NetworkManager retrieves the type of encryption key from
19964                         NetworkManagerInfo
19965
19966         * src/NetworkManagerAPList.[ch]
19967           src/NetworkManagerDbus.[ch]
19968                 - Adjust to new way of setting encryption key and method
19969                 - Pull encryption method down from NMI along with key
19970
19971         * src/NetworkManagerDevice.[ch]
19972                 - Removed encryption method fallback magic as the method is now
19973                         determined by the user.  This greatly simplifies the connection
19974                         logic.
19975                 - More robust connection/link logic.  Besides removing the encryption
19976                         method fallback magic, check whether or not the card is receiving
19977                         invalidly encrypted packets, which usually indicates that we have
19978                         a bad WEP key set.
19979                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19980
19981         * test/nminfotest.c
19982                 - Test out new "Key Type" stuff in the NMI passphrase dialog
19983
19984 2004-10-07 Dan Williams <dcbw@redhat.com>
19985
19986         * info-daemon/NetworkManagerInfo.conf
19987                 - Allow root user to run NMI too
19988
19989 2004-10-06 Dan Williams <dcbw@redhat.com>
19990
19991         * src/NetworkManagerDevice.[ch]
19992           src/NetworkManagerDbus.c
19993           doc/NetworkManager DBUS API.txt
19994                 - Add a new status tag "scanning", which is set when there
19995                         is no active network connection, but NetworkManager is
19996                         looking for an access point to associate with
19997
19998         * panel-applet/main.c
19999                 - Cast the applet appropriately for gtk_widget_show_all ()
20000
20001 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
20002
20003         * panel-applet/eggtrayicon.[ch]:
20004         * panel-applet/main.c: Add missing file
20005
20006 2004-10-04 Dan Williams <dcbw@redhat.com>
20007
20008         * src/NetworkManagerDevice.[ch]
20009                 - Add a slightly more robust method of determining if the WEP key
20010                         is correct or not, by checking the WEP-discarded packet count
20011                         on the card
20012
20013         * info-daemon/NetworkManagerInfo.c
20014                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
20015                         un-escape values we pull out rather than escaping them
20016
20017 2004-10-03  Marcel Telka  <marcel@telka.sk>
20018
20019         * configure.in (ALL_LINGUAS): Added sk.
20020
20021 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
20022
20023         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
20024         and feel.  We should be back to working, and have a good, clean
20025         look.
20026
20027 2004-09-30 Dan Williams <dcbw@redhat.com>
20028
20029         * info-daemon/NetworkManagerInfo.c
20030           info-daemon/NetworkManagerInfoDbus.c
20031           test/nminfotest.c
20032                 - Escape ESSIDs in gconf
20033
20034         * src/NetworkManagerDevice.c
20035                 - Fix pseudo-scanning to use netowrk list from info daemon
20036
20037 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
20038
20039         * configure.in: Add a temporary --enable-notification-icon.  This
20040         will prolly go away.
20041
20042         * info-daemon/Makefile.am:
20043         * info-daemon/NetworkManagerInfo.c:
20044         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
20045
20046         * panel-applet/Makefile.am:
20047         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
20048         * panel-applet/NMWirelessApplet.h:
20049
20050 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
20051
20052         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
20053         before 'select custom ESSID'.
20054
20055         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
20056         fully complete, but syncing in prep for merge.
20057
20058         * panel-applet/icons/*png: New images
20059
20060 2004-09-28 Dan Williams <dcbw@redhat.com>
20061
20062         * src/NetworkManager.c
20063           src/NetworkManagerDevice.c
20064           src/NetworkManagerPolicy.c
20065                 - Don't blow away an active wired connection on startup
20066
20067 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
20068
20069         Changes from J5
20070         
20071         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20072
20073         * info-daemon/NetworkManagerInfoDbus.c: added service name to
20074         syslog output
20075
20076 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
20077
20078         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20079         have a wireless card.
20080
20081 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
20082
20083         * panel-applet/NMWirelessApplet.c: move the custom essid item.
20084         Also, get the right device strings.
20085
20086 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
20087
20088         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20089         the logic to make this right.
20090
20091         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20092         devices so that wired networks are always first.
20093
20094 2004-09-22    <clarkbw@cvs.gnome.org>
20095
20096         * initscript/Debian/.cvsignore:
20097         * initscript/Slackware/.cvsignore:
20098         Added new cvsignores for Makefile, Makefile.in
20099         
20100         * test/.cvsignore:
20101         Added nmtestdevices
20102         
20103         * src/NetworkManagerDevice.c: 
20104         * src/NetworkManager.c: 
20105         Updated the wireless/wired HAL device strings from net.ethernet to
20106         net.80203 or net.80211 depending on wired or wireless respectively
20107         
20108         * examples/python/NetworkManager.py: 
20109         s/Quality/Strength/
20110
20111         * examples/python/systray/network_tray.py:
20112         Lots of little changes and fixes.  been rotting for a while so I
20113         figured I'd finally sync them all with CVS
20114
20115 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
20116
20117         * configure.in: Add graphics
20118
20119         * panel-applet/Makefile.am: Add graphics
20120
20121         * panel-applet/icons/*: Add graphics
20122
20123         * panel-applet/NMWirelessApplet.c: Use new menu times to display
20124         the icons fully lined up.
20125
20126         * panel-applet/menu-info.c: 
20127         * panel-applet/menu-info.h: Add another menu type.
20128
20129 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
20130
20131         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20132
20133         * panel-applet/menu-item.[ch]: Wireless menu item.
20134
20135 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
20136
20137         * info-daemon/NetworkManagerInfo.conf
20138                 - Created a more robust security policy for the DBus service
20139                         - everything is denied by default
20140                         - root can own and send to the service
20141                         - users logged in at the console can send to the service
20142
20143 2004-09-13  Dan Williams <dcbw@redhat.com>
20144
20145         * src/NetworkManagerDevice.c
20146                 - (nm_device_get_essid): use iw_get_basic_config() rather than
20147                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20148                         the latter
20149
20150 2004-09-13  Dan Williams <dcbw@redhat.com>
20151
20152         * TODO: fix typo
20153
20154         * docs/NetworkManager DBUS API.txt
20155                 - Update for new signal strength changes
20156
20157         * panel-applet/NMWirelessApplet.c
20158                 - Make panel icon show strength of the current connection
20159                 - Cleanups and memleak fixes
20160
20161         * panel-applet/NMWirelessApplet.h
20162                 - Add data members for signal strength on devices and networks
20163
20164         * panel-applet/NMWirelessAppletDbus.c
20165                 - Free more DBusErrors
20166                 - Update for new signal strength changes
20167                 - Make devices and networks more like real objects, use ref/unref methods
20168                 - Actually unlock the mutex when updating the active device
20169
20170         * src/NetworkManagerAP.c
20171                 - Change AP functions and data members from "quality"->"strength"
20172
20173         * src/NetworkManagerDbus.c
20174                 - Kill "getMaxQuality" and "getQuality" methods
20175                 - Add "getStrength" methods for Networks and Devices
20176
20177         * src/NetworkManagerDevice.[ch]
20178                 - Add accessors for device strength
20179                 - Add functions to update strength for a device.  Note that not all drivers
20180                         actually support signal strength for scanned access points (Atmel drivers
20181                         being one)
20182                 - Calculate signal strength for each AP during scan
20183
20184         * src/NetworkManagerWireless.[ch]
20185                 - Add function to return signal strength % from a device and a raw quality struct
20186
20187         * test/nmclienttest.c
20188                 - Update for new signal strength changes
20189
20190 2004-09-11  Dan Williams <dcbw@redhat.com>
20191
20192         * src/NetworkManager.c
20193                 - Fix race condition between initscripts and NM on card insertion
20194                         which could cause a card to keep an IP address and routes around
20195                         even when it was not the active device
20196
20197         * src/NetworkManagerDbus.c
20198                 - Fix compile errors, free more DBusErrors
20199
20200 2004-09-11  Dan Williams <dcbw@redhat.com>
20201
20202         * docs/NetworkManager DBUS API.txt
20203                 - Add an explanation of NM's API
20204
20205         * src/NetworkManagerDbus.c
20206                 - Free some more DBusErrors if needed
20207
20208 2004-09-11  Dan Williams <dcbw@redhat.com>
20209
20210         * panel-applet/NMWirelessApplet.c
20211           panel-applet/NMWirelessAppletDbus.c
20212                 - Start using NetworkDevice/WirelessNetwork structures in more places
20213                 - Update for unified device/network forcing in NetworkManager
20214
20215         * src/NetworkManager.c
20216                 - some code consolidation
20217
20218         * src/NetworkManagerDbus.c
20219                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20220                         or two arguments:  the first is the NM ID of the device to switch to,
20221                         and the second (optional) argument is the ESSID of a wireless network
20222                         to use as well.
20223                 - Get rid of "setNetwork" method due to above change
20224
20225         * src/NetworkManagerDevice.c
20226                 - (nm_device_new): perform scan and update best AP on device creation
20227                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20228                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20229                         spin waiting for cancellation to finish before returning
20230
20231         * src/NetworkManagerPolicy.c
20232                 - Changes here clarify the situations in which a device switch occurs, and 
20233                         make sure to keep using a forced device and network if the user gives
20234                         us one
20235                 - Remove old unused code
20236
20237 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
20238
20239         * configure.in: Added Danish (da) to ALL_LINGUAS.
20240
20241 2004-09-09  Dan Williams <dcbw@redhat.com>
20242
20243         * panel-applet/NMWirelessAppletDbus.c
20244                 - Pull fresh devices and networks from NM when wireless networks
20245                         change.  Provides faster feedback of a forced wireless network
20246
20247         * src/NetworkManagerDbus.c
20248                 - Return error when "getMaxQuality" is called on a wired device
20249                 - Make best_ap freezing actually work again, and signal cancellation
20250                         of activation if there's already a device activation when the user
20251                         freezes the best_ap
20252
20253         * src/NetworkManagerDevice.c
20254                 - Don't clear out the best_ap for wireless devices when the link goes
20255                         down, that's done elsewhere
20256                 - Kill any dhcp daemons when cancelling device activation since they
20257                         may be stuck waiting for a DHCP address, and since we're cancelling
20258                         activation we don't care about that anymore
20259
20260         * src/NetworkManagerPolicy.c
20261                 - Make sure to unref the device we ref earlier (we refed it to make sure
20262                         it stuck around during device activation and such)
20263                 - If we were going to change the best device, but its activating currently
20264                         (and therefore the change didn't occur due to the check earlier)
20265                         we mark the state changed to we come back to it later when device
20266                         activation has canceled and its no longer activating
20267
20268         * src/backends/NetworkManagerRedHat.c
20269                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20270
20271 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
20272
20273         * info-daemon/passphrase.glade: 
20274         set passphrase input to activates_default : True
20275
20276         * examples/python/systray/network_tray.py
20277         (network_tray.sort_networks):
20278
20279         Added support for having wireless always scanning
20280
20281 2004-09-09  Dan Williams <dcbw@redhat.com>
20282
20283         NOTE: this commit changes the behavior of wireless devices in
20284         NetworkManager.  They are now up all the time, scanning all
20285         the time.  Only the active device has an IP address and routing
20286         information set up however.  Also, NetworkManager will no longer
20287         opportunistically switch wireless networks when a better one
20288         comes in range, it will remain associated with one wireless network
20289         until that one drops out.
20290
20291         * panel-applet/NMWirelessApplet.c
20292           panel-applet/NMWirelessAppletDbus.c
20293                 - List all wireless cards and their respective networks
20294
20295         * src/NMLoadModules
20296                 - Use full path to /sbin/ip
20297
20298         * src/NetworkManager.c
20299                 - Keep wireless devices up all the time so they can scan
20300
20301         * src/NetworkManagerDbus.c
20302                 - On a WirelessNetworkUpdate signal from NMI, don't update
20303                         the "best" AP
20304
20305         * src/NetworkManagerDevice.c
20306                 - (nm_device_set_link_active): clear out the best ap for
20307                         wireless devices when the link is set to FALSE
20308                 - Scan on all wireless cards, all the time
20309                 - (nm_device_activation_worker): split out the wireless card
20310                         link-waiting code to a separate function
20311                 - Keep wireless cards up even if device activation fails
20312                 - Don't update the "best" ap as much
20313
20314         * src/NetworkManagerPolicy.c
20315                 - Don't update the best ap when checking if its frozen,
20316                         let link checking clear out a frozen best ap for us
20317
20318         * src/NetworkManagerWireless.c
20319                 - Scan on all wireless cards, all the time
20320
20321 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
20322
20323         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20324
20325 2004-09-09  Ankit Patel <ankit@redhat.com>
20326
20327         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20328
20329 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
20330
20331         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20332
20333 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
20334
20335         * examples/python/NetworkManager.py: 
20336         added CONNECTED, CONNECTING, and DISCONNECTED states
20337         added methods to return number of devices of a single type
20338
20339         * examples/python/systray/network_tray.py: 
20340         did some tweaks to get the menu looking near what it is supposed
20341         to look like.  Also did a Airo card hack to make it show the
20342         correct AP quality
20343
20344 2004-09-08  Dan Williams <dcbw@redhat.com>
20345
20346         * panel-applet/no-networkmanager.png
20347           panel-applet/Makefile.am
20348           panel-applet/NMWirelessApplet.c
20349                 - Add a "NetworkManager not running" icon and use it
20350                 - Use new consolidated GConf keys rather than Preferred/Trusted
20351
20352         * TODO: update
20353
20354         * info-daemon/NetworkManagerInfo.c
20355           info-daemon/NetworkManagerInfoDbus.[ch]
20356           info-daemon/NetworkManagerInfoPassphraseDialog.c
20357                 - There are now no longer two separate lists of wireless networks,
20358                         but one list where each network is "trusted" or not trusted
20359                 - Add a "getNetworkTrusted" dbus method
20360                 - "WirelessNetworkUpdate" signal now sent rather than
20361                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20362                 - Start freeing some dbus errors (not completed yet)
20363
20364         * info-daemon/passphrase.glade
20365                 - Remove the "don't show" hints for pager and taskbar
20366                 - Add a title since its going to be in the taskbar
20367
20368         * src/NetworkManager.[ch]
20369           src/NetworkManagerAPList.[ch]
20370                 - There are now no longer two separate lists of wireless networks,
20371                         but one list where each network is "trusted" or not trusted
20372
20373         * src/NetworkManagerAP.[ch]
20374                 - Add get/set "trusted" accessors and data bit
20375
20376         * src/NetworkManagerDbus.[ch]
20377                 - Add function to get "trusted" status of a network from NetworkManagerInfo
20378                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20379
20380         * src/NetworkManagerDevice.[ch]
20381                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20382                 - (nm_device_new): Get device config from backend when initializing devices
20383                 - (nm_device_activation_worker): Split out device configuration on
20384                         activation to deal with static/dynamic IP differences, and try encryption
20385                         fallbacks on a device if the encryption method for the best AP is not good
20386                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20387                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20388
20389         * src/NetworkManagerWireless.c
20390                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20391
20392         * src/backends/NetworkManagerRedHat.c
20393           src/backends/NetworkManagerSystem.h
20394                 - (nm_system_device_update_config_info): Add function to get device configuration
20395                         from system data in ifcfg-* files
20396
20397         * src/backends/NetworkManagerDebian.c
20398           src/backends/NetworkManagerGentoo.c
20399           src/backends/NetworkManagerSlackware.c
20400                 - Add stub functions for getting device configuration
20401
20402 2004-09-07  Dan Williams <dcbw@redhat.com>
20403
20404         * src/backends/NetworkManagerRedhat.c
20405           src/backends/NetworkManagerSlackware.c
20406                 - Use full path to /sbin/ip everywhere
20407
20408 2004-09-07  Dan Williams <dcbw@redhat.com>
20409
20410         Patch from: Narayan Newton <narayan_newton@yahoo.com>
20411
20412         * configure.in
20413           initscript/Makefile.am
20414           initscript/Slackware/Makfile.am
20415           initscript/Slackware/rc.networkmanager
20416           src/Makefile.am
20417           src/backends/NetworkManagerSlackware.c
20418                 - Add Slackware support
20419
20420 2004-09-07  Dan Williams <dcbw@redhat.com>
20421
20422         Patches below from:
20423                 <j@bootlab.org>
20424                 Mark Roach <mrroach@okmaybe.com>
20425                 Thom May <thom@debian.org>
20426
20427         * configure.in
20428           initscript/Debian/NetworkManager
20429           initscript/Debian/Makefile.am
20430                 - Initscript for Debian
20431
20432         * src/backends/NetworkManagerDebian.c
20433                 - Add missing system init function to allow compilation
20434                         on Debian
20435
20436 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
20437
20438         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20439
20440 2004-09-03  Akagic Amila <bono@linux.org.ba>
20441
20442         * configure.in: Added 'bs' to ALL_LINGUAS.
20443
20444 2004-09-02  Colin Walters  <walters@verbum.org>
20445
20446         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20447         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20448         g_strdup_printf instead of arbitrarily sized buffers.
20449
20450 2004-09-01  Colin Walters  <walters@verbum.org>
20451
20452         * NetworkManager.pc.in: New file.
20453
20454         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20455
20456 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
20457         
20458         * configure.in: Punjabi(pa) is added to po/.
20459
20460 2004-08-31  Dan Williams <dcbw@redhat.com>
20461
20462         * Remove 'debug' extern global from all files since we now
20463                 use syslog()
20464
20465         * src/NetworkManager.[ch]
20466                 - Break out routine that get the net.interface property from HAL,
20467                         removing that logic from nm_create_device_and_add_to_list()
20468                 - (nm_create_device_and_add_to_list): make this a bit more general so
20469                         it doesn't do the talking to HAL.  Also add arguments to facilitate
20470                         the create of test devices.
20471                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20472                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20473                         which makes NetworkManager listen for dbus commands to create test
20474                         devices, which have no backing hardware.  Use when you're on a plane
20475                         for example, and/or forgot your wireless card at home.  Test devices
20476                         _cannot_ be created unless NM is started with --enable-test-devices.
20477
20478         * src/NetworkManagerDbus.[ch]
20479                 - New "getLinkActive" method for devices
20480                 - New "setLinkActive" method for devices (only works on test devices)
20481                 - New "createTestDevice" method on NetworkManager object to create a test
20482                         device of a specified type (ie wired, wireless).  UDI is created from
20483                         scratch, as is the interface name.  Only works when NM is started with
20484                         --enable-test-devices switch.
20485                 - New "removeTestDevice" method on NetworkManager object which removes a
20486                         test device.  Only works when NM is started with --enable-test-devices
20487
20488         * src/NetworkManagerDevice.[ch]
20489                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20490                         whether a device is a test device or not, and what its link status is.
20491                 - Deal with test devices in most functions.  For those that work directly on hardware
20492                         special-case test devices.
20493                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20494                         command-line.
20495                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20496                         checking to separate functions to facilitate test device link checking.
20497                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20498                         don't make a distinction between System Authentication and Encryption
20499                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20500                         on the card.  We don't deal with Shared Key auth yet.
20501                 - (nm_device_activation_worker): split the activation cancel check logic out into
20502                         a separate routine nm_device_activation_cancel_if_needed()
20503                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20504                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20505                         a list of fake access points that they can "see"
20506                 - (nm_device_is_test_device): return whether or not a device is a test device
20507
20508         * src/NetworkManagerPolicy.c
20509                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20510                         previously if you "locked"/forced NM to use a wireless device but then
20511                         selected a wireless network for NM to use, it would switch to a wired device.
20512                         So, if the active device is wireless and it has a "forced" best AP, use it
20513                         if the "forced" best AP is still valid
20514                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20515                         there were no usable network devices, or the last one was removed
20516
20517         * src/backends/NetworkManager*.c
20518                 - Deal with test devices, mostly just return success for operations like getting
20519                         a DHCP address
20520
20521         * test/nmtestdevices.c
20522                 - Test tool to create/remove/link-switch test devices
20523
20524 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20525
20526         * examples/python/NetworkManager.py: 
20527         added convience functions has_wired_device and has_wireless_device
20528
20529         * examples/python/systray/network_tray.py: 
20530         cleaned up a bunch of cruft, added support for listing wireless
20531         networks just like the real applet.  This is probably all I'm
20532         going to work on this applet from now on.
20533         TODO: add support for actually changing networks and devices
20534
20535         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20536         changed "nm.networks" into a dict from a list so I can store all
20537         the cool information about networks in there
20538
20539         * examples/python/systray/network_tray.py: 
20540         Added nice message when you try to run without running make first
20541
20542         * examples/python/NetworkManager.py: 
20543         Bug fixes to the code so we get all the device information
20544         that we need in get_device()
20545         
20546         * examples/python/NMTester.py: 
20547         Fixed _print_device_list to print_device_list
20548
20549 2004-08-29  Seth Nickell  <seth@gnome.org>
20550
20551         * configure.in:
20552
20553         Actually properly setup the Debian backend in configure.
20554         
20555 2004-08-29  Colin Walters  <walters@verbum.org>
20556
20557         * test/nminfotest.c: Include string.h and stdlib.h.
20558         (get_network_string_property, get_networks_of_type): Return NULL.
20559
20560         * test/nmclienttest.c (get_device_name, get_active_device): Return
20561         NULL.
20562
20563         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20564         use strlen, fgets always NULL-terminates the string.
20565
20566         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20567         dbus_message_get_member): Remove /* in comment.
20568
20569         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20570
20571         * src/NetworkManager.c (quit): Unused, delete.
20572         (nm_data_free): Cast arg to GFunc.
20573
20574         * panel-applet/NMWirelessAppletDbus.c: Need to include
20575         string.h, and dbus-glib-lowlevel.h (the latter is needed
20576         for dbus_connection_setup_with_g_main at present).
20577         (nmwa_dbus_update_wireless_network_list): Parenthesize
20578         assignment in conditional.
20579         (nmwa_dbus_worker): Return NULL.
20580
20581         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20582         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20583         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20584         (nmwa_populate_menu): Return NULL on failure, instead of just
20585         return;
20586
20587         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20588
20589         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20590         variables.
20591
20592         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20593         delete.
20594         
20595 2004-08-29  Colin Walters  <walters@verbum.org>
20596
20597         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20598         a GTimeVal instead of time_t.  This is easier to work with,
20599         since time_t may be a long or double, we don't know.
20600
20601         * src/NetworkManagerDbus.h: Update prototype.
20602         
20603         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20604         instead of time_t.
20605         (nm_ap_get_timestamp): Update to return GTimeVal.
20606         (nm_ap_set_timestamp): Update to take GTimeVal.
20607         
20608         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20609         to handle GTimeVal.
20610
20611         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20612         GTimeVal change.
20613         (nm_ap_list_print_members): Fix warnings in printf format.
20614
20615 2004-08-29  Colin Walters  <walters@verbum.org>
20616         
20617         * panel-applet/NMWirelessApplet.c: Include config.h.
20618
20619 2004-08-29  Colin Walters  <walters@verbum.org>
20620
20621         * configure.in: Generate config.h.
20622
20623         * configure.in: Dump dependency on OpenSSL; we can't
20624         use it since this package is GPL:
20625         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20626         Instead, check for libgcrypt, use it if available,
20627         otherwise use included MD5 code.
20628
20629         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20630         Suck in from gnome-keyring, munge a bit.
20631         
20632         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20633         gnome-keyring-md5.h gnome-keyring-md5.c.
20634         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20635
20636         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20637         libgcrypt or included gnome-keyring md5 bits.
20638         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20639
20640 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20641
20642         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20643
20644 2004-08-27  Bryan Clark  <bclark@redhat.com>
20645
20646         * examples/python/systray/Makefile: 
20647
20648         Updated the clean section
20649         
20650         * examples/python/systray/trayiconmodule.c: 
20651         * examples/python/systray/trayicon.override: 
20652         * examples/python/systray/network_tray.py: 
20653         * examples/python/systray/eggtrayicon.h: 
20654         * examples/python/systray/eggtrayicon.c: 
20655         * examples/python/systray/Makefile: 
20656         * examples/python/README: 
20657         * examples/python/NetworkManager.py: 
20658         * examples/python/NMTester.py: 
20659
20660         Initial commit of these python example files
20661
20662 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20663
20664         * panel-applet/NMWirelessApplet.c
20665                 - Make current device bold
20666                 - Show more user-friendly device name if we got one from hal
20667
20668         * panel-applet/NMWirelessAppletDbus.c
20669                 - Grab "info.product" key from hal for network devices
20670                 - Cache the current active device
20671
20672 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20673
20674         * configure.in: Added en_CA to ALL_LINGUAS.
20675
20676 2004-08-27  Christian Rose  <menthos@menthos.com>
20677
20678         * configure.in: Added "sv" to ALL_LINGUAS.
20679
20680 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20681
20682         * Tag NetworkManager-0.2
20683
20684 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20685
20686         * initscripts/Makefile.am
20687         * configure.in: Make pass distcheck
20688
20689         * po/ChangeLog: added
20690
20691 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20692
20693         * panel-applet/NMWirelessApplet.c
20694                 - Remove debugging code
20695                 - Enable device switching from menus
20696
20697         * panel-applet/NMWirelessAppletDbus.[ch]
20698                 - Method for asking NM to switch devices
20699
20700         * src/NetworkManagerDevice.c
20701                 - Set dev->activating earlier, avoids race between
20702                         the dbus signal of "DeviceActivating" and setting
20703                         dev->activating (which is what NM's "status" method call
20704                         looks at)
20705
20706 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20707
20708         * panel-applet/NMWirelessApplet.[ch]
20709                 - Rework menu code to add devices to menu, and to show
20710                         signal strength for each access point.  Code cleanups
20711                         too.
20712
20713         * panel-applet/NMWirelessAppletDbus.c
20714                 - Grab network devices from NetworkManager too
20715                 - Grab quality information from NM for wireless networks
20716
20717         * src/NetworkManagerDbus.[ch]
20718                 - Add dbus methods for getting the HAL UDI from a device and
20719                         for getting its base quality, if its wireless
20720                 - Consolidate some functions (wireless network notifications,
20721                         device notifications)
20722                 - Add method for requesting NM to use a particular device
20723
20724         * src/NetworkManager.c
20725                 - Change for function consolidations from NetworkManagerDbus.c
20726                 - Implement active device locking and user-requested devices
20727                         (ie, tell NM to use a particular device instead of the one
20728                         it autochose)
20729
20730         * src/NetworkManagerDevice.c
20731                 - Add method for getting the base quality of a device, if its
20732                         wireless
20733                 - Grab device base quailty info from iwlib during scans
20734
20735         * src/NetworkManagerPolicy.c
20736                 - Use a user-requested device rather than the auto-chosen device
20737                         if we are told to
20738
20739 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20740
20741         * Makefile.am: add po as a supdir
20742
20743         * autogen.sh: use gnome-autogen.sh
20744
20745         * initscript/Gentoo/.cvsignore:
20746         * initscript/RedHat/.cvsignore: Shut up cvs
20747
20748         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20749
20750         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20751         (nmwa_fill): Use gettext.
20752
20753         * configure.in: add gettext support
20754         * po/.cvsignore:
20755         * po/NetworkManager.pot:
20756         * po/POTFILES.in:
20757
20758 2004-08-26  Seth Nickell  <seth@gnome.org>
20759
20760         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20761         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20762         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20763         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20764         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20765         * panel-applet/NMWirelessApplet.h:
20766
20767         Use a menu bar instead of a button for the main clickable
20768         thingy.
20769         
20770 2004-08-25  Dan Williams <dcbw@redhat.com>
20771
20772         * src/NetworkManagerDevice.c
20773                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20774                         turning encryption off, because the Cisco driver doesn't associate
20775                         with WEP-enabled access points unless we are in "open"
20776
20777 2004-08-25  Dan Williams <dcbw@redhat.com>
20778
20779         * src/NetworkManagerWireless.c
20780                 - Don't try to defererence blank passphrases
20781
20782 2004-08-25  Dan Williams <dcbw@redhat.com>
20783
20784         * panel-applet/NMWirelessApplet.c
20785                 - Rebuild the menu whenever a user clicks
20786
20787 2004-08-25  Dan Williams <dcbw@redhat.com>
20788
20789         * panel-applet/NMWirelessApplet.c
20790                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20791                         when NM isn't around or when its not connected
20792
20793         * src/NetworkManagerDevice.c
20794                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20795                         canceled.
20796
20797 2004-08-25  Dan Williams <dcbw@redhat.com>
20798
20799         * panel-applet/NMWirelessAppletDbus.c
20800                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20801                         for getting encryption, and don't stop on "val" once we've gotten it
20802                         from NetworkManager.  Short form:  encryption should now show up.
20803
20804 2004-08-25  Dan Williams <dcbw@redhat.com>
20805
20806         * panel-applet/NMWirelessApplet.c
20807                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20808                         network to associate with
20809
20810 2004-08-25  Dan Williams <dcbw@redhat.com>
20811
20812         * panel-applet/*
20813                 - Rework the panel applet to do all DBUS communication in a separate
20814                         thread
20815
20816 2004-08-25  Dan Williams <dcbw@redhat.com>
20817
20818         * info-daemon/NetworkManagerInfo.[ch]
20819                 - Remove "get_next_priority" function
20820
20821         * info-daemon/NetworkManagerInfoDbus.[ch]
20822                 - Convert "priority" functions to "timestamp"
20823
20824 2004-08-25  Dan Williams <dcbw@redhat.com>
20825
20826         * src/NetworkManagerAP.[ch]
20827                 - Add a "enc_method_good" member and accessors to an Access Point
20828                         to signal when we've found the correct encryption method
20829                         for an access point
20830                 - Add a "timestamp" member and accessors, remove "priority" member
20831                         and accessors (use timestamps instead)
20832                 - Rename "wep_key"->"enc_key"
20833                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20834                         for a specified encryption method using the access points
20835                         source encryption key/passphrase
20836
20837         * src/NetworkManagerAPList.c
20838                 - When updating a network with dbus, grab timestamp now instead of
20839                         priority
20840
20841         * src/NetworkManagerDBus.[ch]
20842                 - Add signal for "DeviceActivating"
20843                 - Switch priority->timestamp
20844
20845         * src/NetworkManagerDevice.c
20846                 - Change references of "wep_key" -> "enc_key" or "key"
20847                 - Signal DeviceActivating when starting activation
20848                 - When activating a wireless device, if the access point we are connecting
20849                         to is encrypted, and we have a source key, try to generate a mangled
20850                         key and use that (ie, generate real WEP key from a passphrase)
20851                 - Rework device activation to fallback to other encryption methods if
20852                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20853                         first, then if that doesn't work fall back to direct hex key).
20854                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20855                         priority.  We now prefer the latest access point used, rather than using
20856                         a priority scheme
20857                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20858                         points we've just discovered, and merge in correct info from the global
20859                         access point lists
20860
20861 2004-08-25  Seth Nickell  <seth@gnome.org>
20862
20863         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20864         Debian support.
20865         
20866         * src/Makefile.am:
20867         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20868         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20869         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20870         (nm_system_delete_default_route),
20871         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20872         (nm_system_load_device_modules):
20873
20874 2004-08-24  Dan Willemsen <dan@willemsen.us>
20875
20876         * src/NetworkManager.c
20877           src/backends/NetworkManagerGentoo.c
20878           src/backends/NetworkManagerRedHat.c
20879           src/backends/NetworkManagerSystem.h
20880                 - Implement preliminary Gentoo support, adding a
20881                         nm_system_init function to the backend specification
20882
20883         * configure.in
20884                 - Distribution auto-detection, lowercase any user-fed
20885                         distribution names
20886
20887         * initscript/.cvsignore
20888           initscript/Makefile.am
20889           initscript/RedHat/Makefile.am
20890           initscript/RedHat/NetworkManager
20891           initscript/Gentoo/Makefile.am
20892           initscript/Gentoo/NetworkManager
20893                 - Refactored initscript code separately for each
20894                         distribution
20895
20896 2004-08-23  Dan Williams <dcbw@redhat.com>
20897
20898         * configure.in
20899           src/Makefile.am
20900           src/NetworkManagerDevice.c
20901           src/NetworkManager.c
20902           src/NetworkManagerUtils.[ch]
20903           src/backends/NetworkManagerSystem.h
20904           src/backends/NetworkManagerRedHat.c
20905           src/backends/NetworkManagerGentoo.c
20906                 - Refactor system-specific code into separate backends for
20907                         each distribution
20908
20909 2004-08-23  Dan Willemsen <dan@willemsen.us>
20910
20911         * dispatcher-daemon/NetworkManagerDispatcher.c
20912           info-daemon/NetworkManagerInfo.[ch]
20913           info-daemon/NetworkManagerInfoDbus.c
20914           info-daemon/NetworkManagerInfoPassphraseDialog.c
20915           src/NetworkManager.c
20916           src/NetworkManagerAP.c
20917           src/NetworkManagerAPList.c
20918           src/NetworkManagerDbus.c
20919           src/NetworkManagerDevice.c
20920           src/NetworkManagerPolicy.c
20921           src/NetworkManagerUtils.[ch]
20922           src/NetworkManagerWireless.c
20923                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20924
20925         * src/NetworkManager.c
20926                 - Fixed usage wording for --no-daemon
20927
20928 2004-08-23  Dan Williams <dcbw@redhat.com>
20929
20930         * panel-applet/NMWirelessApplet.c
20931                 - Update our state every second to get more responsive panel icon
20932                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20933                         was causing our marching ants status blips to never move when
20934                         looking for a wireless network
20935
20936         * src/NetworkManagerDevice.c
20937                 - (nm_device_activation_begin): return if activation has already begun
20938                 - (nm_device_do_normal_scan): merge WEP key and priority from the
20939                         trusted/preferred network into the device's access point when the
20940                         scan list is processed
20941
20942 2004-08-23  Dan Williams <dcbw@redhat.com>
20943
20944         * initscript/NetworkManager
20945                 - Use NMLaunchHelper rather than sleeping
20946
20947         * initscript/NMLaunchHelper.c
20948           Makefile.am
20949                 - Add helper program that exits only when NM activates a device,
20950                         or 10 seconds have passed, whichever happens first.  This
20951                         stops the boot processes until we have a network connection,
20952                         which NM can't do because it daemonizes and brings the connection
20953                         up in the background.  Allows stuff like NFS to not die.
20954
20955 2004-08-20  Dan Williams <dcbw@redhat.com>
20956
20957         * info-daemon/NetworkManagerInfoPassphraseDialog.c
20958                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20959                         for a network, set the essid as well since it may not exist yet
20960                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20961                         since WEP keys/passphrases are long and prone to entry-error
20962
20963         * panel-applet/Makefile.am
20964           panel-applet/wired.png
20965                 - Add (pulled from system-config-network temporarily)
20966
20967         * panel-applet/NMWirelessApplet.[ch]
20968                 - Show wired picture when a wired connection is used
20969                 - Rename wireless icon enums, adding WIRELESS
20970
20971         * src/NetworkManagerDevice.c
20972                 - (nm_device_activate_wireless): unset encryption before bringing
20973                         down the card and setting the essid
20974                 - (nm_device_activatin_worker): request a key from the user if the
20975                         AP we are connecting to is encrypted but we don't have a key
20976                         for it yet
20977                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20978                         strcmp() that prevented a user-entered key from actually getting
20979                         used
20980
20981 2004-08-16  Dan Williams <dcbw@redhat.com>
20982
20983         * initscript/NetworkManager
20984                 - Check for /sbin/ip
20985                 - Do sysctl magic that network service does
20986                 - sleep 4s after start to allow network time to come up [hack]
20987
20988         * src/Makefile.am
20989           src/NMLoadModules
20990                 - Load all network device kernel modules (hal doesn't know devices
20991                         are ethernet until the module is loaded, and therefore we don't know)
20992
20993         * src/NetworkManager.c
20994                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20995                         network devices, and bring up the loopback device explicitly
20996
20997         * src/NetworkManagerUtils.[ch]
20998                 - (nm_enable_loopback): new function
20999
21000 2004-08-13  Dan Williams <dcbw@redhat.com>
21001
21002         * configure.in
21003           panel-applet/Makefile.am
21004                 - Fix up cleanfiles and server_DATA/server_in_files
21005
21006         * README
21007                 - Update with some comments on theory of operation
21008
21009         * CONTRIBUTING
21010           Makefile.am
21011                 - Add CONTRIBUTING
21012
21013 2004-08-12  Dan Williams <dcbw@redhat.com>
21014
21015         * info-daemon/passphrase.glade
21016                 - Set window title to " "
21017
21018         * panel-applet/Makefile.am
21019           panel-applet/keyring.png
21020                 - Deliver to correct place
21021
21022         * panel-applet/NMWirelessApplet.[ch]
21023                 - Add comments
21024                 - Remove applet->have_active_device as its no longer used
21025                 - (nmwa_load_theme): load keyring.png too
21026                 - (error_dialog): remove
21027                 - (show_warning_dialog): subsume functionality of error dialog too
21028                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
21029                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
21030                         the networks menu
21031                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
21032                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
21033                         and when we get broadcasts of changed wireless access points only, not when the
21034                         user clicks on the button to display the menu (too long of a wait)
21035                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
21036                         networks that are encrypted
21037                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
21038                         menu item with g_object_set_data()
21039
21040         * panel-applet/NMWirelessAppletDbus.[ch]
21041                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
21042                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
21043                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
21044                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
21045                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
21046                         activation/deactivation signals and rebuild the menu when they happen
21047
21048         * src/NetworkManager.c
21049                 - (main): use new nm_spawn_process() rather than system()
21050
21051         * src/NetworkManagerDbus.c
21052                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21053                         instead.  Since we can now force best_aps to stick around, the AP structure to which
21054                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21055                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
21056                         to freeze the best_ap.
21057
21058         * src/NetworkManagerDevice.[ch]
21059                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21060                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21061                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21062                         ap list
21063
21064         * src/NetworkManagerUtils.[ch]
21065                 - (nm_spawn_process): add replacement for system() usage
21066
21067 2004-08-11  Dan Williams <dcbw@redhat.com>
21068
21069         * panel-applet/NMWirelessApplet.[ch]
21070                 - Fix up copyright and credits to include Bastien and Eskil,
21071                         who created the gnome-applets wireless applet, from whose
21072                         skeleton this one was created
21073                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21074                         pixmap to draw is computed during nmwa_update_state()
21075                 - Applet now shows itself all the time due to panel packing issues
21076                         which caused the applet to previously never come back after hiding.
21077                         When a wired device is the active device, the applet shows "not connected"
21078
21079         * panel-applet/NMWirelessAppletDbus.[ch]
21080                 - Clean up error messages and show what function they are from
21081                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21082                 - Add new device type getters, and a status getter
21083
21084         * src/NetworkManagerDbus.c
21085                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21086                         network is actually in the device's ap list
21087                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21088
21089         * src/NetworkManagerDevice.c
21090                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21091                         card
21092
21093         * test/nmclienttest.c
21094                 - Report status of NetworkManager too
21095
21096 2004-08-11  Dan Williams <dcbw@redhat.com>
21097
21098         * info-daemon/NetworkManagerInfo.c:
21099                 - (main): clean up Seth's code style
21100
21101         * info-daemon/NetworkManagerInfoDbus.c:
21102                 - Use the more aptly-named path/service/interface constants from NetworkManager
21103                 - Don't return empty strings ("") as object paths ever, instead return errors
21104
21105         * panel-applet/NMWirelessApplet.c:
21106                 - Clean up Seth's code style
21107
21108         * src/NetworkManager.[ch]
21109                 - (nm_remove_device_from_list): remove anything having to do with pending_device
21110                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21111
21112         * src/NetworkManagerAPList.[ch]
21113                 - Move Iter struct right above the iter functions to preserve opacity
21114                 - (nm_ap_list_remove_ap): implement
21115                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21116                         remove AP if NetworkManagerInfo doesn't know anything about it
21117                 - (nm_ap_list_diff): user NMAPList iterators
21118                 - (nm_ap_list_print_members): implement debugging function
21119
21120         * src/NetworkManagerDbus.[ch]
21121                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21122                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21123                         and move the actual key setting stuff into NetworkManagerDevice.c
21124                 - (nm_dbus_get_network_priority): return -1 now on errors
21125                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21126                         get lost, and force the active device to update its "best" ap when AP lists change
21127                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21128                         method call due to pending_device member removal
21129
21130         * src/NetworkManagerDevice.[ch]
21131                 - Move NMDevice structure to the top
21132                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21133                 - Remove Pending Action stuff from everywhere
21134                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21135                         activation for us.  This thread blocks until all conditions for activation have
21136                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21137                         then setup up the interface and runs dhclient.  We have to do this because there
21138                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21139                         run our main loop and respond to dbus method calls or HAL device removals/inserts
21140                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21141                         can tell nm_device_activation_worker() that we've got a key
21142                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21143                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21144                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21145                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21146
21147         * src/NetworkManagerPolicy.c
21148                 - Remove anything to do with pending_device
21149                 - Adjust device activation to deal with activation-in-worker-thread
21150
21151         * src/NetworkManagerUtils.c
21152                 - Clean up locking debugging a bit
21153
21154         * src/NetworkManagerWireless.[ch]
21155                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
21156                         was badly named and is better as a device function
21157
21158         * panel-applet/.cvsignore: add
21159
21160 2004-08-09  Seth Nickell  <seth@gnome.org>
21161
21162         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21163         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21164         (nmwa_new):
21165         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21166
21167         Don't load the menus until clicked on (also removes a call outside
21168         normal code paths at first load).
21169
21170         Hide applet when NM is not present.
21171         
21172         Improve printf debugging stuff.
21173         
21174 2004-08-09  Dan Williams <dcbw@redhat.com>
21175
21176         * dispatcher-daemon/NetworkManagerDispatcher.c:
21177                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21178                 - Use constants for NetworkManager interface, service, and path
21179
21180 2004-08-09  Dan Williams <dcbw@redhat.com>
21181
21182         * src/NetworkManagerDbus.c:
21183                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21184                         instead return an error message
21185                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21186                         on a wired device.  Also never return an empty object path, instead return an error message
21187
21188 2004-08-06  Seth Nickell  <seth@gnome.org>
21189
21190         * panel-applet/NMWirelessApplet.c: (nmwa_new):
21191
21192         Check the error code when getting a connection.
21193         
21194         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21195
21196         Check if the NM service exists when initializing (rather than
21197         assuming it does not).
21198         
21199         * src/NetworkManagerDbus.c: (nm_dbus_init):
21200
21201         Don't acquire the well-known service name until we have
21202         registered object/path handlers and can actually receive
21203         calls.
21204         
21205 2004-08-06  Dan Williams <dcbw@redhat.com>
21206
21207         * panel-applet/*
21208                 - Add panel applet
21209
21210         * src/NetworkManagerPolicy.c
21211           src/NetworkManager.c
21212                 - Get access point lists from NetworkManagerInfo on-demand,
21213                         and look for ServiceCreate/ServiceDeleted signals to see when
21214                         we should query NMI for lists
21215         * src/NetworkManagerAPList.c
21216                 - Make sure to init the list's mutex
21217                 - Convert traversals of the list over to the list iter functions
21218
21219         * src/NetworkManagerDbus.[ch]
21220                 - Use more aptly-named path/service/interface constants
21221                 - Treat both active and pending devices the same for "getActiveDevice"
21222                 - Add a "status" method returning "connected", "connecting", or "disconnected"
21223
21224         * src/NetworkManagerDevice.c
21225                 - Honor "ignored" network list when picking best ap to use
21226
21227 2004-08-06  Seth Nickell  <seth@gnome.org>
21228
21229         * aclocal.m4:
21230
21231         Autogenerated, remove from CVS.
21232         
21233         * autogen.sh:
21234
21235         Don't hardcode automake version.
21236         
21237         * configure.in:
21238         * info-daemon/Makefile.am:
21239         * info-daemon/NetworkManagerInfo.c: (main):
21240
21241         Use GnomeProgram et al. for doing session management.
21242         Use popt stuff for argument parsing rather than doing
21243         it manugally.
21244         
21245 2004-08-05  Dan Williams <dcbw@redhat.com>
21246
21247         * test/nminfotest.c
21248                 - Update to new NMI dbus API, check different network types
21249
21250         * info-daemon/NetworkManagerInfoDbus.c
21251                 - Update to new NM dbus API, ie network type sent in query message
21252
21253 2004-08-05  Dan Williams <dcbw@redhat.com>
21254
21255         * An assload of changes
21256
21257 2004-08-02  Dan Williams <dcbw@redhat.com>
21258
21259         * TODO
21260                 - new task: proper logging support
21261
21262         * info-daemon/NetworkManagerInfo.c
21263                 - Correct spelling of "canceled"
21264                 - Correct casting of objects for g_signal_connect()
21265
21266         * info-daemon/NetworkManagerInfoDbus.c
21267                 - Add defines for NetworkManager namespace and object path, and use them
21268                 - Add filter function to trap new signals from NetworkManager:
21269                         WirelessNetworkAppeared, WirelessNetworkDisappeared
21270
21271         * info-daemon/passphrase.glade
21272                 - Change name of "ok" button to "Login to Network..."
21273                 - Mark invisible
21274
21275         * src/NetworkManager.c
21276                 - Code and debug message cleanups
21277                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21278                 - (nm_add_initial_devices) Check returned string array of devices
21279                         and don't try to add devices if array is NULL
21280                 - (main) Initialize libhal a bit later, make code a bit clearer
21281
21282         * src/NetworkManagerAP.[ch]
21283                 - New accessor and data member "matched": used to speed up AP list
21284                         diffing
21285                 - New accessor and data member "enc_method": will be used during key
21286                         fallback to cache which passphrase->key conversion actually works
21287                         so we don't have to do it every time
21288
21289         * src/NetworkManagerAPList.[ch]
21290                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21291                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21292                         between them, and send WirelessNetworkAppeared/Disappeared signals over
21293                         dbus in response to those differences
21294
21295         * src/NetworkManagerDbus.[ch]
21296                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21297                         make an object path for that access point (NOTE that we don't yet check to
21298                         make sure that access point is actually in the device's AP list yet)
21299                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21300                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21301                         New: signal appearance/disappearance of wireless networks
21302                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21303                         key entry
21304
21305         * src/NetworkManagerDevice.[ch]
21306                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21307                 - (nm_device_ap_list_get) New: return the AP list (static function)
21308                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21309                         new one resulting from the scan with the old one
21310
21311         * src/NetworkManagerWireless.c
21312                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21313
21314         * test/nminfotest.c
21315                 - #define object paths and namespaces and use the #defines rather than static strings
21316                 - Test out user-key functionality of NetworkManagerInfo too
21317
21318 2004-07-29  Dan Williams <dcbw@redhat.com>
21319
21320         * info-daemon/NetworkManagerInfoDbus.c
21321           src/NetworkManagerDbus.c
21322                 - Update to current DBus (ie don't use decomposed paths when registering
21323                         object paths/fallbacks)
21324
21325 2004-07-27  Dan Williams <dcbw@redhat.com>
21326
21327         * Remove various Makefile.in files
21328
21329         * TODO
21330                 - Add some more items
21331
21332         * configure.in
21333                 - Add checks for OpenSSL/md5 headers and libs
21334
21335         * src/Makefile.am
21336                 - Use OpenSSL CFLAGS
21337
21338         * src/NetworkManagerAP.[ch]
21339                 - Remove 'stamp' functions, replace with 'invalid' functions
21340                         to support user cancelling WEP key entry
21341
21342         * src/NetworkManagerDbus.c
21343                 - Remove 'stamp' return functions
21344                 - Treat returned user key as a passphrase and convert to a WEP key,
21345                         but don't actually use the WEP key yet.  We use the returned user
21346                         key as a hexadecimal WEP key until we can figure out a UI for
21347                         passphrase-vs-hex key
21348
21349         * src/NetworkManagerWireless.[ch]
21350                 - Add passphrase-to-128bit-key function
21351
21352 2004-07-27  Dan Williams <dcbw@redhat.com>
21353
21354         * TODO
21355                 - Add a couple of items
21356
21357 2004-07-27  Dan Williams <dcbw@redhat.com>
21358
21359         * info-daemon/NetworkManagerInfo.c
21360                 - Update allowed network's GConf key when user enters a WEP key explicitly
21361
21362         * info-daemon/NetworkManagerDbus.c
21363                 - Fix some comments
21364                 - nmi_dbus_get_allowed_networks(): kill warning
21365
21366 2004-07-27  Dan Williams <dcbw@redhat.com>
21367
21368         * initscript/Makefile.in
21369                 - Remove
21370
21371         * initscript/Makefile.am
21372                 - Add correct rules to install the init.d initscript
21373
21374         * info-daemon/NetworkManagerInfoDbus.c
21375                 - Remove debug fprintf
21376
21377         * src/NetworkManagerDbus.[ch]
21378                 - Remove debug fprintfs
21379                 - Add macros for NetworkManagerInfo object path/namespace
21380                 - Use said macros instead of constant strings
21381
21382 2004-07-27  Dan Williams <dcbw@redhat.com>
21383
21384         * initscript/.cvsignore
21385                 - Add
21386
21387         * info-daemon/Makefile.am
21388                 - Install .glade files and keyring.png
21389                 - Fix stupid omission of a \ that caused half the flags not to be
21390                         passed to gcc
21391
21392         * info-daemon/NetworkManagerInfo.c
21393                 - gtk_signal_connect->g_signal_connect
21394                 - Alert NetworkManagerInfo to new glade file location
21395
21396 2004-07-27  Dan Williams <dcbw@redhat.com>
21397
21398         * test/nmclienttest.c
21399           test/nminfotest.c
21400                 - Add missing <dbus/dbus.h> headers
21401                 - Add GPL message at top
21402
21403 2004-07-27  Dan Williams <dcbw@redhat.com>
21404
21405         * src/NetworkManagerAPList.[ch]
21406           src/Makefile.am
21407                 - Add.  Deal with allowed network list additions, deletions, and updates
21408
21409         * dispatcher-daemon/NetworkManagerDispatcher.c
21410                 - Add missing <dbus/dbus.h> header
21411
21412         * info-daemon/NetworkManagerInfo.[ch]
21413                 - Add missing <dbus/dbus.h> header
21414                 - Implement the GConf notify callback to signal NetworkManager of an allowed
21415                         network change
21416                 - Better error checking
21417
21418         * info-daemon/NetworkManagerInfoDbus.[ch]
21419                 - Add missing <dbus/dbus.h> header
21420                 - Convert to using dbus_message_append_args/dbus_message_get_args
21421                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21422                         that an allowed network changed.  We don't want to signal on individual
21423                         keys _inside_ an allowed network really, just want NM to query the info
21424                         daemon for updated info on all keys.
21425                 - Better error checking
21426
21427         * src/NetworkManager.[ch]
21428                 - Add missing <dbus/dbus.h> header
21429                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21430                 - Zero out NMData structure on free
21431                 - No longer use a thread for allowed_ap_list updating, instead its now done
21432                         through dbus queries against NetworkManagerInfo
21433                 - Populate allowed_ap_list initially before adding existing network devices
21434                         to the device list, so wireless devices can get their "best" AP
21435
21436         * src/NetworkManagerDbus.[ch]
21437                 - Convert to using dbus_message_append_args/dbus_message_get_args
21438                 - Better error checking
21439                 - Implement Allowed Network info functions to request allowed network
21440                         info from NetworkManagerInfo
21441                 - Implement the filter function to process signals from NetworkManagerInfo
21442                         about changing allowed networks
21443
21444         * src/NetworkManagerDevice.c
21445                 - Fix file descriptor leak in nm_device_update_ip4_address()
21446
21447 2004-07-27  Dan Williams <dcbw@redhat.com>
21448
21449         * .cvsignore
21450           src/.cvsignore
21451           test/.cvsignore
21452           dispatcher-daemon/.cvsignore
21453           info-daemon/.cvsignore
21454                 - Add .cvsignore files to reduce noise when diffing
21455
21456 2004-07-24  Dan Williams <dcbw@redhat.com>
21457
21458         * src/NetworkManager.[ch]
21459           src/NetworkManagerDbus.[ch]
21460           src/NetworkManagerDevice.[ch]
21461           src/NetworkManagerPolicy.c
21462           src/NetworkManagerWireless.[ch]
21463                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21464                 - Pass the NMData application data structure through all calls
21465                         that need it so we can get rid of nm_get_global_data()
21466                 - Change deallocation of the allowed_ap_list GSList in preparation
21467                         for not completely clearing it every time we get an update,
21468                         but instead getting incremental updates via GConf/dbus
21469
21470 2004-07-22  Dan Williams <dcbw@redhat.com>
21471
21472         * configure.in
21473                 - Add checks for GConf libs & headers & flags
21474
21475         * info-daemon/Makefile.am
21476                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21477
21478         * info-daemon/NetworkManagerInfo.[ch]
21479                 - Don't use gquarks for data storage, just use normal data storage
21480                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21481
21482         * info-daemon/NetworkManagerDbus.[ch]
21483                 - Add method call for getting allowed networks
21484                 - Add method calls for getting an allowed network's essid, priority, and key
21485                 - Hook the method calls up to GConf
21486                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21487                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21488                 
21489         * src/NetworkManagerDbus.[ch]
21490                 - Switch for enumeration of networks to using essid instead
21491
21492         * test/Makefile.am
21493           test/nminfotest.c
21494                 - Add test program for NetworkManagerInfo
21495
21496 2004-07-19  Dan Williams <dcbw@redhat.com>
21497
21498         * src/NetworkManagerDbus.c
21499                 - Switch from indexed device paths to names.  Less code, more efficient.
21500                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21501
21502 2004-07-19  Dan Williams <dcbw@redhat.com>
21503
21504         * dispatcher-daemon/NetworkManagerDispatcher.c
21505                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21506
21507 2004-07-19  Dan Williams <dcbw@redhat.com>
21508
21509         * Makefile.am
21510                 - Add info-daemon directory
21511
21512         * configure.in
21513                 - Check for glade libs and headers
21514                 - Add info-daemon directory
21515
21516         * src/NetworkManagerAP.c
21517                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21518                         copied over to the new AP.
21519
21520         * src/NetworkManagerDbus.c
21521           src/NetworkManagerDbus.h
21522                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21523                 - Remove nm_dbus_signal_need_key_for_network()
21524                 - Add disabled code for asynchronous user wep key callbacks
21525                 - Add functions for getting, setting, and cancelling user key operations
21526                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21527                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21528
21529         * src/NetworkManagerDevice.c
21530           src/NetworkManagerDevice.h
21531                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21532                         logic is in device activation now
21533                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21534                         key is wrong) trigger get-user-key pending action
21535                 - Implement get-user-key pending action stuff, tie to dbus messages
21536                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21537                 - Add nm_device_ap_list_get_ap_by_essid()
21538                 - Instead of copying "best" access points, ref them instead so that the key we set
21539                         sticks around
21540
21541         * src/NetworkManagerPolicy.c
21542                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21543                 - Don't cancel pending actions on a device if its the same device as last iteration
21544                 - Only promote pending_device->active_device if activation was successfull
21545
21546         * src/Makefile.am
21547                 - Rename nmclienttest->nmtest
21548
21549         * info-daemon/Makefile.am
21550           info-daemon/NetworkManagerInfo.c
21551           info-daemon/NetworkManagerInfo.h
21552           info-daemon/NetworkManagerInfoDbus.c
21553           info-daemon/NetworkManagerInfoDbus.h
21554           info-daemon/passphrase.glade
21555           info-daemon/NetworkManagerInfo.conf
21556           info-daemon/keyring.png
21557                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21558                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21559                         lists to NetworkManager by proxying user's GConf
21560           
21561
21562 2004-07-15  Dan Williams <dcbw@redhat.com>
21563
21564         * src/Makefile.am
21565                 - Turn on warnings
21566
21567         * src/NetworkManager.c
21568                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21569                         that doing the deactivation ourselves
21570                 - Cancel an pending actions on a device if its being removed
21571                 - Break up link state checking a bit, make non-active wireless cards
21572                         deactivated to save power
21573                 - Remove unused variables
21574
21575         * src/NetworkManager.h
21576                 - Add support for "pending" device
21577
21578         * src/NetworkManagerAP.h
21579           src/NetworkManagerAP.c
21580                 - Add support for determining whether and AP has encryption enabled or not
21581                 - AP address is now "struct ether_addr" rather than a string
21582
21583         * src/NetworkManagerDbus.h
21584           src/NetworkManagerDbus.c
21585                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21586                 - Changes for AP address from struct ether_addr->string
21587
21588         * src/NetworkManagerDevice.h
21589           src/NetworkManagerDevice.c
21590                 - Remove unused variables, fix warnings
21591                 - Add support for Pending Actions (things that block a device from being "active"
21592                         until they are completed).
21593                 - First pending action:  Get a WEP key from the user
21594                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21595                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21596                 - Update wireless link checking to try to determine if the AP we are associated
21597                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21598                         trigger the GetUserKey pending action on the device
21599                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21600                         up in that case, otherwise we can't scan or link-check on it
21601                 - Add IP address change notifications at appropriate points (still needs some work)
21602                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21603
21604         * src/NetworkManagerPolicy.h
21605           src/NetworkManagerPolicy.c
21606                 - Split out "best" access point determiniation into separate function
21607                 - Make device activation 2-stage:  first the device is pending, then
21608                         in the next iteration through it becomes "active" unless it has
21609                         pending actions
21610
21611         * src/NetworkManagerUtils.h
21612           src/NetworkManagerUtils.c
21613                 - Clean up unused variables and warnings
21614                 - Wrap our debug macros in {} to prevent possible confusion
21615
21616         * src/NetworkManagerWireless.c
21617                 - Forgot to return current best priority, which lead to last available AP always
21618                         being chosen no matter what its priority was.  Corrected.
21619
21620 2004-07-15  Dan Williams <dcbw@redhat.com>
21621
21622         * dispatcher-daemon/Makefile.am
21623                 - Turn on warnings
21624
21625         * dispatcher-daemon/NetworkManagerDispatcher.c
21626                 - Remove unused variables due to warnings
21627                 - Fix some comments
21628                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21629
21630 2004-07-06  Dan Williams <dcbw@redhat.com>
21631
21632         * src/NetworkManager.c
21633                 - Add IPv4 address update for active device during link state check
21634                 - Don't allow wireless cards to be powered up when they are not the
21635                         active device
21636
21637         * src/NetworkManagerDbus.c
21638           src/NetworkManagerDbus.h
21639                 - Add DBUS IPv4 address change signal
21640                 - Add DBUS IPv4 address get method for devices
21641
21642         * src/NetworkManagerDevice.c
21643                 - Make setting the WEP key actually work
21644                 - Move IP address get/set/update stuff here, per-device
21645                 - Power down/bring down wireless device when deactivated
21646                 - For scanning wireless devices, if first scan returned ENODATA, try again
21647
21648         * src/NetworkManagerPolicy.c
21649                 - Only set the WEP key for an allowed access point if there is one.
21650                         We were setting it to be blank if one wasn't specified.
21651
21652         * src/NetworkManagerUtils.h
21653           src/NetworkManagerUtils.c
21654                 - Move the IP address stuff to NetworkManagerDevice.c
21655
21656         * dispatcher-daemon/NetworkManagerDispatcher.c
21657                 - Add device IPv4 address change notification stuff
21658
21659 2004-07-05  Dan Williams <dcbw@redhat.com>
21660
21661         * dispatcher-daemon/NetworkManagerDispatcher.c
21662                 - A bit more descriptive state message
21663                 - Don't segfault when reading directory
21664
21665         * src/NetworkManager.h
21666                 - Remove NMData desired_ap member, its now
21667                         per-device rather than global
21668
21669         * src/NetworkManager.c
21670                 - Remove references to desired_ap
21671                 - Move the allowed AP list refresh stuff into a thread
21672
21673         * src/NetworkManagerDevice.c
21674           src/NetworkManagerDevice.h
21675                 - Each wireless device now has a "best ap"
21676                 - Make device activate/deactivate functions per-device
21677                 - Make wireless scanning per-device
21678                 - Add IPv4 address discover functions, stub IPv6 ones
21679                 - Move ethernet address validation functions to NetworkManagerUtils.c
21680                 - Add wireless access point accessor function
21681                 - Get/Set functions for "best ap"
21682
21683         * src/NetworkManagerPolicy.c
21684                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21685                 - Deal with per-device "best ap" rather than data->desired_apa
21686                 - Implement allowed access point worker thread
21687                 - Add nm_policy_essid_is_allowed() function
21688
21689         * src/NetworkManagerUtils.c
21690           src/NetworkManagerUtils.h
21691                 - Add nm_ethernet_address_is_valid() function
21692                 - Add IPv4/IPv6 address get functions
21693
21694         * src/NetworkManagerWireless.c
21695           src/NetworkManagerWireless.h
21696                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21697
21698 2004-06-29  Dan Williams <dcbw@redhat.com>
21699
21700         * dispatcher-daemon/NetworkManagerDispatcher.c
21701                 - Implement script callout functionality
21702
21703 2004-06-24  Dan Williams <dcbw@redhat.com>
21704
21705         * NetworkManager.c
21706             - Spacing cleanups
21707             - Flush device routes and ip addresses when added to the device list
21708
21709         * NetworkManagerDbus.c
21710             - Spacing cleanups
21711             - Add missing returns in the two signal functions
21712         
21713         * NetworkManagerPolicy.c
21714             - Spacing and variable cleanups
21715
21716 2004-06-24  Dan Williams <dcbw@redhat.com>
21717
21718         * Makefile.am
21719           Makefile.in
21720           configure.in
21721           dispatcher-daemon/Makefile.am
21722           dispatcher-daemon/Makefile.in
21723           dispatcher-daemon/NetworkManagerDispatcher.c
21724             - Add a daemon that receives signals from NetworkManager
21725                         and will (eventually) call scripts in /etc/somewhere
21726                         when devices go up or down.
21727         
21728         * NetworkManager.c
21729             - Spacing cleanups
21730             - Flush device routes and ip addresses when added to the device list
21731
21732         * NetworkManagerDbus.c
21733             - Spacing cleanups
21734             - Add missing returns in the two signal functions
21735         
21736         * NetworkManagerPolicy.c
21737             - Spacing and variable cleanups
21738             - Rename nm_policy_switch_interface->nm_policy_switch_device
21739             - nm_policy_switch_device():
21740                                 Use kill (pid) instead of system ("kill <pid>")
21741             - nm_state_modification_monitor():
21742                                 Add wireless essid to output of debug statements
21743                                 Correct typo in device compare to switch or not (should be !=)
21744                                 Don't sleep after sending "no longer active" signal, was useless
21745
21746 2004-06-24  Dan Williams <dcbw@redhat.com>
21747
21748         * Initial import