2008-11-07 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-11-07  Dan Williams  <dcbw@redhat.com>
2
3         * src/nm-ip4-config.c
4           src/nm-ip4-config.h
5                 - (nm_ip4_config_diff): new function; return the difference between two
6                         IP4 configs
7                 - (nm_ip4_config_compare): change into nm_ip4_config_diff
8
9 2008-11-05  Dan Williams  <dcbw@redhat.com>
10
11         * nm-ip4-config.c
12           nm-ip4-config.h
13                 - (nm_ip4_config_compare): compare two IP4 configs
14
15 2008-11-05  Dan Williams  <dcbw@redhat.com>
16
17         * src/NetworkManagerPolicy.c
18                 - (update_etc_hosts): only add newline if not the last line of the file
19                         (Jonathan Miner)
20
21 2008-11-05  Dan Williams  <dcbw@redhat.com>
22
23         * src/dhcp-manager/nm-dhcp-dhclient.c
24                 - (get_leasefile_for_iface): move lease files back to where dhclient
25                         puts them
26
27 2008-11-05  Michael Biebl  <mbiebl@gmail.com>
28
29         * initscripts/Debian/NetworkManager
30                 - Update to what Debian is actually using
31
32 2008-11-05  Tambet Ingo  <tambet@gmail.com>
33
34         * libnm-util/nm-setting-8021x.c: Verify PEAP settings as well.
35
36 2008-11-03  Dan Williams  <dcbw@redhat.com>
37
38         * system-settings/src/main.c
39                 - (add_default_dhcp_connection): make the fallback connection read-only
40
41         * libnm-glib/nm-settings.c
42           libnm-glib/nm-settings.h
43                 - Add detailed errors
44                 - (impl_exported_connection_update, impl_exported_connection_delete):
45                         return an error if the connection is read-only
46
47         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
48           system-settings/plugins/keyfile/nm-keyfile-connection.c
49           system-settings/src/main.c
50                 - Use more detailed errors
51
52         * system-settings/src/nm-system-config-error.c
53           system-settings/src/nm-system-config-error.h
54           system-settings/src/dbus-settings.c
55                 - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
56                         NM_SETTINGS_ERROR_INVALID_CONNECTION
57
58 2008-11-02  Dan Williams  <dcbw@redhat.com>
59
60         * Add license headers to everything in src/
61
62 2008-11-02  Dan Williams  <dcbw@redhat.com>
63
64         * Tag 0.7.0-rc1
65
66 2008-11-02  Dan Williams  <dcbw@redhat.com>
67
68         * src/NetworkManagerAP.c
69                 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
70                         setting as unencrypted; fixes a bug where NM wouldn't ask for new
71                         secrets when connecting to an encrypted network failed
72
73 2008-10-30  Dan Williams  <dcbw@redhat.com>
74
75         * libnm-util/libnm-util.ver
76           libnm-util/nm-setting-ip6-config.c
77           libnm-util/nm-setting-ip6-config.h
78           libnm-util/Makefile.am
79                 - Make properties private and add accessor functions
80                 - Hide IPv6 stuff from public API, it's incomplete and completely unused
81
82         * libnm-util/nm-connection.c
83           libnm-util/nm-utils.c
84           libnm-util/nm-utils.h
85                 - Ignore IPv6 stuff for now
86
87 2008-10-30  Dan Williams  <dcbw@redhat.com>
88
89         * libnm-util/libnm-util.ver
90           libnm-util/nm-setting-8021x.c
91           libnm-util/nm-setting-8021x.h
92                 - Make properties private and add accessor functions
93
94         * src/supplicant-manager/nm-supplicant-config.c
95           system-settings/plugins/ifcfg-suse/parser.c
96                 - Use 802.1x setting accessors
97
98 2008-10-30  Dan Williams  <dcbw@redhat.com>
99
100         * libnm-util/libnm-util.ver
101           libnm-util/nm-setting-wireless-security.c
102           libnm-util/nm-setting-wireless-security.h
103                 - Make properties private and add accessor functions
104
105         * libnm-util/nm-setting-wireless.c
106           src/NetworkManagerAP.c
107           src/nm-device-wifi.c
108           src/supplicant-manager/nm-supplicant-config.c
109           system-settings/plugins/ifcfg-fedora/reader.c
110           system-settings/plugins/ifcfg-suse/parser.c
111                 - Use wireless security accessors
112
113 2008-10-30  Dan Williams  <dcbw@redhat.com>
114
115         * src/nm-device-ethernet.c
116           src/nm-device-wifi.c
117           src/nm-device.c
118           src/ppp-manager/nm-ppp-manager.c
119                 - Harmonize return checking of ioctl
120
121         * system-settings/plugins/ifcfg-fedora/reader.c
122                 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
123
124 2008-10-30  Dan Williams  <dcbw@redhat.com>
125
126         * src/ppp-manager/nm-ppp-manager.c
127                 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
128                         ppp_generic module to create it (bgo #533064)
129
130 2008-10-30  Dan Williams  <dcbw@redhat.com>
131
132         Patch from Alexander Sack <asac@canonical.com>
133
134         Fix "ppp connections don't honour ip4 connection settings"
135
136         * src/nm-device-ethernet.c
137                 - (real_act_stage4_get_ip4_config): merge ip4config settings
138                         with results from ppp manager
139
140         * src/nm-serial-device.c
141                 - (real_act_stage4_get_ip4_config): merge ip4config settings
142                         with results from ppp manager
143
144 2008-10-29  Dan Williams  <dcbw@redhat.com>
145
146         * libnm-util/libnm-util.ver
147           libnm-util/nm-setting-ip4-config.c
148           libnm-util/nm-setting-ip4-config.h
149                 - Make properties private and add accessor functions
150
151         * callouts/nm-dispatcher-action.c
152           libnm-glib/libnm-glib-test.c
153           libnm-util/nm-utils.c
154           src/NetworkManagerPolicy.c
155           src/NetworkManagerSystem.c
156           src/NetworkManagerUtils.c
157           src/dhcp-manager/nm-dhcp-dhclient.c
158           src/dhcp-manager/nm-dhcp-manager.c
159           src/dnsmasq-manager/nm-dnsmasq-manager.c
160           src/nm-device-wifi.c
161           src/nm-device.c
162           src/nm-hso-gsm-device.c
163           src/nm-ip4-config.c
164           src/nm-ip4-config.h
165           src/ppp-manager/nm-ppp-manager.c
166           src/vpn-manager/nm-vpn-connection.c
167           system-settings/plugins/ifcfg-fedora/reader.c
168           system-settings/plugins/ifcfg-suse/parser.c
169           system-settings/plugins/ifcfg-suse/plugin.c
170           system-settings/plugins/ifupdown/parser.c
171           test/nm-tool.c
172           vpn-daemons/vpnc/properties/nm-vpnc.c
173                 - Use IP4 accessor functions
174
175 2008-10-29  Tambet Ingo  <tambet@gmail.com>
176
177         Half of it by Dan Williams <dcbw@redhat.com>
178
179         * libnm-util/libnm-util.ver
180         libnm-util/nm-setting-vpn.c
181         libnm-util/nm-setting-vpn.h
182                 - Make properties private and add accessor functions.
183
184         * src/vpn-manager/nm-vpn-connection.c
185         src/vpn-manager/nm-vpn-manager.c
186         system-settings/plugins/keyfile/reader.c
187         vpn-daemons/openvpn/properties/auth-helpers.c
188         vpn-daemons/openvpn/properties/import-export.c
189         vpn-daemons/openvpn/properties/nm-openvpn.c
190         vpn-daemons/openvpn/src/nm-openvpn-service.c
191         vpn-daemons/pptp/auth-dialog/main.c
192         vpn-daemons/pptp/properties/advanced-dialog.c
193         vpn-daemons/pptp/properties/nm-pptp.c
194         vpn-daemons/pptp/src/nm-pptp-service.c
195         vpn-daemons/vpnc/properties/nm-vpnc.c
196         vpn-daemons/vpnc/src/nm-vpnc-service.c
197                 - Use VPN setting accessors.
198
199 2008-10-28  Dan Williams  <dcbw@redhat.com>
200
201         Patch from Tambet Ingo <tambet@gmail.com>
202
203         * libnm-util/libnm-util.ver
204           libnm-util/nm-setting-wireless.c
205           libnm-util/nm-setting-wireless.h
206                 - Make properties private and add accessor functions
207
208         * src/NetworkManagerAP.c
209           src/nm-device-wifi.c
210           src/nm-manager.c
211           src/supplicant-manager/nm-supplicant-config.c
212           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
213           system-settings/plugins/ifcfg-fedora/reader.c
214           system-settings/plugins/ifcfg-suse/parser.c
215           system-settings/plugins/ifupdown/parser.c
216                 - Use wireless setting accessors
217
218 2008-10-27  Dan Williams  <dcbw@redhat.com>
219
220         Patch from Tambet Ingo <tambet@gmail.com>
221
222         * libnm-util/libnm-util.ver
223           libnm-util/nm-setting-ppp.c
224           libnm-util/nm-setting-ppp.h
225                 - Make properties private and add accessor functions
226
227         * src/ppp-manager/nm-ppp-manager.c
228                 - Use ppp setting accessors
229
230 2008-10-27  Dan Williams  <dcbw@redhat.com>
231
232         Patch from Tambet Ingo <tambet@gmail.com>
233
234         * libnm-util/nm-setting.h
235           libnm-util/nm-setting.c
236                 - Make properties private and add accessor functions
237
238         * libnm-util/nm-connection.c
239           libnm-util/nm-setting-8021x.c
240           libnm-util/nm-setting-cdma.c
241           libnm-util/nm-setting-connection.c
242           libnm-util/nm-setting-gsm.c
243           libnm-util/nm-setting-ip4-config.c
244           libnm-util/nm-setting-ip6-config.c
245           libnm-util/nm-setting-ppp.c
246           libnm-util/nm-setting-pppoe.c
247           libnm-util/nm-setting-serial.c
248           libnm-util/nm-setting-template.c
249           libnm-util/nm-setting-vpn.c
250           libnm-util/nm-setting-wired.c
251           libnm-util/nm-setting-wireless-security.c
252           libnm-util/nm-setting-wireless.c
253           system-settings/plugins/keyfile/reader.c
254           system-settings/plugins/keyfile/writer.c
255                 - Use setting accessors
256
257 2008-10-27  Dan Williams  <dcbw@redhat.com>
258
259         * libnm-util/libnm-util.ver
260           libnm-util/nm-setting-connection.c
261           libnm-util/nm-setting-connection.h
262                 - Add a 'read-only' property that indicates the connection cannot be
263                         modified
264
265         * system-settings/plugins/ifcfg-fedora/reader.c
266           system-settings/plugins/ifcfg-suse/parser.c
267           system-settings/plugins/ifupdown/parser.c
268                 - These plugins are read-only at the moment
269
270         * system-settings/plugins/keyfile/reader.c
271           system-settings/plugins/keyfile/writer.c
272                 - Read-only shouldn't get saved out to files or read in from them
273
274 2008-10-27  Tambet Ingo  <tambet@gmail.com>
275
276         * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
277         correct speed reporting for fast devices (kernel >= 2.6.27).
278
279 2008-10-26  Dan Williams  <dcbw@redhat.com>
280
281         Attempt to compensate for modems that don't enable full AT parsing before
282         the PIN has been entered.
283
284         * src/nm-gsm-device.c
285                 - (init_modem): accept different init strings
286                 - (init_done): try different init strings on failure
287                 - (check_pin_done): on PIN success, do full modem init
288
289 2008-10-26  Dan Williams  <dcbw@redhat.com>
290
291         Patch from Tambet Ingo <tambet@gmail.com>
292
293         * libnm-util/libnm-util.ver
294           libnm-util/nm-setting-connection.c
295           libnm-util/nm-setting-connection.h
296                 - Make properties private and add accessor functions
297
298         * src/NetworkManagerPolicy.c
299           src/nm-cdma-device.c
300           src/nm-device-ethernet.c
301           src/nm-device-interface.c
302           src/nm-device-wifi.c
303           src/nm-gsm-device.c
304           src/nm-manager.c
305           src/ppp-manager/nm-ppp-manager.c
306           src/vpn-manager/nm-vpn-connection.c
307           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
308           system-settings/plugins/ifcfg-fedora/plugin.c
309           system-settings/plugins/ifcfg-fedora/reader.c
310           system-settings/plugins/ifcfg-suse/parser.c
311           system-settings/plugins/ifupdown/parser.c
312           system-settings/plugins/keyfile/nm-keyfile-connection.c
313           system-settings/plugins/keyfile/plugin.c
314           system-settings/plugins/keyfile/writer.c
315           system-settings/src/main.c
316                 - Use those accessors
317
318 2008-10-26  Dan Williams  <dcbw@redhat.com>
319
320         Patch from Tambet Ingo <tambet@gmail.com>
321
322         * libnm-util/libnm-util.ver
323           libnm-util/nm-setting-gsm.c
324           libnm-util/nm-setting-gsm.h
325                 - Make properties private and add accessor functions
326
327         * src/nm-gsm-device.c
328           src/nm-hso-gsm-device.c
329           src/ppp-manager/nm-ppp-manager.c
330                 - Use those accessors
331
332 2008-10-26  Dan Williams  <dcbw@redhat.com>
333
334         Patch from Tambet Ingo <tambet@gmail.com>
335
336         * libnm-util/libnm-util.ver
337           libnm-util/nm-setting-cdma.c
338           libnm-util/nm-setting-cdma.h
339                 - Make properties private and add accessor functions
340
341         * src/nm-cdma-device.c
342           src/ppp-manager/nm-ppp-manager.c
343                 - Use those accessors
344
345 2008-10-26  Dan Williams  <dcbw@redhat.com>
346
347         Patch from Tambet Ingo <tambet@gmail.com>
348
349         * libnm-util/libnm-util.ver
350           libnm-util/nm-setting-pppoe.c
351           libnm-util/nm-setting-pppoe.h
352                 - Make properties private and add accessor functions
353
354         * src/nm-device-ethernet.c
355           src/ppp-manager/nm-ppp-manager.c
356                 - Use those accessors
357
358 2008-10-26  Dan Williams  <dcbw@redhat.com>
359
360         Patch from Tambet Ingo <tambet@gmail.com>
361
362         * libnm-util/libnm-util.ver
363           libnm-util/nm-setting-wired.c
364           libnm-util/nm-setting-wired.h
365                 - Make properties private and add accessor functions
366
367         * src/nm-device-ethernet.c
368           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
369           system-settings/plugins/ifcfg-suse/parser.c
370           system-settings/src/main.c
371                 - Use those accessors
372
373 2008-10-26  Dan Williams  <dcbw@redhat.com>
374
375         Patch from Tambet Ingo <tambet@gmail.com>
376
377         * libnm-util/libnm-util.ver
378           libnm-util/nm-setting-serial.c
379           libnm-util/nm-setting-serial.h
380           src/nm-serial-device.c
381                 - Make properties private and use accessors instead
382
383 2008-10-26  Dan Williams  <dcbw@redhat.com>
384
385         * src/supplicant-manager/nm-supplicant-interface.c
386           src/supplicant-manager/nm-supplicant-interface.h
387           src/supplicant-manager/nm-supplicant-manager.c
388           src/supplicant-manager/nm-supplicant-manager.h
389                 - Add state-to-string conversion functions
390
391         * src/nm-device-wifi.c
392           src/nm-device-ethernet.c
393                 - Normalize state info logging and use strings instead of numbers
394
395 2008-10-26  Dan Williams  <dcbw@redhat.com>
396
397         * src/NetworkManagerPolicy.c
398                 - (update_routing_and_dns): ignore host routes when determining whether
399                         a VPN connection should own the default route (bgo #552594)
400
401 2008-10-24  Dan Williams  <dcbw@redhat.com>
402
403         * src/nm-gsm-device.c
404                 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
405
406 2008-10-23  Dan Williams  <dcbw@redhat.com>
407
408         * src/ppp-manager/nm-ppp-manager.c
409                 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
410                         add really important stuff to the command line to ensure that NM
411                         overrides /etc/ppp/options (bgo #556781)
412
413 2008-10-22  Dan Williams  <dcbw@redhat.com>
414
415         * src/NetworkManagerSystem.c
416           src/nm-device.c
417                 - Use the device's IP interface where appropriate (Per Hallsmark)
418
419 2008-10-22  Dan Williams  <dcbw@redhat.com>
420
421         * src/nm-gsm-device.c
422                 - (schedule_automatic_registration_again): use a short timeout here
423                         instead of an idle handler to avoid using too much CPU polling for
424                         something we should be waiting a bit for anyway
425
426 2008-10-22  Dan Williams  <dcbw@redhat.com>
427
428         * include/NetworkManager.h
429           introspection/nm-device.xml
430                 - Add device state change reason for carrier changes
431
432         * src/nm-device-ethernet.c
433                 - (set_carrier): use the carrier change reason when changing device
434                         state in response to carrier changes
435
436 2008-10-21  Dan Williams  <dcbw@redhat.com>
437
438         * src/NetworkManagerPolicy.c
439                 - (update_etc_hosts): don't leak errors, and ensure that
440                         g_file_set_contents() gets a valid error placeholder (rh #461933)
441
442 2008-10-21  Dan Williams  <dcbw@redhat.com>
443
444         * src/nm-manager.c
445                 - (free_get_settings_info): don't use the DBusGProxy which could be
446                         disposed of by the time the function is called
447                 - (internal_new_connection_cb): save connection scope
448                 - (connection_get_settings_cb): don't replace a connection unless it's
449                         actually different from the existing one; fixes an issue where
450                         killing the settings service wouldn't deactivate an active connection
451                         provided by that settings service, because it was using a connection
452                         that had already been replaced in the system or user hash
453
454 2008-10-21  Dan Williams  <dcbw@redhat.com>
455
456         * src/NetworkManager.c
457                 - (main): keep the DHCP manager around since it's a singleton; fixes
458                         a use-after-free exposed by r4196 since the DHCP manager singleton
459                         variable isn't cleared when the DHCP manager object is finalized
460
461 2008-10-20  Dan Williams  <dcbw@redhat.com>
462
463         * libnm-util/nm-setting-wireless-security.c
464                 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
465
466 2008-10-20  Dan Williams  <dcbw@redhat.com>
467
468         * src/supplicant-manager/nm-supplicant-config.c
469                 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
470
471 2008-10-20  Dan Williams  <dcbw@redhat.com>
472
473         * src/dhcp-manager/nm-dhcp-manager.c
474                 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
475                         manager object already refs it once
476                 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
477                         also get cleaned up by nm_dhcp_device_destroy() to prevent
478                         double-frees
479
480 2008-10-20  Dan Williams  <dcbw@redhat.com>
481
482         * src/nm-manager.c
483                 - (initial_get_connections): use private dbus manager, don't keep
484                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
485                         manager object.
486
487 2008-10-18  Dan Williams  <dcbw@redhat.com>
488
489         * libnm-glib/nm-settings.c
490           libnm-glib/nm-settings.h
491                 - Rename the "get_secrets" virtual function "service_get_secrets" to
492                         clarify when it's used; NMExportedConnetion is a base-class for both
493                         the client and service side, which is sort of confusing, and
494                         get_secrets only makes sense on the service side.
495
496         * libnm-glib/nm-dbus-connection.c
497                 - (get_secrets): remove, unused, and clients need to do extra work to
498                         get secrets anyway since the call can block on the remote side
499
500         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
501           system-settings/plugins/keyfile/nm-keyfile-connection.c
502                 - Fix up for get_secrets -> service_get_secrets
503
504 2008-10-16  Dan Williams  <dcbw@redhat.com>
505
506         * src/nm-device-wifi.c
507                 - (constructor): correctly determine encryption capabilities
508
509 2008-10-15  Dan Williams  <dcbw@redhat.com>
510
511         * src/nm-device-wifi.c
512                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
513                         (Johannes Berg)
514
515 2008-10-15  Dan Williams  <dcbw@redhat.com>
516
517         * src/NetworkManagerSystem.c
518                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
519                         if the ip4_dest is in a smaller subnet contained within a subnet
520                         the machine is currently on, the destination is in the same subnet
521                 - (nm_system_device_set_ip4_route): move subnet checks to callers
522                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
523                         subnet as the parent device, and if so, don't add the direct
524                         host route via the parent device's gateway (bgo #481620)
525                 - (nm_system_apply_ip4_config): check whether the route to be added
526                         is contained within a subnet the device is already on
527
528 2008-10-11  Dan Williams  <dcbw@redhat.com>
529
530         * include/NetworkManager.h
531           introspection/nm-device.xml
532           include/NetworkManagerVPN.h
533                 - Add a few more state reasons for the device deactivated state
534
535         * src/nm-device-interface.c
536           src/nm-device-interface.h
537                 - (nm_device_interface_deactivate): add a 'reason' argument
538
539         * src/nm-device.c
540           src/nm-device.h
541                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
542                 - (nm_device_state_changed): pass the state change reason to
543                         nm_device_take_down()
544                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
545                         to the state change function
546
547         * src/nm-manager.c
548           src/nm-manager.h
549                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
550                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
551                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
552                         something reasonable along to VPN deactivation
553
554         * src/vpn-manager/nm-vpn-manager.c
555           src/vpn-manager/nm-vpn-manager.h
556                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
557                         pass that along to nm_vpn_connection_disconnect()
558
559 2008-10-11  Dan Williams  <dcbw@redhat.com>
560
561         * src/nm-device-wifi.c
562                 - (can_scan): remove old madwifi hack for not scanning while connected
563
564 2008-10-11  Dan Williams  <dcbw@redhat.com>
565
566         Add support for VPN subnet gateways (bgo #549196)
567
568         * include/NetworkManager.h
569                 - Add key for internal VPN subnet gateway
570
571         * src/vpn-manager/nm-vpn-connection.c
572                 - (ip_address_to_string): return a const from a static buffer so we
573                         don't leak a lot of strings
574                 - (print_vpn_config): print internal VPN gateway as well
575                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
576                         VPN service too
577                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
578
579         * src/NetworkManagerSystem.c
580           src/NetworkManagerSystem.h
581                 - (nm_system_device_replace_default_ip4_route): split into two, one for
582                         VPN connections and one for normal devices
583                 - (replace_default_ip4_route): break out route stuff into its own function
584                 - (nm_system_replace_default_ip4_route_vpn,
585                    nm_system_replace_default_ip4_route): simplify by having two cases,
586                         one for VPNs and one for normal devices
587
588         * src/NetworkManagerPolicy.c
589                 - (update_routing_and_dns): simplify, use split default route replacement
590                         functions
591
592 2008-10-10  Dan Williams  <dcbw@redhat.com>
593
594         Rework default route handling to consolidate decisions in the policy,
595         and to take active VPN connections into account when changing the default
596         route (bgo #545912)
597
598         * src/NetworkManager.c
599                 - (main): pass the vpn_manager to the policy so it knows about active
600                         VPN connections; clean up the named manager which wasn't done before
601
602         * src/NetworkManagerPolicy.c
603           src/NetworkManagerPolicy.h
604                 - (nm_policy_new): get a clue about the vpn_manager
605                 - (update_default_route): remove, fold into update_routing_and_dns()
606                 - (update_routing_and_dns): handle active VPN connections too; an
607                         active VPN connection becomes the default route if it does not have
608                         server-specified or user-specified custom routes.  Otherwise, the
609                         best active device gets the default route
610                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
611                    nm_policy_destroy): track VPN connection activation and deactivation
612                         and update the default route when appropriate
613
614         * src/NetworkManagerSystem.c
615           src/NetworkManagerSystem.h
616                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
617                         in the VPN connection itself
618                 - (nm_system_vpn_device_set_from_ip4_config,
619                    nm_system_device_set_from_ip4_config): merge together to make
620                         nm_system_apply_ip4_config()
621                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
622                         via the parent device
623                 - (nm_system_apply_ip4_config): simplify
624                 - (add_ip4_route_to_gateway): new function; add a direct route to the
625                         gateway if needed
626                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
627                         route stuff out into add_ip4_route_to_gateway() for clarity
628
629         * src/nm-device.c
630                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
631
632         * src/vpn-manager/nm-vpn-connection.c
633           src/vpn-manager/nm-vpn-connection.h
634                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
635                    nm_vpn_connection_get_parent_device): add
636                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
637                         device explicit
638                 - (connection_state_changed): update the named manager now that
639                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
640                         useful on errors
641
642         * src/vpn-manager/nm-vpn-manager.c
643           src/vpn-manager/nm-vpn-manager.h
644                 - Add a 'connection-activated' signal
645                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
646                         policy to find out about active VPN connections
647
648 2008-10-10  Tambet Ingo  <tambet@gmail.com>
649
650         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
651         a daemon to prevent NM logging spew on console on startup and shutdown (due
652         to dependency loop between NM and syslog).
653
654 2008-10-10  Alexander Sack  <asac@ubuntu.com>
655
656         Implement managed mode. We bind devices configured in /etc/network/interfaces
657         to their connections by updating wired/wireless setting with the
658         mac address of the device.
659
660         * system-settings/plugins/ifupdown/plugin.c
661                 - (get_net_address_for_udi): implement function to retrieve MAC
662                         address of udi from hal in GByteArray format
663                 - (bind_device_to_connection): bind mac address of device to
664                         wired/wireless system connection
665                 - (hal_device_added_cb): call bind_device_to_connection for
666                         system connections with a matching interface.name
667                 - (hal_device_added_cb): ensure that all code paths
668                         properly free the "iface" string.
669
670 2008-10-10  Alexander Sack  <asac@ubuntu.com>
671
672         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
673         mode of the ifupdown system config plugin.
674
675         * system-settings/plugins/ifupdown/plugin.c
676                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
677                         private unmanage_well_known state field accordingly
678
679 2008-10-10  Alexander Sack  <asac@ubuntu.com>
680
681         Implement unmanaged mode that will prevent all devices in the
682         well_known_udis set from being touched by NetworkManager
683
684         * system-settings/plugins/ifupdown/plugin.c
685                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
686                         unmanage_well_known field used to turn on/off unmanaged
687                         mode
688                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
689                         signal when well_known_udis get added/removed
690                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
691                         if we are in unmanaged mode
692
693 2008-10-10  Alexander Sack  <asac@ubuntu.com>
694
695         Add support to track network devices that have a configuration
696         with a matching interface.name in /etc/network/interfaces
697
698         * system-settings/plugins/ifupdown/plugin.c
699                 - (typedef struct SCPluginIfupdownPrivate): add hash table
700                         to track |well_known_udis|
701                 - (get_iface_for_udi): helper function to get interface.name
702                         for a udi
703                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
704                         that add and remove devices to and from the well_known_udis
705                         set depending on whether their |interface.name| matches
706                         any interface definition in /etc/network/interfaces
707                 - (SCPluginIfupdown_init): connect callbacks from above with
708                         hal_mgr and setup well_known_udis hashtable
709                 - (GObject__dispose): destroy well_known_udis hashtable
710                 - (hal_device_added_cb2): implement wrapper callback with GFunc
711                         signature. user_data is supposed to be a triple (hal_mgr,
712                         config and devtype)
713                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
714                         startup and call hal_device_added_cb2
715
716 2008-10-10  Alexander Sack  <asac@ubuntu.com>
717
718         Remove implementation for not used NMSystemConfigInterface callback functions
719         in ifupdown plugin
720
721         * system-settings/plugins/ifupdown/plugin.c
722                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
723                 - (SCPluginIfupdown_connection_added): removed
724
725 2008-10-08  Dan Williams  <dcbw@redhat.com>
726
727         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
728
729         * src/NetworkManagerUtils.c
730                 - (nm_utils_call_dispatcher): add a 'hostname' action
731
732         * src/NetworkManagerPolicy.c
733                 - (set_system_hostname): dispatch hostname changes
734
735         * callouts/nm-dispatcher-action.c
736                 - (nm_dispatcher_action): handle 'hostname' actions
737
738 2008-10-08  Dan Williams  <dcbw@redhat.com>
739
740         * src/NetworkManagerSystem.c
741                 - (find_route): ref the route so it doesn't get destroyed when the cache
742                         is cleared
743                 - (nm_system_device_set_priority): unref the route here after it's done
744                         being used
745
746 2008-10-08  Dan Williams  <dcbw@redhat.com>
747
748         * src/nm-serial-device.c
749                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
750
751 2008-10-08  Tambet Ingo  <tambet@gmail.com>
752
753         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
754         connection with new settings before saving it.
755
756 2008-10-06  Dan Williams  <dcbw@redhat.com>
757
758         * src/nm-ip4-config.c
759           src/nm-ip4-config.h
760                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
761
762         * src/nm-device-interface.c
763                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
764                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
765                         by using '/' for the object path
766
767         * src/nm-device.c
768                 - (src/nm-device.c): marshal missing/unexported ip4-config through
769                         dbus as '/' since dbus-glib can't handle NULL objects nor can
770                         dbus handle NULL object paths
771
772 2008-10-03  Alexander Sack  <asac@ubuntu.com>
773
774         Implement system hostname support for debian/ubuntu
775
776         * system-settings/plugins/ifupdown/plugin.c
777                 - (GObject__get_property): extend announced capabilities; add
778                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
779                 - (GObject__set_property,write_system_hostname): implement
780                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
781                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
782                    update_system_hostname, get_hostname):
783                         implement hostname property that watches and
784                         parses /etc/hostname
785
786 2008-10-03  Alexander Sack  <asac@ubuntu.com>
787
788         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
789           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
790           system-settings/plugins/ifcfg-fedora/Makefile.am
791           system-settings/src/nm-inotify-helper.c
792           system-settings/src/nm-inotify-helper.h
793           src/Makefile.am
794                 - Move ifcfg-fedora inotify helpers to the system settings service so
795                         they are available to all plugins
796
797 2008-10-03  Alexander Sack  <asac@ubuntu.com>
798
799         Implement support for wep-tx-keyidx in ifupdown system
800         config plugin.
801
802         * system-settings/plugins/ifupdown/parser.c
803                 - (update_wireless_security_setting_from_if_block): introduce
804                         free_type_mapping func table; rename a few local
805                         variables to improve readability; add wpa security mapping
806                         for wep-tx-keyidx property
807                 - (string_to_gpointerint): new function used for the auto_type_mapping
808                         of new wep-tx-keyidx property
809                 - (slist_free_all): free func used for mapped slist types
810
811 2008-10-03  Alexander Sack  <asac@ubuntu.com>
812
813         * system-settings/src/main.c:
814                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
815                         always used as the hash key; fixes a crash when removing wired
816                         devices
817
818 2008-10-02  Dan Williams  <dcbw@redhat.com>
819
820         * src/nm-gsm-device.c
821                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
822                         pass the required GSM secret along via user_data rather than keeping
823                         it around in the private data where it sometimes didn't get cleared
824                 - (real_get_ppp_name): implement using the GSM username
825
826 2008-10-02  Dan Williams  <dcbw@redhat.com>
827
828         * src/ppp-manager/nm-ppp-manager.c
829           src/ppp-manager/nm-ppp-manager.h
830                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
831                         the settings daemon for completely new ones
832                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
833                         local PPP peer name; allow PPP debuging by launching NM with
834                         the environment variable NM_PPP_DEBUG defined
835                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
836                         create_pppd_cmd_line()
837
838         * src/nm-serial-device.c
839           src/nm-serial-device.h
840                 - New 'get_ppp_name' function for subclasses to implement to return the
841                         local PPP peer name
842                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
843                         and pass that name to the PPP manager
844
845         * src/nm-device-ethernet.c
846                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
847                         the local peer name
848
849         * src/nm-cdma-device.c
850                 - (real_get_ppp_name): implement using the CDMA username
851
852 2008-10-02  Dan Williams  <dcbw@redhat.com>
853
854         Patch from Alexander Sack <asac ubuntu com>
855
856         * system-settings/plugins/ifupdown/parser.c
857                 - Implement more graceful ip4 config parsing for cases where
858                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
859                   by using default values
860
861 2008-10-02  Dan Williams  <dcbw@redhat.com>
862
863         * src/NetworkManagerPolicy.c
864                 - (device_state_changed): when marking a connection invalid, clear its
865                         secrets too so that fresh secrets get requested the next time
866
867 2008-10-01  Dan Williams  <dcbw@redhat.com>
868
869         * system-settings/src/dbus-settings.c
870                 - (nm_sysconfig_settings_init): cache system hostname on startup as
871                         a fallback if no plugin provides a hostname
872                 - (get_property): fall back to cached hostname if no plugin provides
873                         a hostname
874
875 2008-10-01  Dan Williams  <dcbw@redhat.com>
876
877         Fix setting value comparison issue that caused some settings to look the
878         same when they were really different (rh #464417)
879
880         * libnm-util/nm-param-spec-specialized.c
881                 - (type_is_fixed_size): return fundamental size of the fixed type too
882                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
883                         in the comparison so that the _entire_ fixed type collection gets
884                         compared rather than just the first 'len1' bytes
885
886 2008-09-30  Dan Williams  <dcbw@redhat.com>
887
888         * src/NetworkManagerPolicy.c
889                 - (lookup_thread_worker): don't store the idle handler ID becuase the
890                         idle handler could have already run and freed the LookupThread
891                         structure
892
893 2008-09-30  Tambet Ingo  <tambet@gmail.com>
894
895         * src/nm-device.c (nm_device_get_priority): Implement.
896         (nm_device_set_ip4_config): Send the device priority to system ip4 
897         config setter.
898
899         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
900         Add priority argument and if it's >= 0, set the priority of the network
901         route added automatically by netlink (or kernel?).
902         (nm_system_device_set_priority): Implement.
903
904         * src/NetworkManagerPolicy.c (get_best_device): Use 
905         nm_device_get_priority() instead of home-grown version. Revert the
906         meaning, best priority is the lowest one.
907
908 2008-09-29  Dan Williams  <dcbw@redhat.com>
909
910         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
911         when it returns EAGAIN (rh #362421)
912
913         * src/nm-device-wifi.c
914                 - (wireless_get_range): try GIWRANGE a few times until the card responds
915                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
916
917 2008-09-28  Dan Williams  <dcbw@redhat.com>
918
919         * src/nm-serial-device.c
920           src/nm-serial-device.h
921                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
922                         cleaned at the right times when subclasses close the serial port too
923                 - (nm_serial_device_send_command): use a default send delay; don't
924                         spin forever on EAGAIN
925                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
926                         remove, no longer used
927                 - (find_response): return the matched response if any
928                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
929                         while doing so
930                 - (wait_for_reply_done): pass the matched response to the callback
931                 - (wait_for_reply_got_data): save the matched response; simplify timeout
932                         handling
933                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
934                         const since they never get modified
935                 - (cleanup_device): split out common cleanup stuff to a new function
936                 - (real_deactivate_quickly, finalize): use cleanup_device()
937
938         * src/nm-gsm-device.c
939                 - (modem_get_reply): remove, unused
940                 - (set_apn): give the card a bit more time to respond
941                 - (manual_registration_again, schedule_manual_registration_again,
942                    manual_registration_response, manual_registration): handle manual
943                         registration timeouts better by retrying registration a few times
944                         because cards are a bit slow after CFUN=1
945                 - (automatic_registration_get_network, get_network_response): use
946                         modem_wait_for_reply() because it interacts better with the serial
947                         buffer and does more intelligent matching; need to wait for 'OK'
948                         rather than just matching terminators
949                 - (schedule_automatic_registration_again,
950                    automatic_registration_response, automatic_registration): retry
951                         registration a few times on timeout or "searching" because cards
952                         take a bit to find a network after being powered up with CFUN=1
953                 - (power_up_response, power_up, init_full_done, enter_pin,
954                    check_pin_done): power up the card with CFUN=1 before trying to
955                         register with the network
956                 - (init_modem_full, init_modem): use more standard 3G init strings
957
958         * src/nm-hso-gsm-device.c
959                 - (modem_get_reply): remove, unused
960                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
961                         modem_wait_for_reply() to match actual responses instead of single
962                         termination characters; it doesn't leave stuff in the serial buffer
963                         that might confuse later calls
964                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
965                         to ensure that the call is really disconnected and not leave extra
966                         stuff in the serial buffer
967
968         * src/nm-cdma-device.c
969                 - (power_up_response, power_up, init_done): try Sierra-style modem
970                         power up before attempting to connect
971
972 2008-09-27  Dan Williams  <dcbw@redhat.com>
973
974         * libnm-util/nm-setting-gsm.c
975                 - (verify): verify GSM network ID
976
977 2008-09-25  Dan Williams  <dcbw@redhat.com>
978
979         * libnm-util/nm-setting-gsm.c
980           libnm-util/nm-setting-gsm.h
981                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
982                         technology terms (bgo #551361)
983
984 2008-09-25  Dan Williams  <dcbw@redhat.com>
985
986         Fix bgo #549401 (inspired by patch from Alexander Sack)
987
988         * src/nm-device-ethernet.c
989                 - (finish_supplicant_task): clean up scheduled tasks and free memory
990                 - (remove_supplicant_interface_error_handler): remove the supplicant
991                         error idle callback too
992                 - (supplicant_interface_release): rename from supplicant_interface_clean
993                         to match nm-device-wifi.c; clean up supplicant interface-related
994                         state tasks when the supplicant interface is disposed of
995                 - (schedule_state_handler): add scheduled tasks to a list so they can
996                         be cleaned up later
997                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
998                    supplicant_iface_connection_state_cb_handler): use
999                         finish_supplicant_task() to clean up each completed task
1000                 - (supplicant_iface_connection_error_cb_handler,
1001                    supplicant_connection_timeout_cb): clear source id when the task is
1002                         complete
1003                 - (supplicant_iface_connection_error_cb): save scheduled task id for
1004                         later cleanup
1005                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
1006                         tasks
1007
1008         * src/nm-device-wifi.c
1009                 - (finish_supplicant_task): clean up scheduled tasks and free memory
1010                 - (remove_supplicant_interface_error_handler): remove the supplicant
1011                         error idle callback too
1012                 - (supplicant_interface_release): clean up supplicant interface-related
1013                         state tasks when the supplicant interface is disposed of
1014                 - (schedule_state_handler): add scheduled tasks to a list so they can
1015                         be cleaned up later
1016                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1017                    supplicant_iface_connection_state_cb_handler): use
1018                         finish_supplicant_task() to clean up each completed task
1019                 - (supplicant_iface_connection_error_cb_handler): clear source id when
1020                         the task is complete
1021                 - (supplicant_iface_connection_error_cb): save scheduled task id for
1022                         later cleanup
1023                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
1024
1025 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1026
1027         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
1028         method and get/set hostname property.
1029
1030 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1031
1032         * src/supplicant-manager/nm-supplicant-interface.c
1033         (nm_supplicant_interface_disconnect): Don't increment the reference 
1034         count when disconnecting. The problem is on shutdown, when the replies
1035         to these commands do not arrive before NM exits, resulting on never
1036         calling supplicant interface's dispose(), which removes the interface
1037         from supplicant.
1038
1039 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1040
1041         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
1042         all the public function arguments.
1043
1044 2008-09-22  Tambet Ingo  <tambet@gmail.com>
1045
1046         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
1047         "Failure" signal from VPN plugins, store the failure reason, and
1048         use it when the state is changed to failure.
1049
1050         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
1051         description.
1052
1053         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
1054         reason to the end of the list to not break the API.
1055         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
1056         so it can be shared by plugins and daemon.
1057
1058 2008-09-18  Dan Williams  <dcbw@redhat.com>
1059
1060         Patch from Alexander Sack <asac@ubuntu.com>
1061
1062         * configure.in
1063           system-settings/plugins/Makefile.am
1064           system-settings/plugins/ifupdown/Makefile.am
1065           system-settings/plugins/ifupdown/interface_parser.c
1066           system-settings/plugins/ifupdown/interface_parser.h
1067           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1068           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1069           system-settings/plugins/ifupdown/parser.c
1070           system-settings/plugins/ifupdown/parser.h
1071           system-settings/plugins/ifupdown/plugin.c
1072           system-settings/plugins/ifupdown/plugin.h
1073                 - Implement a Debian/Ubuntu legacy network configuration plugin
1074                         (gnome.org #551941)
1075
1076 2008-09-18  Dan Williams  <dcbw@redhat.com>
1077
1078         Implement support for honoring configured and automatic hostnames, and for
1079         setting the configured hostname.
1080
1081         * introspection/nm-ip4-config.xml
1082           src/nm-ip4-config.c
1083           src/nm-ip4-config.h
1084           src/dhcp-manager/nm-dhcp-manager.c
1085                 - Remove useless hostname property; it's not really part of the IPv4
1086                         config
1087
1088         * introspection/nm-settings-system.xml
1089           libnm-glib/nm-dbus-settings-system.c
1090           libnm-glib/nm-dbus-settings-system.h
1091                 - Add SetHostname() call to system settings D-Bus interface
1092                 - Add Hostname property to system settings D-Bus interface
1093                 - (nm_dbus_settings_system_save_hostname,
1094                    nm_dbus_settings_system_get_hostname): implement
1095
1096         * src/nm-device.c
1097           src/nm-device.h
1098                 - (nm_device_get_dhcp4_config): implement
1099
1100         * src/nm-manager.c
1101           src/nm-manager.h
1102                 - Fetch and track system settings service hostname changes, and proxy
1103                         the changes via a GObject property of the manager
1104
1105         * system-settings/src/nm-system-config-interface.c
1106           system-settings/src/nm-system-config-interface.h
1107                 - Replace nm_system_config_interface_supports_add() with a capabilities
1108                         bitfield
1109
1110         * system-settings/src/nm-system-config-error.c
1111           system-settings/src/nm-system-config-error.h
1112                 - Add additional errors
1113
1114         * system-settings/src/dbus-settings.c
1115           system-settings/src/dbus-settings.h
1116                 - (get_property, nm_sysconfig_settings_class_init): add hostname
1117                         property; first plugin returning a hostname wins
1118                 - (impl_settings_add_connection): use plugin capabilities instead of
1119                         nm_system_config_interface_supports_add()
1120                 - (impl_settings_save_hostname): implement hostname saving
1121
1122         * src/NetworkManagerPolicy.c
1123                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1124                    lookup_thread_die): implement an asynchronous hostname lookup thread
1125                         which given an IPv4 address tries to look up the hostname for that
1126                         address with reverse DNS
1127                 - (get_best_device): split out best device code from
1128                         update_routing_and_dns()
1129                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1130                         to preserve the 127.0.0.1 reverse mapping that so many things require
1131                 - (set_system_hostname): set a given hostname
1132                 - (update_system_hostname): implement hostname policy; a configured
1133                         hostname (from the system settings service) is used if available,
1134                         otherwise an automatically determined hostname from DHCP, VPN, etc.
1135                         If there was no automatically determined hostname, reverse DNS of
1136                         the best device's IP address will be used, and as a last resort the
1137                         hostname 'localhost.localdomain' is set.
1138                 - (update_routing_and_dns): use get_best_device(); update the system
1139                         hostname when the network config changes
1140                 - (hostname_changed): update system hostname if the system settings
1141                         service signals a hostname change
1142                 - (nm_policy_new): list for system settings service hostname changes
1143                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1144                         gets told to die
1145
1146         * system-settings/plugins/keyfile/plugin.c
1147           system-settings/plugins/ifcfg-suse/plugin.c
1148                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1149                         capabilities properties
1150
1151         * system-settings/plugins/ifcfg-fedora/shvar.c
1152                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1153                         writes out /etc/sysconfig/network now
1154
1155         * system-settings/plugins/ifcfg-fedora/plugin.c
1156                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1157                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1158                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1159                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1160                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1161                         hostname get/set and capabilities get
1162
1163 2008-09-18  Dan Williams  <dcbw@redhat.com>
1164
1165         * libnm-util/nm-setting-wireless.c
1166                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1167                         group ciphers if the wireless-security setting explicitly specified
1168                         them, effectively making the default be "all ciphers"  (idea from
1169                         Alexander Sack)
1170
1171 2008-09-15  Dan Williams  <dcbw@redhat.com>
1172
1173         Patch from Alexander Sack <asac@ubuntu.com>
1174
1175         * src/named-manager/nm-named-manager.c
1176                 - (dispatch_resolvconf): respect resolvconf exit code
1177
1178 2008-09-12  Tambet Ingo  <tambet@gmail.com>
1179
1180         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1181         again. Add some debugging.
1182
1183 2008-09-11  Dan Williams  <dcbw@redhat.com>
1184
1185         * system-settings/plugins/keyfile/plugin.c
1186                 - (update_connection_settings): update connection manually, since
1187                         nm_exported_connection_update() does authentication
1188                 - (dir_changed): update_connection_settings() doesn't need to return
1189                         an error
1190
1191 2008-09-09  Dan Williams  <dcbw@redhat.com>
1192
1193         * libnm-glib/nm-vpn-plugin-ui-interface.c
1194           libnm-glib/nm-vpn-plugin-ui-interface.h
1195           libnm-glib/libnm_glib_vpn.ver
1196                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1197                         should clean up resources related to the connection (like keyring
1198                         secrets)
1199                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1200                         should save user-scope secrets (like to the keyring)
1201
1202 2008-09-08  Dan Williams  <dcbw@redhat.com>
1203
1204         Patch from Alexander Sack <asac@ubuntu.com>
1205
1206         * libnm-util/crypto_gnutls.c
1207           libnm-util/crypto_nss.c
1208                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1209
1210         * libnm-util/nm-utils.c
1211           libnm-util/nm-utils.h
1212           libnm-util/libnm-util.ver
1213                 - (nm_utils_init): initialize libnm-util
1214                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1215
1216         * libnm-util/nm-setting-8021x.c
1217                 - (nm_setting_802_1x_class_init): init libnm-util when needed
1218
1219 2008-09-05  Dan Williams  <dcbw@redhat.com>
1220
1221         Patch from Roy Marples <roy@marples.name> and others
1222
1223         * configure.in
1224           src/named-manager/nm-named-manager.c
1225                 - Add support for resolvconf; use --with-resolvconf at configure time
1226                         to enable it
1227
1228 2008-09-05  Dan Williams  <dcbw@redhat.com>
1229
1230         * libnm-util/crypto_nss.c
1231           libnm-util/crypto_gnutls.c
1232           libnm-util/crypto.h
1233                 - (crypto_init): return error when init fails
1234
1235 2008-09-05  Dan Williams  <dcbw@redhat.com>
1236
1237         * libnm-glib/nm-device-wifi.c
1238                 - (access_point_removed_proxy): clean up the active access point too
1239                         just in case the active ap changed signal didn't come through yet
1240                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1241
1242 2008-09-05  Dan Williams  <dcbw@redhat.com>
1243
1244         * libnm-glib/nm-client.c
1245                 - (constructor): get initial state after we know whether NM is running
1246                         or not
1247
1248 2008-09-05  Dan Williams  <dcbw@redhat.com>
1249
1250         * libnm-glib/nm-ip4-config.c
1251           libnm-glib/nm-dhcp4-config.c
1252                 - (finalize): clean up the DBusGProxy
1253
1254 2008-09-04  Dan Williams  <dcbw@redhat.com>
1255
1256         * src/nm-ip4-config.c
1257           src/nm-ip4-config.h
1258                 - (nm_ip4_config_new): don't export over D-Bus here
1259                 - (nm_ip4_config_export): new function; export the config over D-Bus
1260                 - (nm_ip4_config_is_exported): new function
1261
1262         * src/nm-device.c
1263                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1264                         objects by balancing the IP4Config constructor; the device holds
1265                         a reference to the IP4Config already
1266                 - (nm_device_set_ip4_config): export the IP4Config when needed
1267
1268 2008-09-04  Dan Williams  <dcbw@redhat.com>
1269
1270         * src/supplicant-manager/nm-supplicant-settings-verify.c
1271                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1272
1273 2008-09-04  Dan Williams  <dcbw@redhat.com>
1274
1275         * libnm-util/nm-setting-vpn.c
1276           libnm-util/nm-setting-vpn.h
1277                 - Split VPN secrets from VPN data so that settings services can actually
1278                         figure out that they are secrets and store them accordingly
1279
1280         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1281           system-settings/plugins/keyfile/reader.c
1282           system-settings/plugins/keyfile/reader.h
1283           system-settings/plugins/keyfile/writer.c
1284                 - Store VPN secrets separately from VPN data so that they can be fetched
1285                         on demand
1286                 - Implement the get_secrets() call so that (a) secrets don't leak out
1287                         to unprivileged callers, and (b) secrets can be sent to privileged
1288                         callers when needed
1289
1290         * vpn-daemons/vpnc/src/nm-vpnc-service.c
1291                 - Handle split VPN secrets
1292
1293 2008-08-27  Dan Williams  <dcbw@redhat.com>
1294
1295         * system-settings/plugins/ifcfg-fedora/reader.c
1296                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1297
1298 2008-08-27  Dan Williams  <dcbw@redhat.com>
1299
1300         Ensure zombie children get cleaned up.  To get notifications when children
1301         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1302         that requires calling waitpid() yourself if you've removed the child watch
1303         handler before the process has actually died, which NM needs to do in a few
1304         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1305         cleans up after the child when required.  Should fix problems trying to
1306         activate mobile broadband connections after a previous failure.
1307
1308         * src/dhcp-manager/nm-dhcp-dhclient.c
1309           src/dhcp-manager/nm-dhcp-dhcpcd.c
1310                 - Use G_SPAWN_DO_NOT_REAP_CHILD
1311
1312         * src/dhcp-manager/nm-dhcp-manager.c
1313                 - (nm_dhcp_device_destroy): ensure child is cleaned up
1314                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1315                         block on child quitting, since the non-blocking functionality was
1316                         never actually used
1317
1318         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1319                 - (dm_watch_cb): child is already reaped here
1320                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1321
1322         * src/nm-device.c
1323                 - (aipd_cleanup): block until child is dead
1324
1325         * src/named-manager/nm-named-manager.c
1326                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1327                         event bothering to watch the child
1328
1329         * src/ppp-manager/nm-ppp-manager.c
1330                 - (ppp_watch_cb): child is already reaped here
1331                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1332
1333         * src/vpn-manager/nm-vpn-service.c
1334                 - (vpn_service_watch_cb): child is already reaped here
1335                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1336                         status of the child is actually tracked
1337                 - (ensure_killed, finalize): block until child is dead
1338
1339 2008-08-26  Dan Williams  <dcbw@redhat.com>
1340
1341         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1342                 - (update): Update filename of the connection if the connection id
1343                         was changed
1344
1345         * system-settings/plugins/keyfile/plugin.c
1346                 - (dir_changed): first pass at handling connection renames correctly
1347
1348         * system-settings/plugins/keyfile/writer.c
1349           system-settings/plugins/keyfile/writer.h
1350                 - (write_connection): replace '/' with '*' when writing out the filename
1351                         from the connection id
1352
1353 2008-08-26  Dan Williams  <dcbw@redhat.com>
1354
1355         Add connection UUIDs, since connection names can be changed, and since
1356         old-style connection IDs could change over the life of the connection.  The
1357         UUID should be assigned at connection creation time, be stable for a given
1358         connection, and should be unique among all connections for a given settings
1359         service.
1360
1361         * configure.in
1362           libnm-util/Makefile.am
1363                 - Require libuuid
1364
1365         * introspection/nm-exported-connection.xml
1366                 - Remove "GetID" method
1367
1368         * libnm-glib/nm-dbus-connection.c
1369           libnm-glib/nm-settings.c
1370           libnm-glib/nm-settings.h
1371                 - Remove id-related stuff
1372
1373         * libnm-util/nm-utils.c
1374           libnm-util/nm-utils.h
1375           libnm-util/libnm-util.ver
1376                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1377                         utility functions to generate UUIDs
1378
1379         * libnm-util/nm-setting-connection.c
1380           libnm-util/nm-setting-connection.h
1381                 - Add 'uuid' member to the connection setting
1382                 - (verify): require valid 'uuid' for a valid connection
1383
1384         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1385           system-settings/plugins/ifcfg-fedora/reader.c
1386           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1387           system-settings/plugins/ifcfg-suse/parser.c
1388           system-settings/plugins/keyfile/nm-keyfile-connection.c
1389           system-settings/src/main.c
1390                 - Remove id-related stuff
1391                 - Give connections UUIDs where needed
1392
1393 2008-08-25  Dan Williams  <dcbw@redhat.com>
1394
1395         * libnm-util/crypto_gnutls.c
1396           libnm-util/crypto_nss.c
1397                 - (crypto_init, crypto_deinit): refcount init/deinit
1398                 - (crypto_md5_hash): allow NULL salt
1399
1400 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
1401
1402         * libnm-glib/Makefile.am
1403           libnm-util/Makefile.am
1404           libnm-glib/libnm_glib.ver
1405           libnm-glib/libnm_glib_vpn.ver
1406           libnm-util/libnm-util.ver
1407                 - Use linker version scripts to control the list of exported 
1408                 symbols. List each exported symbol explicitely.
1409         * libnm-util/Makefile.am
1410                 - Fix compilation of the test-crypto binary. The crypto
1411                 functions are no longer part of the libnm-util API. Add 
1412                 crypto_*.c to test_crypto_SOURCES and link against the correct
1413                 crypto libraries.
1414
1415 2008-08-19  Dan Williams  <dcbw@redhat.com>
1416
1417         * configure.in
1418           test/Makefile.am
1419                 - Don't build test/test-common
1420                 - Remove unused stuff
1421
1422         * test/nm-set-fallback
1423           test/nmtestdevices.c
1424           test/test-common/.cvsignore
1425           test/test-common/Makefile.am
1426           test/test-common/test-common.c
1427           test/test-common/test-common.h
1428                 - delete
1429
1430 2008-08-18  Dan Williams  <dcbw@redhat.com>
1431
1432         * libnm-util/nm-utils.c
1433           libnm-util/nm-utils.h
1434                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1435                         export anything that needs to be converted with this function
1436
1437         * src/dhcp-manager/nm-dhcp-manager.c
1438                 - (garray_to_string): convert a byte array to a UTF-8 string with
1439                         minimal validation; the DHCP client sends it in ASCII anyway
1440                 - (get_option, copy_option): use garray_to_string()
1441
1442 2008-08-18  Dan Williams  <dcbw@redhat.com>
1443
1444         * include/NetworkManager.h
1445           introspection/nm-device.xml
1446                 - Add a "missing firmware" device state reason
1447
1448         * src/NetworkManagerSystem.c
1449           src/NetworkManagerSystem.h
1450                 - (nm_system_device_set_up_down): add a no_firmware argument
1451                 - (nm_system_device_set_up_down_with_iface): if the result of setting
1452                         IFF_UP is ENOENT, that almost always means missing firmware
1453
1454         * src/backends/NetworkManagerGeneric.c
1455           src/nm-device-ethernet.c
1456           src/nm-device-private.h
1457           src/nm-device-wifi.c
1458           src/nm-device.c
1459           src/nm-device.h
1460           src/nm-hso-gsm-device.c
1461           src/vpn-manager/nm-vpn-connection.c
1462                 - Pass no_firmware along; check it where appropriate
1463
1464 2008-08-18  Dan Williams  <dcbw@redhat.com>
1465
1466         Patch from Robert Buchholz <rbu@gentoo.org>
1467
1468         * autogen.sh
1469           configure.in
1470                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1471                         1003.1-1988, allowing for file names longer than 99 characters
1472
1473 2008-08-17  Dan Williams  <dcbw@redhat.com>
1474
1475         * include/NetworkManager.h
1476           introspection/nm-device.xml
1477           src/nm-gsm-device.c
1478                 - Finer-grained GSM registration failure error codes
1479
1480 2008-08-17  Dan Williams  <dcbw@redhat.com>
1481
1482         * callouts/Makefile.am
1483           src/Makefile.am
1484                 - Move dispatcher directory creation to callouts/Makefile.am
1485
1486         * system-settings/plugins/keyfile/Makefile.am
1487                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1488
1489 2008-08-15  Dan Williams  <dcbw@redhat.com>
1490
1491         Do connection sharing in a cleaner manner; all required iptables rules
1492         are now stored in the activation request and pertain only to the device
1493         which is being shared to other computers. (rh #458625)
1494
1495         * src/nm-activation-request.c
1496           src/nm-activation-request.h
1497                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1498                         the activation request which will get torn down automatically when
1499                         the activation request dies
1500                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1501                         is started, and tear them down when sharing is stopped
1502
1503         * src/nm-device.c
1504                 - (start_sharing): start up sharing by doing the required iptables magic
1505                 - (share_init): poke the right bits of the kernel and load the right
1506                         modules for NAT
1507                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1508                         connection if it's a 'shared' connection
1509
1510         * src/NetworkManagerPolicy.c
1511                 - Remove all sharing stuff; done in the device code itself
1512
1513 2008-08-15  Dan Williams  <dcbw@redhat.com>
1514
1515         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1516                 - (create_dm_cmd_line): send the right router address
1517
1518 2008-08-15  Dan Williams  <dcbw@redhat.com>
1519
1520         * src/ppp-manager/nm-ppp-manager.c
1521                 - (pppd_timed_out): ensure timeouts fail the connection
1522
1523 2008-08-14  Dan Williams  <dcbw@redhat.com>
1524
1525         * src/nm-properties-changed-signal.c
1526           src/nm-properties-changed-signal.h
1527                 - Add a property spec flag for "don't export this property" in
1528                         property changed signals
1529
1530         * src/nm-hso-gsm-device.c
1531           src/nm-gsm-device.c
1532           src/nm-cdma-device.c
1533                 - Don't export monitor interface or netdev interface properties
1534
1535 2008-08-14  Dan Williams  <dcbw@redhat.com>
1536
1537         * src/NetworkManagerPolicy.c
1538                 - (update_routing_and_dns): 'hso' devices can be default even if they
1539                         don't have a gateway
1540
1541 2008-08-14  Dan Williams  <dcbw@redhat.com>
1542
1543         * src/nm-device.c
1544                 - (nm_device_deactivate_quickly): tear down activation request after
1545                         calling device-specific deactivation
1546
1547         * src/nm-hso-gsm-device.c
1548                 - (real_deactivate_quickly): terminate connection when deactivating
1549
1550 2008-08-14  Dan Williams  <dcbw@redhat.com>
1551
1552         * src/nm-activation-request.h
1553                 - Add HSO secrets caller
1554
1555         * src/nm-gsm-device.c
1556           src/nm-gsm-device.h
1557                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1558                         something to the callback function
1559                 - (set_apn, set_apn_done): call class dial function, not a static one
1560                 - (nm_gsm_device_class_init): add a class 'dial' function
1561
1562         * src/nm-hal-manager.c
1563                 - (get_hso_netdev): find the hso-driven hardware's net device
1564                 - (modem_device_creator): recognize hso-driven hardware and create the
1565                         right type of device object for it
1566
1567         * src/Makefile.am
1568           src/nm-hso-gsm-device.c
1569           src/nm-hso-gsm-device.h
1570                 - Implement support for devices driven by the 'hso' driver as a subclass
1571                         of NMGsmDevice
1572
1573 2008-08-14  Dan Williams  <dcbw@redhat.com>
1574
1575         * src/NetworkManagerSystem.c
1576                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1577                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1578                         success if the operation really was successful
1579
1580 2008-08-14  Dan Williams  <dcbw@redhat.com>
1581
1582         * src/nm-netlink-monitor.c
1583           src/nm-netlink-monitor.h
1584           src/nm-device-ethernet.c
1585                 - (nm_netlink_monitor_request_status): return an error on failure
1586                 - (constructor): don't segfault on missing error
1587
1588 2008-08-13  Dan Williams  <dcbw@redhat.com>
1589
1590         * callouts/nm-dispatcher-action.c
1591                 - Add IP4 config info to script environment
1592
1593 2008-08-12  Dan Williams  <dcbw@redhat.com>
1594
1595         * src/nm-device.c
1596                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1597                         that want to use DHCP hostnames should use dispatcher scripts
1598                         for that
1599
1600         * src/NetworkManagerSystem.h
1601           src/backends/NetworkManagerArch.c
1602           src/backends/NetworkManagerDebian.c
1603           src/backends/NetworkManagerFrugalware.c
1604           src/backends/NetworkManagerGeneric.c
1605           src/backends/NetworkManagerGeneric.h
1606           src/backends/NetworkManagerGentoo.c
1607           src/backends/NetworkManagerMandriva.c
1608           src/backends/NetworkManagerPaldo.c
1609           src/backends/NetworkManagerRedHat.c
1610           src/backends/NetworkManagerSlackware.c
1611           src/backends/NetworkManagerSuSE.c
1612                 - Remove nm_system_set_hostname(), no longer used
1613           
1614         * src/backends/Makefile.am
1615           src/backends/shvar.c
1616           src/backends/shvar.h
1617                 - Remove shvar.*; no longer used
1618
1619 2008-08-12  Dan Williams  <dcbw@redhat.com>
1620
1621         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1622         hostname is updated at runtime.  Distros or users who want hostname updates
1623         can use dispatcher scripts to update the hostname if they need it.
1624
1625 2008-08-12  Dan Williams  <dcbw@redhat.com>
1626
1627         * introspection/nm-settings-system.xml
1628           system-settings/src/dbus-settings.c
1629           system-settings/src/dbus-settings.h
1630                 - Add a 'Hostname' property (rw) which represents the configured
1631                         hostname and domain of the system, if any
1632
1633         * system-settings/src/nm-system-config-error.c
1634           system-settings/src/nm-system-config-error.h
1635           system-settings/src/nm-system-config-interface.c
1636           system-settings/src/nm-system-config-interface.h
1637                 - Add a 'hostname' property to the plugin interface
1638                 - Add a method to send updated hostname to plugins to save in their
1639                         backing configuration store
1640
1641         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1642           system-settings/plugins/keyfile/plugin.c
1643           system-settings/plugins/keyfile/writer.c
1644           system-settings/plugins/keyfile/writer.h
1645           system-settings/plugins/ifcfg-suse/plugin.c
1646                 - Add minimal hostname support
1647
1648         * system-settings/plugins/ifcfg-fedora/plugin.c
1649                 - Add support for updating system hostname in /etc/sysconfig/network
1650
1651 2008-08-12  Dan Williams  <dcbw@redhat.com>
1652
1653         * system-settings/plugins/ifcfg-fedora/shvar.c
1654           system-settings/plugins/ifcfg-fedora/shvar.c
1655                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1656
1657 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1658
1659         * Makefile.am: Fix distcheck.
1660
1661 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1662
1663         * libnm-glib/*.c. Document some more.
1664
1665 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1666
1667         Start documenting libnm-glib public API using gtk-doc.
1668
1669         * libnm-glib/nm-serial-device.c: 
1670         * libnm-glib/nm-object.c: 
1671         * libnm-glib/nm-gsm-device.c: 
1672         * libnm-glib/nm-device.c: 
1673         * libnm-glib/nm-device-wifi.c: 
1674         * libnm-glib/nm-device-ethernet.c: 
1675         * libnm-glib/nm-client.c: 
1676         * libnm-glib/nm-cdma-device.c: Document the public API.
1677
1678         * docs/libnm-glib/libnm-glib.types: Implement.
1679
1680         * docs/libnm-glib/Makefile.am: Implement.
1681
1682         * autogen.sh: 
1683         * configure.in: 
1684         * Makefile.am: Add gtk-doc support.
1685
1686 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1687
1688         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1689
1690         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1691         the composite result of all the IP4 configurations and call a distro
1692         specific update_resolv_conf().
1693         (update_resolv_conf): Implement one for directly writing to 
1694         /etc/resolv.conf and one for opensuse to call netconfig.
1695
1696 2008-08-11  Dan Williams  <dcbw@redhat.com>
1697
1698         * src/ppp-manager/nm-ppp-manager.c
1699                 - (impl_ppp_manager_need_secrets): pass interface as required
1700
1701 2008-08-11  Dan Williams  <dcbw@redhat.com>
1702
1703         Merge the vpn-properties setting with the vpn setting since it was pointless
1704         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1705         of string:string (instead of string:variant) so that system settings plugins
1706         can have an easier time dealing with the arbitrary key/value pairs.
1707
1708 2008-08-11  Dan Williams  <dcbw@redhat.com>
1709
1710         * libnm-util/nm-utils.c
1711                 - (nm_utils_register_value_transformations): add value transform for
1712                         a hash table of string:string
1713
1714 2008-08-10  Dan Williams  <dcbw@redhat.com>
1715
1716         * libnm-glib/nm-vpn-plugin.c
1717                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1718                         an idle handler so the Connect reply gets delivered before the
1719                         stop StateChanged signal
1720
1721 2008-08-10  Dan Williams  <dcbw@redhat.com>
1722
1723         * src/nm-ip4-config.c
1724                 - (get_property): use common ip4 address/route conversion functions
1725                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1726                         copy the new route here, not take ownership
1727
1728 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1729
1730         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1731         Update the IP4 setting's method name.
1732
1733 2008-08-07  Dan Williams  <dcbw@redhat.com>
1734
1735         * introspection/nm-ip4-config.xml
1736           libnm-glib/libnm-glib-test.c
1737           libnm-glib/nm-ip4-config.c
1738           libnm-glib/nm-ip4-config.h
1739           src/NetworkManagerSystem.h
1740           src/backends/NetworkManagerArch.c
1741           src/backends/NetworkManagerDebian.c
1742           src/backends/NetworkManagerFrugalware.c
1743           src/backends/NetworkManagerGeneric.c
1744           src/backends/NetworkManagerGeneric.h
1745           src/backends/NetworkManagerGentoo.c
1746           src/backends/NetworkManagerMandriva.c
1747           src/backends/NetworkManagerPaldo.c
1748           src/backends/NetworkManagerRedHat.c
1749           src/backends/NetworkManagerSlackware.c
1750           src/backends/NetworkManagerSuSE.c
1751           src/dhcp-manager/nm-dhcp-manager.c
1752           src/nm-device.c
1753           src/nm-ip4-config.c
1754           src/nm-ip4-config.h
1755                 - Remove NIS logic; should be done from dispatcher scripts instead
1756
1757 2008-08-07  Dan Williams  <dcbw@redhat.com>
1758
1759         * src/dhcp-manager/nm-dhcp-manager.c
1760                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1761                         mis-handling of DHCP responses that returned more than one router
1762                         (found by Grant Williamson)
1763
1764 2008-08-07  Dan Williams  <dcbw@redhat.com>
1765
1766         * callouts/nm-dispatcher-action.c
1767                 - (nm_dispatcher_action): grab device path and create the device; pass
1768                         the device's DHCP4 config to script caller
1769                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1770                         scripts
1771
1772         * libnm-glib/nm-dhcp4-config.c
1773           libnm-glib/nm-dhcp4-config.h
1774                 - (nm_dhcp4_config_get_options): expose
1775                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1776
1777 2008-08-07  Dan Williams  <dcbw@redhat.com>
1778
1779         * include/NetworkManager.h
1780                 - Add the DHCP4Config D-Bus interface
1781
1782         * libnm-glib/Makefile.am
1783           libnm-glib/nm-dhcp4-config.c
1784           libnm-glib/nm-dhcp4-config.h
1785                 - Handle DHCP4 config objects exported by NM over D-Bus
1786
1787         * libnm-glib/nm-device.c
1788           libnm-glib/nm-device.h
1789                 - Add a 'dhcp4-config' property
1790
1791         * libnm-glib/libnm-glib-test.c
1792                 - Print out DHCP4 config for devices
1793                 - Fix some crashes when no connections are active
1794
1795         * src/nm-device-interface.c
1796           src/nm-device.c
1797           src/nm-dhcp4-config.c
1798           src/nm-dhcp4-config.h
1799                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1800                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1801                         doesn't let us do when the property type is G_TYPE_OBJECT
1802
1803 2008-08-07  Dan Williams  <dcbw@redhat.com>
1804
1805         * src/NetworkManager.c
1806           src/NetworkManagerSystem.h
1807           src/backends/NetworkManagerArch.c
1808           src/backends/NetworkManagerDebian.c
1809           src/backends/NetworkManagerFrugalware.c
1810           src/backends/NetworkManagerGeneric.c
1811           src/backends/NetworkManagerGeneric.h
1812           src/backends/NetworkManagerGentoo.c
1813           src/backends/NetworkManagerMandriva.c
1814           src/backends/NetworkManagerPaldo.c
1815           src/backends/NetworkManagerRedHat.c
1816           src/backends/NetworkManagerSlackware.c
1817           src/backends/NetworkManagerSuSE.c
1818                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1819
1820 2008-08-06  Dan Williams  <dcbw@redhat.com>
1821
1822         * libnm-glib/nm-ip4-config.c
1823           libnm-glib/nm-ip4-config.h
1824                 - Add 'routes' property
1825
1826         * libnm-util/nm-setting-vpn.c
1827           libnm-util/nm-setting-vpn.h
1828                 - Remove 'routes' property
1829
1830         * libnm-util/nm-setting-ip4-config.c
1831           libnm-util/nm-setting-ip4-config.h
1832                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1833                 - Add 'ignore-auto-routes' property
1834                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1835                         accomodate route metrics
1836                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1837
1838         * libnm-util/nm-utils.c
1839           libnm-util/nm-utils.h
1840                 - Add helpers for marshalling IP4 routes
1841
1842         * src/NetworkManagerUtils.c
1843                 - (nm_utils_merge_ip4_config): handle property renames and new route
1844                         structure
1845
1846         * src/NetworkManagerSystem.c
1847                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1848                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1849
1850         * src/dhcp-manager/nm-dhcp-manager.c
1851                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1852
1853         * system-settings/plugins/ifcfg-fedora/reader.c
1854           system-settings/plugins/ifcfg-fedora/writer.c
1855                 - Handle routes separately from addresses now that routes have a different
1856                         format
1857
1858         * introspection/nm-ip4-config.xml
1859           src/nm-ip4-config.c
1860           src/nm-ip4-config.h
1861                 - Rename internal routing functions
1862                 - 'static-routes' renamed to 'routes'
1863
1864 2008-08-04  Dan Williams  <dcbw@redhat.com>
1865
1866         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1867
1868         * src/NetworkManager.c
1869           src/nm-manager.c
1870           src/nm-manager.h
1871                 - More explicitly make the NMManager a singleton
1872
1873 2008-08-04  Dan Williams  <dcbw@redhat.com>
1874
1875         * libnm-util/nm-connection.c
1876           libnm-util/nm-connection.h
1877                 - (nm_connection_verify): return error on missing 'connection' setting
1878                         (found by Sjoerd Simons)
1879
1880 2008-08-04  Dan Williams  <dcbw@redhat.com>
1881
1882         Handle multiple concurrent PPP connections.
1883
1884         * src/ppp-manager/nm-ppp-manager.c
1885           src/ppp-manager/nm-ppp-manager.h
1886                 - (constructor): only PPP Manager request bus name once; each
1887                         NMPPPManager object gets a unique object path
1888                 - (nm_ppp_manager_class_init, get_property, set_property,
1889                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1890                         at construct time
1891                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1892                         remove timeout until PPP manager gets an IP4 config
1893                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1894                         the plugin can call back to this specific PPP manager instance
1895
1896         * src/nm-device-ethernet.c
1897           src/nm-serial-device.c
1898                 - Pass parent device in nm_ppp_manager_new()
1899
1900         * src/nm-gsm-device.c
1901           src/nm-cdma-device.c
1902                 - (device_state_changed): don't close serial device on NEED_AUTH
1903                         state changed, that's not a failure case like the rest are
1904
1905         * src/ppp-manager/nm-pppd-plugin.c
1906                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1907                         binds one interface to any pppd process, thus the correct index
1908                         is always 0; send PHASE_DEAD on error to alert NM immediately of
1909                         problems; try harder to get a peer address in spite of pppd
1910                 - (plugin_init): use 'ipparam' as the object path back to our specific
1911                         PPP manager instance
1912
1913 2008-08-04  Dan Williams  <dcbw@redhat.com>
1914
1915         * src/ppp-manager/nm-ppp-manager.c
1916                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1917                         since the GSM and CDMA settings now implement need_secrets, we can
1918                         rely on them to do the right thing.  Where secrets are not required,
1919                         just pass empty strings back to the pppd plugin.
1920                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1921                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1922                         on successful IP4 config receipt
1923
1924 2008-08-04  Dan Williams  <dcbw@redhat.com>
1925
1926         * libnm-util/nm-setting-cdma.c
1927           libnm-util/nm-setting-gsm.c
1928                 - (verify): validate username & password if they exist
1929                 - (need_secrets): if username given, require a password too
1930
1931 2008-08-04  Dan Williams  <dcbw@redhat.com>
1932
1933         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1934                 - (create_dm_cmd_line): really don't listen on lo, despite what the
1935                         manpage says about --listen-address without --interface
1936                         (bgo #546033)
1937
1938 2008-08-01  Dan Williams  <dcbw@redhat.com>
1939
1940         * libnm-glib/nm-device.c
1941                 - (proxy_get_string): util function for querying a HAL property
1942                 - (get_ancestor_device): split out from get_product_and_vendor()
1943                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1944                         from PCI devices by querying subsys properties
1945                 - (nm_device_update_description): simplify
1946
1947 2008-08-01  Dan Williams  <dcbw@redhat.com>
1948
1949         * libnm-util/nm-setting-ip4-config.c
1950           libnm-util/nm-setting-ip4-config.h
1951                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1952                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
1953                         settings, and they don't necessarily use DHCP.
1954
1955         * src/NetworkManagerPolicy.c
1956           src/nm-device.c
1957           system-settings/plugins/ifcfg-fedora/reader.c
1958           system-settings/plugins/ifcfg-suse/parser.c
1959                 - Fixup for method changes
1960
1961 2008-07-31  Dan Williams  <dcbw@redhat.com>
1962
1963         * src/nm-activation-request.c
1964           src/vpn-manager/nm-vpn-connection.c
1965                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1966                         itself should be attached to the activation request or the VPN
1967                         connection, not the NMConnection object, since the call is not
1968                         expected to live as long as the NMConnection itself
1969
1970 2008-07-31  Dan Williams  <dcbw@redhat.com>
1971
1972         * src/nm-device-wifi.c
1973                 - (real_act_stage2_config): fix issue where association would continue
1974                         even though secrets were needed; 'goto out' was in wrong scope and
1975                         result of handle_auth_or_fail() should have been dumped directly to
1976                         'ret' to ensure that the association was postponed until secrets
1977                         are available
1978
1979 2008-07-31  Dan Williams  <dcbw@redhat.com>
1980
1981         * system-settings/plugins/ifcfg-fedora/plugin.c
1982           system-settings/plugins/ifcfg-fedora/reader.c
1983                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1984                         valid NM connection
1985
1986 2008-07-29  Dan Williams  <dcbw@redhat.com>
1987
1988         * src/nm-gsm-device.c
1989                 - (automatic_registration_response, automatic_registration): recognize
1990                         denied registration and reorder responses
1991
1992 2008-07-29  Dan Williams  <dcbw@redhat.com>
1993
1994         * src/nm-serial-device.c
1995                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
1996                         time(2) is used for current time, which returns seconds, we shouldn't
1997                         be multiplying by 1000.
1998
1999 2008-07-28  Dan Williams  <dcbw@redhat.com>
2000
2001         Patch from Fabrice Bellet <fabrice@bellet.info>
2002
2003         * src/NetworkManagerSystem.c
2004                 - (route_in_same_subnet): mask addresses and compare them so that the
2005                         function actually does what it says it's going to do (rh #456685)
2006
2007 2008-07-27  Dan Williams  <dcbw@redhat.com>
2008
2009         * libnm-util/nm-setting-ip6-config.c
2010                 - (set_property): add missing break that caused routes to be overwritten
2011                         with addresses
2012
2013         * libnm-util/nm-setting-ip6-config.c
2014                 - (verify): validate routes and return GError everywhere on invalid setting
2015                 - (finalize): don't leak routes
2016                 - (set_property): add missing break that caused routes to be overwritten
2017                         with addresses
2018
2019 2008-07-27  Dan Williams  <dcbw@redhat.com>
2020
2021         * libnm-util/*
2022                 - Relicense to LGPLv2+
2023
2024 2008-07-27  Dan Williams  <dcbw@redhat.com>
2025
2026         * system-settings/plugins/ifcfg-fedora/reader.c
2027                 - (make_ip4_setting): fix parsing automatic configs
2028
2029 2008-07-27  Dan Williams  <dcbw@redhat.com>
2030
2031         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2032           src/nm-device.c
2033           src/ppp-manager/nm-ppp-manager.c
2034                 - Ensure child process gets reaped.  The child watch function may be
2035                         removed from the mainloop before the child gets killed, so we have
2036                         to make sure the child is reaped when it's told to die intentionally
2037
2038 2008-07-27  Dan Williams  <dcbw@redhat.com>
2039
2040         Patch from Roy Marples <roy@marples.name>
2041
2042         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2043                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
2044
2045 2008-07-27  Dan Williams  <dcbw@redhat.com>
2046
2047         * src/nm-gsm-device.c
2048                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
2049                         Huawei devices turn echo back on after CPIN (rh #456770)
2050
2051 2008-07-24  Tambet Ingo  <tambet@gmail.com>
2052
2053         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
2054         format argument to g_set_error() call.
2055
2056         * src/backends/interface_parser.[ch]: Remove.
2057
2058         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
2059
2060 2008-07-21  Dan Williams  <dcbw@redhat.com>
2061
2062         * src/ppp-manager/nm-ppp-manager.c
2063                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2064                         to prevent pppd from picking up some random local address from an
2065                         interface that doesn't have anything to do with the one we're
2066                         interested in (rh #455348)
2067
2068 2008-07-17  Dan Williams  <dcbw@redhat.com>
2069
2070         * libnm-util/nm-utils.c
2071                 - (string_to_utf8): general function for conversion to UTF-8 assisted
2072                         by locale
2073                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2074                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2075
2076 2008-07-17  Dan Williams  <dcbw@redhat.com>
2077
2078         * introspection/Makefile.am
2079           introspection/nm-device.xml
2080           introspection/nm-dhcp4-config.xml
2081                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2082                         itself
2083         * src/nm-device-interface.c
2084           src/nm-device-interface.h
2085                 - Add the DHCP4Config property
2086
2087         * src/nm-device.c
2088                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2089                         D-Bus clients when it changes
2090
2091         * src/nm-dhcp4-config.c
2092           src/nm-dhcp4-config.h
2093                 - Simple object to store DHCP4 options, export them over D-Bus, and
2094                         notify when they change
2095
2096         * src/dhcp-manager/nm-dhcp-manager.c
2097           src/dhcp-manager/nm-dhcp-manager.h
2098                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2099                         filter server-returned DHCP options into an NMDHCP4Config object
2100
2101 2008-07-16  Dan Williams  <dcbw@redhat.com>
2102
2103         * introspection/nm-device.xml
2104                 - Add device state reasons
2105
2106 2008-07-16  Dan Williams  <dcbw@redhat.com>
2107
2108         Patch from Roy Marples <roy@marples.name>
2109
2110         * configure.in
2111                 - Add --with-dhcp-client option
2112
2113         * src/dhcp-manager/Makefile.am
2114                 - pass DHCP_CLIENT_PATH on compile line
2115
2116         * src/dhcp-manager/nm-dhcp-manager.c
2117           src/dhcp-manager/nm-dhcp-manager.h
2118                 - Genericize for both dhcpcd and dhclient
2119
2120         * src/dhcp-manager/nm-dhcp-dhclient.c
2121                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2122
2123         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2124                 - Implement support for dhcpcd too
2125
2126 2008-07-16  Tambet Ingo  <tambet@gmail.com>
2127
2128         * system-settings/src/nm-system-config-interface.c 
2129         (nm_system_config_interface_supports_add): Implement.
2130         (nm_system_config_interface_add_connection): Return a boolean to notify
2131         of errors.
2132
2133         * system-settings/src/nm-polkit-helpers.c: 
2134         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2135         a separate file.
2136
2137         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2138         Return an error when none of the plugins support add or if addition
2139         failed for some reason.
2140
2141         * system-settings/src/nm-system-config-error.h: 
2142         * system-settings/src/nm-system-config-error.c: New files, mostly moved
2143         here from nm-polkit-helpers.[ch].
2144
2145         * system-settings/src/Makefile.am: Build new files.
2146
2147         * system-settings/plugins/keyfile/reader.c 
2148         (read_array_of_array_of_uint): Make it more general so that it would
2149         work for routes as well.
2150
2151         * system-settings/plugins/keyfile/writer.c
2152         (write_array_of_array_of_uint): Ditto.
2153         Fix the netmask/prefix writing.
2154
2155         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2156         boolean to notify errors.
2157
2158         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2159         Return more specific error.
2160         (delete): Ditto.
2161
2162 2008-07-11  Dan Williams  <dcbw@redhat.com>
2163
2164         Modify the NMDevice::state-changed signal to include the previous state
2165         and reason. Enables the applet to provide more information why device
2166         activation failed.
2167
2168 2008-07-09  Dan Williams  <dcbw@redhat.com>
2169
2170         * callouts/Makefile.am
2171           callouts/nm-avahi-autoipd-action.c
2172           callouts/nm-avahi-autoipd.conf
2173                 - avahi-autoipd callout to send options back to NM
2174
2175         * src/autoip.c
2176           src/autoip.h
2177                 - remove
2178
2179         * src/nm-device.c
2180           src/nm-device-private.h
2181           src/nm-manager.c
2182                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2183                         old custom stuff
2184
2185 2008-07-07  Dan Williams  <dcbw@redhat.com>
2186
2187         * system-settings/plugins/ifcfg-fedora/reader.c
2188                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2189                         handle PREFIX too; clean up
2190
2191 2008-07-07  Dan Williams  <dcbw@redhat.com>
2192
2193         Convert to using IPv4 prefixes instead of netmasks.
2194
2195 2008-07-03  Dan Williams  <dcbw@redhat.com>
2196
2197         * libnm-util/nm-setting-ip4-config.c
2198           libnm-util/nm-setting-ip4-config.h
2199                 - Add properties for DHCP Client Identifier and DHCP Hostname
2200
2201         * src/dhcp-manager/nm-dhcp-manager.c
2202           src/dhcp-manager/nm-dhcp-manager.h
2203                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2204                         setting as an argument to pass on to the dhclient config file
2205                         creation function
2206                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2207                         DHCP is torn down
2208                 - (dhclient_run): punt config file handling to create_dhclient_config()
2209                 - (create_dhclient_config): create an interface-specific dhclient
2210                         config file since there may need to be interface-specific options
2211                         passed to dhclient
2212                 - (merge_dhclient_config): merge normal distro dhclient config file and
2213                         add options from the connection
2214                 - (nm_dhcp_device_new): generate the interface specific dhclient
2215                         config file path once
2216                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2217                         dhclient config file path
2218
2219         * src/nm-device.c
2220                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2221                         DHCP manager when starting DHCP
2222
2223 2008-07-02  Dan Williams  <dcbw@redhat.com>
2224
2225         * libnm-util/nm-setting-8021x.c
2226                 - (verify): allow forcing the PEAP label to 0
2227
2228 2008-07-02  Dan Williams  <dcbw@redhat.com>
2229
2230         * introspection/nm-active-connection.xml
2231           introspection/nm-vpn-connection.xml
2232           libnm-glib/nm-active-connection.c
2233           src/nm-activation-request.c
2234           src/nm-active-connection.h
2235           src/vpn-manager/nm-vpn-connection.c
2236                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2237                         and libnm-glib API since sharing didn't get implemented that way
2238
2239 2008-07-02  Dan Williams  <dcbw@redhat.com>
2240
2241         * src/nm-device-wifi.c
2242                 - (can_scan): don't scan when a shared connection is activated since
2243                         that makes drivers mad (causing disconnects); also NM doesn't need
2244                         to hedge against disconnects by keeping up-to-date network topology
2245                         because the connection originates from the local machine, and thus
2246                         there should be no disconnects
2247
2248 2008-07-01  Dan Williams  <dcbw@redhat.com>
2249
2250         Fix mobile broadband username/password issues.  NM was never requesting
2251         mobile broadband secrets, nor was it passing back the username and password
2252         if it had them.
2253
2254         * marshallers/nm-marshal.list
2255                 - Add some new types for activation request objects
2256
2257         * src/nm-activation-request.c
2258           src/nm-activation-request.h
2259                 - (get_secrets_cb): pass the caller type in the signal
2260                 - (nm_act_request_request_connection_secrets): take a caller type, so
2261                         that GetSecrets() reply handlers know who asked for the secrets in
2262                         the first place; use secret hints too so the settings service can
2263                         figure out exactly what NM wants (ie, PIN or the PPP password)
2264
2265         * src/ppp-manager/nm-ppp-manager.c
2266           src/ppp-manager/nm-ppp-manager.h
2267                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2268                         detect needed secrets when the secret could be blank, like GSM/CDMA
2269                         passwords.  So always ask for secrets, and send a hint as to what
2270                         secret we really want.
2271                 - (nm_ppp_manager_update_secrets): make function more generic by making
2272                         the device specific class figure out the username and password, and
2273                         accept an error argument to return back over D-Bus
2274
2275         * src/nm-device-wifi.c
2276                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2277                         nm_act_request_request_connection_secrets()
2278                 - (real_connection_secrets_updated): update for 'caller' changes
2279
2280         * src/nm-device.c
2281           src/nm-device.h
2282                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2283                         for 'caller' changes
2284
2285         * src/nm-device-ethernet.c
2286                 - (real_connection_secrets_updated): update for 'caller' changes and
2287                         move logic for getting PPPoE username and password here before
2288                         calling nm_ppp_manager_update_secrets()
2289                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2290                         nm_act_request_request_connection_secrets()
2291
2292         * src/nm-cdma-device.c
2293                 - (real_connection_secrets_updated): pass username and password back
2294                         to the PPP manager when required
2295
2296         * src/nm-gsm-device.c
2297                 - (enter_pin): send the required secret name to the settings service
2298                 - (real_connection_secrets_updated): pass username and password back
2299                         to the PPP manager when required
2300
2301 2008-06-30  Dan Williams  <dcbw@redhat.com>
2302
2303         * src/nm-device-wifi.c
2304                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2305
2306 2008-06-30  Dan Williams  <dcbw@redhat.com>
2307
2308         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
2309         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2310         priv->supplicant.iface.  When either condition is false, the device should
2311         transition back to UNAVAILABLE because it cannot be used.
2312
2313         * src/nm-device-wifi.c
2314                 - (constructor): cleanup; connect to supplicant manager here since the
2315                         supplicant manager is always around
2316                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2317                         ensure the supplicant manager is in the IDLE state
2318                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2319                         cancel any pending scans too
2320                 - (real_bring_up): don't set up the supplicnat interface here, because
2321                         we need the supplicant interface at times when the device may not
2322                         be "up"
2323                 - (real_take_down): just remove the periodic source
2324                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2325                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2326                         do anything if there's no supplicant interface
2327                 - (cleanup_association_attempt): cleanup
2328                 - (supplicant_iface_state_cb_handler): request an immediate scan when
2329                         the interface enters the READY state; transition to UNAVAILABLE
2330                         state when the interface goes down because the device can't be used
2331                         without a supplicant interface
2332                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2333                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
2334                         acquire the supplicant interface and transition to DISCONNECTED
2335                         if the radio isn't killed
2336                 - (nm_device_wifi_dispose): move most of device_cleanup() here
2337                 - (state_changed_cb): release any existing supplicant interface; if the
2338                         radio is enabled then try to acquire a new supplicant interface;
2339                         if the radio is enabled and a supplicant interface has been acquired,
2340                         we can transition to DISCONNECTED
2341                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2342                         don't enable the radio, because HAL probably lied to us about the
2343                         killswitch being off.  If bringing the hardware up worked, then
2344                         try to grab a supplicant interface, and if that was successful,
2345                         transition to DISCONNECTED
2346
2347 2008-06-30  Dan Williams  <dcbw@redhat.com>
2348
2349         * src/supplicant-manager/nm-supplicant-interface.c
2350                 - (request_scan_results, nm_supplicant_interface_dispose,
2351                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2352                         the id of the timeout, not a GSource
2353
2354 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2355
2356         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
2357         bunch of typoes introduced by "Patch from David Cantrell 
2358         <dcantrell@redhat.com> and me".
2359
2360 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2361
2362         * src/nm-serial-device.c: 
2363         * src/nm-gsm-device.c: 
2364         * src/nm-cdma-device.c: Move the pending call handling to a common location
2365         in serial device. Handle setting device state to failed in one place as well.
2366
2367 2008-06-29  Dan Williams <dcbw@redhat.com>
2368
2369         * src/nm-hal-manager.c
2370                 - Rework killswitch handling to query killswitch status immediately
2371                         when the first killswitch is added, so that rfkill state is
2372                         known as early as possible
2373                 - Also treat failure of GetPower() as rfkill when the dbus method
2374                         call times out (but not when the HAL callout returns an error)
2375
2376 2008-06-26  Dan Williams <dcbw@redhat.com>
2377
2378         Patch from David Cantrell <dcantrell@redhat.com> and me
2379
2380         * include/nm-dbus-glib-types.h
2381                 - Add IP6 address types
2382
2383         * libnm-util/Makefile.am
2384           libnm-util/nm-setting-ip6-config.c
2385           libnm-util/nm-setting-ip6-config.h
2386                 - Add IP6 settings object
2387
2388         * libnm-util/nm-connection.c
2389                 - (register_default_settings): register ip6 settings object
2390
2391         * libnm-util/nm-utils.c
2392           libnm-util/nm-utils.h
2393                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2394                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2395                         ip6 address conversion functions
2396         
2397 2008-06-26  Dan Williams <dcbw@redhat.com>
2398
2399         Patch from David Cantrell <dcantrell@redhat.com>
2400         
2401         * Use inet_ntop() and inet_pton() everwhere and check for errors
2402
2403 2008-06-26  Dan Williams <dcbw@redhat.com>
2404
2405         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2406
2407 2008-06-26  Dan Williams <dcbw@redhat.com>
2408
2409         Patch from Adel Gadllah <adel.gadllah@gmail.com>
2410
2411         * src/nm-device-wifi.c
2412                 - (link_timeout_cb): don't ignore disconnects due to scanning
2413                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2414                         a longer timeout when scanning; avoids case where supplicant can't
2415                         find the AP and just keeps scanning forever but isn't connected
2416
2417 2008-06-26  Dan Williams <dcbw@redhat.com>
2418
2419         Patch from Michael Biebl <biebl@debian.org>
2420
2421         * Clean up build system stuff
2422
2423 2008-06-23  Christian Persch  <chpe@gnome.org>
2424
2425         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2426         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2427         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2428         (impl_get_object):
2429         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2430         (impl_get_object):
2431         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2432         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2433         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2434         (impl_get_object):
2435         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2436         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2437         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2438         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2439         * vpn-daemons/pptp/properties/vpnui_opt.c:
2440         (vpnui_opt_connect_signals):
2441         * vpn-daemons/pptp/properties/vpnui_opt.h:
2442         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2443         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2444         deprecated gtk type macros. Bug #539325.
2445
2446 2008-06-20  Dan Williams  <dcbw@redhat.com>
2447
2448         * libnm-glib/nm-vpn-plugin-ui-interface.c
2449           libnm-glib/nm-vpn-plugin-ui-interface.h
2450                 - 'validity-changed' -> 'changed' to work better with the connection
2451                         editor.  Plugin UI widgets should emit 'changed' whenever their
2452                         UI values change in a meaningful way.
2453                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2454                         update_connection member now returns validity of the UI widget
2455
2456 2008-06-20  Tambet Ingo  <tambet@gmail.com>
2457
2458         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2459
2460 2008-06-17  Dan Williams  <dcbw@redhat.com>
2461
2462         * libnm-glib/nm-vpn-plugin-ui-interface.c
2463           libnm-glib/nm-vpn-plugin-ui-interface.h
2464                 - Add "desc" property for longer descriptions of the VPN plugin
2465
2466 2008-06-16  Dan Williams  <dcbw@redhat.com>
2467
2468         * configure.in
2469           libnm-glib/libnm_glib_vpn.pc.in
2470                 - add a .pc file for libnm_glib_vpn
2471
2472         * libnm-glib/nm-vpn-plugin-ui-interface.c
2473           libnm-glib/nm-vpn-plugin-ui-interface.h
2474                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2475                         rework it substantially
2476
2477 2008-06-12  Dan Williams  <dcbw@redhat.com>
2478
2479         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2480         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2481         returns a descriptive GError when verification fails.
2482
2483 2008-06-11  Dan Williams  <dcbw@redhat.com>
2484
2485         Patch from Tambet Ingo <tambet@gmail.com>
2486
2487         * libnm-util/nm-setting-gsm.c
2488                 - (verify): validate APN
2489
2490         * src/nm-gsm-device.c
2491                 - (manual_registration_done): start setting APN if needed
2492                 - (set_apn, set_apn_done): set the APN
2493                 - (do_dial): use the APN when dialing
2494
2495 2008-06-11  Dan Williams  <dcbw@redhat.com>
2496
2497         * src/NetworkManagerSystem.c
2498                 - (nm_system_device_set_ip4_route,
2499                    nm_system_device_replace_default_ip4_route): check for the right
2500                         return value from rtnl_route_add() to know when to add a gateway
2501                         route (from Tambet)
2502
2503 2008-06-11  Dan Williams  <dcbw@redhat.com>
2504
2505         * src/NetworkManagerPolicy.c
2506                 - do_ipt_cmd -> do_cmd
2507                 - (sharing_init): use do_cmd() instead of system()
2508
2509 2008-06-10  Dan Williams  <dcbw@redhat.com>
2510
2511         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2512         and use "wifi" everwhere instead.
2513
2514 2008-06-10  Dan Williams  <dcbw@redhat.com>
2515
2516         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2517
2518 2008-06-10  Dan Williams  <dcbw@redhat.com>
2519
2520         Patch from Tambet Ingo <tambet@gmail.com>
2521
2522         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2523                 changes.
2524
2525         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2526                 a signal to emit these changes over dbus.
2527
2528         * src/Makefile.am: Genereate nm-serial-device-glue.
2529
2530         * libnm-glib/nm-serial-device.[ch]: Implement.
2531
2532         * libnm-glib/nm-cdma-device.[ch]
2533           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2534
2535         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2536
2537         * introspection/nm-device-serial.xml: Implement.
2538
2539         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2540
2541         * introspection/Makefile.am: Add nm-device-serial.xml.
2542
2543         * include/NetworkManager.h: Add a DBus interface for serial device.
2544
2545 2008-06-10  Dan Williams  <dcbw@redhat.com>
2546
2547         * configure.in
2548                 - Add TARGET_* define to config.h to distinguish distros
2549
2550         * src/dhcp-manager/nm-dhcp-manager.c
2551                 - (dhclient_run): use distro-specific path for dhclient config file
2552
2553 2008-06-09  Dan Williams  <dcbw@redhat.com>
2554
2555         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2556           src/dnsmasq-manager/nm-dnsmasq-manager.h
2557                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2558                         calculate the addresses passed to dnsmasq instead of hard-coding
2559                         them
2560
2561         * src/nm-device.c
2562                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2563                         IP addresses for shared connections to guard against shared
2564                         connection address collisions
2565                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2566                         error conditions
2567                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2568                         the dnsmasq manager
2569
2570 2008-06-09  Dan Williams  <dcbw@redhat.com>
2571
2572         * src/NetworkManagerPolicy.c
2573                 - (update_routing_and_dns): set the default connection _after_ unsetting
2574                         default on all non-default connections so that two connections can
2575                         never be default at the same time
2576                 - (device_state_changed): start and stop connection sharing when
2577                         needed
2578                 - (active_connection_default_changed): restart or stop sharing when
2579                         the default connection changes to keep shared connections always
2580                         NAT-ed through the default connection
2581                 - (check_sharing): handle activation/deactivation of shared connections
2582                 - (sharing_restart): atom-bomb approach to connection sharing until we
2583                         can use libnl; reinit all sharing when the default connection or
2584                         shared connections change
2585                 - (sharing_init, sharing_stop): evil functions that init and deinit
2586                         iptables
2587
2588 2008-06-09  Dan Williams  <dcbw@redhat.com>
2589
2590         * src/nm-activation-request.c
2591           src/nm-activation-request.h
2592                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2593                    nm_act_request_get_device): new functions to facilitate connection
2594                         sharing
2595
2596 2008-06-09  Dan Williams  <dcbw@redhat.com>
2597
2598         * src/nm-device.c
2599                 - (clear_act_request): unset the 'default' property of the activation
2600                         request when clearing it to ensure the property changed signal gets
2601                         delivered and handled
2602
2603 2008-06-09  Dan Williams  <dcbw@redhat.com>
2604
2605         * libnm-glib/nm-device-802-11-wireless.c
2606                 - (access_point_removed_proxy): actually unref the AP after removing
2607                         it from the device's AP list.  Fixes refcounting bug for APs that
2608                         caused them to get mixed up in the applet's menu.
2609
2610 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2611
2612         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2613         (nm_dhcp_device_destroy): Destroy the device options hash table.
2614
2615 2008-06-06  Dan Williams <dcbw@redhat.com>
2616
2617         * system-settings/src/nm-polkit-helpers.c
2618                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2619                         unref the context if the initialization fails; also avoid spew when
2620                         the error isn't set
2621
2622 2008-06-06  Dan Williams <dcbw@redhat.com>
2623
2624         Patch from Tambet Ingo  <tambet@gmail.com>
2625
2626         * src/NetworkManagerSystem.c
2627           src/NetworkManagerSystem.h
2628                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2629                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2630                 - (nm_system_device_set_ip4_route): clean up
2631                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2632
2633         * src/nm-device.c
2634                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2635
2636         * src/vpn-manager/nm-vpn-connection.c
2637                 - (ip_address_to_string): new function
2638                 - (print_vpn_config): use ip_address_to_string
2639                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2640                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2641
2642         * include/NetworkManagerVPN.h
2643                 - Add 'routes' key
2644
2645 2008-06-05  Dan Williams <dcbw@redhat.com>
2646
2647         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2648
2649         * test/nm-tool.c
2650                 - Show which device is the default device
2651
2652 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2653
2654         Fix memory leaks.
2655
2656         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2657         Free data returned from dbus method call.
2658
2659         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2660         dbus_g_method_get_sender() returns a duplicated string, free it 
2661         when done.
2662         (check_polkit_privileges): Looks like policykit sometimes returns
2663         error and non-null return value, don't leak errors in that case.
2664
2665         * system-settings/src/main.c (find_plugin): Don't leak existing 
2666         plugin names.
2667         (load_stuff): Don't leak device list and list items.
2668         (have_connection_for_device): Don't leak connection list.
2669
2670         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2671         Free the data received from g_keyfile_get_*.
2672
2673         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2674         the key when the security object is updated.
2675
2676         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2677         Free data returned from dbus method call.
2678         (iface_state_cb): Ditto.
2679         (add_network_cb): Ditto.
2680         (nm_supplicant_interface_add_cb): Don't make another copy of already
2681         duplicated object path.
2682         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2683         when done.
2684
2685         * src/supplicant-manager/nm-supplicant-config.c 
2686         (ADD_STRING_LIST_VAL): Fix a memory leak.
2687
2688         * src/nm-manager.c (free_get_settings_info): Free the allocated
2689         memory slice.
2690         (list_connections_cb): Free data returned from dbus method call.
2691         (system_settings_get_unmanaged_devices_cb): Ditto.
2692
2693         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2694
2695         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2696         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2697         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2698         of the GList.
2699
2700         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2701         arguments after the object is created.
2702
2703 2008-06-04  Dan Williams <dcbw@redhat.com>
2704
2705         * libnm-util/Makefile.am
2706                 - Don't distribute nm-param-spec-specialized.h
2707
2708 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2709
2710         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2711
2712         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2713         NMIP4Address, update the getters and setters.
2714
2715         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2716         Use the updated NMIP4Config routes api.
2717
2718         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2719         static routes as well.
2720
2721         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2722         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2723         routes api.
2724
2725 2008-05-30  Dan Williams <dcbw@redhat.com>
2726
2727         * src/named-manager/nm-named-manager.c
2728           src/named-manager/nm-named-manager.h
2729                 - Remove stale/obsolete bits for controlling bind over DBus
2730
2731 2008-05-29  Dan Williams <dcbw@redhat.com>
2732
2733         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2734           src/dnsmasq-manager/nm-dnsmasq-manager.h
2735                 - (nm_dnsmasq_manager_new): move iface argument here
2736                 - (constructor): remove, not needed
2737                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2738                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2739
2740         * src/nm-device.c
2741                 - (real_act_stage4_get_ip4_config,
2742                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2743                         changes
2744
2745 2008-05-29  Dan Williams <dcbw@redhat.com>
2746
2747         * src/nm-device.c
2748                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2749                         something happens to dnsmasq
2750                 - (nm_device_new_ip4_shared_config): new function; create a new
2751                         ip4-config for shared connections.  Shared connections always use a
2752                         fixed static IP address.
2753                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2754                         autoip connections by actually using the returned ip4-config and
2755                         not leaking it
2756                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2757                         connections
2758                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2759                         if its active
2760
2761 2008-05-29  Dan Williams <dcbw@redhat.com>
2762
2763         * src/nm-device-802-11-wireless.c
2764                 - (real_get_best_auto_connection): auto-activate 'shared' method
2765                         connections too
2766
2767 2008-05-29  Dan Williams <dcbw@redhat.com>
2768
2769         * libnm-util/nm-setting-ip4-config.c
2770           libnm-util/nm-setting-ip4-config.h
2771                 - Add a 'shared' method to indicate that this connection should be
2772                         brought up with a DHCP and proxy DNS server to facilitate
2773                         connection sharing.
2774                 - (verify): 'shared' method doesn't allow DNS or searches either
2775
2776 2008-05-29  Dan Williams <dcbw@redhat.com>
2777
2778         * configure.in
2779           src/Makefile.am
2780           src/dnsmasq-manager/Makefile.am
2781           src/dnsmasq-manager/nm-dnsmasq-manager.c
2782           src/dnsmasq-manager/nm-dnsmasq-manager.h
2783                 - Add a dnsmasq daemon manager to facilitate connection sharing
2784
2785 2008-05-29  Dan Williams <dcbw@redhat.com>
2786
2787         * src/nm-device-private.h
2788                 - Remove unused prototypes and clean up
2789
2790         * src/nm-device.c
2791                 - Remove anything related to system_config_data, which is no longer used
2792                 - (nm_device_new_ip4_autoip_config): make static
2793
2794 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2795
2796         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2797         (file_changed): Fix a bug where suse system settings plugin didn't
2798         update the connections automatically when the files changed.
2799
2800 2008-05-28  Dan Williams  <dcbw@redhat.com>
2801
2802         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2803
2804 2008-05-28  Dan Williams  <dcbw@redhat.com>
2805
2806         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2807
2808         * src/NetworkManagerSystem.c
2809                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2810                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2811                         was causing -EINVAL errors since the libnl code actually does flush
2812                         the routes on VPN interfaces now
2813
2814         * src/backends/NetworkManagerArch.c
2815           src/backends/NetworkManagerDebian.c
2816           src/backends/NetworkManagerFrugalware.c
2817           src/backends/NetworkManagerGeneric.c
2818           src/backends/NetworkManagerGentoo.c
2819           src/backends/NetworkManagerMandriva.c
2820           src/backends/NetworkManagerPaldo.c
2821           src/backends/NetworkManagerRedHat.c
2822           src/backends/NetworkManagerSlackware.c
2823           src/backends/NetworkManagerSuSE.c
2824                 - (nm_system_device_flush_ip4_routes,
2825                    nm_system_device_flush_ip4_routes_with_iface): remove
2826
2827 2008-05-28  Dan Williams  <dcbw@redhat.com>
2828
2829         * libnm-util/nm-setting-wireless.c
2830           libnm-util/nm-setting-wireless.h
2831                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2832                         'adhoc-create' property, which when TRUE indicates that NM should
2833                         create this connection as an adhoc wifi network if it's not found
2834                         as an adhoc network during scanning.  Can be used to auto-create
2835                         adhoc networks when used in combination with autoconnect.
2836
2837 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2838
2839         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2840
2841         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2842         checked, it doesn't work on some devices.
2843
2844 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2845
2846         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2847         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2848
2849         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2850         Use inet_aton() everywhere to improve error detection.
2851         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2852         provided.
2853
2854 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2855
2856         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2857         Fix a typo.
2858
2859 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2860
2861         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2862         reference counting issue.
2863
2864 2008-05-23  Dan Williams  <dcbw@redhat.com>
2865
2866         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2867
2868         * src/backends/NetworkManagerGeneric.c
2869                 - (nm_generic_enable_loopback): use libnl
2870
2871 2008-05-23  Dan Williams  <dcbw@redhat.com>
2872
2873         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2874
2875         * src/NetworkManagerSystem.h
2876           src/backends/NetworkManagerArch.c
2877           src/backends/NetworkManagerDebian.c
2878           src/backends/NetworkManagerFrugalware.c
2879           src/backends/NetworkManagerGentoo.c
2880           src/backends/NetworkManagerMandriva.c
2881           src/backends/NetworkManagerPaldo.c
2882           src/backends/NetworkManagerRedHat.c
2883           src/backends/NetworkManagerSlackware.c
2884           src/backends/NetworkManagerSuSE.c
2885                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2886                    nm_system_flush_arp_cache): remove, unused
2887
2888         * src/backends/NetworkManagerGeneric.c
2889           src/backends/NetworkManagerGeneric.h
2890                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2891                    nm_generic_flush_arp_cache): remove, unused
2892
2893 2008-05-23  Dan Williams  <dcbw@redhat.com>
2894
2895         * system-settings/plugins/ifcfg-fedora/reader.c
2896                 - (make_ip4_setting): honor PEERDNS setting
2897
2898 2008-05-23  Dan Williams  <dcbw@redhat.com>
2899
2900         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2901
2902         * src/NetworkManagerSystem.c
2903                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2904                         libnl
2905
2906         * src/backends/NetworkManagerArch.c
2907           src/backends/NetworkManagerDebian.c
2908           src/backends/NetworkManagerFrugalware.c
2909           src/backends/NetworkManagerGentoo.c
2910           src/backends/NetworkManagerMandriva.c
2911           src/backends/NetworkManagerPaldo.c
2912           src/backends/NetworkManagerRedHat.c
2913           src/backends/NetworkManagerSlackware.c
2914           src/backends/NetworkManagerSuSE.c
2915                 - (nm_system_device_flush_ip4_addresses,
2916                    nm_system_device_flush_ip4_addresses_with_iface): remove
2917
2918         * src/backends/NetworkManagerGeneric.c
2919                 - (nm_generic_device_flush_ip4_addresses,
2920                    nm_generic_device_flush_ip4_addresses_with_iface): remove
2921
2922 2008-05-23  Dan Williams  <dcbw@redhat.com>
2923
2924         * src/supplicant-manager/nm-supplicant-settings-verify.c
2925                 - Switch 'bssid' from bytes to keyword type
2926                 - (validate_type_keyword): allow NULL keyword lists
2927
2928         * src/supplicant-manager/nm-supplicant-config.c
2929                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2930                         a byte array to string form, which is what the supplicant expects
2931
2932 2008-05-23  Tambet Ingo  <tambet@gmail.com>
2933
2934         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2935         information received from DHCP.
2936
2937         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2938         to make it possible to ignore the DNS information (both servers and 
2939         searches) returned by DHCP server.
2940
2941         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2942         name servers and searches if "ignore_dhcp_dns" is set.
2943
2944         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2945         (nm_ip4_config_reset_searches): Implement.
2946
2947 2008-05-22  Dan Williams  <dcbw@redhat.com>
2948
2949         Remove anything mDNS related.  This is better done from a distro-specific
2950         dispatcher script.  Plus, any distro using avahi doesn't need to restart
2951         avahi, since avahi can handle interface changes just fine using netlink.
2952
2953         * configure.in
2954                 - Remove --with-mdns-provider
2955
2956         * src/NetworkManagerPolicy.c
2957                 - (global_state_changed): don't restart the mdns provider
2958
2959         * src/NetworkManagerSystem.h
2960           src/backends/NetworkManagerArch.c
2961           src/backends/NetworkManagerDebian.c
2962           src/backends/NetworkManagerFrugalware.c
2963           src/backends/NetworkManagerGentoo.c
2964           src/backends/NetworkManagerMandriva.c
2965           src/backends/NetworkManagerPaldo.c
2966           src/backends/NetworkManagerRedHat.c
2967           src/backends/NetworkManagerSlackware.c
2968           src/backends/NetworkManagerSuSE.c
2969                 - (nm_system_restart_mdns_responder): remove
2970
2971         * src/backends/NetworkManagerGeneric.c
2972           src/backends/NetworkManagerGeneric.h
2973                 - (nm_generic_restart_mdns_responder): remove
2974
2975 2008-05-22  Dan Williams  <dcbw@redhat.com>
2976
2977         * configure.in
2978                 - clean up crypto options; just use --with-crypto=nss or
2979                         --with-crypto=gnutls
2980
2981 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2982
2983         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2984         anymore, do it right away.
2985
2986 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2987
2988         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2989         serial device open when we're not connecting or connected.
2990
2991         * src/nm-cdma-device.c (device_state_changed): Ditto.
2992
2993 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2994
2995         Don't remove all devices on waking up, sync with HAL.
2996
2997         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2998         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2999         (hal_manager_hal_reappeared_cb): Just call sync_devices.
3000
3001 2008-05-21  Tambet Ingo  <tambet@gmail.com>
3002
3003         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
3004         If the default gateway is unreachable, add a route to gateway and try
3005         again.
3006
3007 2008-05-20  Dan Williams  <dcbw@redhat.com>
3008
3009         * system-settings/plugins/ifcfg-fedora/reader.c
3010                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
3011
3012 2008-05-19  Dan Williams  <dcbw@redhat.com>
3013
3014         * system-settings/plugins/ifcfg-fedora/reader.c
3015                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
3016                         if the ifcfg doesn't specify one (rh #446527)
3017
3018 2008-05-19  Dan Williams  <dcbw@redhat.com>
3019
3020         Make the system settings service exit when the bus goes away.  Since it's
3021         a bus-activated service, it's lifetime is limited to the bus that activated
3022         it (rh #444976).
3023
3024         * system-settings/src/Makefile.am
3025           system-settings/src/nm-system-config-hal-manager-private.h
3026                 - Remove nm-system-config-hal-manager-private.h
3027
3028         * system-settings/src/nm-system-config-hal-manager.c
3029                 - (nm_system_config_hal_manager_reinit_dbus,
3030                    nm_system_config_hal_manager_deinit_dbus): remove
3031
3032         * system-settings/src/main.c
3033                 - (dbus_reconnect): remove
3034                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
3035                 - (destroy_cb): just quit when the bus goes away
3036                 - (start_dbus_service, dbus_init): simplify
3037                 - (main): destroy the wired devices hash table after destroying
3038                         the HAL manager so we don't have to disconnect signals from the
3039                         HAL manager
3040
3041 2008-05-15  Tambet Ingo  <tambet@gmail.com>
3042
3043         Move crypto functions from nm-applet to libnm-util.
3044
3045         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
3046         (nm_setting_802_1x_set_client_cert)
3047         (nm_setting_802_1x_set_phase2_ca_cert)
3048         (nm_setting_802_1x_set_phase2_client_cert)
3049         (nm_setting_802_1x_set_private_key)
3050         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
3051         file (or private key and it's password), read the certificate data.
3052
3053         * libnm-util/crypto_nss.c: 
3054         * libnm-util/crypto_gnutls.c: 
3055         * libnm-util/crypto.[ch]: Move here from nm-applet.
3056
3057         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
3058
3059         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
3060         Imlement WPA-EAP configuration reading from sysconfig.
3061
3062 2008-05-16  Dan Williams  <dcbw@redhat.com>
3063
3064         * src/nm-device-802-11-wireless.c
3065                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3066                         wireless
3067
3068 2008-05-14  Dan Williams  <dcbw@redhat.com>
3069
3070         Fix Linus' bug in rh #134886
3071
3072         * src/nm-device-802-3-ethernet.c
3073                 - (constructor): request initial carrier state
3074
3075         * src/nm-netlink-monitor.c
3076                 - (nm_netlink_monitor_request_status): schedule emission of carrier
3077                         signals after refilling the link cache.  Because the refill is a 
3078                         synchronous operation, the normal message hander won't get called
3079                         since libnl has already consumed the messages.
3080                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3081
3082 2008-05-14  Dan Williams  <dcbw@redhat.com>
3083
3084         * src/NetworkManagerSystem.c
3085                 - (nm_system_device_is_up_with_iface): clean up
3086
3087 2008-05-13  Dan Williams  <dcbw@redhat.com>
3088
3089         Fix refcounting issues over sleep/wake when a VPN connection was active that
3090         caused NM to try registering an object path for a device upon wake that was
3091         the same as an already registered object path.
3092
3093         * src/nm-device.c
3094                 - (nm_device_take_down): properly handle cases where the device is
3095                         no longer active but was just active, and therefore must be
3096                         deactivated.  When a device moves to unmanaged mode, this function
3097                         previously would not deactivate the device, because the state was
3098                         already unmanaged by the time this function was called.
3099
3100         * src/vpn-manager/nm-vpn-connection.c
3101                 - (device_state_changed): properly handle multiple devices states in
3102                         which the device is now deactivated.  Code previously didn't handle
3103                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
3104                         UNMANAGED states.
3105
3106 2008-05-13  Dan Williams  <dcbw@redhat.com>
3107
3108         * src/nm-device-private.h
3109           src/nm-device.c
3110                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3111
3112         * src/nm-device-802-11-wireless.c
3113                 - (nm_device_802_11_wireless_set_enabled): take devices up
3114                         and down as appropriate for the rfkill state
3115
3116 2008-05-13  Dan Williams  <dcbw@redhat.com>
3117
3118         * marshallers/nm-marshal.list
3119                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3120
3121         * system-settings/plugins/ifcfg-fedora/Makefile.am
3122           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3123           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3124                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3125                         events.  Solely for use watching ifcfg files to pick up changes
3126                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3127
3128         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3129                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3130                         file contents change
3131                 - (finalize): clean up inotify watches
3132                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3133                         and the connection ifcfg for changes on their hardlinks
3134                 - (files_changed_cb): proxy the changed signal back out to listeners
3135
3136         * system-settings/plugins/ifcfg-fedora/plugin.c
3137                 - (dir_changed): 
3138                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3139                         changes
3140                 - (read_one_connection): connect to change signals on the new connection
3141                 - (dir_changed, connection_changed_handler,
3142                    handle_connection_remove_or_new): break out connection change
3143                         handling and connection new/remove handling so it can be used from
3144                         both the GFileMonitor callback and the NMIfcfgConnection changed
3145                         signals
3146
3147         * system-settings/plugins/ifcfg-fedora/reader.c
3148           system-settings/plugins/ifcfg-fedora/reader.h
3149                 - (connection_from_file): return the keyfile path the connection would use
3150
3151 2008-05-13  Tambet Ingo  <tambet@gmail.com>
3152
3153         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
3154         single PolKitContext which is shared by all. PolKitContext::unref leaks
3155         just about everything, including all open file descriptiors and results
3156         in 99% cpu usage when data arrives to any of the fds that don't belong
3157         to any context anymore.
3158
3159 2008-05-12  Dan Williams  <dcbw@redhat.com>
3160
3161         * gfilemonitor/glocaldirectorymonitor.c
3162           gfilemonitor/glocaldirectorymonitor.h
3163                 - (g_local_directory_monitor_constructor): actually subscribe to the
3164                         watch
3165                 - (_g_local_directory_monitor_new): ensure that inotify is started up
3166
3167         * gfilemonitor/glocalfilemonitor.c
3168           gfilemonitor/glocalfilemonitor.h
3169                 - (g_local_file_monitor_constructor): actually subscribe to the watch
3170                 - (_g_local_file_monitor_new): ensure that inotify is started up
3171
3172 2008-05-11  Dan Williams  <dcbw@redhat.com>
3173
3174         * configure.in
3175                 - record PolicyKit version
3176
3177         * system-settings/src/nm-polkit-helpers.c
3178                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3179                         with PolicyKit <= 0.6
3180
3181 2008-05-11  Dan Williams  <dcbw@redhat.com>
3182
3183         Update Fedora system-settings plugin to support latest API and use
3184         GFileMonitor rather than home-rolled inotify code.
3185
3186         * system-settings/plugins/ifcfg-fedora/Makefile.am
3187           system-settings/plugins/ifcfg-fedora/common.h
3188           system-settings/plugins/ifcfg-fedora/plugin.c
3189                 - Update to latest system settings plugin API; use GIO instead of
3190                         custom inotify code; use NMIfcfgConnection objects instead of
3191                         ConnectionData structures tacked onto NMConnection objects
3192
3193         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3194           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3195                 - Implement an NMExportedConnection subclass mapping ifcfg files to
3196                         connections
3197
3198         * system-settings/plugins/ifcfg-fedora/reader.c
3199           system-settings/plugins/ifcfg-fedora/reader.h
3200                 - Move ifcfg parsing bits here from parser.c
3201
3202         * system-settings/plugins/ifcfg-fedora/parser.c
3203           system-settings/plugins/ifcfg-fedora/parser.h
3204                 - Remove; most code moved to reader.c
3205
3206 2008-05-11  Dan Williams  <dcbw@redhat.com>
3207
3208         * configure.in
3209           Makefile.am
3210           gfilemonitor/*
3211                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3212                         implementation, so that the same change monitoring code can be used
3213                         on systems without glib-2.14 (like Fedora 8)
3214
3215         * system-settings/plugins/keyfile/Makefile.am
3216           system-settings/plugins/keyfile/plugin.c
3217           system-settings/plugins/ifcfg-suse/Makefile.am
3218           system-settings/plugins/ifcfg-suse/plugin.c
3219                 - Use private gfilemonitor code if GIO is not present
3220
3221 2008-05-09  Tambet Ingo  <tambet@gmail.com>
3222
3223         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3224         NMExportedConnection's 'update' and 'delete' and return error with
3225         descriptive message.
3226
3227 2008-05-08  Dan Williams  <dcbw@redhat.com>
3228
3229         Patch from Markus Becker <mab@comnets.uni-bremen.de>
3230
3231         * src/nm-gsm-device.c
3232           src/nm-cdma-device.c
3233                 - (real_get_best_auto_connection): implement; allow autoconnection
3234                         to GSM & CDMA devices
3235
3236 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3237
3238         Use PolicyKit to authorize the system settings' AddConnection method
3239         and the system settings connections' Update and Delete methods.
3240         
3241         * libnm-glib/nm-settings.c (impl_exported_connection_update)
3242         (impl_exported_connection_delete, nm_exported_connection_update)
3243         (nm_exported_connection_delete): Return boolean and fill GError
3244         to notify the callers of the reasons why it might have failed.
3245
3246         * libnm-glib/nm-dbus-settings-system.c
3247         (nm_dbus_settings_system_add_connection): Return the error from dbus
3248         call so that the callers can see why it failed.
3249
3250         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
3251         signatures.
3252
3253         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3254
3255         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3256         abstract base class that checks PolicyKit permissions.
3257
3258         * system-settings/src/dbus-settings.c:
3259         (impl_settings_add_connection): Check the policy before carring out
3260         the request.
3261
3262         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3263         Inherit from NMSysconfigConnection, check the policies before
3264         allowing updating or removing.
3265
3266         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3267         Inherit from NMSysconfigConnection.
3268
3269         * introspection/nm-exported-connection.xml: Annotate "Update" and 
3270         "Delete" methods with async flag so that the implementations can get
3271         access to DBusGMethodInvocation.
3272
3273         * system-settings/src/dbus-settings.c 
3274         (settings_add_connection_check_privileges): Implement.
3275         (impl_settings_add_connection): Check the privileges before adding a new
3276         connection. Improve error reporting.
3277
3278         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3279         async so that the implementation can access DBusGMethodInvocation.
3280
3281         * configure.in: Check for PolicyKit.
3282
3283         * policy/org.freedesktop.network-manager-settings.system.policy: 
3284         New file.
3285
3286         * policy/Makefile.am: Install the policy file.
3287
3288         * configure.in: Add 'policy' subdir.
3289
3290 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3291
3292         Rewrite the suse system settings plugin.
3293
3294         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3295
3296         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3297
3298         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3299
3300         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3301
3302         * system-settings/src/dbus-settings.c: Fix connection reference counting.
3303
3304         * system-settings/src/main.c (load_plugins): Improve error reporting.
3305
3306         * system-settings/src/sha1.[ch] Add.
3307
3308         * system-settings/src/Makefile.am: Add sha1[ch] to build.
3309
3310 2008-05-07  Dan Williams  <dcbw@redhat.com>
3311
3312         * system-settings/plugins/keyfile/reader.c
3313                 - (read_one_setting_value): handle IP address items separately
3314                 - (read_array_of_uint): read IPv4 DNS option as a string array
3315                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3316                         array
3317
3318         * system-settings/plugins/keyfile/writer.c
3319                 - (write_setting_value): handle IP address items separately
3320                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3321                         not an array of uint, so that it's user-editable
3322                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3323                         arrays, so they are user-editable
3324
3325 2008-05-07  Dan Williams  <dcbw@redhat.com>
3326
3327         * system-settings/plugins/keyfile/Makefile.am
3328                 - Change location of the keyfile plugin settings to
3329                         /etc/NetworkManager/system-connections
3330
3331 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3332
3333         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3334
3335         * system-settings/plugins/keyfile/plugin.c: Work with
3336         NMKeyfileConnections.
3337
3338         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3339         Plugins are supposed to return NMExportedConnections now and handle the
3340         updated(), removed(), and GetSecrets().
3341         Store the internal list of connections in hash table to make it easier
3342         to find duplicates.
3343
3344 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3345
3346         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3347         for multiple IP addresses.
3348
3349 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3350
3351         Patch from André Lemos.
3352
3353         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3354         corruption.
3355
3356 2008-05-06  Dan Williams  <dcbw@redhat.com>
3357
3358         * src/dhcp-manager/nm-dhcp-manager.c
3359                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3360                         NMIP4Config to support multiple IP addresses
3361
3362         * src/NetworkManagerUtils.c
3363                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3364
3365         * src/nm-ip4-config.c
3366           src/nm-ip4-config.h
3367                 - Store a list of IPv4 address/netmask/gateway tuples
3368                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3369                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3370                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3371                    nm_ip4_config_set_address): remove
3372                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3373                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3374                         new functions; handle multiple IPv4 addresses
3375
3376         * src/nm-device.c
3377           src/ppp-manager/nm-ppp-manager.c
3378           src/vpn-manager/nm-vpn-connection.c
3379           src/NetworkManagerPolicy.c
3380           test/nm-tool.c
3381           libnm-glib/libnm-glib-test.c
3382                 - update for changes to NMIP4Config for multiple IPv4 addresses
3383
3384         * src/NetworkManagerSystem.c
3385                 - (nm_system_device_set_ip4_route): don't add the route if any address
3386                         is on the same subnet as the destination
3387                 - (check_one_address): ignore the exact match, just match family and
3388                         interface index
3389                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3390                         an interface
3391                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3392                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3393
3394         * introspection/nm-ip4-config.xml
3395                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3396                 - Add 'addresses' property which is an array of (uuu) tuples of
3397                         address/netmask/gateway
3398
3399         * libnm-util/nm-setting-ip4-config.c
3400                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3401
3402         * libnm-glib/nm-ip4-config.c
3403           libnm-glib/nm-ip4-config.h
3404                 - Handle D-Bus interface changes to support multiple IP addresses
3405
3406 2008-05-06  Dan Williams  <dcbw@redhat.com>
3407
3408         * libnm-util/nm-utils.c
3409           libnm-util/nm-utils.h
3410                 - (nm_utils_ip4_addresses_from_gvalue,
3411                    nm_utils_ip4_addresses_to_gvalue): new functions
3412
3413 2008-05-06  Tambet Ingo  <tambet@gmail.com>
3414
3415         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3416         the returned connection paths.
3417
3418 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3419
3420         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
3421         "PropertiesChanged" signal signature.
3422
3423         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3424         defined in nm-dbus-glib-types.h.
3425         Don't register the connection on dbus, we're a proxy class to 
3426         communicate with an already registered connection over dbus.
3427
3428 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3429
3430         Implement new subclasses of NMSettings and NMExportedConnection to make
3431         it easier for the applet to access and modify system settings.
3432
3433         * libnm-glib/nm-dbus-connection.[ch]:
3434         * libnm-glib/nm-dbus-settings.[ch]:
3435         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3436
3437         * libnm-glib/Makefile.am: Add the new files to build, generate some more
3438         bindings and glue.
3439
3440         * include/NetworkManager.h: Define the system settings DBus interface.
3441
3442 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3443
3444         Implement additional C API for exported connections to make them identical
3445         with the DBus API. Change the (list_connections) virtual function to be
3446         more usable from C - instead of requiring implementers to return a GPtrArray
3447         of dbus paths, return a list of connections.
3448
3449         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3450         (nm_settings_list_connections):
3451         (nm_exported_connection_new):
3452         (nm_exported_connection_update):
3453         (nm_exported_connection_delete): Implement.
3454
3455         (impl_settings_list_connections):
3456         (impl_exported_connection_update):
3457         (impl_exported_connection_delete): Use the new public functions to make 
3458         sure the C and dbus interfaces stay in sync.
3459
3460         * system-settings/src/dbus-settings.c (list_connections): Return a list of
3461         connections.
3462
3463 2008-05-02  Dan Williams  <dcbw@redhat.com>
3464
3465         * system-settings/plugins/ifcfg-fedora/plugin.c
3466                 - (dispose): use right unref call on the DBusGConnection
3467
3468 2008-05-02  Dan Williams  <dcbw@redhat.com>
3469
3470         * src/nm-serial-device.c
3471                 - (find_terminator): don't compare the whole line, just the size of the
3472                         terminator, since some modems put stuff after the terminator, like
3473                         "CONNECT 9600"
3474
3475 2008-05-01  Dan Williams  <dcbw@redhat.com>
3476
3477         Patch from Michael Biebl <biebl@debian.org>
3478
3479         * callouts/Makefile.am
3480           callouts/org.freedesktop.nm_dispatcher.service.in
3481           system-settings/src/Makefile.am
3482           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3483                 - use the right install location for dbus-activated stuff
3484
3485 2008-04-30  Dan Williams  <dcbw@redhat.com>
3486
3487         * src/nm-gsm-device.c
3488                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3489                         PIN or PUK
3490
3491 2008-04-30  Dan Williams  <dcbw@redhat.com>
3492
3493         * src/nm-manager.c
3494                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3495
3496 2008-04-30  Dan Williams  <dcbw@redhat.com>
3497
3498         * src/nm-device-802-3-ethernet.c
3499           src/nm-device-802-11-wireless.c
3500                 - (real_is_up): return true instead of chaining up to unimplemented
3501                         parent method
3502
3503 2008-04-30  Dan Williams  <dcbw@redhat.com>
3504
3505         * src/NetworkManagerSystem.c
3506           src/NetworkManagerSystem.h
3507                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3508                         functions to check device flags for IFF_UP
3509
3510         * src/nm-serial-device.c
3511                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3512                         implement is_up
3513
3514         * src/nm-device-802-3-ethernet.c
3515           src/nm-device-802-11-wireless.c
3516                 - (real_hw_is_up): call nm_system_device_is_up()
3517
3518         * src/nm-device.c
3519                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3520                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3521                         does not implement
3522
3523 2008-04-29  Dan Williams  <dcbw@redhat.com>
3524
3525         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3526
3527         * marshallers/nm-marshal.list
3528                 - Add marshaller
3529
3530         * src/NetworkManager.c
3531                 - (main): let the NMManager handle the NMHalManager
3532
3533         * src/nm-hal-manager.c
3534           src/nm-hal-manager.h
3535                 - convert to a GObject, and emit singals when stuff changes.  Let the
3536                         NMManager handle the signals, instead of the NMHalManager calling
3537                         into the NMManager.  
3538
3539         * src/nm-manager.c
3540           src/nm-manager.h
3541                 - (remove_one_device): consolidate device removals here
3542                 - (dispose): use remove_one_device()
3543                 - (nm_manager_get_device_by_udi): make static
3544                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3545                         manager for devices at startup or wakeup time
3546                 - (nm_manager_new): create and monitor the HAL manager
3547                 - (hal_manager_udi_added_cb): new function; do what
3548                         nm_manager_add_device() used to do when signalled by the hal manager
3549                 - (hal_manager_udi_removed_cb): new function; do what
3550                         nm_manager_remove_device() used to do when signalled by the hal
3551                         manager
3552                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3553                         hal manager
3554                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3555                         in our device list that aren't known to HAL
3556                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3557                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3558                         commits ago
3559                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3560                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3561                    nm_manager_wireless_hardware_enabled,
3562                    nm_manager_set_wireless_hardware_enabled): remove, unused
3563
3564 2008-04-28  Dan Williams  <dcbw@redhat.com>
3565
3566         Fix the device up/down ambiguities.  Up/down state used to be a
3567         conglomeration of hardware state (IFF_UP) and any device-specific things
3568         (supplicant, periodic timers, etc) that the device used to indicate
3569         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3570         reason, then the device specific stuff wouldn't get run, and the device
3571         would be stuck.
3572
3573         * src/nm-device.c
3574           src/nm-device.h
3575                 - Create hw_is_up, hw_bring_up, and hw_take_down
3576                 - Rename bring_down -> take_down
3577                 - (real_hw_is_up): check interface flags for IFF_UP
3578                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3579                 - (nm_device_is_up): make static; only used locally
3580                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3581                         if the device is already up; if the device isn't up, bring it up
3582                 - (nm_device_hw_take_down): just take down hardware
3583                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3584                 - (nm_device_take_down): always deactivate device when called; always
3585                         try to take hardware down too
3586                 - (nm_device_state_changed): take device down when entering unmanaged
3587                         state from a higher state
3588
3589         * src/nm-device-802-11-wireless.c
3590                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3591                         check IFF_UP really
3592                 - (real_take_down, supplicant_iface_state_cb_handler, 
3593                    supplicant_iface_connection_state_cb_handler,
3594                    supplicant_mgr_state_cb_handler): fix some messages
3595
3596         * src/nm-device-802-3-ethernet.c
3597                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3598                         check IFF_UP really
3599
3600 2008-04-28  Dan Williams  <dcbw@redhat.com>
3601
3602         * src/nm-manager.c
3603           src/nm-manager.h
3604                 - (nm_manager_error_get_type): add new error
3605                 - (nm_manager_remove_device): don't bother taking down the device here,
3606                         the state change from unmanaging the device will do it
3607                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3608                         uses it; when going to sleep, just unmanage the device instead of
3609                         taking it down, because stuff will cleaned up correctly when the
3610                         device gets unmanaged
3611
3612 2008-04-28  Dan Williams  <dcbw@redhat.com>
3613
3614         * src/nm-hal-manager.c
3615                 - (add_initial_devices): convert to a GSourceFunc prototype
3616                 - (nm_manager_state_changed): when coming out of sleep, punt the
3617                         device re-addition to an idle handler to let D-Bus events go out
3618                         first, fixing a potential dbus-glib assert if the old device was
3619                         not yet disposed (due to references held while emitting the D-Bus
3620                         signals) but the new device was found, because the mainloop didn't
3621                         run between signal emission and add_initial_devices()
3622
3623 2008-04-27  Dan Williams  <dcbw@redhat.com>
3624
3625         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3626
3627         * initscript/paldo/NetworkManager.in
3628           initscript/SUSE/networkmanager.in
3629                 - Remove last bits of dhcdbd
3630
3631 2008-04-27  Dan Williams  <dcbw@redhat.com>
3632
3633         * src/nm-device-802-11-wireless.c
3634                 - (link_timeout_cb): don't ask for secrets when disconnected during
3635                         association/authentication phase, drivers are still just too crappy
3636
3637 2008-04-27  Dan Williams  <dcbw@redhat.com>
3638
3639         * Makefile.am
3640           configure.in
3641           dispatcher-daemon/Makefile.am
3642           dispatcher-daemon/NetworkManagerDispatcher.c
3643           initscript/Arch/Makefile.am
3644           initscript/Arch/networkmanager-dispatcher.in
3645           initscript/Gentoo/Makefile.am
3646           initscript/Gentoo/NetworkManagerDispatcher.in
3647           initscript/Mandriva/Makefile.am
3648           initscript/Mandriva/networkmanagerdispatcher.in
3649           initscript/RedHat/Makefile.am
3650           initscript/RedHat/NetworkManagerDispatcher.in
3651           initscript/SUSE/Makefile.am
3652           initscript/SUSE/networkmanager-dispatcher.in
3653           initscript/Slackware/Makefile.am
3654           initscript/Slackware/rc.networkmanager-dispatcher.in
3655           initscript/paldo/Makefile.am
3656           initscript/paldo/NetworkManagerDispatcher.in
3657           man/Makefile.am
3658           man/NetworkManagerDispatcher.8.in
3659                 - Remove the dispatcher daemon
3660
3661 2008-04-27  Dan Williams  <dcbw@redhat.com>
3662
3663         * callouts/Makefile.am
3664           callouts/nm-dispatcher-action.c
3665           callouts/nm-dispatcher-action.h
3666           callouts/nm-dispatcher.conf
3667           callouts/nm-dispatcher.xml
3668           callouts/org.freedesktop.nm_dispatcher.service
3669                 - Re-implement the dispatcher as a system-bus activated service that
3670                         NM calls on-demand, rather than an always running daemon
3671
3672         * src/Makefile.am
3673                 - Add callouts dir to includes to pick up dispatcher defines
3674
3675         * src/nm-device.c
3676                 - (nm_device_state_changed): call dispatcher on device activated/
3677                         deactivated
3678
3679         * src/vpn-manager/nm-vpn-connection.c
3680                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3681                         go up and down
3682
3683         * src/NetworkManagerUtils.c
3684           src/NetworkManagerUtils.h
3685                 - (nm_utils_call_dispatcher): helper to call dispatcher
3686
3687 2008-04-27  Dan Williams  <dcbw@redhat.com>
3688
3689         * src/NetworkManagerUtils.c
3690           src/NetworkManagerUtils.h
3691                 - remove unneeded includes
3692                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3693                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3694                    nm_timeval_cmp, nm_timeval_add): remove, unused
3695                 - clean up formatting
3696                 - (nm_spawn_process): de-uglify
3697
3698         * src/nm-device-802-11-wireless.c
3699                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3700
3701 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3702
3703         * initscript/Gentoo/NetworkManager.in:
3704                 Fix for starting the daemon.
3705
3706 2008-04-25  Dan Williams  <dcbw@redhat.com>
3707
3708         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3709
3710         * src/NetworkManagerSystem.c
3711                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3712
3713 2008-04-25  Dan Williams  <dcbw@redhat.com>
3714
3715         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3716
3717         * src/NetworkManagerSystem.c
3718                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3719                         implementation of nm_system_device_replace_default_route()
3720
3721         * src/NetworkManagerPolicy.c
3722                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3723
3724         * src/backends/NetworkManagerArch.c
3725           src/backends/NetworkManagerDebian.c
3726           src/backends/NetworkManagerFrugalware.c
3727           src/backends/NetworkManagerGeneric.c
3728           src/backends/NetworkManagerGeneric.h
3729           src/backends/NetworkManagerGentoo.c
3730           src/backends/NetworkManagerMandriva.c
3731           src/backends/NetworkManagerPaldo.c
3732           src/backends/NetworkManagerRedHat.c
3733           src/backends/NetworkManagerSlackware.c
3734           src/backends/NetworkManagerSuSE.c
3735                 - (nm_system_device_replace_default_route): remove
3736
3737 2008-04-25  Dan Williams  <dcbw@redhat.com>
3738
3739         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3740
3741         * src/NetworkManagerSystem.c
3742                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3743                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3744                         replace nm_system_device_add_route_via_device_with_iface() in the
3745                         backends
3746
3747         * src/backends/NetworkManagerArch.c
3748           src/backends/NetworkManagerDebian.c
3749           src/backends/NetworkManagerFrugalware.c
3750           src/backends/NetworkManagerGeneric.c
3751           src/backends/NetworkManagerGeneric.h
3752           src/backends/NetworkManagerGentoo.c
3753           src/backends/NetworkManagerMandriva.c
3754           src/backends/NetworkManagerPaldo.c
3755           src/backends/NetworkManagerRedHat.c
3756           src/backends/NetworkManagerSlackware.c
3757           src/backends/NetworkManagerSuSE.c
3758                 - Remove nm_system_device_add_route_via_device_with_iface()
3759
3760 2008-04-25  Dan Williams  <dcbw@redhat.com>
3761
3762         * system-settings/plugins/ifcfg-fedora/parser.c
3763                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3764
3765 2008-04-24  Dan Williams  <dcbw@redhat.com>
3766
3767         * dispatcher-daemon/NetworkManagerDispatcher.c
3768                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3769
3770 2008-04-24  Dan Williams  <dcbw@redhat.com>
3771
3772         * initscript/RedHat/NetworkManager.in
3773           initscript/RedHat/NetworkManagerDispatcher.in
3774                 - Be active at runlevel 2
3775                 - Adjust priorities earlier
3776
3777 2008-04-22  Dan Williams  <dcbw@redhat.com>
3778
3779         * src/NetworkManagerPolicy.c
3780                 - (update_routing_and_dns): when checking for a gateway, look at the
3781                         composite IP4 config, not the connection's ip4-config setting, which
3782                         doesn't include DHCP-returned information
3783
3784 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3785
3786         Implement GKeyFile system settings plugin.
3787         Implement writing system settings (currently supported only by GKeyFile plugin).
3788
3789         * system-settings/src/main.c: 
3790         * system-settings/src/dbus-settings.c: Move the communication with plugins
3791         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3792         plugins for adding/updating/removing connections.
3793
3794         * system-settings/src/nm-system-config-interface.c
3795         (nm_system_config_interface_add_connection): Implement
3796         (nm_system_config_interface_update_connection): Implement.
3797         (nm_system_config_interface_remove_connection): Implement.
3798
3799         * system-settings/plugins/keyfile/Makefile.am:
3800         * system-settings/plugins/keyfile/plugin.[ch]:
3801         * system-settings/plugins/keyfile/writer.[ch]:
3802         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3803
3804         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3805
3806         * configure.in: Generate GKeyFile Makefile.
3807
3808         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3809         corruption, need to duplicate the returned string.
3810         (impl_exported_connection_update): Implement.
3811         (impl_exported_connection_delete): Implement.
3812
3813         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3814
3815         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3816
3817 2008-04-22  Dan Williams  <dcbw@redhat.com>
3818
3819         Patch from Charles R. Anderson (cra@wpi.edu)
3820
3821         * src/NetworkManagerPolicy.c
3822                 - (update_routing_and_dns): don't select devices without a gateway
3823                         as having the default route (rh #437338)
3824
3825 2008-04-21  Dan Williams  <dcbw@redhat.com>
3826
3827         * src/nm-activation-request.c
3828           src/nm-activation-request.h
3829                 - (dispose): ensure to disconnect from the device's state-changed signal
3830                         when appropriate so the signal doesn't get handled by an already
3831                         disposed NMActRequest
3832                 - (device_state_changed): update is_default here too just to make sure
3833                         default is only True when the child device is activated
3834                 - (nm_act_request_set_default): new function
3835
3836         * src/NetworkManagerPolicy.c
3837                 - (update_routing_and_dns): set 'default' on the active connection which
3838                         has the default route and DNS
3839
3840 2008-04-21  Dan Williams  <dcbw@redhat.com>
3841
3842         * src/NetworkManagerPolicy.c
3843                 - (device_state_changed): update routing and DNS when a device goes
3844                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3845
3846 2008-04-21  Dan Williams  <dcbw@redhat.com>
3847
3848         * include/NetworkManager.h
3849                 - Add NMActiveConnectionState enum
3850
3851         * introspection/nm-active-connection.xml
3852           introspection/nm-vpn-connection.xml
3853                 - Add 'State' property for overall active connection state
3854                 - Add 'Default' property, when True means this active connection
3855                         has the default route
3856                 - Add PropertyChanged signals so changes actually go out over the bus
3857
3858         * src/nm-active-connection.h
3859                 - Add defines for State & Default properties
3860
3861         * src/nm-activation-request.c
3862                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3863                         signal to determine active connection state
3864
3865         * src/vpn-manager/nm-vpn-connection.c
3866           src/vpn-manager/nm-vpn-connection.h
3867           src/vpn-manager/nm-vpn-manager.c
3868           src/vpn-manager/nm-vpn-service.c
3869                 - Rename old 'state' to 'vpn-state'
3870                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3871                 - Add 'state' and 'default' properties, hook up to the vpn connection's
3872                         'vpn-state-changed' signal
3873
3874         * libnm-glib/nm-active-connection.c
3875           libnm-glib/nm-active-connection.h
3876                 - Add new 'state' and 'default' properties and accessors
3877
3878         * libnm-glib/nm-vpn-connection.c
3879           libnm-glib/nm-vpn-connection.h
3880                 - Rename old 'state' property to 'vpn-state'
3881                 - Add new 'state' and 'default' properties and accessors
3882
3883 2008-04-21  Dan Williams  <dcbw@redhat.com>
3884
3885         * src/nm-ip4-config.c
3886                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3887                         not specified (rh #443474)
3888
3889 2008-04-20  Dan Williams  <dcbw@redhat.com>
3890
3891         * src/NetworkManagerUtils.c
3892           src/NetworkManagerUtils.h
3893                 - (nm_utils_merge_ip4_config): new function; merge settings from an
3894                         NMSettingIP4Config to an NMIP4Config object
3895
3896         * src/nm-device.c
3897                 - (merge_ip4_config): move to NetworkManagerUtils.c
3898
3899         * src/vpn-manager/nm-vpn-connection.c
3900                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3901                         too
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                 - Add 'no-vj-comp' option for TCP header compression
3908                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3909                         uint32
3910
3911 2008-04-18  Dan Williams  <dcbw@redhat.com>
3912
3913         * libnm-util/nm-setting-ppp.c
3914           libnm-util/nm-setting-ppp.h
3915           src/ppp-manager/nm-ppp-manager.c
3916                 - Add 'refuse-pap' and 'refuse-mschapv2' options
3917
3918 2008-04-18  Dan Williams  <dcbw@redhat.com>
3919
3920         * libnm-util/nm-setting-ppp.c
3921           libnm-util/nm-setting-ppp.h
3922           src/ppp-manager/nm-ppp-manager.c
3923                 - Remove the 'usepeerdns' option and always request DNS servers from
3924                         the PPP server; the connection chooses to use/override/ignore the
3925                         DNS servers returned from the PPP server
3926
3927 2008-04-18  Dan Williams  <dcbw@redhat.com>
3928
3929         * libnm-util/nm-setting-ppp.c
3930           libnm-util/nm-setting-ppp.h
3931           src/ppp-manager/nm-ppp-manager.c
3932                 - Remove the 'require-mppc' option, because pppd doesn't support it and
3933                         it seems to have been an erroneous addition to the PPTP plugin in
3934                         the first place (from which the ppp-manager is derived)
3935
3936 2008-04-17  Dan Williams  <dcbw@redhat.com>
3937
3938         * libnm-util/nm-setting-pppoe.c
3939                 - (verify): require a PPP setting too
3940
3941         * src/ppp-manager/nm-ppp-manager.c
3942                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3943                         segfaulting
3944
3945 2008-04-17  Dan Williams  <dcbw@redhat.com>
3946
3947         * src/nm-device.c
3948                 - (nm_device_state_changed): do deactivation and and promotion to
3949                         unavailable here, so that the device gets cleaned up before the
3950                         manager runs and starts emitting signals; do the
3951                         FAILED->DISCONNECTED transition from an idle handler rather than
3952                         immediately to guard against recursion
3953                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3954                         FAILED->DISCONNECTED handler if it's scheduled
3955
3956 2008-04-17  Dan Williams  <dcbw@redhat.com>
3957
3958         * src/nm-device-802-11-wireless.c
3959                 - (state_changed_cb): clear AP list when device transitions to
3960                         unavailable or unmanaged
3961                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3962                         since this is already done in device_cleanup()
3963                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3964                         isn't available or managed
3965                 - (device_cleanup): use remove_all_aps()
3966                 - (remove_all_aps): consolidate code removing all APs
3967
3968 2008-04-17  Dan Williams  <dcbw@redhat.com>
3969
3970         * src/nm-serial-device.c
3971           src/nm-serial-device.h
3972                 - (wait_for_reply_got_data): break input into lines, and search each
3973                         line for responses _and_ terminator strings; also make sure that
3974                         the read loop doesn't continue after the timeout is supposed to fire
3975                 - (nm_serial_device_wait_for_reply): take an array of terminators too
3976
3977         * src/nm-gsm-device.c
3978           src/nm-cdma-device.c
3979                 - Send terminators to nm_serial_device_wait_for_reply()
3980
3981 2008-04-16  Dan Williams  <dcbw@redhat.com>
3982
3983         Patch from 陈鑫 <znscnchen@gmail.com>
3984
3985         * src/ppp-manager/nm-pppd-plugin.c
3986                 - (get_credentials): return correct value for success; handle case where
3987                         pppd just does some checking but doesn't want a password
3988                 - (plugin_init): make CHAP work too
3989
3990 2008-04-16  Dan Williams  <dcbw@redhat.com>
3991
3992         Patch from 陈鑫 <znscnchen@gmail.com>
3993
3994         * src/ppp-manager/nm-ppp-manager.c
3995                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3996
3997 2008-04-16  Dan Williams  <dcbw@redhat.com>
3998
3999         Patch from 陈鑫 <znscnchen@gmail.com>
4000
4001         * src/nm-device-802-3-ethernet.c
4002                 - (real_deactivate_quickly): clear the IP interface name on
4003                         deactivation, otherwise the wrong interface might get used later
4004                         for routing and IP management
4005
4006 2008-04-15  Dan Williams  <dcbw@redhat.com>
4007
4008         * libnm-glib/nm-device.c
4009                 - (get_product_and_vendor): handle serial devices correctly
4010                 - (nm_device_update_description): pass device to get_product_and_vendor()
4011
4012 2008-04-15  Dan Williams  <dcbw@redhat.com>
4013
4014         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4015
4016         * src/NetworkManagerSystem.h
4017           src/backends/NetworkManagerArch.c
4018           src/backends/NetworkManagerDebian.c
4019           src/backends/NetworkManagerFrugalware.c
4020           src/backends/NetworkManagerGeneric.c
4021           src/backends/NetworkManagerGeneric.h
4022           src/backends/NetworkManagerGentoo.c
4023           src/backends/NetworkManagerMandriva.c
4024           src/backends/NetworkManagerPaldo.c
4025           src/backends/NetworkManagerRedHat.c
4026           src/backends/NetworkManagerSlackware.c
4027           src/backends/NetworkManagerSuSE.c
4028           src/nm-device.c
4029                 - (nm_generic_device_add_ip6_link_address,
4030                    nm_system_device_add_ip6_link_address): remove
4031
4032 2008-04-15  Dan Williams  <dcbw@redhat.com>
4033
4034         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4035
4036         * src/backends/NetworkManagerArch.c
4037           src/backends/NetworkManagerDebian.c
4038           src/backends/NetworkManagerFrugalware.c
4039           src/backends/NetworkManagerGeneric.c
4040           src/backends/NetworkManagerGeneric.h
4041           src/backends/NetworkManagerGentoo.c
4042           src/backends/NetworkManagerMandriva.c
4043           src/backends/NetworkManagerPaldo.c
4044           src/backends/NetworkManagerRedHat.c
4045           src/backends/NetworkManagerSlackware.c
4046           src/backends/NetworkManagerSuSE.c
4047           src/NetworkManagerSystem.h
4048                 - flush_routes -> flush_ip4_routes
4049                 - flush_addresses -> flush_ip4_addresses
4050
4051         * src/NetworkManagerSystem.c
4052           src/nm-device.c
4053           src/vpn-manager/nm-vpn-connection.c
4054                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
4055
4056 2008-04-15  Dan Williams  <dcbw@redhat.com>
4057
4058         Remove exposure of wireless-tools mode types in the API.
4059
4060         * include/NetworkManager.h
4061                 - Define NM80211Mode enum
4062
4063         * introspection/generic-types.xml
4064                 - Describe NM_802_11_MODE enum
4065                 - Remove IW_MODE_* enum
4066
4067         * introspection/nm-access-point.xml
4068           libnm-glib/nm-access-point.c
4069           libnm-glib/nm-access-point.h
4070                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4071
4072         * introspection/nm-device-802-11-wireless.xml
4073           libnm-glib/nm-device-802-11-wireless.c
4074           libnm-glib/nm-device-802-11-wireless.h
4075                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4076
4077         * libnm-util/nm-setting-wireless.c
4078           src/NetworkManagerAP.c
4079           src/NetworkManagerAP.h
4080           src/nm-device-802-11-wireless.c
4081           src/nm-device-802-11-wireless.h
4082           test/nm-tool.c
4083                 - Use NM80211Mode not IW_MODE_*
4084
4085 2008-04-15  Dan Williams  <dcbw@redhat.com>
4086
4087         Enhance nm-online based on a patch from Bill Nottingham.
4088
4089         * test/nm-online.c
4090                 - Add a '-q' option
4091                 - Add help messages and option summary
4092                 - Add long-format options
4093                 - Add a '-x' option to exit if NM isn't running or isn't connecting
4094
4095 2008-04-15  Tambet Ingo  <tambet@gmail.com>
4096
4097         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4098
4099         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4100
4101 2008-04-15  Dan Williams  <dcbw@redhat.com>
4102
4103         * nm-setting-ip4-config.c
4104                 - (ip4_addresses_from_gvalue): handle NULL address array
4105
4106         * nm-setting-8021x.c
4107                 - (verify_tls, verify_ttls): warn on failed verification
4108
4109 2008-04-10  Dan Williams  <dcbw@redhat.com>
4110
4111         * src/nm-gsm-device.c
4112                 - (automatic_registration): accept "+CREG: 0,0"
4113                 - (automatic_registration_response): fail on "+CREG: 0,0"
4114
4115 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4116
4117         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4118
4119 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4120
4121         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
4122         Make it compile again by commenting out broken code that at first didn't work and
4123         now didn't compile either.
4124
4125 2008-04-08  Dan Williams  <dcbw@redhat.com>
4126
4127         * libnm-glib/nm-object-cache.c
4128           libnm-glib/nm-settings.c
4129           src/dhcp-manager/nm-dhcp-manager.c
4130           system-settings/plugins/ifcfg-fedora/plugin.c
4131           system-settings/plugins/ifcfg-suse/plugin.c
4132           system-settings/src/nm-system-config-hal-manager.c
4133           libnm-util/nm-utils.c
4134                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4135                         not threadsafe anyway
4136
4137 2008-04-08  Dan Williams  <dcbw@redhat.com>
4138
4139         * system-settings/src/main.c
4140                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4141                         callbacks take a device type too
4142
4143 2008-04-08  Dan Williams  <dcbw@redhat.com>
4144
4145         The system settings service will now create a new default DHCP connection
4146         for wired devices that have no existing applicable connection.
4147
4148         * system-settings/src/nm-system-config-hal-manager.c
4149           system-settings/src/nm-system-config-hal-manager.h
4150                 - (nm_system_config_hal_manager_get_type_for_udi): new function
4151
4152         * system-settings/src/dbus-settings.c
4153           system-settings/src/dbus-settings.h
4154                 - (nm_sysconfig_settings_get_connections): new function
4155                 - (nm_sysconfig_settings_is_device_managed): new function
4156
4157         * system-settings/src/main.c
4158                 - (load_stuff): check for wired devices that need a default connection
4159                 - (get_details_for_udi): get interface and MAC address from HAL
4160                 - (add_default_dhcp_connection): add a default connection for a wired
4161                         device if needed
4162                 - (device_added_cb, device_removed_cb): do the right thing with
4163                         wired devices and their default connections on HAL device events
4164
4165 2008-04-07  Dan Williams  <dcbw@redhat.com>
4166
4167         * libnm-glib/nm-device.c
4168           libnm-glib/nm-device.h
4169                 - Proxy the 'managed' property
4170
4171 2008-04-07  Dan Williams  <dcbw@redhat.com>
4172
4173         * src/nm-gsm-device.c
4174           src/nm-cdma-device.c
4175                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4176                         handler to transition to DISCONNECTED
4177
4178 2008-04-07  Dan Williams  <dcbw@redhat.com>
4179
4180         Patch from Bill Nottingham
4181
4182         * dispatcher-daemon/NetworkManagerDispatcher.c
4183                 - ignore backup/packaging crufy (rh #440143)
4184
4185 2008-04-07  Dan Williams  <dcbw@redhat.com>
4186
4187         * include/NetworkManager.h
4188                 - Remove the DOWN and CANCELLED device states
4189                 - Add UNMANAGED and UNAVAILABLE device states
4190                 - Document the device states
4191
4192         * introspection/nm-device.xml
4193           src/nm-device-interface.c
4194           src/nm-device-interface.h
4195                 - Add the 'managed' property
4196
4197         * test/nm-tool.c
4198                 - (detail_device): print out device state
4199
4200         * src/NetworkManagerSystem.h
4201           src/backends/NetworkManagerArch.c
4202           src/backends/NetworkManagerDebian.c
4203           src/backends/NetworkManagerFrugalware.c
4204           src/backends/NetworkManagerGentoo.c
4205           src/backends/NetworkManagerMandriva.c
4206           src/backends/NetworkManagerPaldo.c
4207           src/backends/NetworkManagerRedHat.c
4208           src/backends/NetworkManagerSlackware.c
4209           src/backends/NetworkManagerSuSE.c
4210                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4211                    nm_system_device_free_system_config): remove; they were unused and
4212                         their functionality should be re-implemented in each distro's
4213                         system settings service plugin 
4214
4215         * src/nm-gsm-device.c
4216           src/nm-gsm-device.h
4217           src/nm-cdma-device.c
4218           src/nm-cdma-device.h
4219                 - (*_new): take the 'managed' argument
4220
4221         * src/nm-device.c
4222                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4223                 - (nm_device_init): start in unmanaged state, not disconnected
4224                 - (constructor): don't start device until the system settings service
4225                         has had a chance to figure out if the device is managed or not
4226                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4227                         don't set device state here, let callers handle that as appropriate
4228                 - (nm_device_dispose): don't touch the device if it's not managed
4229                 - (set_property, get_property, nm_device_class_init): implement the
4230                         'managed' property
4231                 - (nm_device_state_changed): bring the device up if its now managed,
4232                         and deactivate it if it used to be active
4233                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4234                         with the managed state
4235
4236         * src/nm-hal-manager.c
4237                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4238                         take initial managed state and pass it along to device constructors
4239                 - (create_device_and_add_to_list): get managed state and pass to
4240                         type creators
4241
4242         * src/nm-device-802-11-wireless.c
4243                 - (real_can_activate): fold in most of
4244                         nm_device_802_11_wireless_can_activate()
4245                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4246                 - (link_timeout_cb): instead of deactivating, change device state and
4247                         let the device state handler to it
4248                 - (real_update_hw_address): clean up
4249                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4250                         handler to transition to DISCONNECTED if the device isn't rfkilled
4251
4252         * src/nm-device-802-3-ethernet.c
4253                 - (set_carrier): move above callers and get rid of prototype
4254                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4255                         idle handler to transition to DISCONNECTED if the device has a
4256                         carrier
4257                 - (real_update_hw_address): clean up
4258                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4259                         deactivation directly as deactivation doesn't change state anymore
4260
4261         * src/NetworkManagerPolicy.c
4262                 - (schedule_activate_check): yay, remove wireless_enabled hack since
4263                         the NMManager and wireless devices work that out themselves now
4264                 - (device_state_changed): change to a switch and update for new device
4265                         states
4266                 - (device_carrier_changed): remove; device handles this now through
4267                         state changes
4268                 - (device_added): don't care about carrier any more; the initial
4269                         activation check will happen when the device transitions to
4270                         DISCONNECTED
4271
4272         * src/nm-manager.c
4273                 - (dispose): clear unmanaged devices
4274                 - (handle_unmanaged_devices): update unmanaged device list and toggle
4275                         the managed property on each device when needed
4276                 - (system_settings_properties_changed_cb): handle signals from the
4277                         system settings service
4278                 - (system_settings_get_unmanaged_devices_cb): handle callback from
4279                         getting the unmanaged device list method call
4280                 - (query_unmanaged_devices): ask the system settings service for its
4281                         list of unmanaged devices
4282                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4283                         devices
4284                 - (manager_set_wireless_enabled): push rfkill state down to wireless
4285                         devices directly and let them handle the necessary state transitions
4286                 - (manager_device_state_changed): update for new device states
4287                 - (nm_manager_add_device): set initial rfkill state on wireless devices
4288                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4289                 - (nm_manager_activate_connection): return error if the device is
4290                         unmanaged
4291                 - (nm_manager_sleep): handle new device states correctly; don't change
4292                         the state of unavailable/unmanaged devices
4293
4294         * libnm-glib/nm-device-802-11-wireless.c
4295                 - (state_changed_cb): update for new device states
4296
4297 2008-04-07  Dan Williams  <dcbw@redhat.com>
4298
4299         * marshallers/nm-marshal.list
4300                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4301
4302 2008-04-07  Dan Williams  <dcbw@redhat.com>
4303
4304         * system-settings/src/main.c
4305                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4306                         plugins to the dbus settings object
4307                 - (load_stuff): start the dbus service after grabbing unmanaged devices
4308                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4309                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4310                 - (main): switch default logging to syslog with a 'debug' option to
4311                         output to console; start up the HAL manager
4312
4313 2008-04-07  Dan Williams  <dcbw@redhat.com>
4314
4315         * introspection/nm-settings-system.xml
4316           introspection/Makefile.am
4317                 - Define the unmanaged devices interface for the system settings service
4318
4319         * system-settings/src/nm-system-config-hal-manager.c
4320           system-settings/src/nm-system-config-hal-manager.h
4321           system-settings/src/nm-system-config-hal-manager-private.h
4322           system-settings/src/Makefile.am
4323                 - Add a lightweight HAL manager object for tracking network devices for
4324                         the purpose of determining unmanaged devices and which devices need
4325                         the default DHCP connections
4326
4327         * system-settings/src/nm-system-config-interface.c
4328           system-settings/src/nm-system-config-interface.h
4329                 - (nm_system_config_interface_init): add the HAL manager as an argument
4330                 - (nm_system_config_interface_get_unmanaged_devices): implement
4331                 - Define 'unmanaged-devices-changed' signal
4332
4333         * system-settings/src/dbus-settings.c
4334           system-settings/src/dbus-settings.h
4335                 - Implement the unmanaged devices interface; some cleanups
4336
4337         * system-settings/plugins/ifcfg-suse/plugin.c
4338                 - Fixup for plugin interface changes
4339
4340         * system-settings/plugins/ifcfg-fedora/plugin.c
4341                 - (get_ether_device_udi): new function; find the device that has
4342                         a specified MAC address and return its UDI
4343                 - (get_udi_for_connection): new function; try to find the specific
4344                         device a connection is locked to, if any
4345                 - (device_added_cb, device_removed_cb): update unmanaged device list in
4346                         response to HAL events
4347                 - (get_unmanaged_devices): new function; return unmanaged device list
4348                 - (build_one_connection): set the connection's locked device, if any
4349                 - (write_auto_wired_connection): remove
4350                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4351                 - (handle_connection_changed): alert listeners that the unmanaged device
4352                         list has changed
4353                 - (init): fixup for plugin interface changes, implement unmanaged devices
4354
4355         * system-settings/plugins/ifcfg-fedora/parser.c
4356           system-settings/plugins/ifcfg-fedora/parser.h
4357                 - (connection_data_free): clean up connection UDI
4358
4359 2008-04-07  Dan Williams  <dcbw@redhat.com>
4360
4361         * system-settings/plugins/ifcfg-fedora/parser.c
4362                 - (make_ip4_setting): fix parsing of DNS servers
4363
4364 2008-04-05  Dan Williams  <dcbw@redhat.com>
4365
4366         * Makefile.am
4367           configure.in
4368           marshallers/Makefile.am
4369           marshallers/nm-marshal-main.c
4370           marshallers/nm-marshal.list
4371                 - Consolidate marshallers
4372
4373         * libnm-glib/nm-marshal-main.c
4374           libnm-glib/nm-marshal.list
4375           src/marshallers/Makefile.am
4376           src/marshallers/nm-marshal-main.c
4377           src/marshallers/nm-marshal.list
4378                 - Remove
4379
4380         * libnm-glib/Makefile.am
4381           src/Makefile.am
4382           src/dhcp-manager/Makefile.am
4383           src/ppp-manager/Makefile.am
4384           src/supplicant-manager/Makefile.am
4385           src/vpn-manager/Makefile.am
4386                 - Use consolidated marshallers
4387
4388 2008-04-04  Dan Williams  <dcbw@redhat.com>
4389
4390         * src/nm-hal-manager.c
4391           src/nm-hal-manager.h
4392                 - (hal_init): don't look for hardware here
4393                 - (nm_hal_manager_start): new function; look for hardware here instead,
4394                         which can be done at a later time than hal_init()
4395
4396         * src/NetworkManager.c
4397                 - (main): start HAL manager after entering the main loop
4398
4399 2008-04-03  Dan Williams  <dcbw@redhat.com>
4400
4401         * libnm-glib/nm-settings.c
4402           libnm-glib/nm-settings.h
4403             - (nm_exported_connection_get_id): new function
4404                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4405
4406 2008-04-02  Dan Williams  <dcbw@redhat.com>
4407
4408         * src/nm-device-interface.c
4409           src/nm-device-interface.h
4410           src/nm-device.c
4411           src/nm-device.h
4412                 - Rename check_connection_conflicts() to check_connection_compatible()
4413
4414         * src/nm-device-802-11-wireless.c
4415                 - (real_check_connection_conflicts): remove
4416                 - (real_check_connection_compatible): implement; match MAC address
4417
4418         * src/nm-device-802-3-ethernet.c
4419                 - (real_check_connection_conflicts): remove
4420                 - (real_check_connection_compatible): implement; match MAC address
4421                 - (real_get_best_auto_connection): correctly handle PPPoE cases
4422
4423         * src/nm-manager.c
4424                 - (check_connection_allowed): remove; unused until PolicyKit integration
4425                 - (internal_activate_device): check whether the connection is compatible
4426                         with the device before trying to activate it
4427
4428 2008-04-02  Dan Williams  <dcbw@redhat.com>
4429
4430         * system-settings/plugins/ifcfg-fedora/parser.c
4431                 - (read_mac_address): new function; read in MAC address and stuff it
4432                         into the connection
4433                 - (add_one_wep_key): remove debug spew
4434                 - (make_wireless_security_setting): validate the default TX key; don't
4435                         add the wireless-security setting if the connection doesn't need
4436                         security; don't leak the keys shvarFile on error cases
4437                 - (make_wireless_setting, make_wired_setting): populate device's MAC
4438                         address
4439
4440 2008-04-02  Dan Williams  <dcbw@redhat.com>
4441
4442         * libnm-util/nm-setting-connection.c
4443           libnm-util/nm-setting-connection.h
4444                 - (set_property, get_property, nm_setting_connection_class_init): remove
4445                         the 'lockdown' property; it's functionality will be replaced by
4446                         PolicyKit instead
4447
4448 2008-04-01  Dan Williams  <dcbw@redhat.com>
4449
4450         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4451
4452         * configure.in
4453           initscript/Makefile.am
4454           initscript/Mandriva/Makefile.am
4455           initscript/Mandriva/networkmanager.in
4456           initscript/Mandriva/networkmanagerdispatcher.in
4457           src/backends/Makefile.am
4458           src/backends/NetworkManagerMandriva.c
4459           system-settings/plugins/Makefile.am
4460                 - Add Mandriva support
4461
4462 2008-03-31  Dan Williams  <dcbw@redhat.com>
4463
4464         * src/vpn-manager/nm-vpn-service.c
4465                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4466                         errors can be passed back to the caller; also no longer scheduled
4467                         as an idle handler, but called directly; and bump up VPN service
4468                         spawn timeout, 2s is really short
4469                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4470                         but call it directly so that errors are reported on return from
4471                         ActivateConnection() and don't get lost.  If scheduled as an idle
4472                         handler, clients don't have the time to query NM for the new VPN
4473                         connection's properties before the VPN connection is torn down again
4474                         if the service couldn't be launched, and therefore launch errors
4475                         get lost.
4476
4477 2008-03-31  Dan Williams  <dcbw@redhat.com>
4478
4479         * src/vpn-manager/nm-vpn-connection.c
4480                 - (device_state_changed): send correct state on device failure too
4481                 - (plugin_state_changed): failed state means unexpected disconnection,
4482                         thus if the service goes away while the VPN connection is activated
4483                         that's a failure too
4484
4485 2008-03-31  Dan Williams  <dcbw@redhat.com>
4486
4487         * src/vpn-manager/nm-vpn-manager.c
4488           src/vpn-manager/nm-vpn-manager.h
4489                 - Make VPNManager errors more available; add a service-start-failed error
4490
4491 2008-03-31  Dan Williams  <dcbw@redhat.com>
4492
4493         * libnm-glib/nm-client.c
4494           libnm-glib/nm-client.h
4495                 - (activate_cb): pass the new active connection to callback; fix
4496                         message when no callback is specified
4497
4498 2008-03-30  Dan Williams  <dcbw@redhat.com>
4499
4500         * libnm-util/nm-setting-wireless-security.c
4501                 - (need_secrets): only require key0 if the transmit key index is also
4502                         0
4503                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4504
4505 2008-03-29  Dan Williams  <dcbw@redhat.com>
4506
4507         * libnm-util/nm-setting-8021x.c
4508           libnm-util/nm-setting-ip4-config.c
4509           libnm-util/nm-setting-vpn-properties.c
4510           libnm-util/nm-setting-vpn.c
4511           libnm-util/nm-setting-wireless-security.c
4512           libnm-util/nm-setting-wireless.c
4513           libnm-util/nm-utils.c
4514           src/dhcp-manager/nm-dhcp-manager.c
4515           src/nm-activation-request.c
4516           src/nm-ip4-config.c
4517           src/nm-manager.c
4518           src/nm-properties-changed-signal.c
4519           src/ppp-manager/nm-pppd-plugin.c
4520           src/supplicant-manager/nm-supplicant-interface.c
4521           src/vpn-manager/nm-vpn-connection.c
4522                 - consistently use nm-dbus-glib-types.h
4523
4524 2008-03-29  Dan Williams  <dcbw@redhat.com>
4525
4526         * src/vpn-manager/nm-vpn-connection.c
4527                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4528                         not string
4529
4530         * src/nm-activation-request.c
4531                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4532                         not string
4533
4534 2008-03-29  Dan Williams  <dcbw@redhat.com>
4535
4536         * libnm-glib/nm-device-802-11-wireless.c
4537                 - (access_point_added_proxy): create new APs if not found
4538
4539 2008-03-29  Dan Williams  <dcbw@redhat.com>
4540
4541         * libnm-glib/nm-client.c
4542                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4543                         before freeing them
4544
4545 2008-03-29  Dan Williams  <dcbw@redhat.com>
4546
4547         * system-settings/plugins/ifcfg-fedora/parser.c
4548                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4549                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4550
4551 2008-03-29  Dan Williams  <dcbw@redhat.com>
4552
4553         * system-settings/plugins/ifcfg-fedora/parser.c
4554                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4555
4556 2008-03-27  Dan Williams  <dcbw@redhat.com>
4557
4558         * nm-object.c
4559                 - (nm_object_queue_notify): don't notify multiple times for the same
4560                         property
4561
4562         * nm-object-private.h
4563                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4564                         if it has zero elements
4565
4566         * nm-ip4-config.c
4567                 - (finalize): use g_ptr_array_foreach() when freeing domains
4568                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4569
4570         * nm-active-connection.c
4571                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4572
4573         * nm-device-802-11-wireless.c
4574           nm-device-802-11-wireless.h
4575                 - (nm_device_802_11_wireless_get_access_points): return const; use
4576                         handle_ptr_array_return()
4577
4578         * nm-types.c
4579                 - (nm_object_array_demarshal): always create an array, even of length
4580                         zero, to distinguish between "NM returned no items" and "haven't
4581                         asked NM yet"
4582
4583         * nm-client.c
4584                 - (dispose): free active connections too
4585                 - (proxy_name_owner_changed): free active connections too when NM goes
4586                         away
4587                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4588                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4589
4590 2008-03-26  Dan Williams  <dcbw@redhat.com>
4591
4592         Rework VPN connection handling for a more consistent D-Bus API.  The
4593         VPNManager object has been removed, and active VPN connections are now the
4594         same as any other active connection.  The Manager object's ActivateConnection
4595         and DeactivateConnection methods are used to start and stop a VPN connection,
4596         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4597         When activating a VPN connection, pass the path of the active connection
4598         to which the VPN connection is tied in the 'specific_object' argument.
4599
4600         Consequently, the libnm-glib API has been reworked to match this arrangement,
4601         with the VPNManager object removed, and the NMVPNConnection objects now
4602         being subclasses of NMActiveConnection.
4603
4604 2008-03-25  Dan Williams  <dcbw@redhat.com>
4605
4606         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4607
4608         * initscript/Arch/networkmanager.in
4609           initscript/Arch/networkmanager-dispatcher.in
4610                 - Updates for Arch Linux (gnome.org #523701)
4611
4612 2008-03-25  Dan Williams  <dcbw@redhat.com>
4613
4614         * libnm-glib/nm-ip4-config.c
4615           libnm-glib/nm-active-connection.c
4616           libnm-glib/nm-access-point.c
4617                 - Use nm_object_queue_notify() instead of g_object_notify()
4618
4619         * libnm-glib/nm-device.c
4620                 - (demarshal_ip4_config): distinguish between successful but missing
4621                         ip4-config request, and unsuccessful and missing ip4-config request
4622                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4623                         path
4624                 - Use nm_object_queue_notify() instead of g_object_notify()
4625
4626         * libnm-glib/nm-device-802-11-wireless.c
4627                 - (demarshal_active_ap): distinguish between successfull but missing
4628                         active-ap request, and unsuccessful and missing active-ap request
4629                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4630                         code
4631                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4632                         for the NMClient to notify the device that wireless is disabled,
4633                         and therefore to clear the AP list and active AP
4634                 - Use nm_object_queue_notify() instead of g_object_notify()
4635
4636         * libnm-glib/nm-client.c
4637                 - (poke_wireless_devices_with_rf_status): new function
4638                 - (update_wireless_status): notify wireless devices of the rfkill status
4639                         so they can clean up if needed
4640                 - Use nm_object_queue_notify() instead of g_object_notify()
4641
4642 2008-03-25  Dan Williams  <dcbw@redhat.com>
4643
4644         * libnm-glib/nm-object.c
4645           libnm-glib/nm-object-private.h
4646                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4647                         signals to an idle handler
4648                 - (nm_object_get_property): add a timeout to the D-Bus method call
4649
4650 2008-03-25  Dan Williams  <dcbw@redhat.com>
4651
4652         * introspection/nm-device-cdma.xml
4653           introspection/nm-device-gsm.xml
4654           introspection/Makefile.am
4655           introspection/all.xml
4656                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4657
4658         * src/nm-gsm-device.h
4659           src/nm-gsm-device.c
4660           src/nm-cdma-device.h
4661           src/nm-cdma-device.c
4662           src/Makefile.am
4663                 - Implement PropertiesChanged signals
4664
4665         * libnm-glib/nm-cdma-device.c
4666           libnm-glib/nm-cdma-device.c
4667                 - Attach to PropertiesChanged signals
4668
4669 2008-03-24  Dan Williams  <dcbw@redhat.com>
4670
4671         * libnm-glib/nm-client.c
4672                 - (client_device_added_proxy): add new devices to the internal device
4673                         list so they appear to clients
4674
4675 2008-03-24  Dan Williams  <dcbw@redhat.com>
4676
4677         Massive fixup of libnm-glib to:
4678         a) have all objects (with the exception of VPN) cache their properties and
4679                 update them asynchronously on PropertiesChanged signals from NM
4680         b) return internal const data for most attributes/properties instead of
4681                 allocated values that the caller must free
4682         c) cache wrapped objects such that a given D-Bus path will always map to the
4683                 same GObject returned by libnm-glib
4684         d) remove a few signals and move them to GObject property notifications
4685         e) match recent NM D-Bus API changes for activation/deactivation
4686         f) remove some private functions from libnm-glib headers
4687
4688 2008-03-20  Dan Williams  <dcbw@redhat.com>
4689
4690         * src/nm-manager.c
4691                 - (nm_manager_update_state, manager_device_state_changed,
4692                    nm_manager_activate_device, connection_added_default_handler,
4693                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4694                         queue PropertyChanged singals when the active connections change
4695
4696 2008-03-20  Dan Williams  <dcbw@redhat.com>
4697
4698         * introspection/nm-manager.xml
4699           introspection/nm-manager-client.xml
4700                 - (ActivateConnection): return the object path of the active connection
4701                         on success
4702                 - (GetActiveConnections): remove
4703                 - (DeactivateConnection): new function; deactivate a currently active
4704                         connection
4705                 - Add an ActiveConnections property which returns an array of
4706                         active connection object paths
4707
4708         * introspection/nm-device.xml
4709                 - (Deactivate): remove
4710
4711         * introspection/all.xml
4712                 - Add ActiveConnection introspection
4713
4714         * introspection/nm-active-connection.xml
4715                 - Add the ActiveConnection object
4716
4717         * include/NetworkManager.h
4718                 - Add the Connection.Active D-Bus interface
4719
4720         * src/nm-device-interface.c
4721                 - (impl_device_deactivate): remove
4722
4723         * src/nm-activation-request.c
4724           src/nm-activation-request.c
4725           src/Makefile.am
4726                 - Implement the Connection.Active D-Bus interface
4727
4728         * src/nm-manager.c
4729                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4730                 - (nm_manager_activate_device): return the active connection path
4731                 - (connection_added_default_handler, impl_manager_activate_connection):
4732                         return the active connection to the caller
4733                 - (add_one_connection_element, impl_manager_get_active_connections):
4734                         remove
4735                 - (impl_manager_deactivate_connection): new function; deactivate an
4736                         active connection
4737
4738         * libnm-glib/nm-device.c
4739           libnm-glib/nm-device.h
4740                 - Remove Deactivate() function
4741
4742 2008-03-19  Dan Williams  <dcbw@redhat.com>
4743
4744         * introspection/nm-manager.xml
4745           introspection/nm-manager-client.xml
4746                 - Rename the ActivateDevice method to ActivateConnection to better
4747                         reflect it's usage; it's arguments get reordered a bit too
4748                 - Convert GetActiveConnections method return from a struct to a dict
4749
4750         * include/NetworkManager.h
4751                 - Define the dict keys for return value of GetActiveConnections
4752
4753         * src/nm-manager.c
4754                 - impl_manager_activate_device -> impl_manager_activate_connection
4755                 - (add_one_connection_element): return a populated hash table, not
4756                         a structure
4757
4758         * libnm-glib/nm-client.c
4759           libnm-glib/nm-client.h
4760                 - nm_client_activate_device -> nm_client_activate_connection
4761                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4762                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4763                         instead of the custom structures.  Each element of the returned list
4764                         must be freed with nm_client_free_active_connections_element()
4765
4766 2008-03-18  Dan Williams  <dcbw@redhat.com>
4767
4768         * system-settings/plugins/ifcfg-fedora/parser.c
4769           system-settings/plugins/ifcfg-fedora/parser.h
4770           system-settings/plugins/ifcfg-fedora/plugin.c
4771                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4772                         profiles.  DNS servers and searches must now be stored in the ifcfg
4773                         files themselves
4774
4775 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4776
4777         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4778         print out username and password, it's supposed to be a secret.
4779
4780         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4781         request and set the device state accordingly.
4782
4783 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4784
4785         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4786
4787         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4788
4789 2008-03-18  Dan Williams  <dcbw@redhat.com>
4790
4791         * src/vpn-manager/nm-vpn-connection.c
4792                 - (get_secrets_cb): handle new GetSecrets return format
4793
4794 2008-03-18  Dan Williams  <dcbw@redhat.com>
4795
4796         Adapt system settings service for split 802.1x.
4797
4798         * system-settings/src/nm-system-config-interface.h
4799                 - clarify return value of get_secrets()
4800
4801         * system-settings/src/dbus-settings.c
4802                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4803                 - (check_for_secrets): check if there actually secrets returned by a
4804                         plugin
4805                 - (exported_connection_get_secrets): just return the plugin-returned
4806                         hash of settings' secrets if it looks valid
4807
4808         * system-settings/plugins/ifcfg-fedora/plugin.c
4809                 - (get_secrets): add split secrets with correct format to reply hash
4810
4811         * system-settings/plugins/ifcfg-fedora/parser.c
4812           system-settings/plugins/ifcfg-fedora/parser.h
4813                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4814                    connection_data_free, connection_data_add): keep secrets for
4815                         different settings in different hashes
4816
4817 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4818
4819         Clean up activating device deactivation.
4820
4821         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4822         should be done whether the device activation gets cancelled or the device
4823         is just getting deactivated.
4824         (nm_device_activation_cancel): Remove.
4825         (nm_device_deactivate_quickly): Handle the case where device is activating.
4826
4827         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4828         It does the exact same thing as real_deactivate_quickly().
4829
4830 2008-03-17  Dan Williams  <dcbw@redhat.com>
4831
4832         Split the 802.1x bits out of the wireless-security setting so they are
4833         generalized enough for wired 802.1x to use too.
4834
4835         * introspection/nm-exported-connection.xml
4836                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4837                         of just a hash of the secrets for one setting
4838
4839         * libnm-util/nm-setting-wireless-security.c
4840           libnm-util/nm-setting-wireless-security.h
4841                 - Remove 802.1x-specific stuff
4842                 - Added leap-username and leap-password properties for old-school LEAP
4843
4844         * src/nm-device.c
4845           src/nm-device.h
4846                 - (connection_secrets_updated_cb): take a list of updated settings names,
4847                         not just one
4848
4849         * src/supplicant-manager/nm-supplicant-config.c
4850           src/supplicant-manager/nm-supplicant-config.h
4851                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4852                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4853                         to nm_supplicant_config_add_setting_8021x()
4854                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4855                         the supplicant config
4856
4857         * src/nm-device-802-11-wireless.c
4858                 - (build_supplicant_config): pass in the 802.1x setting too, if any
4859                 - (real_connection_secrets_updated): take a list of updated settings
4860                         names, not just one
4861
4862         * src/nm-device-802-3-ethernet.c
4863           src/nm-cdma-device.c
4864           src/nm-gsm-device.c
4865                 - (real_connection_secrets_updated_cb): take a list of updated settings
4866                         names, not just one
4867
4868         * src/nm-activation-request.c
4869           src/nm-activation-request.h
4870                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4871                         now passes a list of updated settings names, not just one
4872                 - (update_one_setting): new function; handle one updated setting
4873                 - (get_secrets_cb): handle multiple settings returned from the
4874                         settings service; have to be careful of ordering here as there are
4875                         some dependencies between settings (ex. wireless-security and 802.1x
4876                         in some cases)
4877
4878         * src/marshallers/nm-marshal.list
4879                 - new marshaller for connection-secrets-updated signal
4880
4881         * libnm-util/nm-setting-8021x.c
4882                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4883                         methods
4884                 - (verify): a valid 'eap' property is now required
4885
4886         * libnm-util/nm-connection.c
4887                 - (register_default_settings): add priorities to settings; there are
4888                         some dependencies between settings, and during the need_secrets
4889                         calls this priority needs to be respected.  For example, only the
4890                         wireless-security setting knows whether or not the connection is
4891                         going to use 802.1x or now, so it must be asked for secrets before
4892                         any existing 802.1x setting is
4893                 - (nm_connection_lookup_setting_type): expose
4894
4895         * libnm-util/nm-setting-wireless.c
4896                 - (verify): should verify even if all_settings is NULL; otherwise won't
4897                         catch the case where there is missing security
4898
4899         * libnm-util/nm-setting-wireless-security.c
4900                 - Remove everything to do with 802.1x
4901                 - Add old-school LEAP specific properties for username and password
4902                 - (need_secrets): rework LEAP secrets checking
4903                 - (verify): rework for LEAP and 802.1x verification
4904
4905 2008-03-17  Dan Williams  <dcbw@redhat.com>
4906
4907         * src/NetworkManagerPolicy.c
4908                 - (auto_activate_device): always remove the current activation check
4909                         from the pending activation list, otherwise when the policy gets
4910                         destroyed on NM exit it will attempt to free the already freed
4911                         activation check
4912
4913 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4914
4915         * src/backends/NetworkManagerSlackware.c 
4916         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4917
4918         * src/backends/NetworkManagerSuSE.c: Add missing includes.
4919
4920 2008-03-14  Dan Williams  <dcbw@redhat.com>
4921
4922         * src/nm-manager.c
4923                 - (nm_device_interface_get_iface): g_object_get() will return an
4924                         allocated value, so this function must not return const
4925                 - (nm_device_interface_activate): free returned iface
4926
4927 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4928
4929         * libnm-util/Makefile.am: Add new files to build.
4930
4931         * libnm-util/nm-connection.c: Register NMSetting8021x.
4932
4933         * libnm-util/nm-setting-8021x.c
4934         * libnm-util/nm-setting-8021x.h: Implement.
4935
4936 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4937
4938         * libnm-util/Makefile.am: Add new files to build.
4939
4940         * libnm-util/nm-connection.c: Register NMSetting8021x.
4941
4942         * libnm-util/nm-setting-8021x.c
4943         * libnm-util/nm-setting-8021x.h: Implement.
4944
4945 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4946
4947         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4948         data.
4949
4950 2008-03-14  Dan Williams  <dcbw@redhat.com>
4951
4952         * include/wireless-helper.h
4953           include/Makefile.am
4954                 - One place for all the junk needed for #including wireless.h
4955
4956         * test/nm-tool.c
4957           src/NetworkManagerAP.c
4958           src/wpa.c
4959           src/Makefile.am
4960           libnm-util/nm-utils.c
4961           libnm-util/nm-setting-wireless.c
4962           libnm-glib/nm-device-802-11-wireless.c
4963           libnm-glib/nm-access-point.c
4964           libnm-glib/libnm-glib-test.c
4965                 - include wireless-helper.h, not iwlib.h
4966
4967         * configure.in
4968                 - Don't need libiw really, just need to check for wireless.h
4969
4970         * src/kernel-types.h
4971                 - Remove; used types moved into wpa.c
4972
4973         * src/nm-device-802-11-wireless.c
4974                 - (nm_device_802_11_wireless_update_signal_strength,
4975                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4976                    nm_device_802_11_wireless_set_mode,
4977                    nm_device_802_11_wireless_get_frequency,
4978                    nm_device_802_11_wireless_get_ssid,
4979                    nm_device_802_11_wireless_set_ssid,
4980                    nm_device_802_11_wireless_get_bitrate,
4981                    nm_device_802_11_wireless_get_bssid,
4982                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4983                         instead of iwlib functions
4984
4985 2008-03-14  Dan Williams  <dcbw@redhat.com>
4986
4987         * src/ppp-manager/nm-ppp-manager.c
4988                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4989                         should only take the DBusGMethodInvocation argument, not user/pass
4990                         too.  With dbus-glib, async functions only take 2 C arguments since
4991                         the real dbus method arguments get passed back with
4992                         dbus_g_method_return()
4993
4994 2008-03-13  Tambet Ingo  <tambet@gmail.com>
4995
4996         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
4997         Adapt the changes of NMSettingIP4Config.
4998
4999 2008-03-13  Dan Williams  <dcbw@redhat.com>
5000
5001         * src/NetworkManagerUtils.c
5002           src/NetworkManagerUtils.h
5003                 - (nm_ether_ntop): replacement for iw_ether_ntop()
5004
5005         * src/NetworkManagerAP.c
5006           src/nm-device-802-11-wireless.c
5007           src/nm-device-802-3-ethernet.c
5008                 - s/iw_ether_ntop/nm_ether_ntop/g
5009
5010 2008-03-13  Dan Williams  <dcbw@redhat.com>
5011
5012         * src/NetworkManagerPolicy.c
5013                 - (update_routing_and_dns): never set the default route through an
5014                         IPv4LL addressed device
5015
5016 2008-03-13  Dan Williams  <dcbw@redhat.com>
5017
5018         * NetworkManagerUtils.c
5019           NetworkManagerUtils.h
5020                 - Remove NMSock stuff
5021                 - Remove the completion stuff
5022
5023         * nm-device.c
5024           nm-device.h
5025           NetworkManager.c
5026           NetworkManagerSystem.c
5027           autoip.c
5028           nm-device-802-11-wireless.c
5029           nm-device-802-3-ethernet.c
5030                 - Remove NMSock and completion stuff
5031                 - Remove nm_ioctl_info()
5032
5033 2008-03-12  Dan Williams  <dcbw@redhat.com>
5034
5035         * src/nm-device.c
5036                 - (merge_ip4_config): avoid duplicates
5037
5038 2008-03-12  Dan Williams  <dcbw@redhat.com>
5039
5040         * libnm-util/nm-setting-ip4-config.c
5041           libnm-util/nm-setting-ip4-config.h
5042                 - Remove 'manual' and 'autoip' properties
5043                 - Add 'method' property
5044                 - (verify): fix verification with 'method'
5045                 - (finalize): free 'method'
5046                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
5047                         up for 'method'
5048
5049         * src/nm-device.c
5050                 - (real_act_stage3_ip_config_start): check IP4Config method
5051                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
5052                         the future
5053                 - (merge_ip4_config): IP settings are valid with DHCP too
5054                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
5055                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
5056
5057         * src/nm-device-802-11-wireless.c
5058                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
5059                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5060                         only on demand
5061
5062         * system-settings/plugins/ifcfg-fedora/parser.c
5063           system-settings/plugins/ifcfg-suse/parser.c
5064                 - (make_ip4_setting): fix up for 'method'
5065
5066 2008-03-12  Dan Williams  <dcbw@redhat.com>
5067
5068         * system-settings/plugins/ifcfg-fedora/parser.c
5069           system-settings/plugins/ifcfg-fedora/parser.h
5070                 - (get_ifcfg_name): ignore more file suffixes
5071                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5072
5073 2008-03-12  Dan Williams  <dcbw@redhat.com>
5074
5075         * configure.in
5076                 - Bring in the bits of gnome-common we actually use (all 15 lines)
5077
5078 2008-03-12  Dan Williams  <dcbw@redhat.com>
5079
5080         * system-settings/plugins/ifcfg-fedora/plugin.c
5081                 - (write_auto_wired_connection): new function; write out an auto
5082                         wired connection file since the applet isn't doing it any more
5083                 - (reload_all_connections): write out the auto wired connection file
5084                         if there aren't any wired connections already
5085                 - (init): don't leak a GError
5086
5087 2008-03-12  Dan Williams  <dcbw@redhat.com>
5088
5089         * src/nm-device-interface.c
5090                 - (nm_device_interface_activate): print the ID of the connection
5091                         that's about to be activated
5092
5093 2008-03-12  Dan Williams  <dcbw@redhat.com>
5094
5095         Harmonize the 802.11 bitrate API
5096
5097         * introspection/nm-access-point.xml
5098                 - 'Rate' -> 'MaxBitrate'; clarify units
5099
5100         * introspection/nm-device-802-11-wireless.xml
5101                 - Clarify units of 'Bitrate'
5102
5103         * src/NetworkManagerAP.c
5104           src/NetworkManagerAP.h
5105                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5106                         property to 'max-bitrate'
5107                 - (foreach_property_cb): convert rate to Kb/s
5108
5109         * src/nm-device-802-11-wireless.c
5110                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5111
5112         * libnm-glib/nm-access-point.c
5113           libnm-glib/nm-access-point.h
5114                 - 'rate' -> 'max-bitrate'
5115
5116         * test/nm-tool.c
5117           libnm-glib/libnm-glib-test.c
5118                 - Fix up for these changes
5119
5120 2008-03-12  Dan Williams  <dcbw@redhat.com>
5121
5122         * src/nm-device.c
5123                 - (nm_device_set_ip4_config): don't send property notifications when
5124                         the ip4 config is set to NULL; it causes a PropertyChanged signal
5125                         which dbus-glib can't parse because the value is NULL, which isn't
5126                         a legal object path.  Setting the IP4 config to NULL is only
5127                         valid when deactivating a device anyway, so the device state change
5128                         will alert listeners that the ip4 config is invalid.
5129
5130 2008-03-12  Dan Williams  <dcbw@redhat.com>
5131
5132         * src/nm-properties-changed-signal.c
5133                 - (add_to_string): better handling of NULL objects
5134
5135 2008-03-12  Dan Williams  <dcbw@redhat.com>
5136
5137         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5138         convert the libnm-glib NMDevice8023Ethernet to cached properties
5139
5140         * introspection/nm-device-802-3-ethernet.xml
5141                 - New 'Carrier' property
5142                 - New 'PropertiesChanged' signal
5143
5144         * introspection/nm-device.xml
5145                 - Remove 'Carrier' property
5146                 - Remove 'CarrierChanged' signal
5147
5148         * src/nm-device-interface.c
5149           src/nm-device-interface.h
5150                 - (nm_device_interface_init): remove 'carrier' property and
5151                         'carrier-changed' signal
5152
5153         * src/nm-device.c
5154           src/nm-device.h
5155                 - (nm_device_get_carrier, nm_device_set_carrier): remove
5156                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5157                         the link here; wired device will handle that
5158                 - (handle_dhcp_lease_change): don't bother updating link here
5159                 - (get_property, nm_device_class_init): remove carrier property
5160
5161         * src/nm-device-802-11-wireless.c
5162                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5163                         real_update_link(); wireless devices don't use carrier at all
5164                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5165                    supplicant_iface_connection_state_cb_handler,
5166                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
5167
5168         * src/nm-device-802-3-ethernet.c
5169           src/nm-device-802-3-ethernet.h
5170                 - (nm_device_802_3_ethernet_carrier_on,
5171                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5172                         instead of nm_device_set_carrier()
5173                 - (device_state_changed): update link from sysfs on activation;
5174                         replaces real_update_link()
5175                 - (real_update_link): remove, replaced by device_state_changed()
5176                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5177                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5178                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5179                         new get_carrier function
5180                 - (get_property): add 'carrier' property
5181                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5182                         hook into property-changed signal helper
5183
5184         * src/NetworkManagerPolicy.c
5185                 - (device_carrier_changed): will only ever be called with a wired device
5186                 - (device_added): only hook up to carrier-changed for wired devices
5187
5188         * libnm-glib/nm-device.c
5189           libnm-glib/nm-device.h
5190                 - (constructor, nm_device_class_init): remove carrier-changed signal
5191                 - (device_carrier_changed_proxy): remove; unused
5192                 - (nm_device_get_carrier): remove; carrier a property of wired devices
5193
5194         * libnm-glib/nm-device-802-3-ethernet.c
5195           libnm-glib/nm-device-802-3-ethernet.h
5196                 - Convert to cached properties like AP and Wireless objects
5197                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5198                         instead of a 'char *', return value should not be freed
5199                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5200                 - (constructor): hook into properties-changed helper
5201                 - (set_property, get_property): new functions
5202                 - (nm_device_802_3_ethernet_class_init): export GObject properties
5203
5204         * test/nm-tool.c
5205                 - (detail_device): strdup the wired hardware address too since it's
5206                         cached now
5207
5208         * libnm-glib/libnm-glib-test.c
5209                 - (dump_wired): strdup the wired hardware address too since it's
5210                         cached now
5211
5212 2008-03-12  Dan Williams  <dcbw@redhat.com>
5213
5214         * libnm-util/nm-setting-ip4-config.c
5215           libnm-util/nm-setting-ip4-config.h
5216                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5217                         the 'autoip' property from the spec
5218
5219 2008-03-11  Dan Williams  <dcbw@redhat.com>
5220
5221         * src/backends/NetworkManagerGeneric.c
5222           src/backends/NetworkManagerGeneric.h
5223                 - (nm_generic_device_get_use_dhcp): remove
5224
5225 2008-03-11  Dan Williams  <dcbw@redhat.com>
5226
5227         * src/nm-device.c
5228                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5229                         already in nm_device_set_ip4_config()
5230                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5231                         due to a DHCP rebind fails
5232                 - (nm_device_set_ip4_config): send property notifications when the
5233                         ip4 config changes
5234                 - (get_property): only report IP4Config property during valid states
5235
5236         * src/NetworkManagerPolicy.c
5237                 - (update_routing_and_dns): ignore devices that don't have an ip4
5238                         config; add parameter 'force_update' to allow callers to specify
5239                         that changes should be made even if the default device doesn't change
5240                 - (device_ip4_config_changed): update DNS and routing when the device's
5241                         IP4Config changes, like for DHCP updates
5242                 - (device_added): listen for ip4-config property changes
5243
5244 2008-03-11  Dan Williams  <dcbw@redhat.com>
5245
5246         Fix address handling as a result of DHCP rebind/renew/reboot.
5247
5248         * src/NetworkManagerSystem.c
5249                 - (check_one_address): delete an address if it doesn't match a given
5250                         one for the same interface
5251                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5252                         be smarter about flushing addresses (only flush ones that don't
5253                         match the one we're about to apply)
5254
5255         * src/backends/NetworkManagerDebian.c
5256           src/backends/NetworkManagerSuSE.c
5257           src/backends/NetworkManagerArch.c
5258           src/backends/NetworkManagerSlackware.c
5259           src/backends/NetworkManagerRedHat.c
5260           src/backends/NetworkManagerPaldo.c
5261           src/backends/NetworkManagerFrugalware.c
5262           src/backends/NetworkManagerGentoo.c
5263                 - (nm_system_delete_default_route): remove
5264
5265         * src/backends/NetworkManagerGeneric.c
5266           src/backends/NetworkManagerGeneric.h
5267                 - (nm_generic_enable_loopback): fix the loopback device label
5268                 - (nm_generic_delete_default_route): remove; no longer used
5269
5270 2008-03-11  Dan Williams  <dcbw@redhat.com>
5271
5272         * src/nm-device-interface.h
5273                 - Delimit property name words with '-', otherwise g_object_notify()
5274                         doesn't work the way we expect
5275
5276 2008-03-11  Tambet Ingo  <tambet@gmail.com>
5277
5278         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5279
5280 2008-03-11  Dan Williams  <dcbw@redhat.com>
5281
5282         * src/NetworkManagerPolicy.c
5283                 - (update_routing_and_dns): don't change anything if the default device
5284                         hasn't changed; print something out when switching the default route
5285                         and DNS
5286
5287 2008-03-10  Tambet Ingo  <tambet@gmail.com>
5288
5289         Implement PPPoE.
5290
5291         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5292         setting. Use "nic-$eth".
5293
5294         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5295         the device is activating here to fix a race condition.
5296
5297         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5298
5299         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5300         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5301         (nm_ppp_manager_start): Take activation request instead of connection, we might
5302         need it for asking secrets.
5303         (nm_ppp_manager_update_secrets): Implement.
5304
5305         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5306         ppp manager start. It might be needed for asking secrets.
5307
5308         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5309         (ppp_state_changed): Handle pppd daemon disappearing.
5310         (pppoe_stage2_config): Send activation request to ppp manager start.
5311
5312         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5313
5314         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5315         username and password.
5316         
5317 2008-03-10  Dan Williams  <dcbw@redhat.com>
5318
5319         * src/nm-device.c
5320                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5321                         response to a DHCP lease change
5322                 - (dhcp_state_changed): handle DHCP lease changes while activated
5323                 - (nm_device_set_ip4_config): remove a previously set named config
5324                         when setting an ip4 config
5325
5326 2008-03-10  Dan Williams  <dcbw@redhat.com>
5327
5328         * src/nm-serial-device.c
5329                 - (nm_serial_device_send_command): report errno on error
5330                 - (get_reply_got_data): limit the size of the overall buffer
5331                 - (wait_for_reply_info_destroy): destroy result string
5332                 - (wait_for_reply_got_data): append received data to an overall buffer
5333                         until timeout, filled buffer, or error instead of keeping a per-call
5334                         buffer.  Some devices send data slowly enough that this function
5335                         gets called multiple times for the same command stream.
5336                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5337                         wait_for_reply_got_data() here
5338
5339 2008-03-10  Dan Williams  <dcbw@redhat.com>
5340
5341         * src/nm-cdma-device.c
5342                 - (do_dial, init_modem): handle errors from
5343                         nm_serial_device_send_command_string()
5344
5345         * src/nm-gsm-device.c
5346                 - (do_dial, manual_registration, automatic_registration_get_network,
5347                    automatic_registration, enter_pin, check_pin, init_modem): handle
5348                         errors from nm_serial_device_send_command_string()
5349
5350 2008-03-10  Dan Williams  <dcbw@redhat.com>
5351
5352         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5353
5354         * src/named-manager/nm-named-manager.c
5355                 - (compute_searches): prefer searches before domains
5356                 - (compute_domain): new function
5357                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5358                 - (merge_one_ip4_config): if there are no searches in the source config,
5359                         merge domains of the source config into the target config
5360                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5361
5362 2008-03-10  Dan Williams  <dcbw@redhat.com>
5363
5364         * src/nm-serial-device.c
5365                 - (get_reply_got_data): clean up indentation, shrink serial buffer
5366                 - (wait_for_reply_got_data): try to handle slower serial devices where
5367                         the reply is broken up into multiple reads by concatenating replies
5368                         together until either an error is received or the search string is
5369                         found
5370
5371 2008-03-10  Dan Williams  <dcbw@redhat.com>
5372
5373         * src/nm-device.c
5374                 - (nm_device_bring_down): deactivate the device if it's activating too,
5375                         not just if it's already activated.  This makes sure that everything
5376                         from an association attempt is cleaned up (like DHCP for example)
5377
5378 2008-03-10  Dan Williams  <dcbw@redhat.com>
5379
5380         * src/nm-serial-device.c
5381                 - (config_fd): report error from TCSETA
5382                 - (nm_serial_device_open): fail when config_fd() fails
5383
5384 2008-03-10  Dan Williams  <dcbw@redhat.com>
5385
5386         * src/nm-ip4-config.c
5387                 - (nm_ip4_config_init): allocate searches list
5388                 - (finalize): free searches list
5389
5390 2008-03-09  Dan Williams  <dcbw@redhat.com>
5391
5392         Patch from Bas Zoetekouw <bas@debian.org>
5393
5394         * src/dhcp-manager/nm-dhcp-manager.c
5395                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5396
5397 2008-03-09  Dan Williams  <dcbw@redhat.com>
5398
5399         Patch from Bas Zoetekouw <bas@debian.org>
5400
5401         * src/nm-ip4-config.c
5402           src/nm-ip4-config.h
5403                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5404                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
5405                         domains.  'searches' is the correct way to store multiple search
5406                         domains, whereas 'domains' is really just supposed to store one
5407                         domain.  Some sites abuse the DHCP 'domain-name' option to push
5408                         search domains to the client.
5409                 - (nm_ip4_config_add_domain): group with related functions (my patch)
5410
5411 2008-03-09  Dan Williams  <dcbw@redhat.com>
5412
5413         * src/dhcp-manager/nm-dhcp-manager.c
5414                 - (dhclient_run): send interface-specific config files to dhclient
5415
5416 2008-03-07  Dan Williams  <dcbw@redhat.com>
5417
5418         * system-settings/plugins/ifcfg-fedora/parser.c
5419                 - (is_wireless_device): new function; test a device for wireless
5420                         extensions
5421                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5422                         test the device for wireless extensions to determine the type
5423
5424 2008-03-07  Dan Williams  <dcbw@redhat.com>
5425
5426         Change manager's StateChange signal to StateChanged for consistency.
5427
5428         * introspection/nm-manager.xml
5429                 - Add 'StateChanged' signal
5430                 - Move 'StateChange' down to the deprecated section
5431
5432         * src/nm-hal-manager.c
5433                 - (nm_hal_manager_new): connect to 'state-changed' instead
5434
5435         * src/NetworkManagerPolicy.c
5436                 - (nm_policy_new): connect to 'state-changed' instead
5437
5438         * src/nm-manager.c
5439           src/nm-manager.h
5440                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5441                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5442                         of 'state-change'
5443
5444         * libnm-glib/nm-client.c
5445           libnm-glib/nm-client.h
5446                 - (constructor, nm_client_class_init, client_state_changed_proxy):
5447                         track and proxy 'state-changed' instead of 'state-change'
5448
5449 2008-03-07  Dan Williams  <dcbw@redhat.com>
5450
5451         First pass of multiple active device support.  Expect bugs.
5452
5453         * src/nm-ip4-config.c
5454           src/nm-ip4-config.h
5455                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5456                         there are better ways to do this in the named manager
5457
5458         * src/nm-device.c
5459           src/nm-device.h
5460                 - (nm_device_can_activate): return whether the device can activate a
5461                         connection right now; taking into account things like carrier state
5462                         and rfkill state
5463                 - (nm_device_get_best_auto_connection): renamed from
5464                         nm_device_get_best_connection
5465                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5466                         device subclasses themselves, so that each device can override the
5467                         MTU from it's NMSetting subclass if needed
5468                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5469                         in NetworkManagerSystem.c, not here
5470
5471         * src/named-manager/nm-named-manager.c
5472           src/named-manager/nm-named-manager.h
5473                 - (nm_named_manager_name_owner_changed,
5474                    nm_named_manager_dbus_connection_changed): fix for changes to
5475                         rewrite_resolv_conf()
5476                 - (compute_nameservers): don't need the NMNamedManager at all, remove
5477                         from parameter list
5478                 - (merge_one_ip4_config): new function; merge ip4 configs together
5479                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5480                         ip4 configs; the VPN config takes precedence, then the best
5481                         device config, then the rest of the configs
5482                 - (get_domain_for_config): take the NMNamedManager as an argument
5483                         to check whether the config is the VPN config
5484                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5485                         attribute from ip4 configs
5486                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5487                 - (remove_ip4_config_from_named): fix for changes to
5488                         get_domain_for_config()
5489                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5490                         based on its type; callers must pass in the type now
5491                 - (get_last_default_domain): remove, unused
5492                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5493
5494         * src/nm-device-802-11-wireless.c
5495                 - (real_can_activate): new function
5496                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5497                 - (real_act_stage4_get_ip4_config): handle MTU override
5498
5499         * src/nm-device-802-3-ethernet.c
5500                 - (real_can_activate): new function
5501                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5502                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5503
5504         * src/vpn-manager/nm-vpn-connection.c
5505                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5506                         attribute on the ip4 config
5507
5508         * src/NetworkManagerPolicy.c
5509                 - (nm_policy_auto_get_best_device): remove
5510                 - (nm_policy_device_change_check): remove
5511                 - (update_default_route): new function; set the default route via
5512                         the specified device
5513                 - (get_device_priority): new function; return the priority number of
5514                         a device type WRT which one should have the default route.  Order is
5515                         (highest to lowest)  wired, wireless, GSM, CDMA.
5516                 - (update_routing_and_dns): new function; determine which device should
5517                         have the default route, then update the routing table and DNS
5518                 - (maybe_auto_activate_device): new function; if a device is now
5519                         available for activation, find out what connection it would like to
5520                         activate and do it
5521                 - (schedule_activate_check): new function; if a device can be activated
5522                         now, schedule the activation.  Each device may have only one
5523                         pending activation at a given time.
5524                 - (device_state_changed): if activation was canceled, try again,
5525                         possibly with another connection; if the device was activated,
5526                         update routing and DNS; if the device was deactivated, try again
5527                         with another connection
5528                 - (device_carrier_changed): if there is no carrier, deactivate the
5529                         device; otherwise schedule an activation check for the device
5530                 - (wireless_networks_changed): schedule an activation check for the
5531                         device
5532                 - (device_added): keep track of the signal handler IDs so they can
5533                         be removed when the device goes away
5534                 - (device_removed): remove any signal handlers that might be attached
5535                         to the device; update routing and DNS
5536                 - (schedule_activate_all): new function
5537                 - (connections_added, connection_added, connection_updated): when
5538                         connections change, schedule all devices for an activation check
5539                 - (connection_removed): when a device is deactivated because its
5540                         connection was removed, schedule another activation check for it
5541                 - (nm_policy_destroy): destroy pending activations and disconnect
5542                         all device signal handlers
5543
5544         * src/nm-manager.c
5545                 - (nm_manager_activate_device): if the device was already actived,
5546                         deactivate it
5547                 - (deactivate_old_device): remove
5548                 - (connection_added_default_handler, impl_manager_activate_device):
5549                         don't deactivate other devices when activating this one
5550
5551         * src/backends/NetworkManagerGentoo.c
5552           src/backends/NetworkManagerFrugalware.c
5553           src/backends/NetworkManagerPaldo.c
5554           src/backends/NetworkManagerRedHat.c
5555           src/backends/NetworkManagerSlackware.c
5556           src/backends/NetworkManagerArch.c
5557           src/backends/NetworkManagerSuSE.c
5558           src/backends/NetworkManagerDebian.c
5559                 - (nm_system_get_mtu): remove; MTU should be provided through the
5560                         distro's system settings service plugin instead
5561                 - (nm_system_device_add_default_route_via_device): remove
5562                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5563                 - (nm_system_device_replace_default_route): new function; call
5564                         generic implementation
5565
5566         * src/backends/NetworkManagerGeneric.c
5567           src/backends/NetworkManagerGeneric.h
5568                 - (nm_generic_device_add_default_route_via_device,
5569                    nm_generic_device_add_default_route_via_device_with_iface): remove
5570                 - (nm_generic_device_replace_default_route): replace the default route
5571                         with the given route via some gateway
5572
5573         * src/NetworkManagerSystem.c
5574           src/NetworkManagerSystem.h
5575                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5576                         to routing and DNS; but set the MTU here
5577                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5578                         ip_iface of the active device; use the standard MTU setting function
5579                 - (nm_system_set_mtu): remove
5580                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5581
5582 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5583
5584         Rework the interaction between ppp manager and pppd plugin. Register a well
5585         known DBUS service in manager and let the plugin call it's methods instead
5586         of listening plugin's signals.
5587
5588         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5589         of emitting signals.
5590
5591         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5592
5593         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5594
5595         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5596         nm_ppp_manager_start().
5597
5598         * introspection/nm-ppp-manager.xml: New file.
5599
5600         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5601         the case correctly where driver is trying to send -1 for the speed, which gets
5602         casted to u16 and thus is always > 0.
5603
5604 2008-03-07  Dan Williams  <dcbw@redhat.com>
5605
5606         * src/nm-hal-manager.c
5607                 - (nm_get_device_driver_name): use net.originating_device first, fall
5608                         back to physical device.  HAL has deprecated physical_device.
5609
5610         * libnm-glib/nm-device.c
5611                 - (get_product_and_vendor): use net.originating_device first, fall
5612                         back to physical device.  HAL has deprecated physical_device.
5613                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5614
5615 2008-03-07  Dan Williams  <dcbw@redhat.com>
5616
5617         * src/nm-netlink.c
5618                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5619                         last commit; fix that
5620                 - (get_link_cache): print error string
5621
5622 2008-03-07  Dan Williams  <dcbw@redhat.com>
5623
5624         * src/nm-netlink.c
5625                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5626                         don't need this hack any more (Benoit Boissinot)
5627
5628 2008-03-06  Dan Williams  <dcbw@redhat.com>
5629
5630         * autogen.sh
5631                 - Die gnome-common, die
5632
5633 2008-03-04  Dan Williams  <dcbw@redhat.com>
5634
5635         Patch from Michael Biebl <biebl@debian.org>
5636
5637         * NetworkManager.pc.in
5638                 - doesn't actually depend on dbus-1
5639
5640         * libnm-util/nm-utils.h
5641                 - remove unused #include <dbus/dbus.h>
5642
5643         * libnm-glib/libnm_glib.pc.in
5644                 - depends on glib and dbus-glib
5645
5646 2008-03-02  Dan Williams  <dcbw@redhat.com>
5647
5648         * src/NetworkManagerPolicy.c
5649                 - s/device_state_changed_idle_id/update_state_id/
5650
5651 2008-03-02  Dan Williams  <dcbw@redhat.com>
5652
5653         * src/nm-device.c
5654           src/nm-device.h
5655           src/nm-device-802-11-wireless.c
5656           src/nm-device-802-3-ethernet.c
5657           src/NetworkManagerPolicy.c
5658                 - s/link_active/carrier
5659                 - nm_device_set_active_link() -> nm_device_set_carrier()
5660                 - nm_device_has_active_link() -> nm_device_get_carrier()
5661
5662 2008-03-02  Dan Williams  <dcbw@redhat.com>
5663
5664         * system-settings/plugins/ifcfg-fedora/parser.c
5665                 - (make_wireless_setting): fail connection creation on missing SSID
5666
5667 2008-02-29  Dan Williams  <dcbw@redhat.com>
5668
5669         * src/NetworkManagerPolicy.c
5670                 - (nm_policy_device_change_check): ensure that a previously active
5671                         device with a system connection has a link before denying a switch
5672                         to a user connection
5673
5674 2008-02-29  Dan Williams  <dcbw@redhat.com>
5675
5676         * src/nm-device-802-11-wireless.c
5677                 - (link_timeout_cb): try again if scanning; deactivate the device when
5678                         activated if the link dies
5679                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5680                         15 seconds
5681
5682 2008-02-29  Dan Williams  <dcbw@redhat.com>
5683
5684         * src/nm-device-802-11-wireless.c
5685           src/nm-device-802-11-wireless.h
5686                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5687                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5688                 - (device_cleanup): reset the scan interval lower when the device
5689                         deactivates
5690                 - (can_scan): base decision mostly off device state, not supplicant
5691                         interface state since the supplicant interface state isn't a
5692                         great indicator of whether the device is active or not
5693                 - (request_wireless_scan): clean up; schedule the next scan here
5694                 - (schedule_scan): only back the scan interval off if a new scan
5695                         actually gets scheduled; and make scan intervals tighter when the
5696                         device is disconnected
5697                 - (supplicant_iface_state_cb_handler): fold in the bits of
5698                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5699                         interval to minimum
5700                 - (activation_success_handler): reset scan interval to something
5701                         reasonable 
5702
5703 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5704
5705         reviewed by: Steev <steev@steev.net>
5706
5707         * configure.in:
5708         * src/backends/NetworkManagerGentoo.c:
5709         (nm_system_restart_mdns_responder):
5710                 Howl is no longer a supported mDNS provider
5711
5712 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5713
5714         Get rid of a bunch of unused distro specific functions.
5715
5716 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5717
5718         Implement suse plugin for system settings daemon.
5719
5720         * system-settings/plugins/ifcfg-suse/*: Implement.
5721
5722         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5723         suse.
5724
5725         * configure.in: Check (without failing) for gio.
5726         Create ifcfg-suse plugin's Makefile.
5727
5728 2008-02-20  Dan Williams  <dcbw@redhat.com>
5729
5730         * libnm-util/nm-connection.c
5731           libnm-util/nm-connection.h
5732                 - (nm_connection_compare): accept compare flags and pass them to the
5733                         setting compare function
5734
5735         * libnm-util/nm-setting.c
5736           libnm-util/nm-setting.h
5737                 - (nm_setting_compare): accept compare flags; ignore properties that are
5738                         marked fuzzy
5739
5740         * libnm-util/nm-setting-connection.c
5741           libnm-util/nm-setting-wireless.c
5742           libnm-util/nm-setting-ppp.c
5743           libnm-util/nm-setting-wired.c
5744                 - Mark some setting properties as ignorable when doing a fuzzy compare
5745
5746         * src/nm-device.c
5747                 - (device_activation_precheck): use exact compare
5748
5749 2008-02-20  Dan Williams  <dcbw@redhat.com>
5750
5751         * src/NetworkManagerPolicy.c
5752                 - (nm_policy_device_change_check): get scope off the connection, not
5753                         using the manager helper
5754
5755         * src/nm-manager.c
5756           src/nm-manager.h
5757                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5758                 - (connection_get_settings_cb): set scope and path on connection, not
5759                         using GObject data items
5760                 - (get_connection_for_proxy): don't need to return path, since that
5761                         can be gotten from the connection
5762                 - (get_connection_for_proxy): get path off the connection, not from
5763                         parameters
5764                 - (connection_removed_cb, connection_updated_cb): don't need to get
5765                         path from get_connection_for_proxy(); get scope off the connection
5766                         instead of using GObject data items
5767                 - (connection_added_default_handler, add_one_connection_element): use
5768                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5769                 - (nm_manager_get_connection_dbus_path): remove
5770                 - (nm_manager_get_connection_scope): remove
5771
5772 2008-02-20  Dan Williams  <dcbw@redhat.com>
5773
5774         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5775                 on confusing names
5776
5777         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5778                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5779                 NMExportedConnection
5780
5781         * Internally rename NMConnectionType -> NMConnectionScope
5782
5783         * Provide default implementations of the 'get_id' and 'get_settings' methods
5784                 of NMExportedConnection
5785
5786 2008-02-15  Dan Williams  <dcbw@redhat.com>
5787
5788         * src/nm-device-802-11-wireless.c
5789                 - (device_cleanup): release the AP list here too so that the AP list
5790                         doesn't survive across suspend/resume and up/down.  There is some
5791                         room for optimization, for example blow the list away when the card
5792                         brought back up, but only if the device has only been down for a
5793                         minute or more.
5794
5795 2008-02-15  Dan Williams  <dcbw@redhat.com>
5796
5797         * src/nm-hal-manager.c
5798                 - (modem_device_creator): recognize new HAL modem capabilities
5799
5800 2008-02-12  Dan Williams  <dcbw@redhat.com>
5801
5802         * system-settings/plugins/ifcfg-fedora/plugin.c
5803                 - (watch_path): handle IN_DELETE_SELF too
5804                 - (handle_connection_changed): notify when removing a connection
5805                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5806                         case of a file moving out of the profile directory
5807
5808 2008-02-12  Dan Williams  <dcbw@redhat.com>
5809
5810         * system-settings/plugins/ifcfg-fedora/parser.c
5811                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5812
5813 2008-02-12  Dan Williams  <dcbw@redhat.com>
5814
5815         * libnm-util/nm-utils.c
5816                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5817                         just any empty array
5818
5819 2008-02-12  Dan Williams  <dcbw@redhat.com>
5820
5821         * system-settings/src/nm-system-config-interface.c
5822           system-settings/src/nm-system-config-interface.h
5823                 - (load_connections): get_connections() should now return an allocated
5824                         GSList that the system settings service will free
5825
5826         * system-settings/plugins/ifcfg-fedora/plugin.c
5827           system-settings/plugins/ifcfg-fedora/parser.h
5828           system-settings/plugins/ifcfg-fedora/parser.c
5829                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5830                         in the profile directory, handle resolv.conf file changes
5831
5832 2008-02-10  Dan Williams  <dcbw@redhat.com>
5833
5834         * src/nm-device-802-3-ethernet.c
5835                 - (real_bring_up): save the supplicant interface state signal id
5836                 - (real_bring_down): disconnect from the supplicant interface state
5837                         signal
5838
5839 2008-02-07  Dan Williams  <dcbw@redhat.com>
5840
5841         * initscript/RedHat/NetworkManager.in
5842           initscript/RedHat/NetworkManagerDispatcher.in
5843                 - Add new-style LSB init headers
5844
5845 2008-02-07  Dan Williams  <dcbw@redhat.com>
5846
5847         * system-settings/src/dbus-settings.c
5848           system-settings/src/dbus-settings.h
5849                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5850                         table of secrets
5851                 - (connection_settings_get_secrets): consolidate error returns into
5852                         one place; use the new get_secrets() plugin interface function to
5853                         get secrets from the plugin itself rather than using GObject data
5854                         magic
5855
5856         * system-settings/src/main.c
5857                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5858                    load_connections): keep a private list of the plugin-returned
5859                         connections, don't use the plugin's GSList
5860
5861         * system-settings/plugins/ifcfg-fedora/plugin.c
5862                 - (watch_path): watch the path, not the filename (duh)
5863                 - (reload_all_connections): use the direct hash/equal functions; the
5864                         ones for int aren't appropriate here
5865                 - (get_secrets, system_config_interface_init): implement the
5866                         get_secrets() function
5867                 - (build_one_connection, find_connection_by_path): ifcfg file path is
5868                         now in the connection's ConnectionData instead of being a GObject
5869                         data property
5870                 - (handle_profile_item_changed): ifcfg file path is now in the
5871                         connection's ConnectionData instead of being a GObject data property;
5872                         be sure to copy secrets over from the new connection to the existing
5873                         connection when updating the connection's settings
5874                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5875                         file descriptor
5876
5877         * system-settings/plugins/ifcfg-fedora/parser.c
5878           system-settings/plugins/ifcfg-fedora/parser.h
5879                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5880                    connection_data_copy_secrets, connection_data_free,
5881                    connection_data_add): new functions; connection data manipulation
5882                 - (make_wireless_security_setting): stuff secrets into the
5883                         connection data, not as GObject data items; make sure to close
5884                         the keys ifcfg file
5885                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5886                         connection data to the connection
5887
5888 2008-02-07  Dan Williams  <dcbw@redhat.com>
5889
5890         * system-settings/src/nm-system-config-interface.c
5891           system-settings/src/nm-system-config-interface.h
5892                 - Add a get_secrets() interface function to retrieve secrets for a
5893                         specific setting of a specific connection.  Document the interface
5894                         a bit more too.
5895
5896 2008-02-07  Dan Williams  <dcbw@redhat.com>
5897
5898         * src/nm-device-802-11-wireless.c
5899                 - (handle_auth_or_fail): new function; consolidate device activation
5900                         failure check after a certain number of failures getting secrets
5901                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5902                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5903                         the connection if secrets were requested more than a few times
5904                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5905                         tries here; otherwise they are cleared before the IP configure
5906                         timeout, which happens with open system WEP when key is wrong
5907                 - (activation_success_handler): clear wireless secrets tries here too
5908
5909 2008-02-07  Dan Williams  <dcbw@redhat.com>
5910
5911         * src/NetworkManagerPolicy.c
5912                 - (connection_updated): clear invalid tag when connection gets updated
5913                         to allow that connection to be tried again
5914                 - (nm_policy_new): save signal ids so they can be disconnected when
5915                         the policy is destroyed
5916                 - (nm_policy_destroy): stop any in-progress state change idle handler,
5917                         and disconnect all signals from the manager object so that none
5918                         of the policy functions gets called after the policy is destroyed
5919
5920 2008-02-06  Dan Williams  <dcbw@redhat.com>
5921
5922         * src/nm-manager.c
5923                 - (finalize): remove devices a bit earlier; clean up system settings
5924                         poke
5925                 - (nm_manager_name_owner_changed): clean up system settings poke when
5926                         the service appears, and try to restart it if it fails
5927                 - (poke_system_settings_daemon_cb): try to get the system settings
5928                         service started through D-Bus service activation
5929                 - (initial_get_connections): start the system settings daemon if it's
5930                         not already running
5931
5932 2008-02-05  Dan Williams  <dcbw@redhat.com>
5933
5934         * src/supplicant-manager/nm-supplicant-config.c
5935                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5936                         broadcast networks too
5937
5938 2008-02-04  Dan Williams  <dcbw@redhat.com>
5939
5940         * system-settings/plugins/ifcfg-fedora/parser.c
5941                 - (make_wireless_security_setting): fix spelling; unencrypted networks
5942                         need key_mgmt set too
5943                 - (parser_parse_file): validate ifcfg file name and don't try to parse
5944                         .bak files; ensure that an error is set whenever NULL gets returned
5945
5946 2008-02-04  Dan Williams  <dcbw@redhat.com>
5947
5948         * system-settings/src/Makefile.am
5949                 - Install D-Bus service activation file for the system settings
5950                         service
5951
5952         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5953                 - D-Bus service activation file for system settings service
5954
5955 2008-02-04  Dan Williams  <dcbw@redhat.com>
5956
5957         * system-settings/src/main.c
5958                 - (parse_config_file): parse a config file
5959                 - (main): accept --config option and read plugins from config file
5960
5961 2008-02-04  Dan Williams  <dcbw@redhat.com>
5962
5963         * system-settings/plugins/ifcfg-fedora/plugin.c
5964                 - Change reported name to 'ifcfg-fedora'
5965                 - Use IFCFG_PLUGIN_NAME
5966
5967         * system-settings/plugins/ifcfg-fedora/plugin.c
5968                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5969
5970 2008-02-04  Dan Williams  <dcbw@redhat.com>
5971
5972         * system-settings/plugins/ifcfg-fedora/parser.c
5973                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5974                 - (make_connection_setting): use get_ifcfg_name()
5975                 - (make_wireless_security_setting): handle shadow key files
5976                 - (get_one_wep_key): treat empty string as NULL
5977
5978 2008-02-04  Dan Williams  <dcbw@redhat.com>
5979
5980         * src/supplicant-manager/nm-supplicant-manager.c
5981                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5982                         glib automatically reschedule
5983                 - (nm_supplicant_manager_init): immediately try to start the supplicant
5984                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5985                         the supplicant
5986
5987 2008-02-01  Dan Williams  <dcbw@redhat.com>
5988
5989         * src/NetworkManagerPolicy.c
5990                 - (device_state_changed): schedule a change check when a device gets
5991                         deactivated so something happens if you disconnect GSM/CDMA
5992
5993 2008-01-31  Dan Williams  <dcbw@redhat.com>
5994
5995         * src/nm-device-802-11-wireless.h
5996           src/nm-device-802-11-wireless.c
5997                 - (ap_list_get_ap_by_ssid, is_associated,
5998                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5999                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
6000                 - (nm_device_802_11_wireless_get_activation_ap): collapse
6001                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
6002                         function
6003
6004 2008-01-30  Dan Williams  <dcbw@redhat.com>
6005
6006         * system-settings/plugins/ifcfg
6007         * system-settings/plugins/ifcfg-fedora
6008                 - Move the ifcfg plugin to ifcfg-fedora
6009
6010 2008-01-24  Dan Williams  <dcbw@redhat.com>
6011
6012         * libnm-glib/nm-device-802-11-wireless.c
6013                 - (get_access_point): move the "/" check here; check for invalid path
6014                         too
6015                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
6016                         to get_access_point()
6017                 - (access_point_added_proxy, access_point_removed_proxy): don't try
6018                         to send signals for non-existent access points
6019
6020 2008-01-24  Dan Williams  <dcbw@redhat.com>
6021
6022         * libnm-glib/nm-device-802-11-wireless.c
6023                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
6024
6025 2008-01-23  Dan Williams  <dcbw@redhat.com>
6026
6027         * libnm-glib/libnm_glib.c
6028                 - (libnm_glib_init): make thread joinable
6029                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
6030
6031 2008-01-23  Dan Williams  <dcbw@redhat.com>
6032
6033         * test/libnm_glib_test.c
6034                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
6035                 - (main): set up signal handlers; call libnm_glib_shutdown
6036
6037 2008-01-21  Dan Williams  <dcbw@redhat.com>
6038
6039         * include/NetworkManager.h
6040                 - Add CDMA mobile broadband card device type
6041
6042         * src/nm-hal-manager.c
6043                 - (modem_device_creator): handle both CDMA and GSM modems; the device
6044                         must now be tagged with 'cdma' or 'gsm' capability
6045
6046         * src/nm-cdma-device.c
6047           src/nm-cdma-device.h
6048           src/Makefile.am
6049                 - Add the CDMA mobile broadband card device class
6050
6051         * libnm-util/nm-connection.c
6052                 - (register_default_settings): add NMSettingCdma
6053
6054         * libnm-util/nm-setting-cdma.c
6055           libnm-util/nm-setting-cdma.h
6056           libnm-util/Makefile.am
6057                 - Add the CDMA mobile broadband card setting class
6058
6059         * libnm-glib/nm-cdma-device.c
6060           libnm-glib/nm-cdma-device.h
6061           libnm-glib/Makefile.am
6062                 - Add the CDMA mobile broadband card GLib proxy class
6063
6064         * libnm-glib/nm-client.c
6065                 - (get_device): handle CDMA devices too
6066
6067 2008-01-21  Dan Williams  <dcbw@redhat.com>
6068
6069         * src/ppp-manager/nm-ppp-manager.c
6070                 - (ip4_config_get): set peer address too
6071
6072         * src/ppp-manager/nm-pppd-plugin.c
6073                 - (nm_ip_up): try harder to get the peer's address
6074
6075         * src/NetworkManagerSystem.c
6076                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6077                         address, use that too.  Otherwise, some PPP connections won't work.
6078
6079 2008-01-19  Dan Williams  <dcbw@redhat.com>
6080
6081         * src/NetworkManagerPolicy.c
6082                 - (nm_policy_device_change_check): system connections override user
6083                         connections; don't activate a user connection if there's a currently
6084                         active system connection, and new, better system connections always
6085                         interrupt user connections
6086
6087 2008-01-19  Dan Williams  <dcbw@redhat.com>
6088
6089         * src/nm-manager.h
6090                 - (nm_manager_get_connection_type): new function
6091
6092 2008-01-19  Dan Williams  <dcbw@redhat.com>
6093
6094         * src/nm-device-802-11-wireless.c
6095                 - (real_get_best_connection): collapse find_best_connection() into this
6096                         function
6097
6098 2008-01-19  Dan Williams  <dcbw@redhat.com>
6099
6100         * src/nm-device-802-3-ethernet.c
6101                 - (real_get_best_connection): collapse find_best_connection() into this
6102                         function
6103
6104 2008-01-18  Dan Williams  <dcbw@redhat.com>
6105
6106         * src/nm-device-802-3-ethernet.c
6107                 - (find_best_connection): check MAC address too
6108                 - (real_get_best_connection): let autoconnect=True connections activate
6109                         for devices that don't have carrier detection
6110
6111         * src/nm-device-802-11-wireless.c
6112                 - (find_best_connection): check MAC address too
6113
6114 2008-01-18  Dan Williams  <dcbw@redhat.com>
6115
6116         * system-settings/plugins/ifcfg/parser.c
6117                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6118
6119 2008-01-17  Dan Williams  <dcbw@redhat.com>
6120
6121         * src/nm-device-802-3-ethernet.c
6122                 - (nm_device_802_3_ethernet_carrier_on,
6123                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6124                         carrier events that might come in for devices that don't support
6125                         carrier detect
6126
6127 2008-01-17  Dan Williams  <dcbw@redhat.com>
6128
6129         * src/nm-device-interface.c
6130                 - (nm_device_interface_check_connection_conflicts): need to actually
6131                         get the interface, not cast to the object
6132
6133         * src/nm-device.c
6134                 - (nm_device_check_connection_conflicts): need to get the device class,
6135                         not cast the device to the device class
6136
6137 2008-01-17  Dan Williams  <dcbw@redhat.com>
6138
6139         * src/nm-device-802-11-wireless.c
6140                 - (real_check_connection_conflicts): ignore connections that aren't
6141                         wireless connections
6142
6143 2008-01-17  Dan Williams  <dcbw@redhat.com>
6144
6145         * src/NetworkManagerPolicy.c
6146                 - (nm_policy_device_change_check): clear change check idle here
6147                 - (device_change_check_done): remove
6148                 - (schedule_change_check): simplify
6149
6150 2008-01-17  Dan Williams  <dcbw@redhat.com>
6151
6152         * src/nm-manager.c
6153                 - (check_connection_allowed): take an NMDeviceInterface instead of
6154                         an NMDevice object as an argument
6155                 - (nm_manager_activate_device): pass an NMDeviceInterface to
6156                         check_connection_allowed()
6157
6158 2008-01-13  Dan Williams  <dcbw@redhat.com>
6159
6160         * libnm-glib/nm-device-802-11-wireless.c
6161                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6162
6163 2008-01-12  Dan Williams  <dcbw@redhat.com>
6164
6165         * src/nm-device-802-11-wireless.c
6166                 - (activation_success_handler): if a match was found in the scan list
6167                         and that match is a hidden AP, update that AP's SSID
6168
6169 2008-01-11  Dan Williams  <dcbw@redhat.com>
6170
6171         * src/NetworkManagerAP.c
6172                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6173
6174         * src/nm-device-802-11-wireless.c
6175                 - (get_active_ap): do two passes over the scan list if the caller
6176                         requests that hidden APs get matched too; during the second pass
6177                         when matching hidden APs, ignore the SSID since hidden APs in the
6178                         scan list don't have an SSID yet
6179                 - (periodic_update): move some checks to
6180                         nm_device_802_11_periodic_update() because not all callers need them
6181                 - (nm_device_802_11_periodic_update): move some checks here from
6182                         perodic_update()
6183                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6184                         matching on incoming scan results, because the fake AP's flags
6185                         might be slightly different (yet still compatible) with the incoming
6186                         scan result's flags and they might actually be the same AP; update
6187                         the rate on merged APs too
6188                 - (activation_success_handler): update the frequency of the fake AP
6189                         on successful connection; match hidden APs too since if the
6190                         current AP is fake, there might already be a scan result in the
6191                         scan list for the desired AP, just without it's SSID filled in yet
6192
6193 2008-01-10  Dan Williams  <dcbw@redhat.com>
6194
6195         * src/NetworkManagerAP.c
6196                 - (foreach_property_cb): catch more hidden SSID formats
6197
6198 2008-01-10  Dan Williams  <dcbw@redhat.com>
6199
6200         Fix gnome.org #464215.  Requires the kernel patch titled
6201         "Introduce WEXT scan capabilities" but will handle the patch not being
6202         present, you'll just continue to have problems with hidden SSIDs when
6203         using mac80211-based drivers.
6204
6205         * src/supplicant-manager/nm-supplicant-config.h
6206           src/supplicant-manager/nm-supplicant-config.c
6207                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6208                         whether the driver supports SSID scans or not.  If it does, and if
6209                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
6210
6211         * src/nm-device-802-11-wireless.c
6212                 - (constructor): check whether or not the driver supports SSID scans
6213                 - (build_supplicant_config): pass driver SSID scan capability when
6214                         building the wireless bits of the supplicant config
6215
6216 2008-01-09  Dan Williams  <dcbw@redhat.com>
6217
6218         * src/nm-device.c
6219           src/nm-device.h
6220                 - (device_activation_precheck, check_connection_complete): remove this
6221                         virtual function; incomplete connections should be invalid by
6222                         definition, complete-ness should be checked in the setting's
6223                         verify function
6224
6225         * src/nm-serial-device.c
6226           src/nm-gsm-device.c
6227                 - (real_check_connection_complete): remove
6228
6229         * libnm-util/nm-setting-serial.c
6230                 - (verify): new function; ensure there is a PPP setting too
6231
6232         * libnm-util/nm-setting-gsm.c
6233                 - (verify): ensure there is a serial setting too
6234
6235 2008-01-06  Dan Williams  <dcbw@redhat.com>
6236
6237         * src/dhcp-manager/nm-dhcp-manager.c
6238                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6239                         (gnome.org #332953)
6240
6241 2008-01-04  Dan Williams  <dcbw@redhat.com>
6242
6243         * src/named-manager/nm-named-manager.c
6244                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6245                         nameservers if the secondary config doesn't have any
6246                         (gnome.org #346833)
6247
6248 2008-01-02  Tambet Ingo  <tambet@gmail.com>
6249
6250         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6251         with G_PARAM_CONSTRUCT so that they get the default values.
6252
6253         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6254         the monitoring device and prints out the output for now. Or more precicely, doesn't
6255         do absolutely anything right now since the montoring device argument is never set.
6256
6257         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6258         requires it's own knob to turn it on.
6259         (config_fd): Add NMSettingSerial to the arguments list.
6260         (nm_serial_device_open): Ditto.
6261         (get_reply_got_data): Ignore the terminators at the beginning of the output.
6262         (nm_serial_device_get_io_channel): Implement.
6263
6264         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6265         a new reference every time (and forgetting to release it sometimes) is a pain and
6266         it's not like NMManager could work without dbus.
6267         (nm_manager_add_device): Register the added device on dbus here.
6268
6269         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6270         device.
6271
6272         * src/nm-device.c (constructor): Don't export the device here, instead export
6273         it when it's added to the NMManager's device list.
6274
6275 2007-12-31  Dan Williams  <dcbw@redhat.com>
6276
6277         * src/nm-device-interface.c
6278           src/nm-device-interface.h
6279                 - (nm_device_interface_check_connection_conflicts): new function
6280
6281         * src/nm-device.c
6282           src/nm-device.h
6283                 - (nm_device_check_connection_conflicts): new function
6284                 - (device_activation_precheck): don't require subclasses to implement
6285                         check_connection_complete()
6286                 - check_connection() -> check_connection_complete()
6287
6288         * src/nm-device-802-11-wireless.c
6289                 - (real_check_connection): remove; unused
6290                 - (real_check_connection_conflicts): implement, handle lockdown for
6291                         system connections
6292
6293         * src/nm-device-802-3-ethernet.c
6294                 - (real_check_connection): remove; unused
6295
6296         * src/nm-manager.c
6297                 - (check_connection_allowed): new function
6298                 - (nm_manager_activate_device): ensure the connection being requested
6299                         is allowed to be activated
6300
6301         * src/nm-serial-device.c
6302           src/nm-gsm-device.c
6303                 - real_check_connection() -> real_check_connection_complete()
6304
6305 2007-12-27  Dan Williams  <dcbw@redhat.com>
6306
6307         * src/nm-device-interface.c
6308           src/nm-device-interface.h
6309                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6310                         normalize and expand errors
6311                 - (nm_device_interface_init): register errors so they can be marshalled
6312                         through dbus-glib
6313                 - (nm_device_interface_activate): ensure that failure of activation
6314                         returns an error
6315
6316         * src/nm-device.c
6317           src/nm-device.h
6318                 - (device_activation_precheck): implementations of check_connection()
6319                         now take a GError and must fill it in if the check fails.  Return
6320                         more descriptive error if the requested connection is already
6321                         activating
6322                 - (nm_device_activate): actually try to return descriptive errors on
6323                         failures
6324
6325         * src/nm-device-802-11-wireless.c
6326           src/nm-device-802-3-ethernet.c
6327           src/nm-serial-device.c
6328           src/nm-gsm-device.c
6329                 - (real_check_connection): return more descriptive errors on failure
6330
6331         * src/NetworkManagerPolicy.c
6332                 - (nm_policy_device_change_check): print activation errors in the logs
6333
6334         * src/nm-manager.c
6335                 - (nm_manager_error_quark, nm_manager_error_get_type,
6336                    nm_manager_class_init): new errors
6337                 - (nm_manager_activate_device): handle errors
6338                 - (nm_manager_error_new): removed
6339                 - (wait_for_connection_expired, connection_added_default_handler,
6340                    impl_manager_activate_device): better error handling
6341
6342 2007-12-27  Dan Williams  <dcbw@redhat.com>
6343
6344         Fixes gnome.org #466954
6345
6346         * src/supplicant-manager/nm-supplicant-settings-verify.c
6347                 - Allow 'frequency' network property
6348
6349         * src/supplicant-manager/nm-supplicant-config.c
6350           src/supplicant-manager/nm-supplicant-config.h
6351                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6352                         for callers to specify the frequency an Ad-Hoc network should operate
6353                         on.  Some drivers require this to successfully create an Ad-Hoc
6354                         network.
6355
6356         * src/nm-device-802-11-wireless.c
6357                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6358                         guint32 value in MHz
6359                 - (constructor, nm_device_802_11_wireless_get_frequency): use
6360                         iw_freq_to_uint32()
6361                 - (find_supported_frequency): new function; find a free supported
6362                         frequency for a user-created Ad-Hoc network
6363                 - (build_supplicant_config): if no frequency was specified for a user-
6364                         created Ad-Hoc network, find a free one to use
6365                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6366                         a specific object as user-created
6367
6368 2007-12-27  Dan Williams  <dcbw@redhat.com>
6369
6370         * libnm-util/nm-utils.c
6371           libnm-util/nm-utils.h
6372                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6373                         for adhoc networks
6374
6375 2007-12-24  Dan Williams  <dcbw@redhat.com>
6376
6377         * libnm-util/nm-setting-wireless.c
6378                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6379                         185, 187, 188, 192, and 196
6380
6381 2007-12-24  Dan Williams  <dcbw@redhat.com>
6382
6383         * src/nm-device-802-11-wireless.c
6384                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6385                         a channel # instead of a frequency
6386
6387 2007-12-24  Dan Williams  <dcbw@redhat.com>
6388
6389         * src/NetworkManagerAP.c
6390           src/NetworkManagerAP.h
6391                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6392                 - (freq_to_channel): handle split band tables
6393                 - (channel_to_freq): handle split band tables, take a band argument
6394
6395 2007-12-24  Dan Williams  <dcbw@redhat.com>
6396
6397         * libnm-util/nm-setting-connection.h
6398           libnm-util/nm-setting-connection.c
6399                 - Add 'lockdown' member
6400
6401 2007-12-22  Dan Williams  <dcbw@redhat.com>
6402
6403         * libnm-util/nm-setting-wireless.c
6404                 - (nm_setting_wireless_class_init): add missing 'rate' property
6405                         specification
6406
6407 2007-12-18  Dan Williams  <dcbw@redhat.com>
6408
6409         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6410
6411         * src/nm-netlink-monitor.c
6412           src/nm-netlink-monitor.h
6413                 - Remove handrolled netlink, use libnl instead
6414
6415         * src/nm-device-802-3-ethernet.c
6416                 - (constructor, nm_device_802_3_ethernet_carrier_off,
6417                    nm_device_802_3_ethernet_carrier_on): use new names
6418
6419 2007-12-17  Dan Williams  <dcbw@redhat.com>
6420
6421         * configure.in
6422                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6423                         and fixes memory leaks)
6424
6425         * src/nm-netlink.c
6426                 - (nm_netlink_get_default_handle): handle new versions of libnl that
6427                         automatically handle the netlink PID
6428
6429 2007-12-17  Dan Williams  <dcbw@redhat.com>
6430
6431         Patch from Michael Biebl <biebl@debian.org>
6432
6433         * configure.in
6434           src/ppp-manager/Makefile.am
6435                 - fix up install dir of pppd plugin
6436                 - clean up configure.in a bit
6437
6438 2007-12-12  Dan Williams  <dcbw@redhat.com>
6439
6440         * system-settings/src/nm-system-settings.conf
6441                 - Allow non-root clients (like the applet) to read settings
6442
6443 2007-12-10  Tambet Ingo  <tambet@gmail.com>
6444
6445         * Replace all occurences of 'UMTS' with 'GSM'.
6446
6447 2007-12-07  Dan Williams  <dcbw@redhat.com>
6448
6449         * src/nm-serial-device.c
6450                 - (real_is_up): serial devices are always "up"
6451
6452 2007-12-07  Dan Williams  <dcbw@redhat.com>
6453
6454         * src/nm-netlink.c
6455           src/NetworkManagerSystem.c
6456                 - (new_nl_handle): ensure that the same netlink pid is never chosen
6457                         twice (gnome.org #491047)
6458                 - Make more robust against allocation-related failures should they occur
6459
6460 2007-12-07  Dan Williams  <dcbw@redhat.com>
6461
6462         Noticed by Christian Persch <chpe@gnome.org>
6463
6464         Always chain up to parent object in dispose and finalize handlers.
6465                 (gnome.org #433112)
6466
6467 2007-12-07  Dan Williams  <dcbw@redhat.com>
6468
6469         * src/nm-device-802-11-wireless.c
6470                 - Wrap #include of linux/mii.h to fix redefined structures due to
6471                         incorrect kernel headers (gnome.org #350061)
6472
6473 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6474
6475         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6476         before doing anything else.
6477         (init_modem): Move modem initialization here.
6478
6479         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6480         (nm_serial_device_flash): Implement.
6481
6482         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6483         changes signal is "StateChanged" and not "Status".
6484         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6485
6486 2007-12-06  Dan Williams  <dcbw@redhat.com>
6487
6488         * src/supplicant-manager/nm-supplicant-config.c
6489                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6490                         to only send some options when they make sense; also send phase2
6491                         option to the supplicant (possible fix for rh #399631)
6492
6493 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6494
6495         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6496         arguments: This whole file shouldn't really know anything about NMDevices, it
6497         should deal only with device interfaces. Devices might have different ifaces for
6498         different stuff and this place shouldn't know anything about it.
6499
6500         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6501         (global_state_changed): Implement. In the current NM it's not really important,
6502         but will be required in the case of multiple active devices. (Or even better,
6503         if stuff like that gets moved out from NM).
6504
6505         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6506         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6507         instead.
6508
6509         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6510         devices like serial devices (ttyS0 and ppp0 for example).
6511         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6512         set.
6513         (nm_device_set_ip_iface): Implement.
6514         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6515         after setting ip4_config from here ...
6516         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6517         than this function should call nm_system_device_set_from_ip4_config() because no
6518         other code has enough information on which arguments to use. So instead, other code
6519         could just set the new ip4 config using this function and everyone is happy.
6520
6521         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6522         if we happen to get deactivated while something is pending.
6523         (automatic_registration): Handle the response that indicates pending network
6524         registration and wait until the pending registration is done.
6525         (real_deactivate_quickly): If there's a pending operation, cancel it.
6526
6527         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6528         (real_deactivate_quickly): ... and remove it when it's down.
6529         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6530         it if needed.
6531         (nm_serial_device_wait_for_reply): Ditto.
6532
6533 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6534
6535         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6536         (get_network_done): Remove newline, nm_info() does it already.
6537         (real_act_stage1_prepare): Turn the modem echo off.
6538
6539         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6540         device, set the route to the device interface. This is a hack.
6541
6542         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6543         return, no need for a new-line.
6544         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6545         Change the device iface here (ugh).
6546         (real_act_stage4_get_ip4_config): Implement.
6547         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6548         Restore the device iface.
6549
6550         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6551         device is not wired or wireless (eg, automatically upped) device.
6552
6553         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6554         it isn't.
6555         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6556
6557         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6558         before calling it's is_device_fn().
6559
6560 2007-12-05  Dan Williams  <dcbw@redhat.com>
6561
6562         * libnm-util/nm-utils.c
6563                 - (nm_utils_register_value_transformations,
6564                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6565                         GHashTables of GValues too
6566
6567 2007-12-04  Dan Williams  <dcbw@redhat.com>
6568
6569         * initscript/RedHat/NetworkManager.in
6570                 - No longer start named; it's D-Bus interface is going away
6571
6572 2007-12-04  Dan Williams  <dcbw@redhat.com>
6573
6574         Patch from Michael Biebl <biebl@debian.org>
6575
6576         * system-settings/plugins/ifcfg/Makefile.am
6577           system-settings/src/main.c
6578           system-settings/src/Makefile.am
6579                 - Put system settings plugins in NM plugins dir
6580
6581         * src/ppp-manager/Makefile.am
6582           src/ppp-manager/nm-ppp-manager.c
6583                 - Move pppd plugin to NM plugins dir
6584
6585 2007-12-04  Dan Williams  <dcbw@redhat.com>
6586
6587         * libnm-util/nm-setting-vpn-properties.h
6588                 - Clarify usage of the 'data' member of the setting
6589
6590         * libnm-util/nm-setting-vpn-properties.c
6591                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6592                 - (set_property): just remove all the settings; don't recreate the has
6593                 - (update_one_secret): don't need to create the hash table here since
6594                         it should always be present
6595
6596 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6597
6598         Implement PIN and PUK requesting.
6599
6600         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6601         (enter_pin): Handle PIN and PUK requests.
6602         (real_act_stage1_prepare): Clear the secret type.
6603         (real_connection_secrets_updated): Implement this class method to get
6604         notified when new secrets arrive.
6605         (nm_umts_device_class_init): Add private data back to the umts device class
6606         to store the required secret type.
6607
6608 2007-12-01  Dan Williams  <dcbw@redhat.com>
6609
6610         * system-settings/plugins/ifcfg/parser.c
6611                 - (parser_parse_file): don't try to verify NULL connections
6612
6613 2007-12-01  Dan Williams  <dcbw@redhat.com>
6614
6615         * system-settings/src/main.c
6616                 - (load_connections, add_connection_to_settings): actually export
6617                         plugin-provided connections over D-Bus so NM can get them
6618
6619 2007-12-01  Dan Williams  <dcbw@redhat.com>
6620
6621         * system-settings/plugins/ifcfg/parser.c
6622           system-settings/plugins/ifcfg/parser.h
6623           system-settings/plugins/ifcfg/plugin.c
6624                 - Hook up more inotify bits (untested)
6625
6626 2007-11-29  Dan Williams  <dcbw@redhat.com>
6627
6628         * system-settings/src/nm-system-config-interface.h
6629           system-settings/src/nm-system-config-interface.c
6630                 - (nm_system_config_interface_init,
6631                    nm_system_config_interface_get_connections): add
6632
6633         * system-settings/src/main.c
6634                 - (load_plugins, load_connections, main): use a GSList for plugins
6635                         to ensure priority ordering
6636
6637         * system-settings/plugins/ifcfg/parser.c
6638                 - (ifcfg_error_quark): move to plugin.c, and rename
6639
6640         * system-settings/plugins/ifcfg/plugin.h
6641           system-settings/plugins/ifcfg/plugin.c
6642                 - (ifcfg_plugin_error_quark): move here from parser.c
6643                 - rework connection loading and initialization
6644                 - Add preliminary inotify support for network profile config file
6645
6646 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6647
6648         Merge the beginnings of the new GSM card support.
6649
6650         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6651         ppp watch source before killing pppd - If this happens from g_object_unref()
6652         then the ppp manager is already destroyed by the time the watch callback runs.
6653
6654         * src/nm-hal-manager.c: Add a device_type_name string to the device
6655         creators, so that we can print a nice human readable string when a
6656         device is added.
6657
6658         * src/nm-umts-device.c (automatic_registration_get_network): Query
6659         for the activated network, not much is done with the result thought.
6660
6661         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6662         (ppp_ip4_config): Change the device state to activated here for now.
6663         (real_check_connection): Make sure the connection includes ppp setting.
6664
6665         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6666
6667         * libnm-glib/Makefile.am: Add the new files to build.
6668
6669         * libnm-glib/nm-umts-device.c: 
6670         * libnm-glib/nm-umts-device.h: Implement.
6671
6672 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6673
6674         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6675         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6676
6677         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6678         the timeout source - this function is only called when the timeout source has
6679         been removed.
6680         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6681         to be big enough to contain the terminating zero element as well.
6682         The timeout argument is meant to be in seconds now.
6683         (real_deactivate_quickly): Implement.
6684
6685         * src/NetworkManager.conf: Allow root to own 
6686         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6687
6688         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6689         (not unsigned ints).
6690
6691         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6692         small issue with parity bounds - capital letters have lower ascii codes
6693         than lower case letters.
6694
6695         * libnm-util/nm-connection.c (register_default_settings): Register serial
6696         and umts settings.
6697
6698 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6699
6700         Remove the "index" property from devices as not all device types have this.
6701
6702         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6703
6704         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6705         (wired_device_creator): Get the device interface from hal to create the device.
6706         (wireless_device_creator): Ditto.
6707
6708         * src/nm-device.c (nm_device_init): Remove the index member.
6709         (constructor): Remove the checks for index property, make interface property
6710         a require constructor property.
6711         Use the HAL udi for DBus path for devices.
6712         (nm_device_get_index): Remove.
6713         (set_property): Remove index handling.
6714         (get_property): Ditto.
6715         (nm_device_get_dbus_path): Remove.
6716
6717         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6718         property.
6719
6720         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6721         Access the device index through it's interface.
6722         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6723         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6724         index argument. Add interface argument.
6725
6726         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6727         the useless test_dev argument. Remove index argument. Add interface arugment.
6728
6729         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6730         device index through interface.
6731         (nm_system_set_mtu): Ditto.
6732
6733         * introspection/nm-device.xml: Remove the "Index" property.
6734
6735 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6736
6737         * src/nm-serial-device.c: 
6738         * src/nm-serial-device.c: 
6739         * src/nm-umts-device.c:
6740         * src/nm-umts-device.h: Implement.
6741
6742         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6743         allocated by libhal.
6744         (modem_device_creator): Implement.
6745         (register_built_in_creators): Register the modem creator.
6746
6747         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6748         Remove the unused test_dev argument.
6749
6750         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6751
6752         * src/Makefile.am: Add new files to build.
6753         Link in ppp-manager.
6754
6755         * libnm-util/nm-setting-umts.c: 
6756         * libnm-util/nm-setting-umts.h: 
6757         * libnm-util/nm-setting-serial.c: 
6758         * libnm-util/nm-setting-serial.h: Implement.
6759
6760         * libnm-util/Makefile.am: Add new files to build.
6761
6762 2007-11-28  Dan Williams  <dcbw@redhat.com>
6763
6764         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6765
6766         Support DHCP-provided static routes.
6767
6768         * src/nm-ip4-config.h
6769           src/nm-ip4-config.c
6770                 - Add get/set functions for static routes
6771
6772         * src/dhcp-manager/nm-dhcp-manager.c
6773                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6774                         DHCP response
6775
6776         * src/NetworkManagerSystem.c
6777                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6778                         interface when applying the IP4Config
6779
6780 2007-11-28  Dan Williams  <dcbw@redhat.com>
6781
6782         * src/nm-device-802-11-wireless.c
6783                 - (real_act_stage1_prepare): mark APs created for hidden networks
6784                         as non-broadcasting
6785
6786 2007-11-27  Dan Williams  <dcbw@redhat.com>
6787
6788         * system-settings/src/nm-system-config-interface.h
6789                 - Note how to store secrets on NMSetting objects
6790
6791         * system-settings/src/dbus-settings.c
6792                 - (connection_settings_get_secrets): implement
6793
6794 2007-11-27  Dan Williams  <dcbw@redhat.com>
6795
6796         * system-settings/plugins/ifcfg/Makefile.am
6797           system-settings/plugins/ifcfg/parser.c
6798           system-settings/plugins/ifcfg/parser.h
6799           system-settings/plugins/ifcfg/plugin.c
6800                 - Parse wireless connections too
6801
6802         * system-settings/src/dbus-settings.c
6803           system-settings/src/dbus-settings.h
6804           system-settings/src/main.c
6805                 - Handle connection update/removal if the plugin supports it
6806
6807 2007-11-27  Dan Williams  <dcbw@redhat.com>
6808
6809         * src/nm-dbus-manager.h
6810           src/nm-hal-manager.c
6811                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6812                         do it for them
6813
6814         * src/Makefile.am
6815           src/NetworkManagerDbusUtils.c
6816           src/NetworkManagerDbusUtils.h
6817                 - Remove these two source files; they are unused
6818
6819 2007-11-27  Dan Williams  <dcbw@redhat.com>
6820
6821         * src/vpn-manager/nm-vpn-manager.c
6822                 - (impl_vpn_manager_connect): fix system settings check (found by
6823                         James M. Leddy)
6824
6825 2007-11-26  Dan Williams  <dcbw@redhat.com>
6826
6827         * Fix warnings so everything compiles with --enable-more-warnings
6828
6829 2007-11-25  Dan Williams  <dcbw@redhat.com>
6830
6831         * system-settings/*
6832                 - Rework structure and code to use GModule-loaded plugins and a plugin
6833                         interface that plugins export to the system settings service
6834
6835 2007-11-21  Dan Williams  <dcbw@redhat.com>
6836
6837         * system-settings/*
6838                 - Add Soren's system settings service.  Needs work for distros other
6839                         than Fedora; the backends from NM should mostly migrate to here
6840                         and be converted to GObjects
6841
6842 2007-11-21  Dan Williams  <dcbw@redhat.com>
6843
6844         * libnm-util/nm-setting-vpn-properties.c
6845                 - (set_property): must deep-copy the given settings hash, otherwise
6846                         double-free errors occur when the setting is disposed of
6847
6848 2007-11-21  Dan Williams  <dcbw@redhat.com>
6849
6850         * src/vpn-manager/nm-vpn-act-request.h
6851           src/vpn-manager/nm-vpn-act-request.c
6852                 - Remove; unused
6853
6854 2007-11-20  Dan Williams  <dcbw@redhat.com>
6855
6856         * libnm-util/nm-utils.c
6857                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6858                    nm_utils_convert_ip4_addr_struct_array_to_string,
6859                    nm_utils_register_value_transformations): print out the readable
6860                         values of more types of properties of NMSettings subclasses
6861
6862 2007-11-20  Dan Williams  <dcbw@redhat.com>
6863
6864         * libnm-util/nm-setting-ip4-config.c
6865                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6866                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
6867                         marshal GValueArrays inside collections, so switch to types that it
6868                         can actually marshal/demarshal
6869
6870 2007-11-16  Dan Williams  <dcbw@redhat.com>
6871
6872         * libnm-util/nm-setting-wireless-security.c
6873                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6874                         minimal verification of EAP methods too
6875                 - (verify): verify phase1 eap methods too
6876
6877 2007-11-15  Dan Williams  <dcbw@redhat.com>
6878
6879         * libnm-glib/nm-device.h
6880           libnm-glib/nm-device.c
6881                 - (nm_device_get_product, nm_device_get_vendor): should be returning
6882                         const char *
6883
6884 2007-11-15  Dan Williams  <dcbw@redhat.com>
6885
6886         * libnm-glib/nm-device.c
6887                 - (get_product_and_vendor): don't try to free things that should be
6888                         freed
6889
6890 2007-11-15  Dan Williams  <dcbw@redhat.com>
6891
6892         * src/NetworkManagerUtils.c
6893                 - (nm_ethernet_address_is_valid): unbreak previous fix
6894
6895 2007-11-15  Dan Williams  <dcbw@redhat.com>
6896
6897         * src/supplicant-manager/nm-supplicant-config.c
6898                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6899                         options
6900
6901 2007-11-15  Dan Williams  <dcbw@redhat.com>
6902
6903         * src/NetworkManagerUtils.c
6904                 - (nm_ethernet_address_is_valid): fix style, clarify
6905                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6906
6907         * src/nm-device-802-11-wireless.c
6908                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6909                 - (nm_device_802_11_wireless_get_ssid,
6910                    nm_device_802_11_wireless_get_bssid,
6911                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6912                         before calling the ioctl; fixes valgrind-reported jump depends on
6913                         uninitialized value errors
6914
6915 2007-11-15  Dan Williams  <dcbw@redhat.com>
6916
6917         * libnm-util/nm-setting.c
6918                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6919                         unecessary to serialize 'name'
6920
6921         * src/nm-activation-request.c
6922                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6923                         the GetSecrets call
6924
6925 2007-11-15  Dan Williams  <dcbw@redhat.com>
6926
6927         * libnm-util/nm-setting-connection.h
6928           libnm-util/nm-setting-connection.c
6929                 - Rename the 'name' property to 'id', because it conflicted with the
6930                         NMSetting superclass' 'name' property.
6931
6932         * libnm-util/nm-setting.c
6933                 - (nm_setting_to_hash): serialize the 'name' property
6934                 - (one_property_cb): ignore 'name' on deserialization of a connection
6935
6936         * src/nm-device-802-11-wireless.c
6937           src/vpn-manager/nm-vpn-connection.c
6938           src/NetworkManagerPolicy.c
6939                 - Fix up for NMSettingConnection 'name'->'id' changes
6940
6941 2007-11-13  Dan Williams  <dcbw@redhat.com>
6942
6943         * libnm-glib/nm-device-802-11-wireless.h
6944           libnm-glib/nm-device-802-11-wireless.c
6945                 - (nm_device_802_11_wireless_get_hw_address): return should be const
6946
6947         * test/nm-tool.c
6948           libnm-glib/libnm-glib-test.c
6949                 - Fixes for above change
6950
6951 2007-11-12  Dan Williams  <dcbw@redhat.com>
6952
6953         * src/supplicant-manager/nm-supplicant-settings-verify.c
6954                 - Allow fragment_size option
6955
6956         * src/supplicant-manager/nm-supplicant-settings-verify.c
6957                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6958                         EAP fragment size than the default to help some TLS connections
6959
6960 2007-11-12  Dan Williams  <dcbw@redhat.com>
6961
6962         Make certs actually work.  The private key is now a secret, and should be
6963         decrypted when requested by NM.  The private key and phase2 private key
6964         passwords are no longer interesting to NM because they should be used by
6965         the settings service to decrypt the private key itself before passing it
6966         to NM, and hence have been removed as fields.
6967
6968         * libnm-util/nm-setting-wireless-security.h
6969           libnm-util/nm-setting-wireless-security.c
6970                 - Remove private-key-passwd and phase2-private-key-passwd from
6971                         properties
6972                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6973                    need_secrets): use property #defines instead strings to keep things
6974                         consistent
6975                 - (need_secrets_tls): if a client certificate is present but no
6976                         private key, request the private key
6977                 - (set_property, get_property, nm_setting_wireless_security_class_init):
6978                         remove private key password stuff, mark private keys as secret
6979
6980         * src/supplicant-manager/nm-supplicant-settings-verify.c
6981                 - Remove private_key_passwd and private_key2_passwd from opt_table
6982
6983 2007-11-09  Dan Williams  <dcbw@redhat.com>
6984
6985         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6986         Since the vpn-properties are managed and known by the VPN daemons themselves,
6987         libnm-util doesn't know what's secret and what's in the setting's 'data'
6988         member.
6989
6990         * libnm-util/nm-setting.h
6991           libnm-util/nm-setting.c
6992                 - Add the ability for subclasses to override update_one_secret
6993
6994         * libnm-util/nm-setting-vpn-properties.c
6995                 - Override update_one_secret and just copy the values into the
6996                         internal table
6997
6998 2007-11-09  Dan Williams  <dcbw@redhat.com>
6999
7000         * libnm-glib/nm-settings.h
7001           libnm-glib/nm-settings.c
7002                 - (nm_settings_new_error): remove
7003                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
7004                         clients should use g_set_error() with NM_SETTINGS_ERROR
7005
7006 2007-11-09  Dan Williams  <dcbw@redhat.com>
7007
7008         * src/supplicant-manager/nm-supplicant-config.c
7009                 - (nm_supplicant_config_add_setting_wireless_security): private key
7010                         passwords are never sent to wpa_supplicant, because the supplicant
7011                         should never be reading random files from the disk.  Clients like
7012                         the applet are required to decrypt the private keys and send NM
7013                         the decrypted blobs.
7014
7015 2007-11-08  Dan Williams  <dcbw@redhat.com>
7016
7017         * libnm-util/nm-setting-wireless-security.h
7018           libnm-util/nm-setting-wireless-security.c
7019                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
7020                         members to 802-11-wireless-security structure.  This should be used
7021                         to indicate that the values in private-key and phase2-private-key
7022                         are already decrypted by the user agent, and that no
7023                         private-key-passwd or phase2-private-key-passwd should be expected.
7024                         It is not meant to be a stored configuration value, but meant to
7025                         be set when the conneciton is sent to NM over dbus.
7026
7027 2007-11-08  Dan Williams  <dcbw@redhat.com>
7028
7029         * libnm-util/nm-connection.h
7030           libnm-util/nm-connection.c
7031                 - (nm_connection_need_secrets): add argument to return hints
7032
7033         * src/nm-device-802-11-wireless.c
7034                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7035                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
7036                         nm_connection_need_secrets() change
7037
7038 2007-11-07  Tambet Ingo  <tambet@gmail.com>
7039
7040         Rework NMSetting structures: Move each setting to it's own file.
7041         Convert to GObject. Remove home grown setting types and use GTypes.
7042         Use GObject property introspection for hash conversion, enumerating
7043         properties, etc.
7044
7045         * libnm-util/nm-setting-connection.[ch]
7046         * libnm-util/nm-setting-ip4-config.[ch]
7047         * libnm-util/nm-setting-ppp.[ch]
7048         * libnm-util/nm-setting-vpn.[ch]
7049         * libnm-util/nm-setting-vpn-properties.[ch]
7050         * libnm-util/nm-setting-wired.[ch]
7051         * libnm-util/nm-setting-wireless.[ch]
7052         * libnm-util/nm-setting-wireless-security.[ch]
7053
7054         New files, each containing a setting.
7055
7056         * libnm-util/nm-setting-template.[ch]: A template for creating new
7057         settings. To use it, just replace 'template' with the new setting
7058         name, and you're half-way done.
7059
7060         * libnm-util/nm-setting.c: Convert to GObject and use GObject
7061         introspection instead of internal types and tables.
7062
7063         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7064
7065         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7066         GValue types defined by dbus-glib for composed types like collections,
7067         structures and maps.
7068
7069         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7070         a setting from connection takes the setting type now. Also, since
7071         the settings are in multiple files, include relevant settings.
7072
7073 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
7074
7075         * configure.in:
7076         * src/backends/NetworkManagerGentoo.c:
7077         (nm_system_restart_mdns_responder): Implement restarts for other mdns
7078         providers in Gentoo.
7079
7080 2007-10-31  Dan Williams  <dcbw@redhat.com>
7081
7082         * libnm-util/nm-connection.c
7083                 - (gvalue_to_string): handle UINT32 arrays
7084
7085 2007-10-31  Dan Williams  <dcbw@redhat.com>
7086
7087         * libnm-glib/nm-device.h
7088           libnm-glib/nm-device.c
7089                 - (nm_device_get_description): remove
7090                 - (nm_device_get_product, nm_device_get_vendor): add
7091                 - (nm_device_update_description): new function (private); walk HAL
7092                         devices to get product and vendor IDs for a specific device
7093
7094 2007-10-31  Dan Williams  <dcbw@redhat.com>
7095
7096         * src/nm-device-802-11-wireless.c
7097                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7098
7099 2007-10-29  Dan Williams  <dcbw@redhat.com>
7100
7101         * src/nm-hal-manager.c
7102                 - (device_added, device_new_capability): ignore device additions while
7103                         asleep.  Fixes crash caused when NM goes to sleep, a network device
7104                         kernel module is unloaded and reloaded and recognized by NM again.
7105
7106 2007-10-26  Dan Williams  <dcbw@redhat.com>
7107
7108         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7109
7110         * src/NetworkManagerAP.c
7111           src/NetworkManagerAP.h
7112           libnm-glib/nm-access-point.c
7113           libnm-glib/nm-access-point.h
7114                 - Make 'rate' property a guint32 to better match with WEXT and
7115                         wpa_supplicant and to allow representation of higher bitrates
7116
7117         * src/nm-device-802-11-wireless.c
7118           introspection/nm-device-802-11-wireless.xml
7119           libnm-glib/nm-device-802-11-wireless.c
7120           libnm-glib/nm-device-802-11-wireless.h
7121                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7122
7123         * src/nm-device-802-3-ethernet.c
7124           src/nm-device-802-3-ethernet.h
7125           introspection/nm-device-802-3-ethernet.xml
7126           libnm-glib/nm-device-802-3-ethernet.c
7127           libnm-glib/nm-device-802-3-ethernet.h
7128                 - Make 'speed' property a guint32 to match other speed/rate types
7129                 - Make nm_device_802_3_ethernet_get_speed() static
7130
7131         * test/nm-tool.c
7132                 - Update for the changes above
7133
7134 2007-10-26  Dan Williams  <dcbw@redhat.com>
7135
7136         * src/named-manager/nm-named-manager.c
7137                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7138                     not calling fclose() twice on some error conditions
7139
7140 2007-10-26  Dan Williams  <dcbw@redhat.com>
7141
7142         * src/nm-activation-request.c
7143                 - (dispose): clean up indentation; get the right DBusGProxy object to
7144                         cancel the GetSecrets pending call on.  Need to use the Secrets
7145                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
7146                         pending call doesn't get canceled, and pressing Cancel in the
7147                         applet's password dialog could cause get_secrets_cb() to be called
7148                         after the activation request has already been destroyed
7149
7150 2007-10-24  Dan Williams  <dcbw@redhat.com>
7151
7152         * src/supplicant-manager/nm-supplicant-config.c
7153                 - (nm_supplicant_config_add_blob): pass blob data and length for
7154                         verification
7155                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7156
7157 2007-10-24  Dan Williams  <dcbw@redhat.com>
7158
7159         * src/supplicant-manager/nm-supplicant-settings-verify.c
7160                 - (opt_table): max length for certificates should be 65536
7161
7162 2007-10-24  Dan Williams  <dcbw@redhat.com>
7163
7164         * src/supplicant-manager/nm-supplicant-interface.c
7165                 - (blob_free): correctly free blob data after use
7166                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7167
7168 2007-10-24  Dan Williams  <dcbw@redhat.com>
7169
7170         * libnm-util/nm-setting.c
7171                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7172                         EAP method need secrets
7173
7174 2007-10-24  Dan Williams  <dcbw@redhat.com>
7175
7176         * src/backends/NetworkManagerRedHat.c
7177                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7178
7179 2007-10-23  Dan Williams  <dcbw@redhat.com>
7180
7181         * libnm-util/nm-setting.c
7182           libnm-util/nm-setting.c
7183                 - (nm_setting_compare): implement
7184                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7185                    compare_one_hash_gvalue): compare the contents of a setting
7186
7187         * libnm-util/nm-connection.c
7188                 - (nm_connection_compare): implement
7189
7190 2007-10-23  Dan Williams  <dcbw@redhat.com>
7191
7192         * src/nm-activation-request.c
7193                 - (get_secrets_cb): handle getting a setting back that is more than
7194                         just secrets (ie, user changed auth or EAP method or something)
7195
7196 2007-10-23  Dan Williams  <dcbw@redhat.com>
7197
7198         * libnm-util/nm-setting.c
7199           libnm-util/nm-setting.h
7200                 - (nm_setting_verify): new function; verify one setting
7201                 - (nm_settings_verify_all): rename from nm_settings_verify()
7202                 - (setting_connection_verify, setting_wireless_verify): allow NULL
7203                         all_settings
7204
7205         * libnm-util/nm-connection.c
7206                 - (nm_connection_replace_settings, nm_connection_verify,
7207                    nm_connection_new_from_hash): handle nm_settings_verify() rename
7208
7209 2007-10-23  Dan Williams  <dcbw@redhat.com>
7210
7211         * src/nm-device-802-11-wireless.c
7212                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7213                         desired behavior
7214
7215 2007-10-23  Dan Williams  <dcbw@redhat.com>
7216
7217         * src/supplicant-manager/nm-supplicant-settings-verify.c
7218                 - eap_allowed, phase2_allowed: harmonize with allowed values from
7219                         nm-settings.c
7220
7221 2007-10-23  Dan Williams  <dcbw@redhat.com>
7222
7223         * src/nm-device-802-11-wireless.c
7224                 - (real_act_stage2_config): after the first association failure,
7225                         if the connection still needs secrets ask the user for them
7226                         explicitly.  After the fourth association failure due to bad
7227                         secrets, fail the connection entirely.  Handles the GetSecrets
7228                         loop that NM gets into when the provided secrets don't match up
7229                         with the connection details.
7230
7231 2007-10-23  Dan Williams  <dcbw@redhat.com>
7232
7233         * src/supplicant-manager/nm-supplicant-config.c
7234                 - (nm_supplicant_config_add_setting_wireless_security): only add
7235                         WPA-specific options when WPA is in use
7236
7237 2007-10-23  Dan Williams  <dcbw@redhat.com>
7238
7239         * src/supplicant-manager/nm-supplicant-config.c
7240                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7241                         secret doesn't need to be unhexified
7242
7243 2007-10-23  Dan Williams  <dcbw@redhat.com>
7244
7245         * libnm-util/nm-setting.c
7246                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7247                         before trying to do something with it
7248
7249 2007-10-23  Dan Williams  <dcbw@redhat.com>
7250
7251         * src/nm-device-802-11-wireless.c
7252                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7253
7254 2007-10-23  Dan Williams  <dcbw@redhat.com>
7255
7256         * src/nm-device-802-11-wireless.c
7257                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7258                         non-SSID-broadcasting APs
7259
7260 2007-10-23  Dan Williams  <dcbw@redhat.com>
7261
7262         * src/NetworkManagerAP.c
7263                 - (match_cipher, security_compatible): remove
7264                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7265                         libnm-util instead
7266
7267 2007-10-23  Dan Williams  <dcbw@redhat.com>
7268
7269         * libnm-util/nm-utils.c
7270           libnm-util/nm-utils.h
7271                 - (nm_utils_ap_security_compatible): common function for checking
7272                         whether a specific AP is compatible with an NMConnection
7273
7274 2007-10-23  Dan Williams  <dcbw@redhat.com>
7275
7276         * libnm-util/nm-setting.c
7277                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7278                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7279                    need_secrets_password, setting_wireless_security_verify): fix
7280                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7281                         secrets logic for each supported EAP method
7282
7283 2007-10-23  Dan Williams  <dcbw@redhat.com>
7284
7285         * src/supplicant-manager/nm-supplicant-config.c
7286                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7287                         config option name, should be "private_key2_passwd"
7288
7289 2007-10-22  Tambet Ingo  <tambet@gmail.com>
7290
7291         Implement support for static IP addresses, additional/overridden DNS and
7292         DNS domain search lists.
7293
7294         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7295         (ip4_addresses_to_gvalue): Implement.
7296         (convert_array_to_byte_array): Implement.
7297         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7298         NM_S_TYPE_IP4_ADDRESSES.
7299         (nm_setting_hash): Ditto.
7300         (default_setting_clear_secrets): Add a default case for the switch: IP address
7301         shouldn't be secret, ever.
7302         (setting_ip4_config_verify): Update, requires addresses in case of manual
7303         configurations.
7304         (setting_ip4_config_destroy): Free stuff.
7305
7306         * src/nm-device.c (merge_ip4_config): Implement.
7307         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7308
7309 2007-10-22  Dan Williams  <dcbw@redhat.com>
7310
7311         * libnm-util/nm-setting.c
7312                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7313                         pairwise cipher options for Dynamic WEP
7314
7315 2007-10-21  Dan Williams  <dcbw@redhat.com>
7316
7317         * src/NetworkManagerAP.c
7318           src/NetworkManagerAP.h
7319                 - Rename 'articifical' -> 'fake' since that's what they are until
7320                         noticed in scans
7321                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7322                         from the attributes in an NMConnection object
7323                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7324                         WPA Enterprise
7325                 - (nm_ap_match_in_list): find a matching AP in a scan list
7326
7327         * src/nm-device-802-11-wireless.c
7328                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7329                         AP when searching the scan list; match on frequency and mode too
7330                 - (nm_device_802_11_wireless_get_frequency): implement
7331                 - (merge_scanned_ap): replace duplicate matching logic with
7332                         nm_ap_match_in_list()
7333                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7334                         the user is trying to connect to a hidden network that is not yet
7335                         known from the scan list
7336                 - (activation_success_handler): now that the card knows the AP's BSSID,
7337                         there may already be a scanned AP in the scan list that is what
7338                         we really wanted to connect to, but didn't know at the time.  Use
7339                         that instead of the 'fake' AP created at activation start and get
7340                         rid of the 'fake' AP 
7341                 - (cull_scan_list): don't remove fake APs
7342
7343 2007-10-21  Dan Williams  <dcbw@redhat.com>
7344
7345         * src/nm-activation-request.h
7346           src/nm-activation-request.c
7347                 - (nm_act_request_set_specific_object): new function; allow setting the
7348                         specific object if one isn't set yet
7349
7350 2007-10-20  Dan Williams  <dcbw@redhat.com>
7351
7352         * src/supplicant-manager/nm-supplicant-config.h
7353           src/supplicant-manager/nm-supplicant-config.c
7354                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7355                         table to store blobs
7356                 - (nm_supplicant_config_add_blob): new function; add blob to internal
7357                         blob hash table
7358                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7359                 - (nm_supplicant_config_add_setting_wireless_security): handle
7360                         options that use certificates (ie, blobs)
7361
7362         * src/nm-device-802-11-wireless.c
7363                 - (build_supplicant_config): pass a UID (just use the connection path)
7364                         to the supplicant config as now required
7365
7366         * src/supplicant-manager/nm-supplicant-interface.c
7367                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7368                         there are any blobs to send to wpa_supplicant, send those first
7369                         before sending the network configuration
7370
7371 2007-10-19  Dan Williams  <dcbw@redhat.com>
7372
7373         Split the GetSecrets() call off to a separate D-Bus interface so that it
7374         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
7375         should be able to call GetSecrets().
7376
7377         * include/NetworkManager.h
7378                 - Define the connection secrets D-Bus interface
7379
7380         * src/vpn-manager/nm-vpn-connection.c
7381                 - (clear_need_auth): get the right proxy object for the connection
7382                         secrets interface
7383                 - (get_connection_secrets): use the connection secrets proxy; send
7384                         empty hints in get secrets request
7385
7386         * src/nm-activation-request.c
7387                 - (nm_act_request_request_connection_secrets): use the connection
7388                         secrets proxy; send empty hints in get secrets request
7389
7390         * src/nm-manager.c
7391           src/nm-manager.h
7392                 - (connection_get_settings_cb): set the connection secrets proxy on
7393                         the connection object too
7394                 - (internal_new_connection_cb): create the connection secrets proxy
7395
7396         * introspection/nm-settings-connection.xml
7397                 - Define Connection.Secrets interface and move GetSecrets there
7398                 - Add a 'hints' argument to GetSecrets
7399
7400         * libnm-glib/nm-settings.c
7401           libnm-glib/nm-settings.h
7402                 - (impl_connection_settings_get_secrets): add 'hints' argument
7403
7404 2007-10-19  Dan Williams  <dcbw@redhat.com>
7405
7406         * src/nm-device.c
7407                 - (constructor): add message about what path a device is exported as
7408                         to help in debugging rh #339011
7409
7410 2007-10-17  Dan Williams  <dcbw@redhat.com>
7411
7412         * libnm-util/nm-utils.h
7413           libnm-util/nm-utils.c
7414                 - (nm_utils_security_valid): common function to help find the intersection
7415                         of capabilities of devices and (optionally) access points
7416
7417 2007-10-17  Dan Williams  <dcbw@redhat.com>
7418
7419         * src/nm-device-802-11-wireless.c
7420                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7421                         don't get erroneously cleared
7422
7423 2007-10-17  Dan Williams  <dcbw@redhat.com>
7424
7425         * src/nm-manager.h
7426           src/nm-manager.c
7427           src/nm-hal-manager.c
7428                 - (device_removed, finalize, nm_manager_remove_device,
7429                    nm_manager_sleep): add a 'deactivate' argument to 
7430                    nm_manager_remove_device() to fully deactivate devices when necessary
7431                    (ie, always except when waking up)
7432
7433 2007-10-16  Dan Williams  <dcbw@redhat.com>
7434
7435         * libnm-util/nm-setting.c
7436                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7437                         also isn't valid phase2 autheap method
7438
7439 2007-10-16  Dan Williams  <dcbw@redhat.com>
7440
7441         * libnm-glib/nm-client.c
7442                 - (update_wireless_status): consolidate updates of wireless status
7443                 - (constructor): use update_wireless_status()
7444                 - (manager_running): set wireless status off when NM goes away; requery
7445                         the wireless status when NM comes back
7446
7447 2007-10-16  Dan Williams  <dcbw@redhat.com>
7448
7449         * libnm-glib/nm-client.c
7450                 - (nm_client_activate_device): actually use the fixed-up specific
7451                         object path
7452
7453 2007-10-16  Dan Williams  <dcbw@redhat.com>
7454
7455         * src/nm-hal-manager.c
7456                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7457                         killswitch error messages once
7458
7459 2007-10-16  Dan Williams  <dcbw@redhat.com>
7460
7461         * src/nm-manager.c
7462                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7463                         if it's disabled in hardware; don't touch network devices while
7464                         NM is asleep
7465
7466 2007-10-16  Dan Williams  <dcbw@redhat.com>
7467
7468         * libnm-util/nm-client.c
7469                 - (nm_client_activate_device): convert NULL specific_object to "/",
7470                         which is used in place of NULL
7471
7472         * src/nm-manager.c
7473                 - (impl_manager_activate_device): convert "/" specific_object back into
7474                         NULL
7475
7476 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7477
7478         Implement a generic NMSetting creator from setting name.
7479         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7480         add a virtual function 'populate_fn'.
7481
7482         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7483         (register_default_creators): Register setting creators instead of functions
7484         that create and then populate.
7485         (parse_one_setting): Use the common setting creator and then setting specific
7486         poplulation function.
7487
7488         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7489         they all looked exactly the same.
7490         Add a 'populate_fn' virtual function to NMSetting.
7491         Use default virtual functions in case they are not overriden.
7492         (nm_setting_populate_from_hash): Implement.
7493
7494         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7495         name, use a defined string.
7496         (real_act_stage4_get_ip4_config): Ditto.
7497
7498 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7499
7500         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7501         HAL is int, not uint.
7502
7503 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7504
7505         Implement killswitch polling through HAL.
7506
7507         * src/nm-manager.c: Add wireless hardware status property. Add 
7508         'properties-changed' signal for changes in wireless and wireless hardware
7509         state changes.
7510
7511         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7512         and update NMManager's wireless hardware state when it has changed.
7513         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7514         already does that.
7515
7516         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7517         values of wireless state and wireless hardware state. Listen for the
7518         'properties-changed' signals, update the cached values and emit notify.
7519
7520         * include/NetworkManager.h: Fix a typo in a comment.
7521
7522 2007-10-14  Dan Williams  <dcbw@redhat.com>
7523
7524         * libnm-util/nm-setting.c
7525                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7526
7527 2007-10-13  Dan Williams  <dcbw@redhat.com>
7528
7529         * libnm-util/nm-setting.h
7530           libnm-util/nm-setting.c
7531           src/supplicant-manager/nm-supplicant-config.c
7532                 - Make the 'proto' field of the 802-11-wireless-security field a
7533                         string list
7534
7535 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7536
7537         Rework the "properties-changed" signal listening implementation.
7538         Add a generic implementation to NMObject class that listens for
7539         the signal and calls property setters of the target NMObject.
7540
7541         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7542
7543         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7544         code to the end of file so that all the static functions are available
7545         without extra declarations.
7546         Remove the "properties-changed" signal handling and use the framework from
7547         NMObject.
7548         Implement property setters for properties that change with 
7549         "properties-changed" signal.
7550
7551         * libnm-glib/nm-access-point.c: Ditto.
7552
7553 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7554
7555         Rework the "properties-changed" signal implementation.
7556         In classes that need to use it, just emit "GObject::notify" and the new
7557         framework takes care of the rest to make the signal available on dbus.
7558         The framework queues the notifications and tries to send as many together
7559         in one signal as possible.
7560
7561         * src/nm-properties-changed-signal.c:
7562         * src/nm-properties-changed-signal.h: Implement.
7563
7564         * src/Makefile.am: Add new files to build.
7565
7566         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7567         signal.
7568
7569         * src/nm-device-802-11-wireless.c: Ditto.
7570
7571 2007-10-10  Dan Williams  <dcbw@redhat.com>
7572
7573         * src/nm-manager.c
7574                 - (wait_for_connection_expired): ensure info is valid
7575                 - (connection_added_default_handler): Should only remove pending
7576                         connection info when the manager has the connection that it's
7577                         waiting for.  Fixes segfault in wait_for_connection_info().  
7578
7579 2007-10-10  Dan Williams  <dcbw@redhat.com>
7580
7581         * libnm-util/nm-setting.c
7582           libnm-util/nm-setting.h
7583                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7584                         can use if they choose.  Should be filled in by the settings service
7585                         on-the-fly with the currently logged in user's username
7586
7587 2007-10-10  Dan Williams  <dcbw@redhat.com>
7588
7589         * src/nm-device-802-11-wireless.c
7590                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7591                         as such, because even if the manager fills in the SSID, NM still
7592                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7593                         its SSID
7594
7595 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7596
7597         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7598         code that used NM's own version of dbus signal handling and custom dictionary
7599         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7600         and we get to maintain over 2000 lines less code.
7601
7602         * libnm-util/dbus-dict-helpers.c:
7603         * libnm-util/dbus-dict-helpers.h: Remove.
7604
7605         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7606
7607         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7608
7609         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7610         handlers.
7611
7612         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7613
7614         * configure.in: Remove test/libnm-util/Makefile creation.
7615
7616         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7617
7618         * test/libnm-util/: Remove the whole directory.
7619
7620 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7621
7622         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7623         device_state_changed_idle_id variable or it would contain some random value and the
7624         schedule_change_check calls would not do anything.
7625
7626 2007-10-09  Dan Williams  <dcbw@redhat.com>
7627
7628         * src/nm-device-802-11-wireless.c
7629                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7630                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7631                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7632                         merging of non-SSID-broadcasting APs
7633
7634 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7635
7636         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7637         "guint8 *" since it's usually used with GByteArray->data.
7638         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7639
7640 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7641
7642         * src/NetworkManagerUtils.c
7643         (nm_utils_is_empty_ssid):
7644         (nm_utils_escape_ssid):
7645         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7646         lot of places, so they belong to libnm-utils instead.
7647
7648         Now with 100% less compiler warnings:
7649
7650         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7651         (nm_dbus_unescape_object_path): Ditto.
7652         (nm_utils_ssid_to_utf8): Ditto.
7653         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7654         (nm_utils_escape_ssid): Ditto.
7655         (nm_utils_same_ssid): Ditto.
7656
7657         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7658         (add_one_connection_element): Remove an unused variable.
7659         (impl_manager_get_active_connections): Ditto.
7660
7661         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7662         variable.
7663
7664         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7665         from the previous commit.
7666
7667         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7668         (real_act_stage1_prepare): Ditto.
7669         (activation_success_handler): Ditto.
7670         (get_property): Ditto.
7671
7672         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7673         variable.
7674
7675         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7676         it's always set.
7677
7678         * src/supplicant-manager/nm-supplicant-config.c 
7679         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7680         to expected "char *".
7681         (nm_supplicant_config_add_setting_wireless): Ditto.
7682         (nm_supplicant_config_remove_option): Remove, not used.
7683
7684         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7685         not double.
7686         (test_wireless_enabled): Ifdef out unused function.
7687         (device_deactivate): Ditto.
7688         (device_state_changed): Ditto.
7689         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7690         (nm_utils_escape_ssid): Ditto.
7691
7692         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7693         (nm_utils_is_empty_ssid): Ditto.
7694
7695         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7696         unused variable.
7697
7698         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7699         (setting_vpn_properties_update_secrets): Ditto.
7700         (int_to_gvalue): Ifdef out for now, not used.
7701         (byte_to_gvalue): Ditto.
7702
7703         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7704         Unused, remove.
7705
7706 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7707
7708         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7709         about dbus manager, not named manager.
7710         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7711
7712         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7713         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7714         However, the same signal is emitted when we destroy it and there's 
7715         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7716
7717         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7718         releasing the DBusGConnection, since proxy needs a conneciton.
7719         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7720
7721 2007-10-08  Dan Williams  <dcbw@redhat.com>
7722
7723         * src/NetworkManager.c
7724                 - (main): error on unknown command-line options
7725
7726 2007-10-08  Dan Williams  <dcbw@redhat.com>
7727
7728         Reimplement the invalid connection list.  Don't try to re-activate a
7729         connection that just failed or was canceled.
7730
7731         * src/nm-device.c
7732                 - (connection_secrets_failed_cb): fail device activation, don't just
7733                         deactivate the device.  Listeners have to know about the failure.
7734
7735         * src/NetworkManagerPolicy.c
7736                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7737                         the connection list given to a device's get_best_connection()
7738                         method
7739                 - (device_state_changed): tag failed connections as invalid; clear the
7740                         tag from successful connections
7741
7742 2007-10-08  Dan Williams  <dcbw@redhat.com>
7743
7744         Fix problems with interrupted activation.  Previously, choosing an AP
7745         from the menu, then choosing another one before the first connection was
7746         successful wouldn't deactivate the device before starting the new connection
7747         on that same device.
7748
7749         * src/NetworkManagerPolicy.c
7750                 - (deactivate_old_device, device_state_changed, state_changed,
7751                    nm_policy_new): wrong place to deactivate old devices
7752
7753         * src/nm-manager.c
7754                 - (pending_connection_info_destroy, finalize,
7755                    wait_for_connection_expired): decouple destruction of the pending
7756                         connection info from the manager device
7757                 - (connection_added_default_handler): deactivate any active or
7758                         activating device before starting a new activation
7759                 - (impl_manager_activate_device): deactivate any active or activating
7760                         device before starting a new activation; be sure not to leak
7761                         pending connection info if a new activation request arrives but
7762                         there's already a pending one in-process
7763
7764 2007-10-08  Dan Williams  <dcbw@redhat.com>
7765
7766         * src/NetworkManagerAP.h
7767           src/NetworkManagerAP.c
7768                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7769                         should handle default SSIDs and whether or not to autoconnect
7770                         to them
7771
7772 2007-10-08  Dan Williams  <dcbw@redhat.com>
7773
7774         * src/NetworkManagerPolicy.c
7775                 - (nm_policy_device_change_check): print out connection name where
7776                         possible
7777
7778 2007-10-08  Dan Williams  <dcbw@redhat.com>
7779
7780         * src/nm-device-802-11-wireless.c
7781           src/nm-device-802-11-wireless.h
7782                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7783                         'hidden-ap-found' signal (for internal use only) that allows the
7784                         NMManager to fill in the AP's SSID if a connection has that AP's
7785                         BSSID in its seen-bssids list
7786
7787         * src/nm-manager.c
7788                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7789                         wireless device's hidden-ap-found signal and fill in the APs SSID
7790                         if possible
7791
7792 2007-10-07  Dan Williams  <dcbw@redhat.com>
7793
7794         * src/nm-manager.c
7795           src/nm-manager.h
7796                 - Add a 'connections-added' signal to batch together updates of large
7797                         numbers of connections, like when reading from a settings service
7798                         the first time.  Otherwise, the policy would just activate the first
7799                         suitable connection it saw rather than waiting for the full list
7800                         to arrive.
7801                 - (nm_manager_class_init): register new signal
7802                 - (get_type_for_proxy, connection_get_settings_cb,
7803                    get_connection_for_proxy): centralize places where a proxy's setting
7804                         service is determined
7805                 - (free_get_settings_info): if the call being freed is the last call
7806                         in a pending call group, fire off the connections-added signal
7807                 - (internal_new_connection_cb): add call to a pending call group if
7808                         requested
7809                 - (list_connections_cb): always create a call group here, because this
7810                         call results in a batch of new connections
7811                 - (initial_get_connections): start getting system connections first
7812                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7813                         removed signal when destroying connections
7814
7815         * src/NetworkManagerPolicy.c
7816                 - (nm_policy_new, connections_added): handle connections-added signal
7817                         from the manager
7818
7819 2007-10-06  Dan Williams  <dcbw@redhat.com>
7820
7821         * src/nm-device-802-11-wireless.c
7822                 - (constructor): fix leaked socket
7823
7824 2007-10-06  Dan Williams  <dcbw@redhat.com>
7825
7826         * src/NetworkManagerPolicy.c
7827                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7828                         connection in the list returned by nm_manager_get_connections() is
7829                         reffed, but they weren't getting unreffed before returning
7830
7831 2007-10-06  Dan Williams  <dcbw@redhat.com>
7832
7833         * src/nm-manager.c
7834                 - (connections_to_slist): sort connections first on autoconnect, then
7835                         on timestamp
7836
7837 2007-10-06  Dan Williams  <dcbw@redhat.com>
7838
7839         * libnm-util/nm-connection.c
7840                 - (gvalue_to_string): handle UINT64
7841
7842 2007-10-06  Dan Williams  <dcbw@redhat.com>
7843
7844         * src/NetworkManagerPolicy.c
7845                 - (connection_updated, nm_policy_new): recheck state when a connection
7846                         gets updated
7847
7848 2007-10-06  Dan Williams  <dcbw@redhat.com>
7849
7850         * src/nm-manager.c
7851           src/nm-manager.h
7852                 - (nm_manager_get_connection_dbus_path): make static
7853                 - (nm_manager_update_connections): remove; unused
7854                 - Add a connection-updated signal
7855                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7856                         handle connection object updates
7857
7858 2007-10-06  Dan Williams  <dcbw@redhat.com>
7859
7860         * src/NetworkManagerPolicy.c
7861                 - (connection_removed): deactivate removed connections
7862
7863 2007-10-06  Dan Williams  <dcbw@redhat.com>
7864
7865         * libnm-util/nm-connection.c
7866           libnm-util/nm-connection.h
7867                 - (nm_connection_replace_settings): new function
7868
7869 2007-10-06  Dan Williams  <dcbw@redhat.com>
7870
7871         * libnm-glib/nm-device-802-11-wireless.c
7872                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7873                         on error when getting the active access point over D-Bus from NM
7874
7875 2007-10-05  Dan Williams  <dcbw@redhat.com>
7876
7877         * libnm-util/nm-setting.c
7878                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7879                         to the NMSettingWireless table; it's now a string array not an array
7880                         of byte arrays
7881
7882 2007-10-05  Dan Williams  <dcbw@redhat.com>
7883
7884         * libnm-glib/nm-device-802-11-wireless.c
7885                 - Cache properties and update cached properties on D-Bus signals from NM
7886
7887 2007-10-05  Dan Williams  <dcbw@redhat.com>
7888
7889         * src/nm-device-802-11-wireless.c
7890                 - (set_current_ap): consolidate current_ap handling code into one place
7891                         to ensure that PropertiesChanged signals are emitted in all cases
7892                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7893                    nm_device_802_11_wireless_dispose): use set_current_ap()
7894
7895 2007-10-05  Dan Williams  <dcbw@redhat.com>
7896
7897         * libnm-glib/nm-access-point.c
7898           libnm-glib/nm-access-point.h
7899                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7900                         because the value is cached internally now.  Callers should not
7901                         free the internal value.
7902                 - Make signal name defines private
7903
7904         * test/nm-tool.c
7905           libnm-glib/libnm-glib-test.c
7906                 - Don't free value returned from nm_access_point_get_hw_address()
7907
7908 2007-10-04  Dan Williams  <dcbw@redhat.com>
7909
7910         * introspection/nm-device-802-11-wireless.xml
7911           src/nm-device-802-11-wireless.h
7912           src/nm-device-802-11-wireless.c
7913                 - Add a PropertiesChanged signal for wireless device
7914                 - Store currently associated access point
7915                 - (periodic_update): generalize; update rate here too and emit the
7916                         correct PropertiesChanged signal when stuff changes
7917                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7918                    real_activation_cancel_handler): clear current_ap when device is
7919                         deactivated
7920                 - (link_to_specific_ap, get_ap_blacklisted,
7921                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7922                         code
7923                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7924                         outside this file
7925                 - (real_set_hw_address): emit property changed signal if the card's
7926                         MAC address changes
7927                 - (real_act_stage1_prepare): set the initial current_ap to the AP
7928                         the card is supposed to be connecting to
7929                 - (activation_success_handler): send out property updates on successful
7930                         activation
7931                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7932                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
7933                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7934                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7935                         is now boxed; add PropertiesChanged signal
7936
7937 2007-10-04  Dan Williams  <dcbw@redhat.com>
7938
7939         * libnm-util/nm-connection.c
7940           libnm-util/nm-connection.h
7941                 - (nm_connection_verify): new function
7942
7943 2007-10-04  Dan Williams  <dcbw@redhat.com>
7944
7945         * libnm-util/nm-setting.c
7946                 - (nm_settings_verify): use #defines when possible rather than strings
7947                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7948                 - (setting_vpn_verify): tighter validity check on 'service_type'
7949
7950 2007-10-04  Dan Williams  <dcbw@redhat.com>
7951
7952         * libnm-glib/nm-settings.c
7953                 - (nm_connection_settings_class_init): provide correct type for argument
7954                         to the Updated signal so that dbus-glib knows how to marshal it
7955
7956 2007-10-03  Dan Williams  <dcbw@redhat.com>
7957
7958         * src/nm-device-802-3-ethernet.c
7959                 - (real_get_best_connection): don't create automatic connections
7960                         internally; clients should provide a setting that applies to
7961                         the device with 'autoconnect: True'.  Problem was that these
7962                         internally auto-created connections don't have a proxy or service
7963                         name becuase they weren't created by a settings daemon, and therefore
7964                         clients have no idea what to do with them.
7965
7966 2007-10-03  Dan Williams  <dcbw@redhat.com>
7967
7968         * src/nm-device-802-11-wireless.c
7969           src/nm-device-802-11-wireless.h
7970           introspection/nm-device-802-11-wireless.xml
7971                 - GetActiveNetworks -> GetAccessPoints
7972                 - ActiveNetwork -> ActiveAccessPoint
7973                 - NetworkAdded -> AccessPointAdded
7974                 - NetowrkRemoved -> AccessPointRemoved
7975
7976         * libnm-glib/nm-device-802-11-wireless.c
7977           libnm-glib/nm-device-802-11-wireless.h
7978                 - network-added signal -> access-point-added
7979                 - network-removed signal -> access-point-removed
7980                 - nm_device_802_11_wireless_get_active_network() ->
7981                         nm_device_802_11_wireless_get_active_access_point()
7982                 - nm_device_802_11_wireless_get_network_by_path() ->
7983                         nm_device_802_11_wireless_get_access_point_by_path()
7984                 - nm_device_802_11_wireless_get_networks() ->
7985                         nm_device_802_11_wireless_get_access_points()
7986
7987         * libnm-glib/libnm-glib-test.c
7988           test/nm-tool.c
7989           src/NetworkManagerPolicy.c
7990                 - Fixups for Network -> AccessPoint
7991
7992 2007-10-03  Dan Williams  <dcbw@redhat.com>
7993
7994         Add a GetActiveConnections() method on the Manager object.
7995
7996         * src/nm-manager.c
7997           src/nm-manager.h
7998           introspection/nm-manager.xml
7999                 - (connection_get_settings_cb): keep connection type around too
8000                 - (impl_manager_get_active_connections, add_one_connection_element):
8001                         implement; returns all active connections and what devices they
8002                         apply to
8003
8004         * libnm-glib/nm-client.c
8005           libnm-glib/nm-client.h
8006           introspection/nm-manager-client.xml
8007                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
8008                         by the caller; free here to avoid memory leak
8009                 - (nm_client_get_active_connections): implement; return the list of
8010                         active connections
8011                 - (nm_client_free_active_connection_element): implement; free an element
8012                         of the GSList returned by nm_client_get_active_connections()
8013
8014 2007-10-03  Dan Williams  <dcbw@redhat.com>
8015
8016         * src/nm-device-802-11-wireless.c
8017                 - (nm_device_802_11_wireless_update_bssid): remove
8018                 - (get_active_ap): new function; find the AP in the scan list which
8019                         matches the current BSSID and SSID of the wireless device
8020                 - (nm_device_802_11_periodic_update): get current AP using
8021                         get_active_ap() and print AP roam messages
8022
8023 2007-10-01  Dan Williams  <dcbw@redhat.com>
8024
8025         * libnm-util/nm-setting.h
8026                 - Add a 'timestamp' option to NMSettingConnection
8027                 - Add a UINT64 type
8028
8029         * libnm-util/nm-setting.c
8030                 - (uint64_to_gvalue): new function
8031                 - (nm_setting_populate_from_hash, nm_setting_hash,
8032                    default_setting_clear_secrets): handle UINT64 type
8033                 - con_table: add 'timestamp' member
8034
8035 2007-10-01  Dan Williams  <dcbw@redhat.com>
8036
8037         * src/nm-manager.c
8038                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
8039                         value when the connection can be activated immediately
8040
8041 2007-10-01  Dan Williams  <dcbw@redhat.com>
8042
8043         * libnm-glib/nm-device.c
8044                 - (nm_device_class_init): actually tell glib about the carrier-changed
8045                         signal
8046
8047 2007-10-01  Dan Williams  <dcbw@redhat.com>
8048
8049         * configure.in
8050           src/marshallers/Makefile.am
8051           src/marshallers/nm-marshal.list
8052           src/marshallers/nm-marshal-main.c
8053                 - Consolidate glib marshallers into one place
8054
8055         * src/dhcp-manager/Makefile.am
8056           src/dhcp-manager/nm-dhcp-manager.c
8057           src/supplicant-manager/Makefile.am
8058           src/supplicant-manager/nm-supplicant-manager.c
8059           src/supplicant-manager/nm-supplicant-interface.c
8060           src/ppp-manager/Makefile.am
8061           src/ppp-manager/nm-ppp-manager.c
8062           src/vpn-manager/Makefile.am
8063           src/vpn-manager/nm-vpn-connection.c
8064           src/Makefile.am
8065                 - Use consolidated marshallers
8066
8067         * src/dhcp-manager/nm-dhcp-marshal.list
8068           src/dhcp-manager/nm-dhcp-marshal-main.c
8069           src/supplicant-manager/nm-supplicant-marshal-main.c
8070           src/supplicant-manager/nm-supplicant-marshal.list
8071           src/nm-marshal-main.c
8072           src/nm-marshal.list
8073           src/ppp-manager/nm-ppp-marshal-main.c
8074           src/ppp-manager/nm-ppp-marshal.list
8075           src/vpn-manager/nm-vpn-marshal-main.c
8076           src/vpn-manager/nm-vpn-marshal.list
8077                 - Remove
8078
8079 2007-10-01  Dan Williams  <dcbw@redhat.com>
8080
8081         * include/NetworkManagerVPN.h
8082                 - define VPN connection state change reason codes
8083
8084         * src/vpn-manager/Makefile.am
8085           src/vpn-manager/nm-vpn-marshal.list
8086           src/vpn-manager/nm-vpn-marshal-main.c
8087                 - Add marshallers for StateChanged signal
8088
8089         * introspection/nm-vpn-connection.xml
8090                 - New Banner property
8091                 - StateChanged signal now includes a 'reason' argument
8092
8093         * src/vpn-manager/nm-vpn-connection.c
8094           src/vpn-manager/nm-vpn-connection.h
8095                 - Add a "Banner" property that contains the returned VPN server login
8096                         banner (if any); valid only in the ACTIVATED state
8097                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8098                         a 'reason' argument and emits that reason along with the
8099                         state-changed signal
8100                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8101                 - (nm_vpn_connection_ip4_config_get): save banner for later
8102                 - (nm_vpn_connection_get_banner, get_property,
8103                    nm_vpn_connection_class_init): implement Banner property
8104
8105         * src/vpn-manager/nm-vpn-service.c
8106                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8107                         connection list because elements may get added/removed from it
8108                         while iterating over the list
8109                 - (connection_state_changed): signal now includes the 'reason' argument
8110
8111         * libnm-glib/nm-vpn-connection.c
8112           libnm-glib/nm-vpn-connection.h
8113                 - (nm_vpn_connection_get_banner): new function
8114                 - (state_changed_proxy): handle reason argument
8115
8116 2007-09-28  Tambet Ingo  <tambet@gmail.com>
8117
8118         * src/nm-manager.c:
8119         * src/nm-manager.h:
8120         Implement device activation through NMManager.
8121         Implement "pending device activation" here - If the connection isn't found,
8122         we try to wait for up to 5 seconds for the connection to be provided.
8123         Add NMConnectionType argument to "connection-added" and "connection-removed"
8124         signals.
8125         (nm_manager_get): Remove. Finally.
8126
8127         * src/nm-activation-request.c: 
8128         * src/nm-activation-request.h: 
8129         Remove all the deferred activation code.
8130
8131         * src/nm-device.c: Remove all the deferred activation code. Once the device
8132         activation is started, it's started. Update the activation virtual function
8133         signature.
8134
8135         * src/nm-device-interface.c:
8136         * src/nm-device-interface.h:
8137         Device activation now takes only NMActRequest argument.
8138         Don't expose device activation directly on dbus, it's supposed to go through
8139         NMManager now.
8140
8141         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8142         a bit more compact.
8143         Use the new device activation methods through NMManager.
8144
8145         * introspection/nm-manager-client.xml: 
8146         * introspection/nm-manager.xml: 
8147         * libnm-glib/nm-client.c:
8148         * libnm-glib/nm-client.h:
8149         Add device activation method.
8150         
8151         * libnm-glib/nm-device.c: 
8152         * libnm-glib/nm-device.h: 
8153         * introspection/nm-device.xml: 
8154         Remove device activation method. It's done through NMManager now.
8155
8156         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8157         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8158
8159 2007-09-28  Dan Williams  <dcbw@redhat.com>
8160
8161         * libnm-glib/nm-vpn-connection.c
8162                 - (nm_vpn_connection_get_state): try to update state if the current
8163                         state is UNKNOWN
8164
8165 2007-09-27  Dan Williams  <dcbw@redhat.com>
8166
8167         Patch from Bill Nottingham
8168
8169         * src/supplicant-manager/nm-supplicant-config.c
8170                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8171                         data to the supplicant
8172
8173 2007-09-27  Dan Williams  <dcbw@redhat.com>
8174
8175         * src/NetworkManagerSystem.c
8176                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8177                         and all address manipulation here should be happening on the
8178                         _VPN_ device, not the active device
8179
8180 2007-09-26  Dan Williams  <dcbw@redhat.com>
8181
8182         * src/nm-manager.c
8183           src/nm-manager.h
8184           src/nm-activation-request.c
8185           src/nm-activation-request.h
8186                 - Move the GetSecrets stuff out of the NMManager instance because it
8187                         doesn't really need to be there and complicates things
8188
8189         * src/nm-device.c
8190                 - (connection_secrets_failed_cb, device_activation_go): connect to the
8191                         connection-secrets-failed signal and deactivate the device if
8192                         the GetSecrets call fails
8193
8194         * src/nm-device-802-11-wireless.c
8195                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8196                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8197                         secrets and give correct hints about whether new secrets should be
8198                         asked for by the client or not
8199
8200 2007-09-26  Dan Williams  <dcbw@redhat.com>
8201
8202         * src/vpn-manager/nm-vpn-connection.c
8203                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8204                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8205                         to the secrets-updated signal of the NMConnection since updating
8206                         the secrets is done within the scope of the NMVPNConnection object
8207                         already
8208                 - (get_connection_secrets): fix an uninialized variable usage error
8209
8210 2007-09-26  Dan Williams  <dcbw@redhat.com>
8211
8212         * libnm-util/nm-setting.c
8213                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8214                         actually get updated when the user enters them
8215
8216 2007-09-26  Dan Williams  <dcbw@redhat.com>
8217
8218         * libnm-glib/nm-vpn-plugin.c
8219                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8220
8221 2007-09-26  Dan Williams  <dcbw@redhat.com>
8222
8223         * include/NetworkManagerVPN.h
8224                 - Add a NEED_AUTH state
8225
8226         * src/vpn-manager/nm-vpn-connection.c
8227                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
8228                         the connection needs secrets, and if so, then ask the settings
8229                         service to fill in the secrets.  Then start the connection.
8230
8231 2007-09-26  Dan Williams  <dcbw@redhat.com>
8232
8233         * src/vpn-manager/nm-vpn-manager.c
8234                 - (new_vpn_error, impl_vpn_manager_connect): set errors
8235
8236 2007-09-26  Dan Williams  <dcbw@redhat.com>
8237
8238         * introspection/nm-vpn-plugin.xml
8239           libnm-glib/nm-vpn-plugin.c
8240           libnm-glib/nm-vpn-plugin.h
8241                 - (impl_vpn_plugin_need_secrets): implement a call that should return
8242                         the name of the NMSetting in an NMConnection that may require
8243                         secrets specific to that VPN plugin
8244
8245 2007-09-26  Dan Williams  <dcbw@redhat.com>
8246
8247         * src/nm-manager.c
8248           src/nm-manager.h
8249                 - (nm_manager_get_connection_secrets): make static, unused outside
8250                         the file
8251                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8252
8253 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8254
8255         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8256         method.
8257         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8258         unreference the connection.
8259
8260         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8261         passing properties hash and routes string list, pass NMConnection (in hashed form).
8262
8263         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8264         as GSList, no need to copy stuff around anymore.
8265         (nm_vpn_connection_activate): Update the plugin activation method.
8266
8267         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8268         routes argument to GSList.
8269
8270 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8271
8272         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8273         state and try to get the secrets.
8274
8275         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8276         connections from NMManager and let the device to choose the best from the list.
8277         Since the connection list is sorted by system ones first and user ones later,
8278         the devices still prefer system connections like they did before.
8279         (deactivate_old_device): Implement. When a device starts activation, we have a
8280         policy (for now at least) to deactivate any other device that might be either
8281         active or still activating.
8282
8283         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8284         It's set on construction, there will be no other way to access it.
8285
8286         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8287         device events and drive the device, not the other way around.
8288
8289         * src/nm-device-802-3-ethernet.c: Ditto.
8290
8291         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8292         sent along, pass it on to virtual functions.
8293
8294         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8295         for now, but should really be public instead of nm_device_get_iface() since iface
8296         is a property of the DeviceInterface, not Device.
8297         (impl_device_activate): Don't touch NMManager!
8298
8299 2007-09-26  Jürg Billeter  <j@bitron.ch>
8300
8301         * initscript/paldo/NetworkManager.in:
8302         * initscript/paldo/NetworkManagerDispatcher.in:
8303         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8304         (nm_system_flush_loopback_routes): update paldo backend
8305
8306 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8307
8308         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8309         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8310         which means none of the devices get brought down properly, which in turn leaves
8311         DHCP client running.
8312
8313         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8314         (supplicant_connection_timeout_cb): Ditto.
8315
8316 2007-09-25  Dan Williams  <dcbw@redhat.com>
8317
8318         * src/nm-device.c
8319                 - (device_activation_go): small hack to work around race when
8320                         activating deferred connections; should solve this in a better way
8321
8322 2007-09-25  Dan Williams  <dcbw@redhat.com>
8323
8324         * introspection/nm-device.xml
8325           libnm-glib/nm-device.c
8326           libnm-glib/nm-device.h
8327                 - Add 'Carrier' property to exported NMDevice objects
8328
8329         * src/nm-device-interface.h
8330           src/nm-device-interface.c
8331           src/nm-device.c
8332                 - Add a 'carrier' property to internal NMDevice objects
8333
8334 2007-09-25  Dan Williams  <dcbw@redhat.com>
8335
8336         * src/nm-device-802-11-wireless.c
8337                 - (ap_auth_enforced): also return the encryption status of the AP so
8338                         that callers can differentiate easily between unencrypted APs
8339                         and encrypted ones, in addition to whether the AP has an
8340                         authenticator
8341                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8342                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8343                         previously would request secrets from unencrypted APs at times
8344
8345 2007-09-25  Dan Williams  <dcbw@redhat.com>
8346
8347         * src/nm-manager.c
8348                 - (nm_manager_update_state): new function; updates state and emits
8349                         appropriate signals ensuring a state-change signal for the same state
8350                         never gets emitted twice in a row.
8351                 - (manager_device_state_changed): handle more device state to get a
8352                         better picture of the overall NM state
8353
8354 2007-09-25  Dan Williams  <dcbw@redhat.com>
8355
8356         * libnm-glib/nm-settings.c
8357           libnm-glib/nm-settings.h
8358                 - (new_error -> nm_settings_new_error): make public so that subclasses
8359                         can use the same error domain.  Also pass a valid error code to
8360                         g_error_new_literal() so that libdbus doesn't assert when converting
8361                         the GError into a DBusError
8362                 - (impl_settings_list_connections, impl_connection_settings_get_id,
8363                    impl_connection_settings_get_settings,
8364                    impl_connection_settings_get_secrets): use new error creator
8365                         function
8366
8367 2007-09-25  Dan Williams  <dcbw@redhat.com>
8368
8369         * src/NetworkManager.c
8370                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8371
8372 2007-09-25  Dan Williams  <dcbw@redhat.com>
8373
8374         * src/supplicant-manager/nm-supplicant-manager.c
8375                 - (poke_supplicant_cb, nm_supplicant_manager_init,
8376                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8377                    nm_supplicant_manager_startup): when the supplicant isn't running,
8378                         try to start it periodically via system bus activation.  Fixes
8379                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
8380                         for the supplicant to come back
8381
8382 2007-09-25  Dan Williams  <dcbw@redhat.com>
8383
8384         Ensure that old activation requests are forgotten about; previously
8385         hitting Cancel in the password dialog would deactivate whatever device
8386         that password was requested for, even if that wasn't the currently
8387         activating connection.
8388
8389         * src/nm-manager.c
8390           src/nm-manager.h
8391                 - (nm_manager_get_connection_secrets): track the pending call
8392                         object so it can be canceled later if needed
8393                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8394                         GetSecrets call for a particular connection
8395
8396         * src/nm-activation-request.c
8397                 - (dispose): cancel any outstanding GetSecrets calls on the
8398                         connection
8399
8400 2007-09-25  Dan Williams  <dcbw@redhat.com>
8401
8402         * src/NetworkManagerPolicy.c
8403                 - (nm_policy_device_change_check): handle devices that have a
8404                         deferred activation.  These devices are not really active _yet_,
8405                         but need to be treated as such here.  Don't interrupt them
8406                         automatically.
8407
8408         * src/nm-device-interface.c
8409                 - (impl_device_activate): handle devices that have a deferred activation
8410                         like activating or active devices.  When multiple active devices
8411                         get committed, the device shouldn't be deactivated until the
8412                         connection details are available to avoid DoS and such.  Currently,
8413                         any active, activating, or deferred activation device is deactivated
8414                         here before starting the new activation request.
8415
8416 2007-09-25  Dan Williams  <dcbw@redhat.com>
8417
8418         Properly re-query secrets from the settings daemon when stuff fails.
8419
8420         * src/nm-device-802-11-wireless.c
8421                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8422                         between Shared Key and Open System auth modes
8423                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8424                    real_act_stage4_ip_config_timeout): clear existing secrets and
8425                         request new ones when something fails due to a suspected wrong key
8426                 - (real_act_stage2_config): fix for new request_new argument to
8427                         nm_manager_get_connection_secrets()
8428
8429         * src/nm-manager.c
8430           src/nm-manager.h
8431                 - (nm_manager_get_connection_secrets): return error status; pass
8432                         new request_new argument on to the settings daemon
8433
8434         * introspection/nm-settings-connection.xml
8435                 - New 'request_new' argument to the GetSecrets call that hints to the
8436                         settings daemon to ask the user for completely new secrets
8437
8438         * libnm-glib/nm-settings.c
8439           libnm-glib/nm-settings.h
8440                 - (impl_connection_settings_get_secrets): handle new 'request_new'
8441                         argument
8442
8443 2007-09-25  Dan Williams  <dcbw@redhat.com>
8444
8445         * libnm-util/nm-connection.c
8446           libnm-util/nm-connection.h
8447                 - (nm_connection_clear_secrets): new function; clear secrets out of
8448                         each NMSetting in an NMConnection
8449
8450         * libnm-util/nm-setting.h
8451           libnm-util/nm-setting.c
8452                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
8453                         secrets out of an NMSetting
8454                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
8455                    nm_setting_wired_new, nm_setting_wireless_new,
8456                    nm_setting_wireless_security_new, nm_setting_ppp_new,
8457                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8458                         to default handler default_setting_clear_secrets()
8459
8460 2007-09-25  Dan Williams  <dcbw@redhat.com>
8461
8462         * src/nm-activation-request.c
8463           src/nm-activation-request.h
8464                 - (nm_act_request_is_deferred): new function
8465
8466 2007-09-24  Dan Williams  <dcbw@redhat.com>
8467
8468         * src/nm-device-802-11-wireless.c
8469                 - (activation_success_handler): update signal strength immediately
8470                         after activation
8471
8472 2007-09-24  Dan Williams  <dcbw@redhat.com>
8473
8474         * libnm-util/nm-setting.c
8475                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8476
8477 2007-09-24  Dan Williams  <dcbw@redhat.com>
8478
8479         * src/NetworkManagerPolicy.c
8480                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8481                         device by deactivating it because it doesn't have a "best connection".
8482                         Since autoconnect=False connections aren't automatically chosen,
8483                         NM would interrupt activation of such a connection because it
8484                         would never be "best" due to autoconnect=False.
8485
8486 2007-09-24  Dan Williams  <dcbw@redhat.com>
8487
8488         * src/nm-manager.c
8489                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8490                         actually has some time to enter a key before the GetSecrets call
8491                         times out
8492
8493 2007-09-24  Dan Williams  <dcbw@redhat.com>
8494
8495         * introspection/nm-manager.xml
8496           src/nm-manager.c
8497                 - (impl_manager_legacy_state): fix 'state' method call return value
8498
8499 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8500
8501         * test/Makefile.am: Install nm-tool
8502
8503 2007-09-24  Dan Williams  <dcbw@redhat.com>
8504
8505         Patch from Ross Burton <ross@burtonini.com>
8506
8507         * test/nm-tool.c
8508           callouts/nm-dhcp-client-action.c
8509           src/nm-netlink.c
8510           src/vpn-manager/nm-vpn-connection.c
8511           libnm-glib/libnm-glib-test.c
8512                 - warning fixes
8513
8514 2007-09-24  Dan Williams  <dcbw@redhat.com>
8515
8516         * libnm-util/nm-utils.h
8517           libnm-util/nm-utils.c
8518                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8519                         remove, unused
8520
8521 2007-09-23  Dan Williams  <dcbw@redhat.com>
8522
8523         * vpn-daemons/vpnc/properties/nm-vpnc.c
8524                 - Update for new VPN properties API bits; instead of passing around
8525                         a lot of random things, everything goes into the NMConnection
8526                         object.
8527
8528 2007-09-23  Dan Williams  <dcbw@redhat.com>
8529
8530         * libnm-util/nm-setting.c
8531                 - Correctly dispose of settings objects if creating them from a hash
8532                         table fails
8533
8534 2007-09-23  Dan Williams  <dcbw@redhat.com>
8535
8536         * libnm-util/nm-setting.c
8537                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8538                         the hash table in a standard manner.  Clients of libnm-util should
8539                         only call g_hash_table_remove_all(), never destroy the hash table
8540                         and recreate it.
8541
8542 2007-09-22  Dan Williams  <dcbw@redhat.com>
8543
8544         * src/nm-device-802-11-wireless.c
8545                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8546                         real reason to do it so often, and reduces wakeups for clients.
8547
8548 2007-09-21  Dan Williams  <dcbw@redhat.com>
8549
8550         * src/nm-device-802-11-wireless.c
8551                 - (build_supplicant_config): wpa_supplicant requires the option
8552                         key_mgmt=NONE for unencrypted networks
8553                 - (real_act_stage2_config): clarify log message on activation
8554
8555 2007-09-21  Dan Williams  <dcbw@redhat.com>
8556
8557         * test/nm-supplicant-test.c
8558           test/Makefile.am
8559                 - Remove supplicant test binary; no longer applicable
8560
8561 2007-09-21  Dan Williams  <dcbw@redhat.com>
8562
8563         * src/supplicant-manager/nm-supplicant-manager.c
8564                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8565                         activate it on the system bus
8566
8567 2007-09-20  Dan Williams  <dcbw@redhat.com>
8568
8569         * initscript/RedHat/NetworkManager.in
8570                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8571
8572 2007-09-20  Dan Williams  <dcbw@redhat.com>
8573
8574         * src/nm-device.c
8575                 - (nm_device_is_activating): work around a race between auto-activation
8576                         and the user activating the same device that is being auto-activated
8577
8578 2007-09-20  Dan Williams  <dcbw@redhat.com>
8579
8580         * src/nm-device-interface.c
8581                 - (impl_device_activate): until multiple active device support lands,
8582                         ensure only one device can be active at a time
8583
8584 2007-09-20  Dan Williams  <dcbw@redhat.com>
8585
8586         * src/supplicant-manager/nm-supplicant-config.c
8587           src/supplicant-manager/nm-supplicant-config.h
8588                 - (nm_supplicant_config_add_option): hide secrets from system logs
8589
8590 2007-09-20  Dan Williams  <dcbw@redhat.com>
8591
8592         * src/NetworkManagerPolicy.c
8593                 - (nm_policy_device_change_check): re-enable the wireless device change
8594                         checking code; insted of checking for SSIDs, check for the same
8595                         connection instead
8596
8597 2007-09-20  Dan Williams  <dcbw@redhat.com>
8598
8599         * src/nm-device-802-11-wireless.c
8600                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8601                         composite link state when determining when to start the disconnection
8602                         timer; that link state is already based on the supplicant interface's
8603                         status which is exactly what's already being examined, plus the link
8604                         state is a conglomeration of various things that we don't want here
8605
8606 2007-09-20  Dan Williams  <dcbw@redhat.com>
8607
8608         * libnm-glib/nm-access-point.c
8609                 - (handle_property_changed): strength is a UCHAR
8610
8611 2007-09-20  Dan Williams  <dcbw@redhat.com>
8612
8613         * src/supplicant-manager/nm-supplicant-config.c
8614                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8615                         string list keywords too since that's what wpa_supplicant wants
8616
8617 2007-09-20  Dan Williams  <dcbw@redhat.com>
8618
8619         * libnm-util/nm-setting.c
8620                 - (convert_strv_to_slist): dupe the values in the list because since
8621                         the list is a boxed value, it'll get destroyed when it's container
8622                         (like a hash table or whatever) gets destroyed
8623
8624 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8625
8626         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8627         GSList.
8628
8629         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8630
8631         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8632         just use (g_object_set_data_full).
8633
8634         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8635         that NMSettingVPN->routes is a GSList, convert it to char **.
8636         (nm_vpn_connection_ip4_config_get): Free routes when done.
8637         (nm_vpn_connection_activate): Ditto.
8638
8639         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8640         (real_act_stage2_config): Use defined setting names.
8641
8642 2007-09-20  Dan Williams  <dcbw@redhat.com>
8643
8644         * src/nm-device-802-11-wireless.c
8645           src/nm-manager.c
8646           src/nm-manager.h
8647                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8648                         so that the device can be deactivated if secrets are wrong
8649
8650 2007-09-20  Dan Williams  <dcbw@redhat.com>
8651
8652         * introspection/nm-settings-connection.xml
8653           libnm-glib/nm-settings.c
8654           libnm-glib/nm-settings.h
8655                 - Make GetSecrets asynchronous on the server side
8656
8657 2007-09-20  Dan Williams  <dcbw@redhat.com>
8658
8659         * src/nm-manager.h
8660           src/nm-device.c
8661                 - (nm_device_activate): actually check if a given connection
8662                         exists before assuming it doesn't
8663
8664 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8665
8666         * libnm-util/nm-connection.c (register_default_creators): Use defined
8667         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8668
8669         * libnm-util/nm-setting.c: Define property name strings, use them.
8670         Implement NMSettingVPN and NMSettingVPNProperties settings.
8671         Implement NM_S_TYPE_GVALUE_HASH.
8672         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8673         (setting_connection_verify): Rename 'devtype' property to 'type'.
8674
8675         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8676         properties.
8677
8678         * src/vpn-manager/nm-vpn-service.c: Ditto.
8679
8680         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8681
8682         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8683         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8684
8685         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8686         names. NMSettingConnection->devtype got renamed to 'type'.
8687
8688         * src/nm-device-802-3-ethernet.c (find_best_connection):
8689         (real_get_best_connection): Ditto.
8690
8691         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8692
8693         * libnm-glib/nm-vpn-manager.[ch]: Update.
8694
8695 2007-09-19  Dan Williams  <dcbw@redhat.com>
8696
8697         * src/NetworkManagerAP.c
8698           src/NetworkManagerAP.h
8699           introspection/nm-access-point.xml
8700                 - Change strength-changed signal into a properties-changed signal
8701                         for all properties, not just strength.  Export that signal over dbus
8702                         so listeners don't have to poll NM for changes.
8703                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8704                         get exported over D-Bus, so break up the logic and let other bits
8705                         decided when to export the AP
8706                 - (nm_ap_new_from_ap): remove, unused
8707
8708         * src/nm-device-802-11-wireless.c
8709                 - (merge_scanned_ap): only export APs that are actually on the device
8710                         list, not every AP created internally
8711
8712         * libnm-glib/nm-access-point.c
8713           libnm-glib/nm-access-point.h
8714                 - Cache properties internally and only hit DBus when needed.  Get
8715                         property updates from NM signals
8716
8717 2007-09-16  Dan Williams  <dcbw@redhat.com>
8718
8719         * libnm-util/nm-connection.c
8720           libnm-util/nm-connection.h
8721                 - (nm_connection_for_each_setting_value): new function; iterate over
8722                         each setting's value and call a user-provided function with details
8723                         about that value
8724
8725         * libnm-util/nm-setting.c
8726           libnm-util/nm-setting.h
8727                 - (nm_setting_enumerate_values): new function; enumerate the values
8728                         of a specific NMSetting subclass for a user-provided function with
8729                         details about that value
8730                 - Change wep_tx_keyidx to a uint32
8731                 - Create settings value tables for each setting defining their type,
8732                         key name, offset into the NMSetting subclass' structure, and whether
8733                         they are required and/or a secret
8734                 - (nm_setting_populate_from_hash): generic function to populate an
8735                         NMSetting from a GHash table, make all settings use it
8736                 - (nm_setting_hash): generic function to derive a GHashTable from
8737                         an NMSetting object, make all settings use it
8738
8739 2007-09-14  Dan Williams  <dcbw@redhat.com>
8740
8741         Remove unused stuff in libnm-util
8742
8743         * configure.in
8744           libnm-util/Makefile.am
8745           libnm-util/cipher-private.h
8746           libnm-util/cipher-wep-ascii.c
8747           libnm-util/cipher-wep-ascii.h
8748           libnm-util/cipher-wep-hex.c
8749           libnm-util/cipher-wep-hex.h
8750           libnm-util/cipher-wep-passphrase.c
8751           libnm-util/cipher-wep-passphrase.h
8752           libnm-util/cipher-wpa-psk-hex.c
8753           libnm-util/cipher-wpa-psk-hex.h
8754           libnm-util/cipher-wpa-psk-passphrase.c
8755           libnm-util/cipher-wpa-psk-passphrase.h
8756           libnm-util/cipher.c
8757           libnm-util/cipher.h
8758           libnm-util/dbus-helpers.c
8759           libnm-util/dbus-helpers.h
8760           libnm-util/gnome-keyring-md5.c
8761           libnm-util/gnome-keyring-md5.h
8762           libnm-util/sha1.c
8763           libnm-util/sha1.h
8764           src/nm-device-802-11-wireless.c
8765           test/libnm-util/Makefile.am
8766           test/libnm-util/test-ciphers.c
8767           test/libnm-util/test-dbus-helpers.c
8768           test/libnm-util/test-inputs.h
8769                 - Removed
8770
8771 2007-09-14  Dan Williams  <dcbw@redhat.com>
8772
8773         * libnm-util/dbus-method-dispatcher.c
8774           libnm-util/dbus-method-dispatcher.h
8775                 - Remove, unused
8776
8777 2007-09-14  Dan Williams  <dcbw@redhat.com>
8778
8779         Implement deferred activation support in the device class.
8780
8781         * src/nm-device-interface.c
8782           src/nm-device-interface.h
8783                 - (nm_device_interface_activate): take more arguments to support
8784                         deferred activation; callers must pass one of (connection) OR
8785                         (service_name, connection_path)
8786                 - (impl_device_activate): connection validation is punted to the device
8787                         to be able to handle deferred activation.  Yes, this means errors
8788                         don't get returned from the Activate() dbus call, and yes, that
8789                         should be fixed somehow later.
8790
8791         * src/nm-device.c
8792           src/nm-device.h
8793                 - (clear_act_request): clear additional deferred activation stuff too
8794                 - (deferred_activation_timeout_cb): new function; clean up when
8795                         deferred activation times out.
8796                 - (deferred_activation_start_cb): new function; when the connection
8797                         finally becomes available, start device activation
8798                 - (nm_device_activate): attach to the right signals of the activation
8799                         request if we need to defer activation until the connection is valid
8800
8801         * src/NetworkManagerPolicy.c
8802                 - (nm_policy_device_change_check): update for additional arguments
8803                         required for nm_device_interface_activate().  Pass NULL for these
8804                         though because this function already knows exactly which
8805                         NMConnection to use
8806
8807 2007-09-14  Dan Williams  <dcbw@redhat.com>
8808
8809         Implement deferred activation handling in the NMActRequest class.  When a
8810         client wants to activate a device but must create the NMConnection details
8811         on the fly, there likely hasn't been enough time yet for NM to receive the
8812         new connection signal and grab all the connection details.  So the
8813         activation is deferred (and bounded by a timer) for a while, and if the
8814         connection appears within the window, it is activated.
8815
8816         * src/nm-activation-request.c
8817           src/nm-activation-request.h
8818                 - (nm_act_request_class_init): two new signals to support deferred
8819                         activation, to allow the listener to handle both timeout and success
8820                 - (nm_act_request_new_deferred): new function, starts the deferred
8821                         activation timeout handler and listens to the NMManager for
8822                         new-connection signals to notice when the connection comes in
8823
8824 2007-09-14  Dan Williams  <dcbw@redhat.com>
8825
8826         * src/nm-manager.h
8827           src/nm-manager.c
8828                 - (nm_manager_get_connection_service_name,
8829                    nm_manager_get_connection_dbus_path): get details about a connection
8830                         known internally by the NMManager
8831                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8832                         because NMConnection is now a GObject subclass
8833                 - Use constant for the gobject data tag used on NMConnection objects for
8834                         storing the associated DBusGProxy
8835
8836 2007-09-14  Dan Williams  <dcbw@redhat.com>
8837
8838         * utils/Makefile.am
8839           utils/nm-utils.c
8840           utils/nm-utils.h
8841           src/supplicant-manager/Makefile.am
8842           src/dhcp-manager/Makefile.am
8843           src/backends/Makefile.am
8844           src/named-manager/Makefile.am
8845           src/ppp-manager/Makefile.am
8846           src/vpn-manager/Makefile.am
8847           test/libnm-util/Makefile.am
8848           test/test-common/Makefile.am
8849                 - Remove utils/; it was unused
8850
8851 2007-09-13  Dan Williams  <dcbw@redhat.com>
8852
8853         * libnm-glib/nm-vpn-manager.h
8854           libnm-glib/nm-vpn-manager.c
8855                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8856
8857 2007-09-13  Dan Williams  <dcbw@redhat.com>
8858
8859         * src/nm-device-802-3-ethernet.c
8860                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8861                         netlink monitor carrier signals on dispose, not bring down.  The
8862                         carrier signals should be handled over the entire lifetime of the
8863                         device anyway, not created/destroyed on up or down.
8864
8865 2007-09-13  Dan Williams  <dcbw@redhat.com>
8866
8867         * libnm-glib/nm-device.c
8868           libnm-glib/nm-device.h
8869                 - (nm_device_activate): take a connection object path rather than an
8870                         NMConnection because NMConnection isn't exported over D-Bus and
8871                         therefore it dbus-glib can't automatically get an object path from it
8872
8873 2007-09-13  Dan Williams  <dcbw@redhat.com>
8874
8875         * libnm-util/nm-setting.c
8876                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8877
8878 2007-09-13  Tambet Ingo  <tambet@gmail.com>
8879
8880         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8881
8882 2007-09-12  Tambet Ingo  <tambet@gmail.com>
8883
8884         * src/vpn-manager/nm-vpn-connection.[ch]: 
8885         * src/vpn-manager/nm-vpn-manager.[ch]:
8886         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
8887         dbus-glib, GObjects, signals etc.
8888
8889         * libnm-glib/nm-vpn-manager.[ch]: 
8890         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8891         so much, rewrite these too.
8892
8893         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8894         the new introspection files.
8895
8896         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8897
8898         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8899         the header with the same name from libnm-utils.
8900
8901         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8902
8903         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8904
8905         * introspection/nm-vpn-plugin.xml: Implement.
8906
8907         * introspection/nm-vpn-connection.xml: Implement.
8908
8909         * introspection/nm-vpn-manager.xml: Implement.
8910
8911         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8912         the named manager argument, it can just as easily get it as the caller.
8913         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8914
8915         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8916
8917         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8918
8919         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8920         libnm-utils.
8921
8922         * libnm-util/nm-connection.c: Ditto.
8923
8924         * src/NetworkManagerMain.h: Remove, it's finally empty.
8925
8926         * configure.in: Remove utils/ from build.
8927
8928         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8929         of hard-coded strings.
8930
8931         * utils/: Move it over to libnm-util.
8932
8933         * test/Makefile.am: Link against libnm-util now that util/ is gone.
8934
8935         * dispatcher-daemon/Makefile.am: Ditto.
8936
8937         * src/Makefile.am: Ditto.
8938
8939 2007-09-12  Dan Williams  <dcbw@redhat.com>
8940
8941         Wireless connections can be made with config data from the applet now.
8942         
8943         Yay.
8944
8945         * src/supplicant-manager/nm-supplicant-config.h
8946           src/supplicant-manager/nm-supplicant-config.c
8947                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8948                 - (nm_supplicant_config_add_setting_wireless,
8949                    nm_supplicant_config_add_setting_wireless_security): new functions;
8950                         add key/value pairs from the settings objects to the supplicant
8951                         config
8952
8953         * src/nm-device-802-11-wireless.c
8954                 - (cull_scan_list): fix check to not prune currently associated AP
8955                 - (build_supplicant_config, real_act_stage2_config): call the functions
8956                         of the NMSupplicantConfig that parse settings objects rather than
8957                         doing it manually here
8958
8959 2007-09-12  Dan Williams  <dcbw@redhat.com>
8960
8961         * src/supplicant-manager/nm-supplicant-interface.c
8962           src/supplicant-manager/nm-supplicant-marshal.list
8963                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8964                         "connection-error" signal arguments should be STRING not CHAR
8965
8966 2007-09-12  Dan Williams  <dcbw@redhat.com>
8967
8968         * src/NetworkManagerUtils.c
8969           src/NetworkManagerUtils.h
8970                 - (nm_utils_hexstr2bin): new function
8971
8972 2007-09-11  Dan Williams  <dcbw@redhat.com>
8973
8974         * src/nm-manager.c
8975                 - (connection_get_settings_cb): emit connection-added signal
8976                 - (connection_removed_cb): uncomment bits for system settings service,
8977                         send connection-removed when appropriate
8978                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8979                         the stack by trying to g_object_set_data() on something that's
8980                         not a GObject; handle case where settings service returns
8981                         empty settings hash table
8982
8983 2007-09-11  Dan Williams  <dcbw@redhat.com>
8984
8985         * src/NetworkManagerPolicy.c
8986                 - (connection_added, connection_removed): trigger device change checks
8987                         on connection changes
8988
8989 2007-09-11  Dan Williams  <dcbw@redhat.com>
8990
8991         * src/nm-activation-request.c
8992                 - (connection_secrets_updated_cb): fix c&p error in signal emission
8993
8994 2007-09-11  Dan Williams  <dcbw@redhat.com>
8995
8996         * src/nm-device-802-11-wireless.c
8997                 - (real_connection_secrets_updated): fix erroneous check
8998
8999 2007-09-11  Dan Williams  <dcbw@redhat.com>
9000
9001         * introspection/nm-device.xml
9002           libnm-glib/nm-device.c
9003           libnm-glib/nm-device.c
9004                 - Fix Activate call argument borkage; Activate takes 3 arguments
9005
9006 2007-09-11  Dan Williams  <dcbw@redhat.com>
9007
9008         * libnm-glib/nm-access-point.c
9009           libnm-glib/nm-access-point.c
9010                 - (nm_access_point_get_frequency): now returns guint32 to match
9011                         property change on 2007-09-10
9012
9013 2007-09-11  Dan Williams  <dcbw@redhat.com>
9014
9015         * src/nm-device-802-11-wireless.c
9016                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
9017                         somewhere defines 'index' and I missed this one when I fixed the
9018                         shadow declaration errors earlier
9019
9020 2007-09-11  Dan Williams  <dcbw@redhat.com>
9021
9022         * libnm-util/nm-connection.c
9023                 - (nm_connection_update_secrets, need_secrets_check): move
9024                         802-11-wireless-security need_secrets checks to the setting object
9025                         itself, where it belongs
9026
9027         * libnm-util/nm-setting.c
9028           libnm-util/nm-setting.h
9029                 - (nm_setting_need_secrets): new function
9030                 - (setting_wireless_security_verify,
9031                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
9032                 - (setting_wireless_security_need_secrets): mostly copy code over
9033                         from nm-connection.c
9034
9035 2007-09-11  Dan Williams  <dcbw@redhat.com>
9036
9037         * libnm-util/nm-setting.c
9038           libnm-util/nm-setting.h
9039                 - (nm_setting_update_secrets): new function; add a virtual function that
9040                         subclasses can implement to update their secrets
9041                 - (setting_wireless_security_update_secrets): implement that function
9042                         for the 802-11-wireless-security subclass
9043
9044         * libnm-util/nm-connection.c
9045           libnm-util/nm-connection.h
9046                 - (nm_connection_update_secrets): update secrets for a Setting and
9047                         emit a signal on success
9048
9049         * src/nm-manager.c
9050           src/nm-manager.h
9051           src/nm-marshal.list
9052                 - (connection_get_settings_cb): enable system settings bits
9053                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
9054                         to request secrets from the settings dbus service and to
9055                         push those secrets to the NMConnection itself
9056
9057         * src/nm-activation-request.c
9058           src/nm-activation-request.h
9059                 - Attach to the 'secrets-updated' signal of the NMConnection that's
9060                         currently being activated, and proxy that signal to other listeners.
9061                         Goes through the activation request because the activation request
9062                         is the thing that manages the lifetime of the NMConnection that's
9063                         being activated.
9064
9065         * src/nm-device-802-11-wireless.c
9066                 - (real_connection_secrets_updated): implement the connection secrets
9067                         updated notification and restart activation when secrets are
9068                         received
9069                 - (real_act_stage2_config): request secrets from the settings dbus
9070                         service if secrets are needed
9071
9072         * src/nm-device.c
9073           src/nm-device.h
9074                 - (clear_act_request, nm_device_activation_cancel,
9075                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9076                         where the activation request is cleared
9077                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9078                         updated secrets signal of activation request and add a function
9079                         that subclasses can override to handle it easily
9080
9081 2007-09-11  Tambet Ingo  <tambet@gmail.com>
9082
9083         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9084         removal of NetworkManagerAPList.
9085
9086 2007-09-10  Dan Williams  <dcbw@redhat.com>
9087
9088         * src/NetworkManagerAP.c
9089           src/NetworkManagerAP.h
9090           introspection/nm-access-point.xml
9091                 - Change 'freq' property to a guint32 instead of a double since we
9092                         weren't using the floating point bits anyway
9093
9094 2007-09-10  Dan Williams  <dcbw@redhat.com>
9095
9096         * NetworkManagerAP.c
9097           NetworkManagerAP.h
9098           NetworkManagerPolicy.c
9099           NetworkManagerSystem.c
9100           NetworkManagerUtils.c
9101           NetworkManagerUtils.h
9102           nm-device-802-11-wireless.c
9103           nm-device-802-3-ethernet.c
9104           nm-hal-manager.c
9105           nm-manager.c
9106           vpn-manager/nm-dbus-vpn.c
9107                 - Warning fixes; casts and removal of unused variables
9108
9109 2007-09-10  Dan Williams  <dcbw@redhat.com>
9110
9111         * include/NetworkManager.h
9112                 - Kill NMNetworkType; AP types don't matter any more
9113
9114         * src/NetworkManagerAPList.c
9115           src/NetworkManagerAPList.h
9116           src/Makefile.am
9117                 - Kill; NMAccessPointList has outlived it's usefulness
9118
9119         * src/NetworkManagerAP.c
9120           src/NetworkManagerAP.h
9121                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9122                         functions; check if an NMConnection object is compatible with the
9123                         settings of this AP
9124                 - (freq_to_channel, channel_to_freq): utility functions for
9125                         channel <-> frequency conversion
9126
9127         * src/nm-device.c
9128           src/nm-device.h
9129                 - (nm_device_get_best_connection): pass the specific object around
9130                          (which might be the object path of a specific AP to connect to).
9131                          The get_best_connection() call should populate this on return
9132                          if needed (wireless does).
9133
9134         * src/nm-device-802-3-ethernet.c
9135                 - (real_get_best_connection): handle specific_object argument
9136
9137         * src/NetworkManager.c
9138           src/NetworkManagerMain.h
9139                 - Remove unused includes
9140
9141         * src/nm-device-802-11-wireless.c
9142           src/nm-device-802-11-wireless.h
9143                 - Convert the ap_list into a GSList from an NMAccessPointList
9144                 - No need for caching the 'activation_ap' since this is now determined
9145                         from the specific_object of the activation request, which is
9146                         populated from the get_best_connection() call or from a user request
9147                 - (nm_device_802_11_wireless_update_bssid): fix warning
9148                 - (get_wireless_capabilities): fix error message format arguments
9149                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9150                 - (find_best_connection, real_get_best_connection): implement
9151                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9152                         move here from NetworkManagerAPList
9153                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9154                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9155                         already verified earlier
9156                 - (real_act_stage2_config): use nm_connection_need_secrets()
9157
9158         * src/NetworkManagerPolicy.c
9159                 - (nm_policy_auto_get_best_device): handle specific objects
9160                 - (create_connection): remove; automatic connection creation functionality
9161                         is handled by the Connection objects
9162                 - (nm_policy_device_change_check): handle specific_object
9163
9164         * libnm-util/nm-connection.c
9165                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9166
9167 2007-09-10  Dan Williams  <dcbw@redhat.com>
9168
9169         * src/nm-manager.c
9170                 - (query_connections): fix uninitialized variable problem that caused
9171                         segfault
9172                 - (nm_manager_add_device): take devices down on startup so that we can
9173                         be assured that nm_device_is_up() won't short-circuit the init
9174                         process.  Hack until the is_up check gets split into two pieces
9175                         that aren't behaviorally confusing.
9176
9177 2007-09-09  Dan Williams  <dcbw@redhat.com>
9178
9179         * introspection/nm-device.xml
9180                 - The 'Activate' method now takes 3 arguments, a service name for the
9181                 settings service (user or system), the object path of the connection
9182                 to activate, and the specific object to activate, if any
9183
9184         * src/nm-device-interface.c
9185                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9186                 Add error bits
9187                 - (impl_device_activate): adapt to new Activate arguments; validate
9188                 the service name and get the Connection object from the NMManager
9189                 before starting to activate the device with the specified connection
9190
9191         * src/nm-device-802-3-ethernet.c
9192                 - (real_get_best_connection): find the best connection, or create a
9193                 default one if no existing connections can be used
9194
9195         * src/NetworkManagerPolicy.c
9196                 - (nm_policy_auto_get_best_device): Get the device's best connection
9197                 and only pick the device if it has one
9198                 - (nm_policy_device_change_check): disable wireless bits for now until
9199                 wireless get_best_connection() can be implemented (replacing "best_ap");
9200                 don't create a default connection here as the device subclass will do
9201                 that if needed
9202
9203         * src/nm-manager.h
9204           src/nm-manager.c
9205                 - (nm_manager_get): make NMManager a singleton and expose the getter
9206                 internally
9207                 - Rework internal NMManager connection handling to use the same
9208                 routines for both the system and user settings services.  Most calls
9209                 take a new NMConnectionType argument specifying either system or user
9210                 connections
9211                 - (nm_manager_get_connection_by_object_path): new function; get a
9212                 connection keyed on its object path
9213
9214         * src/NetworkManager.c
9215                 - (main): use nm_manager_get()
9216
9217 2007-09-09  Dan Williams  <dcbw@redhat.com>
9218
9219         * src/nm-device.h
9220           src/nm-device.c
9221                 - (nm_device_get_best_connection): new function; get best connection
9222                         for the device at that time
9223
9224 2007-09-09  Dan Williams  <dcbw@redhat.com>
9225
9226         * src/nm-device-interface.h
9227                 - Add NMDeviceInterfaceError with an UnknownConnection error
9228
9229 2007-09-09  Dan Williams  <dcbw@redhat.com>
9230
9231         Stupid mistake on my part; object path and interface for settings service
9232         and connection objects can be the same, only the service name must be
9233         different for the system and user settings services.
9234
9235         * include/NetworkManager.h
9236           src/nm-manager.c
9237           introspection/nm-settings-connection.xml
9238           introspection/nm-settings.xml
9239           libnm-glib/nm-settings.c
9240                 - (nm_connection_settings_init, query_user_connections,
9241                    new_connection_cb): Unify NetworkManagerSettings and Connection
9242                    interface name and object path
9243
9244 2007-09-06  Dan Williams  <dcbw@redhat.com>
9245
9246         * libnm-glib/nm-object.c
9247                 - (nm_object_get_string_property, nm_object_get_object_path_property,
9248                    nm_object_get_int_property, nm_object_get_uint_property,
9249                    nm_object_get_boolean_property, nm_object_get_byte_property,
9250                    nm_object_get_double_property, nm_object_get_byte_array_property):
9251                         clear GValues after copying their contents, fixes memory leaks
9252                         after every property access because dbus-glib copies the values
9253                         from the DBusMessage into the GValue already.
9254
9255 2007-09-06  Dan Williams  <dcbw@redhat.com>
9256
9257         * introspection/nm-access-point.xml
9258                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9259                         them to be.  There's some magic property name parsing going on in
9260                         dbus-glib that breaks up property names based on studly-caps and
9261                         puts - between words.
9262
9263         * libnm-glib/nm-access-point.c
9264                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9265                         Fix property names
9266
9267 2007-09-06  Dan Williams  <dcbw@redhat.com>
9268
9269         * src/nm-manager.c
9270                 - (nm_manager_user_connections_destroy): clear the user connections hash
9271                         table, don't destroy it
9272                 - (finalize): only destroy the hash table on NMManager finalization
9273
9274 2007-09-02  Dan Williams  <dcbw@redhat.com>
9275
9276         * include/NetworkManager.h
9277           libnm-glib/nm-settings.c
9278                 - defines for the user settings daemon D-Bus bits
9279
9280         * src/NetworkManager.c
9281                 - Remove stuff that referred to the old NetworkManagerInfo service
9282
9283         * src/vpn-manager/nm-dbus-vpn.h
9284                 - Move old NMI defines to the only place they are used still
9285
9286         * libnm-util/nm-connection.c
9287           libnm-util/nm-connection.h
9288           src/nm-activation-request.c
9289                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9290
9291         * src/nm-manager.c
9292           src/nm-manager.h
9293                 - Get connections and their settings from the user settings daemon
9294                         at the appropriate times
9295
9296 2007-09-02  Dan Williams  <dcbw@redhat.com>
9297
9298         * libnm-util/nm-setting.c
9299                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9300                 - (setting_wireless_hash): set the right value on the item
9301
9302 2007-09-02  Dan Williams  <dcbw@redhat.com>
9303
9304         * test/Makefile.am
9305           test/nminfotest.c
9306                 - Remove, no longer useful
9307
9308 2007-08-30  Dan Williams  <dcbw@redhat.com>
9309
9310         * src/Makefile.am
9311           src/NetworkManagerDbus.c
9312           src/NetworkManagerDbus.h
9313           src/vpn-manager/nm-dbus-vpn.c
9314                 - Remove, no longer necessary.  Move last bits to the only place its
9315                 used, in nm-dbus-vpn.c
9316
9317         * src/NetworkManagerAPList.c
9318           src/nm-device.c
9319           src/NetworkManager.c
9320           src/nm-device-802-11-wireless.c
9321           src/vpn-manager/nm-vpn-manager.c
9322           src/vpn-manager/nm-vpn-service.c
9323           src/NetworkManagerPolicy.c
9324           src/nm-manager.c
9325                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9326                 that was message_is_error()
9327
9328 2007-08-30  Dan Williams  <dcbw@redhat.com>
9329
9330         * libnm-util/sha1.c
9331                 - Include config.h to get defines for endiannes (gnome.org #420216)
9332
9333 2007-08-30  Dan Williams  <dcbw@redhat.com>
9334
9335         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9336
9337         * src/ppp-manager/Makefile.am
9338                 - use -fPIC (gnome.org #471825)
9339
9340 2007-08-29  Dan Williams  <dcbw@redhat.com>
9341
9342         * include/NetworkManager.h
9343                 - Keep NMConnection object path in sync
9344
9345         * libnm-glib/nm-settings.c
9346           libnm-glib/nm-settings.h
9347                 - Break D-Bus object registration out of the init function, because
9348                 every object that's exported over D-Bus needs to use the _same_
9349                 DBusConnection.  Otherwise, each object would get a different object
9350                 path tree and wouldn't be callable.
9351
9352 2007-08-29  Dan Williams  <dcbw@redhat.com>
9353
9354         * libnm-util/nm-setting.h
9355           libnm-util/nm-setting.c
9356           libnm-util/nm-connection.c
9357           src/NetworkManagerPolicy.c
9358                 - 'info' settings object should be 'connection' says the spec
9359                 at NetworkManagerConfigurationSpecification
9360
9361 2007-08-29  Dan Williams  <dcbw@redhat.com>
9362
9363         * libnm-glib/nm-settings.c
9364           libnm-glib/nm-settings.h
9365                 - make the dbus path a property of the object, and autogenerate it.
9366                 It can't be composed of the 'id' field becuase that's not available
9367                 yet during the GObject creation in nm_connection_settings_init()
9368
9369 2007-08-29  Dan Williams  <dcbw@redhat.com>
9370
9371         * introspection/nm-settings-connection.xml
9372           introspection/nm-settings.xml
9373                 - Service name -> NetworkManagerUserSettings because two services
9374                 can't share part of the same path.  I'm not really sure how we'll use
9375                 the same code with the system-settings daemon...
9376
9377 2007-08-28  Dan Williams  <dcbw@redhat.com>
9378
9379         * src/nm-device-interface.c
9380           src/nm-device-interface.h
9381                 - Kill one more bit of NMData
9382
9383 2007-08-28  Dan Williams  <dcbw@redhat.com>
9384
9385         * src/NetworkManagerSystem.h
9386           src/nm-device.c
9387           src/nm-device.h
9388           src/nm-hal-manager.c
9389           src/NetworkManager.c
9390           src/nm-device-802-11-wireless.c
9391           src/nm-hal-manager.h
9392           src/nm-device-802-3-ethernet.c
9393           src/vpn-manager/nm-vpn-service.h
9394           src/vpn-manager/nm-vpn-manager.c
9395           src/vpn-manager/nm-vpn-manager.h
9396           src/vpn-manager/nm-vpn-service.c
9397           src/nm-device-802-11-wireless.h
9398           src/NetworkManagerMain.h
9399           src/nm-device-802-3-ethernet.h
9400           src/backends/NetworkManagerGentoo.c
9401           src/backends/NetworkManagerPaldo.c
9402           src/backends/NetworkManagerFrugalware.c
9403           src/backends/NetworkManagerRedHat.c
9404           src/backends/NetworkManagerSlackware.c
9405           src/backends/NetworkManagerGeneric.c
9406           src/backends/NetworkManagerArch.c
9407           src/backends/NetworkManagerSuSE.c
9408           src/backends/NetworkManagerGeneric.h
9409           src/backends/NetworkManagerDebian.c
9410                 - Kill NMData
9411
9412 2007-08-28  Dan Williams  <dcbw@redhat.com>
9413
9414         * src/NetworkManagerMain.h
9415           src/nm-device-802-11-wireless.c
9416           src/NetworkManager.c
9417                 - Remove invalid AP list from NMData; need to rework this somewhat, but
9418                 for now we should set the 'invalid' property on individual APs, and when
9419                 we need to invalidate a whole ESS, set the 'invalid' on every member of
9420                 that ESS
9421
9422 2007-08-28  Dan Williams  <dcbw@redhat.com>
9423
9424         * src/NetworkManagerAP.c
9425           src/NetworkManagerAP.h
9426                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9427                         'autoconnect' property instead
9428
9429         * src/NetworkManager.c
9430           src/NetworkManagerMain.h
9431           src/NetworkManagerPolicy.c
9432           src/NetworkManagerPolicy.h
9433                 - Remove the 'allowed_ap_list', which should be replaced by 
9434                         NMConnection/NMSettings instead, since _those_ are the allowed
9435                         things that NM can connect to
9436
9437         * src/nm-device-802-11-wireless.c
9438                 - Remove both allowed_ap_list usage and 'fallback' checking
9439
9440 2007-08-28  Dan Williams  <dcbw@redhat.com>
9441
9442         * src/nm-device.c
9443           src/named-manager/nm-named-manager.c
9444           src/named-manager/nm-named-manager.h
9445           src/NetworkManager.c
9446           src/vpn-manager/nm-vpn-manager.c
9447           src/NetworkManagerMain.h
9448           src/NetworkManagerSystem.c
9449                 - Remove the named-manager object from NMData structure in preparation
9450                 for NMData's timely death.  Make the NMNamedManager the singleton that
9451                 it really is
9452
9453 2007-08-28  Dan Williams  <dcbw@redhat.com>
9454
9455         Remove NMAPSecurity objects, they are replaced with flags on the APs for
9456         each AP's capabilities, and by NMConnection/NMSettings objects for user
9457         defined connections.
9458
9459         * include/NetworkManager.h
9460                 - Redefine 802.11 security properties.  There are now device capabilities
9461                         and AP flags and AP security flags.  It was way to unclear before.
9462
9463         * src/Makefile.am
9464           src/nm-ap-security-leap.h
9465           src/nm-ap-security-leap.c
9466           src/nm-ap-security-wpa-eap.c
9467           src/nm-ap-security-wpa-eap.h
9468           src/nm-ap-security-private.h
9469           src/nm-ap-security-wpa-psk.c
9470           src/nm-ap-security-wpa-psk.h
9471           src/nm-ap-security-wep.c
9472           src/nm-ap-security-wep.h
9473           src/nm-ap-security.c
9474           src/nm-ap-security.h
9475                 - Removed, to be replaced with NMConnection/NMSettings objects
9476
9477         * src/nm-dbus-nmi.c
9478           src/nm-dbus-nmi.h
9479                 - Removed, to be replaced by code that talks to the new info daemon
9480                         interface and gets NMConnection/NMSettings objects
9481
9482         * src/backends/NetworkManagerSuSE.c
9483                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9484                         info-daemon that does the same thing but talks the new info-daemon
9485                         D-Bus interface
9486
9487         * src/NetworkManagerAP.h
9488           src/NetworkManagerAP.c
9489           src/NetworkManagerAPList.c
9490           libnm-glib/libnm-glib-test.c
9491                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9492                         WPA/RSN
9493
9494         * libnm-glib/nm-access-point.c
9495           libnm-glib/nm-access-point.h
9496           introspection/nm-access-point.xml
9497           test/nm-tool.c
9498                 - Adjust to new flags for AP security
9499
9500         * utils/nm-utils.c
9501           utils/nm-utils.h
9502           src/vpn-manager/nm-dbus-vpn.c
9503                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9504                         stuff which is the only place it's used
9505
9506         * src/nm-device-interface.c
9507           src/nm-device-interface.h
9508           introspection/nm-device.xml
9509           src/nm-activation-request.c
9510           src/nm-activation-request.h
9511           src/nm-device.c
9512                 - Add a new 'specific_object' argument that hints to NM what actual
9513                         AP or other device-specific thing the connection should apply to.
9514                         NMConnection objects can apply to more than one actual device/AP.
9515
9516         * libnm-util/nm-connection.c
9517         * libnm-util/nm-connection.h
9518                 - Add 'have_secrets" call stubs
9519
9520         * libnm-util/cipher.h
9521                 - Move NM_AUTH_TYPE_* defines here for now
9522
9523         * src/nm-device-802-11-wireless.c
9524                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9525                         NMSettings objects
9526
9527         * src/NetworkManagerDbus.c
9528         * src/NetworkManagerPolicy.c
9529                 - Remove usage of update_allowed_networks, should be pushing data in
9530                         a different manner
9531
9532 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9533
9534         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9535         dbus-glib frees it when the call is done.
9536
9537 2007-08-26  Dan Williams  <dcbw@redhat.com>
9538
9539         * introspection/nm-device.xml
9540                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9541
9542 2007-08-26  Dan Williams  <dcbw@redhat.com>
9543
9544         * src/nm-device-802-3-ethernet.c
9545                 - (constructor): move connection of interface-connected/disconnected
9546                         signals here from real_bring_up().  Should be listening to netlink
9547                         for carrier events no matter what the initial state of the device
9548                         is.
9549
9550 2007-08-26  Dan Williams  <dcbw@redhat.com>
9551
9552         * src/nm-netlink-monitor.c
9553                 - (nm_netlink_monitor_class_init): fix marshalling types for
9554                         interface-connected/interface-disconnected
9555                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9556                         check
9557
9558 2007-08-26  Dan Williams  <dcbw@redhat.com>
9559
9560         Convert to using interface indexes as the primary method of identifying
9561         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9562         be renamed at any time.  Device object paths now refer to the device
9563         index rather than the name, and you can map those two manually if you like
9564         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9565         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9566         to use interface indexes rather than names.
9567
9568 2007-08-26  Dan Williams  <dcbw@redhat.com>
9569
9570         * src/nm-netlink-monitor.h
9571                 - Remove one last bit of wireless-event signal
9572
9573 2007-08-26  Dan Williams  <dcbw@redhat.com>
9574
9575         * src/nm-netlink-monitor.c
9576                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9577                         don't need the 'wireless-event' signal anymore since that's all
9578                         handled by wpa_supplicant
9579
9580 2007-08-25  Dan Williams  <dcbw@redhat.com>
9581
9582         It's 2007. Remove support for drivers that don't support wireless scanning.
9583
9584         * test/nm-tool.c
9585           include/NetworkManager.h
9586           src/NetworkManagerUtils.c
9587           src/NetworkManagerPolicy.c
9588           src/nm-device-802-11-wireless.c
9589                 - Remove special handling for non-scanning devices and mark them
9590                         as unsupported/unhandled
9591
9592 2007-08-20  Dan Williams  <dcbw@redhat.com>
9593
9594         * src/nm-device-802-11-wireless.c
9595           src/nm-device-802-3-ethernet.c
9596                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9597                         because when the card is pulled or the module removed, the device
9598                         is already !IFF_UP and then device-specific cleanup (removing
9599                         the supplicant interface, periodic checks, etc) never gets done
9600
9601 2007-08-20  Dan Williams  <dcbw@redhat.com>
9602
9603         * src/nm-manager.c
9604                 - (nm_manager_remove_device): bring device down before disconnecting
9605                         signal handlers, so that the 'state' signal will get broadcast when
9606                         the device enters the DOWN state
9607                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9608                         of states that cause the NMManager to recheck its state
9609
9610 2007-08-20  Dan Williams  <dcbw@redhat.com>
9611
9612         * src/supplicant-manager/nm-supplicant-interface.c
9613                 - (interface_disconnect_done): don't try to dispose of the net proxy
9614                         when it may already have been disposed of
9615
9616 2007-08-20  Dan Williams  <dcbw@redhat.com>
9617
9618         * src/nm-device-802-11-wireless.c
9619                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9620                         the SSID isn't available; this can happen when the card is pulled
9621                         or the module unloaded, during the post-removal deactivation
9622                         paths, when the ioctl returns ENODEV
9623
9624 2007-08-20  Dan Williams  <dcbw@redhat.com>
9625
9626         * src/nm-device-802-11-wireless.c
9627                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9628                         frequency, and mode match.  Applets are now responsible for grouping
9629                         access points
9630
9631 2007-08-20  Dan Williams  <dcbw@redhat.com>
9632
9633         * src/NetworkManagerAP.c
9634         * src/NetworkManagerAP.h
9635                 - (nm_ap_print_self): new function
9636
9637         * src/NetworkManagerAPList.c
9638                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9639                         to do it all here
9640         
9641 2007-08-17  Dan Williams  <dcbw@redhat.com>
9642
9643         * src/nm-device-802-3-ethernet.c
9644                 - (real_bring_down): don't try to dispose of stuff that might not
9645                         exist
9646
9647 2007-08-17  Dan Williams  <dcbw@redhat.com>
9648
9649         * src/NetworkManagerAP.c
9650                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9651                         applet.  This ensures that the case between the seen-bssids and
9652                         the bssids reported by the driver match.
9653
9654 2007-08-17  Dan Williams  <dcbw@redhat.com>
9655
9656         * src/nm-device-802-11-wireless.c
9657                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9658                         we dispose of the interface proxy in NM
9659
9660 2007-08-16  Dan Williams  <dcbw@redhat.com>
9661
9662         * libnm-glib/nm-client.c
9663                 - (nm_client_init): create VPN connections hash table with key free
9664                         function
9665                 - (proxy_vpn_connection_added): VPN connections hash table key should
9666                         be a duplicated value, not the same memory address as the VPN
9667                         connection name.  This is because the VPN connection name could
9668                         potentially be freed and set to something else during the lifetime
9669                         of the NMVPNConnection object.
9670
9671 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9672
9673         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9674         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9675         with the file descriptors. Send a child setup function to change the pppd
9676         progress group.
9677
9678 2007-08-15  Dan Williams  <dcbw@redhat.com>
9679
9680         * src/supplicant-manager/nm-supplicant-interface.c
9681                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9682                         an interface
9683                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9684                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9685                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9686                         the interface internally
9687
9688 2007-08-15  Dan Williams  <dcbw@redhat.com>
9689
9690         * src/nm-device-802-11-wireless.c
9691                 - (real_bring_down): move most of this function into device_cleanup()
9692                         so that it can be called from elsewhere
9693                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9694                         and stuff on dispose.  These would normally get cleaned up when
9695                         the device is marked down and deactivated, but when the device is
9696                         hot-unplugged, it's already down and real_down() never gets run
9697
9698 2007-08-15  Dan Williams  <dcbw@redhat.com>
9699
9700         * src/nm-dbus-nmi.c
9701                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9702                         caused a reference leak on device for which NM requested a key
9703
9704 2007-08-15  Dan Williams  <dcbw@redhat.com>
9705
9706         * libnm-glib/nm-client.c
9707                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9708
9709 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9710
9711         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9712         nothing is using it at the moment, but it'll be all useful and stuff later on.
9713
9714         * libnm-util/nm-setting.h: Define NMSettingPPP.
9715
9716         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9717
9718         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9719
9720         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9721
9722         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9723
9724         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9725
9726 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9727
9728         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9729
9730         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9731         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9732         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9733         name and different arguments and it won't compile anymore. To fix this, we now have
9734         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9735         that is new API + compatibility API and used by the daemon. The other, 
9736         nm-manager-client.xml is only the new API without compatibility bits and is used
9737         by libnm-glib to make it compile.
9738
9739         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9740
9741         * src/nm-manager.c (impl_manager_legacy_sleep)
9742         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9743         interface functions for 0.6 branch.
9744
9745 2007-08-14  Dan Williams  <dcbw@redhat.com>
9746
9747         * src/NetworkManagerAP.c
9748                 - (nm_ap_new_from_properties): fix mistaken check of return value
9749                         from memcmp (should expect 0)
9750
9751 2007-08-14  Dan Williams  <dcbw@redhat.com>
9752
9753         (force-commit to fix wrong comment and partial commit of r2685; this
9754          commit actually applies to r2685)
9755
9756         * src/NetworkManagerUtils.c
9757                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9758                         ignores trailing nulls in the SSID to work around mismatches in
9759                         expectations between WEXT and what the info-daemon passes back.  The
9760                         info-daemon would pass back the correct length, but due to the
9761                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9762                         the device would always have an SSID + 1 depending on what versions
9763                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9764                         visible by just quitting the applet and relaunching, which caused
9765                         NM to reassociated to the same network over again when reloading
9766                         the save networks.
9767
9768         * src/NetworkManagerPolicy.c
9769           src/NetworkManagerUtils.h
9770           src/nm-device-802-11-wireless.c
9771                 - Update for new parameter to nm_utils_same_ssid()
9772
9773 2007-08-14  Dan Williams  <dcbw@redhat.com>
9774
9775         * src/NetworkManagerAP.c
9776                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9777                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9778                         setting the BSSID to all 0s.  That confused the heck out of NM,
9779                         plus it's useless and probably out-of-spec.
9780
9781 2007-08-14  Dan Williams  <dcbw@redhat.com>
9782
9783         * callouts/Makefile.am
9784           src/dhcp-manager/nm-dhcp-manager.c
9785           src/dhcp-manager/nm-dhcp-manager.h
9786           src/dhcp-manager/Makefile.am
9787                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9788
9789 2007-08-14  Dan Williams  <dcbw@redhat.com>
9790
9791         * src/dhcp-manager/nm-dhcp-manager.c
9792                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9793                         it's really needed, get rid of unused xtra_args parameter
9794
9795 2007-08-14  Dan Williams  <dcbw@redhat.com>
9796
9797         * include/NetworkManagerVPN.h
9798           src/vpn-manager/nm-dbus-vpn.c
9799           src/vpn-manager/nm-dbus-vpn.h
9800           src/vpn-manager/nm-vpn-act-request.c
9801           src/vpn-manager/nm-vpn-act-request.h
9802           src/vpn-manager/nm-vpn-service.c
9803           src/vpn-manager/nm-vpn-service.h
9804           libnm-glib/nm-vpn-connection.c
9805           libnm-glib/nm-vpn-connection.h
9806           libnm-glib/nm-client.h
9807                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9808                         NMVPNServiceState to clarify what they apply to
9809                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9810                         NMVPNActStage -> NMVPNConnectionState for the same reason
9811
9812         * libnm-glib/nm-client.c
9813                 - Constant + type renames from above
9814                 - Properly handle NameOwnerChanged/manager_running signals
9815                         for NM service; only emit when state really changes
9816                 - Use hash tables correctly so that the key (which was previously owned
9817                         by the D-Bus message) now has the same lifetime as the value, since
9818                         the key is now taken from the the NMVPNConnection itself.  This
9819                         really fixes the double-VPN names in the applet
9820
9821 2007-08-13  Dan Williams  <dcbw@redhat.com>
9822
9823         Patch from Michael Biebl <biebl@debian.org>
9824
9825         * po/POTFILES.in
9826           po/POTFILES.skip
9827                 - Update for vpn-properties move
9828
9829 2007-08-13  Dan Williams  <dcbw@redhat.com>
9830
9831         * libnm-glib/nm-client.c
9832                 - Convert internal VPN connection tracking from a list to a hash table
9833                         to easily avoid duplicates
9834                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9835                         must be freed by the caller, like nm_client_get_devices()
9836                 - (nm_client_remove_vpn_connection): don't let the removal signal
9837                         leak through for NMVPNConnection objects that aren't actually
9838                         tracked.
9839                 - (manager_running): throw away VPN connection list when NM goes away,
9840                         like with the device list
9841
9842 2007-08-13  Dan Williams  <dcbw@redhat.com>
9843
9844         * src/dhcp-manager/nm-dhcp-manager.c
9845                 - Stop any dhclient instance that might be already running for a
9846                         particular interface before starting an NM spawned dhclient.  Fixes
9847                         dhclient processes left over if NM crashes, stuff like that.
9848
9849 2007-08-13  Dan Williams  <dcbw@redhat.com>
9850
9851         * src/NetworkManagerAP.c
9852                 - (finalize): don't try to g_array_free (NULL, ...), which happened
9853                         when the AP wasn't broadcasting it's SSID
9854
9855 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
9856
9857         * include/NetworkManager.h: added DBus path for connection settings.
9858
9859         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9860         nm_connection_settings_signal_updated,
9861         nm_connection_settings_signal_removed): new functions to wrap the
9862         objects' signals.
9863         (nm_connection_settings_init): register GObject with DBus.
9864         (nm_connection_settings_get_dbus_object_path): new function.
9865
9866         * libnm-glib/Makefile.am: added libnmutil to link flags.
9867
9868 2007-08-13  Tambet Ingo  <tambet@gmail.com>
9869
9870         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9871
9872         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9873         libnm_glib directory got merged with libnm-glib/.
9874
9875         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9876
9877         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9878         Rename the library from libnm-glib to libnm_glib to maintain the library API
9879         compatibility with 0.6 branch.
9880
9881         * Makefile.am: Remove gnome/ SUBDIR.
9882
9883         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9884
9885         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9886
9887         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9888
9889         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9890         anymore.
9891         Remove checks for wpa_supplicant binary, it's used over dbus.
9892         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9893
9894         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9895         Link the binaries with libnm_glib.la.
9896
9897 2007-08-12  Dan Williams  <dcbw@redhat.com>
9898
9899         * src/NetworkManagerPolicy.c
9900                 - (nm_policy_device_change_check): fix policy to deactivate old device
9901                         before activating new one, at least until the multiple active
9902                         device support lands
9903
9904 2007-08-12  Dan Williams  <dcbw@redhat.com>
9905
9906         * src/NetworkManagerPolicy.c
9907                 - (nm_policy_new): hook up to connection-added / connection-removed
9908                         signals instead of connections-changed
9909
9910 2007-08-12  Dan Williams  <dcbw@redhat.com>
9911
9912         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
9913         Robert Frank <rfrank@redhat.com>
9914
9915         * src/dhcp-manager/nm-dhcp-manager.c
9916           src/dhcp-manager/nm-dhcp-manager.c
9917           src/nm-device.c
9918                 - Spawn and communicate with dhclient directly, through means of a
9919                 custom dhclient callout script.  Process callout D-Bus signals
9920                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
9921                 sent via gobject signals rather than being driven by the dhcp manager
9922                 directly.
9923
9924 2007-08-12  Dan Williams  <dcbw@redhat.com>
9925
9926         * callouts/nm-dhcp-client-action.c
9927                 - (build_message): ignore non-DHCP-related environment variables
9928
9929 2007-08-12  Dan Williams  <dcbw@redhat.com>
9930
9931         * Makefile.am
9932           configure.in
9933           callouts/Makefile.am
9934           callouts/nm-dhcp-client-action.c
9935           callouts/nm-dhcp-client.conf
9936                 - Add dhclient-executed callout that takes the place of dhclient-script
9937                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9938                 NM then listens for
9939
9940 2007-08-09  Tambet Ingo  <tambet@gmail.com>
9941
9942         [Based on patch by Helmut Schaa <hschaa@suse.de>]
9943
9944         * libnm-glib/nm-client.h:
9945         * libnm-glib/nm-object.h:
9946         * libnm-glib/nm-vpn-connection.h:
9947         * libnm-glib/nm-settings.h:
9948         * libnm-glib/nm-device.h:
9949         * libnm-glib/nm-ip4-config.h:
9950         * libnm-glib/nm-access-point.h:
9951         * libnm-glib/nm-device-802-3-ethernet.h:
9952         * libnm-util/nm-setting.h: 
9953         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9954
9955         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9956
9957         * libnm-glib/nm-access-point.c: Strength has type char.
9958
9959         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9960         to fix build. GnomeDruid is deprecated in recent libgnomeui.
9961
9962         * introspection/nm-access-point.xml: Strength property is char, not int.
9963
9964         * src/NetworkManagerAP.c (set_property): Set strength from char.
9965         (get_property): Handle hidden APs (with empty SSID).
9966         Get strength value from char.
9967         (nm_ap_class_init): Strength property has char type.
9968
9969 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
9970
9971         * introspection/Makefile.am:
9972         * introspection/nm-settings.xml:
9973         * introspection/nm-settings-connection.xml: added Settings interfaces.
9974
9975         * libnm-glib/nm-settings.[ch]:
9976         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9977         containing the DBus implementation.
9978
9979 2007-07-26  Dan Williams  <dcbw@redhat.com>
9980
9981         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9982
9983         * src/NetworkManagerSystem.c
9984                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9985                         same subnet (#437396)
9986
9987 2007-07-26  Dan Williams  <dcbw@redhat.com>
9988
9989         Patch from Kelemen Gábor <kelemeng@gnome.hu>
9990
9991         * gnome/vpn-properties/nm-vpn-properties.c
9992                 - Fix translatable strings (#445865)
9993
9994 2007-07-26  Dan Williams  <dcbw@redhat.com>
9995
9996         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9997
9998         * configure.in
9999                 - Remove useless junk (#412530)
10000
10001 2007-07-10  Christopher Aillon  <caillon@redhat.com>
10002
10003         Patch from Robert Buchholz <rbu@gentoo.org>:
10004
10005         * configure.in:
10006         * Makefile.am:
10007         * introspection/Makefile.am:
10008         Make make distcheck work again.
10009
10010 2007-06-27  Dan Williams  <dcbw@redhat.com>
10011
10012         * Make SSIDs GByteArrays everywhere
10013         * Rename "essid" -> "ssid" everywhere that's appropriate
10014         * Refcount activation_ap member of the 802.11 wireless device class
10015
10016 2007-06-27  Tambet Ingo  <tambet@ximian.com>
10017
10018         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
10019
10020 2007-06-22  Tambet Ingo  <tambet@ximian.com>
10021
10022         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
10023         that we got a new AP when we just update existing AP properties.
10024
10025 2007-06-21  Tambet Ingo  <tambet@ximian.com>
10026
10027         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
10028
10029         * nm-utils.[ch]: Remove.
10030
10031         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
10032         objects for easy property access and dbus connection handling.
10033
10034         * libnm-glib/nm-client.c: Derive from NMObject.
10035
10036         * libnm-glib/nm-device.c: Ditto.
10037
10038         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
10039
10040         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
10041
10042         * libnm-glib/nm-ip4-config.c: Ditto.
10043
10044         * libnm-glib/nm-access-point.c: Ditto.
10045
10046         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
10047         comparision. Currently used by the device activation code to determine if the new
10048         activation is the same as the old one.
10049
10050         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
10051         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
10052         able to ask password for the AP.
10053
10054         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
10055         up if the device is already connected, tear down it's connection (if it isn't the
10056         same as new one) and start the activation.
10057
10058         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
10059
10060         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10061         the issue where all APs are always listed as encrypted.
10062
10063         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10064         their own registered paths.
10065
10066         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10067         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10068
10069 2007-06-13  Tambet Ingo  <tambet@ximian.com>
10070
10071         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10072         (0 & 0 == 0, doh)
10073
10074         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10075         because the handling code will cause the next state change and signal listeners
10076         get the signals in wrong order.
10077
10078         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10079         correctly in case of pending activation.
10080
10081         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10082         Convert the essid byte array to string correctly, including the terminating NULL.
10083
10084         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10085         mode with correct types.
10086
10087         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10088         constructed info to dbus call instead of the activation request.
10089
10090 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10091
10092         Patch from Christian Persch <chpe@gnome.org>
10093
10094         * libnm-glib/Makefile.am:
10095         * dispatcher-daemon/Makefile.am:
10096         Use the correct variables, the correct paths, and correct ordering. (446315)
10097
10098 2007-06-11  Tambet Ingo  <tambet@ximian.com>
10099
10100         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10101         argument. The activation request is easy to retrieve.
10102
10103         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10104         just to be a convenient location for devices to store random stuff.
10105
10106 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10107
10108         Patch from Alex Smith <alex@alex-smith.me.uk>
10109
10110         * src/backends/NetworkManagerFrugalware.c:
10111         Update the FrugalWare backend to fix a few segfaults. (#392642)
10112
10113 2007-06-08  Tambet Ingo  <tambet@ximian.com>
10114
10115         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10116
10117         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10118         setting.
10119         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10120
10121 2007-06-06  Tambet Ingo  <tambet@ximian.com>
10122
10123         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10124         automagically.
10125         Implement NMSettingIP4Config.
10126         Finish NMSettingWired by adding all known members.
10127         (setting_wired_verify): Implement.
10128         Finish NMSettingWireless by adding all known members.
10129         (setting_wireless_verify): Implement.
10130
10131         * libnm-util/nm-connection.c: Register "ipv4" setting.
10132         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10133         dump function, we can introspect the GHashTable which is used for sending connections
10134         over dbus.
10135
10136         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10137         Take GByteArray for essid, it's really not a string.
10138
10139         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10140         Start DHCP request if setting is not passed or if it states that DHCP should be used.
10141         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10142         means overriding the values we got from DHCP.
10143         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10144         (nm_device_deactivate_quickly): Ditto.
10145
10146         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10147         for debugging.
10148
10149 2007-05-07  Tambet Ingo  <tambet@ximian.com>
10150
10151         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10152         NMConnection.
10153
10154         * libnm-glib/nm-device-802-11-wireless.c:
10155         (nm_device_802_3_ethernet_activate): Remove.
10156
10157         * libnm-glib/nm-device-802-3-ethernet.c
10158         (nm_device_802_3_ethernet_activate): Remove.
10159
10160         * libnm-glib/nm-device.c (nm_device_activate): Implement.
10161
10162         * src/nm-device-802-3-ethernet.c: Implement the new activation using
10163         NMConnection.
10164
10165         * src/nm-device-802-11-wireless.c: Store an activation AP once the
10166         activation has started.
10167         Implement the new activation using NMConnection.
10168
10169         * src/nm-activation-request.c: Store a generic connection object instead
10170         of a wireless-specific AP.
10171
10172         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10173         on device type, create a device specific connection object suitable for
10174         device activation.
10175
10176         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10177         specific check to validate the connection and on success start the
10178         activation.
10179
10180         * src/nm-device-interface.h: Add a activate virtual function to the
10181         interface definition.
10182
10183         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10184         (impl_device_activate): Implement.
10185
10186         * introspection/nm-device.xml: Add a generic device activation interface
10187         that accepts an abstract NMConnection structure that has device-specific
10188         information in it.
10189
10190         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10191         activation interface.
10192
10193         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10194         activation interface.
10195
10196         * libnm-util/nm-connection.c: 
10197         * libnm-util/nm-connection.h: 
10198         * libnm-util/nm-setting.c:
10199         * libnm-util/nm-setting.h: Add.
10200
10201         * libnm-util/Makefile.am: Build the added files.
10202
10203         * src/nm-dbus-manager.c
10204         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10205         DbusConnection argument from 'name-owner-changed' signal. The manager
10206         is already passed as a first argument to the signal and the connection
10207         is easy enough to get from it.
10208
10209         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10210         Update the signature of the function.
10211
10212         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10213         Ditto.
10214
10215         * src/NetworkManager.c: Ditto.
10216
10217         * src/named-manager/nm-named-manager.c
10218         (nm_named_manager_name_owner_changed): Ditto.
10219
10220         * src/supplicant-manager/nm-supplicant-manager.c
10221         (nm_supplicant_manager_name_owner_changed): Ditto.
10222
10223         * src/nm-hal-manager.c (name_owner_changed): Ditto.
10224
10225         * src/dhcp-manager/nm-dhcp-manager.c
10226         (nm_dhcp_manager_name_owner_changed): Ditto.
10227
10228         * src/nm-hal-manager.c: Add a list of device detectors and creators
10229         to make it easier to add new devices. Each device type has it's own
10230         entry in the table so adding new device types is only a matter of
10231         implementing a couple of functions, one for device detection and the
10232         other for device creation.
10233
10234 2007-04-25  Dan Williams  <dcbw@redhat.com>
10235
10236         * initscript/RedHat/NetworkManager.in: remove trailing backslash
10237                 (gnome.org #432401)
10238
10239 2007-03-30  Dan Williams  <dcbw@redhat.com>
10240
10241         * src/NetworkManagerSystem.c
10242                 - (nm_system_device_set_ip4_route): clean up and fix argument
10243                         to nm_dev_sock_open()
10244
10245 2007-03-28  Tambet Ingo  <tambet@ximian.com>
10246
10247         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10248         data to correct types instead of always using string.
10249
10250         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10251         _not_ have NM_802_11_CAP_PROTO_NONE.
10252         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10253         is not set.
10254
10255 2007-03-27  Tambet Ingo  <tambet@ximian.com>
10256
10257         * libnm-glib/Makefile.am: Fix the build issue.
10258
10259 2007-03-26  Tambet Ingo  <tambet@ximian.com>
10260
10261         * libnm-glib/nm-vpn-connection.h: 
10262         * libnm-glib/nm-vpn-connection.c: Implement.
10263
10264         * libnm-glib/nm-client.c: Add VPN support.
10265
10266         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10267         handler for VPN.
10268
10269         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10270         on DBUS again.
10271
10272 2007-03-26  Dan Williams  <dcbw@redhat.com>
10273
10274         * src/NetworkManagerAPList.c
10275         * src/nm-device-802-11-wireless.c
10276         * src/NetworkManagerAP.c:
10277                 - Store last seen as glong instead of GTimeVal.
10278                 - Fix the upper bound of capabilities, it's a bitfield.
10279
10280 2007-03-16  Tambet Ingo  <tambet@ximian.com>
10281
10282         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10283
10284         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10285         "manager-running" signal that notifies the appearance/disappearance of NM.
10286         (nm_client_sleep): Implement.
10287
10288         * libnm-glib/nm-device.c:
10289         * libnm-glib/nm-device-802-11-wireless.c: 
10290         * libnm-glib/nm-device-802-3-ethernet.c: 
10291
10292         Don't inherit from DBusGProxy, add a proxy to private
10293         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10294         for anything but their own dbus interface. DBusGProxy objects support only one
10295         interfaces and to work around this, NMDevice has spearate proxy for each dbus
10296         interface. The nice side effect of this change is that we do not create a new
10297         DBusGProxy object for each property access.
10298
10299 2007-03-15  Tambet Ingo  <tambet@ximian.com>
10300
10301         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10302         with zeroes before passing them to functions - the functions never do that and
10303         reading the values back may produce wrong values.
10304         (real_bring_up): Store the signal handler id ...
10305         (real_bring_down): ... So that it can be removed here.
10306         Disconnect the supplicant interface here as well.
10307         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10308         from the access point instead of old $device/Networks/$essid.
10309
10310         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10311         device state is connected (instead of just having link/carrier).
10312
10313         * src/nm-activation-request.c: Don't store NMData in activation request, it's
10314         already easily accessible through the device.
10315
10316         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10317         store it within the object.
10318         (nm_ap_get_dbus_path): Export it to public as well.
10319
10320         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10321         of the singleton.
10322
10323 2007-03-12  Dan Williams  <dcbw@redhat.com>
10324
10325         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
10326         for non-carrier-detect capable devices, and useless for carrier-detect
10327         devices since we get notifications from netlink about carrier status anyway.
10328
10329         * src/nm-device-802-3-ethernet.c
10330                 - remove 'link_source_id' member from private data
10331                 - (probe_link): remove and collapse into real_update_link()
10332                 - (nm_device_802_3_periodic_update): remove
10333                 - (real_is_up): check for sup_iface rather than link_source_id
10334                 - (real_bring_up): return gboolean for success/fail; require that
10335                         sup_iface be valid for device bringup to succeed
10336                 - (real_bring_down): zero out link signal ids
10337
10338         * src/nm-device.c
10339                 - (nm_device_activate_stage2_device_config): fail activation if device
10340                         bringup fails
10341                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10342                         fails
10343                 - (nm_device_bring_up): return success/fail
10344
10345         * src/nm-device.h
10346                 - bring_up now returns success/fail
10347
10348         * src/nm-device-802-11-wireless.c
10349                 - (real_bring_up): return success from bringup
10350
10351 2007-03-07  Dan Williams  <dcbw@redhat.com>
10352
10353         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
10354         * src/nm-ap-security-wpa-psk.c
10355                 - (real_write_supplicant_config): work with PSKs that may contain
10356                         zeros in the binary format rather than treating it as a string
10357
10358 2007-03-02  Tambet Ingo  <tambet@ximian.com>
10359
10360         * libnm-glib/nm-device-802-11-wireless.c
10361         (nm_device_802_11_wireless_get_capabilities): Implement.
10362
10363         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10364
10365         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10366
10367         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10368         reply only if it's not NULL. Not sure why this started happening right now.
10369
10370         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10371         code paths for when devices get removed on shutdown or when a device is just
10372         removed.
10373         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10374         gets freed so any signal from a device (disconnected for instance) would invoke
10375         NMState update which would crash.
10376         (nm_manager_remove_device): Bring the device down when it gets removed.
10377
10378         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10379         the unused dev_type.
10380
10381         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10382         reference to the added device, NMManager will own it (if it wants).
10383
10384         * test/nm-tool.c: Rewrite using libnm-glib.
10385
10386         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10387         We get signalled when it changes.
10388
10389         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10390         when it changes.
10391
10392         * libnm-glib/nm-device.c: Cache the device state property.
10393
10394         * libnm-glib/nm-access-point.c: Cache the strength property.
10395
10396         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10397         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10398         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10399         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10400         the device is down, activating, or activated (in case of A/B/G cards).
10401         Remove some old dead ifdef'ed out code that used to configure wireless devices,
10402         it's all done through supplicant now.
10403
10404         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10405         counting issues with pending calls which caused leaks and crashes when
10406         interface was removed (now that the interface actually gets removed).
10407
10408         * src/nm-call-store.c: Make a copy of data before running a foreach
10409         with user callback on it - The most common usage pattern is to cancel
10410         (and thus remove) all pending calls with foreach which would modify
10411         the hash table we're iterating over.
10412
10413         * src/nm-manager.c: When a device is added, make sure it is "up". When
10414         it's removed or disabled due to disabling wireless or networking, bring
10415         it down.
10416
10417         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10418
10419         * src/nm-device-802-11-wireless.c: 
10420         * src/nm-device-802-3-ethernet.c: 
10421         * src/nm-device.c:
10422                 - Remove "init" virtual function, all gobjects have a place for that
10423                   already (constructor).
10424                 - Replace "start" virtual function with "bring_up", devices can be
10425                   brought up and down more than just on startup now.
10426                 - Add "is_up" virtual function.
10427                 - Implement one way to bring a device down instead of previous 4 different
10428                   ways, each of witch did something different.
10429
10430         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10431         all it needs is the device interface.
10432
10433         Get rid of NMData.dev_list (3 members to go).
10434         Get rif of NMData in a lot of places.
10435
10436         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10437
10438 2007-02-23  Dan Williams  <dcbw@redhat.com>
10439
10440         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10441
10442         * src/NetworkManagerAP.c
10443                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10444                         OR-ing rather than AND-ing
10445
10446 2007-02-20  Tambet Ingo  <tambet@ximian.com>
10447
10448         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10449         "network-removed" signals.
10450
10451         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10452
10453         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10454         when receiving the signal from dbus.
10455
10456         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10457         property.
10458
10459         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10460         deactivation of the previously activated device working again.
10461
10462         * src/nm-activation-request.c: Remove NMActStage property and it's getter
10463         and setter.
10464
10465         * src/nm-device.c (nm_device_is_activated): Remove.
10466         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10467
10468         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10469         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10470         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10471         NM_DBUS_SIGNAL_STATE_CHANGE signal.
10472         Remove NMNetworkStatus and NMActStage enums.
10473
10474 2007-02-19  Tambet Ingo  <tambet@ximian.com>
10475
10476         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10477         Handle device state changes and disconnect VPN if it's device deactivates.
10478
10479         * src/nm-dbus-nm.c: 
10480         * src/nm-dbus-nm.h: 
10481         * src/nm-dbus-device.c: 
10482         * src/nm-dbus-device.c: 
10483         * src/nm-dbus-net.c: 
10484         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10485
10486         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10487
10488         * src/nm-device.c (nm_device_get_by_udi):
10489         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10490         implemented in the correct location (NMManager).
10491         Rip out all the test_device stuff.
10492
10493         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10494         failure handlers, it's all done by NMDevice already.
10495
10496         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10497         Remove the iochannel hack to route the unix signals to the main thread since
10498         we're not threaded anymore.
10499
10500         * src/NetworkManagerAP.c: Implement HWAddress property.
10501
10502         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10503         automatically with dbus-glib.
10504
10505         * src/nm-netlink-monitor.c: 
10506         * src/nm-netlink-monitor.h:
10507                 - Move it low in the class hierarchy, don't reference any NM types.
10508                 - Remove private data from the header.
10509                 - Use type safe checks in public API methods.
10510                 - Make it a singleton so we don't have to pass the single reference around.
10511
10512 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10513
10514         * introspection/nm-ip4-config.xml: Implement.
10515
10516         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10517
10518         * libnm-glib/nm-ip4-config.c:
10519         * libnm-glib/nm-ip4-config.c: Implement.
10520
10521         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10522         securities. APs reference security.
10523
10524         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10525         be exported over DBUS.
10526
10527         * src/nm-device-802-3-ethernet.c: Ditto.
10528
10529         * src/NetworkManagerAP.c:
10530         * src/NetworkManagerAP.h:
10531                 - Convert to GObject, export over DBUS.
10532
10533         * src/nm-ip4-config.h:
10534         * src/nm-ip4-config.h:
10535                 - Convert to GObject, export over DBUS.
10536
10537 2007-02-12  Dan Williams  <dcbw@redhat.com>
10538
10539         Patch from Helmut Schaa <hschaa@suse.de>
10540
10541         * vpn-daemons/pptp/configure.in
10542           vpn-daemons/pptp/Makefile.am
10543           vpn-daemons/openvpn/configure.in
10544           vpn-daemons/openvpn/Makefile.am
10545           vpn-daemons/vpnc/configure.in
10546           vpn-daemons/vpnc/Makefile.am
10547                 - Add --without-gnome switch which disables building gnome bits
10548
10549 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10550
10551         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10552
10553         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10554
10555         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10556         'HwAddress'.
10557
10558         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10559
10560         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10561
10562         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10563
10564         * src/:
10565                 - Remove old low-level dbus interface implementations and replace them
10566                   with dbus-glib one.
10567
10568         * configure.in:
10569                 - Require dbus-glib >= 0.72.
10570                 - Plug in new sources to build.
10571
10572         * libnm-glib/:
10573                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10574                   to make it more convenient to use from GObject based programs.
10575
10576         * introspection/:
10577                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10578
10579 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10580
10581         * src/nm-device-802-11-wireless.c:
10582                 - Add "network-added" and "network-removed" signals.
10583                 - Use gobject boilerplate macros to define the GObject.
10584                 - Implement wireless device activation.
10585                 - Remove activation_failure_handler and activation_success_handler
10586                   and instead listen on state-changed signals and run the same code
10587                   from there.
10588
10589         * src/nm-device.c:
10590                 - Implment NMDeviceInterface::deactivate.
10591                 - Remove activation_failure_handler and activation_success_handler
10592                   virtual methods. Each device which is interested in these events
10593                   can just listen on it's state changed signals.
10594
10595         * src/NetworkManagerPolicy.c:
10596                 - Move a bit more NMData usage to NMManager.
10597                 - Remove activation scheduling bits.
10598                 - Add listeners for wireless device's "network-added" and
10599                   "network-removed" signals.
10600                 - Listen device changed signals and deactivate currently activated
10601                   device when another device start activating (for now).
10602                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10603                   for calling this, the policy code knows exactly when this should happen,
10604                   by listening on events from NMManager and NMDevices.
10605
10606         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10607         Implement.
10608
10609         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10610         method on the specific device instead of going to through policy code
10611         and determining the device type by passed in AP's existance.
10612
10613         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10614         abstract NMDevice deactivation.
10615
10616 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10617
10618         * src/NetworkManager.c:
10619                 - Set up all the shiny new managers.
10620
10621         * src/NetworkManagerPolicy.c:
10622                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10623                   classes to call into policy code, make the policy code kind of like
10624                   a supervisor that monitors what's going on and drives the whole NM.
10625
10626         * src/nm-hal-manager.c: 
10627         * src/nm-hal-manager.h:
10628                 - Collect all libhal code scattered around NM to this one class.
10629                 - Listen libhal and NMManager events and add/remove devices to
10630                   NMManager.
10631
10632         * src/nm-manager.c:
10633         * src/nm-manager.h:
10634                 - Implment a replacement for NMData. NMData is now officially
10635                 deprecated.
10636
10637 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10638
10639         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10640         * src/supplicant-manager/nm-supplicant-interface.h
10641         * src/supplicant-manager/nm-supplicant-interface.c
10642         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10643         argument to boolean from enum.
10644
10645         Make NMDevice abstract class, remove almost all references to it's
10646         subclasses (the last place gets removed with new policy manager). Add
10647         NMDeviceInterface (which NMDevice implements) so that when we have
10648         NMDevice exported over DBUS, there's a common NMDevice interface which
10649         all instances have, plus there's a device specific interface for each
10650         specific type.
10651         Remove functions (nm_device_is_802_3_ethernet) and
10652         (nm_device_is_802_11_wireless). There are already standard GObject macros
10653         for type safe checks.
10654         Use the updated supplican manager API.
10655
10656         * src/nm-device-interface.h: 
10657         * src/nm-device-interface.c: 
10658         * src/nm-call-store.h: 
10659         * src/nm-call-store.c: Implement.
10660
10661         * src/supplicant-manager/nm-supplicant-interface.c:
10662         * src/supplicant-manager/nm-supplicant-interface.h:
10663         * src/supplicant-manager/nm-supplicant-manager.c:
10664         * src/supplicant-manager/nm-supplicant-manager.h:
10665                 - Remove all private data type references from public header files.
10666                 - Remove all references to other NM classes, this class is just a
10667                   proxy between wpa_supplicant and NM so it doesn't have to know
10668                   any internals.
10669                 - Convert to dbus-glib bindings.
10670                 - Type safe checks for public methods' arguments.
10671                 - Store pending DBUS call ids to NMCallStore.
10672
10673         * src/supplicant-manager/nm-supplicant-config.c:
10674                 - Store config values in a GHashTable instead of GSList.
10675
10676         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10677
10678         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10679         singleton now.
10680
10681         * src/nm-device.c: Use the new DHCP manager API.
10682
10683         * src/nm-activation-request.c:
10684         * src/nm-activation-request.h:
10685                 - Remove all dhcp related properties and methods.
10686
10687         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10688
10689         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10690
10691         * src/dhcp-manager/nm-dhcp-manager.c:
10692         * src/dhcp-manager/nm-dhcp-manager.h:
10693                 - Convert it to GObject since we need to signal state changes.
10694                 - Remove all references to other NM classes, this class is one
10695                   of the lowest classes in our hierarchy.
10696                 - One less class to use NMActRequest.
10697                 - Make it singleton, one less user of NMData.
10698                 - Remove a couple of sleep() calls.
10699                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10700                   One less class to use the NM's custom tailored signal handlig.
10701
10702         * Makefile.am: Generate marshallers, add them to build.
10703
10704 2007-02-02  Dan Williams  <dcbw@redhat.com>
10705
10706         * configure.in
10707           gnome/Makefile.am
10708           nm-applet.desktop
10709           Makefile.am
10710                 - Remove last bits referencing gnome applet
10711
10712 2007-02-02  Dan Williams  <dcbw@redhat.com>
10713
10714         * src/vpn-manager/nm-vpn-service.c
10715                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10716                         and NBNS server addresses
10717
10718 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10719
10720         * src/nm-dbus-manager.c:
10721         * src/nm-dbus-manager.h:
10722                 - Convert all internal DBUS code to use dbus-glib bindings.
10723                 - Remove GObject properties, we don't need them here.
10724                 - Don't explicitly set things to NULL after freeing, glib is
10725                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10726                 - Make public API argument checks type safe.
10727                 - Remove unnecessary (and wrong) cast to GObject for the first
10728                   argument to g_signal_* calls - The first argument is a gpointer.
10729                 - Export DBusGConnection to other cool classes that (are going to)
10730                   use dbus-glib.
10731
10732 2007-01-26  Dan Williams  <dcbw@redhat.com>
10733
10734         * libnm-util/dbus-dict-helpers.c
10735           libnm-util/dbus-dict-helpers.h
10736                 - Coordinate style with wpa_supplicant version to minimize diff
10737                 - Add uint32 array support
10738                 - (nmu_dbus_dict_append_uint32_array): new function
10739                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10740                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10741                         version; allow adding string array elements individually
10742
10743         * test/libnm-util/test-dbus-dict-helpers.c
10744                 - Test uint32 arrays
10745
10746 2007-01-27  Jürg Billeter  <j@bitron.ch>
10747
10748         * src/backends/NetworkManagerPaldo.c
10749                 - (nm_system_update_dns): clear nscd hosts cache
10750
10751 2007-01-04  Dan Williams  <dcbw@redhat.com>
10752
10753         Threading removal related cleanups:
10754
10755         - Use the glib default main context.  Remove the device main context
10756                 member from NMDevice, and the main_context member from NMData.  Change
10757                 all the idle and timeout scheduler functions to use plain
10758                 g_idle_add() and g_timeout_add().
10759
10760         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10761                 takes an argument; fix that up too.
10762
10763         - Remove all locking, which is useless since we no longer use threads.  For
10764                 example, nm_get_device_by_iface_locked() has been removed.  The global
10765                 device list lock, the AP List lock, and all static locks in
10766                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10767                 in NetworkManagerUtils.c have also been removed.
10768
10769         - Other cleanups in spacing and code style
10770
10771 2007-01-01  Dan Williams  <dcbw@redhat.com>
10772
10773         Found by Bill Moss:
10774
10775         * src/supplicant-manager/nm-supplicant-interface.c
10776                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10777                         the supplicant interface wasn't already disconnected.  Always
10778                         call removeNetwork and disconnect unless the supplicant interface
10779                         is in the DISCONNECTED or INACTIVE state.
10780
10781 2006-12-28  Dan Williams  <dcbw@redhat.com>
10782
10783         Use a single thread for everything.  With the move to wpa_supplicant
10784         and communication over D-Bus, there's no reason for multiple threads.
10785         Almost all of the blocking code has been removed, with one exception in
10786         the DHCP manager and a few in the VPN manager.  This commit removes the
10787         per-device worker thread and fixes activation cancellation in the absence
10788         of threads.  Further removal of thread-related code would be removing
10789         any locking code (like the device list lock) and simplification of logic
10790         around areas of code or data structures that are currently locked.
10791
10792         * autoip.c
10793           dhcp-manager/nm-dhcp-manager.c 
10794           nm-device-802-11-wireless.c
10795           nm-device-802-3-ethernet.c
10796           nm-device.c
10797           nm-device.h
10798                 - Remove usage of multiple threads
10799
10800 2006-12-19  Dan Williams  <dcbw@redhat.com>
10801
10802         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10803         plus a few other patches from wpa_supplicant bugzilla.
10804
10805         * src/Makefile.am
10806           src/NetworkManagerPolicy.c
10807           src/NetworkManagerUtils.c
10808           src/NetworkManagerUtils.h
10809           src/nm-ap-security-leap.c
10810           src/nm-ap-security-wep.c
10811           src/nm-ap-security-wpa-eap.c
10812           src/nm-ap-security-wpa-psk.c
10813           src/nm-ap-security.c
10814           src/nm-ap-security.h
10815           src/nm-device-802-11-wireless.c
10816           src/nm-device-802-11-wireless.h
10817           src/supplicant-manager/nm-supplicant-config.c
10818           src/supplicant-manager/nm-supplicant-config.h
10819           src/supplicant-manager/nm-supplicant-interface.c
10820           src/supplicant-manager/nm-supplicant-interface.h
10821           src/supplicant-manager/nm-supplicant-marshal.list
10822           src/supplicant-manager/nm-supplicant-settings-verify.c
10823           src/supplicant-manager/nm-supplicant-settings-verify.h
10824                 - Move all connection management and association handling to
10825                         wpa_supplicant over dbus, rather than spawning a private copy
10826
10827 2006-12-19  Dan Williams  <dcbw@redhat.com>
10828
10829         * src/NetworkManagerPolicy.c
10830                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10831                         better locking of the device change check handler ID.  Incorrect
10832                         locking was causing lost device change requests
10833
10834 2006-12-18  Dan Williams  <dcbw@redhat.com>
10835
10836         * libnm-util/dbus-dict-helpers.c
10837                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10838                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10839                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10840
10841 2006-12-18  Dan Williams  <dcbw@redhat.com>
10842
10843         * gnome/libnm_glib/libnm_glib.c
10844                 - Change dbus_connection_close() -> dbus_connection_unref()
10845
10846 2006-12-11  Dan Williams  <dcbw@redhat.com>
10847
10848         * src/supplicant-manager/nm-supplicant-interface.c
10849                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10850                         wpa_supplicant interface state
10851                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10852                         state before transitioning to READY state
10853
10854 2006-12-04  Dan Williams  <dcbw@redhat.com>
10855
10856         * src/nm-device-802-11-wireless.c
10857                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10858                         odd length of ESSID returned from ieee80211 stack-based drivers
10859
10860 2006-12-04  Dan Williams  <dcbw@redhat.com>
10861
10862         * src/nm-device-802-11-wireless.c
10863                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10864                         IE handling blocks that cause mis-parsing of the IE
10865
10866 2006-12-04  Dan Williams  <dcbw@redhat.com>
10867
10868         * src/nm-device-802-11-wireless.c
10869                 - (init_supplicant_interface): new function; pull supplicant interface
10870                         setup code out into standalone function since it must be called from
10871                         two different places
10872                 - (real_init): sup_mgr is now in private object data; get and track
10873                         the supplicant manager object over the NMDevice subclass' lifetime
10874                         and register a signal handler for its state signals; only try to
10875                         initialize the supplicant interface if the supplicant manager is in
10876                         the IDLE state (and therefore is ready for requests)
10877                 - (request_wireless_scan): reschedule the scan request if (a) there is
10878                         no supplicant interface yet (meaning wpa_supplicant isn't running
10879                         or isn't ready yet), or (b) if the supplicant interface isn't ready
10880                         for requests yet
10881                 - (supplicant_iface_connection_state_cb): new function; stub for
10882                         handling supplicant interface connection state signals
10883                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10884                         comes and goes
10885                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10886                         supplicant manager object that's being tracked starting with this
10887                         commit
10888
10889 2006-12-04  Dan Williams  <dcbw@redhat.com>
10890
10891         * src/supplicant-manager/nm-supplicant-interface.c
10892                 - (nm_supplicant_interface_set_property): track signal handler ID
10893                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10894
10895 2006-12-04  Dan Williams  <dcbw@redhat.com>
10896
10897         * src/supplicant-manager/nm-supplicant-interface.[ch]
10898                 - (nm_supplicant_interface_get_state): new function
10899
10900 2006-12-04  Dan Williams  <dcbw@redhat.com>
10901
10902         * src/supplicant-manager/nm-supplicant-interface.c
10903                 - (bssid_properties_cb): don't treat DBus errors as valid
10904                         scanned AP messages
10905
10906 2006-12-04  Dan Williams  <dcbw@redhat.com>
10907
10908         * src/supplicant-manager/nm-supplicant-interface.[ch]
10909                 - (nm_supplicant_interface_get_connection_state): new function
10910                 - define new supplicant connection states
10911                 - send a signal when the supplicant connection state changes
10912
10913 2006-12-03  Dan Williams  <dcbw@redhat.com>
10914
10915         * src/supplicant-manager/Makefile.am
10916           src/supplicant-manager/nm-supplicant-connection.h
10917           src/supplicant-manager/nm-supplicant-connection.c
10918           src/supplicant-manager/nm-supplicant-config.h
10919           src/supplicant-manager/nm-supplicant-config.c
10920           src/supplicant-manager/nm-supplicant-types.h
10921           src/supplicant-manager/nm-supplicant-interface.h
10922           src/supplicant-manager/nm-supplicant-interface.c
10923                 - Rename NMSupplicantConnection -> NMSupplicantConfig
10924
10925 2006-12-03  Dan Williams  <dcbw@redhat.com>
10926
10927         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
10928
10929         * po/POTFILES.in
10930           po/POTFILES.skip
10931                 - Move VPN-related translatables to .skip
10932
10933         * vpn-daemons/pptp/po/POTFILES.in
10934                 - Update with new translatables
10935
10936 2006-12-02  Dan Williams  <dcbw@redhat.com>
10937
10938         Patch from Christian Persch <chpe@gnome.org>
10939
10940         * gnome/applet/Makefile.am
10941           gnome/applet/applet-dbus-devices.c
10942           gnome/applet/applet-notifications.c
10943           gnome/applet/applet.c
10944           gnome/applet/applet.h
10945           gnome/applet/main.c
10946                 - Be a GtkStatusIcon on GTK+ >= 2.10
10947
10948 2006-12-02  Dan Williams  <dcbw@redhat.com>
10949
10950         * gnome/applet/applet.c
10951                 - (nma_update_info): fix two unecessary allocations
10952
10953 2006-12-02  Dan Williams  <dcbw@redhat.com>
10954
10955         Patch from Michael Biebl <biebl@teco.edu>
10956         * configure.in
10957           man/NetworkManager.1.in
10958           man/NetworkManagerDispatcher.1.in
10959           man/NetworkManager.8.in
10960           man/NetworkManagerDispatcher.8.in
10961                 - Add .SH NAME stanzas
10962                 - Move NM & NM Dispatcher manpages to section 8 (admin)
10963
10964 2006-12-02  Dan Williams  <dcbw@redhat.com>
10965
10966         Patch from Christian Persch <chpe@gnome.org>
10967
10968         * configure.in
10969                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10970
10971 2006-11-29  Tambet Ingo  <tambet@ximian.com>
10972
10973         Patch by Timo Hoenig <thoenig@suse.de>:
10974         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10975         DBUS-1.0.
10976
10977         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10978         we can't use the one from the main source directory.
10979
10980 2006-11-27  Dan Williams  <dcbw@redhat.com>
10981
10982         Patch from Christian Persch <chpe@gnome.org>
10983
10984         * gnome/applet/applet-dbus-devices.c
10985                 - (hal_info_product_cb): fix memleak; free duped string.
10986                         Gnome.org #379908
10987
10988 2006-11-27  Dan Williams  <dcbw@redhat.com>
10989
10990         Patch from Christian Persch <chpe@gnome.org>
10991
10992         * gnome/applet/menu-items.c
10993                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10994                         as gtk_progress_set_percentage is deprecated.  Should
10995                         work as far back as GTK+ 2.4.  Gnome.org #379780
10996
10997 2006-11-26  Dan Williams  <dcbw@redhat.com>
10998
10999         Scan using wpa_supplicant over DBus.
11000
11001         * src/nm-device-802-11-wireless.c
11002                 - remove wireless extensions netlink event handler bits
11003                         (wireless_event_helper, nm_device_802_11_wireless_event)
11004                 - remove wireless extensions scan event handler bits
11005                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
11006                         hex2byte, hex2num, request_and_convert_scan_results,
11007                         free_process_scan_cb_data, scan_results_timeout,
11008                         schedule_scan_results_timeout, cancel_scan_results_timeout)
11009                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
11010                         and request scans from the supplicant interface rather than directly
11011                 - Move functionality of convert_scan_results() to cull_scan_list() and
11012                         supplicant_iface_scanned_ap_cb()
11013                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
11014                         at the scan interval when the current scan has finished
11015                 - (supplicant_iface_state_cb): start scanning when the supplicant
11016                         interface enters the READY state, and stop scanning when it
11017                         enters the DOWN state
11018                 - (cull_scan_list): weed out old access points from the scan list
11019                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
11020                         point into an NMAccessPoint and merge it into the device's scan list
11021
11022         * src/supplicant-manager/nm-supplicant-interface.c
11023           src/supplicant-manager/nm-supplicant-interface.h
11024                 - Add a new signal "scan-result" which is issued when the supplicant
11025                         notifies NM that a scan has completed
11026                 - Add a new signal "scanned-ap" that notifies listeners of a new access
11027                         point found in the scan.  Called once for each access point that
11028                         the supplicant interface object receives from the supplicant as a
11029                         result of the "scanResults" method call
11030                 - (wpas_iface_query_scan_results): don't wait 4s before querying
11031                         for the initial scan results
11032                 - (scan_request_cb): new function; send listeners the result
11033                         (success, error) of a wireless scan request
11034                 - (nm_supplicant_interface_request_scan): new function; ask the
11035                         supplicant to perform an immediate wireless scan
11036
11037 2006-11-25  Dan Williams  <dcbw@redhat.com>
11038
11039         * src/supplicant-manager/Makefile.am
11040                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
11041                         add HAL cflags/includes and named-manager includes directory
11042
11043         * src/supplicant-manager/nm-supplicant-interface.h
11044                 - New state STARTING to handle transition from INIT to READY where
11045                         the addInterface pending call is still outstanding
11046
11047         * src/supplicant-manager/nm-supplicant-interface.c
11048                 - track pending calls differently since we may have more than one
11049                         going on at any given time
11050                 - request scan results from wpa_supplicant; but don't do it more often
11051                         than every 4 seconds.  Drivers that do background scanning
11052                         (like the 'ipw' drivers) send a continuous stream of scan completion
11053                         notifications, so we don't want to hammer the supplicant or dbus
11054                         with requests for all scan results every time we get a completion
11055                         notification.
11056
11057 2006-11-25  Dan Williams  <dcbw@redhat.com>
11058
11059         * src/supplicant-manager/nm-supplicant-types.h
11060                 - new file; move all supplicant manager object typedefs here for
11061                         #include sanity
11062
11063         * src/supplicant-manager/nm-supplicant-interface.c
11064           src/supplicant-manager/nm-supplicant-interface.h
11065                 - new file; an object that interfaces an NMDevice object to the
11066                         supplicant and handles signals from the supplicant.  This object
11067                         does all necessary DBus communication with wpa_supplicant.
11068
11069         * src/supplicant-manager/nm-supplicant-manager.c
11070           src/supplicant-manager/nm-supplicant-manager.h
11071                 - Actually do something.  Track the state of the wpa_supplicant service
11072                         and deal with its comings & goings.  Handle life events of
11073                         supplicant interfaces too.
11074                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11075
11076         * src/supplicant-manager/nm-supplicant-connection.h
11077                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11078
11079         * src/supplicant-manager/Makefile.am
11080                 - Add new files to build, and add libnm-util to includes
11081
11082         * src/nm-marshal.list
11083                 - New marshaler type: VOID:UINT,UINT
11084
11085         * src/nm-device-802-3-ethernet.c
11086                 - (real_init): grab a supplicant interface
11087                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11088                 - (supplicant_iface_state_cb): new function, stub for handling
11089                         supplicant interface state changes
11090
11091         * src/nm-device-802-11-wireless.c
11092                 - (real_init): grab a supplicant interface
11093                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11094                 - (supplicant_iface_state_cb): new function, stub for handling
11095                         supplicant interface state changes
11096
11097         * src/NetworkManager.c
11098                 - (main): create and keep the supplicant manager around for the lifetime
11099                         of NetworkManager
11100
11101         * src/Makefile.am
11102                 - Link to the supplicant manager sub-library and use the supplicant
11103                         manager includes
11104
11105 2006-11-25  Dan Williams  <dcbw@redhat.com>
11106
11107         Rework DBus manager signal handling to be more flexible.  Previously,
11108         only one signal handler could be registered for a particular interface.
11109         The DBus manager now reference counts DBus bus matches and allows multiple
11110         clients to register signal handlers for the same interface and sender.
11111
11112         * src/NetworkManager.c
11113                 - (main): track NMI signal handler ID and remove it when we quit
11114
11115         * src/NetworkManagerMain.h
11116                 - Keep track of NMI signal handler ID
11117
11118         * src/nm-dbus-manager.c
11119           src/nm-dbus-manager.h
11120                 - rework signal handling; each signal handler references one signal
11121                         match, but a signal match may be referenced by one or more
11122                         signal handlers.  Matches are refcounted and are destroyed when the
11123                         last signal handler that references the match is removed.  This is
11124                         necessary because two signal handlers may end up requiring the same
11125                         dbus bus match, so the match must live until the last signal handler
11126                         is destroyed (for example, with the wpa_supplicant network interface
11127                         dbus interface).
11128
11129         * src/dhcp-manager/nm-dhcp-manager.c
11130                 - (nm_dhcp_manager_new): track DHCP signal handler id
11131                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11132
11133         * src/vpn-manager/nm-vpn-service.c
11134                 - (nm_vpn_service_add_watch): track VPN service signal handler id
11135                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11136
11137 2006-11-25  Dan Williams  <dcbw@redhat.com>
11138
11139         Suggested by Helmut Schaa <hschaa@suse.de>
11140
11141         * src/vpn-daemons/nm-vpn-service.c
11142                 - (supplicant_child_setup): new function
11143                 - (supplicant_exec): make child process use a new process group id
11144
11145         * src/nm-device-802-11-wireless.c
11146                 - (nm_vpn_service_child_setup): new function
11147                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11148                         process group id
11149
11150 2006-11-19  Dan Williams  <dcbw@redhat.com>
11151
11152         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
11153         * gnome/vpn-properties/nm-vpn-properties.c
11154                 - clean up after renamed VPN connection
11155
11156 2006-11-19  Dan Williams  <dcbw@redhat.com>
11157
11158         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
11159         * gnome/applet/applet-dbus-vpn.c
11160                 - (nma_dbus_vpn_properties_cb): sort VPN connections
11161
11162         * gnome/vpn-properties/nm-vpn-properties.c
11163                 - (init_app): sort VPN connections
11164
11165 2006-11-09  Dan Williams  <dcbw@redhat.com>
11166
11167         * src/NetworkManagerAPList.c
11168                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11169                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11170                 from the nm_ap_list_get_ap_by_address() call was incorrect and
11171                 broke hidden SSID matching.  Found by Bill Moss.
11172
11173 2006-10-25  Dan Williams  <dcbw@redhat.com>
11174
11175         * src/nm-dbus-nm.c
11176                 - (nm_dbus_nm_set_active_device): return an empty success message on
11177                         success, rather than falling through to the error case.
11178
11179 2006-10-25  Dan Williams  <dcbw@redhat.com>
11180
11181         * src/NetworkManagerUtils.c
11182                 - (nm_utils_supplicant_request_with_check): suppress messages for the
11183                         "SCAN" command
11184
11185 2006-10-24  Dan Williams  <dcbw@redhat.com>
11186
11187         Reduce the number of times the Gnome applet wakes up, especially when
11188         it's doing absolutely nothing and is hidden.  Initial patch by
11189         Chris Aillon.
11190
11191         * gnome/applet/applet-dbus.c
11192                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11193                         kill the redraw timeout.  When NM starts up, start the redraw
11194                         timeout.  Also, if we get kicked off the bus for some reason,
11195                         start the reconnection timeout if one's not already running.
11196                 - (nma_dbus_init): better handling of error conditions, don't leak
11197                         a half-initialized dbus connection
11198                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11199                         the applet's data, just call nm_dbus_init_helper()
11200                 - (nma_start_dbus_connection_watch): new function, starts a periodic
11201                         timeout that calls nma_dbus_connection_watcher()
11202                 - (nma_dbus_init_helper): if we get a successful connection, kill the
11203                         reconnection timeout, and don't start the reconnection timeout
11204                         unconditionally anymore
11205
11206         * gnome/applet/applet-dbus.h
11207                 - Expose nma_start_dbus_connection_watch()
11208
11209         * gnome/applet/applet.c
11210                 - (nma_update_state): no longer static, called from applet-dbus.c for
11211                         immediate UI updates on certain events
11212                 - (nma_set_running): new function; take over setting applet->running,
11213                         when not running (ie, NM is not active), don't activate the redraw
11214                         timeout because we're not showing the applet anyway.  When we are
11215                         running (ie, NM is active), and only when we're running, start the
11216                         redraw timeout.
11217                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11218                         kill any reconnection timeout
11219                 - (nma_get_instance): move one-off dbus initialization code here since
11220                         nm_dbus_init_helper() gets called more than once, possibly by the
11221                         reconnection timeout function too.  And, when we start up, if we
11222                         can't get a connection to the bus, start the reconnection timeout.
11223                         But don't start the redraw timeout yet, only do that when we get
11224                         NM's state and find out if it's running or not.
11225
11226         * gnome/applet/applet.h
11227                 - Add the reconnection GSource ID
11228                 - Add prototypes for nma_set_running() and the no-longer-static
11229                         nma_update_state()
11230
11231 2006-10-24  Dan Williams  <dcbw@redhat.com>
11232
11233         * src/vpn-daemons/nm-dbus-vpnc.c
11234                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11235                         pending call tracker
11236                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11237                         pending call tracker; register one-vpn-connection update pending
11238                         call in pending call tracker
11239                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11240                         update pending call in pending call tracker
11241                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11242                         update pending call in pending call tracker; don't block waiting
11243                         for call to return
11244
11245 2006-10-19  Robert Love  <rml@novell.com>
11246
11247         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11248           refresh the cache.
11249
11250 2006-10-14  Dan Williams  <dcbw@redhat.com>
11251
11252         * src/dhcp-manager/nm-dhcp-manager.c
11253                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11254                 the dbus connection and the device object path rather than
11255                 constructing it inside both functions.  Saves a bit of memory
11256                 and clarifies a failure path.
11257                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11258                 and allocate device path here rather than each of the two
11259                 functions above.
11260
11261 2006-10-13  Dan Williams  <dcbw@redhat.com>
11262
11263         * src/NetworkManager.c
11264                 - (nm_name_owner_changed_handler): handle NMI coming and going,
11265                 this somehow droppout in the refactor
11266
11267 2006-10-13  Dan Williams  <dcbw@redhat.com>
11268
11269         * Huge DBus refactor:
11270                 - Create a "DBus Manager" object which manages the connection and
11271                 sends signals on NameOwnerChanged and connection/disconnection events,
11272                 handles reconnection to the bus if NM gets kicked off, and abstracts
11273                 signal handling
11274                 - Remove DBusConnection members from places where they are no
11275                 longer needed due to the refactor, like the dbus-connection
11276                 property of the named manager, and from NMData
11277                 - Reformats a bunch of the code to gnome style
11278                 (8-space tabs, braces on same line as statement, 80-col width).
11279                 Consider it open season to reformat any bits to gnome style.
11280                 style that aren't already.
11281
11282 2006-10-13  Dan Williams  <dcbw@redhat.com>
11283
11284         * src/supplicant-manager/Makefile.am
11285                 - Add new files
11286
11287         * src/supplicant-manager/nm-supplicant-manager.[ch]:
11288                 - Make it a minimal GObject
11289
11290         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
11291                 - Verify settings destined for wpa_supplicant
11292
11293         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
11294                 - Minimal GObject to track wpa_supplicant controlled device
11295                 connections
11296
11297 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
11298
11299         * gnome/applet/applet.c: (nma_update_info),
11300         (nma_act_stage_to_pixbuf), (nma_update_state):
11301         Mark missing strings for translation. Fixes bug #343306.
11302
11303 2006-10-01  Dan Williams  <dcbw@redhat.com>
11304
11305         * src/vpn-manager/nm-vpn-manager.c
11306                 - (nm_vpn_manager_load_services): split and clean up
11307                 for readability and correctness.  Restrict VPN service
11308                 files to ending in ".name", as was meant from the
11309                 beginning (but not coded in).  Better error reporting.
11310
11311 2006-10-01  Dan Williams  <dcbw@redhat.com>
11312
11313         * utils/nm-utils.h
11314                 - Clean up formatting of debug/info/warning log messages
11315
11316 2006-09-27  Robert Love  <rml@novell.com>
11317
11318         Patch by Tambet Ingo <tambet@ximian.com>:
11319         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11320           actually work.
11321
11322 2006-09-07  Dan Williams <dcbw@redhat.com>
11323
11324         * test/Makefile.am
11325           test/libnm-util/Makefile.am
11326           test/nm-supplicant-test.c
11327                 - Add test program emulating the way NM drives wpa_supplicant
11328                 to help debug supplicant issues
11329
11330 2006-08-24  Dan Williams <dcbw@redhat.com>
11331
11332         * configure.in
11333           src/Makefile.am
11334           src/supplicant-manager/Makefile.am
11335           src/supplicant-manager/nm-supplicant-manager.c
11336           src/supplicant-manager/nm-supplicant-manager.h
11337                 - Add skeleton bits of the wpa_supplicant manager
11338
11339 2006-08-24  Dan Williams <dcbw@redhat.com>
11340
11341         Patch from Ed Catmur:
11342         * src/NetworkManagerUtils.c
11343                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11344                 if netmask is 0 (Gnome #352634)
11345
11346 2006-08-17  Robert Love  <rml@novell.com>
11347
11348         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11349           package is now DBUS-enabled and listens for the NM signals.
11350
11351 2006-08-14  Dan Williams  <dcbw@redhat.com>
11352
11353         * Patch from Christian Persch <chpe gnome org>
11354         * configure.in
11355           po/LINGUAS
11356           vpn-daemons/openvpn/po/LINGUAS
11357           vpn-daemons/openvpn/configure.in
11358           vpn-daemons/pptp/po/LINGUAS
11359           vpn-daemons/pptp/configure.in
11360           vpn-daemons/vpnc/po/LINGUAS
11361           vpn-daemons/vpnc/configure.in
11362                 - Convert to LINGUAS method so translators don't have to modify
11363                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
11364                 0.35 or higher
11365
11366 2006-08-14  Dan Williams  <dcbw@redhat.com>
11367
11368         Patch from Alex Smith <alex.extreme2@gmail.com>
11369         * configure.in
11370           src/backends/Makefile.am
11371           src/backends/NetworkManagerFrugalware.c
11372                 - Add support for Frugalware
11373
11374 2006-08-13  Dan Williams  <dcbw@redhat.com>
11375
11376         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11377         * src/nm-device-802-11-wireless.c
11378                 - (supplicant_exec): spawn wpa_supplicant without debug spew
11379                 Gnome #346875
11380
11381 2006-08-13  Dan Williams  <dcbw@redhat.com>
11382
11383         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11384         * src/nm-ap-security.c
11385           src/nm-ap-security.h
11386                 - Add authentication_required bits for subclasses to specify whether
11387                 or not real authentication is required for connections, i.e. whether
11388                 the AP rejects us when an encryption key is wrong or not.
11389
11390         * src/nm-ap-security-wep.c
11391           src/nm-ap-security-wpa-eap.c
11392           src/nm-ap-security-wpa-psk.c
11393           src/nm-ap-security-leap.c
11394                 - Implement authentication_required appropriately for each method
11395
11396         * src/nm-device-802-11-wireless.c
11397                 - Be smarter about when to request a key; for example, using a wrong key
11398                 in WEP shared key mode previously just timed out and did not request
11399                 a new key
11400
11401 2006-08-13  Dan Williams  <dcbw@redhat.com>
11402
11403         * gnome/libnm_glib/libnm_glib.c
11404                 - dbus_connection_disconnect() -> dbus_connection_close() for
11405                 dbus >= 0.90
11406
11407 2006-08-07  Dan Williams  <dcbw@redhat.com>
11408
11409         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11410         * src/NetworkManagerSystem.c
11411                 - Respect specified MTU.  Gnome #344967
11412
11413 2006-08-07  Dan Williams  <dcbw@redhat.com>
11414
11415         * src/vpn-manager/nm-vpn-service.c
11416                 - Simplify print_vpn_config() arguments
11417
11418         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11419         * src/vpn-manager/Makefile.am
11420           src/vpn-manager/nm-vpn-service.c
11421                 - Add new API for passing VPN config options as a dict. Gnome #344967
11422
11423 2006-08-06  Dan Williams  <dcbw@redhat.com>
11424
11425         * gnome/applet/applet-dbus-devices.c
11426           gnome/applet/applet-dbus-vpn.c
11427           gnome/applet/applet-dbus.c
11428           gnome/applet/applet-dbus.h
11429           src/nm-dbus-nmi.c
11430           utils/nm-utils.c
11431           utils/nm-utils.h
11432                 - Make pending call tracking code generic,
11433                 so we can use it in NM as well as the applet
11434
11435 2006-08-06  Dan Williams  <dcbw@redhat.com>
11436
11437         * src/nm-activation-request.c
11438                 - Refcount pending call objects
11439
11440 2006-08-06  Dan Williams  <dcbw@redhat.com>
11441
11442         Patch from Christan Chiesa <christanc@gmail.com>
11443         * configure.in
11444                 - Tell sha1.c to use bigendian mode on PPC
11445
11446 2006-08-04  Robert Love  <rml@novell.com>
11447
11448         Glib Memory Slices!
11449         * configure.in: Require glib 2.10 or later.
11450         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11451           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11452           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11453           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11454           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
11455           Memory Slices are the greatest thing since bread slices.
11456         * src/NetworkManagerAP.c: Also, fix memory leak.
11457
11458 2006-08-01  Robert Love  <rml@novell.com>
11459
11460         * gnome/applet/main.c: Shutdown all VPN connections on logout.
11461
11462 2006-07-31  Robert Love  <rml@novell.com>
11463
11464         * src/backends/interface_parser.c: Declarations must begin the block.
11465
11466 2006-07-24  Dan Williams  <dcbw@redhat.com>
11467
11468         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11469         * src/backends/Makefile.am
11470           src/backends/NetworkManagerArch.c
11471           src/backends/NetworkManagerDebian.c
11472           src/backends/NetworkManagerGeneric.c
11473           src/backends/NetworkManagerGeneric.h
11474           src/backends/NetworkManagerGentoo.c
11475           src/backends/NetworkManagerPaldo.c
11476           src/backends/NetworkManagerRedHat.c
11477           src/backends/NetworkManagerSlackware.c
11478           src/backends/NetworkManagerSuSE.c
11479                 - Genericize common backend functions
11480
11481 2006-07-18  Robert Love  <rml@novell.com>
11482
11483         * configure.in: Add "--with-notify" option to allow disabling of
11484           libnotify support.
11485
11486 2006-07-13  Dan Williams  <dcbw@redhat.com>
11487
11488         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11489         * gnome/applet/applet.glade
11490           gnome/applet/Makefile.am
11491           gnome/applet/nm-gconf-wso.c
11492           gnome/applet/nm-gconf-wso-leap.c
11493           gnome/applet/nm-gconf-wso-leap.h
11494           gnome/applet/wireless-security-manager.c
11495           gnome/applet/wso-leap.c
11496           gnome/applet/wso-leap.h
11497           include/NetworkManager.h
11498           libnm-util/dbus-helpers.c
11499           libnm-util/dbus-helpers.h
11500           src/Makefile.am
11501           src/NetworkManagerAP.c
11502           src/nm-ap-security.c
11503           src/nm-ap-security-leap.c
11504           src/nm-ap-security-leap.h
11505                 - Add LEAP authentication support
11506
11507 2006-07-13  Dan Williams  <dcbw@redhat.com>
11508
11509         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11510         * configure.in
11511           src/backends/NetworkManagerArch.c
11512           src/backends/NetworkManagerDebian.c
11513           src/backends/NetworkManagerGentoo.c
11514           src/backends/NetworkManagerPaldo.c
11515           src/backends/NetworkManagerRedHat.c
11516           src/backends/NetworkManagerSlackware.c
11517           src/backends/NetworkManagerSuSE.c
11518                 - Convert hardcoding of 'ip' path to configure-time
11519                         detected one
11520
11521 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11522
11523         * configure.in: added ru to ALL_LINGUAS
11524
11525 2006-07-10  Dan Williams  <dcbw@redhat.com>
11526
11527         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11528         * src/nm-device.c
11529                 - (real_act_stage3_ip_config_start): don't infinite loop when
11530                         dhcdbd isn't running (Gnome #346845)
11531
11532 2006-07-09  Dan Williams  <dcbw@redhat.com>
11533
11534         * gnome/applet/applet.c
11535                 - (nma_destroy): don't pass NULL to notify_notification_close
11536                         (RH #197917)
11537
11538 2006-07-09  Dan Williams  <dcbw@redhat.com>
11539
11540         * gnome/applet/applet.c
11541                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11542
11543 2006-07-04  Tor Krill  <tor@krill.nu>
11544
11545         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11546         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11547         (nm_system_restart_mdns_responder), (ArchReadConfig),
11548         (nm_system_device_get_system_config):
11549                 - Explicitly check for DHCP configuration
11550                 - Check if daemons are running before starting them
11551
11552 2006-06-25  Dan Williams  <dcbw@redhat.com>
11553
11554         * libnm-util/dbus-dict-helpers.[ch]
11555           test/libnm-util/test-dbus-dict-helpers.c
11556                 - Add string array support
11557
11558 2006-06-24  Dan Williams  <dcbw@redhat.com>
11559
11560         * src/dhcp-manager/nm-dhcp-manager.c
11561                 - (nm_dhcp_manager_process_signal): clean up spacing
11562
11563 2006-06-21  Dan Williams  <dcbw@redhat.com>
11564
11565         * src/nm-dbus-device.c
11566                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11567                         through dbus
11568
11569 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11570
11571         * configure.in: Added 'lv' to ALL_LINGUAS
11572
11573 2006-06-19  Dan Williams  <dcbw@redhat.com>
11574
11575         * src/NetworkManagerAP.c
11576                 - Clarify usage of user_created
11577
11578         * src/nm-ap-security-wep.c
11579           src/nm-ap-security-wpa-eap.c
11580           src/nm-ap-security-wpa-psk.c
11581           src/nm-ap-security.c
11582           src/nm-ap-security.h
11583                 - s/user_created/adhoc, because we really do mean adhoc
11584
11585         Patch from Bernard Blackham <bernard@blackham.com.au>
11586         * src/nm-device-802-11-wireless.c         
11587                 - (supplicant_send_network_config): instead of user_created,
11588                         use adhoc, and do AP_SCAN 2 for adhoc networks
11589
11590 2006-06-18  Robert Love  <rml@novell.com>
11591
11592         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11593           we have a value to set.  Gconf generates a warning if `val' is NULL.
11594         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11595           unless we actually received a valid private key file passphrase or
11596           password.  Otherwise, we don't know to later ask the applet to pull
11597           the key from the keyring.
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                 - Fixes for zero-length byte arrays
11604                 - Replace return values of 0 with FALSE for clarity
11605                 - Test zero-length byte arrays
11606
11607 2006-06-17  Dan Williams  <dcbw@redhat.com>
11608
11609         * libnm-util/dbus-dict-helpers.[ch]
11610           test/libnm-util/test-dbus-dict-helpers.c
11611                 - Add helpers for byte arrays
11612                 - Rework bits of the testcase
11613
11614 2006-06-16  Dan Williams  <dcbw@redhat.com>
11615
11616         * libnm-util/Makefile.am
11617         * libnm-util/dbus-dict-helpers.[ch]
11618                 - Add some helpers to take the pain out of using dict types in
11619                         dbus.
11620
11621         * test/libnm-util/Makefile.am
11622         * test/libnm-util/test-dbus-dict-helpers.c
11623                 - Test cases for the dict helper functions
11624
11625 2006-06-15  Robert Love  <rml@novell.com>
11626
11627         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11628           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11629           if there is no key to pass.
11630         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11631           receiving a non-NULL key.
11632
11633 2006-06-14  Robert Love  <rml@novell.com>
11634
11635         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11636           copy the strings.
11637
11638
11639 2006-06-14  Dan Williams  <dcbw@redhat.com>
11640
11641         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11642         * src/nm-device-802-11-wireless.c
11643                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11644                         or ones where the driver is unknown
11645                 - (supplicant_exec): don't wait for supplicant startup here
11646                 - (supplicant_interface_init): finer grained polling for supplicant
11647                         startup
11648
11649 2006-06-13  Robert Love  <rml@novell.com>
11650
11651         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11652           if it is currently set to TRUE.  Otherwise, we will reset the value
11653           when we connect normally.
11654         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11655           the old BSSID is valid, too.  The recently added ESSID check may not be
11656           sufficient (we can remove it?).  What we really want to catch is the
11657           case of going from all-zeros to the BSSID of some other network, which
11658           happens on failure.
11659
11660 2006-06-09  Dan Williams  <dcbw@redhat.com>
11661
11662         * src/NetworkManagerSystem.[ch]
11663                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11664                         it was unused and pointless
11665                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11666                         fix for set_up_down_with_iface change
11667
11668         * src/vpn-manager/nm-vpn-connection.c
11669                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11670
11671         * src/backends/NetworkManagerPaldo.c
11672           src/backends/NetworkManagerRedHat.c
11673           src/backends/NetworkManagerSuSE.c
11674           src/backends/NetworkManagerArch.c
11675           src/backends/NetworkManagerDebian.c
11676           src/backends/NetworkManagerGentoo.c
11677                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11678                         appropriate
11679                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11680                         where appropriate
11681
11682 2006-06-09  Dan Williams  <dcbw@redhat.com>
11683
11684         Patch from Peter Jones:
11685         * src/nm-device-802-11-wireless.c
11686                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11687                         SSID hasn't changed from what we expect before automatically
11688                         updating the saved BSSID from a new AP
11689
11690 2006-06-08  Robert Love  <rml@novell.com>
11691
11692         Add 'fallback' support.  NetworkManager will attempt to brute-force
11693         connect to networks marked as fallback if there are no better wireless
11694         connections available.  This is useful as a method of last resort, to
11695         work around driver problems, and for use with hidden networks.
11696         * gnome/applet/applet-dbus-devices.c,
11697           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11698         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11699           pass it on via DBUS.
11700         * gnome/applet/applet.c: No fallback by default.
11701         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11702           Update other-network-dialog to add UI checkbox toggling fallback.
11703         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11704           propery from AP object.  Add "fallback" property to AP object.
11705         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11706         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11707         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11708           separate function.  Add get_best_fallback_ap() for returning an AP
11709           on which to attempt fallback.
11710         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11711         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11712
11713 2006-06-07  Robert Love  <rml@novell.com>
11714
11715         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11716           checked that the return type was GCONF_VALUE_STRING, not the correct
11717           GCONF_VALUE_BOOL, and thus it never worked.
11718         * src/NetworkManagerAPList.c: Before concluding that two networks are
11719           identical based on their BSSID, make sure that the BSSID in question
11720           is actually valid.  Specifically, an empty or all zero BSSID does not
11721           cut it.
11722         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11723           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11724           similar invariant clean up.
11725
11726 2006-06-02  Robert Love  <rml@novell.com>
11727
11728         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11729
11730 2006-05-28  Dan Williams  <dcbw@redhat.com>
11731
11732         * gnome/applet/applet.glade
11733           gnome/vpn-properties/nm-vpn-properties.glade
11734                 - Set window icons on dialogs  (Gnome.org #333420)
11735
11736 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11737
11738         * gnome/vpn-properties/nm-vpn-properties.glade:
11739         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11740         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11741         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11742                 - Make the VPN properties pages prettier and more HIG
11743                   compliant. Gnome Bug #336913.
11744
11745 2006-05-28  Dan Williams  <dcbw@redhat.com>
11746
11747         Patch from Christian Persch <chpe@gnome.org>
11748         * gnome/vpn-properties/nm-vpn-properties.c
11749         * gnome/vpn-properties/nm-vpn-properties.glade
11750                 - HIG-ification love  (Gnome.org #336846)
11751
11752 2006-05-28  Dan Williams  <dcbw@redhat.com>
11753
11754         Patch from Christian Persch <chpe@gnome.org>
11755         * configure.in
11756           gnome/vpn-properties/nm-vpn-properties.c
11757                 - (main): Fix option parsing.  Gnome.org #336847
11758
11759 2006-05-28  Dan Williams  <dcbw@redhat.com>
11760
11761         * gnome/vpn-properties/nm-vpn-properties.c
11762                 - (find_vpn_ui_by_service_name): protect against NULL service names
11763                 - (update_edit_del_sensitivity): protect against NULL service names
11764                         Gnome.org #341306
11765
11766 2006-05-28  Dan Williams  <dcbw@redhat.com>
11767
11768         Patch from Chris Fuller <crf@grandecom.net>:
11769         * src/nm-device-802-11-wireless.c
11770                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11771                         don't dispose of wireless-specific stuff unless it is actually
11772                         initialized.  Gnome.org #341263
11773
11774 2006-05-28  Dan Williams  <dcbw@redhat.com>
11775
11776         * src/NetworkManagerPolicy.c
11777                 - (nm_policy_device_change_check): don't switch devices if the "best"
11778                         AP is essentially the same as the current activation request, but
11779                         the current activation request isn't done activating yet.  Fixes
11780                         multiple requests for keyring password on startup for Gnome applet.
11781                         Gnome.org #341297
11782
11783 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11784
11785         * src/NetworkManager.c: use GOptions instead of getopt
11786         * configure.in: bump glib required version to >= 2.6 for GOption
11787           support
11788
11789 2006-05-25  Robert Love  <rml@novell.com>
11790
11791         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11792           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11793           instead of dumping ifdef's throughout the code.
11794         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11795           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11796           use nm_ioctl_info() in lieu.
11797
11798 2006-05-25  Robert Love  <rml@novell.com>
11799
11800         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11801         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11802           not using gcrypt.  Otherwise, we get a linker error.
11803
11804 2006-05-25  Robert Love  <rml@novell.com>
11805
11806         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11807         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11808           configure flag to disable building of the GNOME-based applet.
11809
11810 2006-05-25  Robert Love  <rml@novell.com>
11811
11812         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11813           parameter from link, because it shadows a global variable with some
11814           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11815           should never have exported to the entire system a common four letter
11816           word.  But we here at NetworkManager are team players.  Fixes
11817           GNOME bug #336532.
11818
11819 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11820
11821         * configure.in: Added mk.po, Macedonian translation.
11822
11823 2006-05-24  Robert Love  <rml@novell.com>
11824
11825         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11826           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11827           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11828
11829 2006-05-24  Robert Love  <rml@novell.com>
11830
11831         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11832           libnm-util/Makefile.am, src/Makefile.am,
11833           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11834           vpn-daemons/openvpn/properties/Makefile.am,
11835           vpn-daemons/pptp/auth-dialog/Makefile.am,
11836           vpn-daemons/pptp/properties/Makefile.am,
11837           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11838           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11839           user passed for --datadir, if anything, when setting the GNOME locale
11840           directory.  It should be a function of the specified datadir and not
11841           the prefix.
11842
11843 2006-05-24  Robert Love  <rml@novell.com>
11844
11845         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11846           src/NetworkManager.c: Take care to call bindtextdomain with the
11847           location of msgid files.
11848         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11849           files.
11850
11851 2006-05-22  Robert Love  <rml@novell.com>
11852
11853         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11854           stage4_timeout on failure unless the wireless network is Ad-Hoc.
11855           99% of the time there is a real problem with wireless, and a
11856           seemingly successful connection via Zeroconf just confuses the user.
11857           And that 1% of the time the network is probably Ad-Hoc, anyhow.
11858
11859 2006-05-22  Robert Love  <rml@novell.com>
11860
11861         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11862           autofs on interface up if NIS is configured.  On interface down, do
11863           nothing.
11864
11865 2006-05-22  Robert Love  <rml@novell.com>
11866
11867         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11868           to avoid calling g_object_unref() on stale pointers on error in
11869           nma_icons_free().  This happens because we short-circuit loaded the
11870           icons on the first failure but then free all icons.  Normally we have
11871           no issue because the icons were zero'ed out malloc, but we have stale
11872           pointer data after nma_icon_theme_changed().
11873         * gnome/applet/main.c: Return error code if nma_new() failed.
11874
11875 2060-05-21  Dan Williams  <dcbw@redhat.com>
11876
11877         * initscript/NetworkManager.in
11878                 - Ensure both dhcdbd and named are started before NM
11879
11880 2006-05-21  Dan Williams  <dcbw@redhat.com>
11881
11882         * configure.in
11883                 - Bump version to 0.7 to signify we are in 0.7 development
11884
11885 2006-05-21  Dan Williams  <dcbw@redhat.com>
11886
11887         Patch from Adam Schreiber <sadam@clemson.edu>
11888         * gnome/vpn-properties/nm-vpn-properties.c
11889                 - (main): correct Gnome program name  (gnome.org #342498)
11890
11891 2006-05-21  Dan Williams  <dcbw@redhat.com>
11892
11893         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11894
11895         * src/NetworkManagerDbus.[ch]
11896                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11897                         clarify that function's argument should be an escaped dbus object
11898                         path, and look for path segment end before returning a match
11899         * src/nm-dbus-nm.c:
11900                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11901
11902 2006-05-17  Robert Love  <rml@novell.com>
11903
11904         Functionality to differentiate Ad-Hoc networks from infrastructure
11905         networks in the applet, by displaying a special icon:
11906         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11907         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11908         * gnome/applet/menu-items.c: Set a special icon in the scan list for
11909           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
11910           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
11911           networks, encrypted or not.
11912         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11913           accessor functions to get and set the mode of a given network,
11914           wireless_network_get_mode() and wireless_network_set_mode().
11915
11916 2006-05-17  Robert Love  <rml@novell.com>
11917
11918         Functionality to automatically add BSSIDs to the allowed-MAC list as
11919         one roams from access point to access point on a given network:
11920         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11921           helper function to compare two ether_addr structures and return TRUE
11922           if they contain the same MAC address.
11923         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11924           prototype.
11925         * src/nm-device-802-11-wireless.c: New function to update the BSSID
11926           stored with the current AP.  If the BSSID has indeed changed, we
11927           send it out to the applet, allowing the allowed-MAC list to grow
11928           automatically in response to roaming.
11929
11930 2006-05-16  Robert Love  <rml@novell.com>
11931
11932         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11933           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11934
11935 2006-05-13  Dan Williams  <dcbw@redhat.com>
11936
11937         * src/nm-device-802-3-ethernet.c
11938                 - (real_get_generic_capabilities): Don't ignore devices that can't do
11939                         carrier detect (Debian bug #366373)
11940
11941 2006-05-11  Dan Williams  <dcbw@redhat.com>
11942
11943         Patch from Michael Biebl <biebl@teco.edu>
11944         * src/backends/NetworkManagerDebian.c
11945                 - Debian backend fixups
11946
11947 2006-05-10  Robert Love  <rml@novell.com>
11948
11949         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11950
11951 2006-05-09  Robert Love  <rml@novell.com>
11952
11953         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11954           private certificate passphrase, if any, in the GNOME Keyring.
11955         * libnm-utils/dbus-helpers.c: Update.
11956
11957 2006-05-05  Dan Williams  <dcbw@redhat.com>
11958
11959         * src/nm-device-802-11-wireless.c
11960                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11961                         nm_device_802_11_wireless_disable_encryption() since that's all
11962                         we use it for anymore; we don't ever set WEP keys ourselves.
11963                 - (real_deactivate_quickly): reset SSID and encryption keys
11964                 - (real_deactivate): move SSID and encryption key reset to
11965                         real_deactivate_quickly(), which gets run before us anyway
11966
11967 2006-05-05  Robert Love  <rml@novell.com>
11968
11969         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11970           root has a wacky default of its own (or, more common, a user has a
11971           bad umask and uses su/sudo to restart NetworkManager).  Anything
11972           other than 0022 does not do what we want with, for example,
11973           resolv.conf.  This problem is amplified by our judicious use of
11974           fopen(), which uses mode 0666 -- implying that the only way to get
11975           the permissions we want is with a umask of 0022.
11976
11977 2006-05-05  Dan Williams  <dcbw@redhat.com>
11978
11979         * gnome/libnm_glib/libnm_glib.c
11980                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11981                         to reconnect; instead wait a bit more with each reconnect attempt
11982                         up to a max of one minute.
11983
11984 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
11985
11986         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11987           the WirelessNetwork structure using the proper function instead of
11988           just casting it directly to (const char *) (gnome.org #336991)
11989
11990 2006-05-03  Robert Love  <rml@novell.com>
11991
11992         * src/backends/NetworkManagerSuSE.c: Respect the variable
11993           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11994           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11995           to dynamically update /etc/resolv.conf.
11996
11997 2006-05-02  Peter Jones  <pjones@redhat.com>
11998
11999         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
12000
12001 2006-05-02  Robert Love  <rml@novell.com>
12002
12003         Patch by Timo Hoenig;
12004         * tests/nm-online.c: Print pretty status indicator as timeout winds
12005           down.  Also fix possible race between DBUS startup and failure
12006           return.
12007
12008 2006-05-01  Robert Love  <rml@novell.com>
12009
12010         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
12011           empty, too.
12012
12013 2006-04-27  Jeremy Katz  <katzj@redhat.com>
12014
12015         * src/nm-device.c (discover_device_type): Actually use the hal
12016         device type instead of ioctl poking
12017
12018 2006-04-26  Robert Love  <rml@novell.com>
12019
12020         * tests/nm-online.c: New file.  Simple utility that returns exit status
12021           noting whether the connection is offline or online.  If offline on
12022           start, it waits 30 seconds (or a command-line given value) for an
12023           online signal.  If it times out, it again returns offline.  This is
12024           useful for scripts that want to wait for network connections.
12025
12026 2006-04-25  Robert Love  <rml@novell.com>
12027
12028         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
12029           key mode (the authentication algorithm), e.g. open or shared, when we
12030           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
12031           only shared was broken.  If the user specified a shared key, set it
12032           explicitly, otherwise let wpa_supplicant go with the default.
12033
12034 2006-04-24  Dan Williams  <dcbw@redhat.com>
12035
12036         * src/nm-device-802-11-wireless.c
12037                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
12038
12039 2006-04-24  Dan Williams  <dcbw@redhat.com>
12040
12041         Commit the async scanning patch
12042
12043         * src/nm-device-802-11-wireless.c
12044                 - get rid of scan_mutex
12045                 - (wireless_event_helper): act on wireless scan events
12046                 - (real_start): schedule a pending scan
12047                 - (link_to_specific_ap): fake the link to the AP during a scan
12048                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
12049                         strength during scans
12050                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
12051                         nm_device_set_bitrate): unused with new scanning code, disable
12052                 - (nm_device_wireless_schedule_scan): removed
12053                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
12054                 - (request_and_convert_scan_results): new function; retrieve scan
12055                         results from the driver and schedule the processing function
12056                 - (scan_results_timeout): timeout triggered when card doesn't send
12057                         a scan results wireless event during a certain interval
12058                 - (schedule_scan_results_timeout): new function; schedule the scan
12059                         results timeout
12060                 - (cancel_scan_results_timeout): new function; cancel the scan
12061                         results timeout
12062                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12063                         to do the scanning.  Otherwise, just request a scan but don't
12064                         grab results here; instead schedule a timeout for scan results and
12065                         let netlink notify us of scan completion events
12066                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12067                 - (cancel_pending_scan): new function; cancel a pending wireless scan
12068                 - (supplicant_status_cb): ignore disconnect events while scanning
12069                 - (supplicant_exec): wait a bit longer for the supplicant to start up
12070                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12071                         timeouts
12072                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12073
12074 2006-04-24  Dan Williams  <dcbw@redhat.com>
12075
12076         * gnome/applet/applet-dbus.c
12077                 - Disable the pending call debug stuff, seems under control now
12078
12079 2006-04-20  Robert Love  <rml@novell.com>
12080
12081         Fix bug where hidden ESSID's would not show up in the applet, even
12082         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
12083         because nm_policy_device_list_update_from_allowed_list() would merge
12084         the data, putting a name to the hidden networks, but never notify NMI
12085         of the changes.  Simple fix is to invoke the function
12086         nm_dbus_signal_wireless_network_change() if we make a mapping.
12087         * src/NetworkManagerAPList.c: Call the function
12088           nm_dbus_signal_wireless_network_change() if we made a successful
12089           BSSID to ESSID mapping, notifying the applet of the "new" network.
12090         * src/NetworkManagerAPList.h: Update the prototypes for both
12091           nm_ap_list_copy_essids_by_address() and
12092           nm_ap_list_copy_one_essid_by_address().
12093
12094 2006-04-20  Robert Love  <rml@novell.com>
12095
12096         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12097           not set.  Just return zero.
12098
12099 2006-04-20  Robert Love  <rml@novell.com>
12100
12101         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12102           only one copy of nm-vpn-properties is running at a time via the 'ol
12103           X selection trick.  This prevents the user from opening two "VPN
12104           Connections" windows from within the applet, which leads to mass
12105           hysteria.
12106         * clipboard.c: New file, implementing simple X selection logic.
12107         * clipboard.h: New file.
12108         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12109
12110 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
12111
12112         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12113         * configure.in
12114           initscript/Gentoo/Makefile.am
12115           initscript/Gentoo/NetworkManagerDispatcher.in
12116                 - New script
12117         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12118           Gentopia
12119
12120 2006-04-16  Dan Williams  <dcbw@redhat.com>
12121
12122         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12123         * configure.in
12124           initscript/Slackware/Makefile.am
12125           initscript/Slackware/rc.networkmanager-dispatcher.in
12126           initscript/Slackware/rc.networkmanager.in
12127                 - Update slackware initscripts
12128
12129 2006-04-10  Robert Love  <rml@novell.com>
12130
12131         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12132           the "delete_event" signal on the druid's parent window and handle it
12133           our way, lest using the WM to close the druid results in a series of
12134           bloody and ultimately lethal errors.
12135
12136 2006-04-10  Robert Love  <rml@novell.com>
12137
12138         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12139           'Back' too or else the 'Forward' option is initially disabled despite
12140           valid input.
12141
12142 2006-04-06  Robert Love  <rml@novell.com>
12143
12144         Fix bad but simple bug where an active modem connection did not update
12145         NM's connection state, breaking any app that did online/offline:
12146         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12147           represented whether a dial up connection is active, or not.
12148         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12149           to modem activation and deactivation.
12150         * src/NetworkManagerDbus.c: When asked our state, do not return
12151           disconnected if the modem is active.
12152
12153 2006-04-04  Robert Love  <rml@novell.com>
12154
12155         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12156           applet.  It just confuses the crap out of people and does not make a
12157           lot of sense, as the daemon still runs.
12158
12159 2006-04-02  Tor Krill  <tor@krill.nu>
12160
12161         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12162           in start of service.
12163         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12164           get Archlinux backend up to date.
12165
12166 2006-03-29  Robert Love  <rml@novell.com>
12167
12168         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12169         to add support for per-route MSS and improve support for per-interface
12170         MTU:
12171         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12172           optionally take an MSS parameter and set it for the given route.
12173           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
12174           NMIP4Config's stored MSS, if any.
12175         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12176           the interface's MTU and the route's MSS, respectively.  Add functions
12177           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12178           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12179           MSS.
12180         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12181           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12182           nm_ip4_config_set_mss.
12183         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12184           VPN daemon.
12185         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12186           Change the retval of nm_system_get_mtu to guint32.
12187         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12188           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
12189           servers can specify MTU's, we should set it here if the MTU was not
12190           provided.
12191
12192 2006-03-27  Jürg Billeter  <j@bitron.ch>
12193
12194         * configure.in:
12195         * initscript/Makefile.am:
12196         * initscript/paldo/Makefile.am:
12197         * initscript/paldo/NetworkManager.in:
12198         * initscript/paldo/NetworkManagerDispatcher.in:
12199         * src/backends/Makefile.am:
12200         * src/backends/NetworkManagerPaldo.c:
12201                 - Add paldo support
12202
12203 2006-03-27  Dan Williams  <dcbw@redhat.com>
12204
12205         Patch from Christian Persch <chpe@gnome.org>
12206         * gnome/applet/applet.glade
12207                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12208
12209 2006-03-27  Dan Williams  <dcbw@redhat.com>
12210
12211         Patch from Diffe <diffie@blazebox.homeip.net>
12212         * src/backends/NetworkManagerSlackware.c
12213                 - Don't restart howl, since it's been replaced by Avahi
12214                         in most distributions
12215
12216 2006-03-27  Dan Williams  <dcbw@redhat.com>
12217
12218         Patch from Tor Krill <bugzilla@krill.nu>
12219         * configure.in
12220           initscript/Makefile.am
12221           src/backends/Makefile.am
12222           src/backends/NetworkManagerArch.c
12223           initscript/Arch/Makefile.am
12224           initscript/Arch/networkmanager-dispatcher.in
12225           initscript/Arch/networkmanager.in
12226                 - Add Arch Linux support, fixes gnome.org #335147
12227
12228 2006-03-27  Dan Williams  <dcbw@redhat.com>
12229
12230         Patch from Diffe <diffie@blazebox.homeip.net>
12231      * initscript/Slackware/rc.networkmanager
12232         - update, fixed gnome.org #333368
12233
12234 2006-03-27  Robert Love  <rml@novell.com>
12235
12236         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12237           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12238
12239 2006-03-27  Robert Love  <rml@novell.com>
12240
12241         Patch by Jürg Billeter <j@bitron.ch>:
12242         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12243           systems.
12244         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12245           as we prefer glibc over kernel headers, if possible.
12246
12247 2006-03-27  Robert Love  <rml@novell.com>
12248
12249         Patch by Jon Escombe <list@dresco.co.uk>:
12250         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12251         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12252           fail, don't bail out.  We don't expect all of the various WPA-EAP
12253           values to be present.
12254         * src/nm-ap-security.c: We need to match all capabilities for each
12255           encryption type, not any one of them.
12256
12257 2006-03-27  Robert Love  <rml@novell.com>
12258
12259         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12260           restart, not reload, ypbind.  Unfortunately there is no superior
12261           solution.
12262
12263 2006-03-24  Christopher Aillon  <caillon@redhat.com>
12264
12265         * gnome/applet/applet-notifications.c:
12266         When displaying a notification, make sure to get rid of the
12267         previous notification so as to not have competing bubbles,
12268         and stop leaking the old one.
12269
12270         * gnome/applet/applet.c:
12271         * gnome/applet/applet.h:
12272         Add a new 'notification' member to the applet, and zero it out
12273         and free it appropriately.
12274
12275 2006-03-23  Robert Love  <rml@novell.com>
12276
12277         Patch by j <j@bootlab.org>:
12278         * gnome/applet/applet.glade: Don't set the invisible_char property,
12279           which simply overrides the GTK default.  By and by, this behavior
12280           ought to be fixed in Glade.
12281
12282 2006-03-22  Robert Love  <rml@novell.com>
12283
12284         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12285
12286 2006-03-22  Robert Love  <rml@novell.com>
12287
12288         Bug fix by Timo Hoenig <thoenig@suse.de>:
12289         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12290           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
12291           and the applet going AWOL.
12292
12293 2006-03-22  Robert Love  <rml@novell.com>
12294
12295         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12296           preprocessor define and use it instead of open-coded the DHCP
12297           timeout, which is currently 25 seconds, everywhere.
12298
12299 2006-03-22  Robert Love  <rml@novell.com>
12300
12301         Implement "Dynamic WEP", which is basically WPA authentication and WEP
12302         key exchange via WPA, ostensibly providing good security without
12303         requiring hardware that supports full WPA.  Also, add UI elements to
12304         allow the user to select the pairwise & group cipher for WPA Enterprise
12305         networks, too:
12306         * gnome/applet/applet.glade: Update glade file.
12307         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12308           key type, too, to and from gconf.
12309         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12310           wso_wpa_create_key_type_model(), noting whether we are handling PSK
12311           or EAP configuration, and in the latter case add in "Dynamic WEP" if
12312           the capabilities match.
12313         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12314           prototype.
12315         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12316           serialize from UI to DBUS.
12317         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12318           one element.
12319         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12320           nmu_security_serialize_wpa_eap_with_cipher(), and
12321           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12322           serialize/deserialize the key type via DBUS as the new third DBUS
12323           parameter.
12324         * libnm-util/dbus-helpers.h: Update prototypes.
12325         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12326           too.  If the key type is WEP104, do Dynamic WEP, which means
12327           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
12328           pairwise and group ciphers (fixes a FIXME).
12329
12330 2006-03-21  Robert Love  <rml@novell.com>
12331
12332         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12333           nm_system_get_mtu(), which returns a user-provided or system-mandated
12334           MTU value for a given device, if any, or zero if no such value
12335           exists.  Add nm_system_set_mtu() to set the MTU for a given device
12336           if we have a provided value.
12337         * src/nm-device.c: Set the MTU of devices.
12338         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12339         * src/backends/NetworkManagerDebian.c,
12340           src/backends/NetworkManagerGentoo.c,
12341           src/backends/NetworkManagerRedHat.c,
12342           src/backends/NetworkManagerSlackware.c: Implement stub functions.
12343
12344 2006-03-21  Robert Love  <rml@novell.com>
12345
12346         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12347           configuration file.
12348
12349 2006-03-17  Robert Love  <rml@novell.com>
12350
12351         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12352           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12353           it, in case it is not running in the first place.  We just want its
12354           configuration reloaded.  Also, do not "rcypbind stop" on device down.
12355
12356 2006-03-15  Robert Love  <rml@novell.com>
12357
12358         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12359           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12360           label "WEP 40/128-bit" is inconsistent because the physical key size
12361           is 40 or 104-bits, to which a 24-bit initialisation vector is
12362           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
12363           to read "40/104" or "64/128".  I do not care much which, but most
12364           users think of "silver" and "gold" encryption as 64 and 128-bits, so
12365           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
12366           WEP passphrase support only handles 128-bit keys, and any future
12367           64-bit passphrase support will require a new option (no way to auto-
12368           detect the target key size), explicitly label our passphrase support
12369           "WEP 128-bit Passphrase".
12370
12371 2006-03-15  Robert Love  <rml@novell.com>
12372
12373         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12374           the system init scripts (or some other mechanism) starting it (or a
12375           compatible DBUS service) before NetworkManager runs.  This means that
12376           distributions might need to update their init scripts.  This fixes
12377           possible races and is quite a bit cleaner.
12378         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12379           starting the NetworkManager daemon.
12380
12381
12382 2006-03-14  Robert Love  <rml@novell.com>
12383
12384         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12385           before adding anything.
12386
12387 2006-03-13  Robert Love  <rml@novell.com>
12388
12389         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12390           widgets, too, if they exist, in case the user hit the back button.
12391           Fixes a bug where the details page contains the widgets of multiple
12392           VPN modules (Novell bug #157048).
12393
12394 2006-03-13  Robert Love  <rml@novell.com>
12395
12396         Patch by Timo Hoenig <thoenig@suse.de>:
12397         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12398           daemon survive DBUS restarts, too.
12399
12400 2006-03-10  Robert Love  <rml@novell.com>
12401
12402         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12403           passphrase or key.
12404         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12405           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12406           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12407           in response to "toggled" signal on new toggle.
12408
12409 2006-03-10  Robert Love  <rml@novell.com>
12410
12411         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12412           serialization if strings are NULL, lest DBUS get angry.
12413
12414 2006-03-10  Robert Love  <rml@novell.com>
12415
12416         * src/nm-ap-security-wpa-eap.c: Don't log the password.
12417
12418 2006-03-09  Robert Love  <rml@novell.com>
12419
12420         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12421           configurations.
12422
12423 2006-03-09  Dan Williams  <dcbw@redhat.com>
12424
12425         Track pending call requests in the applet, and report how many are
12426         outstanding, and how long each completed one takes.
12427         
12428         * gnome/applet/applet-dbus-devices.c
12429           gnome/applet/applet-dbus-vpn.c
12430                 - Track pending calls
12431
12432         * gnome/applet/applet-dbus.[ch]
12433                 - Remove some unused enums
12434                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12435                         new functions to track dbus pending calls and spit out some
12436                         statistics about them
12437
12438 2006-03-09  Robert Love  <rml@novell.com>
12439
12440         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12441           nm_ap_set_timestamp() take the second and micro-second parameters as
12442           direct arguments, which avoids both a dynamic memory allocation and a
12443           structure-to-structure copy!  Add a new interface, the aptly named
12444           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12445           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12446           the return from nm_ap_get_timestamp().  New users should use the new
12447           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12448           the extreme benefit to performance.
12449         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12450           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12451
12452 2006-03-08  Robert Love  <rml@novell.com>
12453
12454         * gnome/applet/applet.glade: Hide the password entry text with
12455           asterisks.
12456
12457 2006-03-08  Robert Love  <rml@novell.com>
12458
12459         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12460           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12461           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12462           a second argument, NMData.
12463         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12464         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12465           config files as trusted.
12466
12467 2006-03-06  Robert Love  <rml@novell.com>
12468
12469         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12470         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12471           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
12472           Rivera, detect if the applet was auto-started.  If so, ask the user
12473           if he or she would like to stop automatically running the applet on
12474           login.  If so, disable autostart.
12475
12476 2006-03-06  Robert Love  <rml@novell.com>
12477
12478         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12479           directory in CFLAGS so developers can actually use NetworkManager.h.
12480
12481 2006-03-06  Robert Love  <rml@novell.com>
12482
12483         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12484           open-coded integer constants.  Add state_to_string() to map a given
12485           state to a textual description, and provide that when notifying of
12486           state change.
12487         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12488           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12489           this header directly, but it is currently not installed on most
12490           systems.
12491
12492 2006-03-05  Dan Williams  <dcbw@redhat.com>
12493
12494         Process netlink messages in device subclasses rather than in
12495         NetworkManager.c.  Also add support for recognizing Wireless Events.
12496         
12497         * configure.in
12498                 - Find GLIB_GENMARSHAL
12499
12500         * src/Makefile.am
12501                 - Since we're marshalling custom types for wireless event signals,
12502                         we get to create our own marshallers using GLIB_GENMARSHAL
12503
12504         * src/NetworkManager.c
12505                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12506                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12507                         cut down somewhat.  We no longer process signals here.
12508                 - (nm_data_new): create the netlink monitor here, and remove a
12509                         useless call to nm_policy_schedule_device_change_check()
12510                 - (nm_data_free): get rid of the netlink monitor here
12511                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12512                 - (main): don't create the netlink monitor here, let nm_data_new
12513                         do that.  Call nm_policy_schedule_device_change_check() right
12514                         before we jump to the mainloop to figure out which device
12515                         to use first
12516
12517         * src/NetworkManagerSystem.[ch]
12518                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12519                         convert back and forth from interface names to interface
12520                         indexes
12521
12522         * src/nm-device-802-11-wireless.c
12523                 - (real_init): connect to wireless-event signals from the netlink
12524                         monitor object
12525                 - (nm_device_802_11_wireless_event): new function, schedule handler
12526                         for wireless event signals from the netlink monitor object.  We
12527                         want the handler to run in the device's context
12528                 - (wireless_event_helper): handle wireless-event signals from netlink
12529                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12530                         signal handler
12531
12532         * src/nm-device-802-11-wireless.h
12533                 - remove unused prototype for nm_device_802_11_wireless_new
12534
12535         * src/nm-device-802-3-ethernet.c
12536                 - (real_init): new function; set up signal handlers for link events
12537                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12538                         handler for netlink link activated events on device's main loop
12539                 - (link_activated_helper): when we get a link activated event, set
12540                         the device's link to be active
12541                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12542                         handler for netlink link deactivated events on device's main loop
12543                 - (link_deactivated_helper): when we get a link deactivated event, set
12544                         the device's link to be inactive
12545                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12546                         dispose
12547
12548         * src/nm-device-802-3-ethernet.h
12549                 - remove unused prototype for nm_device_802_3_ethernet_new
12550
12551         * src/nm-device.[ch]
12552                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12553                         but locks the device list
12554                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12555
12556         * src/nm-netlink-monitor.[ch]
12557                 - (nm_netlink_monitor_class_install_signals): New signal
12558                         "wireless-event"
12559                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12560                         at the device list
12561                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12562
12563         * src/nm-marshal-main.c
12564                 - Include generated nm-marshal.c and nm-marshal.h
12565
12566         * src/nm-marshal.list
12567                 - List of custom marshal functions
12568
12569 2006-03-05  Dan Williams  <dcbw@redhat.com>
12570
12571         * gnome/applet/applet-notifications.h
12572                 - Protect prototype of nma_send_event_notification() because it
12573                         includes libnotify-specific types
12574                 - Include libnotify/libnotify.h too, since we technically need it
12575
12576         * gnome/applet/applet.c
12577                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12578                 - (nma_show_vpn_login_banner_dialog): add some error checking
12579
12580 2006-03-04  Dan Williams  <dcbw@redhat.com>
12581
12582         Clean up activation cancellation.  Should be a lot faster now.  Observed
12583         an issue with wireless devices between stage 2 and 3 of activation, where
12584         activation would be cancelled, but the device thread wouldn't notice until
12585         the supplicant association timed out.  Reorganize activation such that
12586         a cancellation handler gets immediately scheduled in the device's thread,
12587         and devices have a chance to perform any custom cleanup too.
12588
12589         * src/nm-device.[ch]
12590                 - (activation_cancel_handler): new device-type-specific function
12591                         for cleaning up device-type-specific stuff on cancellation
12592                 - (cancel_activation): removed
12593                 - (nm_device_activation_cancel): subsume functionality of
12594                         real_cancel_activation, but instead of doing anything, punt
12595                         operation to a handler that's run in device-thread context
12596                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12597                         a warning message
12598                 - (activation_handle_cancel_helper): cancellation handler run in
12599                         device-thread context, calls device-type-specific cancelation,
12600                         then tears down the activation request
12601                 - (real_activation_cancel_handler): generic cancellation handler,
12602                         deals with cancelling any in-process DHCP request
12603                 - (nm_device_activate_stage1_device_prepare,
12604                    nm_device_activate_stage2_device_config,
12605                    nm_device_activate_stage3_ip_config_start,
12606                    nm_device_activate_stage4_ip_config_get,
12607                    nm_device_activate_stage4_ip_config_timeout,
12608                    nm_device_activate_stage5_ip_commit): don't call
12609                         nm_device_schedule_activation_handle_cancel() any more, since
12610                         cancellation will have been already scheduled for us by
12611                         nm_device_activation_cancel().  Just exit the function and
12612                         assume that the cancel handler will be called next.
12613
12614         * src/nm-device-802-3-ethernet.c
12615                 - (real_act_stage2_config): remove; didn't do anything anyway
12616
12617         * src/nm-device-802-11-wireless.c
12618                 - (supplicant_status_cb): ensure we don't do anything if the activation
12619                         got cancelled
12620                 - (real_activation_cancel_handler): implement; cancel user key request
12621                         on activation cancellation
12622
12623 2006-03-04  Dan Williams  <dcbw@redhat.com>
12624
12625         * src/nm-device-802-11-wireless.c
12626                 - (supplicant_send_network_config): assume that drivers that don't
12627                         support WPA pretty much suck, and can't handle NM scanning
12628                         along with wpa_supplicant.
12629
12630 2006-03-03  Robert Love  <rml@novell.com>
12631
12632         * configure.in: Bump version to 0.6.0.
12633         * NEWS: Update.
12634
12635 2006-03-03  Robert Love  <rml@novell.com>
12636
12637         * configure.in: Require DBUS 0.60 or later.
12638
12639 2006-03-03  Dan Williams  <dcbw@redhat.com>
12640
12641         Fix a crash if an "Other wireless network" was chosen, failed, then
12642         chosen again from the applet's menu.  If the other network wasn't
12643         noticed in a scan, it wouldn't have any capabilities, but would still
12644         be listed because the user forced the network.  To fix this, we set
12645         sensible capabilities on the forced network, which will get overwritten
12646         with the correct ones if the network shows up later in a scan.
12647         
12648         * src/nm-ap-security.h
12649                 - Add a new "get_default_capabilities_func" member to the
12650                         NMAPSecurity class
12651
12652         * src/nm-ap-security.c
12653                 - (nm_ap_security_get_default_capabilities): new function
12654
12655         * src/nm-ap-security.c
12656           src/nm-ap-security-wep.c
12657           src/nm-ap-security-wpa-psk.c
12658           src/nm-ap-security-wpa-eap.c
12659                 - Implement get_default_capabilities_func() for all, which
12660                         uses the information contained in a specific NMAPSecurity
12661                         object to determine default AP capabilites necessary
12662                         to support that object
12663
12664         As a secondary measure, we now prune artificial access points that fail
12665         to be activated right away.  The thing failed, and we have no scan data for
12666         it, so it's pretty much useless since security information is only saved
12667         in the applets when a connection is successful.
12668
12669         * src/NetworkManagerAPList.c
12670                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12671                         not artificial.  If we see it, it's no longer a figment of the
12672                         user's imagination :)
12673
12674         * src/NetworkManagerPolicy.c
12675                 - (nm_policy_activation_failed): send along the failed AP if we
12676                         have it
12677
12678         * src/nm-device-802-11-wireless.c
12679                 - (real_activation_failure_handler): remove artificial APs from
12680                         the device list, because activation failed
12681
12682 2006-03-02  Robert Love  <rml@novell.com>
12683
12684         Add support for retrieving both the per-device speed and the
12685         per-network maximum supported rate.  Then change the getProperties
12686         DBUS API for both networks and devices to report this informaiton.
12687         Finally, display the information via both nm-applet and nm-tool:
12688         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12689           and set it.
12690         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12691           Information' dialog.
12692         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12693         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12694           network_device_get_speed() and network_device_set_speed() for
12695           retrieving and setting, respectively, a network device's current
12696           speed.
12697         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12698         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12699           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12700           not matter (yet) what the units are, because we only feed it its own
12701           output.  Implement SIOCGIRATE and set the per-network maximum
12702           supported rate during scanning.
12703         * src/nm-device-802-11-wireless.h: Export the function
12704           nm_device_802_11_wireless_get_bitrate().
12705         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12706           function nm_device_802_3_ethernet_get_speed() for returning an
12707           802.3's current speed, in Mb/s.
12708         * test/nm-tool.c: Display the per-device current speed, if available,
12709           and the per-network maximum rate.
12710
12711 2006-03-02  Dan Williams  <dcbw@redhat.com>
12712
12713         * src/nm-device-802-11-wireless.c
12714                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12715                         card when it gets initialized.  Since devices don't get added to
12716                         the scan list until they are initialized, this function wasn't
12717                         setting the intitial scan interval correctly, and was leaving
12718                         it at 0.  This caused cards to get many scan requests in a short
12719                         amount of time when they were initialized
12720
12721 2006-03-02  Robert Love  <rml@novell.com>
12722
12723         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12724           active device.  But do not do what we used to do and override the
12725           state, which caused the dreaded icon race of '05.
12726
12727 2006-03-02  Robert Love  <rml@novell.com>
12728
12729         Commit Dan's update of my previous commit:
12730         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12731           set_mode() function itself does the check.  But do only set the
12732           frequency if in Ad-Hoc mode.
12733
12734 2006-03-02  Robert Love  <rml@novell.com>
12735
12736         Patch by Brian Magnuson <magnuson@rcn.com>:
12737         * src/nm-device-802-11-wireless.c: During scanning, only set the
12738           wireless mode to infrastructure if it is not currently in
12739           infrastructure mode.  For some driver, setting the mode is a costly
12740           operation, apparently.
12741
12742 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12743
12744         * Makefile.am: use the correct dir for autostart mechanism.
12745
12746 2006-02-28  Dan Williams  <dcbw@redhat.com>
12747
12748         Patch from Brian Magnuson <magnuson@rcn.com>
12749         * gnome/applet/applet.c
12750                 - (nma_show_vpn_failure_dialog): fix errors left over from
12751                         libnotify support changes
12752
12753 2006-02-28  Dan Williams  <dcbw@redhat.com>
12754
12755         * src/vpn-manager/nm-vpn-act-request.[ch]
12756                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12757                         just one value
12758                 - (nm_vpn_act_request_is_failed): new function; return whether or
12759                         not the vpn activation request has failed
12760
12761         * src/vpn-manager/nm-vpn-manager.c 
12762                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12763                         daemon to kill the connection when the activation request fails.
12764                         Fixes issue where NM would get confused if the VPN activation
12765                         request timed out, and would not allow further VPN connections
12766                         on that service.
12767
12768 2006-02-28  Dan Williams  <dcbw@redhat.com>
12769
12770         * gnome/applet/applet.c
12771                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12772                         overlapping connection requests, disable all VPN menu items
12773                         but the active VPN connection
12774
12775 2006-02-28  Dan Williams  <dcbw@redhat.com>
12776
12777         * src/vpn-manager/nm-vpn-connection.c
12778                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12779                         called g_object_unref() on the connection's parent device
12780                         when it should have been ref-ed instead.  Fixes crash with
12781                         repeated vpn connect requests
12782
12783 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12784
12785         * gnome/applet/applet.glade:
12786         Mark a few strings non-translatable, since they shouldn't be.
12787
12788 2006-02-28  Dan Williams  <dcbw@redhat.com>
12789
12790         * src/vpn-manager/nm-vpn-service.c
12791                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12792                         already running, don't blindly ask it to connect, but wait until
12793                         it's in the STOPPED state first.  Fixes an assertion when user
12794                         starts a second vpn connection without stopping the first.
12795                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12796                         dbus service exists before continuing with the connection
12797                         process, and reduce latency while waiting for it to become
12798                         available
12799                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12800                         waiting for the vpn service daemon to become available
12801                 - General log message cleanups; show progress via "Stage x of 4"
12802                         rather than not telling anyone how many stages there are
12803
12804 2006-02-28  Robert Love  <rml@novell.com>
12805
12806         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12807         * src/backends/NetworkManagerSuSE.c: Implement the interface
12808           nm_system_should_modify_resolv_conf() for SUSE.
12809         * src/backends/NetworkManagerDebian.c,
12810           src/backends/NetworkManagerGentoo.c,
12811           src/backends/NetworkManagerRedHat.c,
12812           src/backends/NetworkManagerSlackware.c: Add stub.
12813         * src/named-manager/Makefile.am: Grab includes from src.
12814         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12815           automatic updating of resolv.conf.  This is useful for testing,
12816           broken static configurations, and administrator lock-down.
12817
12818 2006-02-28  Dan Williams  <dcbw@redhat.com>
12819
12820         * src/nm-device-802-11-wireless.c
12821                 - Move all the wpa_supplicant-related management stuff into its
12822                         own struct, just for oranization's sake
12823                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12824                         to a GIOChannel/GSource
12825                 - (supplicant_log_stdout): new function; grab output from the
12826                         wpa_supplicant stdout pipe and write it to our logs.
12827
12828 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12829
12830         * src/nm-device-802-11-wireless.c:
12831         Err, fix thinko in my previous commit.
12832
12833 2006-02-28  Robert Love  <rml@novell.com>
12834
12835         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12836
12837 2006-02-28  Robert Love  <rml@novell.com>
12838
12839         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12840           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12841           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12842           deserializers are responsible for freeing the returned DBUS strings.
12843
12844 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12845
12846         * src/nm-device-802-11-wireless.c:
12847         The scan list is being pruned prematurely.  We should prune after
12848         the device has gone MIA for three scans, not one.  Split out the
12849         interval to realtime seconds function to better serve this.
12850
12851 2006-02-27  Robert Love  <rml@novell.com>
12852
12853         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12854           Open the pid file O_TRUNC, so if it already exists we truncate it to
12855           zero length.  Also, be more verbose about warnings generated during
12856           writing out the pid file.  Finally, always write out the pid file if
12857           in daemon mode.  Use "--pid-file" to override the default.
12858
12859 2006-02-27  Robert Love  <rml@novell.com>
12860
12861         Patch by R. Vinay <rvinay@novell.com>:
12862         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12863           'last_attempt_success' when removing a VPN connection, too.  (Fixes
12864           Novell bug #153628).
12865           
12866 2006-02-27  Robert Love  <rml@novell.com>
12867
12868         * gnome/applet/applet.glade: Set "activates_default" on passphrase
12869           entry so user can hit <ENTER> after entering passphrase (Novell bug
12870           #153738).
12871
12872 2006-02-27  Dan Williams  <dcbw@redhat.com>
12873
12874         * gnome/applet/*
12875                 - Mass search/replace of:
12876                         nmwa -> nma
12877                         NMWirelessApplet -> NMApplet
12878                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
12879                    (it ain't just for wireless anymore, ma!)
12880                 - Fix duplicate function name printing when using nm_warning
12881                 - wireless-applet.glade -> applet.glade
12882
12883 2006-02-27  Dan Williams  <dcbw@redhat.com>
12884
12885         * dispatcher-daemon/NetworkManagerDispatcher.c
12886                 - Accept --pid-file with a path to a pidfile, write it out on
12887                         startup, and delete it on shutdown
12888
12889         * src/NetworkManager.c
12890                 - Accept --pid-file with a path to a pidfile, write it out on
12891                         startup, and delete it on shutdown
12892                 - Move nm_print_usage() lower
12893
12894         * initscripts/RedHat/NetworkManager.in
12895                 - Use new --pid-file option
12896                 - Fix service stopping to wait a bit for NM to quit
12897
12898         * initscripts/RedHat/NetworkManagerDispatcher.in
12899                 - Use new --pid-file option
12900
12901 2006-02-26  Dan Williams  <dcbw@redhat.com>
12902
12903         * src/Makefile.am
12904                 - make and install nm-crash-logger
12905
12906         * src/nm-logging.[ch]
12907                 - New files; consolidate logging and crash handling
12908
12909         * src/nm-crash-logger.c
12910           src/gdb-cmd
12911                 - Standalong crashlogger for NM, grab a backtrace
12912                         using GDB
12913
12914         * src/NetworkManager.[ch]
12915                 - Remove signal handling and put it into nm-logging.c
12916
12917 2006-02-26  Dan Williams  <dcbw@redhat.com>
12918
12919         * configure.in
12920           gnome/applet/Makefile.am
12921                 - Conditionalize all the notify stuff
12922
12923         Merge most of Chris Aillon's notification patch:
12924         
12925         * gnome/applet/applet-notifications.[ch]
12926                 - New files; show a notification
12927         
12928         * gnome/applet/applet-dbus-devices.[ch]
12929                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12930                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12931                         new functions, do the right thing when a device change occurs
12932
12933         * gnome/applet/applet-dbus.c
12934                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12935                         signals, so we can handle them specially
12936
12937         * gnome/applet/applet.[ch]
12938                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12939                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12940                 - (nmwa_notify_state): remove
12941                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12942                         notification work is now done when the appropriate dbus signals
12943                         are received.
12944                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12945                         defer execution of the notification/dialog stuff.  That was an
12946                         artifact of the previous multi-threaded nature of the applet
12947                         and is now pointless.
12948                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12949                         no longer needed.  Function folded into applet-notifications.c
12950
12951         * src/NetworkManagerPolicy.c
12952                 - (nm_policy_activation_finish): send the AP along with the device
12953                         status change signal, if the connection is wireless.  Should
12954                         fix the race where applet would show a connection to "unknown"
12955
12956 2006-02-25  Robert Love  <rml@novell.com>
12957
12958         Add WPA Enterprise support:
12959         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12960           nm-gconf-wso-wpa-eap.h.
12961         * gnome/applet/nm-gconf-wso-wpa-eap.c,
12962           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
12963           serialization and deserialization.
12964         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12965           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12966           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12967         * gnome/applet/wireless-applet.glade: Add UI for configurating security
12968           settings related to WPA Enterprise.
12969         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12970           instantiate WPA Enterprise wireless-security-option.
12971         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12972           Implement WPA Enterprise wireless-security-option object.
12973         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12974           defines.  Cleanup.
12975         * libnm-util/cipher-wpa-psk-hex.c,
12976           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12977         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12978           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12979           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12980           including the cipher to DBUS method, and
12981           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12982           to output.
12983         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12984           nm-ap-security-wpa-eap.h
12985         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12986           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12987         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12988           files.  Implement NMAPSecurityWPA_EAP object.
12989         * src/nm-ap-security-wpa-psk.c: Cleanup.
12990         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12991           an NMAPSecurityWPA_EAP object via the method
12992           nm_ap_security_wpa_eap_new_deserialize().
12993         * src/nm-dbus-nm.c: Cleanup.
12994         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12995           WPA Enterprise support.
12996
12997 2006-02-24  Robert Love  <rml@novell.com>
12998
12999         Patch from Timo Hoenig <thoenig@suse.de>:
13000         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
13001
13002 2006-02-24  Robert Love  <rml@novell.com>
13003
13004         Patch from Dan Winship <danw@novell.com>:
13005         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
13006           area to transparent.
13007
13008 2006-02-21  Dan Williams  <dcbw@redhat.com>
13009
13010         * gnome/applet/applet.[ch]
13011           gnome/applet/applet-dbus.c
13012                 - Implement notification support for VPN messages too
13013
13014 2006-02-21  Dan Williams  <dcbw@redhat.com>
13015
13016         * gnome/applet/applet-dbus-info.c
13017                 - Clean up warning messages to not double-print the function
13018
13019 2006-02-21  Dan Williams  <dcbw@redhat.com>
13020
13021         * gnome/applet/applet-compat.c
13022                 - (convert_one_entry): accept entries without a key_type and
13023                         convert them to unencrypted networks
13024
13025 2006-02-21  Dan Williams  <dcbw@redhat.com>
13026
13027         * gnome/libnm_glib/libnm_glib.c
13028                 - Use __func__ everywhere we can
13029                 - Code cleanups
13030                 - Use dbus pending calls rather than blocking
13031                 - Reduce busywaits for our thread to start and stop
13032                         (gnome.org #330562)
13033                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
13034                         stomp on others using the default shared dbus connection.
13035                         Fixes #rh177546# and gnome.org #326572
13036
13037 2006-02-21  Dan Williams  <dcbw@redhat.com>
13038
13039         Patch from Rodney Dawes <dobey@novell.com>
13040         * configure.in
13041           gnome/applet/Makefile.am
13042           gnome/applet/applet.c
13043                 - Add libnotify support if '--enable-notify=yes' is passed
13044                   at configure time
13045
13046 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
13047
13048         * configure.in (ALL_LINGUAS): ko added. (Korean)
13049
13050 2006-02-15  Robert Love  <rml@novell.com>
13051
13052         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
13053           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
13054           and WPA_SUPPLICANT_CONTROL_SOCKET.
13055         
13056 2006-02-15  Robert Love  <rml@novell.com>
13057
13058         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
13059           information about what connection stage we are at, provide the total
13060           number of stages, e.g. "Stage 2 of 5", so users know how far along
13061           they are if they experience problems.
13062
13063 2006-02-15  Robert Love  <rml@novell.com>
13064
13065         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13066           define to $sysconfdir.
13067         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13068           editing dialog, vpn_edit_widget, which fixes a bug where editing one
13069           type of VPN and then editing another results in a mangled dialog
13070           box containing the widgets from both VPNs (fixes Novell #150854).
13071           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13072
13073 2006-02-14  Robert Love  <rml@novell.com>
13074
13075         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13076           syslog's file descriptor.
13077
13078 2006-02-14  Robert Love  <rml@novell.com>
13079
13080         Fix bug around since the change to "deal with APs changing settings on
13081         us," checked in on the fifth of February in the year of the dog, 
13082         wherein connecting to non-broadcast encrypted networks always fails
13083         because nm_ap_get_encrypted() always returns FALSE, even when the user
13084         provided a key, because the newly-created fake AP does not have any
13085         capabilities set, which is a sypmtom of security settings not matching
13086         capabilities (Novell bug #150784):
13087         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13088           nm_ap_add_capabilities_from_security(), which sets the given AP's
13089           capabilities off the given security settings.  Also improve our
13090           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13091           NM_AUTH_CIPHER_AUTO.
13092         * src/nm-device-802-11-wireless.c: Call the function
13093           nm_ap_add_capabilities_from_security() to ensure that capabilities
13094           match newly updated security settings.
13095
13096 2006-02-14  Robert Love  <rml@novell.com>
13097
13098         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13099           error as a string, not an integer, if possible; do not print the
13100           function name twice; always give the interface, if possible; misc.
13101           cleanup.
13102
13103 2006-02-12  Dan Williams  <dcbw@redhat.com>
13104
13105         Patch from Tom Parker <palfrey@tevp.net>
13106         * src/NetworkManagerSystem.h
13107                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13108                         no longer used
13109
13110         * src/backends/NetworkManagerDebian.c
13111                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13112                         unused variables
13113
13114 2006-02-12  Dan Williams  <dcbw@redhat.com>
13115
13116         * vpn-daemons/openvpn/intltool-extract.in
13117           vpn-daemons/openvpn/intltool-merge.in
13118           vpn-daemons/openvpn/intltool-update.in
13119           vpn-daemons/pptp/intltool-extract.in
13120           vpn-daemons/pptp/intltool-merge.in
13121           vpn-daemons/pptp/intltool-update.in
13122                 - Remove from CVS, they should get created by intltoolize,
13123                         shouldn't they?
13124
13125 2006-02-12  Dan Williams  <dcbw@redhat.com>
13126
13127         * vpn-daemons/pptp/src/pppd/patchlevel.h
13128         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13129                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13130                         Makefile-defined VERSION
13131
13132 2006-02-09  Dan Williams  <dcbw@redhat.com>
13133
13134         Patch from: Vinay A R <rvinay@novell.com>
13135         * src/vpn-manager/nm-vpn-act-request.[ch]
13136                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13137                         IPSec VPNs require them for std gateway.
13138                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13139                         and 'user_routes_count'
13140                 - (nm_vpn_act_request_get_user_routes): new function; gets user
13141                         defined routes  from NMVPNActRequest object, returns the string
13142                         array of routes.
13143
13144         * src/vpn-manager/nm-vpn-manager.[ch]
13145                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13146                         for 'user_routes' and 'user_routes_count'
13147         
13148         * src/vpn-manager/nm-dbus-vpn.c
13149                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13150                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13151         
13152         * src/vpn-manager/nm-vpn-service.c
13153                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13154                         the vpn daemon
13155
13156         Modifications by Dan:
13157         * src/vpn-manager/nm-vpn-service.c
13158                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13159                         arrays into dbus
13160
13161         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13162         * vpn-daemons/pptp/src/nm-pptp-service.c
13163         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13164                 - Grab user routes from dbus message
13165                 - Free all string arrays we got from dbus
13166
13167 2006-02-07  Robert Love  <rml@novell.com>
13168
13169         Patch by Stefan Seyfried <seife@suse.de>:
13170         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13171
13172 2006-02-06  Robert Love  <rml@novell.com>
13173
13174         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13175
13176 2006-02-06  Robert Love  <rml@novell.com>
13177
13178         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13179           test ">=" is never false.  If no newline is found, we loop forever.
13180           We can just check for ">" because the following if() will see the
13181           zero-th argument if the while() gets that far.
13182
13183 2006-02-05  Dan Williams  <dcbw@redhat.com>
13184
13185         Refine handling of non-broadcast networks.
13186
13187         * src/NetworkManagerAPList.c
13188                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13189                         property from scanned AP to the AP from the device list
13190
13191         * src/nm-device-802-11-wireless.c
13192                 - (supplicant_send_network_config): use ap_scan=1 for all networks
13193                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
13194                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
13195                         networks since those don't have APs.
13196                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13197                         AP as non-SSID-broadcasting
13198                 - (process_scan_results): don't handle non-SSID-broadcasting here
13199
13200 2006-02-05  Dan Williams  <dcbw@redhat.com>
13201
13202         * src/nm-device-802-11-wireless.c
13203                 - (get_supplicant_timeout): new function; return
13204                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13205                         14 channels.  These are likely a/b/g cards, like Atheros, and
13206                         slow as hell to scan.
13207                 - (supplicant_timeout_cb, supplicant_monitor_start): use
13208                         get_supplicant_timeout()
13209
13210 2006-02-05  Dan Williams  <dcbw@redhat.com>
13211
13212         * src/dhcp-manager/nm-dhcp-manager.c
13213                 - Loose a commit race with Robert; make sure size check
13214                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
13215
13216 2006-02-05  Robert Love  <rml@novell.com>
13217
13218         Patch by Christoph Brill <chrisbrill@gmx.net>:
13219         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13220           with DHCP_SERVICE_NAME.
13221
13222 2006-02-05  Dan Williams  <dcbw@redhat.com>
13223
13224         Remove anything having to do with device_setup_func from the
13225         AP security objects, since it's no longer used.
13226
13227         * src/nm-ap-security.h
13228                 - Kill device_setup_func and nm_ap_security_device_setup()
13229
13230         * src/nm-ap-security-wep.c
13231           src/nm-ap-security-wpa-psk.c
13232                 - (real_device_setup): remove
13233
13234         * src/nm-ap-security.c
13235                 - (real_device_setup): remove
13236                 - (nm_ap_security_device_setup): remove
13237
13238         * src/nm-device-802-11-wireless.[ch]
13239                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13240                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13241                         and done by wpa_supplicant now anyway
13242
13243 2006-02-05  Dan Williams  <dcbw@redhat.com>
13244
13245         * src/nm-device-802-11-wireless.c
13246                 - (ap_need_key, real_act_stage2_config): deal with APs changing
13247                         settings on us.  Previously NM would loop asking for the
13248                         key but getting the same one back.  Now, if the NMI-supplied
13249                         cipher doesn't overlap with the scanned AP capabilities,
13250                         we request a completely new key from the user.
13251
13252 2006-02-05  Dan Williams  <dcbw@redhat.com>
13253
13254         * src/NetworkManagerUtils.c
13255                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13256                         Handle newline killing better
13257
13258 2006-02-05  Dan Williams  <dcbw@redhat.com>
13259
13260         * gnome/applet/nm-gconf-wso.c
13261                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
13262                         of unencrypted access point security info.
13263
13264 2006-02-03  Robert Love  <rml@novell.com>
13265
13266         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13267           user's encryption key, so we print the err_msg_cmd not the command,
13268           if available.  So long as SUPPLICANT_DEBUG is default, this makes
13269           sense.
13270
13271 2006-02-03  Christopher Aillon  <caillon@redhat.com>
13272
13273         * initscript/RedHat/NetworkManagerDispatcher.in:
13274         * initscript/RedHat/NetworkManager.in: modify the pidfile location
13275         Patch from Dan Walsh <dwalsh@redhat.com>
13276
13277 2006-02-03  Robert Love  <rml@novell.com>
13278
13279         * dispatcher-daemon/NetworkManagerDispatcher.c,
13280           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13281           but use the sysconfdir.
13282
13283 2006-02-03  Robert Love  <rml@novell.com>
13284
13285         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13286           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13287           'char *'.
13288         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13289           nm_ip4_config_get_hostname() and
13290           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13291         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
13292           leak g_strdup() result.
13293
13294 2006-02-03  Robert Love  <rml@novell.com>
13295
13296         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13297           broadcast == TRUE.  Also, copy broadcast and artificial properties
13298           from source network to destination in nm_ap_copy().
13299         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13300           since we now default new networks to non-hidden.
13301
13302 2006-02-03  Dan Williams  <dcbw@redhat.com>
13303
13304         * gnome/applet/main.c
13305                 - (main): change the NEVER->ALWAYS so we start at the
13306                         beginning of the session, if being session-managed
13307
13308 2006-02-03  Dan Williams  <dcbw@redhat.com>
13309
13310         * gnome/applet/main.c
13311                 - (main): in a variation on Robert's patch, change
13312                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
13313                         he wants.
13314
13315 2006-02-02  Robert Love  <rml@novell.com>
13316
13317         * src/Makefile.am: If we aren't going to create the run directory at,
13318           uh, run-time, create it during install.  Then users just doing
13319           'make install' are cool, too.  While we are here, create the
13320           dispatcher.d directory, too.
13321         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13322           the exact run directory.
13323         * Makefile.am: Install nm-applet.desktop.
13324
13325 2006-02-02  Robert Love  <rml@novell.com>
13326
13327         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13328           structure, which denotes whether or not the AP is hidden.  This is a
13329           superset of 'artificial' -- we need 'broadcast' because a hidden AP
13330           can show up in the scan list.  Add nm_ap_get_broadcast() and
13331           nm_ap_set_broadcast() accessor interfaces.
13332         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13333           nm_ap_set_broadcast().
13334         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13335           "getProperties" method, which denotes whether or not the given
13336           network is hidden.
13337         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13338           an artificial network.  Set broadcast to TRUE when scanning returns
13339           an ESSID and FALSE when not.
13340         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13341           from "getProperties" method on a network.  Possible TODO is to
13342           somehow display this.
13343         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13344
13345 2006-02-02  Dan Williams  <dcbw@redhat.com>
13346
13347         * src/nm-device-802-11-wireless.c
13348                 - (supplicant_interface_init): don't try to create
13349                         /var/run/NetworkManager, since that should be done by
13350                         the distro package.  Causes problems for stuff like SELinux
13351
13352 2006-02-02  Robert Love  <rml@novell.com>
13353
13354         Patch by Sureshkumar T <tsureshkumar@novell.com>:
13355         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13356           Check for and handle empty string for iface.
13357
13358 2006-02-01  Robert Love  <rml@novell.com>
13359
13360         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13361           manpage.
13362
13363 2006-01-31  Dan Williams  <dcbw@redhat.com>
13364
13365         * nm-applet.desktop
13366                 - Add --sm-disable to Exec arguments, presuming that when
13367                         using autostart, we don't want session management
13368
13369 2006-01-31  Robert Love  <rml@novell.com>
13370
13371         * src/NetworkManagerAP.c: Add two new manufacturer default network
13372           names: linksys-a and linksys-g.  These are found (at least) on the
13373           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13374           own ESSID.
13375
13376 2006-01-31  Robert Love  <rml@novell.com>
13377
13378         * src/NetworkManagerAP.c: Optimize the function
13379           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
13380           machine code.  This is the first in a series of code tweaks aiming to
13381           generate better machine code and make NetworkManager all the better.
13382           Just kidding.  Who has time to go through the assembly generated for
13383           every function?  I certainly don't.  I have a wife, a kid, a job,
13384           a mortgage, a mistress.  But this function was so bad, I was called
13385           to arms.  Like the book.
13386
13387 2006-01-31  Robert Love  <rml@novell.com>
13388
13389         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13390           AP is not broadcasting, to scan with probe request frames.  Required
13391           for non-broadcast networks.
13392
13393 2006-01-31  Robert Love  <rml@novell.com>
13394
13395         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13396           preprocessor define (still 20s).  Fix message text in nm_info()
13397           s/too too/took too/.
13398
13399 2006-01-30  Dan Williams  <dcbw@redhat.com>
13400
13401         * src/nm-device-802-11-wireless.c
13402                 - (supplicant_monitor_start): increase connect/auth timeout to
13403                         20 seconds from 10 seconds
13404
13405 2006-01-30  Dan Williams  <dcbw@redhat.com>
13406
13407         * src/Makefile.am
13408                 - Define LOCALSTATEDIR
13409
13410         * src/nm-device-802-11-wireless.c
13411                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13412                         socket where we want it to
13413
13414         * src/wpa_ctrl.[ch]
13415                 - (wpa_ctrl_open): accept location to put local control socket
13416
13417 2006-01-30  Robert Love  <rml@novell.com>
13418
13419         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13420           get_ip4_string() for "domain_name".
13421
13422 2006-01-30  Robert Love  <rml@novell.com>
13423
13424         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13425           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13426           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13427           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13428           support for "Automatic" pairwise and group cipher configuration by
13429           letting wpa_supplicant handle the details.  Add UI elements, new
13430           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
13431           charm.  Note this does more than add a nice feature, it fixes a bug.
13432           Apparently, some people have AP's where the pairwise cipher does not
13433           match the group cipher.  Insane, but true.
13434
13435 2006-01-30  Dan Williams  <dcbw@redhat.com>
13436
13437         * gnome/applet/applet-dbus-devices.c
13438                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13439                         functions, grab device driver name from NetworkManager
13440                 - (nmwa_dbus_device_properties_cb): call functions to get driver
13441
13442         * gnome/applet/applet.c
13443                 - (nmwa_update_info): show driver name in Connection Information
13444                         dialog
13445
13446         * gnome/applet/nm-device.[ch]
13447                 - (network_device_get_driver, network_device_set_driver): add
13448                         accessors for driver name
13449
13450         * gnome/applet/wireless-applet.glade
13451                 - Add line for driver name to Connection Information dialog
13452
13453         * src/nm-dbus-device.c
13454                 - (nm_dbus_device_get_driver): new function to return driver name
13455                 - (nm_dbus_device_methods): hook up driver name function to dbus
13456
13457         * test/nm-tool.c
13458                 - (get_driver_name): new function
13459                 - (detail_device): grab and show driver name
13460
13461 2006-01-30  Robert Love  <rml@novell.com>
13462
13463         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13464           does not parse the markup if it is not part of the format.
13465
13466 2006-01-30  Robert Love  <rml@novell.com>
13467
13468         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13469           FALSE, we have no security options for this dialog, so we throw up
13470           an error dialog instead of a broken passphrase dialog.  Fixes
13471           Novell #138404.
13472         * gnome/applet/wireless-security-manager.c,
13473           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13474           does not add any security options, not even NONE, print a warning
13475           and return FALSE.  This let's functions constructing a dialog bail
13476           out if the device's capabilities and the network's requirements have
13477           zero overlap.
13478
13479 2006-01-27  Robert Love  <rml@novell.com>
13480
13481         * configure.in: Require wpa_supplicant.  Detect location of binary and
13482           use it.  Override with "--with-wpa_supplicant=foo".
13483         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13484           path to wpa_supplicant but use the auto-detected or user-provided
13485           value from configure.
13486
13487 2006-01-27  Robert Love  <rml@novell.com>
13488
13489         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13490           but the DHCP server did not return a hostname, try to look up our
13491           name via DNS and set the system hostname to that.
13492
13493 2006-01-27  Dan Williams  <dcbw@redhat.com>
13494
13495         * src/backends/NetworkManagerRedHat.c
13496                 - Add NM_CONTROLLED system network script support for RH/Fedora
13497
13498 2006-01-27  Dan Williams  <dcbw@redhat.com>
13499
13500         * src/backends/NetworkManagerGentoo.c
13501                 - (nm_system_device_get_disabled): add missing function.
13502                         Gnome BZ #328780
13503
13504 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13505
13506         * configure.in: Added vi in ALL_LINGUAS line.
13507         
13508 2006-01-26  Robert Love  <rml@novell.com>
13509
13510         * src/Makefile.am, src/kernel-types.h: Now that two different source
13511           files are feeling the crack-addled leakage of kernel types such as
13512           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13513           types in user-space -- define a header and include it as needed.
13514         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13515         * src/nm-device-802-3-ethernet.h: Remove defines.
13516         * src/wpa.c: Remove defines and include kernel-types.h.
13517
13518 2006-01-26  Robert Love  <rml@novell.com>
13519
13520         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13521           work.
13522
13523 2006-01-26  Robert Love  <rml@novell.com>
13524
13525         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13526         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13527           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13528           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13529           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13530           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13531           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13532           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13533           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13534           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13535           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13536           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13537           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13538           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13539           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13540           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13541           Kill unused variables, labels, and static functions.  Don't pass
13542           string literals as the format string for printf-like functions.
13543
13544 2006-01-25  Dan Williams  <dcbw@redhat.com>
13545
13546         * gnome/applet/wireless-applet.glade
13547                 - Remove WPA2 Checkbox
13548
13549         * gnome/applet/wireless-security-manager.c
13550                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13551                         This means the Wireless Security menu now has two WPA options,
13552                         one for "WPA Personal" and one for "WPA2 Personal"
13553
13554         * gnome/applet/wso-wpa-psk.[ch]
13555                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13556                         'wpa2' argument to determine WPA version to use
13557                 - (append_dbus_params_func): pass stored WPA version to cipher
13558                         rather than using the (removed) checkbox
13559
13560 2006-01-24  Robert Love  <rml@novell.com>
13561
13562         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13563           before we g_strdup(), not the ultimate string.
13564
13565 2006-01-23  Dan Williams  <dcbw@redhat.com>
13566
13567         * src/NetworkManagerAP.[ch]
13568                 - (nm_ap_new_from_ap): copy original essid too
13569                 - (nm_ap_unref): free original essid
13570                 - (nm_ap_get_orig_essid): new function
13571                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13572                         but keep original essid around too
13573
13574         * src/nm-device-802-11-wireless.c
13575                 - (supplicant_send_network_config): send wpa_supplicant the
13576                         _original_ essid, and not as a string, but in hex.  Should
13577                         allow us to connect to more APs that use wierd character
13578                         encodings for their essids
13579
13580         * utils/nm-utils.[ch]
13581                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13582                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13583                         use the current locale as a hint for what encoding the essid
13584                         might be in.  Obviously not 100% accurate, but the idea here is
13585                         that if a user's locale is ex. ja_JP, they are more likely than
13586                         not to be in Japan, where access points will likely be in some
13587                         Japanese encoding.
13588
13589 2006-01-23  Dan Williams  <dcbw@redhat.com>
13590
13591         * libnm-util/cipher-private.h
13592           libnm-util/cipher.c
13593           libnm-util/cipher.h
13594                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13595
13596 2006-01-23  Robert Love  <rml@novell.com>
13597
13598         Patch by Timo Hoenig <thoenig@suse.de>:
13599         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13600           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13601           by DHCP and pass it to the backends, allowing distribution-specific
13602           behavior with respect to the DHCP-supplied hostname (if nothing else,
13603           some distributions might not want to set the hostname).
13604         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13605           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13606           Also update our NIS behavior.
13607         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13608           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13609           Add stub functions.
13610
13611 2006-01-23  Robert Love  <rml@novell.com>
13612
13613         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13614           gnome-session does autostart.  TODO: We need to install this to
13615           $prefix/share/autostart/.
13616
13617 2006-01-22  Dan Williams  <dcbw@redhat.com>
13618
13619         * src/NetworkManagerAP.[ch]
13620           src/nm-dbus-nmi.c
13621           src/nm-device-802-11-wireless.c         
13622                 - Make nm_ap_get_essid return "const char *"
13623
13624 2006-01-22  Dan Williams  <dcbw@redhat.com>
13625
13626         * src/NetworkManagerAP.[ch]
13627                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13628
13629         * src/NetworkManagerAPList.[ch]
13630                 - (nm_ap_list_diff): removed
13631                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13632                         deal with access points changing essids on us
13633
13634         * src/nm-device-802-11-wireless.c
13635                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13636                         src/NetworkManagerAPList.c
13637                 - (real_can_interrupt_activation): new function; allow interruption
13638                         of device activation if we are waiting for a network key
13639
13640         * src/NetworkManagerPolicy.c
13641                 - (nm_policy_device_change_check): allow interruption of currently
13642                         activating devices if the device allows it.  Previous behavior
13643                         would refuse to activate a just-plugged wired device if a
13644                         wireless device was waiting for a key.
13645
13646         * src/nm-device.[ch]
13647                 - (nm_device_can_interrupt_activation): new function; ask devices
13648                         whether their activation can be interrupted
13649
13650 2006-01-20  Robert Love  <rml@novell.com>
13651
13652         * Makefile.am, configure.in: Add new man subdirectory.
13653         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13654           man/Makefile.am: Add man pages for NetworkManager and its
13655           crime-solving bumbling buddy, NetworkManagerDispatcher.
13656         * man/.cvsignore: Add.
13657         * initscript/Debian/NetworkManager,
13658           initscript/Gentoo/NetworkManager.in,
13659           initscript/RedHat/NetworkManager.in,
13660           initscript/RedHat/NetworkManagerDispatcher.in,
13661           initscript/SUSE/networkmanager-dispatcher.in,
13662           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13663
13664 2006-01-20  Robert Love  <rml@novell.com>
13665
13666         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13667           instead of queuing.  This prevents the running of multiple NM
13668           daemons concurrently, which does not work whatsoever and results in
13669           neither daemon working correctly.  Also, we don't handle queuing and
13670           name-owner-changes, anyhow.
13671
13672 2006-01-20  Robert Love  <rml@novell.com>
13673
13674         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13675         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13676           to sbin, not bin.
13677
13678 2006-01-19  Robert Love  <rml@novell.com>
13679
13680         * configure.in: Require hal 0.5.0 or later.
13681
13682 2006-01-18  Robert Love  <rml@novell.com>
13683
13684         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13685           Allow backends to flag a device (in whatever distro-dependent way
13686           they so desire) as disabled.  NM will ignore any such device.
13687         * src/backends/NetworkManagerDebian.c,
13688           src/backends/NetworkManagerRedHat.c,
13689           src/backends/NetworkManagerSlackware.c: Add stub function
13690           nm_system_device_get_disabled() that always returns FALSE (enabled).
13691         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13692           SUSE-specific configuration structure.  Fill it in from the
13693           NM_CONTROLLED variable in the system networking scripts.  If this var
13694           exists and is "no", we ignore the device.
13695
13696 2006-01-17  Robert Love  <rml@novell.com>
13697
13698         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13699           identical for NM.  For a full discussion, see the thread at
13700           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13701
13702 2006-01-17  Dan Williams  <dcbw@redhat.com>
13703
13704         * src/nm-device.c
13705                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13706                         function.  Fixes crash when wired DHCP fails.
13707
13708 2006-01-16  Robert Love  <rml@novell.com>
13709
13710         * src/Makefile.am: Don't install NMLoadModules
13711         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13712           from src/ to test/ as no one uses it anymore.  Note that I would be
13713           fine with removing it altogether.
13714
13715 2006-01-16  Robert Love  <rml@novell.com>
13716
13717         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13718           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13719           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13720           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13721           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13722           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13723           declarations, ever.
13724         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13725           NM_STATE_DISCONNECTED is zero).
13726
13727 2006-01-16  Robert Love  <rml@novell.com>
13728
13729         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13730           uninitialized parameter and buffer overflow.  Novell #143496.
13731
13732 2006-01-16  Dan Williams  <dcbw@redhat.com>
13733
13734         Apply the PtP Address bits of a patch from Tim Niemueller
13735
13736         * src/nm-ip4-config.[ch]
13737                 - Add ip4_ptp_address member to object
13738                 - (nm_ip4_config_copy): copy ptp address too
13739                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13740                         new functions
13741                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13742                         rather than local tunnel ip address
13743
13744         * src/vpn-manager/nm-vpn-service.c
13745                 - (print_vpn_config): update for PtP address
13746                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13747                         DBusMessageIters in preparation for getting routes from the VPN
13748                         service daemons too
13749
13750         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13751                 - (send_config_info): update for PtP address, clean up code
13752                 - (main): update for PtP address, clean up code, fix typo
13753
13754         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13755                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13756
13757         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13758                 - (pptp_ip_up): update for PtP address
13759
13760         * vpn-daemons/pptp/src/nm-pptp-service.c
13761                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13762
13763         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13764                 - (print_vpn_config): update for PtP address
13765                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13766
13767 2006-01-16  Dan Williams  <dcbw@redhat.com>
13768
13769         * gnome/applet/applet.c
13770                 - (nmwa_add_networks_helper): don't indicate an active network
13771                         if NM is disconnected or asleep
13772
13773 2006-01-16  Dan Williams  <dcbw@redhat.com>
13774
13775         * src/NetworkManagerPolicy.c
13776                 - (nm_policy_device_change_check): switch devices if we lose the link
13777                         on an ethernet device. 
13778
13779 2006-01-16  Dan Williams  <dcbw@redhat.com>
13780
13781         * gnome/applet/wso-wpa-psk-hex.[ch]
13782                 - Renamed -> wso-wpa-psk.[ch]
13783
13784         * gnome/applet/wso-wpa-psk.[ch]
13785                 - New files
13786
13787         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13788                 - Removed, rolled into wso-wpa-psk.[ch]
13789
13790         * gnome/applet/Makefile.am
13791                 - Updated for above changes
13792
13793         * gnome/applet/wireless-applet.glade
13794                 - Consolidate WPA-PSK options into one notebook
13795                         widget, and make dialogs invisible by default
13796                         to fix screen oddities
13797
13798         * gnome/applet/wireless-security-manager.c
13799                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13800                         than both the old hex & passphrase ones
13801
13802 2006-01-16  Dan Williams  <dcbw@redhat.com>
13803
13804         * gnome/applet/other-network-dialog.c
13805                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13806
13807 2006-01-16  Dan Williams  <dcbw@redhat.com>
13808
13809         * gnome/applet/applet.c
13810                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13811                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13812                         prevention to realize window before trying to get server
13813                         time
13814
13815         * gnome/applet/other-network-dialog.c
13816                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13817                         prevention to realize window before trying to get server
13818                         time
13819
13820         * gnome/applet/passphrase-dialog.c
13821                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13822                         prevention to realize window before trying to get server
13823                         time
13824
13825 2006-01-16  Robert Love  <rml@novell.com>
13826
13827         Patch from Timo Hoenig  <thoenig@suse.de:
13828         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13829           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13830           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13831           libnm-util/dbus-helpers.h: add checks whether headers are used
13832           within a C++ build.
13833
13834 2006-01-16  Dan Williams  <dcbw@redhat.com>
13835
13836         * gnome/applet/wireless-security-option.c
13837                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13838
13839 2006-01-16  Dan Williams  <dcbw@redhat.com>
13840
13841         * libnm-util/cipher-wpa-psk-passphrase.c
13842                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13843                         be 8 - 63 characters inclusive
13844
13845 2006-01-16  Dan Williams  <dcbw@redhat.com>
13846
13847         * src/nm-dbus-nm.c
13848                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13849
13850 2006-01-13  Robert Love  <rml@novell.com>
13851
13852         Patch by T Sureshkumar <tsureshkuman@novell.com>:
13853         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13854           modules that do not use an interface.
13855
13856 2006-01-13  Dan Williams  <dcbw@redhat.com>
13857
13858         * src/nm-device.c
13859           src/nm-device.h
13860                 - Allow subclasses to implement deactivate_quickly()
13861                 - (nm_device_deactivate_quickly): call subclass
13862                         deactivate_quickly() methods
13863                 - (nm_device_set_active_link): small cleanups, and don't
13864                         deactivate the device right away because we risk a deadlock
13865                         when called from device thread, waiting for the device
13866                         thread to cancel activation
13867
13868         * src/nm-device-802-11-wireless.c
13869                 - (real_deactivate_quickly): new function
13870                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13871                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13872                         so that we kill the supplicant when we sleep too
13873                 - (supplicant_interface_init): work around naive naming attempts of
13874                         wpa_ctrl when naming sockets
13875
13876 2006-01-13  Dan Williams  <dcbw@redhat.com>
13877
13878         * src/nm-device-802-11-wireless.c
13879                 - (supplicant_cleanup): delete old device control sockets too
13880                 - (supplicant_get_device_socket_path): new function to consolidate
13881                         locations that need a path to a device's control socket
13882
13883 2006-01-12  Robert Love  <rml@novell.com>
13884
13885         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13886           description so that the description is unique for each
13887           pair (device,provider).  Fixes Novell #142773.
13888
13889 2006-01-12  Dan Williams  <dcbw@redhat.com>
13890
13891         * src/nm-device-802-11-wireless.c
13892                 - (supplicant_exec): ensure GError is correctly initialized
13893                         Reported by Diego González (gnome.org #326708)
13894
13895 2006-01-11  Robert Love  <rml@novell.com>
13896
13897         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13898           define if_mii(), open code the same results, and do so without any
13899           type punning.
13900
13901 2006-01-11  Robert Love  <rml@novell.com>
13902
13903         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13904           that wso_foo_new() returned non-NULL.  Instead, only append the new
13905           wso to wsm->options if the wso is non-NULL.  The crux is that we
13906           assume that the relevant key types are implied by WEP and WPA as
13907           appropriate.  To be sure, they should be, but we should not expect
13908           drivers to not be oozing piles of wolf fecal matter.
13909
13910 2006-01-11  Robert Love  <rml@novell.com>
13911
13912         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13913         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13914           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13915           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13916           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13917           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13918           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13919         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13920           comparing values within DBL_EPSILON.  Also fix shadowed variable
13921           usage.
13922
13923 2006-01-11  Dan Williams  <dcbw@redhat.com>
13924
13925         Add options for WPA2 and WPA1+CCMP (AES).
13926
13927         * gnome/applet/wireless-applet.glade
13928                 - Add UI bits for WPA+CCMP
13929
13930         * gnome/applet/other-network-dialog.c
13931                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13932                         and don't allow creation of WPA2 Ad-Hoc networks since
13933                         wpa_supplicant doesn't support them
13934
13935         * gnome/applet/wireless-security-manager.c
13936                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13937                         on to the specific wireless security option being created
13938
13939         * gnome/applet/wireless-security-option.[ch]
13940                 - (wso_wpa_create_key_type_model): new utility function to create
13941                         the model required for WPA Key Type combo box
13942
13943         * gnome/applet/wso-private.h
13944           gnome/applet/wireless-security-option.h
13945                 - Move private function prototypes into wso-private.h
13946
13947         * gnome/applet/wso-wpa-psk-hex.[ch]
13948           gnome/applet/wso-wpa-psk-passphrase.[ch]
13949                 - (append_dbus_params_func): get WPA version from checkbox and pass
13950                         it to the dbus serialization helper
13951                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13952                         key type combo changes
13953                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13954                         model and options
13955
13956         * libnm-util/cipher-wpa-psk-hex.c
13957           libnm-util/cipher-wpa-psk-passphrase.c
13958                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13959                         new function; allow the cipher to be changed after object creation
13960
13961         * src/nm-ap-security-wpa-psk.c
13962                 - (set_description): Do WPA2 descriptions too
13963
13964         * src/nm-ap-security.c
13965                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13966
13967 2006-01-11  Robert Love  <rml@novell.com>
13968
13969         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13970           is defined in <linux/mii.h> to return the mii_ioctl_data structure
13971           from the ifreq structure in lieu of an open coded solution.  Removes
13972           a life-threatening type-punning.
13973         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13974           types, ever, whatsoever, baby.
13975
13976 2006-01-11  Robert Love  <rml@novell.com>
13977
13978         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13979           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13980           assignments to applet->nm_state into a new nmwa_set_state() function
13981           for both cleanliness and to help debugging.
13982
13983 2006-01-10  Robert Love  <rml@novell.com>
13984
13985         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
13986           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13987           seconds, exclusive.  That is, we want to sleep x seconds such that
13988           1 < x < 2.
13989
13990 2006-01-10  Robert Love  <rml@novell.com>
13991
13992         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13993           the attr fields according to the example in the email available at
13994           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13995           Conversely, we do have to free 'name', so we do so, fixing a leak.
13996
13997 2006-01-10  Robert Love  <rml@novell.com>
13998
13999         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
14000           sure that we close the socket!
14001
14002 2006-01-10  Robert Love  <rml@novell.com>
14003
14004         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
14005           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
14006           src/nm-device.c: Fix a FIXME!  Reimplement the function
14007           nm_device_update_hw_address() in device subclass variants,
14008           nm_device_802_3_ethernet_set_address() and
14009           nm_device_802_11_wireless_set_address(), hook them up, and use them.
14010           This fixes the existing bug where MAC addresses are all zeros.
14011
14012 2006-01-10  Robert Love  <rml@novell.com>
14013
14014         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
14015           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
14016           option to give users ability to globally disconnect and put NM to
14017           sleep.  This is useful as a 'lockdown mode' for flying, security, and
14018           clean disconnect.
14019
14020 2006-01-09  Robert Love  <rml@novell.com>
14021
14022         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
14023           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
14024           User-space does not supply these types, so we have to define them
14025           ourselves.  The relevant kernel maintainer refused to accept a patch
14026           switching these headers to the proper C99 types.
14027
14028 2006-01-09  Dan Williams  <dcbw@redhat.com>
14029
14030         Apply Robert's 'tray icon redo' patch with fixes
14031         * gnome/applet/applet.c
14032           gnome/applet/applet.h
14033                 - Instead of using a menu bar + menu item, simulate menu
14034                         behavior using a popup menu.  Highlight the area around
14035                         the icon more like a menu too, by playing with the
14036                         applet's size requisition
14037
14038 2006-01-09  Timo Hoenig   <thoenig@suse.de>
14039         * libnm-util/dbus-helpers.c
14040           libnm-util/dbus-helpers.h
14041                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
14042                         to 'exception_namespace' (:namespace is a keyword in
14043                         C++)
14044
14045 2006-01-09  Dan Williams  <dcbw@redhat.com>
14046
14047         * src/NetworkManagerPolicy.c
14048                 - (nm_policy_device_change_check): don't autoswitch away from
14049                         Ad-Hoc networks, since there's really no concept of
14050                         "link"
14051
14052         * src/nm-dbus-nm.c
14053                 - (nm_dbus_nm_create_wireless_network): mark created networks
14054                         as Ad-Hoc networks
14055
14056         * src/nm-device-802-11-wireless.c
14057                 - (real_activation_success_handler): add user-created Ad-Hoc
14058                         networks to the device's scan list
14059
14060 2006-01-08  Dan Williams  <dcbw@redhat.com>
14061
14062         We now require a patch for wpa_supplicant to support Ad-Hoc
14063         networks:
14064           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14065
14066         * src/nm-device-802-11-wireless.c
14067                 - (supplicant_send_network_config): turn off wpa_supplicant's
14068                         scanning.  Fixes Ad-Hoc networks.
14069
14070 2006-01-08  Dan Williams  <dcbw@redhat.com>
14071
14072         * src/nm-ap-security.c
14073           src/nm-ap-security.h
14074                 - Add a user_created argument to the write_supplicant_config
14075                         functions
14076
14077         * src/nm-ap-security-wep.c
14078           src/nm-ap-security-wpa-psk.c
14079           src/nm-device-802-11-wireless.c
14080                 - Make Ad-Hoc mode somewhat work, at least write the
14081                         correct options to wpa_supplicant
14082
14083 2006-01-08  Dan Williams  <dcbw@redhat.com>
14084
14085         * src/nm-device-802-11-wireless.c
14086                 - Remove unused code from the old device activation path
14087
14088 2006-01-08  Dan Williams  <dcbw@redhat.com>
14089
14090         * libnm-util/dbus-helpers.c
14091                 - (nmu_security_serialize_wpa_psk): pass a blank key through
14092                         dbus when key == NULL
14093
14094 2006-01-08  Dan Williams  <dcbw@redhat.com>
14095
14096         * gnome/applet/nm-gconf-wso-wpa-psk.c
14097                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14098                         correct arguments to nmu_security_deserialize_wpa_psk()
14099
14100         * src/nm-ap-security-wpa-psk.c
14101                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14102                         arguments to nmu_security_deserialize_wpa_psk()
14103
14104 2006-01-08  Dan Williams  <dcbw@redhat.com>
14105
14106         * gnome/applet/wso-wpa-psk-hex.c
14107           gnome/applet/wso-wpa-psk-passphrase.c
14108                 - Hook up the append_dbus_params_func() function
14109
14110 2006-01-08  Dan Williams  <dcbw@redhat.com>
14111
14112         * src/nm-device-802-11-wireless.c
14113                 - (get_wireless_capabilities): correctly detect driver WPA
14114                         capabilities
14115
14116 2006-01-08  Dan Williams  <dcbw@redhat.com>
14117
14118         * gnome/applet/Makefile.am
14119           gnome/applet/wso-wpa-psk-hex.c
14120           gnome/applet/wso-wpa-psk-hex.h
14121                 - New files, implement WPA-PSK Hex key input
14122
14123         * gnome/applet/wireless-applet.glade
14124                 - Change existing wpa-psk stuff to wpa-psk-hex
14125                 - Add new widgets for wpa-psk-passphrase
14126
14127         * gnome/applet/wireless-security-manager.c
14128                 - (wsm_set_capabilities): enable WPA options
14129
14130         * gnome/applet/wso-wpa-psk-passphrase.c
14131                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14132                         for WPA-PSK passphrase
14133
14134 2006-01-08  Dan Williams  <dcbw@redhat.com>
14135
14136         * include/NetworkManager.h
14137                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14138                         applet/info-daemons
14139
14140         * gnome/applet/passphrase-dialog.c
14141                 - Use the constant.  Fixes a bug where the arguments to
14142                         dbus_message_new_error() were incorrect
14143
14144         * src/nm-dbus-nmi.c
14145                 - Use the constant
14146
14147 2006-01-07  Dan Williams  <dcbw@redhat.com>
14148
14149         * src/nm-device-802-11-wireless.c
14150                 - Add a link timeout so we allow the supplicant time to
14151                         reassociate if it can, before we deactivate the card
14152                 - Fix up link status and link updating so things work better
14153
14154 2006-01-07  Dan Williams  <dcbw@redhat.com>
14155
14156         * src/nm-device-802-11-wireless.c
14157                 - Switch over to using wpa_supplicant
14158                 - Add a timeout of 10s for association of the supplicant
14159                 - Start the monitor callback of the supplicant
14160
14161 2006-01-07  Dan Williams  <dcbw@redhat.com>
14162
14163         * src/NetworkManagerUtils.c
14164                 - (nm_utils_supplicant_request,
14165                   nm_utils_supplicant_request_with_check):
14166                         pass correct buffer length to wpa_ctrl_request()
14167
14168 2006-01-07  Dan Williams  <dcbw@redhat.com>
14169
14170         * src/nm-device-private.h
14171           src/nm-device.c
14172                 - (nm_device_activate_schedule_stage3_ip_config_start): make
14173                         this function available to subclasses
14174
14175 2006-01-06  Robert Love  <rml@novell.com>
14176
14177         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14178           user plugging in a network cable signals their preference for to
14179           switch, unless the user explicitly selected a wireless network and
14180           therefore signaled their preference for said wireless network over
14181           wired.  In other words, do exactly what makes sense.
14182
14183 2006-01-06  Robert Love  <rml@novell.com>
14184
14185         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14186           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14187           src/NetworkManagerWireless.h: Remove, no longer used and they keep
14188           showing up in my greps.
14189
14190 2006-01-06  Robert Love  <rml@novell.com>
14191
14192         * gnome/applet/applet-dbus-devices.c,
14193           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14194           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14195           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
14196           New Network' both failed in the non-encrypted case because we were
14197           not appending the security options to the DBUS message.  And
14198           'Connect to Other' was also failing in the encrypted case because
14199           we were not incrementing to the next DBUS parameter.  All fixed.
14200           Thanks to dcdw for some debugging help.
14201
14202 2006-01-06  Robert Love  <rml@novell.com>
14203
14204         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14205           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14206           hangup code and add per-device hangup.  Tie last commit into the
14207           GNOME applet.  TODO:  Save, understand, and respond to the state of
14208           each dialup device.
14209
14210 2006-01-06  Robert Love  <rml@novell.com>
14211
14212         Patch by Timo Hoenig <thoenig@suse.de>:
14213         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14214           hangup specific dialup devices.
14215         * src/backends/NetworkManagerDebian.c,
14216           src/backends/NetworkManagerGentoo.c,
14217           src/backends/NetworkManagerRedHat.c,
14218           src/backends/NetworkManagerSlackware.c: Add stub backend.
14219         * src/backends/NetworkManagerRedHat.c,
14220           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14221           hangup specific dialup devices.
14222
14223 2006-01-04  Robert Love  <rml@novell.com>
14224
14225         * gnome/applet/applet-dbus-devices.c,
14226           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14227           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14228           connections.
14229
14230 2006-01-04  Dan Williams  <dcbw@redhat.com>
14231
14232         First dump of wpa_supplicant-related code.  It's not hooked up to
14233         anything yet though.  Thanks to Kay Sievers for
14234         wpa_supplicant_wrapper.c, which formed the basis for this work,
14235         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14236
14237         * src/Makefile.am
14238           src/wpa_ctrl.[ch]
14239                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14240
14241         * src/NetworkManagerUtils.[ch]
14242                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14243                         Add convenience functions for talking to wpa_supplicant
14244
14245         * src/nm-ap-security.[ch]
14246           src/nm-ap-security-wep.c
14247           src/nm-ap-security-wpa-psk.[ch]
14248                 - Update and implement real_write_supplicant_config functions
14249                         in all security types
14250                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14251                         nm-ap-security-wpa-psk.c
14252
14253         * src/nm-device-802-11-wireless.c
14254                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14255                    wpa_supplicant_start, wpa_supplicant_interface_init,
14256                    wpa_supplicant_send_network_config): add functions to talk to
14257                         wpa_supplicant and write network config to it
14258
14259 2006-01-04  Robert Love  <rml@novell.com>
14260
14261         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14262           values so that distribution-backends can differentiate between the
14263           various types (modem, ISDN, et cetera) of dialup device that they
14264           support.
14265         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14266           needed.
14267
14268 2006-01-03  Dan Williams  <dcbw@redhat.com>
14269
14270         * src/NetworkManagerPolicy.c
14271           src/nm-device.[ch]
14272           src/nm-device-802-11-wireless.c
14273                 - Move wireless-specific activation failure and success code
14274                         into wireless device class
14275
14276 2006-01-03  Robert Love  <rml@novell.com>
14277
14278         Patch by Preggna S:
14279         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14280           IPsec does not require that a VPN client be bound to an interface,
14281           due to the use of the in-kernel IPSec bits.  So make the tunnel
14282           device optional.
14283
14284 2006-01-03  Dan Williams  <dcbw@redhat.com>
14285
14286         * src/NetworkManagerAP.c
14287                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14288                         the WPA IE specifies that WEP is supported
14289
14290         * src/nm-device-802-11-wireless.c
14291                 - (process_scan_results): don't mark an AP as supporting WEP
14292                         if there's already other encryption capability info
14293
14294 2006-01-03  Dan Williams  <dcbw@redhat.com>
14295
14296         * src/dhcp-manager/nm-dhcp-manager.c
14297                 - Recognize activation cancellation when waiting for DHCP
14298                         configuration from dhcdbd
14299                 - Ignore non-dhcdbd messages
14300
14301         * src/nm-device.c
14302                 - (real_act_stage3_ip_config_start): return to correct behavior
14303                         of letting the dhcp-manager notify us of failure or
14304                         success rather than incorrectly doing that ourselves
14305                 - (nm_device_activate_stage4_ip_config_get): deal with
14306                         activation cancellation a bit earlier
14307
14308 2006-01-03  Dan Williams  <dcbw@redhat.com>
14309
14310         * src/nm-device-802-11-wireless.c
14311           src/nm-device.[ch]
14312                 - Add hooks to subclasses for stage3_ip_config_start and
14313                         stage4_ip_config_timeout
14314
14315         * src/nm-device-802-3-ethernet.c
14316                 - (real_get_generic_capabilities): make devices NM-supported
14317                         by default
14318
14319 2006-01-03  Robert Love  <rml@novell.com>
14320
14321         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14322           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14323           latter cannot differentiate between error and the address -1; misc.
14324           clean up.
14325
14326 2006-01-03  Dan Williams  <dcbw@redhat.com>
14327
14328         * src/NetworkManager.c
14329                 - Move link-checking/probing into the device subclasses
14330                         themselves
14331
14332         * src/nm-device.[ch]
14333           src/nm-device-802-11-wireless.c
14334           src/nm-device-802-3-ethernet.c
14335                 - Do periodic link checking in device subclasses rather
14336                         than being triggered from NetworkManager.c
14337                 - discover_wireless_capabilities -> get_wireless_capabilities
14338                 - discover_generic_capabilities -> get_generic_capabilities
14339                 - Device subclass activation routines now return a value of type
14340                         NMActStageReturn to indicate what step to perform next
14341                 - Devices now override stage4_get_ip4_config if they choose
14342
14343 2006-01-01  Dan Williams  <dcbw@redhat.com>
14344
14345         * src/nm-device-802-11-wireless.c
14346                 - (real_init): don't chain up to parent init because we don't
14347                         need to do that anymore
14348
14349         * src/nm-device.c
14350                 - (discover_device_type): fix arguments to ioctl() to correctly
14351                         pass interface name
14352                 - (nm_device_new): consolidate generic device initialization into
14353                         nm_device_new()
14354                 - (real_init): remove, consolidated to nm_device_new()
14355                 - (nm_device_deactivate, real_deactivate): consolidate
14356
14357 2006-01-01  Dan Williams  <dcbw@redhat.com>
14358
14359         * src/nm-activation-request.c
14360                 - Change dhcp_state member of the NMActRequest structure
14361                         from guint8 to guint32
14362
14363         * src/dhcp-manager/nm-dhcp-manager.[ch]
14364                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14365                         than guint8 to match the dbus argument.  Turns out we were
14366                         overwriting memory since we were passing in only a guint8
14367
14368 2005-12-31  Dan Williams  <dcbw@redhat.com>
14369
14370         * refactor NMDevice into a GObject-based framework with separate
14371                 objects for wired and wireless.  The following files are no
14372                 longer used but should stick around for a bit so we don't
14373                 loose code through the cracks:
14374                         NetworkManagerDevice.c
14375                         NetworkManagerDevice.h
14376                         NetworkManagerWireless.c
14377                         NetworkManagerWireless.h
14378
14379         The intent here is to allow each device type to manage its own
14380         connection & activation life-cycle, ie to allow wireless devices
14381         to interface with wpa_supplicant, etc.  There's a fair bit of
14382         encapsulation breakage right now that should gradually get pulled
14383         back into each device, along with things like periodic property
14384         updates and link probing.
14385
14386 2005-12-29  Dan Williams  <dcbw@redhat.com>
14387
14388         * include/NetworkManager.h
14389                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14390                         between networks that don't have any encryption at all
14391
14392 2005-12-29  Dan Williams  <dcbw@redhat.com>
14393
14394         * test/test-common.c
14395           test/test-common.h
14396           test/Makefile.am
14397                 - Move to a test-common subdirectory
14398
14399         * test/libnm-util/test-ciphers.c
14400                 - Move test data to test-inputs.h
14401                 - Test WPA ciphers too
14402
14403         * test/libnm-util/test-dbus-helpers.c
14404                 - Test serialization/deserialization of ciphers
14405
14406 2005-12-29  Dan Williams  <dcbw@redhat.com>
14407
14408         * gnome/applet/applet-dbus-devices.c
14409                 - Replace 'enc' parameter with 'capabilities' for wireless networks
14410                         in dbus calls to NM
14411                 - Set capabilities on WirelessNetwork objects
14412                 - Receive and save type-specific device capabilities too
14413
14414         * gnome/applet/applet-dbus-info.c
14415           gnome/applet/applet-dbus.c
14416                 - Passphrase dialog no longer a singleton; new instance gets created
14417                         on each request.  Updates to deal with that.
14418
14419         * gnome/applet/applet.c
14420                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14421                         than single 'encrypted' flag
14422                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14423                         menu items
14424                 - Passphrase dialog updates per above
14425
14426         * gnome/applet/menu-items.c
14427                 - (network_menu_item_update): use AP capabilities to determine
14428                         encryption
14429
14430         * gnome/applet/nm-device.[ch]
14431                 - Add accessors for type-specific device capabilities
14432
14433         * gnome/applet/other-network-dialog.c
14434                 - Rework to respect device capabilities.  i.e., if the device doesn't
14435                         support WPA, remove that option from the security dropdown
14436
14437         * gnome/applet/passphrase-dialog.c
14438                 - Massive rework so that a new instance is created each time
14439                         it's used, to support wireless network capabilities
14440
14441         * gnome/applet/wireless-network.[ch]
14442                 - Add accessors and members for wireless network capabilities
14443
14444         * gnome/applet/wireless-security-manager.[ch]
14445                 - (wsm_set_capabilities): called after creation to set which
14446                         security options get shown to the user
14447
14448 2005-12-29  Dan Williams  <dcbw@redhat.com>
14449
14450         * libnm-util/cipher-wpa-psk-passphrase.c
14451                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14452                         like other ciphers
14453
14454 2005-12-23  Dan Williams  <dcbw@redhat.com>
14455
14456         * gnome/applet/applet-dbus-info.c
14457                 - (nmi_dbus_get_key_for_network): if there's no entry in
14458                         GConf for a network, assume we want a new key
14459                 - (nmi_save_network_info): serialize wireless security info
14460                         into GConf so its saved
14461
14462         * src/nm-dbus-nm.c
14463                 - Fix warning as we may not be passed security info when
14464                         connecting to a wireless network
14465
14466 2005-12-23  Dan Williams  <dcbw@redhat.com>
14467
14468         * gnome/applet/applet-compat.c
14469                 - Fix bugs in GConf entry conversion
14470
14471         * gnome/applet/applet-dbus-info.c
14472                 - (nmi_dbus_get_network_properties): handle case of the BSSID
14473                         list being zero-length
14474
14475         * libnm-util/cipher-*
14476           libnm-util/dbus-helpers.c
14477                 - All ciphers must now return hashed keys as UTF-8 valid
14478                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14479                         through dbus as strings too.
14480                 - Consolidate various functions that do bin->hex and hex->bin
14481                         conversion into cipher.c
14482
14483         * src/nm-ap-security-wep.c
14484           src/nm-ap-security-wpa-psk.c
14485                 - Handle NULL keys since we may not know keys right away
14486
14487         * src/nm-dbus-nmi.c
14488                 - (nm_dbus_get_network_data_cb): actually advance to the start
14489                         of the wireless security info before we try to deserialize it
14490
14491         * libnm-util/test-ciphers.c
14492                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14493
14494 2005-12-22  Dan Williams  <dcbw@redhat.com>
14495
14496         * gnome/applet/applet-compat.[ch]
14497                 - Convert old-format GConf and keyring entries
14498                         when the applet starts up.
14499
14500         * gnome/applet/applet.c
14501                 - (nmwa_get_instance): Call the conversion function
14502                         on startup before dbus is initialized
14503
14504 2005-12-22  Dan Williams  <dcbw@redhat.com>
14505
14506         * gnome/applet/applet-dbus-info.c
14507                 - Remove nmi_dbus_create_error_message() in favor of
14508                         nmu_create_dbus_error_message()
14509                 - (nmi_dbus_get_network_properties): Error message cleanups
14510                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14511                         gconf key rather than 'addresses', since they really are BSSIDs
14512                 - (nmi_dbus_get_network_properties): Dispose of the security
14513                         object when we're done with it
14514
14515 2005-12-21  Dan Williams  <dcbw@redhat.com>
14516
14517         * Consolidate the info-daemon's "updateNetworkInfo" and
14518                 "addNetworkAddress" calls into just "updateNetworkInfo"
14519
14520 2005-12-21  Dan Williams  <dcbw@redhat.com>
14521
14522         * Make connection after key retrieval work again
14523
14524 2005-12-21  Dan Williams  <dcbw@redhat.com>
14525
14526         * gnome/applet/nm-gconf-wso*
14527                 - Make the serialize functions return gboolean
14528                         rather than int
14529
14530         * gnome/applet/nm-gconf-wso.c
14531                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14532                         parent class handling so we don't segfault
14533
14534         * src/NetworkManagerAP.[ch]
14535                 - (nm_ap_get_capabilities): new function, return capabilities
14536                         now that something can use them
14537                 - (nm_ap_set_encrypted): assume that an access point supports
14538                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14539                         we even tell whether it just supports WEP40?
14540
14541         * src/NetworkManagerDevice.c
14542                 - (ap_need_key): resurrect and update for the New World Order
14543                 - (nm_device_wireless_get_activation_ap): if we're not given
14544                         security info to use, create some based on access point
14545                         capabilities
14546
14547         * src/nm-ap-security-wep.c
14548                 - (nm_ap_security_wep_new_from_ap): create a new object
14549                         based on a certain access point's capabilities
14550
14551         * src/nm-ap-security.c
14552                 - (nm_ap_security_new_from_ap): delegate creation of a new
14553                         object based on access point capabilities to a subclass
14554                 - (nm_ap_security_copy_properties): don't segfault if we
14555                         don't have a key yet
14556
14557         * src/nm-dbus-nm.c
14558                 - (nm_dbus_nm_set_active_device): provide more informative
14559                         output when errors occur.  Also construct security info
14560                         for a given access point if we weren't given any
14561
14562 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14563
14564         * configure.in: Added Lithuanian to ALL_LINGUAS.
14565
14566 2005-12-21  Dan Williams  <dcbw@redhat.com>
14567
14568         * test/libnm-util
14569                 - Add some testcases for WEP ciphers
14570
14571 2005-12-17  Dan Williams  <dcbw@redhat.com>
14572
14573         * Fix bugs
14574
14575 2005-12-17  Dan Williams  <dcbw@redhat.com>
14576
14577         * include/NetworkManager.h
14578                 - Finally kill NMEncKeyType
14579
14580         * gnome/applet/applet-dbus-info.c
14581                 - (nmi_save_network_info): convert to NMGConfWSO
14582
14583         * gnome/applet/nm-gconf-wso-*.c
14584                 - Implement gconf serialization functions
14585
14586         * src/NetworkManagerPolicy.c
14587                 - (nm_policy_activation_finish): fix up meaning of
14588                         automatic/user_requested
14589
14590 2005-12-17  Dan Williams  <dcbw@redhat.com>
14591
14592         * gnome/applet/*
14593                 - More applet cleanups
14594                 - Use the dbus-method-dispatcher
14595
14596         * libnm-util/dbus-method-dispatcher.[ch]
14597                 - Generalize the implementation from NM in
14598                         NetworkManagerUtils.c
14599
14600 2005-12-16  Dan Williams  <dcbw@redhat.com>
14601
14602         * gnome/applet/*
14603                 - Fix up the passphrase dialog to use all the
14604                         WirelessSecurityOption stuff (untested)
14605
14606 2005-12-16  Dan Williams  <dcbw@redhat.com>
14607
14608         * Move nm_gconf_get_*_helper() functions to separate files,
14609                 gconf-helpers.c & gconf-helpers.h
14610
14611         * New NMGConfWSO objects for managing the gconf side of things.
14612                 Eventually these should be merged with the
14613                 WirelessSecurityOption objects and a common base (that can
14614                 serialize/deserialize from dbus & gconf) should be
14615                 refactored out, but for now they are separate.
14616
14617 2005-12-16  Robert Love  <rml@novell.com>
14618
14619         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14620           binaries unless they exist (nm_spawn_process() emits a warning if
14621           asked to spawn a non-existant process).
14622
14623 2005-12-16  Dan Williams  <dcbw@redhat.com>
14624
14625         * gnome/applet/applet-dbus-info.c
14626                 - Clean up lots of gconf-related code
14627
14628 2005-12-16  Robert Love  <rml@novell.com>
14629
14630         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14631
14632 2005-12-16  Dan Williams  <dcbw@redhat.com>
14633
14634         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14635
14636         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14637                 bits still to be done)
14638
14639 2005-12-16  Dan Williams  <dcbw@redhat.com>
14640
14641         * Finally move info-daemon related stuff out of
14642                 NetworkManagerDbus.c to nm-dbus-nmi.c
14643
14644 2005-12-16  Dan Williams  <dcbw@redhat.com>
14645
14646         * Kill auth_method for access points, since that's now done
14647                 by NMAPSecurity objects
14648
14649         * Add a copy-constructor of sorts to NMAPSecurity
14650                 (how do you do this properly in glib???)
14651
14652 2005-12-15  Dan Williams  <dcbw@redhat.com>
14653
14654         * Exorcise encryption key hashing on APs
14655         * Use libnm-util's serialization/deserialization in both the
14656                 applet and NM
14657         * Random other stuff
14658
14659 2005-12-15  Robert Love  <rml@novell.com>
14660
14661         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14662           is being added to the icon naming spec, so let's use that (Tango CVS
14663           has the icon).  Because it is new, however, we fall back to the
14664           current "gnome-lockscreen" if the new icon is not around, thus
14665           behavior is the same.
14666         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14667           factory junk.
14668
14669 2005-12-15  Robert Love  <rml@novell.com>
14670
14671         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14672           well, help to give.  Couple other misc. bits.
14673
14674 2005-12-15  Dan Williams  <dcbw@redhat.com>
14675
14676         * libnm-util/dbus-helpers.[ch]
14677                 - Make this the one-stop-shop for serializing/deserializing
14678                         AP & connection security settings over dbus.  Both NM
14679                         and applets should use this to ensure consistent dbus
14680                         API going forwared.
14681
14682 2005-12-15  Robert Love  <rml@novell.com>
14683
14684         Patch by Timo Hoenig  <thoenig@suse.de>:
14685         * src/NetworkManagerDbus.c
14686                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14687                         if HAL jumps off the system bus.  Otherwise libdbus
14688                         (dbus_connection_dispatch) will try to run the filter
14689                         function of our libhal context which is already freed.
14690
14691 2005-12-15  Alexander Shopov  <ash@contact.bg>
14692
14693         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14694
14695 2005-12-14  Dan Williams  <dcbw@redhat.com>
14696
14697         * include/NetworkManager.h
14698           src/NetworkManagerWireless.c
14699                 - Rearrange 802.11 wireless-specific capabilities again
14700
14701         * src/Makefile.am
14702                 - Forgot to add wpa.c/wpa.h to the makefiles
14703
14704         * src/NetworkManagerAP.[ch]
14705                 - Implement access point capabilities and parse the
14706                         WPA/RSN IEs into the capability bitfield
14707                 - Switch the "encrypted" attribute to utilize the bitfield
14708                         and capabilities rather than being independent
14709
14710         * src/NetworkManagerDevice.c
14711                 - (nm_device_wireless_get_activation_ap): break it horribly
14712                         until we can push NMAPSecurity objects into access point
14713                         objects and through the activation chain
14714                 - Stuff WPA & RSN IEs into AP capabilities
14715
14716         * src/nm-dbus-nm.c
14717                 - Take a shot at actually making setActiveDevice work
14718
14719         * src/wpa.[ch]
14720                 - Make the API a bit saner
14721
14722 2005-12-14  Dan Williams  <dcbw@redhat.com>
14723
14724         * include/NetworkManager.h
14725                 - Add 802.11-specific capability for 802.1x key
14726                         management
14727
14728         * src/wpa.[ch]
14729                 - Pull in WPA IE and RSN IE parsing code from
14730                         wpa_supplicant so we can determine access point
14731                         capabilities
14732                 - Move WPA-related constants here from NetworkManagerAP.h
14733                         and NetworkManagerDevice.c
14734
14735         * src/NetworkManagerDevice.c
14736           src/NetworkManagerAP.[ch]
14737                 - Use WPA-related constants from wpa.h
14738
14739 2005-12-14  Dan Williams  <dcbw@redhat.com>
14740
14741         * include/NetworkManager.h
14742                 - Update and split 802.11 wireless-specific capabilities from
14743                         generic device capabilities
14744
14745         * src/NetworkManagerDevice.c
14746           src/NetworkManagerDevicePrivate.h
14747                 - (nm_device_wireless_discover_capabilities): Move 802.11
14748                         wireless-specific capability checks to
14749                         NetworkManagerWireless.c
14750                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14751                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14752
14753         * src/NetworkManagerWireless.[ch]
14754                 - (nm_802_11_wireless_discover_capabilities): Check extended
14755                         802.11 wireless-specific capabilities of the driver
14756
14757 2005-12-14  Robert Love  <rml@novell.com>
14758
14759         Patch from Stefan Scheler <sscheler@suse.de>:
14760         * src/NetworkManagerDevice.c: call backend code to activate and
14761           deactivate NIS.
14762         * src/NetworkManagerSystem.h: add new NIS interfaces.
14763         * src/backends/NetworkManagerDebian.c,
14764           src/backends/NetworkManagerGentoo.c,
14765           src/backends/NetworkManagerRedHat.c,
14766           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14767           support.
14768         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14769
14770 2005-12-14  Dan Williams  <dcbw@redhat.com>
14771
14772         * src/nm-ap-security*.[ch]
14773                 - Add AP security abstractions to NetworkManager
14774
14775         * src/nm-dbus-device.c
14776                 - Begin to parse new format dbus messages from the applet
14777                         and construct an AP security object from the message
14778
14779         * libnm-util/dbus-helpers.c
14780                 - Use message iters so we can append the key as a fixed
14781                         array of bytes, which actually works rather than
14782                         using dbus_message_append_args() as we were before
14783
14784 2005-12-14  Dan Williams  <dcbw@redhat.com>
14785
14786         * src/NetworkManagerDbus.c
14787           gnome/applet/applet-dbus.c
14788                 - Fix up dbus service replacement options.  The applet
14789                         should allow replacement, NM itself should not.
14790
14791 2005-12-13  Robert Love  <rml@novell.com>
14792
14793         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14794           Instead, fail silently if config is NULL by not asserting and not
14795           returning FALSE.  Also, make sure we always fclose() the file.
14796
14797 2005-12-13  Robert Love  <rml@novell.com>
14798
14799         Patch by Stefan Scheler <sscheler@suse.de>:
14800         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14801            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14802            via DHCP.  Still need the backends to commit the NIS domain name and
14803            and servers to yp.conf as needed.
14804
14805 2005-12-13  Robert Love  <rml@novell.com>
14806
14807         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14808           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14809
14810 2005-12-13  Robert Love  <rml@novell.com>
14811
14812         * src/named-manager/nm-named-manager.c: Don't unref the config until
14813           after we call rewrite_resolv_conf(), because get_last_default_domain()
14814           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14815           `config != NULL' failed" assertion failures and "Could not commit DNS
14816           changes" warnings.
14817
14818 2005-12-12  Dan Williams  <dcbw@redhat.com>
14819
14820         * libnm-util/dbus-helpers.[ch]
14821           libnm-util/Makefile.am
14822                 - new helper calls to consolidate locations where
14823                         NM's setDevice method is called
14824
14825         * gnome/applet/applet-dbus-devices.c
14826           gnome/applet/wireless-security-option.c
14827           gnome/applet/wso-*
14828                 - Implement dbus message param append function for
14829                         all wireless security options
14830
14831 2005-12-12  Robert Love  <rml@novell.com>
14832
14833         * libnm-util/cipher-wep-passphrase.c,
14834           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14835           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14836           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14837           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14838           When handling keys, we don't care what the sign is.  The compiler
14839           guarantees us that we get our 8-bits, which is all we care about.
14840         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14841
14842 2005-12-12  Dan Williams  <dcbw@redhat.com>
14843
14844         * gnome/applet/applet-dbus-devices.[ch]
14845           gnome/applet/applet.c
14846           gnome/applet/other-network-dialog.c
14847           gnome/applet/wireless-security-manager.[ch]
14848           gnome/applet/wireless-security-option.[ch]
14849           gnome/applet/wso-*
14850                 - Push the wireless security options further into the applet
14851
14852 2005-12-12  Robert Love  <rml@novell.com>
14853
14854         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14855           return any name servers.  That is perfectly valid.  (Novell #134369).
14856
14857 2005-12-11  Dan Williams  <dcbw@redhat.com>
14858
14859         * gnome/applet/wso-*
14860           gnome/applet/wireless-security-option.*
14861           gnome/applet/Makefile.am
14862                 - split each security option out so we can eventually
14863                         have each one build up their own dbus message
14864                         arguments to send to NM
14865
14866 2005-12-11  Dan Williams  <dcbw@redhat.com>
14867
14868         * Make validation of the key work correctly
14869
14870 2005-12-11  Dan Williams  <dcbw@redhat.com>
14871
14872         * Hook more bits of the Other Network Dialog up to the
14873                 wireless security manager stuff, and restructure
14874                 bits of the dialog so there's less code.
14875
14876 2005-12-10  Dan Williams  <dcbw@redhat.com>
14877
14878         * gnome/applet/Makefile.am
14879                 - Add libnm-util to includes
14880                 - Add libnm-util to link list
14881                 - Add wireless-security-common.* to compile list
14882
14883         * gnome/applet/other-network-dialog.c
14884                 - Convert to using the WirelessSecurityManager code and
14885                         widgets
14886
14887         * gnome/applet/passphrase-dialog.c
14888                 - Comment out references to stuff in the glade file that
14889                         cause runtime errors until it can be fixed up
14890                         to use the WirelessSecurityManager code
14891
14892         * gnome/applet/wireless-applet.glade
14893                 - Rename some widgets
14894                 - Add widgets for the WirelessSecurityManager code
14895                 - Remove passphrase-related stuff since that's now
14896                         handled by the WirelessSecurityManager code
14897
14898 2005-12-10  Dan Williams  <dcbw@redhat.com>
14899
14900         * gnome/applet/applet-dbus-devices.c
14901                 - Print out error message details for dbus pending call callbacks
14902                 - Move nmwa_dbus_update_devices() up
14903
14904         * gnome/applet/applet-dbus-vpn.c
14905                 - Print out error message details for dbus pending call callbacks
14906
14907 2005-12-10  Dan Williams  <dcbw@redhat.com>
14908
14909         * libnm-util/*
14910                 - More fixups
14911                 - Remove cipher-manager.* because we don't need it
14912                 - Forgot to add gnome-keyring-md5 files to compile list
14913
14914 2005-12-09  Dan Williams  <dcbw@redhat.com>
14915
14916         * libnm-util/*
14917           configure.in
14918           Makefile.am
14919                 - Add a utility library for clients of NetworkManager.  It's
14920                         only targetted at applets for the moment, and contains
14921                         a generalized 802.11 cipher framework for different
14922                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
14923
14924 2005-12-09  Robert Love  <rml@novell.com>
14925
14926         * src/NetworkManagerDevice.c: handle error better in
14927           nm_device_set_mode().
14928
14929 2005-12-08  Robert Love  <rml@novell.com>
14930
14931         * include/NetworkManager.h: add WPA capabilities constants
14932         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14933           or WPA2 and add the capabilities bits as appropriate.
14934
14935 2005-12-08  Robert Love  <rml@novell.com>
14936
14937         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14938           NetworkManagerDispatcher.
14939         * configure.in, initscript/SUSE/.cvsignore,
14940           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14941           initscript.
14942
14943 2005-12-08  Robert Love  <rml@novell.com>
14944
14945         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14946
14947 2005-12-08  Robert Love  <rml@novell.com>
14948
14949         * src/NetworkManagerDevice.c: We want to fall back on and default to
14950           IW_MODE_AUTO, not -1, which is more in line with our previous
14951           behavior.  Otherwise, we try to set the wireless mode to -1 in
14952           nm_device_set_mode().
14953
14954 2005-12-07  Robert Love  <rml@novell.com>
14955
14956         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14957           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14958           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14959           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14960           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14961           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
14962           zero.
14963
14964 2005-12-07  Robert Love  <rml@novell.com>
14965
14966         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14967           supplied IP is invalid, fall back to DHCP.
14968
14969 2005-12-07  Dan Williams  <dcbw@redhat.com>
14970
14971         * Convert NETWORK_MODE_* constants to IW_MODE_*
14972         * Make all the get_mode/set_mode functions take and return 'int'
14973         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14974
14975 2005-12-07  Robert Love  <rml@novell.com>
14976
14977         * src/NetworkManagerDevice.c: strncpy() buffer check.
14978         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14979
14980 2005-12-06  Dan Williams  <dcbw@redhat.com>
14981
14982         * gnome/applet/applet-dbus.c
14983                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14984
14985         * gnome/applet/applet-dbus-vpn.c
14986                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14987                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14988                         to TRUE here if stage was ACTIVATED
14989
14990 2005-12-06  Dan Williams  <dcbw@redhat.com>
14991
14992         * Change nm_device_is_* functions to better names:
14993                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14994                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14995
14996 2005-12-06  Dan Williams  <dcbw@redhat.com>
14997
14998         * Change naming of NMDeviceType to something more sensible:
14999                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
15000                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
15001                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
15002
15003 2005-12-06  Dan Williams  <dcbw@redhat.com>
15004
15005         * Move NetworkManager.h -> include/NetworkManager.h
15006         * Split out VPN stuff into include/NetworkManagerVPN.h
15007         * Fix up makefiles to include new location
15008         * Fix up sources to include NetworkManagerVPN.h
15009
15010 2005-12-06  Dan Williams  <dcbw@redhat.com>
15011
15012         Various changes in the applet to move VPN connection "state" -> "stage",
15013         which it actually is.  I'd like to change the signal as well when we
15014         break compat in the near future.
15015
15016 2005-12-06  Dan Williams  <dcbw@redhat.com>
15017
15018         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
15019         * initscript/Slackware/rc.networkmanager
15020                 - Cosmetic fix
15021
15022         * src/backends/NetworkManagerSlackware.c
15023                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
15024                         interfaces
15025
15026 2005-12-05  Robert Love  <rml@novell.com>
15027
15028         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
15029           to free, particularly here as it just barfs.
15030
15031 2005-12-05  Dan Williams  <dcbw@redhat.com>
15032
15033         * gnome/applet/applet-dbus.c
15034                 - Work with dbus 0.6 too
15035
15036 2005-12-03  Dan Williams  <dcbw@redhat.com>
15037
15038         * src/NetworkManagerUtils.[ch]
15039           src/nm-ip4-config.c
15040                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
15041                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
15042
15043 2005-12-01  Robert Love  <rml@novell.com>
15044
15045         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
15046           need a NULL for the '...' parameter, too, to fill the so-called
15047           sentinel.
15048
15049 2005-12-01  Robert Love  <rml@novell.com>
15050
15051         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
15052           interface is already gone, so don't call rtnl_link_change() to down
15053           it (which will segfault, anyhow).
15054
15055 2005-11-22  Robert Love  <rml@novell.com>
15056
15057         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
15058           gateway is not set, just print a little note.  Configurations without
15059           gateways are valid.
15060
15061 2005-11-22  Robert Love  <rml@novell.com>
15062
15063         * README: update
15064
15065 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
15066
15067         * configure.in: Added Finnish translation to ALL_LINGUAS
15068
15069 2005-11-14  Robert Love  <rml@novell.com>
15070
15071         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15072           Niemueller <tim@niemueller.de>.
15073
15074 2005-11-08  Dan Williams  <dcbw@redhat.com>
15075
15076         Patch from Bill Moss <bmoss@clemson.edu>
15077         * src/NetworkManagerDevice.c
15078                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15079                         of nm_policy_schedule_activation_finish() to prevent a
15080                         race condition that causes the link to be dropped
15081
15082 2005-11-08  Dan Williams  <dcbw@redhat.com>
15083
15084         Patch from Bill Moss <bmoss@clemson.edu>
15085         * src/NetworkManagerAPList.c
15086           src/NetworkManagerDevice.c
15087           src/NetworkManagerDbus.c
15088                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15089                         we get more readable ether/mac addresses
15090
15091 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15092
15093         * gnome/applet/main.c: Don't set the restart command.  This fixes
15094         the issue where the restart command was getting copies of all its
15095         arguments for each time the applet was restarted.
15096
15097 2005-11-02  Robert Love  <rml@novell.com>
15098
15099         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15100           if the widget state differs from our saved state.  This ensures we
15101           do not enter an endless loop of death and destruction.  Also, this
15102           guarantees us that we enforce the widget state.
15103
15104 2005-11-02  Robert Love  <rml@novell.com>
15105
15106         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15107         * gnome/applet/applet-dbus-devices.c: invoke the new function
15108           nmwa_enable_wireless_set_active() to ensure that the state of the
15109           'Enable Wireless' checkbox matches the daemon's state.  This is a
15110           concern because the daemon remembers the state.
15111
15112 2005-11-02  Robert Love  <rml@novell.com>
15113
15114         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15115           Enabled", as checkboxes should be actions/commands not positive
15116           statements, otherwise they are confusing in the unselected case.  See
15117           examples in GNOME HIG, Chapter 6.
15118
15119 2005-11-02  Robert Love  <rml@novell.com>
15120
15121         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
15122           show a list of wireless networks or the wireless devices or the
15123           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
15124           a bad bug: If wireless is disabled and the user picks a wireless
15125           network, NM will switch to the network, only to immediately switch
15126           back, as wireless is disabled.  This also reassures people that NM
15127           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
15128
15129 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15130
15131         * gnome/applet/applet.c:
15132         * gnome/applet/applet.h:
15133         Partial backout of Dan's timeout animation patch.
15134         Timeout IDs cannot legally be 0, so revert the code in place to handle
15135         a timeout ID of 0 to denote the timeout isn't running.
15136
15137 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15138
15139         * src/NetworkManagerPolicy.c:
15140         (nm_policy_device_change_check) Clarify wireless switch nm_info text
15141
15142 2005-10-28  Robert Love  <rml@novell.com>
15143
15144         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15145           "Import Saved Configuration..." to make it clear that importing is
15146           not the next step, but an option.  As an aside, a nice TODO would be
15147           to move Importing out of the vpn-specific dialog and into the main
15148           property editor, as Importing goes with Adding, but that will require
15149           some rearchitecting of the VPN stuff I suspect.
15150
15151 2005-10-27  Dan Williams  <dcbw@redhat.com>
15152
15153         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
15154         we should replace most of the distro-specific backend code
15155         with libnl stuff.
15156
15157         Get it here:  http://people.suug.ch/~tgr/libnl/
15158
15159         * configure.in
15160           src/Makefile.am
15161                 - Add checks for libnl pkgconfig file
15162                 - Use LIBNL_LIBS & LIBNL_CFLAGS
15163
15164         * src/NetworkManagerSystem.c
15165           src/nm-ip4-config.[ch]
15166                 - Use libnl rather than ioctl() for most things
15167                 - Remove unused functions
15168
15169 2005-10-27  Robert Love  <rml@novell.com>
15170
15171         * src/backends/NetworkManagerSuSE.c: fix warning message text
15172
15173 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15174
15175         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15176
15177 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15178
15179         * gnome/applet/applet.c: The applet's about dialog can advertise our 
15180         project page <http://www.gnome.org/projects/NetworkManager/>
15181
15182 2005-10-26  Christopher Aillon  <caillon@redhat.com>
15183
15184         * gnome/applet.c: Also use translator credits if we don't have
15185         the new GtkAboutDialog (older versions of GTK+)
15186
15187 2005-10-26  Robert Love  <rml@novell.com>
15188
15189         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15190           failure; correct usage text for "--no-daemon"
15191
15192 2005-10-25  Dan Williams  <dcbw@redhat.com>
15193
15194         * src/NetworkManagerDevice.c
15195                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15196                         no scan results
15197                 - (free_process_scan_cb_data): unref the device when freeing results
15198                 - (nm_device_wireless_process_scan_results): free scan results a bit later
15199                         so we don't unref the device underneath ourselves
15200
15201 2005-10-25  Dan Williams  <dcbw@redhat.com>
15202
15203         * Back out 2005-10-24 commit from Tor Krill.  Patch
15204                 causes nameservers never to be removed from named.
15205
15206 2005-10-24  Dan Williams  <dcbw@redhat.com>
15207
15208         Clean up wireless scanning and wireless link probing.
15209
15210         * src/NetworkManagerDevice.c
15211                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15212                         just see if there's an activation request on the device, and check the
15213                         current link against the activation request access point's ESSID.
15214                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15215                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15216                         don't call process_scan_results() on zero-length data
15217                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
15218                         15 seconds (from 10)
15219
15220 2005-10-24  Dan Williams  <dcbw@redhat.com>
15221
15222         Cleanup some applet stuff:
15223
15224         - Animation timeouts.  If NM died while the applet was animating,
15225                 the applet would not hide itself.  This is now fixed.
15226
15227         - Remove some dead code
15228
15229         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15230                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15231
15232         - Track animation timeout using a gboolean rather than the timeout's
15233                 ID, since timeout IDs can legally be 0.
15234
15235 2005-10-24  Dan Williams  <dcbw@redhat.com>
15236
15237         * src/backends/interface_parser.c
15238                 - Add void to function declarations that need it
15239                         to match patch from Engin AYDOGAN
15240
15241         * src/backends/interface_parser.h
15242                 - Remove unused prototype for ifparser_interfaces()
15243
15244         Patch from Engin AYDOGAN <engin@bzzzt.biz>
15245         * src/backends/interface_parser.h:
15246                 - Compile fixes for gcc 4.0.2 (add void)
15247
15248 2005-10-24  Dan Williams  <dcbw@redhat.com>
15249
15250         Patch from Tor Krill <tor@krill.nu>
15251         * src/named-manager/nm-named-manager.c
15252                 - Write more than just the first nameserver to /etc/resolv.conf
15253                 - Write out valid /etc/resolv.conf on exit
15254
15255 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15256
15257         * gnome/applet/applet-dbus-vpn.c:
15258         Get rid of spurious newlines in debug console output
15259
15260 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15261
15262         * src/backends/NetworkManagerGentoo.c:
15263         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
15264
15265 2005-10-20  Robert Love  <rml@novell.com>
15266
15267         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15268           direct comparison of floating point values, which is never correct.
15269           Also some misc. cleanup.
15270
15271 2005-10-19  Robert Love  <rml@novell.com>
15272
15273         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15274
15275 2005-10-19  Robert Love  <rml@novell.com>
15276
15277         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15278           sensitivity of the buttons.  Specificaly, do the right thing if
15279           there are no entries.
15280
15281 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15282
15283         * configure.in: Update check for adequate wireless-tools
15284         with an AC_TRY_COMPILE for the new symbols we use.
15285
15286 2005-10-19  Dan Williams  <dcbw@redhat.com>
15287
15288         * src/NetworkManagerDevice.c
15289                 - (process_scan_results): don't drop the last (or only)
15290                         access point we see
15291
15292 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15293
15294         * src/backends/NetworkManagerSlackware.c:
15295         Patch from Nico <lordllucifer@gmail.com>
15296                 - Update the Slackware backend.
15297
15298 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15299
15300         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15301         if we've got GLib 2.8.0
15302
15303 2005-10-18  Robert Love  <rml@novell.com>
15304
15305         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15306           function nm_schedule_state_change_signal_broadcast() when we
15307           deactivate a device, too.
15308
15309 2005-10-18  Robert Love  <rml@novell.com>
15310
15311         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15312           be used uninitialized.
15313
15314 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15315
15316         * test/libnm_glib_test.c: Test unregistering, too.
15317
15318 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15319
15320         * configure.in: Bump to 0.5.0
15321
15322 2005-10-17  Dan Williams  <dcbw@redhat.com>
15323
15324         * NetworkManager.h
15325                 - Remove WPA-related constants so they aren't part of the
15326                         upcoming release.
15327
15328 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15329
15330         * gnome/applet/applet.c:
15331         * gnome/applet/applet.h:
15332         Desensitize the 'Connection Information' menu item when there is
15333         no active connection.
15334
15335 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15336
15337         * gnome/libnm_glib/libnm_glib.c:
15338         Make libnm_glib_unregister_callback () actually unregister the callback
15339
15340 2005-10-17  Robert Love  <rml@novell.com>
15341
15342         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15343           two seconds -- tries is updated every 1/10 of a second, not every
15344           second..
15345
15346 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15347
15348         * gnome/applet/applet-dbus-info.c:
15349         Let D-BUS know that we haven't handled a message when we haven't.
15350
15351 2005-10-17  Robert Love  <rml@novell.com>
15352
15353         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15354           in order to remain 64-bit clean.
15355
15356 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15357
15358         * gnome/applet/applet-dbus-info.c:
15359         Find network encryption keys asynchronously
15360
15361 2005-10-17  Robert Love  <rml@novell.com>
15362
15363         * src/backends/NetworkManagerDebian.c,
15364           src/backends/NetworkManagerRedHat,
15365           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15366           comment delimiter.
15367
15368 2005-10-17  Robert Love  <rml@novell.com>
15369
15370         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15371           "/etc"
15372
15373 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15374
15375         * src/NetworkManagerDevice.c: (process_scan_results)
15376         Fix logic that checks to see whether we have an ESSID.
15377
15378 2005-10-15  Dan Williams  <dcbw@redhat.com>
15379
15380         Move scanning code into NetworkManager rather than use iwlib's
15381         iw_scan() function, so that we can figure out AP capabilities.
15382
15383         * NetworkManager.h
15384                 - Add AP capability bits
15385
15386         * src/NetworkManagerAP.[ch]
15387                 - Add capability field to NMAccessPoint structure
15388                 - Add WPA & RSN Information Element fields and accessor
15389                         functions to NMAccessPoint
15390
15391         * src/NetworkManagerDevice.c
15392                 - Remove usage of iw_scan
15393                 - Add scanning code to NetworkManager rather than use
15394                         iw_scan() from iwlib
15395
15396         * src/NetworkManagerUtils.[ch]
15397                 - (nm_dispose_scan_results): remove, unused
15398
15399 2005-10-14  Christopher Aillon  <caillon@redhat.com>
15400
15401         * gnome/libnm_glib/libnm_glib.c:
15402         * gnome/libnm_glib/libnm_glib.h:
15403         Use guint instead of gint for callback IDs.
15404
15405 2005-10-12  Christopher Aillon  <caillon@redhat.com>
15406
15407         * gnome/applet/applet.c:
15408         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
15409         every 1000ms.  It will unconditionally call nmwa_update_state which
15410         kills the existing animation timeout and registers a new one with a
15411         callback to draw a new frame every 100ms.  There are 11 connecting
15412         icon frames, so the last 2 frames kept getting dropped.  Only reset
15413         the animation timeout if we aren't animating.
15414
15415 2005-10-11  Dan Williams  <dcbw@redhat.com>
15416
15417         * gnome/applet/applet-dbus-devices.c
15418                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15419                         We want to grab the product & vendor from net.physical_dev
15420                         rather than info.parent.
15421
15422 2005-10-11  Dan Williams  <dcbw@redhat.com>
15423
15424         * src/NetworkManagerDevice.c
15425                 - Use the driver's WE version for scanning rather than
15426                         the WE version NM was compiled with.  Fixes random
15427                         crashes in iw_scan () in iwlib.
15428
15429 2005-10-10  Dan Williams  <dcbw@redhat.com>
15430
15431         * Remove nm_system_load_device_modules() from backend files
15432                 and from NetworkManager.c
15433
15434 2005-10-10  Dan Williams  <dcbw@redhat.com>
15435
15436         * src/NetworkManagerPolicy.c
15437                 - Fix some bugs introduced by the capabilities patch
15438
15439 2005-10-10  Dan Williams  <dcbw@redhat.com>
15440
15441         * gnome/applet/applet-dbus-info.c
15442                 - (nmi_dbus_get_network_key): hide the menu when putting up
15443                         the keyring dialog.  (not sure if the code is right...)
15444
15445 2005-10-09  Dan Williams  <dcbw@redhat.com>
15446
15447         Patch from Bill Moss <bmoss@clemson.edu>
15448         * src/NetworkManagerDevice.c
15449                 - (nm_device_set_user_key_for_network): don't try to set auth
15450                         mode on the AP from the allowed list if it's NULL
15451
15452 2005-10-09  Dan Williams  <dcbw@redhat.com>
15453
15454         * Replace the "driver support level" stuff with capabilities.  The
15455                 capability field is a bitfield that is more flexible than the
15456                 old driver support level thing.  It's mostly so we can easily
15457                 figure out what supports WPA and what doesn't, but should be
15458                 quite useful later.
15459
15460 2005-10-09  Dan Williams  <dcbw@redhat.com>
15461
15462         * test/nmtest.c
15463                 - Removed
15464
15465         * test/nm-tool.c
15466           test/Makefile.am
15467                 - Added new "nm-tool" tool that gives quite a bit more
15468                         information
15469
15470 2005-10-07  Robert Love  <rml@novell.com>
15471
15472         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15473           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15474           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15475           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15476           appropriate
15477
15478 2005-10-07  Robert Love  <rml@novell.com>
15479
15480         * configure.in: Change our compile flags for the betterment of mankind.
15481           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15482           prototype is very bad on 64-bit platforms as types default to int but
15483           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15484           "-Wmissing-declarations" to warn if we define an exported function
15485           but fail to put it in a header.
15486
15487 2005-10-07  Robert Love  <rml@novell.com>
15488
15489         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15490           by the name nm_update_device_wireless_timeouts() and once tried,
15491           without success, to steal my pet turtle.
15492
15493 2005-10-07  Robert Love  <rml@novell.com>
15494
15495         * Cleanup prototypes: put some functions in header files and mark
15496           others as 'static' -- feel free to invert
15497         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15498           nm_vpn_manager_vpn_connection_list_copy()
15499         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15500           nm_vpn_service_get_dbus_connection()
15501         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15502           nm_vpn_manager_vpn_connection_list_copy()
15503         * src/vpn-manager/nm-vpn-service.c: make
15504           nm_vpn_service_act_request_failed() and
15505           nm_vpn_service_stage2_daemon_wait() static
15506         * src/vpn-manager/nm-vpn-service.h: add prototype for
15507           nm_vpn_service_get_dbus_connection()
15508
15509 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15510
15511         * gnome/applet/applet.c:
15512         * gnome/applet/applet.h:
15513         * gnome/applet/icons/Makefile.am:
15514         Convey information about the current connection stage in the
15515         icons themselves instead of creating a separate progress bar.
15516
15517 2005-10-04  Robert Love  <rml@novell.com>
15518
15519         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15520           convert an ether_addr structure's MAC into a string, because the
15521           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15522           versus 07:3B:04, while the former will not.
15523
15524 2005-10-04  Robert Love  <rml@novell.com>
15525
15526         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15527           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15528           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15529           default route in the 'Connection Information' dialog, send primary
15530           and secondary name servers in in "getProperties" DBUS method, add
15531           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15532           secondary domain name servers are crucial pieces of information
15533           that a user might need in debugging a network problem.
15534
15535 2005-10-04  Robert Love  <rml@novell.com>
15536
15537         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15538           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15539           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15540           default route in the 'Connection Information' dialog, send default
15541           route in "getProperties" DBUS method, add network_device_set_route(),
15542           and network_device_get_route().  The Gateway is a crucial piece of
15543           connection-related information that a user might need in debugging a
15544           network problem.
15545
15546 2005-10-03  Robert Love  <rml@novell.com>
15547
15548         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15549           NULL.
15550
15551 2005-10-02  Dan Williams  <dcbw@redhat.com>
15552
15553         * Shorten time taken to sleep by fastpathing bits of device deactivation
15554                 necessary for sleep.
15555
15556         * Fix issue where deactivating a device might deactivate the active
15557                 VPN connection, even if the VPN was not using the device.
15558
15559 2005-10-02  Dan Williams  <dcbw@redhat.com>
15560
15561         * gnome/applet/applet.c
15562                 - Adjust signal strength -> icon mapping values slightly
15563                         (so that 51% signal doesn't show a 75% icon) by adding
15564                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15565                         shows 50% icon, etc.
15566
15567 2005-09-29  Robert Love  <rml@novell.com>
15568
15569         * src/NetworkManager.c: removed unused variable.
15570
15571 2005-09-28  Dan Williams  <dcbw@redhat.com>
15572
15573         Support for named + DBus, using Red Hat DBus patches for named.  You
15574         can find those patches here, with "dbus" in the patch's filename:
15575
15576                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15577
15578         Don't forget the named dbus service file either.
15579
15580         Instead of writing a config file and spawing a named process, NM will
15581         use an already-running dbus-enabled named if it finds one.  NM will
15582         update named's forwarder configuration on the fly using dbus.
15583
15584         If there is no dbus-enabled named running, NM will automatically fall
15585         back to writing the most-recent DNS server information to /etc/resolv.conf
15586         and calling nm_system_update_dns() to kick the system's resolver.
15587
15588         Accordingly, all named-related configure-time options have been removed.
15589
15590 2005-09-26  Robert Love  <rml@novell.com>
15591
15592         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15593           ISDN support!
15594         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15595           bug in error path if "ASKPASSWORD" is "no".
15596
15597 2005-09-26  Robert Love  <rml@novell.com>
15598
15599         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15600           comment in /etc/resolv.conf -- ';' is not.
15601
15602 2005-09-19  Dan Williams  <dcbw@redhat.com>
15603
15604         * src/backends/NetworkManagerRedHat.c:
15605         * src/backends/NetworkManagerDebian.c:
15606         * src/backends/NetworkManagerSlackware.c:
15607         * src/backends/NetworkManagerGentoo.c:
15608         * src/backends/NetworkManagerSUSE.c:
15609         Fix invocations of "/sbin/ip address" to use short form instead
15610
15611 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15612
15613         * src/nm-dbus-device.c: Don't assert when getting
15614         addresses of a not yet connected interface.
15615
15616         * gnome/applet/applet.c: Free icons if loading fails.
15617         Use translator-credits so translators can make themselves known.
15618
15619 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15620
15621         * src/NetworkManagerAP.c:
15622         * src/NetworkManagerAP.h:
15623         * src/NetworkManagerDevice.c:
15624         Set a blacklist for certain common manufacturer default ESSIDs:
15625         APs with these ESSIDs are extremely likely to be completely
15626         different networks: connecting to one should not make NM
15627         auto-connect to every other AP with the same default ESSID.
15628
15629 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15630
15631         * gnome/applet/wireless-applet.glade:
15632         The passphrase entry should also activate the default
15633
15634         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15635
15636         * gnome/applet/applet-dbus-devices.c:
15637         * gnome/applet/applet.c:
15638         * gnome/applet/nm-device.c:
15639         * gnome/applet/nm-device.h:
15640         * src/NetworkManagerUtils.c:
15641         * src/NetworkManagerUtils.h:
15642         * src/nm-dbus-device.c:
15643         I've got a fever, and the only cure for it is less ioctl.
15644         Make NM push IP data rather than make the applet open a socket
15645         to the device.
15646
15647 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15648
15649         * gnome/applet/applet.c:
15650         * gnome/applet/applet-dbus-devices.c:
15651         * gnome/applet/applet-dbus-info.c:
15652         * gnome/applet/passphrase-dialog.c:
15653         * gnome/libnm_glib/libnm_glib.c:
15654         * gnome/vpn-properties/nm-vpn-properties.c:
15655         * src/autoip.c:
15656         * src/backends/NetworkManagerRedHat.c:
15657         * src/named-manager/nm-named-manager.c:
15658         * src/NetworkManagerAPList.c:
15659         * src/NetworkManager.c:
15660         * src/NetworkManagerDbus.c:
15661         * src/NetworkManagerDevice.c:
15662         * src/NetworkManagerPolicy.c:
15663         * src/NetworkManagerSystem.c:
15664         * src/nm-dbus-device.c:
15665         * src/nm-dbus-nm.c:
15666         * src/vpn-manager/nm-vpn-manager.c:
15667         * src/vpn-manager/nm-vpn-service.c:
15668         * test/libnm_glib_test.c:
15669         * test/nminfotest.c:
15670         * test/nmtestdevices.c:
15671         Fix a bunch of 'unused variable' compiler warnings
15672
15673         * NetworkManager.h:
15674         * gnome/applet/applet-dbus-info.c:
15675         * gnome/applet/applet-dbus-info.h:
15676         * gnome/applet/applet.c:
15677         * gnome/applet/applet.h:
15678         * src/NetworkManager.c:
15679         * src/NetworkManagerDbus.c:
15680         * src/NetworkManagerDbus.h:
15681         * src/NetworkManagerDevice.c:
15682         * src/NetworkManagerDevice.h:
15683         * src/NetworkManagerMain.h:
15684         * src/NetworkManagerWireless.c:
15685         * src/NetworkManagerWireless.h:
15686         * src/nm-dbus-nm.c:
15687         Make NetworkManager be smart about how frequently to scan
15688         based on its current state.  Remove the UI for choosing when
15689         to scan.  Scanning still may disabled completely by the user
15690         via the "Wireless Enabled" menu item.
15691
15692 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15693
15694         * gnome/applet/applet.c:
15695         Also overlay the vpn connecting icons onto the wired icon,
15696         when appropriate.
15697
15698         * gnome/vpn-properties/nm-vpn-properties.glade:
15699         Clean up a few strings to use better grammar and proper casing.
15700
15701 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15702
15703         * gnome/applet/vpn-connection.c:
15704         * gnome/applet/vpn-connection.h:
15705         Add nmwa_vpn_connection_is_activating ()
15706
15707         * gnome/applet/applet.c:
15708         * gnome/applet/applet.h:
15709         * gnome/applet/icons/nm-vpn-connecting*.png:
15710         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15711         the user know something's happening between clicking the VPN item and it
15712         actually being connected.
15713
15714 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15715
15716         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15717         failure case as well.
15718
15719 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15720
15721         * gnome/panel/eggtrayicon.[ch]:
15722         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15723
15724 2005-09-07  Dan Williams  <dcbw@redhat.com>
15725
15726         Patch from Bill Moss <bmoss@clemson.edu>
15727         * src/applet-dbus.c
15728                 - (nmwa_dbus_filter): strip whitespace from beginning
15729                         and end of VPN login banner
15730
15731 2005-09-07  Dan Williams  <dcbw@redhat.com>
15732
15733         * The great VPN Manager rewrite of 2005
15734
15735 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15736
15737         * gnome/applet/menu-items.c:
15738         * gnome/applet/nm-device.c:
15739         * gnome/applet/wireless-network.c:
15740         * gnome/libnm_glib/libnm_glib.c:
15741         * src/NetworkManagerDbusUtils.c:
15742         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15743         g_malloc0 doesn't return NULL
15744
15745 2005-09-06  Dan Williams  <dcbw@redhat.com>
15746
15747         Patch from Tomislav Vujec <tvujec@redhat.com>
15748         * src/NetworkManagerDevice.c
15749                 - (nm_get_device_by_udi): don't return a device when we
15750                         actually didn't find what we were looking for
15751
15752 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15753
15754         * gnome/applet/applet-dbus-devices.c:
15755         * gnome/applet/applet-dbus-devices.h:
15756         * gnome/applet/applet-dbus.c:
15757         * src/NetworkManagerDbus.c:
15758         * src/NetworkManagerDbus.h:
15759         * src/NetworkManagerDevice.c:
15760         * src/nm-dbus-device.c:
15761         Make NM push updates about active device strength when it changes,
15762         rather than having the applet poll every 2s.
15763
15764 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15765
15766         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15767         network_device_set_strength
15768
15769 2005-09-04  Dan Williams  <dcbw@redhat.com>
15770
15771         Patch from Bill Nottingham <notting@redhat.com>
15772         * src/NetworkManagerDevice.c
15773                 - (nm_device_activation_cancel): reset the quit_activation flag
15774
15775 2005-09-04  Dan Williams  <dcbw@redhat.com>
15776
15777         * src/nm-activation-request.c
15778                 - (nm_act_request_unref): actually free the structure,
15779                         which we didn't seem to be doing before
15780
15781 2005-09-04  Dan Williams  <dcbw@redhat.com>
15782
15783         Patch from John Palmieri <johnp@redhat.com>
15784         * gnome/applet/applet-dbus-devices.c
15785                 - Fix up unreffing of DBusMessage objects
15786
15787 2005-09-04  Dan Williams  <dcbw@redhat.com>
15788
15789         Patch from John Palmieri <johnp@redhat.com>
15790         * gnome/applet/nm-device.c
15791                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15792
15793 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15794
15795         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15796
15797 2005-09-02  Bill Nottingham  <notting@redhat.com>
15798
15799         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15800
15801 2005-09-01  Dan Williams  <dcbw@redhat.com>
15802
15803         * src/NetworkManager.c
15804                 - (nm_remove_device_from_list): rename to nm_remove_device
15805                 - (nm_hal_device_removed): call nm_remove_device()
15806
15807         * src/NetworkManagerDevice.c
15808                 - Change the NMWirelessScanCB member 'reschedule' which
15809                         wasn't used to 'force' to indicate that we need to
15810                         force a scan when adding a device
15811
15812         * src/nm-dbus-nm.c
15813                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15814                         from the device list
15815                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15816
15817 2005-09-01  Robert Love  <rml@novell.com>
15818
15819         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15820           and the check "!iface" in the error case is probably never true.
15821
15822 2005-09-01  Dan Williams  <dcbw@redhat.com>
15823
15824         Patch from Bill Nottingham <notting@redhat.com>
15825         * src/backends/NetworkManagerRedHat.c
15826                 - Add initial dialup support to Red Hat/Fedora backend
15827
15828 2005-09-01  Dan Williams  <dcbw@redhat.com>
15829
15830         * gnome/applet/applet-dbus-devices.c
15831                 - Sort both wireless networks and devices again, which got
15832                         broken when removing threading
15833
15834 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15835
15836         * gnome/applet/applet.c:
15837         Only show the "Stop/Start All Wireless Devices" menuitem
15838         if we actually have wireless devices.
15839
15840         * gnome/applet/applet-dbus-info.c:
15841         * gnome/applet/applet.c:
15842         * gnome/applet/other-network-dialog.c:
15843         * gnome/applet/vpn-password-dialog.c:
15844         Drop the gtk_dialog_run () calls in favor of connecting to
15845         "response" signals, needed now that the applet is not threaded.
15846
15847 2005-08-31  Dan Williams  <dcbw@redhat.com>
15848
15849         Patch from Bill Moss <bmoss@clemson.edu>
15850         * src/NetworkManagerDevice.c
15851                 - (nm_device_wireless_scan): fix scan timeout values
15852
15853 2005-08-30  Dan Williams  <dcbw@redhat.com>
15854
15855         * gnome/applet/wireless-applet.glade
15856                 - HIG-ify the Other Wireless Networks dialog a bit more
15857                 - Fix some potential segfaults in the info dialog
15858
15859 2005-08-30  Dan Williams  <dcbw@redhat.com>
15860
15861         * gnome/applet/applet-dbus-devices.c
15862                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15863
15864 2005-08-30  Dan Williams  <dcbw@redhat.com>
15865
15866         * gnome/applet/applet-dbus.[ch]
15867                 - Remove all the nmwa_dbus_call_method_xxxx functions since
15868                         they weren't being used anyway
15869
15870 2005-08-30  Bastien Nocera  <hadess@hadess.net>
15871
15872         * test/nmtestdevices.c: (print_usage), (main):
15873         Check the number of arguments, and fix a typo
15874
15875 2005-08-29  Dan Williams  <dcbw@redhat.com>
15876
15877         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15878         * gnome/applet/applet.c
15879                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15880
15881 2005-08-29  Dan Williams  <dcbw@redhat.com>
15882
15883         * gnome/applet/*
15884                 - Don't use threads any more.  Anything that blocks
15885                         (like gtk_dialog_run()) will  have to get fixed up which
15886                         should happen quickly.  We really only had threads to make
15887                         the animation smooth, and when everything got converted over
15888                         to DBus Pending Calls, the need for threads kind of went away
15889
15890 2005-08-29  Christopher Aillon  <caillon@redhat.com>
15891
15892         * gnome/applet/applet.c: Draw VPN connections as radio items
15893         since we don't yet support multiple VPNs.
15894         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15895         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15896
15897 2005-08-29  Dan Williams  <dcbw@redhat.com>
15898
15899         Patch from j@bootlab.org
15900         - Make --without-named work
15901         - Make --with-dhcdbd work correctly
15902
15903 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
15904
15905         * configure.in: Added "ca" to ALL_LINGUAS.
15906
15907 2005-08-26  Christopher Aillon  <caillon@redhat.com>
15908
15909         * Fix up VPN state handling between the applet and NetworkManager,
15910                 so that the applet doesn't show a VPN as connected when one
15911                 really is not
15912                         - The applet no longer has a pointer to the active VPN's
15913                                 name, but tracks each VPNs state individually
15914                         - NM no longer has a "getActiveVPNConnection" method
15915                         - NM no longer broadcasts the "VPNConnectionChange" signal
15916                         - NM now broadcasts a "VPNConnectionStateChange" signal
15917                                 whenever the state of a VPN changes
15918
15919 2005-08-26  Dan Williams <dcbw@redhat.com>
15920
15921         * gnome/applet/applet-dbus-devices.c
15922           gnome/applet/applet-dbus-vpn.c
15923                 - Remove calls to dbus_pending_call_ref() because we already
15924                         "own" the pending call
15925                 - Remove calls to dbus_pending_call_get_completed() because
15926                         when we are in the callback, the pending call is completed
15927                         by definition
15928
15929 2005-08-22  Dan Williams <dcbw@redhat.com>
15930
15931         Patch by Bill Moss <bmoss@clemson.edu>
15932         * src/dhcp-manager/nm-dhcp-manager.c
15933                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15934                         some time to send out a RELEASE if they like
15935
15936 2005-08-22  Dan Williams <dcbw@redhat.com>
15937
15938         Noticed by Bill Moss <bmoss@clemson.edu>
15939         * src/NetworkManagerDbus.c
15940                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15941                         instead of just cancelling its activation
15942
15943         * src/NetworkManagerDevice.c
15944                 - (nm_device_deactivate): some small cleanups
15945                 - (nm_device_set_user_key_for_network): deactivate the device
15946                         instead of just cancelling its activation
15947
15948 2005-08-22  Dan Williams <dcbw@redhat.com>
15949
15950         Noticed by Bill Moss <bmoss@clemson.edu>
15951         * src/NetworkManagerDevice.c
15952                 - (nm_device_wireless_scan): fix scan timeout, we were
15953                         waiting way too long for scans to complete
15954
15955 2005-08-22  Dan Williams <dcbw@redhat.com>
15956
15957         Patch from j@bootlab.org:
15958         * src/backends/NetworkManagerDebian.c
15959                 - Make the Debian backend work for static IP again
15960
15961 2005-08-20  Christopher Aillon  <caillon@redhat.com>
15962
15963         * gnome/applet/other-network-dialog.c:
15964         The "Create New Network" and "Connect to Other Network"
15965         dialogs share alot of code, but shouldn't share a window
15966         title.  Give them different ones.
15967
15968         * gnome/applet/wireless-applet.glade:
15969         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15970         Some more minor UI tweaks.
15971
15972 2005-08-19  Christopher Aillon  <caillon@redhat.com>
15973
15974         * gnome/applet/other-network-dialog.c:
15975         * gnome/applet/wireless-applet.glade:
15976         Also need mnemonic widgets, and underline enabled.
15977
15978 2005-08-19  Dan Williams <dcbw@redhat.com>
15979
15980         * vpn-daemons/vpnc/nm-vpnc-service.c
15981                 - (vpnc_watch_cb): remove no-longer-relevant comment
15982                 - (write_config_option): new function, helper to write
15983                         config options to vpnc's stdin
15984                 - (nm_vpnc_config_write): use the new helper, make the
15985                         code shorter
15986
15987 2005-08-19  Christopher Aillon <caillon@redhat.com>
15988
15989         * gnome/applet/passphrase-dialog.c:
15990         * gnome/applet/wireless-applet.glade:
15991         Make the passphrase dialog response based, and treat
15992         responses other than OK (such as Esc, [X]) as a cancel.
15993
15994 2005-08-18  Christopher Aillon <caillon@redhat.com>
15995
15996         * initscript/Gentoo/NetworkManager:
15997         * initscript/RedHat/NetworkManager:
15998         * initscript/RedHat/NetworkManagerDispatcher:
15999         * initscript/SUSE/networkmanager:
16000         CVS remove these in place of .in replacements
16001
16002         * configure.in:
16003         * initscript/Gentoo/NetworkManager.in:
16004         * initscript/RedHat/NetworkManager.in:
16005         * initscript/RedHat/NetworkManagerDispatcher.in:
16006         * initscript/SUSE/networkmanager.in:
16007         These scripts now are generated so they work still when
16008         NM is built using a bindir other than /usr/bin
16009
16010 2005-08-18  Dan Williams <dcbw@redhat.com>
16011
16012         * gnome/applet/main.c
16013                 - Revert previous change for --no-session since
16014                         --sm-disable does the same thing
16015
16016 2005-08-18  Dan Williams <dcbw@redhat.com>
16017
16018         * gnome/applet/applet-dbus-info.c
16019                 - (nmi_dbus_create_error_message): new function
16020                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
16021                         functions.  Also don't check for both device _and_ network before
16022                         asking for a user's key, because we may not have gotten all our
16023                         networks back from NM quite yet (due to the dbus pending calls
16024                         coming in later).  Fixes a hang in NM/nm-applet.
16025
16026         * src/NetworkManagerDbus.c
16027                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
16028                         slightly more sane manner, even though we are still broken for
16029                         certain other error conditions.
16030                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
16031                         to the info-daemon too
16032
16033         * src/NetworkManagerDevice.c
16034                 - Fix some debug messages to be info messages instead
16035
16036 2005-08-18  Dan Williams <dcbw@redhat.com>
16037
16038         * gnome/applet/main.c
16039                 - Add new "--no-session" parameter that disables applet
16040                         session management, ie for testing
16041
16042 2005-08-18  Christopher Aillon <caillon@redhat.com>
16043
16044         * gnome/applet/other-network-dialog.c:
16045         * gnome/applet/wireless-applet.glade: More mnemonics
16046
16047 2005-08-17  Robert Love  <rml@novell.com>
16048
16049         * initscript/SUSE/networkmanager: update
16050
16051 2005-08-17  Dan Williams  <dcbw@redhat.com>
16052
16053         * Tag NM_0_4_1_RELEASE
16054
16055 2005-08-17  Christopher Aillon  <caillon@redhat.com>
16056
16057         * gnome/applet/applet.c: More translatable string cleanup
16058
16059
16060 2005-08-17  Dan Williams  <dcbw@redhat.com>
16061
16062         * gnome/applet/applet-dbus-info.c
16063                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16064                         from the dbus message, which tells us to unconditionally
16065                         ask the user for a new key.  Otherwise, we pull the key from
16066                         the keyring and return it.  If we fail to get the key from the
16067                         keyring, we ask the user for a new key.
16068                 - (nmi_dbus_get_network_key): new function to grab the key for
16069                         an essid from the keyring.
16070                 - (nmi_dbus_get_network_properties): don't access the keyring here.
16071                         Also, don't return any key in the dbus message.
16072
16073         * src/NetworkManagerDbus.[ch]
16074                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16075                         indicate that we unconditionally want a new key.  This function
16076                         is now also used to get keys from the info-daemon which are
16077                         pre-stored, not just for asking the user for a new key.  The
16078                         "new_key" parameter indicates whether or not we wish to ask the
16079                         user for a new key.
16080                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16081                         info-daemon in the return message, so use NULL instead.  The
16082                         key will be filled in at connect time by calling
16083                         nm_dbus_get_user_key_for_network()
16084
16085         * src/NetworkManagerDevice.c
16086                 - (nm_device_wireless_configure): update for "new_key" param to
16087                         nm_dbus_get_user_key_for_network().  We initially set new_key
16088                         to FALSE to see if we have a stored key in the info-daemon, but
16089                         if the connection is unsuccessful at this stage we request a
16090                         new one
16091
16092 2005-08-17  Dan Williams  <dcbw@redhat.com>
16093
16094         * gnome/applet/icons/nm-no-connection.png
16095           gnome/applet/icons/nm-device-wired.png
16096                 - Use Diana's new RJ45 connector icons
16097
16098 2005-08-17  Dan Williams  <dcbw@redhat.com>
16099
16100         * src/NetworkManagerPolicy.c
16101                 - (nm_policy_device_change_check): clarify switching rules if
16102                         both new and old devices are valid; mainly, don't switch
16103                         away from user-requested wireless connection back to a wired
16104                         one
16105
16106 2005-08-17  Dan Williams  <dcbw@redhat.com>
16107
16108         * gnome/applet/Makefile.am
16109                 - Relocate the applet to /usr/bin since it is no longer
16110                         executed by anything, but directly by the user
16111
16112 2005-08-17  Dan Williams  <dcbw@redhat.com>
16113
16114         Patch from Bill Moss <bmoss@clemson.edu>
16115
16116         * gnome/applet/applet-dbus-info.[ch]
16117                 - (nmi_save_network_info): save timestamp for network if it
16118                         was a change requested by the user
16119                 - (nmi_dbus_update_network_info): get user_requested from dbus
16120                         message and pass to nmi_save_network_info()
16121
16122         * gnome/applet/applet.c
16123                 - (nmwa_update_network_timestamp): remove
16124                 - (nmwa_menu_item_activate): don't set timestamp on networks
16125                         here, only after a successful connect in nmi_save_network_info()
16126
16127         * src/NetworkManagerDbus.[ch]
16128                 - (nm_dbus_update_network_info): pass user_requested into the 
16129                         dbus message
16130
16131         * src/NetworkManagerPolicy.c
16132                 - (nm_policy_activation_finish): pass user_requested to
16133                         nm_dbus_update_network_info()
16134
16135 2005-08-16  Robert Love  <rml@novell.com>
16136
16137         * gnome/applet/applet.c: Better "Dial Up" menu item.
16138
16139 2005-08-16  Robert Love  <rml@novell.com>
16140
16141         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16142           "Connection Information" menu item.
16143
16144 2005-08-16  Dan Williams  <dcbw@redhat.com>
16145
16146         Patch from j@bootlab.org
16147         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16148
16149         * configure.in: allow specifying the path to dhcdbd
16150
16151 2005-08-16  Robert Love  <rml@novell.com>
16152
16153         Patch from j@bootlab.org
16154         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16155           src/backends/interface_parser.h: Debian dialup support.
16156
16157 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16158
16159         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16160         * gnome/applet/applet.c: Add some mnemonics for VPNC
16161
16162         * vpn-daemons/.cvsignore: fix this up a little bit
16163
16164 2005-08-16  Robert Love  <rml@novell.com>
16165
16166         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16167           support.
16168
16169 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16170
16171         * gnome/applet/applet.c: Split markup out of translatable strings
16172         and clean up logic a little bit.  (fixes #309012)
16173
16174 2005-08-15  Christopher Aillon  <caillon@redhat.com>
16175
16176         * gnome/vpn-properties/nm-vpn-properties.c:
16177         * gnome/vpn-properties/nm-vpn-ui-interface.h:
16178         * vpn-daemons/vpnc/properties/nm-vpnc.c:
16179         Makeshift fix to remove newlines from translatable strings.
16180         Note that we now return an allocated string, so callers of
16181         get_confirmation_details () must now call g_free () on the
16182         result. (fixes #309033).
16183
16184 2005-08-12  Robert Love  <rml@novell.com>
16185
16186         * gnome/applet/applet-dbus.c: remove newlines from translatable
16187           strings--not needed here anyway. (fix b.g.o #309011)
16188         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16189
16190 2005-08-11  Robert Love  <rml@novell.com>
16191
16192         * gnome/applet/applet.c: mark string as translatable.
16193
16194 2005-08-11  Robert Love  <rml@novell.com>
16195
16196         * initscript/SUSE/networkmanager: update.
16197
16198 2005-08-11  Dan Williams  <dcbw@redhat.com>
16199
16200         * src/nm-dhcp-manager.c
16201                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16202                         an gateway returned from DHCP, try to use the address of the DHCP
16203                         server as the gateway instead.  Found by Ralf Ertzinger.
16204
16205 2005-08-10  Robert Love  <rml@novell.com>
16206
16207         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16208           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16209
16210 2005-08-10  Dan Williams  <dcbw@redhat.com>
16211
16212         Patch from Bill Moss <bmoss@clemson.edu>
16213         * Consolidate writes of access point information updates to the info daemon
16214                 so that we only do it when the connection to the access point was
16215                 successful.  Also consolidates updates to GConf in the Gnome applet.
16216
16217         * src/nm-netlink-monitor.c
16218                 - Silence compile warning when calling g_object_new()
16219
16220 2005-08-08  Dan Williams  <dcbw@redhat.com>
16221
16222         Patch from Steev <steev@steev.net>:
16223         * src/backends/NetworkManagerGentoo.c
16224                 - Stub new dialup backend functions
16225
16226 2005-08-08  Dan Williams  <dcbw@redhat.com>
16227
16228         Patch from Colin Slater:
16229         * src/backends/NetworkManagerGentoo.c
16230                 - (nm_system_update_dns): Fix exit status check for restarting
16231                         nscd
16232
16233 2005-08-05  Robert Love  <rml@novell.com>
16234
16235         * NetworkManager.h,
16236           gnome/applet/applet-dbus-devices.c,
16237           gnome/applet/applet-dbus-devices.h,
16238           gnome/applet/applet-dbus.c,
16239           gnome/applet/applet.c,
16240           gnome/applet/applet.h,
16241           src/NetworkManager.c,
16242           src/NetworkManagerMain.h,
16243           src/NetworkManagerSystem.h,
16244           src/backends/NetworkManagerRedHat.c,
16245           src/backends/NetworkManagerSuSE.c,
16246           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16247
16248 2005-08-05  Robert Love  <rml@novell.com>
16249
16250         * gnome/applet/other-network-dialog.c: default the adhoc network to the
16251           machine's hostname to make adhoc creation idiot-proof.
16252
16253 2005-08-04  Robert Love  <rml@novell.com>
16254
16255         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16256           freed.
16257
16258 2005-08-04  Dan Williams  <dcbw@redhat.com>
16259
16260         * gnome/applet/applet-dbus-info.c
16261           gnome/applet/applet-dbus-info.h
16262                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16263                         to store key, key type, and auth method rather than just auth method
16264                 - (nmi_dbus_update_network_info): new function
16265                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16266
16267         * gnome/applet/passphrase-dialog.c
16268                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16269                         of saving the info ourselves
16270
16271         * gnome/libnm_glib/libnm_glib.c
16272                 - Remove the stupid version check for dbus
16273
16274         * src/NetworkManagerAP.c
16275           src/NetworkManagerAP.h
16276                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16277
16278         * src/NetworkManagerDbus.c
16279           src/NetworkManagerDbus.h
16280                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16281                         more than just the auth method
16282
16283         * src/NetworkManagerDevice.c
16284                 - Update network info at the appropriate times
16285
16286 2005-07-29  Ray Strode  <rstrode@redhat.com>
16287
16288         * src/NetworkManager.c (nm_info_handler): don't use input as format
16289         string (Spotted by Ian Jackson).
16290
16291 2005-07-27  Dan Williams  <dcbw@redhat.com>
16292
16293         * src/nm-dbus-nm.c
16294           src/nm-dbus-net.c
16295                 - Random cleanups of spacing
16296
16297         * gnome/applet/applet.h
16298           gnome/applet/other-network-dialog.c
16299           gnome/applet/passphrase-dialog.c
16300                 - Conslidate usage of NMWAEncryptionKeyTypes enum
16301
16302         Patch from Bill Moss:
16303                 - Make Other Wireless Networks work again with encryption keys
16304
16305 2005-07-26  Dan Williams  <dcbw@redhat.com>
16306
16307         Patch from Steev <steev@steev.net>:
16308         * src/backends/NetworkManagerGentoo.c
16309           src/backends/Makefile.am
16310                 - Fix up Gentoo backend
16311
16312 2005-07-26  Robert Love  <rml@novell.com>
16313
16314         * src/backends/NetworkManagerSuSE.c: misc. cleanup
16315
16316 2005-07-25  Robert Love  <rml@novell.com>
16317
16318         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16319           in the same group as the wireless networks, since they are all
16320           mutually exclusive.
16321
16322 2005-07-24  Ray Strode  <rstrode@redhat.com>
16323
16324         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
16325         remove unneeded NULL arg from g_object_new().  Any
16326         warnings caused by not having the extra NULL are just a
16327         result of a bug in glib 2.7.0 - 2.7.2.
16328
16329 2005-07-22  Robert Love  <rml@novell.com>
16330
16331         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16332
16333 2005-07-22  Robert Love  <rml@novell.com>
16334
16335         * src/nm-netlink-monitor.c: g_object_new() needs at least three
16336           parameters (gcc 4.0.2 warning fix).
16337
16338 2005-07-18  Robert Love  <rml@novell.com>
16339
16340         Suggested by Aaron Bockover (abockover@novell.com)
16341         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16342           s/Ascii/ASCII
16343         * gnome/applet/passphrase-dialog.c: ditto
16344         * gnome/applet/wireless-applet.glade: ditto
16345
16346 2005-07-13  Dan Williams  <dcbw@redhat.com>
16347
16348         Patch from Ray Strode <halfline@gmail.com>
16349         * vpn-daemons/vpnc/nm-vpnc-service.c
16350                 - Don't let vpnc daemonize, fixes some races with PID file reading
16351
16352 2005-07-13  Dan Williams  <dcbw@redhat.com>
16353
16354         Patch from Ray Strode <halfline@gmail.com>
16355         * Random cleanups for strict CFLAGS
16356
16357 2005-07-07  Dan Williams  <dcbw@redhat.com>
16358
16359         Patch from Derek Atkins <warlord@MIT.EDU>
16360         * src/nm-dbus-net.c:
16361                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16362
16363 2005-07-07  Dan Williams  <dcbw@redhat.com>
16364
16365         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16366         * src/backends/NetworkManagerGentoo.c
16367                 - Gentoo backend Static IP nameserver fixes
16368                 - General Gentoo backend goodness
16369
16370 2005-07-07  Dan Williams  <dcbw@redhat.com>
16371
16372         Patch from Bastien Nocera:
16373         * gnome/applet/applet.c
16374                 - Fix up error reporting when icons or glade files are missing
16375
16376 2005-07-07  Robert Love  <rml@novell.com>
16377
16378         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16379           are not any VPN connections above it.
16380
16381 2005-07-07  Robert Love  <rml@novell.com>
16382
16383         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16384
16385 2005-07-05  Robert Love  <rml@novell.com>
16386
16387         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16388           zero.
16389
16390 2005-07-05  Robert Love  <rml@novell.com>
16391
16392         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16393           on wired or unencrypted wireless.
16394
16395 2005-07-01  Robert Love  <rml@novell.com>
16396
16397         * src/NetworkManagerSystem.c: Print the error via strerror().
16398
16399 2005-06-30  Robert Love  <rml@novell.com>
16400
16401         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16402           then exit if the glade file is not found.  currently the application
16403           just hangs.
16404
16405 2005-06-30  Robert Love  <rml@novell.com>
16406
16407         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16408           explicitly up all interfaces on wake from sleep.
16409
16410 2005-06-30  Robert Love  <rml@novell.com>
16411
16412         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16413           with information about the currently active connection.
16414         * gnome/applet/applet.h: (ditto)
16415         * gnome/applet/wireless-applet.glade: (ditto), new file
16416
16417 2005-06-30  Robert Love  <rml@novell.com>
16418
16419         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16420         * src/nm-dbus-nm.c: print when we sleep and wake up.
16421         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16422         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16423           in /sbin unless D-BUS is, folks).
16424         * README: update to reflect nm-applet replacing NetworkManagerInfo.
16425
16426 2005-06-27  Robert Love  <rml@novell.com>
16427
16428         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16429           case.
16430
16431 2005-06-27  Robert Love  <rml@novell.com>
16432
16433         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16434           items radios.
16435
16436 2005-06-26  Robert Love  <rml@novell.com>
16437
16438         * src/NetworkManagerDevice.c: be specific about which device in
16439           nm_info() message.
16440
16441 2005-06-23  Adam Weinberger  <adamw@gnome.org>
16442
16443         * src/nm-netlink-monitor.c: correct spelling error.
16444
16445 2005-06-23  Robert Love  <rml@novell.com>
16446
16447         * gnome/applet/applet-dbus-info.c: gnome keyring support!
16448         * gnome/applet/passphrase-dialog.c: more of that keyring!
16449
16450 2005-06-23  Robert Love  <rml@novell.com>
16451
16452         * configure.in: remove extraneous GNOMEKEYRING directives.
16453         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16454         * gnome/applet/applet.c: nmwa_icons_init: make style local.
16455         * gnome/applet/passphrase-dialog.c: whitespace.
16456
16457 2005-06-23  Robert Love  <rml@novell.com>
16458
16459         * src/NetworkManagerDevice.c: division in assignment was flipped.
16460
16461 2005-06-23  David Zeuthen  <david@fubar.dk>
16462
16463         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16464         signal to the child to indicate that we got what we wanted when we
16465         see two new-lines right after each other.
16466         (nmwa_vpn_request_password): Pass a structure with several members
16467         instead of just the passwords
16468
16469 2005-06-23  Dan Williams <dcbw@redhat.com>
16470
16471         * src/NetworkManager.c
16472           src/NetworkManagerMain.h
16473                 - (nm_get_hal_ctx): new function, move Hal initialization code here
16474                 - (nm_hal_init): new function, init libhal context then add devices
16475                 - (nm_hal_deinit): new function, clean up libhal context
16476                 - (nm_data_free): Move Hal cleanup here
16477                 - (main): check whether Hal is running, and if so, get a list of
16478                         network devices from it
16479
16480         * src/NetworkManagerDbus.c
16481                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16482                         and when it appears, get a list of network devices from it.  If
16483                         Hal goes away, clean up the libhal context
16484
16485 2005-06-22  Robert Love  <rml@novell.com>
16486
16487         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16488           permissions of scripts before executing.
16489
16490 2005-06-21  Robert Love  <rml@novell.com>
16491
16492         * initscript/SUSE/networkmanager: update.
16493         * src/backends/NetworkManagerSuSE.c: cleanup.
16494
16495 2005-06-21  Robert Love <rml@novell.com>
16496
16497         * gnome/applet/applet.c: use menu mnemonics.
16498         * gnome/applet/menu-items.c: (ditto)
16499
16500 2005-06-21  Robert Love  <rml@novell.com>
16501
16502         * applet/applet-dbus-devices.c: mark non-static functions static.
16503         * applet/applet-dbus-vpn.c: (ditto)
16504         * applet/applet.c: (ditto)
16505         * applet/nm-device.h: (ditto)
16506         * applet/other-network-dialog.c: (ditto)
16507         * applet/passphrase-dialog.c: (ditto)
16508         * NetworkManager.c: (ditto)
16509         * NetworkManagerDbus.c: (ditto)
16510         * NetworkManagerDevice.c: (ditto)
16511         * NetworkManagerPolicy.c: (ditto)
16512         * NetworkManagerUtils.c: (ditto)
16513         * NetworkManagerWireless.c: (ditto)
16514         * NetworkManagerWireless.h: (ditto)
16515         * nm-netlink-monitor.c: (ditto)
16516         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16517         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16518         * autoip.c: include autoip.h.
16519         * autoip.h: new file.  define get_autoip().
16520         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16521         * NetworkManagerDbus.h: remove duplicate definitions.
16522
16523 2005-06-20  Robert Love  <rml@novell.com>
16524
16525         * Makefile.am: Add missing intltool-foo.in generated files to
16526           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16527           with the start of stuff to cleanup on 'distclea'.
16528         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16529           stuff right and 'distcheck' works.
16530         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16531           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16532           Makefile.am for each.  And systray/Makefile needs to be redone.
16533
16534 2005-06-19  Dan Williams <dcbw@redhat.com>
16535
16536         * src/NetworkManagerDevice.c
16537         - (nm_device_wireless_process_scan_results): scan every 20s when
16538           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16539
16540 2005-06-19  Dan Williams <dcbw@redhat.com>
16541
16542         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16543
16544 2005-06-18  Ray Strode <rstrode@redhat.com>
16545
16546         * src/nm-netlink-monitor.c 
16547         (nm_netlink_monitor_event_handler): check for the presence
16548         of either error condition not both. 
16549         
16550         (nm_netlink_monitor_error_handler): emit error signal if
16551         error occurs.
16552
16553         (nm_netlink_monitor_event_handler),
16554         (nm_netlink_monitor_error_handler),
16555         (nm_netlink_monitor_disconnect_handler): if an 
16556         assertion fails disconnect the event handler to prevent 
16557         infinite loops.
16558
16559         * src/nm-netlink-monitor.h: add new error condition
16560         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16561
16562 2005-06-18  Ray Strode <rstrode@redhat.com>
16563
16564         * src/nm-netlink-monitor.c 
16565         (nm_netlink_monitor_event_handler): remove bogus < 0
16566         check on unsigned value and return early if the kernel
16567         didn't send any bytes.
16568
16569 2005-06-17  Robert Love  <rml@novell.com>
16570
16571         * initscript/SUSE/networkmanager: Change the Provides and default
16572         run levels
16573
16574 2005-06-16  Dan Williams <dcbw@redhat.com>
16575
16576         Patch from Robert Love:
16577         * gnome/applet/applet.c
16578                 - Beautify some applet menu item names
16579
16580 2005-06-17  David Zeuthen  <davidz@redhat.com>
16581
16582         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16583         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16584         Also add new methods can_export, import_file and export.
16585
16586         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16587         to the main UI
16588
16589         * gnome/vpn-properties/nm-vpn-properties.c:
16590         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16591         nm-vpn-ui-interface.h.
16592         (update_edit_del_sensitivity): Also update "Export" sensitivity
16593         (add_vpn_connection): Also add new SVC_NAME column
16594         (import_settings): New function
16595         (retrieve_data_from_selected_connection): New function
16596         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16597         this function
16598         (export_cb): New function
16599         (init_app): Also setup the "export" widget
16600         (main): Support the --import-service and --import-file commandline
16601         arguments
16602
16603         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16604         D-BUS 0.34
16605
16606 2005-06-16  Dan Williams <dcbw@redhat.com>
16607
16608         Patch from Robert Love:
16609         * gnome/applet/menu-items.c
16610                 - (network_menu_item_new): pass -1 as wireless network
16611                         menu items height size request rather than ascent / 2
16612
16613 2005-06-16  Dan Williams <dcbw@redhat.com>
16614
16615         * Clean up wording in Wireless Scan Methods menu items and constants
16616
16617 2005-06-16  Robert Love  <rml@novell.com>
16618
16619         * po/POTFILES.in
16620                 - remove gtkcell* files
16621
16622 2005-06-15  Dan Williams <dcbw@redhat.com>
16623
16624         Patch from Robert Love: make the applet stetic
16625
16626         * gnome/applet/Makefile.am
16627                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16628
16629         * gnome/applet/gtkcellview.h
16630           gnome/applet/gtkcellview.c
16631           gnome/applet/gtkcellrendererprogress.h
16632           gnome/applet/gtkcellrendererprogress.c
16633                 - Removed
16634
16635         * gnome/applet/menu-items.c
16636                 - Progress bars are 5:1 size ratio
16637                 - Use GTK progress bars rather than internal ones
16638
16639 2005-06-15  Dan Williams <dcbw@redhat.com>
16640
16641         Patch from Robert Love:
16642         * initscript/SUSE/networkmanager
16643                 - Fix typo
16644
16645 2005-06-15  Dan Williams <dcbw@redhat.com>
16646
16647         * src/backends/NetworkManagerSuSE.c
16648           src/backends/NetworkManagerRedHat.c
16649           src/backends/NetworkManagerDebian.c
16650                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16651
16652 2005-06-15  Dan Williams <dcbw@redhat.com>
16653
16654         * src/backends/NetworkManagerDebian.c
16655                 - Add nm_system_device_get_use_dhcp() to debian backend
16656
16657         Patch from Kay Sievers:
16658         * src/backends/NetworkManagerSuSE.c
16659                 - Update debian backend for static IP nameservers
16660
16661         * src/NetworkManagerDevice.c
16662                 - Actually set the device to use static IP or DHCP rather
16663                         than always DHCP
16664
16665 2005-06-15  Dan Williams <dcbw@redhat.com>
16666
16667         Patch from Thom May:
16668         * src/backends/NetworkManagerDebian.c
16669                 - Update debian backend for static IP nameservers
16670
16671 2005-06-15  Dan Williams <dcbw@redhat.com>
16672
16673         Patches from Robert Love:
16674         * gnome/applet/wireless-applet.glade
16675                 - Tighten up wording
16676
16677         * src/NetworkManagerDevice.c
16678                 - Remove misplaced ';'
16679
16680         * configure.in
16681           initscript/Makefile.am
16682           initscript/SUSE/Makefile.am
16683           initscript/SUSE/networkmanager
16684                 - Add SUSE initscript
16685
16686 2005-06-12  David Zeuthen  <davidz@redhat.com>
16687
16688         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16689
16690         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16691
16692         * gnome/vpn-properties/nm-vpn-properties.c: New file
16693
16694         * gnome/vpn-properties/Makefile.am: New file
16695
16696         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16697         array of passwords
16698
16699         * src/vpn-manager/nm-vpn-manager.c
16700         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16701         instead of just a single one
16702
16703         * src/vpn-manager/nm-dbus-vpn.c:
16704         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16705         here
16706         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16707
16708         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16709         Change the interface here to give a list of passwords. Also, don't
16710         require username, but do require service
16711
16712         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16713         the binary for the auth-dialog and use that instead of putting up a
16714         dialog asking for a single password
16715
16716         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16717         however do remember the service
16718
16719         * gnome/applet/main.c (main): Setup i18n
16720
16721         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16722         connection to '%s'" to the tooltip if we are connected using VPN
16723         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16724         key to determine whether we the auth-dialog needs to
16725         reprompt. Also cope with the fact that the auth-dialog now returns
16726         an array of passwords.
16727         (nmwa_menu_configure_vpn_item_activate): New handler for
16728         "Configure VPN..." menu item
16729         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16730         (is_vpn_available): New function to determine if we got any
16731         NM-compatible VPN software installed
16732         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16733         items only if we have NM-compatible VPN software installed
16734         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16735         logic for detecting when VPN connections are removed
16736
16737         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16738         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16739         since these are defined elsewhere
16740
16741         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16742         function used to keep track of whether the last attempt succeded
16743         (nmwa_dbus_filter): Update last_attempt according to whether the
16744         VPN connection could be established or not
16745
16746         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16747         Change prototype to take an array of passwords, not just a single
16748         password
16749
16750         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16751         update service, not user
16752         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16753         dbus_active_vpn_name is not NULL before using it
16754         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16755         string array instead of assuming a single password
16756
16757         * gnome/applet/applet-dbus-info.c:
16758         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16759         user name; don't read from gconf
16760
16761         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16762         VPN_NAME_FILES_DIR
16763
16764         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16765
16766         * configure.in: Add checks for gmodule-2.0.
16767         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16768         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16769         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16770         for details
16771
16772         * vpn-daemons/Makefile.am: Removed
16773
16774         * vpn-daemons/README: New file to describe extensions points for VPN
16775         software
16776
16777 2005-06-10  Dan Williams <dcbw@redhat.com>
16778
16779         * src/backends/NetworkManagerRedHat.c
16780                 - (get_current_profile_name): new function, grab current network profile name from
16781                         /etc/sysconfig/network
16782                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16783                         update an IP4 Config structure's settings from it
16784                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16785                         get DNS info from current network profile
16786
16787 2005-06-09  Dan Williams <dcbw@redhat.com>
16788
16789         Patch from Robert Love:
16790         * src/NetworkManagerDevice.c
16791           src/NetworkManagerUtils.c
16792                 - 64-bit build fixes
16793
16794 2005-06-09  Dan Williams <dcbw@redhat.com>
16795
16796         Patch from Kay Sievers and Robert Love:
16797         * configure.in
16798           src/backends/Makefile.am
16799           src/backends/NetworkManagerSuSE.c
16800                 - Add SuSE support
16801
16802 2005-06-09  Dan Williams <dcbw@redhat.com>
16803
16804         * NetworkManager.h
16805                 - Add NMWirelessScanMethod enum for scan methods
16806
16807         * gnome/applet/applet-dbus-devices.c
16808                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16809                 - (nmwa_dbus_update_scanning_enabled): remove
16810                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16811                         since it got removed
16812                 - (nmwa_dbus_enable_scanning): remove
16813
16814         * gnome/applet/applet-dbus-info.c
16815                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16816                         update the wireless scanning method from NMI
16817                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16818                         method value to NetworkManager
16819                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16820
16821         * gnome/applet/applet-dbus-info.h
16822                 - Add prototype for nmi_dbus_signal_update_scan_method
16823
16824         * gnome/applet/applet.c
16825                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16826                         Wireless Scanning menu based on current wireless scan method
16827                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16828                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16829                         and update our menu items to make sure the right one is checked
16830                 - (nmwa_set_scanning_enabled_cb): remove
16831                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16832                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16833                         Scanning menu item
16834                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16835                         from GConf
16836                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16837                         so we get notified of preference values too
16838                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16839
16840         * gnome/applet/applet.h
16841                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16842                 - Add wireless scan method member to applet data
16843                 - Remove pause_scanning_item, add Wireless Scanning submenu
16844
16845         * src/NetworkManager.c
16846                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16847                 - (main): grab scanning method from NMI if we can
16848
16849         * src/NetworkManagerDbus.c
16850                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16851                         nm_dbus_update_wireless_scan_method()
16852                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16853                         from NMI
16854                 - (nm_dbus_nmi_is_running): redundant function, removed
16855                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16856                         when NMI comes back
16857
16858         * src/NetworkManagerDevice.c
16859                 - (nm_device_is_activated): return TRUE if the device is activated
16860                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16861                         and we are activated
16862
16863         * src/nm-dbus-nm.c
16864                 - (nm_dbus_nm_set_scanning_enabled): removed
16865                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16866                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16867
16868 2005-06-09  Dan Williams <dcbw@redhat.com>
16869
16870         * NetworkManager.h
16871           src/vpn-manager/nm-vpn-service.c
16872                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16873
16874 2005-05-27  Dan Williams <dcbw@redhat.com>
16875
16876         * vpn-daemons/vpnc/nm-vpnc-service.c
16877                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16878                         Should fix the bug where the VPN connection terminates the first time.
16879
16880 2005-05-20  Dan Williams <dcbw@redhat.com>
16881
16882         * NetworkManager.h
16883                 - Differentiate VPN config signals between bad VPN config options
16884                         and bad IP config
16885
16886         * gnome/applet/applet-dbus-info.h
16887                 - Add prototypes for wireless network and vpn connection update functions
16888
16889         * gnome/applet/applet-dbus.c
16890                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16891
16892         * gnome/applet/applet.c
16893                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16894                         error signals
16895                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16896                         propogation to NetworkManager
16897                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16898                         notify propogation to NetworkManager
16899
16900         * src/NetworkManagerDbus.c
16901                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16902                         are updating so a network can be removed from it if necessary
16903
16904         * src/vpn-manager/nm-vpn-manager.c
16905                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16906
16907         * vpn-daemons/vpnc/nm-vpnc-service.c
16908                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16909                 - (nm_vpnc_dbus_signal_launch_failed): remove
16910                 - (nm_vpnc_dbus_signal_connect_failed): remove
16911                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16912                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16913                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16914                         for new generalized error signal function, remove config file stuff
16915                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16916                         we can write configuration options to it
16917                 - (nm_vpnc_config_file_generate): removed
16918                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16919                 - (nm_vpnc_config_options_validate): validate the config options we receive
16920                         from NetworkManager to block potential exploits
16921                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16922                         starting vpnc
16923                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16924                         to NetworkManager
16925
16926 2005-05-16  Dan Williams  <dcbw@redhat.com>
16927
16928         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16929                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16930                         is not "connect"
16931
16932 2005-05-16  Dan Williams  <dcbw@redhat.com>
16933
16934         Patch from Tomislav Vujec <tvujec@redhat.com>
16935         * gnome/applet/applet-dbus-info.c
16936                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16937                         GConf and pass them to NetworkManager.  New key is 'routes' under
16938                         the VPN connection, and should be a string list
16939
16940         * src/NetworkManagerSystem.c
16941                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16942                         set them on the device when we set the rest of the VPN config.  Ensure
16943                         they are in the correct format since they are passed directly to the
16944                         command line.
16945
16946         * src/backends/NetworkManagerRedHat.c
16947           src/backends/NetworkManagerDebian.c
16948                 - (nm_system_device_add_route_via_device_with_iface): new function
16949
16950         * src/vpn-manager/nm-dbus-vpn.c
16951                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16952
16953         * src/vpn-manager/nm-vpn-manager.c
16954                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16955                         them into the IP4 config functions
16956
16957 2005-05-15  Dan Williams  <dcbw@redhat.com>
16958
16959         From Filip Miletic:
16960         * po/sr.po
16961           po/sr@Latn.po
16962           configure.in
16963                 - Serbian translation added
16964
16965 2005-05-15  Dan Williams  <dcbw@redhat.com>
16966
16967         * dispatcher-daemon/NetworkManagerDispatcher.c
16968                 - (main): sync arguments with NetworkManager and the applet, now use
16969                         "--no-daemon" rather than "daemon=no"
16970                 - (nmd_print_usage): Fix script path in usage message
16971
16972 2005-05-15  Dan Williams  <dcbw@redhat.com>
16973
16974         * src/NetworkManagerDevice.[ch]
16975           src/NetworkManagerPolicy.c
16976           src/NetworkManager.c
16977           src/nm-dbus-nm.c
16978                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
16979                         longer send the DeviceNoLongerActive signal unconditionally, but only
16980                         when the device is actually active.
16981
16982         * dispatcher-daemon/NetworkManagerDispatcher.c
16983                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16984                         and simplify the logic
16985                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16986                         we free it later on
16987
16988         * initscript/RedHat/Makefile.am
16989           initscript/RedHat/NetworkManagerDispatcher
16990                 - Add initscript for NetworkManagerDispatcher
16991
16992
16993         Patch from Bill Moss:
16994         * dispatcher-daemon/NetworkManagerDispatcher.c
16995                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16996
16997         * src/NetworkManagerDbus.c
16998                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
16999                         and DeviceNowActive gets signaled, then the device has a new IP address
17000                         anyway.  There's no need for a separate signal.
17001
17002         * src/NetworkManagerDevice.c
17003                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
17004
17005         * src/NetworkManagerPolicy.c
17006                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
17007                         activates successfully.  This kind of went missing when I reworked the
17008                         activation code.
17009
17010 2005-05-15  Dan Williams  <dcbw@redhat.com>
17011
17012         * configure.in
17013                 - Check for dhcdbd and error if its not found
17014
17015         * src/dhcp-manager/Makefile.am
17016           src/dhcp-manager/nm-dhcp-manager.c
17017                 - Use path to dhcdbd that configure found
17018
17019 2005-05-14  Dan Williams  <dcbw@redhat.com>
17020
17021         * gnome/applet/nm-device.c
17022                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
17023                         sort wireless networks alphabetically
17024
17025         * gnome/applet/applet-dbus-devices.c
17026                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
17027                         before copying them over to the GUI
17028
17029 2005-05-14  Dan Williams  <dcbw@redhat.com>
17030
17031         * src/NetworkManager.c
17032                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
17033                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
17034                         the device list, as does nm_get_active_device() which is called from
17035                         nm_vpn_manager_deactivate_vpn_connection().
17036
17037 2005-05-14  Dan Williams  <dcbw@redhat.com>
17038
17039         * NetworkManager.h
17040                 - Add signals for VPN Launch and Connect failures
17041
17042         * gnome/applet/applet-dbus.c
17043                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
17044
17045         * gnome/applet/applet.c
17046                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
17047                         function to handle all VPN failure messages
17048                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
17049                         function to hanlde all VPN failure  messages
17050                 - (show_warning_dialog): work around focus-stealing prevention
17051
17052         * gnome/applet/other-network-dialog.c
17053           gnome/applet/passphrase-dialog.c
17054                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
17055                         problem where it never enabled for ASCII Key and Hex Key types
17056
17057         * gnome/applet/wireless-applet.glade
17058                 - Add window title to Other Wireless Network Dialog
17059
17060         * src/vpn-manager/nm-dbus-vpn.c
17061                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17062                         function to handle all VPN failure messages
17063
17064         * src/vpn-manager/nm-vpn-manager.c
17065                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17066
17067         * vpn-daemons/vpnc/nm-vpnc-service.c
17068                 - (nm_vpnc_dbus_signal_launch_failed): new function
17069                 - (nm_vpnc_dbus_signal_connect_failed): new function
17070                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17071                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17072                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17073                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17074
17075 2005-05-11  Dan Williams  <dcbw@redhat.com>
17076
17077         * vpn-daemons/vpnc/nm-vpnc-service.c
17078                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17079                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17080                         file exists before trying to write it out.
17081
17082 2005-05-10  Dan Williams  <dcbw@redhat.com>
17083
17084     * gnome/applet/applet-dbus-device.c
17085         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
17086             prevented just entering ESSID and leaving key and key type up to
17087             NetworkManager (which should have them already cached)
17088
17089 2005-05-08  Dan Williams  <dcbw@redhat.com>
17090
17091         * src/NetworkManagerPolicy.c
17092                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17093                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17094                         fix a situation where NM is told to terminate and the device stops activation,
17095                         but the main thread isn't aware of that because it would never have run
17096                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17097                         had already quit.
17098
17099         * src/NetworkManagerDevice.c
17100                 - (nm_device_probe_wired_link_state): cosmetic fixes
17101                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17102                         we've failed to activate or been canceled.
17103                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17104
17105 2005-05-08  Dan Williams  <dcbw@redhat.com>
17106
17107         * src/NetworkManagerWireless.c
17108                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17109                         value of WEXT quality structures, and add a debug message when we cannot
17110                         determine any quality % at all
17111
17112 2005-05-08  Dan Williams  <dcbw@redhat.com>
17113
17114         * src/dhcp-manager/nm-dhcp-manager.c
17115                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17116                         it goes down.
17117
17118 2005-05-06  Dan Williams  <dcbw@redhat.com>
17119
17120         * gnome/applet/applet-dbus-device.c
17121           gnome/applet/applet-dbus-info.c
17122           gnome/applet/applet-dbus.c
17123           gnome/applet/applet.c
17124           gnome/applet/applet.h
17125                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17126
17127         * gnome/applet/applet-dbus.c
17128                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17129                         so we notice when wired device's carriers come back on.  Should
17130                         fix issue with wired devices being grayed out even if the cable
17131                         is in, for devices that support carrier detection.
17132
17133         * gnome/applet/applet.c
17134                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17135                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17136                         tooltip message
17137                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17138                         Fix situation where applet wouldn't respond to menu selections
17139
17140         * src/NetworkManager.c
17141           src/NetworkManagerDevice.c
17142           src/NetworkManagerDbus.c
17143           src/NetworkManagerDbus.h
17144                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17145
17146         * src/NetworkManagerDbus.c
17147                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17148                         Remove, no longer used or relevant
17149                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17150                 - (nm_dbus_schedule_device_status_change_signal): add
17151
17152         * src/NetworkManagerDevice.c
17153                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17154                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17155                         ie don't deactivate them unless explicitly told to by the user.  Also send
17156                         CARRIER_OFF / CARRIER_ON signals when link changes
17157                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17158                         Don't print error message when device is no longer around
17159                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17160                         not just during activation
17161
17162         * src/NetworkManagerPolicy.c
17163                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17164                         auto-device-selection.
17165                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17166
17167         * src/NetworkManagerSystem.c
17168                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17169                         is no longer present (Bill Moss)
17170
17171         * src/backends/shvar.c
17172                 - (svOpenFile): Open read-only to make SELinux happy
17173
17174         * src/backends/NetworkManagerRedHat.c
17175                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17176                         the path to the ifcfg-* files
17177
17178 2005-05-05  Dan Williams  <dcbw@redhat.com>
17179
17180         * Expose activation stages to NetworkManager clients, like the applet
17181         * Add Diana's progress icons to the applet, cued off NM activation stage
17182         * Use more descriptive tooltips, cued off NM activation stage
17183
17184 2005-05-05  Ray Strode  <rstrode@redhat.com>
17185
17186         * src/nm-netlink-monitor.c:
17187                 - Use clear_event_source instead of g_nullify_pointer() again.
17188
17189 2005-05-05  Dan Williams  <dcbw@redhat.com>
17190
17191         * gnome/applet/main.c
17192                 - Fix session management so the applet is actually managed now
17193
17194         * gnome/applet/passphrase-dialog.c
17195                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17196
17197 2005-05-05  Dan Williams  <dcbw@redhat.com>
17198
17199         Patch from Bill Moss:
17200         * gnome/libnm_glib/libnm_glib.c
17201                 - Fix for dbus-0.33
17202
17203 2005-05-05  Dan Williams  <dcbw@redhat.com>
17204
17205         Suggestion from Bill Moss:
17206         * src/NetworkManagerSystem.c
17207                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17208
17209
17210         * src/NetworkManager.c
17211                 - (nm_data_free): move destruction of the various managers after
17212                         release of device list, because deactivating and freeing a device
17213                         requires at least the named manager
17214                 - (nm_poll_and_update_wireless_link_state):
17215                   (nm_device_link_activated):
17216                   (nm_device_link_deactivated):
17217                         don't grab the device list lock when actually updating device
17218                         link status or strength, since nm_device_set_link_active()
17219                         needs to call nm_get_active_device(), which also locks the device list.
17220
17221         * src/NetworkManagerDevice.c
17222                 - (nm_device_set_link_active): if a device's link switches from off->on,
17223                         and it's wired, and the active device is wireless (or there is no
17224                         active device), activate the new device whose link just came on
17225                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17226                         my only calling the link to the current ap "failed" when more than 2
17227                         consecutive link checks have failed
17228
17229 2005-05-04  Dan Williams  <dcbw@redhat.com>
17230
17231         * src/NetworkManagerDevice.c
17232                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17233                         but let link_to_specific_ap() do the locking where it needs
17234
17235         Patch from Bill Moss:
17236         * src/NetworkManagerSystem.c
17237                 - Set MTU of VPN devices to 1412
17238
17239 2005-05-04  Dan Williams  <dcbw@redhat.com>
17240
17241         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17242
17243         * Fix some holes in device activation and retaining the currently connected
17244                 access point
17245
17246 2005-05-03  Dan Williams  <dcbw@redhat.com>
17247
17248         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
17249           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
17250           means you need dhcdbd, which you can get here (get the latest one):
17251
17252                 http://people.redhat.com/jvdias/dhcdbd/
17253
17254           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17255           interface as dhcdbd.
17256
17257         * Rewrite device activation to facilitate the new DHCP infrastructure and
17258           future improvements.  Its now "activation request" based, ie there is a single
17259           activation request composed of the device, access point, and other info which
17260           follows the entire activation process.  There are 5 stages of the activation
17261           process which correspond to:
17262
17263                 1) Device preparation
17264                 2) Device configuration (bring it up, set ESSID/Key/etc)
17265                 3) IP Config Start (fire off DHCP if we're using it)
17266                 4) IP Config Get (grab config from DHCP or static config files)
17267                 5) IP Config Commit (set device's IP address, DNS, etc)
17268
17269           Note that there is no longer a "scanning" step, since the access point must
17270           be known _before_ activation starts.  If the access point drops out or does
17271           not exist for some reason, the entire activation process fails and must be
17272           restarted for a different access point or device.
17273
17274         Patch from Bill Moss:
17275         * gnome/applet/applet.c
17276                 - Fix type of vpn_failure dialog -> vpn_banner dialog
17277
17278 2005-04-27  Dan Williams  <dcbw@redhat.com>
17279
17280         * gnome/applet/applet-dbus-vpn.c
17281           gnome/applet/applet.c
17282           gnome/applet/applet.h
17283                 - Fix up active VPN handling so that we reliably know when a VPN
17284                         connection has been deactivated
17285
17286         * src/vpn-manager/nm-vpn-manager.c
17287                 - Remove duplicate VPNConnectionChange signal
17288
17289 2005-04-27  Dan Williams  <dcbw@redhat.com>
17290
17291         Patch from Peter Jones:
17292         * Remove usage of varargs to fix crashes on PPC (RH #154336)
17293
17294         Patch from Bill Moss:
17295         * src/NetworkManagerSystem.c
17296                 - Fix checking of return value from ioctl()
17297
17298 2005-04-27  Dan Williams  <dcbw@redhat.com>
17299
17300         * Fix choosing of wireless networks and "Other wireless network..." from the applet
17301         * Warn and exit if icons cannot be found
17302
17303 2005-04-27  Dan Williams  <dcbw@redhat.com>
17304
17305         Patch from Tom Parker:
17306         * Update debian backend
17307
17308 2005-04-27  Dan Williams  <dcbw@redhat.com>
17309
17310         * Merge the applet and the info-daemon, and move the converged
17311                 applet under gnome/applet
17312         * Move libnm_glib to gnome/libnm_glib
17313         * Convert most dbus calls between the applet, info-daemon, and NM
17314                 into async calls
17315         * Fix a few things valgrind noticed
17316         * Make NM broadcast state more reliably
17317
17318 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
17319
17320         * configure.in: Added ne in ALL_LINGUAS
17321
17322 2005-04-15  Dan Williams  <dcbw@redhat.com>
17323
17324         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17325                 code for dbus 0.2x versions
17326
17327 2005-04-15  Dan Williams  <dcbw@redhat.com>
17328
17329         Patches from Tom Parker:
17330         - Fix memleaks
17331         - Join with worker thread rather than polling for its exit
17332
17333         Patch from Bill Moss:
17334         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17335
17336 2005-04-15  Dan Williams  <dcbw@redhat.com>
17337
17338         - Fixes to pass 'make distcheck'
17339
17340 2005-04-15  Dan Williams  <dcbw@redhat.com>
17341
17342         Initial VPN Support
17343                 - supports 'vpnc'
17344                 - reworks device IP configuration, backend files have changed and will need
17345                         to be updated for all distributions.  I will try to do what I can for
17346                         them, but I cannot test them.
17347
17348         - Move named directory to src/named-manager
17349         - Make backends directory self-contained
17350
17351 2005-04-06  Dan Williams  <dcbw@redhat.com>
17352
17353         Add debug code for socket/file descriptor leaks.  We register every socket
17354         that we open (except for stuff in dhcpcd/) for tracking, and print out the
17355         list of sockets that we forgot to close on shutdown.  This also consolidates
17356         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17357
17358 2005-04-06  Dan Williams  <dcbw@redhat.com>
17359
17360         * dhcpcd/dhcpcd.c
17361                 - (dhcp_interface_free): fix a file descriptor leak that may have
17362                         caused network drivers to not unload due to refcounts > 0
17363
17364 2005-04-04  Dan Williams  <dcbw@redhat.com>
17365
17366         * panel-applet/NMWirelessAppletDbus.c
17367                 - (nmwa_dbus_call_nm_method): remove some commented code
17368
17369         * src/NetworkManagerAPList.[ch]
17370                 - (nm_ap_list_remove_ap_by_essid): new function
17371
17372         * src/NetworkManagerDevice.c
17373                 - (nm_device_wireless_force_use): remove access points from the ignore list
17374                         when the user forces them
17375
17376         * src/nm-dbus-device.c
17377                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17378
17379 2005-04-04  Dan Williams  <dcbw@redhat.com>
17380
17381         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17382
17383 2005-04-04  Dan Williams  <dcbw@redhat.com>
17384
17385         * src/NetworkManagerDevice.c:
17386                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17387                         of only erroring after the second consecutive scan times out.  Also
17388                         don't exit when the card requires more time than we can give it, just
17389                         log the event and continue.
17390
17391 2005-04-01  Steve Murphy  <murf@e-tools.com>
17392
17393         * configure.in: Added "rw" to ALL_LINGUAS.
17394
17395 2005-04-01  Dan Williams <dcbw@redhat.com>
17396
17397         Perform scans during device activation, if needed.  Both activation 
17398         and scans run in the same GMainContext.  Therefore, if an access point
17399         is not found by the time the device starts activation, it will not
17400         be available until after activation.  We now try to scan during
17401         activation (in nm_wa_test) every 15s so that all available access
17402         points are more likely to be found and available for the activation
17403         procedure.
17404
17405         Also change nm_wireless_link_state_handle() to only update the "best"
17406         AP if we are not forcing a device and if we are not about to change
17407         state.  This attempts to work around a race when forcing a device,
17408         where the forced AP would get cleared out too soon by the link state
17409         checking timeout in the main thread, and the activation attempt with
17410         that AP would fail.
17411
17412 2005-04-01  Dan Williams <dcbw@redhat.com>
17413
17414         * po/POTFILES.in
17415                 - Update with new translatables
17416
17417 2005-03-31  Dan Williams <dcbw@redhat.com>
17418
17419         * panel-applet/NMWirelessAppletDbus.c
17420                 - Fix device names now that hal has changed device parenting for
17421                         network devices.
17422
17423 2005-03-31  Dan Williams <dcbw@redhat.com>
17424
17425         Tighten up handling of wireless devices that don't support wireless
17426         scanning (ie, Orinoco).  Due to restructuring of code, these devices
17427         hadn't been doing pseudo-scanning for a while either and would just
17428         spin waiting for an access point.  They are now manual devices where
17429         the user must choose the access point from the menu every time.  All
17430         "allowed" access points are listed in the applet's menu regardless
17431         of whether or not they can be seen by the card, since it can't scan
17432         anyway.
17433
17434         * src/NetworkManager.c
17435                 - (nm_wireless_link_state_handle): new function, but only update
17436                         the "best" ap for non-scanning devices when its not activating,
17437                         and when no device is being forced on the card
17438                 - (nm_link_state_monitor): split wireless link state handling out
17439                         into separate function
17440
17441         * src/NetworkManagerDevice.c
17442                 - (nm_device_copy_allowed_to_dev_list): new function
17443                 - (nm_device_new): populate non-scanning cards' AP lists with
17444                         access points from the "allowed" list
17445                 - (nm_device_new): don't start a scanning timeout for devices that
17446                         can't scan
17447                 - (nm_device_activation_schedule_finish): new parameter, should be
17448                         the AP that failed to be connected to, pass it on to the
17449                         activation finish function in NetworkManagerPolicy.c
17450                 - (nm_device_activate_wireless): don't ever try to get a new AP
17451                         for non-scanning devices, just fail.  The user must choose
17452                         a new access point manually.
17453                 - (nm_device_activate): grab the AP that failed connection and
17454                         pass it on
17455                 - (nm_device_update_best_ap): Clear the best AP if we don't have
17456                         a link to it, user must manually choose a new one
17457                 - (nm_device_do_pseudo_scan): remove function
17458                 - (nm_device_wireless_process_scan_results): remove bits for non-
17459                         scanning cards since they never get here
17460                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17461                         and fake the scan list for test devices a bit earlier
17462
17463         * src/NetworkManagerPolicy.c
17464                 - (nm_policy_activation_finish): use the failed_ap that we get
17465                         passed rather than getting the best_ap from the card, which
17466                         may have changed since we were scheduled
17467                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17468                         update their scan list directly from the allowed list when
17469                         we get updates to the allowed list from NetworkManagerInfo
17470
17471         * src/NetworkManagerPolicy.h
17472                 - New member for failed access point in NMActivationResult
17473
17474   -------------------------------------
17475
17476         Driver Notification patch: notifies the user when their driver
17477                 sucks.  Gives them the option to ignore further insertions
17478                 of the card that has the sucky driver.
17479
17480         * NetworkManager.h
17481                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17482                         enum and replace it with NO_CARRIER_DETECT and
17483                         NO_WIRELESS_SCAN
17484
17485         * panel-applet/NMWirelessApplet.[ch]
17486                 - Merge essid.glade -> wireless-applet.glade
17487                 - Implement the "Your driver sucks" notification dialog
17488
17489         * panel-applet/NMWirelessAppletDbus.c
17490                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17491                 - Grab hardware address for each device from NM too
17492                 - Check whether the driver for each device sucks or not whenever
17493                         a new device is noticed
17494
17495         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17496                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17497
17498         * src/NetworkManager.c
17499                 - Fix a double-unref on device removal
17500
17501         * src/NetworkManagerUtils.c
17502                 - Set appropriate driver support level on a device that doesn't
17503                         support scanning or carrier detection
17504
17505         * src/nm-dbus-device.c
17506                 - New "getHWAddress" dbus method on devices
17507                 - getSupportsCarrierDetect -> getDriverSupportLevel
17508
17509 2005-03-31  Dan Williams <dcbw@redhat.com>
17510
17511         * src/NetworkManagerDevice.c
17512                 - (nm_device_wireless_scan): Fix leak of scan results in some
17513                         instances
17514
17515 2005-03-29  Dan Williams <dcbw@redhat.com>
17516
17517         * src/NetworkManager.c
17518                 - (nm_poll_and_update_wireless_link_state): make code less indented
17519
17520         Patch from Bill Moss:
17521         * src/NetworkManager.c
17522                 - (nm_device_update_link_state): Update signal strength on wireless
17523                         devices every time we update link state too.
17524
17525 2005-03-29  Dan Williams <dcbw@redhat.com>
17526
17527         * src/NetworkManagerDevice.c
17528                 - (nm_device_set_essid): Work around Orinoco cards which need
17529                         extra time after setting the ESSID
17530
17531 2005-03-29  Dan Williams <dcbw@redhat.com>
17532
17533         * src/NetworkManagerDevice.c
17534                 - Merge one more bit of Peter Jones' completion patch
17535
17536 2005-03-29  Dan Williams <dcbw@redhat.com>
17537
17538         * src/NetworkManagerDevice.c
17539                 - (nm_device_force_use): Fix possible segfault
17540
17541 2005-03-29  Dan Williams <dcbw@redhat.com>
17542
17543         * src/NetworkManagerDevice.c
17544                 - Use iw_get_ext() where we should rather than iw_set_ext()
17545
17546 2005-03-29  Dan Williams <dcbw@redhat.com>
17547
17548         * src/NetworkManagerDevice.c
17549                 - (nm_device_set_up_down): remove check for unsupported devices
17550                         that caused NM to not bring devices up when they were
17551                         added to the device list.
17552
17553 2005-03-28  Dan Williams <dcbw@redhat.com>
17554
17555         * src/NetworkManagerDevice.c
17556                 - (mdio_read): Fix two bugs that caused all devices to fail
17557                         the MII carrier detection support checks
17558
17559 2005-03-26  Dan Williams <dcbw@redhat.com>
17560
17561         * src/NetworkManagerDevice.c
17562                 - (nm_device_wireless_scan): Remove duplicated scanning code
17563
17564 2005-03-25  Dan Williams <dcbw@redhat.com>
17565
17566         * panel-applet/NMWirelessApplet.c
17567                 - (nmwa_about_cb): Add some more contributors
17568                 - (nmwa_update_state): show the applet when there's no connection
17569                 - Enable the "Stop/Resume all wireless devices" option in the
17570                         context menu
17571                 - New "no connection" icon
17572
17573         * src/NetworkManager.c
17574                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17575                         wireless is disabled or we're asleep
17576
17577         * src/NetworkManagerDHCP.c
17578                 - Remove trailing "\n" on debug messages
17579
17580         * src/NetworkManagerDbus.c
17581                 - (nm_dbus_network_status_from_data): new state "asleep"
17582
17583         * src/NetworkManagerDevice.c
17584                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17585                         latency and wait times for most operations
17586                 - (nm_device_wireless_scan): Don't scan when asleep
17587
17588         * src/NetworkManagerPolicy.c
17589                 - (nm_policy_get_best_device): return no device when asleep
17590                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17591                         for all wireless devices on update, not just active device
17592
17593         * src/NetworkManagerUtils.c
17594                 - Merge Peter Jones' "completion" patch
17595
17596         * src/nm-dbus-nm.c
17597                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17598                         we're told to disable them
17599                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17600
17601         * utils/nm-utils.h
17602                 - New variants of the warn/info/error/debug print functions that can take
17603                         variables rather than static strings
17604
17605 2005-03-24  Dan Williams <dcbw@redhat.com>
17606
17607         * src/NetworkManagerUtils.c
17608                 - (nm_get_device_driver_name): driver names are now on the parents of
17609                         "Network Interface" objects, so look for them there
17610
17611 2005-03-24  Dan Williams <dcbw@redhat.com>
17612
17613         * test/nmtest.c
17614                 - Escape some forgotten object paths before we shove them through dbus
17615
17616 2005-03-24  Dan Williams <dcbw@redhat.com>
17617
17618         * dhcpcd/dhcpcd.[ch]
17619           src/NetworkManagerDHCP.c
17620                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17621                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17622
17623         * src/NetworkManagerDbus.c
17624                 - spacing cleanups
17625
17626         * src/nm-dbus-dhcp.c
17627                 - Make the API suck less.  There is now only 1 type of each function,
17628                         ie only "getInteger" and no longer also "getIntegerv".  All types
17629                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17630                         that will never have more than 1 element.  This should simplify
17631                         things greatly.
17632
17633         * test/nm-dhcp-opt-test.c
17634                 - Make the tool not segfault
17635                 - adapt to new DHCP Options API
17636
17637 2005-03-22  Dan Williams <dcbw@redhat.com>
17638
17639         * src/NetworkManager.c
17640                 - (nm_wired_link_deactivated): actually ignore netlink events from
17641                         wireless devices.
17642
17643 2005-03-22  Dan Williams <dcbw@redhat.com>
17644
17645         * src/NetworkManager.c
17646                 - (nm_wired_link_activated): actually ignore netlink events from
17647                         wireless devices.
17648
17649 2005-03-17  Dan Williams <dcbw@redhat.com>
17650
17651         Patch from Tom Parker:
17652         * src/nm-netlink-monitor.c
17653                 - Include unistd.h
17654         * info-daemon/NetworkManagerInfoDbus.c
17655                 - (nmi_dbus_update_network_auth_method): free GConf values
17656
17657         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17658         * src/NetworkManagerDevice.c
17659                 - (nm_device_set_wireless_config): wait for successful
17660                         association longer for some cards (Atheros a/b/g)
17661
17662 2005-03-15  Ray Strode  <rstrode@redhat.com>
17663
17664         * src/NetworkManager.c:
17665         (sigterm_pipe_handler):
17666         remove bogus FIXME
17667
17668 2005-03-15  Ray Strode  <rstrode@redhat.com>
17669
17670         * src/NetworkManagerDbus.c:
17671         Fix some sign weirdness that gcc4 doesn't like,
17672         and add a header file so PPC can hopefully find
17673         SIGTRAP
17674
17675 2005-03-14  Ray Strode  <rstrode@redhat.com>
17676         
17677         Fourth (probably working) cut at porting to
17678         dbus 0.30 api and new hal. This cut adds
17679         some new logging macros to make debugging
17680         easier.
17681
17682         * dispatcher-daemon/NetworkManagerDispatcher.c:
17683         * info-daemon/NetworkmanagerInfo.c:
17684         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17685         * info-daemon/NetworkManagerInfoVPN.c:
17686         * src/NetworkManager.c:
17687         * src/NetworkManagerAP.c:
17688         * src/NetworkManagerAPList.c:
17689         * src/NetworkManagerDHCP.c:
17690         * src/NetworkManagerDbus.c:
17691         * src/NetworkManagerDevice.c:
17692         * src/NetworkManagerPolicy.c:
17693         * src/NetworkManagerSystem.c:
17694         * src/NetworkManagerUtils.c:
17695         * src/NetworkManagerWireless.c:
17696         * src/autoip.c:
17697         * src/nm-dbus-nm.c:
17698         * src/backends/NetworkManagerDebian.c:
17699         * src/backends/NetworkManagerGentoo.c:
17700         * src/backends/NetworkManagerRedHat.c:
17701         * src/backends/NetworkManagerSlackware.c:
17702         use new logging macros.
17703
17704         * dispatcher-daemon/NetworkManagerDispatcher.c:
17705         (nmd_dbus_filter): s/dbus_free/g_free/
17706
17707         * info-daemon/Makefile.am: link in utils library.
17708         * info-daemon/NetworkmanagerInfo.c: use new logging 
17709         macros.
17710         (nmi_dbus_get_network): don't assume enumerations
17711         are 32-bit.
17712         (nmi_dbus_nmi_message_handler): don't free what 
17713         doesn't belong to us.
17714
17715         * libnm_glib/libnm_glib.c:
17716         (libnm_glib_get_nm_status): 
17717         (libnm_glib_init): don't free what doesn't
17718         belong to us.
17719         (libnm_glib_dbus): strdup result, so it doesn't get
17720         lost when message is unref'd.
17721
17722         * panel-applet/NMWirelessAppletDbus.c:
17723         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17724
17725         * src/NetworkManager.c:
17726         (nm_monitor_wired_link_state): request initial status 
17727         dump of all cards when we start up, instead of relying
17728         on /sys/.../carrier.
17729         (nm_info_handler), (nm_set_up_log_handlers): 
17730         log handlers to specify what syslog priorites 
17731         the logging macros default to.
17732
17733         * src/NetworkManagerAPList.c: 
17734         (nm_ap_list_populate_from_nmi):
17735         s/dbus_free_string_array/g_strfreev/
17736
17737         * src/NetworkManagerDbus.c:
17738         (nm_dbus_get_network_object):
17739         validate d-bus message argument types.
17740         Advance message iterator after reading argument,
17741         prepend instead of append to GSList.
17742
17743         * src/NetworkManagerDevice.c:
17744         (nm_device_probe_wired_link_status):
17745         remove redundant /sys in /sys path. remove wrong
17746         contents == NULL means has carrier assumption.
17747
17748         * src/nm-netlink-monitor.c 
17749         (nm_netlink_monitor_request_status): implement
17750         function to ask kernel to dump interface link
17751         status over netlink socket.
17752
17753         * test/*.c: s/dbus_free/g_free/
17754
17755         * utils/nm-utils.h:
17756         (nm_print_backtrace): new macro to print backtrace.
17757         (nm_get_timestamp): new macro to get sub-second precise
17758         unix timestamp.
17759         (nm_info), (nm_debug), (nm_warning), (nm_error):
17760         new logging functions. nm_info just prints,
17761         nm_debug includes timestamp and function,
17762         nm_warning includes function, nm_error includes
17763         backtrace and sigtrap.
17764
17765 2005-03-11  Ray Strode  <rstrode@redhat.com>
17766
17767         Third (unfinished, partially working) cut at porting to 
17768         dbus 0.30 api and new hal.
17769
17770         * info-daemon/NetworkManagerInfoDbus.c:
17771                 don't free null arrays.
17772
17773         * panel-applet/NMWirelessAppletDbus.c: 
17774         * src/nm-dbus-device.c:
17775         * src/nm-dbus-net.c: 
17776         * src/NetworkManagerDbus.c: more 
17777         STRING -> OBJECT_PATH fun
17778         * src/NetworkManagerDevice.c:
17779         * src/NetworkManagerDevice.h:
17780         (rename nm_device_get_link_active): rename to 
17781         nm_device_has_active_link
17782         (nm_device_wireless_link_active): rename to
17783         nm_device_probe_wireless_link_state
17784         (nm_device_wired_link_active): rename to
17785         nm_device_probe_wired_link_state.  Rewrite to
17786         use carrier file since hal doesn't maintain
17787         link state anymore.
17788         (nm_device_update_link_active): rename to
17789         nm_device_update_link_state
17790         * src/NetworkManagerPolicy.c 
17791           (nm_policy_activation_finish): check for NULL
17792           MAC address.
17793
17794         * src/Makefile.am:
17795         * src/NetworkManagerMain.h: 
17796         * src/NetworkManager.c:
17797         * src/nm-netlink-monitor.c:
17798         * src/nm-netlink-monitor.h: New class to support
17799         monitoring wired ethernet link status, since HAL
17800         doesn't export that information anymore.
17801
17802 2005-03-09  Ray Strode  <rstrode@redhat.com>
17803
17804         Second (unfinished, unworking) cut at porting to 
17805         dbus 0.30 api.
17806
17807         * dispatcher-daemon/NetworkManagerDispatcher.c:
17808         * info-daemon/NetworkManagerInfoDbus.c:
17809         * panel-applet/NMWirelessAppletDbus.c:
17810         * src/NetworkManagerDbusUtils.c:
17811         * src/NetworkManagerDbusUtils.h:
17812         * src/nm-dbus-device.c:
17813         * src/nm-dbus-nm.c:
17814         * test/nmtest.c: support dbus "object path" type
17815
17816         * configure.in: 
17817         * Makefile.am:
17818         * info-daemon/Makefile.am:
17819         * libnm_glib/Makefile.am:
17820         * panel-applet/Makefile.am:
17821         * dispatcher-daemon/Makefile.am
17822         * src/Makefile.am:
17823         * test/Makefile.am:
17824         * utils/Makefile.am: 
17825         * utils/nm-utils.c: 
17826         * utils/nm-utils.h: new utils static lib
17827
17828 2005-03-07  Ray Strode  <rstrode@redhat.com>
17829
17830         * info-daemon/NetworkManagerInfoDbus.c:
17831         * libnm_glib/libnm_glib.c:
17832         * panel-applet/NMWirelessAppletDbus.c:
17833         * src/NetworkManager.c:
17834         * src/NetworkManagerDbus.c:
17835         * src/NetworkManagerDevice.c:
17836         * src/NetworkManagerUtils.c:
17837         * src/nm-dbus-device.c:
17838         * src/nm-dbus-dhcp.c:
17839         * src/nm-dbus-net.c:
17840         * src/nm-dbus-nm.c:
17841         * test/nminfotest.c:
17842         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17843
17844 2005-03-04  Dan Williams  <dcbw@redhat.com>
17845
17846         * configure.in
17847                 - Mark HEAD as 0.4
17848
17849 2005-03-04  Dan Williams  <dcbw@redhat.com>
17850
17851         Patch from Peter Jones:
17852         - Make stuff work with gcc 4.0
17853
17854 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
17855
17856         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17857
17858 2005-02-27  Jim Huang  <jserv@kaffe.org>
17859
17860         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17861
17862 2005-02-27  Dan Williams  <dcbw@redhat.com>
17863
17864         Patch from Bill Moss:
17865         * panel-applet/NMWirelessAppletDbus.c
17866                 - Make sure strength for current access point is up-to-date when we
17867                         update the gui data model
17868
17869 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
17870
17871         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17872
17873 2005-02-27  Dan Williams  <dcbw@redhat.com>
17874
17875         * src/backends/NetworkManagerRedHat.c
17876                 - (nm_system_init): Kill any dhclient processes lying around as well
17877                         as stopping 'nifd' if its already been started.  NetworkManager
17878                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
17879
17880 2005-02-27  Dan Williams  <dcbw@redhat.com>
17881
17882         * panel-applet/NMWirelessApplet.c
17883                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17884                         dbus data model, not the GUI data model twice.
17885
17886 2005-02-27  Dan Williams  <dcbw@redhat.com>
17887
17888         * panel-applet/NMWirelessApplet.[ch]
17889           panel-applet/NMWirelessAppletDbus.[ch]
17890                 - Move to incremental network updates.  Instead of blowing away our list
17891                         of devices every time we get a signal from NetworkManager, we now
17892                         incrementally add/remove networks when NetworkManager notifies us that
17893                         a new network has appeared or disappered.  Strength updates now happen
17894                         on-the-fly for each access point as well.  There are now two copies of
17895                         data from NetworkManager: one for the dbus side, and one for the gui side.
17896                         When the dbus side data is modified, it is copied over to the gui side
17897                         so we don't have to hold the data_mutex for long periods of time (and
17898                         therefore block animation of the applet's icon).
17899                 - Clean up some memleaks too
17900
17901         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17902                 - Minor code beautification
17903
17904         * src/NetworkManagerAPList.c
17905                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17906                         completely new and whether or not an existing one's strength was updated.
17907                         Try to fix multiple access points and signal strength by using the highest
17908                         signal strength in each scan for any given ESSID.
17909
17910         * src/NetworkManagerDbus.[ch]
17911                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17912                         wireless networks; now we have only WirelessNetworkUpdate which includes
17913                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17914                 - Kill usage of DbusMessageIter
17915
17916         * src/NetworkManagerDevice.c
17917                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17918                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
17919                         AP rather than all-at-once.  Also don't ever remove the AP a card is
17920                         currently associated with from the network list.
17921                 - Update for new signals during scan, send out Appeared, Disappeared, or
17922                         StrengthChanged when necessary.
17923
17924 2005-02-25  Dan Williams  <dcbw@redhat.com>
17925
17926         * README
17927                 - Line break the README
17928
17929 2005-02-25  Dan Williams  <dcbw@redhat.com>
17930
17931         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17932                 - Remove usage of gtk_window_set_default_size()
17933
17934         * panel-applet/essid.glade
17935                 - Stick default size here
17936                 - Add in random crap that current glade wants to add in now
17937
17938 2005-02-25  Dan Williams  <dcbw@redhat.com>
17939
17940         * src/backends/NetworkManagerRedHat.c
17941                 - For non-caching-nameserver/non-named case, ensure that nscd is running
17942                         and that we actually tell nscd to reload the hosts cache when it changes
17943
17944 2005-02-25  Dan Williams  <dcbw@redhat.com>
17945
17946         * info-daemon/NetworkManagerInfoDbus.c
17947                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17948
17949         * test/nminfotest.c
17950                 - Whack usage of DbusMessageIter
17951                 - Clean up DbusError and DbusMessage handling and freeing
17952                 - Remove unused unregister handler
17953
17954         * test/nmtest.c
17955                 - Whack usage of DbusMessageIter
17956
17957         * test/nmtestdevices.c
17958                 - Whack usage of DbusMessageIter
17959
17960 2005-02-25  Dan Williams  <dcbw@redhat.com>
17961
17962         * NetworkManager.h
17963                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17964                         signal
17965
17966 2005-02-25  Dan Williams  <dcbw@redhat.com>
17967
17968         * named/nm-named-manager.c
17969                 - Ensure that pid and watch variables for child named process get cleared out
17970                         when the child goes away.
17971
17972 2005-02-22  Dan Williams  <dcbw@redhat.com>
17973
17974         * src/NetworkManagerPolicy.c
17975                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17976                         and NULL out data->active_device so that we have to choose another one.
17977                         This may make NetworkManager keep attempting to connect to a wired network
17978                         if it fails, but if it keeps failing the wired network has more problems than
17979                         just NetworkManager.
17980
17981         * src/backends/NetworkManagerRedHat.c
17982                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17983                         is already running
17984
17985         * named/nm-named-manager.c
17986                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17987                         named so that the distro can flush whatever name service caching
17988                         daemon it uses
17989
17990 2005-02-21  Dan Williams  <dcbw@redhat.com>
17991
17992         * src/NetworkManagerDHCP.[ch]
17993                 - (nm_device_dhcp_remove_timeouts): new function
17994
17995         * src/NetworkManagerDevice.c
17996                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17997                         remove the DHCP timeouts.
17998
17999 2005-02-21  Dan Williams  <dcbw@redhat.com>
18000
18001         * panel-applet/NMWirelessApplet.[ch]
18002           panel-applet/menu-info.[ch]
18003                 - Give the panel applet some major love: menu items are no longer
18004                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
18005                         This allows the applet to actually reflect theme changes correctly,
18006                         since themeing of subclassed items in GTK _sucks_.
18007
18008 2005-02-18  Dan Williams  <dcbw@redhat.com>
18009
18010         * libnm_glib/libnm_glib.[ch]
18011           test/libnm_glib_test.c
18012                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
18013                         and its data, and doesn't have to free the callback data anymore
18014
18015 2005-02-18  Dan Williams  <dcbw@redhat.com>
18016
18017         * panel-applet/NMWirelessApplet.c
18018                 - Revert 2005-02-18 William Jon McCann fix for standard
18019                         copyright string until it passes 'make distcheck'.
18020                         With standard copyright string, xgettext complains
18021                         about "Non-ASCII string at ...".
18022
18023 2005-02-18  Dan Williams  <dcbw@redhat.com>
18024
18025         * panel-applet/essid.glade
18026           panel-applet/NMWirelessAppletOtherNetworksDialog.c
18027                 - Correct spelling of "adaptor"->"adapter"
18028
18029 2005-02-18  William Jon McCann  <mccann@jhu.edu>
18030
18031         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
18032         (nmwa_about_cb): Use standard copyright string.  Update comment
18033         text to reflect that it is a notification area applet.  Remove
18034         leading newline in authors list.
18035         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
18036         instead of on parent menu item activation.  Fixes #167550.
18037
18038 2005-02-18  William Jon McCann  <mccann@jhu.edu>
18039
18040         * panel-applet/essid.glade: Capitalize items as per HIG.
18041           Fixes #167632
18042
18043 2005-02-16  William Jon McCann  <mccann@jhu.edu>
18044
18045         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
18046         files for GTK 2.4 or lower, since now public in GTK 2.6.
18047
18048         * panel-applet/essid.glade: Don't specify window size.
18049         
18050 2005-02-17  Dan Williams  <dcbw@redhat.com>
18051
18052         Caught by Bill Moss:
18053         * dhcpcd/client.c
18054                 - Time remaining for DHCP transaction calculation was incorrectly
18055                         inside a #ifdef DEBUG
18056
18057 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
18058
18059         * configure.in: Added fr (French) to ALL_LINGUAS.
18060
18061 2005-02-14  Dan Williams  <dcbw@redhat.com>
18062
18063         * src/NetworkManagerDHCP.c
18064                 - (set_domain_searches): Fix free of invalid pointer
18065
18066 2005-02-14  Dan Williams  <dcbw@redhat.com>
18067
18068         Patch from Peter Jones:
18069         * dhcpcd/client.c
18070                 - Ensure we return RET_DHCP_CEASED everywhere we should
18071         * dhcpcd/udpipgen.c
18072                 - Use faster TOS for IP packets
18073                 - Don't set ip_id since we're UDP
18074
18075         Patch from Tomislav Vujec:
18076         * src/nm-dbus-dhcp.c
18077           test/nm-dhcp-opt-test.c
18078                 - Clean up warnings to enable cvs tree compilation.
18079
18080 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
18081
18082         * configure.in
18083           po/hr.po
18084                 - Add the Croatian locale.
18085
18086 2005-02-14  Colin Walters  <walters@verbum.org>
18087
18088         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18089         list of domains to search.
18090         
18091         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18092
18093 2005-02-13  Dan Williams  <dcbw@redhat.com>
18094
18095         * dhcpcd/client.c
18096                 - Debug output cleanups of DHCP option printing and parsing.
18097
18098 2005-02-13  Dan Williams  <dcbw@redhat.com>
18099
18100         Patch from Dan Reed:  DHCP options D-BUS API
18101                 Exposes the DHCP options that a device receives to clients over D-BUS.
18102
18103         * configure.in
18104                 - A few cleanups
18105
18106         * dhcpcd/client.h
18107                 - Correct names, option length, and types for DHCP options
18108
18109         * dhcpcd/dhcpcd.[ch]
18110                 - Clarify function names that access DHCP options & data
18111
18112         * src/NetworkManagerDHCP.c
18113                 - Use new DHCP data access functions
18114
18115         * src/NetworkManagerDbus.c
18116                 - Message handler for DHCP functions
18117
18118         * src/nm-dbus-dhcp.[ch] (new)
18119                 - DHCP dbus methods
18120
18121         * test/nm-dhcp-opt-test.c
18122                 - Test DHCP D-BUS API and return all present DHCP options
18123
18124 2005-02-12  Dan Williams  <dcbw@redhat.com>
18125
18126         * test/Makefile.am
18127           test/nmclienttest.c
18128           test/nmtest.c
18129                 - Move nmclienttest.c -> nmtest.c
18130
18131 2005-02-12  Dan Williams  <dcbw@redhat.com>
18132
18133         * dhcpcd/buildmsg.c
18134                 - Pad DHCP packets until they are at least 300 bytes in size.
18135
18136 2005-02-11  Dan Williams  <dcbw@redhat.com>
18137
18138         * dhcpcd/client.c
18139                 - (dhcp_init): only print out client ID and class ID if they are specified
18140
18141         * src/NetworkManagerDbus.[ch]
18142           src/nm-dbus-nm.[ch]
18143           src/nm-dbus-device.[ch]
18144           src/nm-dbus-net.[ch]
18145                 - Move NM, Device, and Net functions to separate files and use the
18146                         dbus method list stuff in NetworkManagerDbusUtils.c to do
18147                         method dispatching
18148
18149         * src/NetworkManagerDbusUtils.c
18150                 - Add new validate_method called before each dispatch (if present)
18151                         that can validate the method call
18152
18153         * src/NetworkManagerWireless.c
18154                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18155                         levels never to be evaluated
18156
18157         Patch from j@bootlab.org
18158         * src/NetworkManagerDevice.c
18159                 - Add typedef for "u64"
18160
18161         * src/backends/NetworkManagerDebian.c
18162                 - Copy in Dave Woodhouse's fixes for IPv6
18163
18164 2005-02-11  Dan Williams  <dcbw@redhat.com>
18165
18166         Patch from Dave Woodhouse for IPv6:
18167         * src/NetworkManagerUtils.c
18168                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18169                         and multicast addresses
18170
18171         * src/NetworkManagerDevice.c
18172                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18173                         after bringing up a card.
18174
18175 2005-02-10  Dan Williams  <dcbw@redhat.com>
18176
18177         Patch from Dave Woodhouse:
18178         * src/NetworkManagerSystem.h
18179           src/backends/NetworkManagerDebian.c
18180           src/backends/NetworkManagerGentoo.c
18181           src/backends/NetworkManagerSlackware.c
18182                 - New nm_system_device_add_ip6_link_address() function to add link-local
18183                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
18184
18185         * src/backends/NetworkManagerRedHat.c
18186                 - (nm_system_device_add_ip6_link_address): implement
18187                 - (nm_system_device_flush_addresses): revert to previous behavior of
18188                         flushing all addresses
18189
18190 2005-02-10  Dan Williams  <dcbw@redhat.com>
18191
18192         Patch from Tom Parker:
18193         * src/NetworkManagerDevice.c
18194                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18195                         mii.h headers are broken, and instead use our own typedefs
18196
18197 2005-02-10  Dan Williams  <dcbw@redhat.com>
18198
18199         * dhcpcd/buildmsg.c
18200                 - (fill_host_and_class_id): only fill in client and class IDs if
18201                         they are set by callers.
18202
18203         * dhcpcd/client.c
18204                 - (class_id_setup): don't autogenerate a class ID, only use one
18205                         we're given, if any.
18206                 - (client_id_setup): don't autogenerate a client ID, only use one
18207                         we're given, if any.
18208
18209         * dhcpcd/dhcpcd.c
18210                 - (dhcp_interface_init): ensure that client options are correctly
18211                         NULL terminated
18212
18213         * src/NetworkManagerDHCP.c
18214                 - (nm_device_dhcp_request): pass hostname to dhcp library
18215
18216 2005-02-10  Dan Williams  <dcbw@redhat.com>
18217
18218         * dhcpcd/client.c
18219                 - #rh147661# Don't send kernel version in DHCP requests
18220
18221         * src/NetworkManagerSystem.h
18222           src/backends/NetworkManagerDebian.c
18223           src/backends/NetworkManagerGentoo.c
18224           src/backends/NetworkManagerRedHat.c
18225           src/backends/NetworkManagerSlackware.c
18226                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18227                         functions, they are no longer used anyway
18228
18229         * src/backends/NetworkManagerRedHat.c
18230                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18231                         addresses in an attempt to keep IPv6 local-scope addresses around
18232
18233 2005-02-10  Dan Williams  <dcbw@redhat.com>
18234
18235         * src/NetworkManager.c
18236                 - (nm_create_device_and_add_to_list): change the add message slightly
18237
18238         * src/NetworkManagerUtils.c
18239                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18240                         Return driver name to calling function
18241                 - (nm_get_driver_support_level): print out the driver a device is using
18242                         during the support check
18243
18244         Patch from Dave Woodhouse:
18245         * dhcpcd/udpipgen.c
18246                 - (in_cksum): copy last byte of odd-sized packets into a
18247                         'u_short' rather than a 'u_char', should fix wrong checksums
18248                         on big-endian platforms
18249
18250 2005-02-09  Dan Williams  <dcbw@redhat.com>
18251
18252         * Clean up usage of GSList objects and looping through their members
18253         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18254                 now.
18255         * Fix problem where even if scanning was turned off, card would still
18256                 cycle through frequencies.
18257
18258 2005-02-08  Dan Williams  <dcbw@redhat.com>
18259
18260         * panel-applet/NMWirelessApplet.c
18261                 - Fix for gtk 2.4
18262
18263 2005-02-08  Dan Williams  <dcbw@redhat.com>
18264
18265         Patch from Bill Moss
18266         * panel-applet/NMWirelessApplet.c
18267                 - Restore correct ESSID in tooltips
18268
18269 2005-02-07  Dan Williams  <dcbw@redhat.com>
18270
18271         * panel-applet/NMWirelessApplet.[ch]
18272                 - Add a context menu that contains:
18273                         Pause/Resume Wireless Scanning
18274                         Stop/Start All Wireless Devices
18275                         About...
18276                 - Grab active device strength off active device,
18277                         not its network
18278
18279         * panel-applet/NMWirelessAppletDbus.[ch]
18280                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18281                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18282                 - Update active device strength every 2 seconds, not every 1 second
18283
18284         * panel-applet/menu-info.c
18285                 - Only disable wired devices in the menu when they support carrier detection,
18286                         and don't currently have a link.  Non-carrier-detect devices will always
18287                         remain choosable
18288
18289         * src/Makefile.am
18290           src/NetworkManagerDbusUtils.[ch]
18291                 - Add new new dbus utils sources
18292
18293         * src/NetworkManager.c
18294                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18295                         with the boolean parameter
18296                 - Set scanning_enabled & wireless_enabled to TRUE
18297
18298         * src/NetworkManagerDbus.c
18299                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18300                 - Implement scanning & wireless enable/disable calls
18301                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18302
18303         * src/NetworkManagerDevice.c
18304                 - New link detection stuff again...
18305                         o  Create device's mainloop earlier (but don't run it earlier)
18306                         o  Hook up new carrier-detect support stuff
18307                         o  Add in the ethtool & mii support detection code
18308                 - Don't scan if scanning is disabled
18309
18310         * src/NetworkManagerPolicy.c
18311                 - Never automatically choose a device that doesn't support carrier detection
18312                 - Don't automatically choose a wireless device if wireless is disabled
18313
18314 2005-02-07  Dan Williams  <dcbw@redhat.com>
18315
18316         * libnm_glib/libnm_glib.c
18317                 - Small cleanup in element list iteration
18318
18319 2005-02-07  Dan Williams  <dcbw@redhat.com>
18320
18321         * src/NetworkManagerWireless.c
18322                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18323                         to be in line with the WEXT quality specification
18324
18325 2005-02-02  Dan Williams  <dcbw@redhat.com>
18326
18327         Patch from Nathan Fredrickson <nathan@silverorange.com>
18328         * Fix up compile for deprecation of libgnomeui
18329                 - Switch to <glib/gi18n.h> from <libintl.h>
18330                 - Remove <libgnomeui/libgnomeui.h> includes
18331                 - Use gtk_window_set_default_icon_from_file() rather than
18332                         gnome_window_set_default_icon_from_file()
18333
18334         * named/nm-named-manager.c
18335                 - (generate_named_conf): Fix return-nothing in non-void
18336                         function
18337
18338 2005-02-02  Dan Williams  <dcbw@redhat.com>
18339
18340         * Clean up unused variables and the like
18341
18342 2005-02-02  Dan Williams  <dcbw@redhat.com>
18343
18344         * src/NetworkManagerAPList.c
18345                 - (nm_ap_list_merge_scanned_ap): merge strength too
18346
18347         * src/NetworkManagerUtils.c
18348                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18349                         of locking issues by printing out prettier information than g_mutex_lock
18350                 - Print out names of mutexes registered with nm_register_mutex_desc()
18351                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18352                         us to seemingly block here for too long
18353
18354         * src/NetworkManager.c
18355           src/NetworkManagerAPList.c
18356           src/NetworkManagerDevice.c
18357                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18358                         so we get better debug information printed
18359
18360         * src/NetworkManagerDbus.c
18361                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18362                         since it sometimes has locking side effects
18363                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18364                         from 10s
18365                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18366                         we don't need a switch.  This gets called often enough that we can't block
18367                         until the scan mutex is acquired, because we'll block on device activation
18368                         and a few other things, which hangs main thread for too long.
18369
18370         * src/NetworkManagerPolicy.c
18371                 - (nm_policy_auto_get_best_device): reduce the possiblity that
18372                         nm_device_need_ap_switch() will be called               
18373
18374 2005-02-02  Dan Williams  <dcbw@redhat.com>
18375
18376         * panel-applet/NMWirelessApplet.c
18377                 - Display name of wireless network we are connecting to or connected to
18378                         in the tooltip of the applet
18379
18380 2005-02-02  Dan Williams  <dcbw@redhat.com>
18381
18382         * src/NetworkManagerDHCP.c
18383                 - Hopefully fix double-default-route problem by cleaning up the default
18384                         route added by DHCP code right before the DHCP transaction begins
18385
18386 2005-02-02  Dan Williams  <dcbw@redhat.com>
18387
18388         * named/nm-named-manager.c
18389                 - Write out valid resolv.conf when we exit
18390
18391 2005-02-01  Dan Williams  <dcbw@redhat.com>
18392
18393         Patch from Colin Walters:
18394         * named/nm-named-manager.c
18395                 - Make multi-domain search options work
18396
18397 2005-01-31  Dan Williams  <dcbw@redhat.com>
18398
18399         * info-daemon/NetworkManagerInfoDbus.c
18400                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18401
18402         * src/NetworkManagerDevice.c
18403                 - (nm_device_new): Don't store the entire range struct, use only what we need
18404                         (which is currently avg_quality, max_quality, and frequencies).  Also
18405                         zero device structure when we've free'd it to maybe expose errors down
18406                         the line.
18407                 - (nm_device_update_signal_strength): grab the scan mutex before getting
18408                         quality data from the card since quality will be useless during a scan.
18409                         Call updated wireless qual-to-percent function with values stored in
18410                         nm_device_new() earlier.
18411                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18412                         nm_device_get_bad_crypt_packets())
18413                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18414                         nm_device_new()
18415                 - (get_initial_auth_method): always use the Auth method that's in the allowed
18416                         list if available.  Problem was this: when the WEP key is wrong, NM will
18417                         try OS then SK modes, and then get stuck in SK mode after that.  This
18418                         should reset it.
18419                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18420                         function
18421
18422         * src/NetworkManagerWireless.c
18423                 - (nm_wireless_qual_to_percent): try to make this function actually work and
18424                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
18425                         if that's all present, otherwise fall back to signal-to-noise ratios.
18426
18427 2005-01-29  Dan Williams  <dcbw@redhat.com>
18428
18429         * initscript/RedHat/NetworkManager
18430                 - Don't spit out sysctl stuff to console
18431
18432         * libnm_glib/libnm_glib.c
18433                 - (libnm_glib_init): call dbus_g_thread_init()
18434
18435         * panel-applet/NMWirelessAppletDbus.c
18436                 - (nmwa_dbus_worker): call dbus_g_thread_init()
18437
18438         * src/NetworkManager.c
18439                 - (main): call dbus_g_thread_init()
18440
18441         * src/NetworkManagerAPList.c
18442                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18443                         so we can actually see what's there in a normal syslog
18444
18445         * src/NetworkManagerDevice.c
18446                 - (nm_device_activate_wireless): print out the "waiting for access point"
18447                         message only once, then say what access point we actually got after
18448                         the wait.
18449                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18450                         function, wait until the scan is done.  Scans may change the ESSID of
18451                         the card, making this function think we need to switch access points
18452                 - (nm_device_wireless_process_scan_results): for artificial access points
18453                         don't check against the card's ESSID, but the best_ap's ESSID.  This
18454                         prevents collisions with the scanning code, which may change the card's
18455                         ESSID and cause the access point to get dropped from the device's AP
18456                         list.  Also increase the keep-around time to 2m from 60s since the max
18457                         scan interval could be 60s in some cases.
18458
18459         * src/NetworkManagerPolicy.c
18460                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18461                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18462                         the new properties and ESSIDs to the device's AP list.  Fixes some races
18463                         between NM and NMI.
18464
18465 2005-01-27  Dan Williams  <dcbw@redhat.com>
18466
18467         * info-daemon/NetworkManagerInfoDbus.c
18468                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18469                         GConf, make a minimal entry for it (essid & timestamp)
18470
18471         * src/NetworkManagerAPList.c
18472                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18473                         NetworkManagerInfo isn't running
18474
18475         * src/NetworkManagerDbus.[ch]
18476                 - (nm_dbus_nmi_is_running): new function
18477
18478         * src/NetworkManagerDevice.c
18479                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18480                         address to garbage.
18481
18482         * src/NetworkManagerPolicy.c
18483                 - (nm_policy_activation_finish): On successful activation, make sure
18484                         the "best" AP has a MAC address, and don't tell NMI to add the
18485                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18486                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18487                         access point after refreshing our allowed list if it doesn't already
18488                         have a "best" access point.
18489
18490 2005-01-25  Dan Williams  <dcbw@redhat.com>
18491
18492         * panel-applet/NMWirelessAppletDbus.c
18493                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18494                         so we check for NM_DBUS_SERVICE rather than not for it
18495
18496         * libnm_glib/libnm_glib.c
18497                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18498                         ServiceOwnerChanged signal
18499
18500 2005-01-25  Dan Williams  <dcbw@redhat.com>
18501
18502         * configure.in
18503                 - Check DBUS version in configure, and set the C macros
18504                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18505
18506         * info-daemon/NetworkManagerInfoDbus.c
18507                 - Remove #if 0-d section of code that quit NMI if NM went away.
18508
18509         * panel-applet/NMWirelessAppletDbus.c
18510                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18511
18512         * src/NetworkManager.c
18513           src/NetworkManagerMain.h
18514           src/NetworkManagerDbus.c
18515                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18516                 - Make updating of our Allowed Wireless Network lists from NMI
18517                         an idle function in the main thread now, with a high priority.
18518
18519 2005-01-24  Dan Williams  <dcbw@redhat.com>
18520
18521         * panel-applet/gtkcellview.[ch]
18522           panel-applet/menu-info.c
18523                 - Fix GTK version checks to be <= rather than <
18524
18525         * test/Makefile.am
18526                 - Include the libtool archive of libnm_glib rather than
18527                         trying to pull in the .so
18528
18529 2005-01-24  Dan Williams  <dcbw@redhat.com>
18530
18531         * src/NetworkManagerDevice.c
18532           src/NetworkManagerDevicePrivate.h
18533                 - Block nm_device_new() until our device's worker thread has had a
18534                         chance to start up.  Fixes a race between main thread and worker
18535                         thread starting that caused activation requests to get lost.
18536
18537 2005-01-24  Dan Williams  <dcbw@redhat.com>
18538
18539         * initscript/RedHat/NetworkManager
18540                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18541                         to add the NM startup script at priority 50, which was
18542                         way too early
18543
18544 2005-01-24  Colin Walters  <walters@redhat.com>
18545
18546         * named/named.conf: Use any port for query source instead of
18547         restricting to port 53.
18548
18549 2005-01-24  Dan Williams  <dcbw@redhat.com>
18550
18551         * initscript/RedHat/NetworkManager
18552                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18553                         to add the NM startup script at priority 50, which was
18554                         way too early
18555
18556 2005-01-24  Dan Williams  <dcbw@redhat.com>
18557
18558         Patch from Tom Parker <palfrey@tevp.net>
18559         * Fix up compile warnings & errors in the wireless applet
18560
18561 2005-01-24  Dan Williams  <dcbw@redhat.com>
18562
18563         * panel-applet/NMWirelessApplet.c
18564                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18565
18566 2005-01-24  Dan Williams  <dcbw@redhat.com>
18567
18568         * panel-applet/gtkcellview.[ch]
18569                 - Only compile these files for GTK 2.4 or lower, since 
18570                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18571                         when choosing "Other Wireless Networks" from the panel
18572                         applet menu
18573
18574 2005-01-21  Dan Williams  <dcbw@redhat.com>
18575
18576         * src/NetworkManager.c
18577                 - Daemonize earlier so that glib doesn't get confused (?)
18578
18579 2005-01-21  Dan Williams  <dcbw@redhat.com>
18580
18581         * panel-applet/NMWirelessApplet.[ch]
18582           panel-applet/NMWirelessAppletDbus.c
18583           panel-applet/menu-info.c
18584           src/NetworkManagerDevice.c
18585                 - Disable wired devices in the menu when they have no link.
18586
18587 2005-01-21  Dan Williams  <dcbw@redhat.com>
18588
18589         * Cache last-known-good wireless authentication method in
18590                 NetworkManagerInfo, and use that method first during
18591                 wireless device activation.  Should speed up devices that
18592                 need Shared Key authentication method since Open System is
18593                 now the default.
18594
18595         * Remove the hack to not do full activation on wired connections
18596                 that are active when we launch, it causes too many problems
18597                 with name resolution and was a hack in the first place.
18598
18599         * Re-work wireless device activation again somewhat to have a
18600                 clearer chain of events and to use last-known-good
18601                 authentication method of the access point.  Also provide
18602                 better status throughout activation to ensure the applet
18603                 can tell the user exactly what's going on.
18604
18605         * Remove the "find wireless network" code and now simply attempt
18606                 to activate with that access point.  This reduces the delay
18607                 between selecting "Other wireless Network" and actually
18608                 connecting to that network.
18609
18610         * Correctly stop the device's worker thread when its removed.
18611
18612 2005-01-21  Dan Williams  <dcbw@redhat.com>
18613
18614         * dhcpcd/client.c
18615                 - Clean up some of the debug messages
18616
18617 2005-01-21  Dan Williams  <dcbw@redhat.com>
18618
18619         * Add new icons, more frames of animation
18620         * Remove some hacks to get the panel applet to display correct
18621                 status, an NM update will soon follow that will fix the
18622                 real issue.
18623
18624 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18625
18626         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18627         the first include for working i18n. Also, don't include it in .h files
18628         * panel-applet/NMWirelessApplet.h: Same
18629         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18630         * panel-applet/menu-info.c: Same
18631
18632 2005-01-18  Dan Williams <dcbw@redhat.com>
18633
18634         * dhcpcd/client.c
18635                 - Remove some debug messages
18636                 - Wrap others in #ifdef DEBUG/#endif
18637
18638         * src/NetworkManager.c
18639                 - Remove some debug messages
18640                 - Clarify some debug messages
18641                 - Remove code related to old single-thread wireless scanning
18642
18643         * src/NetworkManagerAP.[ch]
18644                 - New AP property "last_seen" to track how recently an AP was
18645                         found in a scan
18646                 - Start using 'const' more in function arguments
18647
18648         * src/NetworkManagerAPList.[ch]
18649                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18650                         of an AP found in an AP list from a source AP, or if not found
18651                         in the list add the source AP
18652                 - (nm_ap_list_combine): remove, no longer needed
18653
18654         * src/NetworkManagerDevice.c
18655                 - Each device now has a "worker" thread from start to end of its life.
18656                         Scanning for wireless devices now happens in that thread,
18657                         not in a single "wireless scanning thread" for all devices as
18658                         previously.  Activation consists of adding an idle handler to the
18659                         thread's main loop/context, which gets run at the next available
18660                         opportunity.
18661                 - Wireless scanning is also simplified, there is now only one list of
18662                         access points per wireless device, and APs older than 60s are
18663                         removed from the list.  Previously, we kept results for the last
18664                         3 scans and merged whole lists, which was complicated.
18665                 - Cleaned up activation debug messages.
18666                 - Wireless activation and access-point search routines now use Open System
18667                         authentication before trying Shared Key.
18668                 - Removed some code in nm_device_update_best_ap() that could cause cards
18669                         to loose their link to the access point.
18670                 - Scanning now uses a backoff algorithm, where the inverval becomes
18671                         progressively longer between scans when the list of scanned access
18672                         points doesn't change.  A change will revert to the shortest scan
18673                         interval (20s).
18674
18675         * src/NetworkManagerWireless.[ch]
18676                 - Remove code related to old single-thread wireless scanning
18677
18678 2005-01-18  Colin Walters  <walters@redhat.com>
18679
18680         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18681         of older nameservers.
18682
18683 2005-01-18  Colin Walters  <walters@redhat.com>
18684
18685         * named/nm-named-manager.c (generate_named_conf): Many fixes
18686         to config file generation.
18687         (safer_kill): Remove, was too much trouble for little gain.
18688         (nm_named_manager_start): Run named as NM_NAMED_USER.
18689
18690         * configure.in: Add option --with-named-user.
18691
18692 2005-01-14  Colin Walters  <walters@redhat.com>
18693
18694         Patch from ed@catmur.co.uk (Ed Catmur)
18695
18696         * named/nm-named-manager.c: Add "context" property.
18697         Use it to add child watch source in specific GMainContext.
18698
18699         * src/NetworkManager.c (nm_data_new): Initialize
18700         named with correct main context.  Start named only
18701         after forking.
18702
18703 2005-01-14  Colin Walters  <walters@redhat.com>
18704
18705         * named/nm-named-manager.c (generate_named_conf): Write config
18706         and pid files into NM_NAMED_DATA_DIR; this allows things to
18707         work better with FC3 named SELinux policy.  Also fix up silly
18708         format error.
18709
18710         * configure.in: Add --with-named-dir option.
18711
18712 2005-01-14  Colin Walters  <walters@redhat.com>
18713
18714         * configure.in: Make named support require passing --with-named.
18715
18716         * named/nm-named-manager.c: Support writing resolv.conf directly
18717         without running named.
18718
18719 2005-01-13  Dan Williams <dcbw@redhat.com>
18720
18721         * named/nm-named-manager.c
18722                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18723
18724         * src/NetworkManagerDevice.c
18725                 - Rework wireless link detection code to be more reliable
18726
18727 2005-01-12  Dan Williams <dcbw@redhat.com>
18728
18729         * initscripts/RedHat/NetworkManager
18730                 - Change initial level to "-" rather than "345" so that
18731                         we don't activate ourselves by default on install
18732
18733 2005-01-12  Dan Williams <dcbw@redhat.com>
18734
18735         * libnm_glib/
18736                 - Client library for applications using glib
18737
18738         * configure.in
18739           various Makefiles
18740                 - Split NM_CFLAGS and NM_LIBS into separate variables
18741                         like DBUS_*, HAL_* and GLIB_*
18742
18743         * src/NetworkManager.c
18744           src/NetworkManagerMain.h
18745                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18746                         broadcast a status changed signal over DBUS from the main thread.
18747                         Still unused anywhere for the moment.
18748
18749         Patch from j@bootlab.org
18750         * panel_applet/NMWirelessAppletDbus.c
18751           src/NetworkManagerDbus.c
18752                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18753                         for the "getMode" method call
18754
18755 2005-01-10  Dan Williams <dcbw@redhat.com>
18756
18757         * src/NetworkManagerDevice.c
18758                 - Minor fixups & corrections to "auto" frequency mode, make it
18759                         less chatty with syslog
18760
18761 2005-01-10  Dan Williams <dcbw@redhat.com>
18762
18763         * src/NetworkManagerDevice.c
18764                 - Implement "auto" frequency/channel support, since cards like Atheros
18765                         can't use other frequencies at all when you've told it to use a
18766                         specific one, even for scanning.
18767                 - Grab the scan mutex around places where we can't tolerate wireless
18768                         settings changing underneath us, like nm_device_wireless_network_exists()
18769                         and nm_device_activate_wireless()
18770
18771         * src/NetworkManagerWireless.c
18772                 - Back scan interval off to 20s instead of 14s
18773
18774 2005-01-09  Dan Williams <dcbw@redhat.com>
18775
18776         * src/NetworkManagerDevice.c
18777                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18778                         already set.  Stops some drivers like Atmel from continually
18779                         reloading the firmware, which they do upon every configuration
18780                         change.
18781
18782 2005-01-09  Dan Williams <dcbw@redhat.com>
18783
18784         * dhcpcd/client.c
18785                 - Use correct timeout value
18786
18787         * info-daemon/NetworkManagerInfoDbus.c
18788           src/NetworkManagerDbus.c
18789                 - Consolidate communication between NM and NMI by doing only 1 dbus
18790                         method call to get Wireless Network info from NMI instead of 6
18791
18792         * src/NetworkManager.c
18793                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18794                         when we didn't have an AP to use, we'd wait for one forever without
18795                         quitting
18796
18797         * src/NetworkManagerDevice.c
18798                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18799                         activation, dhcp might not have started yet but we don't quit activation
18800                         before starting it, so the quit signal gets lost
18801
18802 2005-01-07  Dan Williams <dcbw@redhat.com>
18803
18804         * dhcpcd/client.c
18805                 - Rework the DHCP client code to be much less chatty when
18806                         it receives non-DHCP UDP packets during the DHCP run
18807                         (reported by and preliminary patches from Bill Moss)
18808
18809         * Move wireless scanning to a separate thread.  This thread forwards the
18810                 results to the main thread when done where they are integrated into
18811                 the device's access point lists.  This keeps the main thread (which
18812                 does all the DBUS communication) from being blocked for long periods
18813                 of time by wireless scanning.
18814
18815         * Make state modification an idle routine in the main loop, and trigger
18816                 state changes rather than polling for them.
18817
18818         * src/backends/NetworkManagerGentoo.c
18819                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18820
18821         * src/NetworkManagerDevice.c
18822                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18823                         router advertisements, causing problems and infinite loop
18824                         during "best" device determination due to link going up/down
18825                         (reported by Bill Moss)
18826
18827         Apply patch from Peter Jones
18828         * src/NetworkManagerDevice.c
18829                 - Shortcut for link-checking for ipw2x00 cards
18830                 - Split out association check into separate routine
18831
18832 2004-01-05  Colin Walters  <walters@redhat.com>
18833
18834         * named/named.conf: Add PID_FILE.
18835
18836         * named/nm-named-manager.c: Always generate a pid
18837         file, since older BIND versions don't support
18838         "pid-file none".
18839
18840 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18841
18842         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18843
18844 2004-12-22  Dan Williams <dcbw@redhat.com>
18845
18846         * src/NetworkManagerDevice.c
18847                 - Silently fail when setting bitrate doesn't work
18848
18849
18850         Patches from j@bootlab.org:
18851         * src/backends/NetworkManagerDebian
18852                 - Update backend to match functionality in RedHat backend
18853         * src/NetworkManagerDevice.c
18854                 - Take down then bring up wired devices after connection so
18855                 they send out ipv6 router advertisements
18856
18857 2004-12-21  Colin Walters  <walters@verbum.org>
18858
18859         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18860         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18861
18862 2004-12-21  Colin Walters  <walters@redhat.com>
18863
18864         * configure.in: Correct named detection.
18865
18866 2004-12-21  Colin Walters  <walters@redhat.com>
18867
18868         * src/NetworkManager.c (nm_data_new): Initialize named.
18869         Also, set up a signal handler for SIGINT/SIGTERM, and exit
18870         the mainloop when these signals are received.
18871         (nm_data_free): Unref named.
18872         (sigterm_handler, sigterm_pipe_handler): New functions for
18873         exiting mainloop.
18874         
18875         * src/NetworkManagerMain.h (NMData): Add signal handling and
18876         nameserver bits.
18877
18878         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18879         unref.
18880
18881         * src/NetworkManagerDHCP.c (set_nameservers): New function;
18882         set nameservers from DHCP response data.
18883         (set_domain_search): Set domain search from DHCP response.
18884         (nm_device_dhcp_configure): Invoke them.
18885
18886         * src/NetworkManagerSystem.c
18887         (nm_system_device_update_resolv_conf): Delete.  Deleting
18888         code is totally sweet.
18889
18890         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18891
18892         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18893         implements an object which controls a nameserver.  Currently
18894         uses bind 9.
18895
18896         * configure.in: Check for named.
18897
18898         * Makefile.am (SUBDIRS): Add named dir.
18899
18900         * named/named.conf: New template config file.
18901
18902 2004-12-20  Colin Walters  <walters@redhat.com>
18903
18904         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18905         instead of '='.
18906
18907 2004-12-17  Dan Williams  <dcbw@redhat.com>
18908
18909         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
18910                 link-local addresses instead of doing DHCP.
18911
18912         * In the panel applet, there's a new "Create new Wireless Network..." item
18913
18914         * The panel applet also sticks around now even if NetworkManager dies, but
18915                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
18916                 a bug, I'll fix that later.
18917
18918         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18919                 lookups after a switch rather than actually doing them.
18920
18921         * Clean up some of those warnings in nm_ap_list_* functions
18922
18923         * Delay between scans changed to 15s instead of 10s
18924
18925 2004-12-15  Dan Williams  <dcbw@redhat.com>
18926
18927         Patch from Tom Parker
18928         * Add autoip/Link Local Addressing support when we fail to get a DHCP
18929                 address
18930
18931         * Longer pause after setting ESSID on cards that support a larger number
18932                 of channels to give the card time to find the right channel
18933
18934         * Add system hook to restart mDNSResponder (or whatever the local implementation
18935                 of Multicast DNS is) when we activate interfaces
18936
18937 2004-12-15  Dan Williams  <dcbw@redhat.com>
18938
18939         * Rework the DHCP code again to revert to sending full ethernet frames
18940                 rather then relying on the kernel to do the right thing with our
18941                 packets.
18942
18943 2004-12-06  Dan Williams  <dcbw@redhat.com>
18944
18945         * dhcpcd/client.c
18946                 - Fix some minor errors in dhcp_handle_transaction() that caused
18947                         unexpected early timeouts of DHCP transactions
18948
18949         * dhcpcd/client.h
18950                 - DHCP retransmit time from 4s -> 5s
18951
18952 2004-12-05  Dan Williams  <dcbw@redhat.com>
18953
18954         * Major rework of the DHCP code, taking some cues from pump.  We don't
18955                 write raw Ethernet packets anymore, which simplifies the code quite
18956                 a bit.  The new code should be more robust, not hang in recvfrom()
18957                 as much, and generally work better.  This also means that we need
18958                 to force HAL/dbus to use a created GMainContext rather than the
18959                 default context, since having the DHCP renew/rebind thread using
18960                 its own GMainContext seemed to give dbus a fit.  There is also more
18961                 debugging information printed from the DHCP loop to help with future
18962                 problems.
18963
18964         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18965                 assume that the default gateway should be the DHCP server.
18966
18967         Patch from Matthew Schick <matt oss-institute org>
18968         * src/backends/NetworkManagerGentoo.c
18969                 - Fix compilation error due to missing "ip4_broadcast"
18970
18971 2004-12-03  Dan Williams  <dcbw@redhat.com>
18972
18973         * initscript/Makefile.am
18974         * initscript/Debian/NetworkManager
18975         * initscript/Gentoo/NetworkManager
18976         * initscript/RedHat/NetworkManager
18977         * initscript/NMLaunchHelper.c
18978                 - Remove NMLaunchHelper, if you need to wait until the network
18979                         comes up, use the dead code from CVS.
18980
18981 2004-12-01  Colin Walters  <walters@redhat.com>
18982         
18983         * configure.in: Suck in gcc warnings code from Rhythmbox,
18984         but use fewer default flags, and in particular add -Wno-unused,
18985         since the codebase has a lot of unused variables.
18986
18987         * test/nmtestdevices.c (create_device): 
18988         * test/nminfotest.c (get_network_string_property) 
18989         (get_networks_of_type): 
18990         * test/nmclienttest.c (main): 
18991         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
18992         * initscript/NMLaunchHelper.c (get_nm_status): 
18993         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
18994         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
18995         Fix declarations after statements.
18996
18997 2004-12-01  Colin Walters  <walters@redhat.com>
18998
18999         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
19000         (nmi_dbus_get_vpn_userpass): New method.
19001         (nmi_dbus_nmi_message_handler): Invoke it.
19002
19003         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
19004
19005         * info-daemon/NetworkManagerInfoVPN.h,
19006         info-daemon/NetworkManagerInfoVPN.c: New files; responds
19007         to requests for VPN passwords.
19008
19009         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
19010
19011 2004-12-01  Colin Walters  <walters@redhat.com>
19012
19013         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
19014         includes.
19015
19016 2004-12-01  Colin Walters  <walters@redhat.com>
19017
19018         * panel-applet/NMWirelessAppletDbus.c
19019         (nmwa_dbus_update_active_device_strength): Fix missing
19020         return value.
19021
19022 2004-12-01  Colin Walters  <walters@redhat.com>
19023
19024         * panel-applet/NMWirelessApplet.c: Add missing include.
19025
19026 2004-12-01  Colin Walters  <walters@redhat.com>
19027
19028         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
19029         Remove useless CLAMP (); the value is unsigned, and the case tests
19030         qual->qual < 100, so the value must always be between 0 and 100.
19031
19032 2004-12-01  Colin Walters  <walters@redhat.com>
19033
19034         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
19035
19036 2004-11-22  Colin Walters  <walters@verbum.org>
19037
19038         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
19039         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
19040         which is essentially a noop since nscd caches hosts on disk too.
19041         
19042 2004-11-22  Colin Walters  <walters@redhat.com>
19043
19044         * src/Makefile.am (NetworkManager_SOURCES): Add
19045         NetworkManagerDevicePrivate.h.
19046
19047 2004-11-22  Dan Williams <dcbw@redhat.com>
19048
19049         * src/NetworkManagerDevicePrivate.h
19050                 - Split out the NMDevice struct to a different file so that stuff like
19051                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
19052
19053         * dhcpcd/client.c
19054                 - fprintf->syslog
19055                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
19056                         need to cancel the dhcp request during the send and recv
19057
19058         * dhcpcd/client.h
19059                 - Move the DHCP option enum to dhcpcd.h
19060
19061         * src/NetworkManagerDHCP.c
19062                 - Split out the actual IP/netmask/etc setting code
19063                 - New Renew/Rebind functions
19064                 - New timer setup function for renew/rebind operations
19065
19066         * src/NetworkManagerDevice.c
19067                 - For device activation, if we are using DHCP then keep the activation thread
19068                         alive until device deactivation.  We need to renew/rebind the DHCP address
19069                         after the T1 (renew) and T2 (rebind) times have expired.
19070                 - Increase some timeouts after bringing wireless cards up/down
19071
19072 2004-11-17  Dan Williams <dcbw@redhat.com>
19073
19074         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19075                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
19076                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
19077                 show known access points that don't broadcast their ESSID in the menus without
19078                 any user intervention whatsoever.
19079
19080         * info-daemon/NetworkManagerInfoDbus.c
19081                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19082                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19083
19084         * src/NetworkManagerAP.[ch]
19085                 - Add a "user_addresses" data member to the NMAccessPoint structure
19086                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19087                         the user_addresses data member
19088
19089         * src/NetworkManagerAPList.c
19090                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19091                         the AP's reported address
19092                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19093
19094         * src/NetworkManagerDHCP.c
19095                 - Increase DHCP timeout from 25s -> 30s
19096
19097         * src/NetworkManagerDbus.[ch]
19098                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19099                         user addresses
19100
19101         * src/NetworkManagerDevice.c
19102                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19103                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
19104                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19105                         So, we take the card down to clear it out.
19106                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19107                         too, since that's where the user_addresses are
19108
19109         * src/NetworkManagerPolicy.c
19110                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19111                         that wireless networks' user_addresses list upon successful activation
19112
19113 2004-11-16  Dan Williams <dcbw@redhat.com>
19114
19115         * src/NetworkManagerDevice.[ch]
19116                 - (nm_device_clear_activation_fail): new function
19117
19118         * src/NetworkManagerPolicy.c
19119                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19120                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19121
19122 2004-11-16  Dan Williams <dcbw@redhat.com>
19123
19124         * src/NetworkManagerDevice.c
19125                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19126                         leak the structure, better updating of now_scanning status
19127                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19128
19129 2004-11-15  Dan Williams <dcbw@redhat.com>
19130
19131         Major rework of link detection code.  We now use DHCP
19132         as part of the link detection which proves to be much more robust,
19133         and also supports Open System authentication for wireless networks.
19134
19135         We no longer use external DHCP client programs.  Instead, we use 
19136         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19137         which was written by:
19138                 Yoichi Hariguchi <yoichi@fore.com>
19139                 Sergei Viznyuk <sv@phystech.com>
19140                 http://www.phystech.com/download/
19141         It resides in the "dhcpcd" directory and was refactored into a general
19142         purpose DHCP client library by me.
19143
19144         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19145         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19146
19147 2004-11-15  Dan Williams <dcbw@redhat.com>
19148
19149         Patch from Tom Parker <palfrey@tevp.net>:
19150
19151         * src/NetworkManagerDevice.c
19152                 - Less output to console when no access
19153                         points are found during a scan
19154
19155 2004-11-15  Dan Williams <dcbw@redhat.com>
19156
19157         Patch from Tom Parker <palfrey@tevp.net>:
19158
19159         * src/backends/interface_parser.c
19160                 - Use g_strdup ()
19161                 - Check for inp == NULL
19162                 - use syslog ()
19163
19164 2004-11-13  Colin Walters  <walters@redhat.com>
19165
19166         Patch from Tom Parker <palfrey@tevp.net>:
19167
19168         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19169         
19170         * src/backends/NetworkManagerRedHat.c: Switch to
19171         including shvar.h instead of shvar.c.
19172
19173         * src/backends/NetworkManagerDebian.c: Don't include
19174         interface_parser.c in source file.
19175
19176         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19177         and interface_parser.[ch].
19178         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19179         Include shvar.c and shvar.h here.
19180         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19181         interface_parser.c and interface_parser.h here.
19182
19183 2004-11-12  Colin Walters  <walters@redhat.com>
19184
19185         * configure.in: Strip out TARGET_DISTRO and
19186         SYSTEM_BACKEND_FILE variables.  Switch to Automake
19187         conditionals.
19188
19189         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19190         (libnmbackend_la_SOURCES): Use Automake conditionals
19191         to add distro-specific files.
19192
19193         * initscript/Makefile.am (SUBDIRS): Update to
19194         use conditionals.
19195
19196 2004-11-12  Colin Walters  <walters@redhat.com>
19197
19198         Patches from j bootlab org
19199
19200         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
19201         Add interface_parser.[ch].
19202
19203         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19204         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19205
19206 2004-11-12  Colin Walters  <walters@redhat.com>
19207
19208         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19209         call to nmi_dbus_is_running too, not necessary anymore.
19210         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19211         pick up exit().
19212
19213 2004-11-11  Colin Walters  <walters@verbum.org>
19214
19215         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19216         Delete.
19217         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19218         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19219         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19220         This avoids a race condition that made it pretty easily
19221         possible to get two NetworkManagerInfo daemons running.
19222
19223 2004-11-11  Colin Walters  <walters@verbum.org>
19224         
19225         * src/NetworkManager.c (main): Use daemon(3).
19226
19227         * info-daemon/NetworkManagerInfo.c (main): Ditto.
19228
19229         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19230
19231 2004-11-10 Dan Williams <dcbw@redhat.com>
19232
19233         Patches from j bootlab org
19234         * src/NetworkManagerDevice.c
19235                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19236                         whether the card has a link or not, some cards are slow
19237                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19238
19239         * info-daemon/NetworkManagerInfoPassphraseDialog.c
19240                 - Disable the "Login" button on the passphrase dialog until the user
19241                         enters a valid passphrase or key
19242
19243         Patches from Tom Parker <palfrey tevp net>
19244         * src/backends/NetworkManagerDebian.c
19245                 - Add static IP support to the debian backend
19246
19247         * src/backends/interface_parser.[ch]
19248                 - Parse debian interface config files
19249
19250 2004-11-08 Dan Williams <dcbw@redhat.com>
19251
19252         * src/NetworkManagerDevice.c
19253                 - Some random fprintf->syslog conversions
19254                 - (nm_device_wireless_network_exists): double-check for network
19255                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19256
19257         * src/NetworkManagerWireless.[ch]
19258                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19259                         so that the binary->ascii conversion works (if unsigned, the bitshift
19260                         will fill with zeros, which is what's required).  Also mask bitshift
19261                         result with 0xF for futher assurance.
19262
19263 2004-11-06 Dan Williams <dcbw@redhat.com>
19264
19265         * src/NetworkManagerUtils.c
19266                 - (nm_get_wireless_driver_support_level): default to
19267                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19268                         flip this when changing from whitelist->blacklist of
19269                         wireless drivers
19270
19271 2004-11-05 Dan Williams <dcbw@redhat.com>
19272
19273         Patch from Robert Paskowitz:
19274         * src/backends/NetworkManagerGentoo.c
19275                 - Update static IP config code
19276
19277 2004-11-05 Dan Williams <dcbw@redhat.com>
19278
19279         * info-daemon/NetworkManagerInfoDbus.c
19280           src/NetworkManagerDbus.[ch]
19281           src/NetworkManagerDevice.c
19282                 - Keep track of the # of attempts to get the WEP key
19283                         from the user and pass that along to the info daemon
19284
19285 2004-11-05 Dan Williams <dcbw@redhat.com>
19286
19287         * src/NetworkManagerUtils.c
19288                 - Blacklist wireless cards rather than whitelisting them.
19289                 - Grab driver name from HAL rather than trying to find it
19290                         ourselves.
19291
19292 2004-11-03 Dan Williams <dcbw@redhat.com>
19293
19294         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19295                 - Disable OK button until valid data is entered
19296                         for encryption stuff too
19297
19298         * panel-applet/NMWirelessApplet.c
19299                 - Report card strength for current AP if the card
19300                         doesn't report strength data for scanned access
19301                         points
19302
19303         * src/NetworkManagerDevice.c
19304                 - Smooth out cards reported quality, Atmel card was
19305                         intermittently reporting no quality data but soon
19306                         recovers
19307
19308         * src/NetworkManagerWireless.c
19309                 - Better quality data percentage calculation.  Atmel
19310                         cards (mine at least) seem to report the quality
19311                         in percentage format already, so honor that
19312
19313         Patch from <j@bootlab.org>
19314         * NetworkManager.h
19315           info-daemon/NetworkManagerInfoPassphraseDialog.c
19316           info-daemon/passphrase.glade
19317           panel-applet/NMWirelessAppletOtherNetworkDialog.c
19318           panel-applet/essid.glade
19319           src/NetworkManagerAP.c
19320           src/NetworkManagerDevice.c
19321           src/NetworkManagerWireless.[ch]
19322                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19323
19324 2004-11-03 Dan Williams <dcbw@redhat.com>
19325
19326         * src/NetworkManagerDevice.[ch]
19327                 - (nm_device_set_enc_key): Add parameter to set Authentication
19328                         Mode (Open System, Shared Key, or None).  We're still using
19329                         Shared Key for now though.
19330
19331 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
19332
19333         * panel-applet/menu-info.c: change from bold text to light
19334         colored, may cause problems with some themes, i've tested a lot
19335         and they seem fine. 
19336
19337         * panel-applet/NMWirelessApplet.c: fix strength tooltip
19338
19339 2004-11-01  Colin Walters  <walters@verbum.org>
19340
19341         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19342         (nm_wireless_128bit_key_from_passphrase): Add const.
19343
19344         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19345         (nm_ap_set_enc_key_source): Add const.
19346         
19347 2004-11-01  Colin Walters  <walters@verbum.org>
19348
19349         * .cvsignore: Update.
19350
19351 2004-10-29 Dan Williams <dcbw@redhat.com>
19352
19353         * src/NetworkManagerDevice.c
19354                 - (nm_device_wireless_network_exists): Actually use the encryption
19355                         key we got from the applet when attempting to find a wireless network
19356                 - Don't bring devices down so much since on some cards it triggers
19357                         firmware hotplugs each time
19358
19359         * src/NetworkManagerDbus.c
19360                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19361                         from the caller
19362
19363 2004-10-29 Dan Williams <dcbw@redhat.com>
19364
19365         * src/NetworkManager.c
19366                 - (nm_hal_device_property_modified): unlock a locked active
19367                         wireless device when a wired connection gets a link.
19368                         (Means you'll switch to wired whenever you plug in no
19369                         matter what).
19370
19371 2004-10-29 Dan Williams <dcbw@redhat.com>
19372
19373         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19374                 - New files, implement the "Other wireless network" dialog
19375
19376         * panel-applet/NMWirelessApplet.c
19377                 - Move "other wireless network" dialog to separate file
19378
19379         * panel-applet/NMWirelessAppletDbus.[ch]
19380                 - Take key and key_type paramaters for the set_device function
19381
19382         * panel-applet/essid.glade
19383                 - Add UI bits for encryption settings
19384
19385         * src/NetworkManagerDbus.c
19386                 - Retrieve key and key_type params for "setActiveDevice" method call
19387                         and pass them on
19388                 - unref AP returned from nm_device_get_best_ap() when needed
19389
19390         * src/NetworkManagerDevice.c
19391                 - (nm_device_get_best_ap): ref the ap before returning it
19392                 - unref AP returned from nm_device_get_best_ap() when needed
19393                 - (nm_device_activate_wireless): add "ap" parameter so we don't
19394                         need to call nm_device_get_best_ap() here, it was pretty much
19395                         redundant anyway
19396                 - (AP_NEED_KEY): break second link check condition out into separate
19397                         function, and fix segfault when ap->enc_key_source was NULL
19398                 - (nm_device_find_and_use_essid): take key and key_type parameters and
19399                         pass them along to nm_device_wireless_network_exists().  If the
19400                         network does exist, set the passed-in key+key_type on the AP
19401
19402         * src/NetworkManagerPolicy.c
19403                 - unref AP returned from nm_device_get_best_ap() when needed
19404
19405 2004-10-28 Dan Williams <dcbw@redhat.com>
19406
19407         * src/NetworkManagerUtils.c
19408                 - (nm_spawn_process): Fix a potential dereference of NULL
19409
19410         Patches from Peter Jones:
19411
19412         * src/NetworkManagerDevice.c
19413                 - (nm_device_test_wireless_extensions): Better check for
19414                         wireless devices
19415
19416         * src/NetworkManagerUtils.c
19417                 - (nm_spawn_process): Pass in valid stdout and stderr so
19418                         executed programs don't randomly SIGPIPE and fail
19419                 - (nm_get_wired_driver_support_level): quash hal warning
19420                         when checking for USB ethernet device
19421
19422 2004-10-27 Dan Williams <dcbw@redhat.com>
19423
19424         * info-daemon/NetworkManagerInfo.c
19425           info-daemon/NetworkManagerInfoDbus.c
19426           info-daemon/NetworkManagerInfoPassphraseDialog.c
19427           panel-applet/NMWirelessApplet.c
19428                 - Properly escape gconf keys
19429
19430         * src/NetworkManager.c
19431                 - remove unused variables
19432
19433         * src/NetworkManagerAP.c
19434                 - (nm_ap_new_from_ap): Don't redundantly set new APs
19435                         refcount since it got set in nm_ap_new()
19436
19437         * src/NetworkManagerAPList.c
19438                 - (nm_ap_list_combine): Give up ownership of newly created
19439                         access points to the ap list, fixes memleak
19440
19441         * src/NetworkManagerDevice.c
19442                 - Remove cached_ap_list4 member since its not really needed
19443                 - (nm_device_wireless_network_exists): Try to get correct
19444                         encryption status of a found AP if its already in our
19445                         device list
19446                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19447                         memory allocs/deallocs a bit clearer and shorter-lived
19448
19449 2004-10-26 Ray Strode <rstrode@redhat.com>
19450
19451         * panel-applet/NMWirelessApplet.c:
19452           (custom_essid_item_selected):  kill some compiler
19453         warnings 
19454
19455 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19456
19457         * info-daemon/NetworkManagerInfoDbus.c
19458                 - (nmi_dbus_is_running): New function for determining if nmi is already running
19459                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19460
19461 2004-10-23 Dan Williams <dcbw@redhat.com>
19462
19463         * info-daemon/NetworkManagerInfoDbus.c
19464                 - Trap the "DeviceActivationFailed" signal
19465
19466         * docs/NetworkManager DBUS API.txt
19467                 - Add "DeviceActivationFailed" signal
19468
19469         * panel-applet/NMWirelessAppletDbus.c
19470                 - Quash the "NetworkManager service not available" message
19471
19472         * src/NetworkManagerDbus.[ch]
19473                 - Add the "DeviceActivationFailed" signal
19474
19475         * src/NetworkManagerDevice.c
19476                 - Add support for activation_failed flag
19477                 - Fix deadlock where activation thread didn't clean itself up, making
19478                         main thread still believe it was alive forever (didn't reset activation
19479                         flags like activating, just_activated, etc when IP configuration
19480                         failed)
19481
19482         * src/NetworkManagerPolicy.c
19483                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19484                         for wireless networks, try to fall back to some other access point
19485
19486 2004-10-23 Dan Williams <dcbw@redhat.com>
19487
19488         * panel-applet/NMWirelessApplet.[ch]
19489                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19490                         to the applet object, so we can get tooltips
19491                 - Add tooltips (RH #136866)
19492
19493         * src/NetworkManagerDevice.c
19494                 - When trying to find a wireless network, try to connect with encryption
19495                         turned on first, so that we can more accurately detect whether or not
19496                         we need to use encryption for the actual association later on
19497
19498 2004-10-21 Dan Williams <dcbw@redhat.com>
19499
19500         * Add some support for telling NetworkManagerInfo to tell the user
19501                 that they are using a device that's not fully supported
19502
19503         * Fix some assertions in debug messages due to null access point args
19504
19505 2004-10-21 Dan Williams <dcbw@redhat.com>
19506
19507         * src/NetworkManagerDevice.c
19508                 - Don't try to activate/bring up/down unsupported
19509                         devices
19510
19511         * src/NetworkManagerUtils.c
19512                 - Fix case of PCI ID checks for driver support levels
19513
19514 2004-10-21 Dan Williams <dcbw@redhat.com>
19515
19516         * NetworkManager.h
19517                 - New file, now contains commonly used structures and bits
19518                         for the dbus API of NetworkManager
19519
19520         * Makefile.am
19521                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19522
19523         * src/NetworkManager.h
19524                 - Rename -> src/NetworkManagerMain.c
19525
19526         * Various fixups all around to use NetworkManager.h and new
19527                 src/NetworkManagerMain.h, remove redundant bits that got
19528                 moved into NetworkManager.h
19529
19530         * src/NetworkManagerDevice.[ch]
19531           src/NetworkManagerUtils.[ch]
19532           src/NetworkManagerPolicy.c
19533           src/NetworkManagerDbus.c
19534                 - Whitelist wireless drivers, and blacklist some wired
19535                         drivers.  Also blacklist cipsec and ethernet-over-usb
19536                         devices at this time (RH #135722, RH #135648)
19537                 - Don't leak unsupported devices out over dbus, or allow
19538                         them to be set as the active device.  Skip over them
19539                         during automatic device picking
19540
19541         * test/nmclienttest.c
19542                 - Clean up the dbus code a lot
19543
19544 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19545
19546         * configure.in: post release bump.
19547
19548 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19549
19550         * configure.in:
19551         * NEWS: Released NetworkManager-0.3.1
19552
19553 2004-10-18 Dan Williams <dcbw@redhat.com>
19554
19555         Patches from Thom May:
19556         * test/nmtestdevices.c
19557                 - Include <string.h>
19558         * src/backends/NetworkManagerDebian.c:
19559                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19560                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19561                         Move to using g_strdup_printf rather than arbitrary buffers
19562                 - (nm_system_device_setup_static_ip4_config) Implement function.
19563                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19564
19565 2004-10-17 Dan Williams <dcbw@redhat.com>
19566
19567         * info-daemon/NetworkManagerInfoDbus.c
19568                 - Display name of network in the "network not found" dialog
19569
19570         * panel-applet/NMWirelessAppletDbus.c
19571                 - (nmwa_dbus_call_nm_method): new function replaces all other
19572                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19573                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19574                         consolidated into nmwa_dbus_get_object_name()
19575
19576 2004-10-15 Dan Williams <dcbw@redhat.com>
19577
19578         * src/NetworkManagerDbus.c
19579           info-daemon/NetworkManagerInfoDbus.c
19580                 - Display an error dialog when the user tries to use an
19581                         "Other wireless network" that's not found.
19582
19583 2004-10-15 Dan Williams <dcbw@redhat.com>
19584
19585         * panel-applet/NMWirelessApplet.[ch]
19586                 - Fix up corner cases in applet state, making it
19587                         look more responsive.  Change state to "connecting" when
19588                         the user is forcing a device too.
19589
19590 2004-10-15 Dan Williams <dcbw@redhat.com>
19591
19592         * src/NetworkManagerAPList.c
19593                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19594
19595         * src/NetworkManagerDbus.c
19596                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19597
19598         * src/NetworkManagerDevice.c
19599                 - Disown APs after the device's AP list takes ownership
19600
19601 2004-10-15 Dan Williams <dcbw@redhat.com>
19602
19603         * panel-applet/NMWirelessApplet.c
19604                 - Update our applet state from the GUI thread
19605
19606         * panel-applet/NMWirelessAppletDbus.c
19607                 - Greatly simplify the locking to make the GUI thread
19608                         smoother.  Update a private copy of the device list
19609                         and active device and only when done talking to
19610                         NetworkManager turn it over to the GUI thread.
19611
19612 2004-10-15 Dan Williams <dcbw@redhat.com>
19613
19614         * src/NetworkManagerAP.[ch]
19615                 - Add "artificial" get/set functions, set for APs that
19616                         aren't discovered as part of a scan but instead
19617                         discovered by force-setting the ESSID
19618
19619         * src/NetworkManagerDevice.[ch]
19620                 - (nm_device_wireless_network_exists): pass back whether
19621                         or not the discovered AP was encrypted.  Also, try
19622                         falling back to encrypted mode on the card if unencrypted
19623                         association doesn't work
19624                 - (nm_device_find_and_use_essid): If the network requested
19625                         did in fact exists, but it wasn't in our scan list, add
19626                         an "artificial" entry for it.  Some Cisco cards don't
19627                         see non-ESSID-broadcasting APs in their scan but can still
19628                         associate with them if you know the ESSID, this works around
19629                         that behavior
19630                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19631                         to scan if the card is currently associated with that AP
19632
19633 2004-10-15 Dan Williams <dcbw@redhat.com>
19634
19635         ---- We have a website ----
19636         http://people.redhat.com/dcbw/NetworkManager
19637
19638         Patch from Robert Paskowitz:
19639         * src/NetworkManager.c
19640                 - (main): Make sure we are run as root
19641         * src/NetworkManagerDevice.c
19642                 - Fix type in ad-hoc setting function
19643
19644         Patch from Thom May:
19645         * src/backends/NetworkManagerDebian.c
19646                 - Make Debian backend compile again
19647
19648 2004-10-14 Dan Williams <dcbw@redhat.com>
19649
19650         * Tagged NetworkManager-0_3
19651
19652 2004-10-14 Dan Williams <dcbw@redhat.com>
19653
19654         Patch from Robert Paskowitz:
19655         * NEWS
19656           src/NetworkManagerDevice.[ch]
19657           src/backends/NetworkManagerDebian.c
19658           src/backends/NetworkManagerGentoo.c
19659           src/backends/NetworkManagerRedHat.c
19660           src/backends/NetworkManagerSlackware.c
19661                 - Add support for grabbing and using a broadcast address
19662                         from system config files
19663                 - Some Gentoo backend fixes for grabbing network config
19664                 - Fix LOG_WARN->LOG_WARNING
19665
19666 2004-10-14 Dan Williams <dcbw@redhat.com>
19667
19668         * NEWS: a few small fixes in the credits
19669
19670 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19671
19672         * NEWS: prep for release.
19673
19674 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19675
19676         * panel-applet/NMWirelessAppletDbus.c
19677         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19678
19679 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19680
19681         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19682         applet->state == APPLET_STATE_NO_NM animation.
19683
19684         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19685         set the text correctly.
19686
19687 2004-10-14 Dan Williams <dcbw@redhat.com>
19688
19689         * src/NetworkManager.c
19690                 - Only accept and manager 802.3 and 802.11 devices
19691
19692         * src/NetworkManagerDbus.[ch]
19693                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19694                         logic into NetworkManagerDevice.c
19695                 - (nm_dbus_network_status_from_data): new function
19696                 - (nm_dbus_signal_network_status_change): new function, unused for now
19697                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19698
19699         * src/NetworkManagerDevice.[ch]
19700                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19701                         a random ESSID.
19702
19703 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19704
19705         * info-daemon/NetworkManagerInfo.c 
19706                 - (main): Added session management
19707
19708 2004-10-14 Dan Williams <dcbw@redhat.com>
19709
19710         * panel-applet/NMWirelessAppletDbus.[ch]
19711                 - Expose network_device_[un]ref()
19712                 - Expose wireless_network_[un]ref()
19713                 - (wireless_network_new_with_essid): new function, create and return
19714                         a wireless network with a particular essid
19715
19716         * panel-applet/NMWirelessApplet.c
19717                 - Hook up the "other network" dialog to do something
19718
19719 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19720
19721         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19722         doesn't work yet, but it looks okay.
19723
19724         * panel-applet/icons/*png: Resize to 22x22 and install in the
19725         right place.
19726
19727 2004-10-13 Dan Williams <dcbw@redhat.com>
19728
19729         * panel-applet/NMWirelessApplet.c
19730                 - Add function to print out applet_state in a readable
19731                         manner
19732
19733         * src/NetworkManager.c
19734                 - (main): Don't segfault when nm_dbus_init() fails, we had
19735                         a left-over call to hal_shutdown() into which we passed NULL
19736
19737         * src/NetworkManagerAP.c
19738                 - (nm_ap_set_essid): Allow NULL essids
19739
19740         * src/NetworkManagerAPList.[ch]
19741                 - More use of nm_ap_list_[un]lock ()
19742                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19743                         network/essid, just return nothing.  Also skip over NULL
19744                         essid access points in the list when searching
19745                 - (nm_ap_list_get_ap_by_address): new function
19746                 - (nm_ap_list_update_network): set the access point's key source to
19747                         NULL when the key returned from NetworkManagerInfo is NULL or
19748                         of 0 length
19749                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19750                         copy timestamp over too
19751                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19752                         find the correct ESSID for a blank-essid access point by searching
19753                         through another list and matching access point MAC addresses
19754                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19755
19756         * src/NetworkManagerDbus.c
19757                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19758                         may specify.  This is mainly for access points that don't
19759                         broadcast their essid.  So if the user tells us to associate with
19760                         some random ESSID that's not in our access point list, we find
19761                         out if the access point does in fact exist (by attempting association
19762                         and then matching that access point's MAC address with the essid the
19763                         user gave us) and then we switch to it.
19764                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19765                         to the returned list of networks for the "getNetworks" method
19766
19767         * src/NetworkManagerDevice.[ch]
19768                 - Extra debugging info for link detection
19769                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19770                         based on MAC address
19771                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19772                 - (nm_device_wireless_network_exists): new function, find out whether
19773                         a random ESSID exists by attempting to associate with it
19774                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19775                         device list as long as they have an AP MAC address we can use.
19776                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19777                         devices too.  Lets the applet update more frequently.
19778
19779         * src/backends/NetworkManagerGentoo.c
19780                 - Patch from: Robert Paskowitz
19781                         - Update backend code for Gentoo
19782                         - Implement nm_system_device_update_config_info ()
19783
19784         * test/nmclienttest.c
19785                 - (set_network_device): new function, takes a command-line argument
19786                         and tells NetworkManager to use that wireless network
19787
19788 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19789
19790         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19791         if the notification icon crashes 5 times within 5 seconds of each respawn 
19792
19793 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19794
19795         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19796         g_print.
19797
19798 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19799
19800         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19801
19802         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19803         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19804         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19805         Change the name of the icons.
19806
19807         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19808         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19809         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19810         (nm_menu_wireless_expose_event): Really bad hack to get the style
19811         to draw in the right color.
19812
19813 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19814
19815         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19816         Notification if it crashes
19817
19818 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19819
19820         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19821         (nmwa_dbus_get_string): remove unused functions
19822
19823         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19824         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19825         remove unused functions
19826
19827         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19828
19829 2004-10-12 Dan Williams <dcbw@redhat.com>
19830
19831         * panel-applet/NMWirelessAppletDbus.c
19832                 - New functions:
19833                         wireless_network_new
19834                         wireless_network_copy
19835                         network_device_new
19836                         network_device_copy
19837
19838         * src/NetworkManagerDevice.[ch]
19839                 - New functions:
19840                         nm_device_set_mode_managed
19841                         nm_device_set_mode_adhoc
19842                 - Use these functions where appropriate
19843                 - When creating a new wireless device, force the card
19844                         to managed/Infrastructure mode as soon as possible
19845
19846 2004-10-12 Dan Williams <dcbw@redhat.com>
19847
19848         * src/NetworkManagerDevice.c
19849                 - Force wireless cards into Infrastructure mode before we use them
19850
19851 2004-10-12 Dan Williams <dcbw@redhat.com>
19852
19853         * TODO
19854                 - Remove bit about static IP address support
19855
19856         * src/NetworkManagerUtils.c
19857                 - (nm_spawn_process): Add some error reporting
19858
19859         * src/NetworkManagerDevice.c
19860                 - (nm_device_activation_configure_ip): hook up to the static config
19861                         routines in the backends
19862
19863         * src/backends/NetworkManagerRedHat.c
19864                 - (nm_system_device_update_config_info): use shvar.c routines to
19865                         parse the config file iformation, not our own
19866                 - (nm_system_device_setup_static_ip4_config): new function, based
19867                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
19868                         with a static IP address and gateway
19869
19870         * src/backends/shvar.[ch]
19871                 - Parser (filched from initscripts package) for ifcfg-* files
19872
19873         * src/backends/NetworkManagerSystem.h
19874           src/backends/NetworkManagerGentoo.c
19875           src/backends/NetworkManagerDebian.c
19876           src/backends/NetworkManagerSlackware.c
19877                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19878
19879 2004-10-11 Dan Williams <dcbw@redhat.com>
19880
19881         * TODO
19882                 - Remove bit about more robust AP diffing since I just implemented it
19883
19884 2004-10-11 Dan Williams <dcbw@redhat.com>
19885
19886         * src/NetworkManagerAP.c
19887                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19888                         enough RAM to allocate new AP structures, but return NULL instead
19889
19890         * src/NetworkManagerAPList.[ch]
19891                 - (nm_ap_list_is_empty): new function
19892                 - (nm_ap_list_combine): new function, combine two access point lists
19893                 - (nm_ap_list_copy_keys): new function, copy keys from one list
19894                         into another
19895
19896         * src/NetworkManagerDevice.[ch]
19897                 - Rename some functions to be clearer:
19898                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19899                         nm_device_just_activated     -> nm_device_is_just_activated
19900                         nm_device_activating         -> nm_device_is_activating
19901                         nm_device_now_scanning       -> nm_device_is_scanning
19902                 - Cache the last 4 scans so that the access point list is more stable.
19903                         We combine the lastest two scans and use that as the AP list,
19904                         and diff that combined list against the combination of the earliest
19905                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19906
19907 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19908
19909         * info-daemon/NWManagerInfo.h
19910                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19911
19912         * info-daemon/NWManagerInfoDbus.c
19913                 - (shutdown_callback): new function
19914                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19915                         if NetworkManager goes away.  Kill the timeout
19916                         if NetworkManager restarts before the 30 seconds
19917                         are up.
19918                 - (nmi_dbus_service_init): 
19919                         - call gtk_main_quit if NetworkManager is not running
19920                         - add filters to monitor dbus service creations and
19921                                 deletions
19922         
19923 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19924
19925         * panel-applet/NMWirelessApplet.c
19926                 - (nmwa_update_state): Hide notification icon if we are only
19927                         showing one wired card and no wireless interfaces 
19928                         (Red Hat Bug #134895)
19929
19930         * panel-applet/NMWirelessAppletDbus.c
19931                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19932
19933         * info-daemon/NWManagerInfo.c
19934                 - (main): Terminated the notification_icon_cmd array with a NULL
19935
19936 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
19937
19938         * configure.in (ALL_LINGUAS): Added de (German).
19939
19940 2004-10-08 Dan Williams <dcbw@redaht.com>
19941
19942         * src/NetworkManagerDevice.c
19943                 - Be a bit more robust about link checking, ie make sure that
19944                         the WEP key we were given actually has some data in it
19945
19946 2004-10-08 Dan Williams <dcbw@redhat.com>
19947
19948         * info-daemon/NetworkManagerInfo.c (main):
19949                 - Initialize GError object to NULL
19950
19951 2004-10-08 Dan Williams <dcbw@redhat.com>
19952
19953         * panel-applet/NMWirelessAppletDbus.c
19954                 - Die if NetworkManagerInfo dies, since it manages our lifetime
19955
19956 2004-10-08 Dan Williams <dcbw@redhat.com>
19957
19958         * info-daemon/NetworkManagerInfo.[ch]
19959           info-dameon/NetworkManagerInfoDbus.[ch]
19960           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19961                 - Preserve original label text in the passphrase dialog so that
19962                         it actually gets updated with the new network name the next
19963                         time around.  Previously, we were overwriting it so you'd get
19964                         the wrong network name to enter a key for
19965                 - Add a "Key Type" combo to the passphrase dialog, user selects
19966                         encryption key type now, type is stored in GConf too
19967                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19968
19969         * src/NetworkManagerAP.[ch]
19970                 - Remove all the encyption method magic.  It's now set by the user
19971                         and NetworkManager retrieves the type of encryption key from
19972                         NetworkManagerInfo
19973
19974         * src/NetworkManagerAPList.[ch]
19975           src/NetworkManagerDbus.[ch]
19976                 - Adjust to new way of setting encryption key and method
19977                 - Pull encryption method down from NMI along with key
19978
19979         * src/NetworkManagerDevice.[ch]
19980                 - Removed encryption method fallback magic as the method is now
19981                         determined by the user.  This greatly simplifies the connection
19982                         logic.
19983                 - More robust connection/link logic.  Besides removing the encryption
19984                         method fallback magic, check whether or not the card is receiving
19985                         invalidly encrypted packets, which usually indicates that we have
19986                         a bad WEP key set.
19987                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19988
19989         * test/nminfotest.c
19990                 - Test out new "Key Type" stuff in the NMI passphrase dialog
19991
19992 2004-10-07 Dan Williams <dcbw@redhat.com>
19993
19994         * info-daemon/NetworkManagerInfo.conf
19995                 - Allow root user to run NMI too
19996
19997 2004-10-06 Dan Williams <dcbw@redhat.com>
19998
19999         * src/NetworkManagerDevice.[ch]
20000           src/NetworkManagerDbus.c
20001           doc/NetworkManager DBUS API.txt
20002                 - Add a new status tag "scanning", which is set when there
20003                         is no active network connection, but NetworkManager is
20004                         looking for an access point to associate with
20005
20006         * panel-applet/main.c
20007                 - Cast the applet appropriately for gtk_widget_show_all ()
20008
20009 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
20010
20011         * panel-applet/eggtrayicon.[ch]:
20012         * panel-applet/main.c: Add missing file
20013
20014 2004-10-04 Dan Williams <dcbw@redhat.com>
20015
20016         * src/NetworkManagerDevice.[ch]
20017                 - Add a slightly more robust method of determining if the WEP key
20018                         is correct or not, by checking the WEP-discarded packet count
20019                         on the card
20020
20021         * info-daemon/NetworkManagerInfo.c
20022                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
20023                         un-escape values we pull out rather than escaping them
20024
20025 2004-10-03  Marcel Telka  <marcel@telka.sk>
20026
20027         * configure.in (ALL_LINGUAS): Added sk.
20028
20029 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
20030
20031         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
20032         and feel.  We should be back to working, and have a good, clean
20033         look.
20034
20035 2004-09-30 Dan Williams <dcbw@redhat.com>
20036
20037         * info-daemon/NetworkManagerInfo.c
20038           info-daemon/NetworkManagerInfoDbus.c
20039           test/nminfotest.c
20040                 - Escape ESSIDs in gconf
20041
20042         * src/NetworkManagerDevice.c
20043                 - Fix pseudo-scanning to use netowrk list from info daemon
20044
20045 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
20046
20047         * configure.in: Add a temporary --enable-notification-icon.  This
20048         will prolly go away.
20049
20050         * info-daemon/Makefile.am:
20051         * info-daemon/NetworkManagerInfo.c:
20052         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
20053
20054         * panel-applet/Makefile.am:
20055         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
20056         * panel-applet/NMWirelessApplet.h:
20057
20058 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
20059
20060         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
20061         before 'select custom ESSID'.
20062
20063         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
20064         fully complete, but syncing in prep for merge.
20065
20066         * panel-applet/icons/*png: New images
20067
20068 2004-09-28 Dan Williams <dcbw@redhat.com>
20069
20070         * src/NetworkManager.c
20071           src/NetworkManagerDevice.c
20072           src/NetworkManagerPolicy.c
20073                 - Don't blow away an active wired connection on startup
20074
20075 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
20076
20077         Changes from J5
20078         
20079         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20080
20081         * info-daemon/NetworkManagerInfoDbus.c: added service name to
20082         syslog output
20083
20084 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
20085
20086         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20087         have a wireless card.
20088
20089 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
20090
20091         * panel-applet/NMWirelessApplet.c: move the custom essid item.
20092         Also, get the right device strings.
20093
20094 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
20095
20096         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20097         the logic to make this right.
20098
20099         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20100         devices so that wired networks are always first.
20101
20102 2004-09-22    <clarkbw@cvs.gnome.org>
20103
20104         * initscript/Debian/.cvsignore:
20105         * initscript/Slackware/.cvsignore:
20106         Added new cvsignores for Makefile, Makefile.in
20107         
20108         * test/.cvsignore:
20109         Added nmtestdevices
20110         
20111         * src/NetworkManagerDevice.c: 
20112         * src/NetworkManager.c: 
20113         Updated the wireless/wired HAL device strings from net.ethernet to
20114         net.80203 or net.80211 depending on wired or wireless respectively
20115         
20116         * examples/python/NetworkManager.py: 
20117         s/Quality/Strength/
20118
20119         * examples/python/systray/network_tray.py:
20120         Lots of little changes and fixes.  been rotting for a while so I
20121         figured I'd finally sync them all with CVS
20122
20123 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
20124
20125         * configure.in: Add graphics
20126
20127         * panel-applet/Makefile.am: Add graphics
20128
20129         * panel-applet/icons/*: Add graphics
20130
20131         * panel-applet/NMWirelessApplet.c: Use new menu times to display
20132         the icons fully lined up.
20133
20134         * panel-applet/menu-info.c: 
20135         * panel-applet/menu-info.h: Add another menu type.
20136
20137 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
20138
20139         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20140
20141         * panel-applet/menu-item.[ch]: Wireless menu item.
20142
20143 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
20144
20145         * info-daemon/NetworkManagerInfo.conf
20146                 - Created a more robust security policy for the DBus service
20147                         - everything is denied by default
20148                         - root can own and send to the service
20149                         - users logged in at the console can send to the service
20150
20151 2004-09-13  Dan Williams <dcbw@redhat.com>
20152
20153         * src/NetworkManagerDevice.c
20154                 - (nm_device_get_essid): use iw_get_basic_config() rather than
20155                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20156                         the latter
20157
20158 2004-09-13  Dan Williams <dcbw@redhat.com>
20159
20160         * TODO: fix typo
20161
20162         * docs/NetworkManager DBUS API.txt
20163                 - Update for new signal strength changes
20164
20165         * panel-applet/NMWirelessApplet.c
20166                 - Make panel icon show strength of the current connection
20167                 - Cleanups and memleak fixes
20168
20169         * panel-applet/NMWirelessApplet.h
20170                 - Add data members for signal strength on devices and networks
20171
20172         * panel-applet/NMWirelessAppletDbus.c
20173                 - Free more DBusErrors
20174                 - Update for new signal strength changes
20175                 - Make devices and networks more like real objects, use ref/unref methods
20176                 - Actually unlock the mutex when updating the active device
20177
20178         * src/NetworkManagerAP.c
20179                 - Change AP functions and data members from "quality"->"strength"
20180
20181         * src/NetworkManagerDbus.c
20182                 - Kill "getMaxQuality" and "getQuality" methods
20183                 - Add "getStrength" methods for Networks and Devices
20184
20185         * src/NetworkManagerDevice.[ch]
20186                 - Add accessors for device strength
20187                 - Add functions to update strength for a device.  Note that not all drivers
20188                         actually support signal strength for scanned access points (Atmel drivers
20189                         being one)
20190                 - Calculate signal strength for each AP during scan
20191
20192         * src/NetworkManagerWireless.[ch]
20193                 - Add function to return signal strength % from a device and a raw quality struct
20194
20195         * test/nmclienttest.c
20196                 - Update for new signal strength changes
20197
20198 2004-09-11  Dan Williams <dcbw@redhat.com>
20199
20200         * src/NetworkManager.c
20201                 - Fix race condition between initscripts and NM on card insertion
20202                         which could cause a card to keep an IP address and routes around
20203                         even when it was not the active device
20204
20205         * src/NetworkManagerDbus.c
20206                 - Fix compile errors, free more DBusErrors
20207
20208 2004-09-11  Dan Williams <dcbw@redhat.com>
20209
20210         * docs/NetworkManager DBUS API.txt
20211                 - Add an explanation of NM's API
20212
20213         * src/NetworkManagerDbus.c
20214                 - Free some more DBusErrors if needed
20215
20216 2004-09-11  Dan Williams <dcbw@redhat.com>
20217
20218         * panel-applet/NMWirelessApplet.c
20219           panel-applet/NMWirelessAppletDbus.c
20220                 - Start using NetworkDevice/WirelessNetwork structures in more places
20221                 - Update for unified device/network forcing in NetworkManager
20222
20223         * src/NetworkManager.c
20224                 - some code consolidation
20225
20226         * src/NetworkManagerDbus.c
20227                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20228                         or two arguments:  the first is the NM ID of the device to switch to,
20229                         and the second (optional) argument is the ESSID of a wireless network
20230                         to use as well.
20231                 - Get rid of "setNetwork" method due to above change
20232
20233         * src/NetworkManagerDevice.c
20234                 - (nm_device_new): perform scan and update best AP on device creation
20235                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20236                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20237                         spin waiting for cancellation to finish before returning
20238
20239         * src/NetworkManagerPolicy.c
20240                 - Changes here clarify the situations in which a device switch occurs, and 
20241                         make sure to keep using a forced device and network if the user gives
20242                         us one
20243                 - Remove old unused code
20244
20245 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
20246
20247         * configure.in: Added Danish (da) to ALL_LINGUAS.
20248
20249 2004-09-09  Dan Williams <dcbw@redhat.com>
20250
20251         * panel-applet/NMWirelessAppletDbus.c
20252                 - Pull fresh devices and networks from NM when wireless networks
20253                         change.  Provides faster feedback of a forced wireless network
20254
20255         * src/NetworkManagerDbus.c
20256                 - Return error when "getMaxQuality" is called on a wired device
20257                 - Make best_ap freezing actually work again, and signal cancellation
20258                         of activation if there's already a device activation when the user
20259                         freezes the best_ap
20260
20261         * src/NetworkManagerDevice.c
20262                 - Don't clear out the best_ap for wireless devices when the link goes
20263                         down, that's done elsewhere
20264                 - Kill any dhcp daemons when cancelling device activation since they
20265                         may be stuck waiting for a DHCP address, and since we're cancelling
20266                         activation we don't care about that anymore
20267
20268         * src/NetworkManagerPolicy.c
20269                 - Make sure to unref the device we ref earlier (we refed it to make sure
20270                         it stuck around during device activation and such)
20271                 - If we were going to change the best device, but its activating currently
20272                         (and therefore the change didn't occur due to the check earlier)
20273                         we mark the state changed to we come back to it later when device
20274                         activation has canceled and its no longer activating
20275
20276         * src/backends/NetworkManagerRedHat.c
20277                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20278
20279 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
20280
20281         * info-daemon/passphrase.glade: 
20282         set passphrase input to activates_default : True
20283
20284         * examples/python/systray/network_tray.py
20285         (network_tray.sort_networks):
20286
20287         Added support for having wireless always scanning
20288
20289 2004-09-09  Dan Williams <dcbw@redhat.com>
20290
20291         NOTE: this commit changes the behavior of wireless devices in
20292         NetworkManager.  They are now up all the time, scanning all
20293         the time.  Only the active device has an IP address and routing
20294         information set up however.  Also, NetworkManager will no longer
20295         opportunistically switch wireless networks when a better one
20296         comes in range, it will remain associated with one wireless network
20297         until that one drops out.
20298
20299         * panel-applet/NMWirelessApplet.c
20300           panel-applet/NMWirelessAppletDbus.c
20301                 - List all wireless cards and their respective networks
20302
20303         * src/NMLoadModules
20304                 - Use full path to /sbin/ip
20305
20306         * src/NetworkManager.c
20307                 - Keep wireless devices up all the time so they can scan
20308
20309         * src/NetworkManagerDbus.c
20310                 - On a WirelessNetworkUpdate signal from NMI, don't update
20311                         the "best" AP
20312
20313         * src/NetworkManagerDevice.c
20314                 - (nm_device_set_link_active): clear out the best ap for
20315                         wireless devices when the link is set to FALSE
20316                 - Scan on all wireless cards, all the time
20317                 - (nm_device_activation_worker): split out the wireless card
20318                         link-waiting code to a separate function
20319                 - Keep wireless cards up even if device activation fails
20320                 - Don't update the "best" ap as much
20321
20322         * src/NetworkManagerPolicy.c
20323                 - Don't update the best ap when checking if its frozen,
20324                         let link checking clear out a frozen best ap for us
20325
20326         * src/NetworkManagerWireless.c
20327                 - Scan on all wireless cards, all the time
20328
20329 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
20330
20331         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20332
20333 2004-09-09  Ankit Patel <ankit@redhat.com>
20334
20335         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20336
20337 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
20338
20339         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20340
20341 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
20342
20343         * examples/python/NetworkManager.py: 
20344         added CONNECTED, CONNECTING, and DISCONNECTED states
20345         added methods to return number of devices of a single type
20346
20347         * examples/python/systray/network_tray.py: 
20348         did some tweaks to get the menu looking near what it is supposed
20349         to look like.  Also did a Airo card hack to make it show the
20350         correct AP quality
20351
20352 2004-09-08  Dan Williams <dcbw@redhat.com>
20353
20354         * panel-applet/no-networkmanager.png
20355           panel-applet/Makefile.am
20356           panel-applet/NMWirelessApplet.c
20357                 - Add a "NetworkManager not running" icon and use it
20358                 - Use new consolidated GConf keys rather than Preferred/Trusted
20359
20360         * TODO: update
20361
20362         * info-daemon/NetworkManagerInfo.c
20363           info-daemon/NetworkManagerInfoDbus.[ch]
20364           info-daemon/NetworkManagerInfoPassphraseDialog.c
20365                 - There are now no longer two separate lists of wireless networks,
20366                         but one list where each network is "trusted" or not trusted
20367                 - Add a "getNetworkTrusted" dbus method
20368                 - "WirelessNetworkUpdate" signal now sent rather than
20369                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20370                 - Start freeing some dbus errors (not completed yet)
20371
20372         * info-daemon/passphrase.glade
20373                 - Remove the "don't show" hints for pager and taskbar
20374                 - Add a title since its going to be in the taskbar
20375
20376         * src/NetworkManager.[ch]
20377           src/NetworkManagerAPList.[ch]
20378                 - There are now no longer two separate lists of wireless networks,
20379                         but one list where each network is "trusted" or not trusted
20380
20381         * src/NetworkManagerAP.[ch]
20382                 - Add get/set "trusted" accessors and data bit
20383
20384         * src/NetworkManagerDbus.[ch]
20385                 - Add function to get "trusted" status of a network from NetworkManagerInfo
20386                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20387
20388         * src/NetworkManagerDevice.[ch]
20389                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20390                 - (nm_device_new): Get device config from backend when initializing devices
20391                 - (nm_device_activation_worker): Split out device configuration on
20392                         activation to deal with static/dynamic IP differences, and try encryption
20393                         fallbacks on a device if the encryption method for the best AP is not good
20394                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20395                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20396
20397         * src/NetworkManagerWireless.c
20398                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20399
20400         * src/backends/NetworkManagerRedHat.c
20401           src/backends/NetworkManagerSystem.h
20402                 - (nm_system_device_update_config_info): Add function to get device configuration
20403                         from system data in ifcfg-* files
20404
20405         * src/backends/NetworkManagerDebian.c
20406           src/backends/NetworkManagerGentoo.c
20407           src/backends/NetworkManagerSlackware.c
20408                 - Add stub functions for getting device configuration
20409
20410 2004-09-07  Dan Williams <dcbw@redhat.com>
20411
20412         * src/backends/NetworkManagerRedhat.c
20413           src/backends/NetworkManagerSlackware.c
20414                 - Use full path to /sbin/ip everywhere
20415
20416 2004-09-07  Dan Williams <dcbw@redhat.com>
20417
20418         Patch from: Narayan Newton <narayan_newton@yahoo.com>
20419
20420         * configure.in
20421           initscript/Makefile.am
20422           initscript/Slackware/Makfile.am
20423           initscript/Slackware/rc.networkmanager
20424           src/Makefile.am
20425           src/backends/NetworkManagerSlackware.c
20426                 - Add Slackware support
20427
20428 2004-09-07  Dan Williams <dcbw@redhat.com>
20429
20430         Patches below from:
20431                 <j@bootlab.org>
20432                 Mark Roach <mrroach@okmaybe.com>
20433                 Thom May <thom@debian.org>
20434
20435         * configure.in
20436           initscript/Debian/NetworkManager
20437           initscript/Debian/Makefile.am
20438                 - Initscript for Debian
20439
20440         * src/backends/NetworkManagerDebian.c
20441                 - Add missing system init function to allow compilation
20442                         on Debian
20443
20444 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
20445
20446         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20447
20448 2004-09-03  Akagic Amila <bono@linux.org.ba>
20449
20450         * configure.in: Added 'bs' to ALL_LINGUAS.
20451
20452 2004-09-02  Colin Walters  <walters@verbum.org>
20453
20454         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20455         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20456         g_strdup_printf instead of arbitrarily sized buffers.
20457
20458 2004-09-01  Colin Walters  <walters@verbum.org>
20459
20460         * NetworkManager.pc.in: New file.
20461
20462         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20463
20464 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
20465         
20466         * configure.in: Punjabi(pa) is added to po/.
20467
20468 2004-08-31  Dan Williams <dcbw@redhat.com>
20469
20470         * Remove 'debug' extern global from all files since we now
20471                 use syslog()
20472
20473         * src/NetworkManager.[ch]
20474                 - Break out routine that get the net.interface property from HAL,
20475                         removing that logic from nm_create_device_and_add_to_list()
20476                 - (nm_create_device_and_add_to_list): make this a bit more general so
20477                         it doesn't do the talking to HAL.  Also add arguments to facilitate
20478                         the create of test devices.
20479                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20480                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20481                         which makes NetworkManager listen for dbus commands to create test
20482                         devices, which have no backing hardware.  Use when you're on a plane
20483                         for example, and/or forgot your wireless card at home.  Test devices
20484                         _cannot_ be created unless NM is started with --enable-test-devices.
20485
20486         * src/NetworkManagerDbus.[ch]
20487                 - New "getLinkActive" method for devices
20488                 - New "setLinkActive" method for devices (only works on test devices)
20489                 - New "createTestDevice" method on NetworkManager object to create a test
20490                         device of a specified type (ie wired, wireless).  UDI is created from
20491                         scratch, as is the interface name.  Only works when NM is started with
20492                         --enable-test-devices switch.
20493                 - New "removeTestDevice" method on NetworkManager object which removes a
20494                         test device.  Only works when NM is started with --enable-test-devices
20495
20496         * src/NetworkManagerDevice.[ch]
20497                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20498                         whether a device is a test device or not, and what its link status is.
20499                 - Deal with test devices in most functions.  For those that work directly on hardware
20500                         special-case test devices.
20501                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20502                         command-line.
20503                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20504                         checking to separate functions to facilitate test device link checking.
20505                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20506                         don't make a distinction between System Authentication and Encryption
20507                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20508                         on the card.  We don't deal with Shared Key auth yet.
20509                 - (nm_device_activation_worker): split the activation cancel check logic out into
20510                         a separate routine nm_device_activation_cancel_if_needed()
20511                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20512                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20513                         a list of fake access points that they can "see"
20514                 - (nm_device_is_test_device): return whether or not a device is a test device
20515
20516         * src/NetworkManagerPolicy.c
20517                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20518                         previously if you "locked"/forced NM to use a wireless device but then
20519                         selected a wireless network for NM to use, it would switch to a wired device.
20520                         So, if the active device is wireless and it has a "forced" best AP, use it
20521                         if the "forced" best AP is still valid
20522                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20523                         there were no usable network devices, or the last one was removed
20524
20525         * src/backends/NetworkManager*.c
20526                 - Deal with test devices, mostly just return success for operations like getting
20527                         a DHCP address
20528
20529         * test/nmtestdevices.c
20530                 - Test tool to create/remove/link-switch test devices
20531
20532 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20533
20534         * examples/python/NetworkManager.py: 
20535         added convience functions has_wired_device and has_wireless_device
20536
20537         * examples/python/systray/network_tray.py: 
20538         cleaned up a bunch of cruft, added support for listing wireless
20539         networks just like the real applet.  This is probably all I'm
20540         going to work on this applet from now on.
20541         TODO: add support for actually changing networks and devices
20542
20543         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20544         changed "nm.networks" into a dict from a list so I can store all
20545         the cool information about networks in there
20546
20547         * examples/python/systray/network_tray.py: 
20548         Added nice message when you try to run without running make first
20549
20550         * examples/python/NetworkManager.py: 
20551         Bug fixes to the code so we get all the device information
20552         that we need in get_device()
20553         
20554         * examples/python/NMTester.py: 
20555         Fixed _print_device_list to print_device_list
20556
20557 2004-08-29  Seth Nickell  <seth@gnome.org>
20558
20559         * configure.in:
20560
20561         Actually properly setup the Debian backend in configure.
20562         
20563 2004-08-29  Colin Walters  <walters@verbum.org>
20564
20565         * test/nminfotest.c: Include string.h and stdlib.h.
20566         (get_network_string_property, get_networks_of_type): Return NULL.
20567
20568         * test/nmclienttest.c (get_device_name, get_active_device): Return
20569         NULL.
20570
20571         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20572         use strlen, fgets always NULL-terminates the string.
20573
20574         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20575         dbus_message_get_member): Remove /* in comment.
20576
20577         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20578
20579         * src/NetworkManager.c (quit): Unused, delete.
20580         (nm_data_free): Cast arg to GFunc.
20581
20582         * panel-applet/NMWirelessAppletDbus.c: Need to include
20583         string.h, and dbus-glib-lowlevel.h (the latter is needed
20584         for dbus_connection_setup_with_g_main at present).
20585         (nmwa_dbus_update_wireless_network_list): Parenthesize
20586         assignment in conditional.
20587         (nmwa_dbus_worker): Return NULL.
20588
20589         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20590         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20591         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20592         (nmwa_populate_menu): Return NULL on failure, instead of just
20593         return;
20594
20595         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20596
20597         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20598         variables.
20599
20600         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20601         delete.
20602         
20603 2004-08-29  Colin Walters  <walters@verbum.org>
20604
20605         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20606         a GTimeVal instead of time_t.  This is easier to work with,
20607         since time_t may be a long or double, we don't know.
20608
20609         * src/NetworkManagerDbus.h: Update prototype.
20610         
20611         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20612         instead of time_t.
20613         (nm_ap_get_timestamp): Update to return GTimeVal.
20614         (nm_ap_set_timestamp): Update to take GTimeVal.
20615         
20616         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20617         to handle GTimeVal.
20618
20619         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20620         GTimeVal change.
20621         (nm_ap_list_print_members): Fix warnings in printf format.
20622
20623 2004-08-29  Colin Walters  <walters@verbum.org>
20624         
20625         * panel-applet/NMWirelessApplet.c: Include config.h.
20626
20627 2004-08-29  Colin Walters  <walters@verbum.org>
20628
20629         * configure.in: Generate config.h.
20630
20631         * configure.in: Dump dependency on OpenSSL; we can't
20632         use it since this package is GPL:
20633         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20634         Instead, check for libgcrypt, use it if available,
20635         otherwise use included MD5 code.
20636
20637         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20638         Suck in from gnome-keyring, munge a bit.
20639         
20640         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20641         gnome-keyring-md5.h gnome-keyring-md5.c.
20642         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20643
20644         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20645         libgcrypt or included gnome-keyring md5 bits.
20646         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20647
20648 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20649
20650         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20651
20652 2004-08-27  Bryan Clark  <bclark@redhat.com>
20653
20654         * examples/python/systray/Makefile: 
20655
20656         Updated the clean section
20657         
20658         * examples/python/systray/trayiconmodule.c: 
20659         * examples/python/systray/trayicon.override: 
20660         * examples/python/systray/network_tray.py: 
20661         * examples/python/systray/eggtrayicon.h: 
20662         * examples/python/systray/eggtrayicon.c: 
20663         * examples/python/systray/Makefile: 
20664         * examples/python/README: 
20665         * examples/python/NetworkManager.py: 
20666         * examples/python/NMTester.py: 
20667
20668         Initial commit of these python example files
20669
20670 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20671
20672         * panel-applet/NMWirelessApplet.c
20673                 - Make current device bold
20674                 - Show more user-friendly device name if we got one from hal
20675
20676         * panel-applet/NMWirelessAppletDbus.c
20677                 - Grab "info.product" key from hal for network devices
20678                 - Cache the current active device
20679
20680 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20681
20682         * configure.in: Added en_CA to ALL_LINGUAS.
20683
20684 2004-08-27  Christian Rose  <menthos@menthos.com>
20685
20686         * configure.in: Added "sv" to ALL_LINGUAS.
20687
20688 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20689
20690         * Tag NetworkManager-0.2
20691
20692 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20693
20694         * initscripts/Makefile.am
20695         * configure.in: Make pass distcheck
20696
20697         * po/ChangeLog: added
20698
20699 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20700
20701         * panel-applet/NMWirelessApplet.c
20702                 - Remove debugging code
20703                 - Enable device switching from menus
20704
20705         * panel-applet/NMWirelessAppletDbus.[ch]
20706                 - Method for asking NM to switch devices
20707
20708         * src/NetworkManagerDevice.c
20709                 - Set dev->activating earlier, avoids race between
20710                         the dbus signal of "DeviceActivating" and setting
20711                         dev->activating (which is what NM's "status" method call
20712                         looks at)
20713
20714 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20715
20716         * panel-applet/NMWirelessApplet.[ch]
20717                 - Rework menu code to add devices to menu, and to show
20718                         signal strength for each access point.  Code cleanups
20719                         too.
20720
20721         * panel-applet/NMWirelessAppletDbus.c
20722                 - Grab network devices from NetworkManager too
20723                 - Grab quality information from NM for wireless networks
20724
20725         * src/NetworkManagerDbus.[ch]
20726                 - Add dbus methods for getting the HAL UDI from a device and
20727                         for getting its base quality, if its wireless
20728                 - Consolidate some functions (wireless network notifications,
20729                         device notifications)
20730                 - Add method for requesting NM to use a particular device
20731
20732         * src/NetworkManager.c
20733                 - Change for function consolidations from NetworkManagerDbus.c
20734                 - Implement active device locking and user-requested devices
20735                         (ie, tell NM to use a particular device instead of the one
20736                         it autochose)
20737
20738         * src/NetworkManagerDevice.c
20739                 - Add method for getting the base quality of a device, if its
20740                         wireless
20741                 - Grab device base quailty info from iwlib during scans
20742
20743         * src/NetworkManagerPolicy.c
20744                 - Use a user-requested device rather than the auto-chosen device
20745                         if we are told to
20746
20747 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20748
20749         * Makefile.am: add po as a supdir
20750
20751         * autogen.sh: use gnome-autogen.sh
20752
20753         * initscript/Gentoo/.cvsignore:
20754         * initscript/RedHat/.cvsignore: Shut up cvs
20755
20756         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20757
20758         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20759         (nmwa_fill): Use gettext.
20760
20761         * configure.in: add gettext support
20762         * po/.cvsignore:
20763         * po/NetworkManager.pot:
20764         * po/POTFILES.in:
20765
20766 2004-08-26  Seth Nickell  <seth@gnome.org>
20767
20768         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20769         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20770         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20771         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20772         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20773         * panel-applet/NMWirelessApplet.h:
20774
20775         Use a menu bar instead of a button for the main clickable
20776         thingy.
20777         
20778 2004-08-25  Dan Williams <dcbw@redhat.com>
20779
20780         * src/NetworkManagerDevice.c
20781                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20782                         turning encryption off, because the Cisco driver doesn't associate
20783                         with WEP-enabled access points unless we are in "open"
20784
20785 2004-08-25  Dan Williams <dcbw@redhat.com>
20786
20787         * src/NetworkManagerWireless.c
20788                 - Don't try to defererence blank passphrases
20789
20790 2004-08-25  Dan Williams <dcbw@redhat.com>
20791
20792         * panel-applet/NMWirelessApplet.c
20793                 - Rebuild the menu whenever a user clicks
20794
20795 2004-08-25  Dan Williams <dcbw@redhat.com>
20796
20797         * panel-applet/NMWirelessApplet.c
20798                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20799                         when NM isn't around or when its not connected
20800
20801         * src/NetworkManagerDevice.c
20802                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20803                         canceled.
20804
20805 2004-08-25  Dan Williams <dcbw@redhat.com>
20806
20807         * panel-applet/NMWirelessAppletDbus.c
20808                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20809                         for getting encryption, and don't stop on "val" once we've gotten it
20810                         from NetworkManager.  Short form:  encryption should now show up.
20811
20812 2004-08-25  Dan Williams <dcbw@redhat.com>
20813
20814         * panel-applet/NMWirelessApplet.c
20815                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20816                         network to associate with
20817
20818 2004-08-25  Dan Williams <dcbw@redhat.com>
20819
20820         * panel-applet/*
20821                 - Rework the panel applet to do all DBUS communication in a separate
20822                         thread
20823
20824 2004-08-25  Dan Williams <dcbw@redhat.com>
20825
20826         * info-daemon/NetworkManagerInfo.[ch]
20827                 - Remove "get_next_priority" function
20828
20829         * info-daemon/NetworkManagerInfoDbus.[ch]
20830                 - Convert "priority" functions to "timestamp"
20831
20832 2004-08-25  Dan Williams <dcbw@redhat.com>
20833
20834         * src/NetworkManagerAP.[ch]
20835                 - Add a "enc_method_good" member and accessors to an Access Point
20836                         to signal when we've found the correct encryption method
20837                         for an access point
20838                 - Add a "timestamp" member and accessors, remove "priority" member
20839                         and accessors (use timestamps instead)
20840                 - Rename "wep_key"->"enc_key"
20841                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20842                         for a specified encryption method using the access points
20843                         source encryption key/passphrase
20844
20845         * src/NetworkManagerAPList.c
20846                 - When updating a network with dbus, grab timestamp now instead of
20847                         priority
20848
20849         * src/NetworkManagerDBus.[ch]
20850                 - Add signal for "DeviceActivating"
20851                 - Switch priority->timestamp
20852
20853         * src/NetworkManagerDevice.c
20854                 - Change references of "wep_key" -> "enc_key" or "key"
20855                 - Signal DeviceActivating when starting activation
20856                 - When activating a wireless device, if the access point we are connecting
20857                         to is encrypted, and we have a source key, try to generate a mangled
20858                         key and use that (ie, generate real WEP key from a passphrase)
20859                 - Rework device activation to fallback to other encryption methods if
20860                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20861                         first, then if that doesn't work fall back to direct hex key).
20862                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20863                         priority.  We now prefer the latest access point used, rather than using
20864                         a priority scheme
20865                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20866                         points we've just discovered, and merge in correct info from the global
20867                         access point lists
20868
20869 2004-08-25  Seth Nickell  <seth@gnome.org>
20870
20871         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20872         Debian support.
20873         
20874         * src/Makefile.am:
20875         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20876         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20877         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20878         (nm_system_delete_default_route),
20879         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20880         (nm_system_load_device_modules):
20881
20882 2004-08-24  Dan Willemsen <dan@willemsen.us>
20883
20884         * src/NetworkManager.c
20885           src/backends/NetworkManagerGentoo.c
20886           src/backends/NetworkManagerRedHat.c
20887           src/backends/NetworkManagerSystem.h
20888                 - Implement preliminary Gentoo support, adding a
20889                         nm_system_init function to the backend specification
20890
20891         * configure.in
20892                 - Distribution auto-detection, lowercase any user-fed
20893                         distribution names
20894
20895         * initscript/.cvsignore
20896           initscript/Makefile.am
20897           initscript/RedHat/Makefile.am
20898           initscript/RedHat/NetworkManager
20899           initscript/Gentoo/Makefile.am
20900           initscript/Gentoo/NetworkManager
20901                 - Refactored initscript code separately for each
20902                         distribution
20903
20904 2004-08-23  Dan Williams <dcbw@redhat.com>
20905
20906         * configure.in
20907           src/Makefile.am
20908           src/NetworkManagerDevice.c
20909           src/NetworkManager.c
20910           src/NetworkManagerUtils.[ch]
20911           src/backends/NetworkManagerSystem.h
20912           src/backends/NetworkManagerRedHat.c
20913           src/backends/NetworkManagerGentoo.c
20914                 - Refactor system-specific code into separate backends for
20915                         each distribution
20916
20917 2004-08-23  Dan Willemsen <dan@willemsen.us>
20918
20919         * dispatcher-daemon/NetworkManagerDispatcher.c
20920           info-daemon/NetworkManagerInfo.[ch]
20921           info-daemon/NetworkManagerInfoDbus.c
20922           info-daemon/NetworkManagerInfoPassphraseDialog.c
20923           src/NetworkManager.c
20924           src/NetworkManagerAP.c
20925           src/NetworkManagerAPList.c
20926           src/NetworkManagerDbus.c
20927           src/NetworkManagerDevice.c
20928           src/NetworkManagerPolicy.c
20929           src/NetworkManagerUtils.[ch]
20930           src/NetworkManagerWireless.c
20931                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20932
20933         * src/NetworkManager.c
20934                 - Fixed usage wording for --no-daemon
20935
20936 2004-08-23  Dan Williams <dcbw@redhat.com>
20937
20938         * panel-applet/NMWirelessApplet.c
20939                 - Update our state every second to get more responsive panel icon
20940                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20941                         was causing our marching ants status blips to never move when
20942                         looking for a wireless network
20943
20944         * src/NetworkManagerDevice.c
20945                 - (nm_device_activation_begin): return if activation has already begun
20946                 - (nm_device_do_normal_scan): merge WEP key and priority from the
20947                         trusted/preferred network into the device's access point when the
20948                         scan list is processed
20949
20950 2004-08-23  Dan Williams <dcbw@redhat.com>
20951
20952         * initscript/NetworkManager
20953                 - Use NMLaunchHelper rather than sleeping
20954
20955         * initscript/NMLaunchHelper.c
20956           Makefile.am
20957                 - Add helper program that exits only when NM activates a device,
20958                         or 10 seconds have passed, whichever happens first.  This
20959                         stops the boot processes until we have a network connection,
20960                         which NM can't do because it daemonizes and brings the connection
20961                         up in the background.  Allows stuff like NFS to not die.
20962
20963 2004-08-20  Dan Williams <dcbw@redhat.com>
20964
20965         * info-daemon/NetworkManagerInfoPassphraseDialog.c
20966                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20967                         for a network, set the essid as well since it may not exist yet
20968                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20969                         since WEP keys/passphrases are long and prone to entry-error
20970
20971         * panel-applet/Makefile.am
20972           panel-applet/wired.png
20973                 - Add (pulled from system-config-network temporarily)
20974
20975         * panel-applet/NMWirelessApplet.[ch]
20976                 - Show wired picture when a wired connection is used
20977                 - Rename wireless icon enums, adding WIRELESS
20978
20979         * src/NetworkManagerDevice.c
20980                 - (nm_device_activate_wireless): unset encryption before bringing
20981                         down the card and setting the essid
20982                 - (nm_device_activatin_worker): request a key from the user if the
20983                         AP we are connecting to is encrypted but we don't have a key
20984                         for it yet
20985                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20986                         strcmp() that prevented a user-entered key from actually getting
20987                         used
20988
20989 2004-08-16  Dan Williams <dcbw@redhat.com>
20990
20991         * initscript/NetworkManager
20992                 - Check for /sbin/ip
20993                 - Do sysctl magic that network service does
20994                 - sleep 4s after start to allow network time to come up [hack]
20995
20996         * src/Makefile.am
20997           src/NMLoadModules
20998                 - Load all network device kernel modules (hal doesn't know devices
20999                         are ethernet until the module is loaded, and therefore we don't know)
21000
21001         * src/NetworkManager.c
21002                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
21003                         network devices, and bring up the loopback device explicitly
21004
21005         * src/NetworkManagerUtils.[ch]
21006                 - (nm_enable_loopback): new function
21007
21008 2004-08-13  Dan Williams <dcbw@redhat.com>
21009
21010         * configure.in
21011           panel-applet/Makefile.am
21012                 - Fix up cleanfiles and server_DATA/server_in_files
21013
21014         * README
21015                 - Update with some comments on theory of operation
21016
21017         * CONTRIBUTING
21018           Makefile.am
21019                 - Add CONTRIBUTING
21020
21021 2004-08-12  Dan Williams <dcbw@redhat.com>
21022
21023         * info-daemon/passphrase.glade
21024                 - Set window title to " "
21025
21026         * panel-applet/Makefile.am
21027           panel-applet/keyring.png
21028                 - Deliver to correct place
21029
21030         * panel-applet/NMWirelessApplet.[ch]
21031                 - Add comments
21032                 - Remove applet->have_active_device as its no longer used
21033                 - (nmwa_load_theme): load keyring.png too
21034                 - (error_dialog): remove
21035                 - (show_warning_dialog): subsume functionality of error dialog too
21036                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
21037                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
21038                         the networks menu
21039                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
21040                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
21041                         and when we get broadcasts of changed wireless access points only, not when the
21042                         user clicks on the button to display the menu (too long of a wait)
21043                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
21044                         networks that are encrypted
21045                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
21046                         menu item with g_object_set_data()
21047
21048         * panel-applet/NMWirelessAppletDbus.[ch]
21049                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
21050                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
21051                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
21052                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
21053                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
21054                         activation/deactivation signals and rebuild the menu when they happen
21055
21056         * src/NetworkManager.c
21057                 - (main): use new nm_spawn_process() rather than system()
21058
21059         * src/NetworkManagerDbus.c
21060                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21061                         instead.  Since we can now force best_aps to stick around, the AP structure to which
21062                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21063                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
21064                         to freeze the best_ap.
21065
21066         * src/NetworkManagerDevice.[ch]
21067                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21068                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21069                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21070                         ap list
21071
21072         * src/NetworkManagerUtils.[ch]
21073                 - (nm_spawn_process): add replacement for system() usage
21074
21075 2004-08-11  Dan Williams <dcbw@redhat.com>
21076
21077         * panel-applet/NMWirelessApplet.[ch]
21078                 - Fix up copyright and credits to include Bastien and Eskil,
21079                         who created the gnome-applets wireless applet, from whose
21080                         skeleton this one was created
21081                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21082                         pixmap to draw is computed during nmwa_update_state()
21083                 - Applet now shows itself all the time due to panel packing issues
21084                         which caused the applet to previously never come back after hiding.
21085                         When a wired device is the active device, the applet shows "not connected"
21086
21087         * panel-applet/NMWirelessAppletDbus.[ch]
21088                 - Clean up error messages and show what function they are from
21089                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21090                 - Add new device type getters, and a status getter
21091
21092         * src/NetworkManagerDbus.c
21093                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21094                         network is actually in the device's ap list
21095                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21096
21097         * src/NetworkManagerDevice.c
21098                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21099                         card
21100
21101         * test/nmclienttest.c
21102                 - Report status of NetworkManager too
21103
21104 2004-08-11  Dan Williams <dcbw@redhat.com>
21105
21106         * info-daemon/NetworkManagerInfo.c:
21107                 - (main): clean up Seth's code style
21108
21109         * info-daemon/NetworkManagerInfoDbus.c:
21110                 - Use the more aptly-named path/service/interface constants from NetworkManager
21111                 - Don't return empty strings ("") as object paths ever, instead return errors
21112
21113         * panel-applet/NMWirelessApplet.c:
21114                 - Clean up Seth's code style
21115
21116         * src/NetworkManager.[ch]
21117                 - (nm_remove_device_from_list): remove anything having to do with pending_device
21118                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21119
21120         * src/NetworkManagerAPList.[ch]
21121                 - Move Iter struct right above the iter functions to preserve opacity
21122                 - (nm_ap_list_remove_ap): implement
21123                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21124                         remove AP if NetworkManagerInfo doesn't know anything about it
21125                 - (nm_ap_list_diff): user NMAPList iterators
21126                 - (nm_ap_list_print_members): implement debugging function
21127
21128         * src/NetworkManagerDbus.[ch]
21129                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21130                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21131                         and move the actual key setting stuff into NetworkManagerDevice.c
21132                 - (nm_dbus_get_network_priority): return -1 now on errors
21133                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21134                         get lost, and force the active device to update its "best" ap when AP lists change
21135                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21136                         method call due to pending_device member removal
21137
21138         * src/NetworkManagerDevice.[ch]
21139                 - Move NMDevice structure to the top
21140                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21141                 - Remove Pending Action stuff from everywhere
21142                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21143                         activation for us.  This thread blocks until all conditions for activation have
21144                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21145                         then setup up the interface and runs dhclient.  We have to do this because there
21146                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21147                         run our main loop and respond to dbus method calls or HAL device removals/inserts
21148                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21149                         can tell nm_device_activation_worker() that we've got a key
21150                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21151                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21152                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21153                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21154
21155         * src/NetworkManagerPolicy.c
21156                 - Remove anything to do with pending_device
21157                 - Adjust device activation to deal with activation-in-worker-thread
21158
21159         * src/NetworkManagerUtils.c
21160                 - Clean up locking debugging a bit
21161
21162         * src/NetworkManagerWireless.[ch]
21163                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
21164                         was badly named and is better as a device function
21165
21166         * panel-applet/.cvsignore: add
21167
21168 2004-08-09  Seth Nickell  <seth@gnome.org>
21169
21170         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21171         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21172         (nmwa_new):
21173         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21174
21175         Don't load the menus until clicked on (also removes a call outside
21176         normal code paths at first load).
21177
21178         Hide applet when NM is not present.
21179         
21180         Improve printf debugging stuff.
21181         
21182 2004-08-09  Dan Williams <dcbw@redhat.com>
21183
21184         * dispatcher-daemon/NetworkManagerDispatcher.c:
21185                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21186                 - Use constants for NetworkManager interface, service, and path
21187
21188 2004-08-09  Dan Williams <dcbw@redhat.com>
21189
21190         * src/NetworkManagerDbus.c:
21191                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21192                         instead return an error message
21193                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21194                         on a wired device.  Also never return an empty object path, instead return an error message
21195
21196 2004-08-06  Seth Nickell  <seth@gnome.org>
21197
21198         * panel-applet/NMWirelessApplet.c: (nmwa_new):
21199
21200         Check the error code when getting a connection.
21201         
21202         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21203
21204         Check if the NM service exists when initializing (rather than
21205         assuming it does not).
21206         
21207         * src/NetworkManagerDbus.c: (nm_dbus_init):
21208
21209         Don't acquire the well-known service name until we have
21210         registered object/path handlers and can actually receive
21211         calls.
21212         
21213 2004-08-06  Dan Williams <dcbw@redhat.com>
21214
21215         * panel-applet/*
21216                 - Add panel applet
21217
21218         * src/NetworkManagerPolicy.c
21219           src/NetworkManager.c
21220                 - Get access point lists from NetworkManagerInfo on-demand,
21221                         and look for ServiceCreate/ServiceDeleted signals to see when
21222                         we should query NMI for lists
21223         * src/NetworkManagerAPList.c
21224                 - Make sure to init the list's mutex
21225                 - Convert traversals of the list over to the list iter functions
21226
21227         * src/NetworkManagerDbus.[ch]
21228                 - Use more aptly-named path/service/interface constants
21229                 - Treat both active and pending devices the same for "getActiveDevice"
21230                 - Add a "status" method returning "connected", "connecting", or "disconnected"
21231
21232         * src/NetworkManagerDevice.c
21233                 - Honor "ignored" network list when picking best ap to use
21234
21235 2004-08-06  Seth Nickell  <seth@gnome.org>
21236
21237         * aclocal.m4:
21238
21239         Autogenerated, remove from CVS.
21240         
21241         * autogen.sh:
21242
21243         Don't hardcode automake version.
21244         
21245         * configure.in:
21246         * info-daemon/Makefile.am:
21247         * info-daemon/NetworkManagerInfo.c: (main):
21248
21249         Use GnomeProgram et al. for doing session management.
21250         Use popt stuff for argument parsing rather than doing
21251         it manugally.
21252         
21253 2004-08-05  Dan Williams <dcbw@redhat.com>
21254
21255         * test/nminfotest.c
21256                 - Update to new NMI dbus API, check different network types
21257
21258         * info-daemon/NetworkManagerInfoDbus.c
21259                 - Update to new NM dbus API, ie network type sent in query message
21260
21261 2004-08-05  Dan Williams <dcbw@redhat.com>
21262
21263         * An assload of changes
21264
21265 2004-08-02  Dan Williams <dcbw@redhat.com>
21266
21267         * TODO
21268                 - new task: proper logging support
21269
21270         * info-daemon/NetworkManagerInfo.c
21271                 - Correct spelling of "canceled"
21272                 - Correct casting of objects for g_signal_connect()
21273
21274         * info-daemon/NetworkManagerInfoDbus.c
21275                 - Add defines for NetworkManager namespace and object path, and use them
21276                 - Add filter function to trap new signals from NetworkManager:
21277                         WirelessNetworkAppeared, WirelessNetworkDisappeared
21278
21279         * info-daemon/passphrase.glade
21280                 - Change name of "ok" button to "Login to Network..."
21281                 - Mark invisible
21282
21283         * src/NetworkManager.c
21284                 - Code and debug message cleanups
21285                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21286                 - (nm_add_initial_devices) Check returned string array of devices
21287                         and don't try to add devices if array is NULL
21288                 - (main) Initialize libhal a bit later, make code a bit clearer
21289
21290         * src/NetworkManagerAP.[ch]
21291                 - New accessor and data member "matched": used to speed up AP list
21292                         diffing
21293                 - New accessor and data member "enc_method": will be used during key
21294                         fallback to cache which passphrase->key conversion actually works
21295                         so we don't have to do it every time
21296
21297         * src/NetworkManagerAPList.[ch]
21298                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21299                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21300                         between them, and send WirelessNetworkAppeared/Disappeared signals over
21301                         dbus in response to those differences
21302
21303         * src/NetworkManagerDbus.[ch]
21304                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21305                         make an object path for that access point (NOTE that we don't yet check to
21306                         make sure that access point is actually in the device's AP list yet)
21307                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21308                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21309                         New: signal appearance/disappearance of wireless networks
21310                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21311                         key entry
21312
21313         * src/NetworkManagerDevice.[ch]
21314                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21315                 - (nm_device_ap_list_get) New: return the AP list (static function)
21316                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21317                         new one resulting from the scan with the old one
21318
21319         * src/NetworkManagerWireless.c
21320                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21321
21322         * test/nminfotest.c
21323                 - #define object paths and namespaces and use the #defines rather than static strings
21324                 - Test out user-key functionality of NetworkManagerInfo too
21325
21326 2004-07-29  Dan Williams <dcbw@redhat.com>
21327
21328         * info-daemon/NetworkManagerInfoDbus.c
21329           src/NetworkManagerDbus.c
21330                 - Update to current DBus (ie don't use decomposed paths when registering
21331                         object paths/fallbacks)
21332
21333 2004-07-27  Dan Williams <dcbw@redhat.com>
21334
21335         * Remove various Makefile.in files
21336
21337         * TODO
21338                 - Add some more items
21339
21340         * configure.in
21341                 - Add checks for OpenSSL/md5 headers and libs
21342
21343         * src/Makefile.am
21344                 - Use OpenSSL CFLAGS
21345
21346         * src/NetworkManagerAP.[ch]
21347                 - Remove 'stamp' functions, replace with 'invalid' functions
21348                         to support user cancelling WEP key entry
21349
21350         * src/NetworkManagerDbus.c
21351                 - Remove 'stamp' return functions
21352                 - Treat returned user key as a passphrase and convert to a WEP key,
21353                         but don't actually use the WEP key yet.  We use the returned user
21354                         key as a hexadecimal WEP key until we can figure out a UI for
21355                         passphrase-vs-hex key
21356
21357         * src/NetworkManagerWireless.[ch]
21358                 - Add passphrase-to-128bit-key function
21359
21360 2004-07-27  Dan Williams <dcbw@redhat.com>
21361
21362         * TODO
21363                 - Add a couple of items
21364
21365 2004-07-27  Dan Williams <dcbw@redhat.com>
21366
21367         * info-daemon/NetworkManagerInfo.c
21368                 - Update allowed network's GConf key when user enters a WEP key explicitly
21369
21370         * info-daemon/NetworkManagerDbus.c
21371                 - Fix some comments
21372                 - nmi_dbus_get_allowed_networks(): kill warning
21373
21374 2004-07-27  Dan Williams <dcbw@redhat.com>
21375
21376         * initscript/Makefile.in
21377                 - Remove
21378
21379         * initscript/Makefile.am
21380                 - Add correct rules to install the init.d initscript
21381
21382         * info-daemon/NetworkManagerInfoDbus.c
21383                 - Remove debug fprintf
21384
21385         * src/NetworkManagerDbus.[ch]
21386                 - Remove debug fprintfs
21387                 - Add macros for NetworkManagerInfo object path/namespace
21388                 - Use said macros instead of constant strings
21389
21390 2004-07-27  Dan Williams <dcbw@redhat.com>
21391
21392         * initscript/.cvsignore
21393                 - Add
21394
21395         * info-daemon/Makefile.am
21396                 - Install .glade files and keyring.png
21397                 - Fix stupid omission of a \ that caused half the flags not to be
21398                         passed to gcc
21399
21400         * info-daemon/NetworkManagerInfo.c
21401                 - gtk_signal_connect->g_signal_connect
21402                 - Alert NetworkManagerInfo to new glade file location
21403
21404 2004-07-27  Dan Williams <dcbw@redhat.com>
21405
21406         * test/nmclienttest.c
21407           test/nminfotest.c
21408                 - Add missing <dbus/dbus.h> headers
21409                 - Add GPL message at top
21410
21411 2004-07-27  Dan Williams <dcbw@redhat.com>
21412
21413         * src/NetworkManagerAPList.[ch]
21414           src/Makefile.am
21415                 - Add.  Deal with allowed network list additions, deletions, and updates
21416
21417         * dispatcher-daemon/NetworkManagerDispatcher.c
21418                 - Add missing <dbus/dbus.h> header
21419
21420         * info-daemon/NetworkManagerInfo.[ch]
21421                 - Add missing <dbus/dbus.h> header
21422                 - Implement the GConf notify callback to signal NetworkManager of an allowed
21423                         network change
21424                 - Better error checking
21425
21426         * info-daemon/NetworkManagerInfoDbus.[ch]
21427                 - Add missing <dbus/dbus.h> header
21428                 - Convert to using dbus_message_append_args/dbus_message_get_args
21429                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21430                         that an allowed network changed.  We don't want to signal on individual
21431                         keys _inside_ an allowed network really, just want NM to query the info
21432                         daemon for updated info on all keys.
21433                 - Better error checking
21434
21435         * src/NetworkManager.[ch]
21436                 - Add missing <dbus/dbus.h> header
21437                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21438                 - Zero out NMData structure on free
21439                 - No longer use a thread for allowed_ap_list updating, instead its now done
21440                         through dbus queries against NetworkManagerInfo
21441                 - Populate allowed_ap_list initially before adding existing network devices
21442                         to the device list, so wireless devices can get their "best" AP
21443
21444         * src/NetworkManagerDbus.[ch]
21445                 - Convert to using dbus_message_append_args/dbus_message_get_args
21446                 - Better error checking
21447                 - Implement Allowed Network info functions to request allowed network
21448                         info from NetworkManagerInfo
21449                 - Implement the filter function to process signals from NetworkManagerInfo
21450                         about changing allowed networks
21451
21452         * src/NetworkManagerDevice.c
21453                 - Fix file descriptor leak in nm_device_update_ip4_address()
21454
21455 2004-07-27  Dan Williams <dcbw@redhat.com>
21456
21457         * .cvsignore
21458           src/.cvsignore
21459           test/.cvsignore
21460           dispatcher-daemon/.cvsignore
21461           info-daemon/.cvsignore
21462                 - Add .cvsignore files to reduce noise when diffing
21463
21464 2004-07-24  Dan Williams <dcbw@redhat.com>
21465
21466         * src/NetworkManager.[ch]
21467           src/NetworkManagerDbus.[ch]
21468           src/NetworkManagerDevice.[ch]
21469           src/NetworkManagerPolicy.c
21470           src/NetworkManagerWireless.[ch]
21471                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21472                 - Pass the NMData application data structure through all calls
21473                         that need it so we can get rid of nm_get_global_data()
21474                 - Change deallocation of the allowed_ap_list GSList in preparation
21475                         for not completely clearing it every time we get an update,
21476                         but instead getting incremental updates via GConf/dbus
21477
21478 2004-07-22  Dan Williams <dcbw@redhat.com>
21479
21480         * configure.in
21481                 - Add checks for GConf libs & headers & flags
21482
21483         * info-daemon/Makefile.am
21484                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21485
21486         * info-daemon/NetworkManagerInfo.[ch]
21487                 - Don't use gquarks for data storage, just use normal data storage
21488                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21489
21490         * info-daemon/NetworkManagerDbus.[ch]
21491                 - Add method call for getting allowed networks
21492                 - Add method calls for getting an allowed network's essid, priority, and key
21493                 - Hook the method calls up to GConf
21494                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21495                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21496                 
21497         * src/NetworkManagerDbus.[ch]
21498                 - Switch for enumeration of networks to using essid instead
21499
21500         * test/Makefile.am
21501           test/nminfotest.c
21502                 - Add test program for NetworkManagerInfo
21503
21504 2004-07-19  Dan Williams <dcbw@redhat.com>
21505
21506         * src/NetworkManagerDbus.c
21507                 - Switch from indexed device paths to names.  Less code, more efficient.
21508                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21509
21510 2004-07-19  Dan Williams <dcbw@redhat.com>
21511
21512         * dispatcher-daemon/NetworkManagerDispatcher.c
21513                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21514
21515 2004-07-19  Dan Williams <dcbw@redhat.com>
21516
21517         * Makefile.am
21518                 - Add info-daemon directory
21519
21520         * configure.in
21521                 - Check for glade libs and headers
21522                 - Add info-daemon directory
21523
21524         * src/NetworkManagerAP.c
21525                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21526                         copied over to the new AP.
21527
21528         * src/NetworkManagerDbus.c
21529           src/NetworkManagerDbus.h
21530                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21531                 - Remove nm_dbus_signal_need_key_for_network()
21532                 - Add disabled code for asynchronous user wep key callbacks
21533                 - Add functions for getting, setting, and cancelling user key operations
21534                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21535                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21536
21537         * src/NetworkManagerDevice.c
21538           src/NetworkManagerDevice.h
21539                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21540                         logic is in device activation now
21541                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21542                         key is wrong) trigger get-user-key pending action
21543                 - Implement get-user-key pending action stuff, tie to dbus messages
21544                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21545                 - Add nm_device_ap_list_get_ap_by_essid()
21546                 - Instead of copying "best" access points, ref them instead so that the key we set
21547                         sticks around
21548
21549         * src/NetworkManagerPolicy.c
21550                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21551                 - Don't cancel pending actions on a device if its the same device as last iteration
21552                 - Only promote pending_device->active_device if activation was successfull
21553
21554         * src/Makefile.am
21555                 - Rename nmclienttest->nmtest
21556
21557         * info-daemon/Makefile.am
21558           info-daemon/NetworkManagerInfo.c
21559           info-daemon/NetworkManagerInfo.h
21560           info-daemon/NetworkManagerInfoDbus.c
21561           info-daemon/NetworkManagerInfoDbus.h
21562           info-daemon/passphrase.glade
21563           info-daemon/NetworkManagerInfo.conf
21564           info-daemon/keyring.png
21565                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21566                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21567                         lists to NetworkManager by proxying user's GConf
21568           
21569
21570 2004-07-15  Dan Williams <dcbw@redhat.com>
21571
21572         * src/Makefile.am
21573                 - Turn on warnings
21574
21575         * src/NetworkManager.c
21576                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21577                         that doing the deactivation ourselves
21578                 - Cancel an pending actions on a device if its being removed
21579                 - Break up link state checking a bit, make non-active wireless cards
21580                         deactivated to save power
21581                 - Remove unused variables
21582
21583         * src/NetworkManager.h
21584                 - Add support for "pending" device
21585
21586         * src/NetworkManagerAP.h
21587           src/NetworkManagerAP.c
21588                 - Add support for determining whether and AP has encryption enabled or not
21589                 - AP address is now "struct ether_addr" rather than a string
21590
21591         * src/NetworkManagerDbus.h
21592           src/NetworkManagerDbus.c
21593                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21594                 - Changes for AP address from struct ether_addr->string
21595
21596         * src/NetworkManagerDevice.h
21597           src/NetworkManagerDevice.c
21598                 - Remove unused variables, fix warnings
21599                 - Add support for Pending Actions (things that block a device from being "active"
21600                         until they are completed).
21601                 - First pending action:  Get a WEP key from the user
21602                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21603                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21604                 - Update wireless link checking to try to determine if the AP we are associated
21605                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21606                         trigger the GetUserKey pending action on the device
21607                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21608                         up in that case, otherwise we can't scan or link-check on it
21609                 - Add IP address change notifications at appropriate points (still needs some work)
21610                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21611
21612         * src/NetworkManagerPolicy.h
21613           src/NetworkManagerPolicy.c
21614                 - Split out "best" access point determiniation into separate function
21615                 - Make device activation 2-stage:  first the device is pending, then
21616                         in the next iteration through it becomes "active" unless it has
21617                         pending actions
21618
21619         * src/NetworkManagerUtils.h
21620           src/NetworkManagerUtils.c
21621                 - Clean up unused variables and warnings
21622                 - Wrap our debug macros in {} to prevent possible confusion
21623
21624         * src/NetworkManagerWireless.c
21625                 - Forgot to return current best priority, which lead to last available AP always
21626                         being chosen no matter what its priority was.  Corrected.
21627
21628 2004-07-15  Dan Williams <dcbw@redhat.com>
21629
21630         * dispatcher-daemon/Makefile.am
21631                 - Turn on warnings
21632
21633         * dispatcher-daemon/NetworkManagerDispatcher.c
21634                 - Remove unused variables due to warnings
21635                 - Fix some comments
21636                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21637
21638 2004-07-06  Dan Williams <dcbw@redhat.com>
21639
21640         * src/NetworkManager.c
21641                 - Add IPv4 address update for active device during link state check
21642                 - Don't allow wireless cards to be powered up when they are not the
21643                         active device
21644
21645         * src/NetworkManagerDbus.c
21646           src/NetworkManagerDbus.h
21647                 - Add DBUS IPv4 address change signal
21648                 - Add DBUS IPv4 address get method for devices
21649
21650         * src/NetworkManagerDevice.c
21651                 - Make setting the WEP key actually work
21652                 - Move IP address get/set/update stuff here, per-device
21653                 - Power down/bring down wireless device when deactivated
21654                 - For scanning wireless devices, if first scan returned ENODATA, try again
21655
21656         * src/NetworkManagerPolicy.c
21657                 - Only set the WEP key for an allowed access point if there is one.
21658                         We were setting it to be blank if one wasn't specified.
21659
21660         * src/NetworkManagerUtils.h
21661           src/NetworkManagerUtils.c
21662                 - Move the IP address stuff to NetworkManagerDevice.c
21663
21664         * dispatcher-daemon/NetworkManagerDispatcher.c
21665                 - Add device IPv4 address change notification stuff
21666
21667 2004-07-05  Dan Williams <dcbw@redhat.com>
21668
21669         * dispatcher-daemon/NetworkManagerDispatcher.c
21670                 - A bit more descriptive state message
21671                 - Don't segfault when reading directory
21672
21673         * src/NetworkManager.h
21674                 - Remove NMData desired_ap member, its now
21675                         per-device rather than global
21676
21677         * src/NetworkManager.c
21678                 - Remove references to desired_ap
21679                 - Move the allowed AP list refresh stuff into a thread
21680
21681         * src/NetworkManagerDevice.c
21682           src/NetworkManagerDevice.h
21683                 - Each wireless device now has a "best ap"
21684                 - Make device activate/deactivate functions per-device
21685                 - Make wireless scanning per-device
21686                 - Add IPv4 address discover functions, stub IPv6 ones
21687                 - Move ethernet address validation functions to NetworkManagerUtils.c
21688                 - Add wireless access point accessor function
21689                 - Get/Set functions for "best ap"
21690
21691         * src/NetworkManagerPolicy.c
21692                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21693                 - Deal with per-device "best ap" rather than data->desired_apa
21694                 - Implement allowed access point worker thread
21695                 - Add nm_policy_essid_is_allowed() function
21696
21697         * src/NetworkManagerUtils.c
21698           src/NetworkManagerUtils.h
21699                 - Add nm_ethernet_address_is_valid() function
21700                 - Add IPv4/IPv6 address get functions
21701
21702         * src/NetworkManagerWireless.c
21703           src/NetworkManagerWireless.h
21704                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21705
21706 2004-06-29  Dan Williams <dcbw@redhat.com>
21707
21708         * dispatcher-daemon/NetworkManagerDispatcher.c
21709                 - Implement script callout functionality
21710
21711 2004-06-24  Dan Williams <dcbw@redhat.com>
21712
21713         * NetworkManager.c
21714             - Spacing cleanups
21715             - Flush device routes and ip addresses when added to the device list
21716
21717         * NetworkManagerDbus.c
21718             - Spacing cleanups
21719             - Add missing returns in the two signal functions
21720         
21721         * NetworkManagerPolicy.c
21722             - Spacing and variable cleanups
21723
21724 2004-06-24  Dan Williams <dcbw@redhat.com>
21725
21726         * Makefile.am
21727           Makefile.in
21728           configure.in
21729           dispatcher-daemon/Makefile.am
21730           dispatcher-daemon/Makefile.in
21731           dispatcher-daemon/NetworkManagerDispatcher.c
21732             - Add a daemon that receives signals from NetworkManager
21733                         and will (eventually) call scripts in /etc/somewhere
21734                         when devices go up or down.
21735         
21736         * NetworkManager.c
21737             - Spacing cleanups
21738             - Flush device routes and ip addresses when added to the device list
21739
21740         * NetworkManagerDbus.c
21741             - Spacing cleanups
21742             - Add missing returns in the two signal functions
21743         
21744         * NetworkManagerPolicy.c
21745             - Spacing and variable cleanups
21746             - Rename nm_policy_switch_interface->nm_policy_switch_device
21747             - nm_policy_switch_device():
21748                                 Use kill (pid) instead of system ("kill <pid>")
21749             - nm_state_modification_monitor():
21750                                 Add wireless essid to output of debug statements
21751                                 Correct typo in device compare to switch or not (should be !=)
21752                                 Don't sleep after sending "no longer active" signal, was useless
21753
21754 2004-06-24  Dan Williams <dcbw@redhat.com>
21755
21756         * Initial import