2008-11-05 Tambet Ingo <tambet@gmail.com>
[NetworkManager.git] / ChangeLog
1 2008-11-05  Tambet Ingo  <tambet@gmail.com>
2
3         * libnm-util/nm-setting-8021x.c: Verify PEAP settings as well.
4
5 2008-11-03  Dan Williams  <dcbw@redhat.com>
6
7         * system-settings/src/main.c
8                 - (add_default_dhcp_connection): make the fallback connection read-only
9
10         * libnm-glib/nm-settings.c
11           libnm-glib/nm-settings.h
12                 - Add detailed errors
13                 - (impl_exported_connection_update, impl_exported_connection_delete):
14                         return an error if the connection is read-only
15
16         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
17           system-settings/plugins/keyfile/nm-keyfile-connection.c
18           system-settings/src/main.c
19                 - Use more detailed errors
20
21         * system-settings/src/nm-system-config-error.c
22           system-settings/src/nm-system-config-error.h
23           system-settings/src/dbus-settings.c
24                 - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
25                         NM_SETTINGS_ERROR_INVALID_CONNECTION
26
27 2008-11-02  Dan Williams  <dcbw@redhat.com>
28
29         * Add license headers to everything in src/
30
31 2008-11-02  Dan Williams  <dcbw@redhat.com>
32
33         * Tag 0.7.0-rc1
34
35 2008-11-02  Dan Williams  <dcbw@redhat.com>
36
37         * src/NetworkManagerAP.c
38                 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
39                         setting as unencrypted; fixes a bug where NM wouldn't ask for new
40                         secrets when connecting to an encrypted network failed
41
42 2008-10-30  Dan Williams  <dcbw@redhat.com>
43
44         * libnm-util/libnm-util.ver
45           libnm-util/nm-setting-ip6-config.c
46           libnm-util/nm-setting-ip6-config.h
47           libnm-util/Makefile.am
48                 - Make properties private and add accessor functions
49                 - Hide IPv6 stuff from public API, it's incomplete and completely unused
50
51         * libnm-util/nm-connection.c
52           libnm-util/nm-utils.c
53           libnm-util/nm-utils.h
54                 - Ignore IPv6 stuff for now
55
56 2008-10-30  Dan Williams  <dcbw@redhat.com>
57
58         * libnm-util/libnm-util.ver
59           libnm-util/nm-setting-8021x.c
60           libnm-util/nm-setting-8021x.h
61                 - Make properties private and add accessor functions
62
63         * src/supplicant-manager/nm-supplicant-config.c
64           system-settings/plugins/ifcfg-suse/parser.c
65                 - Use 802.1x setting accessors
66
67 2008-10-30  Dan Williams  <dcbw@redhat.com>
68
69         * libnm-util/libnm-util.ver
70           libnm-util/nm-setting-wireless-security.c
71           libnm-util/nm-setting-wireless-security.h
72                 - Make properties private and add accessor functions
73
74         * libnm-util/nm-setting-wireless.c
75           src/NetworkManagerAP.c
76           src/nm-device-wifi.c
77           src/supplicant-manager/nm-supplicant-config.c
78           system-settings/plugins/ifcfg-fedora/reader.c
79           system-settings/plugins/ifcfg-suse/parser.c
80                 - Use wireless security accessors
81
82 2008-10-30  Dan Williams  <dcbw@redhat.com>
83
84         * src/nm-device-ethernet.c
85           src/nm-device-wifi.c
86           src/nm-device.c
87           src/ppp-manager/nm-ppp-manager.c
88                 - Harmonize return checking of ioctl
89
90         * system-settings/plugins/ifcfg-fedora/reader.c
91                 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
92
93 2008-10-30  Dan Williams  <dcbw@redhat.com>
94
95         * src/ppp-manager/nm-ppp-manager.c
96                 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
97                         ppp_generic module to create it (bgo #533064)
98
99 2008-10-30  Dan Williams  <dcbw@redhat.com>
100
101         Patch from Alexander Sack <asac@canonical.com>
102
103         Fix "ppp connections don't honour ip4 connection settings"
104
105         * src/nm-device-ethernet.c
106                 - (real_act_stage4_get_ip4_config): merge ip4config settings
107                         with results from ppp manager
108
109         * src/nm-serial-device.c
110                 - (real_act_stage4_get_ip4_config): merge ip4config settings
111                         with results from ppp manager
112
113 2008-10-29  Dan Williams  <dcbw@redhat.com>
114
115         * libnm-util/libnm-util.ver
116           libnm-util/nm-setting-ip4-config.c
117           libnm-util/nm-setting-ip4-config.h
118                 - Make properties private and add accessor functions
119
120         * callouts/nm-dispatcher-action.c
121           libnm-glib/libnm-glib-test.c
122           libnm-util/nm-utils.c
123           src/NetworkManagerPolicy.c
124           src/NetworkManagerSystem.c
125           src/NetworkManagerUtils.c
126           src/dhcp-manager/nm-dhcp-dhclient.c
127           src/dhcp-manager/nm-dhcp-manager.c
128           src/dnsmasq-manager/nm-dnsmasq-manager.c
129           src/nm-device-wifi.c
130           src/nm-device.c
131           src/nm-hso-gsm-device.c
132           src/nm-ip4-config.c
133           src/nm-ip4-config.h
134           src/ppp-manager/nm-ppp-manager.c
135           src/vpn-manager/nm-vpn-connection.c
136           system-settings/plugins/ifcfg-fedora/reader.c
137           system-settings/plugins/ifcfg-suse/parser.c
138           system-settings/plugins/ifcfg-suse/plugin.c
139           system-settings/plugins/ifupdown/parser.c
140           test/nm-tool.c
141           vpn-daemons/vpnc/properties/nm-vpnc.c
142                 - Use IP4 accessor functions
143
144 2008-10-29  Tambet Ingo  <tambet@gmail.com>
145
146         Half of it by Dan Williams <dcbw@redhat.com>
147
148         * libnm-util/libnm-util.ver
149         libnm-util/nm-setting-vpn.c
150         libnm-util/nm-setting-vpn.h
151                 - Make properties private and add accessor functions.
152
153         * src/vpn-manager/nm-vpn-connection.c
154         src/vpn-manager/nm-vpn-manager.c
155         system-settings/plugins/keyfile/reader.c
156         vpn-daemons/openvpn/properties/auth-helpers.c
157         vpn-daemons/openvpn/properties/import-export.c
158         vpn-daemons/openvpn/properties/nm-openvpn.c
159         vpn-daemons/openvpn/src/nm-openvpn-service.c
160         vpn-daemons/pptp/auth-dialog/main.c
161         vpn-daemons/pptp/properties/advanced-dialog.c
162         vpn-daemons/pptp/properties/nm-pptp.c
163         vpn-daemons/pptp/src/nm-pptp-service.c
164         vpn-daemons/vpnc/properties/nm-vpnc.c
165         vpn-daemons/vpnc/src/nm-vpnc-service.c
166                 - Use VPN setting accessors.
167
168 2008-10-28  Dan Williams  <dcbw@redhat.com>
169
170         Patch from Tambet Ingo <tambet@gmail.com>
171
172         * libnm-util/libnm-util.ver
173           libnm-util/nm-setting-wireless.c
174           libnm-util/nm-setting-wireless.h
175                 - Make properties private and add accessor functions
176
177         * src/NetworkManagerAP.c
178           src/nm-device-wifi.c
179           src/nm-manager.c
180           src/supplicant-manager/nm-supplicant-config.c
181           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
182           system-settings/plugins/ifcfg-fedora/reader.c
183           system-settings/plugins/ifcfg-suse/parser.c
184           system-settings/plugins/ifupdown/parser.c
185                 - Use wireless setting accessors
186
187 2008-10-27  Dan Williams  <dcbw@redhat.com>
188
189         Patch from Tambet Ingo <tambet@gmail.com>
190
191         * libnm-util/libnm-util.ver
192           libnm-util/nm-setting-ppp.c
193           libnm-util/nm-setting-ppp.h
194                 - Make properties private and add accessor functions
195
196         * src/ppp-manager/nm-ppp-manager.c
197                 - Use ppp setting accessors
198
199 2008-10-27  Dan Williams  <dcbw@redhat.com>
200
201         Patch from Tambet Ingo <tambet@gmail.com>
202
203         * libnm-util/nm-setting.h
204           libnm-util/nm-setting.c
205                 - Make properties private and add accessor functions
206
207         * libnm-util/nm-connection.c
208           libnm-util/nm-setting-8021x.c
209           libnm-util/nm-setting-cdma.c
210           libnm-util/nm-setting-connection.c
211           libnm-util/nm-setting-gsm.c
212           libnm-util/nm-setting-ip4-config.c
213           libnm-util/nm-setting-ip6-config.c
214           libnm-util/nm-setting-ppp.c
215           libnm-util/nm-setting-pppoe.c
216           libnm-util/nm-setting-serial.c
217           libnm-util/nm-setting-template.c
218           libnm-util/nm-setting-vpn.c
219           libnm-util/nm-setting-wired.c
220           libnm-util/nm-setting-wireless-security.c
221           libnm-util/nm-setting-wireless.c
222           system-settings/plugins/keyfile/reader.c
223           system-settings/plugins/keyfile/writer.c
224                 - Use setting accessors
225
226 2008-10-27  Dan Williams  <dcbw@redhat.com>
227
228         * libnm-util/libnm-util.ver
229           libnm-util/nm-setting-connection.c
230           libnm-util/nm-setting-connection.h
231                 - Add a 'read-only' property that indicates the connection cannot be
232                         modified
233
234         * system-settings/plugins/ifcfg-fedora/reader.c
235           system-settings/plugins/ifcfg-suse/parser.c
236           system-settings/plugins/ifupdown/parser.c
237                 - These plugins are read-only at the moment
238
239         * system-settings/plugins/keyfile/reader.c
240           system-settings/plugins/keyfile/writer.c
241                 - Read-only shouldn't get saved out to files or read in from them
242
243 2008-10-27  Tambet Ingo  <tambet@gmail.com>
244
245         * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
246         correct speed reporting for fast devices (kernel >= 2.6.27).
247
248 2008-10-26  Dan Williams  <dcbw@redhat.com>
249
250         Attempt to compensate for modems that don't enable full AT parsing before
251         the PIN has been entered.
252
253         * src/nm-gsm-device.c
254                 - (init_modem): accept different init strings
255                 - (init_done): try different init strings on failure
256                 - (check_pin_done): on PIN success, do full modem init
257
258 2008-10-26  Dan Williams  <dcbw@redhat.com>
259
260         Patch from Tambet Ingo <tambet@gmail.com>
261
262         * libnm-util/libnm-util.ver
263           libnm-util/nm-setting-connection.c
264           libnm-util/nm-setting-connection.h
265                 - Make properties private and add accessor functions
266
267         * src/NetworkManagerPolicy.c
268           src/nm-cdma-device.c
269           src/nm-device-ethernet.c
270           src/nm-device-interface.c
271           src/nm-device-wifi.c
272           src/nm-gsm-device.c
273           src/nm-manager.c
274           src/ppp-manager/nm-ppp-manager.c
275           src/vpn-manager/nm-vpn-connection.c
276           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
277           system-settings/plugins/ifcfg-fedora/plugin.c
278           system-settings/plugins/ifcfg-fedora/reader.c
279           system-settings/plugins/ifcfg-suse/parser.c
280           system-settings/plugins/ifupdown/parser.c
281           system-settings/plugins/keyfile/nm-keyfile-connection.c
282           system-settings/plugins/keyfile/plugin.c
283           system-settings/plugins/keyfile/writer.c
284           system-settings/src/main.c
285                 - Use those accessors
286
287 2008-10-26  Dan Williams  <dcbw@redhat.com>
288
289         Patch from Tambet Ingo <tambet@gmail.com>
290
291         * libnm-util/libnm-util.ver
292           libnm-util/nm-setting-gsm.c
293           libnm-util/nm-setting-gsm.h
294                 - Make properties private and add accessor functions
295
296         * src/nm-gsm-device.c
297           src/nm-hso-gsm-device.c
298           src/ppp-manager/nm-ppp-manager.c
299                 - Use those accessors
300
301 2008-10-26  Dan Williams  <dcbw@redhat.com>
302
303         Patch from Tambet Ingo <tambet@gmail.com>
304
305         * libnm-util/libnm-util.ver
306           libnm-util/nm-setting-cdma.c
307           libnm-util/nm-setting-cdma.h
308                 - Make properties private and add accessor functions
309
310         * src/nm-cdma-device.c
311           src/ppp-manager/nm-ppp-manager.c
312                 - Use those accessors
313
314 2008-10-26  Dan Williams  <dcbw@redhat.com>
315
316         Patch from Tambet Ingo <tambet@gmail.com>
317
318         * libnm-util/libnm-util.ver
319           libnm-util/nm-setting-pppoe.c
320           libnm-util/nm-setting-pppoe.h
321                 - Make properties private and add accessor functions
322
323         * src/nm-device-ethernet.c
324           src/ppp-manager/nm-ppp-manager.c
325                 - Use those accessors
326
327 2008-10-26  Dan Williams  <dcbw@redhat.com>
328
329         Patch from Tambet Ingo <tambet@gmail.com>
330
331         * libnm-util/libnm-util.ver
332           libnm-util/nm-setting-wired.c
333           libnm-util/nm-setting-wired.h
334                 - Make properties private and add accessor functions
335
336         * src/nm-device-ethernet.c
337           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
338           system-settings/plugins/ifcfg-suse/parser.c
339           system-settings/src/main.c
340                 - Use those accessors
341
342 2008-10-26  Dan Williams  <dcbw@redhat.com>
343
344         Patch from Tambet Ingo <tambet@gmail.com>
345
346         * libnm-util/libnm-util.ver
347           libnm-util/nm-setting-serial.c
348           libnm-util/nm-setting-serial.h
349           src/nm-serial-device.c
350                 - Make properties private and use accessors instead
351
352 2008-10-26  Dan Williams  <dcbw@redhat.com>
353
354         * src/supplicant-manager/nm-supplicant-interface.c
355           src/supplicant-manager/nm-supplicant-interface.h
356           src/supplicant-manager/nm-supplicant-manager.c
357           src/supplicant-manager/nm-supplicant-manager.h
358                 - Add state-to-string conversion functions
359
360         * src/nm-device-wifi.c
361           src/nm-device-ethernet.c
362                 - Normalize state info logging and use strings instead of numbers
363
364 2008-10-26  Dan Williams  <dcbw@redhat.com>
365
366         * src/NetworkManagerPolicy.c
367                 - (update_routing_and_dns): ignore host routes when determining whether
368                         a VPN connection should own the default route (bgo #552594)
369
370 2008-10-24  Dan Williams  <dcbw@redhat.com>
371
372         * src/nm-gsm-device.c
373                 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
374
375 2008-10-23  Dan Williams  <dcbw@redhat.com>
376
377         * src/ppp-manager/nm-ppp-manager.c
378                 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
379                         add really important stuff to the command line to ensure that NM
380                         overrides /etc/ppp/options (bgo #556781)
381
382 2008-10-22  Dan Williams  <dcbw@redhat.com>
383
384         * src/NetworkManagerSystem.c
385           src/nm-device.c
386                 - Use the device's IP interface where appropriate (Per Hallsmark)
387
388 2008-10-22  Dan Williams  <dcbw@redhat.com>
389
390         * src/nm-gsm-device.c
391                 - (schedule_automatic_registration_again): use a short timeout here
392                         instead of an idle handler to avoid using too much CPU polling for
393                         something we should be waiting a bit for anyway
394
395 2008-10-22  Dan Williams  <dcbw@redhat.com>
396
397         * include/NetworkManager.h
398           introspection/nm-device.xml
399                 - Add device state change reason for carrier changes
400
401         * src/nm-device-ethernet.c
402                 - (set_carrier): use the carrier change reason when changing device
403                         state in response to carrier changes
404
405 2008-10-21  Dan Williams  <dcbw@redhat.com>
406
407         * src/NetworkManagerPolicy.c
408                 - (update_etc_hosts): don't leak errors, and ensure that
409                         g_file_set_contents() gets a valid error placeholder (rh #461933)
410
411 2008-10-21  Dan Williams  <dcbw@redhat.com>
412
413         * src/nm-manager.c
414                 - (free_get_settings_info): don't use the DBusGProxy which could be
415                         disposed of by the time the function is called
416                 - (internal_new_connection_cb): save connection scope
417                 - (connection_get_settings_cb): don't replace a connection unless it's
418                         actually different from the existing one; fixes an issue where
419                         killing the settings service wouldn't deactivate an active connection
420                         provided by that settings service, because it was using a connection
421                         that had already been replaced in the system or user hash
422
423 2008-10-21  Dan Williams  <dcbw@redhat.com>
424
425         * src/NetworkManager.c
426                 - (main): keep the DHCP manager around since it's a singleton; fixes
427                         a use-after-free exposed by r4196 since the DHCP manager singleton
428                         variable isn't cleared when the DHCP manager object is finalized
429
430 2008-10-20  Dan Williams  <dcbw@redhat.com>
431
432         * libnm-util/nm-setting-wireless-security.c
433                 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
434
435 2008-10-20  Dan Williams  <dcbw@redhat.com>
436
437         * src/supplicant-manager/nm-supplicant-config.c
438                 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
439
440 2008-10-20  Dan Williams  <dcbw@redhat.com>
441
442         * src/dhcp-manager/nm-dhcp-manager.c
443                 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
444                         manager object already refs it once
445                 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
446                         also get cleaned up by nm_dhcp_device_destroy() to prevent
447                         double-frees
448
449 2008-10-20  Dan Williams  <dcbw@redhat.com>
450
451         * src/nm-manager.c
452                 - (initial_get_connections): use private dbus manager, don't keep
453                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
454                         manager object.
455
456 2008-10-18  Dan Williams  <dcbw@redhat.com>
457
458         * libnm-glib/nm-settings.c
459           libnm-glib/nm-settings.h
460                 - Rename the "get_secrets" virtual function "service_get_secrets" to
461                         clarify when it's used; NMExportedConnetion is a base-class for both
462                         the client and service side, which is sort of confusing, and
463                         get_secrets only makes sense on the service side.
464
465         * libnm-glib/nm-dbus-connection.c
466                 - (get_secrets): remove, unused, and clients need to do extra work to
467                         get secrets anyway since the call can block on the remote side
468
469         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
470           system-settings/plugins/keyfile/nm-keyfile-connection.c
471                 - Fix up for get_secrets -> service_get_secrets
472
473 2008-10-16  Dan Williams  <dcbw@redhat.com>
474
475         * src/nm-device-wifi.c
476                 - (constructor): correctly determine encryption capabilities
477
478 2008-10-15  Dan Williams  <dcbw@redhat.com>
479
480         * src/nm-device-wifi.c
481                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
482                         (Johannes Berg)
483
484 2008-10-15  Dan Williams  <dcbw@redhat.com>
485
486         * src/NetworkManagerSystem.c
487                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
488                         if the ip4_dest is in a smaller subnet contained within a subnet
489                         the machine is currently on, the destination is in the same subnet
490                 - (nm_system_device_set_ip4_route): move subnet checks to callers
491                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
492                         subnet as the parent device, and if so, don't add the direct
493                         host route via the parent device's gateway (bgo #481620)
494                 - (nm_system_apply_ip4_config): check whether the route to be added
495                         is contained within a subnet the device is already on
496
497 2008-10-11  Dan Williams  <dcbw@redhat.com>
498
499         * include/NetworkManager.h
500           introspection/nm-device.xml
501           include/NetworkManagerVPN.h
502                 - Add a few more state reasons for the device deactivated state
503
504         * src/nm-device-interface.c
505           src/nm-device-interface.h
506                 - (nm_device_interface_deactivate): add a 'reason' argument
507
508         * src/nm-device.c
509           src/nm-device.h
510                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
511                 - (nm_device_state_changed): pass the state change reason to
512                         nm_device_take_down()
513                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
514                         to the state change function
515
516         * src/nm-manager.c
517           src/nm-manager.h
518                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
519                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
520                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
521                         something reasonable along to VPN deactivation
522
523         * src/vpn-manager/nm-vpn-manager.c
524           src/vpn-manager/nm-vpn-manager.h
525                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
526                         pass that along to nm_vpn_connection_disconnect()
527
528 2008-10-11  Dan Williams  <dcbw@redhat.com>
529
530         * src/nm-device-wifi.c
531                 - (can_scan): remove old madwifi hack for not scanning while connected
532
533 2008-10-11  Dan Williams  <dcbw@redhat.com>
534
535         Add support for VPN subnet gateways (bgo #549196)
536
537         * include/NetworkManager.h
538                 - Add key for internal VPN subnet gateway
539
540         * src/vpn-manager/nm-vpn-connection.c
541                 - (ip_address_to_string): return a const from a static buffer so we
542                         don't leak a lot of strings
543                 - (print_vpn_config): print internal VPN gateway as well
544                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
545                         VPN service too
546                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
547
548         * src/NetworkManagerSystem.c
549           src/NetworkManagerSystem.h
550                 - (nm_system_device_replace_default_ip4_route): split into two, one for
551                         VPN connections and one for normal devices
552                 - (replace_default_ip4_route): break out route stuff into its own function
553                 - (nm_system_replace_default_ip4_route_vpn,
554                    nm_system_replace_default_ip4_route): simplify by having two cases,
555                         one for VPNs and one for normal devices
556
557         * src/NetworkManagerPolicy.c
558                 - (update_routing_and_dns): simplify, use split default route replacement
559                         functions
560
561 2008-10-10  Dan Williams  <dcbw@redhat.com>
562
563         Rework default route handling to consolidate decisions in the policy,
564         and to take active VPN connections into account when changing the default
565         route (bgo #545912)
566
567         * src/NetworkManager.c
568                 - (main): pass the vpn_manager to the policy so it knows about active
569                         VPN connections; clean up the named manager which wasn't done before
570
571         * src/NetworkManagerPolicy.c
572           src/NetworkManagerPolicy.h
573                 - (nm_policy_new): get a clue about the vpn_manager
574                 - (update_default_route): remove, fold into update_routing_and_dns()
575                 - (update_routing_and_dns): handle active VPN connections too; an
576                         active VPN connection becomes the default route if it does not have
577                         server-specified or user-specified custom routes.  Otherwise, the
578                         best active device gets the default route
579                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
580                    nm_policy_destroy): track VPN connection activation and deactivation
581                         and update the default route when appropriate
582
583         * src/NetworkManagerSystem.c
584           src/NetworkManagerSystem.h
585                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
586                         in the VPN connection itself
587                 - (nm_system_vpn_device_set_from_ip4_config,
588                    nm_system_device_set_from_ip4_config): merge together to make
589                         nm_system_apply_ip4_config()
590                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
591                         via the parent device
592                 - (nm_system_apply_ip4_config): simplify
593                 - (add_ip4_route_to_gateway): new function; add a direct route to the
594                         gateway if needed
595                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
596                         route stuff out into add_ip4_route_to_gateway() for clarity
597
598         * src/nm-device.c
599                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
600
601         * src/vpn-manager/nm-vpn-connection.c
602           src/vpn-manager/nm-vpn-connection.h
603                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
604                    nm_vpn_connection_get_parent_device): add
605                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
606                         device explicit
607                 - (connection_state_changed): update the named manager now that
608                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
609                         useful on errors
610
611         * src/vpn-manager/nm-vpn-manager.c
612           src/vpn-manager/nm-vpn-manager.h
613                 - Add a 'connection-activated' signal
614                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
615                         policy to find out about active VPN connections
616
617 2008-10-10  Tambet Ingo  <tambet@gmail.com>
618
619         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
620         a daemon to prevent NM logging spew on console on startup and shutdown (due
621         to dependency loop between NM and syslog).
622
623 2008-10-10  Alexander Sack  <asac@ubuntu.com>
624
625         Implement managed mode. We bind devices configured in /etc/network/interfaces
626         to their connections by updating wired/wireless setting with the
627         mac address of the device.
628
629         * system-settings/plugins/ifupdown/plugin.c
630                 - (get_net_address_for_udi): implement function to retrieve MAC
631                         address of udi from hal in GByteArray format
632                 - (bind_device_to_connection): bind mac address of device to
633                         wired/wireless system connection
634                 - (hal_device_added_cb): call bind_device_to_connection for
635                         system connections with a matching interface.name
636                 - (hal_device_added_cb): ensure that all code paths
637                         properly free the "iface" string.
638
639 2008-10-10  Alexander Sack  <asac@ubuntu.com>
640
641         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
642         mode of the ifupdown system config plugin.
643
644         * system-settings/plugins/ifupdown/plugin.c
645                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
646                         private unmanage_well_known state field accordingly
647
648 2008-10-10  Alexander Sack  <asac@ubuntu.com>
649
650         Implement unmanaged mode that will prevent all devices in the
651         well_known_udis set from being touched by NetworkManager
652
653         * system-settings/plugins/ifupdown/plugin.c
654                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
655                         unmanage_well_known field used to turn on/off unmanaged
656                         mode
657                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
658                         signal when well_known_udis get added/removed
659                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
660                         if we are in unmanaged mode
661
662 2008-10-10  Alexander Sack  <asac@ubuntu.com>
663
664         Add support to track network devices that have a configuration
665         with a matching interface.name in /etc/network/interfaces
666
667         * system-settings/plugins/ifupdown/plugin.c
668                 - (typedef struct SCPluginIfupdownPrivate): add hash table
669                         to track |well_known_udis|
670                 - (get_iface_for_udi): helper function to get interface.name
671                         for a udi
672                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
673                         that add and remove devices to and from the well_known_udis
674                         set depending on whether their |interface.name| matches
675                         any interface definition in /etc/network/interfaces
676                 - (SCPluginIfupdown_init): connect callbacks from above with
677                         hal_mgr and setup well_known_udis hashtable
678                 - (GObject__dispose): destroy well_known_udis hashtable
679                 - (hal_device_added_cb2): implement wrapper callback with GFunc
680                         signature. user_data is supposed to be a triple (hal_mgr,
681                         config and devtype)
682                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
683                         startup and call hal_device_added_cb2
684
685 2008-10-10  Alexander Sack  <asac@ubuntu.com>
686
687         Remove implementation for not used NMSystemConfigInterface callback functions
688         in ifupdown plugin
689
690         * system-settings/plugins/ifupdown/plugin.c
691                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
692                 - (SCPluginIfupdown_connection_added): removed
693
694 2008-10-08  Dan Williams  <dcbw@redhat.com>
695
696         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
697
698         * src/NetworkManagerUtils.c
699                 - (nm_utils_call_dispatcher): add a 'hostname' action
700
701         * src/NetworkManagerPolicy.c
702                 - (set_system_hostname): dispatch hostname changes
703
704         * callouts/nm-dispatcher-action.c
705                 - (nm_dispatcher_action): handle 'hostname' actions
706
707 2008-10-08  Dan Williams  <dcbw@redhat.com>
708
709         * src/NetworkManagerSystem.c
710                 - (find_route): ref the route so it doesn't get destroyed when the cache
711                         is cleared
712                 - (nm_system_device_set_priority): unref the route here after it's done
713                         being used
714
715 2008-10-08  Dan Williams  <dcbw@redhat.com>
716
717         * src/nm-serial-device.c
718                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
719
720 2008-10-08  Tambet Ingo  <tambet@gmail.com>
721
722         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
723         connection with new settings before saving it.
724
725 2008-10-06  Dan Williams  <dcbw@redhat.com>
726
727         * src/nm-ip4-config.c
728           src/nm-ip4-config.h
729                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
730
731         * src/nm-device-interface.c
732                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
733                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
734                         by using '/' for the object path
735
736         * src/nm-device.c
737                 - (src/nm-device.c): marshal missing/unexported ip4-config through
738                         dbus as '/' since dbus-glib can't handle NULL objects nor can
739                         dbus handle NULL object paths
740
741 2008-10-03  Alexander Sack  <asac@ubuntu.com>
742
743         Implement system hostname support for debian/ubuntu
744
745         * system-settings/plugins/ifupdown/plugin.c
746                 - (GObject__get_property): extend announced capabilities; add
747                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
748                 - (GObject__set_property,write_system_hostname): implement
749                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
750                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
751                    update_system_hostname, get_hostname):
752                         implement hostname property that watches and
753                         parses /etc/hostname
754
755 2008-10-03  Alexander Sack  <asac@ubuntu.com>
756
757         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
758           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
759           system-settings/plugins/ifcfg-fedora/Makefile.am
760           system-settings/src/nm-inotify-helper.c
761           system-settings/src/nm-inotify-helper.h
762           src/Makefile.am
763                 - Move ifcfg-fedora inotify helpers to the system settings service so
764                         they are available to all plugins
765
766 2008-10-03  Alexander Sack  <asac@ubuntu.com>
767
768         Implement support for wep-tx-keyidx in ifupdown system
769         config plugin.
770
771         * system-settings/plugins/ifupdown/parser.c
772                 - (update_wireless_security_setting_from_if_block): introduce
773                         free_type_mapping func table; rename a few local
774                         variables to improve readability; add wpa security mapping
775                         for wep-tx-keyidx property
776                 - (string_to_gpointerint): new function used for the auto_type_mapping
777                         of new wep-tx-keyidx property
778                 - (slist_free_all): free func used for mapped slist types
779
780 2008-10-03  Alexander Sack  <asac@ubuntu.com>
781
782         * system-settings/src/main.c:
783                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
784                         always used as the hash key; fixes a crash when removing wired
785                         devices
786
787 2008-10-02  Dan Williams  <dcbw@redhat.com>
788
789         * src/nm-gsm-device.c
790                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
791                         pass the required GSM secret along via user_data rather than keeping
792                         it around in the private data where it sometimes didn't get cleared
793                 - (real_get_ppp_name): implement using the GSM username
794
795 2008-10-02  Dan Williams  <dcbw@redhat.com>
796
797         * src/ppp-manager/nm-ppp-manager.c
798           src/ppp-manager/nm-ppp-manager.h
799                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
800                         the settings daemon for completely new ones
801                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
802                         local PPP peer name; allow PPP debuging by launching NM with
803                         the environment variable NM_PPP_DEBUG defined
804                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
805                         create_pppd_cmd_line()
806
807         * src/nm-serial-device.c
808           src/nm-serial-device.h
809                 - New 'get_ppp_name' function for subclasses to implement to return the
810                         local PPP peer name
811                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
812                         and pass that name to the PPP manager
813
814         * src/nm-device-ethernet.c
815                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
816                         the local peer name
817
818         * src/nm-cdma-device.c
819                 - (real_get_ppp_name): implement using the CDMA username
820
821 2008-10-02  Dan Williams  <dcbw@redhat.com>
822
823         Patch from Alexander Sack <asac ubuntu com>
824
825         * system-settings/plugins/ifupdown/parser.c
826                 - Implement more graceful ip4 config parsing for cases where
827                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
828                   by using default values
829
830 2008-10-02  Dan Williams  <dcbw@redhat.com>
831
832         * src/NetworkManagerPolicy.c
833                 - (device_state_changed): when marking a connection invalid, clear its
834                         secrets too so that fresh secrets get requested the next time
835
836 2008-10-01  Dan Williams  <dcbw@redhat.com>
837
838         * system-settings/src/dbus-settings.c
839                 - (nm_sysconfig_settings_init): cache system hostname on startup as
840                         a fallback if no plugin provides a hostname
841                 - (get_property): fall back to cached hostname if no plugin provides
842                         a hostname
843
844 2008-10-01  Dan Williams  <dcbw@redhat.com>
845
846         Fix setting value comparison issue that caused some settings to look the
847         same when they were really different (rh #464417)
848
849         * libnm-util/nm-param-spec-specialized.c
850                 - (type_is_fixed_size): return fundamental size of the fixed type too
851                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
852                         in the comparison so that the _entire_ fixed type collection gets
853                         compared rather than just the first 'len1' bytes
854
855 2008-09-30  Dan Williams  <dcbw@redhat.com>
856
857         * src/NetworkManagerPolicy.c
858                 - (lookup_thread_worker): don't store the idle handler ID becuase the
859                         idle handler could have already run and freed the LookupThread
860                         structure
861
862 2008-09-30  Tambet Ingo  <tambet@gmail.com>
863
864         * src/nm-device.c (nm_device_get_priority): Implement.
865         (nm_device_set_ip4_config): Send the device priority to system ip4 
866         config setter.
867
868         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
869         Add priority argument and if it's >= 0, set the priority of the network
870         route added automatically by netlink (or kernel?).
871         (nm_system_device_set_priority): Implement.
872
873         * src/NetworkManagerPolicy.c (get_best_device): Use 
874         nm_device_get_priority() instead of home-grown version. Revert the
875         meaning, best priority is the lowest one.
876
877 2008-09-29  Dan Williams  <dcbw@redhat.com>
878
879         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
880         when it returns EAGAIN (rh #362421)
881
882         * src/nm-device-wifi.c
883                 - (wireless_get_range): try GIWRANGE a few times until the card responds
884                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
885
886 2008-09-28  Dan Williams  <dcbw@redhat.com>
887
888         * src/nm-serial-device.c
889           src/nm-serial-device.h
890                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
891                         cleaned at the right times when subclasses close the serial port too
892                 - (nm_serial_device_send_command): use a default send delay; don't
893                         spin forever on EAGAIN
894                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
895                         remove, no longer used
896                 - (find_response): return the matched response if any
897                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
898                         while doing so
899                 - (wait_for_reply_done): pass the matched response to the callback
900                 - (wait_for_reply_got_data): save the matched response; simplify timeout
901                         handling
902                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
903                         const since they never get modified
904                 - (cleanup_device): split out common cleanup stuff to a new function
905                 - (real_deactivate_quickly, finalize): use cleanup_device()
906
907         * src/nm-gsm-device.c
908                 - (modem_get_reply): remove, unused
909                 - (set_apn): give the card a bit more time to respond
910                 - (manual_registration_again, schedule_manual_registration_again,
911                    manual_registration_response, manual_registration): handle manual
912                         registration timeouts better by retrying registration a few times
913                         because cards are a bit slow after CFUN=1
914                 - (automatic_registration_get_network, get_network_response): use
915                         modem_wait_for_reply() because it interacts better with the serial
916                         buffer and does more intelligent matching; need to wait for 'OK'
917                         rather than just matching terminators
918                 - (schedule_automatic_registration_again,
919                    automatic_registration_response, automatic_registration): retry
920                         registration a few times on timeout or "searching" because cards
921                         take a bit to find a network after being powered up with CFUN=1
922                 - (power_up_response, power_up, init_full_done, enter_pin,
923                    check_pin_done): power up the card with CFUN=1 before trying to
924                         register with the network
925                 - (init_modem_full, init_modem): use more standard 3G init strings
926
927         * src/nm-hso-gsm-device.c
928                 - (modem_get_reply): remove, unused
929                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
930                         modem_wait_for_reply() to match actual responses instead of single
931                         termination characters; it doesn't leave stuff in the serial buffer
932                         that might confuse later calls
933                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
934                         to ensure that the call is really disconnected and not leave extra
935                         stuff in the serial buffer
936
937         * src/nm-cdma-device.c
938                 - (power_up_response, power_up, init_done): try Sierra-style modem
939                         power up before attempting to connect
940
941 2008-09-27  Dan Williams  <dcbw@redhat.com>
942
943         * libnm-util/nm-setting-gsm.c
944                 - (verify): verify GSM network ID
945
946 2008-09-25  Dan Williams  <dcbw@redhat.com>
947
948         * libnm-util/nm-setting-gsm.c
949           libnm-util/nm-setting-gsm.h
950                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
951                         technology terms (bgo #551361)
952
953 2008-09-25  Dan Williams  <dcbw@redhat.com>
954
955         Fix bgo #549401 (inspired by patch from Alexander Sack)
956
957         * src/nm-device-ethernet.c
958                 - (finish_supplicant_task): clean up scheduled tasks and free memory
959                 - (remove_supplicant_interface_error_handler): remove the supplicant
960                         error idle callback too
961                 - (supplicant_interface_release): rename from supplicant_interface_clean
962                         to match nm-device-wifi.c; clean up supplicant interface-related
963                         state tasks when the supplicant interface is disposed of
964                 - (schedule_state_handler): add scheduled tasks to a list so they can
965                         be cleaned up later
966                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
967                    supplicant_iface_connection_state_cb_handler): use
968                         finish_supplicant_task() to clean up each completed task
969                 - (supplicant_iface_connection_error_cb_handler,
970                    supplicant_connection_timeout_cb): clear source id when the task is
971                         complete
972                 - (supplicant_iface_connection_error_cb): save scheduled task id for
973                         later cleanup
974                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
975                         tasks
976
977         * src/nm-device-wifi.c
978                 - (finish_supplicant_task): clean up scheduled tasks and free memory
979                 - (remove_supplicant_interface_error_handler): remove the supplicant
980                         error idle callback too
981                 - (supplicant_interface_release): clean up supplicant interface-related
982                         state tasks when the supplicant interface is disposed of
983                 - (schedule_state_handler): add scheduled tasks to a list so they can
984                         be cleaned up later
985                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
986                    supplicant_iface_connection_state_cb_handler): use
987                         finish_supplicant_task() to clean up each completed task
988                 - (supplicant_iface_connection_error_cb_handler): clear source id when
989                         the task is complete
990                 - (supplicant_iface_connection_error_cb): save scheduled task id for
991                         later cleanup
992                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
993
994 2008-09-24  Tambet Ingo  <tambet@gmail.com>
995
996         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
997         method and get/set hostname property.
998
999 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1000
1001         * src/supplicant-manager/nm-supplicant-interface.c
1002         (nm_supplicant_interface_disconnect): Don't increment the reference 
1003         count when disconnecting. The problem is on shutdown, when the replies
1004         to these commands do not arrive before NM exits, resulting on never
1005         calling supplicant interface's dispose(), which removes the interface
1006         from supplicant.
1007
1008 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1009
1010         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
1011         all the public function arguments.
1012
1013 2008-09-22  Tambet Ingo  <tambet@gmail.com>
1014
1015         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
1016         "Failure" signal from VPN plugins, store the failure reason, and
1017         use it when the state is changed to failure.
1018
1019         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
1020         description.
1021
1022         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
1023         reason to the end of the list to not break the API.
1024         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
1025         so it can be shared by plugins and daemon.
1026
1027 2008-09-18  Dan Williams  <dcbw@redhat.com>
1028
1029         Patch from Alexander Sack <asac@ubuntu.com>
1030
1031         * configure.in
1032           system-settings/plugins/Makefile.am
1033           system-settings/plugins/ifupdown/Makefile.am
1034           system-settings/plugins/ifupdown/interface_parser.c
1035           system-settings/plugins/ifupdown/interface_parser.h
1036           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1037           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1038           system-settings/plugins/ifupdown/parser.c
1039           system-settings/plugins/ifupdown/parser.h
1040           system-settings/plugins/ifupdown/plugin.c
1041           system-settings/plugins/ifupdown/plugin.h
1042                 - Implement a Debian/Ubuntu legacy network configuration plugin
1043                         (gnome.org #551941)
1044
1045 2008-09-18  Dan Williams  <dcbw@redhat.com>
1046
1047         Implement support for honoring configured and automatic hostnames, and for
1048         setting the configured hostname.
1049
1050         * introspection/nm-ip4-config.xml
1051           src/nm-ip4-config.c
1052           src/nm-ip4-config.h
1053           src/dhcp-manager/nm-dhcp-manager.c
1054                 - Remove useless hostname property; it's not really part of the IPv4
1055                         config
1056
1057         * introspection/nm-settings-system.xml
1058           libnm-glib/nm-dbus-settings-system.c
1059           libnm-glib/nm-dbus-settings-system.h
1060                 - Add SetHostname() call to system settings D-Bus interface
1061                 - Add Hostname property to system settings D-Bus interface
1062                 - (nm_dbus_settings_system_save_hostname,
1063                    nm_dbus_settings_system_get_hostname): implement
1064
1065         * src/nm-device.c
1066           src/nm-device.h
1067                 - (nm_device_get_dhcp4_config): implement
1068
1069         * src/nm-manager.c
1070           src/nm-manager.h
1071                 - Fetch and track system settings service hostname changes, and proxy
1072                         the changes via a GObject property of the manager
1073
1074         * system-settings/src/nm-system-config-interface.c
1075           system-settings/src/nm-system-config-interface.h
1076                 - Replace nm_system_config_interface_supports_add() with a capabilities
1077                         bitfield
1078
1079         * system-settings/src/nm-system-config-error.c
1080           system-settings/src/nm-system-config-error.h
1081                 - Add additional errors
1082
1083         * system-settings/src/dbus-settings.c
1084           system-settings/src/dbus-settings.h
1085                 - (get_property, nm_sysconfig_settings_class_init): add hostname
1086                         property; first plugin returning a hostname wins
1087                 - (impl_settings_add_connection): use plugin capabilities instead of
1088                         nm_system_config_interface_supports_add()
1089                 - (impl_settings_save_hostname): implement hostname saving
1090
1091         * src/NetworkManagerPolicy.c
1092                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1093                    lookup_thread_die): implement an asynchronous hostname lookup thread
1094                         which given an IPv4 address tries to look up the hostname for that
1095                         address with reverse DNS
1096                 - (get_best_device): split out best device code from
1097                         update_routing_and_dns()
1098                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1099                         to preserve the 127.0.0.1 reverse mapping that so many things require
1100                 - (set_system_hostname): set a given hostname
1101                 - (update_system_hostname): implement hostname policy; a configured
1102                         hostname (from the system settings service) is used if available,
1103                         otherwise an automatically determined hostname from DHCP, VPN, etc.
1104                         If there was no automatically determined hostname, reverse DNS of
1105                         the best device's IP address will be used, and as a last resort the
1106                         hostname 'localhost.localdomain' is set.
1107                 - (update_routing_and_dns): use get_best_device(); update the system
1108                         hostname when the network config changes
1109                 - (hostname_changed): update system hostname if the system settings
1110                         service signals a hostname change
1111                 - (nm_policy_new): list for system settings service hostname changes
1112                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1113                         gets told to die
1114
1115         * system-settings/plugins/keyfile/plugin.c
1116           system-settings/plugins/ifcfg-suse/plugin.c
1117                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1118                         capabilities properties
1119
1120         * system-settings/plugins/ifcfg-fedora/shvar.c
1121                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1122                         writes out /etc/sysconfig/network now
1123
1124         * system-settings/plugins/ifcfg-fedora/plugin.c
1125                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1126                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1127                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1128                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1129                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1130                         hostname get/set and capabilities get
1131
1132 2008-09-18  Dan Williams  <dcbw@redhat.com>
1133
1134         * libnm-util/nm-setting-wireless.c
1135                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1136                         group ciphers if the wireless-security setting explicitly specified
1137                         them, effectively making the default be "all ciphers"  (idea from
1138                         Alexander Sack)
1139
1140 2008-09-15  Dan Williams  <dcbw@redhat.com>
1141
1142         Patch from Alexander Sack <asac@ubuntu.com>
1143
1144         * src/named-manager/nm-named-manager.c
1145                 - (dispatch_resolvconf): respect resolvconf exit code
1146
1147 2008-09-12  Tambet Ingo  <tambet@gmail.com>
1148
1149         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1150         again. Add some debugging.
1151
1152 2008-09-11  Dan Williams  <dcbw@redhat.com>
1153
1154         * system-settings/plugins/keyfile/plugin.c
1155                 - (update_connection_settings): update connection manually, since
1156                         nm_exported_connection_update() does authentication
1157                 - (dir_changed): update_connection_settings() doesn't need to return
1158                         an error
1159
1160 2008-09-09  Dan Williams  <dcbw@redhat.com>
1161
1162         * libnm-glib/nm-vpn-plugin-ui-interface.c
1163           libnm-glib/nm-vpn-plugin-ui-interface.h
1164           libnm-glib/libnm_glib_vpn.ver
1165                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1166                         should clean up resources related to the connection (like keyring
1167                         secrets)
1168                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1169                         should save user-scope secrets (like to the keyring)
1170
1171 2008-09-08  Dan Williams  <dcbw@redhat.com>
1172
1173         Patch from Alexander Sack <asac@ubuntu.com>
1174
1175         * libnm-util/crypto_gnutls.c
1176           libnm-util/crypto_nss.c
1177                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1178
1179         * libnm-util/nm-utils.c
1180           libnm-util/nm-utils.h
1181           libnm-util/libnm-util.ver
1182                 - (nm_utils_init): initialize libnm-util
1183                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1184
1185         * libnm-util/nm-setting-8021x.c
1186                 - (nm_setting_802_1x_class_init): init libnm-util when needed
1187
1188 2008-09-05  Dan Williams  <dcbw@redhat.com>
1189
1190         Patch from Roy Marples <roy@marples.name> and others
1191
1192         * configure.in
1193           src/named-manager/nm-named-manager.c
1194                 - Add support for resolvconf; use --with-resolvconf at configure time
1195                         to enable it
1196
1197 2008-09-05  Dan Williams  <dcbw@redhat.com>
1198
1199         * libnm-util/crypto_nss.c
1200           libnm-util/crypto_gnutls.c
1201           libnm-util/crypto.h
1202                 - (crypto_init): return error when init fails
1203
1204 2008-09-05  Dan Williams  <dcbw@redhat.com>
1205
1206         * libnm-glib/nm-device-wifi.c
1207                 - (access_point_removed_proxy): clean up the active access point too
1208                         just in case the active ap changed signal didn't come through yet
1209                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1210
1211 2008-09-05  Dan Williams  <dcbw@redhat.com>
1212
1213         * libnm-glib/nm-client.c
1214                 - (constructor): get initial state after we know whether NM is running
1215                         or not
1216
1217 2008-09-05  Dan Williams  <dcbw@redhat.com>
1218
1219         * libnm-glib/nm-ip4-config.c
1220           libnm-glib/nm-dhcp4-config.c
1221                 - (finalize): clean up the DBusGProxy
1222
1223 2008-09-04  Dan Williams  <dcbw@redhat.com>
1224
1225         * src/nm-ip4-config.c
1226           src/nm-ip4-config.h
1227                 - (nm_ip4_config_new): don't export over D-Bus here
1228                 - (nm_ip4_config_export): new function; export the config over D-Bus
1229                 - (nm_ip4_config_is_exported): new function
1230
1231         * src/nm-device.c
1232                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1233                         objects by balancing the IP4Config constructor; the device holds
1234                         a reference to the IP4Config already
1235                 - (nm_device_set_ip4_config): export the IP4Config when needed
1236
1237 2008-09-04  Dan Williams  <dcbw@redhat.com>
1238
1239         * src/supplicant-manager/nm-supplicant-settings-verify.c
1240                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1241
1242 2008-09-04  Dan Williams  <dcbw@redhat.com>
1243
1244         * libnm-util/nm-setting-vpn.c
1245           libnm-util/nm-setting-vpn.h
1246                 - Split VPN secrets from VPN data so that settings services can actually
1247                         figure out that they are secrets and store them accordingly
1248
1249         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1250           system-settings/plugins/keyfile/reader.c
1251           system-settings/plugins/keyfile/reader.h
1252           system-settings/plugins/keyfile/writer.c
1253                 - Store VPN secrets separately from VPN data so that they can be fetched
1254                         on demand
1255                 - Implement the get_secrets() call so that (a) secrets don't leak out
1256                         to unprivileged callers, and (b) secrets can be sent to privileged
1257                         callers when needed
1258
1259         * vpn-daemons/vpnc/src/nm-vpnc-service.c
1260                 - Handle split VPN secrets
1261
1262 2008-08-27  Dan Williams  <dcbw@redhat.com>
1263
1264         * system-settings/plugins/ifcfg-fedora/reader.c
1265                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1266
1267 2008-08-27  Dan Williams  <dcbw@redhat.com>
1268
1269         Ensure zombie children get cleaned up.  To get notifications when children
1270         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1271         that requires calling waitpid() yourself if you've removed the child watch
1272         handler before the process has actually died, which NM needs to do in a few
1273         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1274         cleans up after the child when required.  Should fix problems trying to
1275         activate mobile broadband connections after a previous failure.
1276
1277         * src/dhcp-manager/nm-dhcp-dhclient.c
1278           src/dhcp-manager/nm-dhcp-dhcpcd.c
1279                 - Use G_SPAWN_DO_NOT_REAP_CHILD
1280
1281         * src/dhcp-manager/nm-dhcp-manager.c
1282                 - (nm_dhcp_device_destroy): ensure child is cleaned up
1283                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1284                         block on child quitting, since the non-blocking functionality was
1285                         never actually used
1286
1287         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1288                 - (dm_watch_cb): child is already reaped here
1289                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1290
1291         * src/nm-device.c
1292                 - (aipd_cleanup): block until child is dead
1293
1294         * src/named-manager/nm-named-manager.c
1295                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1296                         event bothering to watch the child
1297
1298         * src/ppp-manager/nm-ppp-manager.c
1299                 - (ppp_watch_cb): child is already reaped here
1300                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1301
1302         * src/vpn-manager/nm-vpn-service.c
1303                 - (vpn_service_watch_cb): child is already reaped here
1304                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1305                         status of the child is actually tracked
1306                 - (ensure_killed, finalize): block until child is dead
1307
1308 2008-08-26  Dan Williams  <dcbw@redhat.com>
1309
1310         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1311                 - (update): Update filename of the connection if the connection id
1312                         was changed
1313
1314         * system-settings/plugins/keyfile/plugin.c
1315                 - (dir_changed): first pass at handling connection renames correctly
1316
1317         * system-settings/plugins/keyfile/writer.c
1318           system-settings/plugins/keyfile/writer.h
1319                 - (write_connection): replace '/' with '*' when writing out the filename
1320                         from the connection id
1321
1322 2008-08-26  Dan Williams  <dcbw@redhat.com>
1323
1324         Add connection UUIDs, since connection names can be changed, and since
1325         old-style connection IDs could change over the life of the connection.  The
1326         UUID should be assigned at connection creation time, be stable for a given
1327         connection, and should be unique among all connections for a given settings
1328         service.
1329
1330         * configure.in
1331           libnm-util/Makefile.am
1332                 - Require libuuid
1333
1334         * introspection/nm-exported-connection.xml
1335                 - Remove "GetID" method
1336
1337         * libnm-glib/nm-dbus-connection.c
1338           libnm-glib/nm-settings.c
1339           libnm-glib/nm-settings.h
1340                 - Remove id-related stuff
1341
1342         * libnm-util/nm-utils.c
1343           libnm-util/nm-utils.h
1344           libnm-util/libnm-util.ver
1345                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1346                         utility functions to generate UUIDs
1347
1348         * libnm-util/nm-setting-connection.c
1349           libnm-util/nm-setting-connection.h
1350                 - Add 'uuid' member to the connection setting
1351                 - (verify): require valid 'uuid' for a valid connection
1352
1353         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1354           system-settings/plugins/ifcfg-fedora/reader.c
1355           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1356           system-settings/plugins/ifcfg-suse/parser.c
1357           system-settings/plugins/keyfile/nm-keyfile-connection.c
1358           system-settings/src/main.c
1359                 - Remove id-related stuff
1360                 - Give connections UUIDs where needed
1361
1362 2008-08-25  Dan Williams  <dcbw@redhat.com>
1363
1364         * libnm-util/crypto_gnutls.c
1365           libnm-util/crypto_nss.c
1366                 - (crypto_init, crypto_deinit): refcount init/deinit
1367                 - (crypto_md5_hash): allow NULL salt
1368
1369 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
1370
1371         * libnm-glib/Makefile.am
1372           libnm-util/Makefile.am
1373           libnm-glib/libnm_glib.ver
1374           libnm-glib/libnm_glib_vpn.ver
1375           libnm-util/libnm-util.ver
1376                 - Use linker version scripts to control the list of exported 
1377                 symbols. List each exported symbol explicitely.
1378         * libnm-util/Makefile.am
1379                 - Fix compilation of the test-crypto binary. The crypto
1380                 functions are no longer part of the libnm-util API. Add 
1381                 crypto_*.c to test_crypto_SOURCES and link against the correct
1382                 crypto libraries.
1383
1384 2008-08-19  Dan Williams  <dcbw@redhat.com>
1385
1386         * configure.in
1387           test/Makefile.am
1388                 - Don't build test/test-common
1389                 - Remove unused stuff
1390
1391         * test/nm-set-fallback
1392           test/nmtestdevices.c
1393           test/test-common/.cvsignore
1394           test/test-common/Makefile.am
1395           test/test-common/test-common.c
1396           test/test-common/test-common.h
1397                 - delete
1398
1399 2008-08-18  Dan Williams  <dcbw@redhat.com>
1400
1401         * libnm-util/nm-utils.c
1402           libnm-util/nm-utils.h
1403                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1404                         export anything that needs to be converted with this function
1405
1406         * src/dhcp-manager/nm-dhcp-manager.c
1407                 - (garray_to_string): convert a byte array to a UTF-8 string with
1408                         minimal validation; the DHCP client sends it in ASCII anyway
1409                 - (get_option, copy_option): use garray_to_string()
1410
1411 2008-08-18  Dan Williams  <dcbw@redhat.com>
1412
1413         * include/NetworkManager.h
1414           introspection/nm-device.xml
1415                 - Add a "missing firmware" device state reason
1416
1417         * src/NetworkManagerSystem.c
1418           src/NetworkManagerSystem.h
1419                 - (nm_system_device_set_up_down): add a no_firmware argument
1420                 - (nm_system_device_set_up_down_with_iface): if the result of setting
1421                         IFF_UP is ENOENT, that almost always means missing firmware
1422
1423         * src/backends/NetworkManagerGeneric.c
1424           src/nm-device-ethernet.c
1425           src/nm-device-private.h
1426           src/nm-device-wifi.c
1427           src/nm-device.c
1428           src/nm-device.h
1429           src/nm-hso-gsm-device.c
1430           src/vpn-manager/nm-vpn-connection.c
1431                 - Pass no_firmware along; check it where appropriate
1432
1433 2008-08-18  Dan Williams  <dcbw@redhat.com>
1434
1435         Patch from Robert Buchholz <rbu@gentoo.org>
1436
1437         * autogen.sh
1438           configure.in
1439                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1440                         1003.1-1988, allowing for file names longer than 99 characters
1441
1442 2008-08-17  Dan Williams  <dcbw@redhat.com>
1443
1444         * include/NetworkManager.h
1445           introspection/nm-device.xml
1446           src/nm-gsm-device.c
1447                 - Finer-grained GSM registration failure error codes
1448
1449 2008-08-17  Dan Williams  <dcbw@redhat.com>
1450
1451         * callouts/Makefile.am
1452           src/Makefile.am
1453                 - Move dispatcher directory creation to callouts/Makefile.am
1454
1455         * system-settings/plugins/keyfile/Makefile.am
1456                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1457
1458 2008-08-15  Dan Williams  <dcbw@redhat.com>
1459
1460         Do connection sharing in a cleaner manner; all required iptables rules
1461         are now stored in the activation request and pertain only to the device
1462         which is being shared to other computers. (rh #458625)
1463
1464         * src/nm-activation-request.c
1465           src/nm-activation-request.h
1466                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1467                         the activation request which will get torn down automatically when
1468                         the activation request dies
1469                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1470                         is started, and tear them down when sharing is stopped
1471
1472         * src/nm-device.c
1473                 - (start_sharing): start up sharing by doing the required iptables magic
1474                 - (share_init): poke the right bits of the kernel and load the right
1475                         modules for NAT
1476                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1477                         connection if it's a 'shared' connection
1478
1479         * src/NetworkManagerPolicy.c
1480                 - Remove all sharing stuff; done in the device code itself
1481
1482 2008-08-15  Dan Williams  <dcbw@redhat.com>
1483
1484         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1485                 - (create_dm_cmd_line): send the right router address
1486
1487 2008-08-15  Dan Williams  <dcbw@redhat.com>
1488
1489         * src/ppp-manager/nm-ppp-manager.c
1490                 - (pppd_timed_out): ensure timeouts fail the connection
1491
1492 2008-08-14  Dan Williams  <dcbw@redhat.com>
1493
1494         * src/nm-properties-changed-signal.c
1495           src/nm-properties-changed-signal.h
1496                 - Add a property spec flag for "don't export this property" in
1497                         property changed signals
1498
1499         * src/nm-hso-gsm-device.c
1500           src/nm-gsm-device.c
1501           src/nm-cdma-device.c
1502                 - Don't export monitor interface or netdev interface properties
1503
1504 2008-08-14  Dan Williams  <dcbw@redhat.com>
1505
1506         * src/NetworkManagerPolicy.c
1507                 - (update_routing_and_dns): 'hso' devices can be default even if they
1508                         don't have a gateway
1509
1510 2008-08-14  Dan Williams  <dcbw@redhat.com>
1511
1512         * src/nm-device.c
1513                 - (nm_device_deactivate_quickly): tear down activation request after
1514                         calling device-specific deactivation
1515
1516         * src/nm-hso-gsm-device.c
1517                 - (real_deactivate_quickly): terminate connection when deactivating
1518
1519 2008-08-14  Dan Williams  <dcbw@redhat.com>
1520
1521         * src/nm-activation-request.h
1522                 - Add HSO secrets caller
1523
1524         * src/nm-gsm-device.c
1525           src/nm-gsm-device.h
1526                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1527                         something to the callback function
1528                 - (set_apn, set_apn_done): call class dial function, not a static one
1529                 - (nm_gsm_device_class_init): add a class 'dial' function
1530
1531         * src/nm-hal-manager.c
1532                 - (get_hso_netdev): find the hso-driven hardware's net device
1533                 - (modem_device_creator): recognize hso-driven hardware and create the
1534                         right type of device object for it
1535
1536         * src/Makefile.am
1537           src/nm-hso-gsm-device.c
1538           src/nm-hso-gsm-device.h
1539                 - Implement support for devices driven by the 'hso' driver as a subclass
1540                         of NMGsmDevice
1541
1542 2008-08-14  Dan Williams  <dcbw@redhat.com>
1543
1544         * src/NetworkManagerSystem.c
1545                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1546                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1547                         success if the operation really was successful
1548
1549 2008-08-14  Dan Williams  <dcbw@redhat.com>
1550
1551         * src/nm-netlink-monitor.c
1552           src/nm-netlink-monitor.h
1553           src/nm-device-ethernet.c
1554                 - (nm_netlink_monitor_request_status): return an error on failure
1555                 - (constructor): don't segfault on missing error
1556
1557 2008-08-13  Dan Williams  <dcbw@redhat.com>
1558
1559         * callouts/nm-dispatcher-action.c
1560                 - Add IP4 config info to script environment
1561
1562 2008-08-12  Dan Williams  <dcbw@redhat.com>
1563
1564         * src/nm-device.c
1565                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1566                         that want to use DHCP hostnames should use dispatcher scripts
1567                         for that
1568
1569         * src/NetworkManagerSystem.h
1570           src/backends/NetworkManagerArch.c
1571           src/backends/NetworkManagerDebian.c
1572           src/backends/NetworkManagerFrugalware.c
1573           src/backends/NetworkManagerGeneric.c
1574           src/backends/NetworkManagerGeneric.h
1575           src/backends/NetworkManagerGentoo.c
1576           src/backends/NetworkManagerMandriva.c
1577           src/backends/NetworkManagerPaldo.c
1578           src/backends/NetworkManagerRedHat.c
1579           src/backends/NetworkManagerSlackware.c
1580           src/backends/NetworkManagerSuSE.c
1581                 - Remove nm_system_set_hostname(), no longer used
1582           
1583         * src/backends/Makefile.am
1584           src/backends/shvar.c
1585           src/backends/shvar.h
1586                 - Remove shvar.*; no longer used
1587
1588 2008-08-12  Dan Williams  <dcbw@redhat.com>
1589
1590         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1591         hostname is updated at runtime.  Distros or users who want hostname updates
1592         can use dispatcher scripts to update the hostname if they need it.
1593
1594 2008-08-12  Dan Williams  <dcbw@redhat.com>
1595
1596         * introspection/nm-settings-system.xml
1597           system-settings/src/dbus-settings.c
1598           system-settings/src/dbus-settings.h
1599                 - Add a 'Hostname' property (rw) which represents the configured
1600                         hostname and domain of the system, if any
1601
1602         * system-settings/src/nm-system-config-error.c
1603           system-settings/src/nm-system-config-error.h
1604           system-settings/src/nm-system-config-interface.c
1605           system-settings/src/nm-system-config-interface.h
1606                 - Add a 'hostname' property to the plugin interface
1607                 - Add a method to send updated hostname to plugins to save in their
1608                         backing configuration store
1609
1610         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1611           system-settings/plugins/keyfile/plugin.c
1612           system-settings/plugins/keyfile/writer.c
1613           system-settings/plugins/keyfile/writer.h
1614           system-settings/plugins/ifcfg-suse/plugin.c
1615                 - Add minimal hostname support
1616
1617         * system-settings/plugins/ifcfg-fedora/plugin.c
1618                 - Add support for updating system hostname in /etc/sysconfig/network
1619
1620 2008-08-12  Dan Williams  <dcbw@redhat.com>
1621
1622         * system-settings/plugins/ifcfg-fedora/shvar.c
1623           system-settings/plugins/ifcfg-fedora/shvar.c
1624                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1625
1626 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1627
1628         * Makefile.am: Fix distcheck.
1629
1630 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1631
1632         * libnm-glib/*.c. Document some more.
1633
1634 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1635
1636         Start documenting libnm-glib public API using gtk-doc.
1637
1638         * libnm-glib/nm-serial-device.c: 
1639         * libnm-glib/nm-object.c: 
1640         * libnm-glib/nm-gsm-device.c: 
1641         * libnm-glib/nm-device.c: 
1642         * libnm-glib/nm-device-wifi.c: 
1643         * libnm-glib/nm-device-ethernet.c: 
1644         * libnm-glib/nm-client.c: 
1645         * libnm-glib/nm-cdma-device.c: Document the public API.
1646
1647         * docs/libnm-glib/libnm-glib.types: Implement.
1648
1649         * docs/libnm-glib/Makefile.am: Implement.
1650
1651         * autogen.sh: 
1652         * configure.in: 
1653         * Makefile.am: Add gtk-doc support.
1654
1655 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1656
1657         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1658
1659         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1660         the composite result of all the IP4 configurations and call a distro
1661         specific update_resolv_conf().
1662         (update_resolv_conf): Implement one for directly writing to 
1663         /etc/resolv.conf and one for opensuse to call netconfig.
1664
1665 2008-08-11  Dan Williams  <dcbw@redhat.com>
1666
1667         * src/ppp-manager/nm-ppp-manager.c
1668                 - (impl_ppp_manager_need_secrets): pass interface as required
1669
1670 2008-08-11  Dan Williams  <dcbw@redhat.com>
1671
1672         Merge the vpn-properties setting with the vpn setting since it was pointless
1673         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1674         of string:string (instead of string:variant) so that system settings plugins
1675         can have an easier time dealing with the arbitrary key/value pairs.
1676
1677 2008-08-11  Dan Williams  <dcbw@redhat.com>
1678
1679         * libnm-util/nm-utils.c
1680                 - (nm_utils_register_value_transformations): add value transform for
1681                         a hash table of string:string
1682
1683 2008-08-10  Dan Williams  <dcbw@redhat.com>
1684
1685         * libnm-glib/nm-vpn-plugin.c
1686                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1687                         an idle handler so the Connect reply gets delivered before the
1688                         stop StateChanged signal
1689
1690 2008-08-10  Dan Williams  <dcbw@redhat.com>
1691
1692         * src/nm-ip4-config.c
1693                 - (get_property): use common ip4 address/route conversion functions
1694                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1695                         copy the new route here, not take ownership
1696
1697 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1698
1699         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1700         Update the IP4 setting's method name.
1701
1702 2008-08-07  Dan Williams  <dcbw@redhat.com>
1703
1704         * introspection/nm-ip4-config.xml
1705           libnm-glib/libnm-glib-test.c
1706           libnm-glib/nm-ip4-config.c
1707           libnm-glib/nm-ip4-config.h
1708           src/NetworkManagerSystem.h
1709           src/backends/NetworkManagerArch.c
1710           src/backends/NetworkManagerDebian.c
1711           src/backends/NetworkManagerFrugalware.c
1712           src/backends/NetworkManagerGeneric.c
1713           src/backends/NetworkManagerGeneric.h
1714           src/backends/NetworkManagerGentoo.c
1715           src/backends/NetworkManagerMandriva.c
1716           src/backends/NetworkManagerPaldo.c
1717           src/backends/NetworkManagerRedHat.c
1718           src/backends/NetworkManagerSlackware.c
1719           src/backends/NetworkManagerSuSE.c
1720           src/dhcp-manager/nm-dhcp-manager.c
1721           src/nm-device.c
1722           src/nm-ip4-config.c
1723           src/nm-ip4-config.h
1724                 - Remove NIS logic; should be done from dispatcher scripts instead
1725
1726 2008-08-07  Dan Williams  <dcbw@redhat.com>
1727
1728         * src/dhcp-manager/nm-dhcp-manager.c
1729                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1730                         mis-handling of DHCP responses that returned more than one router
1731                         (found by Grant Williamson)
1732
1733 2008-08-07  Dan Williams  <dcbw@redhat.com>
1734
1735         * callouts/nm-dispatcher-action.c
1736                 - (nm_dispatcher_action): grab device path and create the device; pass
1737                         the device's DHCP4 config to script caller
1738                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1739                         scripts
1740
1741         * libnm-glib/nm-dhcp4-config.c
1742           libnm-glib/nm-dhcp4-config.h
1743                 - (nm_dhcp4_config_get_options): expose
1744                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1745
1746 2008-08-07  Dan Williams  <dcbw@redhat.com>
1747
1748         * include/NetworkManager.h
1749                 - Add the DHCP4Config D-Bus interface
1750
1751         * libnm-glib/Makefile.am
1752           libnm-glib/nm-dhcp4-config.c
1753           libnm-glib/nm-dhcp4-config.h
1754                 - Handle DHCP4 config objects exported by NM over D-Bus
1755
1756         * libnm-glib/nm-device.c
1757           libnm-glib/nm-device.h
1758                 - Add a 'dhcp4-config' property
1759
1760         * libnm-glib/libnm-glib-test.c
1761                 - Print out DHCP4 config for devices
1762                 - Fix some crashes when no connections are active
1763
1764         * src/nm-device-interface.c
1765           src/nm-device.c
1766           src/nm-dhcp4-config.c
1767           src/nm-dhcp4-config.h
1768                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1769                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1770                         doesn't let us do when the property type is G_TYPE_OBJECT
1771
1772 2008-08-07  Dan Williams  <dcbw@redhat.com>
1773
1774         * src/NetworkManager.c
1775           src/NetworkManagerSystem.h
1776           src/backends/NetworkManagerArch.c
1777           src/backends/NetworkManagerDebian.c
1778           src/backends/NetworkManagerFrugalware.c
1779           src/backends/NetworkManagerGeneric.c
1780           src/backends/NetworkManagerGeneric.h
1781           src/backends/NetworkManagerGentoo.c
1782           src/backends/NetworkManagerMandriva.c
1783           src/backends/NetworkManagerPaldo.c
1784           src/backends/NetworkManagerRedHat.c
1785           src/backends/NetworkManagerSlackware.c
1786           src/backends/NetworkManagerSuSE.c
1787                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1788
1789 2008-08-06  Dan Williams  <dcbw@redhat.com>
1790
1791         * libnm-glib/nm-ip4-config.c
1792           libnm-glib/nm-ip4-config.h
1793                 - Add 'routes' property
1794
1795         * libnm-util/nm-setting-vpn.c
1796           libnm-util/nm-setting-vpn.h
1797                 - Remove 'routes' property
1798
1799         * libnm-util/nm-setting-ip4-config.c
1800           libnm-util/nm-setting-ip4-config.h
1801                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1802                 - Add 'ignore-auto-routes' property
1803                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1804                         accomodate route metrics
1805                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1806
1807         * libnm-util/nm-utils.c
1808           libnm-util/nm-utils.h
1809                 - Add helpers for marshalling IP4 routes
1810
1811         * src/NetworkManagerUtils.c
1812                 - (nm_utils_merge_ip4_config): handle property renames and new route
1813                         structure
1814
1815         * src/NetworkManagerSystem.c
1816                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1817                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1818
1819         * src/dhcp-manager/nm-dhcp-manager.c
1820                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1821
1822         * system-settings/plugins/ifcfg-fedora/reader.c
1823           system-settings/plugins/ifcfg-fedora/writer.c
1824                 - Handle routes separately from addresses now that routes have a different
1825                         format
1826
1827         * introspection/nm-ip4-config.xml
1828           src/nm-ip4-config.c
1829           src/nm-ip4-config.h
1830                 - Rename internal routing functions
1831                 - 'static-routes' renamed to 'routes'
1832
1833 2008-08-04  Dan Williams  <dcbw@redhat.com>
1834
1835         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1836
1837         * src/NetworkManager.c
1838           src/nm-manager.c
1839           src/nm-manager.h
1840                 - More explicitly make the NMManager a singleton
1841
1842 2008-08-04  Dan Williams  <dcbw@redhat.com>
1843
1844         * libnm-util/nm-connection.c
1845           libnm-util/nm-connection.h
1846                 - (nm_connection_verify): return error on missing 'connection' setting
1847                         (found by Sjoerd Simons)
1848
1849 2008-08-04  Dan Williams  <dcbw@redhat.com>
1850
1851         Handle multiple concurrent PPP connections.
1852
1853         * src/ppp-manager/nm-ppp-manager.c
1854           src/ppp-manager/nm-ppp-manager.h
1855                 - (constructor): only PPP Manager request bus name once; each
1856                         NMPPPManager object gets a unique object path
1857                 - (nm_ppp_manager_class_init, get_property, set_property,
1858                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1859                         at construct time
1860                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1861                         remove timeout until PPP manager gets an IP4 config
1862                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1863                         the plugin can call back to this specific PPP manager instance
1864
1865         * src/nm-device-ethernet.c
1866           src/nm-serial-device.c
1867                 - Pass parent device in nm_ppp_manager_new()
1868
1869         * src/nm-gsm-device.c
1870           src/nm-cdma-device.c
1871                 - (device_state_changed): don't close serial device on NEED_AUTH
1872                         state changed, that's not a failure case like the rest are
1873
1874         * src/ppp-manager/nm-pppd-plugin.c
1875                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1876                         binds one interface to any pppd process, thus the correct index
1877                         is always 0; send PHASE_DEAD on error to alert NM immediately of
1878                         problems; try harder to get a peer address in spite of pppd
1879                 - (plugin_init): use 'ipparam' as the object path back to our specific
1880                         PPP manager instance
1881
1882 2008-08-04  Dan Williams  <dcbw@redhat.com>
1883
1884         * src/ppp-manager/nm-ppp-manager.c
1885                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1886                         since the GSM and CDMA settings now implement need_secrets, we can
1887                         rely on them to do the right thing.  Where secrets are not required,
1888                         just pass empty strings back to the pppd plugin.
1889                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1890                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1891                         on successful IP4 config receipt
1892
1893 2008-08-04  Dan Williams  <dcbw@redhat.com>
1894
1895         * libnm-util/nm-setting-cdma.c
1896           libnm-util/nm-setting-gsm.c
1897                 - (verify): validate username & password if they exist
1898                 - (need_secrets): if username given, require a password too
1899
1900 2008-08-04  Dan Williams  <dcbw@redhat.com>
1901
1902         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1903                 - (create_dm_cmd_line): really don't listen on lo, despite what the
1904                         manpage says about --listen-address without --interface
1905                         (bgo #546033)
1906
1907 2008-08-01  Dan Williams  <dcbw@redhat.com>
1908
1909         * libnm-glib/nm-device.c
1910                 - (proxy_get_string): util function for querying a HAL property
1911                 - (get_ancestor_device): split out from get_product_and_vendor()
1912                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1913                         from PCI devices by querying subsys properties
1914                 - (nm_device_update_description): simplify
1915
1916 2008-08-01  Dan Williams  <dcbw@redhat.com>
1917
1918         * libnm-util/nm-setting-ip4-config.c
1919           libnm-util/nm-setting-ip4-config.h
1920                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1921                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
1922                         settings, and they don't necessarily use DHCP.
1923
1924         * src/NetworkManagerPolicy.c
1925           src/nm-device.c
1926           system-settings/plugins/ifcfg-fedora/reader.c
1927           system-settings/plugins/ifcfg-suse/parser.c
1928                 - Fixup for method changes
1929
1930 2008-07-31  Dan Williams  <dcbw@redhat.com>
1931
1932         * src/nm-activation-request.c
1933           src/vpn-manager/nm-vpn-connection.c
1934                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1935                         itself should be attached to the activation request or the VPN
1936                         connection, not the NMConnection object, since the call is not
1937                         expected to live as long as the NMConnection itself
1938
1939 2008-07-31  Dan Williams  <dcbw@redhat.com>
1940
1941         * src/nm-device-wifi.c
1942                 - (real_act_stage2_config): fix issue where association would continue
1943                         even though secrets were needed; 'goto out' was in wrong scope and
1944                         result of handle_auth_or_fail() should have been dumped directly to
1945                         'ret' to ensure that the association was postponed until secrets
1946                         are available
1947
1948 2008-07-31  Dan Williams  <dcbw@redhat.com>
1949
1950         * system-settings/plugins/ifcfg-fedora/plugin.c
1951           system-settings/plugins/ifcfg-fedora/reader.c
1952                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1953                         valid NM connection
1954
1955 2008-07-29  Dan Williams  <dcbw@redhat.com>
1956
1957         * src/nm-gsm-device.c
1958                 - (automatic_registration_response, automatic_registration): recognize
1959                         denied registration and reorder responses
1960
1961 2008-07-29  Dan Williams  <dcbw@redhat.com>
1962
1963         * src/nm-serial-device.c
1964                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
1965                         time(2) is used for current time, which returns seconds, we shouldn't
1966                         be multiplying by 1000.
1967
1968 2008-07-28  Dan Williams  <dcbw@redhat.com>
1969
1970         Patch from Fabrice Bellet <fabrice@bellet.info>
1971
1972         * src/NetworkManagerSystem.c
1973                 - (route_in_same_subnet): mask addresses and compare them so that the
1974                         function actually does what it says it's going to do (rh #456685)
1975
1976 2008-07-27  Dan Williams  <dcbw@redhat.com>
1977
1978         * libnm-util/nm-setting-ip6-config.c
1979                 - (set_property): add missing break that caused routes to be overwritten
1980                         with addresses
1981
1982         * libnm-util/nm-setting-ip6-config.c
1983                 - (verify): validate routes and return GError everywhere on invalid setting
1984                 - (finalize): don't leak routes
1985                 - (set_property): add missing break that caused routes to be overwritten
1986                         with addresses
1987
1988 2008-07-27  Dan Williams  <dcbw@redhat.com>
1989
1990         * libnm-util/*
1991                 - Relicense to LGPLv2+
1992
1993 2008-07-27  Dan Williams  <dcbw@redhat.com>
1994
1995         * system-settings/plugins/ifcfg-fedora/reader.c
1996                 - (make_ip4_setting): fix parsing automatic configs
1997
1998 2008-07-27  Dan Williams  <dcbw@redhat.com>
1999
2000         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2001           src/nm-device.c
2002           src/ppp-manager/nm-ppp-manager.c
2003                 - Ensure child process gets reaped.  The child watch function may be
2004                         removed from the mainloop before the child gets killed, so we have
2005                         to make sure the child is reaped when it's told to die intentionally
2006
2007 2008-07-27  Dan Williams  <dcbw@redhat.com>
2008
2009         Patch from Roy Marples <roy@marples.name>
2010
2011         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2012                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
2013
2014 2008-07-27  Dan Williams  <dcbw@redhat.com>
2015
2016         * src/nm-gsm-device.c
2017                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
2018                         Huawei devices turn echo back on after CPIN (rh #456770)
2019
2020 2008-07-24  Tambet Ingo  <tambet@gmail.com>
2021
2022         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
2023         format argument to g_set_error() call.
2024
2025         * src/backends/interface_parser.[ch]: Remove.
2026
2027         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
2028
2029 2008-07-21  Dan Williams  <dcbw@redhat.com>
2030
2031         * src/ppp-manager/nm-ppp-manager.c
2032                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2033                         to prevent pppd from picking up some random local address from an
2034                         interface that doesn't have anything to do with the one we're
2035                         interested in (rh #455348)
2036
2037 2008-07-17  Dan Williams  <dcbw@redhat.com>
2038
2039         * libnm-util/nm-utils.c
2040                 - (string_to_utf8): general function for conversion to UTF-8 assisted
2041                         by locale
2042                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2043                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2044
2045 2008-07-17  Dan Williams  <dcbw@redhat.com>
2046
2047         * introspection/Makefile.am
2048           introspection/nm-device.xml
2049           introspection/nm-dhcp4-config.xml
2050                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2051                         itself
2052         * src/nm-device-interface.c
2053           src/nm-device-interface.h
2054                 - Add the DHCP4Config property
2055
2056         * src/nm-device.c
2057                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2058                         D-Bus clients when it changes
2059
2060         * src/nm-dhcp4-config.c
2061           src/nm-dhcp4-config.h
2062                 - Simple object to store DHCP4 options, export them over D-Bus, and
2063                         notify when they change
2064
2065         * src/dhcp-manager/nm-dhcp-manager.c
2066           src/dhcp-manager/nm-dhcp-manager.h
2067                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2068                         filter server-returned DHCP options into an NMDHCP4Config object
2069
2070 2008-07-16  Dan Williams  <dcbw@redhat.com>
2071
2072         * introspection/nm-device.xml
2073                 - Add device state reasons
2074
2075 2008-07-16  Dan Williams  <dcbw@redhat.com>
2076
2077         Patch from Roy Marples <roy@marples.name>
2078
2079         * configure.in
2080                 - Add --with-dhcp-client option
2081
2082         * src/dhcp-manager/Makefile.am
2083                 - pass DHCP_CLIENT_PATH on compile line
2084
2085         * src/dhcp-manager/nm-dhcp-manager.c
2086           src/dhcp-manager/nm-dhcp-manager.h
2087                 - Genericize for both dhcpcd and dhclient
2088
2089         * src/dhcp-manager/nm-dhcp-dhclient.c
2090                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2091
2092         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2093                 - Implement support for dhcpcd too
2094
2095 2008-07-16  Tambet Ingo  <tambet@gmail.com>
2096
2097         * system-settings/src/nm-system-config-interface.c 
2098         (nm_system_config_interface_supports_add): Implement.
2099         (nm_system_config_interface_add_connection): Return a boolean to notify
2100         of errors.
2101
2102         * system-settings/src/nm-polkit-helpers.c: 
2103         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2104         a separate file.
2105
2106         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2107         Return an error when none of the plugins support add or if addition
2108         failed for some reason.
2109
2110         * system-settings/src/nm-system-config-error.h: 
2111         * system-settings/src/nm-system-config-error.c: New files, mostly moved
2112         here from nm-polkit-helpers.[ch].
2113
2114         * system-settings/src/Makefile.am: Build new files.
2115
2116         * system-settings/plugins/keyfile/reader.c 
2117         (read_array_of_array_of_uint): Make it more general so that it would
2118         work for routes as well.
2119
2120         * system-settings/plugins/keyfile/writer.c
2121         (write_array_of_array_of_uint): Ditto.
2122         Fix the netmask/prefix writing.
2123
2124         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2125         boolean to notify errors.
2126
2127         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2128         Return more specific error.
2129         (delete): Ditto.
2130
2131 2008-07-11  Dan Williams  <dcbw@redhat.com>
2132
2133         Modify the NMDevice::state-changed signal to include the previous state
2134         and reason. Enables the applet to provide more information why device
2135         activation failed.
2136
2137 2008-07-09  Dan Williams  <dcbw@redhat.com>
2138
2139         * callouts/Makefile.am
2140           callouts/nm-avahi-autoipd-action.c
2141           callouts/nm-avahi-autoipd.conf
2142                 - avahi-autoipd callout to send options back to NM
2143
2144         * src/autoip.c
2145           src/autoip.h
2146                 - remove
2147
2148         * src/nm-device.c
2149           src/nm-device-private.h
2150           src/nm-manager.c
2151                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2152                         old custom stuff
2153
2154 2008-07-07  Dan Williams  <dcbw@redhat.com>
2155
2156         * system-settings/plugins/ifcfg-fedora/reader.c
2157                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2158                         handle PREFIX too; clean up
2159
2160 2008-07-07  Dan Williams  <dcbw@redhat.com>
2161
2162         Convert to using IPv4 prefixes instead of netmasks.
2163
2164 2008-07-03  Dan Williams  <dcbw@redhat.com>
2165
2166         * libnm-util/nm-setting-ip4-config.c
2167           libnm-util/nm-setting-ip4-config.h
2168                 - Add properties for DHCP Client Identifier and DHCP Hostname
2169
2170         * src/dhcp-manager/nm-dhcp-manager.c
2171           src/dhcp-manager/nm-dhcp-manager.h
2172                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2173                         setting as an argument to pass on to the dhclient config file
2174                         creation function
2175                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2176                         DHCP is torn down
2177                 - (dhclient_run): punt config file handling to create_dhclient_config()
2178                 - (create_dhclient_config): create an interface-specific dhclient
2179                         config file since there may need to be interface-specific options
2180                         passed to dhclient
2181                 - (merge_dhclient_config): merge normal distro dhclient config file and
2182                         add options from the connection
2183                 - (nm_dhcp_device_new): generate the interface specific dhclient
2184                         config file path once
2185                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2186                         dhclient config file path
2187
2188         * src/nm-device.c
2189                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2190                         DHCP manager when starting DHCP
2191
2192 2008-07-02  Dan Williams  <dcbw@redhat.com>
2193
2194         * libnm-util/nm-setting-8021x.c
2195                 - (verify): allow forcing the PEAP label to 0
2196
2197 2008-07-02  Dan Williams  <dcbw@redhat.com>
2198
2199         * introspection/nm-active-connection.xml
2200           introspection/nm-vpn-connection.xml
2201           libnm-glib/nm-active-connection.c
2202           src/nm-activation-request.c
2203           src/nm-active-connection.h
2204           src/vpn-manager/nm-vpn-connection.c
2205                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2206                         and libnm-glib API since sharing didn't get implemented that way
2207
2208 2008-07-02  Dan Williams  <dcbw@redhat.com>
2209
2210         * src/nm-device-wifi.c
2211                 - (can_scan): don't scan when a shared connection is activated since
2212                         that makes drivers mad (causing disconnects); also NM doesn't need
2213                         to hedge against disconnects by keeping up-to-date network topology
2214                         because the connection originates from the local machine, and thus
2215                         there should be no disconnects
2216
2217 2008-07-01  Dan Williams  <dcbw@redhat.com>
2218
2219         Fix mobile broadband username/password issues.  NM was never requesting
2220         mobile broadband secrets, nor was it passing back the username and password
2221         if it had them.
2222
2223         * marshallers/nm-marshal.list
2224                 - Add some new types for activation request objects
2225
2226         * src/nm-activation-request.c
2227           src/nm-activation-request.h
2228                 - (get_secrets_cb): pass the caller type in the signal
2229                 - (nm_act_request_request_connection_secrets): take a caller type, so
2230                         that GetSecrets() reply handlers know who asked for the secrets in
2231                         the first place; use secret hints too so the settings service can
2232                         figure out exactly what NM wants (ie, PIN or the PPP password)
2233
2234         * src/ppp-manager/nm-ppp-manager.c
2235           src/ppp-manager/nm-ppp-manager.h
2236                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2237                         detect needed secrets when the secret could be blank, like GSM/CDMA
2238                         passwords.  So always ask for secrets, and send a hint as to what
2239                         secret we really want.
2240                 - (nm_ppp_manager_update_secrets): make function more generic by making
2241                         the device specific class figure out the username and password, and
2242                         accept an error argument to return back over D-Bus
2243
2244         * src/nm-device-wifi.c
2245                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2246                         nm_act_request_request_connection_secrets()
2247                 - (real_connection_secrets_updated): update for 'caller' changes
2248
2249         * src/nm-device.c
2250           src/nm-device.h
2251                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2252                         for 'caller' changes
2253
2254         * src/nm-device-ethernet.c
2255                 - (real_connection_secrets_updated): update for 'caller' changes and
2256                         move logic for getting PPPoE username and password here before
2257                         calling nm_ppp_manager_update_secrets()
2258                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2259                         nm_act_request_request_connection_secrets()
2260
2261         * src/nm-cdma-device.c
2262                 - (real_connection_secrets_updated): pass username and password back
2263                         to the PPP manager when required
2264
2265         * src/nm-gsm-device.c
2266                 - (enter_pin): send the required secret name to the settings service
2267                 - (real_connection_secrets_updated): pass username and password back
2268                         to the PPP manager when required
2269
2270 2008-06-30  Dan Williams  <dcbw@redhat.com>
2271
2272         * src/nm-device-wifi.c
2273                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2274
2275 2008-06-30  Dan Williams  <dcbw@redhat.com>
2276
2277         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
2278         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2279         priv->supplicant.iface.  When either condition is false, the device should
2280         transition back to UNAVAILABLE because it cannot be used.
2281
2282         * src/nm-device-wifi.c
2283                 - (constructor): cleanup; connect to supplicant manager here since the
2284                         supplicant manager is always around
2285                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2286                         ensure the supplicant manager is in the IDLE state
2287                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2288                         cancel any pending scans too
2289                 - (real_bring_up): don't set up the supplicnat interface here, because
2290                         we need the supplicant interface at times when the device may not
2291                         be "up"
2292                 - (real_take_down): just remove the periodic source
2293                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2294                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2295                         do anything if there's no supplicant interface
2296                 - (cleanup_association_attempt): cleanup
2297                 - (supplicant_iface_state_cb_handler): request an immediate scan when
2298                         the interface enters the READY state; transition to UNAVAILABLE
2299                         state when the interface goes down because the device can't be used
2300                         without a supplicant interface
2301                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2302                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
2303                         acquire the supplicant interface and transition to DISCONNECTED
2304                         if the radio isn't killed
2305                 - (nm_device_wifi_dispose): move most of device_cleanup() here
2306                 - (state_changed_cb): release any existing supplicant interface; if the
2307                         radio is enabled then try to acquire a new supplicant interface;
2308                         if the radio is enabled and a supplicant interface has been acquired,
2309                         we can transition to DISCONNECTED
2310                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2311                         don't enable the radio, because HAL probably lied to us about the
2312                         killswitch being off.  If bringing the hardware up worked, then
2313                         try to grab a supplicant interface, and if that was successful,
2314                         transition to DISCONNECTED
2315
2316 2008-06-30  Dan Williams  <dcbw@redhat.com>
2317
2318         * src/supplicant-manager/nm-supplicant-interface.c
2319                 - (request_scan_results, nm_supplicant_interface_dispose,
2320                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2321                         the id of the timeout, not a GSource
2322
2323 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2324
2325         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
2326         bunch of typoes introduced by "Patch from David Cantrell 
2327         <dcantrell@redhat.com> and me".
2328
2329 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2330
2331         * src/nm-serial-device.c: 
2332         * src/nm-gsm-device.c: 
2333         * src/nm-cdma-device.c: Move the pending call handling to a common location
2334         in serial device. Handle setting device state to failed in one place as well.
2335
2336 2008-06-29  Dan Williams <dcbw@redhat.com>
2337
2338         * src/nm-hal-manager.c
2339                 - Rework killswitch handling to query killswitch status immediately
2340                         when the first killswitch is added, so that rfkill state is
2341                         known as early as possible
2342                 - Also treat failure of GetPower() as rfkill when the dbus method
2343                         call times out (but not when the HAL callout returns an error)
2344
2345 2008-06-26  Dan Williams <dcbw@redhat.com>
2346
2347         Patch from David Cantrell <dcantrell@redhat.com> and me
2348
2349         * include/nm-dbus-glib-types.h
2350                 - Add IP6 address types
2351
2352         * libnm-util/Makefile.am
2353           libnm-util/nm-setting-ip6-config.c
2354           libnm-util/nm-setting-ip6-config.h
2355                 - Add IP6 settings object
2356
2357         * libnm-util/nm-connection.c
2358                 - (register_default_settings): register ip6 settings object
2359
2360         * libnm-util/nm-utils.c
2361           libnm-util/nm-utils.h
2362                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2363                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2364                         ip6 address conversion functions
2365         
2366 2008-06-26  Dan Williams <dcbw@redhat.com>
2367
2368         Patch from David Cantrell <dcantrell@redhat.com>
2369         
2370         * Use inet_ntop() and inet_pton() everwhere and check for errors
2371
2372 2008-06-26  Dan Williams <dcbw@redhat.com>
2373
2374         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2375
2376 2008-06-26  Dan Williams <dcbw@redhat.com>
2377
2378         Patch from Adel Gadllah <adel.gadllah@gmail.com>
2379
2380         * src/nm-device-wifi.c
2381                 - (link_timeout_cb): don't ignore disconnects due to scanning
2382                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2383                         a longer timeout when scanning; avoids case where supplicant can't
2384                         find the AP and just keeps scanning forever but isn't connected
2385
2386 2008-06-26  Dan Williams <dcbw@redhat.com>
2387
2388         Patch from Michael Biebl <biebl@debian.org>
2389
2390         * Clean up build system stuff
2391
2392 2008-06-23  Christian Persch  <chpe@gnome.org>
2393
2394         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2395         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2396         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2397         (impl_get_object):
2398         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2399         (impl_get_object):
2400         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2401         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2402         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2403         (impl_get_object):
2404         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2405         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2406         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2407         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2408         * vpn-daemons/pptp/properties/vpnui_opt.c:
2409         (vpnui_opt_connect_signals):
2410         * vpn-daemons/pptp/properties/vpnui_opt.h:
2411         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2412         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2413         deprecated gtk type macros. Bug #539325.
2414
2415 2008-06-20  Dan Williams  <dcbw@redhat.com>
2416
2417         * libnm-glib/nm-vpn-plugin-ui-interface.c
2418           libnm-glib/nm-vpn-plugin-ui-interface.h
2419                 - 'validity-changed' -> 'changed' to work better with the connection
2420                         editor.  Plugin UI widgets should emit 'changed' whenever their
2421                         UI values change in a meaningful way.
2422                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2423                         update_connection member now returns validity of the UI widget
2424
2425 2008-06-20  Tambet Ingo  <tambet@gmail.com>
2426
2427         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2428
2429 2008-06-17  Dan Williams  <dcbw@redhat.com>
2430
2431         * libnm-glib/nm-vpn-plugin-ui-interface.c
2432           libnm-glib/nm-vpn-plugin-ui-interface.h
2433                 - Add "desc" property for longer descriptions of the VPN plugin
2434
2435 2008-06-16  Dan Williams  <dcbw@redhat.com>
2436
2437         * configure.in
2438           libnm-glib/libnm_glib_vpn.pc.in
2439                 - add a .pc file for libnm_glib_vpn
2440
2441         * libnm-glib/nm-vpn-plugin-ui-interface.c
2442           libnm-glib/nm-vpn-plugin-ui-interface.h
2443                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2444                         rework it substantially
2445
2446 2008-06-12  Dan Williams  <dcbw@redhat.com>
2447
2448         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2449         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2450         returns a descriptive GError when verification fails.
2451
2452 2008-06-11  Dan Williams  <dcbw@redhat.com>
2453
2454         Patch from Tambet Ingo <tambet@gmail.com>
2455
2456         * libnm-util/nm-setting-gsm.c
2457                 - (verify): validate APN
2458
2459         * src/nm-gsm-device.c
2460                 - (manual_registration_done): start setting APN if needed
2461                 - (set_apn, set_apn_done): set the APN
2462                 - (do_dial): use the APN when dialing
2463
2464 2008-06-11  Dan Williams  <dcbw@redhat.com>
2465
2466         * src/NetworkManagerSystem.c
2467                 - (nm_system_device_set_ip4_route,
2468                    nm_system_device_replace_default_ip4_route): check for the right
2469                         return value from rtnl_route_add() to know when to add a gateway
2470                         route (from Tambet)
2471
2472 2008-06-11  Dan Williams  <dcbw@redhat.com>
2473
2474         * src/NetworkManagerPolicy.c
2475                 - do_ipt_cmd -> do_cmd
2476                 - (sharing_init): use do_cmd() instead of system()
2477
2478 2008-06-10  Dan Williams  <dcbw@redhat.com>
2479
2480         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2481         and use "wifi" everwhere instead.
2482
2483 2008-06-10  Dan Williams  <dcbw@redhat.com>
2484
2485         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2486
2487 2008-06-10  Dan Williams  <dcbw@redhat.com>
2488
2489         Patch from Tambet Ingo <tambet@gmail.com>
2490
2491         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2492                 changes.
2493
2494         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2495                 a signal to emit these changes over dbus.
2496
2497         * src/Makefile.am: Genereate nm-serial-device-glue.
2498
2499         * libnm-glib/nm-serial-device.[ch]: Implement.
2500
2501         * libnm-glib/nm-cdma-device.[ch]
2502           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2503
2504         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2505
2506         * introspection/nm-device-serial.xml: Implement.
2507
2508         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2509
2510         * introspection/Makefile.am: Add nm-device-serial.xml.
2511
2512         * include/NetworkManager.h: Add a DBus interface for serial device.
2513
2514 2008-06-10  Dan Williams  <dcbw@redhat.com>
2515
2516         * configure.in
2517                 - Add TARGET_* define to config.h to distinguish distros
2518
2519         * src/dhcp-manager/nm-dhcp-manager.c
2520                 - (dhclient_run): use distro-specific path for dhclient config file
2521
2522 2008-06-09  Dan Williams  <dcbw@redhat.com>
2523
2524         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2525           src/dnsmasq-manager/nm-dnsmasq-manager.h
2526                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2527                         calculate the addresses passed to dnsmasq instead of hard-coding
2528                         them
2529
2530         * src/nm-device.c
2531                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2532                         IP addresses for shared connections to guard against shared
2533                         connection address collisions
2534                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2535                         error conditions
2536                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2537                         the dnsmasq manager
2538
2539 2008-06-09  Dan Williams  <dcbw@redhat.com>
2540
2541         * src/NetworkManagerPolicy.c
2542                 - (update_routing_and_dns): set the default connection _after_ unsetting
2543                         default on all non-default connections so that two connections can
2544                         never be default at the same time
2545                 - (device_state_changed): start and stop connection sharing when
2546                         needed
2547                 - (active_connection_default_changed): restart or stop sharing when
2548                         the default connection changes to keep shared connections always
2549                         NAT-ed through the default connection
2550                 - (check_sharing): handle activation/deactivation of shared connections
2551                 - (sharing_restart): atom-bomb approach to connection sharing until we
2552                         can use libnl; reinit all sharing when the default connection or
2553                         shared connections change
2554                 - (sharing_init, sharing_stop): evil functions that init and deinit
2555                         iptables
2556
2557 2008-06-09  Dan Williams  <dcbw@redhat.com>
2558
2559         * src/nm-activation-request.c
2560           src/nm-activation-request.h
2561                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2562                    nm_act_request_get_device): new functions to facilitate connection
2563                         sharing
2564
2565 2008-06-09  Dan Williams  <dcbw@redhat.com>
2566
2567         * src/nm-device.c
2568                 - (clear_act_request): unset the 'default' property of the activation
2569                         request when clearing it to ensure the property changed signal gets
2570                         delivered and handled
2571
2572 2008-06-09  Dan Williams  <dcbw@redhat.com>
2573
2574         * libnm-glib/nm-device-802-11-wireless.c
2575                 - (access_point_removed_proxy): actually unref the AP after removing
2576                         it from the device's AP list.  Fixes refcounting bug for APs that
2577                         caused them to get mixed up in the applet's menu.
2578
2579 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2580
2581         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2582         (nm_dhcp_device_destroy): Destroy the device options hash table.
2583
2584 2008-06-06  Dan Williams <dcbw@redhat.com>
2585
2586         * system-settings/src/nm-polkit-helpers.c
2587                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2588                         unref the context if the initialization fails; also avoid spew when
2589                         the error isn't set
2590
2591 2008-06-06  Dan Williams <dcbw@redhat.com>
2592
2593         Patch from Tambet Ingo  <tambet@gmail.com>
2594
2595         * src/NetworkManagerSystem.c
2596           src/NetworkManagerSystem.h
2597                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2598                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2599                 - (nm_system_device_set_ip4_route): clean up
2600                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2601
2602         * src/nm-device.c
2603                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2604
2605         * src/vpn-manager/nm-vpn-connection.c
2606                 - (ip_address_to_string): new function
2607                 - (print_vpn_config): use ip_address_to_string
2608                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2609                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2610
2611         * include/NetworkManagerVPN.h
2612                 - Add 'routes' key
2613
2614 2008-06-05  Dan Williams <dcbw@redhat.com>
2615
2616         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2617
2618         * test/nm-tool.c
2619                 - Show which device is the default device
2620
2621 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2622
2623         Fix memory leaks.
2624
2625         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2626         Free data returned from dbus method call.
2627
2628         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2629         dbus_g_method_get_sender() returns a duplicated string, free it 
2630         when done.
2631         (check_polkit_privileges): Looks like policykit sometimes returns
2632         error and non-null return value, don't leak errors in that case.
2633
2634         * system-settings/src/main.c (find_plugin): Don't leak existing 
2635         plugin names.
2636         (load_stuff): Don't leak device list and list items.
2637         (have_connection_for_device): Don't leak connection list.
2638
2639         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2640         Free the data received from g_keyfile_get_*.
2641
2642         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2643         the key when the security object is updated.
2644
2645         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2646         Free data returned from dbus method call.
2647         (iface_state_cb): Ditto.
2648         (add_network_cb): Ditto.
2649         (nm_supplicant_interface_add_cb): Don't make another copy of already
2650         duplicated object path.
2651         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2652         when done.
2653
2654         * src/supplicant-manager/nm-supplicant-config.c 
2655         (ADD_STRING_LIST_VAL): Fix a memory leak.
2656
2657         * src/nm-manager.c (free_get_settings_info): Free the allocated
2658         memory slice.
2659         (list_connections_cb): Free data returned from dbus method call.
2660         (system_settings_get_unmanaged_devices_cb): Ditto.
2661
2662         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2663
2664         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2665         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2666         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2667         of the GList.
2668
2669         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2670         arguments after the object is created.
2671
2672 2008-06-04  Dan Williams <dcbw@redhat.com>
2673
2674         * libnm-util/Makefile.am
2675                 - Don't distribute nm-param-spec-specialized.h
2676
2677 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2678
2679         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2680
2681         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2682         NMIP4Address, update the getters and setters.
2683
2684         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2685         Use the updated NMIP4Config routes api.
2686
2687         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2688         static routes as well.
2689
2690         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2691         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2692         routes api.
2693
2694 2008-05-30  Dan Williams <dcbw@redhat.com>
2695
2696         * src/named-manager/nm-named-manager.c
2697           src/named-manager/nm-named-manager.h
2698                 - Remove stale/obsolete bits for controlling bind over DBus
2699
2700 2008-05-29  Dan Williams <dcbw@redhat.com>
2701
2702         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2703           src/dnsmasq-manager/nm-dnsmasq-manager.h
2704                 - (nm_dnsmasq_manager_new): move iface argument here
2705                 - (constructor): remove, not needed
2706                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2707                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2708
2709         * src/nm-device.c
2710                 - (real_act_stage4_get_ip4_config,
2711                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2712                         changes
2713
2714 2008-05-29  Dan Williams <dcbw@redhat.com>
2715
2716         * src/nm-device.c
2717                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2718                         something happens to dnsmasq
2719                 - (nm_device_new_ip4_shared_config): new function; create a new
2720                         ip4-config for shared connections.  Shared connections always use a
2721                         fixed static IP address.
2722                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2723                         autoip connections by actually using the returned ip4-config and
2724                         not leaking it
2725                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2726                         connections
2727                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2728                         if its active
2729
2730 2008-05-29  Dan Williams <dcbw@redhat.com>
2731
2732         * src/nm-device-802-11-wireless.c
2733                 - (real_get_best_auto_connection): auto-activate 'shared' method
2734                         connections too
2735
2736 2008-05-29  Dan Williams <dcbw@redhat.com>
2737
2738         * libnm-util/nm-setting-ip4-config.c
2739           libnm-util/nm-setting-ip4-config.h
2740                 - Add a 'shared' method to indicate that this connection should be
2741                         brought up with a DHCP and proxy DNS server to facilitate
2742                         connection sharing.
2743                 - (verify): 'shared' method doesn't allow DNS or searches either
2744
2745 2008-05-29  Dan Williams <dcbw@redhat.com>
2746
2747         * configure.in
2748           src/Makefile.am
2749           src/dnsmasq-manager/Makefile.am
2750           src/dnsmasq-manager/nm-dnsmasq-manager.c
2751           src/dnsmasq-manager/nm-dnsmasq-manager.h
2752                 - Add a dnsmasq daemon manager to facilitate connection sharing
2753
2754 2008-05-29  Dan Williams <dcbw@redhat.com>
2755
2756         * src/nm-device-private.h
2757                 - Remove unused prototypes and clean up
2758
2759         * src/nm-device.c
2760                 - Remove anything related to system_config_data, which is no longer used
2761                 - (nm_device_new_ip4_autoip_config): make static
2762
2763 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2764
2765         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2766         (file_changed): Fix a bug where suse system settings plugin didn't
2767         update the connections automatically when the files changed.
2768
2769 2008-05-28  Dan Williams  <dcbw@redhat.com>
2770
2771         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2772
2773 2008-05-28  Dan Williams  <dcbw@redhat.com>
2774
2775         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2776
2777         * src/NetworkManagerSystem.c
2778                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2779                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2780                         was causing -EINVAL errors since the libnl code actually does flush
2781                         the routes on VPN interfaces now
2782
2783         * src/backends/NetworkManagerArch.c
2784           src/backends/NetworkManagerDebian.c
2785           src/backends/NetworkManagerFrugalware.c
2786           src/backends/NetworkManagerGeneric.c
2787           src/backends/NetworkManagerGentoo.c
2788           src/backends/NetworkManagerMandriva.c
2789           src/backends/NetworkManagerPaldo.c
2790           src/backends/NetworkManagerRedHat.c
2791           src/backends/NetworkManagerSlackware.c
2792           src/backends/NetworkManagerSuSE.c
2793                 - (nm_system_device_flush_ip4_routes,
2794                    nm_system_device_flush_ip4_routes_with_iface): remove
2795
2796 2008-05-28  Dan Williams  <dcbw@redhat.com>
2797
2798         * libnm-util/nm-setting-wireless.c
2799           libnm-util/nm-setting-wireless.h
2800                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2801                         'adhoc-create' property, which when TRUE indicates that NM should
2802                         create this connection as an adhoc wifi network if it's not found
2803                         as an adhoc network during scanning.  Can be used to auto-create
2804                         adhoc networks when used in combination with autoconnect.
2805
2806 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2807
2808         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2809
2810         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2811         checked, it doesn't work on some devices.
2812
2813 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2814
2815         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2816         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2817
2818         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2819         Use inet_aton() everywhere to improve error detection.
2820         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2821         provided.
2822
2823 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2824
2825         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2826         Fix a typo.
2827
2828 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2829
2830         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2831         reference counting issue.
2832
2833 2008-05-23  Dan Williams  <dcbw@redhat.com>
2834
2835         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2836
2837         * src/backends/NetworkManagerGeneric.c
2838                 - (nm_generic_enable_loopback): use libnl
2839
2840 2008-05-23  Dan Williams  <dcbw@redhat.com>
2841
2842         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2843
2844         * src/NetworkManagerSystem.h
2845           src/backends/NetworkManagerArch.c
2846           src/backends/NetworkManagerDebian.c
2847           src/backends/NetworkManagerFrugalware.c
2848           src/backends/NetworkManagerGentoo.c
2849           src/backends/NetworkManagerMandriva.c
2850           src/backends/NetworkManagerPaldo.c
2851           src/backends/NetworkManagerRedHat.c
2852           src/backends/NetworkManagerSlackware.c
2853           src/backends/NetworkManagerSuSE.c
2854                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2855                    nm_system_flush_arp_cache): remove, unused
2856
2857         * src/backends/NetworkManagerGeneric.c
2858           src/backends/NetworkManagerGeneric.h
2859                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2860                    nm_generic_flush_arp_cache): remove, unused
2861
2862 2008-05-23  Dan Williams  <dcbw@redhat.com>
2863
2864         * system-settings/plugins/ifcfg-fedora/reader.c
2865                 - (make_ip4_setting): honor PEERDNS setting
2866
2867 2008-05-23  Dan Williams  <dcbw@redhat.com>
2868
2869         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2870
2871         * src/NetworkManagerSystem.c
2872                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2873                         libnl
2874
2875         * src/backends/NetworkManagerArch.c
2876           src/backends/NetworkManagerDebian.c
2877           src/backends/NetworkManagerFrugalware.c
2878           src/backends/NetworkManagerGentoo.c
2879           src/backends/NetworkManagerMandriva.c
2880           src/backends/NetworkManagerPaldo.c
2881           src/backends/NetworkManagerRedHat.c
2882           src/backends/NetworkManagerSlackware.c
2883           src/backends/NetworkManagerSuSE.c
2884                 - (nm_system_device_flush_ip4_addresses,
2885                    nm_system_device_flush_ip4_addresses_with_iface): remove
2886
2887         * src/backends/NetworkManagerGeneric.c
2888                 - (nm_generic_device_flush_ip4_addresses,
2889                    nm_generic_device_flush_ip4_addresses_with_iface): remove
2890
2891 2008-05-23  Dan Williams  <dcbw@redhat.com>
2892
2893         * src/supplicant-manager/nm-supplicant-settings-verify.c
2894                 - Switch 'bssid' from bytes to keyword type
2895                 - (validate_type_keyword): allow NULL keyword lists
2896
2897         * src/supplicant-manager/nm-supplicant-config.c
2898                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2899                         a byte array to string form, which is what the supplicant expects
2900
2901 2008-05-23  Tambet Ingo  <tambet@gmail.com>
2902
2903         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2904         information received from DHCP.
2905
2906         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2907         to make it possible to ignore the DNS information (both servers and 
2908         searches) returned by DHCP server.
2909
2910         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2911         name servers and searches if "ignore_dhcp_dns" is set.
2912
2913         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2914         (nm_ip4_config_reset_searches): Implement.
2915
2916 2008-05-22  Dan Williams  <dcbw@redhat.com>
2917
2918         Remove anything mDNS related.  This is better done from a distro-specific
2919         dispatcher script.  Plus, any distro using avahi doesn't need to restart
2920         avahi, since avahi can handle interface changes just fine using netlink.
2921
2922         * configure.in
2923                 - Remove --with-mdns-provider
2924
2925         * src/NetworkManagerPolicy.c
2926                 - (global_state_changed): don't restart the mdns provider
2927
2928         * src/NetworkManagerSystem.h
2929           src/backends/NetworkManagerArch.c
2930           src/backends/NetworkManagerDebian.c
2931           src/backends/NetworkManagerFrugalware.c
2932           src/backends/NetworkManagerGentoo.c
2933           src/backends/NetworkManagerMandriva.c
2934           src/backends/NetworkManagerPaldo.c
2935           src/backends/NetworkManagerRedHat.c
2936           src/backends/NetworkManagerSlackware.c
2937           src/backends/NetworkManagerSuSE.c
2938                 - (nm_system_restart_mdns_responder): remove
2939
2940         * src/backends/NetworkManagerGeneric.c
2941           src/backends/NetworkManagerGeneric.h
2942                 - (nm_generic_restart_mdns_responder): remove
2943
2944 2008-05-22  Dan Williams  <dcbw@redhat.com>
2945
2946         * configure.in
2947                 - clean up crypto options; just use --with-crypto=nss or
2948                         --with-crypto=gnutls
2949
2950 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2951
2952         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2953         anymore, do it right away.
2954
2955 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2956
2957         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2958         serial device open when we're not connecting or connected.
2959
2960         * src/nm-cdma-device.c (device_state_changed): Ditto.
2961
2962 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2963
2964         Don't remove all devices on waking up, sync with HAL.
2965
2966         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2967         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2968         (hal_manager_hal_reappeared_cb): Just call sync_devices.
2969
2970 2008-05-21  Tambet Ingo  <tambet@gmail.com>
2971
2972         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2973         If the default gateway is unreachable, add a route to gateway and try
2974         again.
2975
2976 2008-05-20  Dan Williams  <dcbw@redhat.com>
2977
2978         * system-settings/plugins/ifcfg-fedora/reader.c
2979                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2980
2981 2008-05-19  Dan Williams  <dcbw@redhat.com>
2982
2983         * system-settings/plugins/ifcfg-fedora/reader.c
2984                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2985                         if the ifcfg doesn't specify one (rh #446527)
2986
2987 2008-05-19  Dan Williams  <dcbw@redhat.com>
2988
2989         Make the system settings service exit when the bus goes away.  Since it's
2990         a bus-activated service, it's lifetime is limited to the bus that activated
2991         it (rh #444976).
2992
2993         * system-settings/src/Makefile.am
2994           system-settings/src/nm-system-config-hal-manager-private.h
2995                 - Remove nm-system-config-hal-manager-private.h
2996
2997         * system-settings/src/nm-system-config-hal-manager.c
2998                 - (nm_system_config_hal_manager_reinit_dbus,
2999                    nm_system_config_hal_manager_deinit_dbus): remove
3000
3001         * system-settings/src/main.c
3002                 - (dbus_reconnect): remove
3003                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
3004                 - (destroy_cb): just quit when the bus goes away
3005                 - (start_dbus_service, dbus_init): simplify
3006                 - (main): destroy the wired devices hash table after destroying
3007                         the HAL manager so we don't have to disconnect signals from the
3008                         HAL manager
3009
3010 2008-05-15  Tambet Ingo  <tambet@gmail.com>
3011
3012         Move crypto functions from nm-applet to libnm-util.
3013
3014         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
3015         (nm_setting_802_1x_set_client_cert)
3016         (nm_setting_802_1x_set_phase2_ca_cert)
3017         (nm_setting_802_1x_set_phase2_client_cert)
3018         (nm_setting_802_1x_set_private_key)
3019         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
3020         file (or private key and it's password), read the certificate data.
3021
3022         * libnm-util/crypto_nss.c: 
3023         * libnm-util/crypto_gnutls.c: 
3024         * libnm-util/crypto.[ch]: Move here from nm-applet.
3025
3026         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
3027
3028         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
3029         Imlement WPA-EAP configuration reading from sysconfig.
3030
3031 2008-05-16  Dan Williams  <dcbw@redhat.com>
3032
3033         * src/nm-device-802-11-wireless.c
3034                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3035                         wireless
3036
3037 2008-05-14  Dan Williams  <dcbw@redhat.com>
3038
3039         Fix Linus' bug in rh #134886
3040
3041         * src/nm-device-802-3-ethernet.c
3042                 - (constructor): request initial carrier state
3043
3044         * src/nm-netlink-monitor.c
3045                 - (nm_netlink_monitor_request_status): schedule emission of carrier
3046                         signals after refilling the link cache.  Because the refill is a 
3047                         synchronous operation, the normal message hander won't get called
3048                         since libnl has already consumed the messages.
3049                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3050
3051 2008-05-14  Dan Williams  <dcbw@redhat.com>
3052
3053         * src/NetworkManagerSystem.c
3054                 - (nm_system_device_is_up_with_iface): clean up
3055
3056 2008-05-13  Dan Williams  <dcbw@redhat.com>
3057
3058         Fix refcounting issues over sleep/wake when a VPN connection was active that
3059         caused NM to try registering an object path for a device upon wake that was
3060         the same as an already registered object path.
3061
3062         * src/nm-device.c
3063                 - (nm_device_take_down): properly handle cases where the device is
3064                         no longer active but was just active, and therefore must be
3065                         deactivated.  When a device moves to unmanaged mode, this function
3066                         previously would not deactivate the device, because the state was
3067                         already unmanaged by the time this function was called.
3068
3069         * src/vpn-manager/nm-vpn-connection.c
3070                 - (device_state_changed): properly handle multiple devices states in
3071                         which the device is now deactivated.  Code previously didn't handle
3072                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
3073                         UNMANAGED states.
3074
3075 2008-05-13  Dan Williams  <dcbw@redhat.com>
3076
3077         * src/nm-device-private.h
3078           src/nm-device.c
3079                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3080
3081         * src/nm-device-802-11-wireless.c
3082                 - (nm_device_802_11_wireless_set_enabled): take devices up
3083                         and down as appropriate for the rfkill state
3084
3085 2008-05-13  Dan Williams  <dcbw@redhat.com>
3086
3087         * marshallers/nm-marshal.list
3088                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3089
3090         * system-settings/plugins/ifcfg-fedora/Makefile.am
3091           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3092           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3093                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3094                         events.  Solely for use watching ifcfg files to pick up changes
3095                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3096
3097         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3098                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3099                         file contents change
3100                 - (finalize): clean up inotify watches
3101                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3102                         and the connection ifcfg for changes on their hardlinks
3103                 - (files_changed_cb): proxy the changed signal back out to listeners
3104
3105         * system-settings/plugins/ifcfg-fedora/plugin.c
3106                 - (dir_changed): 
3107                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3108                         changes
3109                 - (read_one_connection): connect to change signals on the new connection
3110                 - (dir_changed, connection_changed_handler,
3111                    handle_connection_remove_or_new): break out connection change
3112                         handling and connection new/remove handling so it can be used from
3113                         both the GFileMonitor callback and the NMIfcfgConnection changed
3114                         signals
3115
3116         * system-settings/plugins/ifcfg-fedora/reader.c
3117           system-settings/plugins/ifcfg-fedora/reader.h
3118                 - (connection_from_file): return the keyfile path the connection would use
3119
3120 2008-05-13  Tambet Ingo  <tambet@gmail.com>
3121
3122         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
3123         single PolKitContext which is shared by all. PolKitContext::unref leaks
3124         just about everything, including all open file descriptiors and results
3125         in 99% cpu usage when data arrives to any of the fds that don't belong
3126         to any context anymore.
3127
3128 2008-05-12  Dan Williams  <dcbw@redhat.com>
3129
3130         * gfilemonitor/glocaldirectorymonitor.c
3131           gfilemonitor/glocaldirectorymonitor.h
3132                 - (g_local_directory_monitor_constructor): actually subscribe to the
3133                         watch
3134                 - (_g_local_directory_monitor_new): ensure that inotify is started up
3135
3136         * gfilemonitor/glocalfilemonitor.c
3137           gfilemonitor/glocalfilemonitor.h
3138                 - (g_local_file_monitor_constructor): actually subscribe to the watch
3139                 - (_g_local_file_monitor_new): ensure that inotify is started up
3140
3141 2008-05-11  Dan Williams  <dcbw@redhat.com>
3142
3143         * configure.in
3144                 - record PolicyKit version
3145
3146         * system-settings/src/nm-polkit-helpers.c
3147                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3148                         with PolicyKit <= 0.6
3149
3150 2008-05-11  Dan Williams  <dcbw@redhat.com>
3151
3152         Update Fedora system-settings plugin to support latest API and use
3153         GFileMonitor rather than home-rolled inotify code.
3154
3155         * system-settings/plugins/ifcfg-fedora/Makefile.am
3156           system-settings/plugins/ifcfg-fedora/common.h
3157           system-settings/plugins/ifcfg-fedora/plugin.c
3158                 - Update to latest system settings plugin API; use GIO instead of
3159                         custom inotify code; use NMIfcfgConnection objects instead of
3160                         ConnectionData structures tacked onto NMConnection objects
3161
3162         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3163           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3164                 - Implement an NMExportedConnection subclass mapping ifcfg files to
3165                         connections
3166
3167         * system-settings/plugins/ifcfg-fedora/reader.c
3168           system-settings/plugins/ifcfg-fedora/reader.h
3169                 - Move ifcfg parsing bits here from parser.c
3170
3171         * system-settings/plugins/ifcfg-fedora/parser.c
3172           system-settings/plugins/ifcfg-fedora/parser.h
3173                 - Remove; most code moved to reader.c
3174
3175 2008-05-11  Dan Williams  <dcbw@redhat.com>
3176
3177         * configure.in
3178           Makefile.am
3179           gfilemonitor/*
3180                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3181                         implementation, so that the same change monitoring code can be used
3182                         on systems without glib-2.14 (like Fedora 8)
3183
3184         * system-settings/plugins/keyfile/Makefile.am
3185           system-settings/plugins/keyfile/plugin.c
3186           system-settings/plugins/ifcfg-suse/Makefile.am
3187           system-settings/plugins/ifcfg-suse/plugin.c
3188                 - Use private gfilemonitor code if GIO is not present
3189
3190 2008-05-09  Tambet Ingo  <tambet@gmail.com>
3191
3192         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3193         NMExportedConnection's 'update' and 'delete' and return error with
3194         descriptive message.
3195
3196 2008-05-08  Dan Williams  <dcbw@redhat.com>
3197
3198         Patch from Markus Becker <mab@comnets.uni-bremen.de>
3199
3200         * src/nm-gsm-device.c
3201           src/nm-cdma-device.c
3202                 - (real_get_best_auto_connection): implement; allow autoconnection
3203                         to GSM & CDMA devices
3204
3205 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3206
3207         Use PolicyKit to authorize the system settings' AddConnection method
3208         and the system settings connections' Update and Delete methods.
3209         
3210         * libnm-glib/nm-settings.c (impl_exported_connection_update)
3211         (impl_exported_connection_delete, nm_exported_connection_update)
3212         (nm_exported_connection_delete): Return boolean and fill GError
3213         to notify the callers of the reasons why it might have failed.
3214
3215         * libnm-glib/nm-dbus-settings-system.c
3216         (nm_dbus_settings_system_add_connection): Return the error from dbus
3217         call so that the callers can see why it failed.
3218
3219         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
3220         signatures.
3221
3222         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3223
3224         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3225         abstract base class that checks PolicyKit permissions.
3226
3227         * system-settings/src/dbus-settings.c:
3228         (impl_settings_add_connection): Check the policy before carring out
3229         the request.
3230
3231         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3232         Inherit from NMSysconfigConnection, check the policies before
3233         allowing updating or removing.
3234
3235         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3236         Inherit from NMSysconfigConnection.
3237
3238         * introspection/nm-exported-connection.xml: Annotate "Update" and 
3239         "Delete" methods with async flag so that the implementations can get
3240         access to DBusGMethodInvocation.
3241
3242         * system-settings/src/dbus-settings.c 
3243         (settings_add_connection_check_privileges): Implement.
3244         (impl_settings_add_connection): Check the privileges before adding a new
3245         connection. Improve error reporting.
3246
3247         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3248         async so that the implementation can access DBusGMethodInvocation.
3249
3250         * configure.in: Check for PolicyKit.
3251
3252         * policy/org.freedesktop.network-manager-settings.system.policy: 
3253         New file.
3254
3255         * policy/Makefile.am: Install the policy file.
3256
3257         * configure.in: Add 'policy' subdir.
3258
3259 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3260
3261         Rewrite the suse system settings plugin.
3262
3263         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3264
3265         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3266
3267         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3268
3269         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3270
3271         * system-settings/src/dbus-settings.c: Fix connection reference counting.
3272
3273         * system-settings/src/main.c (load_plugins): Improve error reporting.
3274
3275         * system-settings/src/sha1.[ch] Add.
3276
3277         * system-settings/src/Makefile.am: Add sha1[ch] to build.
3278
3279 2008-05-07  Dan Williams  <dcbw@redhat.com>
3280
3281         * system-settings/plugins/keyfile/reader.c
3282                 - (read_one_setting_value): handle IP address items separately
3283                 - (read_array_of_uint): read IPv4 DNS option as a string array
3284                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3285                         array
3286
3287         * system-settings/plugins/keyfile/writer.c
3288                 - (write_setting_value): handle IP address items separately
3289                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3290                         not an array of uint, so that it's user-editable
3291                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3292                         arrays, so they are user-editable
3293
3294 2008-05-07  Dan Williams  <dcbw@redhat.com>
3295
3296         * system-settings/plugins/keyfile/Makefile.am
3297                 - Change location of the keyfile plugin settings to
3298                         /etc/NetworkManager/system-connections
3299
3300 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3301
3302         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3303
3304         * system-settings/plugins/keyfile/plugin.c: Work with
3305         NMKeyfileConnections.
3306
3307         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3308         Plugins are supposed to return NMExportedConnections now and handle the
3309         updated(), removed(), and GetSecrets().
3310         Store the internal list of connections in hash table to make it easier
3311         to find duplicates.
3312
3313 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3314
3315         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3316         for multiple IP addresses.
3317
3318 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3319
3320         Patch from André Lemos.
3321
3322         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3323         corruption.
3324
3325 2008-05-06  Dan Williams  <dcbw@redhat.com>
3326
3327         * src/dhcp-manager/nm-dhcp-manager.c
3328                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3329                         NMIP4Config to support multiple IP addresses
3330
3331         * src/NetworkManagerUtils.c
3332                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3333
3334         * src/nm-ip4-config.c
3335           src/nm-ip4-config.h
3336                 - Store a list of IPv4 address/netmask/gateway tuples
3337                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3338                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3339                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3340                    nm_ip4_config_set_address): remove
3341                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3342                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3343                         new functions; handle multiple IPv4 addresses
3344
3345         * src/nm-device.c
3346           src/ppp-manager/nm-ppp-manager.c
3347           src/vpn-manager/nm-vpn-connection.c
3348           src/NetworkManagerPolicy.c
3349           test/nm-tool.c
3350           libnm-glib/libnm-glib-test.c
3351                 - update for changes to NMIP4Config for multiple IPv4 addresses
3352
3353         * src/NetworkManagerSystem.c
3354                 - (nm_system_device_set_ip4_route): don't add the route if any address
3355                         is on the same subnet as the destination
3356                 - (check_one_address): ignore the exact match, just match family and
3357                         interface index
3358                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3359                         an interface
3360                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3361                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3362
3363         * introspection/nm-ip4-config.xml
3364                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3365                 - Add 'addresses' property which is an array of (uuu) tuples of
3366                         address/netmask/gateway
3367
3368         * libnm-util/nm-setting-ip4-config.c
3369                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3370
3371         * libnm-glib/nm-ip4-config.c
3372           libnm-glib/nm-ip4-config.h
3373                 - Handle D-Bus interface changes to support multiple IP addresses
3374
3375 2008-05-06  Dan Williams  <dcbw@redhat.com>
3376
3377         * libnm-util/nm-utils.c
3378           libnm-util/nm-utils.h
3379                 - (nm_utils_ip4_addresses_from_gvalue,
3380                    nm_utils_ip4_addresses_to_gvalue): new functions
3381
3382 2008-05-06  Tambet Ingo  <tambet@gmail.com>
3383
3384         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3385         the returned connection paths.
3386
3387 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3388
3389         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
3390         "PropertiesChanged" signal signature.
3391
3392         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3393         defined in nm-dbus-glib-types.h.
3394         Don't register the connection on dbus, we're a proxy class to 
3395         communicate with an already registered connection over dbus.
3396
3397 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3398
3399         Implement new subclasses of NMSettings and NMExportedConnection to make
3400         it easier for the applet to access and modify system settings.
3401
3402         * libnm-glib/nm-dbus-connection.[ch]:
3403         * libnm-glib/nm-dbus-settings.[ch]:
3404         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3405
3406         * libnm-glib/Makefile.am: Add the new files to build, generate some more
3407         bindings and glue.
3408
3409         * include/NetworkManager.h: Define the system settings DBus interface.
3410
3411 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3412
3413         Implement additional C API for exported connections to make them identical
3414         with the DBus API. Change the (list_connections) virtual function to be
3415         more usable from C - instead of requiring implementers to return a GPtrArray
3416         of dbus paths, return a list of connections.
3417
3418         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3419         (nm_settings_list_connections):
3420         (nm_exported_connection_new):
3421         (nm_exported_connection_update):
3422         (nm_exported_connection_delete): Implement.
3423
3424         (impl_settings_list_connections):
3425         (impl_exported_connection_update):
3426         (impl_exported_connection_delete): Use the new public functions to make 
3427         sure the C and dbus interfaces stay in sync.
3428
3429         * system-settings/src/dbus-settings.c (list_connections): Return a list of
3430         connections.
3431
3432 2008-05-02  Dan Williams  <dcbw@redhat.com>
3433
3434         * system-settings/plugins/ifcfg-fedora/plugin.c
3435                 - (dispose): use right unref call on the DBusGConnection
3436
3437 2008-05-02  Dan Williams  <dcbw@redhat.com>
3438
3439         * src/nm-serial-device.c
3440                 - (find_terminator): don't compare the whole line, just the size of the
3441                         terminator, since some modems put stuff after the terminator, like
3442                         "CONNECT 9600"
3443
3444 2008-05-01  Dan Williams  <dcbw@redhat.com>
3445
3446         Patch from Michael Biebl <biebl@debian.org>
3447
3448         * callouts/Makefile.am
3449           callouts/org.freedesktop.nm_dispatcher.service.in
3450           system-settings/src/Makefile.am
3451           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3452                 - use the right install location for dbus-activated stuff
3453
3454 2008-04-30  Dan Williams  <dcbw@redhat.com>
3455
3456         * src/nm-gsm-device.c
3457                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3458                         PIN or PUK
3459
3460 2008-04-30  Dan Williams  <dcbw@redhat.com>
3461
3462         * src/nm-manager.c
3463                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3464
3465 2008-04-30  Dan Williams  <dcbw@redhat.com>
3466
3467         * src/nm-device-802-3-ethernet.c
3468           src/nm-device-802-11-wireless.c
3469                 - (real_is_up): return true instead of chaining up to unimplemented
3470                         parent method
3471
3472 2008-04-30  Dan Williams  <dcbw@redhat.com>
3473
3474         * src/NetworkManagerSystem.c
3475           src/NetworkManagerSystem.h
3476                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3477                         functions to check device flags for IFF_UP
3478
3479         * src/nm-serial-device.c
3480                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3481                         implement is_up
3482
3483         * src/nm-device-802-3-ethernet.c
3484           src/nm-device-802-11-wireless.c
3485                 - (real_hw_is_up): call nm_system_device_is_up()
3486
3487         * src/nm-device.c
3488                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3489                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3490                         does not implement
3491
3492 2008-04-29  Dan Williams  <dcbw@redhat.com>
3493
3494         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3495
3496         * marshallers/nm-marshal.list
3497                 - Add marshaller
3498
3499         * src/NetworkManager.c
3500                 - (main): let the NMManager handle the NMHalManager
3501
3502         * src/nm-hal-manager.c
3503           src/nm-hal-manager.h
3504                 - convert to a GObject, and emit singals when stuff changes.  Let the
3505                         NMManager handle the signals, instead of the NMHalManager calling
3506                         into the NMManager.  
3507
3508         * src/nm-manager.c
3509           src/nm-manager.h
3510                 - (remove_one_device): consolidate device removals here
3511                 - (dispose): use remove_one_device()
3512                 - (nm_manager_get_device_by_udi): make static
3513                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3514                         manager for devices at startup or wakeup time
3515                 - (nm_manager_new): create and monitor the HAL manager
3516                 - (hal_manager_udi_added_cb): new function; do what
3517                         nm_manager_add_device() used to do when signalled by the hal manager
3518                 - (hal_manager_udi_removed_cb): new function; do what
3519                         nm_manager_remove_device() used to do when signalled by the hal
3520                         manager
3521                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3522                         hal manager
3523                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3524                         in our device list that aren't known to HAL
3525                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3526                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3527                         commits ago
3528                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3529                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3530                    nm_manager_wireless_hardware_enabled,
3531                    nm_manager_set_wireless_hardware_enabled): remove, unused
3532
3533 2008-04-28  Dan Williams  <dcbw@redhat.com>
3534
3535         Fix the device up/down ambiguities.  Up/down state used to be a
3536         conglomeration of hardware state (IFF_UP) and any device-specific things
3537         (supplicant, periodic timers, etc) that the device used to indicate
3538         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3539         reason, then the device specific stuff wouldn't get run, and the device
3540         would be stuck.
3541
3542         * src/nm-device.c
3543           src/nm-device.h
3544                 - Create hw_is_up, hw_bring_up, and hw_take_down
3545                 - Rename bring_down -> take_down
3546                 - (real_hw_is_up): check interface flags for IFF_UP
3547                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3548                 - (nm_device_is_up): make static; only used locally
3549                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3550                         if the device is already up; if the device isn't up, bring it up
3551                 - (nm_device_hw_take_down): just take down hardware
3552                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3553                 - (nm_device_take_down): always deactivate device when called; always
3554                         try to take hardware down too
3555                 - (nm_device_state_changed): take device down when entering unmanaged
3556                         state from a higher state
3557
3558         * src/nm-device-802-11-wireless.c
3559                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3560                         check IFF_UP really
3561                 - (real_take_down, supplicant_iface_state_cb_handler, 
3562                    supplicant_iface_connection_state_cb_handler,
3563                    supplicant_mgr_state_cb_handler): fix some messages
3564
3565         * src/nm-device-802-3-ethernet.c
3566                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3567                         check IFF_UP really
3568
3569 2008-04-28  Dan Williams  <dcbw@redhat.com>
3570
3571         * src/nm-manager.c
3572           src/nm-manager.h
3573                 - (nm_manager_error_get_type): add new error
3574                 - (nm_manager_remove_device): don't bother taking down the device here,
3575                         the state change from unmanaging the device will do it
3576                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3577                         uses it; when going to sleep, just unmanage the device instead of
3578                         taking it down, because stuff will cleaned up correctly when the
3579                         device gets unmanaged
3580
3581 2008-04-28  Dan Williams  <dcbw@redhat.com>
3582
3583         * src/nm-hal-manager.c
3584                 - (add_initial_devices): convert to a GSourceFunc prototype
3585                 - (nm_manager_state_changed): when coming out of sleep, punt the
3586                         device re-addition to an idle handler to let D-Bus events go out
3587                         first, fixing a potential dbus-glib assert if the old device was
3588                         not yet disposed (due to references held while emitting the D-Bus
3589                         signals) but the new device was found, because the mainloop didn't
3590                         run between signal emission and add_initial_devices()
3591
3592 2008-04-27  Dan Williams  <dcbw@redhat.com>
3593
3594         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3595
3596         * initscript/paldo/NetworkManager.in
3597           initscript/SUSE/networkmanager.in
3598                 - Remove last bits of dhcdbd
3599
3600 2008-04-27  Dan Williams  <dcbw@redhat.com>
3601
3602         * src/nm-device-802-11-wireless.c
3603                 - (link_timeout_cb): don't ask for secrets when disconnected during
3604                         association/authentication phase, drivers are still just too crappy
3605
3606 2008-04-27  Dan Williams  <dcbw@redhat.com>
3607
3608         * Makefile.am
3609           configure.in
3610           dispatcher-daemon/Makefile.am
3611           dispatcher-daemon/NetworkManagerDispatcher.c
3612           initscript/Arch/Makefile.am
3613           initscript/Arch/networkmanager-dispatcher.in
3614           initscript/Gentoo/Makefile.am
3615           initscript/Gentoo/NetworkManagerDispatcher.in
3616           initscript/Mandriva/Makefile.am
3617           initscript/Mandriva/networkmanagerdispatcher.in
3618           initscript/RedHat/Makefile.am
3619           initscript/RedHat/NetworkManagerDispatcher.in
3620           initscript/SUSE/Makefile.am
3621           initscript/SUSE/networkmanager-dispatcher.in
3622           initscript/Slackware/Makefile.am
3623           initscript/Slackware/rc.networkmanager-dispatcher.in
3624           initscript/paldo/Makefile.am
3625           initscript/paldo/NetworkManagerDispatcher.in
3626           man/Makefile.am
3627           man/NetworkManagerDispatcher.8.in
3628                 - Remove the dispatcher daemon
3629
3630 2008-04-27  Dan Williams  <dcbw@redhat.com>
3631
3632         * callouts/Makefile.am
3633           callouts/nm-dispatcher-action.c
3634           callouts/nm-dispatcher-action.h
3635           callouts/nm-dispatcher.conf
3636           callouts/nm-dispatcher.xml
3637           callouts/org.freedesktop.nm_dispatcher.service
3638                 - Re-implement the dispatcher as a system-bus activated service that
3639                         NM calls on-demand, rather than an always running daemon
3640
3641         * src/Makefile.am
3642                 - Add callouts dir to includes to pick up dispatcher defines
3643
3644         * src/nm-device.c
3645                 - (nm_device_state_changed): call dispatcher on device activated/
3646                         deactivated
3647
3648         * src/vpn-manager/nm-vpn-connection.c
3649                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3650                         go up and down
3651
3652         * src/NetworkManagerUtils.c
3653           src/NetworkManagerUtils.h
3654                 - (nm_utils_call_dispatcher): helper to call dispatcher
3655
3656 2008-04-27  Dan Williams  <dcbw@redhat.com>
3657
3658         * src/NetworkManagerUtils.c
3659           src/NetworkManagerUtils.h
3660                 - remove unneeded includes
3661                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3662                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3663                    nm_timeval_cmp, nm_timeval_add): remove, unused
3664                 - clean up formatting
3665                 - (nm_spawn_process): de-uglify
3666
3667         * src/nm-device-802-11-wireless.c
3668                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3669
3670 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3671
3672         * initscript/Gentoo/NetworkManager.in:
3673                 Fix for starting the daemon.
3674
3675 2008-04-25  Dan Williams  <dcbw@redhat.com>
3676
3677         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3678
3679         * src/NetworkManagerSystem.c
3680                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3681
3682 2008-04-25  Dan Williams  <dcbw@redhat.com>
3683
3684         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3685
3686         * src/NetworkManagerSystem.c
3687                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3688                         implementation of nm_system_device_replace_default_route()
3689
3690         * src/NetworkManagerPolicy.c
3691                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3692
3693         * src/backends/NetworkManagerArch.c
3694           src/backends/NetworkManagerDebian.c
3695           src/backends/NetworkManagerFrugalware.c
3696           src/backends/NetworkManagerGeneric.c
3697           src/backends/NetworkManagerGeneric.h
3698           src/backends/NetworkManagerGentoo.c
3699           src/backends/NetworkManagerMandriva.c
3700           src/backends/NetworkManagerPaldo.c
3701           src/backends/NetworkManagerRedHat.c
3702           src/backends/NetworkManagerSlackware.c
3703           src/backends/NetworkManagerSuSE.c
3704                 - (nm_system_device_replace_default_route): remove
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                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3712                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3713                         replace nm_system_device_add_route_via_device_with_iface() in the
3714                         backends
3715
3716         * src/backends/NetworkManagerArch.c
3717           src/backends/NetworkManagerDebian.c
3718           src/backends/NetworkManagerFrugalware.c
3719           src/backends/NetworkManagerGeneric.c
3720           src/backends/NetworkManagerGeneric.h
3721           src/backends/NetworkManagerGentoo.c
3722           src/backends/NetworkManagerMandriva.c
3723           src/backends/NetworkManagerPaldo.c
3724           src/backends/NetworkManagerRedHat.c
3725           src/backends/NetworkManagerSlackware.c
3726           src/backends/NetworkManagerSuSE.c
3727                 - Remove nm_system_device_add_route_via_device_with_iface()
3728
3729 2008-04-25  Dan Williams  <dcbw@redhat.com>
3730
3731         * system-settings/plugins/ifcfg-fedora/parser.c
3732                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3733
3734 2008-04-24  Dan Williams  <dcbw@redhat.com>
3735
3736         * dispatcher-daemon/NetworkManagerDispatcher.c
3737                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3738
3739 2008-04-24  Dan Williams  <dcbw@redhat.com>
3740
3741         * initscript/RedHat/NetworkManager.in
3742           initscript/RedHat/NetworkManagerDispatcher.in
3743                 - Be active at runlevel 2
3744                 - Adjust priorities earlier
3745
3746 2008-04-22  Dan Williams  <dcbw@redhat.com>
3747
3748         * src/NetworkManagerPolicy.c
3749                 - (update_routing_and_dns): when checking for a gateway, look at the
3750                         composite IP4 config, not the connection's ip4-config setting, which
3751                         doesn't include DHCP-returned information
3752
3753 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3754
3755         Implement GKeyFile system settings plugin.
3756         Implement writing system settings (currently supported only by GKeyFile plugin).
3757
3758         * system-settings/src/main.c: 
3759         * system-settings/src/dbus-settings.c: Move the communication with plugins
3760         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3761         plugins for adding/updating/removing connections.
3762
3763         * system-settings/src/nm-system-config-interface.c
3764         (nm_system_config_interface_add_connection): Implement
3765         (nm_system_config_interface_update_connection): Implement.
3766         (nm_system_config_interface_remove_connection): Implement.
3767
3768         * system-settings/plugins/keyfile/Makefile.am:
3769         * system-settings/plugins/keyfile/plugin.[ch]:
3770         * system-settings/plugins/keyfile/writer.[ch]:
3771         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3772
3773         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3774
3775         * configure.in: Generate GKeyFile Makefile.
3776
3777         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3778         corruption, need to duplicate the returned string.
3779         (impl_exported_connection_update): Implement.
3780         (impl_exported_connection_delete): Implement.
3781
3782         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3783
3784         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3785
3786 2008-04-22  Dan Williams  <dcbw@redhat.com>
3787
3788         Patch from Charles R. Anderson (cra@wpi.edu)
3789
3790         * src/NetworkManagerPolicy.c
3791                 - (update_routing_and_dns): don't select devices without a gateway
3792                         as having the default route (rh #437338)
3793
3794 2008-04-21  Dan Williams  <dcbw@redhat.com>
3795
3796         * src/nm-activation-request.c
3797           src/nm-activation-request.h
3798                 - (dispose): ensure to disconnect from the device's state-changed signal
3799                         when appropriate so the signal doesn't get handled by an already
3800                         disposed NMActRequest
3801                 - (device_state_changed): update is_default here too just to make sure
3802                         default is only True when the child device is activated
3803                 - (nm_act_request_set_default): new function
3804
3805         * src/NetworkManagerPolicy.c
3806                 - (update_routing_and_dns): set 'default' on the active connection which
3807                         has the default route and DNS
3808
3809 2008-04-21  Dan Williams  <dcbw@redhat.com>
3810
3811         * src/NetworkManagerPolicy.c
3812                 - (device_state_changed): update routing and DNS when a device goes
3813                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3814
3815 2008-04-21  Dan Williams  <dcbw@redhat.com>
3816
3817         * include/NetworkManager.h
3818                 - Add NMActiveConnectionState enum
3819
3820         * introspection/nm-active-connection.xml
3821           introspection/nm-vpn-connection.xml
3822                 - Add 'State' property for overall active connection state
3823                 - Add 'Default' property, when True means this active connection
3824                         has the default route
3825                 - Add PropertyChanged signals so changes actually go out over the bus
3826
3827         * src/nm-active-connection.h
3828                 - Add defines for State & Default properties
3829
3830         * src/nm-activation-request.c
3831                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3832                         signal to determine active connection state
3833
3834         * src/vpn-manager/nm-vpn-connection.c
3835           src/vpn-manager/nm-vpn-connection.h
3836           src/vpn-manager/nm-vpn-manager.c
3837           src/vpn-manager/nm-vpn-service.c
3838                 - Rename old 'state' to 'vpn-state'
3839                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3840                 - Add 'state' and 'default' properties, hook up to the vpn connection's
3841                         'vpn-state-changed' signal
3842
3843         * libnm-glib/nm-active-connection.c
3844           libnm-glib/nm-active-connection.h
3845                 - Add new 'state' and 'default' properties and accessors
3846
3847         * libnm-glib/nm-vpn-connection.c
3848           libnm-glib/nm-vpn-connection.h
3849                 - Rename old 'state' property to 'vpn-state'
3850                 - Add new 'state' and 'default' properties and accessors
3851
3852 2008-04-21  Dan Williams  <dcbw@redhat.com>
3853
3854         * src/nm-ip4-config.c
3855                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3856                         not specified (rh #443474)
3857
3858 2008-04-20  Dan Williams  <dcbw@redhat.com>
3859
3860         * src/NetworkManagerUtils.c
3861           src/NetworkManagerUtils.h
3862                 - (nm_utils_merge_ip4_config): new function; merge settings from an
3863                         NMSettingIP4Config to an NMIP4Config object
3864
3865         * src/nm-device.c
3866                 - (merge_ip4_config): move to NetworkManagerUtils.c
3867
3868         * src/vpn-manager/nm-vpn-connection.c
3869                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3870                         too
3871
3872 2008-04-18  Dan Williams  <dcbw@redhat.com>
3873
3874         * libnm-util/nm-setting-ppp.c
3875           libnm-util/nm-setting-ppp.h
3876                 - Add 'no-vj-comp' option for TCP header compression
3877                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3878                         uint32
3879
3880 2008-04-18  Dan Williams  <dcbw@redhat.com>
3881
3882         * libnm-util/nm-setting-ppp.c
3883           libnm-util/nm-setting-ppp.h
3884           src/ppp-manager/nm-ppp-manager.c
3885                 - Add 'refuse-pap' and 'refuse-mschapv2' options
3886
3887 2008-04-18  Dan Williams  <dcbw@redhat.com>
3888
3889         * libnm-util/nm-setting-ppp.c
3890           libnm-util/nm-setting-ppp.h
3891           src/ppp-manager/nm-ppp-manager.c
3892                 - Remove the 'usepeerdns' option and always request DNS servers from
3893                         the PPP server; the connection chooses to use/override/ignore the
3894                         DNS servers returned from the PPP server
3895
3896 2008-04-18  Dan Williams  <dcbw@redhat.com>
3897
3898         * libnm-util/nm-setting-ppp.c
3899           libnm-util/nm-setting-ppp.h
3900           src/ppp-manager/nm-ppp-manager.c
3901                 - Remove the 'require-mppc' option, because pppd doesn't support it and
3902                         it seems to have been an erroneous addition to the PPTP plugin in
3903                         the first place (from which the ppp-manager is derived)
3904
3905 2008-04-17  Dan Williams  <dcbw@redhat.com>
3906
3907         * libnm-util/nm-setting-pppoe.c
3908                 - (verify): require a PPP setting too
3909
3910         * src/ppp-manager/nm-ppp-manager.c
3911                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3912                         segfaulting
3913
3914 2008-04-17  Dan Williams  <dcbw@redhat.com>
3915
3916         * src/nm-device.c
3917                 - (nm_device_state_changed): do deactivation and and promotion to
3918                         unavailable here, so that the device gets cleaned up before the
3919                         manager runs and starts emitting signals; do the
3920                         FAILED->DISCONNECTED transition from an idle handler rather than
3921                         immediately to guard against recursion
3922                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3923                         FAILED->DISCONNECTED handler if it's scheduled
3924
3925 2008-04-17  Dan Williams  <dcbw@redhat.com>
3926
3927         * src/nm-device-802-11-wireless.c
3928                 - (state_changed_cb): clear AP list when device transitions to
3929                         unavailable or unmanaged
3930                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3931                         since this is already done in device_cleanup()
3932                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3933                         isn't available or managed
3934                 - (device_cleanup): use remove_all_aps()
3935                 - (remove_all_aps): consolidate code removing all APs
3936
3937 2008-04-17  Dan Williams  <dcbw@redhat.com>
3938
3939         * src/nm-serial-device.c
3940           src/nm-serial-device.h
3941                 - (wait_for_reply_got_data): break input into lines, and search each
3942                         line for responses _and_ terminator strings; also make sure that
3943                         the read loop doesn't continue after the timeout is supposed to fire
3944                 - (nm_serial_device_wait_for_reply): take an array of terminators too
3945
3946         * src/nm-gsm-device.c
3947           src/nm-cdma-device.c
3948                 - Send terminators to nm_serial_device_wait_for_reply()
3949
3950 2008-04-16  Dan Williams  <dcbw@redhat.com>
3951
3952         Patch from 陈鑫 <znscnchen@gmail.com>
3953
3954         * src/ppp-manager/nm-pppd-plugin.c
3955                 - (get_credentials): return correct value for success; handle case where
3956                         pppd just does some checking but doesn't want a password
3957                 - (plugin_init): make CHAP work too
3958
3959 2008-04-16  Dan Williams  <dcbw@redhat.com>
3960
3961         Patch from 陈鑫 <znscnchen@gmail.com>
3962
3963         * src/ppp-manager/nm-ppp-manager.c
3964                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3965
3966 2008-04-16  Dan Williams  <dcbw@redhat.com>
3967
3968         Patch from 陈鑫 <znscnchen@gmail.com>
3969
3970         * src/nm-device-802-3-ethernet.c
3971                 - (real_deactivate_quickly): clear the IP interface name on
3972                         deactivation, otherwise the wrong interface might get used later
3973                         for routing and IP management
3974
3975 2008-04-15  Dan Williams  <dcbw@redhat.com>
3976
3977         * libnm-glib/nm-device.c
3978                 - (get_product_and_vendor): handle serial devices correctly
3979                 - (nm_device_update_description): pass device to get_product_and_vendor()
3980
3981 2008-04-15  Dan Williams  <dcbw@redhat.com>
3982
3983         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3984
3985         * src/NetworkManagerSystem.h
3986           src/backends/NetworkManagerArch.c
3987           src/backends/NetworkManagerDebian.c
3988           src/backends/NetworkManagerFrugalware.c
3989           src/backends/NetworkManagerGeneric.c
3990           src/backends/NetworkManagerGeneric.h
3991           src/backends/NetworkManagerGentoo.c
3992           src/backends/NetworkManagerMandriva.c
3993           src/backends/NetworkManagerPaldo.c
3994           src/backends/NetworkManagerRedHat.c
3995           src/backends/NetworkManagerSlackware.c
3996           src/backends/NetworkManagerSuSE.c
3997           src/nm-device.c
3998                 - (nm_generic_device_add_ip6_link_address,
3999                    nm_system_device_add_ip6_link_address): remove
4000
4001 2008-04-15  Dan Williams  <dcbw@redhat.com>
4002
4003         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4004
4005         * src/backends/NetworkManagerArch.c
4006           src/backends/NetworkManagerDebian.c
4007           src/backends/NetworkManagerFrugalware.c
4008           src/backends/NetworkManagerGeneric.c
4009           src/backends/NetworkManagerGeneric.h
4010           src/backends/NetworkManagerGentoo.c
4011           src/backends/NetworkManagerMandriva.c
4012           src/backends/NetworkManagerPaldo.c
4013           src/backends/NetworkManagerRedHat.c
4014           src/backends/NetworkManagerSlackware.c
4015           src/backends/NetworkManagerSuSE.c
4016           src/NetworkManagerSystem.h
4017                 - flush_routes -> flush_ip4_routes
4018                 - flush_addresses -> flush_ip4_addresses
4019
4020         * src/NetworkManagerSystem.c
4021           src/nm-device.c
4022           src/vpn-manager/nm-vpn-connection.c
4023                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
4024
4025 2008-04-15  Dan Williams  <dcbw@redhat.com>
4026
4027         Remove exposure of wireless-tools mode types in the API.
4028
4029         * include/NetworkManager.h
4030                 - Define NM80211Mode enum
4031
4032         * introspection/generic-types.xml
4033                 - Describe NM_802_11_MODE enum
4034                 - Remove IW_MODE_* enum
4035
4036         * introspection/nm-access-point.xml
4037           libnm-glib/nm-access-point.c
4038           libnm-glib/nm-access-point.h
4039                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4040
4041         * introspection/nm-device-802-11-wireless.xml
4042           libnm-glib/nm-device-802-11-wireless.c
4043           libnm-glib/nm-device-802-11-wireless.h
4044                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4045
4046         * libnm-util/nm-setting-wireless.c
4047           src/NetworkManagerAP.c
4048           src/NetworkManagerAP.h
4049           src/nm-device-802-11-wireless.c
4050           src/nm-device-802-11-wireless.h
4051           test/nm-tool.c
4052                 - Use NM80211Mode not IW_MODE_*
4053
4054 2008-04-15  Dan Williams  <dcbw@redhat.com>
4055
4056         Enhance nm-online based on a patch from Bill Nottingham.
4057
4058         * test/nm-online.c
4059                 - Add a '-q' option
4060                 - Add help messages and option summary
4061                 - Add long-format options
4062                 - Add a '-x' option to exit if NM isn't running or isn't connecting
4063
4064 2008-04-15  Tambet Ingo  <tambet@gmail.com>
4065
4066         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4067
4068         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4069
4070 2008-04-15  Dan Williams  <dcbw@redhat.com>
4071
4072         * nm-setting-ip4-config.c
4073                 - (ip4_addresses_from_gvalue): handle NULL address array
4074
4075         * nm-setting-8021x.c
4076                 - (verify_tls, verify_ttls): warn on failed verification
4077
4078 2008-04-10  Dan Williams  <dcbw@redhat.com>
4079
4080         * src/nm-gsm-device.c
4081                 - (automatic_registration): accept "+CREG: 0,0"
4082                 - (automatic_registration_response): fail on "+CREG: 0,0"
4083
4084 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4085
4086         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4087
4088 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4089
4090         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
4091         Make it compile again by commenting out broken code that at first didn't work and
4092         now didn't compile either.
4093
4094 2008-04-08  Dan Williams  <dcbw@redhat.com>
4095
4096         * libnm-glib/nm-object-cache.c
4097           libnm-glib/nm-settings.c
4098           src/dhcp-manager/nm-dhcp-manager.c
4099           system-settings/plugins/ifcfg-fedora/plugin.c
4100           system-settings/plugins/ifcfg-suse/plugin.c
4101           system-settings/src/nm-system-config-hal-manager.c
4102           libnm-util/nm-utils.c
4103                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4104                         not threadsafe anyway
4105
4106 2008-04-08  Dan Williams  <dcbw@redhat.com>
4107
4108         * system-settings/src/main.c
4109                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4110                         callbacks take a device type too
4111
4112 2008-04-08  Dan Williams  <dcbw@redhat.com>
4113
4114         The system settings service will now create a new default DHCP connection
4115         for wired devices that have no existing applicable connection.
4116
4117         * system-settings/src/nm-system-config-hal-manager.c
4118           system-settings/src/nm-system-config-hal-manager.h
4119                 - (nm_system_config_hal_manager_get_type_for_udi): new function
4120
4121         * system-settings/src/dbus-settings.c
4122           system-settings/src/dbus-settings.h
4123                 - (nm_sysconfig_settings_get_connections): new function
4124                 - (nm_sysconfig_settings_is_device_managed): new function
4125
4126         * system-settings/src/main.c
4127                 - (load_stuff): check for wired devices that need a default connection
4128                 - (get_details_for_udi): get interface and MAC address from HAL
4129                 - (add_default_dhcp_connection): add a default connection for a wired
4130                         device if needed
4131                 - (device_added_cb, device_removed_cb): do the right thing with
4132                         wired devices and their default connections on HAL device events
4133
4134 2008-04-07  Dan Williams  <dcbw@redhat.com>
4135
4136         * libnm-glib/nm-device.c
4137           libnm-glib/nm-device.h
4138                 - Proxy the 'managed' property
4139
4140 2008-04-07  Dan Williams  <dcbw@redhat.com>
4141
4142         * src/nm-gsm-device.c
4143           src/nm-cdma-device.c
4144                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4145                         handler to transition to DISCONNECTED
4146
4147 2008-04-07  Dan Williams  <dcbw@redhat.com>
4148
4149         Patch from Bill Nottingham
4150
4151         * dispatcher-daemon/NetworkManagerDispatcher.c
4152                 - ignore backup/packaging crufy (rh #440143)
4153
4154 2008-04-07  Dan Williams  <dcbw@redhat.com>
4155
4156         * include/NetworkManager.h
4157                 - Remove the DOWN and CANCELLED device states
4158                 - Add UNMANAGED and UNAVAILABLE device states
4159                 - Document the device states
4160
4161         * introspection/nm-device.xml
4162           src/nm-device-interface.c
4163           src/nm-device-interface.h
4164                 - Add the 'managed' property
4165
4166         * test/nm-tool.c
4167                 - (detail_device): print out device state
4168
4169         * src/NetworkManagerSystem.h
4170           src/backends/NetworkManagerArch.c
4171           src/backends/NetworkManagerDebian.c
4172           src/backends/NetworkManagerFrugalware.c
4173           src/backends/NetworkManagerGentoo.c
4174           src/backends/NetworkManagerMandriva.c
4175           src/backends/NetworkManagerPaldo.c
4176           src/backends/NetworkManagerRedHat.c
4177           src/backends/NetworkManagerSlackware.c
4178           src/backends/NetworkManagerSuSE.c
4179                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4180                    nm_system_device_free_system_config): remove; they were unused and
4181                         their functionality should be re-implemented in each distro's
4182                         system settings service plugin 
4183
4184         * src/nm-gsm-device.c
4185           src/nm-gsm-device.h
4186           src/nm-cdma-device.c
4187           src/nm-cdma-device.h
4188                 - (*_new): take the 'managed' argument
4189
4190         * src/nm-device.c
4191                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4192                 - (nm_device_init): start in unmanaged state, not disconnected
4193                 - (constructor): don't start device until the system settings service
4194                         has had a chance to figure out if the device is managed or not
4195                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4196                         don't set device state here, let callers handle that as appropriate
4197                 - (nm_device_dispose): don't touch the device if it's not managed
4198                 - (set_property, get_property, nm_device_class_init): implement the
4199                         'managed' property
4200                 - (nm_device_state_changed): bring the device up if its now managed,
4201                         and deactivate it if it used to be active
4202                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4203                         with the managed state
4204
4205         * src/nm-hal-manager.c
4206                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4207                         take initial managed state and pass it along to device constructors
4208                 - (create_device_and_add_to_list): get managed state and pass to
4209                         type creators
4210
4211         * src/nm-device-802-11-wireless.c
4212                 - (real_can_activate): fold in most of
4213                         nm_device_802_11_wireless_can_activate()
4214                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4215                 - (link_timeout_cb): instead of deactivating, change device state and
4216                         let the device state handler to it
4217                 - (real_update_hw_address): clean up
4218                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4219                         handler to transition to DISCONNECTED if the device isn't rfkilled
4220
4221         * src/nm-device-802-3-ethernet.c
4222                 - (set_carrier): move above callers and get rid of prototype
4223                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4224                         idle handler to transition to DISCONNECTED if the device has a
4225                         carrier
4226                 - (real_update_hw_address): clean up
4227                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4228                         deactivation directly as deactivation doesn't change state anymore
4229
4230         * src/NetworkManagerPolicy.c
4231                 - (schedule_activate_check): yay, remove wireless_enabled hack since
4232                         the NMManager and wireless devices work that out themselves now
4233                 - (device_state_changed): change to a switch and update for new device
4234                         states
4235                 - (device_carrier_changed): remove; device handles this now through
4236                         state changes
4237                 - (device_added): don't care about carrier any more; the initial
4238                         activation check will happen when the device transitions to
4239                         DISCONNECTED
4240
4241         * src/nm-manager.c
4242                 - (dispose): clear unmanaged devices
4243                 - (handle_unmanaged_devices): update unmanaged device list and toggle
4244                         the managed property on each device when needed
4245                 - (system_settings_properties_changed_cb): handle signals from the
4246                         system settings service
4247                 - (system_settings_get_unmanaged_devices_cb): handle callback from
4248                         getting the unmanaged device list method call
4249                 - (query_unmanaged_devices): ask the system settings service for its
4250                         list of unmanaged devices
4251                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4252                         devices
4253                 - (manager_set_wireless_enabled): push rfkill state down to wireless
4254                         devices directly and let them handle the necessary state transitions
4255                 - (manager_device_state_changed): update for new device states
4256                 - (nm_manager_add_device): set initial rfkill state on wireless devices
4257                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4258                 - (nm_manager_activate_connection): return error if the device is
4259                         unmanaged
4260                 - (nm_manager_sleep): handle new device states correctly; don't change
4261                         the state of unavailable/unmanaged devices
4262
4263         * libnm-glib/nm-device-802-11-wireless.c
4264                 - (state_changed_cb): update for new device states
4265
4266 2008-04-07  Dan Williams  <dcbw@redhat.com>
4267
4268         * marshallers/nm-marshal.list
4269                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4270
4271 2008-04-07  Dan Williams  <dcbw@redhat.com>
4272
4273         * system-settings/src/main.c
4274                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4275                         plugins to the dbus settings object
4276                 - (load_stuff): start the dbus service after grabbing unmanaged devices
4277                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4278                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4279                 - (main): switch default logging to syslog with a 'debug' option to
4280                         output to console; start up the HAL manager
4281
4282 2008-04-07  Dan Williams  <dcbw@redhat.com>
4283
4284         * introspection/nm-settings-system.xml
4285           introspection/Makefile.am
4286                 - Define the unmanaged devices interface for the system settings service
4287
4288         * system-settings/src/nm-system-config-hal-manager.c
4289           system-settings/src/nm-system-config-hal-manager.h
4290           system-settings/src/nm-system-config-hal-manager-private.h
4291           system-settings/src/Makefile.am
4292                 - Add a lightweight HAL manager object for tracking network devices for
4293                         the purpose of determining unmanaged devices and which devices need
4294                         the default DHCP connections
4295
4296         * system-settings/src/nm-system-config-interface.c
4297           system-settings/src/nm-system-config-interface.h
4298                 - (nm_system_config_interface_init): add the HAL manager as an argument
4299                 - (nm_system_config_interface_get_unmanaged_devices): implement
4300                 - Define 'unmanaged-devices-changed' signal
4301
4302         * system-settings/src/dbus-settings.c
4303           system-settings/src/dbus-settings.h
4304                 - Implement the unmanaged devices interface; some cleanups
4305
4306         * system-settings/plugins/ifcfg-suse/plugin.c
4307                 - Fixup for plugin interface changes
4308
4309         * system-settings/plugins/ifcfg-fedora/plugin.c
4310                 - (get_ether_device_udi): new function; find the device that has
4311                         a specified MAC address and return its UDI
4312                 - (get_udi_for_connection): new function; try to find the specific
4313                         device a connection is locked to, if any
4314                 - (device_added_cb, device_removed_cb): update unmanaged device list in
4315                         response to HAL events
4316                 - (get_unmanaged_devices): new function; return unmanaged device list
4317                 - (build_one_connection): set the connection's locked device, if any
4318                 - (write_auto_wired_connection): remove
4319                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4320                 - (handle_connection_changed): alert listeners that the unmanaged device
4321                         list has changed
4322                 - (init): fixup for plugin interface changes, implement unmanaged devices
4323
4324         * system-settings/plugins/ifcfg-fedora/parser.c
4325           system-settings/plugins/ifcfg-fedora/parser.h
4326                 - (connection_data_free): clean up connection UDI
4327
4328 2008-04-07  Dan Williams  <dcbw@redhat.com>
4329
4330         * system-settings/plugins/ifcfg-fedora/parser.c
4331                 - (make_ip4_setting): fix parsing of DNS servers
4332
4333 2008-04-05  Dan Williams  <dcbw@redhat.com>
4334
4335         * Makefile.am
4336           configure.in
4337           marshallers/Makefile.am
4338           marshallers/nm-marshal-main.c
4339           marshallers/nm-marshal.list
4340                 - Consolidate marshallers
4341
4342         * libnm-glib/nm-marshal-main.c
4343           libnm-glib/nm-marshal.list
4344           src/marshallers/Makefile.am
4345           src/marshallers/nm-marshal-main.c
4346           src/marshallers/nm-marshal.list
4347                 - Remove
4348
4349         * libnm-glib/Makefile.am
4350           src/Makefile.am
4351           src/dhcp-manager/Makefile.am
4352           src/ppp-manager/Makefile.am
4353           src/supplicant-manager/Makefile.am
4354           src/vpn-manager/Makefile.am
4355                 - Use consolidated marshallers
4356
4357 2008-04-04  Dan Williams  <dcbw@redhat.com>
4358
4359         * src/nm-hal-manager.c
4360           src/nm-hal-manager.h
4361                 - (hal_init): don't look for hardware here
4362                 - (nm_hal_manager_start): new function; look for hardware here instead,
4363                         which can be done at a later time than hal_init()
4364
4365         * src/NetworkManager.c
4366                 - (main): start HAL manager after entering the main loop
4367
4368 2008-04-03  Dan Williams  <dcbw@redhat.com>
4369
4370         * libnm-glib/nm-settings.c
4371           libnm-glib/nm-settings.h
4372             - (nm_exported_connection_get_id): new function
4373                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4374
4375 2008-04-02  Dan Williams  <dcbw@redhat.com>
4376
4377         * src/nm-device-interface.c
4378           src/nm-device-interface.h
4379           src/nm-device.c
4380           src/nm-device.h
4381                 - Rename check_connection_conflicts() to check_connection_compatible()
4382
4383         * src/nm-device-802-11-wireless.c
4384                 - (real_check_connection_conflicts): remove
4385                 - (real_check_connection_compatible): implement; match MAC address
4386
4387         * src/nm-device-802-3-ethernet.c
4388                 - (real_check_connection_conflicts): remove
4389                 - (real_check_connection_compatible): implement; match MAC address
4390                 - (real_get_best_auto_connection): correctly handle PPPoE cases
4391
4392         * src/nm-manager.c
4393                 - (check_connection_allowed): remove; unused until PolicyKit integration
4394                 - (internal_activate_device): check whether the connection is compatible
4395                         with the device before trying to activate it
4396
4397 2008-04-02  Dan Williams  <dcbw@redhat.com>
4398
4399         * system-settings/plugins/ifcfg-fedora/parser.c
4400                 - (read_mac_address): new function; read in MAC address and stuff it
4401                         into the connection
4402                 - (add_one_wep_key): remove debug spew
4403                 - (make_wireless_security_setting): validate the default TX key; don't
4404                         add the wireless-security setting if the connection doesn't need
4405                         security; don't leak the keys shvarFile on error cases
4406                 - (make_wireless_setting, make_wired_setting): populate device's MAC
4407                         address
4408
4409 2008-04-02  Dan Williams  <dcbw@redhat.com>
4410
4411         * libnm-util/nm-setting-connection.c
4412           libnm-util/nm-setting-connection.h
4413                 - (set_property, get_property, nm_setting_connection_class_init): remove
4414                         the 'lockdown' property; it's functionality will be replaced by
4415                         PolicyKit instead
4416
4417 2008-04-01  Dan Williams  <dcbw@redhat.com>
4418
4419         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4420
4421         * configure.in
4422           initscript/Makefile.am
4423           initscript/Mandriva/Makefile.am
4424           initscript/Mandriva/networkmanager.in
4425           initscript/Mandriva/networkmanagerdispatcher.in
4426           src/backends/Makefile.am
4427           src/backends/NetworkManagerMandriva.c
4428           system-settings/plugins/Makefile.am
4429                 - Add Mandriva support
4430
4431 2008-03-31  Dan Williams  <dcbw@redhat.com>
4432
4433         * src/vpn-manager/nm-vpn-service.c
4434                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4435                         errors can be passed back to the caller; also no longer scheduled
4436                         as an idle handler, but called directly; and bump up VPN service
4437                         spawn timeout, 2s is really short
4438                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4439                         but call it directly so that errors are reported on return from
4440                         ActivateConnection() and don't get lost.  If scheduled as an idle
4441                         handler, clients don't have the time to query NM for the new VPN
4442                         connection's properties before the VPN connection is torn down again
4443                         if the service couldn't be launched, and therefore launch errors
4444                         get lost.
4445
4446 2008-03-31  Dan Williams  <dcbw@redhat.com>
4447
4448         * src/vpn-manager/nm-vpn-connection.c
4449                 - (device_state_changed): send correct state on device failure too
4450                 - (plugin_state_changed): failed state means unexpected disconnection,
4451                         thus if the service goes away while the VPN connection is activated
4452                         that's a failure too
4453
4454 2008-03-31  Dan Williams  <dcbw@redhat.com>
4455
4456         * src/vpn-manager/nm-vpn-manager.c
4457           src/vpn-manager/nm-vpn-manager.h
4458                 - Make VPNManager errors more available; add a service-start-failed error
4459
4460 2008-03-31  Dan Williams  <dcbw@redhat.com>
4461
4462         * libnm-glib/nm-client.c
4463           libnm-glib/nm-client.h
4464                 - (activate_cb): pass the new active connection to callback; fix
4465                         message when no callback is specified
4466
4467 2008-03-30  Dan Williams  <dcbw@redhat.com>
4468
4469         * libnm-util/nm-setting-wireless-security.c
4470                 - (need_secrets): only require key0 if the transmit key index is also
4471                         0
4472                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4473
4474 2008-03-29  Dan Williams  <dcbw@redhat.com>
4475
4476         * libnm-util/nm-setting-8021x.c
4477           libnm-util/nm-setting-ip4-config.c
4478           libnm-util/nm-setting-vpn-properties.c
4479           libnm-util/nm-setting-vpn.c
4480           libnm-util/nm-setting-wireless-security.c
4481           libnm-util/nm-setting-wireless.c
4482           libnm-util/nm-utils.c
4483           src/dhcp-manager/nm-dhcp-manager.c
4484           src/nm-activation-request.c
4485           src/nm-ip4-config.c
4486           src/nm-manager.c
4487           src/nm-properties-changed-signal.c
4488           src/ppp-manager/nm-pppd-plugin.c
4489           src/supplicant-manager/nm-supplicant-interface.c
4490           src/vpn-manager/nm-vpn-connection.c
4491                 - consistently use nm-dbus-glib-types.h
4492
4493 2008-03-29  Dan Williams  <dcbw@redhat.com>
4494
4495         * src/vpn-manager/nm-vpn-connection.c
4496                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4497                         not string
4498
4499         * src/nm-activation-request.c
4500                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4501                         not string
4502
4503 2008-03-29  Dan Williams  <dcbw@redhat.com>
4504
4505         * libnm-glib/nm-device-802-11-wireless.c
4506                 - (access_point_added_proxy): create new APs if not found
4507
4508 2008-03-29  Dan Williams  <dcbw@redhat.com>
4509
4510         * libnm-glib/nm-client.c
4511                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4512                         before freeing them
4513
4514 2008-03-29  Dan Williams  <dcbw@redhat.com>
4515
4516         * system-settings/plugins/ifcfg-fedora/parser.c
4517                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4518                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4519
4520 2008-03-29  Dan Williams  <dcbw@redhat.com>
4521
4522         * system-settings/plugins/ifcfg-fedora/parser.c
4523                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4524
4525 2008-03-27  Dan Williams  <dcbw@redhat.com>
4526
4527         * nm-object.c
4528                 - (nm_object_queue_notify): don't notify multiple times for the same
4529                         property
4530
4531         * nm-object-private.h
4532                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4533                         if it has zero elements
4534
4535         * nm-ip4-config.c
4536                 - (finalize): use g_ptr_array_foreach() when freeing domains
4537                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4538
4539         * nm-active-connection.c
4540                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4541
4542         * nm-device-802-11-wireless.c
4543           nm-device-802-11-wireless.h
4544                 - (nm_device_802_11_wireless_get_access_points): return const; use
4545                         handle_ptr_array_return()
4546
4547         * nm-types.c
4548                 - (nm_object_array_demarshal): always create an array, even of length
4549                         zero, to distinguish between "NM returned no items" and "haven't
4550                         asked NM yet"
4551
4552         * nm-client.c
4553                 - (dispose): free active connections too
4554                 - (proxy_name_owner_changed): free active connections too when NM goes
4555                         away
4556                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4557                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4558
4559 2008-03-26  Dan Williams  <dcbw@redhat.com>
4560
4561         Rework VPN connection handling for a more consistent D-Bus API.  The
4562         VPNManager object has been removed, and active VPN connections are now the
4563         same as any other active connection.  The Manager object's ActivateConnection
4564         and DeactivateConnection methods are used to start and stop a VPN connection,
4565         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4566         When activating a VPN connection, pass the path of the active connection
4567         to which the VPN connection is tied in the 'specific_object' argument.
4568
4569         Consequently, the libnm-glib API has been reworked to match this arrangement,
4570         with the VPNManager object removed, and the NMVPNConnection objects now
4571         being subclasses of NMActiveConnection.
4572
4573 2008-03-25  Dan Williams  <dcbw@redhat.com>
4574
4575         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4576
4577         * initscript/Arch/networkmanager.in
4578           initscript/Arch/networkmanager-dispatcher.in
4579                 - Updates for Arch Linux (gnome.org #523701)
4580
4581 2008-03-25  Dan Williams  <dcbw@redhat.com>
4582
4583         * libnm-glib/nm-ip4-config.c
4584           libnm-glib/nm-active-connection.c
4585           libnm-glib/nm-access-point.c
4586                 - Use nm_object_queue_notify() instead of g_object_notify()
4587
4588         * libnm-glib/nm-device.c
4589                 - (demarshal_ip4_config): distinguish between successful but missing
4590                         ip4-config request, and unsuccessful and missing ip4-config request
4591                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4592                         path
4593                 - Use nm_object_queue_notify() instead of g_object_notify()
4594
4595         * libnm-glib/nm-device-802-11-wireless.c
4596                 - (demarshal_active_ap): distinguish between successfull but missing
4597                         active-ap request, and unsuccessful and missing active-ap request
4598                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4599                         code
4600                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4601                         for the NMClient to notify the device that wireless is disabled,
4602                         and therefore to clear the AP list and active AP
4603                 - Use nm_object_queue_notify() instead of g_object_notify()
4604
4605         * libnm-glib/nm-client.c
4606                 - (poke_wireless_devices_with_rf_status): new function
4607                 - (update_wireless_status): notify wireless devices of the rfkill status
4608                         so they can clean up if needed
4609                 - Use nm_object_queue_notify() instead of g_object_notify()
4610
4611 2008-03-25  Dan Williams  <dcbw@redhat.com>
4612
4613         * libnm-glib/nm-object.c
4614           libnm-glib/nm-object-private.h
4615                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4616                         signals to an idle handler
4617                 - (nm_object_get_property): add a timeout to the D-Bus method call
4618
4619 2008-03-25  Dan Williams  <dcbw@redhat.com>
4620
4621         * introspection/nm-device-cdma.xml
4622           introspection/nm-device-gsm.xml
4623           introspection/Makefile.am
4624           introspection/all.xml
4625                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4626
4627         * src/nm-gsm-device.h
4628           src/nm-gsm-device.c
4629           src/nm-cdma-device.h
4630           src/nm-cdma-device.c
4631           src/Makefile.am
4632                 - Implement PropertiesChanged signals
4633
4634         * libnm-glib/nm-cdma-device.c
4635           libnm-glib/nm-cdma-device.c
4636                 - Attach to PropertiesChanged signals
4637
4638 2008-03-24  Dan Williams  <dcbw@redhat.com>
4639
4640         * libnm-glib/nm-client.c
4641                 - (client_device_added_proxy): add new devices to the internal device
4642                         list so they appear to clients
4643
4644 2008-03-24  Dan Williams  <dcbw@redhat.com>
4645
4646         Massive fixup of libnm-glib to:
4647         a) have all objects (with the exception of VPN) cache their properties and
4648                 update them asynchronously on PropertiesChanged signals from NM
4649         b) return internal const data for most attributes/properties instead of
4650                 allocated values that the caller must free
4651         c) cache wrapped objects such that a given D-Bus path will always map to the
4652                 same GObject returned by libnm-glib
4653         d) remove a few signals and move them to GObject property notifications
4654         e) match recent NM D-Bus API changes for activation/deactivation
4655         f) remove some private functions from libnm-glib headers
4656
4657 2008-03-20  Dan Williams  <dcbw@redhat.com>
4658
4659         * src/nm-manager.c
4660                 - (nm_manager_update_state, manager_device_state_changed,
4661                    nm_manager_activate_device, connection_added_default_handler,
4662                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4663                         queue PropertyChanged singals when the active connections change
4664
4665 2008-03-20  Dan Williams  <dcbw@redhat.com>
4666
4667         * introspection/nm-manager.xml
4668           introspection/nm-manager-client.xml
4669                 - (ActivateConnection): return the object path of the active connection
4670                         on success
4671                 - (GetActiveConnections): remove
4672                 - (DeactivateConnection): new function; deactivate a currently active
4673                         connection
4674                 - Add an ActiveConnections property which returns an array of
4675                         active connection object paths
4676
4677         * introspection/nm-device.xml
4678                 - (Deactivate): remove
4679
4680         * introspection/all.xml
4681                 - Add ActiveConnection introspection
4682
4683         * introspection/nm-active-connection.xml
4684                 - Add the ActiveConnection object
4685
4686         * include/NetworkManager.h
4687                 - Add the Connection.Active D-Bus interface
4688
4689         * src/nm-device-interface.c
4690                 - (impl_device_deactivate): remove
4691
4692         * src/nm-activation-request.c
4693           src/nm-activation-request.c
4694           src/Makefile.am
4695                 - Implement the Connection.Active D-Bus interface
4696
4697         * src/nm-manager.c
4698                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4699                 - (nm_manager_activate_device): return the active connection path
4700                 - (connection_added_default_handler, impl_manager_activate_connection):
4701                         return the active connection to the caller
4702                 - (add_one_connection_element, impl_manager_get_active_connections):
4703                         remove
4704                 - (impl_manager_deactivate_connection): new function; deactivate an
4705                         active connection
4706
4707         * libnm-glib/nm-device.c
4708           libnm-glib/nm-device.h
4709                 - Remove Deactivate() function
4710
4711 2008-03-19  Dan Williams  <dcbw@redhat.com>
4712
4713         * introspection/nm-manager.xml
4714           introspection/nm-manager-client.xml
4715                 - Rename the ActivateDevice method to ActivateConnection to better
4716                         reflect it's usage; it's arguments get reordered a bit too
4717                 - Convert GetActiveConnections method return from a struct to a dict
4718
4719         * include/NetworkManager.h
4720                 - Define the dict keys for return value of GetActiveConnections
4721
4722         * src/nm-manager.c
4723                 - impl_manager_activate_device -> impl_manager_activate_connection
4724                 - (add_one_connection_element): return a populated hash table, not
4725                         a structure
4726
4727         * libnm-glib/nm-client.c
4728           libnm-glib/nm-client.h
4729                 - nm_client_activate_device -> nm_client_activate_connection
4730                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4731                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4732                         instead of the custom structures.  Each element of the returned list
4733                         must be freed with nm_client_free_active_connections_element()
4734
4735 2008-03-18  Dan Williams  <dcbw@redhat.com>
4736
4737         * system-settings/plugins/ifcfg-fedora/parser.c
4738           system-settings/plugins/ifcfg-fedora/parser.h
4739           system-settings/plugins/ifcfg-fedora/plugin.c
4740                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4741                         profiles.  DNS servers and searches must now be stored in the ifcfg
4742                         files themselves
4743
4744 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4745
4746         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4747         print out username and password, it's supposed to be a secret.
4748
4749         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4750         request and set the device state accordingly.
4751
4752 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4753
4754         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4755
4756         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4757
4758 2008-03-18  Dan Williams  <dcbw@redhat.com>
4759
4760         * src/vpn-manager/nm-vpn-connection.c
4761                 - (get_secrets_cb): handle new GetSecrets return format
4762
4763 2008-03-18  Dan Williams  <dcbw@redhat.com>
4764
4765         Adapt system settings service for split 802.1x.
4766
4767         * system-settings/src/nm-system-config-interface.h
4768                 - clarify return value of get_secrets()
4769
4770         * system-settings/src/dbus-settings.c
4771                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4772                 - (check_for_secrets): check if there actually secrets returned by a
4773                         plugin
4774                 - (exported_connection_get_secrets): just return the plugin-returned
4775                         hash of settings' secrets if it looks valid
4776
4777         * system-settings/plugins/ifcfg-fedora/plugin.c
4778                 - (get_secrets): add split secrets with correct format to reply hash
4779
4780         * system-settings/plugins/ifcfg-fedora/parser.c
4781           system-settings/plugins/ifcfg-fedora/parser.h
4782                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4783                    connection_data_free, connection_data_add): keep secrets for
4784                         different settings in different hashes
4785
4786 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4787
4788         Clean up activating device deactivation.
4789
4790         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4791         should be done whether the device activation gets cancelled or the device
4792         is just getting deactivated.
4793         (nm_device_activation_cancel): Remove.
4794         (nm_device_deactivate_quickly): Handle the case where device is activating.
4795
4796         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4797         It does the exact same thing as real_deactivate_quickly().
4798
4799 2008-03-17  Dan Williams  <dcbw@redhat.com>
4800
4801         Split the 802.1x bits out of the wireless-security setting so they are
4802         generalized enough for wired 802.1x to use too.
4803
4804         * introspection/nm-exported-connection.xml
4805                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4806                         of just a hash of the secrets for one setting
4807
4808         * libnm-util/nm-setting-wireless-security.c
4809           libnm-util/nm-setting-wireless-security.h
4810                 - Remove 802.1x-specific stuff
4811                 - Added leap-username and leap-password properties for old-school LEAP
4812
4813         * src/nm-device.c
4814           src/nm-device.h
4815                 - (connection_secrets_updated_cb): take a list of updated settings names,
4816                         not just one
4817
4818         * src/supplicant-manager/nm-supplicant-config.c
4819           src/supplicant-manager/nm-supplicant-config.h
4820                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4821                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4822                         to nm_supplicant_config_add_setting_8021x()
4823                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4824                         the supplicant config
4825
4826         * src/nm-device-802-11-wireless.c
4827                 - (build_supplicant_config): pass in the 802.1x setting too, if any
4828                 - (real_connection_secrets_updated): take a list of updated settings
4829                         names, not just one
4830
4831         * src/nm-device-802-3-ethernet.c
4832           src/nm-cdma-device.c
4833           src/nm-gsm-device.c
4834                 - (real_connection_secrets_updated_cb): take a list of updated settings
4835                         names, not just one
4836
4837         * src/nm-activation-request.c
4838           src/nm-activation-request.h
4839                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4840                         now passes a list of updated settings names, not just one
4841                 - (update_one_setting): new function; handle one updated setting
4842                 - (get_secrets_cb): handle multiple settings returned from the
4843                         settings service; have to be careful of ordering here as there are
4844                         some dependencies between settings (ex. wireless-security and 802.1x
4845                         in some cases)
4846
4847         * src/marshallers/nm-marshal.list
4848                 - new marshaller for connection-secrets-updated signal
4849
4850         * libnm-util/nm-setting-8021x.c
4851                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4852                         methods
4853                 - (verify): a valid 'eap' property is now required
4854
4855         * libnm-util/nm-connection.c
4856                 - (register_default_settings): add priorities to settings; there are
4857                         some dependencies between settings, and during the need_secrets
4858                         calls this priority needs to be respected.  For example, only the
4859                         wireless-security setting knows whether or not the connection is
4860                         going to use 802.1x or now, so it must be asked for secrets before
4861                         any existing 802.1x setting is
4862                 - (nm_connection_lookup_setting_type): expose
4863
4864         * libnm-util/nm-setting-wireless.c
4865                 - (verify): should verify even if all_settings is NULL; otherwise won't
4866                         catch the case where there is missing security
4867
4868         * libnm-util/nm-setting-wireless-security.c
4869                 - Remove everything to do with 802.1x
4870                 - Add old-school LEAP specific properties for username and password
4871                 - (need_secrets): rework LEAP secrets checking
4872                 - (verify): rework for LEAP and 802.1x verification
4873
4874 2008-03-17  Dan Williams  <dcbw@redhat.com>
4875
4876         * src/NetworkManagerPolicy.c
4877                 - (auto_activate_device): always remove the current activation check
4878                         from the pending activation list, otherwise when the policy gets
4879                         destroyed on NM exit it will attempt to free the already freed
4880                         activation check
4881
4882 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4883
4884         * src/backends/NetworkManagerSlackware.c 
4885         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4886
4887         * src/backends/NetworkManagerSuSE.c: Add missing includes.
4888
4889 2008-03-14  Dan Williams  <dcbw@redhat.com>
4890
4891         * src/nm-manager.c
4892                 - (nm_device_interface_get_iface): g_object_get() will return an
4893                         allocated value, so this function must not return const
4894                 - (nm_device_interface_activate): free returned iface
4895
4896 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4897
4898         * libnm-util/Makefile.am: Add new files to build.
4899
4900         * libnm-util/nm-connection.c: Register NMSetting8021x.
4901
4902         * libnm-util/nm-setting-8021x.c
4903         * libnm-util/nm-setting-8021x.h: Implement.
4904
4905 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4906
4907         * libnm-util/Makefile.am: Add new files to build.
4908
4909         * libnm-util/nm-connection.c: Register NMSetting8021x.
4910
4911         * libnm-util/nm-setting-8021x.c
4912         * libnm-util/nm-setting-8021x.h: Implement.
4913
4914 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4915
4916         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4917         data.
4918
4919 2008-03-14  Dan Williams  <dcbw@redhat.com>
4920
4921         * include/wireless-helper.h
4922           include/Makefile.am
4923                 - One place for all the junk needed for #including wireless.h
4924
4925         * test/nm-tool.c
4926           src/NetworkManagerAP.c
4927           src/wpa.c
4928           src/Makefile.am
4929           libnm-util/nm-utils.c
4930           libnm-util/nm-setting-wireless.c
4931           libnm-glib/nm-device-802-11-wireless.c
4932           libnm-glib/nm-access-point.c
4933           libnm-glib/libnm-glib-test.c
4934                 - include wireless-helper.h, not iwlib.h
4935
4936         * configure.in
4937                 - Don't need libiw really, just need to check for wireless.h
4938
4939         * src/kernel-types.h
4940                 - Remove; used types moved into wpa.c
4941
4942         * src/nm-device-802-11-wireless.c
4943                 - (nm_device_802_11_wireless_update_signal_strength,
4944                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4945                    nm_device_802_11_wireless_set_mode,
4946                    nm_device_802_11_wireless_get_frequency,
4947                    nm_device_802_11_wireless_get_ssid,
4948                    nm_device_802_11_wireless_set_ssid,
4949                    nm_device_802_11_wireless_get_bitrate,
4950                    nm_device_802_11_wireless_get_bssid,
4951                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4952                         instead of iwlib functions
4953
4954 2008-03-14  Dan Williams  <dcbw@redhat.com>
4955
4956         * src/ppp-manager/nm-ppp-manager.c
4957                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4958                         should only take the DBusGMethodInvocation argument, not user/pass
4959                         too.  With dbus-glib, async functions only take 2 C arguments since
4960                         the real dbus method arguments get passed back with
4961                         dbus_g_method_return()
4962
4963 2008-03-13  Tambet Ingo  <tambet@gmail.com>
4964
4965         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
4966         Adapt the changes of NMSettingIP4Config.
4967
4968 2008-03-13  Dan Williams  <dcbw@redhat.com>
4969
4970         * src/NetworkManagerUtils.c
4971           src/NetworkManagerUtils.h
4972                 - (nm_ether_ntop): replacement for iw_ether_ntop()
4973
4974         * src/NetworkManagerAP.c
4975           src/nm-device-802-11-wireless.c
4976           src/nm-device-802-3-ethernet.c
4977                 - s/iw_ether_ntop/nm_ether_ntop/g
4978
4979 2008-03-13  Dan Williams  <dcbw@redhat.com>
4980
4981         * src/NetworkManagerPolicy.c
4982                 - (update_routing_and_dns): never set the default route through an
4983                         IPv4LL addressed device
4984
4985 2008-03-13  Dan Williams  <dcbw@redhat.com>
4986
4987         * NetworkManagerUtils.c
4988           NetworkManagerUtils.h
4989                 - Remove NMSock stuff
4990                 - Remove the completion stuff
4991
4992         * nm-device.c
4993           nm-device.h
4994           NetworkManager.c
4995           NetworkManagerSystem.c
4996           autoip.c
4997           nm-device-802-11-wireless.c
4998           nm-device-802-3-ethernet.c
4999                 - Remove NMSock and completion stuff
5000                 - Remove nm_ioctl_info()
5001
5002 2008-03-12  Dan Williams  <dcbw@redhat.com>
5003
5004         * src/nm-device.c
5005                 - (merge_ip4_config): avoid duplicates
5006
5007 2008-03-12  Dan Williams  <dcbw@redhat.com>
5008
5009         * libnm-util/nm-setting-ip4-config.c
5010           libnm-util/nm-setting-ip4-config.h
5011                 - Remove 'manual' and 'autoip' properties
5012                 - Add 'method' property
5013                 - (verify): fix verification with 'method'
5014                 - (finalize): free 'method'
5015                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
5016                         up for 'method'
5017
5018         * src/nm-device.c
5019                 - (real_act_stage3_ip_config_start): check IP4Config method
5020                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
5021                         the future
5022                 - (merge_ip4_config): IP settings are valid with DHCP too
5023                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
5024                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
5025
5026         * src/nm-device-802-11-wireless.c
5027                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
5028                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5029                         only on demand
5030
5031         * system-settings/plugins/ifcfg-fedora/parser.c
5032           system-settings/plugins/ifcfg-suse/parser.c
5033                 - (make_ip4_setting): fix up for 'method'
5034
5035 2008-03-12  Dan Williams  <dcbw@redhat.com>
5036
5037         * system-settings/plugins/ifcfg-fedora/parser.c
5038           system-settings/plugins/ifcfg-fedora/parser.h
5039                 - (get_ifcfg_name): ignore more file suffixes
5040                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5041
5042 2008-03-12  Dan Williams  <dcbw@redhat.com>
5043
5044         * configure.in
5045                 - Bring in the bits of gnome-common we actually use (all 15 lines)
5046
5047 2008-03-12  Dan Williams  <dcbw@redhat.com>
5048
5049         * system-settings/plugins/ifcfg-fedora/plugin.c
5050                 - (write_auto_wired_connection): new function; write out an auto
5051                         wired connection file since the applet isn't doing it any more
5052                 - (reload_all_connections): write out the auto wired connection file
5053                         if there aren't any wired connections already
5054                 - (init): don't leak a GError
5055
5056 2008-03-12  Dan Williams  <dcbw@redhat.com>
5057
5058         * src/nm-device-interface.c
5059                 - (nm_device_interface_activate): print the ID of the connection
5060                         that's about to be activated
5061
5062 2008-03-12  Dan Williams  <dcbw@redhat.com>
5063
5064         Harmonize the 802.11 bitrate API
5065
5066         * introspection/nm-access-point.xml
5067                 - 'Rate' -> 'MaxBitrate'; clarify units
5068
5069         * introspection/nm-device-802-11-wireless.xml
5070                 - Clarify units of 'Bitrate'
5071
5072         * src/NetworkManagerAP.c
5073           src/NetworkManagerAP.h
5074                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5075                         property to 'max-bitrate'
5076                 - (foreach_property_cb): convert rate to Kb/s
5077
5078         * src/nm-device-802-11-wireless.c
5079                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5080
5081         * libnm-glib/nm-access-point.c
5082           libnm-glib/nm-access-point.h
5083                 - 'rate' -> 'max-bitrate'
5084
5085         * test/nm-tool.c
5086           libnm-glib/libnm-glib-test.c
5087                 - Fix up for these changes
5088
5089 2008-03-12  Dan Williams  <dcbw@redhat.com>
5090
5091         * src/nm-device.c
5092                 - (nm_device_set_ip4_config): don't send property notifications when
5093                         the ip4 config is set to NULL; it causes a PropertyChanged signal
5094                         which dbus-glib can't parse because the value is NULL, which isn't
5095                         a legal object path.  Setting the IP4 config to NULL is only
5096                         valid when deactivating a device anyway, so the device state change
5097                         will alert listeners that the ip4 config is invalid.
5098
5099 2008-03-12  Dan Williams  <dcbw@redhat.com>
5100
5101         * src/nm-properties-changed-signal.c
5102                 - (add_to_string): better handling of NULL objects
5103
5104 2008-03-12  Dan Williams  <dcbw@redhat.com>
5105
5106         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5107         convert the libnm-glib NMDevice8023Ethernet to cached properties
5108
5109         * introspection/nm-device-802-3-ethernet.xml
5110                 - New 'Carrier' property
5111                 - New 'PropertiesChanged' signal
5112
5113         * introspection/nm-device.xml
5114                 - Remove 'Carrier' property
5115                 - Remove 'CarrierChanged' signal
5116
5117         * src/nm-device-interface.c
5118           src/nm-device-interface.h
5119                 - (nm_device_interface_init): remove 'carrier' property and
5120                         'carrier-changed' signal
5121
5122         * src/nm-device.c
5123           src/nm-device.h
5124                 - (nm_device_get_carrier, nm_device_set_carrier): remove
5125                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5126                         the link here; wired device will handle that
5127                 - (handle_dhcp_lease_change): don't bother updating link here
5128                 - (get_property, nm_device_class_init): remove carrier property
5129
5130         * src/nm-device-802-11-wireless.c
5131                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5132                         real_update_link(); wireless devices don't use carrier at all
5133                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5134                    supplicant_iface_connection_state_cb_handler,
5135                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
5136
5137         * src/nm-device-802-3-ethernet.c
5138           src/nm-device-802-3-ethernet.h
5139                 - (nm_device_802_3_ethernet_carrier_on,
5140                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5141                         instead of nm_device_set_carrier()
5142                 - (device_state_changed): update link from sysfs on activation;
5143                         replaces real_update_link()
5144                 - (real_update_link): remove, replaced by device_state_changed()
5145                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5146                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5147                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5148                         new get_carrier function
5149                 - (get_property): add 'carrier' property
5150                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5151                         hook into property-changed signal helper
5152
5153         * src/NetworkManagerPolicy.c
5154                 - (device_carrier_changed): will only ever be called with a wired device
5155                 - (device_added): only hook up to carrier-changed for wired devices
5156
5157         * libnm-glib/nm-device.c
5158           libnm-glib/nm-device.h
5159                 - (constructor, nm_device_class_init): remove carrier-changed signal
5160                 - (device_carrier_changed_proxy): remove; unused
5161                 - (nm_device_get_carrier): remove; carrier a property of wired devices
5162
5163         * libnm-glib/nm-device-802-3-ethernet.c
5164           libnm-glib/nm-device-802-3-ethernet.h
5165                 - Convert to cached properties like AP and Wireless objects
5166                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5167                         instead of a 'char *', return value should not be freed
5168                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5169                 - (constructor): hook into properties-changed helper
5170                 - (set_property, get_property): new functions
5171                 - (nm_device_802_3_ethernet_class_init): export GObject properties
5172
5173         * test/nm-tool.c
5174                 - (detail_device): strdup the wired hardware address too since it's
5175                         cached now
5176
5177         * libnm-glib/libnm-glib-test.c
5178                 - (dump_wired): strdup the wired hardware address too since it's
5179                         cached now
5180
5181 2008-03-12  Dan Williams  <dcbw@redhat.com>
5182
5183         * libnm-util/nm-setting-ip4-config.c
5184           libnm-util/nm-setting-ip4-config.h
5185                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5186                         the 'autoip' property from the spec
5187
5188 2008-03-11  Dan Williams  <dcbw@redhat.com>
5189
5190         * src/backends/NetworkManagerGeneric.c
5191           src/backends/NetworkManagerGeneric.h
5192                 - (nm_generic_device_get_use_dhcp): remove
5193
5194 2008-03-11  Dan Williams  <dcbw@redhat.com>
5195
5196         * src/nm-device.c
5197                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5198                         already in nm_device_set_ip4_config()
5199                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5200                         due to a DHCP rebind fails
5201                 - (nm_device_set_ip4_config): send property notifications when the
5202                         ip4 config changes
5203                 - (get_property): only report IP4Config property during valid states
5204
5205         * src/NetworkManagerPolicy.c
5206                 - (update_routing_and_dns): ignore devices that don't have an ip4
5207                         config; add parameter 'force_update' to allow callers to specify
5208                         that changes should be made even if the default device doesn't change
5209                 - (device_ip4_config_changed): update DNS and routing when the device's
5210                         IP4Config changes, like for DHCP updates
5211                 - (device_added): listen for ip4-config property changes
5212
5213 2008-03-11  Dan Williams  <dcbw@redhat.com>
5214
5215         Fix address handling as a result of DHCP rebind/renew/reboot.
5216
5217         * src/NetworkManagerSystem.c
5218                 - (check_one_address): delete an address if it doesn't match a given
5219                         one for the same interface
5220                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5221                         be smarter about flushing addresses (only flush ones that don't
5222                         match the one we're about to apply)
5223
5224         * src/backends/NetworkManagerDebian.c
5225           src/backends/NetworkManagerSuSE.c
5226           src/backends/NetworkManagerArch.c
5227           src/backends/NetworkManagerSlackware.c
5228           src/backends/NetworkManagerRedHat.c
5229           src/backends/NetworkManagerPaldo.c
5230           src/backends/NetworkManagerFrugalware.c
5231           src/backends/NetworkManagerGentoo.c
5232                 - (nm_system_delete_default_route): remove
5233
5234         * src/backends/NetworkManagerGeneric.c
5235           src/backends/NetworkManagerGeneric.h
5236                 - (nm_generic_enable_loopback): fix the loopback device label
5237                 - (nm_generic_delete_default_route): remove; no longer used
5238
5239 2008-03-11  Dan Williams  <dcbw@redhat.com>
5240
5241         * src/nm-device-interface.h
5242                 - Delimit property name words with '-', otherwise g_object_notify()
5243                         doesn't work the way we expect
5244
5245 2008-03-11  Tambet Ingo  <tambet@gmail.com>
5246
5247         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5248
5249 2008-03-11  Dan Williams  <dcbw@redhat.com>
5250
5251         * src/NetworkManagerPolicy.c
5252                 - (update_routing_and_dns): don't change anything if the default device
5253                         hasn't changed; print something out when switching the default route
5254                         and DNS
5255
5256 2008-03-10  Tambet Ingo  <tambet@gmail.com>
5257
5258         Implement PPPoE.
5259
5260         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5261         setting. Use "nic-$eth".
5262
5263         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5264         the device is activating here to fix a race condition.
5265
5266         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5267
5268         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5269         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5270         (nm_ppp_manager_start): Take activation request instead of connection, we might
5271         need it for asking secrets.
5272         (nm_ppp_manager_update_secrets): Implement.
5273
5274         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5275         ppp manager start. It might be needed for asking secrets.
5276
5277         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5278         (ppp_state_changed): Handle pppd daemon disappearing.
5279         (pppoe_stage2_config): Send activation request to ppp manager start.
5280
5281         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5282
5283         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5284         username and password.
5285         
5286 2008-03-10  Dan Williams  <dcbw@redhat.com>
5287
5288         * src/nm-device.c
5289                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5290                         response to a DHCP lease change
5291                 - (dhcp_state_changed): handle DHCP lease changes while activated
5292                 - (nm_device_set_ip4_config): remove a previously set named config
5293                         when setting an ip4 config
5294
5295 2008-03-10  Dan Williams  <dcbw@redhat.com>
5296
5297         * src/nm-serial-device.c
5298                 - (nm_serial_device_send_command): report errno on error
5299                 - (get_reply_got_data): limit the size of the overall buffer
5300                 - (wait_for_reply_info_destroy): destroy result string
5301                 - (wait_for_reply_got_data): append received data to an overall buffer
5302                         until timeout, filled buffer, or error instead of keeping a per-call
5303                         buffer.  Some devices send data slowly enough that this function
5304                         gets called multiple times for the same command stream.
5305                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5306                         wait_for_reply_got_data() here
5307
5308 2008-03-10  Dan Williams  <dcbw@redhat.com>
5309
5310         * src/nm-cdma-device.c
5311                 - (do_dial, init_modem): handle errors from
5312                         nm_serial_device_send_command_string()
5313
5314         * src/nm-gsm-device.c
5315                 - (do_dial, manual_registration, automatic_registration_get_network,
5316                    automatic_registration, enter_pin, check_pin, init_modem): handle
5317                         errors from nm_serial_device_send_command_string()
5318
5319 2008-03-10  Dan Williams  <dcbw@redhat.com>
5320
5321         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5322
5323         * src/named-manager/nm-named-manager.c
5324                 - (compute_searches): prefer searches before domains
5325                 - (compute_domain): new function
5326                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5327                 - (merge_one_ip4_config): if there are no searches in the source config,
5328                         merge domains of the source config into the target config
5329                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5330
5331 2008-03-10  Dan Williams  <dcbw@redhat.com>
5332
5333         * src/nm-serial-device.c
5334                 - (get_reply_got_data): clean up indentation, shrink serial buffer
5335                 - (wait_for_reply_got_data): try to handle slower serial devices where
5336                         the reply is broken up into multiple reads by concatenating replies
5337                         together until either an error is received or the search string is
5338                         found
5339
5340 2008-03-10  Dan Williams  <dcbw@redhat.com>
5341
5342         * src/nm-device.c
5343                 - (nm_device_bring_down): deactivate the device if it's activating too,
5344                         not just if it's already activated.  This makes sure that everything
5345                         from an association attempt is cleaned up (like DHCP for example)
5346
5347 2008-03-10  Dan Williams  <dcbw@redhat.com>
5348
5349         * src/nm-serial-device.c
5350                 - (config_fd): report error from TCSETA
5351                 - (nm_serial_device_open): fail when config_fd() fails
5352
5353 2008-03-10  Dan Williams  <dcbw@redhat.com>
5354
5355         * src/nm-ip4-config.c
5356                 - (nm_ip4_config_init): allocate searches list
5357                 - (finalize): free searches list
5358
5359 2008-03-09  Dan Williams  <dcbw@redhat.com>
5360
5361         Patch from Bas Zoetekouw <bas@debian.org>
5362
5363         * src/dhcp-manager/nm-dhcp-manager.c
5364                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5365
5366 2008-03-09  Dan Williams  <dcbw@redhat.com>
5367
5368         Patch from Bas Zoetekouw <bas@debian.org>
5369
5370         * src/nm-ip4-config.c
5371           src/nm-ip4-config.h
5372                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5373                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
5374                         domains.  'searches' is the correct way to store multiple search
5375                         domains, whereas 'domains' is really just supposed to store one
5376                         domain.  Some sites abuse the DHCP 'domain-name' option to push
5377                         search domains to the client.
5378                 - (nm_ip4_config_add_domain): group with related functions (my patch)
5379
5380 2008-03-09  Dan Williams  <dcbw@redhat.com>
5381
5382         * src/dhcp-manager/nm-dhcp-manager.c
5383                 - (dhclient_run): send interface-specific config files to dhclient
5384
5385 2008-03-07  Dan Williams  <dcbw@redhat.com>
5386
5387         * system-settings/plugins/ifcfg-fedora/parser.c
5388                 - (is_wireless_device): new function; test a device for wireless
5389                         extensions
5390                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5391                         test the device for wireless extensions to determine the type
5392
5393 2008-03-07  Dan Williams  <dcbw@redhat.com>
5394
5395         Change manager's StateChange signal to StateChanged for consistency.
5396
5397         * introspection/nm-manager.xml
5398                 - Add 'StateChanged' signal
5399                 - Move 'StateChange' down to the deprecated section
5400
5401         * src/nm-hal-manager.c
5402                 - (nm_hal_manager_new): connect to 'state-changed' instead
5403
5404         * src/NetworkManagerPolicy.c
5405                 - (nm_policy_new): connect to 'state-changed' instead
5406
5407         * src/nm-manager.c
5408           src/nm-manager.h
5409                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5410                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5411                         of 'state-change'
5412
5413         * libnm-glib/nm-client.c
5414           libnm-glib/nm-client.h
5415                 - (constructor, nm_client_class_init, client_state_changed_proxy):
5416                         track and proxy 'state-changed' instead of 'state-change'
5417
5418 2008-03-07  Dan Williams  <dcbw@redhat.com>
5419
5420         First pass of multiple active device support.  Expect bugs.
5421
5422         * src/nm-ip4-config.c
5423           src/nm-ip4-config.h
5424                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5425                         there are better ways to do this in the named manager
5426
5427         * src/nm-device.c
5428           src/nm-device.h
5429                 - (nm_device_can_activate): return whether the device can activate a
5430                         connection right now; taking into account things like carrier state
5431                         and rfkill state
5432                 - (nm_device_get_best_auto_connection): renamed from
5433                         nm_device_get_best_connection
5434                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5435                         device subclasses themselves, so that each device can override the
5436                         MTU from it's NMSetting subclass if needed
5437                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5438                         in NetworkManagerSystem.c, not here
5439
5440         * src/named-manager/nm-named-manager.c
5441           src/named-manager/nm-named-manager.h
5442                 - (nm_named_manager_name_owner_changed,
5443                    nm_named_manager_dbus_connection_changed): fix for changes to
5444                         rewrite_resolv_conf()
5445                 - (compute_nameservers): don't need the NMNamedManager at all, remove
5446                         from parameter list
5447                 - (merge_one_ip4_config): new function; merge ip4 configs together
5448                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5449                         ip4 configs; the VPN config takes precedence, then the best
5450                         device config, then the rest of the configs
5451                 - (get_domain_for_config): take the NMNamedManager as an argument
5452                         to check whether the config is the VPN config
5453                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5454                         attribute from ip4 configs
5455                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5456                 - (remove_ip4_config_from_named): fix for changes to
5457                         get_domain_for_config()
5458                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5459                         based on its type; callers must pass in the type now
5460                 - (get_last_default_domain): remove, unused
5461                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5462
5463         * src/nm-device-802-11-wireless.c
5464                 - (real_can_activate): new function
5465                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5466                 - (real_act_stage4_get_ip4_config): handle MTU override
5467
5468         * src/nm-device-802-3-ethernet.c
5469                 - (real_can_activate): new function
5470                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5471                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5472
5473         * src/vpn-manager/nm-vpn-connection.c
5474                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5475                         attribute on the ip4 config
5476
5477         * src/NetworkManagerPolicy.c
5478                 - (nm_policy_auto_get_best_device): remove
5479                 - (nm_policy_device_change_check): remove
5480                 - (update_default_route): new function; set the default route via
5481                         the specified device
5482                 - (get_device_priority): new function; return the priority number of
5483                         a device type WRT which one should have the default route.  Order is
5484                         (highest to lowest)  wired, wireless, GSM, CDMA.
5485                 - (update_routing_and_dns): new function; determine which device should
5486                         have the default route, then update the routing table and DNS
5487                 - (maybe_auto_activate_device): new function; if a device is now
5488                         available for activation, find out what connection it would like to
5489                         activate and do it
5490                 - (schedule_activate_check): new function; if a device can be activated
5491                         now, schedule the activation.  Each device may have only one
5492                         pending activation at a given time.
5493                 - (device_state_changed): if activation was canceled, try again,
5494                         possibly with another connection; if the device was activated,
5495                         update routing and DNS; if the device was deactivated, try again
5496                         with another connection
5497                 - (device_carrier_changed): if there is no carrier, deactivate the
5498                         device; otherwise schedule an activation check for the device
5499                 - (wireless_networks_changed): schedule an activation check for the
5500                         device
5501                 - (device_added): keep track of the signal handler IDs so they can
5502                         be removed when the device goes away
5503                 - (device_removed): remove any signal handlers that might be attached
5504                         to the device; update routing and DNS
5505                 - (schedule_activate_all): new function
5506                 - (connections_added, connection_added, connection_updated): when
5507                         connections change, schedule all devices for an activation check
5508                 - (connection_removed): when a device is deactivated because its
5509                         connection was removed, schedule another activation check for it
5510                 - (nm_policy_destroy): destroy pending activations and disconnect
5511                         all device signal handlers
5512
5513         * src/nm-manager.c
5514                 - (nm_manager_activate_device): if the device was already actived,
5515                         deactivate it
5516                 - (deactivate_old_device): remove
5517                 - (connection_added_default_handler, impl_manager_activate_device):
5518                         don't deactivate other devices when activating this one
5519
5520         * src/backends/NetworkManagerGentoo.c
5521           src/backends/NetworkManagerFrugalware.c
5522           src/backends/NetworkManagerPaldo.c
5523           src/backends/NetworkManagerRedHat.c
5524           src/backends/NetworkManagerSlackware.c
5525           src/backends/NetworkManagerArch.c
5526           src/backends/NetworkManagerSuSE.c
5527           src/backends/NetworkManagerDebian.c
5528                 - (nm_system_get_mtu): remove; MTU should be provided through the
5529                         distro's system settings service plugin instead
5530                 - (nm_system_device_add_default_route_via_device): remove
5531                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5532                 - (nm_system_device_replace_default_route): new function; call
5533                         generic implementation
5534
5535         * src/backends/NetworkManagerGeneric.c
5536           src/backends/NetworkManagerGeneric.h
5537                 - (nm_generic_device_add_default_route_via_device,
5538                    nm_generic_device_add_default_route_via_device_with_iface): remove
5539                 - (nm_generic_device_replace_default_route): replace the default route
5540                         with the given route via some gateway
5541
5542         * src/NetworkManagerSystem.c
5543           src/NetworkManagerSystem.h
5544                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5545                         to routing and DNS; but set the MTU here
5546                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5547                         ip_iface of the active device; use the standard MTU setting function
5548                 - (nm_system_set_mtu): remove
5549                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5550
5551 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5552
5553         Rework the interaction between ppp manager and pppd plugin. Register a well
5554         known DBUS service in manager and let the plugin call it's methods instead
5555         of listening plugin's signals.
5556
5557         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5558         of emitting signals.
5559
5560         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5561
5562         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5563
5564         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5565         nm_ppp_manager_start().
5566
5567         * introspection/nm-ppp-manager.xml: New file.
5568
5569         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5570         the case correctly where driver is trying to send -1 for the speed, which gets
5571         casted to u16 and thus is always > 0.
5572
5573 2008-03-07  Dan Williams  <dcbw@redhat.com>
5574
5575         * src/nm-hal-manager.c
5576                 - (nm_get_device_driver_name): use net.originating_device first, fall
5577                         back to physical device.  HAL has deprecated physical_device.
5578
5579         * libnm-glib/nm-device.c
5580                 - (get_product_and_vendor): use net.originating_device first, fall
5581                         back to physical device.  HAL has deprecated physical_device.
5582                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5583
5584 2008-03-07  Dan Williams  <dcbw@redhat.com>
5585
5586         * src/nm-netlink.c
5587                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5588                         last commit; fix that
5589                 - (get_link_cache): print error string
5590
5591 2008-03-07  Dan Williams  <dcbw@redhat.com>
5592
5593         * src/nm-netlink.c
5594                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5595                         don't need this hack any more (Benoit Boissinot)
5596
5597 2008-03-06  Dan Williams  <dcbw@redhat.com>
5598
5599         * autogen.sh
5600                 - Die gnome-common, die
5601
5602 2008-03-04  Dan Williams  <dcbw@redhat.com>
5603
5604         Patch from Michael Biebl <biebl@debian.org>
5605
5606         * NetworkManager.pc.in
5607                 - doesn't actually depend on dbus-1
5608
5609         * libnm-util/nm-utils.h
5610                 - remove unused #include <dbus/dbus.h>
5611
5612         * libnm-glib/libnm_glib.pc.in
5613                 - depends on glib and dbus-glib
5614
5615 2008-03-02  Dan Williams  <dcbw@redhat.com>
5616
5617         * src/NetworkManagerPolicy.c
5618                 - s/device_state_changed_idle_id/update_state_id/
5619
5620 2008-03-02  Dan Williams  <dcbw@redhat.com>
5621
5622         * src/nm-device.c
5623           src/nm-device.h
5624           src/nm-device-802-11-wireless.c
5625           src/nm-device-802-3-ethernet.c
5626           src/NetworkManagerPolicy.c
5627                 - s/link_active/carrier
5628                 - nm_device_set_active_link() -> nm_device_set_carrier()
5629                 - nm_device_has_active_link() -> nm_device_get_carrier()
5630
5631 2008-03-02  Dan Williams  <dcbw@redhat.com>
5632
5633         * system-settings/plugins/ifcfg-fedora/parser.c
5634                 - (make_wireless_setting): fail connection creation on missing SSID
5635
5636 2008-02-29  Dan Williams  <dcbw@redhat.com>
5637
5638         * src/NetworkManagerPolicy.c
5639                 - (nm_policy_device_change_check): ensure that a previously active
5640                         device with a system connection has a link before denying a switch
5641                         to a user connection
5642
5643 2008-02-29  Dan Williams  <dcbw@redhat.com>
5644
5645         * src/nm-device-802-11-wireless.c
5646                 - (link_timeout_cb): try again if scanning; deactivate the device when
5647                         activated if the link dies
5648                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5649                         15 seconds
5650
5651 2008-02-29  Dan Williams  <dcbw@redhat.com>
5652
5653         * src/nm-device-802-11-wireless.c
5654           src/nm-device-802-11-wireless.h
5655                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5656                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5657                 - (device_cleanup): reset the scan interval lower when the device
5658                         deactivates
5659                 - (can_scan): base decision mostly off device state, not supplicant
5660                         interface state since the supplicant interface state isn't a
5661                         great indicator of whether the device is active or not
5662                 - (request_wireless_scan): clean up; schedule the next scan here
5663                 - (schedule_scan): only back the scan interval off if a new scan
5664                         actually gets scheduled; and make scan intervals tighter when the
5665                         device is disconnected
5666                 - (supplicant_iface_state_cb_handler): fold in the bits of
5667                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5668                         interval to minimum
5669                 - (activation_success_handler): reset scan interval to something
5670                         reasonable 
5671
5672 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5673
5674         reviewed by: Steev <steev@steev.net>
5675
5676         * configure.in:
5677         * src/backends/NetworkManagerGentoo.c:
5678         (nm_system_restart_mdns_responder):
5679                 Howl is no longer a supported mDNS provider
5680
5681 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5682
5683         Get rid of a bunch of unused distro specific functions.
5684
5685 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5686
5687         Implement suse plugin for system settings daemon.
5688
5689         * system-settings/plugins/ifcfg-suse/*: Implement.
5690
5691         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5692         suse.
5693
5694         * configure.in: Check (without failing) for gio.
5695         Create ifcfg-suse plugin's Makefile.
5696
5697 2008-02-20  Dan Williams  <dcbw@redhat.com>
5698
5699         * libnm-util/nm-connection.c
5700           libnm-util/nm-connection.h
5701                 - (nm_connection_compare): accept compare flags and pass them to the
5702                         setting compare function
5703
5704         * libnm-util/nm-setting.c
5705           libnm-util/nm-setting.h
5706                 - (nm_setting_compare): accept compare flags; ignore properties that are
5707                         marked fuzzy
5708
5709         * libnm-util/nm-setting-connection.c
5710           libnm-util/nm-setting-wireless.c
5711           libnm-util/nm-setting-ppp.c
5712           libnm-util/nm-setting-wired.c
5713                 - Mark some setting properties as ignorable when doing a fuzzy compare
5714
5715         * src/nm-device.c
5716                 - (device_activation_precheck): use exact compare
5717
5718 2008-02-20  Dan Williams  <dcbw@redhat.com>
5719
5720         * src/NetworkManagerPolicy.c
5721                 - (nm_policy_device_change_check): get scope off the connection, not
5722                         using the manager helper
5723
5724         * src/nm-manager.c
5725           src/nm-manager.h
5726                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5727                 - (connection_get_settings_cb): set scope and path on connection, not
5728                         using GObject data items
5729                 - (get_connection_for_proxy): don't need to return path, since that
5730                         can be gotten from the connection
5731                 - (get_connection_for_proxy): get path off the connection, not from
5732                         parameters
5733                 - (connection_removed_cb, connection_updated_cb): don't need to get
5734                         path from get_connection_for_proxy(); get scope off the connection
5735                         instead of using GObject data items
5736                 - (connection_added_default_handler, add_one_connection_element): use
5737                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5738                 - (nm_manager_get_connection_dbus_path): remove
5739                 - (nm_manager_get_connection_scope): remove
5740
5741 2008-02-20  Dan Williams  <dcbw@redhat.com>
5742
5743         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5744                 on confusing names
5745
5746         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5747                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5748                 NMExportedConnection
5749
5750         * Internally rename NMConnectionType -> NMConnectionScope
5751
5752         * Provide default implementations of the 'get_id' and 'get_settings' methods
5753                 of NMExportedConnection
5754
5755 2008-02-15  Dan Williams  <dcbw@redhat.com>
5756
5757         * src/nm-device-802-11-wireless.c
5758                 - (device_cleanup): release the AP list here too so that the AP list
5759                         doesn't survive across suspend/resume and up/down.  There is some
5760                         room for optimization, for example blow the list away when the card
5761                         brought back up, but only if the device has only been down for a
5762                         minute or more.
5763
5764 2008-02-15  Dan Williams  <dcbw@redhat.com>
5765
5766         * src/nm-hal-manager.c
5767                 - (modem_device_creator): recognize new HAL modem capabilities
5768
5769 2008-02-12  Dan Williams  <dcbw@redhat.com>
5770
5771         * system-settings/plugins/ifcfg-fedora/plugin.c
5772                 - (watch_path): handle IN_DELETE_SELF too
5773                 - (handle_connection_changed): notify when removing a connection
5774                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5775                         case of a file moving out of the profile directory
5776
5777 2008-02-12  Dan Williams  <dcbw@redhat.com>
5778
5779         * system-settings/plugins/ifcfg-fedora/parser.c
5780                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5781
5782 2008-02-12  Dan Williams  <dcbw@redhat.com>
5783
5784         * libnm-util/nm-utils.c
5785                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5786                         just any empty array
5787
5788 2008-02-12  Dan Williams  <dcbw@redhat.com>
5789
5790         * system-settings/src/nm-system-config-interface.c
5791           system-settings/src/nm-system-config-interface.h
5792                 - (load_connections): get_connections() should now return an allocated
5793                         GSList that the system settings service will free
5794
5795         * system-settings/plugins/ifcfg-fedora/plugin.c
5796           system-settings/plugins/ifcfg-fedora/parser.h
5797           system-settings/plugins/ifcfg-fedora/parser.c
5798                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5799                         in the profile directory, handle resolv.conf file changes
5800
5801 2008-02-10  Dan Williams  <dcbw@redhat.com>
5802
5803         * src/nm-device-802-3-ethernet.c
5804                 - (real_bring_up): save the supplicant interface state signal id
5805                 - (real_bring_down): disconnect from the supplicant interface state
5806                         signal
5807
5808 2008-02-07  Dan Williams  <dcbw@redhat.com>
5809
5810         * initscript/RedHat/NetworkManager.in
5811           initscript/RedHat/NetworkManagerDispatcher.in
5812                 - Add new-style LSB init headers
5813
5814 2008-02-07  Dan Williams  <dcbw@redhat.com>
5815
5816         * system-settings/src/dbus-settings.c
5817           system-settings/src/dbus-settings.h
5818                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5819                         table of secrets
5820                 - (connection_settings_get_secrets): consolidate error returns into
5821                         one place; use the new get_secrets() plugin interface function to
5822                         get secrets from the plugin itself rather than using GObject data
5823                         magic
5824
5825         * system-settings/src/main.c
5826                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5827                    load_connections): keep a private list of the plugin-returned
5828                         connections, don't use the plugin's GSList
5829
5830         * system-settings/plugins/ifcfg-fedora/plugin.c
5831                 - (watch_path): watch the path, not the filename (duh)
5832                 - (reload_all_connections): use the direct hash/equal functions; the
5833                         ones for int aren't appropriate here
5834                 - (get_secrets, system_config_interface_init): implement the
5835                         get_secrets() function
5836                 - (build_one_connection, find_connection_by_path): ifcfg file path is
5837                         now in the connection's ConnectionData instead of being a GObject
5838                         data property
5839                 - (handle_profile_item_changed): ifcfg file path is now in the
5840                         connection's ConnectionData instead of being a GObject data property;
5841                         be sure to copy secrets over from the new connection to the existing
5842                         connection when updating the connection's settings
5843                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5844                         file descriptor
5845
5846         * system-settings/plugins/ifcfg-fedora/parser.c
5847           system-settings/plugins/ifcfg-fedora/parser.h
5848                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5849                    connection_data_copy_secrets, connection_data_free,
5850                    connection_data_add): new functions; connection data manipulation
5851                 - (make_wireless_security_setting): stuff secrets into the
5852                         connection data, not as GObject data items; make sure to close
5853                         the keys ifcfg file
5854                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5855                         connection data to the connection
5856
5857 2008-02-07  Dan Williams  <dcbw@redhat.com>
5858
5859         * system-settings/src/nm-system-config-interface.c
5860           system-settings/src/nm-system-config-interface.h
5861                 - Add a get_secrets() interface function to retrieve secrets for a
5862                         specific setting of a specific connection.  Document the interface
5863                         a bit more too.
5864
5865 2008-02-07  Dan Williams  <dcbw@redhat.com>
5866
5867         * src/nm-device-802-11-wireless.c
5868                 - (handle_auth_or_fail): new function; consolidate device activation
5869                         failure check after a certain number of failures getting secrets
5870                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5871                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5872                         the connection if secrets were requested more than a few times
5873                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5874                         tries here; otherwise they are cleared before the IP configure
5875                         timeout, which happens with open system WEP when key is wrong
5876                 - (activation_success_handler): clear wireless secrets tries here too
5877
5878 2008-02-07  Dan Williams  <dcbw@redhat.com>
5879
5880         * src/NetworkManagerPolicy.c
5881                 - (connection_updated): clear invalid tag when connection gets updated
5882                         to allow that connection to be tried again
5883                 - (nm_policy_new): save signal ids so they can be disconnected when
5884                         the policy is destroyed
5885                 - (nm_policy_destroy): stop any in-progress state change idle handler,
5886                         and disconnect all signals from the manager object so that none
5887                         of the policy functions gets called after the policy is destroyed
5888
5889 2008-02-06  Dan Williams  <dcbw@redhat.com>
5890
5891         * src/nm-manager.c
5892                 - (finalize): remove devices a bit earlier; clean up system settings
5893                         poke
5894                 - (nm_manager_name_owner_changed): clean up system settings poke when
5895                         the service appears, and try to restart it if it fails
5896                 - (poke_system_settings_daemon_cb): try to get the system settings
5897                         service started through D-Bus service activation
5898                 - (initial_get_connections): start the system settings daemon if it's
5899                         not already running
5900
5901 2008-02-05  Dan Williams  <dcbw@redhat.com>
5902
5903         * src/supplicant-manager/nm-supplicant-config.c
5904                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5905                         broadcast networks too
5906
5907 2008-02-04  Dan Williams  <dcbw@redhat.com>
5908
5909         * system-settings/plugins/ifcfg-fedora/parser.c
5910                 - (make_wireless_security_setting): fix spelling; unencrypted networks
5911                         need key_mgmt set too
5912                 - (parser_parse_file): validate ifcfg file name and don't try to parse
5913                         .bak files; ensure that an error is set whenever NULL gets returned
5914
5915 2008-02-04  Dan Williams  <dcbw@redhat.com>
5916
5917         * system-settings/src/Makefile.am
5918                 - Install D-Bus service activation file for the system settings
5919                         service
5920
5921         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5922                 - D-Bus service activation file for system settings service
5923
5924 2008-02-04  Dan Williams  <dcbw@redhat.com>
5925
5926         * system-settings/src/main.c
5927                 - (parse_config_file): parse a config file
5928                 - (main): accept --config option and read plugins from config file
5929
5930 2008-02-04  Dan Williams  <dcbw@redhat.com>
5931
5932         * system-settings/plugins/ifcfg-fedora/plugin.c
5933                 - Change reported name to 'ifcfg-fedora'
5934                 - Use IFCFG_PLUGIN_NAME
5935
5936         * system-settings/plugins/ifcfg-fedora/plugin.c
5937                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5938
5939 2008-02-04  Dan Williams  <dcbw@redhat.com>
5940
5941         * system-settings/plugins/ifcfg-fedora/parser.c
5942                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5943                 - (make_connection_setting): use get_ifcfg_name()
5944                 - (make_wireless_security_setting): handle shadow key files
5945                 - (get_one_wep_key): treat empty string as NULL
5946
5947 2008-02-04  Dan Williams  <dcbw@redhat.com>
5948
5949         * src/supplicant-manager/nm-supplicant-manager.c
5950                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5951                         glib automatically reschedule
5952                 - (nm_supplicant_manager_init): immediately try to start the supplicant
5953                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5954                         the supplicant
5955
5956 2008-02-01  Dan Williams  <dcbw@redhat.com>
5957
5958         * src/NetworkManagerPolicy.c
5959                 - (device_state_changed): schedule a change check when a device gets
5960                         deactivated so something happens if you disconnect GSM/CDMA
5961
5962 2008-01-31  Dan Williams  <dcbw@redhat.com>
5963
5964         * src/nm-device-802-11-wireless.h
5965           src/nm-device-802-11-wireless.c
5966                 - (ap_list_get_ap_by_ssid, is_associated,
5967                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5968                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5969                 - (nm_device_802_11_wireless_get_activation_ap): collapse
5970                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5971                         function
5972
5973 2008-01-30  Dan Williams  <dcbw@redhat.com>
5974
5975         * system-settings/plugins/ifcfg
5976         * system-settings/plugins/ifcfg-fedora
5977                 - Move the ifcfg plugin to ifcfg-fedora
5978
5979 2008-01-24  Dan Williams  <dcbw@redhat.com>
5980
5981         * libnm-glib/nm-device-802-11-wireless.c
5982                 - (get_access_point): move the "/" check here; check for invalid path
5983                         too
5984                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5985                         to get_access_point()
5986                 - (access_point_added_proxy, access_point_removed_proxy): don't try
5987                         to send signals for non-existent access points
5988
5989 2008-01-24  Dan Williams  <dcbw@redhat.com>
5990
5991         * libnm-glib/nm-device-802-11-wireless.c
5992                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5993
5994 2008-01-23  Dan Williams  <dcbw@redhat.com>
5995
5996         * libnm-glib/libnm_glib.c
5997                 - (libnm_glib_init): make thread joinable
5998                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5999
6000 2008-01-23  Dan Williams  <dcbw@redhat.com>
6001
6002         * test/libnm_glib_test.c
6003                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
6004                 - (main): set up signal handlers; call libnm_glib_shutdown
6005
6006 2008-01-21  Dan Williams  <dcbw@redhat.com>
6007
6008         * include/NetworkManager.h
6009                 - Add CDMA mobile broadband card device type
6010
6011         * src/nm-hal-manager.c
6012                 - (modem_device_creator): handle both CDMA and GSM modems; the device
6013                         must now be tagged with 'cdma' or 'gsm' capability
6014
6015         * src/nm-cdma-device.c
6016           src/nm-cdma-device.h
6017           src/Makefile.am
6018                 - Add the CDMA mobile broadband card device class
6019
6020         * libnm-util/nm-connection.c
6021                 - (register_default_settings): add NMSettingCdma
6022
6023         * libnm-util/nm-setting-cdma.c
6024           libnm-util/nm-setting-cdma.h
6025           libnm-util/Makefile.am
6026                 - Add the CDMA mobile broadband card setting class
6027
6028         * libnm-glib/nm-cdma-device.c
6029           libnm-glib/nm-cdma-device.h
6030           libnm-glib/Makefile.am
6031                 - Add the CDMA mobile broadband card GLib proxy class
6032
6033         * libnm-glib/nm-client.c
6034                 - (get_device): handle CDMA devices too
6035
6036 2008-01-21  Dan Williams  <dcbw@redhat.com>
6037
6038         * src/ppp-manager/nm-ppp-manager.c
6039                 - (ip4_config_get): set peer address too
6040
6041         * src/ppp-manager/nm-pppd-plugin.c
6042                 - (nm_ip_up): try harder to get the peer's address
6043
6044         * src/NetworkManagerSystem.c
6045                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6046                         address, use that too.  Otherwise, some PPP connections won't work.
6047
6048 2008-01-19  Dan Williams  <dcbw@redhat.com>
6049
6050         * src/NetworkManagerPolicy.c
6051                 - (nm_policy_device_change_check): system connections override user
6052                         connections; don't activate a user connection if there's a currently
6053                         active system connection, and new, better system connections always
6054                         interrupt user connections
6055
6056 2008-01-19  Dan Williams  <dcbw@redhat.com>
6057
6058         * src/nm-manager.h
6059                 - (nm_manager_get_connection_type): new function
6060
6061 2008-01-19  Dan Williams  <dcbw@redhat.com>
6062
6063         * src/nm-device-802-11-wireless.c
6064                 - (real_get_best_connection): collapse find_best_connection() into this
6065                         function
6066
6067 2008-01-19  Dan Williams  <dcbw@redhat.com>
6068
6069         * src/nm-device-802-3-ethernet.c
6070                 - (real_get_best_connection): collapse find_best_connection() into this
6071                         function
6072
6073 2008-01-18  Dan Williams  <dcbw@redhat.com>
6074
6075         * src/nm-device-802-3-ethernet.c
6076                 - (find_best_connection): check MAC address too
6077                 - (real_get_best_connection): let autoconnect=True connections activate
6078                         for devices that don't have carrier detection
6079
6080         * src/nm-device-802-11-wireless.c
6081                 - (find_best_connection): check MAC address too
6082
6083 2008-01-18  Dan Williams  <dcbw@redhat.com>
6084
6085         * system-settings/plugins/ifcfg/parser.c
6086                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6087
6088 2008-01-17  Dan Williams  <dcbw@redhat.com>
6089
6090         * src/nm-device-802-3-ethernet.c
6091                 - (nm_device_802_3_ethernet_carrier_on,
6092                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6093                         carrier events that might come in for devices that don't support
6094                         carrier detect
6095
6096 2008-01-17  Dan Williams  <dcbw@redhat.com>
6097
6098         * src/nm-device-interface.c
6099                 - (nm_device_interface_check_connection_conflicts): need to actually
6100                         get the interface, not cast to the object
6101
6102         * src/nm-device.c
6103                 - (nm_device_check_connection_conflicts): need to get the device class,
6104                         not cast the device to the device class
6105
6106 2008-01-17  Dan Williams  <dcbw@redhat.com>
6107
6108         * src/nm-device-802-11-wireless.c
6109                 - (real_check_connection_conflicts): ignore connections that aren't
6110                         wireless connections
6111
6112 2008-01-17  Dan Williams  <dcbw@redhat.com>
6113
6114         * src/NetworkManagerPolicy.c
6115                 - (nm_policy_device_change_check): clear change check idle here
6116                 - (device_change_check_done): remove
6117                 - (schedule_change_check): simplify
6118
6119 2008-01-17  Dan Williams  <dcbw@redhat.com>
6120
6121         * src/nm-manager.c
6122                 - (check_connection_allowed): take an NMDeviceInterface instead of
6123                         an NMDevice object as an argument
6124                 - (nm_manager_activate_device): pass an NMDeviceInterface to
6125                         check_connection_allowed()
6126
6127 2008-01-13  Dan Williams  <dcbw@redhat.com>
6128
6129         * libnm-glib/nm-device-802-11-wireless.c
6130                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6131
6132 2008-01-12  Dan Williams  <dcbw@redhat.com>
6133
6134         * src/nm-device-802-11-wireless.c
6135                 - (activation_success_handler): if a match was found in the scan list
6136                         and that match is a hidden AP, update that AP's SSID
6137
6138 2008-01-11  Dan Williams  <dcbw@redhat.com>
6139
6140         * src/NetworkManagerAP.c
6141                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6142
6143         * src/nm-device-802-11-wireless.c
6144                 - (get_active_ap): do two passes over the scan list if the caller
6145                         requests that hidden APs get matched too; during the second pass
6146                         when matching hidden APs, ignore the SSID since hidden APs in the
6147                         scan list don't have an SSID yet
6148                 - (periodic_update): move some checks to
6149                         nm_device_802_11_periodic_update() because not all callers need them
6150                 - (nm_device_802_11_periodic_update): move some checks here from
6151                         perodic_update()
6152                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6153                         matching on incoming scan results, because the fake AP's flags
6154                         might be slightly different (yet still compatible) with the incoming
6155                         scan result's flags and they might actually be the same AP; update
6156                         the rate on merged APs too
6157                 - (activation_success_handler): update the frequency of the fake AP
6158                         on successful connection; match hidden APs too since if the
6159                         current AP is fake, there might already be a scan result in the
6160                         scan list for the desired AP, just without it's SSID filled in yet
6161
6162 2008-01-10  Dan Williams  <dcbw@redhat.com>
6163
6164         * src/NetworkManagerAP.c
6165                 - (foreach_property_cb): catch more hidden SSID formats
6166
6167 2008-01-10  Dan Williams  <dcbw@redhat.com>
6168
6169         Fix gnome.org #464215.  Requires the kernel patch titled
6170         "Introduce WEXT scan capabilities" but will handle the patch not being
6171         present, you'll just continue to have problems with hidden SSIDs when
6172         using mac80211-based drivers.
6173
6174         * src/supplicant-manager/nm-supplicant-config.h
6175           src/supplicant-manager/nm-supplicant-config.c
6176                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6177                         whether the driver supports SSID scans or not.  If it does, and if
6178                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
6179
6180         * src/nm-device-802-11-wireless.c
6181                 - (constructor): check whether or not the driver supports SSID scans
6182                 - (build_supplicant_config): pass driver SSID scan capability when
6183                         building the wireless bits of the supplicant config
6184
6185 2008-01-09  Dan Williams  <dcbw@redhat.com>
6186
6187         * src/nm-device.c
6188           src/nm-device.h
6189                 - (device_activation_precheck, check_connection_complete): remove this
6190                         virtual function; incomplete connections should be invalid by
6191                         definition, complete-ness should be checked in the setting's
6192                         verify function
6193
6194         * src/nm-serial-device.c
6195           src/nm-gsm-device.c
6196                 - (real_check_connection_complete): remove
6197
6198         * libnm-util/nm-setting-serial.c
6199                 - (verify): new function; ensure there is a PPP setting too
6200
6201         * libnm-util/nm-setting-gsm.c
6202                 - (verify): ensure there is a serial setting too
6203
6204 2008-01-06  Dan Williams  <dcbw@redhat.com>
6205
6206         * src/dhcp-manager/nm-dhcp-manager.c
6207                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6208                         (gnome.org #332953)
6209
6210 2008-01-04  Dan Williams  <dcbw@redhat.com>
6211
6212         * src/named-manager/nm-named-manager.c
6213                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6214                         nameservers if the secondary config doesn't have any
6215                         (gnome.org #346833)
6216
6217 2008-01-02  Tambet Ingo  <tambet@gmail.com>
6218
6219         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6220         with G_PARAM_CONSTRUCT so that they get the default values.
6221
6222         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6223         the monitoring device and prints out the output for now. Or more precicely, doesn't
6224         do absolutely anything right now since the montoring device argument is never set.
6225
6226         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6227         requires it's own knob to turn it on.
6228         (config_fd): Add NMSettingSerial to the arguments list.
6229         (nm_serial_device_open): Ditto.
6230         (get_reply_got_data): Ignore the terminators at the beginning of the output.
6231         (nm_serial_device_get_io_channel): Implement.
6232
6233         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6234         a new reference every time (and forgetting to release it sometimes) is a pain and
6235         it's not like NMManager could work without dbus.
6236         (nm_manager_add_device): Register the added device on dbus here.
6237
6238         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6239         device.
6240
6241         * src/nm-device.c (constructor): Don't export the device here, instead export
6242         it when it's added to the NMManager's device list.
6243
6244 2007-12-31  Dan Williams  <dcbw@redhat.com>
6245
6246         * src/nm-device-interface.c
6247           src/nm-device-interface.h
6248                 - (nm_device_interface_check_connection_conflicts): new function
6249
6250         * src/nm-device.c
6251           src/nm-device.h
6252                 - (nm_device_check_connection_conflicts): new function
6253                 - (device_activation_precheck): don't require subclasses to implement
6254                         check_connection_complete()
6255                 - check_connection() -> check_connection_complete()
6256
6257         * src/nm-device-802-11-wireless.c
6258                 - (real_check_connection): remove; unused
6259                 - (real_check_connection_conflicts): implement, handle lockdown for
6260                         system connections
6261
6262         * src/nm-device-802-3-ethernet.c
6263                 - (real_check_connection): remove; unused
6264
6265         * src/nm-manager.c
6266                 - (check_connection_allowed): new function
6267                 - (nm_manager_activate_device): ensure the connection being requested
6268                         is allowed to be activated
6269
6270         * src/nm-serial-device.c
6271           src/nm-gsm-device.c
6272                 - real_check_connection() -> real_check_connection_complete()
6273
6274 2007-12-27  Dan Williams  <dcbw@redhat.com>
6275
6276         * src/nm-device-interface.c
6277           src/nm-device-interface.h
6278                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6279                         normalize and expand errors
6280                 - (nm_device_interface_init): register errors so they can be marshalled
6281                         through dbus-glib
6282                 - (nm_device_interface_activate): ensure that failure of activation
6283                         returns an error
6284
6285         * src/nm-device.c
6286           src/nm-device.h
6287                 - (device_activation_precheck): implementations of check_connection()
6288                         now take a GError and must fill it in if the check fails.  Return
6289                         more descriptive error if the requested connection is already
6290                         activating
6291                 - (nm_device_activate): actually try to return descriptive errors on
6292                         failures
6293
6294         * src/nm-device-802-11-wireless.c
6295           src/nm-device-802-3-ethernet.c
6296           src/nm-serial-device.c
6297           src/nm-gsm-device.c
6298                 - (real_check_connection): return more descriptive errors on failure
6299
6300         * src/NetworkManagerPolicy.c
6301                 - (nm_policy_device_change_check): print activation errors in the logs
6302
6303         * src/nm-manager.c
6304                 - (nm_manager_error_quark, nm_manager_error_get_type,
6305                    nm_manager_class_init): new errors
6306                 - (nm_manager_activate_device): handle errors
6307                 - (nm_manager_error_new): removed
6308                 - (wait_for_connection_expired, connection_added_default_handler,
6309                    impl_manager_activate_device): better error handling
6310
6311 2007-12-27  Dan Williams  <dcbw@redhat.com>
6312
6313         Fixes gnome.org #466954
6314
6315         * src/supplicant-manager/nm-supplicant-settings-verify.c
6316                 - Allow 'frequency' network property
6317
6318         * src/supplicant-manager/nm-supplicant-config.c
6319           src/supplicant-manager/nm-supplicant-config.h
6320                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6321                         for callers to specify the frequency an Ad-Hoc network should operate
6322                         on.  Some drivers require this to successfully create an Ad-Hoc
6323                         network.
6324
6325         * src/nm-device-802-11-wireless.c
6326                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6327                         guint32 value in MHz
6328                 - (constructor, nm_device_802_11_wireless_get_frequency): use
6329                         iw_freq_to_uint32()
6330                 - (find_supported_frequency): new function; find a free supported
6331                         frequency for a user-created Ad-Hoc network
6332                 - (build_supplicant_config): if no frequency was specified for a user-
6333                         created Ad-Hoc network, find a free one to use
6334                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6335                         a specific object as user-created
6336
6337 2007-12-27  Dan Williams  <dcbw@redhat.com>
6338
6339         * libnm-util/nm-utils.c
6340           libnm-util/nm-utils.h
6341                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6342                         for adhoc networks
6343
6344 2007-12-24  Dan Williams  <dcbw@redhat.com>
6345
6346         * libnm-util/nm-setting-wireless.c
6347                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6348                         185, 187, 188, 192, and 196
6349
6350 2007-12-24  Dan Williams  <dcbw@redhat.com>
6351
6352         * src/nm-device-802-11-wireless.c
6353                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6354                         a channel # instead of a frequency
6355
6356 2007-12-24  Dan Williams  <dcbw@redhat.com>
6357
6358         * src/NetworkManagerAP.c
6359           src/NetworkManagerAP.h
6360                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6361                 - (freq_to_channel): handle split band tables
6362                 - (channel_to_freq): handle split band tables, take a band argument
6363
6364 2007-12-24  Dan Williams  <dcbw@redhat.com>
6365
6366         * libnm-util/nm-setting-connection.h
6367           libnm-util/nm-setting-connection.c
6368                 - Add 'lockdown' member
6369
6370 2007-12-22  Dan Williams  <dcbw@redhat.com>
6371
6372         * libnm-util/nm-setting-wireless.c
6373                 - (nm_setting_wireless_class_init): add missing 'rate' property
6374                         specification
6375
6376 2007-12-18  Dan Williams  <dcbw@redhat.com>
6377
6378         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6379
6380         * src/nm-netlink-monitor.c
6381           src/nm-netlink-monitor.h
6382                 - Remove handrolled netlink, use libnl instead
6383
6384         * src/nm-device-802-3-ethernet.c
6385                 - (constructor, nm_device_802_3_ethernet_carrier_off,
6386                    nm_device_802_3_ethernet_carrier_on): use new names
6387
6388 2007-12-17  Dan Williams  <dcbw@redhat.com>
6389
6390         * configure.in
6391                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6392                         and fixes memory leaks)
6393
6394         * src/nm-netlink.c
6395                 - (nm_netlink_get_default_handle): handle new versions of libnl that
6396                         automatically handle the netlink PID
6397
6398 2007-12-17  Dan Williams  <dcbw@redhat.com>
6399
6400         Patch from Michael Biebl <biebl@debian.org>
6401
6402         * configure.in
6403           src/ppp-manager/Makefile.am
6404                 - fix up install dir of pppd plugin
6405                 - clean up configure.in a bit
6406
6407 2007-12-12  Dan Williams  <dcbw@redhat.com>
6408
6409         * system-settings/src/nm-system-settings.conf
6410                 - Allow non-root clients (like the applet) to read settings
6411
6412 2007-12-10  Tambet Ingo  <tambet@gmail.com>
6413
6414         * Replace all occurences of 'UMTS' with 'GSM'.
6415
6416 2007-12-07  Dan Williams  <dcbw@redhat.com>
6417
6418         * src/nm-serial-device.c
6419                 - (real_is_up): serial devices are always "up"
6420
6421 2007-12-07  Dan Williams  <dcbw@redhat.com>
6422
6423         * src/nm-netlink.c
6424           src/NetworkManagerSystem.c
6425                 - (new_nl_handle): ensure that the same netlink pid is never chosen
6426                         twice (gnome.org #491047)
6427                 - Make more robust against allocation-related failures should they occur
6428
6429 2007-12-07  Dan Williams  <dcbw@redhat.com>
6430
6431         Noticed by Christian Persch <chpe@gnome.org>
6432
6433         Always chain up to parent object in dispose and finalize handlers.
6434                 (gnome.org #433112)
6435
6436 2007-12-07  Dan Williams  <dcbw@redhat.com>
6437
6438         * src/nm-device-802-11-wireless.c
6439                 - Wrap #include of linux/mii.h to fix redefined structures due to
6440                         incorrect kernel headers (gnome.org #350061)
6441
6442 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6443
6444         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6445         before doing anything else.
6446         (init_modem): Move modem initialization here.
6447
6448         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6449         (nm_serial_device_flash): Implement.
6450
6451         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6452         changes signal is "StateChanged" and not "Status".
6453         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6454
6455 2007-12-06  Dan Williams  <dcbw@redhat.com>
6456
6457         * src/supplicant-manager/nm-supplicant-config.c
6458                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6459                         to only send some options when they make sense; also send phase2
6460                         option to the supplicant (possible fix for rh #399631)
6461
6462 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6463
6464         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6465         arguments: This whole file shouldn't really know anything about NMDevices, it
6466         should deal only with device interfaces. Devices might have different ifaces for
6467         different stuff and this place shouldn't know anything about it.
6468
6469         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6470         (global_state_changed): Implement. In the current NM it's not really important,
6471         but will be required in the case of multiple active devices. (Or even better,
6472         if stuff like that gets moved out from NM).
6473
6474         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6475         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6476         instead.
6477
6478         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6479         devices like serial devices (ttyS0 and ppp0 for example).
6480         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6481         set.
6482         (nm_device_set_ip_iface): Implement.
6483         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6484         after setting ip4_config from here ...
6485         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6486         than this function should call nm_system_device_set_from_ip4_config() because no
6487         other code has enough information on which arguments to use. So instead, other code
6488         could just set the new ip4 config using this function and everyone is happy.
6489
6490         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6491         if we happen to get deactivated while something is pending.
6492         (automatic_registration): Handle the response that indicates pending network
6493         registration and wait until the pending registration is done.
6494         (real_deactivate_quickly): If there's a pending operation, cancel it.
6495
6496         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6497         (real_deactivate_quickly): ... and remove it when it's down.
6498         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6499         it if needed.
6500         (nm_serial_device_wait_for_reply): Ditto.
6501
6502 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6503
6504         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6505         (get_network_done): Remove newline, nm_info() does it already.
6506         (real_act_stage1_prepare): Turn the modem echo off.
6507
6508         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6509         device, set the route to the device interface. This is a hack.
6510
6511         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6512         return, no need for a new-line.
6513         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6514         Change the device iface here (ugh).
6515         (real_act_stage4_get_ip4_config): Implement.
6516         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6517         Restore the device iface.
6518
6519         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6520         device is not wired or wireless (eg, automatically upped) device.
6521
6522         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6523         it isn't.
6524         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6525
6526         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6527         before calling it's is_device_fn().
6528
6529 2007-12-05  Dan Williams  <dcbw@redhat.com>
6530
6531         * libnm-util/nm-utils.c
6532                 - (nm_utils_register_value_transformations,
6533                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6534                         GHashTables of GValues too
6535
6536 2007-12-04  Dan Williams  <dcbw@redhat.com>
6537
6538         * initscript/RedHat/NetworkManager.in
6539                 - No longer start named; it's D-Bus interface is going away
6540
6541 2007-12-04  Dan Williams  <dcbw@redhat.com>
6542
6543         Patch from Michael Biebl <biebl@debian.org>
6544
6545         * system-settings/plugins/ifcfg/Makefile.am
6546           system-settings/src/main.c
6547           system-settings/src/Makefile.am
6548                 - Put system settings plugins in NM plugins dir
6549
6550         * src/ppp-manager/Makefile.am
6551           src/ppp-manager/nm-ppp-manager.c
6552                 - Move pppd plugin to NM plugins dir
6553
6554 2007-12-04  Dan Williams  <dcbw@redhat.com>
6555
6556         * libnm-util/nm-setting-vpn-properties.h
6557                 - Clarify usage of the 'data' member of the setting
6558
6559         * libnm-util/nm-setting-vpn-properties.c
6560                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6561                 - (set_property): just remove all the settings; don't recreate the has
6562                 - (update_one_secret): don't need to create the hash table here since
6563                         it should always be present
6564
6565 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6566
6567         Implement PIN and PUK requesting.
6568
6569         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6570         (enter_pin): Handle PIN and PUK requests.
6571         (real_act_stage1_prepare): Clear the secret type.
6572         (real_connection_secrets_updated): Implement this class method to get
6573         notified when new secrets arrive.
6574         (nm_umts_device_class_init): Add private data back to the umts device class
6575         to store the required secret type.
6576
6577 2007-12-01  Dan Williams  <dcbw@redhat.com>
6578
6579         * system-settings/plugins/ifcfg/parser.c
6580                 - (parser_parse_file): don't try to verify NULL connections
6581
6582 2007-12-01  Dan Williams  <dcbw@redhat.com>
6583
6584         * system-settings/src/main.c
6585                 - (load_connections, add_connection_to_settings): actually export
6586                         plugin-provided connections over D-Bus so NM can get them
6587
6588 2007-12-01  Dan Williams  <dcbw@redhat.com>
6589
6590         * system-settings/plugins/ifcfg/parser.c
6591           system-settings/plugins/ifcfg/parser.h
6592           system-settings/plugins/ifcfg/plugin.c
6593                 - Hook up more inotify bits (untested)
6594
6595 2007-11-29  Dan Williams  <dcbw@redhat.com>
6596
6597         * system-settings/src/nm-system-config-interface.h
6598           system-settings/src/nm-system-config-interface.c
6599                 - (nm_system_config_interface_init,
6600                    nm_system_config_interface_get_connections): add
6601
6602         * system-settings/src/main.c
6603                 - (load_plugins, load_connections, main): use a GSList for plugins
6604                         to ensure priority ordering
6605
6606         * system-settings/plugins/ifcfg/parser.c
6607                 - (ifcfg_error_quark): move to plugin.c, and rename
6608
6609         * system-settings/plugins/ifcfg/plugin.h
6610           system-settings/plugins/ifcfg/plugin.c
6611                 - (ifcfg_plugin_error_quark): move here from parser.c
6612                 - rework connection loading and initialization
6613                 - Add preliminary inotify support for network profile config file
6614
6615 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6616
6617         Merge the beginnings of the new GSM card support.
6618
6619         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6620         ppp watch source before killing pppd - If this happens from g_object_unref()
6621         then the ppp manager is already destroyed by the time the watch callback runs.
6622
6623         * src/nm-hal-manager.c: Add a device_type_name string to the device
6624         creators, so that we can print a nice human readable string when a
6625         device is added.
6626
6627         * src/nm-umts-device.c (automatic_registration_get_network): Query
6628         for the activated network, not much is done with the result thought.
6629
6630         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6631         (ppp_ip4_config): Change the device state to activated here for now.
6632         (real_check_connection): Make sure the connection includes ppp setting.
6633
6634         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6635
6636         * libnm-glib/Makefile.am: Add the new files to build.
6637
6638         * libnm-glib/nm-umts-device.c: 
6639         * libnm-glib/nm-umts-device.h: Implement.
6640
6641 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6642
6643         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6644         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6645
6646         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6647         the timeout source - this function is only called when the timeout source has
6648         been removed.
6649         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6650         to be big enough to contain the terminating zero element as well.
6651         The timeout argument is meant to be in seconds now.
6652         (real_deactivate_quickly): Implement.
6653
6654         * src/NetworkManager.conf: Allow root to own 
6655         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6656
6657         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6658         (not unsigned ints).
6659
6660         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6661         small issue with parity bounds - capital letters have lower ascii codes
6662         than lower case letters.
6663
6664         * libnm-util/nm-connection.c (register_default_settings): Register serial
6665         and umts settings.
6666
6667 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6668
6669         Remove the "index" property from devices as not all device types have this.
6670
6671         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6672
6673         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6674         (wired_device_creator): Get the device interface from hal to create the device.
6675         (wireless_device_creator): Ditto.
6676
6677         * src/nm-device.c (nm_device_init): Remove the index member.
6678         (constructor): Remove the checks for index property, make interface property
6679         a require constructor property.
6680         Use the HAL udi for DBus path for devices.
6681         (nm_device_get_index): Remove.
6682         (set_property): Remove index handling.
6683         (get_property): Ditto.
6684         (nm_device_get_dbus_path): Remove.
6685
6686         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6687         property.
6688
6689         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6690         Access the device index through it's interface.
6691         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6692         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6693         index argument. Add interface argument.
6694
6695         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6696         the useless test_dev argument. Remove index argument. Add interface arugment.
6697
6698         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6699         device index through interface.
6700         (nm_system_set_mtu): Ditto.
6701
6702         * introspection/nm-device.xml: Remove the "Index" property.
6703
6704 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6705
6706         * src/nm-serial-device.c: 
6707         * src/nm-serial-device.c: 
6708         * src/nm-umts-device.c:
6709         * src/nm-umts-device.h: Implement.
6710
6711         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6712         allocated by libhal.
6713         (modem_device_creator): Implement.
6714         (register_built_in_creators): Register the modem creator.
6715
6716         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6717         Remove the unused test_dev argument.
6718
6719         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6720
6721         * src/Makefile.am: Add new files to build.
6722         Link in ppp-manager.
6723
6724         * libnm-util/nm-setting-umts.c: 
6725         * libnm-util/nm-setting-umts.h: 
6726         * libnm-util/nm-setting-serial.c: 
6727         * libnm-util/nm-setting-serial.h: Implement.
6728
6729         * libnm-util/Makefile.am: Add new files to build.
6730
6731 2007-11-28  Dan Williams  <dcbw@redhat.com>
6732
6733         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6734
6735         Support DHCP-provided static routes.
6736
6737         * src/nm-ip4-config.h
6738           src/nm-ip4-config.c
6739                 - Add get/set functions for static routes
6740
6741         * src/dhcp-manager/nm-dhcp-manager.c
6742                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6743                         DHCP response
6744
6745         * src/NetworkManagerSystem.c
6746                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6747                         interface when applying the IP4Config
6748
6749 2007-11-28  Dan Williams  <dcbw@redhat.com>
6750
6751         * src/nm-device-802-11-wireless.c
6752                 - (real_act_stage1_prepare): mark APs created for hidden networks
6753                         as non-broadcasting
6754
6755 2007-11-27  Dan Williams  <dcbw@redhat.com>
6756
6757         * system-settings/src/nm-system-config-interface.h
6758                 - Note how to store secrets on NMSetting objects
6759
6760         * system-settings/src/dbus-settings.c
6761                 - (connection_settings_get_secrets): implement
6762
6763 2007-11-27  Dan Williams  <dcbw@redhat.com>
6764
6765         * system-settings/plugins/ifcfg/Makefile.am
6766           system-settings/plugins/ifcfg/parser.c
6767           system-settings/plugins/ifcfg/parser.h
6768           system-settings/plugins/ifcfg/plugin.c
6769                 - Parse wireless connections too
6770
6771         * system-settings/src/dbus-settings.c
6772           system-settings/src/dbus-settings.h
6773           system-settings/src/main.c
6774                 - Handle connection update/removal if the plugin supports it
6775
6776 2007-11-27  Dan Williams  <dcbw@redhat.com>
6777
6778         * src/nm-dbus-manager.h
6779           src/nm-hal-manager.c
6780                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6781                         do it for them
6782
6783         * src/Makefile.am
6784           src/NetworkManagerDbusUtils.c
6785           src/NetworkManagerDbusUtils.h
6786                 - Remove these two source files; they are unused
6787
6788 2007-11-27  Dan Williams  <dcbw@redhat.com>
6789
6790         * src/vpn-manager/nm-vpn-manager.c
6791                 - (impl_vpn_manager_connect): fix system settings check (found by
6792                         James M. Leddy)
6793
6794 2007-11-26  Dan Williams  <dcbw@redhat.com>
6795
6796         * Fix warnings so everything compiles with --enable-more-warnings
6797
6798 2007-11-25  Dan Williams  <dcbw@redhat.com>
6799
6800         * system-settings/*
6801                 - Rework structure and code to use GModule-loaded plugins and a plugin
6802                         interface that plugins export to the system settings service
6803
6804 2007-11-21  Dan Williams  <dcbw@redhat.com>
6805
6806         * system-settings/*
6807                 - Add Soren's system settings service.  Needs work for distros other
6808                         than Fedora; the backends from NM should mostly migrate to here
6809                         and be converted to GObjects
6810
6811 2007-11-21  Dan Williams  <dcbw@redhat.com>
6812
6813         * libnm-util/nm-setting-vpn-properties.c
6814                 - (set_property): must deep-copy the given settings hash, otherwise
6815                         double-free errors occur when the setting is disposed of
6816
6817 2007-11-21  Dan Williams  <dcbw@redhat.com>
6818
6819         * src/vpn-manager/nm-vpn-act-request.h
6820           src/vpn-manager/nm-vpn-act-request.c
6821                 - Remove; unused
6822
6823 2007-11-20  Dan Williams  <dcbw@redhat.com>
6824
6825         * libnm-util/nm-utils.c
6826                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6827                    nm_utils_convert_ip4_addr_struct_array_to_string,
6828                    nm_utils_register_value_transformations): print out the readable
6829                         values of more types of properties of NMSettings subclasses
6830
6831 2007-11-20  Dan Williams  <dcbw@redhat.com>
6832
6833         * libnm-util/nm-setting-ip4-config.c
6834                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6835                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
6836                         marshal GValueArrays inside collections, so switch to types that it
6837                         can actually marshal/demarshal
6838
6839 2007-11-16  Dan Williams  <dcbw@redhat.com>
6840
6841         * libnm-util/nm-setting-wireless-security.c
6842                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6843                         minimal verification of EAP methods too
6844                 - (verify): verify phase1 eap methods too
6845
6846 2007-11-15  Dan Williams  <dcbw@redhat.com>
6847
6848         * libnm-glib/nm-device.h
6849           libnm-glib/nm-device.c
6850                 - (nm_device_get_product, nm_device_get_vendor): should be returning
6851                         const char *
6852
6853 2007-11-15  Dan Williams  <dcbw@redhat.com>
6854
6855         * libnm-glib/nm-device.c
6856                 - (get_product_and_vendor): don't try to free things that should be
6857                         freed
6858
6859 2007-11-15  Dan Williams  <dcbw@redhat.com>
6860
6861         * src/NetworkManagerUtils.c
6862                 - (nm_ethernet_address_is_valid): unbreak previous fix
6863
6864 2007-11-15  Dan Williams  <dcbw@redhat.com>
6865
6866         * src/supplicant-manager/nm-supplicant-config.c
6867                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6868                         options
6869
6870 2007-11-15  Dan Williams  <dcbw@redhat.com>
6871
6872         * src/NetworkManagerUtils.c
6873                 - (nm_ethernet_address_is_valid): fix style, clarify
6874                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6875
6876         * src/nm-device-802-11-wireless.c
6877                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6878                 - (nm_device_802_11_wireless_get_ssid,
6879                    nm_device_802_11_wireless_get_bssid,
6880                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6881                         before calling the ioctl; fixes valgrind-reported jump depends on
6882                         uninitialized value errors
6883
6884 2007-11-15  Dan Williams  <dcbw@redhat.com>
6885
6886         * libnm-util/nm-setting.c
6887                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6888                         unecessary to serialize 'name'
6889
6890         * src/nm-activation-request.c
6891                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6892                         the GetSecrets call
6893
6894 2007-11-15  Dan Williams  <dcbw@redhat.com>
6895
6896         * libnm-util/nm-setting-connection.h
6897           libnm-util/nm-setting-connection.c
6898                 - Rename the 'name' property to 'id', because it conflicted with the
6899                         NMSetting superclass' 'name' property.
6900
6901         * libnm-util/nm-setting.c
6902                 - (nm_setting_to_hash): serialize the 'name' property
6903                 - (one_property_cb): ignore 'name' on deserialization of a connection
6904
6905         * src/nm-device-802-11-wireless.c
6906           src/vpn-manager/nm-vpn-connection.c
6907           src/NetworkManagerPolicy.c
6908                 - Fix up for NMSettingConnection 'name'->'id' changes
6909
6910 2007-11-13  Dan Williams  <dcbw@redhat.com>
6911
6912         * libnm-glib/nm-device-802-11-wireless.h
6913           libnm-glib/nm-device-802-11-wireless.c
6914                 - (nm_device_802_11_wireless_get_hw_address): return should be const
6915
6916         * test/nm-tool.c
6917           libnm-glib/libnm-glib-test.c
6918                 - Fixes for above change
6919
6920 2007-11-12  Dan Williams  <dcbw@redhat.com>
6921
6922         * src/supplicant-manager/nm-supplicant-settings-verify.c
6923                 - Allow fragment_size option
6924
6925         * src/supplicant-manager/nm-supplicant-settings-verify.c
6926                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6927                         EAP fragment size than the default to help some TLS connections
6928
6929 2007-11-12  Dan Williams  <dcbw@redhat.com>
6930
6931         Make certs actually work.  The private key is now a secret, and should be
6932         decrypted when requested by NM.  The private key and phase2 private key
6933         passwords are no longer interesting to NM because they should be used by
6934         the settings service to decrypt the private key itself before passing it
6935         to NM, and hence have been removed as fields.
6936
6937         * libnm-util/nm-setting-wireless-security.h
6938           libnm-util/nm-setting-wireless-security.c
6939                 - Remove private-key-passwd and phase2-private-key-passwd from
6940                         properties
6941                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6942                    need_secrets): use property #defines instead strings to keep things
6943                         consistent
6944                 - (need_secrets_tls): if a client certificate is present but no
6945                         private key, request the private key
6946                 - (set_property, get_property, nm_setting_wireless_security_class_init):
6947                         remove private key password stuff, mark private keys as secret
6948
6949         * src/supplicant-manager/nm-supplicant-settings-verify.c
6950                 - Remove private_key_passwd and private_key2_passwd from opt_table
6951
6952 2007-11-09  Dan Williams  <dcbw@redhat.com>
6953
6954         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6955         Since the vpn-properties are managed and known by the VPN daemons themselves,
6956         libnm-util doesn't know what's secret and what's in the setting's 'data'
6957         member.
6958
6959         * libnm-util/nm-setting.h
6960           libnm-util/nm-setting.c
6961                 - Add the ability for subclasses to override update_one_secret
6962
6963         * libnm-util/nm-setting-vpn-properties.c
6964                 - Override update_one_secret and just copy the values into the
6965                         internal table
6966
6967 2007-11-09  Dan Williams  <dcbw@redhat.com>
6968
6969         * libnm-glib/nm-settings.h
6970           libnm-glib/nm-settings.c
6971                 - (nm_settings_new_error): remove
6972                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6973                         clients should use g_set_error() with NM_SETTINGS_ERROR
6974
6975 2007-11-09  Dan Williams  <dcbw@redhat.com>
6976
6977         * src/supplicant-manager/nm-supplicant-config.c
6978                 - (nm_supplicant_config_add_setting_wireless_security): private key
6979                         passwords are never sent to wpa_supplicant, because the supplicant
6980                         should never be reading random files from the disk.  Clients like
6981                         the applet are required to decrypt the private keys and send NM
6982                         the decrypted blobs.
6983
6984 2007-11-08  Dan Williams  <dcbw@redhat.com>
6985
6986         * libnm-util/nm-setting-wireless-security.h
6987           libnm-util/nm-setting-wireless-security.c
6988                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6989                         members to 802-11-wireless-security structure.  This should be used
6990                         to indicate that the values in private-key and phase2-private-key
6991                         are already decrypted by the user agent, and that no
6992                         private-key-passwd or phase2-private-key-passwd should be expected.
6993                         It is not meant to be a stored configuration value, but meant to
6994                         be set when the conneciton is sent to NM over dbus.
6995
6996 2007-11-08  Dan Williams  <dcbw@redhat.com>
6997
6998         * libnm-util/nm-connection.h
6999           libnm-util/nm-connection.c
7000                 - (nm_connection_need_secrets): add argument to return hints
7001
7002         * src/nm-device-802-11-wireless.c
7003                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7004                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
7005                         nm_connection_need_secrets() change
7006
7007 2007-11-07  Tambet Ingo  <tambet@gmail.com>
7008
7009         Rework NMSetting structures: Move each setting to it's own file.
7010         Convert to GObject. Remove home grown setting types and use GTypes.
7011         Use GObject property introspection for hash conversion, enumerating
7012         properties, etc.
7013
7014         * libnm-util/nm-setting-connection.[ch]
7015         * libnm-util/nm-setting-ip4-config.[ch]
7016         * libnm-util/nm-setting-ppp.[ch]
7017         * libnm-util/nm-setting-vpn.[ch]
7018         * libnm-util/nm-setting-vpn-properties.[ch]
7019         * libnm-util/nm-setting-wired.[ch]
7020         * libnm-util/nm-setting-wireless.[ch]
7021         * libnm-util/nm-setting-wireless-security.[ch]
7022
7023         New files, each containing a setting.
7024
7025         * libnm-util/nm-setting-template.[ch]: A template for creating new
7026         settings. To use it, just replace 'template' with the new setting
7027         name, and you're half-way done.
7028
7029         * libnm-util/nm-setting.c: Convert to GObject and use GObject
7030         introspection instead of internal types and tables.
7031
7032         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7033
7034         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7035         GValue types defined by dbus-glib for composed types like collections,
7036         structures and maps.
7037
7038         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7039         a setting from connection takes the setting type now. Also, since
7040         the settings are in multiple files, include relevant settings.
7041
7042 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
7043
7044         * configure.in:
7045         * src/backends/NetworkManagerGentoo.c:
7046         (nm_system_restart_mdns_responder): Implement restarts for other mdns
7047         providers in Gentoo.
7048
7049 2007-10-31  Dan Williams  <dcbw@redhat.com>
7050
7051         * libnm-util/nm-connection.c
7052                 - (gvalue_to_string): handle UINT32 arrays
7053
7054 2007-10-31  Dan Williams  <dcbw@redhat.com>
7055
7056         * libnm-glib/nm-device.h
7057           libnm-glib/nm-device.c
7058                 - (nm_device_get_description): remove
7059                 - (nm_device_get_product, nm_device_get_vendor): add
7060                 - (nm_device_update_description): new function (private); walk HAL
7061                         devices to get product and vendor IDs for a specific device
7062
7063 2007-10-31  Dan Williams  <dcbw@redhat.com>
7064
7065         * src/nm-device-802-11-wireless.c
7066                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7067
7068 2007-10-29  Dan Williams  <dcbw@redhat.com>
7069
7070         * src/nm-hal-manager.c
7071                 - (device_added, device_new_capability): ignore device additions while
7072                         asleep.  Fixes crash caused when NM goes to sleep, a network device
7073                         kernel module is unloaded and reloaded and recognized by NM again.
7074
7075 2007-10-26  Dan Williams  <dcbw@redhat.com>
7076
7077         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7078
7079         * src/NetworkManagerAP.c
7080           src/NetworkManagerAP.h
7081           libnm-glib/nm-access-point.c
7082           libnm-glib/nm-access-point.h
7083                 - Make 'rate' property a guint32 to better match with WEXT and
7084                         wpa_supplicant and to allow representation of higher bitrates
7085
7086         * src/nm-device-802-11-wireless.c
7087           introspection/nm-device-802-11-wireless.xml
7088           libnm-glib/nm-device-802-11-wireless.c
7089           libnm-glib/nm-device-802-11-wireless.h
7090                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7091
7092         * src/nm-device-802-3-ethernet.c
7093           src/nm-device-802-3-ethernet.h
7094           introspection/nm-device-802-3-ethernet.xml
7095           libnm-glib/nm-device-802-3-ethernet.c
7096           libnm-glib/nm-device-802-3-ethernet.h
7097                 - Make 'speed' property a guint32 to match other speed/rate types
7098                 - Make nm_device_802_3_ethernet_get_speed() static
7099
7100         * test/nm-tool.c
7101                 - Update for the changes above
7102
7103 2007-10-26  Dan Williams  <dcbw@redhat.com>
7104
7105         * src/named-manager/nm-named-manager.c
7106                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7107                     not calling fclose() twice on some error conditions
7108
7109 2007-10-26  Dan Williams  <dcbw@redhat.com>
7110
7111         * src/nm-activation-request.c
7112                 - (dispose): clean up indentation; get the right DBusGProxy object to
7113                         cancel the GetSecrets pending call on.  Need to use the Secrets
7114                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
7115                         pending call doesn't get canceled, and pressing Cancel in the
7116                         applet's password dialog could cause get_secrets_cb() to be called
7117                         after the activation request has already been destroyed
7118
7119 2007-10-24  Dan Williams  <dcbw@redhat.com>
7120
7121         * src/supplicant-manager/nm-supplicant-config.c
7122                 - (nm_supplicant_config_add_blob): pass blob data and length for
7123                         verification
7124                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7125
7126 2007-10-24  Dan Williams  <dcbw@redhat.com>
7127
7128         * src/supplicant-manager/nm-supplicant-settings-verify.c
7129                 - (opt_table): max length for certificates should be 65536
7130
7131 2007-10-24  Dan Williams  <dcbw@redhat.com>
7132
7133         * src/supplicant-manager/nm-supplicant-interface.c
7134                 - (blob_free): correctly free blob data after use
7135                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7136
7137 2007-10-24  Dan Williams  <dcbw@redhat.com>
7138
7139         * libnm-util/nm-setting.c
7140                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7141                         EAP method need secrets
7142
7143 2007-10-24  Dan Williams  <dcbw@redhat.com>
7144
7145         * src/backends/NetworkManagerRedHat.c
7146                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7147
7148 2007-10-23  Dan Williams  <dcbw@redhat.com>
7149
7150         * libnm-util/nm-setting.c
7151           libnm-util/nm-setting.c
7152                 - (nm_setting_compare): implement
7153                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7154                    compare_one_hash_gvalue): compare the contents of a setting
7155
7156         * libnm-util/nm-connection.c
7157                 - (nm_connection_compare): implement
7158
7159 2007-10-23  Dan Williams  <dcbw@redhat.com>
7160
7161         * src/nm-activation-request.c
7162                 - (get_secrets_cb): handle getting a setting back that is more than
7163                         just secrets (ie, user changed auth or EAP method or something)
7164
7165 2007-10-23  Dan Williams  <dcbw@redhat.com>
7166
7167         * libnm-util/nm-setting.c
7168           libnm-util/nm-setting.h
7169                 - (nm_setting_verify): new function; verify one setting
7170                 - (nm_settings_verify_all): rename from nm_settings_verify()
7171                 - (setting_connection_verify, setting_wireless_verify): allow NULL
7172                         all_settings
7173
7174         * libnm-util/nm-connection.c
7175                 - (nm_connection_replace_settings, nm_connection_verify,
7176                    nm_connection_new_from_hash): handle nm_settings_verify() rename
7177
7178 2007-10-23  Dan Williams  <dcbw@redhat.com>
7179
7180         * src/nm-device-802-11-wireless.c
7181                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7182                         desired behavior
7183
7184 2007-10-23  Dan Williams  <dcbw@redhat.com>
7185
7186         * src/supplicant-manager/nm-supplicant-settings-verify.c
7187                 - eap_allowed, phase2_allowed: harmonize with allowed values from
7188                         nm-settings.c
7189
7190 2007-10-23  Dan Williams  <dcbw@redhat.com>
7191
7192         * src/nm-device-802-11-wireless.c
7193                 - (real_act_stage2_config): after the first association failure,
7194                         if the connection still needs secrets ask the user for them
7195                         explicitly.  After the fourth association failure due to bad
7196                         secrets, fail the connection entirely.  Handles the GetSecrets
7197                         loop that NM gets into when the provided secrets don't match up
7198                         with the connection details.
7199
7200 2007-10-23  Dan Williams  <dcbw@redhat.com>
7201
7202         * src/supplicant-manager/nm-supplicant-config.c
7203                 - (nm_supplicant_config_add_setting_wireless_security): only add
7204                         WPA-specific options when WPA is in use
7205
7206 2007-10-23  Dan Williams  <dcbw@redhat.com>
7207
7208         * src/supplicant-manager/nm-supplicant-config.c
7209                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7210                         secret doesn't need to be unhexified
7211
7212 2007-10-23  Dan Williams  <dcbw@redhat.com>
7213
7214         * libnm-util/nm-setting.c
7215                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7216                         before trying to do something with it
7217
7218 2007-10-23  Dan Williams  <dcbw@redhat.com>
7219
7220         * src/nm-device-802-11-wireless.c
7221                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7222
7223 2007-10-23  Dan Williams  <dcbw@redhat.com>
7224
7225         * src/nm-device-802-11-wireless.c
7226                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7227                         non-SSID-broadcasting APs
7228
7229 2007-10-23  Dan Williams  <dcbw@redhat.com>
7230
7231         * src/NetworkManagerAP.c
7232                 - (match_cipher, security_compatible): remove
7233                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7234                         libnm-util instead
7235
7236 2007-10-23  Dan Williams  <dcbw@redhat.com>
7237
7238         * libnm-util/nm-utils.c
7239           libnm-util/nm-utils.h
7240                 - (nm_utils_ap_security_compatible): common function for checking
7241                         whether a specific AP is compatible with an NMConnection
7242
7243 2007-10-23  Dan Williams  <dcbw@redhat.com>
7244
7245         * libnm-util/nm-setting.c
7246                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7247                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7248                    need_secrets_password, setting_wireless_security_verify): fix
7249                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7250                         secrets logic for each supported EAP method
7251
7252 2007-10-23  Dan Williams  <dcbw@redhat.com>
7253
7254         * src/supplicant-manager/nm-supplicant-config.c
7255                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7256                         config option name, should be "private_key2_passwd"
7257
7258 2007-10-22  Tambet Ingo  <tambet@gmail.com>
7259
7260         Implement support for static IP addresses, additional/overridden DNS and
7261         DNS domain search lists.
7262
7263         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7264         (ip4_addresses_to_gvalue): Implement.
7265         (convert_array_to_byte_array): Implement.
7266         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7267         NM_S_TYPE_IP4_ADDRESSES.
7268         (nm_setting_hash): Ditto.
7269         (default_setting_clear_secrets): Add a default case for the switch: IP address
7270         shouldn't be secret, ever.
7271         (setting_ip4_config_verify): Update, requires addresses in case of manual
7272         configurations.
7273         (setting_ip4_config_destroy): Free stuff.
7274
7275         * src/nm-device.c (merge_ip4_config): Implement.
7276         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7277
7278 2007-10-22  Dan Williams  <dcbw@redhat.com>
7279
7280         * libnm-util/nm-setting.c
7281                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7282                         pairwise cipher options for Dynamic WEP
7283
7284 2007-10-21  Dan Williams  <dcbw@redhat.com>
7285
7286         * src/NetworkManagerAP.c
7287           src/NetworkManagerAP.h
7288                 - Rename 'articifical' -> 'fake' since that's what they are until
7289                         noticed in scans
7290                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7291                         from the attributes in an NMConnection object
7292                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7293                         WPA Enterprise
7294                 - (nm_ap_match_in_list): find a matching AP in a scan list
7295
7296         * src/nm-device-802-11-wireless.c
7297                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7298                         AP when searching the scan list; match on frequency and mode too
7299                 - (nm_device_802_11_wireless_get_frequency): implement
7300                 - (merge_scanned_ap): replace duplicate matching logic with
7301                         nm_ap_match_in_list()
7302                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7303                         the user is trying to connect to a hidden network that is not yet
7304                         known from the scan list
7305                 - (activation_success_handler): now that the card knows the AP's BSSID,
7306                         there may already be a scanned AP in the scan list that is what
7307                         we really wanted to connect to, but didn't know at the time.  Use
7308                         that instead of the 'fake' AP created at activation start and get
7309                         rid of the 'fake' AP 
7310                 - (cull_scan_list): don't remove fake APs
7311
7312 2007-10-21  Dan Williams  <dcbw@redhat.com>
7313
7314         * src/nm-activation-request.h
7315           src/nm-activation-request.c
7316                 - (nm_act_request_set_specific_object): new function; allow setting the
7317                         specific object if one isn't set yet
7318
7319 2007-10-20  Dan Williams  <dcbw@redhat.com>
7320
7321         * src/supplicant-manager/nm-supplicant-config.h
7322           src/supplicant-manager/nm-supplicant-config.c
7323                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7324                         table to store blobs
7325                 - (nm_supplicant_config_add_blob): new function; add blob to internal
7326                         blob hash table
7327                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7328                 - (nm_supplicant_config_add_setting_wireless_security): handle
7329                         options that use certificates (ie, blobs)
7330
7331         * src/nm-device-802-11-wireless.c
7332                 - (build_supplicant_config): pass a UID (just use the connection path)
7333                         to the supplicant config as now required
7334
7335         * src/supplicant-manager/nm-supplicant-interface.c
7336                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7337                         there are any blobs to send to wpa_supplicant, send those first
7338                         before sending the network configuration
7339
7340 2007-10-19  Dan Williams  <dcbw@redhat.com>
7341
7342         Split the GetSecrets() call off to a separate D-Bus interface so that it
7343         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
7344         should be able to call GetSecrets().
7345
7346         * include/NetworkManager.h
7347                 - Define the connection secrets D-Bus interface
7348
7349         * src/vpn-manager/nm-vpn-connection.c
7350                 - (clear_need_auth): get the right proxy object for the connection
7351                         secrets interface
7352                 - (get_connection_secrets): use the connection secrets proxy; send
7353                         empty hints in get secrets request
7354
7355         * src/nm-activation-request.c
7356                 - (nm_act_request_request_connection_secrets): use the connection
7357                         secrets proxy; send empty hints in get secrets request
7358
7359         * src/nm-manager.c
7360           src/nm-manager.h
7361                 - (connection_get_settings_cb): set the connection secrets proxy on
7362                         the connection object too
7363                 - (internal_new_connection_cb): create the connection secrets proxy
7364
7365         * introspection/nm-settings-connection.xml
7366                 - Define Connection.Secrets interface and move GetSecrets there
7367                 - Add a 'hints' argument to GetSecrets
7368
7369         * libnm-glib/nm-settings.c
7370           libnm-glib/nm-settings.h
7371                 - (impl_connection_settings_get_secrets): add 'hints' argument
7372
7373 2007-10-19  Dan Williams  <dcbw@redhat.com>
7374
7375         * src/nm-device.c
7376                 - (constructor): add message about what path a device is exported as
7377                         to help in debugging rh #339011
7378
7379 2007-10-17  Dan Williams  <dcbw@redhat.com>
7380
7381         * libnm-util/nm-utils.h
7382           libnm-util/nm-utils.c
7383                 - (nm_utils_security_valid): common function to help find the intersection
7384                         of capabilities of devices and (optionally) access points
7385
7386 2007-10-17  Dan Williams  <dcbw@redhat.com>
7387
7388         * src/nm-device-802-11-wireless.c
7389                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7390                         don't get erroneously cleared
7391
7392 2007-10-17  Dan Williams  <dcbw@redhat.com>
7393
7394         * src/nm-manager.h
7395           src/nm-manager.c
7396           src/nm-hal-manager.c
7397                 - (device_removed, finalize, nm_manager_remove_device,
7398                    nm_manager_sleep): add a 'deactivate' argument to 
7399                    nm_manager_remove_device() to fully deactivate devices when necessary
7400                    (ie, always except when waking up)
7401
7402 2007-10-16  Dan Williams  <dcbw@redhat.com>
7403
7404         * libnm-util/nm-setting.c
7405                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7406                         also isn't valid phase2 autheap method
7407
7408 2007-10-16  Dan Williams  <dcbw@redhat.com>
7409
7410         * libnm-glib/nm-client.c
7411                 - (update_wireless_status): consolidate updates of wireless status
7412                 - (constructor): use update_wireless_status()
7413                 - (manager_running): set wireless status off when NM goes away; requery
7414                         the wireless status when NM comes back
7415
7416 2007-10-16  Dan Williams  <dcbw@redhat.com>
7417
7418         * libnm-glib/nm-client.c
7419                 - (nm_client_activate_device): actually use the fixed-up specific
7420                         object path
7421
7422 2007-10-16  Dan Williams  <dcbw@redhat.com>
7423
7424         * src/nm-hal-manager.c
7425                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7426                         killswitch error messages once
7427
7428 2007-10-16  Dan Williams  <dcbw@redhat.com>
7429
7430         * src/nm-manager.c
7431                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7432                         if it's disabled in hardware; don't touch network devices while
7433                         NM is asleep
7434
7435 2007-10-16  Dan Williams  <dcbw@redhat.com>
7436
7437         * libnm-util/nm-client.c
7438                 - (nm_client_activate_device): convert NULL specific_object to "/",
7439                         which is used in place of NULL
7440
7441         * src/nm-manager.c
7442                 - (impl_manager_activate_device): convert "/" specific_object back into
7443                         NULL
7444
7445 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7446
7447         Implement a generic NMSetting creator from setting name.
7448         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7449         add a virtual function 'populate_fn'.
7450
7451         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7452         (register_default_creators): Register setting creators instead of functions
7453         that create and then populate.
7454         (parse_one_setting): Use the common setting creator and then setting specific
7455         poplulation function.
7456
7457         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7458         they all looked exactly the same.
7459         Add a 'populate_fn' virtual function to NMSetting.
7460         Use default virtual functions in case they are not overriden.
7461         (nm_setting_populate_from_hash): Implement.
7462
7463         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7464         name, use a defined string.
7465         (real_act_stage4_get_ip4_config): Ditto.
7466
7467 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7468
7469         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7470         HAL is int, not uint.
7471
7472 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7473
7474         Implement killswitch polling through HAL.
7475
7476         * src/nm-manager.c: Add wireless hardware status property. Add 
7477         'properties-changed' signal for changes in wireless and wireless hardware
7478         state changes.
7479
7480         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7481         and update NMManager's wireless hardware state when it has changed.
7482         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7483         already does that.
7484
7485         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7486         values of wireless state and wireless hardware state. Listen for the
7487         'properties-changed' signals, update the cached values and emit notify.
7488
7489         * include/NetworkManager.h: Fix a typo in a comment.
7490
7491 2007-10-14  Dan Williams  <dcbw@redhat.com>
7492
7493         * libnm-util/nm-setting.c
7494                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7495
7496 2007-10-13  Dan Williams  <dcbw@redhat.com>
7497
7498         * libnm-util/nm-setting.h
7499           libnm-util/nm-setting.c
7500           src/supplicant-manager/nm-supplicant-config.c
7501                 - Make the 'proto' field of the 802-11-wireless-security field a
7502                         string list
7503
7504 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7505
7506         Rework the "properties-changed" signal listening implementation.
7507         Add a generic implementation to NMObject class that listens for
7508         the signal and calls property setters of the target NMObject.
7509
7510         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7511
7512         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7513         code to the end of file so that all the static functions are available
7514         without extra declarations.
7515         Remove the "properties-changed" signal handling and use the framework from
7516         NMObject.
7517         Implement property setters for properties that change with 
7518         "properties-changed" signal.
7519
7520         * libnm-glib/nm-access-point.c: Ditto.
7521
7522 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7523
7524         Rework the "properties-changed" signal implementation.
7525         In classes that need to use it, just emit "GObject::notify" and the new
7526         framework takes care of the rest to make the signal available on dbus.
7527         The framework queues the notifications and tries to send as many together
7528         in one signal as possible.
7529
7530         * src/nm-properties-changed-signal.c:
7531         * src/nm-properties-changed-signal.h: Implement.
7532
7533         * src/Makefile.am: Add new files to build.
7534
7535         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7536         signal.
7537
7538         * src/nm-device-802-11-wireless.c: Ditto.
7539
7540 2007-10-10  Dan Williams  <dcbw@redhat.com>
7541
7542         * src/nm-manager.c
7543                 - (wait_for_connection_expired): ensure info is valid
7544                 - (connection_added_default_handler): Should only remove pending
7545                         connection info when the manager has the connection that it's
7546                         waiting for.  Fixes segfault in wait_for_connection_info().  
7547
7548 2007-10-10  Dan Williams  <dcbw@redhat.com>
7549
7550         * libnm-util/nm-setting.c
7551           libnm-util/nm-setting.h
7552                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7553                         can use if they choose.  Should be filled in by the settings service
7554                         on-the-fly with the currently logged in user's username
7555
7556 2007-10-10  Dan Williams  <dcbw@redhat.com>
7557
7558         * src/nm-device-802-11-wireless.c
7559                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7560                         as such, because even if the manager fills in the SSID, NM still
7561                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7562                         its SSID
7563
7564 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7565
7566         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7567         code that used NM's own version of dbus signal handling and custom dictionary
7568         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7569         and we get to maintain over 2000 lines less code.
7570
7571         * libnm-util/dbus-dict-helpers.c:
7572         * libnm-util/dbus-dict-helpers.h: Remove.
7573
7574         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7575
7576         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7577
7578         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7579         handlers.
7580
7581         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7582
7583         * configure.in: Remove test/libnm-util/Makefile creation.
7584
7585         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7586
7587         * test/libnm-util/: Remove the whole directory.
7588
7589 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7590
7591         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7592         device_state_changed_idle_id variable or it would contain some random value and the
7593         schedule_change_check calls would not do anything.
7594
7595 2007-10-09  Dan Williams  <dcbw@redhat.com>
7596
7597         * src/nm-device-802-11-wireless.c
7598                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7599                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7600                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7601                         merging of non-SSID-broadcasting APs
7602
7603 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7604
7605         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7606         "guint8 *" since it's usually used with GByteArray->data.
7607         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7608
7609 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7610
7611         * src/NetworkManagerUtils.c
7612         (nm_utils_is_empty_ssid):
7613         (nm_utils_escape_ssid):
7614         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7615         lot of places, so they belong to libnm-utils instead.
7616
7617         Now with 100% less compiler warnings:
7618
7619         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7620         (nm_dbus_unescape_object_path): Ditto.
7621         (nm_utils_ssid_to_utf8): Ditto.
7622         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7623         (nm_utils_escape_ssid): Ditto.
7624         (nm_utils_same_ssid): Ditto.
7625
7626         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7627         (add_one_connection_element): Remove an unused variable.
7628         (impl_manager_get_active_connections): Ditto.
7629
7630         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7631         variable.
7632
7633         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7634         from the previous commit.
7635
7636         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7637         (real_act_stage1_prepare): Ditto.
7638         (activation_success_handler): Ditto.
7639         (get_property): Ditto.
7640
7641         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7642         variable.
7643
7644         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7645         it's always set.
7646
7647         * src/supplicant-manager/nm-supplicant-config.c 
7648         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7649         to expected "char *".
7650         (nm_supplicant_config_add_setting_wireless): Ditto.
7651         (nm_supplicant_config_remove_option): Remove, not used.
7652
7653         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7654         not double.
7655         (test_wireless_enabled): Ifdef out unused function.
7656         (device_deactivate): Ditto.
7657         (device_state_changed): Ditto.
7658         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7659         (nm_utils_escape_ssid): Ditto.
7660
7661         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7662         (nm_utils_is_empty_ssid): Ditto.
7663
7664         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7665         unused variable.
7666
7667         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7668         (setting_vpn_properties_update_secrets): Ditto.
7669         (int_to_gvalue): Ifdef out for now, not used.
7670         (byte_to_gvalue): Ditto.
7671
7672         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7673         Unused, remove.
7674
7675 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7676
7677         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7678         about dbus manager, not named manager.
7679         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7680
7681         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7682         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7683         However, the same signal is emitted when we destroy it and there's 
7684         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7685
7686         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7687         releasing the DBusGConnection, since proxy needs a conneciton.
7688         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7689
7690 2007-10-08  Dan Williams  <dcbw@redhat.com>
7691
7692         * src/NetworkManager.c
7693                 - (main): error on unknown command-line options
7694
7695 2007-10-08  Dan Williams  <dcbw@redhat.com>
7696
7697         Reimplement the invalid connection list.  Don't try to re-activate a
7698         connection that just failed or was canceled.
7699
7700         * src/nm-device.c
7701                 - (connection_secrets_failed_cb): fail device activation, don't just
7702                         deactivate the device.  Listeners have to know about the failure.
7703
7704         * src/NetworkManagerPolicy.c
7705                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7706                         the connection list given to a device's get_best_connection()
7707                         method
7708                 - (device_state_changed): tag failed connections as invalid; clear the
7709                         tag from successful connections
7710
7711 2007-10-08  Dan Williams  <dcbw@redhat.com>
7712
7713         Fix problems with interrupted activation.  Previously, choosing an AP
7714         from the menu, then choosing another one before the first connection was
7715         successful wouldn't deactivate the device before starting the new connection
7716         on that same device.
7717
7718         * src/NetworkManagerPolicy.c
7719                 - (deactivate_old_device, device_state_changed, state_changed,
7720                    nm_policy_new): wrong place to deactivate old devices
7721
7722         * src/nm-manager.c
7723                 - (pending_connection_info_destroy, finalize,
7724                    wait_for_connection_expired): decouple destruction of the pending
7725                         connection info from the manager device
7726                 - (connection_added_default_handler): deactivate any active or
7727                         activating device before starting a new activation
7728                 - (impl_manager_activate_device): deactivate any active or activating
7729                         device before starting a new activation; be sure not to leak
7730                         pending connection info if a new activation request arrives but
7731                         there's already a pending one in-process
7732
7733 2007-10-08  Dan Williams  <dcbw@redhat.com>
7734
7735         * src/NetworkManagerAP.h
7736           src/NetworkManagerAP.c
7737                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7738                         should handle default SSIDs and whether or not to autoconnect
7739                         to them
7740
7741 2007-10-08  Dan Williams  <dcbw@redhat.com>
7742
7743         * src/NetworkManagerPolicy.c
7744                 - (nm_policy_device_change_check): print out connection name where
7745                         possible
7746
7747 2007-10-08  Dan Williams  <dcbw@redhat.com>
7748
7749         * src/nm-device-802-11-wireless.c
7750           src/nm-device-802-11-wireless.h
7751                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7752                         'hidden-ap-found' signal (for internal use only) that allows the
7753                         NMManager to fill in the AP's SSID if a connection has that AP's
7754                         BSSID in its seen-bssids list
7755
7756         * src/nm-manager.c
7757                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7758                         wireless device's hidden-ap-found signal and fill in the APs SSID
7759                         if possible
7760
7761 2007-10-07  Dan Williams  <dcbw@redhat.com>
7762
7763         * src/nm-manager.c
7764           src/nm-manager.h
7765                 - Add a 'connections-added' signal to batch together updates of large
7766                         numbers of connections, like when reading from a settings service
7767                         the first time.  Otherwise, the policy would just activate the first
7768                         suitable connection it saw rather than waiting for the full list
7769                         to arrive.
7770                 - (nm_manager_class_init): register new signal
7771                 - (get_type_for_proxy, connection_get_settings_cb,
7772                    get_connection_for_proxy): centralize places where a proxy's setting
7773                         service is determined
7774                 - (free_get_settings_info): if the call being freed is the last call
7775                         in a pending call group, fire off the connections-added signal
7776                 - (internal_new_connection_cb): add call to a pending call group if
7777                         requested
7778                 - (list_connections_cb): always create a call group here, because this
7779                         call results in a batch of new connections
7780                 - (initial_get_connections): start getting system connections first
7781                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7782                         removed signal when destroying connections
7783
7784         * src/NetworkManagerPolicy.c
7785                 - (nm_policy_new, connections_added): handle connections-added signal
7786                         from the manager
7787
7788 2007-10-06  Dan Williams  <dcbw@redhat.com>
7789
7790         * src/nm-device-802-11-wireless.c
7791                 - (constructor): fix leaked socket
7792
7793 2007-10-06  Dan Williams  <dcbw@redhat.com>
7794
7795         * src/NetworkManagerPolicy.c
7796                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7797                         connection in the list returned by nm_manager_get_connections() is
7798                         reffed, but they weren't getting unreffed before returning
7799
7800 2007-10-06  Dan Williams  <dcbw@redhat.com>
7801
7802         * src/nm-manager.c
7803                 - (connections_to_slist): sort connections first on autoconnect, then
7804                         on timestamp
7805
7806 2007-10-06  Dan Williams  <dcbw@redhat.com>
7807
7808         * libnm-util/nm-connection.c
7809                 - (gvalue_to_string): handle UINT64
7810
7811 2007-10-06  Dan Williams  <dcbw@redhat.com>
7812
7813         * src/NetworkManagerPolicy.c
7814                 - (connection_updated, nm_policy_new): recheck state when a connection
7815                         gets updated
7816
7817 2007-10-06  Dan Williams  <dcbw@redhat.com>
7818
7819         * src/nm-manager.c
7820           src/nm-manager.h
7821                 - (nm_manager_get_connection_dbus_path): make static
7822                 - (nm_manager_update_connections): remove; unused
7823                 - Add a connection-updated signal
7824                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7825                         handle connection object updates
7826
7827 2007-10-06  Dan Williams  <dcbw@redhat.com>
7828
7829         * src/NetworkManagerPolicy.c
7830                 - (connection_removed): deactivate removed connections
7831
7832 2007-10-06  Dan Williams  <dcbw@redhat.com>
7833
7834         * libnm-util/nm-connection.c
7835           libnm-util/nm-connection.h
7836                 - (nm_connection_replace_settings): new function
7837
7838 2007-10-06  Dan Williams  <dcbw@redhat.com>
7839
7840         * libnm-glib/nm-device-802-11-wireless.c
7841                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7842                         on error when getting the active access point over D-Bus from NM
7843
7844 2007-10-05  Dan Williams  <dcbw@redhat.com>
7845
7846         * libnm-util/nm-setting.c
7847                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7848                         to the NMSettingWireless table; it's now a string array not an array
7849                         of byte arrays
7850
7851 2007-10-05  Dan Williams  <dcbw@redhat.com>
7852
7853         * libnm-glib/nm-device-802-11-wireless.c
7854                 - Cache properties and update cached properties on D-Bus signals from NM
7855
7856 2007-10-05  Dan Williams  <dcbw@redhat.com>
7857
7858         * src/nm-device-802-11-wireless.c
7859                 - (set_current_ap): consolidate current_ap handling code into one place
7860                         to ensure that PropertiesChanged signals are emitted in all cases
7861                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7862                    nm_device_802_11_wireless_dispose): use set_current_ap()
7863
7864 2007-10-05  Dan Williams  <dcbw@redhat.com>
7865
7866         * libnm-glib/nm-access-point.c
7867           libnm-glib/nm-access-point.h
7868                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7869                         because the value is cached internally now.  Callers should not
7870                         free the internal value.
7871                 - Make signal name defines private
7872
7873         * test/nm-tool.c
7874           libnm-glib/libnm-glib-test.c
7875                 - Don't free value returned from nm_access_point_get_hw_address()
7876
7877 2007-10-04  Dan Williams  <dcbw@redhat.com>
7878
7879         * introspection/nm-device-802-11-wireless.xml
7880           src/nm-device-802-11-wireless.h
7881           src/nm-device-802-11-wireless.c
7882                 - Add a PropertiesChanged signal for wireless device
7883                 - Store currently associated access point
7884                 - (periodic_update): generalize; update rate here too and emit the
7885                         correct PropertiesChanged signal when stuff changes
7886                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7887                    real_activation_cancel_handler): clear current_ap when device is
7888                         deactivated
7889                 - (link_to_specific_ap, get_ap_blacklisted,
7890                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7891                         code
7892                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7893                         outside this file
7894                 - (real_set_hw_address): emit property changed signal if the card's
7895                         MAC address changes
7896                 - (real_act_stage1_prepare): set the initial current_ap to the AP
7897                         the card is supposed to be connecting to
7898                 - (activation_success_handler): send out property updates on successful
7899                         activation
7900                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7901                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
7902                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7903                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7904                         is now boxed; add PropertiesChanged signal
7905
7906 2007-10-04  Dan Williams  <dcbw@redhat.com>
7907
7908         * libnm-util/nm-connection.c
7909           libnm-util/nm-connection.h
7910                 - (nm_connection_verify): new function
7911
7912 2007-10-04  Dan Williams  <dcbw@redhat.com>
7913
7914         * libnm-util/nm-setting.c
7915                 - (nm_settings_verify): use #defines when possible rather than strings
7916                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7917                 - (setting_vpn_verify): tighter validity check on 'service_type'
7918
7919 2007-10-04  Dan Williams  <dcbw@redhat.com>
7920
7921         * libnm-glib/nm-settings.c
7922                 - (nm_connection_settings_class_init): provide correct type for argument
7923                         to the Updated signal so that dbus-glib knows how to marshal it
7924
7925 2007-10-03  Dan Williams  <dcbw@redhat.com>
7926
7927         * src/nm-device-802-3-ethernet.c
7928                 - (real_get_best_connection): don't create automatic connections
7929                         internally; clients should provide a setting that applies to
7930                         the device with 'autoconnect: True'.  Problem was that these
7931                         internally auto-created connections don't have a proxy or service
7932                         name becuase they weren't created by a settings daemon, and therefore
7933                         clients have no idea what to do with them.
7934
7935 2007-10-03  Dan Williams  <dcbw@redhat.com>
7936
7937         * src/nm-device-802-11-wireless.c
7938           src/nm-device-802-11-wireless.h
7939           introspection/nm-device-802-11-wireless.xml
7940                 - GetActiveNetworks -> GetAccessPoints
7941                 - ActiveNetwork -> ActiveAccessPoint
7942                 - NetworkAdded -> AccessPointAdded
7943                 - NetowrkRemoved -> AccessPointRemoved
7944
7945         * libnm-glib/nm-device-802-11-wireless.c
7946           libnm-glib/nm-device-802-11-wireless.h
7947                 - network-added signal -> access-point-added
7948                 - network-removed signal -> access-point-removed
7949                 - nm_device_802_11_wireless_get_active_network() ->
7950                         nm_device_802_11_wireless_get_active_access_point()
7951                 - nm_device_802_11_wireless_get_network_by_path() ->
7952                         nm_device_802_11_wireless_get_access_point_by_path()
7953                 - nm_device_802_11_wireless_get_networks() ->
7954                         nm_device_802_11_wireless_get_access_points()
7955
7956         * libnm-glib/libnm-glib-test.c
7957           test/nm-tool.c
7958           src/NetworkManagerPolicy.c
7959                 - Fixups for Network -> AccessPoint
7960
7961 2007-10-03  Dan Williams  <dcbw@redhat.com>
7962
7963         Add a GetActiveConnections() method on the Manager object.
7964
7965         * src/nm-manager.c
7966           src/nm-manager.h
7967           introspection/nm-manager.xml
7968                 - (connection_get_settings_cb): keep connection type around too
7969                 - (impl_manager_get_active_connections, add_one_connection_element):
7970                         implement; returns all active connections and what devices they
7971                         apply to
7972
7973         * libnm-glib/nm-client.c
7974           libnm-glib/nm-client.h
7975           introspection/nm-manager-client.xml
7976                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7977                         by the caller; free here to avoid memory leak
7978                 - (nm_client_get_active_connections): implement; return the list of
7979                         active connections
7980                 - (nm_client_free_active_connection_element): implement; free an element
7981                         of the GSList returned by nm_client_get_active_connections()
7982
7983 2007-10-03  Dan Williams  <dcbw@redhat.com>
7984
7985         * src/nm-device-802-11-wireless.c
7986                 - (nm_device_802_11_wireless_update_bssid): remove
7987                 - (get_active_ap): new function; find the AP in the scan list which
7988                         matches the current BSSID and SSID of the wireless device
7989                 - (nm_device_802_11_periodic_update): get current AP using
7990                         get_active_ap() and print AP roam messages
7991
7992 2007-10-01  Dan Williams  <dcbw@redhat.com>
7993
7994         * libnm-util/nm-setting.h
7995                 - Add a 'timestamp' option to NMSettingConnection
7996                 - Add a UINT64 type
7997
7998         * libnm-util/nm-setting.c
7999                 - (uint64_to_gvalue): new function
8000                 - (nm_setting_populate_from_hash, nm_setting_hash,
8001                    default_setting_clear_secrets): handle UINT64 type
8002                 - con_table: add 'timestamp' member
8003
8004 2007-10-01  Dan Williams  <dcbw@redhat.com>
8005
8006         * src/nm-manager.c
8007                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
8008                         value when the connection can be activated immediately
8009
8010 2007-10-01  Dan Williams  <dcbw@redhat.com>
8011
8012         * libnm-glib/nm-device.c
8013                 - (nm_device_class_init): actually tell glib about the carrier-changed
8014                         signal
8015
8016 2007-10-01  Dan Williams  <dcbw@redhat.com>
8017
8018         * configure.in
8019           src/marshallers/Makefile.am
8020           src/marshallers/nm-marshal.list
8021           src/marshallers/nm-marshal-main.c
8022                 - Consolidate glib marshallers into one place
8023
8024         * src/dhcp-manager/Makefile.am
8025           src/dhcp-manager/nm-dhcp-manager.c
8026           src/supplicant-manager/Makefile.am
8027           src/supplicant-manager/nm-supplicant-manager.c
8028           src/supplicant-manager/nm-supplicant-interface.c
8029           src/ppp-manager/Makefile.am
8030           src/ppp-manager/nm-ppp-manager.c
8031           src/vpn-manager/Makefile.am
8032           src/vpn-manager/nm-vpn-connection.c
8033           src/Makefile.am
8034                 - Use consolidated marshallers
8035
8036         * src/dhcp-manager/nm-dhcp-marshal.list
8037           src/dhcp-manager/nm-dhcp-marshal-main.c
8038           src/supplicant-manager/nm-supplicant-marshal-main.c
8039           src/supplicant-manager/nm-supplicant-marshal.list
8040           src/nm-marshal-main.c
8041           src/nm-marshal.list
8042           src/ppp-manager/nm-ppp-marshal-main.c
8043           src/ppp-manager/nm-ppp-marshal.list
8044           src/vpn-manager/nm-vpn-marshal-main.c
8045           src/vpn-manager/nm-vpn-marshal.list
8046                 - Remove
8047
8048 2007-10-01  Dan Williams  <dcbw@redhat.com>
8049
8050         * include/NetworkManagerVPN.h
8051                 - define VPN connection state change reason codes
8052
8053         * src/vpn-manager/Makefile.am
8054           src/vpn-manager/nm-vpn-marshal.list
8055           src/vpn-manager/nm-vpn-marshal-main.c
8056                 - Add marshallers for StateChanged signal
8057
8058         * introspection/nm-vpn-connection.xml
8059                 - New Banner property
8060                 - StateChanged signal now includes a 'reason' argument
8061
8062         * src/vpn-manager/nm-vpn-connection.c
8063           src/vpn-manager/nm-vpn-connection.h
8064                 - Add a "Banner" property that contains the returned VPN server login
8065                         banner (if any); valid only in the ACTIVATED state
8066                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8067                         a 'reason' argument and emits that reason along with the
8068                         state-changed signal
8069                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8070                 - (nm_vpn_connection_ip4_config_get): save banner for later
8071                 - (nm_vpn_connection_get_banner, get_property,
8072                    nm_vpn_connection_class_init): implement Banner property
8073
8074         * src/vpn-manager/nm-vpn-service.c
8075                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8076                         connection list because elements may get added/removed from it
8077                         while iterating over the list
8078                 - (connection_state_changed): signal now includes the 'reason' argument
8079
8080         * libnm-glib/nm-vpn-connection.c
8081           libnm-glib/nm-vpn-connection.h
8082                 - (nm_vpn_connection_get_banner): new function
8083                 - (state_changed_proxy): handle reason argument
8084
8085 2007-09-28  Tambet Ingo  <tambet@gmail.com>
8086
8087         * src/nm-manager.c:
8088         * src/nm-manager.h:
8089         Implement device activation through NMManager.
8090         Implement "pending device activation" here - If the connection isn't found,
8091         we try to wait for up to 5 seconds for the connection to be provided.
8092         Add NMConnectionType argument to "connection-added" and "connection-removed"
8093         signals.
8094         (nm_manager_get): Remove. Finally.
8095
8096         * src/nm-activation-request.c: 
8097         * src/nm-activation-request.h: 
8098         Remove all the deferred activation code.
8099
8100         * src/nm-device.c: Remove all the deferred activation code. Once the device
8101         activation is started, it's started. Update the activation virtual function
8102         signature.
8103
8104         * src/nm-device-interface.c:
8105         * src/nm-device-interface.h:
8106         Device activation now takes only NMActRequest argument.
8107         Don't expose device activation directly on dbus, it's supposed to go through
8108         NMManager now.
8109
8110         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8111         a bit more compact.
8112         Use the new device activation methods through NMManager.
8113
8114         * introspection/nm-manager-client.xml: 
8115         * introspection/nm-manager.xml: 
8116         * libnm-glib/nm-client.c:
8117         * libnm-glib/nm-client.h:
8118         Add device activation method.
8119         
8120         * libnm-glib/nm-device.c: 
8121         * libnm-glib/nm-device.h: 
8122         * introspection/nm-device.xml: 
8123         Remove device activation method. It's done through NMManager now.
8124
8125         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8126         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8127
8128 2007-09-28  Dan Williams  <dcbw@redhat.com>
8129
8130         * libnm-glib/nm-vpn-connection.c
8131                 - (nm_vpn_connection_get_state): try to update state if the current
8132                         state is UNKNOWN
8133
8134 2007-09-27  Dan Williams  <dcbw@redhat.com>
8135
8136         Patch from Bill Nottingham
8137
8138         * src/supplicant-manager/nm-supplicant-config.c
8139                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8140                         data to the supplicant
8141
8142 2007-09-27  Dan Williams  <dcbw@redhat.com>
8143
8144         * src/NetworkManagerSystem.c
8145                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8146                         and all address manipulation here should be happening on the
8147                         _VPN_ device, not the active device
8148
8149 2007-09-26  Dan Williams  <dcbw@redhat.com>
8150
8151         * src/nm-manager.c
8152           src/nm-manager.h
8153           src/nm-activation-request.c
8154           src/nm-activation-request.h
8155                 - Move the GetSecrets stuff out of the NMManager instance because it
8156                         doesn't really need to be there and complicates things
8157
8158         * src/nm-device.c
8159                 - (connection_secrets_failed_cb, device_activation_go): connect to the
8160                         connection-secrets-failed signal and deactivate the device if
8161                         the GetSecrets call fails
8162
8163         * src/nm-device-802-11-wireless.c
8164                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8165                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8166                         secrets and give correct hints about whether new secrets should be
8167                         asked for by the client or not
8168
8169 2007-09-26  Dan Williams  <dcbw@redhat.com>
8170
8171         * src/vpn-manager/nm-vpn-connection.c
8172                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8173                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8174                         to the secrets-updated signal of the NMConnection since updating
8175                         the secrets is done within the scope of the NMVPNConnection object
8176                         already
8177                 - (get_connection_secrets): fix an uninialized variable usage error
8178
8179 2007-09-26  Dan Williams  <dcbw@redhat.com>
8180
8181         * libnm-util/nm-setting.c
8182                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8183                         actually get updated when the user enters them
8184
8185 2007-09-26  Dan Williams  <dcbw@redhat.com>
8186
8187         * libnm-glib/nm-vpn-plugin.c
8188                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8189
8190 2007-09-26  Dan Williams  <dcbw@redhat.com>
8191
8192         * include/NetworkManagerVPN.h
8193                 - Add a NEED_AUTH state
8194
8195         * src/vpn-manager/nm-vpn-connection.c
8196                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
8197                         the connection needs secrets, and if so, then ask the settings
8198                         service to fill in the secrets.  Then start the connection.
8199
8200 2007-09-26  Dan Williams  <dcbw@redhat.com>
8201
8202         * src/vpn-manager/nm-vpn-manager.c
8203                 - (new_vpn_error, impl_vpn_manager_connect): set errors
8204
8205 2007-09-26  Dan Williams  <dcbw@redhat.com>
8206
8207         * introspection/nm-vpn-plugin.xml
8208           libnm-glib/nm-vpn-plugin.c
8209           libnm-glib/nm-vpn-plugin.h
8210                 - (impl_vpn_plugin_need_secrets): implement a call that should return
8211                         the name of the NMSetting in an NMConnection that may require
8212                         secrets specific to that VPN plugin
8213
8214 2007-09-26  Dan Williams  <dcbw@redhat.com>
8215
8216         * src/nm-manager.c
8217           src/nm-manager.h
8218                 - (nm_manager_get_connection_secrets): make static, unused outside
8219                         the file
8220                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8221
8222 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8223
8224         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8225         method.
8226         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8227         unreference the connection.
8228
8229         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8230         passing properties hash and routes string list, pass NMConnection (in hashed form).
8231
8232         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8233         as GSList, no need to copy stuff around anymore.
8234         (nm_vpn_connection_activate): Update the plugin activation method.
8235
8236         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8237         routes argument to GSList.
8238
8239 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8240
8241         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8242         state and try to get the secrets.
8243
8244         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8245         connections from NMManager and let the device to choose the best from the list.
8246         Since the connection list is sorted by system ones first and user ones later,
8247         the devices still prefer system connections like they did before.
8248         (deactivate_old_device): Implement. When a device starts activation, we have a
8249         policy (for now at least) to deactivate any other device that might be either
8250         active or still activating.
8251
8252         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8253         It's set on construction, there will be no other way to access it.
8254
8255         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8256         device events and drive the device, not the other way around.
8257
8258         * src/nm-device-802-3-ethernet.c: Ditto.
8259
8260         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8261         sent along, pass it on to virtual functions.
8262
8263         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8264         for now, but should really be public instead of nm_device_get_iface() since iface
8265         is a property of the DeviceInterface, not Device.
8266         (impl_device_activate): Don't touch NMManager!
8267
8268 2007-09-26  Jürg Billeter  <j@bitron.ch>
8269
8270         * initscript/paldo/NetworkManager.in:
8271         * initscript/paldo/NetworkManagerDispatcher.in:
8272         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8273         (nm_system_flush_loopback_routes): update paldo backend
8274
8275 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8276
8277         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8278         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8279         which means none of the devices get brought down properly, which in turn leaves
8280         DHCP client running.
8281
8282         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8283         (supplicant_connection_timeout_cb): Ditto.
8284
8285 2007-09-25  Dan Williams  <dcbw@redhat.com>
8286
8287         * src/nm-device.c
8288                 - (device_activation_go): small hack to work around race when
8289                         activating deferred connections; should solve this in a better way
8290
8291 2007-09-25  Dan Williams  <dcbw@redhat.com>
8292
8293         * introspection/nm-device.xml
8294           libnm-glib/nm-device.c
8295           libnm-glib/nm-device.h
8296                 - Add 'Carrier' property to exported NMDevice objects
8297
8298         * src/nm-device-interface.h
8299           src/nm-device-interface.c
8300           src/nm-device.c
8301                 - Add a 'carrier' property to internal NMDevice objects
8302
8303 2007-09-25  Dan Williams  <dcbw@redhat.com>
8304
8305         * src/nm-device-802-11-wireless.c
8306                 - (ap_auth_enforced): also return the encryption status of the AP so
8307                         that callers can differentiate easily between unencrypted APs
8308                         and encrypted ones, in addition to whether the AP has an
8309                         authenticator
8310                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8311                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8312                         previously would request secrets from unencrypted APs at times
8313
8314 2007-09-25  Dan Williams  <dcbw@redhat.com>
8315
8316         * src/nm-manager.c
8317                 - (nm_manager_update_state): new function; updates state and emits
8318                         appropriate signals ensuring a state-change signal for the same state
8319                         never gets emitted twice in a row.
8320                 - (manager_device_state_changed): handle more device state to get a
8321                         better picture of the overall NM state
8322
8323 2007-09-25  Dan Williams  <dcbw@redhat.com>
8324
8325         * libnm-glib/nm-settings.c
8326           libnm-glib/nm-settings.h
8327                 - (new_error -> nm_settings_new_error): make public so that subclasses
8328                         can use the same error domain.  Also pass a valid error code to
8329                         g_error_new_literal() so that libdbus doesn't assert when converting
8330                         the GError into a DBusError
8331                 - (impl_settings_list_connections, impl_connection_settings_get_id,
8332                    impl_connection_settings_get_settings,
8333                    impl_connection_settings_get_secrets): use new error creator
8334                         function
8335
8336 2007-09-25  Dan Williams  <dcbw@redhat.com>
8337
8338         * src/NetworkManager.c
8339                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8340
8341 2007-09-25  Dan Williams  <dcbw@redhat.com>
8342
8343         * src/supplicant-manager/nm-supplicant-manager.c
8344                 - (poke_supplicant_cb, nm_supplicant_manager_init,
8345                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8346                    nm_supplicant_manager_startup): when the supplicant isn't running,
8347                         try to start it periodically via system bus activation.  Fixes
8348                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
8349                         for the supplicant to come back
8350
8351 2007-09-25  Dan Williams  <dcbw@redhat.com>
8352
8353         Ensure that old activation requests are forgotten about; previously
8354         hitting Cancel in the password dialog would deactivate whatever device
8355         that password was requested for, even if that wasn't the currently
8356         activating connection.
8357
8358         * src/nm-manager.c
8359           src/nm-manager.h
8360                 - (nm_manager_get_connection_secrets): track the pending call
8361                         object so it can be canceled later if needed
8362                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8363                         GetSecrets call for a particular connection
8364
8365         * src/nm-activation-request.c
8366                 - (dispose): cancel any outstanding GetSecrets calls on the
8367                         connection
8368
8369 2007-09-25  Dan Williams  <dcbw@redhat.com>
8370
8371         * src/NetworkManagerPolicy.c
8372                 - (nm_policy_device_change_check): handle devices that have a
8373                         deferred activation.  These devices are not really active _yet_,
8374                         but need to be treated as such here.  Don't interrupt them
8375                         automatically.
8376
8377         * src/nm-device-interface.c
8378                 - (impl_device_activate): handle devices that have a deferred activation
8379                         like activating or active devices.  When multiple active devices
8380                         get committed, the device shouldn't be deactivated until the
8381                         connection details are available to avoid DoS and such.  Currently,
8382                         any active, activating, or deferred activation device is deactivated
8383                         here before starting the new activation request.
8384
8385 2007-09-25  Dan Williams  <dcbw@redhat.com>
8386
8387         Properly re-query secrets from the settings daemon when stuff fails.
8388
8389         * src/nm-device-802-11-wireless.c
8390                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8391                         between Shared Key and Open System auth modes
8392                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8393                    real_act_stage4_ip_config_timeout): clear existing secrets and
8394                         request new ones when something fails due to a suspected wrong key
8395                 - (real_act_stage2_config): fix for new request_new argument to
8396                         nm_manager_get_connection_secrets()
8397
8398         * src/nm-manager.c
8399           src/nm-manager.h
8400                 - (nm_manager_get_connection_secrets): return error status; pass
8401                         new request_new argument on to the settings daemon
8402
8403         * introspection/nm-settings-connection.xml
8404                 - New 'request_new' argument to the GetSecrets call that hints to the
8405                         settings daemon to ask the user for completely new secrets
8406
8407         * libnm-glib/nm-settings.c
8408           libnm-glib/nm-settings.h
8409                 - (impl_connection_settings_get_secrets): handle new 'request_new'
8410                         argument
8411
8412 2007-09-25  Dan Williams  <dcbw@redhat.com>
8413
8414         * libnm-util/nm-connection.c
8415           libnm-util/nm-connection.h
8416                 - (nm_connection_clear_secrets): new function; clear secrets out of
8417                         each NMSetting in an NMConnection
8418
8419         * libnm-util/nm-setting.h
8420           libnm-util/nm-setting.c
8421                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
8422                         secrets out of an NMSetting
8423                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
8424                    nm_setting_wired_new, nm_setting_wireless_new,
8425                    nm_setting_wireless_security_new, nm_setting_ppp_new,
8426                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8427                         to default handler default_setting_clear_secrets()
8428
8429 2007-09-25  Dan Williams  <dcbw@redhat.com>
8430
8431         * src/nm-activation-request.c
8432           src/nm-activation-request.h
8433                 - (nm_act_request_is_deferred): new function
8434
8435 2007-09-24  Dan Williams  <dcbw@redhat.com>
8436
8437         * src/nm-device-802-11-wireless.c
8438                 - (activation_success_handler): update signal strength immediately
8439                         after activation
8440
8441 2007-09-24  Dan Williams  <dcbw@redhat.com>
8442
8443         * libnm-util/nm-setting.c
8444                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8445
8446 2007-09-24  Dan Williams  <dcbw@redhat.com>
8447
8448         * src/NetworkManagerPolicy.c
8449                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8450                         device by deactivating it because it doesn't have a "best connection".
8451                         Since autoconnect=False connections aren't automatically chosen,
8452                         NM would interrupt activation of such a connection because it
8453                         would never be "best" due to autoconnect=False.
8454
8455 2007-09-24  Dan Williams  <dcbw@redhat.com>
8456
8457         * src/nm-manager.c
8458                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8459                         actually has some time to enter a key before the GetSecrets call
8460                         times out
8461
8462 2007-09-24  Dan Williams  <dcbw@redhat.com>
8463
8464         * introspection/nm-manager.xml
8465           src/nm-manager.c
8466                 - (impl_manager_legacy_state): fix 'state' method call return value
8467
8468 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8469
8470         * test/Makefile.am: Install nm-tool
8471
8472 2007-09-24  Dan Williams  <dcbw@redhat.com>
8473
8474         Patch from Ross Burton <ross@burtonini.com>
8475
8476         * test/nm-tool.c
8477           callouts/nm-dhcp-client-action.c
8478           src/nm-netlink.c
8479           src/vpn-manager/nm-vpn-connection.c
8480           libnm-glib/libnm-glib-test.c
8481                 - warning fixes
8482
8483 2007-09-24  Dan Williams  <dcbw@redhat.com>
8484
8485         * libnm-util/nm-utils.h
8486           libnm-util/nm-utils.c
8487                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8488                         remove, unused
8489
8490 2007-09-23  Dan Williams  <dcbw@redhat.com>
8491
8492         * vpn-daemons/vpnc/properties/nm-vpnc.c
8493                 - Update for new VPN properties API bits; instead of passing around
8494                         a lot of random things, everything goes into the NMConnection
8495                         object.
8496
8497 2007-09-23  Dan Williams  <dcbw@redhat.com>
8498
8499         * libnm-util/nm-setting.c
8500                 - Correctly dispose of settings objects if creating them from a hash
8501                         table fails
8502
8503 2007-09-23  Dan Williams  <dcbw@redhat.com>
8504
8505         * libnm-util/nm-setting.c
8506                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8507                         the hash table in a standard manner.  Clients of libnm-util should
8508                         only call g_hash_table_remove_all(), never destroy the hash table
8509                         and recreate it.
8510
8511 2007-09-22  Dan Williams  <dcbw@redhat.com>
8512
8513         * src/nm-device-802-11-wireless.c
8514                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8515                         real reason to do it so often, and reduces wakeups for clients.
8516
8517 2007-09-21  Dan Williams  <dcbw@redhat.com>
8518
8519         * src/nm-device-802-11-wireless.c
8520                 - (build_supplicant_config): wpa_supplicant requires the option
8521                         key_mgmt=NONE for unencrypted networks
8522                 - (real_act_stage2_config): clarify log message on activation
8523
8524 2007-09-21  Dan Williams  <dcbw@redhat.com>
8525
8526         * test/nm-supplicant-test.c
8527           test/Makefile.am
8528                 - Remove supplicant test binary; no longer applicable
8529
8530 2007-09-21  Dan Williams  <dcbw@redhat.com>
8531
8532         * src/supplicant-manager/nm-supplicant-manager.c
8533                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8534                         activate it on the system bus
8535
8536 2007-09-20  Dan Williams  <dcbw@redhat.com>
8537
8538         * initscript/RedHat/NetworkManager.in
8539                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8540
8541 2007-09-20  Dan Williams  <dcbw@redhat.com>
8542
8543         * src/nm-device.c
8544                 - (nm_device_is_activating): work around a race between auto-activation
8545                         and the user activating the same device that is being auto-activated
8546
8547 2007-09-20  Dan Williams  <dcbw@redhat.com>
8548
8549         * src/nm-device-interface.c
8550                 - (impl_device_activate): until multiple active device support lands,
8551                         ensure only one device can be active at a time
8552
8553 2007-09-20  Dan Williams  <dcbw@redhat.com>
8554
8555         * src/supplicant-manager/nm-supplicant-config.c
8556           src/supplicant-manager/nm-supplicant-config.h
8557                 - (nm_supplicant_config_add_option): hide secrets from system logs
8558
8559 2007-09-20  Dan Williams  <dcbw@redhat.com>
8560
8561         * src/NetworkManagerPolicy.c
8562                 - (nm_policy_device_change_check): re-enable the wireless device change
8563                         checking code; insted of checking for SSIDs, check for the same
8564                         connection instead
8565
8566 2007-09-20  Dan Williams  <dcbw@redhat.com>
8567
8568         * src/nm-device-802-11-wireless.c
8569                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8570                         composite link state when determining when to start the disconnection
8571                         timer; that link state is already based on the supplicant interface's
8572                         status which is exactly what's already being examined, plus the link
8573                         state is a conglomeration of various things that we don't want here
8574
8575 2007-09-20  Dan Williams  <dcbw@redhat.com>
8576
8577         * libnm-glib/nm-access-point.c
8578                 - (handle_property_changed): strength is a UCHAR
8579
8580 2007-09-20  Dan Williams  <dcbw@redhat.com>
8581
8582         * src/supplicant-manager/nm-supplicant-config.c
8583                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8584                         string list keywords too since that's what wpa_supplicant wants
8585
8586 2007-09-20  Dan Williams  <dcbw@redhat.com>
8587
8588         * libnm-util/nm-setting.c
8589                 - (convert_strv_to_slist): dupe the values in the list because since
8590                         the list is a boxed value, it'll get destroyed when it's container
8591                         (like a hash table or whatever) gets destroyed
8592
8593 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8594
8595         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8596         GSList.
8597
8598         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8599
8600         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8601         just use (g_object_set_data_full).
8602
8603         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8604         that NMSettingVPN->routes is a GSList, convert it to char **.
8605         (nm_vpn_connection_ip4_config_get): Free routes when done.
8606         (nm_vpn_connection_activate): Ditto.
8607
8608         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8609         (real_act_stage2_config): Use defined setting names.
8610
8611 2007-09-20  Dan Williams  <dcbw@redhat.com>
8612
8613         * src/nm-device-802-11-wireless.c
8614           src/nm-manager.c
8615           src/nm-manager.h
8616                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8617                         so that the device can be deactivated if secrets are wrong
8618
8619 2007-09-20  Dan Williams  <dcbw@redhat.com>
8620
8621         * introspection/nm-settings-connection.xml
8622           libnm-glib/nm-settings.c
8623           libnm-glib/nm-settings.h
8624                 - Make GetSecrets asynchronous on the server side
8625
8626 2007-09-20  Dan Williams  <dcbw@redhat.com>
8627
8628         * src/nm-manager.h
8629           src/nm-device.c
8630                 - (nm_device_activate): actually check if a given connection
8631                         exists before assuming it doesn't
8632
8633 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8634
8635         * libnm-util/nm-connection.c (register_default_creators): Use defined
8636         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8637
8638         * libnm-util/nm-setting.c: Define property name strings, use them.
8639         Implement NMSettingVPN and NMSettingVPNProperties settings.
8640         Implement NM_S_TYPE_GVALUE_HASH.
8641         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8642         (setting_connection_verify): Rename 'devtype' property to 'type'.
8643
8644         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8645         properties.
8646
8647         * src/vpn-manager/nm-vpn-service.c: Ditto.
8648
8649         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8650
8651         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8652         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8653
8654         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8655         names. NMSettingConnection->devtype got renamed to 'type'.
8656
8657         * src/nm-device-802-3-ethernet.c (find_best_connection):
8658         (real_get_best_connection): Ditto.
8659
8660         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8661
8662         * libnm-glib/nm-vpn-manager.[ch]: Update.
8663
8664 2007-09-19  Dan Williams  <dcbw@redhat.com>
8665
8666         * src/NetworkManagerAP.c
8667           src/NetworkManagerAP.h
8668           introspection/nm-access-point.xml
8669                 - Change strength-changed signal into a properties-changed signal
8670                         for all properties, not just strength.  Export that signal over dbus
8671                         so listeners don't have to poll NM for changes.
8672                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8673                         get exported over D-Bus, so break up the logic and let other bits
8674                         decided when to export the AP
8675                 - (nm_ap_new_from_ap): remove, unused
8676
8677         * src/nm-device-802-11-wireless.c
8678                 - (merge_scanned_ap): only export APs that are actually on the device
8679                         list, not every AP created internally
8680
8681         * libnm-glib/nm-access-point.c
8682           libnm-glib/nm-access-point.h
8683                 - Cache properties internally and only hit DBus when needed.  Get
8684                         property updates from NM signals
8685
8686 2007-09-16  Dan Williams  <dcbw@redhat.com>
8687
8688         * libnm-util/nm-connection.c
8689           libnm-util/nm-connection.h
8690                 - (nm_connection_for_each_setting_value): new function; iterate over
8691                         each setting's value and call a user-provided function with details
8692                         about that value
8693
8694         * libnm-util/nm-setting.c
8695           libnm-util/nm-setting.h
8696                 - (nm_setting_enumerate_values): new function; enumerate the values
8697                         of a specific NMSetting subclass for a user-provided function with
8698                         details about that value
8699                 - Change wep_tx_keyidx to a uint32
8700                 - Create settings value tables for each setting defining their type,
8701                         key name, offset into the NMSetting subclass' structure, and whether
8702                         they are required and/or a secret
8703                 - (nm_setting_populate_from_hash): generic function to populate an
8704                         NMSetting from a GHash table, make all settings use it
8705                 - (nm_setting_hash): generic function to derive a GHashTable from
8706                         an NMSetting object, make all settings use it
8707
8708 2007-09-14  Dan Williams  <dcbw@redhat.com>
8709
8710         Remove unused stuff in libnm-util
8711
8712         * configure.in
8713           libnm-util/Makefile.am
8714           libnm-util/cipher-private.h
8715           libnm-util/cipher-wep-ascii.c
8716           libnm-util/cipher-wep-ascii.h
8717           libnm-util/cipher-wep-hex.c
8718           libnm-util/cipher-wep-hex.h
8719           libnm-util/cipher-wep-passphrase.c
8720           libnm-util/cipher-wep-passphrase.h
8721           libnm-util/cipher-wpa-psk-hex.c
8722           libnm-util/cipher-wpa-psk-hex.h
8723           libnm-util/cipher-wpa-psk-passphrase.c
8724           libnm-util/cipher-wpa-psk-passphrase.h
8725           libnm-util/cipher.c
8726           libnm-util/cipher.h
8727           libnm-util/dbus-helpers.c
8728           libnm-util/dbus-helpers.h
8729           libnm-util/gnome-keyring-md5.c
8730           libnm-util/gnome-keyring-md5.h
8731           libnm-util/sha1.c
8732           libnm-util/sha1.h
8733           src/nm-device-802-11-wireless.c
8734           test/libnm-util/Makefile.am
8735           test/libnm-util/test-ciphers.c
8736           test/libnm-util/test-dbus-helpers.c
8737           test/libnm-util/test-inputs.h
8738                 - Removed
8739
8740 2007-09-14  Dan Williams  <dcbw@redhat.com>
8741
8742         * libnm-util/dbus-method-dispatcher.c
8743           libnm-util/dbus-method-dispatcher.h
8744                 - Remove, unused
8745
8746 2007-09-14  Dan Williams  <dcbw@redhat.com>
8747
8748         Implement deferred activation support in the device class.
8749
8750         * src/nm-device-interface.c
8751           src/nm-device-interface.h
8752                 - (nm_device_interface_activate): take more arguments to support
8753                         deferred activation; callers must pass one of (connection) OR
8754                         (service_name, connection_path)
8755                 - (impl_device_activate): connection validation is punted to the device
8756                         to be able to handle deferred activation.  Yes, this means errors
8757                         don't get returned from the Activate() dbus call, and yes, that
8758                         should be fixed somehow later.
8759
8760         * src/nm-device.c
8761           src/nm-device.h
8762                 - (clear_act_request): clear additional deferred activation stuff too
8763                 - (deferred_activation_timeout_cb): new function; clean up when
8764                         deferred activation times out.
8765                 - (deferred_activation_start_cb): new function; when the connection
8766                         finally becomes available, start device activation
8767                 - (nm_device_activate): attach to the right signals of the activation
8768                         request if we need to defer activation until the connection is valid
8769
8770         * src/NetworkManagerPolicy.c
8771                 - (nm_policy_device_change_check): update for additional arguments
8772                         required for nm_device_interface_activate().  Pass NULL for these
8773                         though because this function already knows exactly which
8774                         NMConnection to use
8775
8776 2007-09-14  Dan Williams  <dcbw@redhat.com>
8777
8778         Implement deferred activation handling in the NMActRequest class.  When a
8779         client wants to activate a device but must create the NMConnection details
8780         on the fly, there likely hasn't been enough time yet for NM to receive the
8781         new connection signal and grab all the connection details.  So the
8782         activation is deferred (and bounded by a timer) for a while, and if the
8783         connection appears within the window, it is activated.
8784
8785         * src/nm-activation-request.c
8786           src/nm-activation-request.h
8787                 - (nm_act_request_class_init): two new signals to support deferred
8788                         activation, to allow the listener to handle both timeout and success
8789                 - (nm_act_request_new_deferred): new function, starts the deferred
8790                         activation timeout handler and listens to the NMManager for
8791                         new-connection signals to notice when the connection comes in
8792
8793 2007-09-14  Dan Williams  <dcbw@redhat.com>
8794
8795         * src/nm-manager.h
8796           src/nm-manager.c
8797                 - (nm_manager_get_connection_service_name,
8798                    nm_manager_get_connection_dbus_path): get details about a connection
8799                         known internally by the NMManager
8800                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8801                         because NMConnection is now a GObject subclass
8802                 - Use constant for the gobject data tag used on NMConnection objects for
8803                         storing the associated DBusGProxy
8804
8805 2007-09-14  Dan Williams  <dcbw@redhat.com>
8806
8807         * utils/Makefile.am
8808           utils/nm-utils.c
8809           utils/nm-utils.h
8810           src/supplicant-manager/Makefile.am
8811           src/dhcp-manager/Makefile.am
8812           src/backends/Makefile.am
8813           src/named-manager/Makefile.am
8814           src/ppp-manager/Makefile.am
8815           src/vpn-manager/Makefile.am
8816           test/libnm-util/Makefile.am
8817           test/test-common/Makefile.am
8818                 - Remove utils/; it was unused
8819
8820 2007-09-13  Dan Williams  <dcbw@redhat.com>
8821
8822         * libnm-glib/nm-vpn-manager.h
8823           libnm-glib/nm-vpn-manager.c
8824                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8825
8826 2007-09-13  Dan Williams  <dcbw@redhat.com>
8827
8828         * src/nm-device-802-3-ethernet.c
8829                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8830                         netlink monitor carrier signals on dispose, not bring down.  The
8831                         carrier signals should be handled over the entire lifetime of the
8832                         device anyway, not created/destroyed on up or down.
8833
8834 2007-09-13  Dan Williams  <dcbw@redhat.com>
8835
8836         * libnm-glib/nm-device.c
8837           libnm-glib/nm-device.h
8838                 - (nm_device_activate): take a connection object path rather than an
8839                         NMConnection because NMConnection isn't exported over D-Bus and
8840                         therefore it dbus-glib can't automatically get an object path from it
8841
8842 2007-09-13  Dan Williams  <dcbw@redhat.com>
8843
8844         * libnm-util/nm-setting.c
8845                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8846
8847 2007-09-13  Tambet Ingo  <tambet@gmail.com>
8848
8849         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8850
8851 2007-09-12  Tambet Ingo  <tambet@gmail.com>
8852
8853         * src/vpn-manager/nm-vpn-connection.[ch]: 
8854         * src/vpn-manager/nm-vpn-manager.[ch]:
8855         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
8856         dbus-glib, GObjects, signals etc.
8857
8858         * libnm-glib/nm-vpn-manager.[ch]: 
8859         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8860         so much, rewrite these too.
8861
8862         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8863         the new introspection files.
8864
8865         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8866
8867         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8868         the header with the same name from libnm-utils.
8869
8870         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8871
8872         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8873
8874         * introspection/nm-vpn-plugin.xml: Implement.
8875
8876         * introspection/nm-vpn-connection.xml: Implement.
8877
8878         * introspection/nm-vpn-manager.xml: Implement.
8879
8880         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8881         the named manager argument, it can just as easily get it as the caller.
8882         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8883
8884         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8885
8886         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8887
8888         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8889         libnm-utils.
8890
8891         * libnm-util/nm-connection.c: Ditto.
8892
8893         * src/NetworkManagerMain.h: Remove, it's finally empty.
8894
8895         * configure.in: Remove utils/ from build.
8896
8897         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8898         of hard-coded strings.
8899
8900         * utils/: Move it over to libnm-util.
8901
8902         * test/Makefile.am: Link against libnm-util now that util/ is gone.
8903
8904         * dispatcher-daemon/Makefile.am: Ditto.
8905
8906         * src/Makefile.am: Ditto.
8907
8908 2007-09-12  Dan Williams  <dcbw@redhat.com>
8909
8910         Wireless connections can be made with config data from the applet now.
8911         
8912         Yay.
8913
8914         * src/supplicant-manager/nm-supplicant-config.h
8915           src/supplicant-manager/nm-supplicant-config.c
8916                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8917                 - (nm_supplicant_config_add_setting_wireless,
8918                    nm_supplicant_config_add_setting_wireless_security): new functions;
8919                         add key/value pairs from the settings objects to the supplicant
8920                         config
8921
8922         * src/nm-device-802-11-wireless.c
8923                 - (cull_scan_list): fix check to not prune currently associated AP
8924                 - (build_supplicant_config, real_act_stage2_config): call the functions
8925                         of the NMSupplicantConfig that parse settings objects rather than
8926                         doing it manually here
8927
8928 2007-09-12  Dan Williams  <dcbw@redhat.com>
8929
8930         * src/supplicant-manager/nm-supplicant-interface.c
8931           src/supplicant-manager/nm-supplicant-marshal.list
8932                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8933                         "connection-error" signal arguments should be STRING not CHAR
8934
8935 2007-09-12  Dan Williams  <dcbw@redhat.com>
8936
8937         * src/NetworkManagerUtils.c
8938           src/NetworkManagerUtils.h
8939                 - (nm_utils_hexstr2bin): new function
8940
8941 2007-09-11  Dan Williams  <dcbw@redhat.com>
8942
8943         * src/nm-manager.c
8944                 - (connection_get_settings_cb): emit connection-added signal
8945                 - (connection_removed_cb): uncomment bits for system settings service,
8946                         send connection-removed when appropriate
8947                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8948                         the stack by trying to g_object_set_data() on something that's
8949                         not a GObject; handle case where settings service returns
8950                         empty settings hash table
8951
8952 2007-09-11  Dan Williams  <dcbw@redhat.com>
8953
8954         * src/NetworkManagerPolicy.c
8955                 - (connection_added, connection_removed): trigger device change checks
8956                         on connection changes
8957
8958 2007-09-11  Dan Williams  <dcbw@redhat.com>
8959
8960         * src/nm-activation-request.c
8961                 - (connection_secrets_updated_cb): fix c&p error in signal emission
8962
8963 2007-09-11  Dan Williams  <dcbw@redhat.com>
8964
8965         * src/nm-device-802-11-wireless.c
8966                 - (real_connection_secrets_updated): fix erroneous check
8967
8968 2007-09-11  Dan Williams  <dcbw@redhat.com>
8969
8970         * introspection/nm-device.xml
8971           libnm-glib/nm-device.c
8972           libnm-glib/nm-device.c
8973                 - Fix Activate call argument borkage; Activate takes 3 arguments
8974
8975 2007-09-11  Dan Williams  <dcbw@redhat.com>
8976
8977         * libnm-glib/nm-access-point.c
8978           libnm-glib/nm-access-point.c
8979                 - (nm_access_point_get_frequency): now returns guint32 to match
8980                         property change on 2007-09-10
8981
8982 2007-09-11  Dan Williams  <dcbw@redhat.com>
8983
8984         * src/nm-device-802-11-wireless.c
8985                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8986                         somewhere defines 'index' and I missed this one when I fixed the
8987                         shadow declaration errors earlier
8988
8989 2007-09-11  Dan Williams  <dcbw@redhat.com>
8990
8991         * libnm-util/nm-connection.c
8992                 - (nm_connection_update_secrets, need_secrets_check): move
8993                         802-11-wireless-security need_secrets checks to the setting object
8994                         itself, where it belongs
8995
8996         * libnm-util/nm-setting.c
8997           libnm-util/nm-setting.h
8998                 - (nm_setting_need_secrets): new function
8999                 - (setting_wireless_security_verify,
9000                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
9001                 - (setting_wireless_security_need_secrets): mostly copy code over
9002                         from nm-connection.c
9003
9004 2007-09-11  Dan Williams  <dcbw@redhat.com>
9005
9006         * libnm-util/nm-setting.c
9007           libnm-util/nm-setting.h
9008                 - (nm_setting_update_secrets): new function; add a virtual function that
9009                         subclasses can implement to update their secrets
9010                 - (setting_wireless_security_update_secrets): implement that function
9011                         for the 802-11-wireless-security subclass
9012
9013         * libnm-util/nm-connection.c
9014           libnm-util/nm-connection.h
9015                 - (nm_connection_update_secrets): update secrets for a Setting and
9016                         emit a signal on success
9017
9018         * src/nm-manager.c
9019           src/nm-manager.h
9020           src/nm-marshal.list
9021                 - (connection_get_settings_cb): enable system settings bits
9022                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
9023                         to request secrets from the settings dbus service and to
9024                         push those secrets to the NMConnection itself
9025
9026         * src/nm-activation-request.c
9027           src/nm-activation-request.h
9028                 - Attach to the 'secrets-updated' signal of the NMConnection that's
9029                         currently being activated, and proxy that signal to other listeners.
9030                         Goes through the activation request because the activation request
9031                         is the thing that manages the lifetime of the NMConnection that's
9032                         being activated.
9033
9034         * src/nm-device-802-11-wireless.c
9035                 - (real_connection_secrets_updated): implement the connection secrets
9036                         updated notification and restart activation when secrets are
9037                         received
9038                 - (real_act_stage2_config): request secrets from the settings dbus
9039                         service if secrets are needed
9040
9041         * src/nm-device.c
9042           src/nm-device.h
9043                 - (clear_act_request, nm_device_activation_cancel,
9044                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9045                         where the activation request is cleared
9046                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9047                         updated secrets signal of activation request and add a function
9048                         that subclasses can override to handle it easily
9049
9050 2007-09-11  Tambet Ingo  <tambet@gmail.com>
9051
9052         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9053         removal of NetworkManagerAPList.
9054
9055 2007-09-10  Dan Williams  <dcbw@redhat.com>
9056
9057         * src/NetworkManagerAP.c
9058           src/NetworkManagerAP.h
9059           introspection/nm-access-point.xml
9060                 - Change 'freq' property to a guint32 instead of a double since we
9061                         weren't using the floating point bits anyway
9062
9063 2007-09-10  Dan Williams  <dcbw@redhat.com>
9064
9065         * NetworkManagerAP.c
9066           NetworkManagerAP.h
9067           NetworkManagerPolicy.c
9068           NetworkManagerSystem.c
9069           NetworkManagerUtils.c
9070           NetworkManagerUtils.h
9071           nm-device-802-11-wireless.c
9072           nm-device-802-3-ethernet.c
9073           nm-hal-manager.c
9074           nm-manager.c
9075           vpn-manager/nm-dbus-vpn.c
9076                 - Warning fixes; casts and removal of unused variables
9077
9078 2007-09-10  Dan Williams  <dcbw@redhat.com>
9079
9080         * include/NetworkManager.h
9081                 - Kill NMNetworkType; AP types don't matter any more
9082
9083         * src/NetworkManagerAPList.c
9084           src/NetworkManagerAPList.h
9085           src/Makefile.am
9086                 - Kill; NMAccessPointList has outlived it's usefulness
9087
9088         * src/NetworkManagerAP.c
9089           src/NetworkManagerAP.h
9090                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9091                         functions; check if an NMConnection object is compatible with the
9092                         settings of this AP
9093                 - (freq_to_channel, channel_to_freq): utility functions for
9094                         channel <-> frequency conversion
9095
9096         * src/nm-device.c
9097           src/nm-device.h
9098                 - (nm_device_get_best_connection): pass the specific object around
9099                          (which might be the object path of a specific AP to connect to).
9100                          The get_best_connection() call should populate this on return
9101                          if needed (wireless does).
9102
9103         * src/nm-device-802-3-ethernet.c
9104                 - (real_get_best_connection): handle specific_object argument
9105
9106         * src/NetworkManager.c
9107           src/NetworkManagerMain.h
9108                 - Remove unused includes
9109
9110         * src/nm-device-802-11-wireless.c
9111           src/nm-device-802-11-wireless.h
9112                 - Convert the ap_list into a GSList from an NMAccessPointList
9113                 - No need for caching the 'activation_ap' since this is now determined
9114                         from the specific_object of the activation request, which is
9115                         populated from the get_best_connection() call or from a user request
9116                 - (nm_device_802_11_wireless_update_bssid): fix warning
9117                 - (get_wireless_capabilities): fix error message format arguments
9118                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9119                 - (find_best_connection, real_get_best_connection): implement
9120                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9121                         move here from NetworkManagerAPList
9122                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9123                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9124                         already verified earlier
9125                 - (real_act_stage2_config): use nm_connection_need_secrets()
9126
9127         * src/NetworkManagerPolicy.c
9128                 - (nm_policy_auto_get_best_device): handle specific objects
9129                 - (create_connection): remove; automatic connection creation functionality
9130                         is handled by the Connection objects
9131                 - (nm_policy_device_change_check): handle specific_object
9132
9133         * libnm-util/nm-connection.c
9134                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9135
9136 2007-09-10  Dan Williams  <dcbw@redhat.com>
9137
9138         * src/nm-manager.c
9139                 - (query_connections): fix uninitialized variable problem that caused
9140                         segfault
9141                 - (nm_manager_add_device): take devices down on startup so that we can
9142                         be assured that nm_device_is_up() won't short-circuit the init
9143                         process.  Hack until the is_up check gets split into two pieces
9144                         that aren't behaviorally confusing.
9145
9146 2007-09-09  Dan Williams  <dcbw@redhat.com>
9147
9148         * introspection/nm-device.xml
9149                 - The 'Activate' method now takes 3 arguments, a service name for the
9150                 settings service (user or system), the object path of the connection
9151                 to activate, and the specific object to activate, if any
9152
9153         * src/nm-device-interface.c
9154                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9155                 Add error bits
9156                 - (impl_device_activate): adapt to new Activate arguments; validate
9157                 the service name and get the Connection object from the NMManager
9158                 before starting to activate the device with the specified connection
9159
9160         * src/nm-device-802-3-ethernet.c
9161                 - (real_get_best_connection): find the best connection, or create a
9162                 default one if no existing connections can be used
9163
9164         * src/NetworkManagerPolicy.c
9165                 - (nm_policy_auto_get_best_device): Get the device's best connection
9166                 and only pick the device if it has one
9167                 - (nm_policy_device_change_check): disable wireless bits for now until
9168                 wireless get_best_connection() can be implemented (replacing "best_ap");
9169                 don't create a default connection here as the device subclass will do
9170                 that if needed
9171
9172         * src/nm-manager.h
9173           src/nm-manager.c
9174                 - (nm_manager_get): make NMManager a singleton and expose the getter
9175                 internally
9176                 - Rework internal NMManager connection handling to use the same
9177                 routines for both the system and user settings services.  Most calls
9178                 take a new NMConnectionType argument specifying either system or user
9179                 connections
9180                 - (nm_manager_get_connection_by_object_path): new function; get a
9181                 connection keyed on its object path
9182
9183         * src/NetworkManager.c
9184                 - (main): use nm_manager_get()
9185
9186 2007-09-09  Dan Williams  <dcbw@redhat.com>
9187
9188         * src/nm-device.h
9189           src/nm-device.c
9190                 - (nm_device_get_best_connection): new function; get best connection
9191                         for the device at that time
9192
9193 2007-09-09  Dan Williams  <dcbw@redhat.com>
9194
9195         * src/nm-device-interface.h
9196                 - Add NMDeviceInterfaceError with an UnknownConnection error
9197
9198 2007-09-09  Dan Williams  <dcbw@redhat.com>
9199
9200         Stupid mistake on my part; object path and interface for settings service
9201         and connection objects can be the same, only the service name must be
9202         different for the system and user settings services.
9203
9204         * include/NetworkManager.h
9205           src/nm-manager.c
9206           introspection/nm-settings-connection.xml
9207           introspection/nm-settings.xml
9208           libnm-glib/nm-settings.c
9209                 - (nm_connection_settings_init, query_user_connections,
9210                    new_connection_cb): Unify NetworkManagerSettings and Connection
9211                    interface name and object path
9212
9213 2007-09-06  Dan Williams  <dcbw@redhat.com>
9214
9215         * libnm-glib/nm-object.c
9216                 - (nm_object_get_string_property, nm_object_get_object_path_property,
9217                    nm_object_get_int_property, nm_object_get_uint_property,
9218                    nm_object_get_boolean_property, nm_object_get_byte_property,
9219                    nm_object_get_double_property, nm_object_get_byte_array_property):
9220                         clear GValues after copying their contents, fixes memory leaks
9221                         after every property access because dbus-glib copies the values
9222                         from the DBusMessage into the GValue already.
9223
9224 2007-09-06  Dan Williams  <dcbw@redhat.com>
9225
9226         * introspection/nm-access-point.xml
9227                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9228                         them to be.  There's some magic property name parsing going on in
9229                         dbus-glib that breaks up property names based on studly-caps and
9230                         puts - between words.
9231
9232         * libnm-glib/nm-access-point.c
9233                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9234                         Fix property names
9235
9236 2007-09-06  Dan Williams  <dcbw@redhat.com>
9237
9238         * src/nm-manager.c
9239                 - (nm_manager_user_connections_destroy): clear the user connections hash
9240                         table, don't destroy it
9241                 - (finalize): only destroy the hash table on NMManager finalization
9242
9243 2007-09-02  Dan Williams  <dcbw@redhat.com>
9244
9245         * include/NetworkManager.h
9246           libnm-glib/nm-settings.c
9247                 - defines for the user settings daemon D-Bus bits
9248
9249         * src/NetworkManager.c
9250                 - Remove stuff that referred to the old NetworkManagerInfo service
9251
9252         * src/vpn-manager/nm-dbus-vpn.h
9253                 - Move old NMI defines to the only place they are used still
9254
9255         * libnm-util/nm-connection.c
9256           libnm-util/nm-connection.h
9257           src/nm-activation-request.c
9258                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9259
9260         * src/nm-manager.c
9261           src/nm-manager.h
9262                 - Get connections and their settings from the user settings daemon
9263                         at the appropriate times
9264
9265 2007-09-02  Dan Williams  <dcbw@redhat.com>
9266
9267         * libnm-util/nm-setting.c
9268                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9269                 - (setting_wireless_hash): set the right value on the item
9270
9271 2007-09-02  Dan Williams  <dcbw@redhat.com>
9272
9273         * test/Makefile.am
9274           test/nminfotest.c
9275                 - Remove, no longer useful
9276
9277 2007-08-30  Dan Williams  <dcbw@redhat.com>
9278
9279         * src/Makefile.am
9280           src/NetworkManagerDbus.c
9281           src/NetworkManagerDbus.h
9282           src/vpn-manager/nm-dbus-vpn.c
9283                 - Remove, no longer necessary.  Move last bits to the only place its
9284                 used, in nm-dbus-vpn.c
9285
9286         * src/NetworkManagerAPList.c
9287           src/nm-device.c
9288           src/NetworkManager.c
9289           src/nm-device-802-11-wireless.c
9290           src/vpn-manager/nm-vpn-manager.c
9291           src/vpn-manager/nm-vpn-service.c
9292           src/NetworkManagerPolicy.c
9293           src/nm-manager.c
9294                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9295                 that was message_is_error()
9296
9297 2007-08-30  Dan Williams  <dcbw@redhat.com>
9298
9299         * libnm-util/sha1.c
9300                 - Include config.h to get defines for endiannes (gnome.org #420216)
9301
9302 2007-08-30  Dan Williams  <dcbw@redhat.com>
9303
9304         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9305
9306         * src/ppp-manager/Makefile.am
9307                 - use -fPIC (gnome.org #471825)
9308
9309 2007-08-29  Dan Williams  <dcbw@redhat.com>
9310
9311         * include/NetworkManager.h
9312                 - Keep NMConnection object path in sync
9313
9314         * libnm-glib/nm-settings.c
9315           libnm-glib/nm-settings.h
9316                 - Break D-Bus object registration out of the init function, because
9317                 every object that's exported over D-Bus needs to use the _same_
9318                 DBusConnection.  Otherwise, each object would get a different object
9319                 path tree and wouldn't be callable.
9320
9321 2007-08-29  Dan Williams  <dcbw@redhat.com>
9322
9323         * libnm-util/nm-setting.h
9324           libnm-util/nm-setting.c
9325           libnm-util/nm-connection.c
9326           src/NetworkManagerPolicy.c
9327                 - 'info' settings object should be 'connection' says the spec
9328                 at NetworkManagerConfigurationSpecification
9329
9330 2007-08-29  Dan Williams  <dcbw@redhat.com>
9331
9332         * libnm-glib/nm-settings.c
9333           libnm-glib/nm-settings.h
9334                 - make the dbus path a property of the object, and autogenerate it.
9335                 It can't be composed of the 'id' field becuase that's not available
9336                 yet during the GObject creation in nm_connection_settings_init()
9337
9338 2007-08-29  Dan Williams  <dcbw@redhat.com>
9339
9340         * introspection/nm-settings-connection.xml
9341           introspection/nm-settings.xml
9342                 - Service name -> NetworkManagerUserSettings because two services
9343                 can't share part of the same path.  I'm not really sure how we'll use
9344                 the same code with the system-settings daemon...
9345
9346 2007-08-28  Dan Williams  <dcbw@redhat.com>
9347
9348         * src/nm-device-interface.c
9349           src/nm-device-interface.h
9350                 - Kill one more bit of NMData
9351
9352 2007-08-28  Dan Williams  <dcbw@redhat.com>
9353
9354         * src/NetworkManagerSystem.h
9355           src/nm-device.c
9356           src/nm-device.h
9357           src/nm-hal-manager.c
9358           src/NetworkManager.c
9359           src/nm-device-802-11-wireless.c
9360           src/nm-hal-manager.h
9361           src/nm-device-802-3-ethernet.c
9362           src/vpn-manager/nm-vpn-service.h
9363           src/vpn-manager/nm-vpn-manager.c
9364           src/vpn-manager/nm-vpn-manager.h
9365           src/vpn-manager/nm-vpn-service.c
9366           src/nm-device-802-11-wireless.h
9367           src/NetworkManagerMain.h
9368           src/nm-device-802-3-ethernet.h
9369           src/backends/NetworkManagerGentoo.c
9370           src/backends/NetworkManagerPaldo.c
9371           src/backends/NetworkManagerFrugalware.c
9372           src/backends/NetworkManagerRedHat.c
9373           src/backends/NetworkManagerSlackware.c
9374           src/backends/NetworkManagerGeneric.c
9375           src/backends/NetworkManagerArch.c
9376           src/backends/NetworkManagerSuSE.c
9377           src/backends/NetworkManagerGeneric.h
9378           src/backends/NetworkManagerDebian.c
9379                 - Kill NMData
9380
9381 2007-08-28  Dan Williams  <dcbw@redhat.com>
9382
9383         * src/NetworkManagerMain.h
9384           src/nm-device-802-11-wireless.c
9385           src/NetworkManager.c
9386                 - Remove invalid AP list from NMData; need to rework this somewhat, but
9387                 for now we should set the 'invalid' property on individual APs, and when
9388                 we need to invalidate a whole ESS, set the 'invalid' on every member of
9389                 that ESS
9390
9391 2007-08-28  Dan Williams  <dcbw@redhat.com>
9392
9393         * src/NetworkManagerAP.c
9394           src/NetworkManagerAP.h
9395                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9396                         'autoconnect' property instead
9397
9398         * src/NetworkManager.c
9399           src/NetworkManagerMain.h
9400           src/NetworkManagerPolicy.c
9401           src/NetworkManagerPolicy.h
9402                 - Remove the 'allowed_ap_list', which should be replaced by 
9403                         NMConnection/NMSettings instead, since _those_ are the allowed
9404                         things that NM can connect to
9405
9406         * src/nm-device-802-11-wireless.c
9407                 - Remove both allowed_ap_list usage and 'fallback' checking
9408
9409 2007-08-28  Dan Williams  <dcbw@redhat.com>
9410
9411         * src/nm-device.c
9412           src/named-manager/nm-named-manager.c
9413           src/named-manager/nm-named-manager.h
9414           src/NetworkManager.c
9415           src/vpn-manager/nm-vpn-manager.c
9416           src/NetworkManagerMain.h
9417           src/NetworkManagerSystem.c
9418                 - Remove the named-manager object from NMData structure in preparation
9419                 for NMData's timely death.  Make the NMNamedManager the singleton that
9420                 it really is
9421
9422 2007-08-28  Dan Williams  <dcbw@redhat.com>
9423
9424         Remove NMAPSecurity objects, they are replaced with flags on the APs for
9425         each AP's capabilities, and by NMConnection/NMSettings objects for user
9426         defined connections.
9427
9428         * include/NetworkManager.h
9429                 - Redefine 802.11 security properties.  There are now device capabilities
9430                         and AP flags and AP security flags.  It was way to unclear before.
9431
9432         * src/Makefile.am
9433           src/nm-ap-security-leap.h
9434           src/nm-ap-security-leap.c
9435           src/nm-ap-security-wpa-eap.c
9436           src/nm-ap-security-wpa-eap.h
9437           src/nm-ap-security-private.h
9438           src/nm-ap-security-wpa-psk.c
9439           src/nm-ap-security-wpa-psk.h
9440           src/nm-ap-security-wep.c
9441           src/nm-ap-security-wep.h
9442           src/nm-ap-security.c
9443           src/nm-ap-security.h
9444                 - Removed, to be replaced with NMConnection/NMSettings objects
9445
9446         * src/nm-dbus-nmi.c
9447           src/nm-dbus-nmi.h
9448                 - Removed, to be replaced by code that talks to the new info daemon
9449                         interface and gets NMConnection/NMSettings objects
9450
9451         * src/backends/NetworkManagerSuSE.c
9452                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9453                         info-daemon that does the same thing but talks the new info-daemon
9454                         D-Bus interface
9455
9456         * src/NetworkManagerAP.h
9457           src/NetworkManagerAP.c
9458           src/NetworkManagerAPList.c
9459           libnm-glib/libnm-glib-test.c
9460                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9461                         WPA/RSN
9462
9463         * libnm-glib/nm-access-point.c
9464           libnm-glib/nm-access-point.h
9465           introspection/nm-access-point.xml
9466           test/nm-tool.c
9467                 - Adjust to new flags for AP security
9468
9469         * utils/nm-utils.c
9470           utils/nm-utils.h
9471           src/vpn-manager/nm-dbus-vpn.c
9472                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9473                         stuff which is the only place it's used
9474
9475         * src/nm-device-interface.c
9476           src/nm-device-interface.h
9477           introspection/nm-device.xml
9478           src/nm-activation-request.c
9479           src/nm-activation-request.h
9480           src/nm-device.c
9481                 - Add a new 'specific_object' argument that hints to NM what actual
9482                         AP or other device-specific thing the connection should apply to.
9483                         NMConnection objects can apply to more than one actual device/AP.
9484
9485         * libnm-util/nm-connection.c
9486         * libnm-util/nm-connection.h
9487                 - Add 'have_secrets" call stubs
9488
9489         * libnm-util/cipher.h
9490                 - Move NM_AUTH_TYPE_* defines here for now
9491
9492         * src/nm-device-802-11-wireless.c
9493                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9494                         NMSettings objects
9495
9496         * src/NetworkManagerDbus.c
9497         * src/NetworkManagerPolicy.c
9498                 - Remove usage of update_allowed_networks, should be pushing data in
9499                         a different manner
9500
9501 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9502
9503         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9504         dbus-glib frees it when the call is done.
9505
9506 2007-08-26  Dan Williams  <dcbw@redhat.com>
9507
9508         * introspection/nm-device.xml
9509                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9510
9511 2007-08-26  Dan Williams  <dcbw@redhat.com>
9512
9513         * src/nm-device-802-3-ethernet.c
9514                 - (constructor): move connection of interface-connected/disconnected
9515                         signals here from real_bring_up().  Should be listening to netlink
9516                         for carrier events no matter what the initial state of the device
9517                         is.
9518
9519 2007-08-26  Dan Williams  <dcbw@redhat.com>
9520
9521         * src/nm-netlink-monitor.c
9522                 - (nm_netlink_monitor_class_init): fix marshalling types for
9523                         interface-connected/interface-disconnected
9524                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9525                         check
9526
9527 2007-08-26  Dan Williams  <dcbw@redhat.com>
9528
9529         Convert to using interface indexes as the primary method of identifying
9530         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9531         be renamed at any time.  Device object paths now refer to the device
9532         index rather than the name, and you can map those two manually if you like
9533         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9534         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9535         to use interface indexes rather than names.
9536
9537 2007-08-26  Dan Williams  <dcbw@redhat.com>
9538
9539         * src/nm-netlink-monitor.h
9540                 - Remove one last bit of wireless-event signal
9541
9542 2007-08-26  Dan Williams  <dcbw@redhat.com>
9543
9544         * src/nm-netlink-monitor.c
9545                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9546                         don't need the 'wireless-event' signal anymore since that's all
9547                         handled by wpa_supplicant
9548
9549 2007-08-25  Dan Williams  <dcbw@redhat.com>
9550
9551         It's 2007. Remove support for drivers that don't support wireless scanning.
9552
9553         * test/nm-tool.c
9554           include/NetworkManager.h
9555           src/NetworkManagerUtils.c
9556           src/NetworkManagerPolicy.c
9557           src/nm-device-802-11-wireless.c
9558                 - Remove special handling for non-scanning devices and mark them
9559                         as unsupported/unhandled
9560
9561 2007-08-20  Dan Williams  <dcbw@redhat.com>
9562
9563         * src/nm-device-802-11-wireless.c
9564           src/nm-device-802-3-ethernet.c
9565                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9566                         because when the card is pulled or the module removed, the device
9567                         is already !IFF_UP and then device-specific cleanup (removing
9568                         the supplicant interface, periodic checks, etc) never gets done
9569
9570 2007-08-20  Dan Williams  <dcbw@redhat.com>
9571
9572         * src/nm-manager.c
9573                 - (nm_manager_remove_device): bring device down before disconnecting
9574                         signal handlers, so that the 'state' signal will get broadcast when
9575                         the device enters the DOWN state
9576                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9577                         of states that cause the NMManager to recheck its state
9578
9579 2007-08-20  Dan Williams  <dcbw@redhat.com>
9580
9581         * src/supplicant-manager/nm-supplicant-interface.c
9582                 - (interface_disconnect_done): don't try to dispose of the net proxy
9583                         when it may already have been disposed of
9584
9585 2007-08-20  Dan Williams  <dcbw@redhat.com>
9586
9587         * src/nm-device-802-11-wireless.c
9588                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9589                         the SSID isn't available; this can happen when the card is pulled
9590                         or the module unloaded, during the post-removal deactivation
9591                         paths, when the ioctl returns ENODEV
9592
9593 2007-08-20  Dan Williams  <dcbw@redhat.com>
9594
9595         * src/nm-device-802-11-wireless.c
9596                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9597                         frequency, and mode match.  Applets are now responsible for grouping
9598                         access points
9599
9600 2007-08-20  Dan Williams  <dcbw@redhat.com>
9601
9602         * src/NetworkManagerAP.c
9603         * src/NetworkManagerAP.h
9604                 - (nm_ap_print_self): new function
9605
9606         * src/NetworkManagerAPList.c
9607                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9608                         to do it all here
9609         
9610 2007-08-17  Dan Williams  <dcbw@redhat.com>
9611
9612         * src/nm-device-802-3-ethernet.c
9613                 - (real_bring_down): don't try to dispose of stuff that might not
9614                         exist
9615
9616 2007-08-17  Dan Williams  <dcbw@redhat.com>
9617
9618         * src/NetworkManagerAP.c
9619                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9620                         applet.  This ensures that the case between the seen-bssids and
9621                         the bssids reported by the driver match.
9622
9623 2007-08-17  Dan Williams  <dcbw@redhat.com>
9624
9625         * src/nm-device-802-11-wireless.c
9626                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9627                         we dispose of the interface proxy in NM
9628
9629 2007-08-16  Dan Williams  <dcbw@redhat.com>
9630
9631         * libnm-glib/nm-client.c
9632                 - (nm_client_init): create VPN connections hash table with key free
9633                         function
9634                 - (proxy_vpn_connection_added): VPN connections hash table key should
9635                         be a duplicated value, not the same memory address as the VPN
9636                         connection name.  This is because the VPN connection name could
9637                         potentially be freed and set to something else during the lifetime
9638                         of the NMVPNConnection object.
9639
9640 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9641
9642         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9643         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9644         with the file descriptors. Send a child setup function to change the pppd
9645         progress group.
9646
9647 2007-08-15  Dan Williams  <dcbw@redhat.com>
9648
9649         * src/supplicant-manager/nm-supplicant-interface.c
9650                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9651                         an interface
9652                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9653                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9654                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9655                         the interface internally
9656
9657 2007-08-15  Dan Williams  <dcbw@redhat.com>
9658
9659         * src/nm-device-802-11-wireless.c
9660                 - (real_bring_down): move most of this function into device_cleanup()
9661                         so that it can be called from elsewhere
9662                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9663                         and stuff on dispose.  These would normally get cleaned up when
9664                         the device is marked down and deactivated, but when the device is
9665                         hot-unplugged, it's already down and real_down() never gets run
9666
9667 2007-08-15  Dan Williams  <dcbw@redhat.com>
9668
9669         * src/nm-dbus-nmi.c
9670                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9671                         caused a reference leak on device for which NM requested a key
9672
9673 2007-08-15  Dan Williams  <dcbw@redhat.com>
9674
9675         * libnm-glib/nm-client.c
9676                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9677
9678 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9679
9680         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9681         nothing is using it at the moment, but it'll be all useful and stuff later on.
9682
9683         * libnm-util/nm-setting.h: Define NMSettingPPP.
9684
9685         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9686
9687         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9688
9689         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9690
9691         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9692
9693         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9694
9695 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9696
9697         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9698
9699         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9700         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9701         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9702         name and different arguments and it won't compile anymore. To fix this, we now have
9703         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9704         that is new API + compatibility API and used by the daemon. The other, 
9705         nm-manager-client.xml is only the new API without compatibility bits and is used
9706         by libnm-glib to make it compile.
9707
9708         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9709
9710         * src/nm-manager.c (impl_manager_legacy_sleep)
9711         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9712         interface functions for 0.6 branch.
9713
9714 2007-08-14  Dan Williams  <dcbw@redhat.com>
9715
9716         * src/NetworkManagerAP.c
9717                 - (nm_ap_new_from_properties): fix mistaken check of return value
9718                         from memcmp (should expect 0)
9719
9720 2007-08-14  Dan Williams  <dcbw@redhat.com>
9721
9722         (force-commit to fix wrong comment and partial commit of r2685; this
9723          commit actually applies to r2685)
9724
9725         * src/NetworkManagerUtils.c
9726                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9727                         ignores trailing nulls in the SSID to work around mismatches in
9728                         expectations between WEXT and what the info-daemon passes back.  The
9729                         info-daemon would pass back the correct length, but due to the
9730                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9731                         the device would always have an SSID + 1 depending on what versions
9732                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9733                         visible by just quitting the applet and relaunching, which caused
9734                         NM to reassociated to the same network over again when reloading
9735                         the save networks.
9736
9737         * src/NetworkManagerPolicy.c
9738           src/NetworkManagerUtils.h
9739           src/nm-device-802-11-wireless.c
9740                 - Update for new parameter to nm_utils_same_ssid()
9741
9742 2007-08-14  Dan Williams  <dcbw@redhat.com>
9743
9744         * src/NetworkManagerAP.c
9745                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9746                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9747                         setting the BSSID to all 0s.  That confused the heck out of NM,
9748                         plus it's useless and probably out-of-spec.
9749
9750 2007-08-14  Dan Williams  <dcbw@redhat.com>
9751
9752         * callouts/Makefile.am
9753           src/dhcp-manager/nm-dhcp-manager.c
9754           src/dhcp-manager/nm-dhcp-manager.h
9755           src/dhcp-manager/Makefile.am
9756                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9757
9758 2007-08-14  Dan Williams  <dcbw@redhat.com>
9759
9760         * src/dhcp-manager/nm-dhcp-manager.c
9761                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9762                         it's really needed, get rid of unused xtra_args parameter
9763
9764 2007-08-14  Dan Williams  <dcbw@redhat.com>
9765
9766         * include/NetworkManagerVPN.h
9767           src/vpn-manager/nm-dbus-vpn.c
9768           src/vpn-manager/nm-dbus-vpn.h
9769           src/vpn-manager/nm-vpn-act-request.c
9770           src/vpn-manager/nm-vpn-act-request.h
9771           src/vpn-manager/nm-vpn-service.c
9772           src/vpn-manager/nm-vpn-service.h
9773           libnm-glib/nm-vpn-connection.c
9774           libnm-glib/nm-vpn-connection.h
9775           libnm-glib/nm-client.h
9776                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9777                         NMVPNServiceState to clarify what they apply to
9778                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9779                         NMVPNActStage -> NMVPNConnectionState for the same reason
9780
9781         * libnm-glib/nm-client.c
9782                 - Constant + type renames from above
9783                 - Properly handle NameOwnerChanged/manager_running signals
9784                         for NM service; only emit when state really changes
9785                 - Use hash tables correctly so that the key (which was previously owned
9786                         by the D-Bus message) now has the same lifetime as the value, since
9787                         the key is now taken from the the NMVPNConnection itself.  This
9788                         really fixes the double-VPN names in the applet
9789
9790 2007-08-13  Dan Williams  <dcbw@redhat.com>
9791
9792         Patch from Michael Biebl <biebl@debian.org>
9793
9794         * po/POTFILES.in
9795           po/POTFILES.skip
9796                 - Update for vpn-properties move
9797
9798 2007-08-13  Dan Williams  <dcbw@redhat.com>
9799
9800         * libnm-glib/nm-client.c
9801                 - Convert internal VPN connection tracking from a list to a hash table
9802                         to easily avoid duplicates
9803                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9804                         must be freed by the caller, like nm_client_get_devices()
9805                 - (nm_client_remove_vpn_connection): don't let the removal signal
9806                         leak through for NMVPNConnection objects that aren't actually
9807                         tracked.
9808                 - (manager_running): throw away VPN connection list when NM goes away,
9809                         like with the device list
9810
9811 2007-08-13  Dan Williams  <dcbw@redhat.com>
9812
9813         * src/dhcp-manager/nm-dhcp-manager.c
9814                 - Stop any dhclient instance that might be already running for a
9815                         particular interface before starting an NM spawned dhclient.  Fixes
9816                         dhclient processes left over if NM crashes, stuff like that.
9817
9818 2007-08-13  Dan Williams  <dcbw@redhat.com>
9819
9820         * src/NetworkManagerAP.c
9821                 - (finalize): don't try to g_array_free (NULL, ...), which happened
9822                         when the AP wasn't broadcasting it's SSID
9823
9824 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
9825
9826         * include/NetworkManager.h: added DBus path for connection settings.
9827
9828         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9829         nm_connection_settings_signal_updated,
9830         nm_connection_settings_signal_removed): new functions to wrap the
9831         objects' signals.
9832         (nm_connection_settings_init): register GObject with DBus.
9833         (nm_connection_settings_get_dbus_object_path): new function.
9834
9835         * libnm-glib/Makefile.am: added libnmutil to link flags.
9836
9837 2007-08-13  Tambet Ingo  <tambet@gmail.com>
9838
9839         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9840
9841         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9842         libnm_glib directory got merged with libnm-glib/.
9843
9844         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9845
9846         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9847         Rename the library from libnm-glib to libnm_glib to maintain the library API
9848         compatibility with 0.6 branch.
9849
9850         * Makefile.am: Remove gnome/ SUBDIR.
9851
9852         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9853
9854         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9855
9856         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9857
9858         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9859         anymore.
9860         Remove checks for wpa_supplicant binary, it's used over dbus.
9861         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9862
9863         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9864         Link the binaries with libnm_glib.la.
9865
9866 2007-08-12  Dan Williams  <dcbw@redhat.com>
9867
9868         * src/NetworkManagerPolicy.c
9869                 - (nm_policy_device_change_check): fix policy to deactivate old device
9870                         before activating new one, at least until the multiple active
9871                         device support lands
9872
9873 2007-08-12  Dan Williams  <dcbw@redhat.com>
9874
9875         * src/NetworkManagerPolicy.c
9876                 - (nm_policy_new): hook up to connection-added / connection-removed
9877                         signals instead of connections-changed
9878
9879 2007-08-12  Dan Williams  <dcbw@redhat.com>
9880
9881         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
9882         Robert Frank <rfrank@redhat.com>
9883
9884         * src/dhcp-manager/nm-dhcp-manager.c
9885           src/dhcp-manager/nm-dhcp-manager.c
9886           src/nm-device.c
9887                 - Spawn and communicate with dhclient directly, through means of a
9888                 custom dhclient callout script.  Process callout D-Bus signals
9889                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
9890                 sent via gobject signals rather than being driven by the dhcp manager
9891                 directly.
9892
9893 2007-08-12  Dan Williams  <dcbw@redhat.com>
9894
9895         * callouts/nm-dhcp-client-action.c
9896                 - (build_message): ignore non-DHCP-related environment variables
9897
9898 2007-08-12  Dan Williams  <dcbw@redhat.com>
9899
9900         * Makefile.am
9901           configure.in
9902           callouts/Makefile.am
9903           callouts/nm-dhcp-client-action.c
9904           callouts/nm-dhcp-client.conf
9905                 - Add dhclient-executed callout that takes the place of dhclient-script
9906                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9907                 NM then listens for
9908
9909 2007-08-09  Tambet Ingo  <tambet@gmail.com>
9910
9911         [Based on patch by Helmut Schaa <hschaa@suse.de>]
9912
9913         * libnm-glib/nm-client.h:
9914         * libnm-glib/nm-object.h:
9915         * libnm-glib/nm-vpn-connection.h:
9916         * libnm-glib/nm-settings.h:
9917         * libnm-glib/nm-device.h:
9918         * libnm-glib/nm-ip4-config.h:
9919         * libnm-glib/nm-access-point.h:
9920         * libnm-glib/nm-device-802-3-ethernet.h:
9921         * libnm-util/nm-setting.h: 
9922         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9923
9924         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9925
9926         * libnm-glib/nm-access-point.c: Strength has type char.
9927
9928         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9929         to fix build. GnomeDruid is deprecated in recent libgnomeui.
9930
9931         * introspection/nm-access-point.xml: Strength property is char, not int.
9932
9933         * src/NetworkManagerAP.c (set_property): Set strength from char.
9934         (get_property): Handle hidden APs (with empty SSID).
9935         Get strength value from char.
9936         (nm_ap_class_init): Strength property has char type.
9937
9938 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
9939
9940         * introspection/Makefile.am:
9941         * introspection/nm-settings.xml:
9942         * introspection/nm-settings-connection.xml: added Settings interfaces.
9943
9944         * libnm-glib/nm-settings.[ch]:
9945         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9946         containing the DBus implementation.
9947
9948 2007-07-26  Dan Williams  <dcbw@redhat.com>
9949
9950         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9951
9952         * src/NetworkManagerSystem.c
9953                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9954                         same subnet (#437396)
9955
9956 2007-07-26  Dan Williams  <dcbw@redhat.com>
9957
9958         Patch from Kelemen Gábor <kelemeng@gnome.hu>
9959
9960         * gnome/vpn-properties/nm-vpn-properties.c
9961                 - Fix translatable strings (#445865)
9962
9963 2007-07-26  Dan Williams  <dcbw@redhat.com>
9964
9965         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9966
9967         * configure.in
9968                 - Remove useless junk (#412530)
9969
9970 2007-07-10  Christopher Aillon  <caillon@redhat.com>
9971
9972         Patch from Robert Buchholz <rbu@gentoo.org>:
9973
9974         * configure.in:
9975         * Makefile.am:
9976         * introspection/Makefile.am:
9977         Make make distcheck work again.
9978
9979 2007-06-27  Dan Williams  <dcbw@redhat.com>
9980
9981         * Make SSIDs GByteArrays everywhere
9982         * Rename "essid" -> "ssid" everywhere that's appropriate
9983         * Refcount activation_ap member of the 802.11 wireless device class
9984
9985 2007-06-27  Tambet Ingo  <tambet@ximian.com>
9986
9987         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9988
9989 2007-06-22  Tambet Ingo  <tambet@ximian.com>
9990
9991         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9992         that we got a new AP when we just update existing AP properties.
9993
9994 2007-06-21  Tambet Ingo  <tambet@ximian.com>
9995
9996         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9997
9998         * nm-utils.[ch]: Remove.
9999
10000         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
10001         objects for easy property access and dbus connection handling.
10002
10003         * libnm-glib/nm-client.c: Derive from NMObject.
10004
10005         * libnm-glib/nm-device.c: Ditto.
10006
10007         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
10008
10009         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
10010
10011         * libnm-glib/nm-ip4-config.c: Ditto.
10012
10013         * libnm-glib/nm-access-point.c: Ditto.
10014
10015         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
10016         comparision. Currently used by the device activation code to determine if the new
10017         activation is the same as the old one.
10018
10019         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
10020         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
10021         able to ask password for the AP.
10022
10023         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
10024         up if the device is already connected, tear down it's connection (if it isn't the
10025         same as new one) and start the activation.
10026
10027         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
10028
10029         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10030         the issue where all APs are always listed as encrypted.
10031
10032         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10033         their own registered paths.
10034
10035         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10036         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10037
10038 2007-06-13  Tambet Ingo  <tambet@ximian.com>
10039
10040         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10041         (0 & 0 == 0, doh)
10042
10043         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10044         because the handling code will cause the next state change and signal listeners
10045         get the signals in wrong order.
10046
10047         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10048         correctly in case of pending activation.
10049
10050         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10051         Convert the essid byte array to string correctly, including the terminating NULL.
10052
10053         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10054         mode with correct types.
10055
10056         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10057         constructed info to dbus call instead of the activation request.
10058
10059 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10060
10061         Patch from Christian Persch <chpe@gnome.org>
10062
10063         * libnm-glib/Makefile.am:
10064         * dispatcher-daemon/Makefile.am:
10065         Use the correct variables, the correct paths, and correct ordering. (446315)
10066
10067 2007-06-11  Tambet Ingo  <tambet@ximian.com>
10068
10069         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10070         argument. The activation request is easy to retrieve.
10071
10072         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10073         just to be a convenient location for devices to store random stuff.
10074
10075 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10076
10077         Patch from Alex Smith <alex@alex-smith.me.uk>
10078
10079         * src/backends/NetworkManagerFrugalware.c:
10080         Update the FrugalWare backend to fix a few segfaults. (#392642)
10081
10082 2007-06-08  Tambet Ingo  <tambet@ximian.com>
10083
10084         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10085
10086         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10087         setting.
10088         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10089
10090 2007-06-06  Tambet Ingo  <tambet@ximian.com>
10091
10092         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10093         automagically.
10094         Implement NMSettingIP4Config.
10095         Finish NMSettingWired by adding all known members.
10096         (setting_wired_verify): Implement.
10097         Finish NMSettingWireless by adding all known members.
10098         (setting_wireless_verify): Implement.
10099
10100         * libnm-util/nm-connection.c: Register "ipv4" setting.
10101         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10102         dump function, we can introspect the GHashTable which is used for sending connections
10103         over dbus.
10104
10105         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10106         Take GByteArray for essid, it's really not a string.
10107
10108         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10109         Start DHCP request if setting is not passed or if it states that DHCP should be used.
10110         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10111         means overriding the values we got from DHCP.
10112         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10113         (nm_device_deactivate_quickly): Ditto.
10114
10115         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10116         for debugging.
10117
10118 2007-05-07  Tambet Ingo  <tambet@ximian.com>
10119
10120         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10121         NMConnection.
10122
10123         * libnm-glib/nm-device-802-11-wireless.c:
10124         (nm_device_802_3_ethernet_activate): Remove.
10125
10126         * libnm-glib/nm-device-802-3-ethernet.c
10127         (nm_device_802_3_ethernet_activate): Remove.
10128
10129         * libnm-glib/nm-device.c (nm_device_activate): Implement.
10130
10131         * src/nm-device-802-3-ethernet.c: Implement the new activation using
10132         NMConnection.
10133
10134         * src/nm-device-802-11-wireless.c: Store an activation AP once the
10135         activation has started.
10136         Implement the new activation using NMConnection.
10137
10138         * src/nm-activation-request.c: Store a generic connection object instead
10139         of a wireless-specific AP.
10140
10141         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10142         on device type, create a device specific connection object suitable for
10143         device activation.
10144
10145         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10146         specific check to validate the connection and on success start the
10147         activation.
10148
10149         * src/nm-device-interface.h: Add a activate virtual function to the
10150         interface definition.
10151
10152         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10153         (impl_device_activate): Implement.
10154
10155         * introspection/nm-device.xml: Add a generic device activation interface
10156         that accepts an abstract NMConnection structure that has device-specific
10157         information in it.
10158
10159         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10160         activation interface.
10161
10162         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10163         activation interface.
10164
10165         * libnm-util/nm-connection.c: 
10166         * libnm-util/nm-connection.h: 
10167         * libnm-util/nm-setting.c:
10168         * libnm-util/nm-setting.h: Add.
10169
10170         * libnm-util/Makefile.am: Build the added files.
10171
10172         * src/nm-dbus-manager.c
10173         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10174         DbusConnection argument from 'name-owner-changed' signal. The manager
10175         is already passed as a first argument to the signal and the connection
10176         is easy enough to get from it.
10177
10178         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10179         Update the signature of the function.
10180
10181         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10182         Ditto.
10183
10184         * src/NetworkManager.c: Ditto.
10185
10186         * src/named-manager/nm-named-manager.c
10187         (nm_named_manager_name_owner_changed): Ditto.
10188
10189         * src/supplicant-manager/nm-supplicant-manager.c
10190         (nm_supplicant_manager_name_owner_changed): Ditto.
10191
10192         * src/nm-hal-manager.c (name_owner_changed): Ditto.
10193
10194         * src/dhcp-manager/nm-dhcp-manager.c
10195         (nm_dhcp_manager_name_owner_changed): Ditto.
10196
10197         * src/nm-hal-manager.c: Add a list of device detectors and creators
10198         to make it easier to add new devices. Each device type has it's own
10199         entry in the table so adding new device types is only a matter of
10200         implementing a couple of functions, one for device detection and the
10201         other for device creation.
10202
10203 2007-04-25  Dan Williams  <dcbw@redhat.com>
10204
10205         * initscript/RedHat/NetworkManager.in: remove trailing backslash
10206                 (gnome.org #432401)
10207
10208 2007-03-30  Dan Williams  <dcbw@redhat.com>
10209
10210         * src/NetworkManagerSystem.c
10211                 - (nm_system_device_set_ip4_route): clean up and fix argument
10212                         to nm_dev_sock_open()
10213
10214 2007-03-28  Tambet Ingo  <tambet@ximian.com>
10215
10216         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10217         data to correct types instead of always using string.
10218
10219         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10220         _not_ have NM_802_11_CAP_PROTO_NONE.
10221         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10222         is not set.
10223
10224 2007-03-27  Tambet Ingo  <tambet@ximian.com>
10225
10226         * libnm-glib/Makefile.am: Fix the build issue.
10227
10228 2007-03-26  Tambet Ingo  <tambet@ximian.com>
10229
10230         * libnm-glib/nm-vpn-connection.h: 
10231         * libnm-glib/nm-vpn-connection.c: Implement.
10232
10233         * libnm-glib/nm-client.c: Add VPN support.
10234
10235         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10236         handler for VPN.
10237
10238         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10239         on DBUS again.
10240
10241 2007-03-26  Dan Williams  <dcbw@redhat.com>
10242
10243         * src/NetworkManagerAPList.c
10244         * src/nm-device-802-11-wireless.c
10245         * src/NetworkManagerAP.c:
10246                 - Store last seen as glong instead of GTimeVal.
10247                 - Fix the upper bound of capabilities, it's a bitfield.
10248
10249 2007-03-16  Tambet Ingo  <tambet@ximian.com>
10250
10251         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10252
10253         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10254         "manager-running" signal that notifies the appearance/disappearance of NM.
10255         (nm_client_sleep): Implement.
10256
10257         * libnm-glib/nm-device.c:
10258         * libnm-glib/nm-device-802-11-wireless.c: 
10259         * libnm-glib/nm-device-802-3-ethernet.c: 
10260
10261         Don't inherit from DBusGProxy, add a proxy to private
10262         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10263         for anything but their own dbus interface. DBusGProxy objects support only one
10264         interfaces and to work around this, NMDevice has spearate proxy for each dbus
10265         interface. The nice side effect of this change is that we do not create a new
10266         DBusGProxy object for each property access.
10267
10268 2007-03-15  Tambet Ingo  <tambet@ximian.com>
10269
10270         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10271         with zeroes before passing them to functions - the functions never do that and
10272         reading the values back may produce wrong values.
10273         (real_bring_up): Store the signal handler id ...
10274         (real_bring_down): ... So that it can be removed here.
10275         Disconnect the supplicant interface here as well.
10276         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10277         from the access point instead of old $device/Networks/$essid.
10278
10279         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10280         device state is connected (instead of just having link/carrier).
10281
10282         * src/nm-activation-request.c: Don't store NMData in activation request, it's
10283         already easily accessible through the device.
10284
10285         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10286         store it within the object.
10287         (nm_ap_get_dbus_path): Export it to public as well.
10288
10289         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10290         of the singleton.
10291
10292 2007-03-12  Dan Williams  <dcbw@redhat.com>
10293
10294         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
10295         for non-carrier-detect capable devices, and useless for carrier-detect
10296         devices since we get notifications from netlink about carrier status anyway.
10297
10298         * src/nm-device-802-3-ethernet.c
10299                 - remove 'link_source_id' member from private data
10300                 - (probe_link): remove and collapse into real_update_link()
10301                 - (nm_device_802_3_periodic_update): remove
10302                 - (real_is_up): check for sup_iface rather than link_source_id
10303                 - (real_bring_up): return gboolean for success/fail; require that
10304                         sup_iface be valid for device bringup to succeed
10305                 - (real_bring_down): zero out link signal ids
10306
10307         * src/nm-device.c
10308                 - (nm_device_activate_stage2_device_config): fail activation if device
10309                         bringup fails
10310                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10311                         fails
10312                 - (nm_device_bring_up): return success/fail
10313
10314         * src/nm-device.h
10315                 - bring_up now returns success/fail
10316
10317         * src/nm-device-802-11-wireless.c
10318                 - (real_bring_up): return success from bringup
10319
10320 2007-03-07  Dan Williams  <dcbw@redhat.com>
10321
10322         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
10323         * src/nm-ap-security-wpa-psk.c
10324                 - (real_write_supplicant_config): work with PSKs that may contain
10325                         zeros in the binary format rather than treating it as a string
10326
10327 2007-03-02  Tambet Ingo  <tambet@ximian.com>
10328
10329         * libnm-glib/nm-device-802-11-wireless.c
10330         (nm_device_802_11_wireless_get_capabilities): Implement.
10331
10332         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10333
10334         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10335
10336         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10337         reply only if it's not NULL. Not sure why this started happening right now.
10338
10339         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10340         code paths for when devices get removed on shutdown or when a device is just
10341         removed.
10342         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10343         gets freed so any signal from a device (disconnected for instance) would invoke
10344         NMState update which would crash.
10345         (nm_manager_remove_device): Bring the device down when it gets removed.
10346
10347         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10348         the unused dev_type.
10349
10350         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10351         reference to the added device, NMManager will own it (if it wants).
10352
10353         * test/nm-tool.c: Rewrite using libnm-glib.
10354
10355         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10356         We get signalled when it changes.
10357
10358         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10359         when it changes.
10360
10361         * libnm-glib/nm-device.c: Cache the device state property.
10362
10363         * libnm-glib/nm-access-point.c: Cache the strength property.
10364
10365         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10366         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10367         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10368         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10369         the device is down, activating, or activated (in case of A/B/G cards).
10370         Remove some old dead ifdef'ed out code that used to configure wireless devices,
10371         it's all done through supplicant now.
10372
10373         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10374         counting issues with pending calls which caused leaks and crashes when
10375         interface was removed (now that the interface actually gets removed).
10376
10377         * src/nm-call-store.c: Make a copy of data before running a foreach
10378         with user callback on it - The most common usage pattern is to cancel
10379         (and thus remove) all pending calls with foreach which would modify
10380         the hash table we're iterating over.
10381
10382         * src/nm-manager.c: When a device is added, make sure it is "up". When
10383         it's removed or disabled due to disabling wireless or networking, bring
10384         it down.
10385
10386         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10387
10388         * src/nm-device-802-11-wireless.c: 
10389         * src/nm-device-802-3-ethernet.c: 
10390         * src/nm-device.c:
10391                 - Remove "init" virtual function, all gobjects have a place for that
10392                   already (constructor).
10393                 - Replace "start" virtual function with "bring_up", devices can be
10394                   brought up and down more than just on startup now.
10395                 - Add "is_up" virtual function.
10396                 - Implement one way to bring a device down instead of previous 4 different
10397                   ways, each of witch did something different.
10398
10399         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10400         all it needs is the device interface.
10401
10402         Get rid of NMData.dev_list (3 members to go).
10403         Get rif of NMData in a lot of places.
10404
10405         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10406
10407 2007-02-23  Dan Williams  <dcbw@redhat.com>
10408
10409         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10410
10411         * src/NetworkManagerAP.c
10412                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10413                         OR-ing rather than AND-ing
10414
10415 2007-02-20  Tambet Ingo  <tambet@ximian.com>
10416
10417         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10418         "network-removed" signals.
10419
10420         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10421
10422         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10423         when receiving the signal from dbus.
10424
10425         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10426         property.
10427
10428         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10429         deactivation of the previously activated device working again.
10430
10431         * src/nm-activation-request.c: Remove NMActStage property and it's getter
10432         and setter.
10433
10434         * src/nm-device.c (nm_device_is_activated): Remove.
10435         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10436
10437         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10438         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10439         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10440         NM_DBUS_SIGNAL_STATE_CHANGE signal.
10441         Remove NMNetworkStatus and NMActStage enums.
10442
10443 2007-02-19  Tambet Ingo  <tambet@ximian.com>
10444
10445         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10446         Handle device state changes and disconnect VPN if it's device deactivates.
10447
10448         * src/nm-dbus-nm.c: 
10449         * src/nm-dbus-nm.h: 
10450         * src/nm-dbus-device.c: 
10451         * src/nm-dbus-device.c: 
10452         * src/nm-dbus-net.c: 
10453         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10454
10455         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10456
10457         * src/nm-device.c (nm_device_get_by_udi):
10458         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10459         implemented in the correct location (NMManager).
10460         Rip out all the test_device stuff.
10461
10462         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10463         failure handlers, it's all done by NMDevice already.
10464
10465         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10466         Remove the iochannel hack to route the unix signals to the main thread since
10467         we're not threaded anymore.
10468
10469         * src/NetworkManagerAP.c: Implement HWAddress property.
10470
10471         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10472         automatically with dbus-glib.
10473
10474         * src/nm-netlink-monitor.c: 
10475         * src/nm-netlink-monitor.h:
10476                 - Move it low in the class hierarchy, don't reference any NM types.
10477                 - Remove private data from the header.
10478                 - Use type safe checks in public API methods.
10479                 - Make it a singleton so we don't have to pass the single reference around.
10480
10481 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10482
10483         * introspection/nm-ip4-config.xml: Implement.
10484
10485         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10486
10487         * libnm-glib/nm-ip4-config.c:
10488         * libnm-glib/nm-ip4-config.c: Implement.
10489
10490         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10491         securities. APs reference security.
10492
10493         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10494         be exported over DBUS.
10495
10496         * src/nm-device-802-3-ethernet.c: Ditto.
10497
10498         * src/NetworkManagerAP.c:
10499         * src/NetworkManagerAP.h:
10500                 - Convert to GObject, export over DBUS.
10501
10502         * src/nm-ip4-config.h:
10503         * src/nm-ip4-config.h:
10504                 - Convert to GObject, export over DBUS.
10505
10506 2007-02-12  Dan Williams  <dcbw@redhat.com>
10507
10508         Patch from Helmut Schaa <hschaa@suse.de>
10509
10510         * vpn-daemons/pptp/configure.in
10511           vpn-daemons/pptp/Makefile.am
10512           vpn-daemons/openvpn/configure.in
10513           vpn-daemons/openvpn/Makefile.am
10514           vpn-daemons/vpnc/configure.in
10515           vpn-daemons/vpnc/Makefile.am
10516                 - Add --without-gnome switch which disables building gnome bits
10517
10518 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10519
10520         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10521
10522         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10523
10524         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10525         'HwAddress'.
10526
10527         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10528
10529         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10530
10531         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10532
10533         * src/:
10534                 - Remove old low-level dbus interface implementations and replace them
10535                   with dbus-glib one.
10536
10537         * configure.in:
10538                 - Require dbus-glib >= 0.72.
10539                 - Plug in new sources to build.
10540
10541         * libnm-glib/:
10542                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10543                   to make it more convenient to use from GObject based programs.
10544
10545         * introspection/:
10546                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10547
10548 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10549
10550         * src/nm-device-802-11-wireless.c:
10551                 - Add "network-added" and "network-removed" signals.
10552                 - Use gobject boilerplate macros to define the GObject.
10553                 - Implement wireless device activation.
10554                 - Remove activation_failure_handler and activation_success_handler
10555                   and instead listen on state-changed signals and run the same code
10556                   from there.
10557
10558         * src/nm-device.c:
10559                 - Implment NMDeviceInterface::deactivate.
10560                 - Remove activation_failure_handler and activation_success_handler
10561                   virtual methods. Each device which is interested in these events
10562                   can just listen on it's state changed signals.
10563
10564         * src/NetworkManagerPolicy.c:
10565                 - Move a bit more NMData usage to NMManager.
10566                 - Remove activation scheduling bits.
10567                 - Add listeners for wireless device's "network-added" and
10568                   "network-removed" signals.
10569                 - Listen device changed signals and deactivate currently activated
10570                   device when another device start activating (for now).
10571                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10572                   for calling this, the policy code knows exactly when this should happen,
10573                   by listening on events from NMManager and NMDevices.
10574
10575         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10576         Implement.
10577
10578         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10579         method on the specific device instead of going to through policy code
10580         and determining the device type by passed in AP's existance.
10581
10582         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10583         abstract NMDevice deactivation.
10584
10585 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10586
10587         * src/NetworkManager.c:
10588                 - Set up all the shiny new managers.
10589
10590         * src/NetworkManagerPolicy.c:
10591                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10592                   classes to call into policy code, make the policy code kind of like
10593                   a supervisor that monitors what's going on and drives the whole NM.
10594
10595         * src/nm-hal-manager.c: 
10596         * src/nm-hal-manager.h:
10597                 - Collect all libhal code scattered around NM to this one class.
10598                 - Listen libhal and NMManager events and add/remove devices to
10599                   NMManager.
10600
10601         * src/nm-manager.c:
10602         * src/nm-manager.h:
10603                 - Implment a replacement for NMData. NMData is now officially
10604                 deprecated.
10605
10606 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10607
10608         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10609         * src/supplicant-manager/nm-supplicant-interface.h
10610         * src/supplicant-manager/nm-supplicant-interface.c
10611         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10612         argument to boolean from enum.
10613
10614         Make NMDevice abstract class, remove almost all references to it's
10615         subclasses (the last place gets removed with new policy manager). Add
10616         NMDeviceInterface (which NMDevice implements) so that when we have
10617         NMDevice exported over DBUS, there's a common NMDevice interface which
10618         all instances have, plus there's a device specific interface for each
10619         specific type.
10620         Remove functions (nm_device_is_802_3_ethernet) and
10621         (nm_device_is_802_11_wireless). There are already standard GObject macros
10622         for type safe checks.
10623         Use the updated supplican manager API.
10624
10625         * src/nm-device-interface.h: 
10626         * src/nm-device-interface.c: 
10627         * src/nm-call-store.h: 
10628         * src/nm-call-store.c: Implement.
10629
10630         * src/supplicant-manager/nm-supplicant-interface.c:
10631         * src/supplicant-manager/nm-supplicant-interface.h:
10632         * src/supplicant-manager/nm-supplicant-manager.c:
10633         * src/supplicant-manager/nm-supplicant-manager.h:
10634                 - Remove all private data type references from public header files.
10635                 - Remove all references to other NM classes, this class is just a
10636                   proxy between wpa_supplicant and NM so it doesn't have to know
10637                   any internals.
10638                 - Convert to dbus-glib bindings.
10639                 - Type safe checks for public methods' arguments.
10640                 - Store pending DBUS call ids to NMCallStore.
10641
10642         * src/supplicant-manager/nm-supplicant-config.c:
10643                 - Store config values in a GHashTable instead of GSList.
10644
10645         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10646
10647         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10648         singleton now.
10649
10650         * src/nm-device.c: Use the new DHCP manager API.
10651
10652         * src/nm-activation-request.c:
10653         * src/nm-activation-request.h:
10654                 - Remove all dhcp related properties and methods.
10655
10656         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10657
10658         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10659
10660         * src/dhcp-manager/nm-dhcp-manager.c:
10661         * src/dhcp-manager/nm-dhcp-manager.h:
10662                 - Convert it to GObject since we need to signal state changes.
10663                 - Remove all references to other NM classes, this class is one
10664                   of the lowest classes in our hierarchy.
10665                 - One less class to use NMActRequest.
10666                 - Make it singleton, one less user of NMData.
10667                 - Remove a couple of sleep() calls.
10668                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10669                   One less class to use the NM's custom tailored signal handlig.
10670
10671         * Makefile.am: Generate marshallers, add them to build.
10672
10673 2007-02-02  Dan Williams  <dcbw@redhat.com>
10674
10675         * configure.in
10676           gnome/Makefile.am
10677           nm-applet.desktop
10678           Makefile.am
10679                 - Remove last bits referencing gnome applet
10680
10681 2007-02-02  Dan Williams  <dcbw@redhat.com>
10682
10683         * src/vpn-manager/nm-vpn-service.c
10684                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10685                         and NBNS server addresses
10686
10687 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10688
10689         * src/nm-dbus-manager.c:
10690         * src/nm-dbus-manager.h:
10691                 - Convert all internal DBUS code to use dbus-glib bindings.
10692                 - Remove GObject properties, we don't need them here.
10693                 - Don't explicitly set things to NULL after freeing, glib is
10694                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10695                 - Make public API argument checks type safe.
10696                 - Remove unnecessary (and wrong) cast to GObject for the first
10697                   argument to g_signal_* calls - The first argument is a gpointer.
10698                 - Export DBusGConnection to other cool classes that (are going to)
10699                   use dbus-glib.
10700
10701 2007-01-26  Dan Williams  <dcbw@redhat.com>
10702
10703         * libnm-util/dbus-dict-helpers.c
10704           libnm-util/dbus-dict-helpers.h
10705                 - Coordinate style with wpa_supplicant version to minimize diff
10706                 - Add uint32 array support
10707                 - (nmu_dbus_dict_append_uint32_array): new function
10708                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10709                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10710                         version; allow adding string array elements individually
10711
10712         * test/libnm-util/test-dbus-dict-helpers.c
10713                 - Test uint32 arrays
10714
10715 2007-01-27  Jürg Billeter  <j@bitron.ch>
10716
10717         * src/backends/NetworkManagerPaldo.c
10718                 - (nm_system_update_dns): clear nscd hosts cache
10719
10720 2007-01-04  Dan Williams  <dcbw@redhat.com>
10721
10722         Threading removal related cleanups:
10723
10724         - Use the glib default main context.  Remove the device main context
10725                 member from NMDevice, and the main_context member from NMData.  Change
10726                 all the idle and timeout scheduler functions to use plain
10727                 g_idle_add() and g_timeout_add().
10728
10729         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10730                 takes an argument; fix that up too.
10731
10732         - Remove all locking, which is useless since we no longer use threads.  For
10733                 example, nm_get_device_by_iface_locked() has been removed.  The global
10734                 device list lock, the AP List lock, and all static locks in
10735                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10736                 in NetworkManagerUtils.c have also been removed.
10737
10738         - Other cleanups in spacing and code style
10739
10740 2007-01-01  Dan Williams  <dcbw@redhat.com>
10741
10742         Found by Bill Moss:
10743
10744         * src/supplicant-manager/nm-supplicant-interface.c
10745                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10746                         the supplicant interface wasn't already disconnected.  Always
10747                         call removeNetwork and disconnect unless the supplicant interface
10748                         is in the DISCONNECTED or INACTIVE state.
10749
10750 2006-12-28  Dan Williams  <dcbw@redhat.com>
10751
10752         Use a single thread for everything.  With the move to wpa_supplicant
10753         and communication over D-Bus, there's no reason for multiple threads.
10754         Almost all of the blocking code has been removed, with one exception in
10755         the DHCP manager and a few in the VPN manager.  This commit removes the
10756         per-device worker thread and fixes activation cancellation in the absence
10757         of threads.  Further removal of thread-related code would be removing
10758         any locking code (like the device list lock) and simplification of logic
10759         around areas of code or data structures that are currently locked.
10760
10761         * autoip.c
10762           dhcp-manager/nm-dhcp-manager.c 
10763           nm-device-802-11-wireless.c
10764           nm-device-802-3-ethernet.c
10765           nm-device.c
10766           nm-device.h
10767                 - Remove usage of multiple threads
10768
10769 2006-12-19  Dan Williams  <dcbw@redhat.com>
10770
10771         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10772         plus a few other patches from wpa_supplicant bugzilla.
10773
10774         * src/Makefile.am
10775           src/NetworkManagerPolicy.c
10776           src/NetworkManagerUtils.c
10777           src/NetworkManagerUtils.h
10778           src/nm-ap-security-leap.c
10779           src/nm-ap-security-wep.c
10780           src/nm-ap-security-wpa-eap.c
10781           src/nm-ap-security-wpa-psk.c
10782           src/nm-ap-security.c
10783           src/nm-ap-security.h
10784           src/nm-device-802-11-wireless.c
10785           src/nm-device-802-11-wireless.h
10786           src/supplicant-manager/nm-supplicant-config.c
10787           src/supplicant-manager/nm-supplicant-config.h
10788           src/supplicant-manager/nm-supplicant-interface.c
10789           src/supplicant-manager/nm-supplicant-interface.h
10790           src/supplicant-manager/nm-supplicant-marshal.list
10791           src/supplicant-manager/nm-supplicant-settings-verify.c
10792           src/supplicant-manager/nm-supplicant-settings-verify.h
10793                 - Move all connection management and association handling to
10794                         wpa_supplicant over dbus, rather than spawning a private copy
10795
10796 2006-12-19  Dan Williams  <dcbw@redhat.com>
10797
10798         * src/NetworkManagerPolicy.c
10799                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10800                         better locking of the device change check handler ID.  Incorrect
10801                         locking was causing lost device change requests
10802
10803 2006-12-18  Dan Williams  <dcbw@redhat.com>
10804
10805         * libnm-util/dbus-dict-helpers.c
10806                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10807                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10808                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10809
10810 2006-12-18  Dan Williams  <dcbw@redhat.com>
10811
10812         * gnome/libnm_glib/libnm_glib.c
10813                 - Change dbus_connection_close() -> dbus_connection_unref()
10814
10815 2006-12-11  Dan Williams  <dcbw@redhat.com>
10816
10817         * src/supplicant-manager/nm-supplicant-interface.c
10818                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10819                         wpa_supplicant interface state
10820                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10821                         state before transitioning to READY state
10822
10823 2006-12-04  Dan Williams  <dcbw@redhat.com>
10824
10825         * src/nm-device-802-11-wireless.c
10826                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10827                         odd length of ESSID returned from ieee80211 stack-based drivers
10828
10829 2006-12-04  Dan Williams  <dcbw@redhat.com>
10830
10831         * src/nm-device-802-11-wireless.c
10832                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10833                         IE handling blocks that cause mis-parsing of the IE
10834
10835 2006-12-04  Dan Williams  <dcbw@redhat.com>
10836
10837         * src/nm-device-802-11-wireless.c
10838                 - (init_supplicant_interface): new function; pull supplicant interface
10839                         setup code out into standalone function since it must be called from
10840                         two different places
10841                 - (real_init): sup_mgr is now in private object data; get and track
10842                         the supplicant manager object over the NMDevice subclass' lifetime
10843                         and register a signal handler for its state signals; only try to
10844                         initialize the supplicant interface if the supplicant manager is in
10845                         the IDLE state (and therefore is ready for requests)
10846                 - (request_wireless_scan): reschedule the scan request if (a) there is
10847                         no supplicant interface yet (meaning wpa_supplicant isn't running
10848                         or isn't ready yet), or (b) if the supplicant interface isn't ready
10849                         for requests yet
10850                 - (supplicant_iface_connection_state_cb): new function; stub for
10851                         handling supplicant interface connection state signals
10852                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10853                         comes and goes
10854                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10855                         supplicant manager object that's being tracked starting with this
10856                         commit
10857
10858 2006-12-04  Dan Williams  <dcbw@redhat.com>
10859
10860         * src/supplicant-manager/nm-supplicant-interface.c
10861                 - (nm_supplicant_interface_set_property): track signal handler ID
10862                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10863
10864 2006-12-04  Dan Williams  <dcbw@redhat.com>
10865
10866         * src/supplicant-manager/nm-supplicant-interface.[ch]
10867                 - (nm_supplicant_interface_get_state): new function
10868
10869 2006-12-04  Dan Williams  <dcbw@redhat.com>
10870
10871         * src/supplicant-manager/nm-supplicant-interface.c
10872                 - (bssid_properties_cb): don't treat DBus errors as valid
10873                         scanned AP messages
10874
10875 2006-12-04  Dan Williams  <dcbw@redhat.com>
10876
10877         * src/supplicant-manager/nm-supplicant-interface.[ch]
10878                 - (nm_supplicant_interface_get_connection_state): new function
10879                 - define new supplicant connection states
10880                 - send a signal when the supplicant connection state changes
10881
10882 2006-12-03  Dan Williams  <dcbw@redhat.com>
10883
10884         * src/supplicant-manager/Makefile.am
10885           src/supplicant-manager/nm-supplicant-connection.h
10886           src/supplicant-manager/nm-supplicant-connection.c
10887           src/supplicant-manager/nm-supplicant-config.h
10888           src/supplicant-manager/nm-supplicant-config.c
10889           src/supplicant-manager/nm-supplicant-types.h
10890           src/supplicant-manager/nm-supplicant-interface.h
10891           src/supplicant-manager/nm-supplicant-interface.c
10892                 - Rename NMSupplicantConnection -> NMSupplicantConfig
10893
10894 2006-12-03  Dan Williams  <dcbw@redhat.com>
10895
10896         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
10897
10898         * po/POTFILES.in
10899           po/POTFILES.skip
10900                 - Move VPN-related translatables to .skip
10901
10902         * vpn-daemons/pptp/po/POTFILES.in
10903                 - Update with new translatables
10904
10905 2006-12-02  Dan Williams  <dcbw@redhat.com>
10906
10907         Patch from Christian Persch <chpe@gnome.org>
10908
10909         * gnome/applet/Makefile.am
10910           gnome/applet/applet-dbus-devices.c
10911           gnome/applet/applet-notifications.c
10912           gnome/applet/applet.c
10913           gnome/applet/applet.h
10914           gnome/applet/main.c
10915                 - Be a GtkStatusIcon on GTK+ >= 2.10
10916
10917 2006-12-02  Dan Williams  <dcbw@redhat.com>
10918
10919         * gnome/applet/applet.c
10920                 - (nma_update_info): fix two unecessary allocations
10921
10922 2006-12-02  Dan Williams  <dcbw@redhat.com>
10923
10924         Patch from Michael Biebl <biebl@teco.edu>
10925         * configure.in
10926           man/NetworkManager.1.in
10927           man/NetworkManagerDispatcher.1.in
10928           man/NetworkManager.8.in
10929           man/NetworkManagerDispatcher.8.in
10930                 - Add .SH NAME stanzas
10931                 - Move NM & NM Dispatcher manpages to section 8 (admin)
10932
10933 2006-12-02  Dan Williams  <dcbw@redhat.com>
10934
10935         Patch from Christian Persch <chpe@gnome.org>
10936
10937         * configure.in
10938                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10939
10940 2006-11-29  Tambet Ingo  <tambet@ximian.com>
10941
10942         Patch by Timo Hoenig <thoenig@suse.de>:
10943         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10944         DBUS-1.0.
10945
10946         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10947         we can't use the one from the main source directory.
10948
10949 2006-11-27  Dan Williams  <dcbw@redhat.com>
10950
10951         Patch from Christian Persch <chpe@gnome.org>
10952
10953         * gnome/applet/applet-dbus-devices.c
10954                 - (hal_info_product_cb): fix memleak; free duped string.
10955                         Gnome.org #379908
10956
10957 2006-11-27  Dan Williams  <dcbw@redhat.com>
10958
10959         Patch from Christian Persch <chpe@gnome.org>
10960
10961         * gnome/applet/menu-items.c
10962                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10963                         as gtk_progress_set_percentage is deprecated.  Should
10964                         work as far back as GTK+ 2.4.  Gnome.org #379780
10965
10966 2006-11-26  Dan Williams  <dcbw@redhat.com>
10967
10968         Scan using wpa_supplicant over DBus.
10969
10970         * src/nm-device-802-11-wireless.c
10971                 - remove wireless extensions netlink event handler bits
10972                         (wireless_event_helper, nm_device_802_11_wireless_event)
10973                 - remove wireless extensions scan event handler bits
10974                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10975                         hex2byte, hex2num, request_and_convert_scan_results,
10976                         free_process_scan_cb_data, scan_results_timeout,
10977                         schedule_scan_results_timeout, cancel_scan_results_timeout)
10978                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10979                         and request scans from the supplicant interface rather than directly
10980                 - Move functionality of convert_scan_results() to cull_scan_list() and
10981                         supplicant_iface_scanned_ap_cb()
10982                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10983                         at the scan interval when the current scan has finished
10984                 - (supplicant_iface_state_cb): start scanning when the supplicant
10985                         interface enters the READY state, and stop scanning when it
10986                         enters the DOWN state
10987                 - (cull_scan_list): weed out old access points from the scan list
10988                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10989                         point into an NMAccessPoint and merge it into the device's scan list
10990
10991         * src/supplicant-manager/nm-supplicant-interface.c
10992           src/supplicant-manager/nm-supplicant-interface.h
10993                 - Add a new signal "scan-result" which is issued when the supplicant
10994                         notifies NM that a scan has completed
10995                 - Add a new signal "scanned-ap" that notifies listeners of a new access
10996                         point found in the scan.  Called once for each access point that
10997                         the supplicant interface object receives from the supplicant as a
10998                         result of the "scanResults" method call
10999                 - (wpas_iface_query_scan_results): don't wait 4s before querying
11000                         for the initial scan results
11001                 - (scan_request_cb): new function; send listeners the result
11002                         (success, error) of a wireless scan request
11003                 - (nm_supplicant_interface_request_scan): new function; ask the
11004                         supplicant to perform an immediate wireless scan
11005
11006 2006-11-25  Dan Williams  <dcbw@redhat.com>
11007
11008         * src/supplicant-manager/Makefile.am
11009                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
11010                         add HAL cflags/includes and named-manager includes directory
11011
11012         * src/supplicant-manager/nm-supplicant-interface.h
11013                 - New state STARTING to handle transition from INIT to READY where
11014                         the addInterface pending call is still outstanding
11015
11016         * src/supplicant-manager/nm-supplicant-interface.c
11017                 - track pending calls differently since we may have more than one
11018                         going on at any given time
11019                 - request scan results from wpa_supplicant; but don't do it more often
11020                         than every 4 seconds.  Drivers that do background scanning
11021                         (like the 'ipw' drivers) send a continuous stream of scan completion
11022                         notifications, so we don't want to hammer the supplicant or dbus
11023                         with requests for all scan results every time we get a completion
11024                         notification.
11025
11026 2006-11-25  Dan Williams  <dcbw@redhat.com>
11027
11028         * src/supplicant-manager/nm-supplicant-types.h
11029                 - new file; move all supplicant manager object typedefs here for
11030                         #include sanity
11031
11032         * src/supplicant-manager/nm-supplicant-interface.c
11033           src/supplicant-manager/nm-supplicant-interface.h
11034                 - new file; an object that interfaces an NMDevice object to the
11035                         supplicant and handles signals from the supplicant.  This object
11036                         does all necessary DBus communication with wpa_supplicant.
11037
11038         * src/supplicant-manager/nm-supplicant-manager.c
11039           src/supplicant-manager/nm-supplicant-manager.h
11040                 - Actually do something.  Track the state of the wpa_supplicant service
11041                         and deal with its comings & goings.  Handle life events of
11042                         supplicant interfaces too.
11043                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11044
11045         * src/supplicant-manager/nm-supplicant-connection.h
11046                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11047
11048         * src/supplicant-manager/Makefile.am
11049                 - Add new files to build, and add libnm-util to includes
11050
11051         * src/nm-marshal.list
11052                 - New marshaler type: VOID:UINT,UINT
11053
11054         * src/nm-device-802-3-ethernet.c
11055                 - (real_init): grab a supplicant interface
11056                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11057                 - (supplicant_iface_state_cb): new function, stub for handling
11058                         supplicant interface state changes
11059
11060         * src/nm-device-802-11-wireless.c
11061                 - (real_init): grab a supplicant interface
11062                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11063                 - (supplicant_iface_state_cb): new function, stub for handling
11064                         supplicant interface state changes
11065
11066         * src/NetworkManager.c
11067                 - (main): create and keep the supplicant manager around for the lifetime
11068                         of NetworkManager
11069
11070         * src/Makefile.am
11071                 - Link to the supplicant manager sub-library and use the supplicant
11072                         manager includes
11073
11074 2006-11-25  Dan Williams  <dcbw@redhat.com>
11075
11076         Rework DBus manager signal handling to be more flexible.  Previously,
11077         only one signal handler could be registered for a particular interface.
11078         The DBus manager now reference counts DBus bus matches and allows multiple
11079         clients to register signal handlers for the same interface and sender.
11080
11081         * src/NetworkManager.c
11082                 - (main): track NMI signal handler ID and remove it when we quit
11083
11084         * src/NetworkManagerMain.h
11085                 - Keep track of NMI signal handler ID
11086
11087         * src/nm-dbus-manager.c
11088           src/nm-dbus-manager.h
11089                 - rework signal handling; each signal handler references one signal
11090                         match, but a signal match may be referenced by one or more
11091                         signal handlers.  Matches are refcounted and are destroyed when the
11092                         last signal handler that references the match is removed.  This is
11093                         necessary because two signal handlers may end up requiring the same
11094                         dbus bus match, so the match must live until the last signal handler
11095                         is destroyed (for example, with the wpa_supplicant network interface
11096                         dbus interface).
11097
11098         * src/dhcp-manager/nm-dhcp-manager.c
11099                 - (nm_dhcp_manager_new): track DHCP signal handler id
11100                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11101
11102         * src/vpn-manager/nm-vpn-service.c
11103                 - (nm_vpn_service_add_watch): track VPN service signal handler id
11104                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11105
11106 2006-11-25  Dan Williams  <dcbw@redhat.com>
11107
11108         Suggested by Helmut Schaa <hschaa@suse.de>
11109
11110         * src/vpn-daemons/nm-vpn-service.c
11111                 - (supplicant_child_setup): new function
11112                 - (supplicant_exec): make child process use a new process group id
11113
11114         * src/nm-device-802-11-wireless.c
11115                 - (nm_vpn_service_child_setup): new function
11116                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11117                         process group id
11118
11119 2006-11-19  Dan Williams  <dcbw@redhat.com>
11120
11121         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
11122         * gnome/vpn-properties/nm-vpn-properties.c
11123                 - clean up after renamed VPN connection
11124
11125 2006-11-19  Dan Williams  <dcbw@redhat.com>
11126
11127         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
11128         * gnome/applet/applet-dbus-vpn.c
11129                 - (nma_dbus_vpn_properties_cb): sort VPN connections
11130
11131         * gnome/vpn-properties/nm-vpn-properties.c
11132                 - (init_app): sort VPN connections
11133
11134 2006-11-09  Dan Williams  <dcbw@redhat.com>
11135
11136         * src/NetworkManagerAPList.c
11137                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11138                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11139                 from the nm_ap_list_get_ap_by_address() call was incorrect and
11140                 broke hidden SSID matching.  Found by Bill Moss.
11141
11142 2006-10-25  Dan Williams  <dcbw@redhat.com>
11143
11144         * src/nm-dbus-nm.c
11145                 - (nm_dbus_nm_set_active_device): return an empty success message on
11146                         success, rather than falling through to the error case.
11147
11148 2006-10-25  Dan Williams  <dcbw@redhat.com>
11149
11150         * src/NetworkManagerUtils.c
11151                 - (nm_utils_supplicant_request_with_check): suppress messages for the
11152                         "SCAN" command
11153
11154 2006-10-24  Dan Williams  <dcbw@redhat.com>
11155
11156         Reduce the number of times the Gnome applet wakes up, especially when
11157         it's doing absolutely nothing and is hidden.  Initial patch by
11158         Chris Aillon.
11159
11160         * gnome/applet/applet-dbus.c
11161                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11162                         kill the redraw timeout.  When NM starts up, start the redraw
11163                         timeout.  Also, if we get kicked off the bus for some reason,
11164                         start the reconnection timeout if one's not already running.
11165                 - (nma_dbus_init): better handling of error conditions, don't leak
11166                         a half-initialized dbus connection
11167                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11168                         the applet's data, just call nm_dbus_init_helper()
11169                 - (nma_start_dbus_connection_watch): new function, starts a periodic
11170                         timeout that calls nma_dbus_connection_watcher()
11171                 - (nma_dbus_init_helper): if we get a successful connection, kill the
11172                         reconnection timeout, and don't start the reconnection timeout
11173                         unconditionally anymore
11174
11175         * gnome/applet/applet-dbus.h
11176                 - Expose nma_start_dbus_connection_watch()
11177
11178         * gnome/applet/applet.c
11179                 - (nma_update_state): no longer static, called from applet-dbus.c for
11180                         immediate UI updates on certain events
11181                 - (nma_set_running): new function; take over setting applet->running,
11182                         when not running (ie, NM is not active), don't activate the redraw
11183                         timeout because we're not showing the applet anyway.  When we are
11184                         running (ie, NM is active), and only when we're running, start the
11185                         redraw timeout.
11186                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11187                         kill any reconnection timeout
11188                 - (nma_get_instance): move one-off dbus initialization code here since
11189                         nm_dbus_init_helper() gets called more than once, possibly by the
11190                         reconnection timeout function too.  And, when we start up, if we
11191                         can't get a connection to the bus, start the reconnection timeout.
11192                         But don't start the redraw timeout yet, only do that when we get
11193                         NM's state and find out if it's running or not.
11194
11195         * gnome/applet/applet.h
11196                 - Add the reconnection GSource ID
11197                 - Add prototypes for nma_set_running() and the no-longer-static
11198                         nma_update_state()
11199
11200 2006-10-24  Dan Williams  <dcbw@redhat.com>
11201
11202         * src/vpn-daemons/nm-dbus-vpnc.c
11203                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11204                         pending call tracker
11205                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11206                         pending call tracker; register one-vpn-connection update pending
11207                         call in pending call tracker
11208                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11209                         update pending call in pending call tracker
11210                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11211                         update pending call in pending call tracker; don't block waiting
11212                         for call to return
11213
11214 2006-10-19  Robert Love  <rml@novell.com>
11215
11216         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11217           refresh the cache.
11218
11219 2006-10-14  Dan Williams  <dcbw@redhat.com>
11220
11221         * src/dhcp-manager/nm-dhcp-manager.c
11222                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11223                 the dbus connection and the device object path rather than
11224                 constructing it inside both functions.  Saves a bit of memory
11225                 and clarifies a failure path.
11226                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11227                 and allocate device path here rather than each of the two
11228                 functions above.
11229
11230 2006-10-13  Dan Williams  <dcbw@redhat.com>
11231
11232         * src/NetworkManager.c
11233                 - (nm_name_owner_changed_handler): handle NMI coming and going,
11234                 this somehow droppout in the refactor
11235
11236 2006-10-13  Dan Williams  <dcbw@redhat.com>
11237
11238         * Huge DBus refactor:
11239                 - Create a "DBus Manager" object which manages the connection and
11240                 sends signals on NameOwnerChanged and connection/disconnection events,
11241                 handles reconnection to the bus if NM gets kicked off, and abstracts
11242                 signal handling
11243                 - Remove DBusConnection members from places where they are no
11244                 longer needed due to the refactor, like the dbus-connection
11245                 property of the named manager, and from NMData
11246                 - Reformats a bunch of the code to gnome style
11247                 (8-space tabs, braces on same line as statement, 80-col width).
11248                 Consider it open season to reformat any bits to gnome style.
11249                 style that aren't already.
11250
11251 2006-10-13  Dan Williams  <dcbw@redhat.com>
11252
11253         * src/supplicant-manager/Makefile.am
11254                 - Add new files
11255
11256         * src/supplicant-manager/nm-supplicant-manager.[ch]:
11257                 - Make it a minimal GObject
11258
11259         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
11260                 - Verify settings destined for wpa_supplicant
11261
11262         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
11263                 - Minimal GObject to track wpa_supplicant controlled device
11264                 connections
11265
11266 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
11267
11268         * gnome/applet/applet.c: (nma_update_info),
11269         (nma_act_stage_to_pixbuf), (nma_update_state):
11270         Mark missing strings for translation. Fixes bug #343306.
11271
11272 2006-10-01  Dan Williams  <dcbw@redhat.com>
11273
11274         * src/vpn-manager/nm-vpn-manager.c
11275                 - (nm_vpn_manager_load_services): split and clean up
11276                 for readability and correctness.  Restrict VPN service
11277                 files to ending in ".name", as was meant from the
11278                 beginning (but not coded in).  Better error reporting.
11279
11280 2006-10-01  Dan Williams  <dcbw@redhat.com>
11281
11282         * utils/nm-utils.h
11283                 - Clean up formatting of debug/info/warning log messages
11284
11285 2006-09-27  Robert Love  <rml@novell.com>
11286
11287         Patch by Tambet Ingo <tambet@ximian.com>:
11288         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11289           actually work.
11290
11291 2006-09-07  Dan Williams <dcbw@redhat.com>
11292
11293         * test/Makefile.am
11294           test/libnm-util/Makefile.am
11295           test/nm-supplicant-test.c
11296                 - Add test program emulating the way NM drives wpa_supplicant
11297                 to help debug supplicant issues
11298
11299 2006-08-24  Dan Williams <dcbw@redhat.com>
11300
11301         * configure.in
11302           src/Makefile.am
11303           src/supplicant-manager/Makefile.am
11304           src/supplicant-manager/nm-supplicant-manager.c
11305           src/supplicant-manager/nm-supplicant-manager.h
11306                 - Add skeleton bits of the wpa_supplicant manager
11307
11308 2006-08-24  Dan Williams <dcbw@redhat.com>
11309
11310         Patch from Ed Catmur:
11311         * src/NetworkManagerUtils.c
11312                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11313                 if netmask is 0 (Gnome #352634)
11314
11315 2006-08-17  Robert Love  <rml@novell.com>
11316
11317         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11318           package is now DBUS-enabled and listens for the NM signals.
11319
11320 2006-08-14  Dan Williams  <dcbw@redhat.com>
11321
11322         * Patch from Christian Persch <chpe gnome org>
11323         * configure.in
11324           po/LINGUAS
11325           vpn-daemons/openvpn/po/LINGUAS
11326           vpn-daemons/openvpn/configure.in
11327           vpn-daemons/pptp/po/LINGUAS
11328           vpn-daemons/pptp/configure.in
11329           vpn-daemons/vpnc/po/LINGUAS
11330           vpn-daemons/vpnc/configure.in
11331                 - Convert to LINGUAS method so translators don't have to modify
11332                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
11333                 0.35 or higher
11334
11335 2006-08-14  Dan Williams  <dcbw@redhat.com>
11336
11337         Patch from Alex Smith <alex.extreme2@gmail.com>
11338         * configure.in
11339           src/backends/Makefile.am
11340           src/backends/NetworkManagerFrugalware.c
11341                 - Add support for Frugalware
11342
11343 2006-08-13  Dan Williams  <dcbw@redhat.com>
11344
11345         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11346         * src/nm-device-802-11-wireless.c
11347                 - (supplicant_exec): spawn wpa_supplicant without debug spew
11348                 Gnome #346875
11349
11350 2006-08-13  Dan Williams  <dcbw@redhat.com>
11351
11352         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11353         * src/nm-ap-security.c
11354           src/nm-ap-security.h
11355                 - Add authentication_required bits for subclasses to specify whether
11356                 or not real authentication is required for connections, i.e. whether
11357                 the AP rejects us when an encryption key is wrong or not.
11358
11359         * src/nm-ap-security-wep.c
11360           src/nm-ap-security-wpa-eap.c
11361           src/nm-ap-security-wpa-psk.c
11362           src/nm-ap-security-leap.c
11363                 - Implement authentication_required appropriately for each method
11364
11365         * src/nm-device-802-11-wireless.c
11366                 - Be smarter about when to request a key; for example, using a wrong key
11367                 in WEP shared key mode previously just timed out and did not request
11368                 a new key
11369
11370 2006-08-13  Dan Williams  <dcbw@redhat.com>
11371
11372         * gnome/libnm_glib/libnm_glib.c
11373                 - dbus_connection_disconnect() -> dbus_connection_close() for
11374                 dbus >= 0.90
11375
11376 2006-08-07  Dan Williams  <dcbw@redhat.com>
11377
11378         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11379         * src/NetworkManagerSystem.c
11380                 - Respect specified MTU.  Gnome #344967
11381
11382 2006-08-07  Dan Williams  <dcbw@redhat.com>
11383
11384         * src/vpn-manager/nm-vpn-service.c
11385                 - Simplify print_vpn_config() arguments
11386
11387         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11388         * src/vpn-manager/Makefile.am
11389           src/vpn-manager/nm-vpn-service.c
11390                 - Add new API for passing VPN config options as a dict. Gnome #344967
11391
11392 2006-08-06  Dan Williams  <dcbw@redhat.com>
11393
11394         * gnome/applet/applet-dbus-devices.c
11395           gnome/applet/applet-dbus-vpn.c
11396           gnome/applet/applet-dbus.c
11397           gnome/applet/applet-dbus.h
11398           src/nm-dbus-nmi.c
11399           utils/nm-utils.c
11400           utils/nm-utils.h
11401                 - Make pending call tracking code generic,
11402                 so we can use it in NM as well as the applet
11403
11404 2006-08-06  Dan Williams  <dcbw@redhat.com>
11405
11406         * src/nm-activation-request.c
11407                 - Refcount pending call objects
11408
11409 2006-08-06  Dan Williams  <dcbw@redhat.com>
11410
11411         Patch from Christan Chiesa <christanc@gmail.com>
11412         * configure.in
11413                 - Tell sha1.c to use bigendian mode on PPC
11414
11415 2006-08-04  Robert Love  <rml@novell.com>
11416
11417         Glib Memory Slices!
11418         * configure.in: Require glib 2.10 or later.
11419         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11420           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11421           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11422           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11423           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
11424           Memory Slices are the greatest thing since bread slices.
11425         * src/NetworkManagerAP.c: Also, fix memory leak.
11426
11427 2006-08-01  Robert Love  <rml@novell.com>
11428
11429         * gnome/applet/main.c: Shutdown all VPN connections on logout.
11430
11431 2006-07-31  Robert Love  <rml@novell.com>
11432
11433         * src/backends/interface_parser.c: Declarations must begin the block.
11434
11435 2006-07-24  Dan Williams  <dcbw@redhat.com>
11436
11437         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11438         * src/backends/Makefile.am
11439           src/backends/NetworkManagerArch.c
11440           src/backends/NetworkManagerDebian.c
11441           src/backends/NetworkManagerGeneric.c
11442           src/backends/NetworkManagerGeneric.h
11443           src/backends/NetworkManagerGentoo.c
11444           src/backends/NetworkManagerPaldo.c
11445           src/backends/NetworkManagerRedHat.c
11446           src/backends/NetworkManagerSlackware.c
11447           src/backends/NetworkManagerSuSE.c
11448                 - Genericize common backend functions
11449
11450 2006-07-18  Robert Love  <rml@novell.com>
11451
11452         * configure.in: Add "--with-notify" option to allow disabling of
11453           libnotify support.
11454
11455 2006-07-13  Dan Williams  <dcbw@redhat.com>
11456
11457         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11458         * gnome/applet/applet.glade
11459           gnome/applet/Makefile.am
11460           gnome/applet/nm-gconf-wso.c
11461           gnome/applet/nm-gconf-wso-leap.c
11462           gnome/applet/nm-gconf-wso-leap.h
11463           gnome/applet/wireless-security-manager.c
11464           gnome/applet/wso-leap.c
11465           gnome/applet/wso-leap.h
11466           include/NetworkManager.h
11467           libnm-util/dbus-helpers.c
11468           libnm-util/dbus-helpers.h
11469           src/Makefile.am
11470           src/NetworkManagerAP.c
11471           src/nm-ap-security.c
11472           src/nm-ap-security-leap.c
11473           src/nm-ap-security-leap.h
11474                 - Add LEAP authentication support
11475
11476 2006-07-13  Dan Williams  <dcbw@redhat.com>
11477
11478         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11479         * configure.in
11480           src/backends/NetworkManagerArch.c
11481           src/backends/NetworkManagerDebian.c
11482           src/backends/NetworkManagerGentoo.c
11483           src/backends/NetworkManagerPaldo.c
11484           src/backends/NetworkManagerRedHat.c
11485           src/backends/NetworkManagerSlackware.c
11486           src/backends/NetworkManagerSuSE.c
11487                 - Convert hardcoding of 'ip' path to configure-time
11488                         detected one
11489
11490 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11491
11492         * configure.in: added ru to ALL_LINGUAS
11493
11494 2006-07-10  Dan Williams  <dcbw@redhat.com>
11495
11496         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11497         * src/nm-device.c
11498                 - (real_act_stage3_ip_config_start): don't infinite loop when
11499                         dhcdbd isn't running (Gnome #346845)
11500
11501 2006-07-09  Dan Williams  <dcbw@redhat.com>
11502
11503         * gnome/applet/applet.c
11504                 - (nma_destroy): don't pass NULL to notify_notification_close
11505                         (RH #197917)
11506
11507 2006-07-09  Dan Williams  <dcbw@redhat.com>
11508
11509         * gnome/applet/applet.c
11510                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11511
11512 2006-07-04  Tor Krill  <tor@krill.nu>
11513
11514         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11515         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11516         (nm_system_restart_mdns_responder), (ArchReadConfig),
11517         (nm_system_device_get_system_config):
11518                 - Explicitly check for DHCP configuration
11519                 - Check if daemons are running before starting them
11520
11521 2006-06-25  Dan Williams  <dcbw@redhat.com>
11522
11523         * libnm-util/dbus-dict-helpers.[ch]
11524           test/libnm-util/test-dbus-dict-helpers.c
11525                 - Add string array support
11526
11527 2006-06-24  Dan Williams  <dcbw@redhat.com>
11528
11529         * src/dhcp-manager/nm-dhcp-manager.c
11530                 - (nm_dhcp_manager_process_signal): clean up spacing
11531
11532 2006-06-21  Dan Williams  <dcbw@redhat.com>
11533
11534         * src/nm-dbus-device.c
11535                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11536                         through dbus
11537
11538 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11539
11540         * configure.in: Added 'lv' to ALL_LINGUAS
11541
11542 2006-06-19  Dan Williams  <dcbw@redhat.com>
11543
11544         * src/NetworkManagerAP.c
11545                 - Clarify usage of user_created
11546
11547         * src/nm-ap-security-wep.c
11548           src/nm-ap-security-wpa-eap.c
11549           src/nm-ap-security-wpa-psk.c
11550           src/nm-ap-security.c
11551           src/nm-ap-security.h
11552                 - s/user_created/adhoc, because we really do mean adhoc
11553
11554         Patch from Bernard Blackham <bernard@blackham.com.au>
11555         * src/nm-device-802-11-wireless.c         
11556                 - (supplicant_send_network_config): instead of user_created,
11557                         use adhoc, and do AP_SCAN 2 for adhoc networks
11558
11559 2006-06-18  Robert Love  <rml@novell.com>
11560
11561         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11562           we have a value to set.  Gconf generates a warning if `val' is NULL.
11563         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11564           unless we actually received a valid private key file passphrase or
11565           password.  Otherwise, we don't know to later ask the applet to pull
11566           the key from the keyring.
11567
11568 2006-06-17  Dan Williams  <dcbw@redhat.com>
11569
11570         * libnm-util/dbus-dict-helpers.[ch]
11571           test/libnm-util/test-dbus-dict-helpers.c
11572                 - Fixes for zero-length byte arrays
11573                 - Replace return values of 0 with FALSE for clarity
11574                 - Test zero-length byte arrays
11575
11576 2006-06-17  Dan Williams  <dcbw@redhat.com>
11577
11578         * libnm-util/dbus-dict-helpers.[ch]
11579           test/libnm-util/test-dbus-dict-helpers.c
11580                 - Add helpers for byte arrays
11581                 - Rework bits of the testcase
11582
11583 2006-06-16  Dan Williams  <dcbw@redhat.com>
11584
11585         * libnm-util/Makefile.am
11586         * libnm-util/dbus-dict-helpers.[ch]
11587                 - Add some helpers to take the pain out of using dict types in
11588                         dbus.
11589
11590         * test/libnm-util/Makefile.am
11591         * test/libnm-util/test-dbus-dict-helpers.c
11592                 - Test cases for the dict helper functions
11593
11594 2006-06-15  Robert Love  <rml@novell.com>
11595
11596         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11597           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11598           if there is no key to pass.
11599         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11600           receiving a non-NULL key.
11601
11602 2006-06-14  Robert Love  <rml@novell.com>
11603
11604         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11605           copy the strings.
11606
11607
11608 2006-06-14  Dan Williams  <dcbw@redhat.com>
11609
11610         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11611         * src/nm-device-802-11-wireless.c
11612                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11613                         or ones where the driver is unknown
11614                 - (supplicant_exec): don't wait for supplicant startup here
11615                 - (supplicant_interface_init): finer grained polling for supplicant
11616                         startup
11617
11618 2006-06-13  Robert Love  <rml@novell.com>
11619
11620         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11621           if it is currently set to TRUE.  Otherwise, we will reset the value
11622           when we connect normally.
11623         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11624           the old BSSID is valid, too.  The recently added ESSID check may not be
11625           sufficient (we can remove it?).  What we really want to catch is the
11626           case of going from all-zeros to the BSSID of some other network, which
11627           happens on failure.
11628
11629 2006-06-09  Dan Williams  <dcbw@redhat.com>
11630
11631         * src/NetworkManagerSystem.[ch]
11632                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11633                         it was unused and pointless
11634                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11635                         fix for set_up_down_with_iface change
11636
11637         * src/vpn-manager/nm-vpn-connection.c
11638                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11639
11640         * src/backends/NetworkManagerPaldo.c
11641           src/backends/NetworkManagerRedHat.c
11642           src/backends/NetworkManagerSuSE.c
11643           src/backends/NetworkManagerArch.c
11644           src/backends/NetworkManagerDebian.c
11645           src/backends/NetworkManagerGentoo.c
11646                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11647                         appropriate
11648                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11649                         where appropriate
11650
11651 2006-06-09  Dan Williams  <dcbw@redhat.com>
11652
11653         Patch from Peter Jones:
11654         * src/nm-device-802-11-wireless.c
11655                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11656                         SSID hasn't changed from what we expect before automatically
11657                         updating the saved BSSID from a new AP
11658
11659 2006-06-08  Robert Love  <rml@novell.com>
11660
11661         Add 'fallback' support.  NetworkManager will attempt to brute-force
11662         connect to networks marked as fallback if there are no better wireless
11663         connections available.  This is useful as a method of last resort, to
11664         work around driver problems, and for use with hidden networks.
11665         * gnome/applet/applet-dbus-devices.c,
11666           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11667         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11668           pass it on via DBUS.
11669         * gnome/applet/applet.c: No fallback by default.
11670         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11671           Update other-network-dialog to add UI checkbox toggling fallback.
11672         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11673           propery from AP object.  Add "fallback" property to AP object.
11674         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11675         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11676         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11677           separate function.  Add get_best_fallback_ap() for returning an AP
11678           on which to attempt fallback.
11679         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11680         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11681
11682 2006-06-07  Robert Love  <rml@novell.com>
11683
11684         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11685           checked that the return type was GCONF_VALUE_STRING, not the correct
11686           GCONF_VALUE_BOOL, and thus it never worked.
11687         * src/NetworkManagerAPList.c: Before concluding that two networks are
11688           identical based on their BSSID, make sure that the BSSID in question
11689           is actually valid.  Specifically, an empty or all zero BSSID does not
11690           cut it.
11691         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11692           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11693           similar invariant clean up.
11694
11695 2006-06-02  Robert Love  <rml@novell.com>
11696
11697         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11698
11699 2006-05-28  Dan Williams  <dcbw@redhat.com>
11700
11701         * gnome/applet/applet.glade
11702           gnome/vpn-properties/nm-vpn-properties.glade
11703                 - Set window icons on dialogs  (Gnome.org #333420)
11704
11705 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11706
11707         * gnome/vpn-properties/nm-vpn-properties.glade:
11708         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11709         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11710         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11711                 - Make the VPN properties pages prettier and more HIG
11712                   compliant. Gnome Bug #336913.
11713
11714 2006-05-28  Dan Williams  <dcbw@redhat.com>
11715
11716         Patch from Christian Persch <chpe@gnome.org>
11717         * gnome/vpn-properties/nm-vpn-properties.c
11718         * gnome/vpn-properties/nm-vpn-properties.glade
11719                 - HIG-ification love  (Gnome.org #336846)
11720
11721 2006-05-28  Dan Williams  <dcbw@redhat.com>
11722
11723         Patch from Christian Persch <chpe@gnome.org>
11724         * configure.in
11725           gnome/vpn-properties/nm-vpn-properties.c
11726                 - (main): Fix option parsing.  Gnome.org #336847
11727
11728 2006-05-28  Dan Williams  <dcbw@redhat.com>
11729
11730         * gnome/vpn-properties/nm-vpn-properties.c
11731                 - (find_vpn_ui_by_service_name): protect against NULL service names
11732                 - (update_edit_del_sensitivity): protect against NULL service names
11733                         Gnome.org #341306
11734
11735 2006-05-28  Dan Williams  <dcbw@redhat.com>
11736
11737         Patch from Chris Fuller <crf@grandecom.net>:
11738         * src/nm-device-802-11-wireless.c
11739                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11740                         don't dispose of wireless-specific stuff unless it is actually
11741                         initialized.  Gnome.org #341263
11742
11743 2006-05-28  Dan Williams  <dcbw@redhat.com>
11744
11745         * src/NetworkManagerPolicy.c
11746                 - (nm_policy_device_change_check): don't switch devices if the "best"
11747                         AP is essentially the same as the current activation request, but
11748                         the current activation request isn't done activating yet.  Fixes
11749                         multiple requests for keyring password on startup for Gnome applet.
11750                         Gnome.org #341297
11751
11752 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11753
11754         * src/NetworkManager.c: use GOptions instead of getopt
11755         * configure.in: bump glib required version to >= 2.6 for GOption
11756           support
11757
11758 2006-05-25  Robert Love  <rml@novell.com>
11759
11760         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11761           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11762           instead of dumping ifdef's throughout the code.
11763         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11764           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11765           use nm_ioctl_info() in lieu.
11766
11767 2006-05-25  Robert Love  <rml@novell.com>
11768
11769         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11770         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11771           not using gcrypt.  Otherwise, we get a linker error.
11772
11773 2006-05-25  Robert Love  <rml@novell.com>
11774
11775         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11776         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11777           configure flag to disable building of the GNOME-based applet.
11778
11779 2006-05-25  Robert Love  <rml@novell.com>
11780
11781         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11782           parameter from link, because it shadows a global variable with some
11783           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11784           should never have exported to the entire system a common four letter
11785           word.  But we here at NetworkManager are team players.  Fixes
11786           GNOME bug #336532.
11787
11788 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11789
11790         * configure.in: Added mk.po, Macedonian translation.
11791
11792 2006-05-24  Robert Love  <rml@novell.com>
11793
11794         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11795           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11796           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11797
11798 2006-05-24  Robert Love  <rml@novell.com>
11799
11800         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11801           libnm-util/Makefile.am, src/Makefile.am,
11802           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11803           vpn-daemons/openvpn/properties/Makefile.am,
11804           vpn-daemons/pptp/auth-dialog/Makefile.am,
11805           vpn-daemons/pptp/properties/Makefile.am,
11806           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11807           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11808           user passed for --datadir, if anything, when setting the GNOME locale
11809           directory.  It should be a function of the specified datadir and not
11810           the prefix.
11811
11812 2006-05-24  Robert Love  <rml@novell.com>
11813
11814         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11815           src/NetworkManager.c: Take care to call bindtextdomain with the
11816           location of msgid files.
11817         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11818           files.
11819
11820 2006-05-22  Robert Love  <rml@novell.com>
11821
11822         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11823           stage4_timeout on failure unless the wireless network is Ad-Hoc.
11824           99% of the time there is a real problem with wireless, and a
11825           seemingly successful connection via Zeroconf just confuses the user.
11826           And that 1% of the time the network is probably Ad-Hoc, anyhow.
11827
11828 2006-05-22  Robert Love  <rml@novell.com>
11829
11830         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11831           autofs on interface up if NIS is configured.  On interface down, do
11832           nothing.
11833
11834 2006-05-22  Robert Love  <rml@novell.com>
11835
11836         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11837           to avoid calling g_object_unref() on stale pointers on error in
11838           nma_icons_free().  This happens because we short-circuit loaded the
11839           icons on the first failure but then free all icons.  Normally we have
11840           no issue because the icons were zero'ed out malloc, but we have stale
11841           pointer data after nma_icon_theme_changed().
11842         * gnome/applet/main.c: Return error code if nma_new() failed.
11843
11844 2060-05-21  Dan Williams  <dcbw@redhat.com>
11845
11846         * initscript/NetworkManager.in
11847                 - Ensure both dhcdbd and named are started before NM
11848
11849 2006-05-21  Dan Williams  <dcbw@redhat.com>
11850
11851         * configure.in
11852                 - Bump version to 0.7 to signify we are in 0.7 development
11853
11854 2006-05-21  Dan Williams  <dcbw@redhat.com>
11855
11856         Patch from Adam Schreiber <sadam@clemson.edu>
11857         * gnome/vpn-properties/nm-vpn-properties.c
11858                 - (main): correct Gnome program name  (gnome.org #342498)
11859
11860 2006-05-21  Dan Williams  <dcbw@redhat.com>
11861
11862         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11863
11864         * src/NetworkManagerDbus.[ch]
11865                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11866                         clarify that function's argument should be an escaped dbus object
11867                         path, and look for path segment end before returning a match
11868         * src/nm-dbus-nm.c:
11869                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11870
11871 2006-05-17  Robert Love  <rml@novell.com>
11872
11873         Functionality to differentiate Ad-Hoc networks from infrastructure
11874         networks in the applet, by displaying a special icon:
11875         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11876         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11877         * gnome/applet/menu-items.c: Set a special icon in the scan list for
11878           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
11879           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
11880           networks, encrypted or not.
11881         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11882           accessor functions to get and set the mode of a given network,
11883           wireless_network_get_mode() and wireless_network_set_mode().
11884
11885 2006-05-17  Robert Love  <rml@novell.com>
11886
11887         Functionality to automatically add BSSIDs to the allowed-MAC list as
11888         one roams from access point to access point on a given network:
11889         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11890           helper function to compare two ether_addr structures and return TRUE
11891           if they contain the same MAC address.
11892         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11893           prototype.
11894         * src/nm-device-802-11-wireless.c: New function to update the BSSID
11895           stored with the current AP.  If the BSSID has indeed changed, we
11896           send it out to the applet, allowing the allowed-MAC list to grow
11897           automatically in response to roaming.
11898
11899 2006-05-16  Robert Love  <rml@novell.com>
11900
11901         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11902           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11903
11904 2006-05-13  Dan Williams  <dcbw@redhat.com>
11905
11906         * src/nm-device-802-3-ethernet.c
11907                 - (real_get_generic_capabilities): Don't ignore devices that can't do
11908                         carrier detect (Debian bug #366373)
11909
11910 2006-05-11  Dan Williams  <dcbw@redhat.com>
11911
11912         Patch from Michael Biebl <biebl@teco.edu>
11913         * src/backends/NetworkManagerDebian.c
11914                 - Debian backend fixups
11915
11916 2006-05-10  Robert Love  <rml@novell.com>
11917
11918         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11919
11920 2006-05-09  Robert Love  <rml@novell.com>
11921
11922         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11923           private certificate passphrase, if any, in the GNOME Keyring.
11924         * libnm-utils/dbus-helpers.c: Update.
11925
11926 2006-05-05  Dan Williams  <dcbw@redhat.com>
11927
11928         * src/nm-device-802-11-wireless.c
11929                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11930                         nm_device_802_11_wireless_disable_encryption() since that's all
11931                         we use it for anymore; we don't ever set WEP keys ourselves.
11932                 - (real_deactivate_quickly): reset SSID and encryption keys
11933                 - (real_deactivate): move SSID and encryption key reset to
11934                         real_deactivate_quickly(), which gets run before us anyway
11935
11936 2006-05-05  Robert Love  <rml@novell.com>
11937
11938         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11939           root has a wacky default of its own (or, more common, a user has a
11940           bad umask and uses su/sudo to restart NetworkManager).  Anything
11941           other than 0022 does not do what we want with, for example,
11942           resolv.conf.  This problem is amplified by our judicious use of
11943           fopen(), which uses mode 0666 -- implying that the only way to get
11944           the permissions we want is with a umask of 0022.
11945
11946 2006-05-05  Dan Williams  <dcbw@redhat.com>
11947
11948         * gnome/libnm_glib/libnm_glib.c
11949                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11950                         to reconnect; instead wait a bit more with each reconnect attempt
11951                         up to a max of one minute.
11952
11953 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
11954
11955         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11956           the WirelessNetwork structure using the proper function instead of
11957           just casting it directly to (const char *) (gnome.org #336991)
11958
11959 2006-05-03  Robert Love  <rml@novell.com>
11960
11961         * src/backends/NetworkManagerSuSE.c: Respect the variable
11962           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11963           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11964           to dynamically update /etc/resolv.conf.
11965
11966 2006-05-02  Peter Jones  <pjones@redhat.com>
11967
11968         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11969
11970 2006-05-02  Robert Love  <rml@novell.com>
11971
11972         Patch by Timo Hoenig;
11973         * tests/nm-online.c: Print pretty status indicator as timeout winds
11974           down.  Also fix possible race between DBUS startup and failure
11975           return.
11976
11977 2006-05-01  Robert Love  <rml@novell.com>
11978
11979         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11980           empty, too.
11981
11982 2006-04-27  Jeremy Katz  <katzj@redhat.com>
11983
11984         * src/nm-device.c (discover_device_type): Actually use the hal
11985         device type instead of ioctl poking
11986
11987 2006-04-26  Robert Love  <rml@novell.com>
11988
11989         * tests/nm-online.c: New file.  Simple utility that returns exit status
11990           noting whether the connection is offline or online.  If offline on
11991           start, it waits 30 seconds (or a command-line given value) for an
11992           online signal.  If it times out, it again returns offline.  This is
11993           useful for scripts that want to wait for network connections.
11994
11995 2006-04-25  Robert Love  <rml@novell.com>
11996
11997         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11998           key mode (the authentication algorithm), e.g. open or shared, when we
11999           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
12000           only shared was broken.  If the user specified a shared key, set it
12001           explicitly, otherwise let wpa_supplicant go with the default.
12002
12003 2006-04-24  Dan Williams  <dcbw@redhat.com>
12004
12005         * src/nm-device-802-11-wireless.c
12006                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
12007
12008 2006-04-24  Dan Williams  <dcbw@redhat.com>
12009
12010         Commit the async scanning patch
12011
12012         * src/nm-device-802-11-wireless.c
12013                 - get rid of scan_mutex
12014                 - (wireless_event_helper): act on wireless scan events
12015                 - (real_start): schedule a pending scan
12016                 - (link_to_specific_ap): fake the link to the AP during a scan
12017                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
12018                         strength during scans
12019                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
12020                         nm_device_set_bitrate): unused with new scanning code, disable
12021                 - (nm_device_wireless_schedule_scan): removed
12022                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
12023                 - (request_and_convert_scan_results): new function; retrieve scan
12024                         results from the driver and schedule the processing function
12025                 - (scan_results_timeout): timeout triggered when card doesn't send
12026                         a scan results wireless event during a certain interval
12027                 - (schedule_scan_results_timeout): new function; schedule the scan
12028                         results timeout
12029                 - (cancel_scan_results_timeout): new function; cancel the scan
12030                         results timeout
12031                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12032                         to do the scanning.  Otherwise, just request a scan but don't
12033                         grab results here; instead schedule a timeout for scan results and
12034                         let netlink notify us of scan completion events
12035                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12036                 - (cancel_pending_scan): new function; cancel a pending wireless scan
12037                 - (supplicant_status_cb): ignore disconnect events while scanning
12038                 - (supplicant_exec): wait a bit longer for the supplicant to start up
12039                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12040                         timeouts
12041                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12042
12043 2006-04-24  Dan Williams  <dcbw@redhat.com>
12044
12045         * gnome/applet/applet-dbus.c
12046                 - Disable the pending call debug stuff, seems under control now
12047
12048 2006-04-20  Robert Love  <rml@novell.com>
12049
12050         Fix bug where hidden ESSID's would not show up in the applet, even
12051         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
12052         because nm_policy_device_list_update_from_allowed_list() would merge
12053         the data, putting a name to the hidden networks, but never notify NMI
12054         of the changes.  Simple fix is to invoke the function
12055         nm_dbus_signal_wireless_network_change() if we make a mapping.
12056         * src/NetworkManagerAPList.c: Call the function
12057           nm_dbus_signal_wireless_network_change() if we made a successful
12058           BSSID to ESSID mapping, notifying the applet of the "new" network.
12059         * src/NetworkManagerAPList.h: Update the prototypes for both
12060           nm_ap_list_copy_essids_by_address() and
12061           nm_ap_list_copy_one_essid_by_address().
12062
12063 2006-04-20  Robert Love  <rml@novell.com>
12064
12065         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12066           not set.  Just return zero.
12067
12068 2006-04-20  Robert Love  <rml@novell.com>
12069
12070         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12071           only one copy of nm-vpn-properties is running at a time via the 'ol
12072           X selection trick.  This prevents the user from opening two "VPN
12073           Connections" windows from within the applet, which leads to mass
12074           hysteria.
12075         * clipboard.c: New file, implementing simple X selection logic.
12076         * clipboard.h: New file.
12077         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12078
12079 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
12080
12081         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12082         * configure.in
12083           initscript/Gentoo/Makefile.am
12084           initscript/Gentoo/NetworkManagerDispatcher.in
12085                 - New script
12086         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12087           Gentopia
12088
12089 2006-04-16  Dan Williams  <dcbw@redhat.com>
12090
12091         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12092         * configure.in
12093           initscript/Slackware/Makefile.am
12094           initscript/Slackware/rc.networkmanager-dispatcher.in
12095           initscript/Slackware/rc.networkmanager.in
12096                 - Update slackware initscripts
12097
12098 2006-04-10  Robert Love  <rml@novell.com>
12099
12100         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12101           the "delete_event" signal on the druid's parent window and handle it
12102           our way, lest using the WM to close the druid results in a series of
12103           bloody and ultimately lethal errors.
12104
12105 2006-04-10  Robert Love  <rml@novell.com>
12106
12107         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12108           'Back' too or else the 'Forward' option is initially disabled despite
12109           valid input.
12110
12111 2006-04-06  Robert Love  <rml@novell.com>
12112
12113         Fix bad but simple bug where an active modem connection did not update
12114         NM's connection state, breaking any app that did online/offline:
12115         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12116           represented whether a dial up connection is active, or not.
12117         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12118           to modem activation and deactivation.
12119         * src/NetworkManagerDbus.c: When asked our state, do not return
12120           disconnected if the modem is active.
12121
12122 2006-04-04  Robert Love  <rml@novell.com>
12123
12124         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12125           applet.  It just confuses the crap out of people and does not make a
12126           lot of sense, as the daemon still runs.
12127
12128 2006-04-02  Tor Krill  <tor@krill.nu>
12129
12130         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12131           in start of service.
12132         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12133           get Archlinux backend up to date.
12134
12135 2006-03-29  Robert Love  <rml@novell.com>
12136
12137         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12138         to add support for per-route MSS and improve support for per-interface
12139         MTU:
12140         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12141           optionally take an MSS parameter and set it for the given route.
12142           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
12143           NMIP4Config's stored MSS, if any.
12144         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12145           the interface's MTU and the route's MSS, respectively.  Add functions
12146           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12147           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12148           MSS.
12149         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12150           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12151           nm_ip4_config_set_mss.
12152         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12153           VPN daemon.
12154         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12155           Change the retval of nm_system_get_mtu to guint32.
12156         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12157           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
12158           servers can specify MTU's, we should set it here if the MTU was not
12159           provided.
12160
12161 2006-03-27  Jürg Billeter  <j@bitron.ch>
12162
12163         * configure.in:
12164         * initscript/Makefile.am:
12165         * initscript/paldo/Makefile.am:
12166         * initscript/paldo/NetworkManager.in:
12167         * initscript/paldo/NetworkManagerDispatcher.in:
12168         * src/backends/Makefile.am:
12169         * src/backends/NetworkManagerPaldo.c:
12170                 - Add paldo support
12171
12172 2006-03-27  Dan Williams  <dcbw@redhat.com>
12173
12174         Patch from Christian Persch <chpe@gnome.org>
12175         * gnome/applet/applet.glade
12176                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12177
12178 2006-03-27  Dan Williams  <dcbw@redhat.com>
12179
12180         Patch from Diffe <diffie@blazebox.homeip.net>
12181         * src/backends/NetworkManagerSlackware.c
12182                 - Don't restart howl, since it's been replaced by Avahi
12183                         in most distributions
12184
12185 2006-03-27  Dan Williams  <dcbw@redhat.com>
12186
12187         Patch from Tor Krill <bugzilla@krill.nu>
12188         * configure.in
12189           initscript/Makefile.am
12190           src/backends/Makefile.am
12191           src/backends/NetworkManagerArch.c
12192           initscript/Arch/Makefile.am
12193           initscript/Arch/networkmanager-dispatcher.in
12194           initscript/Arch/networkmanager.in
12195                 - Add Arch Linux support, fixes gnome.org #335147
12196
12197 2006-03-27  Dan Williams  <dcbw@redhat.com>
12198
12199         Patch from Diffe <diffie@blazebox.homeip.net>
12200      * initscript/Slackware/rc.networkmanager
12201         - update, fixed gnome.org #333368
12202
12203 2006-03-27  Robert Love  <rml@novell.com>
12204
12205         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12206           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12207
12208 2006-03-27  Robert Love  <rml@novell.com>
12209
12210         Patch by Jürg Billeter <j@bitron.ch>:
12211         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12212           systems.
12213         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12214           as we prefer glibc over kernel headers, if possible.
12215
12216 2006-03-27  Robert Love  <rml@novell.com>
12217
12218         Patch by Jon Escombe <list@dresco.co.uk>:
12219         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12220         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12221           fail, don't bail out.  We don't expect all of the various WPA-EAP
12222           values to be present.
12223         * src/nm-ap-security.c: We need to match all capabilities for each
12224           encryption type, not any one of them.
12225
12226 2006-03-27  Robert Love  <rml@novell.com>
12227
12228         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12229           restart, not reload, ypbind.  Unfortunately there is no superior
12230           solution.
12231
12232 2006-03-24  Christopher Aillon  <caillon@redhat.com>
12233
12234         * gnome/applet/applet-notifications.c:
12235         When displaying a notification, make sure to get rid of the
12236         previous notification so as to not have competing bubbles,
12237         and stop leaking the old one.
12238
12239         * gnome/applet/applet.c:
12240         * gnome/applet/applet.h:
12241         Add a new 'notification' member to the applet, and zero it out
12242         and free it appropriately.
12243
12244 2006-03-23  Robert Love  <rml@novell.com>
12245
12246         Patch by j <j@bootlab.org>:
12247         * gnome/applet/applet.glade: Don't set the invisible_char property,
12248           which simply overrides the GTK default.  By and by, this behavior
12249           ought to be fixed in Glade.
12250
12251 2006-03-22  Robert Love  <rml@novell.com>
12252
12253         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12254
12255 2006-03-22  Robert Love  <rml@novell.com>
12256
12257         Bug fix by Timo Hoenig <thoenig@suse.de>:
12258         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12259           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
12260           and the applet going AWOL.
12261
12262 2006-03-22  Robert Love  <rml@novell.com>
12263
12264         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12265           preprocessor define and use it instead of open-coded the DHCP
12266           timeout, which is currently 25 seconds, everywhere.
12267
12268 2006-03-22  Robert Love  <rml@novell.com>
12269
12270         Implement "Dynamic WEP", which is basically WPA authentication and WEP
12271         key exchange via WPA, ostensibly providing good security without
12272         requiring hardware that supports full WPA.  Also, add UI elements to
12273         allow the user to select the pairwise & group cipher for WPA Enterprise
12274         networks, too:
12275         * gnome/applet/applet.glade: Update glade file.
12276         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12277           key type, too, to and from gconf.
12278         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12279           wso_wpa_create_key_type_model(), noting whether we are handling PSK
12280           or EAP configuration, and in the latter case add in "Dynamic WEP" if
12281           the capabilities match.
12282         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12283           prototype.
12284         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12285           serialize from UI to DBUS.
12286         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12287           one element.
12288         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12289           nmu_security_serialize_wpa_eap_with_cipher(), and
12290           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12291           serialize/deserialize the key type via DBUS as the new third DBUS
12292           parameter.
12293         * libnm-util/dbus-helpers.h: Update prototypes.
12294         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12295           too.  If the key type is WEP104, do Dynamic WEP, which means
12296           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
12297           pairwise and group ciphers (fixes a FIXME).
12298
12299 2006-03-21  Robert Love  <rml@novell.com>
12300
12301         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12302           nm_system_get_mtu(), which returns a user-provided or system-mandated
12303           MTU value for a given device, if any, or zero if no such value
12304           exists.  Add nm_system_set_mtu() to set the MTU for a given device
12305           if we have a provided value.
12306         * src/nm-device.c: Set the MTU of devices.
12307         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12308         * src/backends/NetworkManagerDebian.c,
12309           src/backends/NetworkManagerGentoo.c,
12310           src/backends/NetworkManagerRedHat.c,
12311           src/backends/NetworkManagerSlackware.c: Implement stub functions.
12312
12313 2006-03-21  Robert Love  <rml@novell.com>
12314
12315         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12316           configuration file.
12317
12318 2006-03-17  Robert Love  <rml@novell.com>
12319
12320         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12321           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12322           it, in case it is not running in the first place.  We just want its
12323           configuration reloaded.  Also, do not "rcypbind stop" on device down.
12324
12325 2006-03-15  Robert Love  <rml@novell.com>
12326
12327         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12328           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12329           label "WEP 40/128-bit" is inconsistent because the physical key size
12330           is 40 or 104-bits, to which a 24-bit initialisation vector is
12331           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
12332           to read "40/104" or "64/128".  I do not care much which, but most
12333           users think of "silver" and "gold" encryption as 64 and 128-bits, so
12334           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
12335           WEP passphrase support only handles 128-bit keys, and any future
12336           64-bit passphrase support will require a new option (no way to auto-
12337           detect the target key size), explicitly label our passphrase support
12338           "WEP 128-bit Passphrase".
12339
12340 2006-03-15  Robert Love  <rml@novell.com>
12341
12342         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12343           the system init scripts (or some other mechanism) starting it (or a
12344           compatible DBUS service) before NetworkManager runs.  This means that
12345           distributions might need to update their init scripts.  This fixes
12346           possible races and is quite a bit cleaner.
12347         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12348           starting the NetworkManager daemon.
12349
12350
12351 2006-03-14  Robert Love  <rml@novell.com>
12352
12353         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12354           before adding anything.
12355
12356 2006-03-13  Robert Love  <rml@novell.com>
12357
12358         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12359           widgets, too, if they exist, in case the user hit the back button.
12360           Fixes a bug where the details page contains the widgets of multiple
12361           VPN modules (Novell bug #157048).
12362
12363 2006-03-13  Robert Love  <rml@novell.com>
12364
12365         Patch by Timo Hoenig <thoenig@suse.de>:
12366         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12367           daemon survive DBUS restarts, too.
12368
12369 2006-03-10  Robert Love  <rml@novell.com>
12370
12371         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12372           passphrase or key.
12373         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12374           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12375           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12376           in response to "toggled" signal on new toggle.
12377
12378 2006-03-10  Robert Love  <rml@novell.com>
12379
12380         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12381           serialization if strings are NULL, lest DBUS get angry.
12382
12383 2006-03-10  Robert Love  <rml@novell.com>
12384
12385         * src/nm-ap-security-wpa-eap.c: Don't log the password.
12386
12387 2006-03-09  Robert Love  <rml@novell.com>
12388
12389         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12390           configurations.
12391
12392 2006-03-09  Dan Williams  <dcbw@redhat.com>
12393
12394         Track pending call requests in the applet, and report how many are
12395         outstanding, and how long each completed one takes.
12396         
12397         * gnome/applet/applet-dbus-devices.c
12398           gnome/applet/applet-dbus-vpn.c
12399                 - Track pending calls
12400
12401         * gnome/applet/applet-dbus.[ch]
12402                 - Remove some unused enums
12403                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12404                         new functions to track dbus pending calls and spit out some
12405                         statistics about them
12406
12407 2006-03-09  Robert Love  <rml@novell.com>
12408
12409         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12410           nm_ap_set_timestamp() take the second and micro-second parameters as
12411           direct arguments, which avoids both a dynamic memory allocation and a
12412           structure-to-structure copy!  Add a new interface, the aptly named
12413           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12414           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12415           the return from nm_ap_get_timestamp().  New users should use the new
12416           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12417           the extreme benefit to performance.
12418         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12419           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12420
12421 2006-03-08  Robert Love  <rml@novell.com>
12422
12423         * gnome/applet/applet.glade: Hide the password entry text with
12424           asterisks.
12425
12426 2006-03-08  Robert Love  <rml@novell.com>
12427
12428         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12429           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12430           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12431           a second argument, NMData.
12432         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12433         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12434           config files as trusted.
12435
12436 2006-03-06  Robert Love  <rml@novell.com>
12437
12438         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12439         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12440           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
12441           Rivera, detect if the applet was auto-started.  If so, ask the user
12442           if he or she would like to stop automatically running the applet on
12443           login.  If so, disable autostart.
12444
12445 2006-03-06  Robert Love  <rml@novell.com>
12446
12447         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12448           directory in CFLAGS so developers can actually use NetworkManager.h.
12449
12450 2006-03-06  Robert Love  <rml@novell.com>
12451
12452         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12453           open-coded integer constants.  Add state_to_string() to map a given
12454           state to a textual description, and provide that when notifying of
12455           state change.
12456         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12457           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12458           this header directly, but it is currently not installed on most
12459           systems.
12460
12461 2006-03-05  Dan Williams  <dcbw@redhat.com>
12462
12463         Process netlink messages in device subclasses rather than in
12464         NetworkManager.c.  Also add support for recognizing Wireless Events.
12465         
12466         * configure.in
12467                 - Find GLIB_GENMARSHAL
12468
12469         * src/Makefile.am
12470                 - Since we're marshalling custom types for wireless event signals,
12471                         we get to create our own marshallers using GLIB_GENMARSHAL
12472
12473         * src/NetworkManager.c
12474                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12475                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12476                         cut down somewhat.  We no longer process signals here.
12477                 - (nm_data_new): create the netlink monitor here, and remove a
12478                         useless call to nm_policy_schedule_device_change_check()
12479                 - (nm_data_free): get rid of the netlink monitor here
12480                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12481                 - (main): don't create the netlink monitor here, let nm_data_new
12482                         do that.  Call nm_policy_schedule_device_change_check() right
12483                         before we jump to the mainloop to figure out which device
12484                         to use first
12485
12486         * src/NetworkManagerSystem.[ch]
12487                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12488                         convert back and forth from interface names to interface
12489                         indexes
12490
12491         * src/nm-device-802-11-wireless.c
12492                 - (real_init): connect to wireless-event signals from the netlink
12493                         monitor object
12494                 - (nm_device_802_11_wireless_event): new function, schedule handler
12495                         for wireless event signals from the netlink monitor object.  We
12496                         want the handler to run in the device's context
12497                 - (wireless_event_helper): handle wireless-event signals from netlink
12498                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12499                         signal handler
12500
12501         * src/nm-device-802-11-wireless.h
12502                 - remove unused prototype for nm_device_802_11_wireless_new
12503
12504         * src/nm-device-802-3-ethernet.c
12505                 - (real_init): new function; set up signal handlers for link events
12506                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12507                         handler for netlink link activated events on device's main loop
12508                 - (link_activated_helper): when we get a link activated event, set
12509                         the device's link to be active
12510                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12511                         handler for netlink link deactivated events on device's main loop
12512                 - (link_deactivated_helper): when we get a link deactivated event, set
12513                         the device's link to be inactive
12514                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12515                         dispose
12516
12517         * src/nm-device-802-3-ethernet.h
12518                 - remove unused prototype for nm_device_802_3_ethernet_new
12519
12520         * src/nm-device.[ch]
12521                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12522                         but locks the device list
12523                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12524
12525         * src/nm-netlink-monitor.[ch]
12526                 - (nm_netlink_monitor_class_install_signals): New signal
12527                         "wireless-event"
12528                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12529                         at the device list
12530                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12531
12532         * src/nm-marshal-main.c
12533                 - Include generated nm-marshal.c and nm-marshal.h
12534
12535         * src/nm-marshal.list
12536                 - List of custom marshal functions
12537
12538 2006-03-05  Dan Williams  <dcbw@redhat.com>
12539
12540         * gnome/applet/applet-notifications.h
12541                 - Protect prototype of nma_send_event_notification() because it
12542                         includes libnotify-specific types
12543                 - Include libnotify/libnotify.h too, since we technically need it
12544
12545         * gnome/applet/applet.c
12546                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12547                 - (nma_show_vpn_login_banner_dialog): add some error checking
12548
12549 2006-03-04  Dan Williams  <dcbw@redhat.com>
12550
12551         Clean up activation cancellation.  Should be a lot faster now.  Observed
12552         an issue with wireless devices between stage 2 and 3 of activation, where
12553         activation would be cancelled, but the device thread wouldn't notice until
12554         the supplicant association timed out.  Reorganize activation such that
12555         a cancellation handler gets immediately scheduled in the device's thread,
12556         and devices have a chance to perform any custom cleanup too.
12557
12558         * src/nm-device.[ch]
12559                 - (activation_cancel_handler): new device-type-specific function
12560                         for cleaning up device-type-specific stuff on cancellation
12561                 - (cancel_activation): removed
12562                 - (nm_device_activation_cancel): subsume functionality of
12563                         real_cancel_activation, but instead of doing anything, punt
12564                         operation to a handler that's run in device-thread context
12565                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12566                         a warning message
12567                 - (activation_handle_cancel_helper): cancellation handler run in
12568                         device-thread context, calls device-type-specific cancelation,
12569                         then tears down the activation request
12570                 - (real_activation_cancel_handler): generic cancellation handler,
12571                         deals with cancelling any in-process DHCP request
12572                 - (nm_device_activate_stage1_device_prepare,
12573                    nm_device_activate_stage2_device_config,
12574                    nm_device_activate_stage3_ip_config_start,
12575                    nm_device_activate_stage4_ip_config_get,
12576                    nm_device_activate_stage4_ip_config_timeout,
12577                    nm_device_activate_stage5_ip_commit): don't call
12578                         nm_device_schedule_activation_handle_cancel() any more, since
12579                         cancellation will have been already scheduled for us by
12580                         nm_device_activation_cancel().  Just exit the function and
12581                         assume that the cancel handler will be called next.
12582
12583         * src/nm-device-802-3-ethernet.c
12584                 - (real_act_stage2_config): remove; didn't do anything anyway
12585
12586         * src/nm-device-802-11-wireless.c
12587                 - (supplicant_status_cb): ensure we don't do anything if the activation
12588                         got cancelled
12589                 - (real_activation_cancel_handler): implement; cancel user key request
12590                         on activation cancellation
12591
12592 2006-03-04  Dan Williams  <dcbw@redhat.com>
12593
12594         * src/nm-device-802-11-wireless.c
12595                 - (supplicant_send_network_config): assume that drivers that don't
12596                         support WPA pretty much suck, and can't handle NM scanning
12597                         along with wpa_supplicant.
12598
12599 2006-03-03  Robert Love  <rml@novell.com>
12600
12601         * configure.in: Bump version to 0.6.0.
12602         * NEWS: Update.
12603
12604 2006-03-03  Robert Love  <rml@novell.com>
12605
12606         * configure.in: Require DBUS 0.60 or later.
12607
12608 2006-03-03  Dan Williams  <dcbw@redhat.com>
12609
12610         Fix a crash if an "Other wireless network" was chosen, failed, then
12611         chosen again from the applet's menu.  If the other network wasn't
12612         noticed in a scan, it wouldn't have any capabilities, but would still
12613         be listed because the user forced the network.  To fix this, we set
12614         sensible capabilities on the forced network, which will get overwritten
12615         with the correct ones if the network shows up later in a scan.
12616         
12617         * src/nm-ap-security.h
12618                 - Add a new "get_default_capabilities_func" member to the
12619                         NMAPSecurity class
12620
12621         * src/nm-ap-security.c
12622                 - (nm_ap_security_get_default_capabilities): new function
12623
12624         * src/nm-ap-security.c
12625           src/nm-ap-security-wep.c
12626           src/nm-ap-security-wpa-psk.c
12627           src/nm-ap-security-wpa-eap.c
12628                 - Implement get_default_capabilities_func() for all, which
12629                         uses the information contained in a specific NMAPSecurity
12630                         object to determine default AP capabilites necessary
12631                         to support that object
12632
12633         As a secondary measure, we now prune artificial access points that fail
12634         to be activated right away.  The thing failed, and we have no scan data for
12635         it, so it's pretty much useless since security information is only saved
12636         in the applets when a connection is successful.
12637
12638         * src/NetworkManagerAPList.c
12639                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12640                         not artificial.  If we see it, it's no longer a figment of the
12641                         user's imagination :)
12642
12643         * src/NetworkManagerPolicy.c
12644                 - (nm_policy_activation_failed): send along the failed AP if we
12645                         have it
12646
12647         * src/nm-device-802-11-wireless.c
12648                 - (real_activation_failure_handler): remove artificial APs from
12649                         the device list, because activation failed
12650
12651 2006-03-02  Robert Love  <rml@novell.com>
12652
12653         Add support for retrieving both the per-device speed and the
12654         per-network maximum supported rate.  Then change the getProperties
12655         DBUS API for both networks and devices to report this informaiton.
12656         Finally, display the information via both nm-applet and nm-tool:
12657         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12658           and set it.
12659         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12660           Information' dialog.
12661         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12662         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12663           network_device_get_speed() and network_device_set_speed() for
12664           retrieving and setting, respectively, a network device's current
12665           speed.
12666         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12667         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12668           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12669           not matter (yet) what the units are, because we only feed it its own
12670           output.  Implement SIOCGIRATE and set the per-network maximum
12671           supported rate during scanning.
12672         * src/nm-device-802-11-wireless.h: Export the function
12673           nm_device_802_11_wireless_get_bitrate().
12674         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12675           function nm_device_802_3_ethernet_get_speed() for returning an
12676           802.3's current speed, in Mb/s.
12677         * test/nm-tool.c: Display the per-device current speed, if available,
12678           and the per-network maximum rate.
12679
12680 2006-03-02  Dan Williams  <dcbw@redhat.com>
12681
12682         * src/nm-device-802-11-wireless.c
12683                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12684                         card when it gets initialized.  Since devices don't get added to
12685                         the scan list until they are initialized, this function wasn't
12686                         setting the intitial scan interval correctly, and was leaving
12687                         it at 0.  This caused cards to get many scan requests in a short
12688                         amount of time when they were initialized
12689
12690 2006-03-02  Robert Love  <rml@novell.com>
12691
12692         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12693           active device.  But do not do what we used to do and override the
12694           state, which caused the dreaded icon race of '05.
12695
12696 2006-03-02  Robert Love  <rml@novell.com>
12697
12698         Commit Dan's update of my previous commit:
12699         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12700           set_mode() function itself does the check.  But do only set the
12701           frequency if in Ad-Hoc mode.
12702
12703 2006-03-02  Robert Love  <rml@novell.com>
12704
12705         Patch by Brian Magnuson <magnuson@rcn.com>:
12706         * src/nm-device-802-11-wireless.c: During scanning, only set the
12707           wireless mode to infrastructure if it is not currently in
12708           infrastructure mode.  For some driver, setting the mode is a costly
12709           operation, apparently.
12710
12711 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12712
12713         * Makefile.am: use the correct dir for autostart mechanism.
12714
12715 2006-02-28  Dan Williams  <dcbw@redhat.com>
12716
12717         Patch from Brian Magnuson <magnuson@rcn.com>
12718         * gnome/applet/applet.c
12719                 - (nma_show_vpn_failure_dialog): fix errors left over from
12720                         libnotify support changes
12721
12722 2006-02-28  Dan Williams  <dcbw@redhat.com>
12723
12724         * src/vpn-manager/nm-vpn-act-request.[ch]
12725                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12726                         just one value
12727                 - (nm_vpn_act_request_is_failed): new function; return whether or
12728                         not the vpn activation request has failed
12729
12730         * src/vpn-manager/nm-vpn-manager.c 
12731                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12732                         daemon to kill the connection when the activation request fails.
12733                         Fixes issue where NM would get confused if the VPN activation
12734                         request timed out, and would not allow further VPN connections
12735                         on that service.
12736
12737 2006-02-28  Dan Williams  <dcbw@redhat.com>
12738
12739         * gnome/applet/applet.c
12740                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12741                         overlapping connection requests, disable all VPN menu items
12742                         but the active VPN connection
12743
12744 2006-02-28  Dan Williams  <dcbw@redhat.com>
12745
12746         * src/vpn-manager/nm-vpn-connection.c
12747                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12748                         called g_object_unref() on the connection's parent device
12749                         when it should have been ref-ed instead.  Fixes crash with
12750                         repeated vpn connect requests
12751
12752 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12753
12754         * gnome/applet/applet.glade:
12755         Mark a few strings non-translatable, since they shouldn't be.
12756
12757 2006-02-28  Dan Williams  <dcbw@redhat.com>
12758
12759         * src/vpn-manager/nm-vpn-service.c
12760                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12761                         already running, don't blindly ask it to connect, but wait until
12762                         it's in the STOPPED state first.  Fixes an assertion when user
12763                         starts a second vpn connection without stopping the first.
12764                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12765                         dbus service exists before continuing with the connection
12766                         process, and reduce latency while waiting for it to become
12767                         available
12768                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12769                         waiting for the vpn service daemon to become available
12770                 - General log message cleanups; show progress via "Stage x of 4"
12771                         rather than not telling anyone how many stages there are
12772
12773 2006-02-28  Robert Love  <rml@novell.com>
12774
12775         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12776         * src/backends/NetworkManagerSuSE.c: Implement the interface
12777           nm_system_should_modify_resolv_conf() for SUSE.
12778         * src/backends/NetworkManagerDebian.c,
12779           src/backends/NetworkManagerGentoo.c,
12780           src/backends/NetworkManagerRedHat.c,
12781           src/backends/NetworkManagerSlackware.c: Add stub.
12782         * src/named-manager/Makefile.am: Grab includes from src.
12783         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12784           automatic updating of resolv.conf.  This is useful for testing,
12785           broken static configurations, and administrator lock-down.
12786
12787 2006-02-28  Dan Williams  <dcbw@redhat.com>
12788
12789         * src/nm-device-802-11-wireless.c
12790                 - Move all the wpa_supplicant-related management stuff into its
12791                         own struct, just for oranization's sake
12792                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12793                         to a GIOChannel/GSource
12794                 - (supplicant_log_stdout): new function; grab output from the
12795                         wpa_supplicant stdout pipe and write it to our logs.
12796
12797 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12798
12799         * src/nm-device-802-11-wireless.c:
12800         Err, fix thinko in my previous commit.
12801
12802 2006-02-28  Robert Love  <rml@novell.com>
12803
12804         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12805
12806 2006-02-28  Robert Love  <rml@novell.com>
12807
12808         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12809           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12810           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12811           deserializers are responsible for freeing the returned DBUS strings.
12812
12813 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12814
12815         * src/nm-device-802-11-wireless.c:
12816         The scan list is being pruned prematurely.  We should prune after
12817         the device has gone MIA for three scans, not one.  Split out the
12818         interval to realtime seconds function to better serve this.
12819
12820 2006-02-27  Robert Love  <rml@novell.com>
12821
12822         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12823           Open the pid file O_TRUNC, so if it already exists we truncate it to
12824           zero length.  Also, be more verbose about warnings generated during
12825           writing out the pid file.  Finally, always write out the pid file if
12826           in daemon mode.  Use "--pid-file" to override the default.
12827
12828 2006-02-27  Robert Love  <rml@novell.com>
12829
12830         Patch by R. Vinay <rvinay@novell.com>:
12831         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12832           'last_attempt_success' when removing a VPN connection, too.  (Fixes
12833           Novell bug #153628).
12834           
12835 2006-02-27  Robert Love  <rml@novell.com>
12836
12837         * gnome/applet/applet.glade: Set "activates_default" on passphrase
12838           entry so user can hit <ENTER> after entering passphrase (Novell bug
12839           #153738).
12840
12841 2006-02-27  Dan Williams  <dcbw@redhat.com>
12842
12843         * gnome/applet/*
12844                 - Mass search/replace of:
12845                         nmwa -> nma
12846                         NMWirelessApplet -> NMApplet
12847                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
12848                    (it ain't just for wireless anymore, ma!)
12849                 - Fix duplicate function name printing when using nm_warning
12850                 - wireless-applet.glade -> applet.glade
12851
12852 2006-02-27  Dan Williams  <dcbw@redhat.com>
12853
12854         * dispatcher-daemon/NetworkManagerDispatcher.c
12855                 - Accept --pid-file with a path to a pidfile, write it out on
12856                         startup, and delete it on shutdown
12857
12858         * src/NetworkManager.c
12859                 - Accept --pid-file with a path to a pidfile, write it out on
12860                         startup, and delete it on shutdown
12861                 - Move nm_print_usage() lower
12862
12863         * initscripts/RedHat/NetworkManager.in
12864                 - Use new --pid-file option
12865                 - Fix service stopping to wait a bit for NM to quit
12866
12867         * initscripts/RedHat/NetworkManagerDispatcher.in
12868                 - Use new --pid-file option
12869
12870 2006-02-26  Dan Williams  <dcbw@redhat.com>
12871
12872         * src/Makefile.am
12873                 - make and install nm-crash-logger
12874
12875         * src/nm-logging.[ch]
12876                 - New files; consolidate logging and crash handling
12877
12878         * src/nm-crash-logger.c
12879           src/gdb-cmd
12880                 - Standalong crashlogger for NM, grab a backtrace
12881                         using GDB
12882
12883         * src/NetworkManager.[ch]
12884                 - Remove signal handling and put it into nm-logging.c
12885
12886 2006-02-26  Dan Williams  <dcbw@redhat.com>
12887
12888         * configure.in
12889           gnome/applet/Makefile.am
12890                 - Conditionalize all the notify stuff
12891
12892         Merge most of Chris Aillon's notification patch:
12893         
12894         * gnome/applet/applet-notifications.[ch]
12895                 - New files; show a notification
12896         
12897         * gnome/applet/applet-dbus-devices.[ch]
12898                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12899                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12900                         new functions, do the right thing when a device change occurs
12901
12902         * gnome/applet/applet-dbus.c
12903                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12904                         signals, so we can handle them specially
12905
12906         * gnome/applet/applet.[ch]
12907                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12908                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12909                 - (nmwa_notify_state): remove
12910                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12911                         notification work is now done when the appropriate dbus signals
12912                         are received.
12913                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12914                         defer execution of the notification/dialog stuff.  That was an
12915                         artifact of the previous multi-threaded nature of the applet
12916                         and is now pointless.
12917                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12918                         no longer needed.  Function folded into applet-notifications.c
12919
12920         * src/NetworkManagerPolicy.c
12921                 - (nm_policy_activation_finish): send the AP along with the device
12922                         status change signal, if the connection is wireless.  Should
12923                         fix the race where applet would show a connection to "unknown"
12924
12925 2006-02-25  Robert Love  <rml@novell.com>
12926
12927         Add WPA Enterprise support:
12928         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12929           nm-gconf-wso-wpa-eap.h.
12930         * gnome/applet/nm-gconf-wso-wpa-eap.c,
12931           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
12932           serialization and deserialization.
12933         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12934           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12935           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12936         * gnome/applet/wireless-applet.glade: Add UI for configurating security
12937           settings related to WPA Enterprise.
12938         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12939           instantiate WPA Enterprise wireless-security-option.
12940         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12941           Implement WPA Enterprise wireless-security-option object.
12942         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12943           defines.  Cleanup.
12944         * libnm-util/cipher-wpa-psk-hex.c,
12945           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12946         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12947           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12948           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12949           including the cipher to DBUS method, and
12950           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12951           to output.
12952         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12953           nm-ap-security-wpa-eap.h
12954         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12955           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12956         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12957           files.  Implement NMAPSecurityWPA_EAP object.
12958         * src/nm-ap-security-wpa-psk.c: Cleanup.
12959         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12960           an NMAPSecurityWPA_EAP object via the method
12961           nm_ap_security_wpa_eap_new_deserialize().
12962         * src/nm-dbus-nm.c: Cleanup.
12963         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12964           WPA Enterprise support.
12965
12966 2006-02-24  Robert Love  <rml@novell.com>
12967
12968         Patch from Timo Hoenig <thoenig@suse.de>:
12969         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12970
12971 2006-02-24  Robert Love  <rml@novell.com>
12972
12973         Patch from Dan Winship <danw@novell.com>:
12974         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
12975           area to transparent.
12976
12977 2006-02-21  Dan Williams  <dcbw@redhat.com>
12978
12979         * gnome/applet/applet.[ch]
12980           gnome/applet/applet-dbus.c
12981                 - Implement notification support for VPN messages too
12982
12983 2006-02-21  Dan Williams  <dcbw@redhat.com>
12984
12985         * gnome/applet/applet-dbus-info.c
12986                 - Clean up warning messages to not double-print the function
12987
12988 2006-02-21  Dan Williams  <dcbw@redhat.com>
12989
12990         * gnome/applet/applet-compat.c
12991                 - (convert_one_entry): accept entries without a key_type and
12992                         convert them to unencrypted networks
12993
12994 2006-02-21  Dan Williams  <dcbw@redhat.com>
12995
12996         * gnome/libnm_glib/libnm_glib.c
12997                 - Use __func__ everywhere we can
12998                 - Code cleanups
12999                 - Use dbus pending calls rather than blocking
13000                 - Reduce busywaits for our thread to start and stop
13001                         (gnome.org #330562)
13002                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
13003                         stomp on others using the default shared dbus connection.
13004                         Fixes #rh177546# and gnome.org #326572
13005
13006 2006-02-21  Dan Williams  <dcbw@redhat.com>
13007
13008         Patch from Rodney Dawes <dobey@novell.com>
13009         * configure.in
13010           gnome/applet/Makefile.am
13011           gnome/applet/applet.c
13012                 - Add libnotify support if '--enable-notify=yes' is passed
13013                   at configure time
13014
13015 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
13016
13017         * configure.in (ALL_LINGUAS): ko added. (Korean)
13018
13019 2006-02-15  Robert Love  <rml@novell.com>
13020
13021         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
13022           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
13023           and WPA_SUPPLICANT_CONTROL_SOCKET.
13024         
13025 2006-02-15  Robert Love  <rml@novell.com>
13026
13027         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
13028           information about what connection stage we are at, provide the total
13029           number of stages, e.g. "Stage 2 of 5", so users know how far along
13030           they are if they experience problems.
13031
13032 2006-02-15  Robert Love  <rml@novell.com>
13033
13034         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13035           define to $sysconfdir.
13036         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13037           editing dialog, vpn_edit_widget, which fixes a bug where editing one
13038           type of VPN and then editing another results in a mangled dialog
13039           box containing the widgets from both VPNs (fixes Novell #150854).
13040           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13041
13042 2006-02-14  Robert Love  <rml@novell.com>
13043
13044         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13045           syslog's file descriptor.
13046
13047 2006-02-14  Robert Love  <rml@novell.com>
13048
13049         Fix bug around since the change to "deal with APs changing settings on
13050         us," checked in on the fifth of February in the year of the dog, 
13051         wherein connecting to non-broadcast encrypted networks always fails
13052         because nm_ap_get_encrypted() always returns FALSE, even when the user
13053         provided a key, because the newly-created fake AP does not have any
13054         capabilities set, which is a sypmtom of security settings not matching
13055         capabilities (Novell bug #150784):
13056         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13057           nm_ap_add_capabilities_from_security(), which sets the given AP's
13058           capabilities off the given security settings.  Also improve our
13059           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13060           NM_AUTH_CIPHER_AUTO.
13061         * src/nm-device-802-11-wireless.c: Call the function
13062           nm_ap_add_capabilities_from_security() to ensure that capabilities
13063           match newly updated security settings.
13064
13065 2006-02-14  Robert Love  <rml@novell.com>
13066
13067         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13068           error as a string, not an integer, if possible; do not print the
13069           function name twice; always give the interface, if possible; misc.
13070           cleanup.
13071
13072 2006-02-12  Dan Williams  <dcbw@redhat.com>
13073
13074         Patch from Tom Parker <palfrey@tevp.net>
13075         * src/NetworkManagerSystem.h
13076                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13077                         no longer used
13078
13079         * src/backends/NetworkManagerDebian.c
13080                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13081                         unused variables
13082
13083 2006-02-12  Dan Williams  <dcbw@redhat.com>
13084
13085         * vpn-daemons/openvpn/intltool-extract.in
13086           vpn-daemons/openvpn/intltool-merge.in
13087           vpn-daemons/openvpn/intltool-update.in
13088           vpn-daemons/pptp/intltool-extract.in
13089           vpn-daemons/pptp/intltool-merge.in
13090           vpn-daemons/pptp/intltool-update.in
13091                 - Remove from CVS, they should get created by intltoolize,
13092                         shouldn't they?
13093
13094 2006-02-12  Dan Williams  <dcbw@redhat.com>
13095
13096         * vpn-daemons/pptp/src/pppd/patchlevel.h
13097         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13098                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13099                         Makefile-defined VERSION
13100
13101 2006-02-09  Dan Williams  <dcbw@redhat.com>
13102
13103         Patch from: Vinay A R <rvinay@novell.com>
13104         * src/vpn-manager/nm-vpn-act-request.[ch]
13105                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13106                         IPSec VPNs require them for std gateway.
13107                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13108                         and 'user_routes_count'
13109                 - (nm_vpn_act_request_get_user_routes): new function; gets user
13110                         defined routes  from NMVPNActRequest object, returns the string
13111                         array of routes.
13112
13113         * src/vpn-manager/nm-vpn-manager.[ch]
13114                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13115                         for 'user_routes' and 'user_routes_count'
13116         
13117         * src/vpn-manager/nm-dbus-vpn.c
13118                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13119                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13120         
13121         * src/vpn-manager/nm-vpn-service.c
13122                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13123                         the vpn daemon
13124
13125         Modifications by Dan:
13126         * src/vpn-manager/nm-vpn-service.c
13127                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13128                         arrays into dbus
13129
13130         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13131         * vpn-daemons/pptp/src/nm-pptp-service.c
13132         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13133                 - Grab user routes from dbus message
13134                 - Free all string arrays we got from dbus
13135
13136 2006-02-07  Robert Love  <rml@novell.com>
13137
13138         Patch by Stefan Seyfried <seife@suse.de>:
13139         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13140
13141 2006-02-06  Robert Love  <rml@novell.com>
13142
13143         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13144
13145 2006-02-06  Robert Love  <rml@novell.com>
13146
13147         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13148           test ">=" is never false.  If no newline is found, we loop forever.
13149           We can just check for ">" because the following if() will see the
13150           zero-th argument if the while() gets that far.
13151
13152 2006-02-05  Dan Williams  <dcbw@redhat.com>
13153
13154         Refine handling of non-broadcast networks.
13155
13156         * src/NetworkManagerAPList.c
13157                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13158                         property from scanned AP to the AP from the device list
13159
13160         * src/nm-device-802-11-wireless.c
13161                 - (supplicant_send_network_config): use ap_scan=1 for all networks
13162                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
13163                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
13164                         networks since those don't have APs.
13165                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13166                         AP as non-SSID-broadcasting
13167                 - (process_scan_results): don't handle non-SSID-broadcasting here
13168
13169 2006-02-05  Dan Williams  <dcbw@redhat.com>
13170
13171         * src/nm-device-802-11-wireless.c
13172                 - (get_supplicant_timeout): new function; return
13173                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13174                         14 channels.  These are likely a/b/g cards, like Atheros, and
13175                         slow as hell to scan.
13176                 - (supplicant_timeout_cb, supplicant_monitor_start): use
13177                         get_supplicant_timeout()
13178
13179 2006-02-05  Dan Williams  <dcbw@redhat.com>
13180
13181         * src/dhcp-manager/nm-dhcp-manager.c
13182                 - Loose a commit race with Robert; make sure size check
13183                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
13184
13185 2006-02-05  Robert Love  <rml@novell.com>
13186
13187         Patch by Christoph Brill <chrisbrill@gmx.net>:
13188         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13189           with DHCP_SERVICE_NAME.
13190
13191 2006-02-05  Dan Williams  <dcbw@redhat.com>
13192
13193         Remove anything having to do with device_setup_func from the
13194         AP security objects, since it's no longer used.
13195
13196         * src/nm-ap-security.h
13197                 - Kill device_setup_func and nm_ap_security_device_setup()
13198
13199         * src/nm-ap-security-wep.c
13200           src/nm-ap-security-wpa-psk.c
13201                 - (real_device_setup): remove
13202
13203         * src/nm-ap-security.c
13204                 - (real_device_setup): remove
13205                 - (nm_ap_security_device_setup): remove
13206
13207         * src/nm-device-802-11-wireless.[ch]
13208                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13209                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13210                         and done by wpa_supplicant now anyway
13211
13212 2006-02-05  Dan Williams  <dcbw@redhat.com>
13213
13214         * src/nm-device-802-11-wireless.c
13215                 - (ap_need_key, real_act_stage2_config): deal with APs changing
13216                         settings on us.  Previously NM would loop asking for the
13217                         key but getting the same one back.  Now, if the NMI-supplied
13218                         cipher doesn't overlap with the scanned AP capabilities,
13219                         we request a completely new key from the user.
13220
13221 2006-02-05  Dan Williams  <dcbw@redhat.com>
13222
13223         * src/NetworkManagerUtils.c
13224                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13225                         Handle newline killing better
13226
13227 2006-02-05  Dan Williams  <dcbw@redhat.com>
13228
13229         * gnome/applet/nm-gconf-wso.c
13230                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
13231                         of unencrypted access point security info.
13232
13233 2006-02-03  Robert Love  <rml@novell.com>
13234
13235         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13236           user's encryption key, so we print the err_msg_cmd not the command,
13237           if available.  So long as SUPPLICANT_DEBUG is default, this makes
13238           sense.
13239
13240 2006-02-03  Christopher Aillon  <caillon@redhat.com>
13241
13242         * initscript/RedHat/NetworkManagerDispatcher.in:
13243         * initscript/RedHat/NetworkManager.in: modify the pidfile location
13244         Patch from Dan Walsh <dwalsh@redhat.com>
13245
13246 2006-02-03  Robert Love  <rml@novell.com>
13247
13248         * dispatcher-daemon/NetworkManagerDispatcher.c,
13249           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13250           but use the sysconfdir.
13251
13252 2006-02-03  Robert Love  <rml@novell.com>
13253
13254         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13255           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13256           'char *'.
13257         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13258           nm_ip4_config_get_hostname() and
13259           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13260         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
13261           leak g_strdup() result.
13262
13263 2006-02-03  Robert Love  <rml@novell.com>
13264
13265         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13266           broadcast == TRUE.  Also, copy broadcast and artificial properties
13267           from source network to destination in nm_ap_copy().
13268         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13269           since we now default new networks to non-hidden.
13270
13271 2006-02-03  Dan Williams  <dcbw@redhat.com>
13272
13273         * gnome/applet/main.c
13274                 - (main): change the NEVER->ALWAYS so we start at the
13275                         beginning of the session, if being session-managed
13276
13277 2006-02-03  Dan Williams  <dcbw@redhat.com>
13278
13279         * gnome/applet/main.c
13280                 - (main): in a variation on Robert's patch, change
13281                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
13282                         he wants.
13283
13284 2006-02-02  Robert Love  <rml@novell.com>
13285
13286         * src/Makefile.am: If we aren't going to create the run directory at,
13287           uh, run-time, create it during install.  Then users just doing
13288           'make install' are cool, too.  While we are here, create the
13289           dispatcher.d directory, too.
13290         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13291           the exact run directory.
13292         * Makefile.am: Install nm-applet.desktop.
13293
13294 2006-02-02  Robert Love  <rml@novell.com>
13295
13296         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13297           structure, which denotes whether or not the AP is hidden.  This is a
13298           superset of 'artificial' -- we need 'broadcast' because a hidden AP
13299           can show up in the scan list.  Add nm_ap_get_broadcast() and
13300           nm_ap_set_broadcast() accessor interfaces.
13301         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13302           nm_ap_set_broadcast().
13303         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13304           "getProperties" method, which denotes whether or not the given
13305           network is hidden.
13306         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13307           an artificial network.  Set broadcast to TRUE when scanning returns
13308           an ESSID and FALSE when not.
13309         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13310           from "getProperties" method on a network.  Possible TODO is to
13311           somehow display this.
13312         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13313
13314 2006-02-02  Dan Williams  <dcbw@redhat.com>
13315
13316         * src/nm-device-802-11-wireless.c
13317                 - (supplicant_interface_init): don't try to create
13318                         /var/run/NetworkManager, since that should be done by
13319                         the distro package.  Causes problems for stuff like SELinux
13320
13321 2006-02-02  Robert Love  <rml@novell.com>
13322
13323         Patch by Sureshkumar T <tsureshkumar@novell.com>:
13324         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13325           Check for and handle empty string for iface.
13326
13327 2006-02-01  Robert Love  <rml@novell.com>
13328
13329         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13330           manpage.
13331
13332 2006-01-31  Dan Williams  <dcbw@redhat.com>
13333
13334         * nm-applet.desktop
13335                 - Add --sm-disable to Exec arguments, presuming that when
13336                         using autostart, we don't want session management
13337
13338 2006-01-31  Robert Love  <rml@novell.com>
13339
13340         * src/NetworkManagerAP.c: Add two new manufacturer default network
13341           names: linksys-a and linksys-g.  These are found (at least) on the
13342           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13343           own ESSID.
13344
13345 2006-01-31  Robert Love  <rml@novell.com>
13346
13347         * src/NetworkManagerAP.c: Optimize the function
13348           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
13349           machine code.  This is the first in a series of code tweaks aiming to
13350           generate better machine code and make NetworkManager all the better.
13351           Just kidding.  Who has time to go through the assembly generated for
13352           every function?  I certainly don't.  I have a wife, a kid, a job,
13353           a mortgage, a mistress.  But this function was so bad, I was called
13354           to arms.  Like the book.
13355
13356 2006-01-31  Robert Love  <rml@novell.com>
13357
13358         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13359           AP is not broadcasting, to scan with probe request frames.  Required
13360           for non-broadcast networks.
13361
13362 2006-01-31  Robert Love  <rml@novell.com>
13363
13364         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13365           preprocessor define (still 20s).  Fix message text in nm_info()
13366           s/too too/took too/.
13367
13368 2006-01-30  Dan Williams  <dcbw@redhat.com>
13369
13370         * src/nm-device-802-11-wireless.c
13371                 - (supplicant_monitor_start): increase connect/auth timeout to
13372                         20 seconds from 10 seconds
13373
13374 2006-01-30  Dan Williams  <dcbw@redhat.com>
13375
13376         * src/Makefile.am
13377                 - Define LOCALSTATEDIR
13378
13379         * src/nm-device-802-11-wireless.c
13380                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13381                         socket where we want it to
13382
13383         * src/wpa_ctrl.[ch]
13384                 - (wpa_ctrl_open): accept location to put local control socket
13385
13386 2006-01-30  Robert Love  <rml@novell.com>
13387
13388         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13389           get_ip4_string() for "domain_name".
13390
13391 2006-01-30  Robert Love  <rml@novell.com>
13392
13393         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13394           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13395           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13396           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13397           support for "Automatic" pairwise and group cipher configuration by
13398           letting wpa_supplicant handle the details.  Add UI elements, new
13399           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
13400           charm.  Note this does more than add a nice feature, it fixes a bug.
13401           Apparently, some people have AP's where the pairwise cipher does not
13402           match the group cipher.  Insane, but true.
13403
13404 2006-01-30  Dan Williams  <dcbw@redhat.com>
13405
13406         * gnome/applet/applet-dbus-devices.c
13407                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13408                         functions, grab device driver name from NetworkManager
13409                 - (nmwa_dbus_device_properties_cb): call functions to get driver
13410
13411         * gnome/applet/applet.c
13412                 - (nmwa_update_info): show driver name in Connection Information
13413                         dialog
13414
13415         * gnome/applet/nm-device.[ch]
13416                 - (network_device_get_driver, network_device_set_driver): add
13417                         accessors for driver name
13418
13419         * gnome/applet/wireless-applet.glade
13420                 - Add line for driver name to Connection Information dialog
13421
13422         * src/nm-dbus-device.c
13423                 - (nm_dbus_device_get_driver): new function to return driver name
13424                 - (nm_dbus_device_methods): hook up driver name function to dbus
13425
13426         * test/nm-tool.c
13427                 - (get_driver_name): new function
13428                 - (detail_device): grab and show driver name
13429
13430 2006-01-30  Robert Love  <rml@novell.com>
13431
13432         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13433           does not parse the markup if it is not part of the format.
13434
13435 2006-01-30  Robert Love  <rml@novell.com>
13436
13437         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13438           FALSE, we have no security options for this dialog, so we throw up
13439           an error dialog instead of a broken passphrase dialog.  Fixes
13440           Novell #138404.
13441         * gnome/applet/wireless-security-manager.c,
13442           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13443           does not add any security options, not even NONE, print a warning
13444           and return FALSE.  This let's functions constructing a dialog bail
13445           out if the device's capabilities and the network's requirements have
13446           zero overlap.
13447
13448 2006-01-27  Robert Love  <rml@novell.com>
13449
13450         * configure.in: Require wpa_supplicant.  Detect location of binary and
13451           use it.  Override with "--with-wpa_supplicant=foo".
13452         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13453           path to wpa_supplicant but use the auto-detected or user-provided
13454           value from configure.
13455
13456 2006-01-27  Robert Love  <rml@novell.com>
13457
13458         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13459           but the DHCP server did not return a hostname, try to look up our
13460           name via DNS and set the system hostname to that.
13461
13462 2006-01-27  Dan Williams  <dcbw@redhat.com>
13463
13464         * src/backends/NetworkManagerRedHat.c
13465                 - Add NM_CONTROLLED system network script support for RH/Fedora
13466
13467 2006-01-27  Dan Williams  <dcbw@redhat.com>
13468
13469         * src/backends/NetworkManagerGentoo.c
13470                 - (nm_system_device_get_disabled): add missing function.
13471                         Gnome BZ #328780
13472
13473 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13474
13475         * configure.in: Added vi in ALL_LINGUAS line.
13476         
13477 2006-01-26  Robert Love  <rml@novell.com>
13478
13479         * src/Makefile.am, src/kernel-types.h: Now that two different source
13480           files are feeling the crack-addled leakage of kernel types such as
13481           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13482           types in user-space -- define a header and include it as needed.
13483         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13484         * src/nm-device-802-3-ethernet.h: Remove defines.
13485         * src/wpa.c: Remove defines and include kernel-types.h.
13486
13487 2006-01-26  Robert Love  <rml@novell.com>
13488
13489         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13490           work.
13491
13492 2006-01-26  Robert Love  <rml@novell.com>
13493
13494         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13495         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13496           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13497           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13498           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13499           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13500           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13501           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13502           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13503           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13504           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13505           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13506           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13507           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13508           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13509           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13510           Kill unused variables, labels, and static functions.  Don't pass
13511           string literals as the format string for printf-like functions.
13512
13513 2006-01-25  Dan Williams  <dcbw@redhat.com>
13514
13515         * gnome/applet/wireless-applet.glade
13516                 - Remove WPA2 Checkbox
13517
13518         * gnome/applet/wireless-security-manager.c
13519                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13520                         This means the Wireless Security menu now has two WPA options,
13521                         one for "WPA Personal" and one for "WPA2 Personal"
13522
13523         * gnome/applet/wso-wpa-psk.[ch]
13524                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13525                         'wpa2' argument to determine WPA version to use
13526                 - (append_dbus_params_func): pass stored WPA version to cipher
13527                         rather than using the (removed) checkbox
13528
13529 2006-01-24  Robert Love  <rml@novell.com>
13530
13531         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13532           before we g_strdup(), not the ultimate string.
13533
13534 2006-01-23  Dan Williams  <dcbw@redhat.com>
13535
13536         * src/NetworkManagerAP.[ch]
13537                 - (nm_ap_new_from_ap): copy original essid too
13538                 - (nm_ap_unref): free original essid
13539                 - (nm_ap_get_orig_essid): new function
13540                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13541                         but keep original essid around too
13542
13543         * src/nm-device-802-11-wireless.c
13544                 - (supplicant_send_network_config): send wpa_supplicant the
13545                         _original_ essid, and not as a string, but in hex.  Should
13546                         allow us to connect to more APs that use wierd character
13547                         encodings for their essids
13548
13549         * utils/nm-utils.[ch]
13550                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13551                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13552                         use the current locale as a hint for what encoding the essid
13553                         might be in.  Obviously not 100% accurate, but the idea here is
13554                         that if a user's locale is ex. ja_JP, they are more likely than
13555                         not to be in Japan, where access points will likely be in some
13556                         Japanese encoding.
13557
13558 2006-01-23  Dan Williams  <dcbw@redhat.com>
13559
13560         * libnm-util/cipher-private.h
13561           libnm-util/cipher.c
13562           libnm-util/cipher.h
13563                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13564
13565 2006-01-23  Robert Love  <rml@novell.com>
13566
13567         Patch by Timo Hoenig <thoenig@suse.de>:
13568         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13569           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13570           by DHCP and pass it to the backends, allowing distribution-specific
13571           behavior with respect to the DHCP-supplied hostname (if nothing else,
13572           some distributions might not want to set the hostname).
13573         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13574           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13575           Also update our NIS behavior.
13576         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13577           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13578           Add stub functions.
13579
13580 2006-01-23  Robert Love  <rml@novell.com>
13581
13582         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13583           gnome-session does autostart.  TODO: We need to install this to
13584           $prefix/share/autostart/.
13585
13586 2006-01-22  Dan Williams  <dcbw@redhat.com>
13587
13588         * src/NetworkManagerAP.[ch]
13589           src/nm-dbus-nmi.c
13590           src/nm-device-802-11-wireless.c         
13591                 - Make nm_ap_get_essid return "const char *"
13592
13593 2006-01-22  Dan Williams  <dcbw@redhat.com>
13594
13595         * src/NetworkManagerAP.[ch]
13596                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13597
13598         * src/NetworkManagerAPList.[ch]
13599                 - (nm_ap_list_diff): removed
13600                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13601                         deal with access points changing essids on us
13602
13603         * src/nm-device-802-11-wireless.c
13604                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13605                         src/NetworkManagerAPList.c
13606                 - (real_can_interrupt_activation): new function; allow interruption
13607                         of device activation if we are waiting for a network key
13608
13609         * src/NetworkManagerPolicy.c
13610                 - (nm_policy_device_change_check): allow interruption of currently
13611                         activating devices if the device allows it.  Previous behavior
13612                         would refuse to activate a just-plugged wired device if a
13613                         wireless device was waiting for a key.
13614
13615         * src/nm-device.[ch]
13616                 - (nm_device_can_interrupt_activation): new function; ask devices
13617                         whether their activation can be interrupted
13618
13619 2006-01-20  Robert Love  <rml@novell.com>
13620
13621         * Makefile.am, configure.in: Add new man subdirectory.
13622         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13623           man/Makefile.am: Add man pages for NetworkManager and its
13624           crime-solving bumbling buddy, NetworkManagerDispatcher.
13625         * man/.cvsignore: Add.
13626         * initscript/Debian/NetworkManager,
13627           initscript/Gentoo/NetworkManager.in,
13628           initscript/RedHat/NetworkManager.in,
13629           initscript/RedHat/NetworkManagerDispatcher.in,
13630           initscript/SUSE/networkmanager-dispatcher.in,
13631           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13632
13633 2006-01-20  Robert Love  <rml@novell.com>
13634
13635         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13636           instead of queuing.  This prevents the running of multiple NM
13637           daemons concurrently, which does not work whatsoever and results in
13638           neither daemon working correctly.  Also, we don't handle queuing and
13639           name-owner-changes, anyhow.
13640
13641 2006-01-20  Robert Love  <rml@novell.com>
13642
13643         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13644         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13645           to sbin, not bin.
13646
13647 2006-01-19  Robert Love  <rml@novell.com>
13648
13649         * configure.in: Require hal 0.5.0 or later.
13650
13651 2006-01-18  Robert Love  <rml@novell.com>
13652
13653         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13654           Allow backends to flag a device (in whatever distro-dependent way
13655           they so desire) as disabled.  NM will ignore any such device.
13656         * src/backends/NetworkManagerDebian.c,
13657           src/backends/NetworkManagerRedHat.c,
13658           src/backends/NetworkManagerSlackware.c: Add stub function
13659           nm_system_device_get_disabled() that always returns FALSE (enabled).
13660         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13661           SUSE-specific configuration structure.  Fill it in from the
13662           NM_CONTROLLED variable in the system networking scripts.  If this var
13663           exists and is "no", we ignore the device.
13664
13665 2006-01-17  Robert Love  <rml@novell.com>
13666
13667         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13668           identical for NM.  For a full discussion, see the thread at
13669           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13670
13671 2006-01-17  Dan Williams  <dcbw@redhat.com>
13672
13673         * src/nm-device.c
13674                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13675                         function.  Fixes crash when wired DHCP fails.
13676
13677 2006-01-16  Robert Love  <rml@novell.com>
13678
13679         * src/Makefile.am: Don't install NMLoadModules
13680         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13681           from src/ to test/ as no one uses it anymore.  Note that I would be
13682           fine with removing it altogether.
13683
13684 2006-01-16  Robert Love  <rml@novell.com>
13685
13686         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13687           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13688           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13689           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13690           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13691           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13692           declarations, ever.
13693         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13694           NM_STATE_DISCONNECTED is zero).
13695
13696 2006-01-16  Robert Love  <rml@novell.com>
13697
13698         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13699           uninitialized parameter and buffer overflow.  Novell #143496.
13700
13701 2006-01-16  Dan Williams  <dcbw@redhat.com>
13702
13703         Apply the PtP Address bits of a patch from Tim Niemueller
13704
13705         * src/nm-ip4-config.[ch]
13706                 - Add ip4_ptp_address member to object
13707                 - (nm_ip4_config_copy): copy ptp address too
13708                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13709                         new functions
13710                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13711                         rather than local tunnel ip address
13712
13713         * src/vpn-manager/nm-vpn-service.c
13714                 - (print_vpn_config): update for PtP address
13715                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13716                         DBusMessageIters in preparation for getting routes from the VPN
13717                         service daemons too
13718
13719         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13720                 - (send_config_info): update for PtP address, clean up code
13721                 - (main): update for PtP address, clean up code, fix typo
13722
13723         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13724                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13725
13726         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13727                 - (pptp_ip_up): update for PtP address
13728
13729         * vpn-daemons/pptp/src/nm-pptp-service.c
13730                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13731
13732         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13733                 - (print_vpn_config): update for PtP address
13734                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13735
13736 2006-01-16  Dan Williams  <dcbw@redhat.com>
13737
13738         * gnome/applet/applet.c
13739                 - (nmwa_add_networks_helper): don't indicate an active network
13740                         if NM is disconnected or asleep
13741
13742 2006-01-16  Dan Williams  <dcbw@redhat.com>
13743
13744         * src/NetworkManagerPolicy.c
13745                 - (nm_policy_device_change_check): switch devices if we lose the link
13746                         on an ethernet device. 
13747
13748 2006-01-16  Dan Williams  <dcbw@redhat.com>
13749
13750         * gnome/applet/wso-wpa-psk-hex.[ch]
13751                 - Renamed -> wso-wpa-psk.[ch]
13752
13753         * gnome/applet/wso-wpa-psk.[ch]
13754                 - New files
13755
13756         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13757                 - Removed, rolled into wso-wpa-psk.[ch]
13758
13759         * gnome/applet/Makefile.am
13760                 - Updated for above changes
13761
13762         * gnome/applet/wireless-applet.glade
13763                 - Consolidate WPA-PSK options into one notebook
13764                         widget, and make dialogs invisible by default
13765                         to fix screen oddities
13766
13767         * gnome/applet/wireless-security-manager.c
13768                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13769                         than both the old hex & passphrase ones
13770
13771 2006-01-16  Dan Williams  <dcbw@redhat.com>
13772
13773         * gnome/applet/other-network-dialog.c
13774                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13775
13776 2006-01-16  Dan Williams  <dcbw@redhat.com>
13777
13778         * gnome/applet/applet.c
13779                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13780                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13781                         prevention to realize window before trying to get server
13782                         time
13783
13784         * gnome/applet/other-network-dialog.c
13785                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13786                         prevention to realize window before trying to get server
13787                         time
13788
13789         * gnome/applet/passphrase-dialog.c
13790                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13791                         prevention to realize window before trying to get server
13792                         time
13793
13794 2006-01-16  Robert Love  <rml@novell.com>
13795
13796         Patch from Timo Hoenig  <thoenig@suse.de:
13797         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13798           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13799           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13800           libnm-util/dbus-helpers.h: add checks whether headers are used
13801           within a C++ build.
13802
13803 2006-01-16  Dan Williams  <dcbw@redhat.com>
13804
13805         * gnome/applet/wireless-security-option.c
13806                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13807
13808 2006-01-16  Dan Williams  <dcbw@redhat.com>
13809
13810         * libnm-util/cipher-wpa-psk-passphrase.c
13811                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13812                         be 8 - 63 characters inclusive
13813
13814 2006-01-16  Dan Williams  <dcbw@redhat.com>
13815
13816         * src/nm-dbus-nm.c
13817                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13818
13819 2006-01-13  Robert Love  <rml@novell.com>
13820
13821         Patch by T Sureshkumar <tsureshkuman@novell.com>:
13822         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13823           modules that do not use an interface.
13824
13825 2006-01-13  Dan Williams  <dcbw@redhat.com>
13826
13827         * src/nm-device.c
13828           src/nm-device.h
13829                 - Allow subclasses to implement deactivate_quickly()
13830                 - (nm_device_deactivate_quickly): call subclass
13831                         deactivate_quickly() methods
13832                 - (nm_device_set_active_link): small cleanups, and don't
13833                         deactivate the device right away because we risk a deadlock
13834                         when called from device thread, waiting for the device
13835                         thread to cancel activation
13836
13837         * src/nm-device-802-11-wireless.c
13838                 - (real_deactivate_quickly): new function
13839                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13840                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13841                         so that we kill the supplicant when we sleep too
13842                 - (supplicant_interface_init): work around naive naming attempts of
13843                         wpa_ctrl when naming sockets
13844
13845 2006-01-13  Dan Williams  <dcbw@redhat.com>
13846
13847         * src/nm-device-802-11-wireless.c
13848                 - (supplicant_cleanup): delete old device control sockets too
13849                 - (supplicant_get_device_socket_path): new function to consolidate
13850                         locations that need a path to a device's control socket
13851
13852 2006-01-12  Robert Love  <rml@novell.com>
13853
13854         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13855           description so that the description is unique for each
13856           pair (device,provider).  Fixes Novell #142773.
13857
13858 2006-01-12  Dan Williams  <dcbw@redhat.com>
13859
13860         * src/nm-device-802-11-wireless.c
13861                 - (supplicant_exec): ensure GError is correctly initialized
13862                         Reported by Diego González (gnome.org #326708)
13863
13864 2006-01-11  Robert Love  <rml@novell.com>
13865
13866         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13867           define if_mii(), open code the same results, and do so without any
13868           type punning.
13869
13870 2006-01-11  Robert Love  <rml@novell.com>
13871
13872         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13873           that wso_foo_new() returned non-NULL.  Instead, only append the new
13874           wso to wsm->options if the wso is non-NULL.  The crux is that we
13875           assume that the relevant key types are implied by WEP and WPA as
13876           appropriate.  To be sure, they should be, but we should not expect
13877           drivers to not be oozing piles of wolf fecal matter.
13878
13879 2006-01-11  Robert Love  <rml@novell.com>
13880
13881         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13882         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13883           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13884           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13885           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13886           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13887           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13888         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13889           comparing values within DBL_EPSILON.  Also fix shadowed variable
13890           usage.
13891
13892 2006-01-11  Dan Williams  <dcbw@redhat.com>
13893
13894         Add options for WPA2 and WPA1+CCMP (AES).
13895
13896         * gnome/applet/wireless-applet.glade
13897                 - Add UI bits for WPA+CCMP
13898
13899         * gnome/applet/other-network-dialog.c
13900                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13901                         and don't allow creation of WPA2 Ad-Hoc networks since
13902                         wpa_supplicant doesn't support them
13903
13904         * gnome/applet/wireless-security-manager.c
13905                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13906                         on to the specific wireless security option being created
13907
13908         * gnome/applet/wireless-security-option.[ch]
13909                 - (wso_wpa_create_key_type_model): new utility function to create
13910                         the model required for WPA Key Type combo box
13911
13912         * gnome/applet/wso-private.h
13913           gnome/applet/wireless-security-option.h
13914                 - Move private function prototypes into wso-private.h
13915
13916         * gnome/applet/wso-wpa-psk-hex.[ch]
13917           gnome/applet/wso-wpa-psk-passphrase.[ch]
13918                 - (append_dbus_params_func): get WPA version from checkbox and pass
13919                         it to the dbus serialization helper
13920                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13921                         key type combo changes
13922                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13923                         model and options
13924
13925         * libnm-util/cipher-wpa-psk-hex.c
13926           libnm-util/cipher-wpa-psk-passphrase.c
13927                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13928                         new function; allow the cipher to be changed after object creation
13929
13930         * src/nm-ap-security-wpa-psk.c
13931                 - (set_description): Do WPA2 descriptions too
13932
13933         * src/nm-ap-security.c
13934                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13935
13936 2006-01-11  Robert Love  <rml@novell.com>
13937
13938         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13939           is defined in <linux/mii.h> to return the mii_ioctl_data structure
13940           from the ifreq structure in lieu of an open coded solution.  Removes
13941           a life-threatening type-punning.
13942         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13943           types, ever, whatsoever, baby.
13944
13945 2006-01-11  Robert Love  <rml@novell.com>
13946
13947         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13948           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13949           assignments to applet->nm_state into a new nmwa_set_state() function
13950           for both cleanliness and to help debugging.
13951
13952 2006-01-10  Robert Love  <rml@novell.com>
13953
13954         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
13955           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13956           seconds, exclusive.  That is, we want to sleep x seconds such that
13957           1 < x < 2.
13958
13959 2006-01-10  Robert Love  <rml@novell.com>
13960
13961         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13962           the attr fields according to the example in the email available at
13963           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13964           Conversely, we do have to free 'name', so we do so, fixing a leak.
13965
13966 2006-01-10  Robert Love  <rml@novell.com>
13967
13968         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13969           sure that we close the socket!
13970
13971 2006-01-10  Robert Love  <rml@novell.com>
13972
13973         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13974           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13975           src/nm-device.c: Fix a FIXME!  Reimplement the function
13976           nm_device_update_hw_address() in device subclass variants,
13977           nm_device_802_3_ethernet_set_address() and
13978           nm_device_802_11_wireless_set_address(), hook them up, and use them.
13979           This fixes the existing bug where MAC addresses are all zeros.
13980
13981 2006-01-10  Robert Love  <rml@novell.com>
13982
13983         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13984           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13985           option to give users ability to globally disconnect and put NM to
13986           sleep.  This is useful as a 'lockdown mode' for flying, security, and
13987           clean disconnect.
13988
13989 2006-01-09  Robert Love  <rml@novell.com>
13990
13991         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
13992           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13993           User-space does not supply these types, so we have to define them
13994           ourselves.  The relevant kernel maintainer refused to accept a patch
13995           switching these headers to the proper C99 types.
13996
13997 2006-01-09  Dan Williams  <dcbw@redhat.com>
13998
13999         Apply Robert's 'tray icon redo' patch with fixes
14000         * gnome/applet/applet.c
14001           gnome/applet/applet.h
14002                 - Instead of using a menu bar + menu item, simulate menu
14003                         behavior using a popup menu.  Highlight the area around
14004                         the icon more like a menu too, by playing with the
14005                         applet's size requisition
14006
14007 2006-01-09  Timo Hoenig   <thoenig@suse.de>
14008         * libnm-util/dbus-helpers.c
14009           libnm-util/dbus-helpers.h
14010                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
14011                         to 'exception_namespace' (:namespace is a keyword in
14012                         C++)
14013
14014 2006-01-09  Dan Williams  <dcbw@redhat.com>
14015
14016         * src/NetworkManagerPolicy.c
14017                 - (nm_policy_device_change_check): don't autoswitch away from
14018                         Ad-Hoc networks, since there's really no concept of
14019                         "link"
14020
14021         * src/nm-dbus-nm.c
14022                 - (nm_dbus_nm_create_wireless_network): mark created networks
14023                         as Ad-Hoc networks
14024
14025         * src/nm-device-802-11-wireless.c
14026                 - (real_activation_success_handler): add user-created Ad-Hoc
14027                         networks to the device's scan list
14028
14029 2006-01-08  Dan Williams  <dcbw@redhat.com>
14030
14031         We now require a patch for wpa_supplicant to support Ad-Hoc
14032         networks:
14033           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14034
14035         * src/nm-device-802-11-wireless.c
14036                 - (supplicant_send_network_config): turn off wpa_supplicant's
14037                         scanning.  Fixes Ad-Hoc networks.
14038
14039 2006-01-08  Dan Williams  <dcbw@redhat.com>
14040
14041         * src/nm-ap-security.c
14042           src/nm-ap-security.h
14043                 - Add a user_created argument to the write_supplicant_config
14044                         functions
14045
14046         * src/nm-ap-security-wep.c
14047           src/nm-ap-security-wpa-psk.c
14048           src/nm-device-802-11-wireless.c
14049                 - Make Ad-Hoc mode somewhat work, at least write the
14050                         correct options to wpa_supplicant
14051
14052 2006-01-08  Dan Williams  <dcbw@redhat.com>
14053
14054         * src/nm-device-802-11-wireless.c
14055                 - Remove unused code from the old device activation path
14056
14057 2006-01-08  Dan Williams  <dcbw@redhat.com>
14058
14059         * libnm-util/dbus-helpers.c
14060                 - (nmu_security_serialize_wpa_psk): pass a blank key through
14061                         dbus when key == NULL
14062
14063 2006-01-08  Dan Williams  <dcbw@redhat.com>
14064
14065         * gnome/applet/nm-gconf-wso-wpa-psk.c
14066                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14067                         correct arguments to nmu_security_deserialize_wpa_psk()
14068
14069         * src/nm-ap-security-wpa-psk.c
14070                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14071                         arguments to nmu_security_deserialize_wpa_psk()
14072
14073 2006-01-08  Dan Williams  <dcbw@redhat.com>
14074
14075         * gnome/applet/wso-wpa-psk-hex.c
14076           gnome/applet/wso-wpa-psk-passphrase.c
14077                 - Hook up the append_dbus_params_func() function
14078
14079 2006-01-08  Dan Williams  <dcbw@redhat.com>
14080
14081         * src/nm-device-802-11-wireless.c
14082                 - (get_wireless_capabilities): correctly detect driver WPA
14083                         capabilities
14084
14085 2006-01-08  Dan Williams  <dcbw@redhat.com>
14086
14087         * gnome/applet/Makefile.am
14088           gnome/applet/wso-wpa-psk-hex.c
14089           gnome/applet/wso-wpa-psk-hex.h
14090                 - New files, implement WPA-PSK Hex key input
14091
14092         * gnome/applet/wireless-applet.glade
14093                 - Change existing wpa-psk stuff to wpa-psk-hex
14094                 - Add new widgets for wpa-psk-passphrase
14095
14096         * gnome/applet/wireless-security-manager.c
14097                 - (wsm_set_capabilities): enable WPA options
14098
14099         * gnome/applet/wso-wpa-psk-passphrase.c
14100                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14101                         for WPA-PSK passphrase
14102
14103 2006-01-08  Dan Williams  <dcbw@redhat.com>
14104
14105         * include/NetworkManager.h
14106                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14107                         applet/info-daemons
14108
14109         * gnome/applet/passphrase-dialog.c
14110                 - Use the constant.  Fixes a bug where the arguments to
14111                         dbus_message_new_error() were incorrect
14112
14113         * src/nm-dbus-nmi.c
14114                 - Use the constant
14115
14116 2006-01-07  Dan Williams  <dcbw@redhat.com>
14117
14118         * src/nm-device-802-11-wireless.c
14119                 - Add a link timeout so we allow the supplicant time to
14120                         reassociate if it can, before we deactivate the card
14121                 - Fix up link status and link updating so things work better
14122
14123 2006-01-07  Dan Williams  <dcbw@redhat.com>
14124
14125         * src/nm-device-802-11-wireless.c
14126                 - Switch over to using wpa_supplicant
14127                 - Add a timeout of 10s for association of the supplicant
14128                 - Start the monitor callback of the supplicant
14129
14130 2006-01-07  Dan Williams  <dcbw@redhat.com>
14131
14132         * src/NetworkManagerUtils.c
14133                 - (nm_utils_supplicant_request,
14134                   nm_utils_supplicant_request_with_check):
14135                         pass correct buffer length to wpa_ctrl_request()
14136
14137 2006-01-07  Dan Williams  <dcbw@redhat.com>
14138
14139         * src/nm-device-private.h
14140           src/nm-device.c
14141                 - (nm_device_activate_schedule_stage3_ip_config_start): make
14142                         this function available to subclasses
14143
14144 2006-01-06  Robert Love  <rml@novell.com>
14145
14146         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14147           user plugging in a network cable signals their preference for to
14148           switch, unless the user explicitly selected a wireless network and
14149           therefore signaled their preference for said wireless network over
14150           wired.  In other words, do exactly what makes sense.
14151
14152 2006-01-06  Robert Love  <rml@novell.com>
14153
14154         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14155           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14156           src/NetworkManagerWireless.h: Remove, no longer used and they keep
14157           showing up in my greps.
14158
14159 2006-01-06  Robert Love  <rml@novell.com>
14160
14161         * gnome/applet/applet-dbus-devices.c,
14162           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14163           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14164           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
14165           New Network' both failed in the non-encrypted case because we were
14166           not appending the security options to the DBUS message.  And
14167           'Connect to Other' was also failing in the encrypted case because
14168           we were not incrementing to the next DBUS parameter.  All fixed.
14169           Thanks to dcdw for some debugging help.
14170
14171 2006-01-06  Robert Love  <rml@novell.com>
14172
14173         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14174           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14175           hangup code and add per-device hangup.  Tie last commit into the
14176           GNOME applet.  TODO:  Save, understand, and respond to the state of
14177           each dialup device.
14178
14179 2006-01-06  Robert Love  <rml@novell.com>
14180
14181         Patch by Timo Hoenig <thoenig@suse.de>:
14182         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14183           hangup specific dialup devices.
14184         * src/backends/NetworkManagerDebian.c,
14185           src/backends/NetworkManagerGentoo.c,
14186           src/backends/NetworkManagerRedHat.c,
14187           src/backends/NetworkManagerSlackware.c: Add stub backend.
14188         * src/backends/NetworkManagerRedHat.c,
14189           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14190           hangup specific dialup devices.
14191
14192 2006-01-04  Robert Love  <rml@novell.com>
14193
14194         * gnome/applet/applet-dbus-devices.c,
14195           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14196           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14197           connections.
14198
14199 2006-01-04  Dan Williams  <dcbw@redhat.com>
14200
14201         First dump of wpa_supplicant-related code.  It's not hooked up to
14202         anything yet though.  Thanks to Kay Sievers for
14203         wpa_supplicant_wrapper.c, which formed the basis for this work,
14204         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14205
14206         * src/Makefile.am
14207           src/wpa_ctrl.[ch]
14208                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14209
14210         * src/NetworkManagerUtils.[ch]
14211                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14212                         Add convenience functions for talking to wpa_supplicant
14213
14214         * src/nm-ap-security.[ch]
14215           src/nm-ap-security-wep.c
14216           src/nm-ap-security-wpa-psk.[ch]
14217                 - Update and implement real_write_supplicant_config functions
14218                         in all security types
14219                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14220                         nm-ap-security-wpa-psk.c
14221
14222         * src/nm-device-802-11-wireless.c
14223                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14224                    wpa_supplicant_start, wpa_supplicant_interface_init,
14225                    wpa_supplicant_send_network_config): add functions to talk to
14226                         wpa_supplicant and write network config to it
14227
14228 2006-01-04  Robert Love  <rml@novell.com>
14229
14230         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14231           values so that distribution-backends can differentiate between the
14232           various types (modem, ISDN, et cetera) of dialup device that they
14233           support.
14234         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14235           needed.
14236
14237 2006-01-03  Dan Williams  <dcbw@redhat.com>
14238
14239         * src/NetworkManagerPolicy.c
14240           src/nm-device.[ch]
14241           src/nm-device-802-11-wireless.c
14242                 - Move wireless-specific activation failure and success code
14243                         into wireless device class
14244
14245 2006-01-03  Robert Love  <rml@novell.com>
14246
14247         Patch by Preggna S:
14248         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14249           IPsec does not require that a VPN client be bound to an interface,
14250           due to the use of the in-kernel IPSec bits.  So make the tunnel
14251           device optional.
14252
14253 2006-01-03  Dan Williams  <dcbw@redhat.com>
14254
14255         * src/NetworkManagerAP.c
14256                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14257                         the WPA IE specifies that WEP is supported
14258
14259         * src/nm-device-802-11-wireless.c
14260                 - (process_scan_results): don't mark an AP as supporting WEP
14261                         if there's already other encryption capability info
14262
14263 2006-01-03  Dan Williams  <dcbw@redhat.com>
14264
14265         * src/dhcp-manager/nm-dhcp-manager.c
14266                 - Recognize activation cancellation when waiting for DHCP
14267                         configuration from dhcdbd
14268                 - Ignore non-dhcdbd messages
14269
14270         * src/nm-device.c
14271                 - (real_act_stage3_ip_config_start): return to correct behavior
14272                         of letting the dhcp-manager notify us of failure or
14273                         success rather than incorrectly doing that ourselves
14274                 - (nm_device_activate_stage4_ip_config_get): deal with
14275                         activation cancellation a bit earlier
14276
14277 2006-01-03  Dan Williams  <dcbw@redhat.com>
14278
14279         * src/nm-device-802-11-wireless.c
14280           src/nm-device.[ch]
14281                 - Add hooks to subclasses for stage3_ip_config_start and
14282                         stage4_ip_config_timeout
14283
14284         * src/nm-device-802-3-ethernet.c
14285                 - (real_get_generic_capabilities): make devices NM-supported
14286                         by default
14287
14288 2006-01-03  Robert Love  <rml@novell.com>
14289
14290         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14291           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14292           latter cannot differentiate between error and the address -1; misc.
14293           clean up.
14294
14295 2006-01-03  Dan Williams  <dcbw@redhat.com>
14296
14297         * src/NetworkManager.c
14298                 - Move link-checking/probing into the device subclasses
14299                         themselves
14300
14301         * src/nm-device.[ch]
14302           src/nm-device-802-11-wireless.c
14303           src/nm-device-802-3-ethernet.c
14304                 - Do periodic link checking in device subclasses rather
14305                         than being triggered from NetworkManager.c
14306                 - discover_wireless_capabilities -> get_wireless_capabilities
14307                 - discover_generic_capabilities -> get_generic_capabilities
14308                 - Device subclass activation routines now return a value of type
14309                         NMActStageReturn to indicate what step to perform next
14310                 - Devices now override stage4_get_ip4_config if they choose
14311
14312 2006-01-01  Dan Williams  <dcbw@redhat.com>
14313
14314         * src/nm-device-802-11-wireless.c
14315                 - (real_init): don't chain up to parent init because we don't
14316                         need to do that anymore
14317
14318         * src/nm-device.c
14319                 - (discover_device_type): fix arguments to ioctl() to correctly
14320                         pass interface name
14321                 - (nm_device_new): consolidate generic device initialization into
14322                         nm_device_new()
14323                 - (real_init): remove, consolidated to nm_device_new()
14324                 - (nm_device_deactivate, real_deactivate): consolidate
14325
14326 2006-01-01  Dan Williams  <dcbw@redhat.com>
14327
14328         * src/nm-activation-request.c
14329                 - Change dhcp_state member of the NMActRequest structure
14330                         from guint8 to guint32
14331
14332         * src/dhcp-manager/nm-dhcp-manager.[ch]
14333                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14334                         than guint8 to match the dbus argument.  Turns out we were
14335                         overwriting memory since we were passing in only a guint8
14336
14337 2005-12-31  Dan Williams  <dcbw@redhat.com>
14338
14339         * refactor NMDevice into a GObject-based framework with separate
14340                 objects for wired and wireless.  The following files are no
14341                 longer used but should stick around for a bit so we don't
14342                 loose code through the cracks:
14343                         NetworkManagerDevice.c
14344                         NetworkManagerDevice.h
14345                         NetworkManagerWireless.c
14346                         NetworkManagerWireless.h
14347
14348         The intent here is to allow each device type to manage its own
14349         connection & activation life-cycle, ie to allow wireless devices
14350         to interface with wpa_supplicant, etc.  There's a fair bit of
14351         encapsulation breakage right now that should gradually get pulled
14352         back into each device, along with things like periodic property
14353         updates and link probing.
14354
14355 2005-12-29  Dan Williams  <dcbw@redhat.com>
14356
14357         * include/NetworkManager.h
14358                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14359                         between networks that don't have any encryption at all
14360
14361 2005-12-29  Dan Williams  <dcbw@redhat.com>
14362
14363         * test/test-common.c
14364           test/test-common.h
14365           test/Makefile.am
14366                 - Move to a test-common subdirectory
14367
14368         * test/libnm-util/test-ciphers.c
14369                 - Move test data to test-inputs.h
14370                 - Test WPA ciphers too
14371
14372         * test/libnm-util/test-dbus-helpers.c
14373                 - Test serialization/deserialization of ciphers
14374
14375 2005-12-29  Dan Williams  <dcbw@redhat.com>
14376
14377         * gnome/applet/applet-dbus-devices.c
14378                 - Replace 'enc' parameter with 'capabilities' for wireless networks
14379                         in dbus calls to NM
14380                 - Set capabilities on WirelessNetwork objects
14381                 - Receive and save type-specific device capabilities too
14382
14383         * gnome/applet/applet-dbus-info.c
14384           gnome/applet/applet-dbus.c
14385                 - Passphrase dialog no longer a singleton; new instance gets created
14386                         on each request.  Updates to deal with that.
14387
14388         * gnome/applet/applet.c
14389                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14390                         than single 'encrypted' flag
14391                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14392                         menu items
14393                 - Passphrase dialog updates per above
14394
14395         * gnome/applet/menu-items.c
14396                 - (network_menu_item_update): use AP capabilities to determine
14397                         encryption
14398
14399         * gnome/applet/nm-device.[ch]
14400                 - Add accessors for type-specific device capabilities
14401
14402         * gnome/applet/other-network-dialog.c
14403                 - Rework to respect device capabilities.  i.e., if the device doesn't
14404                         support WPA, remove that option from the security dropdown
14405
14406         * gnome/applet/passphrase-dialog.c
14407                 - Massive rework so that a new instance is created each time
14408                         it's used, to support wireless network capabilities
14409
14410         * gnome/applet/wireless-network.[ch]
14411                 - Add accessors and members for wireless network capabilities
14412
14413         * gnome/applet/wireless-security-manager.[ch]
14414                 - (wsm_set_capabilities): called after creation to set which
14415                         security options get shown to the user
14416
14417 2005-12-29  Dan Williams  <dcbw@redhat.com>
14418
14419         * libnm-util/cipher-wpa-psk-passphrase.c
14420                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14421                         like other ciphers
14422
14423 2005-12-23  Dan Williams  <dcbw@redhat.com>
14424
14425         * gnome/applet/applet-dbus-info.c
14426                 - (nmi_dbus_get_key_for_network): if there's no entry in
14427                         GConf for a network, assume we want a new key
14428                 - (nmi_save_network_info): serialize wireless security info
14429                         into GConf so its saved
14430
14431         * src/nm-dbus-nm.c
14432                 - Fix warning as we may not be passed security info when
14433                         connecting to a wireless network
14434
14435 2005-12-23  Dan Williams  <dcbw@redhat.com>
14436
14437         * gnome/applet/applet-compat.c
14438                 - Fix bugs in GConf entry conversion
14439
14440         * gnome/applet/applet-dbus-info.c
14441                 - (nmi_dbus_get_network_properties): handle case of the BSSID
14442                         list being zero-length
14443
14444         * libnm-util/cipher-*
14445           libnm-util/dbus-helpers.c
14446                 - All ciphers must now return hashed keys as UTF-8 valid
14447                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14448                         through dbus as strings too.
14449                 - Consolidate various functions that do bin->hex and hex->bin
14450                         conversion into cipher.c
14451
14452         * src/nm-ap-security-wep.c
14453           src/nm-ap-security-wpa-psk.c
14454                 - Handle NULL keys since we may not know keys right away
14455
14456         * src/nm-dbus-nmi.c
14457                 - (nm_dbus_get_network_data_cb): actually advance to the start
14458                         of the wireless security info before we try to deserialize it
14459
14460         * libnm-util/test-ciphers.c
14461                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14462
14463 2005-12-22  Dan Williams  <dcbw@redhat.com>
14464
14465         * gnome/applet/applet-compat.[ch]
14466                 - Convert old-format GConf and keyring entries
14467                         when the applet starts up.
14468
14469         * gnome/applet/applet.c
14470                 - (nmwa_get_instance): Call the conversion function
14471                         on startup before dbus is initialized
14472
14473 2005-12-22  Dan Williams  <dcbw@redhat.com>
14474
14475         * gnome/applet/applet-dbus-info.c
14476                 - Remove nmi_dbus_create_error_message() in favor of
14477                         nmu_create_dbus_error_message()
14478                 - (nmi_dbus_get_network_properties): Error message cleanups
14479                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14480                         gconf key rather than 'addresses', since they really are BSSIDs
14481                 - (nmi_dbus_get_network_properties): Dispose of the security
14482                         object when we're done with it
14483
14484 2005-12-21  Dan Williams  <dcbw@redhat.com>
14485
14486         * Consolidate the info-daemon's "updateNetworkInfo" and
14487                 "addNetworkAddress" calls into just "updateNetworkInfo"
14488
14489 2005-12-21  Dan Williams  <dcbw@redhat.com>
14490
14491         * Make connection after key retrieval work again
14492
14493 2005-12-21  Dan Williams  <dcbw@redhat.com>
14494
14495         * gnome/applet/nm-gconf-wso*
14496                 - Make the serialize functions return gboolean
14497                         rather than int
14498
14499         * gnome/applet/nm-gconf-wso.c
14500                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14501                         parent class handling so we don't segfault
14502
14503         * src/NetworkManagerAP.[ch]
14504                 - (nm_ap_get_capabilities): new function, return capabilities
14505                         now that something can use them
14506                 - (nm_ap_set_encrypted): assume that an access point supports
14507                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14508                         we even tell whether it just supports WEP40?
14509
14510         * src/NetworkManagerDevice.c
14511                 - (ap_need_key): resurrect and update for the New World Order
14512                 - (nm_device_wireless_get_activation_ap): if we're not given
14513                         security info to use, create some based on access point
14514                         capabilities
14515
14516         * src/nm-ap-security-wep.c
14517                 - (nm_ap_security_wep_new_from_ap): create a new object
14518                         based on a certain access point's capabilities
14519
14520         * src/nm-ap-security.c
14521                 - (nm_ap_security_new_from_ap): delegate creation of a new
14522                         object based on access point capabilities to a subclass
14523                 - (nm_ap_security_copy_properties): don't segfault if we
14524                         don't have a key yet
14525
14526         * src/nm-dbus-nm.c
14527                 - (nm_dbus_nm_set_active_device): provide more informative
14528                         output when errors occur.  Also construct security info
14529                         for a given access point if we weren't given any
14530
14531 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14532
14533         * configure.in: Added Lithuanian to ALL_LINGUAS.
14534
14535 2005-12-21  Dan Williams  <dcbw@redhat.com>
14536
14537         * test/libnm-util
14538                 - Add some testcases for WEP ciphers
14539
14540 2005-12-17  Dan Williams  <dcbw@redhat.com>
14541
14542         * Fix bugs
14543
14544 2005-12-17  Dan Williams  <dcbw@redhat.com>
14545
14546         * include/NetworkManager.h
14547                 - Finally kill NMEncKeyType
14548
14549         * gnome/applet/applet-dbus-info.c
14550                 - (nmi_save_network_info): convert to NMGConfWSO
14551
14552         * gnome/applet/nm-gconf-wso-*.c
14553                 - Implement gconf serialization functions
14554
14555         * src/NetworkManagerPolicy.c
14556                 - (nm_policy_activation_finish): fix up meaning of
14557                         automatic/user_requested
14558
14559 2005-12-17  Dan Williams  <dcbw@redhat.com>
14560
14561         * gnome/applet/*
14562                 - More applet cleanups
14563                 - Use the dbus-method-dispatcher
14564
14565         * libnm-util/dbus-method-dispatcher.[ch]
14566                 - Generalize the implementation from NM in
14567                         NetworkManagerUtils.c
14568
14569 2005-12-16  Dan Williams  <dcbw@redhat.com>
14570
14571         * gnome/applet/*
14572                 - Fix up the passphrase dialog to use all the
14573                         WirelessSecurityOption stuff (untested)
14574
14575 2005-12-16  Dan Williams  <dcbw@redhat.com>
14576
14577         * Move nm_gconf_get_*_helper() functions to separate files,
14578                 gconf-helpers.c & gconf-helpers.h
14579
14580         * New NMGConfWSO objects for managing the gconf side of things.
14581                 Eventually these should be merged with the
14582                 WirelessSecurityOption objects and a common base (that can
14583                 serialize/deserialize from dbus & gconf) should be
14584                 refactored out, but for now they are separate.
14585
14586 2005-12-16  Robert Love  <rml@novell.com>
14587
14588         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14589           binaries unless they exist (nm_spawn_process() emits a warning if
14590           asked to spawn a non-existant process).
14591
14592 2005-12-16  Dan Williams  <dcbw@redhat.com>
14593
14594         * gnome/applet/applet-dbus-info.c
14595                 - Clean up lots of gconf-related code
14596
14597 2005-12-16  Robert Love  <rml@novell.com>
14598
14599         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14600
14601 2005-12-16  Dan Williams  <dcbw@redhat.com>
14602
14603         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14604
14605         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14606                 bits still to be done)
14607
14608 2005-12-16  Dan Williams  <dcbw@redhat.com>
14609
14610         * Finally move info-daemon related stuff out of
14611                 NetworkManagerDbus.c to nm-dbus-nmi.c
14612
14613 2005-12-16  Dan Williams  <dcbw@redhat.com>
14614
14615         * Kill auth_method for access points, since that's now done
14616                 by NMAPSecurity objects
14617
14618         * Add a copy-constructor of sorts to NMAPSecurity
14619                 (how do you do this properly in glib???)
14620
14621 2005-12-15  Dan Williams  <dcbw@redhat.com>
14622
14623         * Exorcise encryption key hashing on APs
14624         * Use libnm-util's serialization/deserialization in both the
14625                 applet and NM
14626         * Random other stuff
14627
14628 2005-12-15  Robert Love  <rml@novell.com>
14629
14630         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14631           is being added to the icon naming spec, so let's use that (Tango CVS
14632           has the icon).  Because it is new, however, we fall back to the
14633           current "gnome-lockscreen" if the new icon is not around, thus
14634           behavior is the same.
14635         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14636           factory junk.
14637
14638 2005-12-15  Robert Love  <rml@novell.com>
14639
14640         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14641           well, help to give.  Couple other misc. bits.
14642
14643 2005-12-15  Dan Williams  <dcbw@redhat.com>
14644
14645         * libnm-util/dbus-helpers.[ch]
14646                 - Make this the one-stop-shop for serializing/deserializing
14647                         AP & connection security settings over dbus.  Both NM
14648                         and applets should use this to ensure consistent dbus
14649                         API going forwared.
14650
14651 2005-12-15  Robert Love  <rml@novell.com>
14652
14653         Patch by Timo Hoenig  <thoenig@suse.de>:
14654         * src/NetworkManagerDbus.c
14655                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14656                         if HAL jumps off the system bus.  Otherwise libdbus
14657                         (dbus_connection_dispatch) will try to run the filter
14658                         function of our libhal context which is already freed.
14659
14660 2005-12-15  Alexander Shopov  <ash@contact.bg>
14661
14662         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14663
14664 2005-12-14  Dan Williams  <dcbw@redhat.com>
14665
14666         * include/NetworkManager.h
14667           src/NetworkManagerWireless.c
14668                 - Rearrange 802.11 wireless-specific capabilities again
14669
14670         * src/Makefile.am
14671                 - Forgot to add wpa.c/wpa.h to the makefiles
14672
14673         * src/NetworkManagerAP.[ch]
14674                 - Implement access point capabilities and parse the
14675                         WPA/RSN IEs into the capability bitfield
14676                 - Switch the "encrypted" attribute to utilize the bitfield
14677                         and capabilities rather than being independent
14678
14679         * src/NetworkManagerDevice.c
14680                 - (nm_device_wireless_get_activation_ap): break it horribly
14681                         until we can push NMAPSecurity objects into access point
14682                         objects and through the activation chain
14683                 - Stuff WPA & RSN IEs into AP capabilities
14684
14685         * src/nm-dbus-nm.c
14686                 - Take a shot at actually making setActiveDevice work
14687
14688         * src/wpa.[ch]
14689                 - Make the API a bit saner
14690
14691 2005-12-14  Dan Williams  <dcbw@redhat.com>
14692
14693         * include/NetworkManager.h
14694                 - Add 802.11-specific capability for 802.1x key
14695                         management
14696
14697         * src/wpa.[ch]
14698                 - Pull in WPA IE and RSN IE parsing code from
14699                         wpa_supplicant so we can determine access point
14700                         capabilities
14701                 - Move WPA-related constants here from NetworkManagerAP.h
14702                         and NetworkManagerDevice.c
14703
14704         * src/NetworkManagerDevice.c
14705           src/NetworkManagerAP.[ch]
14706                 - Use WPA-related constants from wpa.h
14707
14708 2005-12-14  Dan Williams  <dcbw@redhat.com>
14709
14710         * include/NetworkManager.h
14711                 - Update and split 802.11 wireless-specific capabilities from
14712                         generic device capabilities
14713
14714         * src/NetworkManagerDevice.c
14715           src/NetworkManagerDevicePrivate.h
14716                 - (nm_device_wireless_discover_capabilities): Move 802.11
14717                         wireless-specific capability checks to
14718                         NetworkManagerWireless.c
14719                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14720                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14721
14722         * src/NetworkManagerWireless.[ch]
14723                 - (nm_802_11_wireless_discover_capabilities): Check extended
14724                         802.11 wireless-specific capabilities of the driver
14725
14726 2005-12-14  Robert Love  <rml@novell.com>
14727
14728         Patch from Stefan Scheler <sscheler@suse.de>:
14729         * src/NetworkManagerDevice.c: call backend code to activate and
14730           deactivate NIS.
14731         * src/NetworkManagerSystem.h: add new NIS interfaces.
14732         * src/backends/NetworkManagerDebian.c,
14733           src/backends/NetworkManagerGentoo.c,
14734           src/backends/NetworkManagerRedHat.c,
14735           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14736           support.
14737         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14738
14739 2005-12-14  Dan Williams  <dcbw@redhat.com>
14740
14741         * src/nm-ap-security*.[ch]
14742                 - Add AP security abstractions to NetworkManager
14743
14744         * src/nm-dbus-device.c
14745                 - Begin to parse new format dbus messages from the applet
14746                         and construct an AP security object from the message
14747
14748         * libnm-util/dbus-helpers.c
14749                 - Use message iters so we can append the key as a fixed
14750                         array of bytes, which actually works rather than
14751                         using dbus_message_append_args() as we were before
14752
14753 2005-12-14  Dan Williams  <dcbw@redhat.com>
14754
14755         * src/NetworkManagerDbus.c
14756           gnome/applet/applet-dbus.c
14757                 - Fix up dbus service replacement options.  The applet
14758                         should allow replacement, NM itself should not.
14759
14760 2005-12-13  Robert Love  <rml@novell.com>
14761
14762         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14763           Instead, fail silently if config is NULL by not asserting and not
14764           returning FALSE.  Also, make sure we always fclose() the file.
14765
14766 2005-12-13  Robert Love  <rml@novell.com>
14767
14768         Patch by Stefan Scheler <sscheler@suse.de>:
14769         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14770            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14771            via DHCP.  Still need the backends to commit the NIS domain name and
14772            and servers to yp.conf as needed.
14773
14774 2005-12-13  Robert Love  <rml@novell.com>
14775
14776         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14777           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14778
14779 2005-12-13  Robert Love  <rml@novell.com>
14780
14781         * src/named-manager/nm-named-manager.c: Don't unref the config until
14782           after we call rewrite_resolv_conf(), because get_last_default_domain()
14783           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14784           `config != NULL' failed" assertion failures and "Could not commit DNS
14785           changes" warnings.
14786
14787 2005-12-12  Dan Williams  <dcbw@redhat.com>
14788
14789         * libnm-util/dbus-helpers.[ch]
14790           libnm-util/Makefile.am
14791                 - new helper calls to consolidate locations where
14792                         NM's setDevice method is called
14793
14794         * gnome/applet/applet-dbus-devices.c
14795           gnome/applet/wireless-security-option.c
14796           gnome/applet/wso-*
14797                 - Implement dbus message param append function for
14798                         all wireless security options
14799
14800 2005-12-12  Robert Love  <rml@novell.com>
14801
14802         * libnm-util/cipher-wep-passphrase.c,
14803           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14804           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14805           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14806           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14807           When handling keys, we don't care what the sign is.  The compiler
14808           guarantees us that we get our 8-bits, which is all we care about.
14809         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14810
14811 2005-12-12  Dan Williams  <dcbw@redhat.com>
14812
14813         * gnome/applet/applet-dbus-devices.[ch]
14814           gnome/applet/applet.c
14815           gnome/applet/other-network-dialog.c
14816           gnome/applet/wireless-security-manager.[ch]
14817           gnome/applet/wireless-security-option.[ch]
14818           gnome/applet/wso-*
14819                 - Push the wireless security options further into the applet
14820
14821 2005-12-12  Robert Love  <rml@novell.com>
14822
14823         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14824           return any name servers.  That is perfectly valid.  (Novell #134369).
14825
14826 2005-12-11  Dan Williams  <dcbw@redhat.com>
14827
14828         * gnome/applet/wso-*
14829           gnome/applet/wireless-security-option.*
14830           gnome/applet/Makefile.am
14831                 - split each security option out so we can eventually
14832                         have each one build up their own dbus message
14833                         arguments to send to NM
14834
14835 2005-12-11  Dan Williams  <dcbw@redhat.com>
14836
14837         * Make validation of the key work correctly
14838
14839 2005-12-11  Dan Williams  <dcbw@redhat.com>
14840
14841         * Hook more bits of the Other Network Dialog up to the
14842                 wireless security manager stuff, and restructure
14843                 bits of the dialog so there's less code.
14844
14845 2005-12-10  Dan Williams  <dcbw@redhat.com>
14846
14847         * gnome/applet/Makefile.am
14848                 - Add libnm-util to includes
14849                 - Add libnm-util to link list
14850                 - Add wireless-security-common.* to compile list
14851
14852         * gnome/applet/other-network-dialog.c
14853                 - Convert to using the WirelessSecurityManager code and
14854                         widgets
14855
14856         * gnome/applet/passphrase-dialog.c
14857                 - Comment out references to stuff in the glade file that
14858                         cause runtime errors until it can be fixed up
14859                         to use the WirelessSecurityManager code
14860
14861         * gnome/applet/wireless-applet.glade
14862                 - Rename some widgets
14863                 - Add widgets for the WirelessSecurityManager code
14864                 - Remove passphrase-related stuff since that's now
14865                         handled by the WirelessSecurityManager code
14866
14867 2005-12-10  Dan Williams  <dcbw@redhat.com>
14868
14869         * gnome/applet/applet-dbus-devices.c
14870                 - Print out error message details for dbus pending call callbacks
14871                 - Move nmwa_dbus_update_devices() up
14872
14873         * gnome/applet/applet-dbus-vpn.c
14874                 - Print out error message details for dbus pending call callbacks
14875
14876 2005-12-10  Dan Williams  <dcbw@redhat.com>
14877
14878         * libnm-util/*
14879                 - More fixups
14880                 - Remove cipher-manager.* because we don't need it
14881                 - Forgot to add gnome-keyring-md5 files to compile list
14882
14883 2005-12-09  Dan Williams  <dcbw@redhat.com>
14884
14885         * libnm-util/*
14886           configure.in
14887           Makefile.am
14888                 - Add a utility library for clients of NetworkManager.  It's
14889                         only targetted at applets for the moment, and contains
14890                         a generalized 802.11 cipher framework for different
14891                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
14892
14893 2005-12-09  Robert Love  <rml@novell.com>
14894
14895         * src/NetworkManagerDevice.c: handle error better in
14896           nm_device_set_mode().
14897
14898 2005-12-08  Robert Love  <rml@novell.com>
14899
14900         * include/NetworkManager.h: add WPA capabilities constants
14901         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14902           or WPA2 and add the capabilities bits as appropriate.
14903
14904 2005-12-08  Robert Love  <rml@novell.com>
14905
14906         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14907           NetworkManagerDispatcher.
14908         * configure.in, initscript/SUSE/.cvsignore,
14909           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14910           initscript.
14911
14912 2005-12-08  Robert Love  <rml@novell.com>
14913
14914         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14915
14916 2005-12-08  Robert Love  <rml@novell.com>
14917
14918         * src/NetworkManagerDevice.c: We want to fall back on and default to
14919           IW_MODE_AUTO, not -1, which is more in line with our previous
14920           behavior.  Otherwise, we try to set the wireless mode to -1 in
14921           nm_device_set_mode().
14922
14923 2005-12-07  Robert Love  <rml@novell.com>
14924
14925         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14926           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14927           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14928           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14929           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14930           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
14931           zero.
14932
14933 2005-12-07  Robert Love  <rml@novell.com>
14934
14935         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14936           supplied IP is invalid, fall back to DHCP.
14937
14938 2005-12-07  Dan Williams  <dcbw@redhat.com>
14939
14940         * Convert NETWORK_MODE_* constants to IW_MODE_*
14941         * Make all the get_mode/set_mode functions take and return 'int'
14942         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14943
14944 2005-12-07  Robert Love  <rml@novell.com>
14945
14946         * src/NetworkManagerDevice.c: strncpy() buffer check.
14947         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14948
14949 2005-12-06  Dan Williams  <dcbw@redhat.com>
14950
14951         * gnome/applet/applet-dbus.c
14952                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14953
14954         * gnome/applet/applet-dbus-vpn.c
14955                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14956                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14957                         to TRUE here if stage was ACTIVATED
14958
14959 2005-12-06  Dan Williams  <dcbw@redhat.com>
14960
14961         * Change nm_device_is_* functions to better names:
14962                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14963                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14964
14965 2005-12-06  Dan Williams  <dcbw@redhat.com>
14966
14967         * Change naming of NMDeviceType to something more sensible:
14968                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14969                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14970                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14971
14972 2005-12-06  Dan Williams  <dcbw@redhat.com>
14973
14974         * Move NetworkManager.h -> include/NetworkManager.h
14975         * Split out VPN stuff into include/NetworkManagerVPN.h
14976         * Fix up makefiles to include new location
14977         * Fix up sources to include NetworkManagerVPN.h
14978
14979 2005-12-06  Dan Williams  <dcbw@redhat.com>
14980
14981         Various changes in the applet to move VPN connection "state" -> "stage",
14982         which it actually is.  I'd like to change the signal as well when we
14983         break compat in the near future.
14984
14985 2005-12-06  Dan Williams  <dcbw@redhat.com>
14986
14987         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14988         * initscript/Slackware/rc.networkmanager
14989                 - Cosmetic fix
14990
14991         * src/backends/NetworkManagerSlackware.c
14992                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14993                         interfaces
14994
14995 2005-12-05  Robert Love  <rml@novell.com>
14996
14997         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14998           to free, particularly here as it just barfs.
14999
15000 2005-12-05  Dan Williams  <dcbw@redhat.com>
15001
15002         * gnome/applet/applet-dbus.c
15003                 - Work with dbus 0.6 too
15004
15005 2005-12-03  Dan Williams  <dcbw@redhat.com>
15006
15007         * src/NetworkManagerUtils.[ch]
15008           src/nm-ip4-config.c
15009                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
15010                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
15011
15012 2005-12-01  Robert Love  <rml@novell.com>
15013
15014         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
15015           need a NULL for the '...' parameter, too, to fill the so-called
15016           sentinel.
15017
15018 2005-12-01  Robert Love  <rml@novell.com>
15019
15020         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
15021           interface is already gone, so don't call rtnl_link_change() to down
15022           it (which will segfault, anyhow).
15023
15024 2005-11-22  Robert Love  <rml@novell.com>
15025
15026         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
15027           gateway is not set, just print a little note.  Configurations without
15028           gateways are valid.
15029
15030 2005-11-22  Robert Love  <rml@novell.com>
15031
15032         * README: update
15033
15034 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
15035
15036         * configure.in: Added Finnish translation to ALL_LINGUAS
15037
15038 2005-11-14  Robert Love  <rml@novell.com>
15039
15040         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15041           Niemueller <tim@niemueller.de>.
15042
15043 2005-11-08  Dan Williams  <dcbw@redhat.com>
15044
15045         Patch from Bill Moss <bmoss@clemson.edu>
15046         * src/NetworkManagerDevice.c
15047                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15048                         of nm_policy_schedule_activation_finish() to prevent a
15049                         race condition that causes the link to be dropped
15050
15051 2005-11-08  Dan Williams  <dcbw@redhat.com>
15052
15053         Patch from Bill Moss <bmoss@clemson.edu>
15054         * src/NetworkManagerAPList.c
15055           src/NetworkManagerDevice.c
15056           src/NetworkManagerDbus.c
15057                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15058                         we get more readable ether/mac addresses
15059
15060 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15061
15062         * gnome/applet/main.c: Don't set the restart command.  This fixes
15063         the issue where the restart command was getting copies of all its
15064         arguments for each time the applet was restarted.
15065
15066 2005-11-02  Robert Love  <rml@novell.com>
15067
15068         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15069           if the widget state differs from our saved state.  This ensures we
15070           do not enter an endless loop of death and destruction.  Also, this
15071           guarantees us that we enforce the widget state.
15072
15073 2005-11-02  Robert Love  <rml@novell.com>
15074
15075         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15076         * gnome/applet/applet-dbus-devices.c: invoke the new function
15077           nmwa_enable_wireless_set_active() to ensure that the state of the
15078           'Enable Wireless' checkbox matches the daemon's state.  This is a
15079           concern because the daemon remembers the state.
15080
15081 2005-11-02  Robert Love  <rml@novell.com>
15082
15083         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15084           Enabled", as checkboxes should be actions/commands not positive
15085           statements, otherwise they are confusing in the unselected case.  See
15086           examples in GNOME HIG, Chapter 6.
15087
15088 2005-11-02  Robert Love  <rml@novell.com>
15089
15090         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
15091           show a list of wireless networks or the wireless devices or the
15092           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
15093           a bad bug: If wireless is disabled and the user picks a wireless
15094           network, NM will switch to the network, only to immediately switch
15095           back, as wireless is disabled.  This also reassures people that NM
15096           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
15097
15098 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15099
15100         * gnome/applet/applet.c:
15101         * gnome/applet/applet.h:
15102         Partial backout of Dan's timeout animation patch.
15103         Timeout IDs cannot legally be 0, so revert the code in place to handle
15104         a timeout ID of 0 to denote the timeout isn't running.
15105
15106 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15107
15108         * src/NetworkManagerPolicy.c:
15109         (nm_policy_device_change_check) Clarify wireless switch nm_info text
15110
15111 2005-10-28  Robert Love  <rml@novell.com>
15112
15113         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15114           "Import Saved Configuration..." to make it clear that importing is
15115           not the next step, but an option.  As an aside, a nice TODO would be
15116           to move Importing out of the vpn-specific dialog and into the main
15117           property editor, as Importing goes with Adding, but that will require
15118           some rearchitecting of the VPN stuff I suspect.
15119
15120 2005-10-27  Dan Williams  <dcbw@redhat.com>
15121
15122         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
15123         we should replace most of the distro-specific backend code
15124         with libnl stuff.
15125
15126         Get it here:  http://people.suug.ch/~tgr/libnl/
15127
15128         * configure.in
15129           src/Makefile.am
15130                 - Add checks for libnl pkgconfig file
15131                 - Use LIBNL_LIBS & LIBNL_CFLAGS
15132
15133         * src/NetworkManagerSystem.c
15134           src/nm-ip4-config.[ch]
15135                 - Use libnl rather than ioctl() for most things
15136                 - Remove unused functions
15137
15138 2005-10-27  Robert Love  <rml@novell.com>
15139
15140         * src/backends/NetworkManagerSuSE.c: fix warning message text
15141
15142 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15143
15144         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15145
15146 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15147
15148         * gnome/applet/applet.c: The applet's about dialog can advertise our 
15149         project page <http://www.gnome.org/projects/NetworkManager/>
15150
15151 2005-10-26  Christopher Aillon  <caillon@redhat.com>
15152
15153         * gnome/applet.c: Also use translator credits if we don't have
15154         the new GtkAboutDialog (older versions of GTK+)
15155
15156 2005-10-26  Robert Love  <rml@novell.com>
15157
15158         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15159           failure; correct usage text for "--no-daemon"
15160
15161 2005-10-25  Dan Williams  <dcbw@redhat.com>
15162
15163         * src/NetworkManagerDevice.c
15164                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15165                         no scan results
15166                 - (free_process_scan_cb_data): unref the device when freeing results
15167                 - (nm_device_wireless_process_scan_results): free scan results a bit later
15168                         so we don't unref the device underneath ourselves
15169
15170 2005-10-25  Dan Williams  <dcbw@redhat.com>
15171
15172         * Back out 2005-10-24 commit from Tor Krill.  Patch
15173                 causes nameservers never to be removed from named.
15174
15175 2005-10-24  Dan Williams  <dcbw@redhat.com>
15176
15177         Clean up wireless scanning and wireless link probing.
15178
15179         * src/NetworkManagerDevice.c
15180                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15181                         just see if there's an activation request on the device, and check the
15182                         current link against the activation request access point's ESSID.
15183                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15184                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15185                         don't call process_scan_results() on zero-length data
15186                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
15187                         15 seconds (from 10)
15188
15189 2005-10-24  Dan Williams  <dcbw@redhat.com>
15190
15191         Cleanup some applet stuff:
15192
15193         - Animation timeouts.  If NM died while the applet was animating,
15194                 the applet would not hide itself.  This is now fixed.
15195
15196         - Remove some dead code
15197
15198         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15199                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15200
15201         - Track animation timeout using a gboolean rather than the timeout's
15202                 ID, since timeout IDs can legally be 0.
15203
15204 2005-10-24  Dan Williams  <dcbw@redhat.com>
15205
15206         * src/backends/interface_parser.c
15207                 - Add void to function declarations that need it
15208                         to match patch from Engin AYDOGAN
15209
15210         * src/backends/interface_parser.h
15211                 - Remove unused prototype for ifparser_interfaces()
15212
15213         Patch from Engin AYDOGAN <engin@bzzzt.biz>
15214         * src/backends/interface_parser.h:
15215                 - Compile fixes for gcc 4.0.2 (add void)
15216
15217 2005-10-24  Dan Williams  <dcbw@redhat.com>
15218
15219         Patch from Tor Krill <tor@krill.nu>
15220         * src/named-manager/nm-named-manager.c
15221                 - Write more than just the first nameserver to /etc/resolv.conf
15222                 - Write out valid /etc/resolv.conf on exit
15223
15224 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15225
15226         * gnome/applet/applet-dbus-vpn.c:
15227         Get rid of spurious newlines in debug console output
15228
15229 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15230
15231         * src/backends/NetworkManagerGentoo.c:
15232         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
15233
15234 2005-10-20  Robert Love  <rml@novell.com>
15235
15236         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15237           direct comparison of floating point values, which is never correct.
15238           Also some misc. cleanup.
15239
15240 2005-10-19  Robert Love  <rml@novell.com>
15241
15242         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15243
15244 2005-10-19  Robert Love  <rml@novell.com>
15245
15246         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15247           sensitivity of the buttons.  Specificaly, do the right thing if
15248           there are no entries.
15249
15250 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15251
15252         * configure.in: Update check for adequate wireless-tools
15253         with an AC_TRY_COMPILE for the new symbols we use.
15254
15255 2005-10-19  Dan Williams  <dcbw@redhat.com>
15256
15257         * src/NetworkManagerDevice.c
15258                 - (process_scan_results): don't drop the last (or only)
15259                         access point we see
15260
15261 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15262
15263         * src/backends/NetworkManagerSlackware.c:
15264         Patch from Nico <lordllucifer@gmail.com>
15265                 - Update the Slackware backend.
15266
15267 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15268
15269         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15270         if we've got GLib 2.8.0
15271
15272 2005-10-18  Robert Love  <rml@novell.com>
15273
15274         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15275           function nm_schedule_state_change_signal_broadcast() when we
15276           deactivate a device, too.
15277
15278 2005-10-18  Robert Love  <rml@novell.com>
15279
15280         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15281           be used uninitialized.
15282
15283 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15284
15285         * test/libnm_glib_test.c: Test unregistering, too.
15286
15287 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15288
15289         * configure.in: Bump to 0.5.0
15290
15291 2005-10-17  Dan Williams  <dcbw@redhat.com>
15292
15293         * NetworkManager.h
15294                 - Remove WPA-related constants so they aren't part of the
15295                         upcoming release.
15296
15297 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15298
15299         * gnome/applet/applet.c:
15300         * gnome/applet/applet.h:
15301         Desensitize the 'Connection Information' menu item when there is
15302         no active connection.
15303
15304 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15305
15306         * gnome/libnm_glib/libnm_glib.c:
15307         Make libnm_glib_unregister_callback () actually unregister the callback
15308
15309 2005-10-17  Robert Love  <rml@novell.com>
15310
15311         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15312           two seconds -- tries is updated every 1/10 of a second, not every
15313           second..
15314
15315 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15316
15317         * gnome/applet/applet-dbus-info.c:
15318         Let D-BUS know that we haven't handled a message when we haven't.
15319
15320 2005-10-17  Robert Love  <rml@novell.com>
15321
15322         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15323           in order to remain 64-bit clean.
15324
15325 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15326
15327         * gnome/applet/applet-dbus-info.c:
15328         Find network encryption keys asynchronously
15329
15330 2005-10-17  Robert Love  <rml@novell.com>
15331
15332         * src/backends/NetworkManagerDebian.c,
15333           src/backends/NetworkManagerRedHat,
15334           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15335           comment delimiter.
15336
15337 2005-10-17  Robert Love  <rml@novell.com>
15338
15339         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15340           "/etc"
15341
15342 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15343
15344         * src/NetworkManagerDevice.c: (process_scan_results)
15345         Fix logic that checks to see whether we have an ESSID.
15346
15347 2005-10-15  Dan Williams  <dcbw@redhat.com>
15348
15349         Move scanning code into NetworkManager rather than use iwlib's
15350         iw_scan() function, so that we can figure out AP capabilities.
15351
15352         * NetworkManager.h
15353                 - Add AP capability bits
15354
15355         * src/NetworkManagerAP.[ch]
15356                 - Add capability field to NMAccessPoint structure
15357                 - Add WPA & RSN Information Element fields and accessor
15358                         functions to NMAccessPoint
15359
15360         * src/NetworkManagerDevice.c
15361                 - Remove usage of iw_scan
15362                 - Add scanning code to NetworkManager rather than use
15363                         iw_scan() from iwlib
15364
15365         * src/NetworkManagerUtils.[ch]
15366                 - (nm_dispose_scan_results): remove, unused
15367
15368 2005-10-14  Christopher Aillon  <caillon@redhat.com>
15369
15370         * gnome/libnm_glib/libnm_glib.c:
15371         * gnome/libnm_glib/libnm_glib.h:
15372         Use guint instead of gint for callback IDs.
15373
15374 2005-10-12  Christopher Aillon  <caillon@redhat.com>
15375
15376         * gnome/applet/applet.c:
15377         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
15378         every 1000ms.  It will unconditionally call nmwa_update_state which
15379         kills the existing animation timeout and registers a new one with a
15380         callback to draw a new frame every 100ms.  There are 11 connecting
15381         icon frames, so the last 2 frames kept getting dropped.  Only reset
15382         the animation timeout if we aren't animating.
15383
15384 2005-10-11  Dan Williams  <dcbw@redhat.com>
15385
15386         * gnome/applet/applet-dbus-devices.c
15387                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15388                         We want to grab the product & vendor from net.physical_dev
15389                         rather than info.parent.
15390
15391 2005-10-11  Dan Williams  <dcbw@redhat.com>
15392
15393         * src/NetworkManagerDevice.c
15394                 - Use the driver's WE version for scanning rather than
15395                         the WE version NM was compiled with.  Fixes random
15396                         crashes in iw_scan () in iwlib.
15397
15398 2005-10-10  Dan Williams  <dcbw@redhat.com>
15399
15400         * Remove nm_system_load_device_modules() from backend files
15401                 and from NetworkManager.c
15402
15403 2005-10-10  Dan Williams  <dcbw@redhat.com>
15404
15405         * src/NetworkManagerPolicy.c
15406                 - Fix some bugs introduced by the capabilities patch
15407
15408 2005-10-10  Dan Williams  <dcbw@redhat.com>
15409
15410         * gnome/applet/applet-dbus-info.c
15411                 - (nmi_dbus_get_network_key): hide the menu when putting up
15412                         the keyring dialog.  (not sure if the code is right...)
15413
15414 2005-10-09  Dan Williams  <dcbw@redhat.com>
15415
15416         Patch from Bill Moss <bmoss@clemson.edu>
15417         * src/NetworkManagerDevice.c
15418                 - (nm_device_set_user_key_for_network): don't try to set auth
15419                         mode on the AP from the allowed list if it's NULL
15420
15421 2005-10-09  Dan Williams  <dcbw@redhat.com>
15422
15423         * Replace the "driver support level" stuff with capabilities.  The
15424                 capability field is a bitfield that is more flexible than the
15425                 old driver support level thing.  It's mostly so we can easily
15426                 figure out what supports WPA and what doesn't, but should be
15427                 quite useful later.
15428
15429 2005-10-09  Dan Williams  <dcbw@redhat.com>
15430
15431         * test/nmtest.c
15432                 - Removed
15433
15434         * test/nm-tool.c
15435           test/Makefile.am
15436                 - Added new "nm-tool" tool that gives quite a bit more
15437                         information
15438
15439 2005-10-07  Robert Love  <rml@novell.com>
15440
15441         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15442           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15443           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15444           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15445           appropriate
15446
15447 2005-10-07  Robert Love  <rml@novell.com>
15448
15449         * configure.in: Change our compile flags for the betterment of mankind.
15450           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15451           prototype is very bad on 64-bit platforms as types default to int but
15452           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15453           "-Wmissing-declarations" to warn if we define an exported function
15454           but fail to put it in a header.
15455
15456 2005-10-07  Robert Love  <rml@novell.com>
15457
15458         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15459           by the name nm_update_device_wireless_timeouts() and once tried,
15460           without success, to steal my pet turtle.
15461
15462 2005-10-07  Robert Love  <rml@novell.com>
15463
15464         * Cleanup prototypes: put some functions in header files and mark
15465           others as 'static' -- feel free to invert
15466         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15467           nm_vpn_manager_vpn_connection_list_copy()
15468         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15469           nm_vpn_service_get_dbus_connection()
15470         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15471           nm_vpn_manager_vpn_connection_list_copy()
15472         * src/vpn-manager/nm-vpn-service.c: make
15473           nm_vpn_service_act_request_failed() and
15474           nm_vpn_service_stage2_daemon_wait() static
15475         * src/vpn-manager/nm-vpn-service.h: add prototype for
15476           nm_vpn_service_get_dbus_connection()
15477
15478 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15479
15480         * gnome/applet/applet.c:
15481         * gnome/applet/applet.h:
15482         * gnome/applet/icons/Makefile.am:
15483         Convey information about the current connection stage in the
15484         icons themselves instead of creating a separate progress bar.
15485
15486 2005-10-04  Robert Love  <rml@novell.com>
15487
15488         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15489           convert an ether_addr structure's MAC into a string, because the
15490           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15491           versus 07:3B:04, while the former will not.
15492
15493 2005-10-04  Robert Love  <rml@novell.com>
15494
15495         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15496           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15497           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15498           default route in the 'Connection Information' dialog, send primary
15499           and secondary name servers in in "getProperties" DBUS method, add
15500           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15501           secondary domain name servers are crucial pieces of information
15502           that a user might need in debugging a network problem.
15503
15504 2005-10-04  Robert Love  <rml@novell.com>
15505
15506         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15507           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15508           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15509           default route in the 'Connection Information' dialog, send default
15510           route in "getProperties" DBUS method, add network_device_set_route(),
15511           and network_device_get_route().  The Gateway is a crucial piece of
15512           connection-related information that a user might need in debugging a
15513           network problem.
15514
15515 2005-10-03  Robert Love  <rml@novell.com>
15516
15517         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15518           NULL.
15519
15520 2005-10-02  Dan Williams  <dcbw@redhat.com>
15521
15522         * Shorten time taken to sleep by fastpathing bits of device deactivation
15523                 necessary for sleep.
15524
15525         * Fix issue where deactivating a device might deactivate the active
15526                 VPN connection, even if the VPN was not using the device.
15527
15528 2005-10-02  Dan Williams  <dcbw@redhat.com>
15529
15530         * gnome/applet/applet.c
15531                 - Adjust signal strength -> icon mapping values slightly
15532                         (so that 51% signal doesn't show a 75% icon) by adding
15533                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15534                         shows 50% icon, etc.
15535
15536 2005-09-29  Robert Love  <rml@novell.com>
15537
15538         * src/NetworkManager.c: removed unused variable.
15539
15540 2005-09-28  Dan Williams  <dcbw@redhat.com>
15541
15542         Support for named + DBus, using Red Hat DBus patches for named.  You
15543         can find those patches here, with "dbus" in the patch's filename:
15544
15545                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15546
15547         Don't forget the named dbus service file either.
15548
15549         Instead of writing a config file and spawing a named process, NM will
15550         use an already-running dbus-enabled named if it finds one.  NM will
15551         update named's forwarder configuration on the fly using dbus.
15552
15553         If there is no dbus-enabled named running, NM will automatically fall
15554         back to writing the most-recent DNS server information to /etc/resolv.conf
15555         and calling nm_system_update_dns() to kick the system's resolver.
15556
15557         Accordingly, all named-related configure-time options have been removed.
15558
15559 2005-09-26  Robert Love  <rml@novell.com>
15560
15561         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15562           ISDN support!
15563         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15564           bug in error path if "ASKPASSWORD" is "no".
15565
15566 2005-09-26  Robert Love  <rml@novell.com>
15567
15568         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15569           comment in /etc/resolv.conf -- ';' is not.
15570
15571 2005-09-19  Dan Williams  <dcbw@redhat.com>
15572
15573         * src/backends/NetworkManagerRedHat.c:
15574         * src/backends/NetworkManagerDebian.c:
15575         * src/backends/NetworkManagerSlackware.c:
15576         * src/backends/NetworkManagerGentoo.c:
15577         * src/backends/NetworkManagerSUSE.c:
15578         Fix invocations of "/sbin/ip address" to use short form instead
15579
15580 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15581
15582         * src/nm-dbus-device.c: Don't assert when getting
15583         addresses of a not yet connected interface.
15584
15585         * gnome/applet/applet.c: Free icons if loading fails.
15586         Use translator-credits so translators can make themselves known.
15587
15588 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15589
15590         * src/NetworkManagerAP.c:
15591         * src/NetworkManagerAP.h:
15592         * src/NetworkManagerDevice.c:
15593         Set a blacklist for certain common manufacturer default ESSIDs:
15594         APs with these ESSIDs are extremely likely to be completely
15595         different networks: connecting to one should not make NM
15596         auto-connect to every other AP with the same default ESSID.
15597
15598 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15599
15600         * gnome/applet/wireless-applet.glade:
15601         The passphrase entry should also activate the default
15602
15603         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15604
15605         * gnome/applet/applet-dbus-devices.c:
15606         * gnome/applet/applet.c:
15607         * gnome/applet/nm-device.c:
15608         * gnome/applet/nm-device.h:
15609         * src/NetworkManagerUtils.c:
15610         * src/NetworkManagerUtils.h:
15611         * src/nm-dbus-device.c:
15612         I've got a fever, and the only cure for it is less ioctl.
15613         Make NM push IP data rather than make the applet open a socket
15614         to the device.
15615
15616 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15617
15618         * gnome/applet/applet.c:
15619         * gnome/applet/applet-dbus-devices.c:
15620         * gnome/applet/applet-dbus-info.c:
15621         * gnome/applet/passphrase-dialog.c:
15622         * gnome/libnm_glib/libnm_glib.c:
15623         * gnome/vpn-properties/nm-vpn-properties.c:
15624         * src/autoip.c:
15625         * src/backends/NetworkManagerRedHat.c:
15626         * src/named-manager/nm-named-manager.c:
15627         * src/NetworkManagerAPList.c:
15628         * src/NetworkManager.c:
15629         * src/NetworkManagerDbus.c:
15630         * src/NetworkManagerDevice.c:
15631         * src/NetworkManagerPolicy.c:
15632         * src/NetworkManagerSystem.c:
15633         * src/nm-dbus-device.c:
15634         * src/nm-dbus-nm.c:
15635         * src/vpn-manager/nm-vpn-manager.c:
15636         * src/vpn-manager/nm-vpn-service.c:
15637         * test/libnm_glib_test.c:
15638         * test/nminfotest.c:
15639         * test/nmtestdevices.c:
15640         Fix a bunch of 'unused variable' compiler warnings
15641
15642         * NetworkManager.h:
15643         * gnome/applet/applet-dbus-info.c:
15644         * gnome/applet/applet-dbus-info.h:
15645         * gnome/applet/applet.c:
15646         * gnome/applet/applet.h:
15647         * src/NetworkManager.c:
15648         * src/NetworkManagerDbus.c:
15649         * src/NetworkManagerDbus.h:
15650         * src/NetworkManagerDevice.c:
15651         * src/NetworkManagerDevice.h:
15652         * src/NetworkManagerMain.h:
15653         * src/NetworkManagerWireless.c:
15654         * src/NetworkManagerWireless.h:
15655         * src/nm-dbus-nm.c:
15656         Make NetworkManager be smart about how frequently to scan
15657         based on its current state.  Remove the UI for choosing when
15658         to scan.  Scanning still may disabled completely by the user
15659         via the "Wireless Enabled" menu item.
15660
15661 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15662
15663         * gnome/applet/applet.c:
15664         Also overlay the vpn connecting icons onto the wired icon,
15665         when appropriate.
15666
15667         * gnome/vpn-properties/nm-vpn-properties.glade:
15668         Clean up a few strings to use better grammar and proper casing.
15669
15670 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15671
15672         * gnome/applet/vpn-connection.c:
15673         * gnome/applet/vpn-connection.h:
15674         Add nmwa_vpn_connection_is_activating ()
15675
15676         * gnome/applet/applet.c:
15677         * gnome/applet/applet.h:
15678         * gnome/applet/icons/nm-vpn-connecting*.png:
15679         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15680         the user know something's happening between clicking the VPN item and it
15681         actually being connected.
15682
15683 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15684
15685         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15686         failure case as well.
15687
15688 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15689
15690         * gnome/panel/eggtrayicon.[ch]:
15691         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15692
15693 2005-09-07  Dan Williams  <dcbw@redhat.com>
15694
15695         Patch from Bill Moss <bmoss@clemson.edu>
15696         * src/applet-dbus.c
15697                 - (nmwa_dbus_filter): strip whitespace from beginning
15698                         and end of VPN login banner
15699
15700 2005-09-07  Dan Williams  <dcbw@redhat.com>
15701
15702         * The great VPN Manager rewrite of 2005
15703
15704 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15705
15706         * gnome/applet/menu-items.c:
15707         * gnome/applet/nm-device.c:
15708         * gnome/applet/wireless-network.c:
15709         * gnome/libnm_glib/libnm_glib.c:
15710         * src/NetworkManagerDbusUtils.c:
15711         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15712         g_malloc0 doesn't return NULL
15713
15714 2005-09-06  Dan Williams  <dcbw@redhat.com>
15715
15716         Patch from Tomislav Vujec <tvujec@redhat.com>
15717         * src/NetworkManagerDevice.c
15718                 - (nm_get_device_by_udi): don't return a device when we
15719                         actually didn't find what we were looking for
15720
15721 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15722
15723         * gnome/applet/applet-dbus-devices.c:
15724         * gnome/applet/applet-dbus-devices.h:
15725         * gnome/applet/applet-dbus.c:
15726         * src/NetworkManagerDbus.c:
15727         * src/NetworkManagerDbus.h:
15728         * src/NetworkManagerDevice.c:
15729         * src/nm-dbus-device.c:
15730         Make NM push updates about active device strength when it changes,
15731         rather than having the applet poll every 2s.
15732
15733 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15734
15735         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15736         network_device_set_strength
15737
15738 2005-09-04  Dan Williams  <dcbw@redhat.com>
15739
15740         Patch from Bill Nottingham <notting@redhat.com>
15741         * src/NetworkManagerDevice.c
15742                 - (nm_device_activation_cancel): reset the quit_activation flag
15743
15744 2005-09-04  Dan Williams  <dcbw@redhat.com>
15745
15746         * src/nm-activation-request.c
15747                 - (nm_act_request_unref): actually free the structure,
15748                         which we didn't seem to be doing before
15749
15750 2005-09-04  Dan Williams  <dcbw@redhat.com>
15751
15752         Patch from John Palmieri <johnp@redhat.com>
15753         * gnome/applet/applet-dbus-devices.c
15754                 - Fix up unreffing of DBusMessage objects
15755
15756 2005-09-04  Dan Williams  <dcbw@redhat.com>
15757
15758         Patch from John Palmieri <johnp@redhat.com>
15759         * gnome/applet/nm-device.c
15760                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15761
15762 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15763
15764         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15765
15766 2005-09-02  Bill Nottingham  <notting@redhat.com>
15767
15768         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15769
15770 2005-09-01  Dan Williams  <dcbw@redhat.com>
15771
15772         * src/NetworkManager.c
15773                 - (nm_remove_device_from_list): rename to nm_remove_device
15774                 - (nm_hal_device_removed): call nm_remove_device()
15775
15776         * src/NetworkManagerDevice.c
15777                 - Change the NMWirelessScanCB member 'reschedule' which
15778                         wasn't used to 'force' to indicate that we need to
15779                         force a scan when adding a device
15780
15781         * src/nm-dbus-nm.c
15782                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15783                         from the device list
15784                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15785
15786 2005-09-01  Robert Love  <rml@novell.com>
15787
15788         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15789           and the check "!iface" in the error case is probably never true.
15790
15791 2005-09-01  Dan Williams  <dcbw@redhat.com>
15792
15793         Patch from Bill Nottingham <notting@redhat.com>
15794         * src/backends/NetworkManagerRedHat.c
15795                 - Add initial dialup support to Red Hat/Fedora backend
15796
15797 2005-09-01  Dan Williams  <dcbw@redhat.com>
15798
15799         * gnome/applet/applet-dbus-devices.c
15800                 - Sort both wireless networks and devices again, which got
15801                         broken when removing threading
15802
15803 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15804
15805         * gnome/applet/applet.c:
15806         Only show the "Stop/Start All Wireless Devices" menuitem
15807         if we actually have wireless devices.
15808
15809         * gnome/applet/applet-dbus-info.c:
15810         * gnome/applet/applet.c:
15811         * gnome/applet/other-network-dialog.c:
15812         * gnome/applet/vpn-password-dialog.c:
15813         Drop the gtk_dialog_run () calls in favor of connecting to
15814         "response" signals, needed now that the applet is not threaded.
15815
15816 2005-08-31  Dan Williams  <dcbw@redhat.com>
15817
15818         Patch from Bill Moss <bmoss@clemson.edu>
15819         * src/NetworkManagerDevice.c
15820                 - (nm_device_wireless_scan): fix scan timeout values
15821
15822 2005-08-30  Dan Williams  <dcbw@redhat.com>
15823
15824         * gnome/applet/wireless-applet.glade
15825                 - HIG-ify the Other Wireless Networks dialog a bit more
15826                 - Fix some potential segfaults in the info dialog
15827
15828 2005-08-30  Dan Williams  <dcbw@redhat.com>
15829
15830         * gnome/applet/applet-dbus-devices.c
15831                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15832
15833 2005-08-30  Dan Williams  <dcbw@redhat.com>
15834
15835         * gnome/applet/applet-dbus.[ch]
15836                 - Remove all the nmwa_dbus_call_method_xxxx functions since
15837                         they weren't being used anyway
15838
15839 2005-08-30  Bastien Nocera  <hadess@hadess.net>
15840
15841         * test/nmtestdevices.c: (print_usage), (main):
15842         Check the number of arguments, and fix a typo
15843
15844 2005-08-29  Dan Williams  <dcbw@redhat.com>
15845
15846         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15847         * gnome/applet/applet.c
15848                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15849
15850 2005-08-29  Dan Williams  <dcbw@redhat.com>
15851
15852         * gnome/applet/*
15853                 - Don't use threads any more.  Anything that blocks
15854                         (like gtk_dialog_run()) will  have to get fixed up which
15855                         should happen quickly.  We really only had threads to make
15856                         the animation smooth, and when everything got converted over
15857                         to DBus Pending Calls, the need for threads kind of went away
15858
15859 2005-08-29  Christopher Aillon  <caillon@redhat.com>
15860
15861         * gnome/applet/applet.c: Draw VPN connections as radio items
15862         since we don't yet support multiple VPNs.
15863         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15864         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15865
15866 2005-08-29  Dan Williams  <dcbw@redhat.com>
15867
15868         Patch from j@bootlab.org
15869         - Make --without-named work
15870         - Make --with-dhcdbd work correctly
15871
15872 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
15873
15874         * configure.in: Added "ca" to ALL_LINGUAS.
15875
15876 2005-08-26  Christopher Aillon  <caillon@redhat.com>
15877
15878         * Fix up VPN state handling between the applet and NetworkManager,
15879                 so that the applet doesn't show a VPN as connected when one
15880                 really is not
15881                         - The applet no longer has a pointer to the active VPN's
15882                                 name, but tracks each VPNs state individually
15883                         - NM no longer has a "getActiveVPNConnection" method
15884                         - NM no longer broadcasts the "VPNConnectionChange" signal
15885                         - NM now broadcasts a "VPNConnectionStateChange" signal
15886                                 whenever the state of a VPN changes
15887
15888 2005-08-26  Dan Williams <dcbw@redhat.com>
15889
15890         * gnome/applet/applet-dbus-devices.c
15891           gnome/applet/applet-dbus-vpn.c
15892                 - Remove calls to dbus_pending_call_ref() because we already
15893                         "own" the pending call
15894                 - Remove calls to dbus_pending_call_get_completed() because
15895                         when we are in the callback, the pending call is completed
15896                         by definition
15897
15898 2005-08-22  Dan Williams <dcbw@redhat.com>
15899
15900         Patch by Bill Moss <bmoss@clemson.edu>
15901         * src/dhcp-manager/nm-dhcp-manager.c
15902                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15903                         some time to send out a RELEASE if they like
15904
15905 2005-08-22  Dan Williams <dcbw@redhat.com>
15906
15907         Noticed by Bill Moss <bmoss@clemson.edu>
15908         * src/NetworkManagerDbus.c
15909                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15910                         instead of just cancelling its activation
15911
15912         * src/NetworkManagerDevice.c
15913                 - (nm_device_deactivate): some small cleanups
15914                 - (nm_device_set_user_key_for_network): deactivate the device
15915                         instead of just cancelling its activation
15916
15917 2005-08-22  Dan Williams <dcbw@redhat.com>
15918
15919         Noticed by Bill Moss <bmoss@clemson.edu>
15920         * src/NetworkManagerDevice.c
15921                 - (nm_device_wireless_scan): fix scan timeout, we were
15922                         waiting way too long for scans to complete
15923
15924 2005-08-22  Dan Williams <dcbw@redhat.com>
15925
15926         Patch from j@bootlab.org:
15927         * src/backends/NetworkManagerDebian.c
15928                 - Make the Debian backend work for static IP again
15929
15930 2005-08-20  Christopher Aillon  <caillon@redhat.com>
15931
15932         * gnome/applet/other-network-dialog.c:
15933         The "Create New Network" and "Connect to Other Network"
15934         dialogs share alot of code, but shouldn't share a window
15935         title.  Give them different ones.
15936
15937         * gnome/applet/wireless-applet.glade:
15938         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15939         Some more minor UI tweaks.
15940
15941 2005-08-19  Christopher Aillon  <caillon@redhat.com>
15942
15943         * gnome/applet/other-network-dialog.c:
15944         * gnome/applet/wireless-applet.glade:
15945         Also need mnemonic widgets, and underline enabled.
15946
15947 2005-08-19  Dan Williams <dcbw@redhat.com>
15948
15949         * vpn-daemons/vpnc/nm-vpnc-service.c
15950                 - (vpnc_watch_cb): remove no-longer-relevant comment
15951                 - (write_config_option): new function, helper to write
15952                         config options to vpnc's stdin
15953                 - (nm_vpnc_config_write): use the new helper, make the
15954                         code shorter
15955
15956 2005-08-19  Christopher Aillon <caillon@redhat.com>
15957
15958         * gnome/applet/passphrase-dialog.c:
15959         * gnome/applet/wireless-applet.glade:
15960         Make the passphrase dialog response based, and treat
15961         responses other than OK (such as Esc, [X]) as a cancel.
15962
15963 2005-08-18  Christopher Aillon <caillon@redhat.com>
15964
15965         * initscript/Gentoo/NetworkManager:
15966         * initscript/RedHat/NetworkManager:
15967         * initscript/RedHat/NetworkManagerDispatcher:
15968         * initscript/SUSE/networkmanager:
15969         CVS remove these in place of .in replacements
15970
15971         * configure.in:
15972         * initscript/Gentoo/NetworkManager.in:
15973         * initscript/RedHat/NetworkManager.in:
15974         * initscript/RedHat/NetworkManagerDispatcher.in:
15975         * initscript/SUSE/networkmanager.in:
15976         These scripts now are generated so they work still when
15977         NM is built using a bindir other than /usr/bin
15978
15979 2005-08-18  Dan Williams <dcbw@redhat.com>
15980
15981         * gnome/applet/main.c
15982                 - Revert previous change for --no-session since
15983                         --sm-disable does the same thing
15984
15985 2005-08-18  Dan Williams <dcbw@redhat.com>
15986
15987         * gnome/applet/applet-dbus-info.c
15988                 - (nmi_dbus_create_error_message): new function
15989                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15990                         functions.  Also don't check for both device _and_ network before
15991                         asking for a user's key, because we may not have gotten all our
15992                         networks back from NM quite yet (due to the dbus pending calls
15993                         coming in later).  Fixes a hang in NM/nm-applet.
15994
15995         * src/NetworkManagerDbus.c
15996                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15997                         slightly more sane manner, even though we are still broken for
15998                         certain other error conditions.
15999                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
16000                         to the info-daemon too
16001
16002         * src/NetworkManagerDevice.c
16003                 - Fix some debug messages to be info messages instead
16004
16005 2005-08-18  Dan Williams <dcbw@redhat.com>
16006
16007         * gnome/applet/main.c
16008                 - Add new "--no-session" parameter that disables applet
16009                         session management, ie for testing
16010
16011 2005-08-18  Christopher Aillon <caillon@redhat.com>
16012
16013         * gnome/applet/other-network-dialog.c:
16014         * gnome/applet/wireless-applet.glade: More mnemonics
16015
16016 2005-08-17  Robert Love  <rml@novell.com>
16017
16018         * initscript/SUSE/networkmanager: update
16019
16020 2005-08-17  Dan Williams  <dcbw@redhat.com>
16021
16022         * Tag NM_0_4_1_RELEASE
16023
16024 2005-08-17  Christopher Aillon  <caillon@redhat.com>
16025
16026         * gnome/applet/applet.c: More translatable string cleanup
16027
16028
16029 2005-08-17  Dan Williams  <dcbw@redhat.com>
16030
16031         * gnome/applet/applet-dbus-info.c
16032                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16033                         from the dbus message, which tells us to unconditionally
16034                         ask the user for a new key.  Otherwise, we pull the key from
16035                         the keyring and return it.  If we fail to get the key from the
16036                         keyring, we ask the user for a new key.
16037                 - (nmi_dbus_get_network_key): new function to grab the key for
16038                         an essid from the keyring.
16039                 - (nmi_dbus_get_network_properties): don't access the keyring here.
16040                         Also, don't return any key in the dbus message.
16041
16042         * src/NetworkManagerDbus.[ch]
16043                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16044                         indicate that we unconditionally want a new key.  This function
16045                         is now also used to get keys from the info-daemon which are
16046                         pre-stored, not just for asking the user for a new key.  The
16047                         "new_key" parameter indicates whether or not we wish to ask the
16048                         user for a new key.
16049                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16050                         info-daemon in the return message, so use NULL instead.  The
16051                         key will be filled in at connect time by calling
16052                         nm_dbus_get_user_key_for_network()
16053
16054         * src/NetworkManagerDevice.c
16055                 - (nm_device_wireless_configure): update for "new_key" param to
16056                         nm_dbus_get_user_key_for_network().  We initially set new_key
16057                         to FALSE to see if we have a stored key in the info-daemon, but
16058                         if the connection is unsuccessful at this stage we request a
16059                         new one
16060
16061 2005-08-17  Dan Williams  <dcbw@redhat.com>
16062
16063         * gnome/applet/icons/nm-no-connection.png
16064           gnome/applet/icons/nm-device-wired.png
16065                 - Use Diana's new RJ45 connector icons
16066
16067 2005-08-17  Dan Williams  <dcbw@redhat.com>
16068
16069         * src/NetworkManagerPolicy.c
16070                 - (nm_policy_device_change_check): clarify switching rules if
16071                         both new and old devices are valid; mainly, don't switch
16072                         away from user-requested wireless connection back to a wired
16073                         one
16074
16075 2005-08-17  Dan Williams  <dcbw@redhat.com>
16076
16077         * gnome/applet/Makefile.am
16078                 - Relocate the applet to /usr/bin since it is no longer
16079                         executed by anything, but directly by the user
16080
16081 2005-08-17  Dan Williams  <dcbw@redhat.com>
16082
16083         Patch from Bill Moss <bmoss@clemson.edu>
16084
16085         * gnome/applet/applet-dbus-info.[ch]
16086                 - (nmi_save_network_info): save timestamp for network if it
16087                         was a change requested by the user
16088                 - (nmi_dbus_update_network_info): get user_requested from dbus
16089                         message and pass to nmi_save_network_info()
16090
16091         * gnome/applet/applet.c
16092                 - (nmwa_update_network_timestamp): remove
16093                 - (nmwa_menu_item_activate): don't set timestamp on networks
16094                         here, only after a successful connect in nmi_save_network_info()
16095
16096         * src/NetworkManagerDbus.[ch]
16097                 - (nm_dbus_update_network_info): pass user_requested into the 
16098                         dbus message
16099
16100         * src/NetworkManagerPolicy.c
16101                 - (nm_policy_activation_finish): pass user_requested to
16102                         nm_dbus_update_network_info()
16103
16104 2005-08-16  Robert Love  <rml@novell.com>
16105
16106         * gnome/applet/applet.c: Better "Dial Up" menu item.
16107
16108 2005-08-16  Robert Love  <rml@novell.com>
16109
16110         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16111           "Connection Information" menu item.
16112
16113 2005-08-16  Dan Williams  <dcbw@redhat.com>
16114
16115         Patch from j@bootlab.org
16116         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16117
16118         * configure.in: allow specifying the path to dhcdbd
16119
16120 2005-08-16  Robert Love  <rml@novell.com>
16121
16122         Patch from j@bootlab.org
16123         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16124           src/backends/interface_parser.h: Debian dialup support.
16125
16126 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16127
16128         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16129         * gnome/applet/applet.c: Add some mnemonics for VPNC
16130
16131         * vpn-daemons/.cvsignore: fix this up a little bit
16132
16133 2005-08-16  Robert Love  <rml@novell.com>
16134
16135         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16136           support.
16137
16138 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16139
16140         * gnome/applet/applet.c: Split markup out of translatable strings
16141         and clean up logic a little bit.  (fixes #309012)
16142
16143 2005-08-15  Christopher Aillon  <caillon@redhat.com>
16144
16145         * gnome/vpn-properties/nm-vpn-properties.c:
16146         * gnome/vpn-properties/nm-vpn-ui-interface.h:
16147         * vpn-daemons/vpnc/properties/nm-vpnc.c:
16148         Makeshift fix to remove newlines from translatable strings.
16149         Note that we now return an allocated string, so callers of
16150         get_confirmation_details () must now call g_free () on the
16151         result. (fixes #309033).
16152
16153 2005-08-12  Robert Love  <rml@novell.com>
16154
16155         * gnome/applet/applet-dbus.c: remove newlines from translatable
16156           strings--not needed here anyway. (fix b.g.o #309011)
16157         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16158
16159 2005-08-11  Robert Love  <rml@novell.com>
16160
16161         * gnome/applet/applet.c: mark string as translatable.
16162
16163 2005-08-11  Robert Love  <rml@novell.com>
16164
16165         * initscript/SUSE/networkmanager: update.
16166
16167 2005-08-11  Dan Williams  <dcbw@redhat.com>
16168
16169         * src/nm-dhcp-manager.c
16170                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16171                         an gateway returned from DHCP, try to use the address of the DHCP
16172                         server as the gateway instead.  Found by Ralf Ertzinger.
16173
16174 2005-08-10  Robert Love  <rml@novell.com>
16175
16176         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16177           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16178
16179 2005-08-10  Dan Williams  <dcbw@redhat.com>
16180
16181         Patch from Bill Moss <bmoss@clemson.edu>
16182         * Consolidate writes of access point information updates to the info daemon
16183                 so that we only do it when the connection to the access point was
16184                 successful.  Also consolidates updates to GConf in the Gnome applet.
16185
16186         * src/nm-netlink-monitor.c
16187                 - Silence compile warning when calling g_object_new()
16188
16189 2005-08-08  Dan Williams  <dcbw@redhat.com>
16190
16191         Patch from Steev <steev@steev.net>:
16192         * src/backends/NetworkManagerGentoo.c
16193                 - Stub new dialup backend functions
16194
16195 2005-08-08  Dan Williams  <dcbw@redhat.com>
16196
16197         Patch from Colin Slater:
16198         * src/backends/NetworkManagerGentoo.c
16199                 - (nm_system_update_dns): Fix exit status check for restarting
16200                         nscd
16201
16202 2005-08-05  Robert Love  <rml@novell.com>
16203
16204         * NetworkManager.h,
16205           gnome/applet/applet-dbus-devices.c,
16206           gnome/applet/applet-dbus-devices.h,
16207           gnome/applet/applet-dbus.c,
16208           gnome/applet/applet.c,
16209           gnome/applet/applet.h,
16210           src/NetworkManager.c,
16211           src/NetworkManagerMain.h,
16212           src/NetworkManagerSystem.h,
16213           src/backends/NetworkManagerRedHat.c,
16214           src/backends/NetworkManagerSuSE.c,
16215           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16216
16217 2005-08-05  Robert Love  <rml@novell.com>
16218
16219         * gnome/applet/other-network-dialog.c: default the adhoc network to the
16220           machine's hostname to make adhoc creation idiot-proof.
16221
16222 2005-08-04  Robert Love  <rml@novell.com>
16223
16224         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16225           freed.
16226
16227 2005-08-04  Dan Williams  <dcbw@redhat.com>
16228
16229         * gnome/applet/applet-dbus-info.c
16230           gnome/applet/applet-dbus-info.h
16231                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16232                         to store key, key type, and auth method rather than just auth method
16233                 - (nmi_dbus_update_network_info): new function
16234                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16235
16236         * gnome/applet/passphrase-dialog.c
16237                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16238                         of saving the info ourselves
16239
16240         * gnome/libnm_glib/libnm_glib.c
16241                 - Remove the stupid version check for dbus
16242
16243         * src/NetworkManagerAP.c
16244           src/NetworkManagerAP.h
16245                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16246
16247         * src/NetworkManagerDbus.c
16248           src/NetworkManagerDbus.h
16249                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16250                         more than just the auth method
16251
16252         * src/NetworkManagerDevice.c
16253                 - Update network info at the appropriate times
16254
16255 2005-07-29  Ray Strode  <rstrode@redhat.com>
16256
16257         * src/NetworkManager.c (nm_info_handler): don't use input as format
16258         string (Spotted by Ian Jackson).
16259
16260 2005-07-27  Dan Williams  <dcbw@redhat.com>
16261
16262         * src/nm-dbus-nm.c
16263           src/nm-dbus-net.c
16264                 - Random cleanups of spacing
16265
16266         * gnome/applet/applet.h
16267           gnome/applet/other-network-dialog.c
16268           gnome/applet/passphrase-dialog.c
16269                 - Conslidate usage of NMWAEncryptionKeyTypes enum
16270
16271         Patch from Bill Moss:
16272                 - Make Other Wireless Networks work again with encryption keys
16273
16274 2005-07-26  Dan Williams  <dcbw@redhat.com>
16275
16276         Patch from Steev <steev@steev.net>:
16277         * src/backends/NetworkManagerGentoo.c
16278           src/backends/Makefile.am
16279                 - Fix up Gentoo backend
16280
16281 2005-07-26  Robert Love  <rml@novell.com>
16282
16283         * src/backends/NetworkManagerSuSE.c: misc. cleanup
16284
16285 2005-07-25  Robert Love  <rml@novell.com>
16286
16287         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16288           in the same group as the wireless networks, since they are all
16289           mutually exclusive.
16290
16291 2005-07-24  Ray Strode  <rstrode@redhat.com>
16292
16293         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
16294         remove unneeded NULL arg from g_object_new().  Any
16295         warnings caused by not having the extra NULL are just a
16296         result of a bug in glib 2.7.0 - 2.7.2.
16297
16298 2005-07-22  Robert Love  <rml@novell.com>
16299
16300         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16301
16302 2005-07-22  Robert Love  <rml@novell.com>
16303
16304         * src/nm-netlink-monitor.c: g_object_new() needs at least three
16305           parameters (gcc 4.0.2 warning fix).
16306
16307 2005-07-18  Robert Love  <rml@novell.com>
16308
16309         Suggested by Aaron Bockover (abockover@novell.com)
16310         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16311           s/Ascii/ASCII
16312         * gnome/applet/passphrase-dialog.c: ditto
16313         * gnome/applet/wireless-applet.glade: ditto
16314
16315 2005-07-13  Dan Williams  <dcbw@redhat.com>
16316
16317         Patch from Ray Strode <halfline@gmail.com>
16318         * vpn-daemons/vpnc/nm-vpnc-service.c
16319                 - Don't let vpnc daemonize, fixes some races with PID file reading
16320
16321 2005-07-13  Dan Williams  <dcbw@redhat.com>
16322
16323         Patch from Ray Strode <halfline@gmail.com>
16324         * Random cleanups for strict CFLAGS
16325
16326 2005-07-07  Dan Williams  <dcbw@redhat.com>
16327
16328         Patch from Derek Atkins <warlord@MIT.EDU>
16329         * src/nm-dbus-net.c:
16330                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16331
16332 2005-07-07  Dan Williams  <dcbw@redhat.com>
16333
16334         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16335         * src/backends/NetworkManagerGentoo.c
16336                 - Gentoo backend Static IP nameserver fixes
16337                 - General Gentoo backend goodness
16338
16339 2005-07-07  Dan Williams  <dcbw@redhat.com>
16340
16341         Patch from Bastien Nocera:
16342         * gnome/applet/applet.c
16343                 - Fix up error reporting when icons or glade files are missing
16344
16345 2005-07-07  Robert Love  <rml@novell.com>
16346
16347         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16348           are not any VPN connections above it.
16349
16350 2005-07-07  Robert Love  <rml@novell.com>
16351
16352         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16353
16354 2005-07-05  Robert Love  <rml@novell.com>
16355
16356         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16357           zero.
16358
16359 2005-07-05  Robert Love  <rml@novell.com>
16360
16361         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16362           on wired or unencrypted wireless.
16363
16364 2005-07-01  Robert Love  <rml@novell.com>
16365
16366         * src/NetworkManagerSystem.c: Print the error via strerror().
16367
16368 2005-06-30  Robert Love  <rml@novell.com>
16369
16370         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16371           then exit if the glade file is not found.  currently the application
16372           just hangs.
16373
16374 2005-06-30  Robert Love  <rml@novell.com>
16375
16376         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16377           explicitly up all interfaces on wake from sleep.
16378
16379 2005-06-30  Robert Love  <rml@novell.com>
16380
16381         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16382           with information about the currently active connection.
16383         * gnome/applet/applet.h: (ditto)
16384         * gnome/applet/wireless-applet.glade: (ditto), new file
16385
16386 2005-06-30  Robert Love  <rml@novell.com>
16387
16388         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16389         * src/nm-dbus-nm.c: print when we sleep and wake up.
16390         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16391         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16392           in /sbin unless D-BUS is, folks).
16393         * README: update to reflect nm-applet replacing NetworkManagerInfo.
16394
16395 2005-06-27  Robert Love  <rml@novell.com>
16396
16397         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16398           case.
16399
16400 2005-06-27  Robert Love  <rml@novell.com>
16401
16402         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16403           items radios.
16404
16405 2005-06-26  Robert Love  <rml@novell.com>
16406
16407         * src/NetworkManagerDevice.c: be specific about which device in
16408           nm_info() message.
16409
16410 2005-06-23  Adam Weinberger  <adamw@gnome.org>
16411
16412         * src/nm-netlink-monitor.c: correct spelling error.
16413
16414 2005-06-23  Robert Love  <rml@novell.com>
16415
16416         * gnome/applet/applet-dbus-info.c: gnome keyring support!
16417         * gnome/applet/passphrase-dialog.c: more of that keyring!
16418
16419 2005-06-23  Robert Love  <rml@novell.com>
16420
16421         * configure.in: remove extraneous GNOMEKEYRING directives.
16422         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16423         * gnome/applet/applet.c: nmwa_icons_init: make style local.
16424         * gnome/applet/passphrase-dialog.c: whitespace.
16425
16426 2005-06-23  Robert Love  <rml@novell.com>
16427
16428         * src/NetworkManagerDevice.c: division in assignment was flipped.
16429
16430 2005-06-23  David Zeuthen  <david@fubar.dk>
16431
16432         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16433         signal to the child to indicate that we got what we wanted when we
16434         see two new-lines right after each other.
16435         (nmwa_vpn_request_password): Pass a structure with several members
16436         instead of just the passwords
16437
16438 2005-06-23  Dan Williams <dcbw@redhat.com>
16439
16440         * src/NetworkManager.c
16441           src/NetworkManagerMain.h
16442                 - (nm_get_hal_ctx): new function, move Hal initialization code here
16443                 - (nm_hal_init): new function, init libhal context then add devices
16444                 - (nm_hal_deinit): new function, clean up libhal context
16445                 - (nm_data_free): Move Hal cleanup here
16446                 - (main): check whether Hal is running, and if so, get a list of
16447                         network devices from it
16448
16449         * src/NetworkManagerDbus.c
16450                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16451                         and when it appears, get a list of network devices from it.  If
16452                         Hal goes away, clean up the libhal context
16453
16454 2005-06-22  Robert Love  <rml@novell.com>
16455
16456         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16457           permissions of scripts before executing.
16458
16459 2005-06-21  Robert Love  <rml@novell.com>
16460
16461         * initscript/SUSE/networkmanager: update.
16462         * src/backends/NetworkManagerSuSE.c: cleanup.
16463
16464 2005-06-21  Robert Love <rml@novell.com>
16465
16466         * gnome/applet/applet.c: use menu mnemonics.
16467         * gnome/applet/menu-items.c: (ditto)
16468
16469 2005-06-21  Robert Love  <rml@novell.com>
16470
16471         * applet/applet-dbus-devices.c: mark non-static functions static.
16472         * applet/applet-dbus-vpn.c: (ditto)
16473         * applet/applet.c: (ditto)
16474         * applet/nm-device.h: (ditto)
16475         * applet/other-network-dialog.c: (ditto)
16476         * applet/passphrase-dialog.c: (ditto)
16477         * NetworkManager.c: (ditto)
16478         * NetworkManagerDbus.c: (ditto)
16479         * NetworkManagerDevice.c: (ditto)
16480         * NetworkManagerPolicy.c: (ditto)
16481         * NetworkManagerUtils.c: (ditto)
16482         * NetworkManagerWireless.c: (ditto)
16483         * NetworkManagerWireless.h: (ditto)
16484         * nm-netlink-monitor.c: (ditto)
16485         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16486         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16487         * autoip.c: include autoip.h.
16488         * autoip.h: new file.  define get_autoip().
16489         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16490         * NetworkManagerDbus.h: remove duplicate definitions.
16491
16492 2005-06-20  Robert Love  <rml@novell.com>
16493
16494         * Makefile.am: Add missing intltool-foo.in generated files to
16495           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16496           with the start of stuff to cleanup on 'distclea'.
16497         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16498           stuff right and 'distcheck' works.
16499         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16500           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16501           Makefile.am for each.  And systray/Makefile needs to be redone.
16502
16503 2005-06-19  Dan Williams <dcbw@redhat.com>
16504
16505         * src/NetworkManagerDevice.c
16506         - (nm_device_wireless_process_scan_results): scan every 20s when
16507           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16508
16509 2005-06-19  Dan Williams <dcbw@redhat.com>
16510
16511         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16512
16513 2005-06-18  Ray Strode <rstrode@redhat.com>
16514
16515         * src/nm-netlink-monitor.c 
16516         (nm_netlink_monitor_event_handler): check for the presence
16517         of either error condition not both. 
16518         
16519         (nm_netlink_monitor_error_handler): emit error signal if
16520         error occurs.
16521
16522         (nm_netlink_monitor_event_handler),
16523         (nm_netlink_monitor_error_handler),
16524         (nm_netlink_monitor_disconnect_handler): if an 
16525         assertion fails disconnect the event handler to prevent 
16526         infinite loops.
16527
16528         * src/nm-netlink-monitor.h: add new error condition
16529         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16530
16531 2005-06-18  Ray Strode <rstrode@redhat.com>
16532
16533         * src/nm-netlink-monitor.c 
16534         (nm_netlink_monitor_event_handler): remove bogus < 0
16535         check on unsigned value and return early if the kernel
16536         didn't send any bytes.
16537
16538 2005-06-17  Robert Love  <rml@novell.com>
16539
16540         * initscript/SUSE/networkmanager: Change the Provides and default
16541         run levels
16542
16543 2005-06-16  Dan Williams <dcbw@redhat.com>
16544
16545         Patch from Robert Love:
16546         * gnome/applet/applet.c
16547                 - Beautify some applet menu item names
16548
16549 2005-06-17  David Zeuthen  <davidz@redhat.com>
16550
16551         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16552         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16553         Also add new methods can_export, import_file and export.
16554
16555         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16556         to the main UI
16557
16558         * gnome/vpn-properties/nm-vpn-properties.c:
16559         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16560         nm-vpn-ui-interface.h.
16561         (update_edit_del_sensitivity): Also update "Export" sensitivity
16562         (add_vpn_connection): Also add new SVC_NAME column
16563         (import_settings): New function
16564         (retrieve_data_from_selected_connection): New function
16565         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16566         this function
16567         (export_cb): New function
16568         (init_app): Also setup the "export" widget
16569         (main): Support the --import-service and --import-file commandline
16570         arguments
16571
16572         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16573         D-BUS 0.34
16574
16575 2005-06-16  Dan Williams <dcbw@redhat.com>
16576
16577         Patch from Robert Love:
16578         * gnome/applet/menu-items.c
16579                 - (network_menu_item_new): pass -1 as wireless network
16580                         menu items height size request rather than ascent / 2
16581
16582 2005-06-16  Dan Williams <dcbw@redhat.com>
16583
16584         * Clean up wording in Wireless Scan Methods menu items and constants
16585
16586 2005-06-16  Robert Love  <rml@novell.com>
16587
16588         * po/POTFILES.in
16589                 - remove gtkcell* files
16590
16591 2005-06-15  Dan Williams <dcbw@redhat.com>
16592
16593         Patch from Robert Love: make the applet stetic
16594
16595         * gnome/applet/Makefile.am
16596                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16597
16598         * gnome/applet/gtkcellview.h
16599           gnome/applet/gtkcellview.c
16600           gnome/applet/gtkcellrendererprogress.h
16601           gnome/applet/gtkcellrendererprogress.c
16602                 - Removed
16603
16604         * gnome/applet/menu-items.c
16605                 - Progress bars are 5:1 size ratio
16606                 - Use GTK progress bars rather than internal ones
16607
16608 2005-06-15  Dan Williams <dcbw@redhat.com>
16609
16610         Patch from Robert Love:
16611         * initscript/SUSE/networkmanager
16612                 - Fix typo
16613
16614 2005-06-15  Dan Williams <dcbw@redhat.com>
16615
16616         * src/backends/NetworkManagerSuSE.c
16617           src/backends/NetworkManagerRedHat.c
16618           src/backends/NetworkManagerDebian.c
16619                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16620
16621 2005-06-15  Dan Williams <dcbw@redhat.com>
16622
16623         * src/backends/NetworkManagerDebian.c
16624                 - Add nm_system_device_get_use_dhcp() to debian backend
16625
16626         Patch from Kay Sievers:
16627         * src/backends/NetworkManagerSuSE.c
16628                 - Update debian backend for static IP nameservers
16629
16630         * src/NetworkManagerDevice.c
16631                 - Actually set the device to use static IP or DHCP rather
16632                         than always DHCP
16633
16634 2005-06-15  Dan Williams <dcbw@redhat.com>
16635
16636         Patch from Thom May:
16637         * src/backends/NetworkManagerDebian.c
16638                 - Update debian backend for static IP nameservers
16639
16640 2005-06-15  Dan Williams <dcbw@redhat.com>
16641
16642         Patches from Robert Love:
16643         * gnome/applet/wireless-applet.glade
16644                 - Tighten up wording
16645
16646         * src/NetworkManagerDevice.c
16647                 - Remove misplaced ';'
16648
16649         * configure.in
16650           initscript/Makefile.am
16651           initscript/SUSE/Makefile.am
16652           initscript/SUSE/networkmanager
16653                 - Add SUSE initscript
16654
16655 2005-06-12  David Zeuthen  <davidz@redhat.com>
16656
16657         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16658
16659         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16660
16661         * gnome/vpn-properties/nm-vpn-properties.c: New file
16662
16663         * gnome/vpn-properties/Makefile.am: New file
16664
16665         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16666         array of passwords
16667
16668         * src/vpn-manager/nm-vpn-manager.c
16669         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16670         instead of just a single one
16671
16672         * src/vpn-manager/nm-dbus-vpn.c:
16673         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16674         here
16675         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16676
16677         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16678         Change the interface here to give a list of passwords. Also, don't
16679         require username, but do require service
16680
16681         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16682         the binary for the auth-dialog and use that instead of putting up a
16683         dialog asking for a single password
16684
16685         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16686         however do remember the service
16687
16688         * gnome/applet/main.c (main): Setup i18n
16689
16690         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16691         connection to '%s'" to the tooltip if we are connected using VPN
16692         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16693         key to determine whether we the auth-dialog needs to
16694         reprompt. Also cope with the fact that the auth-dialog now returns
16695         an array of passwords.
16696         (nmwa_menu_configure_vpn_item_activate): New handler for
16697         "Configure VPN..." menu item
16698         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16699         (is_vpn_available): New function to determine if we got any
16700         NM-compatible VPN software installed
16701         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16702         items only if we have NM-compatible VPN software installed
16703         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16704         logic for detecting when VPN connections are removed
16705
16706         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16707         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16708         since these are defined elsewhere
16709
16710         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16711         function used to keep track of whether the last attempt succeded
16712         (nmwa_dbus_filter): Update last_attempt according to whether the
16713         VPN connection could be established or not
16714
16715         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16716         Change prototype to take an array of passwords, not just a single
16717         password
16718
16719         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16720         update service, not user
16721         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16722         dbus_active_vpn_name is not NULL before using it
16723         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16724         string array instead of assuming a single password
16725
16726         * gnome/applet/applet-dbus-info.c:
16727         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16728         user name; don't read from gconf
16729
16730         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16731         VPN_NAME_FILES_DIR
16732
16733         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16734
16735         * configure.in: Add checks for gmodule-2.0.
16736         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16737         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16738         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16739         for details
16740
16741         * vpn-daemons/Makefile.am: Removed
16742
16743         * vpn-daemons/README: New file to describe extensions points for VPN
16744         software
16745
16746 2005-06-10  Dan Williams <dcbw@redhat.com>
16747
16748         * src/backends/NetworkManagerRedHat.c
16749                 - (get_current_profile_name): new function, grab current network profile name from
16750                         /etc/sysconfig/network
16751                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16752                         update an IP4 Config structure's settings from it
16753                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16754                         get DNS info from current network profile
16755
16756 2005-06-09  Dan Williams <dcbw@redhat.com>
16757
16758         Patch from Robert Love:
16759         * src/NetworkManagerDevice.c
16760           src/NetworkManagerUtils.c
16761                 - 64-bit build fixes
16762
16763 2005-06-09  Dan Williams <dcbw@redhat.com>
16764
16765         Patch from Kay Sievers and Robert Love:
16766         * configure.in
16767           src/backends/Makefile.am
16768           src/backends/NetworkManagerSuSE.c
16769                 - Add SuSE support
16770
16771 2005-06-09  Dan Williams <dcbw@redhat.com>
16772
16773         * NetworkManager.h
16774                 - Add NMWirelessScanMethod enum for scan methods
16775
16776         * gnome/applet/applet-dbus-devices.c
16777                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16778                 - (nmwa_dbus_update_scanning_enabled): remove
16779                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16780                         since it got removed
16781                 - (nmwa_dbus_enable_scanning): remove
16782
16783         * gnome/applet/applet-dbus-info.c
16784                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16785                         update the wireless scanning method from NMI
16786                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16787                         method value to NetworkManager
16788                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16789
16790         * gnome/applet/applet-dbus-info.h
16791                 - Add prototype for nmi_dbus_signal_update_scan_method
16792
16793         * gnome/applet/applet.c
16794                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16795                         Wireless Scanning menu based on current wireless scan method
16796                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16797                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16798                         and update our menu items to make sure the right one is checked
16799                 - (nmwa_set_scanning_enabled_cb): remove
16800                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16801                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16802                         Scanning menu item
16803                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16804                         from GConf
16805                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16806                         so we get notified of preference values too
16807                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16808
16809         * gnome/applet/applet.h
16810                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16811                 - Add wireless scan method member to applet data
16812                 - Remove pause_scanning_item, add Wireless Scanning submenu
16813
16814         * src/NetworkManager.c
16815                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16816                 - (main): grab scanning method from NMI if we can
16817
16818         * src/NetworkManagerDbus.c
16819                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16820                         nm_dbus_update_wireless_scan_method()
16821                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16822                         from NMI
16823                 - (nm_dbus_nmi_is_running): redundant function, removed
16824                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16825                         when NMI comes back
16826
16827         * src/NetworkManagerDevice.c
16828                 - (nm_device_is_activated): return TRUE if the device is activated
16829                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16830                         and we are activated
16831
16832         * src/nm-dbus-nm.c
16833                 - (nm_dbus_nm_set_scanning_enabled): removed
16834                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16835                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16836
16837 2005-06-09  Dan Williams <dcbw@redhat.com>
16838
16839         * NetworkManager.h
16840           src/vpn-manager/nm-vpn-service.c
16841                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16842
16843 2005-05-27  Dan Williams <dcbw@redhat.com>
16844
16845         * vpn-daemons/vpnc/nm-vpnc-service.c
16846                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16847                         Should fix the bug where the VPN connection terminates the first time.
16848
16849 2005-05-20  Dan Williams <dcbw@redhat.com>
16850
16851         * NetworkManager.h
16852                 - Differentiate VPN config signals between bad VPN config options
16853                         and bad IP config
16854
16855         * gnome/applet/applet-dbus-info.h
16856                 - Add prototypes for wireless network and vpn connection update functions
16857
16858         * gnome/applet/applet-dbus.c
16859                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16860
16861         * gnome/applet/applet.c
16862                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16863                         error signals
16864                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16865                         propogation to NetworkManager
16866                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16867                         notify propogation to NetworkManager
16868
16869         * src/NetworkManagerDbus.c
16870                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16871                         are updating so a network can be removed from it if necessary
16872
16873         * src/vpn-manager/nm-vpn-manager.c
16874                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16875
16876         * vpn-daemons/vpnc/nm-vpnc-service.c
16877                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16878                 - (nm_vpnc_dbus_signal_launch_failed): remove
16879                 - (nm_vpnc_dbus_signal_connect_failed): remove
16880                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16881                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16882                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16883                         for new generalized error signal function, remove config file stuff
16884                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16885                         we can write configuration options to it
16886                 - (nm_vpnc_config_file_generate): removed
16887                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16888                 - (nm_vpnc_config_options_validate): validate the config options we receive
16889                         from NetworkManager to block potential exploits
16890                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16891                         starting vpnc
16892                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16893                         to NetworkManager
16894
16895 2005-05-16  Dan Williams  <dcbw@redhat.com>
16896
16897         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16898                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16899                         is not "connect"
16900
16901 2005-05-16  Dan Williams  <dcbw@redhat.com>
16902
16903         Patch from Tomislav Vujec <tvujec@redhat.com>
16904         * gnome/applet/applet-dbus-info.c
16905                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16906                         GConf and pass them to NetworkManager.  New key is 'routes' under
16907                         the VPN connection, and should be a string list
16908
16909         * src/NetworkManagerSystem.c
16910                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16911                         set them on the device when we set the rest of the VPN config.  Ensure
16912                         they are in the correct format since they are passed directly to the
16913                         command line.
16914
16915         * src/backends/NetworkManagerRedHat.c
16916           src/backends/NetworkManagerDebian.c
16917                 - (nm_system_device_add_route_via_device_with_iface): new function
16918
16919         * src/vpn-manager/nm-dbus-vpn.c
16920                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16921
16922         * src/vpn-manager/nm-vpn-manager.c
16923                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16924                         them into the IP4 config functions
16925
16926 2005-05-15  Dan Williams  <dcbw@redhat.com>
16927
16928         From Filip Miletic:
16929         * po/sr.po
16930           po/sr@Latn.po
16931           configure.in
16932                 - Serbian translation added
16933
16934 2005-05-15  Dan Williams  <dcbw@redhat.com>
16935
16936         * dispatcher-daemon/NetworkManagerDispatcher.c
16937                 - (main): sync arguments with NetworkManager and the applet, now use
16938                         "--no-daemon" rather than "daemon=no"
16939                 - (nmd_print_usage): Fix script path in usage message
16940
16941 2005-05-15  Dan Williams  <dcbw@redhat.com>
16942
16943         * src/NetworkManagerDevice.[ch]
16944           src/NetworkManagerPolicy.c
16945           src/NetworkManager.c
16946           src/nm-dbus-nm.c
16947                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
16948                         longer send the DeviceNoLongerActive signal unconditionally, but only
16949                         when the device is actually active.
16950
16951         * dispatcher-daemon/NetworkManagerDispatcher.c
16952                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16953                         and simplify the logic
16954                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16955                         we free it later on
16956
16957         * initscript/RedHat/Makefile.am
16958           initscript/RedHat/NetworkManagerDispatcher
16959                 - Add initscript for NetworkManagerDispatcher
16960
16961
16962         Patch from Bill Moss:
16963         * dispatcher-daemon/NetworkManagerDispatcher.c
16964                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16965
16966         * src/NetworkManagerDbus.c
16967                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
16968                         and DeviceNowActive gets signaled, then the device has a new IP address
16969                         anyway.  There's no need for a separate signal.
16970
16971         * src/NetworkManagerDevice.c
16972                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16973
16974         * src/NetworkManagerPolicy.c
16975                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16976                         activates successfully.  This kind of went missing when I reworked the
16977                         activation code.
16978
16979 2005-05-15  Dan Williams  <dcbw@redhat.com>
16980
16981         * configure.in
16982                 - Check for dhcdbd and error if its not found
16983
16984         * src/dhcp-manager/Makefile.am
16985           src/dhcp-manager/nm-dhcp-manager.c
16986                 - Use path to dhcdbd that configure found
16987
16988 2005-05-14  Dan Williams  <dcbw@redhat.com>
16989
16990         * gnome/applet/nm-device.c
16991                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16992                         sort wireless networks alphabetically
16993
16994         * gnome/applet/applet-dbus-devices.c
16995                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16996                         before copying them over to the GUI
16997
16998 2005-05-14  Dan Williams  <dcbw@redhat.com>
16999
17000         * src/NetworkManager.c
17001                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
17002                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
17003                         the device list, as does nm_get_active_device() which is called from
17004                         nm_vpn_manager_deactivate_vpn_connection().
17005
17006 2005-05-14  Dan Williams  <dcbw@redhat.com>
17007
17008         * NetworkManager.h
17009                 - Add signals for VPN Launch and Connect failures
17010
17011         * gnome/applet/applet-dbus.c
17012                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
17013
17014         * gnome/applet/applet.c
17015                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
17016                         function to handle all VPN failure messages
17017                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
17018                         function to hanlde all VPN failure  messages
17019                 - (show_warning_dialog): work around focus-stealing prevention
17020
17021         * gnome/applet/other-network-dialog.c
17022           gnome/applet/passphrase-dialog.c
17023                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
17024                         problem where it never enabled for ASCII Key and Hex Key types
17025
17026         * gnome/applet/wireless-applet.glade
17027                 - Add window title to Other Wireless Network Dialog
17028
17029         * src/vpn-manager/nm-dbus-vpn.c
17030                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17031                         function to handle all VPN failure messages
17032
17033         * src/vpn-manager/nm-vpn-manager.c
17034                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17035
17036         * vpn-daemons/vpnc/nm-vpnc-service.c
17037                 - (nm_vpnc_dbus_signal_launch_failed): new function
17038                 - (nm_vpnc_dbus_signal_connect_failed): new function
17039                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17040                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17041                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17042                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17043
17044 2005-05-11  Dan Williams  <dcbw@redhat.com>
17045
17046         * vpn-daemons/vpnc/nm-vpnc-service.c
17047                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17048                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17049                         file exists before trying to write it out.
17050
17051 2005-05-10  Dan Williams  <dcbw@redhat.com>
17052
17053     * gnome/applet/applet-dbus-device.c
17054         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
17055             prevented just entering ESSID and leaving key and key type up to
17056             NetworkManager (which should have them already cached)
17057
17058 2005-05-08  Dan Williams  <dcbw@redhat.com>
17059
17060         * src/NetworkManagerPolicy.c
17061                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17062                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17063                         fix a situation where NM is told to terminate and the device stops activation,
17064                         but the main thread isn't aware of that because it would never have run
17065                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17066                         had already quit.
17067
17068         * src/NetworkManagerDevice.c
17069                 - (nm_device_probe_wired_link_state): cosmetic fixes
17070                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17071                         we've failed to activate or been canceled.
17072                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17073
17074 2005-05-08  Dan Williams  <dcbw@redhat.com>
17075
17076         * src/NetworkManagerWireless.c
17077                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17078                         value of WEXT quality structures, and add a debug message when we cannot
17079                         determine any quality % at all
17080
17081 2005-05-08  Dan Williams  <dcbw@redhat.com>
17082
17083         * src/dhcp-manager/nm-dhcp-manager.c
17084                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17085                         it goes down.
17086
17087 2005-05-06  Dan Williams  <dcbw@redhat.com>
17088
17089         * gnome/applet/applet-dbus-device.c
17090           gnome/applet/applet-dbus-info.c
17091           gnome/applet/applet-dbus.c
17092           gnome/applet/applet.c
17093           gnome/applet/applet.h
17094                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17095
17096         * gnome/applet/applet-dbus.c
17097                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17098                         so we notice when wired device's carriers come back on.  Should
17099                         fix issue with wired devices being grayed out even if the cable
17100                         is in, for devices that support carrier detection.
17101
17102         * gnome/applet/applet.c
17103                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17104                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17105                         tooltip message
17106                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17107                         Fix situation where applet wouldn't respond to menu selections
17108
17109         * src/NetworkManager.c
17110           src/NetworkManagerDevice.c
17111           src/NetworkManagerDbus.c
17112           src/NetworkManagerDbus.h
17113                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17114
17115         * src/NetworkManagerDbus.c
17116                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17117                         Remove, no longer used or relevant
17118                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17119                 - (nm_dbus_schedule_device_status_change_signal): add
17120
17121         * src/NetworkManagerDevice.c
17122                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17123                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17124                         ie don't deactivate them unless explicitly told to by the user.  Also send
17125                         CARRIER_OFF / CARRIER_ON signals when link changes
17126                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17127                         Don't print error message when device is no longer around
17128                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17129                         not just during activation
17130
17131         * src/NetworkManagerPolicy.c
17132                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17133                         auto-device-selection.
17134                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17135
17136         * src/NetworkManagerSystem.c
17137                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17138                         is no longer present (Bill Moss)
17139
17140         * src/backends/shvar.c
17141                 - (svOpenFile): Open read-only to make SELinux happy
17142
17143         * src/backends/NetworkManagerRedHat.c
17144                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17145                         the path to the ifcfg-* files
17146
17147 2005-05-05  Dan Williams  <dcbw@redhat.com>
17148
17149         * Expose activation stages to NetworkManager clients, like the applet
17150         * Add Diana's progress icons to the applet, cued off NM activation stage
17151         * Use more descriptive tooltips, cued off NM activation stage
17152
17153 2005-05-05  Ray Strode  <rstrode@redhat.com>
17154
17155         * src/nm-netlink-monitor.c:
17156                 - Use clear_event_source instead of g_nullify_pointer() again.
17157
17158 2005-05-05  Dan Williams  <dcbw@redhat.com>
17159
17160         * gnome/applet/main.c
17161                 - Fix session management so the applet is actually managed now
17162
17163         * gnome/applet/passphrase-dialog.c
17164                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17165
17166 2005-05-05  Dan Williams  <dcbw@redhat.com>
17167
17168         Patch from Bill Moss:
17169         * gnome/libnm_glib/libnm_glib.c
17170                 - Fix for dbus-0.33
17171
17172 2005-05-05  Dan Williams  <dcbw@redhat.com>
17173
17174         Suggestion from Bill Moss:
17175         * src/NetworkManagerSystem.c
17176                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17177
17178
17179         * src/NetworkManager.c
17180                 - (nm_data_free): move destruction of the various managers after
17181                         release of device list, because deactivating and freeing a device
17182                         requires at least the named manager
17183                 - (nm_poll_and_update_wireless_link_state):
17184                   (nm_device_link_activated):
17185                   (nm_device_link_deactivated):
17186                         don't grab the device list lock when actually updating device
17187                         link status or strength, since nm_device_set_link_active()
17188                         needs to call nm_get_active_device(), which also locks the device list.
17189
17190         * src/NetworkManagerDevice.c
17191                 - (nm_device_set_link_active): if a device's link switches from off->on,
17192                         and it's wired, and the active device is wireless (or there is no
17193                         active device), activate the new device whose link just came on
17194                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17195                         my only calling the link to the current ap "failed" when more than 2
17196                         consecutive link checks have failed
17197
17198 2005-05-04  Dan Williams  <dcbw@redhat.com>
17199
17200         * src/NetworkManagerDevice.c
17201                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17202                         but let link_to_specific_ap() do the locking where it needs
17203
17204         Patch from Bill Moss:
17205         * src/NetworkManagerSystem.c
17206                 - Set MTU of VPN devices to 1412
17207
17208 2005-05-04  Dan Williams  <dcbw@redhat.com>
17209
17210         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17211
17212         * Fix some holes in device activation and retaining the currently connected
17213                 access point
17214
17215 2005-05-03  Dan Williams  <dcbw@redhat.com>
17216
17217         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
17218           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
17219           means you need dhcdbd, which you can get here (get the latest one):
17220
17221                 http://people.redhat.com/jvdias/dhcdbd/
17222
17223           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17224           interface as dhcdbd.
17225
17226         * Rewrite device activation to facilitate the new DHCP infrastructure and
17227           future improvements.  Its now "activation request" based, ie there is a single
17228           activation request composed of the device, access point, and other info which
17229           follows the entire activation process.  There are 5 stages of the activation
17230           process which correspond to:
17231
17232                 1) Device preparation
17233                 2) Device configuration (bring it up, set ESSID/Key/etc)
17234                 3) IP Config Start (fire off DHCP if we're using it)
17235                 4) IP Config Get (grab config from DHCP or static config files)
17236                 5) IP Config Commit (set device's IP address, DNS, etc)
17237
17238           Note that there is no longer a "scanning" step, since the access point must
17239           be known _before_ activation starts.  If the access point drops out or does
17240           not exist for some reason, the entire activation process fails and must be
17241           restarted for a different access point or device.
17242
17243         Patch from Bill Moss:
17244         * gnome/applet/applet.c
17245                 - Fix type of vpn_failure dialog -> vpn_banner dialog
17246
17247 2005-04-27  Dan Williams  <dcbw@redhat.com>
17248
17249         * gnome/applet/applet-dbus-vpn.c
17250           gnome/applet/applet.c
17251           gnome/applet/applet.h
17252                 - Fix up active VPN handling so that we reliably know when a VPN
17253                         connection has been deactivated
17254
17255         * src/vpn-manager/nm-vpn-manager.c
17256                 - Remove duplicate VPNConnectionChange signal
17257
17258 2005-04-27  Dan Williams  <dcbw@redhat.com>
17259
17260         Patch from Peter Jones:
17261         * Remove usage of varargs to fix crashes on PPC (RH #154336)
17262
17263         Patch from Bill Moss:
17264         * src/NetworkManagerSystem.c
17265                 - Fix checking of return value from ioctl()
17266
17267 2005-04-27  Dan Williams  <dcbw@redhat.com>
17268
17269         * Fix choosing of wireless networks and "Other wireless network..." from the applet
17270         * Warn and exit if icons cannot be found
17271
17272 2005-04-27  Dan Williams  <dcbw@redhat.com>
17273
17274         Patch from Tom Parker:
17275         * Update debian backend
17276
17277 2005-04-27  Dan Williams  <dcbw@redhat.com>
17278
17279         * Merge the applet and the info-daemon, and move the converged
17280                 applet under gnome/applet
17281         * Move libnm_glib to gnome/libnm_glib
17282         * Convert most dbus calls between the applet, info-daemon, and NM
17283                 into async calls
17284         * Fix a few things valgrind noticed
17285         * Make NM broadcast state more reliably
17286
17287 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
17288
17289         * configure.in: Added ne in ALL_LINGUAS
17290
17291 2005-04-15  Dan Williams  <dcbw@redhat.com>
17292
17293         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17294                 code for dbus 0.2x versions
17295
17296 2005-04-15  Dan Williams  <dcbw@redhat.com>
17297
17298         Patches from Tom Parker:
17299         - Fix memleaks
17300         - Join with worker thread rather than polling for its exit
17301
17302         Patch from Bill Moss:
17303         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17304
17305 2005-04-15  Dan Williams  <dcbw@redhat.com>
17306
17307         - Fixes to pass 'make distcheck'
17308
17309 2005-04-15  Dan Williams  <dcbw@redhat.com>
17310
17311         Initial VPN Support
17312                 - supports 'vpnc'
17313                 - reworks device IP configuration, backend files have changed and will need
17314                         to be updated for all distributions.  I will try to do what I can for
17315                         them, but I cannot test them.
17316
17317         - Move named directory to src/named-manager
17318         - Make backends directory self-contained
17319
17320 2005-04-06  Dan Williams  <dcbw@redhat.com>
17321
17322         Add debug code for socket/file descriptor leaks.  We register every socket
17323         that we open (except for stuff in dhcpcd/) for tracking, and print out the
17324         list of sockets that we forgot to close on shutdown.  This also consolidates
17325         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17326
17327 2005-04-06  Dan Williams  <dcbw@redhat.com>
17328
17329         * dhcpcd/dhcpcd.c
17330                 - (dhcp_interface_free): fix a file descriptor leak that may have
17331                         caused network drivers to not unload due to refcounts > 0
17332
17333 2005-04-04  Dan Williams  <dcbw@redhat.com>
17334
17335         * panel-applet/NMWirelessAppletDbus.c
17336                 - (nmwa_dbus_call_nm_method): remove some commented code
17337
17338         * src/NetworkManagerAPList.[ch]
17339                 - (nm_ap_list_remove_ap_by_essid): new function
17340
17341         * src/NetworkManagerDevice.c
17342                 - (nm_device_wireless_force_use): remove access points from the ignore list
17343                         when the user forces them
17344
17345         * src/nm-dbus-device.c
17346                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17347
17348 2005-04-04  Dan Williams  <dcbw@redhat.com>
17349
17350         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17351
17352 2005-04-04  Dan Williams  <dcbw@redhat.com>
17353
17354         * src/NetworkManagerDevice.c:
17355                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17356                         of only erroring after the second consecutive scan times out.  Also
17357                         don't exit when the card requires more time than we can give it, just
17358                         log the event and continue.
17359
17360 2005-04-01  Steve Murphy  <murf@e-tools.com>
17361
17362         * configure.in: Added "rw" to ALL_LINGUAS.
17363
17364 2005-04-01  Dan Williams <dcbw@redhat.com>
17365
17366         Perform scans during device activation, if needed.  Both activation 
17367         and scans run in the same GMainContext.  Therefore, if an access point
17368         is not found by the time the device starts activation, it will not
17369         be available until after activation.  We now try to scan during
17370         activation (in nm_wa_test) every 15s so that all available access
17371         points are more likely to be found and available for the activation
17372         procedure.
17373
17374         Also change nm_wireless_link_state_handle() to only update the "best"
17375         AP if we are not forcing a device and if we are not about to change
17376         state.  This attempts to work around a race when forcing a device,
17377         where the forced AP would get cleared out too soon by the link state
17378         checking timeout in the main thread, and the activation attempt with
17379         that AP would fail.
17380
17381 2005-04-01  Dan Williams <dcbw@redhat.com>
17382
17383         * po/POTFILES.in
17384                 - Update with new translatables
17385
17386 2005-03-31  Dan Williams <dcbw@redhat.com>
17387
17388         * panel-applet/NMWirelessAppletDbus.c
17389                 - Fix device names now that hal has changed device parenting for
17390                         network devices.
17391
17392 2005-03-31  Dan Williams <dcbw@redhat.com>
17393
17394         Tighten up handling of wireless devices that don't support wireless
17395         scanning (ie, Orinoco).  Due to restructuring of code, these devices
17396         hadn't been doing pseudo-scanning for a while either and would just
17397         spin waiting for an access point.  They are now manual devices where
17398         the user must choose the access point from the menu every time.  All
17399         "allowed" access points are listed in the applet's menu regardless
17400         of whether or not they can be seen by the card, since it can't scan
17401         anyway.
17402
17403         * src/NetworkManager.c
17404                 - (nm_wireless_link_state_handle): new function, but only update
17405                         the "best" ap for non-scanning devices when its not activating,
17406                         and when no device is being forced on the card
17407                 - (nm_link_state_monitor): split wireless link state handling out
17408                         into separate function
17409
17410         * src/NetworkManagerDevice.c
17411                 - (nm_device_copy_allowed_to_dev_list): new function
17412                 - (nm_device_new): populate non-scanning cards' AP lists with
17413                         access points from the "allowed" list
17414                 - (nm_device_new): don't start a scanning timeout for devices that
17415                         can't scan
17416                 - (nm_device_activation_schedule_finish): new parameter, should be
17417                         the AP that failed to be connected to, pass it on to the
17418                         activation finish function in NetworkManagerPolicy.c
17419                 - (nm_device_activate_wireless): don't ever try to get a new AP
17420                         for non-scanning devices, just fail.  The user must choose
17421                         a new access point manually.
17422                 - (nm_device_activate): grab the AP that failed connection and
17423                         pass it on
17424                 - (nm_device_update_best_ap): Clear the best AP if we don't have
17425                         a link to it, user must manually choose a new one
17426                 - (nm_device_do_pseudo_scan): remove function
17427                 - (nm_device_wireless_process_scan_results): remove bits for non-
17428                         scanning cards since they never get here
17429                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17430                         and fake the scan list for test devices a bit earlier
17431
17432         * src/NetworkManagerPolicy.c
17433                 - (nm_policy_activation_finish): use the failed_ap that we get
17434                         passed rather than getting the best_ap from the card, which
17435                         may have changed since we were scheduled
17436                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17437                         update their scan list directly from the allowed list when
17438                         we get updates to the allowed list from NetworkManagerInfo
17439
17440         * src/NetworkManagerPolicy.h
17441                 - New member for failed access point in NMActivationResult
17442
17443   -------------------------------------
17444
17445         Driver Notification patch: notifies the user when their driver
17446                 sucks.  Gives them the option to ignore further insertions
17447                 of the card that has the sucky driver.
17448
17449         * NetworkManager.h
17450                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17451                         enum and replace it with NO_CARRIER_DETECT and
17452                         NO_WIRELESS_SCAN
17453
17454         * panel-applet/NMWirelessApplet.[ch]
17455                 - Merge essid.glade -> wireless-applet.glade
17456                 - Implement the "Your driver sucks" notification dialog
17457
17458         * panel-applet/NMWirelessAppletDbus.c
17459                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17460                 - Grab hardware address for each device from NM too
17461                 - Check whether the driver for each device sucks or not whenever
17462                         a new device is noticed
17463
17464         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17465                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17466
17467         * src/NetworkManager.c
17468                 - Fix a double-unref on device removal
17469
17470         * src/NetworkManagerUtils.c
17471                 - Set appropriate driver support level on a device that doesn't
17472                         support scanning or carrier detection
17473
17474         * src/nm-dbus-device.c
17475                 - New "getHWAddress" dbus method on devices
17476                 - getSupportsCarrierDetect -> getDriverSupportLevel
17477
17478 2005-03-31  Dan Williams <dcbw@redhat.com>
17479
17480         * src/NetworkManagerDevice.c
17481                 - (nm_device_wireless_scan): Fix leak of scan results in some
17482                         instances
17483
17484 2005-03-29  Dan Williams <dcbw@redhat.com>
17485
17486         * src/NetworkManager.c
17487                 - (nm_poll_and_update_wireless_link_state): make code less indented
17488
17489         Patch from Bill Moss:
17490         * src/NetworkManager.c
17491                 - (nm_device_update_link_state): Update signal strength on wireless
17492                         devices every time we update link state too.
17493
17494 2005-03-29  Dan Williams <dcbw@redhat.com>
17495
17496         * src/NetworkManagerDevice.c
17497                 - (nm_device_set_essid): Work around Orinoco cards which need
17498                         extra time after setting the ESSID
17499
17500 2005-03-29  Dan Williams <dcbw@redhat.com>
17501
17502         * src/NetworkManagerDevice.c
17503                 - Merge one more bit of Peter Jones' completion patch
17504
17505 2005-03-29  Dan Williams <dcbw@redhat.com>
17506
17507         * src/NetworkManagerDevice.c
17508                 - (nm_device_force_use): Fix possible segfault
17509
17510 2005-03-29  Dan Williams <dcbw@redhat.com>
17511
17512         * src/NetworkManagerDevice.c
17513                 - Use iw_get_ext() where we should rather than iw_set_ext()
17514
17515 2005-03-29  Dan Williams <dcbw@redhat.com>
17516
17517         * src/NetworkManagerDevice.c
17518                 - (nm_device_set_up_down): remove check for unsupported devices
17519                         that caused NM to not bring devices up when they were
17520                         added to the device list.
17521
17522 2005-03-28  Dan Williams <dcbw@redhat.com>
17523
17524         * src/NetworkManagerDevice.c
17525                 - (mdio_read): Fix two bugs that caused all devices to fail
17526                         the MII carrier detection support checks
17527
17528 2005-03-26  Dan Williams <dcbw@redhat.com>
17529
17530         * src/NetworkManagerDevice.c
17531                 - (nm_device_wireless_scan): Remove duplicated scanning code
17532
17533 2005-03-25  Dan Williams <dcbw@redhat.com>
17534
17535         * panel-applet/NMWirelessApplet.c
17536                 - (nmwa_about_cb): Add some more contributors
17537                 - (nmwa_update_state): show the applet when there's no connection
17538                 - Enable the "Stop/Resume all wireless devices" option in the
17539                         context menu
17540                 - New "no connection" icon
17541
17542         * src/NetworkManager.c
17543                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17544                         wireless is disabled or we're asleep
17545
17546         * src/NetworkManagerDHCP.c
17547                 - Remove trailing "\n" on debug messages
17548
17549         * src/NetworkManagerDbus.c
17550                 - (nm_dbus_network_status_from_data): new state "asleep"
17551
17552         * src/NetworkManagerDevice.c
17553                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17554                         latency and wait times for most operations
17555                 - (nm_device_wireless_scan): Don't scan when asleep
17556
17557         * src/NetworkManagerPolicy.c
17558                 - (nm_policy_get_best_device): return no device when asleep
17559                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17560                         for all wireless devices on update, not just active device
17561
17562         * src/NetworkManagerUtils.c
17563                 - Merge Peter Jones' "completion" patch
17564
17565         * src/nm-dbus-nm.c
17566                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17567                         we're told to disable them
17568                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17569
17570         * utils/nm-utils.h
17571                 - New variants of the warn/info/error/debug print functions that can take
17572                         variables rather than static strings
17573
17574 2005-03-24  Dan Williams <dcbw@redhat.com>
17575
17576         * src/NetworkManagerUtils.c
17577                 - (nm_get_device_driver_name): driver names are now on the parents of
17578                         "Network Interface" objects, so look for them there
17579
17580 2005-03-24  Dan Williams <dcbw@redhat.com>
17581
17582         * test/nmtest.c
17583                 - Escape some forgotten object paths before we shove them through dbus
17584
17585 2005-03-24  Dan Williams <dcbw@redhat.com>
17586
17587         * dhcpcd/dhcpcd.[ch]
17588           src/NetworkManagerDHCP.c
17589                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17590                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17591
17592         * src/NetworkManagerDbus.c
17593                 - spacing cleanups
17594
17595         * src/nm-dbus-dhcp.c
17596                 - Make the API suck less.  There is now only 1 type of each function,
17597                         ie only "getInteger" and no longer also "getIntegerv".  All types
17598                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17599                         that will never have more than 1 element.  This should simplify
17600                         things greatly.
17601
17602         * test/nm-dhcp-opt-test.c
17603                 - Make the tool not segfault
17604                 - adapt to new DHCP Options API
17605
17606 2005-03-22  Dan Williams <dcbw@redhat.com>
17607
17608         * src/NetworkManager.c
17609                 - (nm_wired_link_deactivated): actually ignore netlink events from
17610                         wireless devices.
17611
17612 2005-03-22  Dan Williams <dcbw@redhat.com>
17613
17614         * src/NetworkManager.c
17615                 - (nm_wired_link_activated): actually ignore netlink events from
17616                         wireless devices.
17617
17618 2005-03-17  Dan Williams <dcbw@redhat.com>
17619
17620         Patch from Tom Parker:
17621         * src/nm-netlink-monitor.c
17622                 - Include unistd.h
17623         * info-daemon/NetworkManagerInfoDbus.c
17624                 - (nmi_dbus_update_network_auth_method): free GConf values
17625
17626         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17627         * src/NetworkManagerDevice.c
17628                 - (nm_device_set_wireless_config): wait for successful
17629                         association longer for some cards (Atheros a/b/g)
17630
17631 2005-03-15  Ray Strode  <rstrode@redhat.com>
17632
17633         * src/NetworkManager.c:
17634         (sigterm_pipe_handler):
17635         remove bogus FIXME
17636
17637 2005-03-15  Ray Strode  <rstrode@redhat.com>
17638
17639         * src/NetworkManagerDbus.c:
17640         Fix some sign weirdness that gcc4 doesn't like,
17641         and add a header file so PPC can hopefully find
17642         SIGTRAP
17643
17644 2005-03-14  Ray Strode  <rstrode@redhat.com>
17645         
17646         Fourth (probably working) cut at porting to
17647         dbus 0.30 api and new hal. This cut adds
17648         some new logging macros to make debugging
17649         easier.
17650
17651         * dispatcher-daemon/NetworkManagerDispatcher.c:
17652         * info-daemon/NetworkmanagerInfo.c:
17653         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17654         * info-daemon/NetworkManagerInfoVPN.c:
17655         * src/NetworkManager.c:
17656         * src/NetworkManagerAP.c:
17657         * src/NetworkManagerAPList.c:
17658         * src/NetworkManagerDHCP.c:
17659         * src/NetworkManagerDbus.c:
17660         * src/NetworkManagerDevice.c:
17661         * src/NetworkManagerPolicy.c:
17662         * src/NetworkManagerSystem.c:
17663         * src/NetworkManagerUtils.c:
17664         * src/NetworkManagerWireless.c:
17665         * src/autoip.c:
17666         * src/nm-dbus-nm.c:
17667         * src/backends/NetworkManagerDebian.c:
17668         * src/backends/NetworkManagerGentoo.c:
17669         * src/backends/NetworkManagerRedHat.c:
17670         * src/backends/NetworkManagerSlackware.c:
17671         use new logging macros.
17672
17673         * dispatcher-daemon/NetworkManagerDispatcher.c:
17674         (nmd_dbus_filter): s/dbus_free/g_free/
17675
17676         * info-daemon/Makefile.am: link in utils library.
17677         * info-daemon/NetworkmanagerInfo.c: use new logging 
17678         macros.
17679         (nmi_dbus_get_network): don't assume enumerations
17680         are 32-bit.
17681         (nmi_dbus_nmi_message_handler): don't free what 
17682         doesn't belong to us.
17683
17684         * libnm_glib/libnm_glib.c:
17685         (libnm_glib_get_nm_status): 
17686         (libnm_glib_init): don't free what doesn't
17687         belong to us.
17688         (libnm_glib_dbus): strdup result, so it doesn't get
17689         lost when message is unref'd.
17690
17691         * panel-applet/NMWirelessAppletDbus.c:
17692         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17693
17694         * src/NetworkManager.c:
17695         (nm_monitor_wired_link_state): request initial status 
17696         dump of all cards when we start up, instead of relying
17697         on /sys/.../carrier.
17698         (nm_info_handler), (nm_set_up_log_handlers): 
17699         log handlers to specify what syslog priorites 
17700         the logging macros default to.
17701
17702         * src/NetworkManagerAPList.c: 
17703         (nm_ap_list_populate_from_nmi):
17704         s/dbus_free_string_array/g_strfreev/
17705
17706         * src/NetworkManagerDbus.c:
17707         (nm_dbus_get_network_object):
17708         validate d-bus message argument types.
17709         Advance message iterator after reading argument,
17710         prepend instead of append to GSList.
17711
17712         * src/NetworkManagerDevice.c:
17713         (nm_device_probe_wired_link_status):
17714         remove redundant /sys in /sys path. remove wrong
17715         contents == NULL means has carrier assumption.
17716
17717         * src/nm-netlink-monitor.c 
17718         (nm_netlink_monitor_request_status): implement
17719         function to ask kernel to dump interface link
17720         status over netlink socket.
17721
17722         * test/*.c: s/dbus_free/g_free/
17723
17724         * utils/nm-utils.h:
17725         (nm_print_backtrace): new macro to print backtrace.
17726         (nm_get_timestamp): new macro to get sub-second precise
17727         unix timestamp.
17728         (nm_info), (nm_debug), (nm_warning), (nm_error):
17729         new logging functions. nm_info just prints,
17730         nm_debug includes timestamp and function,
17731         nm_warning includes function, nm_error includes
17732         backtrace and sigtrap.
17733
17734 2005-03-11  Ray Strode  <rstrode@redhat.com>
17735
17736         Third (unfinished, partially working) cut at porting to 
17737         dbus 0.30 api and new hal.
17738
17739         * info-daemon/NetworkManagerInfoDbus.c:
17740                 don't free null arrays.
17741
17742         * panel-applet/NMWirelessAppletDbus.c: 
17743         * src/nm-dbus-device.c:
17744         * src/nm-dbus-net.c: 
17745         * src/NetworkManagerDbus.c: more 
17746         STRING -> OBJECT_PATH fun
17747         * src/NetworkManagerDevice.c:
17748         * src/NetworkManagerDevice.h:
17749         (rename nm_device_get_link_active): rename to 
17750         nm_device_has_active_link
17751         (nm_device_wireless_link_active): rename to
17752         nm_device_probe_wireless_link_state
17753         (nm_device_wired_link_active): rename to
17754         nm_device_probe_wired_link_state.  Rewrite to
17755         use carrier file since hal doesn't maintain
17756         link state anymore.
17757         (nm_device_update_link_active): rename to
17758         nm_device_update_link_state
17759         * src/NetworkManagerPolicy.c 
17760           (nm_policy_activation_finish): check for NULL
17761           MAC address.
17762
17763         * src/Makefile.am:
17764         * src/NetworkManagerMain.h: 
17765         * src/NetworkManager.c:
17766         * src/nm-netlink-monitor.c:
17767         * src/nm-netlink-monitor.h: New class to support
17768         monitoring wired ethernet link status, since HAL
17769         doesn't export that information anymore.
17770
17771 2005-03-09  Ray Strode  <rstrode@redhat.com>
17772
17773         Second (unfinished, unworking) cut at porting to 
17774         dbus 0.30 api.
17775
17776         * dispatcher-daemon/NetworkManagerDispatcher.c:
17777         * info-daemon/NetworkManagerInfoDbus.c:
17778         * panel-applet/NMWirelessAppletDbus.c:
17779         * src/NetworkManagerDbusUtils.c:
17780         * src/NetworkManagerDbusUtils.h:
17781         * src/nm-dbus-device.c:
17782         * src/nm-dbus-nm.c:
17783         * test/nmtest.c: support dbus "object path" type
17784
17785         * configure.in: 
17786         * Makefile.am:
17787         * info-daemon/Makefile.am:
17788         * libnm_glib/Makefile.am:
17789         * panel-applet/Makefile.am:
17790         * dispatcher-daemon/Makefile.am
17791         * src/Makefile.am:
17792         * test/Makefile.am:
17793         * utils/Makefile.am: 
17794         * utils/nm-utils.c: 
17795         * utils/nm-utils.h: new utils static lib
17796
17797 2005-03-07  Ray Strode  <rstrode@redhat.com>
17798
17799         * info-daemon/NetworkManagerInfoDbus.c:
17800         * libnm_glib/libnm_glib.c:
17801         * panel-applet/NMWirelessAppletDbus.c:
17802         * src/NetworkManager.c:
17803         * src/NetworkManagerDbus.c:
17804         * src/NetworkManagerDevice.c:
17805         * src/NetworkManagerUtils.c:
17806         * src/nm-dbus-device.c:
17807         * src/nm-dbus-dhcp.c:
17808         * src/nm-dbus-net.c:
17809         * src/nm-dbus-nm.c:
17810         * test/nminfotest.c:
17811         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17812
17813 2005-03-04  Dan Williams  <dcbw@redhat.com>
17814
17815         * configure.in
17816                 - Mark HEAD as 0.4
17817
17818 2005-03-04  Dan Williams  <dcbw@redhat.com>
17819
17820         Patch from Peter Jones:
17821         - Make stuff work with gcc 4.0
17822
17823 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
17824
17825         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17826
17827 2005-02-27  Jim Huang  <jserv@kaffe.org>
17828
17829         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17830
17831 2005-02-27  Dan Williams  <dcbw@redhat.com>
17832
17833         Patch from Bill Moss:
17834         * panel-applet/NMWirelessAppletDbus.c
17835                 - Make sure strength for current access point is up-to-date when we
17836                         update the gui data model
17837
17838 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
17839
17840         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17841
17842 2005-02-27  Dan Williams  <dcbw@redhat.com>
17843
17844         * src/backends/NetworkManagerRedHat.c
17845                 - (nm_system_init): Kill any dhclient processes lying around as well
17846                         as stopping 'nifd' if its already been started.  NetworkManager
17847                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
17848
17849 2005-02-27  Dan Williams  <dcbw@redhat.com>
17850
17851         * panel-applet/NMWirelessApplet.c
17852                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17853                         dbus data model, not the GUI data model twice.
17854
17855 2005-02-27  Dan Williams  <dcbw@redhat.com>
17856
17857         * panel-applet/NMWirelessApplet.[ch]
17858           panel-applet/NMWirelessAppletDbus.[ch]
17859                 - Move to incremental network updates.  Instead of blowing away our list
17860                         of devices every time we get a signal from NetworkManager, we now
17861                         incrementally add/remove networks when NetworkManager notifies us that
17862                         a new network has appeared or disappered.  Strength updates now happen
17863                         on-the-fly for each access point as well.  There are now two copies of
17864                         data from NetworkManager: one for the dbus side, and one for the gui side.
17865                         When the dbus side data is modified, it is copied over to the gui side
17866                         so we don't have to hold the data_mutex for long periods of time (and
17867                         therefore block animation of the applet's icon).
17868                 - Clean up some memleaks too
17869
17870         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17871                 - Minor code beautification
17872
17873         * src/NetworkManagerAPList.c
17874                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17875                         completely new and whether or not an existing one's strength was updated.
17876                         Try to fix multiple access points and signal strength by using the highest
17877                         signal strength in each scan for any given ESSID.
17878
17879         * src/NetworkManagerDbus.[ch]
17880                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17881                         wireless networks; now we have only WirelessNetworkUpdate which includes
17882                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17883                 - Kill usage of DbusMessageIter
17884
17885         * src/NetworkManagerDevice.c
17886                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17887                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
17888                         AP rather than all-at-once.  Also don't ever remove the AP a card is
17889                         currently associated with from the network list.
17890                 - Update for new signals during scan, send out Appeared, Disappeared, or
17891                         StrengthChanged when necessary.
17892
17893 2005-02-25  Dan Williams  <dcbw@redhat.com>
17894
17895         * README
17896                 - Line break the README
17897
17898 2005-02-25  Dan Williams  <dcbw@redhat.com>
17899
17900         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17901                 - Remove usage of gtk_window_set_default_size()
17902
17903         * panel-applet/essid.glade
17904                 - Stick default size here
17905                 - Add in random crap that current glade wants to add in now
17906
17907 2005-02-25  Dan Williams  <dcbw@redhat.com>
17908
17909         * src/backends/NetworkManagerRedHat.c
17910                 - For non-caching-nameserver/non-named case, ensure that nscd is running
17911                         and that we actually tell nscd to reload the hosts cache when it changes
17912
17913 2005-02-25  Dan Williams  <dcbw@redhat.com>
17914
17915         * info-daemon/NetworkManagerInfoDbus.c
17916                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17917
17918         * test/nminfotest.c
17919                 - Whack usage of DbusMessageIter
17920                 - Clean up DbusError and DbusMessage handling and freeing
17921                 - Remove unused unregister handler
17922
17923         * test/nmtest.c
17924                 - Whack usage of DbusMessageIter
17925
17926         * test/nmtestdevices.c
17927                 - Whack usage of DbusMessageIter
17928
17929 2005-02-25  Dan Williams  <dcbw@redhat.com>
17930
17931         * NetworkManager.h
17932                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17933                         signal
17934
17935 2005-02-25  Dan Williams  <dcbw@redhat.com>
17936
17937         * named/nm-named-manager.c
17938                 - Ensure that pid and watch variables for child named process get cleared out
17939                         when the child goes away.
17940
17941 2005-02-22  Dan Williams  <dcbw@redhat.com>
17942
17943         * src/NetworkManagerPolicy.c
17944                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17945                         and NULL out data->active_device so that we have to choose another one.
17946                         This may make NetworkManager keep attempting to connect to a wired network
17947                         if it fails, but if it keeps failing the wired network has more problems than
17948                         just NetworkManager.
17949
17950         * src/backends/NetworkManagerRedHat.c
17951                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17952                         is already running
17953
17954         * named/nm-named-manager.c
17955                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17956                         named so that the distro can flush whatever name service caching
17957                         daemon it uses
17958
17959 2005-02-21  Dan Williams  <dcbw@redhat.com>
17960
17961         * src/NetworkManagerDHCP.[ch]
17962                 - (nm_device_dhcp_remove_timeouts): new function
17963
17964         * src/NetworkManagerDevice.c
17965                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17966                         remove the DHCP timeouts.
17967
17968 2005-02-21  Dan Williams  <dcbw@redhat.com>
17969
17970         * panel-applet/NMWirelessApplet.[ch]
17971           panel-applet/menu-info.[ch]
17972                 - Give the panel applet some major love: menu items are no longer
17973                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17974                         This allows the applet to actually reflect theme changes correctly,
17975                         since themeing of subclassed items in GTK _sucks_.
17976
17977 2005-02-18  Dan Williams  <dcbw@redhat.com>
17978
17979         * libnm_glib/libnm_glib.[ch]
17980           test/libnm_glib_test.c
17981                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17982                         and its data, and doesn't have to free the callback data anymore
17983
17984 2005-02-18  Dan Williams  <dcbw@redhat.com>
17985
17986         * panel-applet/NMWirelessApplet.c
17987                 - Revert 2005-02-18 William Jon McCann fix for standard
17988                         copyright string until it passes 'make distcheck'.
17989                         With standard copyright string, xgettext complains
17990                         about "Non-ASCII string at ...".
17991
17992 2005-02-18  Dan Williams  <dcbw@redhat.com>
17993
17994         * panel-applet/essid.glade
17995           panel-applet/NMWirelessAppletOtherNetworksDialog.c
17996                 - Correct spelling of "adaptor"->"adapter"
17997
17998 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17999
18000         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
18001         (nmwa_about_cb): Use standard copyright string.  Update comment
18002         text to reflect that it is a notification area applet.  Remove
18003         leading newline in authors list.
18004         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
18005         instead of on parent menu item activation.  Fixes #167550.
18006
18007 2005-02-18  William Jon McCann  <mccann@jhu.edu>
18008
18009         * panel-applet/essid.glade: Capitalize items as per HIG.
18010           Fixes #167632
18011
18012 2005-02-16  William Jon McCann  <mccann@jhu.edu>
18013
18014         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
18015         files for GTK 2.4 or lower, since now public in GTK 2.6.
18016
18017         * panel-applet/essid.glade: Don't specify window size.
18018         
18019 2005-02-17  Dan Williams  <dcbw@redhat.com>
18020
18021         Caught by Bill Moss:
18022         * dhcpcd/client.c
18023                 - Time remaining for DHCP transaction calculation was incorrectly
18024                         inside a #ifdef DEBUG
18025
18026 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
18027
18028         * configure.in: Added fr (French) to ALL_LINGUAS.
18029
18030 2005-02-14  Dan Williams  <dcbw@redhat.com>
18031
18032         * src/NetworkManagerDHCP.c
18033                 - (set_domain_searches): Fix free of invalid pointer
18034
18035 2005-02-14  Dan Williams  <dcbw@redhat.com>
18036
18037         Patch from Peter Jones:
18038         * dhcpcd/client.c
18039                 - Ensure we return RET_DHCP_CEASED everywhere we should
18040         * dhcpcd/udpipgen.c
18041                 - Use faster TOS for IP packets
18042                 - Don't set ip_id since we're UDP
18043
18044         Patch from Tomislav Vujec:
18045         * src/nm-dbus-dhcp.c
18046           test/nm-dhcp-opt-test.c
18047                 - Clean up warnings to enable cvs tree compilation.
18048
18049 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
18050
18051         * configure.in
18052           po/hr.po
18053                 - Add the Croatian locale.
18054
18055 2005-02-14  Colin Walters  <walters@verbum.org>
18056
18057         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18058         list of domains to search.
18059         
18060         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18061
18062 2005-02-13  Dan Williams  <dcbw@redhat.com>
18063
18064         * dhcpcd/client.c
18065                 - Debug output cleanups of DHCP option printing and parsing.
18066
18067 2005-02-13  Dan Williams  <dcbw@redhat.com>
18068
18069         Patch from Dan Reed:  DHCP options D-BUS API
18070                 Exposes the DHCP options that a device receives to clients over D-BUS.
18071
18072         * configure.in
18073                 - A few cleanups
18074
18075         * dhcpcd/client.h
18076                 - Correct names, option length, and types for DHCP options
18077
18078         * dhcpcd/dhcpcd.[ch]
18079                 - Clarify function names that access DHCP options & data
18080
18081         * src/NetworkManagerDHCP.c
18082                 - Use new DHCP data access functions
18083
18084         * src/NetworkManagerDbus.c
18085                 - Message handler for DHCP functions
18086
18087         * src/nm-dbus-dhcp.[ch] (new)
18088                 - DHCP dbus methods
18089
18090         * test/nm-dhcp-opt-test.c
18091                 - Test DHCP D-BUS API and return all present DHCP options
18092
18093 2005-02-12  Dan Williams  <dcbw@redhat.com>
18094
18095         * test/Makefile.am
18096           test/nmclienttest.c
18097           test/nmtest.c
18098                 - Move nmclienttest.c -> nmtest.c
18099
18100 2005-02-12  Dan Williams  <dcbw@redhat.com>
18101
18102         * dhcpcd/buildmsg.c
18103                 - Pad DHCP packets until they are at least 300 bytes in size.
18104
18105 2005-02-11  Dan Williams  <dcbw@redhat.com>
18106
18107         * dhcpcd/client.c
18108                 - (dhcp_init): only print out client ID and class ID if they are specified
18109
18110         * src/NetworkManagerDbus.[ch]
18111           src/nm-dbus-nm.[ch]
18112           src/nm-dbus-device.[ch]
18113           src/nm-dbus-net.[ch]
18114                 - Move NM, Device, and Net functions to separate files and use the
18115                         dbus method list stuff in NetworkManagerDbusUtils.c to do
18116                         method dispatching
18117
18118         * src/NetworkManagerDbusUtils.c
18119                 - Add new validate_method called before each dispatch (if present)
18120                         that can validate the method call
18121
18122         * src/NetworkManagerWireless.c
18123                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18124                         levels never to be evaluated
18125
18126         Patch from j@bootlab.org
18127         * src/NetworkManagerDevice.c
18128                 - Add typedef for "u64"
18129
18130         * src/backends/NetworkManagerDebian.c
18131                 - Copy in Dave Woodhouse's fixes for IPv6
18132
18133 2005-02-11  Dan Williams  <dcbw@redhat.com>
18134
18135         Patch from Dave Woodhouse for IPv6:
18136         * src/NetworkManagerUtils.c
18137                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18138                         and multicast addresses
18139
18140         * src/NetworkManagerDevice.c
18141                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18142                         after bringing up a card.
18143
18144 2005-02-10  Dan Williams  <dcbw@redhat.com>
18145
18146         Patch from Dave Woodhouse:
18147         * src/NetworkManagerSystem.h
18148           src/backends/NetworkManagerDebian.c
18149           src/backends/NetworkManagerGentoo.c
18150           src/backends/NetworkManagerSlackware.c
18151                 - New nm_system_device_add_ip6_link_address() function to add link-local
18152                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
18153
18154         * src/backends/NetworkManagerRedHat.c
18155                 - (nm_system_device_add_ip6_link_address): implement
18156                 - (nm_system_device_flush_addresses): revert to previous behavior of
18157                         flushing all addresses
18158
18159 2005-02-10  Dan Williams  <dcbw@redhat.com>
18160
18161         Patch from Tom Parker:
18162         * src/NetworkManagerDevice.c
18163                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18164                         mii.h headers are broken, and instead use our own typedefs
18165
18166 2005-02-10  Dan Williams  <dcbw@redhat.com>
18167
18168         * dhcpcd/buildmsg.c
18169                 - (fill_host_and_class_id): only fill in client and class IDs if
18170                         they are set by callers.
18171
18172         * dhcpcd/client.c
18173                 - (class_id_setup): don't autogenerate a class ID, only use one
18174                         we're given, if any.
18175                 - (client_id_setup): don't autogenerate a client ID, only use one
18176                         we're given, if any.
18177
18178         * dhcpcd/dhcpcd.c
18179                 - (dhcp_interface_init): ensure that client options are correctly
18180                         NULL terminated
18181
18182         * src/NetworkManagerDHCP.c
18183                 - (nm_device_dhcp_request): pass hostname to dhcp library
18184
18185 2005-02-10  Dan Williams  <dcbw@redhat.com>
18186
18187         * dhcpcd/client.c
18188                 - #rh147661# Don't send kernel version in DHCP requests
18189
18190         * src/NetworkManagerSystem.h
18191           src/backends/NetworkManagerDebian.c
18192           src/backends/NetworkManagerGentoo.c
18193           src/backends/NetworkManagerRedHat.c
18194           src/backends/NetworkManagerSlackware.c
18195                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18196                         functions, they are no longer used anyway
18197
18198         * src/backends/NetworkManagerRedHat.c
18199                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18200                         addresses in an attempt to keep IPv6 local-scope addresses around
18201
18202 2005-02-10  Dan Williams  <dcbw@redhat.com>
18203
18204         * src/NetworkManager.c
18205                 - (nm_create_device_and_add_to_list): change the add message slightly
18206
18207         * src/NetworkManagerUtils.c
18208                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18209                         Return driver name to calling function
18210                 - (nm_get_driver_support_level): print out the driver a device is using
18211                         during the support check
18212
18213         Patch from Dave Woodhouse:
18214         * dhcpcd/udpipgen.c
18215                 - (in_cksum): copy last byte of odd-sized packets into a
18216                         'u_short' rather than a 'u_char', should fix wrong checksums
18217                         on big-endian platforms
18218
18219 2005-02-09  Dan Williams  <dcbw@redhat.com>
18220
18221         * Clean up usage of GSList objects and looping through their members
18222         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18223                 now.
18224         * Fix problem where even if scanning was turned off, card would still
18225                 cycle through frequencies.
18226
18227 2005-02-08  Dan Williams  <dcbw@redhat.com>
18228
18229         * panel-applet/NMWirelessApplet.c
18230                 - Fix for gtk 2.4
18231
18232 2005-02-08  Dan Williams  <dcbw@redhat.com>
18233
18234         Patch from Bill Moss
18235         * panel-applet/NMWirelessApplet.c
18236                 - Restore correct ESSID in tooltips
18237
18238 2005-02-07  Dan Williams  <dcbw@redhat.com>
18239
18240         * panel-applet/NMWirelessApplet.[ch]
18241                 - Add a context menu that contains:
18242                         Pause/Resume Wireless Scanning
18243                         Stop/Start All Wireless Devices
18244                         About...
18245                 - Grab active device strength off active device,
18246                         not its network
18247
18248         * panel-applet/NMWirelessAppletDbus.[ch]
18249                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18250                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18251                 - Update active device strength every 2 seconds, not every 1 second
18252
18253         * panel-applet/menu-info.c
18254                 - Only disable wired devices in the menu when they support carrier detection,
18255                         and don't currently have a link.  Non-carrier-detect devices will always
18256                         remain choosable
18257
18258         * src/Makefile.am
18259           src/NetworkManagerDbusUtils.[ch]
18260                 - Add new new dbus utils sources
18261
18262         * src/NetworkManager.c
18263                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18264                         with the boolean parameter
18265                 - Set scanning_enabled & wireless_enabled to TRUE
18266
18267         * src/NetworkManagerDbus.c
18268                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18269                 - Implement scanning & wireless enable/disable calls
18270                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18271
18272         * src/NetworkManagerDevice.c
18273                 - New link detection stuff again...
18274                         o  Create device's mainloop earlier (but don't run it earlier)
18275                         o  Hook up new carrier-detect support stuff
18276                         o  Add in the ethtool & mii support detection code
18277                 - Don't scan if scanning is disabled
18278
18279         * src/NetworkManagerPolicy.c
18280                 - Never automatically choose a device that doesn't support carrier detection
18281                 - Don't automatically choose a wireless device if wireless is disabled
18282
18283 2005-02-07  Dan Williams  <dcbw@redhat.com>
18284
18285         * libnm_glib/libnm_glib.c
18286                 - Small cleanup in element list iteration
18287
18288 2005-02-07  Dan Williams  <dcbw@redhat.com>
18289
18290         * src/NetworkManagerWireless.c
18291                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18292                         to be in line with the WEXT quality specification
18293
18294 2005-02-02  Dan Williams  <dcbw@redhat.com>
18295
18296         Patch from Nathan Fredrickson <nathan@silverorange.com>
18297         * Fix up compile for deprecation of libgnomeui
18298                 - Switch to <glib/gi18n.h> from <libintl.h>
18299                 - Remove <libgnomeui/libgnomeui.h> includes
18300                 - Use gtk_window_set_default_icon_from_file() rather than
18301                         gnome_window_set_default_icon_from_file()
18302
18303         * named/nm-named-manager.c
18304                 - (generate_named_conf): Fix return-nothing in non-void
18305                         function
18306
18307 2005-02-02  Dan Williams  <dcbw@redhat.com>
18308
18309         * Clean up unused variables and the like
18310
18311 2005-02-02  Dan Williams  <dcbw@redhat.com>
18312
18313         * src/NetworkManagerAPList.c
18314                 - (nm_ap_list_merge_scanned_ap): merge strength too
18315
18316         * src/NetworkManagerUtils.c
18317                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18318                         of locking issues by printing out prettier information than g_mutex_lock
18319                 - Print out names of mutexes registered with nm_register_mutex_desc()
18320                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18321                         us to seemingly block here for too long
18322
18323         * src/NetworkManager.c
18324           src/NetworkManagerAPList.c
18325           src/NetworkManagerDevice.c
18326                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18327                         so we get better debug information printed
18328
18329         * src/NetworkManagerDbus.c
18330                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18331                         since it sometimes has locking side effects
18332                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18333                         from 10s
18334                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18335                         we don't need a switch.  This gets called often enough that we can't block
18336                         until the scan mutex is acquired, because we'll block on device activation
18337                         and a few other things, which hangs main thread for too long.
18338
18339         * src/NetworkManagerPolicy.c
18340                 - (nm_policy_auto_get_best_device): reduce the possiblity that
18341                         nm_device_need_ap_switch() will be called               
18342
18343 2005-02-02  Dan Williams  <dcbw@redhat.com>
18344
18345         * panel-applet/NMWirelessApplet.c
18346                 - Display name of wireless network we are connecting to or connected to
18347                         in the tooltip of the applet
18348
18349 2005-02-02  Dan Williams  <dcbw@redhat.com>
18350
18351         * src/NetworkManagerDHCP.c
18352                 - Hopefully fix double-default-route problem by cleaning up the default
18353                         route added by DHCP code right before the DHCP transaction begins
18354
18355 2005-02-02  Dan Williams  <dcbw@redhat.com>
18356
18357         * named/nm-named-manager.c
18358                 - Write out valid resolv.conf when we exit
18359
18360 2005-02-01  Dan Williams  <dcbw@redhat.com>
18361
18362         Patch from Colin Walters:
18363         * named/nm-named-manager.c
18364                 - Make multi-domain search options work
18365
18366 2005-01-31  Dan Williams  <dcbw@redhat.com>
18367
18368         * info-daemon/NetworkManagerInfoDbus.c
18369                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18370
18371         * src/NetworkManagerDevice.c
18372                 - (nm_device_new): Don't store the entire range struct, use only what we need
18373                         (which is currently avg_quality, max_quality, and frequencies).  Also
18374                         zero device structure when we've free'd it to maybe expose errors down
18375                         the line.
18376                 - (nm_device_update_signal_strength): grab the scan mutex before getting
18377                         quality data from the card since quality will be useless during a scan.
18378                         Call updated wireless qual-to-percent function with values stored in
18379                         nm_device_new() earlier.
18380                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18381                         nm_device_get_bad_crypt_packets())
18382                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18383                         nm_device_new()
18384                 - (get_initial_auth_method): always use the Auth method that's in the allowed
18385                         list if available.  Problem was this: when the WEP key is wrong, NM will
18386                         try OS then SK modes, and then get stuck in SK mode after that.  This
18387                         should reset it.
18388                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18389                         function
18390
18391         * src/NetworkManagerWireless.c
18392                 - (nm_wireless_qual_to_percent): try to make this function actually work and
18393                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
18394                         if that's all present, otherwise fall back to signal-to-noise ratios.
18395
18396 2005-01-29  Dan Williams  <dcbw@redhat.com>
18397
18398         * initscript/RedHat/NetworkManager
18399                 - Don't spit out sysctl stuff to console
18400
18401         * libnm_glib/libnm_glib.c
18402                 - (libnm_glib_init): call dbus_g_thread_init()
18403
18404         * panel-applet/NMWirelessAppletDbus.c
18405                 - (nmwa_dbus_worker): call dbus_g_thread_init()
18406
18407         * src/NetworkManager.c
18408                 - (main): call dbus_g_thread_init()
18409
18410         * src/NetworkManagerAPList.c
18411                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18412                         so we can actually see what's there in a normal syslog
18413
18414         * src/NetworkManagerDevice.c
18415                 - (nm_device_activate_wireless): print out the "waiting for access point"
18416                         message only once, then say what access point we actually got after
18417                         the wait.
18418                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18419                         function, wait until the scan is done.  Scans may change the ESSID of
18420                         the card, making this function think we need to switch access points
18421                 - (nm_device_wireless_process_scan_results): for artificial access points
18422                         don't check against the card's ESSID, but the best_ap's ESSID.  This
18423                         prevents collisions with the scanning code, which may change the card's
18424                         ESSID and cause the access point to get dropped from the device's AP
18425                         list.  Also increase the keep-around time to 2m from 60s since the max
18426                         scan interval could be 60s in some cases.
18427
18428         * src/NetworkManagerPolicy.c
18429                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18430                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18431                         the new properties and ESSIDs to the device's AP list.  Fixes some races
18432                         between NM and NMI.
18433
18434 2005-01-27  Dan Williams  <dcbw@redhat.com>
18435
18436         * info-daemon/NetworkManagerInfoDbus.c
18437                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18438                         GConf, make a minimal entry for it (essid & timestamp)
18439
18440         * src/NetworkManagerAPList.c
18441                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18442                         NetworkManagerInfo isn't running
18443
18444         * src/NetworkManagerDbus.[ch]
18445                 - (nm_dbus_nmi_is_running): new function
18446
18447         * src/NetworkManagerDevice.c
18448                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18449                         address to garbage.
18450
18451         * src/NetworkManagerPolicy.c
18452                 - (nm_policy_activation_finish): On successful activation, make sure
18453                         the "best" AP has a MAC address, and don't tell NMI to add the
18454                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18455                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18456                         access point after refreshing our allowed list if it doesn't already
18457                         have a "best" access point.
18458
18459 2005-01-25  Dan Williams  <dcbw@redhat.com>
18460
18461         * panel-applet/NMWirelessAppletDbus.c
18462                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18463                         so we check for NM_DBUS_SERVICE rather than not for it
18464
18465         * libnm_glib/libnm_glib.c
18466                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18467                         ServiceOwnerChanged signal
18468
18469 2005-01-25  Dan Williams  <dcbw@redhat.com>
18470
18471         * configure.in
18472                 - Check DBUS version in configure, and set the C macros
18473                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18474
18475         * info-daemon/NetworkManagerInfoDbus.c
18476                 - Remove #if 0-d section of code that quit NMI if NM went away.
18477
18478         * panel-applet/NMWirelessAppletDbus.c
18479                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18480
18481         * src/NetworkManager.c
18482           src/NetworkManagerMain.h
18483           src/NetworkManagerDbus.c
18484                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18485                 - Make updating of our Allowed Wireless Network lists from NMI
18486                         an idle function in the main thread now, with a high priority.
18487
18488 2005-01-24  Dan Williams  <dcbw@redhat.com>
18489
18490         * panel-applet/gtkcellview.[ch]
18491           panel-applet/menu-info.c
18492                 - Fix GTK version checks to be <= rather than <
18493
18494         * test/Makefile.am
18495                 - Include the libtool archive of libnm_glib rather than
18496                         trying to pull in the .so
18497
18498 2005-01-24  Dan Williams  <dcbw@redhat.com>
18499
18500         * src/NetworkManagerDevice.c
18501           src/NetworkManagerDevicePrivate.h
18502                 - Block nm_device_new() until our device's worker thread has had a
18503                         chance to start up.  Fixes a race between main thread and worker
18504                         thread starting that caused activation requests to get lost.
18505
18506 2005-01-24  Dan Williams  <dcbw@redhat.com>
18507
18508         * initscript/RedHat/NetworkManager
18509                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18510                         to add the NM startup script at priority 50, which was
18511                         way too early
18512
18513 2005-01-24  Colin Walters  <walters@redhat.com>
18514
18515         * named/named.conf: Use any port for query source instead of
18516         restricting to port 53.
18517
18518 2005-01-24  Dan Williams  <dcbw@redhat.com>
18519
18520         * initscript/RedHat/NetworkManager
18521                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18522                         to add the NM startup script at priority 50, which was
18523                         way too early
18524
18525 2005-01-24  Dan Williams  <dcbw@redhat.com>
18526
18527         Patch from Tom Parker <palfrey@tevp.net>
18528         * Fix up compile warnings & errors in the wireless applet
18529
18530 2005-01-24  Dan Williams  <dcbw@redhat.com>
18531
18532         * panel-applet/NMWirelessApplet.c
18533                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18534
18535 2005-01-24  Dan Williams  <dcbw@redhat.com>
18536
18537         * panel-applet/gtkcellview.[ch]
18538                 - Only compile these files for GTK 2.4 or lower, since 
18539                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18540                         when choosing "Other Wireless Networks" from the panel
18541                         applet menu
18542
18543 2005-01-21  Dan Williams  <dcbw@redhat.com>
18544
18545         * src/NetworkManager.c
18546                 - Daemonize earlier so that glib doesn't get confused (?)
18547
18548 2005-01-21  Dan Williams  <dcbw@redhat.com>
18549
18550         * panel-applet/NMWirelessApplet.[ch]
18551           panel-applet/NMWirelessAppletDbus.c
18552           panel-applet/menu-info.c
18553           src/NetworkManagerDevice.c
18554                 - Disable wired devices in the menu when they have no link.
18555
18556 2005-01-21  Dan Williams  <dcbw@redhat.com>
18557
18558         * Cache last-known-good wireless authentication method in
18559                 NetworkManagerInfo, and use that method first during
18560                 wireless device activation.  Should speed up devices that
18561                 need Shared Key authentication method since Open System is
18562                 now the default.
18563
18564         * Remove the hack to not do full activation on wired connections
18565                 that are active when we launch, it causes too many problems
18566                 with name resolution and was a hack in the first place.
18567
18568         * Re-work wireless device activation again somewhat to have a
18569                 clearer chain of events and to use last-known-good
18570                 authentication method of the access point.  Also provide
18571                 better status throughout activation to ensure the applet
18572                 can tell the user exactly what's going on.
18573
18574         * Remove the "find wireless network" code and now simply attempt
18575                 to activate with that access point.  This reduces the delay
18576                 between selecting "Other wireless Network" and actually
18577                 connecting to that network.
18578
18579         * Correctly stop the device's worker thread when its removed.
18580
18581 2005-01-21  Dan Williams  <dcbw@redhat.com>
18582
18583         * dhcpcd/client.c
18584                 - Clean up some of the debug messages
18585
18586 2005-01-21  Dan Williams  <dcbw@redhat.com>
18587
18588         * Add new icons, more frames of animation
18589         * Remove some hacks to get the panel applet to display correct
18590                 status, an NM update will soon follow that will fix the
18591                 real issue.
18592
18593 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18594
18595         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18596         the first include for working i18n. Also, don't include it in .h files
18597         * panel-applet/NMWirelessApplet.h: Same
18598         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18599         * panel-applet/menu-info.c: Same
18600
18601 2005-01-18  Dan Williams <dcbw@redhat.com>
18602
18603         * dhcpcd/client.c
18604                 - Remove some debug messages
18605                 - Wrap others in #ifdef DEBUG/#endif
18606
18607         * src/NetworkManager.c
18608                 - Remove some debug messages
18609                 - Clarify some debug messages
18610                 - Remove code related to old single-thread wireless scanning
18611
18612         * src/NetworkManagerAP.[ch]
18613                 - New AP property "last_seen" to track how recently an AP was
18614                         found in a scan
18615                 - Start using 'const' more in function arguments
18616
18617         * src/NetworkManagerAPList.[ch]
18618                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18619                         of an AP found in an AP list from a source AP, or if not found
18620                         in the list add the source AP
18621                 - (nm_ap_list_combine): remove, no longer needed
18622
18623         * src/NetworkManagerDevice.c
18624                 - Each device now has a "worker" thread from start to end of its life.
18625                         Scanning for wireless devices now happens in that thread,
18626                         not in a single "wireless scanning thread" for all devices as
18627                         previously.  Activation consists of adding an idle handler to the
18628                         thread's main loop/context, which gets run at the next available
18629                         opportunity.
18630                 - Wireless scanning is also simplified, there is now only one list of
18631                         access points per wireless device, and APs older than 60s are
18632                         removed from the list.  Previously, we kept results for the last
18633                         3 scans and merged whole lists, which was complicated.
18634                 - Cleaned up activation debug messages.
18635                 - Wireless activation and access-point search routines now use Open System
18636                         authentication before trying Shared Key.
18637                 - Removed some code in nm_device_update_best_ap() that could cause cards
18638                         to loose their link to the access point.
18639                 - Scanning now uses a backoff algorithm, where the inverval becomes
18640                         progressively longer between scans when the list of scanned access
18641                         points doesn't change.  A change will revert to the shortest scan
18642                         interval (20s).
18643
18644         * src/NetworkManagerWireless.[ch]
18645                 - Remove code related to old single-thread wireless scanning
18646
18647 2005-01-18  Colin Walters  <walters@redhat.com>
18648
18649         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18650         of older nameservers.
18651
18652 2005-01-18  Colin Walters  <walters@redhat.com>
18653
18654         * named/nm-named-manager.c (generate_named_conf): Many fixes
18655         to config file generation.
18656         (safer_kill): Remove, was too much trouble for little gain.
18657         (nm_named_manager_start): Run named as NM_NAMED_USER.
18658
18659         * configure.in: Add option --with-named-user.
18660
18661 2005-01-14  Colin Walters  <walters@redhat.com>
18662
18663         Patch from ed@catmur.co.uk (Ed Catmur)
18664
18665         * named/nm-named-manager.c: Add "context" property.
18666         Use it to add child watch source in specific GMainContext.
18667
18668         * src/NetworkManager.c (nm_data_new): Initialize
18669         named with correct main context.  Start named only
18670         after forking.
18671
18672 2005-01-14  Colin Walters  <walters@redhat.com>
18673
18674         * named/nm-named-manager.c (generate_named_conf): Write config
18675         and pid files into NM_NAMED_DATA_DIR; this allows things to
18676         work better with FC3 named SELinux policy.  Also fix up silly
18677         format error.
18678
18679         * configure.in: Add --with-named-dir option.
18680
18681 2005-01-14  Colin Walters  <walters@redhat.com>
18682
18683         * configure.in: Make named support require passing --with-named.
18684
18685         * named/nm-named-manager.c: Support writing resolv.conf directly
18686         without running named.
18687
18688 2005-01-13  Dan Williams <dcbw@redhat.com>
18689
18690         * named/nm-named-manager.c
18691                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18692
18693         * src/NetworkManagerDevice.c
18694                 - Rework wireless link detection code to be more reliable
18695
18696 2005-01-12  Dan Williams <dcbw@redhat.com>
18697
18698         * initscripts/RedHat/NetworkManager
18699                 - Change initial level to "-" rather than "345" so that
18700                         we don't activate ourselves by default on install
18701
18702 2005-01-12  Dan Williams <dcbw@redhat.com>
18703
18704         * libnm_glib/
18705                 - Client library for applications using glib
18706
18707         * configure.in
18708           various Makefiles
18709                 - Split NM_CFLAGS and NM_LIBS into separate variables
18710                         like DBUS_*, HAL_* and GLIB_*
18711
18712         * src/NetworkManager.c
18713           src/NetworkManagerMain.h
18714                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18715                         broadcast a status changed signal over DBUS from the main thread.
18716                         Still unused anywhere for the moment.
18717
18718         Patch from j@bootlab.org
18719         * panel_applet/NMWirelessAppletDbus.c
18720           src/NetworkManagerDbus.c
18721                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18722                         for the "getMode" method call
18723
18724 2005-01-10  Dan Williams <dcbw@redhat.com>
18725
18726         * src/NetworkManagerDevice.c
18727                 - Minor fixups & corrections to "auto" frequency mode, make it
18728                         less chatty with syslog
18729
18730 2005-01-10  Dan Williams <dcbw@redhat.com>
18731
18732         * src/NetworkManagerDevice.c
18733                 - Implement "auto" frequency/channel support, since cards like Atheros
18734                         can't use other frequencies at all when you've told it to use a
18735                         specific one, even for scanning.
18736                 - Grab the scan mutex around places where we can't tolerate wireless
18737                         settings changing underneath us, like nm_device_wireless_network_exists()
18738                         and nm_device_activate_wireless()
18739
18740         * src/NetworkManagerWireless.c
18741                 - Back scan interval off to 20s instead of 14s
18742
18743 2005-01-09  Dan Williams <dcbw@redhat.com>
18744
18745         * src/NetworkManagerDevice.c
18746                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18747                         already set.  Stops some drivers like Atmel from continually
18748                         reloading the firmware, which they do upon every configuration
18749                         change.
18750
18751 2005-01-09  Dan Williams <dcbw@redhat.com>
18752
18753         * dhcpcd/client.c
18754                 - Use correct timeout value
18755
18756         * info-daemon/NetworkManagerInfoDbus.c
18757           src/NetworkManagerDbus.c
18758                 - Consolidate communication between NM and NMI by doing only 1 dbus
18759                         method call to get Wireless Network info from NMI instead of 6
18760
18761         * src/NetworkManager.c
18762                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18763                         when we didn't have an AP to use, we'd wait for one forever without
18764                         quitting
18765
18766         * src/NetworkManagerDevice.c
18767                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18768                         activation, dhcp might not have started yet but we don't quit activation
18769                         before starting it, so the quit signal gets lost
18770
18771 2005-01-07  Dan Williams <dcbw@redhat.com>
18772
18773         * dhcpcd/client.c
18774                 - Rework the DHCP client code to be much less chatty when
18775                         it receives non-DHCP UDP packets during the DHCP run
18776                         (reported by and preliminary patches from Bill Moss)
18777
18778         * Move wireless scanning to a separate thread.  This thread forwards the
18779                 results to the main thread when done where they are integrated into
18780                 the device's access point lists.  This keeps the main thread (which
18781                 does all the DBUS communication) from being blocked for long periods
18782                 of time by wireless scanning.
18783
18784         * Make state modification an idle routine in the main loop, and trigger
18785                 state changes rather than polling for them.
18786
18787         * src/backends/NetworkManagerGentoo.c
18788                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18789
18790         * src/NetworkManagerDevice.c
18791                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18792                         router advertisements, causing problems and infinite loop
18793                         during "best" device determination due to link going up/down
18794                         (reported by Bill Moss)
18795
18796         Apply patch from Peter Jones
18797         * src/NetworkManagerDevice.c
18798                 - Shortcut for link-checking for ipw2x00 cards
18799                 - Split out association check into separate routine
18800
18801 2004-01-05  Colin Walters  <walters@redhat.com>
18802
18803         * named/named.conf: Add PID_FILE.
18804
18805         * named/nm-named-manager.c: Always generate a pid
18806         file, since older BIND versions don't support
18807         "pid-file none".
18808
18809 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18810
18811         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18812
18813 2004-12-22  Dan Williams <dcbw@redhat.com>
18814
18815         * src/NetworkManagerDevice.c
18816                 - Silently fail when setting bitrate doesn't work
18817
18818
18819         Patches from j@bootlab.org:
18820         * src/backends/NetworkManagerDebian
18821                 - Update backend to match functionality in RedHat backend
18822         * src/NetworkManagerDevice.c
18823                 - Take down then bring up wired devices after connection so
18824                 they send out ipv6 router advertisements
18825
18826 2004-12-21  Colin Walters  <walters@verbum.org>
18827
18828         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18829         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18830
18831 2004-12-21  Colin Walters  <walters@redhat.com>
18832
18833         * configure.in: Correct named detection.
18834
18835 2004-12-21  Colin Walters  <walters@redhat.com>
18836
18837         * src/NetworkManager.c (nm_data_new): Initialize named.
18838         Also, set up a signal handler for SIGINT/SIGTERM, and exit
18839         the mainloop when these signals are received.
18840         (nm_data_free): Unref named.
18841         (sigterm_handler, sigterm_pipe_handler): New functions for
18842         exiting mainloop.
18843         
18844         * src/NetworkManagerMain.h (NMData): Add signal handling and
18845         nameserver bits.
18846
18847         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18848         unref.
18849
18850         * src/NetworkManagerDHCP.c (set_nameservers): New function;
18851         set nameservers from DHCP response data.
18852         (set_domain_search): Set domain search from DHCP response.
18853         (nm_device_dhcp_configure): Invoke them.
18854
18855         * src/NetworkManagerSystem.c
18856         (nm_system_device_update_resolv_conf): Delete.  Deleting
18857         code is totally sweet.
18858
18859         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18860
18861         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18862         implements an object which controls a nameserver.  Currently
18863         uses bind 9.
18864
18865         * configure.in: Check for named.
18866
18867         * Makefile.am (SUBDIRS): Add named dir.
18868
18869         * named/named.conf: New template config file.
18870
18871 2004-12-20  Colin Walters  <walters@redhat.com>
18872
18873         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18874         instead of '='.
18875
18876 2004-12-17  Dan Williams  <dcbw@redhat.com>
18877
18878         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
18879                 link-local addresses instead of doing DHCP.
18880
18881         * In the panel applet, there's a new "Create new Wireless Network..." item
18882
18883         * The panel applet also sticks around now even if NetworkManager dies, but
18884                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
18885                 a bug, I'll fix that later.
18886
18887         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18888                 lookups after a switch rather than actually doing them.
18889
18890         * Clean up some of those warnings in nm_ap_list_* functions
18891
18892         * Delay between scans changed to 15s instead of 10s
18893
18894 2004-12-15  Dan Williams  <dcbw@redhat.com>
18895
18896         Patch from Tom Parker
18897         * Add autoip/Link Local Addressing support when we fail to get a DHCP
18898                 address
18899
18900         * Longer pause after setting ESSID on cards that support a larger number
18901                 of channels to give the card time to find the right channel
18902
18903         * Add system hook to restart mDNSResponder (or whatever the local implementation
18904                 of Multicast DNS is) when we activate interfaces
18905
18906 2004-12-15  Dan Williams  <dcbw@redhat.com>
18907
18908         * Rework the DHCP code again to revert to sending full ethernet frames
18909                 rather then relying on the kernel to do the right thing with our
18910                 packets.
18911
18912 2004-12-06  Dan Williams  <dcbw@redhat.com>
18913
18914         * dhcpcd/client.c
18915                 - Fix some minor errors in dhcp_handle_transaction() that caused
18916                         unexpected early timeouts of DHCP transactions
18917
18918         * dhcpcd/client.h
18919                 - DHCP retransmit time from 4s -> 5s
18920
18921 2004-12-05  Dan Williams  <dcbw@redhat.com>
18922
18923         * Major rework of the DHCP code, taking some cues from pump.  We don't
18924                 write raw Ethernet packets anymore, which simplifies the code quite
18925                 a bit.  The new code should be more robust, not hang in recvfrom()
18926                 as much, and generally work better.  This also means that we need
18927                 to force HAL/dbus to use a created GMainContext rather than the
18928                 default context, since having the DHCP renew/rebind thread using
18929                 its own GMainContext seemed to give dbus a fit.  There is also more
18930                 debugging information printed from the DHCP loop to help with future
18931                 problems.
18932
18933         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18934                 assume that the default gateway should be the DHCP server.
18935
18936         Patch from Matthew Schick <matt oss-institute org>
18937         * src/backends/NetworkManagerGentoo.c
18938                 - Fix compilation error due to missing "ip4_broadcast"
18939
18940 2004-12-03  Dan Williams  <dcbw@redhat.com>
18941
18942         * initscript/Makefile.am
18943         * initscript/Debian/NetworkManager
18944         * initscript/Gentoo/NetworkManager
18945         * initscript/RedHat/NetworkManager
18946         * initscript/NMLaunchHelper.c
18947                 - Remove NMLaunchHelper, if you need to wait until the network
18948                         comes up, use the dead code from CVS.
18949
18950 2004-12-01  Colin Walters  <walters@redhat.com>
18951         
18952         * configure.in: Suck in gcc warnings code from Rhythmbox,
18953         but use fewer default flags, and in particular add -Wno-unused,
18954         since the codebase has a lot of unused variables.
18955
18956         * test/nmtestdevices.c (create_device): 
18957         * test/nminfotest.c (get_network_string_property) 
18958         (get_networks_of_type): 
18959         * test/nmclienttest.c (main): 
18960         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
18961         * initscript/NMLaunchHelper.c (get_nm_status): 
18962         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
18963         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
18964         Fix declarations after statements.
18965
18966 2004-12-01  Colin Walters  <walters@redhat.com>
18967
18968         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18969         (nmi_dbus_get_vpn_userpass): New method.
18970         (nmi_dbus_nmi_message_handler): Invoke it.
18971
18972         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18973
18974         * info-daemon/NetworkManagerInfoVPN.h,
18975         info-daemon/NetworkManagerInfoVPN.c: New files; responds
18976         to requests for VPN passwords.
18977
18978         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18979
18980 2004-12-01  Colin Walters  <walters@redhat.com>
18981
18982         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18983         includes.
18984
18985 2004-12-01  Colin Walters  <walters@redhat.com>
18986
18987         * panel-applet/NMWirelessAppletDbus.c
18988         (nmwa_dbus_update_active_device_strength): Fix missing
18989         return value.
18990
18991 2004-12-01  Colin Walters  <walters@redhat.com>
18992
18993         * panel-applet/NMWirelessApplet.c: Add missing include.
18994
18995 2004-12-01  Colin Walters  <walters@redhat.com>
18996
18997         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18998         Remove useless CLAMP (); the value is unsigned, and the case tests
18999         qual->qual < 100, so the value must always be between 0 and 100.
19000
19001 2004-12-01  Colin Walters  <walters@redhat.com>
19002
19003         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
19004
19005 2004-11-22  Colin Walters  <walters@verbum.org>
19006
19007         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
19008         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
19009         which is essentially a noop since nscd caches hosts on disk too.
19010         
19011 2004-11-22  Colin Walters  <walters@redhat.com>
19012
19013         * src/Makefile.am (NetworkManager_SOURCES): Add
19014         NetworkManagerDevicePrivate.h.
19015
19016 2004-11-22  Dan Williams <dcbw@redhat.com>
19017
19018         * src/NetworkManagerDevicePrivate.h
19019                 - Split out the NMDevice struct to a different file so that stuff like
19020                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
19021
19022         * dhcpcd/client.c
19023                 - fprintf->syslog
19024                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
19025                         need to cancel the dhcp request during the send and recv
19026
19027         * dhcpcd/client.h
19028                 - Move the DHCP option enum to dhcpcd.h
19029
19030         * src/NetworkManagerDHCP.c
19031                 - Split out the actual IP/netmask/etc setting code
19032                 - New Renew/Rebind functions
19033                 - New timer setup function for renew/rebind operations
19034
19035         * src/NetworkManagerDevice.c
19036                 - For device activation, if we are using DHCP then keep the activation thread
19037                         alive until device deactivation.  We need to renew/rebind the DHCP address
19038                         after the T1 (renew) and T2 (rebind) times have expired.
19039                 - Increase some timeouts after bringing wireless cards up/down
19040
19041 2004-11-17  Dan Williams <dcbw@redhat.com>
19042
19043         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19044                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
19045                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
19046                 show known access points that don't broadcast their ESSID in the menus without
19047                 any user intervention whatsoever.
19048
19049         * info-daemon/NetworkManagerInfoDbus.c
19050                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19051                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19052
19053         * src/NetworkManagerAP.[ch]
19054                 - Add a "user_addresses" data member to the NMAccessPoint structure
19055                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19056                         the user_addresses data member
19057
19058         * src/NetworkManagerAPList.c
19059                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19060                         the AP's reported address
19061                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19062
19063         * src/NetworkManagerDHCP.c
19064                 - Increase DHCP timeout from 25s -> 30s
19065
19066         * src/NetworkManagerDbus.[ch]
19067                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19068                         user addresses
19069
19070         * src/NetworkManagerDevice.c
19071                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19072                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
19073                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19074                         So, we take the card down to clear it out.
19075                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19076                         too, since that's where the user_addresses are
19077
19078         * src/NetworkManagerPolicy.c
19079                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19080                         that wireless networks' user_addresses list upon successful activation
19081
19082 2004-11-16  Dan Williams <dcbw@redhat.com>
19083
19084         * src/NetworkManagerDevice.[ch]
19085                 - (nm_device_clear_activation_fail): new function
19086
19087         * src/NetworkManagerPolicy.c
19088                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19089                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19090
19091 2004-11-16  Dan Williams <dcbw@redhat.com>
19092
19093         * src/NetworkManagerDevice.c
19094                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19095                         leak the structure, better updating of now_scanning status
19096                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19097
19098 2004-11-15  Dan Williams <dcbw@redhat.com>
19099
19100         Major rework of link detection code.  We now use DHCP
19101         as part of the link detection which proves to be much more robust,
19102         and also supports Open System authentication for wireless networks.
19103
19104         We no longer use external DHCP client programs.  Instead, we use 
19105         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19106         which was written by:
19107                 Yoichi Hariguchi <yoichi@fore.com>
19108                 Sergei Viznyuk <sv@phystech.com>
19109                 http://www.phystech.com/download/
19110         It resides in the "dhcpcd" directory and was refactored into a general
19111         purpose DHCP client library by me.
19112
19113         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19114         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19115
19116 2004-11-15  Dan Williams <dcbw@redhat.com>
19117
19118         Patch from Tom Parker <palfrey@tevp.net>:
19119
19120         * src/NetworkManagerDevice.c
19121                 - Less output to console when no access
19122                         points are found during a scan
19123
19124 2004-11-15  Dan Williams <dcbw@redhat.com>
19125
19126         Patch from Tom Parker <palfrey@tevp.net>:
19127
19128         * src/backends/interface_parser.c
19129                 - Use g_strdup ()
19130                 - Check for inp == NULL
19131                 - use syslog ()
19132
19133 2004-11-13  Colin Walters  <walters@redhat.com>
19134
19135         Patch from Tom Parker <palfrey@tevp.net>:
19136
19137         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19138         
19139         * src/backends/NetworkManagerRedHat.c: Switch to
19140         including shvar.h instead of shvar.c.
19141
19142         * src/backends/NetworkManagerDebian.c: Don't include
19143         interface_parser.c in source file.
19144
19145         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19146         and interface_parser.[ch].
19147         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19148         Include shvar.c and shvar.h here.
19149         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19150         interface_parser.c and interface_parser.h here.
19151
19152 2004-11-12  Colin Walters  <walters@redhat.com>
19153
19154         * configure.in: Strip out TARGET_DISTRO and
19155         SYSTEM_BACKEND_FILE variables.  Switch to Automake
19156         conditionals.
19157
19158         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19159         (libnmbackend_la_SOURCES): Use Automake conditionals
19160         to add distro-specific files.
19161
19162         * initscript/Makefile.am (SUBDIRS): Update to
19163         use conditionals.
19164
19165 2004-11-12  Colin Walters  <walters@redhat.com>
19166
19167         Patches from j bootlab org
19168
19169         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
19170         Add interface_parser.[ch].
19171
19172         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19173         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19174
19175 2004-11-12  Colin Walters  <walters@redhat.com>
19176
19177         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19178         call to nmi_dbus_is_running too, not necessary anymore.
19179         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19180         pick up exit().
19181
19182 2004-11-11  Colin Walters  <walters@verbum.org>
19183
19184         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19185         Delete.
19186         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19187         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19188         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19189         This avoids a race condition that made it pretty easily
19190         possible to get two NetworkManagerInfo daemons running.
19191
19192 2004-11-11  Colin Walters  <walters@verbum.org>
19193         
19194         * src/NetworkManager.c (main): Use daemon(3).
19195
19196         * info-daemon/NetworkManagerInfo.c (main): Ditto.
19197
19198         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19199
19200 2004-11-10 Dan Williams <dcbw@redhat.com>
19201
19202         Patches from j bootlab org
19203         * src/NetworkManagerDevice.c
19204                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19205                         whether the card has a link or not, some cards are slow
19206                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19207
19208         * info-daemon/NetworkManagerInfoPassphraseDialog.c
19209                 - Disable the "Login" button on the passphrase dialog until the user
19210                         enters a valid passphrase or key
19211
19212         Patches from Tom Parker <palfrey tevp net>
19213         * src/backends/NetworkManagerDebian.c
19214                 - Add static IP support to the debian backend
19215
19216         * src/backends/interface_parser.[ch]
19217                 - Parse debian interface config files
19218
19219 2004-11-08 Dan Williams <dcbw@redhat.com>
19220
19221         * src/NetworkManagerDevice.c
19222                 - Some random fprintf->syslog conversions
19223                 - (nm_device_wireless_network_exists): double-check for network
19224                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19225
19226         * src/NetworkManagerWireless.[ch]
19227                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19228                         so that the binary->ascii conversion works (if unsigned, the bitshift
19229                         will fill with zeros, which is what's required).  Also mask bitshift
19230                         result with 0xF for futher assurance.
19231
19232 2004-11-06 Dan Williams <dcbw@redhat.com>
19233
19234         * src/NetworkManagerUtils.c
19235                 - (nm_get_wireless_driver_support_level): default to
19236                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19237                         flip this when changing from whitelist->blacklist of
19238                         wireless drivers
19239
19240 2004-11-05 Dan Williams <dcbw@redhat.com>
19241
19242         Patch from Robert Paskowitz:
19243         * src/backends/NetworkManagerGentoo.c
19244                 - Update static IP config code
19245
19246 2004-11-05 Dan Williams <dcbw@redhat.com>
19247
19248         * info-daemon/NetworkManagerInfoDbus.c
19249           src/NetworkManagerDbus.[ch]
19250           src/NetworkManagerDevice.c
19251                 - Keep track of the # of attempts to get the WEP key
19252                         from the user and pass that along to the info daemon
19253
19254 2004-11-05 Dan Williams <dcbw@redhat.com>
19255
19256         * src/NetworkManagerUtils.c
19257                 - Blacklist wireless cards rather than whitelisting them.
19258                 - Grab driver name from HAL rather than trying to find it
19259                         ourselves.
19260
19261 2004-11-03 Dan Williams <dcbw@redhat.com>
19262
19263         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19264                 - Disable OK button until valid data is entered
19265                         for encryption stuff too
19266
19267         * panel-applet/NMWirelessApplet.c
19268                 - Report card strength for current AP if the card
19269                         doesn't report strength data for scanned access
19270                         points
19271
19272         * src/NetworkManagerDevice.c
19273                 - Smooth out cards reported quality, Atmel card was
19274                         intermittently reporting no quality data but soon
19275                         recovers
19276
19277         * src/NetworkManagerWireless.c
19278                 - Better quality data percentage calculation.  Atmel
19279                         cards (mine at least) seem to report the quality
19280                         in percentage format already, so honor that
19281
19282         Patch from <j@bootlab.org>
19283         * NetworkManager.h
19284           info-daemon/NetworkManagerInfoPassphraseDialog.c
19285           info-daemon/passphrase.glade
19286           panel-applet/NMWirelessAppletOtherNetworkDialog.c
19287           panel-applet/essid.glade
19288           src/NetworkManagerAP.c
19289           src/NetworkManagerDevice.c
19290           src/NetworkManagerWireless.[ch]
19291                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19292
19293 2004-11-03 Dan Williams <dcbw@redhat.com>
19294
19295         * src/NetworkManagerDevice.[ch]
19296                 - (nm_device_set_enc_key): Add parameter to set Authentication
19297                         Mode (Open System, Shared Key, or None).  We're still using
19298                         Shared Key for now though.
19299
19300 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
19301
19302         * panel-applet/menu-info.c: change from bold text to light
19303         colored, may cause problems with some themes, i've tested a lot
19304         and they seem fine. 
19305
19306         * panel-applet/NMWirelessApplet.c: fix strength tooltip
19307
19308 2004-11-01  Colin Walters  <walters@verbum.org>
19309
19310         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19311         (nm_wireless_128bit_key_from_passphrase): Add const.
19312
19313         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19314         (nm_ap_set_enc_key_source): Add const.
19315         
19316 2004-11-01  Colin Walters  <walters@verbum.org>
19317
19318         * .cvsignore: Update.
19319
19320 2004-10-29 Dan Williams <dcbw@redhat.com>
19321
19322         * src/NetworkManagerDevice.c
19323                 - (nm_device_wireless_network_exists): Actually use the encryption
19324                         key we got from the applet when attempting to find a wireless network
19325                 - Don't bring devices down so much since on some cards it triggers
19326                         firmware hotplugs each time
19327
19328         * src/NetworkManagerDbus.c
19329                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19330                         from the caller
19331
19332 2004-10-29 Dan Williams <dcbw@redhat.com>
19333
19334         * src/NetworkManager.c
19335                 - (nm_hal_device_property_modified): unlock a locked active
19336                         wireless device when a wired connection gets a link.
19337                         (Means you'll switch to wired whenever you plug in no
19338                         matter what).
19339
19340 2004-10-29 Dan Williams <dcbw@redhat.com>
19341
19342         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19343                 - New files, implement the "Other wireless network" dialog
19344
19345         * panel-applet/NMWirelessApplet.c
19346                 - Move "other wireless network" dialog to separate file
19347
19348         * panel-applet/NMWirelessAppletDbus.[ch]
19349                 - Take key and key_type paramaters for the set_device function
19350
19351         * panel-applet/essid.glade
19352                 - Add UI bits for encryption settings
19353
19354         * src/NetworkManagerDbus.c
19355                 - Retrieve key and key_type params for "setActiveDevice" method call
19356                         and pass them on
19357                 - unref AP returned from nm_device_get_best_ap() when needed
19358
19359         * src/NetworkManagerDevice.c
19360                 - (nm_device_get_best_ap): ref the ap before returning it
19361                 - unref AP returned from nm_device_get_best_ap() when needed
19362                 - (nm_device_activate_wireless): add "ap" parameter so we don't
19363                         need to call nm_device_get_best_ap() here, it was pretty much
19364                         redundant anyway
19365                 - (AP_NEED_KEY): break second link check condition out into separate
19366                         function, and fix segfault when ap->enc_key_source was NULL
19367                 - (nm_device_find_and_use_essid): take key and key_type parameters and
19368                         pass them along to nm_device_wireless_network_exists().  If the
19369                         network does exist, set the passed-in key+key_type on the AP
19370
19371         * src/NetworkManagerPolicy.c
19372                 - unref AP returned from nm_device_get_best_ap() when needed
19373
19374 2004-10-28 Dan Williams <dcbw@redhat.com>
19375
19376         * src/NetworkManagerUtils.c
19377                 - (nm_spawn_process): Fix a potential dereference of NULL
19378
19379         Patches from Peter Jones:
19380
19381         * src/NetworkManagerDevice.c
19382                 - (nm_device_test_wireless_extensions): Better check for
19383                         wireless devices
19384
19385         * src/NetworkManagerUtils.c
19386                 - (nm_spawn_process): Pass in valid stdout and stderr so
19387                         executed programs don't randomly SIGPIPE and fail
19388                 - (nm_get_wired_driver_support_level): quash hal warning
19389                         when checking for USB ethernet device
19390
19391 2004-10-27 Dan Williams <dcbw@redhat.com>
19392
19393         * info-daemon/NetworkManagerInfo.c
19394           info-daemon/NetworkManagerInfoDbus.c
19395           info-daemon/NetworkManagerInfoPassphraseDialog.c
19396           panel-applet/NMWirelessApplet.c
19397                 - Properly escape gconf keys
19398
19399         * src/NetworkManager.c
19400                 - remove unused variables
19401
19402         * src/NetworkManagerAP.c
19403                 - (nm_ap_new_from_ap): Don't redundantly set new APs
19404                         refcount since it got set in nm_ap_new()
19405
19406         * src/NetworkManagerAPList.c
19407                 - (nm_ap_list_combine): Give up ownership of newly created
19408                         access points to the ap list, fixes memleak
19409
19410         * src/NetworkManagerDevice.c
19411                 - Remove cached_ap_list4 member since its not really needed
19412                 - (nm_device_wireless_network_exists): Try to get correct
19413                         encryption status of a found AP if its already in our
19414                         device list
19415                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19416                         memory allocs/deallocs a bit clearer and shorter-lived
19417
19418 2004-10-26 Ray Strode <rstrode@redhat.com>
19419
19420         * panel-applet/NMWirelessApplet.c:
19421           (custom_essid_item_selected):  kill some compiler
19422         warnings 
19423
19424 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19425
19426         * info-daemon/NetworkManagerInfoDbus.c
19427                 - (nmi_dbus_is_running): New function for determining if nmi is already running
19428                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19429
19430 2004-10-23 Dan Williams <dcbw@redhat.com>
19431
19432         * info-daemon/NetworkManagerInfoDbus.c
19433                 - Trap the "DeviceActivationFailed" signal
19434
19435         * docs/NetworkManager DBUS API.txt
19436                 - Add "DeviceActivationFailed" signal
19437
19438         * panel-applet/NMWirelessAppletDbus.c
19439                 - Quash the "NetworkManager service not available" message
19440
19441         * src/NetworkManagerDbus.[ch]
19442                 - Add the "DeviceActivationFailed" signal
19443
19444         * src/NetworkManagerDevice.c
19445                 - Add support for activation_failed flag
19446                 - Fix deadlock where activation thread didn't clean itself up, making
19447                         main thread still believe it was alive forever (didn't reset activation
19448                         flags like activating, just_activated, etc when IP configuration
19449                         failed)
19450
19451         * src/NetworkManagerPolicy.c
19452                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19453                         for wireless networks, try to fall back to some other access point
19454
19455 2004-10-23 Dan Williams <dcbw@redhat.com>
19456
19457         * panel-applet/NMWirelessApplet.[ch]
19458                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19459                         to the applet object, so we can get tooltips
19460                 - Add tooltips (RH #136866)
19461
19462         * src/NetworkManagerDevice.c
19463                 - When trying to find a wireless network, try to connect with encryption
19464                         turned on first, so that we can more accurately detect whether or not
19465                         we need to use encryption for the actual association later on
19466
19467 2004-10-21 Dan Williams <dcbw@redhat.com>
19468
19469         * Add some support for telling NetworkManagerInfo to tell the user
19470                 that they are using a device that's not fully supported
19471
19472         * Fix some assertions in debug messages due to null access point args
19473
19474 2004-10-21 Dan Williams <dcbw@redhat.com>
19475
19476         * src/NetworkManagerDevice.c
19477                 - Don't try to activate/bring up/down unsupported
19478                         devices
19479
19480         * src/NetworkManagerUtils.c
19481                 - Fix case of PCI ID checks for driver support levels
19482
19483 2004-10-21 Dan Williams <dcbw@redhat.com>
19484
19485         * NetworkManager.h
19486                 - New file, now contains commonly used structures and bits
19487                         for the dbus API of NetworkManager
19488
19489         * Makefile.am
19490                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19491
19492         * src/NetworkManager.h
19493                 - Rename -> src/NetworkManagerMain.c
19494
19495         * Various fixups all around to use NetworkManager.h and new
19496                 src/NetworkManagerMain.h, remove redundant bits that got
19497                 moved into NetworkManager.h
19498
19499         * src/NetworkManagerDevice.[ch]
19500           src/NetworkManagerUtils.[ch]
19501           src/NetworkManagerPolicy.c
19502           src/NetworkManagerDbus.c
19503                 - Whitelist wireless drivers, and blacklist some wired
19504                         drivers.  Also blacklist cipsec and ethernet-over-usb
19505                         devices at this time (RH #135722, RH #135648)
19506                 - Don't leak unsupported devices out over dbus, or allow
19507                         them to be set as the active device.  Skip over them
19508                         during automatic device picking
19509
19510         * test/nmclienttest.c
19511                 - Clean up the dbus code a lot
19512
19513 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19514
19515         * configure.in: post release bump.
19516
19517 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19518
19519         * configure.in:
19520         * NEWS: Released NetworkManager-0.3.1
19521
19522 2004-10-18 Dan Williams <dcbw@redhat.com>
19523
19524         Patches from Thom May:
19525         * test/nmtestdevices.c
19526                 - Include <string.h>
19527         * src/backends/NetworkManagerDebian.c:
19528                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19529                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19530                         Move to using g_strdup_printf rather than arbitrary buffers
19531                 - (nm_system_device_setup_static_ip4_config) Implement function.
19532                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19533
19534 2004-10-17 Dan Williams <dcbw@redhat.com>
19535
19536         * info-daemon/NetworkManagerInfoDbus.c
19537                 - Display name of network in the "network not found" dialog
19538
19539         * panel-applet/NMWirelessAppletDbus.c
19540                 - (nmwa_dbus_call_nm_method): new function replaces all other
19541                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19542                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19543                         consolidated into nmwa_dbus_get_object_name()
19544
19545 2004-10-15 Dan Williams <dcbw@redhat.com>
19546
19547         * src/NetworkManagerDbus.c
19548           info-daemon/NetworkManagerInfoDbus.c
19549                 - Display an error dialog when the user tries to use an
19550                         "Other wireless network" that's not found.
19551
19552 2004-10-15 Dan Williams <dcbw@redhat.com>
19553
19554         * panel-applet/NMWirelessApplet.[ch]
19555                 - Fix up corner cases in applet state, making it
19556                         look more responsive.  Change state to "connecting" when
19557                         the user is forcing a device too.
19558
19559 2004-10-15 Dan Williams <dcbw@redhat.com>
19560
19561         * src/NetworkManagerAPList.c
19562                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19563
19564         * src/NetworkManagerDbus.c
19565                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19566
19567         * src/NetworkManagerDevice.c
19568                 - Disown APs after the device's AP list takes ownership
19569
19570 2004-10-15 Dan Williams <dcbw@redhat.com>
19571
19572         * panel-applet/NMWirelessApplet.c
19573                 - Update our applet state from the GUI thread
19574
19575         * panel-applet/NMWirelessAppletDbus.c
19576                 - Greatly simplify the locking to make the GUI thread
19577                         smoother.  Update a private copy of the device list
19578                         and active device and only when done talking to
19579                         NetworkManager turn it over to the GUI thread.
19580
19581 2004-10-15 Dan Williams <dcbw@redhat.com>
19582
19583         * src/NetworkManagerAP.[ch]
19584                 - Add "artificial" get/set functions, set for APs that
19585                         aren't discovered as part of a scan but instead
19586                         discovered by force-setting the ESSID
19587
19588         * src/NetworkManagerDevice.[ch]
19589                 - (nm_device_wireless_network_exists): pass back whether
19590                         or not the discovered AP was encrypted.  Also, try
19591                         falling back to encrypted mode on the card if unencrypted
19592                         association doesn't work
19593                 - (nm_device_find_and_use_essid): If the network requested
19594                         did in fact exists, but it wasn't in our scan list, add
19595                         an "artificial" entry for it.  Some Cisco cards don't
19596                         see non-ESSID-broadcasting APs in their scan but can still
19597                         associate with them if you know the ESSID, this works around
19598                         that behavior
19599                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19600                         to scan if the card is currently associated with that AP
19601
19602 2004-10-15 Dan Williams <dcbw@redhat.com>
19603
19604         ---- We have a website ----
19605         http://people.redhat.com/dcbw/NetworkManager
19606
19607         Patch from Robert Paskowitz:
19608         * src/NetworkManager.c
19609                 - (main): Make sure we are run as root
19610         * src/NetworkManagerDevice.c
19611                 - Fix type in ad-hoc setting function
19612
19613         Patch from Thom May:
19614         * src/backends/NetworkManagerDebian.c
19615                 - Make Debian backend compile again
19616
19617 2004-10-14 Dan Williams <dcbw@redhat.com>
19618
19619         * Tagged NetworkManager-0_3
19620
19621 2004-10-14 Dan Williams <dcbw@redhat.com>
19622
19623         Patch from Robert Paskowitz:
19624         * NEWS
19625           src/NetworkManagerDevice.[ch]
19626           src/backends/NetworkManagerDebian.c
19627           src/backends/NetworkManagerGentoo.c
19628           src/backends/NetworkManagerRedHat.c
19629           src/backends/NetworkManagerSlackware.c
19630                 - Add support for grabbing and using a broadcast address
19631                         from system config files
19632                 - Some Gentoo backend fixes for grabbing network config
19633                 - Fix LOG_WARN->LOG_WARNING
19634
19635 2004-10-14 Dan Williams <dcbw@redhat.com>
19636
19637         * NEWS: a few small fixes in the credits
19638
19639 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19640
19641         * NEWS: prep for release.
19642
19643 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19644
19645         * panel-applet/NMWirelessAppletDbus.c
19646         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19647
19648 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19649
19650         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19651         applet->state == APPLET_STATE_NO_NM animation.
19652
19653         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19654         set the text correctly.
19655
19656 2004-10-14 Dan Williams <dcbw@redhat.com>
19657
19658         * src/NetworkManager.c
19659                 - Only accept and manager 802.3 and 802.11 devices
19660
19661         * src/NetworkManagerDbus.[ch]
19662                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19663                         logic into NetworkManagerDevice.c
19664                 - (nm_dbus_network_status_from_data): new function
19665                 - (nm_dbus_signal_network_status_change): new function, unused for now
19666                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19667
19668         * src/NetworkManagerDevice.[ch]
19669                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19670                         a random ESSID.
19671
19672 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19673
19674         * info-daemon/NetworkManagerInfo.c 
19675                 - (main): Added session management
19676
19677 2004-10-14 Dan Williams <dcbw@redhat.com>
19678
19679         * panel-applet/NMWirelessAppletDbus.[ch]
19680                 - Expose network_device_[un]ref()
19681                 - Expose wireless_network_[un]ref()
19682                 - (wireless_network_new_with_essid): new function, create and return
19683                         a wireless network with a particular essid
19684
19685         * panel-applet/NMWirelessApplet.c
19686                 - Hook up the "other network" dialog to do something
19687
19688 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19689
19690         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19691         doesn't work yet, but it looks okay.
19692
19693         * panel-applet/icons/*png: Resize to 22x22 and install in the
19694         right place.
19695
19696 2004-10-13 Dan Williams <dcbw@redhat.com>
19697
19698         * panel-applet/NMWirelessApplet.c
19699                 - Add function to print out applet_state in a readable
19700                         manner
19701
19702         * src/NetworkManager.c
19703                 - (main): Don't segfault when nm_dbus_init() fails, we had
19704                         a left-over call to hal_shutdown() into which we passed NULL
19705
19706         * src/NetworkManagerAP.c
19707                 - (nm_ap_set_essid): Allow NULL essids
19708
19709         * src/NetworkManagerAPList.[ch]
19710                 - More use of nm_ap_list_[un]lock ()
19711                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19712                         network/essid, just return nothing.  Also skip over NULL
19713                         essid access points in the list when searching
19714                 - (nm_ap_list_get_ap_by_address): new function
19715                 - (nm_ap_list_update_network): set the access point's key source to
19716                         NULL when the key returned from NetworkManagerInfo is NULL or
19717                         of 0 length
19718                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19719                         copy timestamp over too
19720                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19721                         find the correct ESSID for a blank-essid access point by searching
19722                         through another list and matching access point MAC addresses
19723                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19724
19725         * src/NetworkManagerDbus.c
19726                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19727                         may specify.  This is mainly for access points that don't
19728                         broadcast their essid.  So if the user tells us to associate with
19729                         some random ESSID that's not in our access point list, we find
19730                         out if the access point does in fact exist (by attempting association
19731                         and then matching that access point's MAC address with the essid the
19732                         user gave us) and then we switch to it.
19733                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19734                         to the returned list of networks for the "getNetworks" method
19735
19736         * src/NetworkManagerDevice.[ch]
19737                 - Extra debugging info for link detection
19738                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19739                         based on MAC address
19740                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19741                 - (nm_device_wireless_network_exists): new function, find out whether
19742                         a random ESSID exists by attempting to associate with it
19743                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19744                         device list as long as they have an AP MAC address we can use.
19745                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19746                         devices too.  Lets the applet update more frequently.
19747
19748         * src/backends/NetworkManagerGentoo.c
19749                 - Patch from: Robert Paskowitz
19750                         - Update backend code for Gentoo
19751                         - Implement nm_system_device_update_config_info ()
19752
19753         * test/nmclienttest.c
19754                 - (set_network_device): new function, takes a command-line argument
19755                         and tells NetworkManager to use that wireless network
19756
19757 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19758
19759         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19760         if the notification icon crashes 5 times within 5 seconds of each respawn 
19761
19762 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19763
19764         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19765         g_print.
19766
19767 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19768
19769         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19770
19771         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19772         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19773         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19774         Change the name of the icons.
19775
19776         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19777         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19778         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19779         (nm_menu_wireless_expose_event): Really bad hack to get the style
19780         to draw in the right color.
19781
19782 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19783
19784         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19785         Notification if it crashes
19786
19787 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19788
19789         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19790         (nmwa_dbus_get_string): remove unused functions
19791
19792         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19793         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19794         remove unused functions
19795
19796         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19797
19798 2004-10-12 Dan Williams <dcbw@redhat.com>
19799
19800         * panel-applet/NMWirelessAppletDbus.c
19801                 - New functions:
19802                         wireless_network_new
19803                         wireless_network_copy
19804                         network_device_new
19805                         network_device_copy
19806
19807         * src/NetworkManagerDevice.[ch]
19808                 - New functions:
19809                         nm_device_set_mode_managed
19810                         nm_device_set_mode_adhoc
19811                 - Use these functions where appropriate
19812                 - When creating a new wireless device, force the card
19813                         to managed/Infrastructure mode as soon as possible
19814
19815 2004-10-12 Dan Williams <dcbw@redhat.com>
19816
19817         * src/NetworkManagerDevice.c
19818                 - Force wireless cards into Infrastructure mode before we use them
19819
19820 2004-10-12 Dan Williams <dcbw@redhat.com>
19821
19822         * TODO
19823                 - Remove bit about static IP address support
19824
19825         * src/NetworkManagerUtils.c
19826                 - (nm_spawn_process): Add some error reporting
19827
19828         * src/NetworkManagerDevice.c
19829                 - (nm_device_activation_configure_ip): hook up to the static config
19830                         routines in the backends
19831
19832         * src/backends/NetworkManagerRedHat.c
19833                 - (nm_system_device_update_config_info): use shvar.c routines to
19834                         parse the config file iformation, not our own
19835                 - (nm_system_device_setup_static_ip4_config): new function, based
19836                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
19837                         with a static IP address and gateway
19838
19839         * src/backends/shvar.[ch]
19840                 - Parser (filched from initscripts package) for ifcfg-* files
19841
19842         * src/backends/NetworkManagerSystem.h
19843           src/backends/NetworkManagerGentoo.c
19844           src/backends/NetworkManagerDebian.c
19845           src/backends/NetworkManagerSlackware.c
19846                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19847
19848 2004-10-11 Dan Williams <dcbw@redhat.com>
19849
19850         * TODO
19851                 - Remove bit about more robust AP diffing since I just implemented it
19852
19853 2004-10-11 Dan Williams <dcbw@redhat.com>
19854
19855         * src/NetworkManagerAP.c
19856                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19857                         enough RAM to allocate new AP structures, but return NULL instead
19858
19859         * src/NetworkManagerAPList.[ch]
19860                 - (nm_ap_list_is_empty): new function
19861                 - (nm_ap_list_combine): new function, combine two access point lists
19862                 - (nm_ap_list_copy_keys): new function, copy keys from one list
19863                         into another
19864
19865         * src/NetworkManagerDevice.[ch]
19866                 - Rename some functions to be clearer:
19867                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19868                         nm_device_just_activated     -> nm_device_is_just_activated
19869                         nm_device_activating         -> nm_device_is_activating
19870                         nm_device_now_scanning       -> nm_device_is_scanning
19871                 - Cache the last 4 scans so that the access point list is more stable.
19872                         We combine the lastest two scans and use that as the AP list,
19873                         and diff that combined list against the combination of the earliest
19874                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19875
19876 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19877
19878         * info-daemon/NWManagerInfo.h
19879                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19880
19881         * info-daemon/NWManagerInfoDbus.c
19882                 - (shutdown_callback): new function
19883                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19884                         if NetworkManager goes away.  Kill the timeout
19885                         if NetworkManager restarts before the 30 seconds
19886                         are up.
19887                 - (nmi_dbus_service_init): 
19888                         - call gtk_main_quit if NetworkManager is not running
19889                         - add filters to monitor dbus service creations and
19890                                 deletions
19891         
19892 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19893
19894         * panel-applet/NMWirelessApplet.c
19895                 - (nmwa_update_state): Hide notification icon if we are only
19896                         showing one wired card and no wireless interfaces 
19897                         (Red Hat Bug #134895)
19898
19899         * panel-applet/NMWirelessAppletDbus.c
19900                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19901
19902         * info-daemon/NWManagerInfo.c
19903                 - (main): Terminated the notification_icon_cmd array with a NULL
19904
19905 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
19906
19907         * configure.in (ALL_LINGUAS): Added de (German).
19908
19909 2004-10-08 Dan Williams <dcbw@redaht.com>
19910
19911         * src/NetworkManagerDevice.c
19912                 - Be a bit more robust about link checking, ie make sure that
19913                         the WEP key we were given actually has some data in it
19914
19915 2004-10-08 Dan Williams <dcbw@redhat.com>
19916
19917         * info-daemon/NetworkManagerInfo.c (main):
19918                 - Initialize GError object to NULL
19919
19920 2004-10-08 Dan Williams <dcbw@redhat.com>
19921
19922         * panel-applet/NMWirelessAppletDbus.c
19923                 - Die if NetworkManagerInfo dies, since it manages our lifetime
19924
19925 2004-10-08 Dan Williams <dcbw@redhat.com>
19926
19927         * info-daemon/NetworkManagerInfo.[ch]
19928           info-dameon/NetworkManagerInfoDbus.[ch]
19929           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19930                 - Preserve original label text in the passphrase dialog so that
19931                         it actually gets updated with the new network name the next
19932                         time around.  Previously, we were overwriting it so you'd get
19933                         the wrong network name to enter a key for
19934                 - Add a "Key Type" combo to the passphrase dialog, user selects
19935                         encryption key type now, type is stored in GConf too
19936                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19937
19938         * src/NetworkManagerAP.[ch]
19939                 - Remove all the encyption method magic.  It's now set by the user
19940                         and NetworkManager retrieves the type of encryption key from
19941                         NetworkManagerInfo
19942
19943         * src/NetworkManagerAPList.[ch]
19944           src/NetworkManagerDbus.[ch]
19945                 - Adjust to new way of setting encryption key and method
19946                 - Pull encryption method down from NMI along with key
19947
19948         * src/NetworkManagerDevice.[ch]
19949                 - Removed encryption method fallback magic as the method is now
19950                         determined by the user.  This greatly simplifies the connection
19951                         logic.
19952                 - More robust connection/link logic.  Besides removing the encryption
19953                         method fallback magic, check whether or not the card is receiving
19954                         invalidly encrypted packets, which usually indicates that we have
19955                         a bad WEP key set.
19956                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19957
19958         * test/nminfotest.c
19959                 - Test out new "Key Type" stuff in the NMI passphrase dialog
19960
19961 2004-10-07 Dan Williams <dcbw@redhat.com>
19962
19963         * info-daemon/NetworkManagerInfo.conf
19964                 - Allow root user to run NMI too
19965
19966 2004-10-06 Dan Williams <dcbw@redhat.com>
19967
19968         * src/NetworkManagerDevice.[ch]
19969           src/NetworkManagerDbus.c
19970           doc/NetworkManager DBUS API.txt
19971                 - Add a new status tag "scanning", which is set when there
19972                         is no active network connection, but NetworkManager is
19973                         looking for an access point to associate with
19974
19975         * panel-applet/main.c
19976                 - Cast the applet appropriately for gtk_widget_show_all ()
19977
19978 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
19979
19980         * panel-applet/eggtrayicon.[ch]:
19981         * panel-applet/main.c: Add missing file
19982
19983 2004-10-04 Dan Williams <dcbw@redhat.com>
19984
19985         * src/NetworkManagerDevice.[ch]
19986                 - Add a slightly more robust method of determining if the WEP key
19987                         is correct or not, by checking the WEP-discarded packet count
19988                         on the card
19989
19990         * info-daemon/NetworkManagerInfo.c
19991                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19992                         un-escape values we pull out rather than escaping them
19993
19994 2004-10-03  Marcel Telka  <marcel@telka.sk>
19995
19996         * configure.in (ALL_LINGUAS): Added sk.
19997
19998 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
19999
20000         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
20001         and feel.  We should be back to working, and have a good, clean
20002         look.
20003
20004 2004-09-30 Dan Williams <dcbw@redhat.com>
20005
20006         * info-daemon/NetworkManagerInfo.c
20007           info-daemon/NetworkManagerInfoDbus.c
20008           test/nminfotest.c
20009                 - Escape ESSIDs in gconf
20010
20011         * src/NetworkManagerDevice.c
20012                 - Fix pseudo-scanning to use netowrk list from info daemon
20013
20014 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
20015
20016         * configure.in: Add a temporary --enable-notification-icon.  This
20017         will prolly go away.
20018
20019         * info-daemon/Makefile.am:
20020         * info-daemon/NetworkManagerInfo.c:
20021         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
20022
20023         * panel-applet/Makefile.am:
20024         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
20025         * panel-applet/NMWirelessApplet.h:
20026
20027 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
20028
20029         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
20030         before 'select custom ESSID'.
20031
20032         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
20033         fully complete, but syncing in prep for merge.
20034
20035         * panel-applet/icons/*png: New images
20036
20037 2004-09-28 Dan Williams <dcbw@redhat.com>
20038
20039         * src/NetworkManager.c
20040           src/NetworkManagerDevice.c
20041           src/NetworkManagerPolicy.c
20042                 - Don't blow away an active wired connection on startup
20043
20044 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
20045
20046         Changes from J5
20047         
20048         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20049
20050         * info-daemon/NetworkManagerInfoDbus.c: added service name to
20051         syslog output
20052
20053 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
20054
20055         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20056         have a wireless card.
20057
20058 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
20059
20060         * panel-applet/NMWirelessApplet.c: move the custom essid item.
20061         Also, get the right device strings.
20062
20063 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
20064
20065         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20066         the logic to make this right.
20067
20068         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20069         devices so that wired networks are always first.
20070
20071 2004-09-22    <clarkbw@cvs.gnome.org>
20072
20073         * initscript/Debian/.cvsignore:
20074         * initscript/Slackware/.cvsignore:
20075         Added new cvsignores for Makefile, Makefile.in
20076         
20077         * test/.cvsignore:
20078         Added nmtestdevices
20079         
20080         * src/NetworkManagerDevice.c: 
20081         * src/NetworkManager.c: 
20082         Updated the wireless/wired HAL device strings from net.ethernet to
20083         net.80203 or net.80211 depending on wired or wireless respectively
20084         
20085         * examples/python/NetworkManager.py: 
20086         s/Quality/Strength/
20087
20088         * examples/python/systray/network_tray.py:
20089         Lots of little changes and fixes.  been rotting for a while so I
20090         figured I'd finally sync them all with CVS
20091
20092 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
20093
20094         * configure.in: Add graphics
20095
20096         * panel-applet/Makefile.am: Add graphics
20097
20098         * panel-applet/icons/*: Add graphics
20099
20100         * panel-applet/NMWirelessApplet.c: Use new menu times to display
20101         the icons fully lined up.
20102
20103         * panel-applet/menu-info.c: 
20104         * panel-applet/menu-info.h: Add another menu type.
20105
20106 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
20107
20108         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20109
20110         * panel-applet/menu-item.[ch]: Wireless menu item.
20111
20112 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
20113
20114         * info-daemon/NetworkManagerInfo.conf
20115                 - Created a more robust security policy for the DBus service
20116                         - everything is denied by default
20117                         - root can own and send to the service
20118                         - users logged in at the console can send to the service
20119
20120 2004-09-13  Dan Williams <dcbw@redhat.com>
20121
20122         * src/NetworkManagerDevice.c
20123                 - (nm_device_get_essid): use iw_get_basic_config() rather than
20124                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20125                         the latter
20126
20127 2004-09-13  Dan Williams <dcbw@redhat.com>
20128
20129         * TODO: fix typo
20130
20131         * docs/NetworkManager DBUS API.txt
20132                 - Update for new signal strength changes
20133
20134         * panel-applet/NMWirelessApplet.c
20135                 - Make panel icon show strength of the current connection
20136                 - Cleanups and memleak fixes
20137
20138         * panel-applet/NMWirelessApplet.h
20139                 - Add data members for signal strength on devices and networks
20140
20141         * panel-applet/NMWirelessAppletDbus.c
20142                 - Free more DBusErrors
20143                 - Update for new signal strength changes
20144                 - Make devices and networks more like real objects, use ref/unref methods
20145                 - Actually unlock the mutex when updating the active device
20146
20147         * src/NetworkManagerAP.c
20148                 - Change AP functions and data members from "quality"->"strength"
20149
20150         * src/NetworkManagerDbus.c
20151                 - Kill "getMaxQuality" and "getQuality" methods
20152                 - Add "getStrength" methods for Networks and Devices
20153
20154         * src/NetworkManagerDevice.[ch]
20155                 - Add accessors for device strength
20156                 - Add functions to update strength for a device.  Note that not all drivers
20157                         actually support signal strength for scanned access points (Atmel drivers
20158                         being one)
20159                 - Calculate signal strength for each AP during scan
20160
20161         * src/NetworkManagerWireless.[ch]
20162                 - Add function to return signal strength % from a device and a raw quality struct
20163
20164         * test/nmclienttest.c
20165                 - Update for new signal strength changes
20166
20167 2004-09-11  Dan Williams <dcbw@redhat.com>
20168
20169         * src/NetworkManager.c
20170                 - Fix race condition between initscripts and NM on card insertion
20171                         which could cause a card to keep an IP address and routes around
20172                         even when it was not the active device
20173
20174         * src/NetworkManagerDbus.c
20175                 - Fix compile errors, free more DBusErrors
20176
20177 2004-09-11  Dan Williams <dcbw@redhat.com>
20178
20179         * docs/NetworkManager DBUS API.txt
20180                 - Add an explanation of NM's API
20181
20182         * src/NetworkManagerDbus.c
20183                 - Free some more DBusErrors if needed
20184
20185 2004-09-11  Dan Williams <dcbw@redhat.com>
20186
20187         * panel-applet/NMWirelessApplet.c
20188           panel-applet/NMWirelessAppletDbus.c
20189                 - Start using NetworkDevice/WirelessNetwork structures in more places
20190                 - Update for unified device/network forcing in NetworkManager
20191
20192         * src/NetworkManager.c
20193                 - some code consolidation
20194
20195         * src/NetworkManagerDbus.c
20196                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20197                         or two arguments:  the first is the NM ID of the device to switch to,
20198                         and the second (optional) argument is the ESSID of a wireless network
20199                         to use as well.
20200                 - Get rid of "setNetwork" method due to above change
20201
20202         * src/NetworkManagerDevice.c
20203                 - (nm_device_new): perform scan and update best AP on device creation
20204                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20205                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20206                         spin waiting for cancellation to finish before returning
20207
20208         * src/NetworkManagerPolicy.c
20209                 - Changes here clarify the situations in which a device switch occurs, and 
20210                         make sure to keep using a forced device and network if the user gives
20211                         us one
20212                 - Remove old unused code
20213
20214 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
20215
20216         * configure.in: Added Danish (da) to ALL_LINGUAS.
20217
20218 2004-09-09  Dan Williams <dcbw@redhat.com>
20219
20220         * panel-applet/NMWirelessAppletDbus.c
20221                 - Pull fresh devices and networks from NM when wireless networks
20222                         change.  Provides faster feedback of a forced wireless network
20223
20224         * src/NetworkManagerDbus.c
20225                 - Return error when "getMaxQuality" is called on a wired device
20226                 - Make best_ap freezing actually work again, and signal cancellation
20227                         of activation if there's already a device activation when the user
20228                         freezes the best_ap
20229
20230         * src/NetworkManagerDevice.c
20231                 - Don't clear out the best_ap for wireless devices when the link goes
20232                         down, that's done elsewhere
20233                 - Kill any dhcp daemons when cancelling device activation since they
20234                         may be stuck waiting for a DHCP address, and since we're cancelling
20235                         activation we don't care about that anymore
20236
20237         * src/NetworkManagerPolicy.c
20238                 - Make sure to unref the device we ref earlier (we refed it to make sure
20239                         it stuck around during device activation and such)
20240                 - If we were going to change the best device, but its activating currently
20241                         (and therefore the change didn't occur due to the check earlier)
20242                         we mark the state changed to we come back to it later when device
20243                         activation has canceled and its no longer activating
20244
20245         * src/backends/NetworkManagerRedHat.c
20246                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20247
20248 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
20249
20250         * info-daemon/passphrase.glade: 
20251         set passphrase input to activates_default : True
20252
20253         * examples/python/systray/network_tray.py
20254         (network_tray.sort_networks):
20255
20256         Added support for having wireless always scanning
20257
20258 2004-09-09  Dan Williams <dcbw@redhat.com>
20259
20260         NOTE: this commit changes the behavior of wireless devices in
20261         NetworkManager.  They are now up all the time, scanning all
20262         the time.  Only the active device has an IP address and routing
20263         information set up however.  Also, NetworkManager will no longer
20264         opportunistically switch wireless networks when a better one
20265         comes in range, it will remain associated with one wireless network
20266         until that one drops out.
20267
20268         * panel-applet/NMWirelessApplet.c
20269           panel-applet/NMWirelessAppletDbus.c
20270                 - List all wireless cards and their respective networks
20271
20272         * src/NMLoadModules
20273                 - Use full path to /sbin/ip
20274
20275         * src/NetworkManager.c
20276                 - Keep wireless devices up all the time so they can scan
20277
20278         * src/NetworkManagerDbus.c
20279                 - On a WirelessNetworkUpdate signal from NMI, don't update
20280                         the "best" AP
20281
20282         * src/NetworkManagerDevice.c
20283                 - (nm_device_set_link_active): clear out the best ap for
20284                         wireless devices when the link is set to FALSE
20285                 - Scan on all wireless cards, all the time
20286                 - (nm_device_activation_worker): split out the wireless card
20287                         link-waiting code to a separate function
20288                 - Keep wireless cards up even if device activation fails
20289                 - Don't update the "best" ap as much
20290
20291         * src/NetworkManagerPolicy.c
20292                 - Don't update the best ap when checking if its frozen,
20293                         let link checking clear out a frozen best ap for us
20294
20295         * src/NetworkManagerWireless.c
20296                 - Scan on all wireless cards, all the time
20297
20298 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
20299
20300         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20301
20302 2004-09-09  Ankit Patel <ankit@redhat.com>
20303
20304         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20305
20306 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
20307
20308         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20309
20310 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
20311
20312         * examples/python/NetworkManager.py: 
20313         added CONNECTED, CONNECTING, and DISCONNECTED states
20314         added methods to return number of devices of a single type
20315
20316         * examples/python/systray/network_tray.py: 
20317         did some tweaks to get the menu looking near what it is supposed
20318         to look like.  Also did a Airo card hack to make it show the
20319         correct AP quality
20320
20321 2004-09-08  Dan Williams <dcbw@redhat.com>
20322
20323         * panel-applet/no-networkmanager.png
20324           panel-applet/Makefile.am
20325           panel-applet/NMWirelessApplet.c
20326                 - Add a "NetworkManager not running" icon and use it
20327                 - Use new consolidated GConf keys rather than Preferred/Trusted
20328
20329         * TODO: update
20330
20331         * info-daemon/NetworkManagerInfo.c
20332           info-daemon/NetworkManagerInfoDbus.[ch]
20333           info-daemon/NetworkManagerInfoPassphraseDialog.c
20334                 - There are now no longer two separate lists of wireless networks,
20335                         but one list where each network is "trusted" or not trusted
20336                 - Add a "getNetworkTrusted" dbus method
20337                 - "WirelessNetworkUpdate" signal now sent rather than
20338                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20339                 - Start freeing some dbus errors (not completed yet)
20340
20341         * info-daemon/passphrase.glade
20342                 - Remove the "don't show" hints for pager and taskbar
20343                 - Add a title since its going to be in the taskbar
20344
20345         * src/NetworkManager.[ch]
20346           src/NetworkManagerAPList.[ch]
20347                 - There are now no longer two separate lists of wireless networks,
20348                         but one list where each network is "trusted" or not trusted
20349
20350         * src/NetworkManagerAP.[ch]
20351                 - Add get/set "trusted" accessors and data bit
20352
20353         * src/NetworkManagerDbus.[ch]
20354                 - Add function to get "trusted" status of a network from NetworkManagerInfo
20355                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20356
20357         * src/NetworkManagerDevice.[ch]
20358                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20359                 - (nm_device_new): Get device config from backend when initializing devices
20360                 - (nm_device_activation_worker): Split out device configuration on
20361                         activation to deal with static/dynamic IP differences, and try encryption
20362                         fallbacks on a device if the encryption method for the best AP is not good
20363                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20364                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20365
20366         * src/NetworkManagerWireless.c
20367                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20368
20369         * src/backends/NetworkManagerRedHat.c
20370           src/backends/NetworkManagerSystem.h
20371                 - (nm_system_device_update_config_info): Add function to get device configuration
20372                         from system data in ifcfg-* files
20373
20374         * src/backends/NetworkManagerDebian.c
20375           src/backends/NetworkManagerGentoo.c
20376           src/backends/NetworkManagerSlackware.c
20377                 - Add stub functions for getting device configuration
20378
20379 2004-09-07  Dan Williams <dcbw@redhat.com>
20380
20381         * src/backends/NetworkManagerRedhat.c
20382           src/backends/NetworkManagerSlackware.c
20383                 - Use full path to /sbin/ip everywhere
20384
20385 2004-09-07  Dan Williams <dcbw@redhat.com>
20386
20387         Patch from: Narayan Newton <narayan_newton@yahoo.com>
20388
20389         * configure.in
20390           initscript/Makefile.am
20391           initscript/Slackware/Makfile.am
20392           initscript/Slackware/rc.networkmanager
20393           src/Makefile.am
20394           src/backends/NetworkManagerSlackware.c
20395                 - Add Slackware support
20396
20397 2004-09-07  Dan Williams <dcbw@redhat.com>
20398
20399         Patches below from:
20400                 <j@bootlab.org>
20401                 Mark Roach <mrroach@okmaybe.com>
20402                 Thom May <thom@debian.org>
20403
20404         * configure.in
20405           initscript/Debian/NetworkManager
20406           initscript/Debian/Makefile.am
20407                 - Initscript for Debian
20408
20409         * src/backends/NetworkManagerDebian.c
20410                 - Add missing system init function to allow compilation
20411                         on Debian
20412
20413 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
20414
20415         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20416
20417 2004-09-03  Akagic Amila <bono@linux.org.ba>
20418
20419         * configure.in: Added 'bs' to ALL_LINGUAS.
20420
20421 2004-09-02  Colin Walters  <walters@verbum.org>
20422
20423         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20424         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20425         g_strdup_printf instead of arbitrarily sized buffers.
20426
20427 2004-09-01  Colin Walters  <walters@verbum.org>
20428
20429         * NetworkManager.pc.in: New file.
20430
20431         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20432
20433 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
20434         
20435         * configure.in: Punjabi(pa) is added to po/.
20436
20437 2004-08-31  Dan Williams <dcbw@redhat.com>
20438
20439         * Remove 'debug' extern global from all files since we now
20440                 use syslog()
20441
20442         * src/NetworkManager.[ch]
20443                 - Break out routine that get the net.interface property from HAL,
20444                         removing that logic from nm_create_device_and_add_to_list()
20445                 - (nm_create_device_and_add_to_list): make this a bit more general so
20446                         it doesn't do the talking to HAL.  Also add arguments to facilitate
20447                         the create of test devices.
20448                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20449                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20450                         which makes NetworkManager listen for dbus commands to create test
20451                         devices, which have no backing hardware.  Use when you're on a plane
20452                         for example, and/or forgot your wireless card at home.  Test devices
20453                         _cannot_ be created unless NM is started with --enable-test-devices.
20454
20455         * src/NetworkManagerDbus.[ch]
20456                 - New "getLinkActive" method for devices
20457                 - New "setLinkActive" method for devices (only works on test devices)
20458                 - New "createTestDevice" method on NetworkManager object to create a test
20459                         device of a specified type (ie wired, wireless).  UDI is created from
20460                         scratch, as is the interface name.  Only works when NM is started with
20461                         --enable-test-devices switch.
20462                 - New "removeTestDevice" method on NetworkManager object which removes a
20463                         test device.  Only works when NM is started with --enable-test-devices
20464
20465         * src/NetworkManagerDevice.[ch]
20466                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20467                         whether a device is a test device or not, and what its link status is.
20468                 - Deal with test devices in most functions.  For those that work directly on hardware
20469                         special-case test devices.
20470                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20471                         command-line.
20472                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20473                         checking to separate functions to facilitate test device link checking.
20474                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20475                         don't make a distinction between System Authentication and Encryption
20476                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20477                         on the card.  We don't deal with Shared Key auth yet.
20478                 - (nm_device_activation_worker): split the activation cancel check logic out into
20479                         a separate routine nm_device_activation_cancel_if_needed()
20480                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20481                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20482                         a list of fake access points that they can "see"
20483                 - (nm_device_is_test_device): return whether or not a device is a test device
20484
20485         * src/NetworkManagerPolicy.c
20486                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20487                         previously if you "locked"/forced NM to use a wireless device but then
20488                         selected a wireless network for NM to use, it would switch to a wired device.
20489                         So, if the active device is wireless and it has a "forced" best AP, use it
20490                         if the "forced" best AP is still valid
20491                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20492                         there were no usable network devices, or the last one was removed
20493
20494         * src/backends/NetworkManager*.c
20495                 - Deal with test devices, mostly just return success for operations like getting
20496                         a DHCP address
20497
20498         * test/nmtestdevices.c
20499                 - Test tool to create/remove/link-switch test devices
20500
20501 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20502
20503         * examples/python/NetworkManager.py: 
20504         added convience functions has_wired_device and has_wireless_device
20505
20506         * examples/python/systray/network_tray.py: 
20507         cleaned up a bunch of cruft, added support for listing wireless
20508         networks just like the real applet.  This is probably all I'm
20509         going to work on this applet from now on.
20510         TODO: add support for actually changing networks and devices
20511
20512         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20513         changed "nm.networks" into a dict from a list so I can store all
20514         the cool information about networks in there
20515
20516         * examples/python/systray/network_tray.py: 
20517         Added nice message when you try to run without running make first
20518
20519         * examples/python/NetworkManager.py: 
20520         Bug fixes to the code so we get all the device information
20521         that we need in get_device()
20522         
20523         * examples/python/NMTester.py: 
20524         Fixed _print_device_list to print_device_list
20525
20526 2004-08-29  Seth Nickell  <seth@gnome.org>
20527
20528         * configure.in:
20529
20530         Actually properly setup the Debian backend in configure.
20531         
20532 2004-08-29  Colin Walters  <walters@verbum.org>
20533
20534         * test/nminfotest.c: Include string.h and stdlib.h.
20535         (get_network_string_property, get_networks_of_type): Return NULL.
20536
20537         * test/nmclienttest.c (get_device_name, get_active_device): Return
20538         NULL.
20539
20540         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20541         use strlen, fgets always NULL-terminates the string.
20542
20543         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20544         dbus_message_get_member): Remove /* in comment.
20545
20546         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20547
20548         * src/NetworkManager.c (quit): Unused, delete.
20549         (nm_data_free): Cast arg to GFunc.
20550
20551         * panel-applet/NMWirelessAppletDbus.c: Need to include
20552         string.h, and dbus-glib-lowlevel.h (the latter is needed
20553         for dbus_connection_setup_with_g_main at present).
20554         (nmwa_dbus_update_wireless_network_list): Parenthesize
20555         assignment in conditional.
20556         (nmwa_dbus_worker): Return NULL.
20557
20558         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20559         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20560         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20561         (nmwa_populate_menu): Return NULL on failure, instead of just
20562         return;
20563
20564         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20565
20566         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20567         variables.
20568
20569         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20570         delete.
20571         
20572 2004-08-29  Colin Walters  <walters@verbum.org>
20573
20574         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20575         a GTimeVal instead of time_t.  This is easier to work with,
20576         since time_t may be a long or double, we don't know.
20577
20578         * src/NetworkManagerDbus.h: Update prototype.
20579         
20580         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20581         instead of time_t.
20582         (nm_ap_get_timestamp): Update to return GTimeVal.
20583         (nm_ap_set_timestamp): Update to take GTimeVal.
20584         
20585         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20586         to handle GTimeVal.
20587
20588         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20589         GTimeVal change.
20590         (nm_ap_list_print_members): Fix warnings in printf format.
20591
20592 2004-08-29  Colin Walters  <walters@verbum.org>
20593         
20594         * panel-applet/NMWirelessApplet.c: Include config.h.
20595
20596 2004-08-29  Colin Walters  <walters@verbum.org>
20597
20598         * configure.in: Generate config.h.
20599
20600         * configure.in: Dump dependency on OpenSSL; we can't
20601         use it since this package is GPL:
20602         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20603         Instead, check for libgcrypt, use it if available,
20604         otherwise use included MD5 code.
20605
20606         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20607         Suck in from gnome-keyring, munge a bit.
20608         
20609         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20610         gnome-keyring-md5.h gnome-keyring-md5.c.
20611         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20612
20613         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20614         libgcrypt or included gnome-keyring md5 bits.
20615         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20616
20617 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20618
20619         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20620
20621 2004-08-27  Bryan Clark  <bclark@redhat.com>
20622
20623         * examples/python/systray/Makefile: 
20624
20625         Updated the clean section
20626         
20627         * examples/python/systray/trayiconmodule.c: 
20628         * examples/python/systray/trayicon.override: 
20629         * examples/python/systray/network_tray.py: 
20630         * examples/python/systray/eggtrayicon.h: 
20631         * examples/python/systray/eggtrayicon.c: 
20632         * examples/python/systray/Makefile: 
20633         * examples/python/README: 
20634         * examples/python/NetworkManager.py: 
20635         * examples/python/NMTester.py: 
20636
20637         Initial commit of these python example files
20638
20639 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20640
20641         * panel-applet/NMWirelessApplet.c
20642                 - Make current device bold
20643                 - Show more user-friendly device name if we got one from hal
20644
20645         * panel-applet/NMWirelessAppletDbus.c
20646                 - Grab "info.product" key from hal for network devices
20647                 - Cache the current active device
20648
20649 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20650
20651         * configure.in: Added en_CA to ALL_LINGUAS.
20652
20653 2004-08-27  Christian Rose  <menthos@menthos.com>
20654
20655         * configure.in: Added "sv" to ALL_LINGUAS.
20656
20657 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20658
20659         * Tag NetworkManager-0.2
20660
20661 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20662
20663         * initscripts/Makefile.am
20664         * configure.in: Make pass distcheck
20665
20666         * po/ChangeLog: added
20667
20668 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20669
20670         * panel-applet/NMWirelessApplet.c
20671                 - Remove debugging code
20672                 - Enable device switching from menus
20673
20674         * panel-applet/NMWirelessAppletDbus.[ch]
20675                 - Method for asking NM to switch devices
20676
20677         * src/NetworkManagerDevice.c
20678                 - Set dev->activating earlier, avoids race between
20679                         the dbus signal of "DeviceActivating" and setting
20680                         dev->activating (which is what NM's "status" method call
20681                         looks at)
20682
20683 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20684
20685         * panel-applet/NMWirelessApplet.[ch]
20686                 - Rework menu code to add devices to menu, and to show
20687                         signal strength for each access point.  Code cleanups
20688                         too.
20689
20690         * panel-applet/NMWirelessAppletDbus.c
20691                 - Grab network devices from NetworkManager too
20692                 - Grab quality information from NM for wireless networks
20693
20694         * src/NetworkManagerDbus.[ch]
20695                 - Add dbus methods for getting the HAL UDI from a device and
20696                         for getting its base quality, if its wireless
20697                 - Consolidate some functions (wireless network notifications,
20698                         device notifications)
20699                 - Add method for requesting NM to use a particular device
20700
20701         * src/NetworkManager.c
20702                 - Change for function consolidations from NetworkManagerDbus.c
20703                 - Implement active device locking and user-requested devices
20704                         (ie, tell NM to use a particular device instead of the one
20705                         it autochose)
20706
20707         * src/NetworkManagerDevice.c
20708                 - Add method for getting the base quality of a device, if its
20709                         wireless
20710                 - Grab device base quailty info from iwlib during scans
20711
20712         * src/NetworkManagerPolicy.c
20713                 - Use a user-requested device rather than the auto-chosen device
20714                         if we are told to
20715
20716 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20717
20718         * Makefile.am: add po as a supdir
20719
20720         * autogen.sh: use gnome-autogen.sh
20721
20722         * initscript/Gentoo/.cvsignore:
20723         * initscript/RedHat/.cvsignore: Shut up cvs
20724
20725         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20726
20727         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20728         (nmwa_fill): Use gettext.
20729
20730         * configure.in: add gettext support
20731         * po/.cvsignore:
20732         * po/NetworkManager.pot:
20733         * po/POTFILES.in:
20734
20735 2004-08-26  Seth Nickell  <seth@gnome.org>
20736
20737         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20738         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20739         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20740         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20741         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20742         * panel-applet/NMWirelessApplet.h:
20743
20744         Use a menu bar instead of a button for the main clickable
20745         thingy.
20746         
20747 2004-08-25  Dan Williams <dcbw@redhat.com>
20748
20749         * src/NetworkManagerDevice.c
20750                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20751                         turning encryption off, because the Cisco driver doesn't associate
20752                         with WEP-enabled access points unless we are in "open"
20753
20754 2004-08-25  Dan Williams <dcbw@redhat.com>
20755
20756         * src/NetworkManagerWireless.c
20757                 - Don't try to defererence blank passphrases
20758
20759 2004-08-25  Dan Williams <dcbw@redhat.com>
20760
20761         * panel-applet/NMWirelessApplet.c
20762                 - Rebuild the menu whenever a user clicks
20763
20764 2004-08-25  Dan Williams <dcbw@redhat.com>
20765
20766         * panel-applet/NMWirelessApplet.c
20767                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20768                         when NM isn't around or when its not connected
20769
20770         * src/NetworkManagerDevice.c
20771                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20772                         canceled.
20773
20774 2004-08-25  Dan Williams <dcbw@redhat.com>
20775
20776         * panel-applet/NMWirelessAppletDbus.c
20777                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20778                         for getting encryption, and don't stop on "val" once we've gotten it
20779                         from NetworkManager.  Short form:  encryption should now show up.
20780
20781 2004-08-25  Dan Williams <dcbw@redhat.com>
20782
20783         * panel-applet/NMWirelessApplet.c
20784                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20785                         network to associate with
20786
20787 2004-08-25  Dan Williams <dcbw@redhat.com>
20788
20789         * panel-applet/*
20790                 - Rework the panel applet to do all DBUS communication in a separate
20791                         thread
20792
20793 2004-08-25  Dan Williams <dcbw@redhat.com>
20794
20795         * info-daemon/NetworkManagerInfo.[ch]
20796                 - Remove "get_next_priority" function
20797
20798         * info-daemon/NetworkManagerInfoDbus.[ch]
20799                 - Convert "priority" functions to "timestamp"
20800
20801 2004-08-25  Dan Williams <dcbw@redhat.com>
20802
20803         * src/NetworkManagerAP.[ch]
20804                 - Add a "enc_method_good" member and accessors to an Access Point
20805                         to signal when we've found the correct encryption method
20806                         for an access point
20807                 - Add a "timestamp" member and accessors, remove "priority" member
20808                         and accessors (use timestamps instead)
20809                 - Rename "wep_key"->"enc_key"
20810                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20811                         for a specified encryption method using the access points
20812                         source encryption key/passphrase
20813
20814         * src/NetworkManagerAPList.c
20815                 - When updating a network with dbus, grab timestamp now instead of
20816                         priority
20817
20818         * src/NetworkManagerDBus.[ch]
20819                 - Add signal for "DeviceActivating"
20820                 - Switch priority->timestamp
20821
20822         * src/NetworkManagerDevice.c
20823                 - Change references of "wep_key" -> "enc_key" or "key"
20824                 - Signal DeviceActivating when starting activation
20825                 - When activating a wireless device, if the access point we are connecting
20826                         to is encrypted, and we have a source key, try to generate a mangled
20827                         key and use that (ie, generate real WEP key from a passphrase)
20828                 - Rework device activation to fallback to other encryption methods if
20829                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20830                         first, then if that doesn't work fall back to direct hex key).
20831                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20832                         priority.  We now prefer the latest access point used, rather than using
20833                         a priority scheme
20834                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20835                         points we've just discovered, and merge in correct info from the global
20836                         access point lists
20837
20838 2004-08-25  Seth Nickell  <seth@gnome.org>
20839
20840         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20841         Debian support.
20842         
20843         * src/Makefile.am:
20844         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20845         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20846         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20847         (nm_system_delete_default_route),
20848         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20849         (nm_system_load_device_modules):
20850
20851 2004-08-24  Dan Willemsen <dan@willemsen.us>
20852
20853         * src/NetworkManager.c
20854           src/backends/NetworkManagerGentoo.c
20855           src/backends/NetworkManagerRedHat.c
20856           src/backends/NetworkManagerSystem.h
20857                 - Implement preliminary Gentoo support, adding a
20858                         nm_system_init function to the backend specification
20859
20860         * configure.in
20861                 - Distribution auto-detection, lowercase any user-fed
20862                         distribution names
20863
20864         * initscript/.cvsignore
20865           initscript/Makefile.am
20866           initscript/RedHat/Makefile.am
20867           initscript/RedHat/NetworkManager
20868           initscript/Gentoo/Makefile.am
20869           initscript/Gentoo/NetworkManager
20870                 - Refactored initscript code separately for each
20871                         distribution
20872
20873 2004-08-23  Dan Williams <dcbw@redhat.com>
20874
20875         * configure.in
20876           src/Makefile.am
20877           src/NetworkManagerDevice.c
20878           src/NetworkManager.c
20879           src/NetworkManagerUtils.[ch]
20880           src/backends/NetworkManagerSystem.h
20881           src/backends/NetworkManagerRedHat.c
20882           src/backends/NetworkManagerGentoo.c
20883                 - Refactor system-specific code into separate backends for
20884                         each distribution
20885
20886 2004-08-23  Dan Willemsen <dan@willemsen.us>
20887
20888         * dispatcher-daemon/NetworkManagerDispatcher.c
20889           info-daemon/NetworkManagerInfo.[ch]
20890           info-daemon/NetworkManagerInfoDbus.c
20891           info-daemon/NetworkManagerInfoPassphraseDialog.c
20892           src/NetworkManager.c
20893           src/NetworkManagerAP.c
20894           src/NetworkManagerAPList.c
20895           src/NetworkManagerDbus.c
20896           src/NetworkManagerDevice.c
20897           src/NetworkManagerPolicy.c
20898           src/NetworkManagerUtils.[ch]
20899           src/NetworkManagerWireless.c
20900                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20901
20902         * src/NetworkManager.c
20903                 - Fixed usage wording for --no-daemon
20904
20905 2004-08-23  Dan Williams <dcbw@redhat.com>
20906
20907         * panel-applet/NMWirelessApplet.c
20908                 - Update our state every second to get more responsive panel icon
20909                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20910                         was causing our marching ants status blips to never move when
20911                         looking for a wireless network
20912
20913         * src/NetworkManagerDevice.c
20914                 - (nm_device_activation_begin): return if activation has already begun
20915                 - (nm_device_do_normal_scan): merge WEP key and priority from the
20916                         trusted/preferred network into the device's access point when the
20917                         scan list is processed
20918
20919 2004-08-23  Dan Williams <dcbw@redhat.com>
20920
20921         * initscript/NetworkManager
20922                 - Use NMLaunchHelper rather than sleeping
20923
20924         * initscript/NMLaunchHelper.c
20925           Makefile.am
20926                 - Add helper program that exits only when NM activates a device,
20927                         or 10 seconds have passed, whichever happens first.  This
20928                         stops the boot processes until we have a network connection,
20929                         which NM can't do because it daemonizes and brings the connection
20930                         up in the background.  Allows stuff like NFS to not die.
20931
20932 2004-08-20  Dan Williams <dcbw@redhat.com>
20933
20934         * info-daemon/NetworkManagerInfoPassphraseDialog.c
20935                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20936                         for a network, set the essid as well since it may not exist yet
20937                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20938                         since WEP keys/passphrases are long and prone to entry-error
20939
20940         * panel-applet/Makefile.am
20941           panel-applet/wired.png
20942                 - Add (pulled from system-config-network temporarily)
20943
20944         * panel-applet/NMWirelessApplet.[ch]
20945                 - Show wired picture when a wired connection is used
20946                 - Rename wireless icon enums, adding WIRELESS
20947
20948         * src/NetworkManagerDevice.c
20949                 - (nm_device_activate_wireless): unset encryption before bringing
20950                         down the card and setting the essid
20951                 - (nm_device_activatin_worker): request a key from the user if the
20952                         AP we are connecting to is encrypted but we don't have a key
20953                         for it yet
20954                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20955                         strcmp() that prevented a user-entered key from actually getting
20956                         used
20957
20958 2004-08-16  Dan Williams <dcbw@redhat.com>
20959
20960         * initscript/NetworkManager
20961                 - Check for /sbin/ip
20962                 - Do sysctl magic that network service does
20963                 - sleep 4s after start to allow network time to come up [hack]
20964
20965         * src/Makefile.am
20966           src/NMLoadModules
20967                 - Load all network device kernel modules (hal doesn't know devices
20968                         are ethernet until the module is loaded, and therefore we don't know)
20969
20970         * src/NetworkManager.c
20971                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20972                         network devices, and bring up the loopback device explicitly
20973
20974         * src/NetworkManagerUtils.[ch]
20975                 - (nm_enable_loopback): new function
20976
20977 2004-08-13  Dan Williams <dcbw@redhat.com>
20978
20979         * configure.in
20980           panel-applet/Makefile.am
20981                 - Fix up cleanfiles and server_DATA/server_in_files
20982
20983         * README
20984                 - Update with some comments on theory of operation
20985
20986         * CONTRIBUTING
20987           Makefile.am
20988                 - Add CONTRIBUTING
20989
20990 2004-08-12  Dan Williams <dcbw@redhat.com>
20991
20992         * info-daemon/passphrase.glade
20993                 - Set window title to " "
20994
20995         * panel-applet/Makefile.am
20996           panel-applet/keyring.png
20997                 - Deliver to correct place
20998
20999         * panel-applet/NMWirelessApplet.[ch]
21000                 - Add comments
21001                 - Remove applet->have_active_device as its no longer used
21002                 - (nmwa_load_theme): load keyring.png too
21003                 - (error_dialog): remove
21004                 - (show_warning_dialog): subsume functionality of error dialog too
21005                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
21006                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
21007                         the networks menu
21008                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
21009                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
21010                         and when we get broadcasts of changed wireless access points only, not when the
21011                         user clicks on the button to display the menu (too long of a wait)
21012                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
21013                         networks that are encrypted
21014                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
21015                         menu item with g_object_set_data()
21016
21017         * panel-applet/NMWirelessAppletDbus.[ch]
21018                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
21019                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
21020                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
21021                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
21022                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
21023                         activation/deactivation signals and rebuild the menu when they happen
21024
21025         * src/NetworkManager.c
21026                 - (main): use new nm_spawn_process() rather than system()
21027
21028         * src/NetworkManagerDbus.c
21029                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21030                         instead.  Since we can now force best_aps to stick around, the AP structure to which
21031                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21032                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
21033                         to freeze the best_ap.
21034
21035         * src/NetworkManagerDevice.[ch]
21036                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21037                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21038                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21039                         ap list
21040
21041         * src/NetworkManagerUtils.[ch]
21042                 - (nm_spawn_process): add replacement for system() usage
21043
21044 2004-08-11  Dan Williams <dcbw@redhat.com>
21045
21046         * panel-applet/NMWirelessApplet.[ch]
21047                 - Fix up copyright and credits to include Bastien and Eskil,
21048                         who created the gnome-applets wireless applet, from whose
21049                         skeleton this one was created
21050                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21051                         pixmap to draw is computed during nmwa_update_state()
21052                 - Applet now shows itself all the time due to panel packing issues
21053                         which caused the applet to previously never come back after hiding.
21054                         When a wired device is the active device, the applet shows "not connected"
21055
21056         * panel-applet/NMWirelessAppletDbus.[ch]
21057                 - Clean up error messages and show what function they are from
21058                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21059                 - Add new device type getters, and a status getter
21060
21061         * src/NetworkManagerDbus.c
21062                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21063                         network is actually in the device's ap list
21064                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21065
21066         * src/NetworkManagerDevice.c
21067                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21068                         card
21069
21070         * test/nmclienttest.c
21071                 - Report status of NetworkManager too
21072
21073 2004-08-11  Dan Williams <dcbw@redhat.com>
21074
21075         * info-daemon/NetworkManagerInfo.c:
21076                 - (main): clean up Seth's code style
21077
21078         * info-daemon/NetworkManagerInfoDbus.c:
21079                 - Use the more aptly-named path/service/interface constants from NetworkManager
21080                 - Don't return empty strings ("") as object paths ever, instead return errors
21081
21082         * panel-applet/NMWirelessApplet.c:
21083                 - Clean up Seth's code style
21084
21085         * src/NetworkManager.[ch]
21086                 - (nm_remove_device_from_list): remove anything having to do with pending_device
21087                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21088
21089         * src/NetworkManagerAPList.[ch]
21090                 - Move Iter struct right above the iter functions to preserve opacity
21091                 - (nm_ap_list_remove_ap): implement
21092                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21093                         remove AP if NetworkManagerInfo doesn't know anything about it
21094                 - (nm_ap_list_diff): user NMAPList iterators
21095                 - (nm_ap_list_print_members): implement debugging function
21096
21097         * src/NetworkManagerDbus.[ch]
21098                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21099                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21100                         and move the actual key setting stuff into NetworkManagerDevice.c
21101                 - (nm_dbus_get_network_priority): return -1 now on errors
21102                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21103                         get lost, and force the active device to update its "best" ap when AP lists change
21104                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21105                         method call due to pending_device member removal
21106
21107         * src/NetworkManagerDevice.[ch]
21108                 - Move NMDevice structure to the top
21109                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21110                 - Remove Pending Action stuff from everywhere
21111                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21112                         activation for us.  This thread blocks until all conditions for activation have
21113                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21114                         then setup up the interface and runs dhclient.  We have to do this because there
21115                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21116                         run our main loop and respond to dbus method calls or HAL device removals/inserts
21117                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21118                         can tell nm_device_activation_worker() that we've got a key
21119                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21120                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21121                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21122                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21123
21124         * src/NetworkManagerPolicy.c
21125                 - Remove anything to do with pending_device
21126                 - Adjust device activation to deal with activation-in-worker-thread
21127
21128         * src/NetworkManagerUtils.c
21129                 - Clean up locking debugging a bit
21130
21131         * src/NetworkManagerWireless.[ch]
21132                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
21133                         was badly named and is better as a device function
21134
21135         * panel-applet/.cvsignore: add
21136
21137 2004-08-09  Seth Nickell  <seth@gnome.org>
21138
21139         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21140         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21141         (nmwa_new):
21142         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21143
21144         Don't load the menus until clicked on (also removes a call outside
21145         normal code paths at first load).
21146
21147         Hide applet when NM is not present.
21148         
21149         Improve printf debugging stuff.
21150         
21151 2004-08-09  Dan Williams <dcbw@redhat.com>
21152
21153         * dispatcher-daemon/NetworkManagerDispatcher.c:
21154                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21155                 - Use constants for NetworkManager interface, service, and path
21156
21157 2004-08-09  Dan Williams <dcbw@redhat.com>
21158
21159         * src/NetworkManagerDbus.c:
21160                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21161                         instead return an error message
21162                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21163                         on a wired device.  Also never return an empty object path, instead return an error message
21164
21165 2004-08-06  Seth Nickell  <seth@gnome.org>
21166
21167         * panel-applet/NMWirelessApplet.c: (nmwa_new):
21168
21169         Check the error code when getting a connection.
21170         
21171         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21172
21173         Check if the NM service exists when initializing (rather than
21174         assuming it does not).
21175         
21176         * src/NetworkManagerDbus.c: (nm_dbus_init):
21177
21178         Don't acquire the well-known service name until we have
21179         registered object/path handlers and can actually receive
21180         calls.
21181         
21182 2004-08-06  Dan Williams <dcbw@redhat.com>
21183
21184         * panel-applet/*
21185                 - Add panel applet
21186
21187         * src/NetworkManagerPolicy.c
21188           src/NetworkManager.c
21189                 - Get access point lists from NetworkManagerInfo on-demand,
21190                         and look for ServiceCreate/ServiceDeleted signals to see when
21191                         we should query NMI for lists
21192         * src/NetworkManagerAPList.c
21193                 - Make sure to init the list's mutex
21194                 - Convert traversals of the list over to the list iter functions
21195
21196         * src/NetworkManagerDbus.[ch]
21197                 - Use more aptly-named path/service/interface constants
21198                 - Treat both active and pending devices the same for "getActiveDevice"
21199                 - Add a "status" method returning "connected", "connecting", or "disconnected"
21200
21201         * src/NetworkManagerDevice.c
21202                 - Honor "ignored" network list when picking best ap to use
21203
21204 2004-08-06  Seth Nickell  <seth@gnome.org>
21205
21206         * aclocal.m4:
21207
21208         Autogenerated, remove from CVS.
21209         
21210         * autogen.sh:
21211
21212         Don't hardcode automake version.
21213         
21214         * configure.in:
21215         * info-daemon/Makefile.am:
21216         * info-daemon/NetworkManagerInfo.c: (main):
21217
21218         Use GnomeProgram et al. for doing session management.
21219         Use popt stuff for argument parsing rather than doing
21220         it manugally.
21221         
21222 2004-08-05  Dan Williams <dcbw@redhat.com>
21223
21224         * test/nminfotest.c
21225                 - Update to new NMI dbus API, check different network types
21226
21227         * info-daemon/NetworkManagerInfoDbus.c
21228                 - Update to new NM dbus API, ie network type sent in query message
21229
21230 2004-08-05  Dan Williams <dcbw@redhat.com>
21231
21232         * An assload of changes
21233
21234 2004-08-02  Dan Williams <dcbw@redhat.com>
21235
21236         * TODO
21237                 - new task: proper logging support
21238
21239         * info-daemon/NetworkManagerInfo.c
21240                 - Correct spelling of "canceled"
21241                 - Correct casting of objects for g_signal_connect()
21242
21243         * info-daemon/NetworkManagerInfoDbus.c
21244                 - Add defines for NetworkManager namespace and object path, and use them
21245                 - Add filter function to trap new signals from NetworkManager:
21246                         WirelessNetworkAppeared, WirelessNetworkDisappeared
21247
21248         * info-daemon/passphrase.glade
21249                 - Change name of "ok" button to "Login to Network..."
21250                 - Mark invisible
21251
21252         * src/NetworkManager.c
21253                 - Code and debug message cleanups
21254                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21255                 - (nm_add_initial_devices) Check returned string array of devices
21256                         and don't try to add devices if array is NULL
21257                 - (main) Initialize libhal a bit later, make code a bit clearer
21258
21259         * src/NetworkManagerAP.[ch]
21260                 - New accessor and data member "matched": used to speed up AP list
21261                         diffing
21262                 - New accessor and data member "enc_method": will be used during key
21263                         fallback to cache which passphrase->key conversion actually works
21264                         so we don't have to do it every time
21265
21266         * src/NetworkManagerAPList.[ch]
21267                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21268                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21269                         between them, and send WirelessNetworkAppeared/Disappeared signals over
21270                         dbus in response to those differences
21271
21272         * src/NetworkManagerDbus.[ch]
21273                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21274                         make an object path for that access point (NOTE that we don't yet check to
21275                         make sure that access point is actually in the device's AP list yet)
21276                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21277                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21278                         New: signal appearance/disappearance of wireless networks
21279                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21280                         key entry
21281
21282         * src/NetworkManagerDevice.[ch]
21283                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21284                 - (nm_device_ap_list_get) New: return the AP list (static function)
21285                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21286                         new one resulting from the scan with the old one
21287
21288         * src/NetworkManagerWireless.c
21289                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21290
21291         * test/nminfotest.c
21292                 - #define object paths and namespaces and use the #defines rather than static strings
21293                 - Test out user-key functionality of NetworkManagerInfo too
21294
21295 2004-07-29  Dan Williams <dcbw@redhat.com>
21296
21297         * info-daemon/NetworkManagerInfoDbus.c
21298           src/NetworkManagerDbus.c
21299                 - Update to current DBus (ie don't use decomposed paths when registering
21300                         object paths/fallbacks)
21301
21302 2004-07-27  Dan Williams <dcbw@redhat.com>
21303
21304         * Remove various Makefile.in files
21305
21306         * TODO
21307                 - Add some more items
21308
21309         * configure.in
21310                 - Add checks for OpenSSL/md5 headers and libs
21311
21312         * src/Makefile.am
21313                 - Use OpenSSL CFLAGS
21314
21315         * src/NetworkManagerAP.[ch]
21316                 - Remove 'stamp' functions, replace with 'invalid' functions
21317                         to support user cancelling WEP key entry
21318
21319         * src/NetworkManagerDbus.c
21320                 - Remove 'stamp' return functions
21321                 - Treat returned user key as a passphrase and convert to a WEP key,
21322                         but don't actually use the WEP key yet.  We use the returned user
21323                         key as a hexadecimal WEP key until we can figure out a UI for
21324                         passphrase-vs-hex key
21325
21326         * src/NetworkManagerWireless.[ch]
21327                 - Add passphrase-to-128bit-key function
21328
21329 2004-07-27  Dan Williams <dcbw@redhat.com>
21330
21331         * TODO
21332                 - Add a couple of items
21333
21334 2004-07-27  Dan Williams <dcbw@redhat.com>
21335
21336         * info-daemon/NetworkManagerInfo.c
21337                 - Update allowed network's GConf key when user enters a WEP key explicitly
21338
21339         * info-daemon/NetworkManagerDbus.c
21340                 - Fix some comments
21341                 - nmi_dbus_get_allowed_networks(): kill warning
21342
21343 2004-07-27  Dan Williams <dcbw@redhat.com>
21344
21345         * initscript/Makefile.in
21346                 - Remove
21347
21348         * initscript/Makefile.am
21349                 - Add correct rules to install the init.d initscript
21350
21351         * info-daemon/NetworkManagerInfoDbus.c
21352                 - Remove debug fprintf
21353
21354         * src/NetworkManagerDbus.[ch]
21355                 - Remove debug fprintfs
21356                 - Add macros for NetworkManagerInfo object path/namespace
21357                 - Use said macros instead of constant strings
21358
21359 2004-07-27  Dan Williams <dcbw@redhat.com>
21360
21361         * initscript/.cvsignore
21362                 - Add
21363
21364         * info-daemon/Makefile.am
21365                 - Install .glade files and keyring.png
21366                 - Fix stupid omission of a \ that caused half the flags not to be
21367                         passed to gcc
21368
21369         * info-daemon/NetworkManagerInfo.c
21370                 - gtk_signal_connect->g_signal_connect
21371                 - Alert NetworkManagerInfo to new glade file location
21372
21373 2004-07-27  Dan Williams <dcbw@redhat.com>
21374
21375         * test/nmclienttest.c
21376           test/nminfotest.c
21377                 - Add missing <dbus/dbus.h> headers
21378                 - Add GPL message at top
21379
21380 2004-07-27  Dan Williams <dcbw@redhat.com>
21381
21382         * src/NetworkManagerAPList.[ch]
21383           src/Makefile.am
21384                 - Add.  Deal with allowed network list additions, deletions, and updates
21385
21386         * dispatcher-daemon/NetworkManagerDispatcher.c
21387                 - Add missing <dbus/dbus.h> header
21388
21389         * info-daemon/NetworkManagerInfo.[ch]
21390                 - Add missing <dbus/dbus.h> header
21391                 - Implement the GConf notify callback to signal NetworkManager of an allowed
21392                         network change
21393                 - Better error checking
21394
21395         * info-daemon/NetworkManagerInfoDbus.[ch]
21396                 - Add missing <dbus/dbus.h> header
21397                 - Convert to using dbus_message_append_args/dbus_message_get_args
21398                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21399                         that an allowed network changed.  We don't want to signal on individual
21400                         keys _inside_ an allowed network really, just want NM to query the info
21401                         daemon for updated info on all keys.
21402                 - Better error checking
21403
21404         * src/NetworkManager.[ch]
21405                 - Add missing <dbus/dbus.h> header
21406                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21407                 - Zero out NMData structure on free
21408                 - No longer use a thread for allowed_ap_list updating, instead its now done
21409                         through dbus queries against NetworkManagerInfo
21410                 - Populate allowed_ap_list initially before adding existing network devices
21411                         to the device list, so wireless devices can get their "best" AP
21412
21413         * src/NetworkManagerDbus.[ch]
21414                 - Convert to using dbus_message_append_args/dbus_message_get_args
21415                 - Better error checking
21416                 - Implement Allowed Network info functions to request allowed network
21417                         info from NetworkManagerInfo
21418                 - Implement the filter function to process signals from NetworkManagerInfo
21419                         about changing allowed networks
21420
21421         * src/NetworkManagerDevice.c
21422                 - Fix file descriptor leak in nm_device_update_ip4_address()
21423
21424 2004-07-27  Dan Williams <dcbw@redhat.com>
21425
21426         * .cvsignore
21427           src/.cvsignore
21428           test/.cvsignore
21429           dispatcher-daemon/.cvsignore
21430           info-daemon/.cvsignore
21431                 - Add .cvsignore files to reduce noise when diffing
21432
21433 2004-07-24  Dan Williams <dcbw@redhat.com>
21434
21435         * src/NetworkManager.[ch]
21436           src/NetworkManagerDbus.[ch]
21437           src/NetworkManagerDevice.[ch]
21438           src/NetworkManagerPolicy.c
21439           src/NetworkManagerWireless.[ch]
21440                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21441                 - Pass the NMData application data structure through all calls
21442                         that need it so we can get rid of nm_get_global_data()
21443                 - Change deallocation of the allowed_ap_list GSList in preparation
21444                         for not completely clearing it every time we get an update,
21445                         but instead getting incremental updates via GConf/dbus
21446
21447 2004-07-22  Dan Williams <dcbw@redhat.com>
21448
21449         * configure.in
21450                 - Add checks for GConf libs & headers & flags
21451
21452         * info-daemon/Makefile.am
21453                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21454
21455         * info-daemon/NetworkManagerInfo.[ch]
21456                 - Don't use gquarks for data storage, just use normal data storage
21457                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21458
21459         * info-daemon/NetworkManagerDbus.[ch]
21460                 - Add method call for getting allowed networks
21461                 - Add method calls for getting an allowed network's essid, priority, and key
21462                 - Hook the method calls up to GConf
21463                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21464                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21465                 
21466         * src/NetworkManagerDbus.[ch]
21467                 - Switch for enumeration of networks to using essid instead
21468
21469         * test/Makefile.am
21470           test/nminfotest.c
21471                 - Add test program for NetworkManagerInfo
21472
21473 2004-07-19  Dan Williams <dcbw@redhat.com>
21474
21475         * src/NetworkManagerDbus.c
21476                 - Switch from indexed device paths to names.  Less code, more efficient.
21477                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21478
21479 2004-07-19  Dan Williams <dcbw@redhat.com>
21480
21481         * dispatcher-daemon/NetworkManagerDispatcher.c
21482                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21483
21484 2004-07-19  Dan Williams <dcbw@redhat.com>
21485
21486         * Makefile.am
21487                 - Add info-daemon directory
21488
21489         * configure.in
21490                 - Check for glade libs and headers
21491                 - Add info-daemon directory
21492
21493         * src/NetworkManagerAP.c
21494                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21495                         copied over to the new AP.
21496
21497         * src/NetworkManagerDbus.c
21498           src/NetworkManagerDbus.h
21499                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21500                 - Remove nm_dbus_signal_need_key_for_network()
21501                 - Add disabled code for asynchronous user wep key callbacks
21502                 - Add functions for getting, setting, and cancelling user key operations
21503                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21504                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21505
21506         * src/NetworkManagerDevice.c
21507           src/NetworkManagerDevice.h
21508                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21509                         logic is in device activation now
21510                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21511                         key is wrong) trigger get-user-key pending action
21512                 - Implement get-user-key pending action stuff, tie to dbus messages
21513                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21514                 - Add nm_device_ap_list_get_ap_by_essid()
21515                 - Instead of copying "best" access points, ref them instead so that the key we set
21516                         sticks around
21517
21518         * src/NetworkManagerPolicy.c
21519                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21520                 - Don't cancel pending actions on a device if its the same device as last iteration
21521                 - Only promote pending_device->active_device if activation was successfull
21522
21523         * src/Makefile.am
21524                 - Rename nmclienttest->nmtest
21525
21526         * info-daemon/Makefile.am
21527           info-daemon/NetworkManagerInfo.c
21528           info-daemon/NetworkManagerInfo.h
21529           info-daemon/NetworkManagerInfoDbus.c
21530           info-daemon/NetworkManagerInfoDbus.h
21531           info-daemon/passphrase.glade
21532           info-daemon/NetworkManagerInfo.conf
21533           info-daemon/keyring.png
21534                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21535                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21536                         lists to NetworkManager by proxying user's GConf
21537           
21538
21539 2004-07-15  Dan Williams <dcbw@redhat.com>
21540
21541         * src/Makefile.am
21542                 - Turn on warnings
21543
21544         * src/NetworkManager.c
21545                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21546                         that doing the deactivation ourselves
21547                 - Cancel an pending actions on a device if its being removed
21548                 - Break up link state checking a bit, make non-active wireless cards
21549                         deactivated to save power
21550                 - Remove unused variables
21551
21552         * src/NetworkManager.h
21553                 - Add support for "pending" device
21554
21555         * src/NetworkManagerAP.h
21556           src/NetworkManagerAP.c
21557                 - Add support for determining whether and AP has encryption enabled or not
21558                 - AP address is now "struct ether_addr" rather than a string
21559
21560         * src/NetworkManagerDbus.h
21561           src/NetworkManagerDbus.c
21562                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21563                 - Changes for AP address from struct ether_addr->string
21564
21565         * src/NetworkManagerDevice.h
21566           src/NetworkManagerDevice.c
21567                 - Remove unused variables, fix warnings
21568                 - Add support for Pending Actions (things that block a device from being "active"
21569                         until they are completed).
21570                 - First pending action:  Get a WEP key from the user
21571                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21572                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21573                 - Update wireless link checking to try to determine if the AP we are associated
21574                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21575                         trigger the GetUserKey pending action on the device
21576                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21577                         up in that case, otherwise we can't scan or link-check on it
21578                 - Add IP address change notifications at appropriate points (still needs some work)
21579                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21580
21581         * src/NetworkManagerPolicy.h
21582           src/NetworkManagerPolicy.c
21583                 - Split out "best" access point determiniation into separate function
21584                 - Make device activation 2-stage:  first the device is pending, then
21585                         in the next iteration through it becomes "active" unless it has
21586                         pending actions
21587
21588         * src/NetworkManagerUtils.h
21589           src/NetworkManagerUtils.c
21590                 - Clean up unused variables and warnings
21591                 - Wrap our debug macros in {} to prevent possible confusion
21592
21593         * src/NetworkManagerWireless.c
21594                 - Forgot to return current best priority, which lead to last available AP always
21595                         being chosen no matter what its priority was.  Corrected.
21596
21597 2004-07-15  Dan Williams <dcbw@redhat.com>
21598
21599         * dispatcher-daemon/Makefile.am
21600                 - Turn on warnings
21601
21602         * dispatcher-daemon/NetworkManagerDispatcher.c
21603                 - Remove unused variables due to warnings
21604                 - Fix some comments
21605                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21606
21607 2004-07-06  Dan Williams <dcbw@redhat.com>
21608
21609         * src/NetworkManager.c
21610                 - Add IPv4 address update for active device during link state check
21611                 - Don't allow wireless cards to be powered up when they are not the
21612                         active device
21613
21614         * src/NetworkManagerDbus.c
21615           src/NetworkManagerDbus.h
21616                 - Add DBUS IPv4 address change signal
21617                 - Add DBUS IPv4 address get method for devices
21618
21619         * src/NetworkManagerDevice.c
21620                 - Make setting the WEP key actually work
21621                 - Move IP address get/set/update stuff here, per-device
21622                 - Power down/bring down wireless device when deactivated
21623                 - For scanning wireless devices, if first scan returned ENODATA, try again
21624
21625         * src/NetworkManagerPolicy.c
21626                 - Only set the WEP key for an allowed access point if there is one.
21627                         We were setting it to be blank if one wasn't specified.
21628
21629         * src/NetworkManagerUtils.h
21630           src/NetworkManagerUtils.c
21631                 - Move the IP address stuff to NetworkManagerDevice.c
21632
21633         * dispatcher-daemon/NetworkManagerDispatcher.c
21634                 - Add device IPv4 address change notification stuff
21635
21636 2004-07-05  Dan Williams <dcbw@redhat.com>
21637
21638         * dispatcher-daemon/NetworkManagerDispatcher.c
21639                 - A bit more descriptive state message
21640                 - Don't segfault when reading directory
21641
21642         * src/NetworkManager.h
21643                 - Remove NMData desired_ap member, its now
21644                         per-device rather than global
21645
21646         * src/NetworkManager.c
21647                 - Remove references to desired_ap
21648                 - Move the allowed AP list refresh stuff into a thread
21649
21650         * src/NetworkManagerDevice.c
21651           src/NetworkManagerDevice.h
21652                 - Each wireless device now has a "best ap"
21653                 - Make device activate/deactivate functions per-device
21654                 - Make wireless scanning per-device
21655                 - Add IPv4 address discover functions, stub IPv6 ones
21656                 - Move ethernet address validation functions to NetworkManagerUtils.c
21657                 - Add wireless access point accessor function
21658                 - Get/Set functions for "best ap"
21659
21660         * src/NetworkManagerPolicy.c
21661                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21662                 - Deal with per-device "best ap" rather than data->desired_apa
21663                 - Implement allowed access point worker thread
21664                 - Add nm_policy_essid_is_allowed() function
21665
21666         * src/NetworkManagerUtils.c
21667           src/NetworkManagerUtils.h
21668                 - Add nm_ethernet_address_is_valid() function
21669                 - Add IPv4/IPv6 address get functions
21670
21671         * src/NetworkManagerWireless.c
21672           src/NetworkManagerWireless.h
21673                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21674
21675 2004-06-29  Dan Williams <dcbw@redhat.com>
21676
21677         * dispatcher-daemon/NetworkManagerDispatcher.c
21678                 - Implement script callout functionality
21679
21680 2004-06-24  Dan Williams <dcbw@redhat.com>
21681
21682         * NetworkManager.c
21683             - Spacing cleanups
21684             - Flush device routes and ip addresses when added to the device list
21685
21686         * NetworkManagerDbus.c
21687             - Spacing cleanups
21688             - Add missing returns in the two signal functions
21689         
21690         * NetworkManagerPolicy.c
21691             - Spacing and variable cleanups
21692
21693 2004-06-24  Dan Williams <dcbw@redhat.com>
21694
21695         * Makefile.am
21696           Makefile.in
21697           configure.in
21698           dispatcher-daemon/Makefile.am
21699           dispatcher-daemon/Makefile.in
21700           dispatcher-daemon/NetworkManagerDispatcher.c
21701             - Add a daemon that receives signals from NetworkManager
21702                         and will (eventually) call scripts in /etc/somewhere
21703                         when devices go up or down.
21704         
21705         * NetworkManager.c
21706             - Spacing cleanups
21707             - Flush device routes and ip addresses when added to the device list
21708
21709         * NetworkManagerDbus.c
21710             - Spacing cleanups
21711             - Add missing returns in the two signal functions
21712         
21713         * NetworkManagerPolicy.c
21714             - Spacing and variable cleanups
21715             - Rename nm_policy_switch_interface->nm_policy_switch_device
21716             - nm_policy_switch_device():
21717                                 Use kill (pid) instead of system ("kill <pid>")
21718             - nm_state_modification_monitor():
21719                                 Add wireless essid to output of debug statements
21720                                 Correct typo in device compare to switch or not (should be !=)
21721                                 Don't sleep after sending "no longer active" signal, was useless
21722
21723 2004-06-24  Dan Williams <dcbw@redhat.com>
21724
21725         * Initial import